@junobuild/ic-client 4.0.0 → 5.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/actor.js.map +2 -2
- package/actor.mjs.map +2 -2
- package/declarations/console/console.did.d.ts +23 -15
- package/declarations/console/console.factory.certified.did.js +10 -2
- package/declarations/console/console.factory.did.js +10 -2
- package/declarations/console/console.factory.did.mjs +10 -2
- package/declarations/deprecated/console-0-0-14.did.d.ts +8 -8
- package/declarations/deprecated/console-0-0-8-patch1.did.d.ts +1 -1
- package/declarations/deprecated/mission_control-0-0-13.did.d.ts +6 -6
- package/declarations/deprecated/mission_control-0-0-14.did.d.ts +5 -5
- package/declarations/deprecated/mission_control-0-0-4.did.d.ts +1 -1
- package/declarations/deprecated/mission_control-deprecated-version.did.d.ts +5 -5
- package/declarations/deprecated/orbiter-0-0-8.did.d.ts +2 -2
- package/declarations/deprecated/orbiter-0-2-0.did.d.ts +2 -2
- package/declarations/deprecated/satellite-0-0-16.did.d.ts +8 -8
- package/declarations/deprecated/satellite-0-0-17.did.d.ts +8 -8
- package/declarations/deprecated/satellite-0-0-21.did.d.ts +8 -8
- package/declarations/deprecated/satellite-0-0-22.did.d.ts +8 -8
- package/declarations/deprecated/satellite-0-0-8.did.d.ts +8 -8
- package/declarations/deprecated/satellite-0-0-9.did.d.ts +8 -8
- package/declarations/deprecated/satellite-deprecated-no-scope.did.d.ts +8 -8
- package/declarations/deprecated/satellite-deprecated-version.did.d.ts +8 -8
- package/declarations/deprecated/satellite-deprecated.did.d.ts +8 -8
- package/declarations/mission_control/mission_control.did.d.ts +13 -5
- package/declarations/mission_control/mission_control.factory.certified.did.js +11 -2
- package/declarations/mission_control/mission_control.factory.did.js +11 -2
- package/declarations/observatory/observatory.did.d.ts +14 -0
- package/declarations/observatory/observatory.factory.certified.did.js +17 -3
- package/declarations/observatory/observatory.factory.did.js +18 -8
- package/declarations/observatory/observatory.factory.did.mjs +18 -8
- package/declarations/orbiter/orbiter.did.d.ts +10 -2
- package/declarations/orbiter/orbiter.factory.certified.did.js +11 -2
- package/declarations/orbiter/orbiter.factory.did.js +11 -2
- package/declarations/orbiter/orbiter.factory.did.mjs +11 -2
- package/declarations/satellite/satellite.did.d.ts +25 -17
- package/declarations/satellite/satellite.factory.certified.did.js +11 -2
- package/declarations/satellite/satellite.factory.did.js +11 -2
- package/declarations/satellite/satellite.factory.did.mjs +11 -2
- package/declarations/sputnik/sputnik.did.d.ts +25 -17
- package/declarations/sputnik/sputnik.factory.certified.did.js +11 -2
- package/declarations/sputnik/sputnik.factory.did.js +11 -2
- package/package.json +1 -1
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This file was automatically generated by @icp-sdk/bindgen@0.2.0.
|
|
6
|
+
// You should NOT make any changes in this file as it will be overwritten.
|
|
7
|
+
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
8
|
+
|
|
1
9
|
import type { ActorMethod } from '@icp-sdk/core/agent';
|
|
2
10
|
import type { IDL } from '@icp-sdk/core/candid';
|
|
3
11
|
import type { Principal } from '@icp-sdk/core/principal';
|
|
@@ -8,7 +16,7 @@ export interface AssertMissionControlCenterArgs {
|
|
|
8
16
|
}
|
|
9
17
|
export interface AssetEncodingNoContent {
|
|
10
18
|
modified: bigint;
|
|
11
|
-
sha256: Uint8Array
|
|
19
|
+
sha256: Uint8Array;
|
|
12
20
|
total_length: bigint;
|
|
13
21
|
}
|
|
14
22
|
export interface AssetKey {
|
|
@@ -65,7 +73,7 @@ export interface CommitBatch {
|
|
|
65
73
|
chunk_ids: Array<bigint>;
|
|
66
74
|
}
|
|
67
75
|
export interface CommitProposal {
|
|
68
|
-
sha256: Uint8Array
|
|
76
|
+
sha256: Uint8Array;
|
|
69
77
|
proposal_id: bigint;
|
|
70
78
|
}
|
|
71
79
|
export interface Config {
|
|
@@ -102,7 +110,7 @@ export interface CustomDomain {
|
|
|
102
110
|
bn_id: [] | [string];
|
|
103
111
|
}
|
|
104
112
|
export interface Delegation {
|
|
105
|
-
pubkey: Uint8Array
|
|
113
|
+
pubkey: Uint8Array;
|
|
106
114
|
targets: [] | [Array<Principal>];
|
|
107
115
|
expiration: bigint;
|
|
108
116
|
}
|
|
@@ -136,12 +144,12 @@ export type GetOrRefreshJwksError =
|
|
|
136
144
|
export interface HttpRequest {
|
|
137
145
|
url: string;
|
|
138
146
|
method: string;
|
|
139
|
-
body: Uint8Array
|
|
147
|
+
body: Uint8Array;
|
|
140
148
|
headers: Array<[string, string]>;
|
|
141
149
|
certificate_version: [] | [number];
|
|
142
150
|
}
|
|
143
151
|
export interface HttpResponse {
|
|
144
|
-
body: Uint8Array
|
|
152
|
+
body: Uint8Array;
|
|
145
153
|
headers: Array<[string, string]>;
|
|
146
154
|
streaming_strategy: [] | [StreamingStrategy];
|
|
147
155
|
status_code: number;
|
|
@@ -238,14 +246,14 @@ export interface OpenIdData {
|
|
|
238
246
|
}
|
|
239
247
|
export interface OpenIdGetDelegationArgs {
|
|
240
248
|
jwt: string;
|
|
241
|
-
session_key: Uint8Array
|
|
242
|
-
salt: Uint8Array
|
|
249
|
+
session_key: Uint8Array;
|
|
250
|
+
salt: Uint8Array;
|
|
243
251
|
expiration: bigint;
|
|
244
252
|
}
|
|
245
253
|
export interface OpenIdPrepareDelegationArgs {
|
|
246
254
|
jwt: string;
|
|
247
|
-
session_key: Uint8Array
|
|
248
|
-
salt: Uint8Array
|
|
255
|
+
session_key: Uint8Array;
|
|
256
|
+
salt: Uint8Array;
|
|
249
257
|
}
|
|
250
258
|
export type OpenIdProvider = { Google: null };
|
|
251
259
|
export interface OpenIdProviderConfig {
|
|
@@ -274,13 +282,13 @@ export type PrepareDelegationError =
|
|
|
274
282
|
| { GetOrFetchJwks: GetOrRefreshJwksError }
|
|
275
283
|
| { DeriveSeedFailed: string };
|
|
276
284
|
export interface PreparedDelegation {
|
|
277
|
-
user_key: Uint8Array
|
|
285
|
+
user_key: Uint8Array;
|
|
278
286
|
expiration: bigint;
|
|
279
287
|
}
|
|
280
288
|
export interface Proposal {
|
|
281
289
|
status: ProposalStatus;
|
|
282
290
|
updated_at: bigint;
|
|
283
|
-
sha256: [] | [Uint8Array
|
|
291
|
+
sha256: [] | [Uint8Array];
|
|
284
292
|
executed_at: [] | [bigint];
|
|
285
293
|
owner: Principal;
|
|
286
294
|
created_at: bigint;
|
|
@@ -338,7 +346,7 @@ export interface SetStorageConfig {
|
|
|
338
346
|
redirects: [] | [Array<[string, StorageConfigRedirect]>];
|
|
339
347
|
}
|
|
340
348
|
export interface SignedDelegation {
|
|
341
|
-
signature: Uint8Array
|
|
349
|
+
signature: Uint8Array;
|
|
342
350
|
delegation: Delegation;
|
|
343
351
|
}
|
|
344
352
|
export interface StorageConfig {
|
|
@@ -360,12 +368,12 @@ export interface StorageConfigRedirect {
|
|
|
360
368
|
}
|
|
361
369
|
export interface StreamingCallbackHttpResponse {
|
|
362
370
|
token: [] | [StreamingCallbackToken];
|
|
363
|
-
body: Uint8Array
|
|
371
|
+
body: Uint8Array;
|
|
364
372
|
}
|
|
365
373
|
export interface StreamingCallbackToken {
|
|
366
374
|
memory: Memory;
|
|
367
375
|
token: [] | [string];
|
|
368
|
-
sha256: [] | [Uint8Array
|
|
376
|
+
sha256: [] | [Uint8Array];
|
|
369
377
|
headers: Array<[string, string]>;
|
|
370
378
|
index: bigint;
|
|
371
379
|
encoding_type: string;
|
|
@@ -386,7 +394,7 @@ export interface Tokens {
|
|
|
386
394
|
e8s: bigint;
|
|
387
395
|
}
|
|
388
396
|
export interface UploadChunk {
|
|
389
|
-
content: Uint8Array
|
|
397
|
+
content: Uint8Array;
|
|
390
398
|
batch_id: bigint;
|
|
391
399
|
order_id: [] | [bigint];
|
|
392
400
|
}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This file was automatically generated by @icp-sdk/bindgen@0.2.0.
|
|
6
|
+
// You should NOT make any changes in this file as it will be overwritten.
|
|
7
|
+
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
8
|
+
|
|
2
9
|
export const idlFactory = ({IDL}) => {
|
|
3
10
|
const Tokens = IDL.Record({e8s: IDL.Nat64});
|
|
4
11
|
const AssertMissionControlCenterArgs = IDL.Record({
|
|
@@ -418,6 +425,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
418
425
|
order_id: IDL.Opt(IDL.Nat)
|
|
419
426
|
});
|
|
420
427
|
const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
|
|
428
|
+
|
|
421
429
|
return IDL.Service({
|
|
422
430
|
add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
423
431
|
add_invitation_code: IDL.Func([IDL.Text], [], []),
|
|
@@ -476,7 +484,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
476
484
|
upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
477
485
|
});
|
|
478
486
|
};
|
|
479
|
-
|
|
487
|
+
|
|
480
488
|
export const init = ({IDL}) => {
|
|
481
489
|
return [];
|
|
482
490
|
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This file was automatically generated by @icp-sdk/bindgen@0.2.0.
|
|
6
|
+
// You should NOT make any changes in this file as it will be overwritten.
|
|
7
|
+
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
8
|
+
|
|
2
9
|
export const idlFactory = ({IDL}) => {
|
|
3
10
|
const Tokens = IDL.Record({e8s: IDL.Nat64});
|
|
4
11
|
const AssertMissionControlCenterArgs = IDL.Record({
|
|
@@ -418,6 +425,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
418
425
|
order_id: IDL.Opt(IDL.Nat)
|
|
419
426
|
});
|
|
420
427
|
const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
|
|
428
|
+
|
|
421
429
|
return IDL.Service({
|
|
422
430
|
add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
423
431
|
add_invitation_code: IDL.Func([IDL.Text], [], []),
|
|
@@ -476,7 +484,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
476
484
|
upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
477
485
|
});
|
|
478
486
|
};
|
|
479
|
-
|
|
487
|
+
|
|
480
488
|
export const init = ({IDL}) => {
|
|
481
489
|
return [];
|
|
482
490
|
};
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
|
|
3
|
+
// @ts-nocheck
|
|
4
|
+
|
|
5
|
+
// This file was automatically generated by @icp-sdk/bindgen@0.2.0.
|
|
6
|
+
// You should NOT make any changes in this file as it will be overwritten.
|
|
7
|
+
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
|
|
8
|
+
|
|
2
9
|
export const idlFactory = ({IDL}) => {
|
|
3
10
|
const Tokens = IDL.Record({e8s: IDL.Nat64});
|
|
4
11
|
const AssertMissionControlCenterArgs = IDL.Record({
|
|
@@ -418,6 +425,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
418
425
|
order_id: IDL.Opt(IDL.Nat)
|
|
419
426
|
});
|
|
420
427
|
const UploadChunkResult = IDL.Record({chunk_id: IDL.Nat});
|
|
428
|
+
|
|
421
429
|
return IDL.Service({
|
|
422
430
|
add_credits: IDL.Func([IDL.Principal, Tokens], [], []),
|
|
423
431
|
add_invitation_code: IDL.Func([IDL.Text], [], []),
|
|
@@ -476,7 +484,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
476
484
|
upload_proposal_asset_chunk: IDL.Func([UploadChunk], [UploadChunkResult], [])
|
|
477
485
|
});
|
|
478
486
|
};
|
|
479
|
-
|
|
487
|
+
|
|
480
488
|
export const init = ({IDL}) => {
|
|
481
489
|
return [];
|
|
482
490
|
};
|
|
@@ -8,7 +8,7 @@ export interface AssertMissionControlCenterArgs {
|
|
|
8
8
|
}
|
|
9
9
|
export interface AssetEncodingNoContent {
|
|
10
10
|
modified: bigint;
|
|
11
|
-
sha256: Uint8Array
|
|
11
|
+
sha256: Uint8Array;
|
|
12
12
|
total_length: bigint;
|
|
13
13
|
}
|
|
14
14
|
export interface AssetKey {
|
|
@@ -36,7 +36,7 @@ export interface CommitBatch {
|
|
|
36
36
|
chunk_ids: Array<bigint>;
|
|
37
37
|
}
|
|
38
38
|
export interface CommitProposal {
|
|
39
|
-
sha256: Uint8Array
|
|
39
|
+
sha256: Uint8Array;
|
|
40
40
|
proposal_id: bigint;
|
|
41
41
|
}
|
|
42
42
|
export interface Config {
|
|
@@ -70,12 +70,12 @@ export interface GetCreateCanisterFeeArgs {
|
|
|
70
70
|
export interface HttpRequest {
|
|
71
71
|
url: string;
|
|
72
72
|
method: string;
|
|
73
|
-
body: Uint8Array
|
|
73
|
+
body: Uint8Array;
|
|
74
74
|
headers: Array<[string, string]>;
|
|
75
75
|
certificate_version: [] | [number];
|
|
76
76
|
}
|
|
77
77
|
export interface HttpResponse {
|
|
78
|
-
body: Uint8Array
|
|
78
|
+
body: Uint8Array;
|
|
79
79
|
headers: Array<[string, string]>;
|
|
80
80
|
streaming_strategy: [] | [StreamingStrategy];
|
|
81
81
|
status_code: number;
|
|
@@ -139,7 +139,7 @@ export type PaymentStatus = { Refunded: null } | { Acknowledged: null } | { Comp
|
|
|
139
139
|
export interface Proposal {
|
|
140
140
|
status: ProposalStatus;
|
|
141
141
|
updated_at: bigint;
|
|
142
|
-
sha256: [] | [Uint8Array
|
|
142
|
+
sha256: [] | [Uint8Array];
|
|
143
143
|
executed_at: [] | [bigint];
|
|
144
144
|
owner: Principal;
|
|
145
145
|
created_at: bigint;
|
|
@@ -191,12 +191,12 @@ export interface StorageConfigRedirect {
|
|
|
191
191
|
}
|
|
192
192
|
export interface StreamingCallbackHttpResponse {
|
|
193
193
|
token: [] | [StreamingCallbackToken];
|
|
194
|
-
body: Uint8Array
|
|
194
|
+
body: Uint8Array;
|
|
195
195
|
}
|
|
196
196
|
export interface StreamingCallbackToken {
|
|
197
197
|
memory: Memory;
|
|
198
198
|
token: [] | [string];
|
|
199
|
-
sha256: [] | [Uint8Array
|
|
199
|
+
sha256: [] | [Uint8Array];
|
|
200
200
|
headers: Array<[string, string]>;
|
|
201
201
|
index: bigint;
|
|
202
202
|
encoding_type: string;
|
|
@@ -217,7 +217,7 @@ export interface Tokens {
|
|
|
217
217
|
e8s: bigint;
|
|
218
218
|
}
|
|
219
219
|
export interface UploadChunk {
|
|
220
|
-
content: Uint8Array
|
|
220
|
+
content: Uint8Array;
|
|
221
221
|
batch_id: bigint;
|
|
222
222
|
order_id: [] | [bigint];
|
|
223
223
|
}
|
|
@@ -64,7 +64,7 @@ export interface _SERVICE {
|
|
|
64
64
|
get_user_mission_control_center: ActorMethod<[], [] | [MissionControl]>;
|
|
65
65
|
init_user_mission_control_center: ActorMethod<[], MissionControl>;
|
|
66
66
|
list_user_mission_control_centers: ActorMethod<[], Array<[Principal, MissionControl]>>;
|
|
67
|
-
load_release: ActorMethod<[Segment, Uint8Array
|
|
67
|
+
load_release: ActorMethod<[Segment, Uint8Array, string], LoadRelease>;
|
|
68
68
|
reset_release: ActorMethod<[Segment], undefined>;
|
|
69
69
|
set_controllers: ActorMethod<[SetControllersArgs], undefined>;
|
|
70
70
|
set_fee: ActorMethod<[Segment, Tokens], undefined>;
|
|
@@ -4,7 +4,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
4
4
|
|
|
5
5
|
export interface Account {
|
|
6
6
|
owner: Principal;
|
|
7
|
-
subaccount: [] | [Uint8Array
|
|
7
|
+
subaccount: [] | [Uint8Array];
|
|
8
8
|
}
|
|
9
9
|
export type CanisterStatusType = { stopped: null } | { stopping: null } | { running: null };
|
|
10
10
|
export interface Controller {
|
|
@@ -116,7 +116,7 @@ export interface SegmentCanisterStatus {
|
|
|
116
116
|
cycles: bigint;
|
|
117
117
|
settings: SegmentCanisterSettings;
|
|
118
118
|
idle_cycles_burned_per_day: bigint;
|
|
119
|
-
module_hash: [] | [Uint8Array
|
|
119
|
+
module_hash: [] | [Uint8Array];
|
|
120
120
|
}
|
|
121
121
|
export interface SegmentStatus {
|
|
122
122
|
id: Principal;
|
|
@@ -156,16 +156,16 @@ export interface Tokens {
|
|
|
156
156
|
export interface TransferArg {
|
|
157
157
|
to: Account;
|
|
158
158
|
fee: [] | [bigint];
|
|
159
|
-
memo: [] | [Uint8Array
|
|
160
|
-
from_subaccount: [] | [Uint8Array
|
|
159
|
+
memo: [] | [Uint8Array];
|
|
160
|
+
from_subaccount: [] | [Uint8Array];
|
|
161
161
|
created_at_time: [] | [bigint];
|
|
162
162
|
amount: bigint;
|
|
163
163
|
}
|
|
164
164
|
export interface TransferArgs {
|
|
165
|
-
to: Uint8Array
|
|
165
|
+
to: Uint8Array;
|
|
166
166
|
fee: Tokens;
|
|
167
167
|
memo: bigint;
|
|
168
|
-
from_subaccount: [] | [Uint8Array
|
|
168
|
+
from_subaccount: [] | [Uint8Array];
|
|
169
169
|
created_at_time: [] | [Timestamp];
|
|
170
170
|
amount: Tokens;
|
|
171
171
|
}
|
|
@@ -4,7 +4,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
4
4
|
|
|
5
5
|
export interface Account {
|
|
6
6
|
owner: Principal;
|
|
7
|
-
subaccount: [] | [Uint8Array
|
|
7
|
+
subaccount: [] | [Uint8Array];
|
|
8
8
|
}
|
|
9
9
|
export interface Config {
|
|
10
10
|
monitoring: [] | [MonitoringConfig];
|
|
@@ -145,16 +145,16 @@ export interface Tokens {
|
|
|
145
145
|
export interface TransferArg {
|
|
146
146
|
to: Account;
|
|
147
147
|
fee: [] | [bigint];
|
|
148
|
-
memo: [] | [Uint8Array
|
|
149
|
-
from_subaccount: [] | [Uint8Array
|
|
148
|
+
memo: [] | [Uint8Array];
|
|
149
|
+
from_subaccount: [] | [Uint8Array];
|
|
150
150
|
created_at_time: [] | [bigint];
|
|
151
151
|
amount: bigint;
|
|
152
152
|
}
|
|
153
153
|
export interface TransferArgs {
|
|
154
|
-
to: Uint8Array
|
|
154
|
+
to: Uint8Array;
|
|
155
155
|
fee: Tokens;
|
|
156
156
|
memo: bigint;
|
|
157
|
-
from_subaccount: [] | [Uint8Array
|
|
157
|
+
from_subaccount: [] | [Uint8Array];
|
|
158
158
|
created_at_time: [] | [Timestamp];
|
|
159
159
|
amount: Tokens;
|
|
160
160
|
}
|
|
@@ -7,7 +7,7 @@ export interface CanisterStatusResponse {
|
|
|
7
7
|
cycles: bigint;
|
|
8
8
|
settings: DefiniteCanisterSettings;
|
|
9
9
|
idle_cycles_burned_per_day: bigint;
|
|
10
|
-
module_hash: [] | [Uint8Array
|
|
10
|
+
module_hash: [] | [Uint8Array];
|
|
11
11
|
}
|
|
12
12
|
export type CanisterStatusType = { stopped: null } | { stopping: null } | { running: null };
|
|
13
13
|
export interface Controller {
|
|
@@ -4,7 +4,7 @@ import type {Principal} from '@icp-sdk/core/principal';
|
|
|
4
4
|
|
|
5
5
|
export interface Account {
|
|
6
6
|
owner: Principal;
|
|
7
|
-
subaccount: [] | [Uint8Array
|
|
7
|
+
subaccount: [] | [Uint8Array];
|
|
8
8
|
}
|
|
9
9
|
export interface Config {
|
|
10
10
|
monitoring: [] | [MonitoringConfig];
|
|
@@ -134,16 +134,16 @@ export interface Tokens {
|
|
|
134
134
|
export interface TransferArg {
|
|
135
135
|
to: Account;
|
|
136
136
|
fee: [] | [bigint];
|
|
137
|
-
memo: [] | [Uint8Array
|
|
138
|
-
from_subaccount: [] | [Uint8Array
|
|
137
|
+
memo: [] | [Uint8Array];
|
|
138
|
+
from_subaccount: [] | [Uint8Array];
|
|
139
139
|
created_at_time: [] | [bigint];
|
|
140
140
|
amount: bigint;
|
|
141
141
|
}
|
|
142
142
|
export interface TransferArgs {
|
|
143
|
-
to: Uint8Array
|
|
143
|
+
to: Uint8Array;
|
|
144
144
|
fee: Tokens;
|
|
145
145
|
memo: bigint;
|
|
146
|
-
from_subaccount: [] | [Uint8Array
|
|
146
|
+
from_subaccount: [] | [Uint8Array];
|
|
147
147
|
created_at_time: [] | [Timestamp];
|
|
148
148
|
amount: Tokens;
|
|
149
149
|
}
|
|
@@ -79,12 +79,12 @@ export interface GetAnalytics {
|
|
|
79
79
|
export interface HttpRequest {
|
|
80
80
|
url: string;
|
|
81
81
|
method: string;
|
|
82
|
-
body: Uint8Array
|
|
82
|
+
body: Uint8Array;
|
|
83
83
|
headers: Array<[string, string]>;
|
|
84
84
|
certificate_version: [] | [number];
|
|
85
85
|
}
|
|
86
86
|
export interface HttpResponse {
|
|
87
|
-
body: Uint8Array
|
|
87
|
+
body: Uint8Array;
|
|
88
88
|
headers: Array<[string, string]>;
|
|
89
89
|
upgrade: [] | [boolean];
|
|
90
90
|
status_code: number;
|
|
@@ -93,12 +93,12 @@ export interface GetAnalytics {
|
|
|
93
93
|
export interface HttpRequest {
|
|
94
94
|
url: string;
|
|
95
95
|
method: string;
|
|
96
|
-
body: Uint8Array
|
|
96
|
+
body: Uint8Array;
|
|
97
97
|
headers: Array<[string, string]>;
|
|
98
98
|
certificate_version: [] | [number];
|
|
99
99
|
}
|
|
100
100
|
export interface HttpResponse {
|
|
101
|
-
body: Uint8Array
|
|
101
|
+
body: Uint8Array;
|
|
102
102
|
headers: Array<[string, string]>;
|
|
103
103
|
upgrade: [] | [boolean];
|
|
104
104
|
status_code: number;
|
|
@@ -4,7 +4,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
4
4
|
|
|
5
5
|
export interface AssetEncodingNoContent {
|
|
6
6
|
modified: bigint;
|
|
7
|
-
sha256: Uint8Array
|
|
7
|
+
sha256: Uint8Array;
|
|
8
8
|
total_length: bigint;
|
|
9
9
|
}
|
|
10
10
|
export interface AssetKey {
|
|
@@ -56,19 +56,19 @@ export interface DepositCyclesArgs {
|
|
|
56
56
|
export interface Doc {
|
|
57
57
|
updated_at: bigint;
|
|
58
58
|
owner: Principal;
|
|
59
|
-
data: Uint8Array
|
|
59
|
+
data: Uint8Array;
|
|
60
60
|
description: [] | [string];
|
|
61
61
|
created_at: bigint;
|
|
62
62
|
}
|
|
63
63
|
export interface HttpRequest {
|
|
64
64
|
url: string;
|
|
65
65
|
method: string;
|
|
66
|
-
body: Uint8Array
|
|
66
|
+
body: Uint8Array;
|
|
67
67
|
headers: Array<[string, string]>;
|
|
68
68
|
certificate_version: [] | [number];
|
|
69
69
|
}
|
|
70
70
|
export interface HttpResponse {
|
|
71
|
-
body: Uint8Array
|
|
71
|
+
body: Uint8Array;
|
|
72
72
|
headers: Array<[string, string]>;
|
|
73
73
|
streaming_strategy: [] | [StreamingStrategy];
|
|
74
74
|
status_code: number;
|
|
@@ -149,7 +149,7 @@ export interface SetControllersArgs {
|
|
|
149
149
|
}
|
|
150
150
|
export interface SetDoc {
|
|
151
151
|
updated_at: [] | [bigint];
|
|
152
|
-
data: Uint8Array
|
|
152
|
+
data: Uint8Array;
|
|
153
153
|
description: [] | [string];
|
|
154
154
|
}
|
|
155
155
|
export interface SetRule {
|
|
@@ -174,12 +174,12 @@ export interface StorageConfigRedirect {
|
|
|
174
174
|
}
|
|
175
175
|
export interface StreamingCallbackHttpResponse {
|
|
176
176
|
token: [] | [StreamingCallbackToken];
|
|
177
|
-
body: Uint8Array
|
|
177
|
+
body: Uint8Array;
|
|
178
178
|
}
|
|
179
179
|
export interface StreamingCallbackToken {
|
|
180
180
|
memory: Memory;
|
|
181
181
|
token: [] | [string];
|
|
182
|
-
sha256: [] | [Uint8Array
|
|
182
|
+
sha256: [] | [Uint8Array];
|
|
183
183
|
headers: Array<[string, string]>;
|
|
184
184
|
index: bigint;
|
|
185
185
|
encoding_type: string;
|
|
@@ -192,7 +192,7 @@ export type StreamingStrategy = {
|
|
|
192
192
|
};
|
|
193
193
|
};
|
|
194
194
|
export interface UploadChunk {
|
|
195
|
-
content: Uint8Array
|
|
195
|
+
content: Uint8Array;
|
|
196
196
|
batch_id: bigint;
|
|
197
197
|
order_id: [] | [bigint];
|
|
198
198
|
}
|
|
@@ -4,7 +4,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
4
4
|
|
|
5
5
|
export interface AssetEncodingNoContent {
|
|
6
6
|
modified: bigint;
|
|
7
|
-
sha256: Uint8Array
|
|
7
|
+
sha256: Uint8Array;
|
|
8
8
|
total_length: bigint;
|
|
9
9
|
}
|
|
10
10
|
export interface AssetKey {
|
|
@@ -64,7 +64,7 @@ export interface DepositCyclesArgs {
|
|
|
64
64
|
export interface Doc {
|
|
65
65
|
updated_at: bigint;
|
|
66
66
|
owner: Principal;
|
|
67
|
-
data: Uint8Array
|
|
67
|
+
data: Uint8Array;
|
|
68
68
|
description: [] | [string];
|
|
69
69
|
created_at: bigint;
|
|
70
70
|
version: [] | [bigint];
|
|
@@ -72,12 +72,12 @@ export interface Doc {
|
|
|
72
72
|
export interface HttpRequest {
|
|
73
73
|
url: string;
|
|
74
74
|
method: string;
|
|
75
|
-
body: Uint8Array
|
|
75
|
+
body: Uint8Array;
|
|
76
76
|
headers: Array<[string, string]>;
|
|
77
77
|
certificate_version: [] | [number];
|
|
78
78
|
}
|
|
79
79
|
export interface HttpResponse {
|
|
80
|
-
body: Uint8Array
|
|
80
|
+
body: Uint8Array;
|
|
81
81
|
headers: Array<[string, string]>;
|
|
82
82
|
streaming_strategy: [] | [StreamingStrategy];
|
|
83
83
|
status_code: number;
|
|
@@ -158,7 +158,7 @@ export interface SetControllersArgs {
|
|
|
158
158
|
controllers: Array<Principal>;
|
|
159
159
|
}
|
|
160
160
|
export interface SetDoc {
|
|
161
|
-
data: Uint8Array
|
|
161
|
+
data: Uint8Array;
|
|
162
162
|
description: [] | [string];
|
|
163
163
|
version: [] | [bigint];
|
|
164
164
|
}
|
|
@@ -186,12 +186,12 @@ export interface StorageConfigRedirect {
|
|
|
186
186
|
}
|
|
187
187
|
export interface StreamingCallbackHttpResponse {
|
|
188
188
|
token: [] | [StreamingCallbackToken];
|
|
189
|
-
body: Uint8Array
|
|
189
|
+
body: Uint8Array;
|
|
190
190
|
}
|
|
191
191
|
export interface StreamingCallbackToken {
|
|
192
192
|
memory: Memory;
|
|
193
193
|
token: [] | [string];
|
|
194
|
-
sha256: [] | [Uint8Array
|
|
194
|
+
sha256: [] | [Uint8Array];
|
|
195
195
|
headers: Array<[string, string]>;
|
|
196
196
|
index: bigint;
|
|
197
197
|
encoding_type: string;
|
|
@@ -204,7 +204,7 @@ export type StreamingStrategy = {
|
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
206
|
export interface UploadChunk {
|
|
207
|
-
content: Uint8Array
|
|
207
|
+
content: Uint8Array;
|
|
208
208
|
batch_id: bigint;
|
|
209
209
|
order_id: [] | [bigint];
|
|
210
210
|
}
|
|
@@ -4,7 +4,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
4
4
|
|
|
5
5
|
export interface AssetEncodingNoContent {
|
|
6
6
|
modified: bigint;
|
|
7
|
-
sha256: Uint8Array
|
|
7
|
+
sha256: Uint8Array;
|
|
8
8
|
total_length: bigint;
|
|
9
9
|
}
|
|
10
10
|
export interface AssetKey {
|
|
@@ -77,7 +77,7 @@ export interface DepositCyclesArgs {
|
|
|
77
77
|
export interface Doc {
|
|
78
78
|
updated_at: bigint;
|
|
79
79
|
owner: Principal;
|
|
80
|
-
data: Uint8Array
|
|
80
|
+
data: Uint8Array;
|
|
81
81
|
description: [] | [string];
|
|
82
82
|
created_at: bigint;
|
|
83
83
|
version: [] | [bigint];
|
|
@@ -85,12 +85,12 @@ export interface Doc {
|
|
|
85
85
|
export interface HttpRequest {
|
|
86
86
|
url: string;
|
|
87
87
|
method: string;
|
|
88
|
-
body: Uint8Array
|
|
88
|
+
body: Uint8Array;
|
|
89
89
|
headers: Array<[string, string]>;
|
|
90
90
|
certificate_version: [] | [number];
|
|
91
91
|
}
|
|
92
92
|
export interface HttpResponse {
|
|
93
|
-
body: Uint8Array
|
|
93
|
+
body: Uint8Array;
|
|
94
94
|
headers: Array<[string, string]>;
|
|
95
95
|
streaming_strategy: [] | [StreamingStrategy];
|
|
96
96
|
status_code: number;
|
|
@@ -177,7 +177,7 @@ export interface SetControllersArgs {
|
|
|
177
177
|
controllers: Array<Principal>;
|
|
178
178
|
}
|
|
179
179
|
export interface SetDoc {
|
|
180
|
-
data: Uint8Array
|
|
180
|
+
data: Uint8Array;
|
|
181
181
|
description: [] | [string];
|
|
182
182
|
version: [] | [bigint];
|
|
183
183
|
}
|
|
@@ -210,12 +210,12 @@ export interface StorageConfigRedirect {
|
|
|
210
210
|
}
|
|
211
211
|
export interface StreamingCallbackHttpResponse {
|
|
212
212
|
token: [] | [StreamingCallbackToken];
|
|
213
|
-
body: Uint8Array
|
|
213
|
+
body: Uint8Array;
|
|
214
214
|
}
|
|
215
215
|
export interface StreamingCallbackToken {
|
|
216
216
|
memory: Memory;
|
|
217
217
|
token: [] | [string];
|
|
218
|
-
sha256: [] | [Uint8Array
|
|
218
|
+
sha256: [] | [Uint8Array];
|
|
219
219
|
headers: Array<[string, string]>;
|
|
220
220
|
index: bigint;
|
|
221
221
|
encoding_type: string;
|
|
@@ -233,7 +233,7 @@ export type TimestampMatcher =
|
|
|
233
233
|
| { GreaterThan: bigint }
|
|
234
234
|
| { LessThan: bigint };
|
|
235
235
|
export interface UploadChunk {
|
|
236
|
-
content: Uint8Array
|
|
236
|
+
content: Uint8Array;
|
|
237
237
|
batch_id: bigint;
|
|
238
238
|
order_id: [] | [bigint];
|
|
239
239
|
}
|
|
@@ -4,7 +4,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
4
4
|
|
|
5
5
|
export interface AssetEncodingNoContent {
|
|
6
6
|
modified: bigint;
|
|
7
|
-
sha256: Uint8Array
|
|
7
|
+
sha256: Uint8Array;
|
|
8
8
|
total_length: bigint;
|
|
9
9
|
}
|
|
10
10
|
export interface AssetKey {
|
|
@@ -78,7 +78,7 @@ export interface DepositCyclesArgs {
|
|
|
78
78
|
export interface Doc {
|
|
79
79
|
updated_at: bigint;
|
|
80
80
|
owner: Principal;
|
|
81
|
-
data: Uint8Array
|
|
81
|
+
data: Uint8Array;
|
|
82
82
|
description: [] | [string];
|
|
83
83
|
created_at: bigint;
|
|
84
84
|
version: [] | [bigint];
|
|
@@ -86,12 +86,12 @@ export interface Doc {
|
|
|
86
86
|
export interface HttpRequest {
|
|
87
87
|
url: string;
|
|
88
88
|
method: string;
|
|
89
|
-
body: Uint8Array
|
|
89
|
+
body: Uint8Array;
|
|
90
90
|
headers: Array<[string, string]>;
|
|
91
91
|
certificate_version: [] | [number];
|
|
92
92
|
}
|
|
93
93
|
export interface HttpResponse {
|
|
94
|
-
body: Uint8Array
|
|
94
|
+
body: Uint8Array;
|
|
95
95
|
headers: Array<[string, string]>;
|
|
96
96
|
streaming_strategy: [] | [StreamingStrategy];
|
|
97
97
|
status_code: number;
|
|
@@ -179,7 +179,7 @@ export interface SetControllersArgs {
|
|
|
179
179
|
controllers: Array<Principal>;
|
|
180
180
|
}
|
|
181
181
|
export interface SetDoc {
|
|
182
|
-
data: Uint8Array
|
|
182
|
+
data: Uint8Array;
|
|
183
183
|
description: [] | [string];
|
|
184
184
|
version: [] | [bigint];
|
|
185
185
|
}
|
|
@@ -210,12 +210,12 @@ export interface StorageConfigRedirect {
|
|
|
210
210
|
}
|
|
211
211
|
export interface StreamingCallbackHttpResponse {
|
|
212
212
|
token: [] | [StreamingCallbackToken];
|
|
213
|
-
body: Uint8Array
|
|
213
|
+
body: Uint8Array;
|
|
214
214
|
}
|
|
215
215
|
export interface StreamingCallbackToken {
|
|
216
216
|
memory: Memory;
|
|
217
217
|
token: [] | [string];
|
|
218
|
-
sha256: [] | [Uint8Array
|
|
218
|
+
sha256: [] | [Uint8Array];
|
|
219
219
|
headers: Array<[string, string]>;
|
|
220
220
|
index: bigint;
|
|
221
221
|
encoding_type: string;
|
|
@@ -233,7 +233,7 @@ export type TimestampMatcher =
|
|
|
233
233
|
| { GreaterThan: bigint }
|
|
234
234
|
| { LessThan: bigint };
|
|
235
235
|
export interface UploadChunk {
|
|
236
|
-
content: Uint8Array
|
|
236
|
+
content: Uint8Array;
|
|
237
237
|
batch_id: bigint;
|
|
238
238
|
order_id: [] | [bigint];
|
|
239
239
|
}
|