@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
|
@@ -3,7 +3,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
3
3
|
|
|
4
4
|
export interface AssetEncodingNoContent {
|
|
5
5
|
modified: bigint;
|
|
6
|
-
sha256: Uint8Array
|
|
6
|
+
sha256: Uint8Array;
|
|
7
7
|
total_length: bigint;
|
|
8
8
|
}
|
|
9
9
|
export interface AssetKey {
|
|
@@ -21,7 +21,7 @@ export interface AssetNoContent {
|
|
|
21
21
|
created_at: bigint;
|
|
22
22
|
}
|
|
23
23
|
export interface Chunk {
|
|
24
|
-
content: Uint8Array
|
|
24
|
+
content: Uint8Array;
|
|
25
25
|
batch_id: bigint;
|
|
26
26
|
}
|
|
27
27
|
export interface CommitBatch {
|
|
@@ -52,17 +52,17 @@ export interface DeleteControllersArgs {
|
|
|
52
52
|
export interface Doc {
|
|
53
53
|
updated_at: bigint;
|
|
54
54
|
owner: Principal;
|
|
55
|
-
data: Uint8Array
|
|
55
|
+
data: Uint8Array;
|
|
56
56
|
created_at: bigint;
|
|
57
57
|
}
|
|
58
58
|
export interface HttpRequest {
|
|
59
59
|
url: string;
|
|
60
60
|
method: string;
|
|
61
|
-
body: Uint8Array
|
|
61
|
+
body: Uint8Array;
|
|
62
62
|
headers: Array<[string, string]>;
|
|
63
63
|
}
|
|
64
64
|
export interface HttpResponse {
|
|
65
|
-
body: Uint8Array
|
|
65
|
+
body: Uint8Array;
|
|
66
66
|
headers: Array<[string, string]>;
|
|
67
67
|
streaming_strategy: [] | [StreamingStrategy];
|
|
68
68
|
status_code: number;
|
|
@@ -125,7 +125,7 @@ export interface SetControllersArgs {
|
|
|
125
125
|
}
|
|
126
126
|
export interface SetDoc {
|
|
127
127
|
updated_at: [] | [bigint];
|
|
128
|
-
data: Uint8Array
|
|
128
|
+
data: Uint8Array;
|
|
129
129
|
}
|
|
130
130
|
export interface SetRule {
|
|
131
131
|
updated_at: [] | [bigint];
|
|
@@ -138,11 +138,11 @@ export interface StorageConfig {
|
|
|
138
138
|
}
|
|
139
139
|
export interface StreamingCallbackHttpResponse {
|
|
140
140
|
token: [] | [StreamingCallbackToken];
|
|
141
|
-
body: Uint8Array
|
|
141
|
+
body: Uint8Array;
|
|
142
142
|
}
|
|
143
143
|
export interface StreamingCallbackToken {
|
|
144
144
|
token: [] | [string];
|
|
145
|
-
sha256: [] | [Uint8Array
|
|
145
|
+
sha256: [] | [Uint8Array];
|
|
146
146
|
headers: Array<[string, string]>;
|
|
147
147
|
index: bigint;
|
|
148
148
|
encoding_type: string;
|
|
@@ -3,7 +3,7 @@ import type { Principal } from '@icp-sdk/core/principal';
|
|
|
3
3
|
|
|
4
4
|
export interface AssetEncodingNoContent {
|
|
5
5
|
modified: bigint;
|
|
6
|
-
sha256: Uint8Array
|
|
6
|
+
sha256: Uint8Array;
|
|
7
7
|
total_length: bigint;
|
|
8
8
|
}
|
|
9
9
|
export interface AssetKey {
|
|
@@ -22,7 +22,7 @@ export interface AssetNoContent {
|
|
|
22
22
|
created_at: bigint;
|
|
23
23
|
}
|
|
24
24
|
export interface Chunk {
|
|
25
|
-
content: Uint8Array
|
|
25
|
+
content: Uint8Array;
|
|
26
26
|
batch_id: bigint;
|
|
27
27
|
}
|
|
28
28
|
export interface CommitBatch {
|
|
@@ -55,18 +55,18 @@ export interface DeleteControllersArgs {
|
|
|
55
55
|
export interface Doc {
|
|
56
56
|
updated_at: bigint;
|
|
57
57
|
owner: Principal;
|
|
58
|
-
data: Uint8Array
|
|
58
|
+
data: Uint8Array;
|
|
59
59
|
description: [] | [string];
|
|
60
60
|
created_at: bigint;
|
|
61
61
|
}
|
|
62
62
|
export interface HttpRequest {
|
|
63
63
|
url: string;
|
|
64
64
|
method: string;
|
|
65
|
-
body: Uint8Array
|
|
65
|
+
body: Uint8Array;
|
|
66
66
|
headers: Array<[string, string]>;
|
|
67
67
|
}
|
|
68
68
|
export interface HttpResponse {
|
|
69
|
-
body: Uint8Array
|
|
69
|
+
body: Uint8Array;
|
|
70
70
|
headers: Array<[string, string]>;
|
|
71
71
|
streaming_strategy: [] | [StreamingStrategy];
|
|
72
72
|
status_code: number;
|
|
@@ -139,7 +139,7 @@ export interface SetControllersArgs {
|
|
|
139
139
|
}
|
|
140
140
|
export interface SetDoc {
|
|
141
141
|
updated_at: [] | [bigint];
|
|
142
|
-
data: Uint8Array
|
|
142
|
+
data: Uint8Array;
|
|
143
143
|
description: [] | [string];
|
|
144
144
|
}
|
|
145
145
|
export interface SetRule {
|
|
@@ -153,11 +153,11 @@ export interface StorageConfig {
|
|
|
153
153
|
}
|
|
154
154
|
export interface StreamingCallbackHttpResponse {
|
|
155
155
|
token: [] | [StreamingCallbackToken];
|
|
156
|
-
body: Uint8Array
|
|
156
|
+
body: Uint8Array;
|
|
157
157
|
}
|
|
158
158
|
export interface StreamingCallbackToken {
|
|
159
159
|
token: [] | [string];
|
|
160
|
-
sha256: [] | [Uint8Array
|
|
160
|
+
sha256: [] | [Uint8Array];
|
|
161
161
|
headers: Array<[string, string]>;
|
|
162
162
|
index: bigint;
|
|
163
163
|
encoding_type: string;
|
|
@@ -3,7 +3,7 @@ import type {Principal} from '@icp-sdk/core/principal';
|
|
|
3
3
|
|
|
4
4
|
export interface AssetEncodingNoContent {
|
|
5
5
|
modified: bigint;
|
|
6
|
-
sha256: Uint8Array
|
|
6
|
+
sha256: Uint8Array;
|
|
7
7
|
total_length: bigint;
|
|
8
8
|
}
|
|
9
9
|
export interface AssetKey {
|
|
@@ -21,7 +21,7 @@ export interface AssetNoContent {
|
|
|
21
21
|
created_at: bigint;
|
|
22
22
|
}
|
|
23
23
|
export interface Chunk {
|
|
24
|
-
content: Uint8Array
|
|
24
|
+
content: Uint8Array;
|
|
25
25
|
batch_id: bigint;
|
|
26
26
|
}
|
|
27
27
|
export interface CommitBatch {
|
|
@@ -52,17 +52,17 @@ export interface DeleteControllersArgs {
|
|
|
52
52
|
export interface Doc {
|
|
53
53
|
updated_at: bigint;
|
|
54
54
|
owner: Principal;
|
|
55
|
-
data: Uint8Array
|
|
55
|
+
data: Uint8Array;
|
|
56
56
|
created_at: bigint;
|
|
57
57
|
}
|
|
58
58
|
export interface HttpRequest {
|
|
59
59
|
url: string;
|
|
60
60
|
method: string;
|
|
61
|
-
body: Uint8Array
|
|
61
|
+
body: Uint8Array;
|
|
62
62
|
headers: Array<[string, string]>;
|
|
63
63
|
}
|
|
64
64
|
export interface HttpResponse {
|
|
65
|
-
body: Uint8Array
|
|
65
|
+
body: Uint8Array;
|
|
66
66
|
headers: Array<[string, string]>;
|
|
67
67
|
streaming_strategy: [] | [StreamingStrategy];
|
|
68
68
|
status_code: number;
|
|
@@ -121,7 +121,7 @@ export interface SetControllersArgs {
|
|
|
121
121
|
}
|
|
122
122
|
export interface SetDoc {
|
|
123
123
|
updated_at: [] | [bigint];
|
|
124
|
-
data: Uint8Array
|
|
124
|
+
data: Uint8Array;
|
|
125
125
|
}
|
|
126
126
|
export interface SetRule {
|
|
127
127
|
updated_at: [] | [bigint];
|
|
@@ -134,11 +134,11 @@ export interface StorageConfig {
|
|
|
134
134
|
}
|
|
135
135
|
export interface StreamingCallbackHttpResponse {
|
|
136
136
|
token: [] | [StreamingCallbackToken];
|
|
137
|
-
body: Uint8Array
|
|
137
|
+
body: Uint8Array;
|
|
138
138
|
}
|
|
139
139
|
export interface StreamingCallbackToken {
|
|
140
140
|
token: [] | [string];
|
|
141
|
-
sha256: [] | [Uint8Array
|
|
141
|
+
sha256: [] | [Uint8Array];
|
|
142
142
|
headers: Array<[string, string]>;
|
|
143
143
|
index: bigint;
|
|
144
144
|
encoding_type: string;
|
|
@@ -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;
|
|
@@ -175,7 +175,7 @@ export interface SetControllersArgs {
|
|
|
175
175
|
controllers: Array<Principal>;
|
|
176
176
|
}
|
|
177
177
|
export interface SetDoc {
|
|
178
|
-
data: Uint8Array
|
|
178
|
+
data: Uint8Array;
|
|
179
179
|
description: [] | [string];
|
|
180
180
|
version: [] | [bigint];
|
|
181
181
|
}
|
|
@@ -206,12 +206,12 @@ export interface StorageConfigRedirect {
|
|
|
206
206
|
}
|
|
207
207
|
export interface StreamingCallbackHttpResponse {
|
|
208
208
|
token: [] | [StreamingCallbackToken];
|
|
209
|
-
body: Uint8Array
|
|
209
|
+
body: Uint8Array;
|
|
210
210
|
}
|
|
211
211
|
export interface StreamingCallbackToken {
|
|
212
212
|
memory: Memory;
|
|
213
213
|
token: [] | [string];
|
|
214
|
-
sha256: [] | [Uint8Array
|
|
214
|
+
sha256: [] | [Uint8Array];
|
|
215
215
|
headers: Array<[string, string]>;
|
|
216
216
|
index: bigint;
|
|
217
217
|
encoding_type: string;
|
|
@@ -229,7 +229,7 @@ export type TimestampMatcher =
|
|
|
229
229
|
| {GreaterThan: bigint}
|
|
230
230
|
| {LessThan: bigint};
|
|
231
231
|
export interface UploadChunk {
|
|
232
|
-
content: Uint8Array
|
|
232
|
+
content: Uint8Array;
|
|
233
233
|
batch_id: bigint;
|
|
234
234
|
order_id: [] | [bigint];
|
|
235
235
|
}
|
|
@@ -3,7 +3,7 @@ import type {Principal} from '@icp-sdk/core/principal';
|
|
|
3
3
|
|
|
4
4
|
export interface AssetEncodingNoContent {
|
|
5
5
|
modified: bigint;
|
|
6
|
-
sha256: Uint8Array
|
|
6
|
+
sha256: Uint8Array;
|
|
7
7
|
total_length: bigint;
|
|
8
8
|
}
|
|
9
9
|
export interface AssetKey {
|
|
@@ -21,7 +21,7 @@ export interface AssetNoContent {
|
|
|
21
21
|
created_at: bigint;
|
|
22
22
|
}
|
|
23
23
|
export interface Chunk {
|
|
24
|
-
content: Uint8Array
|
|
24
|
+
content: Uint8Array;
|
|
25
25
|
batch_id: bigint;
|
|
26
26
|
}
|
|
27
27
|
export interface CommitBatch {
|
|
@@ -52,17 +52,17 @@ export interface DeleteControllersArgs {
|
|
|
52
52
|
export interface Doc {
|
|
53
53
|
updated_at: bigint;
|
|
54
54
|
owner: Principal;
|
|
55
|
-
data: Uint8Array
|
|
55
|
+
data: Uint8Array;
|
|
56
56
|
created_at: bigint;
|
|
57
57
|
}
|
|
58
58
|
export interface HttpRequest {
|
|
59
59
|
url: string;
|
|
60
60
|
method: string;
|
|
61
|
-
body: Uint8Array
|
|
61
|
+
body: Uint8Array;
|
|
62
62
|
headers: Array<[string, string]>;
|
|
63
63
|
}
|
|
64
64
|
export interface HttpResponse {
|
|
65
|
-
body: Uint8Array
|
|
65
|
+
body: Uint8Array;
|
|
66
66
|
headers: Array<[string, string]>;
|
|
67
67
|
streaming_strategy: [] | [StreamingStrategy];
|
|
68
68
|
status_code: number;
|
|
@@ -120,7 +120,7 @@ export interface SetControllersArgs {
|
|
|
120
120
|
}
|
|
121
121
|
export interface SetDoc {
|
|
122
122
|
updated_at: [] | [bigint];
|
|
123
|
-
data: Uint8Array
|
|
123
|
+
data: Uint8Array;
|
|
124
124
|
}
|
|
125
125
|
export interface SetRule {
|
|
126
126
|
updated_at: [] | [bigint];
|
|
@@ -133,11 +133,11 @@ export interface StorageConfig {
|
|
|
133
133
|
}
|
|
134
134
|
export interface StreamingCallbackHttpResponse {
|
|
135
135
|
token: [] | [StreamingCallbackToken];
|
|
136
|
-
body: Uint8Array
|
|
136
|
+
body: Uint8Array;
|
|
137
137
|
}
|
|
138
138
|
export interface StreamingCallbackToken {
|
|
139
139
|
token: [] | [string];
|
|
140
|
-
sha256: [] | [Uint8Array
|
|
140
|
+
sha256: [] | [Uint8Array];
|
|
141
141
|
headers: Array<[string, string]>;
|
|
142
142
|
index: bigint;
|
|
143
143
|
encoding_type: string;
|
|
@@ -1,10 +1,18 @@
|
|
|
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';
|
|
4
12
|
|
|
5
13
|
export interface Account {
|
|
6
14
|
owner: Principal;
|
|
7
|
-
subaccount: [] | [Uint8Array
|
|
15
|
+
subaccount: [] | [Uint8Array];
|
|
8
16
|
}
|
|
9
17
|
export interface Config {
|
|
10
18
|
monitoring: [] | [MonitoringConfig];
|
|
@@ -157,16 +165,16 @@ export interface Tokens {
|
|
|
157
165
|
export interface TransferArg {
|
|
158
166
|
to: Account;
|
|
159
167
|
fee: [] | [bigint];
|
|
160
|
-
memo: [] | [Uint8Array
|
|
161
|
-
from_subaccount: [] | [Uint8Array
|
|
168
|
+
memo: [] | [Uint8Array];
|
|
169
|
+
from_subaccount: [] | [Uint8Array];
|
|
162
170
|
created_at_time: [] | [bigint];
|
|
163
171
|
amount: bigint;
|
|
164
172
|
}
|
|
165
173
|
export interface TransferArgs {
|
|
166
|
-
to: Uint8Array
|
|
174
|
+
to: Uint8Array;
|
|
167
175
|
fee: Tokens;
|
|
168
176
|
memo: bigint;
|
|
169
|
-
from_subaccount: [] | [Uint8Array
|
|
177
|
+
from_subaccount: [] | [Uint8Array];
|
|
170
178
|
created_at_time: [] | [Timestamp];
|
|
171
179
|
amount: Tokens;
|
|
172
180
|
}
|
|
@@ -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 InitMissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
4
11
|
const CyclesThreshold = IDL.Record({
|
|
@@ -193,6 +200,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
193
200
|
const MonitoringStopConfig = IDL.Record({
|
|
194
201
|
cycles_config: IDL.Opt(CyclesMonitoringStopConfig)
|
|
195
202
|
});
|
|
203
|
+
|
|
196
204
|
return IDL.Service({
|
|
197
205
|
add_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal)], [], []),
|
|
198
206
|
add_satellites_controllers: IDL.Func([IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)], [], []),
|
|
@@ -266,8 +274,9 @@ export const idlFactory = ({IDL}) => {
|
|
|
266
274
|
update_and_stop_monitoring: IDL.Func([MonitoringStopConfig], [], [])
|
|
267
275
|
});
|
|
268
276
|
};
|
|
269
|
-
|
|
277
|
+
|
|
270
278
|
export const init = ({IDL}) => {
|
|
271
279
|
const InitMissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
280
|
+
|
|
272
281
|
return [InitMissionControlArgs];
|
|
273
282
|
};
|
|
@@ -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 InitMissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
4
11
|
const CyclesThreshold = IDL.Record({
|
|
@@ -193,6 +200,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
193
200
|
const MonitoringStopConfig = IDL.Record({
|
|
194
201
|
cycles_config: IDL.Opt(CyclesMonitoringStopConfig)
|
|
195
202
|
});
|
|
203
|
+
|
|
196
204
|
return IDL.Service({
|
|
197
205
|
add_mission_control_controllers: IDL.Func([IDL.Vec(IDL.Principal)], [], []),
|
|
198
206
|
add_satellites_controllers: IDL.Func([IDL.Vec(IDL.Principal), IDL.Vec(IDL.Principal)], [], []),
|
|
@@ -266,8 +274,9 @@ export const idlFactory = ({IDL}) => {
|
|
|
266
274
|
update_and_stop_monitoring: IDL.Func([MonitoringStopConfig], [], [])
|
|
267
275
|
});
|
|
268
276
|
};
|
|
269
|
-
|
|
277
|
+
|
|
270
278
|
export const init = ({IDL}) => {
|
|
271
279
|
const InitMissionControlArgs = IDL.Record({user: IDL.Principal});
|
|
280
|
+
|
|
272
281
|
return [InitMissionControlArgs];
|
|
273
282
|
};
|
|
@@ -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';
|
|
@@ -99,6 +107,11 @@ export interface OpenIdCertificate {
|
|
|
99
107
|
version: [] | [bigint];
|
|
100
108
|
}
|
|
101
109
|
export type OpenIdProvider = { Google: null };
|
|
110
|
+
export interface RateConfig {
|
|
111
|
+
max_tokens: bigint;
|
|
112
|
+
time_per_token_ns: bigint;
|
|
113
|
+
}
|
|
114
|
+
export type RateKind = { OpenIdCertificateRequests: null };
|
|
102
115
|
export interface Segment {
|
|
103
116
|
id: Principal;
|
|
104
117
|
metadata: [] | [Array<[string, string]>];
|
|
@@ -125,6 +138,7 @@ export interface _SERVICE {
|
|
|
125
138
|
set_env: ActorMethod<[Env], undefined>;
|
|
126
139
|
start_openid_monitoring: ActorMethod<[], undefined>;
|
|
127
140
|
stop_openid_monitoring: ActorMethod<[], undefined>;
|
|
141
|
+
update_rate_config: ActorMethod<[RateKind, RateConfig], undefined>;
|
|
128
142
|
}
|
|
129
143
|
export declare const idlFactory: IDL.InterfaceFactory;
|
|
130
144
|
export declare const init: (args: { IDL: typeof IDL }) => IDL.Type[];
|
|
@@ -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 DeleteControllersArgs = IDL.Record({
|
|
4
11
|
controllers: IDL.Vec(IDL.Principal)
|
|
@@ -112,6 +119,12 @@ export const idlFactory = ({IDL}) => {
|
|
|
112
119
|
controllers: IDL.Vec(IDL.Principal)
|
|
113
120
|
});
|
|
114
121
|
const Env = IDL.Record({email_api_key: IDL.Opt(IDL.Text)});
|
|
122
|
+
const RateKind = IDL.Variant({OpenIdCertificateRequests: IDL.Null});
|
|
123
|
+
const RateConfig = IDL.Record({
|
|
124
|
+
max_tokens: IDL.Nat64,
|
|
125
|
+
time_per_token_ns: IDL.Nat64
|
|
126
|
+
});
|
|
127
|
+
|
|
115
128
|
return IDL.Service({
|
|
116
129
|
del_controllers: IDL.Func([DeleteControllersArgs], [], []),
|
|
117
130
|
get_notify_status: IDL.Func([GetNotifications], [NotifyStatus], []),
|
|
@@ -122,10 +135,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
122
135
|
set_controllers: IDL.Func([SetControllersArgs], [], []),
|
|
123
136
|
set_env: IDL.Func([Env], [], []),
|
|
124
137
|
start_openid_monitoring: IDL.Func([], [], []),
|
|
125
|
-
stop_openid_monitoring: IDL.Func([], [], [])
|
|
138
|
+
stop_openid_monitoring: IDL.Func([], [], []),
|
|
139
|
+
update_rate_config: IDL.Func([RateKind, RateConfig], [], [])
|
|
126
140
|
});
|
|
127
141
|
};
|
|
128
|
-
|
|
142
|
+
|
|
129
143
|
export const init = ({IDL}) => {
|
|
130
144
|
return [];
|
|
131
145
|
};
|
|
@@ -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 DeleteControllersArgs = IDL.Record({
|
|
4
11
|
controllers: IDL.Vec(IDL.Principal)
|
|
@@ -112,24 +119,27 @@ export const idlFactory = ({IDL}) => {
|
|
|
112
119
|
controllers: IDL.Vec(IDL.Principal)
|
|
113
120
|
});
|
|
114
121
|
const Env = IDL.Record({email_api_key: IDL.Opt(IDL.Text)});
|
|
122
|
+
const RateKind = IDL.Variant({OpenIdCertificateRequests: IDL.Null});
|
|
123
|
+
const RateConfig = IDL.Record({
|
|
124
|
+
max_tokens: IDL.Nat64,
|
|
125
|
+
time_per_token_ns: IDL.Nat64
|
|
126
|
+
});
|
|
127
|
+
|
|
115
128
|
return IDL.Service({
|
|
116
129
|
del_controllers: IDL.Func([DeleteControllersArgs], [], []),
|
|
117
130
|
get_notify_status: IDL.Func([GetNotifications], [NotifyStatus], ['query']),
|
|
118
|
-
get_openid_certificate: IDL.Func(
|
|
119
|
-
[GetOpenIdCertificateArgs],
|
|
120
|
-
[IDL.Opt(OpenIdCertificate)],
|
|
121
|
-
['query']
|
|
122
|
-
),
|
|
131
|
+
get_openid_certificate: IDL.Func([GetOpenIdCertificateArgs], [IDL.Opt(OpenIdCertificate)], []),
|
|
123
132
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
124
133
|
notify: IDL.Func([NotifyArgs], [], []),
|
|
125
134
|
ping: IDL.Func([NotifyArgs], [], []),
|
|
126
135
|
set_controllers: IDL.Func([SetControllersArgs], [], []),
|
|
127
136
|
set_env: IDL.Func([Env], [], []),
|
|
128
137
|
start_openid_monitoring: IDL.Func([], [], []),
|
|
129
|
-
stop_openid_monitoring: IDL.Func([], [], [])
|
|
138
|
+
stop_openid_monitoring: IDL.Func([], [], []),
|
|
139
|
+
update_rate_config: IDL.Func([RateKind, RateConfig], [], [])
|
|
130
140
|
});
|
|
131
141
|
};
|
|
132
|
-
|
|
142
|
+
|
|
133
143
|
export const init = ({IDL}) => {
|
|
134
144
|
return [];
|
|
135
145
|
};
|
|
@@ -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 DeleteControllersArgs = IDL.Record({
|
|
4
11
|
controllers: IDL.Vec(IDL.Principal)
|
|
@@ -112,24 +119,27 @@ export const idlFactory = ({IDL}) => {
|
|
|
112
119
|
controllers: IDL.Vec(IDL.Principal)
|
|
113
120
|
});
|
|
114
121
|
const Env = IDL.Record({email_api_key: IDL.Opt(IDL.Text)});
|
|
122
|
+
const RateKind = IDL.Variant({OpenIdCertificateRequests: IDL.Null});
|
|
123
|
+
const RateConfig = IDL.Record({
|
|
124
|
+
max_tokens: IDL.Nat64,
|
|
125
|
+
time_per_token_ns: IDL.Nat64
|
|
126
|
+
});
|
|
127
|
+
|
|
115
128
|
return IDL.Service({
|
|
116
129
|
del_controllers: IDL.Func([DeleteControllersArgs], [], []),
|
|
117
130
|
get_notify_status: IDL.Func([GetNotifications], [NotifyStatus], ['query']),
|
|
118
|
-
get_openid_certificate: IDL.Func(
|
|
119
|
-
[GetOpenIdCertificateArgs],
|
|
120
|
-
[IDL.Opt(OpenIdCertificate)],
|
|
121
|
-
['query']
|
|
122
|
-
),
|
|
131
|
+
get_openid_certificate: IDL.Func([GetOpenIdCertificateArgs], [IDL.Opt(OpenIdCertificate)], []),
|
|
123
132
|
list_controllers: IDL.Func([], [IDL.Vec(IDL.Tuple(IDL.Principal, Controller))], ['query']),
|
|
124
133
|
notify: IDL.Func([NotifyArgs], [], []),
|
|
125
134
|
ping: IDL.Func([NotifyArgs], [], []),
|
|
126
135
|
set_controllers: IDL.Func([SetControllersArgs], [], []),
|
|
127
136
|
set_env: IDL.Func([Env], [], []),
|
|
128
137
|
start_openid_monitoring: IDL.Func([], [], []),
|
|
129
|
-
stop_openid_monitoring: IDL.Func([], [], [])
|
|
138
|
+
stop_openid_monitoring: IDL.Func([], [], []),
|
|
139
|
+
update_rate_config: IDL.Func([RateKind, RateConfig], [], [])
|
|
130
140
|
});
|
|
131
141
|
};
|
|
132
|
-
|
|
142
|
+
|
|
133
143
|
export const init = ({IDL}) => {
|
|
134
144
|
return [];
|
|
135
145
|
};
|
|
@@ -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';
|
|
@@ -93,12 +101,12 @@ export interface GetAnalytics {
|
|
|
93
101
|
export interface HttpRequest {
|
|
94
102
|
url: string;
|
|
95
103
|
method: string;
|
|
96
|
-
body: Uint8Array
|
|
104
|
+
body: Uint8Array;
|
|
97
105
|
headers: Array<[string, string]>;
|
|
98
106
|
certificate_version: [] | [number];
|
|
99
107
|
}
|
|
100
108
|
export interface HttpResponse {
|
|
101
|
-
body: Uint8Array
|
|
109
|
+
body: Uint8Array;
|
|
102
110
|
headers: Array<[string, string]>;
|
|
103
111
|
upgrade: [] | [boolean];
|
|
104
112
|
status_code: number;
|
|
@@ -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 InitOrbiterArgs = IDL.Record({
|
|
4
11
|
controllers: IDL.Vec(IDL.Principal)
|
|
@@ -246,6 +253,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
246
253
|
user_agent: IDL.Opt(IDL.Text)
|
|
247
254
|
});
|
|
248
255
|
const Result_3 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
|
|
256
|
+
|
|
249
257
|
return IDL.Service({
|
|
250
258
|
del_controllers: IDL.Func(
|
|
251
259
|
[DeleteControllersArgs],
|
|
@@ -301,10 +309,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
301
309
|
set_track_events: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetTrackEvent))], [Result_1], [])
|
|
302
310
|
});
|
|
303
311
|
};
|
|
304
|
-
|
|
312
|
+
|
|
305
313
|
export const init = ({IDL}) => {
|
|
306
314
|
const InitOrbiterArgs = IDL.Record({
|
|
307
315
|
controllers: IDL.Vec(IDL.Principal)
|
|
308
316
|
});
|
|
317
|
+
|
|
309
318
|
return [InitOrbiterArgs];
|
|
310
319
|
};
|
|
@@ -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 InitOrbiterArgs = IDL.Record({
|
|
4
11
|
controllers: IDL.Vec(IDL.Principal)
|
|
@@ -246,6 +253,7 @@ export const idlFactory = ({IDL}) => {
|
|
|
246
253
|
user_agent: IDL.Opt(IDL.Text)
|
|
247
254
|
});
|
|
248
255
|
const Result_3 = IDL.Variant({Ok: TrackEvent, Err: IDL.Text});
|
|
256
|
+
|
|
249
257
|
return IDL.Service({
|
|
250
258
|
del_controllers: IDL.Func(
|
|
251
259
|
[DeleteControllersArgs],
|
|
@@ -317,10 +325,11 @@ export const idlFactory = ({IDL}) => {
|
|
|
317
325
|
set_track_events: IDL.Func([IDL.Vec(IDL.Tuple(AnalyticKey, SetTrackEvent))], [Result_1], [])
|
|
318
326
|
});
|
|
319
327
|
};
|
|
320
|
-
|
|
328
|
+
|
|
321
329
|
export const init = ({IDL}) => {
|
|
322
330
|
const InitOrbiterArgs = IDL.Record({
|
|
323
331
|
controllers: IDL.Vec(IDL.Principal)
|
|
324
332
|
});
|
|
333
|
+
|
|
325
334
|
return [InitOrbiterArgs];
|
|
326
335
|
};
|