@openfort/openfort-js 0.1.8 → 0.2.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/.prettierignore +1 -0
- package/dist/generated/api.d.ts +3865 -0
- package/dist/{api.js → generated/api.js} +1615 -1904
- package/dist/generated/api.js.map +1 -0
- package/dist/{base.d.ts → generated/base.d.ts} +2 -2
- package/dist/{base.js → generated/base.js} +1 -0
- package/dist/generated/base.js.map +1 -0
- package/dist/{common.d.ts → generated/common.d.ts} +1 -1
- package/dist/{common.js → generated/common.js} +11 -9
- package/dist/generated/common.js.map +1 -0
- package/dist/{configuration.js → generated/configuration.js} +2 -2
- package/dist/generated/configuration.js.map +1 -0
- package/dist/openfort.d.ts +1 -1
- package/dist/openfort.js +4 -4
- package/dist/openfort.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/api.d.ts +0 -3028
- package/dist/api.js.map +0 -1
- package/dist/base.js.map +0 -1
- package/dist/common.js.map +0 -1
- package/dist/configuration.js.map +0 -1
- /package/dist/{configuration.d.ts → generated/configuration.d.ts} +0 -0
|
@@ -0,0 +1,3865 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Openfort API
|
|
3
|
+
* Complete Openfort API references and guides can be found at: https://openfort.xyz/docs
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: founders@openfort.xyz
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AccountPlayerRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface AccountPlayerRequest {
|
|
22
|
+
/**
|
|
23
|
+
* The chain_id
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof AccountPlayerRequest
|
|
26
|
+
*/
|
|
27
|
+
'chain_id': number;
|
|
28
|
+
/**
|
|
29
|
+
* The address of the external owner
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof AccountPlayerRequest
|
|
32
|
+
*/
|
|
33
|
+
'external_owner_address'?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @export
|
|
38
|
+
* @interface AccountRequest
|
|
39
|
+
*/
|
|
40
|
+
export interface AccountRequest {
|
|
41
|
+
/**
|
|
42
|
+
* The chain_id
|
|
43
|
+
* @type {number}
|
|
44
|
+
* @memberof AccountRequest
|
|
45
|
+
*/
|
|
46
|
+
'chain_id': number;
|
|
47
|
+
/**
|
|
48
|
+
* The player ID
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof AccountRequest
|
|
51
|
+
*/
|
|
52
|
+
'player': string;
|
|
53
|
+
/**
|
|
54
|
+
* The address of the external owner
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof AccountRequest
|
|
57
|
+
*/
|
|
58
|
+
'external_owner_address'?: string;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @export
|
|
63
|
+
* @interface AccountResponse
|
|
64
|
+
*/
|
|
65
|
+
export interface AccountResponse {
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof AccountResponse
|
|
70
|
+
*/
|
|
71
|
+
'id': string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof AccountResponse
|
|
76
|
+
*/
|
|
77
|
+
'object': string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof AccountResponse
|
|
82
|
+
*/
|
|
83
|
+
'created_at': string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof AccountResponse
|
|
88
|
+
*/
|
|
89
|
+
'address': string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {boolean}
|
|
93
|
+
* @memberof AccountResponse
|
|
94
|
+
*/
|
|
95
|
+
'deployed': boolean;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {boolean}
|
|
99
|
+
* @memberof AccountResponse
|
|
100
|
+
*/
|
|
101
|
+
'custodial': boolean;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {number}
|
|
105
|
+
* @memberof AccountResponse
|
|
106
|
+
*/
|
|
107
|
+
'chain_id': number;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {PolicyResponseTransactionIntents}
|
|
111
|
+
* @memberof AccountResponse
|
|
112
|
+
*/
|
|
113
|
+
'transaction_intents'?: PolicyResponseTransactionIntents;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @export
|
|
118
|
+
* @interface AccountsResponse
|
|
119
|
+
*/
|
|
120
|
+
export interface AccountsResponse {
|
|
121
|
+
/**
|
|
122
|
+
*
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof AccountsResponse
|
|
125
|
+
*/
|
|
126
|
+
'object': string;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof AccountsResponse
|
|
131
|
+
*/
|
|
132
|
+
'url': string;
|
|
133
|
+
/**
|
|
134
|
+
*
|
|
135
|
+
* @type {Array<AccountResponse>}
|
|
136
|
+
* @memberof AccountsResponse
|
|
137
|
+
*/
|
|
138
|
+
'data': Array<AccountResponse>;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @export
|
|
143
|
+
* @interface ApiKeyResponse
|
|
144
|
+
*/
|
|
145
|
+
export interface ApiKeyResponse {
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @type {string}
|
|
149
|
+
* @memberof ApiKeyResponse
|
|
150
|
+
*/
|
|
151
|
+
'created_at': string;
|
|
152
|
+
/**
|
|
153
|
+
*
|
|
154
|
+
* @type {string}
|
|
155
|
+
* @memberof ApiKeyResponse
|
|
156
|
+
*/
|
|
157
|
+
'token': string;
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof ApiKeyResponse
|
|
162
|
+
*/
|
|
163
|
+
'name': string;
|
|
164
|
+
/**
|
|
165
|
+
*
|
|
166
|
+
* @type {boolean}
|
|
167
|
+
* @memberof ApiKeyResponse
|
|
168
|
+
*/
|
|
169
|
+
'livemode': boolean;
|
|
170
|
+
}
|
|
171
|
+
/**
|
|
172
|
+
*
|
|
173
|
+
* @export
|
|
174
|
+
* @interface AssetInventory
|
|
175
|
+
*/
|
|
176
|
+
export interface AssetInventory {
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
* @type {AssetType}
|
|
180
|
+
* @memberof AssetInventory
|
|
181
|
+
*/
|
|
182
|
+
'asset_type': AssetType;
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @type {string}
|
|
186
|
+
* @memberof AssetInventory
|
|
187
|
+
*/
|
|
188
|
+
'address'?: string;
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {number}
|
|
192
|
+
* @memberof AssetInventory
|
|
193
|
+
*/
|
|
194
|
+
'token_id'?: number;
|
|
195
|
+
/**
|
|
196
|
+
* amount in Wei
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof AssetInventory
|
|
199
|
+
*/
|
|
200
|
+
'amount'?: string;
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @export
|
|
205
|
+
* @enum {string}
|
|
206
|
+
*/
|
|
207
|
+
export declare const AssetType: {
|
|
208
|
+
readonly NUMBER_1: 1;
|
|
209
|
+
readonly NUMBER_2: 2;
|
|
210
|
+
readonly NUMBER_3: 3;
|
|
211
|
+
readonly NUMBER_4: 4;
|
|
212
|
+
};
|
|
213
|
+
export type AssetType = typeof AssetType[keyof typeof AssetType];
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @export
|
|
217
|
+
* @interface ContractDeleteResponse
|
|
218
|
+
*/
|
|
219
|
+
export interface ContractDeleteResponse {
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof ContractDeleteResponse
|
|
224
|
+
*/
|
|
225
|
+
'id': string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof ContractDeleteResponse
|
|
230
|
+
*/
|
|
231
|
+
'object': string;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {boolean}
|
|
235
|
+
* @memberof ContractDeleteResponse
|
|
236
|
+
*/
|
|
237
|
+
'deleted': boolean;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
*
|
|
241
|
+
* @export
|
|
242
|
+
* @interface ContractRequest
|
|
243
|
+
*/
|
|
244
|
+
export interface ContractRequest {
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof ContractRequest
|
|
249
|
+
*/
|
|
250
|
+
'name': string;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {number}
|
|
254
|
+
* @memberof ContractRequest
|
|
255
|
+
*/
|
|
256
|
+
'chain_id': number;
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @type {string}
|
|
260
|
+
* @memberof ContractRequest
|
|
261
|
+
*/
|
|
262
|
+
'address': string;
|
|
263
|
+
/**
|
|
264
|
+
*
|
|
265
|
+
* @type {PrismaJsonValue}
|
|
266
|
+
* @memberof ContractRequest
|
|
267
|
+
*/
|
|
268
|
+
'abi'?: PrismaJsonValue | null;
|
|
269
|
+
/**
|
|
270
|
+
*
|
|
271
|
+
* @type {boolean}
|
|
272
|
+
* @memberof ContractRequest
|
|
273
|
+
*/
|
|
274
|
+
'public_verification'?: boolean;
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
*
|
|
278
|
+
* @export
|
|
279
|
+
* @interface ContractResponse
|
|
280
|
+
*/
|
|
281
|
+
export interface ContractResponse {
|
|
282
|
+
/**
|
|
283
|
+
*
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof ContractResponse
|
|
286
|
+
*/
|
|
287
|
+
'id': string;
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof ContractResponse
|
|
292
|
+
*/
|
|
293
|
+
'object': string;
|
|
294
|
+
/**
|
|
295
|
+
*
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof ContractResponse
|
|
298
|
+
*/
|
|
299
|
+
'created_at': string;
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof ContractResponse
|
|
304
|
+
*/
|
|
305
|
+
'name': string | null;
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {number}
|
|
309
|
+
* @memberof ContractResponse
|
|
310
|
+
*/
|
|
311
|
+
'chain_id': number;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof ContractResponse
|
|
316
|
+
*/
|
|
317
|
+
'address': string;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @type {PrismaJsonValue}
|
|
321
|
+
* @memberof ContractResponse
|
|
322
|
+
*/
|
|
323
|
+
'abi': PrismaJsonValue | null;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @type {boolean}
|
|
327
|
+
* @memberof ContractResponse
|
|
328
|
+
*/
|
|
329
|
+
'public_verification': boolean;
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
* @export
|
|
334
|
+
* @interface ContractsResponse
|
|
335
|
+
*/
|
|
336
|
+
export interface ContractsResponse {
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof ContractsResponse
|
|
341
|
+
*/
|
|
342
|
+
'object': string;
|
|
343
|
+
/**
|
|
344
|
+
*
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof ContractsResponse
|
|
347
|
+
*/
|
|
348
|
+
'url': string;
|
|
349
|
+
/**
|
|
350
|
+
*
|
|
351
|
+
* @type {Array<ContractResponse>}
|
|
352
|
+
* @memberof ContractsResponse
|
|
353
|
+
*/
|
|
354
|
+
'data': Array<ContractResponse>;
|
|
355
|
+
}
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @export
|
|
359
|
+
* @interface CreatePlayerRequest
|
|
360
|
+
*/
|
|
361
|
+
export interface CreatePlayerRequest {
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {string}
|
|
365
|
+
* @memberof CreatePlayerRequest
|
|
366
|
+
*/
|
|
367
|
+
'name': string;
|
|
368
|
+
/**
|
|
369
|
+
*
|
|
370
|
+
* @type {string}
|
|
371
|
+
* @memberof CreatePlayerRequest
|
|
372
|
+
*/
|
|
373
|
+
'description'?: string;
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @export
|
|
378
|
+
* @interface CreateSessionPlayerRequest
|
|
379
|
+
*/
|
|
380
|
+
export interface CreateSessionPlayerRequest {
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {string}
|
|
384
|
+
* @memberof CreateSessionPlayerRequest
|
|
385
|
+
*/
|
|
386
|
+
'address': string;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof CreateSessionPlayerRequest
|
|
391
|
+
*/
|
|
392
|
+
'policy'?: string;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {boolean}
|
|
396
|
+
* @memberof CreateSessionPlayerRequest
|
|
397
|
+
*/
|
|
398
|
+
'optimistic'?: boolean;
|
|
399
|
+
/**
|
|
400
|
+
*
|
|
401
|
+
* @type {string}
|
|
402
|
+
* @memberof CreateSessionPlayerRequest
|
|
403
|
+
*/
|
|
404
|
+
'external_owner_address'?: string;
|
|
405
|
+
/**
|
|
406
|
+
*
|
|
407
|
+
* @type {number}
|
|
408
|
+
* @memberof CreateSessionPlayerRequest
|
|
409
|
+
*/
|
|
410
|
+
'chain_id': number;
|
|
411
|
+
/**
|
|
412
|
+
*
|
|
413
|
+
* @type {number}
|
|
414
|
+
* @memberof CreateSessionPlayerRequest
|
|
415
|
+
*/
|
|
416
|
+
'valid_until': number;
|
|
417
|
+
/**
|
|
418
|
+
*
|
|
419
|
+
* @type {number}
|
|
420
|
+
* @memberof CreateSessionPlayerRequest
|
|
421
|
+
*/
|
|
422
|
+
'valid_after': number;
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @type {number}
|
|
426
|
+
* @memberof CreateSessionPlayerRequest
|
|
427
|
+
*/
|
|
428
|
+
'limit'?: number;
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @type {Array<string>}
|
|
432
|
+
* @memberof CreateSessionPlayerRequest
|
|
433
|
+
*/
|
|
434
|
+
'whitelist'?: Array<string>;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @export
|
|
439
|
+
* @interface CreateSessionRequest
|
|
440
|
+
*/
|
|
441
|
+
export interface CreateSessionRequest {
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {string}
|
|
445
|
+
* @memberof CreateSessionRequest
|
|
446
|
+
*/
|
|
447
|
+
'player': string;
|
|
448
|
+
/**
|
|
449
|
+
*
|
|
450
|
+
* @type {string}
|
|
451
|
+
* @memberof CreateSessionRequest
|
|
452
|
+
*/
|
|
453
|
+
'policy'?: string;
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @type {boolean}
|
|
457
|
+
* @memberof CreateSessionRequest
|
|
458
|
+
*/
|
|
459
|
+
'optimistic'?: boolean;
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @memberof CreateSessionRequest
|
|
464
|
+
*/
|
|
465
|
+
'external_owner_address'?: string;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @type {string}
|
|
469
|
+
* @memberof CreateSessionRequest
|
|
470
|
+
*/
|
|
471
|
+
'address': string;
|
|
472
|
+
/**
|
|
473
|
+
*
|
|
474
|
+
* @type {number}
|
|
475
|
+
* @memberof CreateSessionRequest
|
|
476
|
+
*/
|
|
477
|
+
'chain_id': number;
|
|
478
|
+
/**
|
|
479
|
+
*
|
|
480
|
+
* @type {number}
|
|
481
|
+
* @memberof CreateSessionRequest
|
|
482
|
+
*/
|
|
483
|
+
'valid_until': number;
|
|
484
|
+
/**
|
|
485
|
+
*
|
|
486
|
+
* @type {number}
|
|
487
|
+
* @memberof CreateSessionRequest
|
|
488
|
+
*/
|
|
489
|
+
'valid_after': number;
|
|
490
|
+
/**
|
|
491
|
+
*
|
|
492
|
+
* @type {number}
|
|
493
|
+
* @memberof CreateSessionRequest
|
|
494
|
+
*/
|
|
495
|
+
'limit'?: number;
|
|
496
|
+
/**
|
|
497
|
+
*
|
|
498
|
+
* @type {Array<string>}
|
|
499
|
+
* @memberof CreateSessionRequest
|
|
500
|
+
*/
|
|
501
|
+
'whitelist'?: Array<string>;
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @export
|
|
506
|
+
* @interface Gas
|
|
507
|
+
*/
|
|
508
|
+
export interface Gas {
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {string}
|
|
512
|
+
* @memberof Gas
|
|
513
|
+
*/
|
|
514
|
+
'object': string;
|
|
515
|
+
/**
|
|
516
|
+
*
|
|
517
|
+
* @type {string}
|
|
518
|
+
* @memberof Gas
|
|
519
|
+
*/
|
|
520
|
+
'url': string;
|
|
521
|
+
/**
|
|
522
|
+
*
|
|
523
|
+
* @type {{ [key: string]: number; }}
|
|
524
|
+
* @memberof Gas
|
|
525
|
+
*/
|
|
526
|
+
'dailyGasUsage': {
|
|
527
|
+
[key: string]: number;
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
/**
|
|
531
|
+
*
|
|
532
|
+
* @export
|
|
533
|
+
* @interface Interaction
|
|
534
|
+
*/
|
|
535
|
+
export interface Interaction {
|
|
536
|
+
/**
|
|
537
|
+
*
|
|
538
|
+
* @type {string}
|
|
539
|
+
* @memberof Interaction
|
|
540
|
+
*/
|
|
541
|
+
'contract': string | null;
|
|
542
|
+
/**
|
|
543
|
+
*
|
|
544
|
+
* @type {string}
|
|
545
|
+
* @memberof Interaction
|
|
546
|
+
*/
|
|
547
|
+
'value'?: string | null;
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @type {string}
|
|
551
|
+
* @memberof Interaction
|
|
552
|
+
*/
|
|
553
|
+
'function_name': string;
|
|
554
|
+
/**
|
|
555
|
+
*
|
|
556
|
+
* @type {Array<any>}
|
|
557
|
+
* @memberof Interaction
|
|
558
|
+
*/
|
|
559
|
+
'function_args': Array<any>;
|
|
560
|
+
}
|
|
561
|
+
/**
|
|
562
|
+
*
|
|
563
|
+
* @export
|
|
564
|
+
* @interface InteractionResponse
|
|
565
|
+
*/
|
|
566
|
+
export interface InteractionResponse {
|
|
567
|
+
/**
|
|
568
|
+
*
|
|
569
|
+
* @type {string}
|
|
570
|
+
* @memberof InteractionResponse
|
|
571
|
+
*/
|
|
572
|
+
'contract': string | null;
|
|
573
|
+
/**
|
|
574
|
+
*
|
|
575
|
+
* @type {string}
|
|
576
|
+
* @memberof InteractionResponse
|
|
577
|
+
*/
|
|
578
|
+
'value'?: string | null;
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {string}
|
|
582
|
+
* @memberof InteractionResponse
|
|
583
|
+
*/
|
|
584
|
+
'function_name': string;
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @type {Array<any>}
|
|
588
|
+
* @memberof InteractionResponse
|
|
589
|
+
*/
|
|
590
|
+
'function_args': Array<any>;
|
|
591
|
+
}
|
|
592
|
+
/**
|
|
593
|
+
*
|
|
594
|
+
* @export
|
|
595
|
+
* @interface InventoryResponse
|
|
596
|
+
*/
|
|
597
|
+
export interface InventoryResponse {
|
|
598
|
+
/**
|
|
599
|
+
*
|
|
600
|
+
* @type {string}
|
|
601
|
+
* @memberof InventoryResponse
|
|
602
|
+
*/
|
|
603
|
+
'object': string;
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
* @type {Array<AssetInventory>}
|
|
607
|
+
* @memberof InventoryResponse
|
|
608
|
+
*/
|
|
609
|
+
'nft_assets'?: Array<AssetInventory>;
|
|
610
|
+
/**
|
|
611
|
+
*
|
|
612
|
+
* @type {AssetInventory}
|
|
613
|
+
* @memberof InventoryResponse
|
|
614
|
+
*/
|
|
615
|
+
'native_asset'?: AssetInventory;
|
|
616
|
+
/**
|
|
617
|
+
*
|
|
618
|
+
* @type {Array<AssetInventory>}
|
|
619
|
+
* @memberof InventoryResponse
|
|
620
|
+
*/
|
|
621
|
+
'token_assets'?: Array<AssetInventory>;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
625
|
+
* @export
|
|
626
|
+
* @interface JsonValue
|
|
627
|
+
*/
|
|
628
|
+
export interface JsonValue {
|
|
629
|
+
}
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @export
|
|
633
|
+
* @interface Log
|
|
634
|
+
*/
|
|
635
|
+
export interface Log {
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @type {string}
|
|
639
|
+
* @memberof Log
|
|
640
|
+
*/
|
|
641
|
+
'id': string;
|
|
642
|
+
/**
|
|
643
|
+
*
|
|
644
|
+
* @type {string}
|
|
645
|
+
* @memberof Log
|
|
646
|
+
*/
|
|
647
|
+
'timestamp': string;
|
|
648
|
+
/**
|
|
649
|
+
*
|
|
650
|
+
* @type {string}
|
|
651
|
+
* @memberof Log
|
|
652
|
+
*/
|
|
653
|
+
'event': string;
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @type {any}
|
|
657
|
+
* @memberof Log
|
|
658
|
+
*/
|
|
659
|
+
'request_body': any;
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @type {number}
|
|
663
|
+
* @memberof Log
|
|
664
|
+
*/
|
|
665
|
+
'status': number;
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @type {number}
|
|
669
|
+
* @memberof Log
|
|
670
|
+
*/
|
|
671
|
+
'response_time': number;
|
|
672
|
+
/**
|
|
673
|
+
*
|
|
674
|
+
* @type {any}
|
|
675
|
+
* @memberof Log
|
|
676
|
+
*/
|
|
677
|
+
'response_data': any;
|
|
678
|
+
}
|
|
679
|
+
/**
|
|
680
|
+
* Enums
|
|
681
|
+
* @export
|
|
682
|
+
* @enum {string}
|
|
683
|
+
*/
|
|
684
|
+
export declare const PKLocation: {
|
|
685
|
+
readonly Db: "DB";
|
|
686
|
+
readonly GcpKms: "GCP_KMS";
|
|
687
|
+
readonly User: "USER";
|
|
688
|
+
};
|
|
689
|
+
export type PKLocation = typeof PKLocation[keyof typeof PKLocation];
|
|
690
|
+
/**
|
|
691
|
+
*
|
|
692
|
+
* @export
|
|
693
|
+
* @enum {string}
|
|
694
|
+
*/
|
|
695
|
+
export declare const PKPolicy: {
|
|
696
|
+
readonly Individual: "INDIVIDUAL";
|
|
697
|
+
readonly Project: "PROJECT";
|
|
698
|
+
};
|
|
699
|
+
export type PKPolicy = typeof PKPolicy[keyof typeof PKPolicy];
|
|
700
|
+
/**
|
|
701
|
+
*
|
|
702
|
+
* @export
|
|
703
|
+
* @interface PlayerRequest
|
|
704
|
+
*/
|
|
705
|
+
export interface PlayerRequest {
|
|
706
|
+
/**
|
|
707
|
+
*
|
|
708
|
+
* @type {string}
|
|
709
|
+
* @memberof PlayerRequest
|
|
710
|
+
*/
|
|
711
|
+
'name'?: string;
|
|
712
|
+
/**
|
|
713
|
+
*
|
|
714
|
+
* @type {string}
|
|
715
|
+
* @memberof PlayerRequest
|
|
716
|
+
*/
|
|
717
|
+
'description'?: string;
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
*
|
|
721
|
+
* @export
|
|
722
|
+
* @interface PlayerResponse
|
|
723
|
+
*/
|
|
724
|
+
export interface PlayerResponse {
|
|
725
|
+
/**
|
|
726
|
+
*
|
|
727
|
+
* @type {string}
|
|
728
|
+
* @memberof PlayerResponse
|
|
729
|
+
*/
|
|
730
|
+
'id': string;
|
|
731
|
+
/**
|
|
732
|
+
*
|
|
733
|
+
* @type {string}
|
|
734
|
+
* @memberof PlayerResponse
|
|
735
|
+
*/
|
|
736
|
+
'object': string;
|
|
737
|
+
/**
|
|
738
|
+
*
|
|
739
|
+
* @type {string}
|
|
740
|
+
* @memberof PlayerResponse
|
|
741
|
+
*/
|
|
742
|
+
'created_at': string;
|
|
743
|
+
/**
|
|
744
|
+
*
|
|
745
|
+
* @type {string}
|
|
746
|
+
* @memberof PlayerResponse
|
|
747
|
+
*/
|
|
748
|
+
'name': string | null;
|
|
749
|
+
/**
|
|
750
|
+
*
|
|
751
|
+
* @type {string}
|
|
752
|
+
* @memberof PlayerResponse
|
|
753
|
+
*/
|
|
754
|
+
'email': string | null;
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @type {string}
|
|
758
|
+
* @memberof PlayerResponse
|
|
759
|
+
*/
|
|
760
|
+
'description': string | null;
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @type {string}
|
|
764
|
+
* @memberof PlayerResponse
|
|
765
|
+
*/
|
|
766
|
+
'metadata': string;
|
|
767
|
+
/**
|
|
768
|
+
*
|
|
769
|
+
* @type {PolicyResponseTransactionIntents}
|
|
770
|
+
* @memberof PlayerResponse
|
|
771
|
+
*/
|
|
772
|
+
'transaction_intents'?: PolicyResponseTransactionIntents;
|
|
773
|
+
/**
|
|
774
|
+
*
|
|
775
|
+
* @type {PlayerResponseAccounts}
|
|
776
|
+
* @memberof PlayerResponse
|
|
777
|
+
*/
|
|
778
|
+
'accounts'?: PlayerResponseAccounts;
|
|
779
|
+
}
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @export
|
|
783
|
+
* @interface PlayerResponseAccounts
|
|
784
|
+
*/
|
|
785
|
+
export interface PlayerResponseAccounts {
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
*
|
|
789
|
+
* @export
|
|
790
|
+
* @interface PlayerTransferOwnershipRequest
|
|
791
|
+
*/
|
|
792
|
+
export interface PlayerTransferOwnershipRequest {
|
|
793
|
+
/**
|
|
794
|
+
* The policy ID
|
|
795
|
+
* @type {string}
|
|
796
|
+
* @memberof PlayerTransferOwnershipRequest
|
|
797
|
+
*/
|
|
798
|
+
'policy': string;
|
|
799
|
+
/**
|
|
800
|
+
* The chain_id where the account is.
|
|
801
|
+
* @type {number}
|
|
802
|
+
* @memberof PlayerTransferOwnershipRequest
|
|
803
|
+
*/
|
|
804
|
+
'chain_id': number;
|
|
805
|
+
/**
|
|
806
|
+
* The address of the new owner
|
|
807
|
+
* @type {string}
|
|
808
|
+
* @memberof PlayerTransferOwnershipRequest
|
|
809
|
+
*/
|
|
810
|
+
'new_owner_address': string;
|
|
811
|
+
/**
|
|
812
|
+
* The player ID
|
|
813
|
+
* @type {string}
|
|
814
|
+
* @memberof PlayerTransferOwnershipRequest
|
|
815
|
+
*/
|
|
816
|
+
'player'?: string;
|
|
817
|
+
}
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @export
|
|
821
|
+
* @interface PlayersResponse
|
|
822
|
+
*/
|
|
823
|
+
export interface PlayersResponse {
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @type {string}
|
|
827
|
+
* @memberof PlayersResponse
|
|
828
|
+
*/
|
|
829
|
+
'object': string;
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @type {string}
|
|
833
|
+
* @memberof PlayersResponse
|
|
834
|
+
*/
|
|
835
|
+
'url': string;
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
* @type {Array<PlayerResponse>}
|
|
839
|
+
* @memberof PlayersResponse
|
|
840
|
+
*/
|
|
841
|
+
'data': Array<PlayerResponse>;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @export
|
|
846
|
+
* @interface PoliciesResponse
|
|
847
|
+
*/
|
|
848
|
+
export interface PoliciesResponse {
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {string}
|
|
852
|
+
* @memberof PoliciesResponse
|
|
853
|
+
*/
|
|
854
|
+
'object': string;
|
|
855
|
+
/**
|
|
856
|
+
*
|
|
857
|
+
* @type {string}
|
|
858
|
+
* @memberof PoliciesResponse
|
|
859
|
+
*/
|
|
860
|
+
'url': string;
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @type {Array<PolicyResponse>}
|
|
864
|
+
* @memberof PoliciesResponse
|
|
865
|
+
*/
|
|
866
|
+
'data': Array<PolicyResponse>;
|
|
867
|
+
}
|
|
868
|
+
/**
|
|
869
|
+
*
|
|
870
|
+
* @export
|
|
871
|
+
* @interface PolicyAllowFunctionRequest
|
|
872
|
+
*/
|
|
873
|
+
export interface PolicyAllowFunctionRequest {
|
|
874
|
+
/**
|
|
875
|
+
*
|
|
876
|
+
* @type {PolicySchema}
|
|
877
|
+
* @memberof PolicyAllowFunctionRequest
|
|
878
|
+
*/
|
|
879
|
+
'type': PolicySchema;
|
|
880
|
+
/**
|
|
881
|
+
*
|
|
882
|
+
* @type {string}
|
|
883
|
+
* @memberof PolicyAllowFunctionRequest
|
|
884
|
+
*/
|
|
885
|
+
'function_name': string | null;
|
|
886
|
+
/**
|
|
887
|
+
*
|
|
888
|
+
* @type {string}
|
|
889
|
+
* @memberof PolicyAllowFunctionRequest
|
|
890
|
+
*/
|
|
891
|
+
'contract': string | null;
|
|
892
|
+
}
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @export
|
|
896
|
+
* @interface PolicyDeleteResponse
|
|
897
|
+
*/
|
|
898
|
+
export interface PolicyDeleteResponse {
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @type {string}
|
|
902
|
+
* @memberof PolicyDeleteResponse
|
|
903
|
+
*/
|
|
904
|
+
'id': string;
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @type {string}
|
|
908
|
+
* @memberof PolicyDeleteResponse
|
|
909
|
+
*/
|
|
910
|
+
'object': string;
|
|
911
|
+
/**
|
|
912
|
+
*
|
|
913
|
+
* @type {boolean}
|
|
914
|
+
* @memberof PolicyDeleteResponse
|
|
915
|
+
*/
|
|
916
|
+
'deleted': boolean;
|
|
917
|
+
}
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @export
|
|
921
|
+
* @interface PolicyRequest
|
|
922
|
+
*/
|
|
923
|
+
export interface PolicyRequest {
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {string}
|
|
927
|
+
* @memberof PolicyRequest
|
|
928
|
+
*/
|
|
929
|
+
'name': string;
|
|
930
|
+
/**
|
|
931
|
+
*
|
|
932
|
+
* @type {number}
|
|
933
|
+
* @memberof PolicyRequest
|
|
934
|
+
*/
|
|
935
|
+
'chain_id': number;
|
|
936
|
+
/**
|
|
937
|
+
*
|
|
938
|
+
* @type {Strategy}
|
|
939
|
+
* @memberof PolicyRequest
|
|
940
|
+
*/
|
|
941
|
+
'strategy'?: Strategy;
|
|
942
|
+
}
|
|
943
|
+
/**
|
|
944
|
+
*
|
|
945
|
+
* @export
|
|
946
|
+
* @interface PolicyResponse
|
|
947
|
+
*/
|
|
948
|
+
export interface PolicyResponse {
|
|
949
|
+
/**
|
|
950
|
+
*
|
|
951
|
+
* @type {string}
|
|
952
|
+
* @memberof PolicyResponse
|
|
953
|
+
*/
|
|
954
|
+
'id': string;
|
|
955
|
+
/**
|
|
956
|
+
*
|
|
957
|
+
* @type {string}
|
|
958
|
+
* @memberof PolicyResponse
|
|
959
|
+
*/
|
|
960
|
+
'object': string;
|
|
961
|
+
/**
|
|
962
|
+
*
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof PolicyResponse
|
|
965
|
+
*/
|
|
966
|
+
'created_at': string;
|
|
967
|
+
/**
|
|
968
|
+
*
|
|
969
|
+
* @type {string}
|
|
970
|
+
* @memberof PolicyResponse
|
|
971
|
+
*/
|
|
972
|
+
'name': string | null;
|
|
973
|
+
/**
|
|
974
|
+
*
|
|
975
|
+
* @type {number}
|
|
976
|
+
* @memberof PolicyResponse
|
|
977
|
+
*/
|
|
978
|
+
'chain_id': number;
|
|
979
|
+
/**
|
|
980
|
+
*
|
|
981
|
+
* @type {any}
|
|
982
|
+
* @memberof PolicyResponse
|
|
983
|
+
*/
|
|
984
|
+
'strategy': any;
|
|
985
|
+
/**
|
|
986
|
+
*
|
|
987
|
+
* @type {PolicyResponseTransactionIntents}
|
|
988
|
+
* @memberof PolicyResponse
|
|
989
|
+
*/
|
|
990
|
+
'transaction_intents'?: PolicyResponseTransactionIntents;
|
|
991
|
+
/**
|
|
992
|
+
*
|
|
993
|
+
* @type {PolicyResponsePolicyRules}
|
|
994
|
+
* @memberof PolicyResponse
|
|
995
|
+
*/
|
|
996
|
+
'policy_rules'?: PolicyResponsePolicyRules;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @export
|
|
1001
|
+
* @interface PolicyResponsePolicyRules
|
|
1002
|
+
*/
|
|
1003
|
+
export interface PolicyResponsePolicyRules {
|
|
1004
|
+
}
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @export
|
|
1008
|
+
* @interface PolicyResponseTransactionIntents
|
|
1009
|
+
*/
|
|
1010
|
+
export interface PolicyResponseTransactionIntents {
|
|
1011
|
+
}
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @export
|
|
1015
|
+
* @interface PolicyRuleDeleteResponse
|
|
1016
|
+
*/
|
|
1017
|
+
export interface PolicyRuleDeleteResponse {
|
|
1018
|
+
/**
|
|
1019
|
+
*
|
|
1020
|
+
* @type {string}
|
|
1021
|
+
* @memberof PolicyRuleDeleteResponse
|
|
1022
|
+
*/
|
|
1023
|
+
'id': string;
|
|
1024
|
+
/**
|
|
1025
|
+
*
|
|
1026
|
+
* @type {string}
|
|
1027
|
+
* @memberof PolicyRuleDeleteResponse
|
|
1028
|
+
*/
|
|
1029
|
+
'object': string;
|
|
1030
|
+
/**
|
|
1031
|
+
*
|
|
1032
|
+
* @type {boolean}
|
|
1033
|
+
* @memberof PolicyRuleDeleteResponse
|
|
1034
|
+
*/
|
|
1035
|
+
'deleted': boolean;
|
|
1036
|
+
}
|
|
1037
|
+
/**
|
|
1038
|
+
*
|
|
1039
|
+
* @export
|
|
1040
|
+
* @interface PolicyRuleRequest
|
|
1041
|
+
*/
|
|
1042
|
+
export interface PolicyRuleRequest {
|
|
1043
|
+
/**
|
|
1044
|
+
*
|
|
1045
|
+
* @type {PolicySchema}
|
|
1046
|
+
* @memberof PolicyRuleRequest
|
|
1047
|
+
*/
|
|
1048
|
+
'type': PolicySchema;
|
|
1049
|
+
/**
|
|
1050
|
+
*
|
|
1051
|
+
* @type {string}
|
|
1052
|
+
* @memberof PolicyRuleRequest
|
|
1053
|
+
*/
|
|
1054
|
+
'function_name': string | null;
|
|
1055
|
+
/**
|
|
1056
|
+
*
|
|
1057
|
+
* @type {string}
|
|
1058
|
+
* @memberof PolicyRuleRequest
|
|
1059
|
+
*/
|
|
1060
|
+
'policy': string;
|
|
1061
|
+
/**
|
|
1062
|
+
*
|
|
1063
|
+
* @type {string}
|
|
1064
|
+
* @memberof PolicyRuleRequest
|
|
1065
|
+
*/
|
|
1066
|
+
'contract': string | null;
|
|
1067
|
+
}
|
|
1068
|
+
/**
|
|
1069
|
+
*
|
|
1070
|
+
* @export
|
|
1071
|
+
* @interface PolicyRuleResponse
|
|
1072
|
+
*/
|
|
1073
|
+
export interface PolicyRuleResponse {
|
|
1074
|
+
/**
|
|
1075
|
+
*
|
|
1076
|
+
* @type {string}
|
|
1077
|
+
* @memberof PolicyRuleResponse
|
|
1078
|
+
*/
|
|
1079
|
+
'id': string;
|
|
1080
|
+
/**
|
|
1081
|
+
*
|
|
1082
|
+
* @type {string}
|
|
1083
|
+
* @memberof PolicyRuleResponse
|
|
1084
|
+
*/
|
|
1085
|
+
'object': string;
|
|
1086
|
+
/**
|
|
1087
|
+
*
|
|
1088
|
+
* @type {string}
|
|
1089
|
+
* @memberof PolicyRuleResponse
|
|
1090
|
+
*/
|
|
1091
|
+
'created_at': string;
|
|
1092
|
+
/**
|
|
1093
|
+
*
|
|
1094
|
+
* @type {PolicySchema}
|
|
1095
|
+
* @memberof PolicyRuleResponse
|
|
1096
|
+
*/
|
|
1097
|
+
'type': PolicySchema;
|
|
1098
|
+
/**
|
|
1099
|
+
*
|
|
1100
|
+
* @type {string}
|
|
1101
|
+
* @memberof PolicyRuleResponse
|
|
1102
|
+
*/
|
|
1103
|
+
'function_name': string | null;
|
|
1104
|
+
/**
|
|
1105
|
+
*
|
|
1106
|
+
* @type {PolicyRuleResponseContract}
|
|
1107
|
+
* @memberof PolicyRuleResponse
|
|
1108
|
+
*/
|
|
1109
|
+
'contract': PolicyRuleResponseContract | null;
|
|
1110
|
+
}
|
|
1111
|
+
/**
|
|
1112
|
+
*
|
|
1113
|
+
* @export
|
|
1114
|
+
* @interface PolicyRuleResponseContract
|
|
1115
|
+
*/
|
|
1116
|
+
export interface PolicyRuleResponseContract {
|
|
1117
|
+
/**
|
|
1118
|
+
*
|
|
1119
|
+
* @type {string}
|
|
1120
|
+
* @memberof PolicyRuleResponseContract
|
|
1121
|
+
*/
|
|
1122
|
+
'id': string;
|
|
1123
|
+
/**
|
|
1124
|
+
*
|
|
1125
|
+
* @type {string}
|
|
1126
|
+
* @memberof PolicyRuleResponseContract
|
|
1127
|
+
*/
|
|
1128
|
+
'object': string;
|
|
1129
|
+
/**
|
|
1130
|
+
*
|
|
1131
|
+
* @type {string}
|
|
1132
|
+
* @memberof PolicyRuleResponseContract
|
|
1133
|
+
*/
|
|
1134
|
+
'created_at': string;
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @type {string}
|
|
1138
|
+
* @memberof PolicyRuleResponseContract
|
|
1139
|
+
*/
|
|
1140
|
+
'name': string | null;
|
|
1141
|
+
/**
|
|
1142
|
+
*
|
|
1143
|
+
* @type {number}
|
|
1144
|
+
* @memberof PolicyRuleResponseContract
|
|
1145
|
+
*/
|
|
1146
|
+
'chain_id': number;
|
|
1147
|
+
/**
|
|
1148
|
+
*
|
|
1149
|
+
* @type {string}
|
|
1150
|
+
* @memberof PolicyRuleResponseContract
|
|
1151
|
+
*/
|
|
1152
|
+
'address': string;
|
|
1153
|
+
/**
|
|
1154
|
+
*
|
|
1155
|
+
* @type {PrismaJsonValue}
|
|
1156
|
+
* @memberof PolicyRuleResponseContract
|
|
1157
|
+
*/
|
|
1158
|
+
'abi': PrismaJsonValue | null;
|
|
1159
|
+
/**
|
|
1160
|
+
*
|
|
1161
|
+
* @type {boolean}
|
|
1162
|
+
* @memberof PolicyRuleResponseContract
|
|
1163
|
+
*/
|
|
1164
|
+
'public_verification': boolean;
|
|
1165
|
+
}
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* @export
|
|
1169
|
+
* @interface PolicyRuleUpdateRequest
|
|
1170
|
+
*/
|
|
1171
|
+
export interface PolicyRuleUpdateRequest {
|
|
1172
|
+
/**
|
|
1173
|
+
*
|
|
1174
|
+
* @type {PolicySchema}
|
|
1175
|
+
* @memberof PolicyRuleUpdateRequest
|
|
1176
|
+
*/
|
|
1177
|
+
'type'?: PolicySchema;
|
|
1178
|
+
/**
|
|
1179
|
+
*
|
|
1180
|
+
* @type {string}
|
|
1181
|
+
* @memberof PolicyRuleUpdateRequest
|
|
1182
|
+
*/
|
|
1183
|
+
'function_name': string | null;
|
|
1184
|
+
/**
|
|
1185
|
+
*
|
|
1186
|
+
* @type {string}
|
|
1187
|
+
* @memberof PolicyRuleUpdateRequest
|
|
1188
|
+
*/
|
|
1189
|
+
'policy'?: string;
|
|
1190
|
+
/**
|
|
1191
|
+
*
|
|
1192
|
+
* @type {string}
|
|
1193
|
+
* @memberof PolicyRuleUpdateRequest
|
|
1194
|
+
*/
|
|
1195
|
+
'contract': string | null;
|
|
1196
|
+
}
|
|
1197
|
+
/**
|
|
1198
|
+
*
|
|
1199
|
+
* @export
|
|
1200
|
+
* @interface PolicyRulesResponse
|
|
1201
|
+
*/
|
|
1202
|
+
export interface PolicyRulesResponse {
|
|
1203
|
+
/**
|
|
1204
|
+
*
|
|
1205
|
+
* @type {string}
|
|
1206
|
+
* @memberof PolicyRulesResponse
|
|
1207
|
+
*/
|
|
1208
|
+
'object': string;
|
|
1209
|
+
/**
|
|
1210
|
+
*
|
|
1211
|
+
* @type {string}
|
|
1212
|
+
* @memberof PolicyRulesResponse
|
|
1213
|
+
*/
|
|
1214
|
+
'url': string;
|
|
1215
|
+
/**
|
|
1216
|
+
*
|
|
1217
|
+
* @type {Array<PolicyRuleResponse>}
|
|
1218
|
+
* @memberof PolicyRulesResponse
|
|
1219
|
+
*/
|
|
1220
|
+
'data': Array<PolicyRuleResponse>;
|
|
1221
|
+
}
|
|
1222
|
+
/**
|
|
1223
|
+
*
|
|
1224
|
+
* @export
|
|
1225
|
+
* @enum {string}
|
|
1226
|
+
*/
|
|
1227
|
+
export declare const PolicySchema: {
|
|
1228
|
+
readonly ContractFunctions: "contract_functions";
|
|
1229
|
+
readonly AccountFunctions: "account_functions";
|
|
1230
|
+
};
|
|
1231
|
+
export type PolicySchema = typeof PolicySchema[keyof typeof PolicySchema];
|
|
1232
|
+
/**
|
|
1233
|
+
*
|
|
1234
|
+
* @export
|
|
1235
|
+
* @interface PolicyUpdateRequest
|
|
1236
|
+
*/
|
|
1237
|
+
export interface PolicyUpdateRequest {
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @type {string}
|
|
1241
|
+
* @memberof PolicyUpdateRequest
|
|
1242
|
+
*/
|
|
1243
|
+
'name'?: string;
|
|
1244
|
+
/**
|
|
1245
|
+
*
|
|
1246
|
+
* @type {number}
|
|
1247
|
+
* @memberof PolicyUpdateRequest
|
|
1248
|
+
*/
|
|
1249
|
+
'chain_id'?: number;
|
|
1250
|
+
/**
|
|
1251
|
+
*
|
|
1252
|
+
* @type {Strategy}
|
|
1253
|
+
* @memberof PolicyUpdateRequest
|
|
1254
|
+
*/
|
|
1255
|
+
'strategy'?: Strategy;
|
|
1256
|
+
}
|
|
1257
|
+
/**
|
|
1258
|
+
* From https://github.com/sindresorhus/type-fest/ Matches any valid JSON value.
|
|
1259
|
+
* @export
|
|
1260
|
+
* @interface PrismaJsonValue
|
|
1261
|
+
*/
|
|
1262
|
+
export interface PrismaJsonValue {
|
|
1263
|
+
}
|
|
1264
|
+
/**
|
|
1265
|
+
*
|
|
1266
|
+
* @export
|
|
1267
|
+
* @interface ProjectLogs
|
|
1268
|
+
*/
|
|
1269
|
+
export interface ProjectLogs {
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
* @type {string}
|
|
1273
|
+
* @memberof ProjectLogs
|
|
1274
|
+
*/
|
|
1275
|
+
'object': string;
|
|
1276
|
+
/**
|
|
1277
|
+
*
|
|
1278
|
+
* @type {string}
|
|
1279
|
+
* @memberof ProjectLogs
|
|
1280
|
+
*/
|
|
1281
|
+
'url': string;
|
|
1282
|
+
/**
|
|
1283
|
+
*
|
|
1284
|
+
* @type {Array<Log>}
|
|
1285
|
+
* @memberof ProjectLogs
|
|
1286
|
+
*/
|
|
1287
|
+
'data': Array<Log>;
|
|
1288
|
+
}
|
|
1289
|
+
/**
|
|
1290
|
+
*
|
|
1291
|
+
* @export
|
|
1292
|
+
* @interface ProjectRequest
|
|
1293
|
+
*/
|
|
1294
|
+
export interface ProjectRequest {
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @type {string}
|
|
1298
|
+
* @memberof ProjectRequest
|
|
1299
|
+
*/
|
|
1300
|
+
'name': string;
|
|
1301
|
+
/**
|
|
1302
|
+
*
|
|
1303
|
+
* @type {PKPolicy}
|
|
1304
|
+
* @memberof ProjectRequest
|
|
1305
|
+
*/
|
|
1306
|
+
'pk_policy'?: PKPolicy;
|
|
1307
|
+
/**
|
|
1308
|
+
*
|
|
1309
|
+
* @type {PKLocation}
|
|
1310
|
+
* @memberof ProjectRequest
|
|
1311
|
+
*/
|
|
1312
|
+
'pk_location'?: PKLocation;
|
|
1313
|
+
}
|
|
1314
|
+
/**
|
|
1315
|
+
*
|
|
1316
|
+
* @export
|
|
1317
|
+
* @interface ProjectResponse
|
|
1318
|
+
*/
|
|
1319
|
+
export interface ProjectResponse {
|
|
1320
|
+
/**
|
|
1321
|
+
*
|
|
1322
|
+
* @type {string}
|
|
1323
|
+
* @memberof ProjectResponse
|
|
1324
|
+
*/
|
|
1325
|
+
'id': string;
|
|
1326
|
+
/**
|
|
1327
|
+
*
|
|
1328
|
+
* @type {string}
|
|
1329
|
+
* @memberof ProjectResponse
|
|
1330
|
+
*/
|
|
1331
|
+
'object': string;
|
|
1332
|
+
/**
|
|
1333
|
+
*
|
|
1334
|
+
* @type {string}
|
|
1335
|
+
* @memberof ProjectResponse
|
|
1336
|
+
*/
|
|
1337
|
+
'created_at': string;
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @type {string}
|
|
1341
|
+
* @memberof ProjectResponse
|
|
1342
|
+
*/
|
|
1343
|
+
'updated_at': string;
|
|
1344
|
+
/**
|
|
1345
|
+
*
|
|
1346
|
+
* @type {string}
|
|
1347
|
+
* @memberof ProjectResponse
|
|
1348
|
+
*/
|
|
1349
|
+
'name': string;
|
|
1350
|
+
/**
|
|
1351
|
+
*
|
|
1352
|
+
* @type {PKPolicy}
|
|
1353
|
+
* @memberof ProjectResponse
|
|
1354
|
+
*/
|
|
1355
|
+
'pk_policy': PKPolicy;
|
|
1356
|
+
/**
|
|
1357
|
+
*
|
|
1358
|
+
* @type {Array<ApiKeyResponse>}
|
|
1359
|
+
* @memberof ProjectResponse
|
|
1360
|
+
*/
|
|
1361
|
+
'apikeys'?: Array<ApiKeyResponse>;
|
|
1362
|
+
}
|
|
1363
|
+
/**
|
|
1364
|
+
*
|
|
1365
|
+
* @export
|
|
1366
|
+
* @interface ProjectsResponse
|
|
1367
|
+
*/
|
|
1368
|
+
export interface ProjectsResponse {
|
|
1369
|
+
/**
|
|
1370
|
+
*
|
|
1371
|
+
* @type {string}
|
|
1372
|
+
* @memberof ProjectsResponse
|
|
1373
|
+
*/
|
|
1374
|
+
'object': string;
|
|
1375
|
+
/**
|
|
1376
|
+
*
|
|
1377
|
+
* @type {string}
|
|
1378
|
+
* @memberof ProjectsResponse
|
|
1379
|
+
*/
|
|
1380
|
+
'url': string;
|
|
1381
|
+
/**
|
|
1382
|
+
*
|
|
1383
|
+
* @type {Array<ProjectResponse>}
|
|
1384
|
+
* @memberof ProjectsResponse
|
|
1385
|
+
*/
|
|
1386
|
+
'data': Array<ProjectResponse>;
|
|
1387
|
+
}
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @export
|
|
1391
|
+
* @interface ResponseResponse
|
|
1392
|
+
*/
|
|
1393
|
+
export interface ResponseResponse {
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof ResponseResponse
|
|
1398
|
+
*/
|
|
1399
|
+
'created_at': string;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {number}
|
|
1403
|
+
* @memberof ResponseResponse
|
|
1404
|
+
*/
|
|
1405
|
+
'block_number': number | null;
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @type {string}
|
|
1409
|
+
* @memberof ResponseResponse
|
|
1410
|
+
*/
|
|
1411
|
+
'transaction_hash': string | null;
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {number}
|
|
1415
|
+
* @memberof ResponseResponse
|
|
1416
|
+
*/
|
|
1417
|
+
'gas_used'?: number | null;
|
|
1418
|
+
/**
|
|
1419
|
+
*
|
|
1420
|
+
* @type {number}
|
|
1421
|
+
* @memberof ResponseResponse
|
|
1422
|
+
*/
|
|
1423
|
+
'status'?: number | null;
|
|
1424
|
+
/**
|
|
1425
|
+
*
|
|
1426
|
+
* @type {JsonValue}
|
|
1427
|
+
* @memberof ResponseResponse
|
|
1428
|
+
*/
|
|
1429
|
+
'logs'?: JsonValue | null;
|
|
1430
|
+
/**
|
|
1431
|
+
*
|
|
1432
|
+
* @type {string}
|
|
1433
|
+
* @memberof ResponseResponse
|
|
1434
|
+
*/
|
|
1435
|
+
'to'?: string | null;
|
|
1436
|
+
/**
|
|
1437
|
+
*
|
|
1438
|
+
* @type {JsonValue}
|
|
1439
|
+
* @memberof ResponseResponse
|
|
1440
|
+
*/
|
|
1441
|
+
'error'?: JsonValue | null;
|
|
1442
|
+
}
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @export
|
|
1446
|
+
* @interface RevokeSessionPlayerRequest
|
|
1447
|
+
*/
|
|
1448
|
+
export interface RevokeSessionPlayerRequest {
|
|
1449
|
+
/**
|
|
1450
|
+
*
|
|
1451
|
+
* @type {string}
|
|
1452
|
+
* @memberof RevokeSessionPlayerRequest
|
|
1453
|
+
*/
|
|
1454
|
+
'address': string;
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @type {string}
|
|
1458
|
+
* @memberof RevokeSessionPlayerRequest
|
|
1459
|
+
*/
|
|
1460
|
+
'policy'?: string;
|
|
1461
|
+
/**
|
|
1462
|
+
*
|
|
1463
|
+
* @type {boolean}
|
|
1464
|
+
* @memberof RevokeSessionPlayerRequest
|
|
1465
|
+
*/
|
|
1466
|
+
'optimistic'?: boolean;
|
|
1467
|
+
/**
|
|
1468
|
+
*
|
|
1469
|
+
* @type {number}
|
|
1470
|
+
* @memberof RevokeSessionPlayerRequest
|
|
1471
|
+
*/
|
|
1472
|
+
'chain_id': number;
|
|
1473
|
+
}
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @export
|
|
1477
|
+
* @interface RevokeSessionRequest
|
|
1478
|
+
*/
|
|
1479
|
+
export interface RevokeSessionRequest {
|
|
1480
|
+
/**
|
|
1481
|
+
*
|
|
1482
|
+
* @type {string}
|
|
1483
|
+
* @memberof RevokeSessionRequest
|
|
1484
|
+
*/
|
|
1485
|
+
'player': string;
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @type {number}
|
|
1489
|
+
* @memberof RevokeSessionRequest
|
|
1490
|
+
*/
|
|
1491
|
+
'chain_id': number;
|
|
1492
|
+
/**
|
|
1493
|
+
*
|
|
1494
|
+
* @type {boolean}
|
|
1495
|
+
* @memberof RevokeSessionRequest
|
|
1496
|
+
*/
|
|
1497
|
+
'optimistic'?: boolean;
|
|
1498
|
+
/**
|
|
1499
|
+
*
|
|
1500
|
+
* @type {string}
|
|
1501
|
+
* @memberof RevokeSessionRequest
|
|
1502
|
+
*/
|
|
1503
|
+
'address': string;
|
|
1504
|
+
/**
|
|
1505
|
+
*
|
|
1506
|
+
* @type {string}
|
|
1507
|
+
* @memberof RevokeSessionRequest
|
|
1508
|
+
*/
|
|
1509
|
+
'policy'?: string;
|
|
1510
|
+
}
|
|
1511
|
+
/**
|
|
1512
|
+
*
|
|
1513
|
+
* @export
|
|
1514
|
+
* @interface SessionResponse
|
|
1515
|
+
*/
|
|
1516
|
+
export interface SessionResponse {
|
|
1517
|
+
/**
|
|
1518
|
+
*
|
|
1519
|
+
* @type {string}
|
|
1520
|
+
* @memberof SessionResponse
|
|
1521
|
+
*/
|
|
1522
|
+
'id': string;
|
|
1523
|
+
/**
|
|
1524
|
+
*
|
|
1525
|
+
* @type {string}
|
|
1526
|
+
* @memberof SessionResponse
|
|
1527
|
+
*/
|
|
1528
|
+
'object': string;
|
|
1529
|
+
/**
|
|
1530
|
+
*
|
|
1531
|
+
* @type {string}
|
|
1532
|
+
* @memberof SessionResponse
|
|
1533
|
+
*/
|
|
1534
|
+
'created_at': string;
|
|
1535
|
+
/**
|
|
1536
|
+
*
|
|
1537
|
+
* @type {string}
|
|
1538
|
+
* @memberof SessionResponse
|
|
1539
|
+
*/
|
|
1540
|
+
'updated_at': string;
|
|
1541
|
+
/**
|
|
1542
|
+
*
|
|
1543
|
+
* @type {boolean}
|
|
1544
|
+
* @memberof SessionResponse
|
|
1545
|
+
*/
|
|
1546
|
+
'is_active'?: boolean;
|
|
1547
|
+
/**
|
|
1548
|
+
*
|
|
1549
|
+
* @type {string}
|
|
1550
|
+
* @memberof SessionResponse
|
|
1551
|
+
*/
|
|
1552
|
+
'address': string;
|
|
1553
|
+
/**
|
|
1554
|
+
*
|
|
1555
|
+
* @type {string}
|
|
1556
|
+
* @memberof SessionResponse
|
|
1557
|
+
*/
|
|
1558
|
+
'valid_after'?: string;
|
|
1559
|
+
/**
|
|
1560
|
+
*
|
|
1561
|
+
* @type {string}
|
|
1562
|
+
* @memberof SessionResponse
|
|
1563
|
+
*/
|
|
1564
|
+
'valid_until'?: string;
|
|
1565
|
+
/**
|
|
1566
|
+
*
|
|
1567
|
+
* @type {Array<string>}
|
|
1568
|
+
* @memberof SessionResponse
|
|
1569
|
+
*/
|
|
1570
|
+
'whitelist'?: Array<string>;
|
|
1571
|
+
/**
|
|
1572
|
+
*
|
|
1573
|
+
* @type {number}
|
|
1574
|
+
* @memberof SessionResponse
|
|
1575
|
+
*/
|
|
1576
|
+
'limit'?: number;
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @type {object}
|
|
1580
|
+
* @memberof SessionResponse
|
|
1581
|
+
*/
|
|
1582
|
+
'next_action': object | null;
|
|
1583
|
+
/**
|
|
1584
|
+
*
|
|
1585
|
+
* @type {SessionResponseTransactionIntents}
|
|
1586
|
+
* @memberof SessionResponse
|
|
1587
|
+
*/
|
|
1588
|
+
'transaction_intents': SessionResponseTransactionIntents | null;
|
|
1589
|
+
}
|
|
1590
|
+
/**
|
|
1591
|
+
*
|
|
1592
|
+
* @export
|
|
1593
|
+
* @interface SessionResponseTransactionIntents
|
|
1594
|
+
*/
|
|
1595
|
+
export interface SessionResponseTransactionIntents {
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
*
|
|
1599
|
+
* @export
|
|
1600
|
+
* @interface SessionsResponse
|
|
1601
|
+
*/
|
|
1602
|
+
export interface SessionsResponse {
|
|
1603
|
+
/**
|
|
1604
|
+
*
|
|
1605
|
+
* @type {string}
|
|
1606
|
+
* @memberof SessionsResponse
|
|
1607
|
+
*/
|
|
1608
|
+
'object': string;
|
|
1609
|
+
/**
|
|
1610
|
+
*
|
|
1611
|
+
* @type {string}
|
|
1612
|
+
* @memberof SessionsResponse
|
|
1613
|
+
*/
|
|
1614
|
+
'url': string;
|
|
1615
|
+
/**
|
|
1616
|
+
*
|
|
1617
|
+
* @type {Array<SessionResponse>}
|
|
1618
|
+
* @memberof SessionsResponse
|
|
1619
|
+
*/
|
|
1620
|
+
'data': Array<SessionResponse>;
|
|
1621
|
+
}
|
|
1622
|
+
/**
|
|
1623
|
+
*
|
|
1624
|
+
* @export
|
|
1625
|
+
* @interface SignPayloadRequest
|
|
1626
|
+
*/
|
|
1627
|
+
export interface SignPayloadRequest {
|
|
1628
|
+
/**
|
|
1629
|
+
* Payload to sign
|
|
1630
|
+
* @type {string}
|
|
1631
|
+
* @memberof SignPayloadRequest
|
|
1632
|
+
*/
|
|
1633
|
+
'payload': string;
|
|
1634
|
+
}
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @export
|
|
1638
|
+
* @interface SignPayloadResponse
|
|
1639
|
+
*/
|
|
1640
|
+
export interface SignPayloadResponse {
|
|
1641
|
+
/**
|
|
1642
|
+
*
|
|
1643
|
+
* @type {string}
|
|
1644
|
+
* @memberof SignPayloadResponse
|
|
1645
|
+
*/
|
|
1646
|
+
'object': string;
|
|
1647
|
+
/**
|
|
1648
|
+
*
|
|
1649
|
+
* @type {string}
|
|
1650
|
+
* @memberof SignPayloadResponse
|
|
1651
|
+
*/
|
|
1652
|
+
'account': string;
|
|
1653
|
+
/**
|
|
1654
|
+
*
|
|
1655
|
+
* @type {string}
|
|
1656
|
+
* @memberof SignPayloadResponse
|
|
1657
|
+
*/
|
|
1658
|
+
'address': string;
|
|
1659
|
+
/**
|
|
1660
|
+
*
|
|
1661
|
+
* @type {string}
|
|
1662
|
+
* @memberof SignPayloadResponse
|
|
1663
|
+
*/
|
|
1664
|
+
'payload': string;
|
|
1665
|
+
/**
|
|
1666
|
+
*
|
|
1667
|
+
* @type {string}
|
|
1668
|
+
* @memberof SignPayloadResponse
|
|
1669
|
+
*/
|
|
1670
|
+
'signature': string;
|
|
1671
|
+
}
|
|
1672
|
+
/**
|
|
1673
|
+
*
|
|
1674
|
+
* @export
|
|
1675
|
+
* @interface SignatureRequest
|
|
1676
|
+
*/
|
|
1677
|
+
export interface SignatureRequest {
|
|
1678
|
+
/**
|
|
1679
|
+
*
|
|
1680
|
+
* @type {string}
|
|
1681
|
+
* @memberof SignatureRequest
|
|
1682
|
+
*/
|
|
1683
|
+
'signature': string;
|
|
1684
|
+
/**
|
|
1685
|
+
*
|
|
1686
|
+
* @type {boolean}
|
|
1687
|
+
* @memberof SignatureRequest
|
|
1688
|
+
*/
|
|
1689
|
+
'optimistic'?: boolean;
|
|
1690
|
+
}
|
|
1691
|
+
/**
|
|
1692
|
+
*
|
|
1693
|
+
* @export
|
|
1694
|
+
* @enum {string}
|
|
1695
|
+
*/
|
|
1696
|
+
export declare const SortOrder: {
|
|
1697
|
+
readonly Asc: "asc";
|
|
1698
|
+
readonly Desc: "desc";
|
|
1699
|
+
};
|
|
1700
|
+
export type SortOrder = typeof SortOrder[keyof typeof SortOrder];
|
|
1701
|
+
/**
|
|
1702
|
+
*
|
|
1703
|
+
* @export
|
|
1704
|
+
* @interface Strategy
|
|
1705
|
+
*/
|
|
1706
|
+
export interface Strategy {
|
|
1707
|
+
/**
|
|
1708
|
+
*
|
|
1709
|
+
* @type {string}
|
|
1710
|
+
* @memberof Strategy
|
|
1711
|
+
*/
|
|
1712
|
+
'sponsor_schema': string;
|
|
1713
|
+
/**
|
|
1714
|
+
*
|
|
1715
|
+
* @type {string}
|
|
1716
|
+
* @memberof Strategy
|
|
1717
|
+
*/
|
|
1718
|
+
'token_contract': string | null;
|
|
1719
|
+
/**
|
|
1720
|
+
*
|
|
1721
|
+
* @type {string}
|
|
1722
|
+
* @memberof Strategy
|
|
1723
|
+
*/
|
|
1724
|
+
'token_contract_amount': string | null;
|
|
1725
|
+
}
|
|
1726
|
+
/**
|
|
1727
|
+
*
|
|
1728
|
+
* @export
|
|
1729
|
+
* @interface SumGas
|
|
1730
|
+
*/
|
|
1731
|
+
export interface SumGas {
|
|
1732
|
+
/**
|
|
1733
|
+
*
|
|
1734
|
+
* @type {string}
|
|
1735
|
+
* @memberof SumGas
|
|
1736
|
+
*/
|
|
1737
|
+
'object': string;
|
|
1738
|
+
/**
|
|
1739
|
+
*
|
|
1740
|
+
* @type {string}
|
|
1741
|
+
* @memberof SumGas
|
|
1742
|
+
*/
|
|
1743
|
+
'url': string;
|
|
1744
|
+
/**
|
|
1745
|
+
*
|
|
1746
|
+
* @type {number}
|
|
1747
|
+
* @memberof SumGas
|
|
1748
|
+
*/
|
|
1749
|
+
'sumGas': number;
|
|
1750
|
+
}
|
|
1751
|
+
/**
|
|
1752
|
+
*
|
|
1753
|
+
* @export
|
|
1754
|
+
* @interface TransactionIntentRequest
|
|
1755
|
+
*/
|
|
1756
|
+
export interface TransactionIntentRequest {
|
|
1757
|
+
/**
|
|
1758
|
+
*
|
|
1759
|
+
* @type {string}
|
|
1760
|
+
* @memberof TransactionIntentRequest
|
|
1761
|
+
*/
|
|
1762
|
+
'player': string;
|
|
1763
|
+
/**
|
|
1764
|
+
*
|
|
1765
|
+
* @type {number}
|
|
1766
|
+
* @memberof TransactionIntentRequest
|
|
1767
|
+
*/
|
|
1768
|
+
'chain_id': number;
|
|
1769
|
+
/**
|
|
1770
|
+
*
|
|
1771
|
+
* @type {string}
|
|
1772
|
+
* @memberof TransactionIntentRequest
|
|
1773
|
+
*/
|
|
1774
|
+
'policy'?: string;
|
|
1775
|
+
/**
|
|
1776
|
+
*
|
|
1777
|
+
* @type {string}
|
|
1778
|
+
* @memberof TransactionIntentRequest
|
|
1779
|
+
*/
|
|
1780
|
+
'external_owner_address'?: string;
|
|
1781
|
+
/**
|
|
1782
|
+
*
|
|
1783
|
+
* @type {boolean}
|
|
1784
|
+
* @memberof TransactionIntentRequest
|
|
1785
|
+
*/
|
|
1786
|
+
'optimistic': boolean;
|
|
1787
|
+
/**
|
|
1788
|
+
*
|
|
1789
|
+
* @type {Array<Interaction>}
|
|
1790
|
+
* @memberof TransactionIntentRequest
|
|
1791
|
+
*/
|
|
1792
|
+
'interactions': Array<Interaction>;
|
|
1793
|
+
}
|
|
1794
|
+
/**
|
|
1795
|
+
*
|
|
1796
|
+
* @export
|
|
1797
|
+
* @interface TransactionIntentResponse
|
|
1798
|
+
*/
|
|
1799
|
+
export interface TransactionIntentResponse {
|
|
1800
|
+
/**
|
|
1801
|
+
*
|
|
1802
|
+
* @type {string}
|
|
1803
|
+
* @memberof TransactionIntentResponse
|
|
1804
|
+
*/
|
|
1805
|
+
'id': string;
|
|
1806
|
+
/**
|
|
1807
|
+
*
|
|
1808
|
+
* @type {string}
|
|
1809
|
+
* @memberof TransactionIntentResponse
|
|
1810
|
+
*/
|
|
1811
|
+
'object': string;
|
|
1812
|
+
/**
|
|
1813
|
+
*
|
|
1814
|
+
* @type {string}
|
|
1815
|
+
* @memberof TransactionIntentResponse
|
|
1816
|
+
*/
|
|
1817
|
+
'created_at': string;
|
|
1818
|
+
/**
|
|
1819
|
+
*
|
|
1820
|
+
* @type {string}
|
|
1821
|
+
* @memberof TransactionIntentResponse
|
|
1822
|
+
*/
|
|
1823
|
+
'updated_at': string;
|
|
1824
|
+
/**
|
|
1825
|
+
*
|
|
1826
|
+
* @type {number}
|
|
1827
|
+
* @memberof TransactionIntentResponse
|
|
1828
|
+
*/
|
|
1829
|
+
'chain_id': number;
|
|
1830
|
+
/**
|
|
1831
|
+
*
|
|
1832
|
+
* @type {string}
|
|
1833
|
+
* @memberof TransactionIntentResponse
|
|
1834
|
+
*/
|
|
1835
|
+
'user_operation_hash': string | null;
|
|
1836
|
+
/**
|
|
1837
|
+
*
|
|
1838
|
+
* @type {JsonValue}
|
|
1839
|
+
* @memberof TransactionIntentResponse
|
|
1840
|
+
*/
|
|
1841
|
+
'user_operation'?: JsonValue | null;
|
|
1842
|
+
/**
|
|
1843
|
+
*
|
|
1844
|
+
* @type {TransactionIntentResponsePolicy}
|
|
1845
|
+
* @memberof TransactionIntentResponse
|
|
1846
|
+
*/
|
|
1847
|
+
'policy': TransactionIntentResponsePolicy | null;
|
|
1848
|
+
/**
|
|
1849
|
+
*
|
|
1850
|
+
* @type {TransactionIntentResponsePlayer}
|
|
1851
|
+
* @memberof TransactionIntentResponse
|
|
1852
|
+
*/
|
|
1853
|
+
'player'?: TransactionIntentResponsePlayer;
|
|
1854
|
+
/**
|
|
1855
|
+
*
|
|
1856
|
+
* @type {object}
|
|
1857
|
+
* @memberof TransactionIntentResponse
|
|
1858
|
+
*/
|
|
1859
|
+
'next_action'?: object | null;
|
|
1860
|
+
/**
|
|
1861
|
+
*
|
|
1862
|
+
* @type {TransactionIntentResponseAccount}
|
|
1863
|
+
* @memberof TransactionIntentResponse
|
|
1864
|
+
*/
|
|
1865
|
+
'account'?: TransactionIntentResponseAccount;
|
|
1866
|
+
/**
|
|
1867
|
+
*
|
|
1868
|
+
* @type {Array<InteractionResponse>}
|
|
1869
|
+
* @memberof TransactionIntentResponse
|
|
1870
|
+
*/
|
|
1871
|
+
'interactions': Array<InteractionResponse> | null;
|
|
1872
|
+
/**
|
|
1873
|
+
*
|
|
1874
|
+
* @type {ResponseResponse}
|
|
1875
|
+
* @memberof TransactionIntentResponse
|
|
1876
|
+
*/
|
|
1877
|
+
'response': ResponseResponse | null;
|
|
1878
|
+
}
|
|
1879
|
+
/**
|
|
1880
|
+
*
|
|
1881
|
+
* @export
|
|
1882
|
+
* @interface TransactionIntentResponseAccount
|
|
1883
|
+
*/
|
|
1884
|
+
export interface TransactionIntentResponseAccount {
|
|
1885
|
+
/**
|
|
1886
|
+
*
|
|
1887
|
+
* @type {string}
|
|
1888
|
+
* @memberof TransactionIntentResponseAccount
|
|
1889
|
+
*/
|
|
1890
|
+
'id': string;
|
|
1891
|
+
/**
|
|
1892
|
+
*
|
|
1893
|
+
* @type {string}
|
|
1894
|
+
* @memberof TransactionIntentResponseAccount
|
|
1895
|
+
*/
|
|
1896
|
+
'object': string;
|
|
1897
|
+
/**
|
|
1898
|
+
*
|
|
1899
|
+
* @type {string}
|
|
1900
|
+
* @memberof TransactionIntentResponseAccount
|
|
1901
|
+
*/
|
|
1902
|
+
'created_at': string;
|
|
1903
|
+
/**
|
|
1904
|
+
*
|
|
1905
|
+
* @type {string}
|
|
1906
|
+
* @memberof TransactionIntentResponseAccount
|
|
1907
|
+
*/
|
|
1908
|
+
'address': string;
|
|
1909
|
+
/**
|
|
1910
|
+
*
|
|
1911
|
+
* @type {boolean}
|
|
1912
|
+
* @memberof TransactionIntentResponseAccount
|
|
1913
|
+
*/
|
|
1914
|
+
'deployed': boolean;
|
|
1915
|
+
/**
|
|
1916
|
+
*
|
|
1917
|
+
* @type {boolean}
|
|
1918
|
+
* @memberof TransactionIntentResponseAccount
|
|
1919
|
+
*/
|
|
1920
|
+
'custodial': boolean;
|
|
1921
|
+
/**
|
|
1922
|
+
*
|
|
1923
|
+
* @type {number}
|
|
1924
|
+
* @memberof TransactionIntentResponseAccount
|
|
1925
|
+
*/
|
|
1926
|
+
'chain_id': number;
|
|
1927
|
+
/**
|
|
1928
|
+
*
|
|
1929
|
+
* @type {PolicyResponseTransactionIntents}
|
|
1930
|
+
* @memberof TransactionIntentResponseAccount
|
|
1931
|
+
*/
|
|
1932
|
+
'transaction_intents'?: PolicyResponseTransactionIntents;
|
|
1933
|
+
}
|
|
1934
|
+
/**
|
|
1935
|
+
*
|
|
1936
|
+
* @export
|
|
1937
|
+
* @interface TransactionIntentResponsePlayer
|
|
1938
|
+
*/
|
|
1939
|
+
export interface TransactionIntentResponsePlayer {
|
|
1940
|
+
/**
|
|
1941
|
+
*
|
|
1942
|
+
* @type {string}
|
|
1943
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1944
|
+
*/
|
|
1945
|
+
'id': string;
|
|
1946
|
+
/**
|
|
1947
|
+
*
|
|
1948
|
+
* @type {string}
|
|
1949
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1950
|
+
*/
|
|
1951
|
+
'object': string;
|
|
1952
|
+
/**
|
|
1953
|
+
*
|
|
1954
|
+
* @type {string}
|
|
1955
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1956
|
+
*/
|
|
1957
|
+
'created_at': string;
|
|
1958
|
+
/**
|
|
1959
|
+
*
|
|
1960
|
+
* @type {string}
|
|
1961
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1962
|
+
*/
|
|
1963
|
+
'name': string | null;
|
|
1964
|
+
/**
|
|
1965
|
+
*
|
|
1966
|
+
* @type {string}
|
|
1967
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1968
|
+
*/
|
|
1969
|
+
'email': string | null;
|
|
1970
|
+
/**
|
|
1971
|
+
*
|
|
1972
|
+
* @type {string}
|
|
1973
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1974
|
+
*/
|
|
1975
|
+
'description': string | null;
|
|
1976
|
+
/**
|
|
1977
|
+
*
|
|
1978
|
+
* @type {string}
|
|
1979
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1980
|
+
*/
|
|
1981
|
+
'metadata': string;
|
|
1982
|
+
/**
|
|
1983
|
+
*
|
|
1984
|
+
* @type {PolicyResponseTransactionIntents}
|
|
1985
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1986
|
+
*/
|
|
1987
|
+
'transaction_intents'?: PolicyResponseTransactionIntents;
|
|
1988
|
+
/**
|
|
1989
|
+
*
|
|
1990
|
+
* @type {PlayerResponseAccounts}
|
|
1991
|
+
* @memberof TransactionIntentResponsePlayer
|
|
1992
|
+
*/
|
|
1993
|
+
'accounts'?: PlayerResponseAccounts;
|
|
1994
|
+
}
|
|
1995
|
+
/**
|
|
1996
|
+
*
|
|
1997
|
+
* @export
|
|
1998
|
+
* @interface TransactionIntentResponsePolicy
|
|
1999
|
+
*/
|
|
2000
|
+
export interface TransactionIntentResponsePolicy {
|
|
2001
|
+
/**
|
|
2002
|
+
*
|
|
2003
|
+
* @type {string}
|
|
2004
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2005
|
+
*/
|
|
2006
|
+
'id': string;
|
|
2007
|
+
/**
|
|
2008
|
+
*
|
|
2009
|
+
* @type {string}
|
|
2010
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2011
|
+
*/
|
|
2012
|
+
'object': string;
|
|
2013
|
+
/**
|
|
2014
|
+
*
|
|
2015
|
+
* @type {string}
|
|
2016
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2017
|
+
*/
|
|
2018
|
+
'created_at': string;
|
|
2019
|
+
/**
|
|
2020
|
+
*
|
|
2021
|
+
* @type {string}
|
|
2022
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2023
|
+
*/
|
|
2024
|
+
'name': string | null;
|
|
2025
|
+
/**
|
|
2026
|
+
*
|
|
2027
|
+
* @type {number}
|
|
2028
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2029
|
+
*/
|
|
2030
|
+
'chain_id': number;
|
|
2031
|
+
/**
|
|
2032
|
+
*
|
|
2033
|
+
* @type {any}
|
|
2034
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2035
|
+
*/
|
|
2036
|
+
'strategy': any;
|
|
2037
|
+
/**
|
|
2038
|
+
*
|
|
2039
|
+
* @type {PolicyResponseTransactionIntents}
|
|
2040
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2041
|
+
*/
|
|
2042
|
+
'transaction_intents'?: PolicyResponseTransactionIntents;
|
|
2043
|
+
/**
|
|
2044
|
+
*
|
|
2045
|
+
* @type {PolicyResponsePolicyRules}
|
|
2046
|
+
* @memberof TransactionIntentResponsePolicy
|
|
2047
|
+
*/
|
|
2048
|
+
'policy_rules'?: PolicyResponsePolicyRules;
|
|
2049
|
+
}
|
|
2050
|
+
/**
|
|
2051
|
+
*
|
|
2052
|
+
* @export
|
|
2053
|
+
* @interface TransactionIntentsResponse
|
|
2054
|
+
*/
|
|
2055
|
+
export interface TransactionIntentsResponse {
|
|
2056
|
+
/**
|
|
2057
|
+
*
|
|
2058
|
+
* @type {string}
|
|
2059
|
+
* @memberof TransactionIntentsResponse
|
|
2060
|
+
*/
|
|
2061
|
+
'object': string;
|
|
2062
|
+
/**
|
|
2063
|
+
*
|
|
2064
|
+
* @type {string}
|
|
2065
|
+
* @memberof TransactionIntentsResponse
|
|
2066
|
+
*/
|
|
2067
|
+
'url': string;
|
|
2068
|
+
/**
|
|
2069
|
+
*
|
|
2070
|
+
* @type {Array<TransactionIntentResponse>}
|
|
2071
|
+
* @memberof TransactionIntentsResponse
|
|
2072
|
+
*/
|
|
2073
|
+
'data': Array<TransactionIntentResponse>;
|
|
2074
|
+
}
|
|
2075
|
+
/**
|
|
2076
|
+
*
|
|
2077
|
+
* @export
|
|
2078
|
+
* @interface TransferOwnershipRequest
|
|
2079
|
+
*/
|
|
2080
|
+
export interface TransferOwnershipRequest {
|
|
2081
|
+
/**
|
|
2082
|
+
* The address of the new owner
|
|
2083
|
+
* @type {string}
|
|
2084
|
+
* @memberof TransferOwnershipRequest
|
|
2085
|
+
*/
|
|
2086
|
+
'new_owner_address': string;
|
|
2087
|
+
/**
|
|
2088
|
+
* The policy ID
|
|
2089
|
+
* @type {string}
|
|
2090
|
+
* @memberof TransferOwnershipRequest
|
|
2091
|
+
*/
|
|
2092
|
+
'policy': string;
|
|
2093
|
+
}
|
|
2094
|
+
/**
|
|
2095
|
+
* AccountsApi - axios parameter creator
|
|
2096
|
+
* @export
|
|
2097
|
+
*/
|
|
2098
|
+
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2099
|
+
/**
|
|
2100
|
+
* Creates an account object.
|
|
2101
|
+
* @param {AccountRequest} accountRequest
|
|
2102
|
+
* @param {*} [options] Override http request option.
|
|
2103
|
+
* @throws {RequiredError}
|
|
2104
|
+
*/
|
|
2105
|
+
createAccount: (accountRequest: AccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2106
|
+
/**
|
|
2107
|
+
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2108
|
+
* @param {string} id Specifies the unique account ID.
|
|
2109
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2110
|
+
* @param {*} [options] Override http request option.
|
|
2111
|
+
* @throws {RequiredError}
|
|
2112
|
+
*/
|
|
2113
|
+
getAccount: (id: string, expand?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2114
|
+
/**
|
|
2115
|
+
* Retrieves the inventory of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2116
|
+
* @param {string} id Specifies the unique account ID.
|
|
2117
|
+
* @param {*} [options] Override http request option.
|
|
2118
|
+
* @throws {RequiredError}
|
|
2119
|
+
*/
|
|
2120
|
+
getAccountInventory: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2121
|
+
/**
|
|
2122
|
+
* Returns a list of accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2123
|
+
* @param {string} player Specifies the unique player ID.
|
|
2124
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2125
|
+
* @param {number} [limit] amount of results per query
|
|
2126
|
+
* @param {*} [options] Override http request option.
|
|
2127
|
+
* @throws {RequiredError}
|
|
2128
|
+
*/
|
|
2129
|
+
getAccounts: (player: string, expand?: Array<string>, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2130
|
+
/**
|
|
2131
|
+
* Sign a given payload
|
|
2132
|
+
* @param {string} id Specifies the unique account ID.
|
|
2133
|
+
* @param {SignPayloadRequest} signPayloadRequest
|
|
2134
|
+
* @param {*} [options] Override http request option.
|
|
2135
|
+
* @throws {RequiredError}
|
|
2136
|
+
*/
|
|
2137
|
+
signPayload: (id: string, signPayloadRequest: SignPayloadRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2138
|
+
/**
|
|
2139
|
+
* Request the ownership transfer of an account to a given address.
|
|
2140
|
+
* @param {string} id Specifies the unique account ID.
|
|
2141
|
+
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
2142
|
+
* @param {*} [options] Override http request option.
|
|
2143
|
+
* @throws {RequiredError}
|
|
2144
|
+
*/
|
|
2145
|
+
transferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2146
|
+
};
|
|
2147
|
+
/**
|
|
2148
|
+
* AccountsApi - functional programming interface
|
|
2149
|
+
* @export
|
|
2150
|
+
*/
|
|
2151
|
+
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
2152
|
+
/**
|
|
2153
|
+
* Creates an account object.
|
|
2154
|
+
* @param {AccountRequest} accountRequest
|
|
2155
|
+
* @param {*} [options] Override http request option.
|
|
2156
|
+
* @throws {RequiredError}
|
|
2157
|
+
*/
|
|
2158
|
+
createAccount(accountRequest: AccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
2159
|
+
/**
|
|
2160
|
+
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2161
|
+
* @param {string} id Specifies the unique account ID.
|
|
2162
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2163
|
+
* @param {*} [options] Override http request option.
|
|
2164
|
+
* @throws {RequiredError}
|
|
2165
|
+
*/
|
|
2166
|
+
getAccount(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
2167
|
+
/**
|
|
2168
|
+
* Retrieves the inventory of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2169
|
+
* @param {string} id Specifies the unique account ID.
|
|
2170
|
+
* @param {*} [options] Override http request option.
|
|
2171
|
+
* @throws {RequiredError}
|
|
2172
|
+
*/
|
|
2173
|
+
getAccountInventory(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InventoryResponse>>;
|
|
2174
|
+
/**
|
|
2175
|
+
* Returns a list of accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2176
|
+
* @param {string} player Specifies the unique player ID.
|
|
2177
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2178
|
+
* @param {number} [limit] amount of results per query
|
|
2179
|
+
* @param {*} [options] Override http request option.
|
|
2180
|
+
* @throws {RequiredError}
|
|
2181
|
+
*/
|
|
2182
|
+
getAccounts(player: string, expand?: Array<string>, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountsResponse>>;
|
|
2183
|
+
/**
|
|
2184
|
+
* Sign a given payload
|
|
2185
|
+
* @param {string} id Specifies the unique account ID.
|
|
2186
|
+
* @param {SignPayloadRequest} signPayloadRequest
|
|
2187
|
+
* @param {*} [options] Override http request option.
|
|
2188
|
+
* @throws {RequiredError}
|
|
2189
|
+
*/
|
|
2190
|
+
signPayload(id: string, signPayloadRequest: SignPayloadRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SignPayloadResponse>>;
|
|
2191
|
+
/**
|
|
2192
|
+
* Request the ownership transfer of an account to a given address.
|
|
2193
|
+
* @param {string} id Specifies the unique account ID.
|
|
2194
|
+
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
2195
|
+
* @param {*} [options] Override http request option.
|
|
2196
|
+
* @throws {RequiredError}
|
|
2197
|
+
*/
|
|
2198
|
+
transferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
2199
|
+
};
|
|
2200
|
+
/**
|
|
2201
|
+
* AccountsApi - factory interface
|
|
2202
|
+
* @export
|
|
2203
|
+
*/
|
|
2204
|
+
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2205
|
+
/**
|
|
2206
|
+
* Creates an account object.
|
|
2207
|
+
* @param {AccountRequest} accountRequest
|
|
2208
|
+
* @param {*} [options] Override http request option.
|
|
2209
|
+
* @throws {RequiredError}
|
|
2210
|
+
*/
|
|
2211
|
+
createAccount(accountRequest: AccountRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
2212
|
+
/**
|
|
2213
|
+
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2214
|
+
* @param {string} id Specifies the unique account ID.
|
|
2215
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2216
|
+
* @param {*} [options] Override http request option.
|
|
2217
|
+
* @throws {RequiredError}
|
|
2218
|
+
*/
|
|
2219
|
+
getAccount(id: string, expand?: Array<string>, options?: any): AxiosPromise<AccountResponse>;
|
|
2220
|
+
/**
|
|
2221
|
+
* Retrieves the inventory of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2222
|
+
* @param {string} id Specifies the unique account ID.
|
|
2223
|
+
* @param {*} [options] Override http request option.
|
|
2224
|
+
* @throws {RequiredError}
|
|
2225
|
+
*/
|
|
2226
|
+
getAccountInventory(id: string, options?: any): AxiosPromise<InventoryResponse>;
|
|
2227
|
+
/**
|
|
2228
|
+
* Returns a list of accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2229
|
+
* @param {string} player Specifies the unique player ID.
|
|
2230
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2231
|
+
* @param {number} [limit] amount of results per query
|
|
2232
|
+
* @param {*} [options] Override http request option.
|
|
2233
|
+
* @throws {RequiredError}
|
|
2234
|
+
*/
|
|
2235
|
+
getAccounts(player: string, expand?: Array<string>, limit?: number, options?: any): AxiosPromise<AccountsResponse>;
|
|
2236
|
+
/**
|
|
2237
|
+
* Sign a given payload
|
|
2238
|
+
* @param {string} id Specifies the unique account ID.
|
|
2239
|
+
* @param {SignPayloadRequest} signPayloadRequest
|
|
2240
|
+
* @param {*} [options] Override http request option.
|
|
2241
|
+
* @throws {RequiredError}
|
|
2242
|
+
*/
|
|
2243
|
+
signPayload(id: string, signPayloadRequest: SignPayloadRequest, options?: any): AxiosPromise<SignPayloadResponse>;
|
|
2244
|
+
/**
|
|
2245
|
+
* Request the ownership transfer of an account to a given address.
|
|
2246
|
+
* @param {string} id Specifies the unique account ID.
|
|
2247
|
+
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
2248
|
+
* @param {*} [options] Override http request option.
|
|
2249
|
+
* @throws {RequiredError}
|
|
2250
|
+
*/
|
|
2251
|
+
transferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
2252
|
+
};
|
|
2253
|
+
/**
|
|
2254
|
+
* AccountsApi - object-oriented interface
|
|
2255
|
+
* @export
|
|
2256
|
+
* @class AccountsApi
|
|
2257
|
+
* @extends {BaseAPI}
|
|
2258
|
+
*/
|
|
2259
|
+
export declare class AccountsApi extends BaseAPI {
|
|
2260
|
+
/**
|
|
2261
|
+
* Creates an account object.
|
|
2262
|
+
* @param {AccountRequest} accountRequest
|
|
2263
|
+
* @param {*} [options] Override http request option.
|
|
2264
|
+
* @throws {RequiredError}
|
|
2265
|
+
* @memberof AccountsApi
|
|
2266
|
+
*/
|
|
2267
|
+
createAccount(accountRequest: AccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
2268
|
+
/**
|
|
2269
|
+
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2270
|
+
* @param {string} id Specifies the unique account ID.
|
|
2271
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2272
|
+
* @param {*} [options] Override http request option.
|
|
2273
|
+
* @throws {RequiredError}
|
|
2274
|
+
* @memberof AccountsApi
|
|
2275
|
+
*/
|
|
2276
|
+
getAccount(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
2277
|
+
/**
|
|
2278
|
+
* Retrieves the inventory of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
2279
|
+
* @param {string} id Specifies the unique account ID.
|
|
2280
|
+
* @param {*} [options] Override http request option.
|
|
2281
|
+
* @throws {RequiredError}
|
|
2282
|
+
* @memberof AccountsApi
|
|
2283
|
+
*/
|
|
2284
|
+
getAccountInventory(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InventoryResponse, any>>;
|
|
2285
|
+
/**
|
|
2286
|
+
* Returns a list of accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2287
|
+
* @param {string} player Specifies the unique player ID.
|
|
2288
|
+
* @param {Array<string>} [expand] whether to expand the response or not
|
|
2289
|
+
* @param {number} [limit] amount of results per query
|
|
2290
|
+
* @param {*} [options] Override http request option.
|
|
2291
|
+
* @throws {RequiredError}
|
|
2292
|
+
* @memberof AccountsApi
|
|
2293
|
+
*/
|
|
2294
|
+
getAccounts(player: string, expand?: Array<string>, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountsResponse, any>>;
|
|
2295
|
+
/**
|
|
2296
|
+
* Sign a given payload
|
|
2297
|
+
* @param {string} id Specifies the unique account ID.
|
|
2298
|
+
* @param {SignPayloadRequest} signPayloadRequest
|
|
2299
|
+
* @param {*} [options] Override http request option.
|
|
2300
|
+
* @throws {RequiredError}
|
|
2301
|
+
* @memberof AccountsApi
|
|
2302
|
+
*/
|
|
2303
|
+
signPayload(id: string, signPayloadRequest: SignPayloadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SignPayloadResponse, any>>;
|
|
2304
|
+
/**
|
|
2305
|
+
* Request the ownership transfer of an account to a given address.
|
|
2306
|
+
* @param {string} id Specifies the unique account ID.
|
|
2307
|
+
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
2308
|
+
* @param {*} [options] Override http request option.
|
|
2309
|
+
* @throws {RequiredError}
|
|
2310
|
+
* @memberof AccountsApi
|
|
2311
|
+
*/
|
|
2312
|
+
transferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
2313
|
+
}
|
|
2314
|
+
/**
|
|
2315
|
+
* ContractsApi - axios parameter creator
|
|
2316
|
+
* @export
|
|
2317
|
+
*/
|
|
2318
|
+
export declare const ContractsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2319
|
+
/**
|
|
2320
|
+
* Creates a contract object.
|
|
2321
|
+
* @param {ContractRequest} contractRequest
|
|
2322
|
+
* @param {*} [options] Override http request option.
|
|
2323
|
+
* @throws {RequiredError}
|
|
2324
|
+
*/
|
|
2325
|
+
createContract: (contractRequest: ContractRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2326
|
+
/**
|
|
2327
|
+
* Deletes a contract object.
|
|
2328
|
+
* @param {string} id
|
|
2329
|
+
* @param {*} [options] Override http request option.
|
|
2330
|
+
* @throws {RequiredError}
|
|
2331
|
+
*/
|
|
2332
|
+
deleteContract: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2333
|
+
/**
|
|
2334
|
+
* Retrieves the details of an existing contract. Supply the unique contract ID from either a contract creation request or the contract list, and Openfort will return the corresponding contract information.
|
|
2335
|
+
* @param {string} id Specifies the unique contract ID.
|
|
2336
|
+
* @param {*} [options] Override http request option.
|
|
2337
|
+
* @throws {RequiredError}
|
|
2338
|
+
*/
|
|
2339
|
+
getContract: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2340
|
+
/**
|
|
2341
|
+
* Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
|
|
2342
|
+
* @param {number} [limit] amount of results per query
|
|
2343
|
+
* @param {SortOrder} [order]
|
|
2344
|
+
* @param {number} [skip]
|
|
2345
|
+
* @param {*} [options] Override http request option.
|
|
2346
|
+
* @throws {RequiredError}
|
|
2347
|
+
*/
|
|
2348
|
+
getContracts: (limit?: number, order?: SortOrder, skip?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2349
|
+
};
|
|
2350
|
+
/**
|
|
2351
|
+
* ContractsApi - functional programming interface
|
|
2352
|
+
* @export
|
|
2353
|
+
*/
|
|
2354
|
+
export declare const ContractsApiFp: (configuration?: Configuration) => {
|
|
2355
|
+
/**
|
|
2356
|
+
* Creates a contract object.
|
|
2357
|
+
* @param {ContractRequest} contractRequest
|
|
2358
|
+
* @param {*} [options] Override http request option.
|
|
2359
|
+
* @throws {RequiredError}
|
|
2360
|
+
*/
|
|
2361
|
+
createContract(contractRequest: ContractRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
|
|
2362
|
+
/**
|
|
2363
|
+
* Deletes a contract object.
|
|
2364
|
+
* @param {string} id
|
|
2365
|
+
* @param {*} [options] Override http request option.
|
|
2366
|
+
* @throws {RequiredError}
|
|
2367
|
+
*/
|
|
2368
|
+
deleteContract(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractDeleteResponse>>;
|
|
2369
|
+
/**
|
|
2370
|
+
* Retrieves the details of an existing contract. Supply the unique contract ID from either a contract creation request or the contract list, and Openfort will return the corresponding contract information.
|
|
2371
|
+
* @param {string} id Specifies the unique contract ID.
|
|
2372
|
+
* @param {*} [options] Override http request option.
|
|
2373
|
+
* @throws {RequiredError}
|
|
2374
|
+
*/
|
|
2375
|
+
getContract(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
|
|
2376
|
+
/**
|
|
2377
|
+
* Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
|
|
2378
|
+
* @param {number} [limit] amount of results per query
|
|
2379
|
+
* @param {SortOrder} [order]
|
|
2380
|
+
* @param {number} [skip]
|
|
2381
|
+
* @param {*} [options] Override http request option.
|
|
2382
|
+
* @throws {RequiredError}
|
|
2383
|
+
*/
|
|
2384
|
+
getContracts(limit?: number, order?: SortOrder, skip?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractsResponse>>;
|
|
2385
|
+
};
|
|
2386
|
+
/**
|
|
2387
|
+
* ContractsApi - factory interface
|
|
2388
|
+
* @export
|
|
2389
|
+
*/
|
|
2390
|
+
export declare const ContractsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2391
|
+
/**
|
|
2392
|
+
* Creates a contract object.
|
|
2393
|
+
* @param {ContractRequest} contractRequest
|
|
2394
|
+
* @param {*} [options] Override http request option.
|
|
2395
|
+
* @throws {RequiredError}
|
|
2396
|
+
*/
|
|
2397
|
+
createContract(contractRequest: ContractRequest, options?: any): AxiosPromise<ContractResponse>;
|
|
2398
|
+
/**
|
|
2399
|
+
* Deletes a contract object.
|
|
2400
|
+
* @param {string} id
|
|
2401
|
+
* @param {*} [options] Override http request option.
|
|
2402
|
+
* @throws {RequiredError}
|
|
2403
|
+
*/
|
|
2404
|
+
deleteContract(id: string, options?: any): AxiosPromise<ContractDeleteResponse>;
|
|
2405
|
+
/**
|
|
2406
|
+
* Retrieves the details of an existing contract. Supply the unique contract ID from either a contract creation request or the contract list, and Openfort will return the corresponding contract information.
|
|
2407
|
+
* @param {string} id Specifies the unique contract ID.
|
|
2408
|
+
* @param {*} [options] Override http request option.
|
|
2409
|
+
* @throws {RequiredError}
|
|
2410
|
+
*/
|
|
2411
|
+
getContract(id: string, options?: any): AxiosPromise<ContractResponse>;
|
|
2412
|
+
/**
|
|
2413
|
+
* Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
|
|
2414
|
+
* @param {number} [limit] amount of results per query
|
|
2415
|
+
* @param {SortOrder} [order]
|
|
2416
|
+
* @param {number} [skip]
|
|
2417
|
+
* @param {*} [options] Override http request option.
|
|
2418
|
+
* @throws {RequiredError}
|
|
2419
|
+
*/
|
|
2420
|
+
getContracts(limit?: number, order?: SortOrder, skip?: number, options?: any): AxiosPromise<ContractsResponse>;
|
|
2421
|
+
};
|
|
2422
|
+
/**
|
|
2423
|
+
* ContractsApi - object-oriented interface
|
|
2424
|
+
* @export
|
|
2425
|
+
* @class ContractsApi
|
|
2426
|
+
* @extends {BaseAPI}
|
|
2427
|
+
*/
|
|
2428
|
+
export declare class ContractsApi extends BaseAPI {
|
|
2429
|
+
/**
|
|
2430
|
+
* Creates a contract object.
|
|
2431
|
+
* @param {ContractRequest} contractRequest
|
|
2432
|
+
* @param {*} [options] Override http request option.
|
|
2433
|
+
* @throws {RequiredError}
|
|
2434
|
+
* @memberof ContractsApi
|
|
2435
|
+
*/
|
|
2436
|
+
createContract(contractRequest: ContractRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractResponse, any>>;
|
|
2437
|
+
/**
|
|
2438
|
+
* Deletes a contract object.
|
|
2439
|
+
* @param {string} id
|
|
2440
|
+
* @param {*} [options] Override http request option.
|
|
2441
|
+
* @throws {RequiredError}
|
|
2442
|
+
* @memberof ContractsApi
|
|
2443
|
+
*/
|
|
2444
|
+
deleteContract(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractDeleteResponse, any>>;
|
|
2445
|
+
/**
|
|
2446
|
+
* Retrieves the details of an existing contract. Supply the unique contract ID from either a contract creation request or the contract list, and Openfort will return the corresponding contract information.
|
|
2447
|
+
* @param {string} id Specifies the unique contract ID.
|
|
2448
|
+
* @param {*} [options] Override http request option.
|
|
2449
|
+
* @throws {RequiredError}
|
|
2450
|
+
* @memberof ContractsApi
|
|
2451
|
+
*/
|
|
2452
|
+
getContract(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractResponse, any>>;
|
|
2453
|
+
/**
|
|
2454
|
+
* Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
|
|
2455
|
+
* @param {number} [limit] amount of results per query
|
|
2456
|
+
* @param {SortOrder} [order]
|
|
2457
|
+
* @param {number} [skip]
|
|
2458
|
+
* @param {*} [options] Override http request option.
|
|
2459
|
+
* @throws {RequiredError}
|
|
2460
|
+
* @memberof ContractsApi
|
|
2461
|
+
*/
|
|
2462
|
+
getContracts(limit?: number, order?: SortOrder, skip?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractsResponse, any>>;
|
|
2463
|
+
}
|
|
2464
|
+
/**
|
|
2465
|
+
* PlayersApi - axios parameter creator
|
|
2466
|
+
* @export
|
|
2467
|
+
*/
|
|
2468
|
+
export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2469
|
+
/**
|
|
2470
|
+
* Creates a player object.
|
|
2471
|
+
* @param {CreatePlayerRequest} createPlayerRequest
|
|
2472
|
+
* @param {*} [options] Override http request option.
|
|
2473
|
+
* @throws {RequiredError}
|
|
2474
|
+
*/
|
|
2475
|
+
createPlayer: (createPlayerRequest: CreatePlayerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2476
|
+
/**
|
|
2477
|
+
* Creates an account object for an existing player.
|
|
2478
|
+
* @param {string} id Specifies the unique player ID.
|
|
2479
|
+
* @param {AccountPlayerRequest} accountPlayerRequest
|
|
2480
|
+
* @param {*} [options] Override http request option.
|
|
2481
|
+
* @throws {RequiredError}
|
|
2482
|
+
*/
|
|
2483
|
+
createPlayerAccount: (id: string, accountPlayerRequest: AccountPlayerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2484
|
+
/**
|
|
2485
|
+
* Creates a session object for the given player.
|
|
2486
|
+
* @param {string} id Specifies the unique player ID.
|
|
2487
|
+
* @param {CreateSessionPlayerRequest} createSessionPlayerRequest
|
|
2488
|
+
* @param {*} [options] Override http request option.
|
|
2489
|
+
* @throws {RequiredError}
|
|
2490
|
+
*/
|
|
2491
|
+
createPlayerSession: (id: string, createSessionPlayerRequest: CreateSessionPlayerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2492
|
+
/**
|
|
2493
|
+
* Returns a list of your players for the query. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2494
|
+
* @param {string} id Specifies the unique player ID.
|
|
2495
|
+
* @param {Array<string>} [expand]
|
|
2496
|
+
* @param {*} [options] Override http request option.
|
|
2497
|
+
* @throws {RequiredError}
|
|
2498
|
+
*/
|
|
2499
|
+
getPlayer: (id: string, expand?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2500
|
+
/**
|
|
2501
|
+
* Returns a list of your accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2502
|
+
* @param {string} id Specifies the unique player ID.
|
|
2503
|
+
* @param {Array<string>} [expand]
|
|
2504
|
+
* @param {*} [options] Override http request option.
|
|
2505
|
+
* @throws {RequiredError}
|
|
2506
|
+
*/
|
|
2507
|
+
getPlayerAccounts: (id: string, expand?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2508
|
+
/**
|
|
2509
|
+
* Retrieves the inventory of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
|
|
2510
|
+
* @param {string} id Specifies the unique player ID.
|
|
2511
|
+
* @param {number} chainId
|
|
2512
|
+
* @param {*} [options] Override http request option.
|
|
2513
|
+
* @throws {RequiredError}
|
|
2514
|
+
*/
|
|
2515
|
+
getPlayerInventory: (id: string, chainId: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2516
|
+
/**
|
|
2517
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2518
|
+
* @param {Array<string>} [expand]
|
|
2519
|
+
* @param {number} [limit]
|
|
2520
|
+
* @param {string} [filter]
|
|
2521
|
+
* @param {SortOrder} [order]
|
|
2522
|
+
* @param {number} [skip]
|
|
2523
|
+
* @param {*} [options] Override http request option.
|
|
2524
|
+
* @throws {RequiredError}
|
|
2525
|
+
*/
|
|
2526
|
+
getPlayers: (expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2527
|
+
/**
|
|
2528
|
+
* Creates a session object for the given player.
|
|
2529
|
+
* @param {string} id Specifies the unique player ID.
|
|
2530
|
+
* @param {RevokeSessionPlayerRequest} revokeSessionPlayerRequest
|
|
2531
|
+
* @param {*} [options] Override http request option.
|
|
2532
|
+
* @throws {RequiredError}
|
|
2533
|
+
*/
|
|
2534
|
+
revokePlayerSession: (id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2535
|
+
/**
|
|
2536
|
+
* Transfer ownership of an account to an address.
|
|
2537
|
+
* @param {string} id Specifies the unique player ID.
|
|
2538
|
+
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
2539
|
+
* @param {*} [options] Override http request option.
|
|
2540
|
+
* @throws {RequiredError}
|
|
2541
|
+
*/
|
|
2542
|
+
transferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2543
|
+
/**
|
|
2544
|
+
* Updates a player object.
|
|
2545
|
+
* @param {string} id Specifies the unique player ID.
|
|
2546
|
+
* @param {PlayerRequest} playerRequest
|
|
2547
|
+
* @param {*} [options] Override http request option.
|
|
2548
|
+
* @throws {RequiredError}
|
|
2549
|
+
*/
|
|
2550
|
+
updatePlayer: (id: string, playerRequest: PlayerRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2551
|
+
};
|
|
2552
|
+
/**
|
|
2553
|
+
* PlayersApi - functional programming interface
|
|
2554
|
+
* @export
|
|
2555
|
+
*/
|
|
2556
|
+
export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
2557
|
+
/**
|
|
2558
|
+
* Creates a player object.
|
|
2559
|
+
* @param {CreatePlayerRequest} createPlayerRequest
|
|
2560
|
+
* @param {*} [options] Override http request option.
|
|
2561
|
+
* @throws {RequiredError}
|
|
2562
|
+
*/
|
|
2563
|
+
createPlayer(createPlayerRequest: CreatePlayerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
|
|
2564
|
+
/**
|
|
2565
|
+
* Creates an account object for an existing player.
|
|
2566
|
+
* @param {string} id Specifies the unique player ID.
|
|
2567
|
+
* @param {AccountPlayerRequest} accountPlayerRequest
|
|
2568
|
+
* @param {*} [options] Override http request option.
|
|
2569
|
+
* @throws {RequiredError}
|
|
2570
|
+
*/
|
|
2571
|
+
createPlayerAccount(id: string, accountPlayerRequest: AccountPlayerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
2572
|
+
/**
|
|
2573
|
+
* Creates a session object for the given player.
|
|
2574
|
+
* @param {string} id Specifies the unique player ID.
|
|
2575
|
+
* @param {CreateSessionPlayerRequest} createSessionPlayerRequest
|
|
2576
|
+
* @param {*} [options] Override http request option.
|
|
2577
|
+
* @throws {RequiredError}
|
|
2578
|
+
*/
|
|
2579
|
+
createPlayerSession(id: string, createSessionPlayerRequest: CreateSessionPlayerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
2580
|
+
/**
|
|
2581
|
+
* Returns a list of your players for the query. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2582
|
+
* @param {string} id Specifies the unique player ID.
|
|
2583
|
+
* @param {Array<string>} [expand]
|
|
2584
|
+
* @param {*} [options] Override http request option.
|
|
2585
|
+
* @throws {RequiredError}
|
|
2586
|
+
*/
|
|
2587
|
+
getPlayer(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
|
|
2588
|
+
/**
|
|
2589
|
+
* Returns a list of your accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2590
|
+
* @param {string} id Specifies the unique player ID.
|
|
2591
|
+
* @param {Array<string>} [expand]
|
|
2592
|
+
* @param {*} [options] Override http request option.
|
|
2593
|
+
* @throws {RequiredError}
|
|
2594
|
+
*/
|
|
2595
|
+
getPlayerAccounts(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountsResponse>>;
|
|
2596
|
+
/**
|
|
2597
|
+
* Retrieves the inventory of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
|
|
2598
|
+
* @param {string} id Specifies the unique player ID.
|
|
2599
|
+
* @param {number} chainId
|
|
2600
|
+
* @param {*} [options] Override http request option.
|
|
2601
|
+
* @throws {RequiredError}
|
|
2602
|
+
*/
|
|
2603
|
+
getPlayerInventory(id: string, chainId: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InventoryResponse>>;
|
|
2604
|
+
/**
|
|
2605
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2606
|
+
* @param {Array<string>} [expand]
|
|
2607
|
+
* @param {number} [limit]
|
|
2608
|
+
* @param {string} [filter]
|
|
2609
|
+
* @param {SortOrder} [order]
|
|
2610
|
+
* @param {number} [skip]
|
|
2611
|
+
* @param {*} [options] Override http request option.
|
|
2612
|
+
* @throws {RequiredError}
|
|
2613
|
+
*/
|
|
2614
|
+
getPlayers(expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayersResponse>>;
|
|
2615
|
+
/**
|
|
2616
|
+
* Creates a session object for the given player.
|
|
2617
|
+
* @param {string} id Specifies the unique player ID.
|
|
2618
|
+
* @param {RevokeSessionPlayerRequest} revokeSessionPlayerRequest
|
|
2619
|
+
* @param {*} [options] Override http request option.
|
|
2620
|
+
* @throws {RequiredError}
|
|
2621
|
+
*/
|
|
2622
|
+
revokePlayerSession(id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
2623
|
+
/**
|
|
2624
|
+
* Transfer ownership of an account to an address.
|
|
2625
|
+
* @param {string} id Specifies the unique player ID.
|
|
2626
|
+
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
2627
|
+
* @param {*} [options] Override http request option.
|
|
2628
|
+
* @throws {RequiredError}
|
|
2629
|
+
*/
|
|
2630
|
+
transferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
2631
|
+
/**
|
|
2632
|
+
* Updates a player object.
|
|
2633
|
+
* @param {string} id Specifies the unique player ID.
|
|
2634
|
+
* @param {PlayerRequest} playerRequest
|
|
2635
|
+
* @param {*} [options] Override http request option.
|
|
2636
|
+
* @throws {RequiredError}
|
|
2637
|
+
*/
|
|
2638
|
+
updatePlayer(id: string, playerRequest: PlayerRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
|
|
2639
|
+
};
|
|
2640
|
+
/**
|
|
2641
|
+
* PlayersApi - factory interface
|
|
2642
|
+
* @export
|
|
2643
|
+
*/
|
|
2644
|
+
export declare const PlayersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2645
|
+
/**
|
|
2646
|
+
* Creates a player object.
|
|
2647
|
+
* @param {CreatePlayerRequest} createPlayerRequest
|
|
2648
|
+
* @param {*} [options] Override http request option.
|
|
2649
|
+
* @throws {RequiredError}
|
|
2650
|
+
*/
|
|
2651
|
+
createPlayer(createPlayerRequest: CreatePlayerRequest, options?: any): AxiosPromise<PlayerResponse>;
|
|
2652
|
+
/**
|
|
2653
|
+
* Creates an account object for an existing player.
|
|
2654
|
+
* @param {string} id Specifies the unique player ID.
|
|
2655
|
+
* @param {AccountPlayerRequest} accountPlayerRequest
|
|
2656
|
+
* @param {*} [options] Override http request option.
|
|
2657
|
+
* @throws {RequiredError}
|
|
2658
|
+
*/
|
|
2659
|
+
createPlayerAccount(id: string, accountPlayerRequest: AccountPlayerRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
2660
|
+
/**
|
|
2661
|
+
* Creates a session object for the given player.
|
|
2662
|
+
* @param {string} id Specifies the unique player ID.
|
|
2663
|
+
* @param {CreateSessionPlayerRequest} createSessionPlayerRequest
|
|
2664
|
+
* @param {*} [options] Override http request option.
|
|
2665
|
+
* @throws {RequiredError}
|
|
2666
|
+
*/
|
|
2667
|
+
createPlayerSession(id: string, createSessionPlayerRequest: CreateSessionPlayerRequest, options?: any): AxiosPromise<SessionResponse>;
|
|
2668
|
+
/**
|
|
2669
|
+
* Returns a list of your players for the query. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2670
|
+
* @param {string} id Specifies the unique player ID.
|
|
2671
|
+
* @param {Array<string>} [expand]
|
|
2672
|
+
* @param {*} [options] Override http request option.
|
|
2673
|
+
* @throws {RequiredError}
|
|
2674
|
+
*/
|
|
2675
|
+
getPlayer(id: string, expand?: Array<string>, options?: any): AxiosPromise<PlayerResponse>;
|
|
2676
|
+
/**
|
|
2677
|
+
* Returns a list of your accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2678
|
+
* @param {string} id Specifies the unique player ID.
|
|
2679
|
+
* @param {Array<string>} [expand]
|
|
2680
|
+
* @param {*} [options] Override http request option.
|
|
2681
|
+
* @throws {RequiredError}
|
|
2682
|
+
*/
|
|
2683
|
+
getPlayerAccounts(id: string, expand?: Array<string>, options?: any): AxiosPromise<AccountsResponse>;
|
|
2684
|
+
/**
|
|
2685
|
+
* Retrieves the inventory of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
|
|
2686
|
+
* @param {string} id Specifies the unique player ID.
|
|
2687
|
+
* @param {number} chainId
|
|
2688
|
+
* @param {*} [options] Override http request option.
|
|
2689
|
+
* @throws {RequiredError}
|
|
2690
|
+
*/
|
|
2691
|
+
getPlayerInventory(id: string, chainId: number, options?: any): AxiosPromise<InventoryResponse>;
|
|
2692
|
+
/**
|
|
2693
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2694
|
+
* @param {Array<string>} [expand]
|
|
2695
|
+
* @param {number} [limit]
|
|
2696
|
+
* @param {string} [filter]
|
|
2697
|
+
* @param {SortOrder} [order]
|
|
2698
|
+
* @param {number} [skip]
|
|
2699
|
+
* @param {*} [options] Override http request option.
|
|
2700
|
+
* @throws {RequiredError}
|
|
2701
|
+
*/
|
|
2702
|
+
getPlayers(expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: any): AxiosPromise<PlayersResponse>;
|
|
2703
|
+
/**
|
|
2704
|
+
* Creates a session object for the given player.
|
|
2705
|
+
* @param {string} id Specifies the unique player ID.
|
|
2706
|
+
* @param {RevokeSessionPlayerRequest} revokeSessionPlayerRequest
|
|
2707
|
+
* @param {*} [options] Override http request option.
|
|
2708
|
+
* @throws {RequiredError}
|
|
2709
|
+
*/
|
|
2710
|
+
revokePlayerSession(id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, options?: any): AxiosPromise<SessionResponse>;
|
|
2711
|
+
/**
|
|
2712
|
+
* Transfer ownership of an account to an address.
|
|
2713
|
+
* @param {string} id Specifies the unique player ID.
|
|
2714
|
+
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
2715
|
+
* @param {*} [options] Override http request option.
|
|
2716
|
+
* @throws {RequiredError}
|
|
2717
|
+
*/
|
|
2718
|
+
transferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
2719
|
+
/**
|
|
2720
|
+
* Updates a player object.
|
|
2721
|
+
* @param {string} id Specifies the unique player ID.
|
|
2722
|
+
* @param {PlayerRequest} playerRequest
|
|
2723
|
+
* @param {*} [options] Override http request option.
|
|
2724
|
+
* @throws {RequiredError}
|
|
2725
|
+
*/
|
|
2726
|
+
updatePlayer(id: string, playerRequest: PlayerRequest, options?: any): AxiosPromise<PlayerResponse>;
|
|
2727
|
+
};
|
|
2728
|
+
/**
|
|
2729
|
+
* PlayersApi - object-oriented interface
|
|
2730
|
+
* @export
|
|
2731
|
+
* @class PlayersApi
|
|
2732
|
+
* @extends {BaseAPI}
|
|
2733
|
+
*/
|
|
2734
|
+
export declare class PlayersApi extends BaseAPI {
|
|
2735
|
+
/**
|
|
2736
|
+
* Creates a player object.
|
|
2737
|
+
* @param {CreatePlayerRequest} createPlayerRequest
|
|
2738
|
+
* @param {*} [options] Override http request option.
|
|
2739
|
+
* @throws {RequiredError}
|
|
2740
|
+
* @memberof PlayersApi
|
|
2741
|
+
*/
|
|
2742
|
+
createPlayer(createPlayerRequest: CreatePlayerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
|
|
2743
|
+
/**
|
|
2744
|
+
* Creates an account object for an existing player.
|
|
2745
|
+
* @param {string} id Specifies the unique player ID.
|
|
2746
|
+
* @param {AccountPlayerRequest} accountPlayerRequest
|
|
2747
|
+
* @param {*} [options] Override http request option.
|
|
2748
|
+
* @throws {RequiredError}
|
|
2749
|
+
* @memberof PlayersApi
|
|
2750
|
+
*/
|
|
2751
|
+
createPlayerAccount(id: string, accountPlayerRequest: AccountPlayerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
2752
|
+
/**
|
|
2753
|
+
* Creates a session object for the given player.
|
|
2754
|
+
* @param {string} id Specifies the unique player ID.
|
|
2755
|
+
* @param {CreateSessionPlayerRequest} createSessionPlayerRequest
|
|
2756
|
+
* @param {*} [options] Override http request option.
|
|
2757
|
+
* @throws {RequiredError}
|
|
2758
|
+
* @memberof PlayersApi
|
|
2759
|
+
*/
|
|
2760
|
+
createPlayerSession(id: string, createSessionPlayerRequest: CreateSessionPlayerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
2761
|
+
/**
|
|
2762
|
+
* Returns a list of your players for the query. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2763
|
+
* @param {string} id Specifies the unique player ID.
|
|
2764
|
+
* @param {Array<string>} [expand]
|
|
2765
|
+
* @param {*} [options] Override http request option.
|
|
2766
|
+
* @throws {RequiredError}
|
|
2767
|
+
* @memberof PlayersApi
|
|
2768
|
+
*/
|
|
2769
|
+
getPlayer(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
|
|
2770
|
+
/**
|
|
2771
|
+
* Returns a list of your accounts for the given player. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
2772
|
+
* @param {string} id Specifies the unique player ID.
|
|
2773
|
+
* @param {Array<string>} [expand]
|
|
2774
|
+
* @param {*} [options] Override http request option.
|
|
2775
|
+
* @throws {RequiredError}
|
|
2776
|
+
* @memberof PlayersApi
|
|
2777
|
+
*/
|
|
2778
|
+
getPlayerAccounts(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountsResponse, any>>;
|
|
2779
|
+
/**
|
|
2780
|
+
* Retrieves the inventory of an existing player. Supply the unique player ID from either a player creation request or the player list, and Openfort will return the corresponding player information.
|
|
2781
|
+
* @param {string} id Specifies the unique player ID.
|
|
2782
|
+
* @param {number} chainId
|
|
2783
|
+
* @param {*} [options] Override http request option.
|
|
2784
|
+
* @throws {RequiredError}
|
|
2785
|
+
* @memberof PlayersApi
|
|
2786
|
+
*/
|
|
2787
|
+
getPlayerInventory(id: string, chainId: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InventoryResponse, any>>;
|
|
2788
|
+
/**
|
|
2789
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
2790
|
+
* @param {Array<string>} [expand]
|
|
2791
|
+
* @param {number} [limit]
|
|
2792
|
+
* @param {string} [filter]
|
|
2793
|
+
* @param {SortOrder} [order]
|
|
2794
|
+
* @param {number} [skip]
|
|
2795
|
+
* @param {*} [options] Override http request option.
|
|
2796
|
+
* @throws {RequiredError}
|
|
2797
|
+
* @memberof PlayersApi
|
|
2798
|
+
*/
|
|
2799
|
+
getPlayers(expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayersResponse, any>>;
|
|
2800
|
+
/**
|
|
2801
|
+
* Creates a session object for the given player.
|
|
2802
|
+
* @param {string} id Specifies the unique player ID.
|
|
2803
|
+
* @param {RevokeSessionPlayerRequest} revokeSessionPlayerRequest
|
|
2804
|
+
* @param {*} [options] Override http request option.
|
|
2805
|
+
* @throws {RequiredError}
|
|
2806
|
+
* @memberof PlayersApi
|
|
2807
|
+
*/
|
|
2808
|
+
revokePlayerSession(id: string, revokeSessionPlayerRequest: RevokeSessionPlayerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
2809
|
+
/**
|
|
2810
|
+
* Transfer ownership of an account to an address.
|
|
2811
|
+
* @param {string} id Specifies the unique player ID.
|
|
2812
|
+
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
2813
|
+
* @param {*} [options] Override http request option.
|
|
2814
|
+
* @throws {RequiredError}
|
|
2815
|
+
* @memberof PlayersApi
|
|
2816
|
+
*/
|
|
2817
|
+
transferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
2818
|
+
/**
|
|
2819
|
+
* Updates a player object.
|
|
2820
|
+
* @param {string} id Specifies the unique player ID.
|
|
2821
|
+
* @param {PlayerRequest} playerRequest
|
|
2822
|
+
* @param {*} [options] Override http request option.
|
|
2823
|
+
* @throws {RequiredError}
|
|
2824
|
+
* @memberof PlayersApi
|
|
2825
|
+
*/
|
|
2826
|
+
updatePlayer(id: string, playerRequest: PlayerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
|
|
2827
|
+
}
|
|
2828
|
+
/**
|
|
2829
|
+
* PoliciesApi - axios parameter creator
|
|
2830
|
+
* @export
|
|
2831
|
+
*/
|
|
2832
|
+
export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2833
|
+
/**
|
|
2834
|
+
* Creates a policy object.
|
|
2835
|
+
* @param {PolicyRequest} policyRequest
|
|
2836
|
+
* @param {*} [options] Override http request option.
|
|
2837
|
+
* @throws {RequiredError}
|
|
2838
|
+
*/
|
|
2839
|
+
createPolicy: (policyRequest: PolicyRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2840
|
+
/**
|
|
2841
|
+
*
|
|
2842
|
+
* @param {string} id
|
|
2843
|
+
* @param {PolicyAllowFunctionRequest} policyAllowFunctionRequest
|
|
2844
|
+
* @param {*} [options] Override http request option.
|
|
2845
|
+
* @throws {RequiredError}
|
|
2846
|
+
*/
|
|
2847
|
+
createPolicyAllowFunction: (id: string, policyAllowFunctionRequest: PolicyAllowFunctionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2848
|
+
/**
|
|
2849
|
+
* Deletes a policy object.
|
|
2850
|
+
* @param {string} id
|
|
2851
|
+
* @param {*} [options] Override http request option.
|
|
2852
|
+
* @throws {RequiredError}
|
|
2853
|
+
*/
|
|
2854
|
+
deletePolicy: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2855
|
+
/**
|
|
2856
|
+
* Gets all policy objects for a given project.
|
|
2857
|
+
* @param {number} [limit]
|
|
2858
|
+
* @param {Array<string>} [expand]
|
|
2859
|
+
* @param {number} [skip]
|
|
2860
|
+
* @param {*} [options] Override http request option.
|
|
2861
|
+
* @throws {RequiredError}
|
|
2862
|
+
*/
|
|
2863
|
+
getPolicies: (limit?: number, expand?: Array<string>, skip?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2864
|
+
/**
|
|
2865
|
+
* Gets a policy object for a given project.
|
|
2866
|
+
* @param {string} id
|
|
2867
|
+
* @param {Array<string>} [expand]
|
|
2868
|
+
* @param {*} [options] Override http request option.
|
|
2869
|
+
* @throws {RequiredError}
|
|
2870
|
+
*/
|
|
2871
|
+
getPolicy: (id: string, expand?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2872
|
+
/**
|
|
2873
|
+
*
|
|
2874
|
+
* @param {string} id
|
|
2875
|
+
* @param {Array<string>} [expand]
|
|
2876
|
+
* @param {*} [options] Override http request option.
|
|
2877
|
+
* @throws {RequiredError}
|
|
2878
|
+
*/
|
|
2879
|
+
getPolicyAllowFunctions: (id: string, expand?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2880
|
+
/**
|
|
2881
|
+
*
|
|
2882
|
+
* @param {string} id
|
|
2883
|
+
* @param {string} [from]
|
|
2884
|
+
* @param {string} [to]
|
|
2885
|
+
* @param {*} [options] Override http request option.
|
|
2886
|
+
* @throws {RequiredError}
|
|
2887
|
+
*/
|
|
2888
|
+
getPolicyDailyGasUsage: (id: string, from?: string, to?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2889
|
+
/**
|
|
2890
|
+
*
|
|
2891
|
+
* @param {string} id
|
|
2892
|
+
* @param {string} [from]
|
|
2893
|
+
* @param {string} [to]
|
|
2894
|
+
* @param {*} [options] Override http request option.
|
|
2895
|
+
* @throws {RequiredError}
|
|
2896
|
+
*/
|
|
2897
|
+
getPolicyTotalGasUsage: (id: string, from?: string, to?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2898
|
+
/**
|
|
2899
|
+
* Updates a policy object.
|
|
2900
|
+
* @param {string} id
|
|
2901
|
+
* @param {PolicyUpdateRequest} policyUpdateRequest
|
|
2902
|
+
* @param {*} [options] Override http request option.
|
|
2903
|
+
* @throws {RequiredError}
|
|
2904
|
+
*/
|
|
2905
|
+
updatePolicy: (id: string, policyUpdateRequest: PolicyUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2906
|
+
/**
|
|
2907
|
+
*
|
|
2908
|
+
* @param {string} policy
|
|
2909
|
+
* @param {string} policyRule
|
|
2910
|
+
* @param {PolicyRuleUpdateRequest} policyRuleUpdateRequest
|
|
2911
|
+
* @param {*} [options] Override http request option.
|
|
2912
|
+
* @throws {RequiredError}
|
|
2913
|
+
*/
|
|
2914
|
+
updatePolicyAllowFunction: (policy: string, policyRule: string, policyRuleUpdateRequest: PolicyRuleUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2915
|
+
};
|
|
2916
|
+
/**
|
|
2917
|
+
* PoliciesApi - functional programming interface
|
|
2918
|
+
* @export
|
|
2919
|
+
*/
|
|
2920
|
+
export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
2921
|
+
/**
|
|
2922
|
+
* Creates a policy object.
|
|
2923
|
+
* @param {PolicyRequest} policyRequest
|
|
2924
|
+
* @param {*} [options] Override http request option.
|
|
2925
|
+
* @throws {RequiredError}
|
|
2926
|
+
*/
|
|
2927
|
+
createPolicy(policyRequest: PolicyRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
|
|
2928
|
+
/**
|
|
2929
|
+
*
|
|
2930
|
+
* @param {string} id
|
|
2931
|
+
* @param {PolicyAllowFunctionRequest} policyAllowFunctionRequest
|
|
2932
|
+
* @param {*} [options] Override http request option.
|
|
2933
|
+
* @throws {RequiredError}
|
|
2934
|
+
*/
|
|
2935
|
+
createPolicyAllowFunction(id: string, policyAllowFunctionRequest: PolicyAllowFunctionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
2936
|
+
/**
|
|
2937
|
+
* Deletes a policy object.
|
|
2938
|
+
* @param {string} id
|
|
2939
|
+
* @param {*} [options] Override http request option.
|
|
2940
|
+
* @throws {RequiredError}
|
|
2941
|
+
*/
|
|
2942
|
+
deletePolicy(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyDeleteResponse>>;
|
|
2943
|
+
/**
|
|
2944
|
+
* Gets all policy objects for a given project.
|
|
2945
|
+
* @param {number} [limit]
|
|
2946
|
+
* @param {Array<string>} [expand]
|
|
2947
|
+
* @param {number} [skip]
|
|
2948
|
+
* @param {*} [options] Override http request option.
|
|
2949
|
+
* @throws {RequiredError}
|
|
2950
|
+
*/
|
|
2951
|
+
getPolicies(limit?: number, expand?: Array<string>, skip?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoliciesResponse>>;
|
|
2952
|
+
/**
|
|
2953
|
+
* Gets a policy object for a given project.
|
|
2954
|
+
* @param {string} id
|
|
2955
|
+
* @param {Array<string>} [expand]
|
|
2956
|
+
* @param {*} [options] Override http request option.
|
|
2957
|
+
* @throws {RequiredError}
|
|
2958
|
+
*/
|
|
2959
|
+
getPolicy(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
|
|
2960
|
+
/**
|
|
2961
|
+
*
|
|
2962
|
+
* @param {string} id
|
|
2963
|
+
* @param {Array<string>} [expand]
|
|
2964
|
+
* @param {*} [options] Override http request option.
|
|
2965
|
+
* @throws {RequiredError}
|
|
2966
|
+
*/
|
|
2967
|
+
getPolicyAllowFunctions(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRulesResponse>>;
|
|
2968
|
+
/**
|
|
2969
|
+
*
|
|
2970
|
+
* @param {string} id
|
|
2971
|
+
* @param {string} [from]
|
|
2972
|
+
* @param {string} [to]
|
|
2973
|
+
* @param {*} [options] Override http request option.
|
|
2974
|
+
* @throws {RequiredError}
|
|
2975
|
+
*/
|
|
2976
|
+
getPolicyDailyGasUsage(id: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Gas>>;
|
|
2977
|
+
/**
|
|
2978
|
+
*
|
|
2979
|
+
* @param {string} id
|
|
2980
|
+
* @param {string} [from]
|
|
2981
|
+
* @param {string} [to]
|
|
2982
|
+
* @param {*} [options] Override http request option.
|
|
2983
|
+
* @throws {RequiredError}
|
|
2984
|
+
*/
|
|
2985
|
+
getPolicyTotalGasUsage(id: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumGas>>;
|
|
2986
|
+
/**
|
|
2987
|
+
* Updates a policy object.
|
|
2988
|
+
* @param {string} id
|
|
2989
|
+
* @param {PolicyUpdateRequest} policyUpdateRequest
|
|
2990
|
+
* @param {*} [options] Override http request option.
|
|
2991
|
+
* @throws {RequiredError}
|
|
2992
|
+
*/
|
|
2993
|
+
updatePolicy(id: string, policyUpdateRequest: PolicyUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
|
|
2994
|
+
/**
|
|
2995
|
+
*
|
|
2996
|
+
* @param {string} policy
|
|
2997
|
+
* @param {string} policyRule
|
|
2998
|
+
* @param {PolicyRuleUpdateRequest} policyRuleUpdateRequest
|
|
2999
|
+
* @param {*} [options] Override http request option.
|
|
3000
|
+
* @throws {RequiredError}
|
|
3001
|
+
*/
|
|
3002
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, policyRuleUpdateRequest: PolicyRuleUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3003
|
+
};
|
|
3004
|
+
/**
|
|
3005
|
+
* PoliciesApi - factory interface
|
|
3006
|
+
* @export
|
|
3007
|
+
*/
|
|
3008
|
+
export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3009
|
+
/**
|
|
3010
|
+
* Creates a policy object.
|
|
3011
|
+
* @param {PolicyRequest} policyRequest
|
|
3012
|
+
* @param {*} [options] Override http request option.
|
|
3013
|
+
* @throws {RequiredError}
|
|
3014
|
+
*/
|
|
3015
|
+
createPolicy(policyRequest: PolicyRequest, options?: any): AxiosPromise<PolicyResponse>;
|
|
3016
|
+
/**
|
|
3017
|
+
*
|
|
3018
|
+
* @param {string} id
|
|
3019
|
+
* @param {PolicyAllowFunctionRequest} policyAllowFunctionRequest
|
|
3020
|
+
* @param {*} [options] Override http request option.
|
|
3021
|
+
* @throws {RequiredError}
|
|
3022
|
+
*/
|
|
3023
|
+
createPolicyAllowFunction(id: string, policyAllowFunctionRequest: PolicyAllowFunctionRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3024
|
+
/**
|
|
3025
|
+
* Deletes a policy object.
|
|
3026
|
+
* @param {string} id
|
|
3027
|
+
* @param {*} [options] Override http request option.
|
|
3028
|
+
* @throws {RequiredError}
|
|
3029
|
+
*/
|
|
3030
|
+
deletePolicy(id: string, options?: any): AxiosPromise<PolicyDeleteResponse>;
|
|
3031
|
+
/**
|
|
3032
|
+
* Gets all policy objects for a given project.
|
|
3033
|
+
* @param {number} [limit]
|
|
3034
|
+
* @param {Array<string>} [expand]
|
|
3035
|
+
* @param {number} [skip]
|
|
3036
|
+
* @param {*} [options] Override http request option.
|
|
3037
|
+
* @throws {RequiredError}
|
|
3038
|
+
*/
|
|
3039
|
+
getPolicies(limit?: number, expand?: Array<string>, skip?: number, options?: any): AxiosPromise<PoliciesResponse>;
|
|
3040
|
+
/**
|
|
3041
|
+
* Gets a policy object for a given project.
|
|
3042
|
+
* @param {string} id
|
|
3043
|
+
* @param {Array<string>} [expand]
|
|
3044
|
+
* @param {*} [options] Override http request option.
|
|
3045
|
+
* @throws {RequiredError}
|
|
3046
|
+
*/
|
|
3047
|
+
getPolicy(id: string, expand?: Array<string>, options?: any): AxiosPromise<PolicyResponse>;
|
|
3048
|
+
/**
|
|
3049
|
+
*
|
|
3050
|
+
* @param {string} id
|
|
3051
|
+
* @param {Array<string>} [expand]
|
|
3052
|
+
* @param {*} [options] Override http request option.
|
|
3053
|
+
* @throws {RequiredError}
|
|
3054
|
+
*/
|
|
3055
|
+
getPolicyAllowFunctions(id: string, expand?: Array<string>, options?: any): AxiosPromise<PolicyRulesResponse>;
|
|
3056
|
+
/**
|
|
3057
|
+
*
|
|
3058
|
+
* @param {string} id
|
|
3059
|
+
* @param {string} [from]
|
|
3060
|
+
* @param {string} [to]
|
|
3061
|
+
* @param {*} [options] Override http request option.
|
|
3062
|
+
* @throws {RequiredError}
|
|
3063
|
+
*/
|
|
3064
|
+
getPolicyDailyGasUsage(id: string, from?: string, to?: string, options?: any): AxiosPromise<Gas>;
|
|
3065
|
+
/**
|
|
3066
|
+
*
|
|
3067
|
+
* @param {string} id
|
|
3068
|
+
* @param {string} [from]
|
|
3069
|
+
* @param {string} [to]
|
|
3070
|
+
* @param {*} [options] Override http request option.
|
|
3071
|
+
* @throws {RequiredError}
|
|
3072
|
+
*/
|
|
3073
|
+
getPolicyTotalGasUsage(id: string, from?: string, to?: string, options?: any): AxiosPromise<SumGas>;
|
|
3074
|
+
/**
|
|
3075
|
+
* Updates a policy object.
|
|
3076
|
+
* @param {string} id
|
|
3077
|
+
* @param {PolicyUpdateRequest} policyUpdateRequest
|
|
3078
|
+
* @param {*} [options] Override http request option.
|
|
3079
|
+
* @throws {RequiredError}
|
|
3080
|
+
*/
|
|
3081
|
+
updatePolicy(id: string, policyUpdateRequest: PolicyUpdateRequest, options?: any): AxiosPromise<PolicyResponse>;
|
|
3082
|
+
/**
|
|
3083
|
+
*
|
|
3084
|
+
* @param {string} policy
|
|
3085
|
+
* @param {string} policyRule
|
|
3086
|
+
* @param {PolicyRuleUpdateRequest} policyRuleUpdateRequest
|
|
3087
|
+
* @param {*} [options] Override http request option.
|
|
3088
|
+
* @throws {RequiredError}
|
|
3089
|
+
*/
|
|
3090
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, policyRuleUpdateRequest: PolicyRuleUpdateRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3091
|
+
};
|
|
3092
|
+
/**
|
|
3093
|
+
* PoliciesApi - object-oriented interface
|
|
3094
|
+
* @export
|
|
3095
|
+
* @class PoliciesApi
|
|
3096
|
+
* @extends {BaseAPI}
|
|
3097
|
+
*/
|
|
3098
|
+
export declare class PoliciesApi extends BaseAPI {
|
|
3099
|
+
/**
|
|
3100
|
+
* Creates a policy object.
|
|
3101
|
+
* @param {PolicyRequest} policyRequest
|
|
3102
|
+
* @param {*} [options] Override http request option.
|
|
3103
|
+
* @throws {RequiredError}
|
|
3104
|
+
* @memberof PoliciesApi
|
|
3105
|
+
*/
|
|
3106
|
+
createPolicy(policyRequest: PolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
|
|
3107
|
+
/**
|
|
3108
|
+
*
|
|
3109
|
+
* @param {string} id
|
|
3110
|
+
* @param {PolicyAllowFunctionRequest} policyAllowFunctionRequest
|
|
3111
|
+
* @param {*} [options] Override http request option.
|
|
3112
|
+
* @throws {RequiredError}
|
|
3113
|
+
* @memberof PoliciesApi
|
|
3114
|
+
*/
|
|
3115
|
+
createPolicyAllowFunction(id: string, policyAllowFunctionRequest: PolicyAllowFunctionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3116
|
+
/**
|
|
3117
|
+
* Deletes a policy object.
|
|
3118
|
+
* @param {string} id
|
|
3119
|
+
* @param {*} [options] Override http request option.
|
|
3120
|
+
* @throws {RequiredError}
|
|
3121
|
+
* @memberof PoliciesApi
|
|
3122
|
+
*/
|
|
3123
|
+
deletePolicy(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyDeleteResponse, any>>;
|
|
3124
|
+
/**
|
|
3125
|
+
* Gets all policy objects for a given project.
|
|
3126
|
+
* @param {number} [limit]
|
|
3127
|
+
* @param {Array<string>} [expand]
|
|
3128
|
+
* @param {number} [skip]
|
|
3129
|
+
* @param {*} [options] Override http request option.
|
|
3130
|
+
* @throws {RequiredError}
|
|
3131
|
+
* @memberof PoliciesApi
|
|
3132
|
+
*/
|
|
3133
|
+
getPolicies(limit?: number, expand?: Array<string>, skip?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoliciesResponse, any>>;
|
|
3134
|
+
/**
|
|
3135
|
+
* Gets a policy object for a given project.
|
|
3136
|
+
* @param {string} id
|
|
3137
|
+
* @param {Array<string>} [expand]
|
|
3138
|
+
* @param {*} [options] Override http request option.
|
|
3139
|
+
* @throws {RequiredError}
|
|
3140
|
+
* @memberof PoliciesApi
|
|
3141
|
+
*/
|
|
3142
|
+
getPolicy(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
|
|
3143
|
+
/**
|
|
3144
|
+
*
|
|
3145
|
+
* @param {string} id
|
|
3146
|
+
* @param {Array<string>} [expand]
|
|
3147
|
+
* @param {*} [options] Override http request option.
|
|
3148
|
+
* @throws {RequiredError}
|
|
3149
|
+
* @memberof PoliciesApi
|
|
3150
|
+
*/
|
|
3151
|
+
getPolicyAllowFunctions(id: string, expand?: Array<string>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRulesResponse, any>>;
|
|
3152
|
+
/**
|
|
3153
|
+
*
|
|
3154
|
+
* @param {string} id
|
|
3155
|
+
* @param {string} [from]
|
|
3156
|
+
* @param {string} [to]
|
|
3157
|
+
* @param {*} [options] Override http request option.
|
|
3158
|
+
* @throws {RequiredError}
|
|
3159
|
+
* @memberof PoliciesApi
|
|
3160
|
+
*/
|
|
3161
|
+
getPolicyDailyGasUsage(id: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Gas, any>>;
|
|
3162
|
+
/**
|
|
3163
|
+
*
|
|
3164
|
+
* @param {string} id
|
|
3165
|
+
* @param {string} [from]
|
|
3166
|
+
* @param {string} [to]
|
|
3167
|
+
* @param {*} [options] Override http request option.
|
|
3168
|
+
* @throws {RequiredError}
|
|
3169
|
+
* @memberof PoliciesApi
|
|
3170
|
+
*/
|
|
3171
|
+
getPolicyTotalGasUsage(id: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SumGas, any>>;
|
|
3172
|
+
/**
|
|
3173
|
+
* Updates a policy object.
|
|
3174
|
+
* @param {string} id
|
|
3175
|
+
* @param {PolicyUpdateRequest} policyUpdateRequest
|
|
3176
|
+
* @param {*} [options] Override http request option.
|
|
3177
|
+
* @throws {RequiredError}
|
|
3178
|
+
* @memberof PoliciesApi
|
|
3179
|
+
*/
|
|
3180
|
+
updatePolicy(id: string, policyUpdateRequest: PolicyUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
|
|
3181
|
+
/**
|
|
3182
|
+
*
|
|
3183
|
+
* @param {string} policy
|
|
3184
|
+
* @param {string} policyRule
|
|
3185
|
+
* @param {PolicyRuleUpdateRequest} policyRuleUpdateRequest
|
|
3186
|
+
* @param {*} [options] Override http request option.
|
|
3187
|
+
* @throws {RequiredError}
|
|
3188
|
+
* @memberof PoliciesApi
|
|
3189
|
+
*/
|
|
3190
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, policyRuleUpdateRequest: PolicyRuleUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3191
|
+
}
|
|
3192
|
+
/**
|
|
3193
|
+
* PolicyRulesApi - axios parameter creator
|
|
3194
|
+
* @export
|
|
3195
|
+
*/
|
|
3196
|
+
export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3197
|
+
/**
|
|
3198
|
+
* Creates an allow function object.
|
|
3199
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3200
|
+
* @param {*} [options] Override http request option.
|
|
3201
|
+
* @throws {RequiredError}
|
|
3202
|
+
*/
|
|
3203
|
+
createPolicyRules: (policyRuleRequest: PolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3204
|
+
/**
|
|
3205
|
+
* Deletes an polciy rule (allow_functions) object.
|
|
3206
|
+
* @param {string} id
|
|
3207
|
+
* @param {*} [options] Override http request option.
|
|
3208
|
+
* @throws {RequiredError}
|
|
3209
|
+
*/
|
|
3210
|
+
deletePolicyRules: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3211
|
+
/**
|
|
3212
|
+
* Returns a list of your allow functions for the given policy. The allow functions are returned sorted by creation date, with the most recently created allow functions appearing first.
|
|
3213
|
+
* @param {Array<string>} [expand]
|
|
3214
|
+
* @param {string} [policy] Specifies the unique policy ID.
|
|
3215
|
+
* @param {*} [options] Override http request option.
|
|
3216
|
+
* @throws {RequiredError}
|
|
3217
|
+
*/
|
|
3218
|
+
getPolicyRules: (expand?: Array<string>, policy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3219
|
+
/**
|
|
3220
|
+
* Updates an allow functions object.
|
|
3221
|
+
* @param {string} id Specifies the unique allow function ID.
|
|
3222
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3223
|
+
* @param {*} [options] Override http request option.
|
|
3224
|
+
* @throws {RequiredError}
|
|
3225
|
+
*/
|
|
3226
|
+
updatePolicyRules: (id: string, policyRuleRequest: PolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3227
|
+
};
|
|
3228
|
+
/**
|
|
3229
|
+
* PolicyRulesApi - functional programming interface
|
|
3230
|
+
* @export
|
|
3231
|
+
*/
|
|
3232
|
+
export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
3233
|
+
/**
|
|
3234
|
+
* Creates an allow function object.
|
|
3235
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3236
|
+
* @param {*} [options] Override http request option.
|
|
3237
|
+
* @throws {RequiredError}
|
|
3238
|
+
*/
|
|
3239
|
+
createPolicyRules(policyRuleRequest: PolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3240
|
+
/**
|
|
3241
|
+
* Deletes an polciy rule (allow_functions) object.
|
|
3242
|
+
* @param {string} id
|
|
3243
|
+
* @param {*} [options] Override http request option.
|
|
3244
|
+
* @throws {RequiredError}
|
|
3245
|
+
*/
|
|
3246
|
+
deletePolicyRules(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleDeleteResponse>>;
|
|
3247
|
+
/**
|
|
3248
|
+
* Returns a list of your allow functions for the given policy. The allow functions are returned sorted by creation date, with the most recently created allow functions appearing first.
|
|
3249
|
+
* @param {Array<string>} [expand]
|
|
3250
|
+
* @param {string} [policy] Specifies the unique policy ID.
|
|
3251
|
+
* @param {*} [options] Override http request option.
|
|
3252
|
+
* @throws {RequiredError}
|
|
3253
|
+
*/
|
|
3254
|
+
getPolicyRules(expand?: Array<string>, policy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRulesResponse>>;
|
|
3255
|
+
/**
|
|
3256
|
+
* Updates an allow functions object.
|
|
3257
|
+
* @param {string} id Specifies the unique allow function ID.
|
|
3258
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3259
|
+
* @param {*} [options] Override http request option.
|
|
3260
|
+
* @throws {RequiredError}
|
|
3261
|
+
*/
|
|
3262
|
+
updatePolicyRules(id: string, policyRuleRequest: PolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3263
|
+
};
|
|
3264
|
+
/**
|
|
3265
|
+
* PolicyRulesApi - factory interface
|
|
3266
|
+
* @export
|
|
3267
|
+
*/
|
|
3268
|
+
export declare const PolicyRulesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3269
|
+
/**
|
|
3270
|
+
* Creates an allow function object.
|
|
3271
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3272
|
+
* @param {*} [options] Override http request option.
|
|
3273
|
+
* @throws {RequiredError}
|
|
3274
|
+
*/
|
|
3275
|
+
createPolicyRules(policyRuleRequest: PolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3276
|
+
/**
|
|
3277
|
+
* Deletes an polciy rule (allow_functions) object.
|
|
3278
|
+
* @param {string} id
|
|
3279
|
+
* @param {*} [options] Override http request option.
|
|
3280
|
+
* @throws {RequiredError}
|
|
3281
|
+
*/
|
|
3282
|
+
deletePolicyRules(id: string, options?: any): AxiosPromise<PolicyRuleDeleteResponse>;
|
|
3283
|
+
/**
|
|
3284
|
+
* Returns a list of your allow functions for the given policy. The allow functions are returned sorted by creation date, with the most recently created allow functions appearing first.
|
|
3285
|
+
* @param {Array<string>} [expand]
|
|
3286
|
+
* @param {string} [policy] Specifies the unique policy ID.
|
|
3287
|
+
* @param {*} [options] Override http request option.
|
|
3288
|
+
* @throws {RequiredError}
|
|
3289
|
+
*/
|
|
3290
|
+
getPolicyRules(expand?: Array<string>, policy?: string, options?: any): AxiosPromise<PolicyRulesResponse>;
|
|
3291
|
+
/**
|
|
3292
|
+
* Updates an allow functions object.
|
|
3293
|
+
* @param {string} id Specifies the unique allow function ID.
|
|
3294
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3295
|
+
* @param {*} [options] Override http request option.
|
|
3296
|
+
* @throws {RequiredError}
|
|
3297
|
+
*/
|
|
3298
|
+
updatePolicyRules(id: string, policyRuleRequest: PolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3299
|
+
};
|
|
3300
|
+
/**
|
|
3301
|
+
* PolicyRulesApi - object-oriented interface
|
|
3302
|
+
* @export
|
|
3303
|
+
* @class PolicyRulesApi
|
|
3304
|
+
* @extends {BaseAPI}
|
|
3305
|
+
*/
|
|
3306
|
+
export declare class PolicyRulesApi extends BaseAPI {
|
|
3307
|
+
/**
|
|
3308
|
+
* Creates an allow function object.
|
|
3309
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3310
|
+
* @param {*} [options] Override http request option.
|
|
3311
|
+
* @throws {RequiredError}
|
|
3312
|
+
* @memberof PolicyRulesApi
|
|
3313
|
+
*/
|
|
3314
|
+
createPolicyRules(policyRuleRequest: PolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3315
|
+
/**
|
|
3316
|
+
* Deletes an polciy rule (allow_functions) object.
|
|
3317
|
+
* @param {string} id
|
|
3318
|
+
* @param {*} [options] Override http request option.
|
|
3319
|
+
* @throws {RequiredError}
|
|
3320
|
+
* @memberof PolicyRulesApi
|
|
3321
|
+
*/
|
|
3322
|
+
deletePolicyRules(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleDeleteResponse, any>>;
|
|
3323
|
+
/**
|
|
3324
|
+
* Returns a list of your allow functions for the given policy. The allow functions are returned sorted by creation date, with the most recently created allow functions appearing first.
|
|
3325
|
+
* @param {Array<string>} [expand]
|
|
3326
|
+
* @param {string} [policy] Specifies the unique policy ID.
|
|
3327
|
+
* @param {*} [options] Override http request option.
|
|
3328
|
+
* @throws {RequiredError}
|
|
3329
|
+
* @memberof PolicyRulesApi
|
|
3330
|
+
*/
|
|
3331
|
+
getPolicyRules(expand?: Array<string>, policy?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRulesResponse, any>>;
|
|
3332
|
+
/**
|
|
3333
|
+
* Updates an allow functions object.
|
|
3334
|
+
* @param {string} id Specifies the unique allow function ID.
|
|
3335
|
+
* @param {PolicyRuleRequest} policyRuleRequest
|
|
3336
|
+
* @param {*} [options] Override http request option.
|
|
3337
|
+
* @throws {RequiredError}
|
|
3338
|
+
* @memberof PolicyRulesApi
|
|
3339
|
+
*/
|
|
3340
|
+
updatePolicyRules(id: string, policyRuleRequest: PolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3341
|
+
}
|
|
3342
|
+
/**
|
|
3343
|
+
* ProjectsApi - axios parameter creator
|
|
3344
|
+
* @export
|
|
3345
|
+
*/
|
|
3346
|
+
export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3347
|
+
/**
|
|
3348
|
+
* Creates a project object.
|
|
3349
|
+
* @param {ProjectRequest} projectRequest
|
|
3350
|
+
* @param {*} [options] Override http request option.
|
|
3351
|
+
* @throws {RequiredError}
|
|
3352
|
+
*/
|
|
3353
|
+
createProject: (projectRequest: ProjectRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3354
|
+
/**
|
|
3355
|
+
*
|
|
3356
|
+
* @param {string} id
|
|
3357
|
+
* @param {*} [options] Override http request option.
|
|
3358
|
+
* @throws {RequiredError}
|
|
3359
|
+
*/
|
|
3360
|
+
getProject: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3361
|
+
/**
|
|
3362
|
+
*
|
|
3363
|
+
* @param {*} [options] Override http request option.
|
|
3364
|
+
* @throws {RequiredError}
|
|
3365
|
+
*/
|
|
3366
|
+
getProjects: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3367
|
+
/**
|
|
3368
|
+
* Updates a project object.
|
|
3369
|
+
* @param {string} id
|
|
3370
|
+
* @param {ProjectRequest} projectRequest
|
|
3371
|
+
* @param {*} [options] Override http request option.
|
|
3372
|
+
* @throws {RequiredError}
|
|
3373
|
+
*/
|
|
3374
|
+
updateProject: (id: string, projectRequest: ProjectRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3375
|
+
};
|
|
3376
|
+
/**
|
|
3377
|
+
* ProjectsApi - functional programming interface
|
|
3378
|
+
* @export
|
|
3379
|
+
*/
|
|
3380
|
+
export declare const ProjectsApiFp: (configuration?: Configuration) => {
|
|
3381
|
+
/**
|
|
3382
|
+
* Creates a project object.
|
|
3383
|
+
* @param {ProjectRequest} projectRequest
|
|
3384
|
+
* @param {*} [options] Override http request option.
|
|
3385
|
+
* @throws {RequiredError}
|
|
3386
|
+
*/
|
|
3387
|
+
createProject(projectRequest: ProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponse>>;
|
|
3388
|
+
/**
|
|
3389
|
+
*
|
|
3390
|
+
* @param {string} id
|
|
3391
|
+
* @param {*} [options] Override http request option.
|
|
3392
|
+
* @throws {RequiredError}
|
|
3393
|
+
*/
|
|
3394
|
+
getProject(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponse>>;
|
|
3395
|
+
/**
|
|
3396
|
+
*
|
|
3397
|
+
* @param {*} [options] Override http request option.
|
|
3398
|
+
* @throws {RequiredError}
|
|
3399
|
+
*/
|
|
3400
|
+
getProjects(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
|
|
3401
|
+
/**
|
|
3402
|
+
* Updates a project object.
|
|
3403
|
+
* @param {string} id
|
|
3404
|
+
* @param {ProjectRequest} projectRequest
|
|
3405
|
+
* @param {*} [options] Override http request option.
|
|
3406
|
+
* @throws {RequiredError}
|
|
3407
|
+
*/
|
|
3408
|
+
updateProject(id: string, projectRequest: ProjectRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponse>>;
|
|
3409
|
+
};
|
|
3410
|
+
/**
|
|
3411
|
+
* ProjectsApi - factory interface
|
|
3412
|
+
* @export
|
|
3413
|
+
*/
|
|
3414
|
+
export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3415
|
+
/**
|
|
3416
|
+
* Creates a project object.
|
|
3417
|
+
* @param {ProjectRequest} projectRequest
|
|
3418
|
+
* @param {*} [options] Override http request option.
|
|
3419
|
+
* @throws {RequiredError}
|
|
3420
|
+
*/
|
|
3421
|
+
createProject(projectRequest: ProjectRequest, options?: any): AxiosPromise<ProjectResponse>;
|
|
3422
|
+
/**
|
|
3423
|
+
*
|
|
3424
|
+
* @param {string} id
|
|
3425
|
+
* @param {*} [options] Override http request option.
|
|
3426
|
+
* @throws {RequiredError}
|
|
3427
|
+
*/
|
|
3428
|
+
getProject(id: string, options?: any): AxiosPromise<ProjectResponse>;
|
|
3429
|
+
/**
|
|
3430
|
+
*
|
|
3431
|
+
* @param {*} [options] Override http request option.
|
|
3432
|
+
* @throws {RequiredError}
|
|
3433
|
+
*/
|
|
3434
|
+
getProjects(options?: any): AxiosPromise<ProjectsResponse>;
|
|
3435
|
+
/**
|
|
3436
|
+
* Updates a project object.
|
|
3437
|
+
* @param {string} id
|
|
3438
|
+
* @param {ProjectRequest} projectRequest
|
|
3439
|
+
* @param {*} [options] Override http request option.
|
|
3440
|
+
* @throws {RequiredError}
|
|
3441
|
+
*/
|
|
3442
|
+
updateProject(id: string, projectRequest: ProjectRequest, options?: any): AxiosPromise<ProjectResponse>;
|
|
3443
|
+
};
|
|
3444
|
+
/**
|
|
3445
|
+
* ProjectsApi - object-oriented interface
|
|
3446
|
+
* @export
|
|
3447
|
+
* @class ProjectsApi
|
|
3448
|
+
* @extends {BaseAPI}
|
|
3449
|
+
*/
|
|
3450
|
+
export declare class ProjectsApi extends BaseAPI {
|
|
3451
|
+
/**
|
|
3452
|
+
* Creates a project object.
|
|
3453
|
+
* @param {ProjectRequest} projectRequest
|
|
3454
|
+
* @param {*} [options] Override http request option.
|
|
3455
|
+
* @throws {RequiredError}
|
|
3456
|
+
* @memberof ProjectsApi
|
|
3457
|
+
*/
|
|
3458
|
+
createProject(projectRequest: ProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
|
|
3459
|
+
/**
|
|
3460
|
+
*
|
|
3461
|
+
* @param {string} id
|
|
3462
|
+
* @param {*} [options] Override http request option.
|
|
3463
|
+
* @throws {RequiredError}
|
|
3464
|
+
* @memberof ProjectsApi
|
|
3465
|
+
*/
|
|
3466
|
+
getProject(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
|
|
3467
|
+
/**
|
|
3468
|
+
*
|
|
3469
|
+
* @param {*} [options] Override http request option.
|
|
3470
|
+
* @throws {RequiredError}
|
|
3471
|
+
* @memberof ProjectsApi
|
|
3472
|
+
*/
|
|
3473
|
+
getProjects(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
|
|
3474
|
+
/**
|
|
3475
|
+
* Updates a project object.
|
|
3476
|
+
* @param {string} id
|
|
3477
|
+
* @param {ProjectRequest} projectRequest
|
|
3478
|
+
* @param {*} [options] Override http request option.
|
|
3479
|
+
* @throws {RequiredError}
|
|
3480
|
+
* @memberof ProjectsApi
|
|
3481
|
+
*/
|
|
3482
|
+
updateProject(id: string, projectRequest: ProjectRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
|
|
3483
|
+
}
|
|
3484
|
+
/**
|
|
3485
|
+
* SessionsApi - axios parameter creator
|
|
3486
|
+
* @export
|
|
3487
|
+
*/
|
|
3488
|
+
export declare const SessionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3489
|
+
/**
|
|
3490
|
+
* Creates the session for the account.
|
|
3491
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
3492
|
+
* @param {*} [options] Override http request option.
|
|
3493
|
+
* @throws {RequiredError}
|
|
3494
|
+
*/
|
|
3495
|
+
createSession: (createSessionRequest: CreateSessionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3496
|
+
/**
|
|
3497
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
3498
|
+
* @param {string} player
|
|
3499
|
+
* @param {Array<string>} [expand]
|
|
3500
|
+
* @param {number} [limit]
|
|
3501
|
+
* @param {string} [filter]
|
|
3502
|
+
* @param {string} [order]
|
|
3503
|
+
* @param {number} [skip]
|
|
3504
|
+
* @param {*} [options] Override http request option.
|
|
3505
|
+
* @throws {RequiredError}
|
|
3506
|
+
*/
|
|
3507
|
+
getPlayerSessions: (player: string, expand?: Array<string>, limit?: number, filter?: string, order?: string, skip?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3508
|
+
/**
|
|
3509
|
+
* Revokes the session for the account.
|
|
3510
|
+
* @param {RevokeSessionRequest} revokeSessionRequest
|
|
3511
|
+
* @param {*} [options] Override http request option.
|
|
3512
|
+
* @throws {RequiredError}
|
|
3513
|
+
*/
|
|
3514
|
+
revokeSession: (revokeSessionRequest: RevokeSessionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3515
|
+
/**
|
|
3516
|
+
* Confirms the creation of a session with an external owner.
|
|
3517
|
+
* @param {string} id
|
|
3518
|
+
* @param {SignatureRequest} signatureRequest
|
|
3519
|
+
* @param {*} [options] Override http request option.
|
|
3520
|
+
* @throws {RequiredError}
|
|
3521
|
+
*/
|
|
3522
|
+
signatureSession: (id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3523
|
+
};
|
|
3524
|
+
/**
|
|
3525
|
+
* SessionsApi - functional programming interface
|
|
3526
|
+
* @export
|
|
3527
|
+
*/
|
|
3528
|
+
export declare const SessionsApiFp: (configuration?: Configuration) => {
|
|
3529
|
+
/**
|
|
3530
|
+
* Creates the session for the account.
|
|
3531
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
3532
|
+
* @param {*} [options] Override http request option.
|
|
3533
|
+
* @throws {RequiredError}
|
|
3534
|
+
*/
|
|
3535
|
+
createSession(createSessionRequest: CreateSessionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
3536
|
+
/**
|
|
3537
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
3538
|
+
* @param {string} player
|
|
3539
|
+
* @param {Array<string>} [expand]
|
|
3540
|
+
* @param {number} [limit]
|
|
3541
|
+
* @param {string} [filter]
|
|
3542
|
+
* @param {string} [order]
|
|
3543
|
+
* @param {number} [skip]
|
|
3544
|
+
* @param {*} [options] Override http request option.
|
|
3545
|
+
* @throws {RequiredError}
|
|
3546
|
+
*/
|
|
3547
|
+
getPlayerSessions(player: string, expand?: Array<string>, limit?: number, filter?: string, order?: string, skip?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionsResponse>>;
|
|
3548
|
+
/**
|
|
3549
|
+
* Revokes the session for the account.
|
|
3550
|
+
* @param {RevokeSessionRequest} revokeSessionRequest
|
|
3551
|
+
* @param {*} [options] Override http request option.
|
|
3552
|
+
* @throws {RequiredError}
|
|
3553
|
+
*/
|
|
3554
|
+
revokeSession(revokeSessionRequest: RevokeSessionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
3555
|
+
/**
|
|
3556
|
+
* Confirms the creation of a session with an external owner.
|
|
3557
|
+
* @param {string} id
|
|
3558
|
+
* @param {SignatureRequest} signatureRequest
|
|
3559
|
+
* @param {*} [options] Override http request option.
|
|
3560
|
+
* @throws {RequiredError}
|
|
3561
|
+
*/
|
|
3562
|
+
signatureSession(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
3563
|
+
};
|
|
3564
|
+
/**
|
|
3565
|
+
* SessionsApi - factory interface
|
|
3566
|
+
* @export
|
|
3567
|
+
*/
|
|
3568
|
+
export declare const SessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3569
|
+
/**
|
|
3570
|
+
* Creates the session for the account.
|
|
3571
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
3572
|
+
* @param {*} [options] Override http request option.
|
|
3573
|
+
* @throws {RequiredError}
|
|
3574
|
+
*/
|
|
3575
|
+
createSession(createSessionRequest: CreateSessionRequest, options?: any): AxiosPromise<SessionResponse>;
|
|
3576
|
+
/**
|
|
3577
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
3578
|
+
* @param {string} player
|
|
3579
|
+
* @param {Array<string>} [expand]
|
|
3580
|
+
* @param {number} [limit]
|
|
3581
|
+
* @param {string} [filter]
|
|
3582
|
+
* @param {string} [order]
|
|
3583
|
+
* @param {number} [skip]
|
|
3584
|
+
* @param {*} [options] Override http request option.
|
|
3585
|
+
* @throws {RequiredError}
|
|
3586
|
+
*/
|
|
3587
|
+
getPlayerSessions(player: string, expand?: Array<string>, limit?: number, filter?: string, order?: string, skip?: number, options?: any): AxiosPromise<SessionsResponse>;
|
|
3588
|
+
/**
|
|
3589
|
+
* Revokes the session for the account.
|
|
3590
|
+
* @param {RevokeSessionRequest} revokeSessionRequest
|
|
3591
|
+
* @param {*} [options] Override http request option.
|
|
3592
|
+
* @throws {RequiredError}
|
|
3593
|
+
*/
|
|
3594
|
+
revokeSession(revokeSessionRequest: RevokeSessionRequest, options?: any): AxiosPromise<SessionResponse>;
|
|
3595
|
+
/**
|
|
3596
|
+
* Confirms the creation of a session with an external owner.
|
|
3597
|
+
* @param {string} id
|
|
3598
|
+
* @param {SignatureRequest} signatureRequest
|
|
3599
|
+
* @param {*} [options] Override http request option.
|
|
3600
|
+
* @throws {RequiredError}
|
|
3601
|
+
*/
|
|
3602
|
+
signatureSession(id: string, signatureRequest: SignatureRequest, options?: any): AxiosPromise<SessionResponse>;
|
|
3603
|
+
};
|
|
3604
|
+
/**
|
|
3605
|
+
* SessionsApi - object-oriented interface
|
|
3606
|
+
* @export
|
|
3607
|
+
* @class SessionsApi
|
|
3608
|
+
* @extends {BaseAPI}
|
|
3609
|
+
*/
|
|
3610
|
+
export declare class SessionsApi extends BaseAPI {
|
|
3611
|
+
/**
|
|
3612
|
+
* Creates the session for the account.
|
|
3613
|
+
* @param {CreateSessionRequest} createSessionRequest
|
|
3614
|
+
* @param {*} [options] Override http request option.
|
|
3615
|
+
* @throws {RequiredError}
|
|
3616
|
+
* @memberof SessionsApi
|
|
3617
|
+
*/
|
|
3618
|
+
createSession(createSessionRequest: CreateSessionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
3619
|
+
/**
|
|
3620
|
+
* Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
|
|
3621
|
+
* @param {string} player
|
|
3622
|
+
* @param {Array<string>} [expand]
|
|
3623
|
+
* @param {number} [limit]
|
|
3624
|
+
* @param {string} [filter]
|
|
3625
|
+
* @param {string} [order]
|
|
3626
|
+
* @param {number} [skip]
|
|
3627
|
+
* @param {*} [options] Override http request option.
|
|
3628
|
+
* @throws {RequiredError}
|
|
3629
|
+
* @memberof SessionsApi
|
|
3630
|
+
*/
|
|
3631
|
+
getPlayerSessions(player: string, expand?: Array<string>, limit?: number, filter?: string, order?: string, skip?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionsResponse, any>>;
|
|
3632
|
+
/**
|
|
3633
|
+
* Revokes the session for the account.
|
|
3634
|
+
* @param {RevokeSessionRequest} revokeSessionRequest
|
|
3635
|
+
* @param {*} [options] Override http request option.
|
|
3636
|
+
* @throws {RequiredError}
|
|
3637
|
+
* @memberof SessionsApi
|
|
3638
|
+
*/
|
|
3639
|
+
revokeSession(revokeSessionRequest: RevokeSessionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
3640
|
+
/**
|
|
3641
|
+
* Confirms the creation of a session with an external owner.
|
|
3642
|
+
* @param {string} id
|
|
3643
|
+
* @param {SignatureRequest} signatureRequest
|
|
3644
|
+
* @param {*} [options] Override http request option.
|
|
3645
|
+
* @throws {RequiredError}
|
|
3646
|
+
* @memberof SessionsApi
|
|
3647
|
+
*/
|
|
3648
|
+
signatureSession(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
3649
|
+
}
|
|
3650
|
+
/**
|
|
3651
|
+
* TransactionIntentsApi - axios parameter creator
|
|
3652
|
+
* @export
|
|
3653
|
+
*/
|
|
3654
|
+
export declare const TransactionIntentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3655
|
+
/**
|
|
3656
|
+
* Creates a transaction intent object.
|
|
3657
|
+
* @param {TransactionIntentRequest} transactionIntentRequest
|
|
3658
|
+
* @param {*} [options] Override http request option.
|
|
3659
|
+
* @throws {RequiredError}
|
|
3660
|
+
*/
|
|
3661
|
+
createTransactionIntent: (transactionIntentRequest: TransactionIntentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3662
|
+
/**
|
|
3663
|
+
* Retrieves a transaction intent object.
|
|
3664
|
+
* @param {string} id
|
|
3665
|
+
* @param {*} [options] Override http request option.
|
|
3666
|
+
* @throws {RequiredError}
|
|
3667
|
+
*/
|
|
3668
|
+
getTransactionIntent: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3669
|
+
/**
|
|
3670
|
+
* Returns a list of transaction intents for the given project. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
3671
|
+
* @param {Array<string>} [expand]
|
|
3672
|
+
* @param {number} [limit]
|
|
3673
|
+
* @param {string} [filter]
|
|
3674
|
+
* @param {SortOrder} [order]
|
|
3675
|
+
* @param {number} [skip]
|
|
3676
|
+
* @param {*} [options] Override http request option.
|
|
3677
|
+
* @throws {RequiredError}
|
|
3678
|
+
*/
|
|
3679
|
+
getTransactionIntents: (expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3680
|
+
/**
|
|
3681
|
+
* Confirms the creation of a transaction intent with an external owner.
|
|
3682
|
+
* @param {string} id
|
|
3683
|
+
* @param {SignatureRequest} signatureRequest
|
|
3684
|
+
* @param {*} [options] Override http request option.
|
|
3685
|
+
* @throws {RequiredError}
|
|
3686
|
+
*/
|
|
3687
|
+
signature: (id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3688
|
+
/**
|
|
3689
|
+
*
|
|
3690
|
+
* @param {string} id
|
|
3691
|
+
* @param {*} [options] Override http request option.
|
|
3692
|
+
* @throws {RequiredError}
|
|
3693
|
+
*/
|
|
3694
|
+
updateTransactionIntentResponse: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3695
|
+
/**
|
|
3696
|
+
*
|
|
3697
|
+
* @param {*} [options] Override http request option.
|
|
3698
|
+
* @throws {RequiredError}
|
|
3699
|
+
*/
|
|
3700
|
+
updateTransactionIntentsResponse: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3701
|
+
};
|
|
3702
|
+
/**
|
|
3703
|
+
* TransactionIntentsApi - functional programming interface
|
|
3704
|
+
* @export
|
|
3705
|
+
*/
|
|
3706
|
+
export declare const TransactionIntentsApiFp: (configuration?: Configuration) => {
|
|
3707
|
+
/**
|
|
3708
|
+
* Creates a transaction intent object.
|
|
3709
|
+
* @param {TransactionIntentRequest} transactionIntentRequest
|
|
3710
|
+
* @param {*} [options] Override http request option.
|
|
3711
|
+
* @throws {RequiredError}
|
|
3712
|
+
*/
|
|
3713
|
+
createTransactionIntent(transactionIntentRequest: TransactionIntentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
3714
|
+
/**
|
|
3715
|
+
* Retrieves a transaction intent object.
|
|
3716
|
+
* @param {string} id
|
|
3717
|
+
* @param {*} [options] Override http request option.
|
|
3718
|
+
* @throws {RequiredError}
|
|
3719
|
+
*/
|
|
3720
|
+
getTransactionIntent(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
3721
|
+
/**
|
|
3722
|
+
* Returns a list of transaction intents for the given project. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
3723
|
+
* @param {Array<string>} [expand]
|
|
3724
|
+
* @param {number} [limit]
|
|
3725
|
+
* @param {string} [filter]
|
|
3726
|
+
* @param {SortOrder} [order]
|
|
3727
|
+
* @param {number} [skip]
|
|
3728
|
+
* @param {*} [options] Override http request option.
|
|
3729
|
+
* @throws {RequiredError}
|
|
3730
|
+
*/
|
|
3731
|
+
getTransactionIntents(expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentsResponse>>;
|
|
3732
|
+
/**
|
|
3733
|
+
* Confirms the creation of a transaction intent with an external owner.
|
|
3734
|
+
* @param {string} id
|
|
3735
|
+
* @param {SignatureRequest} signatureRequest
|
|
3736
|
+
* @param {*} [options] Override http request option.
|
|
3737
|
+
* @throws {RequiredError}
|
|
3738
|
+
*/
|
|
3739
|
+
signature(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
3740
|
+
/**
|
|
3741
|
+
*
|
|
3742
|
+
* @param {string} id
|
|
3743
|
+
* @param {*} [options] Override http request option.
|
|
3744
|
+
* @throws {RequiredError}
|
|
3745
|
+
*/
|
|
3746
|
+
updateTransactionIntentResponse(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @param {*} [options] Override http request option.
|
|
3750
|
+
* @throws {RequiredError}
|
|
3751
|
+
*/
|
|
3752
|
+
updateTransactionIntentsResponse(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentsResponse>>;
|
|
3753
|
+
};
|
|
3754
|
+
/**
|
|
3755
|
+
* TransactionIntentsApi - factory interface
|
|
3756
|
+
* @export
|
|
3757
|
+
*/
|
|
3758
|
+
export declare const TransactionIntentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3759
|
+
/**
|
|
3760
|
+
* Creates a transaction intent object.
|
|
3761
|
+
* @param {TransactionIntentRequest} transactionIntentRequest
|
|
3762
|
+
* @param {*} [options] Override http request option.
|
|
3763
|
+
* @throws {RequiredError}
|
|
3764
|
+
*/
|
|
3765
|
+
createTransactionIntent(transactionIntentRequest: TransactionIntentRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
3766
|
+
/**
|
|
3767
|
+
* Retrieves a transaction intent object.
|
|
3768
|
+
* @param {string} id
|
|
3769
|
+
* @param {*} [options] Override http request option.
|
|
3770
|
+
* @throws {RequiredError}
|
|
3771
|
+
*/
|
|
3772
|
+
getTransactionIntent(id: string, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
3773
|
+
/**
|
|
3774
|
+
* Returns a list of transaction intents for the given project. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
3775
|
+
* @param {Array<string>} [expand]
|
|
3776
|
+
* @param {number} [limit]
|
|
3777
|
+
* @param {string} [filter]
|
|
3778
|
+
* @param {SortOrder} [order]
|
|
3779
|
+
* @param {number} [skip]
|
|
3780
|
+
* @param {*} [options] Override http request option.
|
|
3781
|
+
* @throws {RequiredError}
|
|
3782
|
+
*/
|
|
3783
|
+
getTransactionIntents(expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: any): AxiosPromise<TransactionIntentsResponse>;
|
|
3784
|
+
/**
|
|
3785
|
+
* Confirms the creation of a transaction intent with an external owner.
|
|
3786
|
+
* @param {string} id
|
|
3787
|
+
* @param {SignatureRequest} signatureRequest
|
|
3788
|
+
* @param {*} [options] Override http request option.
|
|
3789
|
+
* @throws {RequiredError}
|
|
3790
|
+
*/
|
|
3791
|
+
signature(id: string, signatureRequest: SignatureRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
3792
|
+
/**
|
|
3793
|
+
*
|
|
3794
|
+
* @param {string} id
|
|
3795
|
+
* @param {*} [options] Override http request option.
|
|
3796
|
+
* @throws {RequiredError}
|
|
3797
|
+
*/
|
|
3798
|
+
updateTransactionIntentResponse(id: string, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
3799
|
+
/**
|
|
3800
|
+
*
|
|
3801
|
+
* @param {*} [options] Override http request option.
|
|
3802
|
+
* @throws {RequiredError}
|
|
3803
|
+
*/
|
|
3804
|
+
updateTransactionIntentsResponse(options?: any): AxiosPromise<TransactionIntentsResponse>;
|
|
3805
|
+
};
|
|
3806
|
+
/**
|
|
3807
|
+
* TransactionIntentsApi - object-oriented interface
|
|
3808
|
+
* @export
|
|
3809
|
+
* @class TransactionIntentsApi
|
|
3810
|
+
* @extends {BaseAPI}
|
|
3811
|
+
*/
|
|
3812
|
+
export declare class TransactionIntentsApi extends BaseAPI {
|
|
3813
|
+
/**
|
|
3814
|
+
* Creates a transaction intent object.
|
|
3815
|
+
* @param {TransactionIntentRequest} transactionIntentRequest
|
|
3816
|
+
* @param {*} [options] Override http request option.
|
|
3817
|
+
* @throws {RequiredError}
|
|
3818
|
+
* @memberof TransactionIntentsApi
|
|
3819
|
+
*/
|
|
3820
|
+
createTransactionIntent(transactionIntentRequest: TransactionIntentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
3821
|
+
/**
|
|
3822
|
+
* Retrieves a transaction intent object.
|
|
3823
|
+
* @param {string} id
|
|
3824
|
+
* @param {*} [options] Override http request option.
|
|
3825
|
+
* @throws {RequiredError}
|
|
3826
|
+
* @memberof TransactionIntentsApi
|
|
3827
|
+
*/
|
|
3828
|
+
getTransactionIntent(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
3829
|
+
/**
|
|
3830
|
+
* Returns a list of transaction intents for the given project. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
3831
|
+
* @param {Array<string>} [expand]
|
|
3832
|
+
* @param {number} [limit]
|
|
3833
|
+
* @param {string} [filter]
|
|
3834
|
+
* @param {SortOrder} [order]
|
|
3835
|
+
* @param {number} [skip]
|
|
3836
|
+
* @param {*} [options] Override http request option.
|
|
3837
|
+
* @throws {RequiredError}
|
|
3838
|
+
* @memberof TransactionIntentsApi
|
|
3839
|
+
*/
|
|
3840
|
+
getTransactionIntents(expand?: Array<string>, limit?: number, filter?: string, order?: SortOrder, skip?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentsResponse, any>>;
|
|
3841
|
+
/**
|
|
3842
|
+
* Confirms the creation of a transaction intent with an external owner.
|
|
3843
|
+
* @param {string} id
|
|
3844
|
+
* @param {SignatureRequest} signatureRequest
|
|
3845
|
+
* @param {*} [options] Override http request option.
|
|
3846
|
+
* @throws {RequiredError}
|
|
3847
|
+
* @memberof TransactionIntentsApi
|
|
3848
|
+
*/
|
|
3849
|
+
signature(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
3850
|
+
/**
|
|
3851
|
+
*
|
|
3852
|
+
* @param {string} id
|
|
3853
|
+
* @param {*} [options] Override http request option.
|
|
3854
|
+
* @throws {RequiredError}
|
|
3855
|
+
* @memberof TransactionIntentsApi
|
|
3856
|
+
*/
|
|
3857
|
+
updateTransactionIntentResponse(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
3858
|
+
/**
|
|
3859
|
+
*
|
|
3860
|
+
* @param {*} [options] Override http request option.
|
|
3861
|
+
* @throws {RequiredError}
|
|
3862
|
+
* @memberof TransactionIntentsApi
|
|
3863
|
+
*/
|
|
3864
|
+
updateTransactionIntentsResponse(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentsResponse, any>>;
|
|
3865
|
+
}
|