diff --git a/packages/ic-client/src/declarations/console/console.did.d.ts b/packages/ic-client/src/declarations/console/console.did.d.ts index ffa959857..1cbf302b6 100644 --- a/packages/ic-client/src/declarations/console/console.did.d.ts +++ b/packages/ic-client/src/declarations/console/console.did.d.ts @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -28,6 +28,12 @@ export interface Account { owner: Principal; created_at: bigint; } +export interface AccountConfig { + updated_at: [] | [bigint]; + init_credits: Tokens; + created_at: [] | [bigint]; + version: [] | [bigint]; +} export interface Account_1 { owner: Principal; subaccount: [] | [Uint8Array]; @@ -122,6 +128,15 @@ export interface CreateSatelliteArgs { name: [] | [string]; user: Principal; } +export type CreateSegmentArgs = + | { Ufo: CreateUfoArgs } + | { Orbiter: CreateOrbiterArgs } + | { MissionControl: CreateMissionControlArgs } + | { Satellite: CreateSatelliteArgs }; +export interface CreateUfoArgs { + subnet_id: [] | [Principal]; + name: [] | [string]; +} export interface CustomDomain { updated_at: bigint; created_at: bigint; @@ -367,7 +382,11 @@ export interface SegmentKey { segment_id: Principal; segment_kind: StorableSegmentKind; } -export type SegmentKind = { Orbiter: null } | { MissionControl: null } | { Satellite: null }; +export type SegmentKind = + | { Ufo: null } + | { Orbiter: null } + | { MissionControl: null } + | { Satellite: null }; export interface SegmentsDeploymentOptions { orbiter: [] | [string]; mission_control_version: [] | [string]; @@ -379,6 +398,10 @@ export interface SetAccessKey { scope: AccessKeyScope; expires_at: [] | [bigint]; } +export interface SetAccountConfig { + init_credits: Tokens; + version: [] | [bigint]; +} export interface SetAuthenticationConfig { openid: [] | [AuthenticationConfigOpenId]; version: [] | [bigint]; @@ -412,7 +435,7 @@ export interface SignedDelegation { signature: Uint8Array; delegation: Delegation; } -export type StorableSegmentKind = { Orbiter: null } | { Satellite: null }; +export type StorableSegmentKind = { Ufo: null } | { Orbiter: null } | { Satellite: null }; export interface StorageConfig { iframe: [] | [StorageConfigIFrame]; updated_at: [] | [bigint]; @@ -469,6 +492,13 @@ export interface UploadChunk { export interface UploadChunkResult { chunk_id: bigint; } +export interface WithdrawArgs { + to: Principal; +} +export interface WithdrawResult { + block_index: bigint; + amount: bigint; +} export interface _SERVICE { add_credits: ActorMethod<[Principal, Tokens], undefined>; add_invitation_code: ActorMethod<[string], undefined>; @@ -481,10 +511,12 @@ export interface _SERVICE { create_mission_control: ActorMethod<[CreateMissionControlArgs], Principal>; create_orbiter: ActorMethod<[CreateOrbiterArgs], Principal>; create_satellite: ActorMethod<[CreateSatelliteArgs], Principal>; + create_segment: ActorMethod<[CreateSegmentArgs], Principal>; del_controllers: ActorMethod<[DeleteControllersArgs], undefined>; del_custom_domain: ActorMethod<[string], undefined>; delete_proposal_assets: ActorMethod<[DeleteProposalAssets], undefined>; get_account: ActorMethod<[], [] | [Account]>; + get_account_config: ActorMethod<[], [] | [AccountConfig]>; get_auth_config: ActorMethod<[], [] | [AuthenticationConfig]>; get_config: ActorMethod<[], Config>; get_create_orbiter_fee: ActorMethod<[GetCreateCanisterFeeArgs], [] | [Tokens]>; @@ -516,6 +548,7 @@ export interface _SERVICE { list_proposals: ActorMethod<[ListProposalsParams], ListProposalResults>; list_segments: ActorMethod<[ListSegmentsArgs], Array<[SegmentKey, Segment]>>; reject_proposal: ActorMethod<[CommitProposal], null>; + set_account_config: ActorMethod<[SetAccountConfig], AccountConfig>; set_auth_config: ActorMethod<[SetAuthenticationConfig], AuthenticationConfig>; set_controllers: ActorMethod<[SetControllersArgs], undefined>; set_custom_domain: ActorMethod<[string, [] | [string]], undefined>; @@ -529,6 +562,8 @@ export interface _SERVICE { unset_many_segments: ActorMethod<[Array], undefined>; unset_segment: ActorMethod<[UnsetSegmentsArgs], undefined>; upload_proposal_asset_chunk: ActorMethod<[UploadChunk], UploadChunkResult>; + withdraw_icp: ActorMethod<[WithdrawArgs], WithdrawResult>; + withdraw_icrc: ActorMethod<[WithdrawArgs], WithdrawResult>; } export declare const idlFactory: IDL.InterfaceFactory; export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[]; diff --git a/packages/ic-client/src/declarations/console/console.factory.certified.did.js b/packages/ic-client/src/declarations/console/console.factory.certified.did.js index 6976928e8..2f5456248 100644 --- a/packages/ic-client/src/declarations/console/console.factory.certified.did.js +++ b/packages/ic-client/src/declarations/console/console.factory.certified.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -128,12 +128,28 @@ export const idlFactory = ({IDL}) => { name: IDL.Opt(IDL.Text), user: IDL.Principal }); + const CreateUfoArgs = IDL.Record({ + subnet_id: IDL.Opt(IDL.Principal), + name: IDL.Opt(IDL.Text) + }); + const CreateSegmentArgs = IDL.Variant({ + Ufo: CreateUfoArgs, + Orbiter: CreateOrbiterArgs, + MissionControl: CreateMissionControlArgs, + Satellite: CreateSatelliteArgs + }); const DeleteControllersArgs = IDL.Record({ controllers: IDL.Vec(IDL.Principal) }); const DeleteProposalAssets = IDL.Record({ proposal_ids: IDL.Vec(IDL.Nat) }); + const AccountConfig = IDL.Record({ + updated_at: IDL.Opt(IDL.Nat64), + init_credits: Tokens, + created_at: IDL.Opt(IDL.Nat64), + version: IDL.Opt(IDL.Nat64) + }); const OpenIdAuthProviderDelegationConfig = IDL.Record({ targets: IDL.Opt(IDL.Vec(IDL.Principal)), max_time_to_live: IDL.Opt(IDL.Nat64) @@ -224,6 +240,7 @@ export const idlFactory = ({IDL}) => { Err: GetDelegationError }); const SegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, MissionControl: IDL.Null, Satellite: IDL.Null @@ -433,6 +450,7 @@ export const idlFactory = ({IDL}) => { items_length: IDL.Nat64 }); const StorableSegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, Satellite: IDL.Null }); @@ -451,6 +469,10 @@ export const idlFactory = ({IDL}) => { segment_id: IDL.Principal, created_at: IDL.Nat64 }); + const SetAccountConfig = IDL.Record({ + init_credits: Tokens, + version: IDL.Opt(IDL.Nat64) + }); const SetAuthenticationConfig = IDL.Record({ openid: IDL.Opt(AuthenticationConfigOpenId), version: IDL.Opt(IDL.Nat64), @@ -500,6 +522,11 @@ export const idlFactory = ({IDL}) => { order_id: IDL.Opt(IDL.Nat) }); const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat}); + const WithdrawArgs = IDL.Record({to: IDL.Principal}); + const WithdrawResult = IDL.Record({ + block_index: IDL.Nat64, + amount: IDL.Nat64 + }); return IDL.Service({ add_credits: IDL.Func([IDL.Principal, Tokens], [], []), @@ -513,10 +540,12 @@ export const idlFactory = ({IDL}) => { create_mission_control: IDL.Func([CreateMissionControlArgs], [IDL.Principal], []), create_orbiter: IDL.Func([CreateOrbiterArgs], [IDL.Principal], []), create_satellite: IDL.Func([CreateSatelliteArgs], [IDL.Principal], []), + create_segment: IDL.Func([CreateSegmentArgs], [IDL.Principal], []), del_controllers: IDL.Func([DeleteControllersArgs], [], []), del_custom_domain: IDL.Func([IDL.Text], [], []), delete_proposal_assets: IDL.Func([DeleteProposalAssets], [], []), get_account: IDL.Func([], [IDL.Opt(Account)], []), + get_account_config: IDL.Func([], [IDL.Opt(AccountConfig)], []), get_auth_config: IDL.Func([], [IDL.Opt(AuthenticationConfig)], []), get_config: IDL.Func([], [Config], []), get_create_orbiter_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], []), @@ -550,6 +579,7 @@ export const idlFactory = ({IDL}) => { list_proposals: IDL.Func([ListProposalsParams], [ListProposalResults], []), list_segments: IDL.Func([ListSegmentsArgs], [IDL.Vec(IDL.Tuple(SegmentKey, Segment))], []), reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []), + set_account_config: IDL.Func([SetAccountConfig], [AccountConfig], []), set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []), set_controllers: IDL.Func([SetControllersArgs], [], []), set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []), @@ -562,7 +592,9 @@ export const idlFactory = ({IDL}) => { submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []), unset_many_segments: IDL.Func([IDL.Vec(UnsetSegmentsArgs)], [], []), unset_segment: IDL.Func([UnsetSegmentsArgs], [], []), - upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []) + upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []), + withdraw_icp: IDL.Func([WithdrawArgs], [WithdrawResult], []), + withdraw_icrc: IDL.Func([WithdrawArgs], [WithdrawResult], []) }); }; diff --git a/packages/ic-client/src/declarations/console/console.factory.did.js b/packages/ic-client/src/declarations/console/console.factory.did.js index f06b646cb..49895dc4b 100644 --- a/packages/ic-client/src/declarations/console/console.factory.did.js +++ b/packages/ic-client/src/declarations/console/console.factory.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -128,12 +128,28 @@ export const idlFactory = ({IDL}) => { name: IDL.Opt(IDL.Text), user: IDL.Principal }); + const CreateUfoArgs = IDL.Record({ + subnet_id: IDL.Opt(IDL.Principal), + name: IDL.Opt(IDL.Text) + }); + const CreateSegmentArgs = IDL.Variant({ + Ufo: CreateUfoArgs, + Orbiter: CreateOrbiterArgs, + MissionControl: CreateMissionControlArgs, + Satellite: CreateSatelliteArgs + }); const DeleteControllersArgs = IDL.Record({ controllers: IDL.Vec(IDL.Principal) }); const DeleteProposalAssets = IDL.Record({ proposal_ids: IDL.Vec(IDL.Nat) }); + const AccountConfig = IDL.Record({ + updated_at: IDL.Opt(IDL.Nat64), + init_credits: Tokens, + created_at: IDL.Opt(IDL.Nat64), + version: IDL.Opt(IDL.Nat64) + }); const OpenIdAuthProviderDelegationConfig = IDL.Record({ targets: IDL.Opt(IDL.Vec(IDL.Principal)), max_time_to_live: IDL.Opt(IDL.Nat64) @@ -224,6 +240,7 @@ export const idlFactory = ({IDL}) => { Err: GetDelegationError }); const SegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, MissionControl: IDL.Null, Satellite: IDL.Null @@ -433,6 +450,7 @@ export const idlFactory = ({IDL}) => { items_length: IDL.Nat64 }); const StorableSegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, Satellite: IDL.Null }); @@ -451,6 +469,10 @@ export const idlFactory = ({IDL}) => { segment_id: IDL.Principal, created_at: IDL.Nat64 }); + const SetAccountConfig = IDL.Record({ + init_credits: Tokens, + version: IDL.Opt(IDL.Nat64) + }); const SetAuthenticationConfig = IDL.Record({ openid: IDL.Opt(AuthenticationConfigOpenId), version: IDL.Opt(IDL.Nat64), @@ -500,6 +522,11 @@ export const idlFactory = ({IDL}) => { order_id: IDL.Opt(IDL.Nat) }); const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat}); + const WithdrawArgs = IDL.Record({to: IDL.Principal}); + const WithdrawResult = IDL.Record({ + block_index: IDL.Nat64, + amount: IDL.Nat64 + }); return IDL.Service({ add_credits: IDL.Func([IDL.Principal, Tokens], [], []), @@ -513,10 +540,12 @@ export const idlFactory = ({IDL}) => { create_mission_control: IDL.Func([CreateMissionControlArgs], [IDL.Principal], []), create_orbiter: IDL.Func([CreateOrbiterArgs], [IDL.Principal], []), create_satellite: IDL.Func([CreateSatelliteArgs], [IDL.Principal], []), + create_segment: IDL.Func([CreateSegmentArgs], [IDL.Principal], []), del_controllers: IDL.Func([DeleteControllersArgs], [], []), del_custom_domain: IDL.Func([IDL.Text], [], []), delete_proposal_assets: IDL.Func([DeleteProposalAssets], [], []), get_account: IDL.Func([], [IDL.Opt(Account)], ['query']), + get_account_config: IDL.Func([], [IDL.Opt(AccountConfig)], ['query']), get_auth_config: IDL.Func([], [IDL.Opt(AuthenticationConfig)], ['query']), get_config: IDL.Func([], [Config], ['query']), get_create_orbiter_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']), @@ -554,6 +583,7 @@ export const idlFactory = ({IDL}) => { ['query'] ), reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []), + set_account_config: IDL.Func([SetAccountConfig], [AccountConfig], []), set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []), set_controllers: IDL.Func([SetControllersArgs], [], []), set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []), @@ -566,7 +596,9 @@ export const idlFactory = ({IDL}) => { submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []), unset_many_segments: IDL.Func([IDL.Vec(UnsetSegmentsArgs)], [], []), unset_segment: IDL.Func([UnsetSegmentsArgs], [], []), - upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []) + upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []), + withdraw_icp: IDL.Func([WithdrawArgs], [WithdrawResult], []), + withdraw_icrc: IDL.Func([WithdrawArgs], [WithdrawResult], []) }); }; diff --git a/packages/ic-client/src/declarations/console/console.factory.did.mjs b/packages/ic-client/src/declarations/console/console.factory.did.mjs index f06b646cb..49895dc4b 100644 --- a/packages/ic-client/src/declarations/console/console.factory.did.mjs +++ b/packages/ic-client/src/declarations/console/console.factory.did.mjs @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -128,12 +128,28 @@ export const idlFactory = ({IDL}) => { name: IDL.Opt(IDL.Text), user: IDL.Principal }); + const CreateUfoArgs = IDL.Record({ + subnet_id: IDL.Opt(IDL.Principal), + name: IDL.Opt(IDL.Text) + }); + const CreateSegmentArgs = IDL.Variant({ + Ufo: CreateUfoArgs, + Orbiter: CreateOrbiterArgs, + MissionControl: CreateMissionControlArgs, + Satellite: CreateSatelliteArgs + }); const DeleteControllersArgs = IDL.Record({ controllers: IDL.Vec(IDL.Principal) }); const DeleteProposalAssets = IDL.Record({ proposal_ids: IDL.Vec(IDL.Nat) }); + const AccountConfig = IDL.Record({ + updated_at: IDL.Opt(IDL.Nat64), + init_credits: Tokens, + created_at: IDL.Opt(IDL.Nat64), + version: IDL.Opt(IDL.Nat64) + }); const OpenIdAuthProviderDelegationConfig = IDL.Record({ targets: IDL.Opt(IDL.Vec(IDL.Principal)), max_time_to_live: IDL.Opt(IDL.Nat64) @@ -224,6 +240,7 @@ export const idlFactory = ({IDL}) => { Err: GetDelegationError }); const SegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, MissionControl: IDL.Null, Satellite: IDL.Null @@ -433,6 +450,7 @@ export const idlFactory = ({IDL}) => { items_length: IDL.Nat64 }); const StorableSegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, Satellite: IDL.Null }); @@ -451,6 +469,10 @@ export const idlFactory = ({IDL}) => { segment_id: IDL.Principal, created_at: IDL.Nat64 }); + const SetAccountConfig = IDL.Record({ + init_credits: Tokens, + version: IDL.Opt(IDL.Nat64) + }); const SetAuthenticationConfig = IDL.Record({ openid: IDL.Opt(AuthenticationConfigOpenId), version: IDL.Opt(IDL.Nat64), @@ -500,6 +522,11 @@ export const idlFactory = ({IDL}) => { order_id: IDL.Opt(IDL.Nat) }); const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat}); + const WithdrawArgs = IDL.Record({to: IDL.Principal}); + const WithdrawResult = IDL.Record({ + block_index: IDL.Nat64, + amount: IDL.Nat64 + }); return IDL.Service({ add_credits: IDL.Func([IDL.Principal, Tokens], [], []), @@ -513,10 +540,12 @@ export const idlFactory = ({IDL}) => { create_mission_control: IDL.Func([CreateMissionControlArgs], [IDL.Principal], []), create_orbiter: IDL.Func([CreateOrbiterArgs], [IDL.Principal], []), create_satellite: IDL.Func([CreateSatelliteArgs], [IDL.Principal], []), + create_segment: IDL.Func([CreateSegmentArgs], [IDL.Principal], []), del_controllers: IDL.Func([DeleteControllersArgs], [], []), del_custom_domain: IDL.Func([IDL.Text], [], []), delete_proposal_assets: IDL.Func([DeleteProposalAssets], [], []), get_account: IDL.Func([], [IDL.Opt(Account)], ['query']), + get_account_config: IDL.Func([], [IDL.Opt(AccountConfig)], ['query']), get_auth_config: IDL.Func([], [IDL.Opt(AuthenticationConfig)], ['query']), get_config: IDL.Func([], [Config], ['query']), get_create_orbiter_fee: IDL.Func([GetCreateCanisterFeeArgs], [IDL.Opt(Tokens)], ['query']), @@ -554,6 +583,7 @@ export const idlFactory = ({IDL}) => { ['query'] ), reject_proposal: IDL.Func([CommitProposal], [IDL.Null], []), + set_account_config: IDL.Func([SetAccountConfig], [AccountConfig], []), set_auth_config: IDL.Func([SetAuthenticationConfig], [AuthenticationConfig], []), set_controllers: IDL.Func([SetControllersArgs], [], []), set_custom_domain: IDL.Func([IDL.Text, IDL.Opt(IDL.Text)], [], []), @@ -566,7 +596,9 @@ export const idlFactory = ({IDL}) => { submit_proposal: IDL.Func([IDL.Nat], [IDL.Nat, Proposal], []), unset_many_segments: IDL.Func([IDL.Vec(UnsetSegmentsArgs)], [], []), unset_segment: IDL.Func([UnsetSegmentsArgs], [], []), - upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []) + upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], []), + withdraw_icp: IDL.Func([WithdrawArgs], [WithdrawResult], []), + withdraw_icrc: IDL.Func([WithdrawArgs], [WithdrawResult], []) }); }; diff --git a/packages/ic-client/src/declarations/mission_control/mission_control.did.d.ts b/packages/ic-client/src/declarations/mission_control/mission_control.did.d.ts index d9a765ec0..85ece0668 100644 --- a/packages/ic-client/src/declarations/mission_control/mission_control.did.d.ts +++ b/packages/ic-client/src/declarations/mission_control/mission_control.did.d.ts @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -52,6 +52,7 @@ export interface CyclesMonitoringStartConfig { orbiters_strategy: [] | [SegmentsMonitoringStrategy]; mission_control_strategy: [] | [CyclesMonitoringStrategy]; satellites_strategy: [] | [SegmentsMonitoringStrategy]; + ufos_strategy: [] | [SegmentsMonitoringStrategy]; } export interface CyclesMonitoringStatus { monitored_ids: Array; @@ -61,6 +62,7 @@ export interface CyclesMonitoringStopConfig { satellite_ids: [] | [Array]; try_mission_control: [] | [boolean]; orbiter_ids: [] | [Array]; + ufo_ids: [] | [Array]; } export type CyclesMonitoringStrategy = { BelowThreshold: CyclesThreshold }; export interface CyclesThreshold { @@ -200,6 +202,13 @@ export type TransferError_1 = | { CreatedInFuture: { ledger_time: bigint } } | { TooOld: null } | { InsufficientFunds: { balance: bigint } }; +export interface Ufo { + updated_at: bigint; + metadata: Array<[string, string]>; + created_at: bigint; + settings: [] | [Settings]; + ufo_id: Principal; +} export interface User { updated_at: bigint; metadata: Array<[string, string]>; @@ -233,6 +242,7 @@ export interface _SERVICE { list_mission_control_controllers: ActorMethod<[], Array<[Principal, AccessKey]>>; list_orbiters: ActorMethod<[], Array<[Principal, Orbiter]>>; list_satellites: ActorMethod<[], Array<[Principal, Satellite]>>; + list_ufos: ActorMethod<[], Array<[Principal, Ufo]>>; set_config: ActorMethod<[[] | [Config]], undefined>; set_metadata: ActorMethod<[Array<[string, string]>], undefined>; set_mission_control_controllers: ActorMethod<[Array, SetAccessKey], undefined>; @@ -248,11 +258,14 @@ export interface _SERVICE { [Array, Array, SetAccessKey], undefined >; + set_ufo: ActorMethod<[Principal, [] | [string]], Ufo>; + set_ufo_metadata: ActorMethod<[Principal, Array<[string, string]>], Ufo>; start_monitoring: ActorMethod<[], undefined>; stop_monitoring: ActorMethod<[], undefined>; top_up: ActorMethod<[Principal, Tokens], undefined>; unset_orbiter: ActorMethod<[Principal], undefined>; unset_satellite: ActorMethod<[Principal], undefined>; + unset_ufo: ActorMethod<[Principal], undefined>; update_and_start_monitoring: ActorMethod<[MonitoringStartConfig], undefined>; update_and_stop_monitoring: ActorMethod<[MonitoringStopConfig], undefined>; } diff --git a/packages/ic-client/src/declarations/mission_control/mission_control.factory.certified.did.js b/packages/ic-client/src/declarations/mission_control/mission_control.factory.certified.did.js index ccee97144..1a319de81 100644 --- a/packages/ic-client/src/declarations/mission_control/mission_control.factory.certified.did.js +++ b/packages/ic-client/src/declarations/mission_control/mission_control.factory.certified.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -180,6 +180,13 @@ export const idlFactory = ({IDL}) => { scope: AccessKeyScope, expires_at: IDL.Opt(IDL.Nat64) }); + const Ufo = IDL.Record({ + updated_at: IDL.Nat64, + metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)), + created_at: IDL.Nat64, + settings: IDL.Opt(Settings), + ufo_id: IDL.Principal + }); const SetAccessKey = IDL.Record({ metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)), kind: IDL.Opt(AccessKeyKind), @@ -193,7 +200,8 @@ export const idlFactory = ({IDL}) => { const CyclesMonitoringStartConfig = IDL.Record({ orbiters_strategy: IDL.Opt(SegmentsMonitoringStrategy), mission_control_strategy: IDL.Opt(CyclesMonitoringStrategy), - satellites_strategy: IDL.Opt(SegmentsMonitoringStrategy) + satellites_strategy: IDL.Opt(SegmentsMonitoringStrategy), + ufos_strategy: IDL.Opt(SegmentsMonitoringStrategy) }); const MonitoringStartConfig = IDL.Record({ cycles_config: IDL.Opt(CyclesMonitoringStartConfig) @@ -201,7 +209,8 @@ export const idlFactory = ({IDL}) => { const CyclesMonitoringStopConfig = IDL.Record({ satellite_ids: IDL.Opt(IDL.Vec(IDL.Principal)), try_mission_control: IDL.Opt(IDL.Bool), - orbiter_ids: IDL.Opt(IDL.Vec(IDL.Principal)) + orbiter_ids: IDL.Opt(IDL.Vec(IDL.Principal)), + ufo_ids: IDL.Opt(IDL.Vec(IDL.Principal)) }); const MonitoringStopConfig = IDL.Record({ cycles_config: IDL.Opt(CyclesMonitoringStopConfig) @@ -238,6 +247,7 @@ export const idlFactory = ({IDL}) => { ), list_orbiters: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Orbiter))], []), list_satellites: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Satellite))], []), + list_ufos: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Ufo))], []), set_config: IDL.Func([IDL.Opt(Config)], [], []), set_metadata: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [], []), set_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal), SetAccessKey], [], []), @@ -263,11 +273,14 @@ export const idlFactory = ({IDL}) => { [], [] ), + set_ufo: IDL.Func([IDL.Principal, IDL.Opt(IDL.Text)], [Ufo], []), + set_ufo_metadata: IDL.Func([IDL.Principal, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [Ufo], []), start_monitoring: IDL.Func([], [], []), stop_monitoring: IDL.Func([], [], []), top_up: IDL.Func([IDL.Principal, Tokens], [], []), unset_orbiter: IDL.Func([IDL.Principal], [], []), unset_satellite: IDL.Func([IDL.Principal], [], []), + unset_ufo: IDL.Func([IDL.Principal], [], []), update_and_start_monitoring: IDL.Func([MonitoringStartConfig], [], []), update_and_stop_monitoring: IDL.Func([MonitoringStopConfig], [], []) }); diff --git a/packages/ic-client/src/declarations/mission_control/mission_control.factory.did.js b/packages/ic-client/src/declarations/mission_control/mission_control.factory.did.js index 68187ee2d..3f6cc1d2c 100644 --- a/packages/ic-client/src/declarations/mission_control/mission_control.factory.did.js +++ b/packages/ic-client/src/declarations/mission_control/mission_control.factory.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -180,6 +180,13 @@ export const idlFactory = ({IDL}) => { scope: AccessKeyScope, expires_at: IDL.Opt(IDL.Nat64) }); + const Ufo = IDL.Record({ + updated_at: IDL.Nat64, + metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)), + created_at: IDL.Nat64, + settings: IDL.Opt(Settings), + ufo_id: IDL.Principal + }); const SetAccessKey = IDL.Record({ metadata: IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text)), kind: IDL.Opt(AccessKeyKind), @@ -193,7 +200,8 @@ export const idlFactory = ({IDL}) => { const CyclesMonitoringStartConfig = IDL.Record({ orbiters_strategy: IDL.Opt(SegmentsMonitoringStrategy), mission_control_strategy: IDL.Opt(CyclesMonitoringStrategy), - satellites_strategy: IDL.Opt(SegmentsMonitoringStrategy) + satellites_strategy: IDL.Opt(SegmentsMonitoringStrategy), + ufos_strategy: IDL.Opt(SegmentsMonitoringStrategy) }); const MonitoringStartConfig = IDL.Record({ cycles_config: IDL.Opt(CyclesMonitoringStartConfig) @@ -201,7 +209,8 @@ export const idlFactory = ({IDL}) => { const CyclesMonitoringStopConfig = IDL.Record({ satellite_ids: IDL.Opt(IDL.Vec(IDL.Principal)), try_mission_control: IDL.Opt(IDL.Bool), - orbiter_ids: IDL.Opt(IDL.Vec(IDL.Principal)) + orbiter_ids: IDL.Opt(IDL.Vec(IDL.Principal)), + ufo_ids: IDL.Opt(IDL.Vec(IDL.Principal)) }); const MonitoringStopConfig = IDL.Record({ cycles_config: IDL.Opt(CyclesMonitoringStopConfig) @@ -238,6 +247,7 @@ export const idlFactory = ({IDL}) => { ), list_orbiters: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Orbiter))], ['query']), list_satellites: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Satellite))], ['query']), + list_ufos: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Ufo))], ['query']), set_config: IDL.Func([IDL.Opt(Config)], [], []), set_metadata: IDL.Func([IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [], []), set_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal), SetAccessKey], [], []), @@ -263,11 +273,14 @@ export const idlFactory = ({IDL}) => { [], [] ), + set_ufo: IDL.Func([IDL.Principal, IDL.Opt(IDL.Text)], [Ufo], []), + set_ufo_metadata: IDL.Func([IDL.Principal, IDL.Vec(IDL.Tuple(IDL.Text, IDL.Text))], [Ufo], []), start_monitoring: IDL.Func([], [], []), stop_monitoring: IDL.Func([], [], []), top_up: IDL.Func([IDL.Principal, Tokens], [], []), unset_orbiter: IDL.Func([IDL.Principal], [], []), unset_satellite: IDL.Func([IDL.Principal], [], []), + unset_ufo: IDL.Func([IDL.Principal], [], []), update_and_start_monitoring: IDL.Func([MonitoringStartConfig], [], []), update_and_stop_monitoring: IDL.Func([MonitoringStopConfig], [], []) }); diff --git a/packages/ic-client/src/declarations/observatory/observatory.did.d.ts b/packages/ic-client/src/declarations/observatory/observatory.did.d.ts index f57be3736..4ed1423f7 100644 --- a/packages/ic-client/src/declarations/observatory/observatory.did.d.ts +++ b/packages/ic-client/src/declarations/observatory/observatory.did.d.ts @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -119,7 +119,11 @@ export interface Segment { metadata: [] | [Array<[string, string]>]; kind: SegmentKind; } -export type SegmentKind = { Orbiter: null } | { MissionControl: null } | { Satellite: null }; +export type SegmentKind = + | { Ufo: null } + | { Orbiter: null } + | { MissionControl: null } + | { Satellite: null }; export interface SetAccessKey { metadata: Array<[string, string]>; kind: [] | [AccessKeyKind]; diff --git a/packages/ic-client/src/declarations/observatory/observatory.factory.certified.did.js b/packages/ic-client/src/declarations/observatory/observatory.factory.certified.did.js index 6d14a5b40..28a2df46b 100644 --- a/packages/ic-client/src/declarations/observatory/observatory.factory.certified.did.js +++ b/packages/ic-client/src/declarations/observatory/observatory.factory.certified.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -104,6 +104,7 @@ export const idlFactory = ({IDL}) => { FailedCyclesDepositEmail: FailedCyclesDepositEmailNotification }); const SegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, MissionControl: IDL.Null, Satellite: IDL.Null diff --git a/packages/ic-client/src/declarations/observatory/observatory.factory.did.js b/packages/ic-client/src/declarations/observatory/observatory.factory.did.js index 9e5e585fa..c5e1d9bb8 100644 --- a/packages/ic-client/src/declarations/observatory/observatory.factory.did.js +++ b/packages/ic-client/src/declarations/observatory/observatory.factory.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -104,6 +104,7 @@ export const idlFactory = ({IDL}) => { FailedCyclesDepositEmail: FailedCyclesDepositEmailNotification }); const SegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, MissionControl: IDL.Null, Satellite: IDL.Null diff --git a/packages/ic-client/src/declarations/observatory/observatory.factory.did.mjs b/packages/ic-client/src/declarations/observatory/observatory.factory.did.mjs index 9e5e585fa..c5e1d9bb8 100644 --- a/packages/ic-client/src/declarations/observatory/observatory.factory.did.mjs +++ b/packages/ic-client/src/declarations/observatory/observatory.factory.did.mjs @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. @@ -104,6 +104,7 @@ export const idlFactory = ({IDL}) => { FailedCyclesDepositEmail: FailedCyclesDepositEmailNotification }); const SegmentKind = IDL.Variant({ + Ufo: IDL.Null, Orbiter: IDL.Null, MissionControl: IDL.Null, Satellite: IDL.Null diff --git a/packages/ic-client/src/declarations/orbiter/orbiter.did.d.ts b/packages/ic-client/src/declarations/orbiter/orbiter.did.d.ts index 711f2d16a..57eb5d30d 100644 --- a/packages/ic-client/src/declarations/orbiter/orbiter.did.d.ts +++ b/packages/ic-client/src/declarations/orbiter/orbiter.did.d.ts @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/orbiter/orbiter.factory.certified.did.js b/packages/ic-client/src/declarations/orbiter/orbiter.factory.certified.did.js index b685294b9..85a80ae7c 100644 --- a/packages/ic-client/src/declarations/orbiter/orbiter.factory.certified.did.js +++ b/packages/ic-client/src/declarations/orbiter/orbiter.factory.certified.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.js b/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.js index db638e1cd..73c6db455 100644 --- a/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.js +++ b/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.mjs b/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.mjs index db638e1cd..73c6db455 100644 --- a/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.mjs +++ b/packages/ic-client/src/declarations/orbiter/orbiter.factory.did.mjs @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/satellite/satellite.did.d.ts b/packages/ic-client/src/declarations/satellite/satellite.did.d.ts index c74132f8a..55ab07268 100644 --- a/packages/ic-client/src/declarations/satellite/satellite.did.d.ts +++ b/packages/ic-client/src/declarations/satellite/satellite.did.d.ts @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/satellite/satellite.factory.certified.did.js b/packages/ic-client/src/declarations/satellite/satellite.factory.certified.did.js index 740d3267f..a1efd94f4 100644 --- a/packages/ic-client/src/declarations/satellite/satellite.factory.certified.did.js +++ b/packages/ic-client/src/declarations/satellite/satellite.factory.certified.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/satellite/satellite.factory.did.js b/packages/ic-client/src/declarations/satellite/satellite.factory.did.js index d88e3ee6d..e790979d9 100644 --- a/packages/ic-client/src/declarations/satellite/satellite.factory.did.js +++ b/packages/ic-client/src/declarations/satellite/satellite.factory.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/satellite/satellite.factory.did.mjs b/packages/ic-client/src/declarations/satellite/satellite.factory.did.mjs index d88e3ee6d..e790979d9 100644 --- a/packages/ic-client/src/declarations/satellite/satellite.factory.did.mjs +++ b/packages/ic-client/src/declarations/satellite/satellite.factory.did.mjs @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/sputnik/sputnik.did.d.ts b/packages/ic-client/src/declarations/sputnik/sputnik.did.d.ts index c74132f8a..55ab07268 100644 --- a/packages/ic-client/src/declarations/sputnik/sputnik.did.d.ts +++ b/packages/ic-client/src/declarations/sputnik/sputnik.did.d.ts @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/sputnik/sputnik.factory.certified.did.js b/packages/ic-client/src/declarations/sputnik/sputnik.factory.certified.did.js index 740d3267f..a1efd94f4 100644 --- a/packages/ic-client/src/declarations/sputnik/sputnik.factory.certified.did.js +++ b/packages/ic-client/src/declarations/sputnik/sputnik.factory.certified.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified. diff --git a/packages/ic-client/src/declarations/sputnik/sputnik.factory.did.js b/packages/ic-client/src/declarations/sputnik/sputnik.factory.did.js index d88e3ee6d..e790979d9 100644 --- a/packages/ic-client/src/declarations/sputnik/sputnik.factory.did.js +++ b/packages/ic-client/src/declarations/sputnik/sputnik.factory.did.js @@ -2,7 +2,7 @@ // @ts-nocheck -// This file was automatically generated by @icp-sdk/bindgen@0.2.1. +// This file was automatically generated by @icp-sdk/bindgen@0.3.0. // You should NOT make any changes in this file as it will be overwritten. // Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.