@openfort/openfort-js 0.2.6 → 0.3.0
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/dist/generated/api.d.ts +443 -341
- package/dist/generated/api.js +107 -99
- package/dist/generated/api.js.map +1 -1
- package/dist/version.d.ts +2 -0
- package/dist/version.js +6 -0
- package/dist/version.js.map +1 -0
- package/package.json +3 -2
- package/tsconfig.tsbuildinfo +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -13,50 +13,6 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
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
16
|
/**
|
|
61
17
|
*
|
|
62
18
|
* @export
|
|
@@ -80,7 +36,7 @@ export interface AccountResponse {
|
|
|
80
36
|
* @type {number}
|
|
81
37
|
* @memberof AccountResponse
|
|
82
38
|
*/
|
|
83
|
-
'
|
|
39
|
+
'createdAt': number;
|
|
84
40
|
/**
|
|
85
41
|
*
|
|
86
42
|
* @type {string}
|
|
@@ -104,13 +60,13 @@ export interface AccountResponse {
|
|
|
104
60
|
* @type {number}
|
|
105
61
|
* @memberof AccountResponse
|
|
106
62
|
*/
|
|
107
|
-
'
|
|
63
|
+
'chainId': number;
|
|
108
64
|
/**
|
|
109
65
|
*
|
|
110
66
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
111
67
|
* @memberof AccountResponse
|
|
112
68
|
*/
|
|
113
|
-
'
|
|
69
|
+
'transactionIntents': Array<PolicyResponseTransactionIntentsInner>;
|
|
114
70
|
}
|
|
115
71
|
/**
|
|
116
72
|
*
|
|
@@ -148,7 +104,7 @@ export interface ApiKeyResponse {
|
|
|
148
104
|
* @type {number}
|
|
149
105
|
* @memberof ApiKeyResponse
|
|
150
106
|
*/
|
|
151
|
-
'
|
|
107
|
+
'createdAt': number;
|
|
152
108
|
/**
|
|
153
109
|
*
|
|
154
110
|
* @type {string}
|
|
@@ -179,7 +135,7 @@ export interface AssetInventory {
|
|
|
179
135
|
* @type {AssetType}
|
|
180
136
|
* @memberof AssetInventory
|
|
181
137
|
*/
|
|
182
|
-
'
|
|
138
|
+
'assetType': AssetType;
|
|
183
139
|
/**
|
|
184
140
|
*
|
|
185
141
|
* @type {string}
|
|
@@ -191,7 +147,7 @@ export interface AssetInventory {
|
|
|
191
147
|
* @type {number}
|
|
192
148
|
* @memberof AssetInventory
|
|
193
149
|
*/
|
|
194
|
-
'
|
|
150
|
+
'tokenId'?: number;
|
|
195
151
|
/**
|
|
196
152
|
* amount in Wei
|
|
197
153
|
* @type {string}
|
|
@@ -236,43 +192,6 @@ export interface ContractDeleteResponse {
|
|
|
236
192
|
*/
|
|
237
193
|
'deleted': boolean;
|
|
238
194
|
}
|
|
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 {any}
|
|
266
|
-
* @memberof ContractRequest
|
|
267
|
-
*/
|
|
268
|
-
'abi'?: any;
|
|
269
|
-
/**
|
|
270
|
-
*
|
|
271
|
-
* @type {boolean}
|
|
272
|
-
* @memberof ContractRequest
|
|
273
|
-
*/
|
|
274
|
-
'public_verification'?: boolean;
|
|
275
|
-
}
|
|
276
195
|
/**
|
|
277
196
|
*
|
|
278
197
|
* @export
|
|
@@ -296,7 +215,7 @@ export interface ContractResponse {
|
|
|
296
215
|
* @type {number}
|
|
297
216
|
* @memberof ContractResponse
|
|
298
217
|
*/
|
|
299
|
-
'
|
|
218
|
+
'createdAt': number;
|
|
300
219
|
/**
|
|
301
220
|
*
|
|
302
221
|
* @type {string}
|
|
@@ -308,7 +227,7 @@ export interface ContractResponse {
|
|
|
308
227
|
* @type {number}
|
|
309
228
|
* @memberof ContractResponse
|
|
310
229
|
*/
|
|
311
|
-
'
|
|
230
|
+
'chainId': number;
|
|
312
231
|
/**
|
|
313
232
|
*
|
|
314
233
|
* @type {string}
|
|
@@ -317,16 +236,16 @@ export interface ContractResponse {
|
|
|
317
236
|
'address': string;
|
|
318
237
|
/**
|
|
319
238
|
*
|
|
320
|
-
* @type {
|
|
239
|
+
* @type {Array<JsonFragment>}
|
|
321
240
|
* @memberof ContractResponse
|
|
322
241
|
*/
|
|
323
|
-
'abi':
|
|
242
|
+
'abi': Array<JsonFragment>;
|
|
324
243
|
/**
|
|
325
244
|
*
|
|
326
245
|
* @type {boolean}
|
|
327
246
|
* @memberof ContractResponse
|
|
328
247
|
*/
|
|
329
|
-
'
|
|
248
|
+
'publicVerification': boolean;
|
|
330
249
|
}
|
|
331
250
|
/**
|
|
332
251
|
*
|
|
@@ -353,6 +272,87 @@ export interface ContractsResponse {
|
|
|
353
272
|
*/
|
|
354
273
|
'data': Array<ContractResponse>;
|
|
355
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @export
|
|
278
|
+
* @interface CreateAccountRequest
|
|
279
|
+
*/
|
|
280
|
+
export interface CreateAccountRequest {
|
|
281
|
+
/**
|
|
282
|
+
* The chain id
|
|
283
|
+
* @type {number}
|
|
284
|
+
* @memberof CreateAccountRequest
|
|
285
|
+
*/
|
|
286
|
+
'chainId': number;
|
|
287
|
+
/**
|
|
288
|
+
* The player ID
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof CreateAccountRequest
|
|
291
|
+
*/
|
|
292
|
+
'player': string;
|
|
293
|
+
/**
|
|
294
|
+
* The address of the external owner
|
|
295
|
+
* @type {string}
|
|
296
|
+
* @memberof CreateAccountRequest
|
|
297
|
+
*/
|
|
298
|
+
'externalOwnerAddress'?: string;
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
*
|
|
302
|
+
* @export
|
|
303
|
+
* @interface CreateContractRequest
|
|
304
|
+
*/
|
|
305
|
+
export interface CreateContractRequest {
|
|
306
|
+
/**
|
|
307
|
+
*
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof CreateContractRequest
|
|
310
|
+
*/
|
|
311
|
+
'name': string;
|
|
312
|
+
/**
|
|
313
|
+
*
|
|
314
|
+
* @type {number}
|
|
315
|
+
* @memberof CreateContractRequest
|
|
316
|
+
*/
|
|
317
|
+
'chainId': number;
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @type {string}
|
|
321
|
+
* @memberof CreateContractRequest
|
|
322
|
+
*/
|
|
323
|
+
'address': string;
|
|
324
|
+
/**
|
|
325
|
+
*
|
|
326
|
+
* @type {any}
|
|
327
|
+
* @memberof CreateContractRequest
|
|
328
|
+
*/
|
|
329
|
+
'abi'?: any;
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {boolean}
|
|
333
|
+
* @memberof CreateContractRequest
|
|
334
|
+
*/
|
|
335
|
+
'publicVerification'?: boolean;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @export
|
|
340
|
+
* @interface CreatePlayerAccountRequest
|
|
341
|
+
*/
|
|
342
|
+
export interface CreatePlayerAccountRequest {
|
|
343
|
+
/**
|
|
344
|
+
* The chain id
|
|
345
|
+
* @type {number}
|
|
346
|
+
* @memberof CreatePlayerAccountRequest
|
|
347
|
+
*/
|
|
348
|
+
'chainId': number;
|
|
349
|
+
/**
|
|
350
|
+
* The address of the external owner
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof CreatePlayerAccountRequest
|
|
353
|
+
*/
|
|
354
|
+
'externalOwnerAddress'?: string;
|
|
355
|
+
}
|
|
356
356
|
/**
|
|
357
357
|
*
|
|
358
358
|
* @export
|
|
@@ -372,6 +372,31 @@ export interface CreatePlayerRequest {
|
|
|
372
372
|
*/
|
|
373
373
|
'description'?: string;
|
|
374
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
* @export
|
|
378
|
+
* @interface CreatePolicyAllowFunctionRequest
|
|
379
|
+
*/
|
|
380
|
+
export interface CreatePolicyAllowFunctionRequest {
|
|
381
|
+
/**
|
|
382
|
+
*
|
|
383
|
+
* @type {PolicySchema}
|
|
384
|
+
* @memberof CreatePolicyAllowFunctionRequest
|
|
385
|
+
*/
|
|
386
|
+
'type': PolicySchema;
|
|
387
|
+
/**
|
|
388
|
+
*
|
|
389
|
+
* @type {string}
|
|
390
|
+
* @memberof CreatePolicyAllowFunctionRequest
|
|
391
|
+
*/
|
|
392
|
+
'functionName': string | null;
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {string}
|
|
396
|
+
* @memberof CreatePolicyAllowFunctionRequest
|
|
397
|
+
*/
|
|
398
|
+
'contract': string | null;
|
|
399
|
+
}
|
|
375
400
|
/**
|
|
376
401
|
*
|
|
377
402
|
* @export
|
|
@@ -389,7 +414,7 @@ export interface CreatePolicyRequest {
|
|
|
389
414
|
* @type {number}
|
|
390
415
|
* @memberof CreatePolicyRequest
|
|
391
416
|
*/
|
|
392
|
-
'
|
|
417
|
+
'chainId': number;
|
|
393
418
|
/**
|
|
394
419
|
*
|
|
395
420
|
* @type {PolicyStrategy}
|
|
@@ -397,6 +422,37 @@ export interface CreatePolicyRequest {
|
|
|
397
422
|
*/
|
|
398
423
|
'strategy': PolicyStrategy;
|
|
399
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
* @export
|
|
428
|
+
* @interface CreatePolicyRuleRequest
|
|
429
|
+
*/
|
|
430
|
+
export interface CreatePolicyRuleRequest {
|
|
431
|
+
/**
|
|
432
|
+
*
|
|
433
|
+
* @type {PolicySchema}
|
|
434
|
+
* @memberof CreatePolicyRuleRequest
|
|
435
|
+
*/
|
|
436
|
+
'type': PolicySchema;
|
|
437
|
+
/**
|
|
438
|
+
*
|
|
439
|
+
* @type {string}
|
|
440
|
+
* @memberof CreatePolicyRuleRequest
|
|
441
|
+
*/
|
|
442
|
+
'functionName': string | null;
|
|
443
|
+
/**
|
|
444
|
+
*
|
|
445
|
+
* @type {string}
|
|
446
|
+
* @memberof CreatePolicyRuleRequest
|
|
447
|
+
*/
|
|
448
|
+
'contract': string | null;
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @type {string}
|
|
452
|
+
* @memberof CreatePolicyRuleRequest
|
|
453
|
+
*/
|
|
454
|
+
'policy': string;
|
|
455
|
+
}
|
|
400
456
|
/**
|
|
401
457
|
*
|
|
402
458
|
* @export
|
|
@@ -426,25 +482,25 @@ export interface CreateSessionPlayerRequest {
|
|
|
426
482
|
* @type {string}
|
|
427
483
|
* @memberof CreateSessionPlayerRequest
|
|
428
484
|
*/
|
|
429
|
-
'
|
|
485
|
+
'externalOwnerAddress'?: string;
|
|
430
486
|
/**
|
|
431
487
|
*
|
|
432
488
|
* @type {number}
|
|
433
489
|
* @memberof CreateSessionPlayerRequest
|
|
434
490
|
*/
|
|
435
|
-
'
|
|
491
|
+
'chainId': number;
|
|
436
492
|
/**
|
|
437
493
|
*
|
|
438
494
|
* @type {number}
|
|
439
495
|
* @memberof CreateSessionPlayerRequest
|
|
440
496
|
*/
|
|
441
|
-
'
|
|
497
|
+
'validUntil': number;
|
|
442
498
|
/**
|
|
443
499
|
*
|
|
444
500
|
* @type {number}
|
|
445
501
|
* @memberof CreateSessionPlayerRequest
|
|
446
502
|
*/
|
|
447
|
-
'
|
|
503
|
+
'validAfter': number;
|
|
448
504
|
/**
|
|
449
505
|
*
|
|
450
506
|
* @type {number}
|
|
@@ -487,7 +543,7 @@ export interface CreateSessionRequest {
|
|
|
487
543
|
* @type {string}
|
|
488
544
|
* @memberof CreateSessionRequest
|
|
489
545
|
*/
|
|
490
|
-
'
|
|
546
|
+
'externalOwnerAddress'?: string;
|
|
491
547
|
/**
|
|
492
548
|
*
|
|
493
549
|
* @type {string}
|
|
@@ -499,19 +555,19 @@ export interface CreateSessionRequest {
|
|
|
499
555
|
* @type {number}
|
|
500
556
|
* @memberof CreateSessionRequest
|
|
501
557
|
*/
|
|
502
|
-
'
|
|
558
|
+
'chainId': number;
|
|
503
559
|
/**
|
|
504
560
|
*
|
|
505
561
|
* @type {number}
|
|
506
562
|
* @memberof CreateSessionRequest
|
|
507
563
|
*/
|
|
508
|
-
'
|
|
564
|
+
'validUntil': number;
|
|
509
565
|
/**
|
|
510
566
|
*
|
|
511
567
|
* @type {number}
|
|
512
568
|
* @memberof CreateSessionRequest
|
|
513
569
|
*/
|
|
514
|
-
'
|
|
570
|
+
'validAfter': number;
|
|
515
571
|
/**
|
|
516
572
|
*
|
|
517
573
|
* @type {number}
|
|
@@ -594,25 +650,25 @@ export interface Interaction {
|
|
|
594
650
|
* @type {string}
|
|
595
651
|
* @memberof Interaction
|
|
596
652
|
*/
|
|
597
|
-
'contract'
|
|
653
|
+
'contract'?: string;
|
|
598
654
|
/**
|
|
599
655
|
*
|
|
600
656
|
* @type {string}
|
|
601
657
|
* @memberof Interaction
|
|
602
658
|
*/
|
|
603
|
-
'value'?: string
|
|
659
|
+
'value'?: string;
|
|
604
660
|
/**
|
|
605
661
|
*
|
|
606
662
|
* @type {string}
|
|
607
663
|
* @memberof Interaction
|
|
608
664
|
*/
|
|
609
|
-
'
|
|
665
|
+
'functionName': string;
|
|
610
666
|
/**
|
|
611
667
|
*
|
|
612
668
|
* @type {Array<any>}
|
|
613
669
|
* @memberof Interaction
|
|
614
670
|
*/
|
|
615
|
-
'
|
|
671
|
+
'functionArgs': Array<any>;
|
|
616
672
|
}
|
|
617
673
|
/**
|
|
618
674
|
*
|
|
@@ -631,19 +687,80 @@ export interface InventoryResponse {
|
|
|
631
687
|
* @type {Array<AssetInventory>}
|
|
632
688
|
* @memberof InventoryResponse
|
|
633
689
|
*/
|
|
634
|
-
'
|
|
690
|
+
'nftAssets'?: Array<AssetInventory>;
|
|
635
691
|
/**
|
|
636
692
|
*
|
|
637
693
|
* @type {AssetInventory}
|
|
638
694
|
* @memberof InventoryResponse
|
|
639
695
|
*/
|
|
640
|
-
'
|
|
696
|
+
'nativeAsset'?: AssetInventory;
|
|
641
697
|
/**
|
|
642
698
|
*
|
|
643
699
|
* @type {Array<AssetInventory>}
|
|
644
700
|
* @memberof InventoryResponse
|
|
645
701
|
*/
|
|
646
|
-
'
|
|
702
|
+
'tokenAssets'?: Array<AssetInventory>;
|
|
703
|
+
}
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @export
|
|
707
|
+
* @interface JsonFragment
|
|
708
|
+
*/
|
|
709
|
+
export interface JsonFragment {
|
|
710
|
+
/**
|
|
711
|
+
*
|
|
712
|
+
* @type {string}
|
|
713
|
+
* @memberof JsonFragment
|
|
714
|
+
*/
|
|
715
|
+
'name'?: string;
|
|
716
|
+
/**
|
|
717
|
+
*
|
|
718
|
+
* @type {string}
|
|
719
|
+
* @memberof JsonFragment
|
|
720
|
+
*/
|
|
721
|
+
'type'?: string;
|
|
722
|
+
/**
|
|
723
|
+
*
|
|
724
|
+
* @type {boolean}
|
|
725
|
+
* @memberof JsonFragment
|
|
726
|
+
*/
|
|
727
|
+
'anonymous'?: boolean;
|
|
728
|
+
/**
|
|
729
|
+
*
|
|
730
|
+
* @type {boolean}
|
|
731
|
+
* @memberof JsonFragment
|
|
732
|
+
*/
|
|
733
|
+
'payable'?: boolean;
|
|
734
|
+
/**
|
|
735
|
+
*
|
|
736
|
+
* @type {boolean}
|
|
737
|
+
* @memberof JsonFragment
|
|
738
|
+
*/
|
|
739
|
+
'constant'?: boolean;
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @type {string}
|
|
743
|
+
* @memberof JsonFragment
|
|
744
|
+
*/
|
|
745
|
+
'stateMutability'?: string;
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @type {object}
|
|
749
|
+
* @memberof JsonFragment
|
|
750
|
+
*/
|
|
751
|
+
'inputs'?: object;
|
|
752
|
+
/**
|
|
753
|
+
*
|
|
754
|
+
* @type {object}
|
|
755
|
+
* @memberof JsonFragment
|
|
756
|
+
*/
|
|
757
|
+
'outputs'?: object;
|
|
758
|
+
/**
|
|
759
|
+
*
|
|
760
|
+
* @type {string}
|
|
761
|
+
* @memberof JsonFragment
|
|
762
|
+
*/
|
|
763
|
+
'gas'?: string;
|
|
647
764
|
}
|
|
648
765
|
/**
|
|
649
766
|
*
|
|
@@ -706,6 +823,53 @@ export interface Log {
|
|
|
706
823
|
*/
|
|
707
824
|
'logIndex': number;
|
|
708
825
|
}
|
|
826
|
+
/**
|
|
827
|
+
*
|
|
828
|
+
* @export
|
|
829
|
+
* @interface NextActionPayload
|
|
830
|
+
*/
|
|
831
|
+
export interface NextActionPayload {
|
|
832
|
+
/**
|
|
833
|
+
*
|
|
834
|
+
* @type {any}
|
|
835
|
+
* @memberof NextActionPayload
|
|
836
|
+
*/
|
|
837
|
+
'userOp'?: any;
|
|
838
|
+
/**
|
|
839
|
+
*
|
|
840
|
+
* @type {string}
|
|
841
|
+
* @memberof NextActionPayload
|
|
842
|
+
*/
|
|
843
|
+
'userOpHash'?: string;
|
|
844
|
+
}
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @export
|
|
848
|
+
* @interface NextActionResponse
|
|
849
|
+
*/
|
|
850
|
+
export interface NextActionResponse {
|
|
851
|
+
/**
|
|
852
|
+
*
|
|
853
|
+
* @type {NextActionType}
|
|
854
|
+
* @memberof NextActionResponse
|
|
855
|
+
*/
|
|
856
|
+
'type': NextActionType;
|
|
857
|
+
/**
|
|
858
|
+
*
|
|
859
|
+
* @type {NextActionPayload}
|
|
860
|
+
* @memberof NextActionResponse
|
|
861
|
+
*/
|
|
862
|
+
'payload': NextActionPayload;
|
|
863
|
+
}
|
|
864
|
+
/**
|
|
865
|
+
*
|
|
866
|
+
* @export
|
|
867
|
+
* @enum {string}
|
|
868
|
+
*/
|
|
869
|
+
export declare const NextActionType: {
|
|
870
|
+
readonly SignWithWallet: "sign_with_wallet";
|
|
871
|
+
};
|
|
872
|
+
export type NextActionType = typeof NextActionType[keyof typeof NextActionType];
|
|
709
873
|
/**
|
|
710
874
|
* Enums
|
|
711
875
|
* @export
|
|
@@ -834,7 +998,7 @@ export interface PlayerResponse {
|
|
|
834
998
|
* @type {number}
|
|
835
999
|
* @memberof PlayerResponse
|
|
836
1000
|
*/
|
|
837
|
-
'
|
|
1001
|
+
'createdAt': number;
|
|
838
1002
|
/**
|
|
839
1003
|
*
|
|
840
1004
|
* @type {string}
|
|
@@ -864,7 +1028,7 @@ export interface PlayerResponse {
|
|
|
864
1028
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
865
1029
|
* @memberof PlayerResponse
|
|
866
1030
|
*/
|
|
867
|
-
'
|
|
1031
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
868
1032
|
/**
|
|
869
1033
|
*
|
|
870
1034
|
* @type {Array<TransactionIntentResponseAccount>}
|
|
@@ -885,17 +1049,17 @@ export interface PlayerTransferOwnershipRequest {
|
|
|
885
1049
|
*/
|
|
886
1050
|
'policy': string;
|
|
887
1051
|
/**
|
|
888
|
-
* The
|
|
1052
|
+
* The chain id where the account is.
|
|
889
1053
|
* @type {number}
|
|
890
1054
|
* @memberof PlayerTransferOwnershipRequest
|
|
891
1055
|
*/
|
|
892
|
-
'
|
|
1056
|
+
'chainId': number;
|
|
893
1057
|
/**
|
|
894
1058
|
* The address of the new owner
|
|
895
1059
|
* @type {string}
|
|
896
1060
|
* @memberof PlayerTransferOwnershipRequest
|
|
897
1061
|
*/
|
|
898
|
-
'
|
|
1062
|
+
'newOwnerAddress': string;
|
|
899
1063
|
/**
|
|
900
1064
|
* The player ID
|
|
901
1065
|
* @type {string}
|
|
@@ -953,31 +1117,6 @@ export interface PoliciesResponse {
|
|
|
953
1117
|
*/
|
|
954
1118
|
'data': Array<PolicyResponse>;
|
|
955
1119
|
}
|
|
956
|
-
/**
|
|
957
|
-
*
|
|
958
|
-
* @export
|
|
959
|
-
* @interface PolicyAllowFunctionRequest
|
|
960
|
-
*/
|
|
961
|
-
export interface PolicyAllowFunctionRequest {
|
|
962
|
-
/**
|
|
963
|
-
*
|
|
964
|
-
* @type {PolicySchema}
|
|
965
|
-
* @memberof PolicyAllowFunctionRequest
|
|
966
|
-
*/
|
|
967
|
-
'type': PolicySchema;
|
|
968
|
-
/**
|
|
969
|
-
*
|
|
970
|
-
* @type {string}
|
|
971
|
-
* @memberof PolicyAllowFunctionRequest
|
|
972
|
-
*/
|
|
973
|
-
'function_name': string | null;
|
|
974
|
-
/**
|
|
975
|
-
*
|
|
976
|
-
* @type {string}
|
|
977
|
-
* @memberof PolicyAllowFunctionRequest
|
|
978
|
-
*/
|
|
979
|
-
'contract': string | null;
|
|
980
|
-
}
|
|
981
1120
|
/**
|
|
982
1121
|
*
|
|
983
1122
|
* @export
|
|
@@ -1026,7 +1165,7 @@ export interface PolicyResponse {
|
|
|
1026
1165
|
* @type {number}
|
|
1027
1166
|
* @memberof PolicyResponse
|
|
1028
1167
|
*/
|
|
1029
|
-
'
|
|
1168
|
+
'createdAt': number;
|
|
1030
1169
|
/**
|
|
1031
1170
|
*
|
|
1032
1171
|
* @type {string}
|
|
@@ -1038,7 +1177,7 @@ export interface PolicyResponse {
|
|
|
1038
1177
|
* @type {number}
|
|
1039
1178
|
* @memberof PolicyResponse
|
|
1040
1179
|
*/
|
|
1041
|
-
'
|
|
1180
|
+
'chainId': number;
|
|
1042
1181
|
/**
|
|
1043
1182
|
*
|
|
1044
1183
|
* @type {PolicyStrategy}
|
|
@@ -1050,13 +1189,13 @@ export interface PolicyResponse {
|
|
|
1050
1189
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
1051
1190
|
* @memberof PolicyResponse
|
|
1052
1191
|
*/
|
|
1053
|
-
'
|
|
1192
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
1054
1193
|
/**
|
|
1055
1194
|
*
|
|
1056
1195
|
* @type {Array<PolicyResponsePolicyRulesInner>}
|
|
1057
1196
|
* @memberof PolicyResponse
|
|
1058
1197
|
*/
|
|
1059
|
-
'
|
|
1198
|
+
'policyRules'?: Array<PolicyResponsePolicyRulesInner>;
|
|
1060
1199
|
}
|
|
1061
1200
|
/**
|
|
1062
1201
|
*
|
|
@@ -1081,7 +1220,7 @@ export interface PolicyResponsePolicyRulesInner {
|
|
|
1081
1220
|
* @type {number}
|
|
1082
1221
|
* @memberof PolicyResponsePolicyRulesInner
|
|
1083
1222
|
*/
|
|
1084
|
-
'
|
|
1223
|
+
'createdAt': number;
|
|
1085
1224
|
/**
|
|
1086
1225
|
*
|
|
1087
1226
|
* @type {PolicySchema}
|
|
@@ -1093,7 +1232,7 @@ export interface PolicyResponsePolicyRulesInner {
|
|
|
1093
1232
|
* @type {string}
|
|
1094
1233
|
* @memberof PolicyResponsePolicyRulesInner
|
|
1095
1234
|
*/
|
|
1096
|
-
'
|
|
1235
|
+
'functionName': string | null;
|
|
1097
1236
|
/**
|
|
1098
1237
|
*
|
|
1099
1238
|
* @type {PolicyRuleResponseContract}
|
|
@@ -1124,67 +1263,67 @@ export interface PolicyResponseTransactionIntentsInner {
|
|
|
1124
1263
|
* @type {number}
|
|
1125
1264
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1126
1265
|
*/
|
|
1127
|
-
'
|
|
1266
|
+
'createdAt': number;
|
|
1128
1267
|
/**
|
|
1129
1268
|
*
|
|
1130
1269
|
* @type {number}
|
|
1131
1270
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1132
1271
|
*/
|
|
1133
|
-
'
|
|
1272
|
+
'updatedAt': number;
|
|
1134
1273
|
/**
|
|
1135
1274
|
*
|
|
1136
1275
|
* @type {number}
|
|
1137
1276
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1138
1277
|
*/
|
|
1139
|
-
'
|
|
1278
|
+
'chainId': number;
|
|
1140
1279
|
/**
|
|
1141
1280
|
*
|
|
1142
1281
|
* @type {string}
|
|
1143
1282
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1144
1283
|
*/
|
|
1145
|
-
'
|
|
1284
|
+
'userOperationHash'?: string;
|
|
1146
1285
|
/**
|
|
1147
1286
|
*
|
|
1148
1287
|
* @type {any}
|
|
1149
1288
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1150
1289
|
*/
|
|
1151
|
-
'
|
|
1290
|
+
'userOperation'?: any;
|
|
1152
1291
|
/**
|
|
1153
1292
|
*
|
|
1154
|
-
* @type {
|
|
1293
|
+
* @type {NextActionResponse}
|
|
1155
1294
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1156
1295
|
*/
|
|
1157
|
-
'
|
|
1296
|
+
'nextAction'?: NextActionResponse;
|
|
1158
1297
|
/**
|
|
1159
1298
|
*
|
|
1160
|
-
* @type {
|
|
1299
|
+
* @type {ResponseResponse}
|
|
1161
1300
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1162
1301
|
*/
|
|
1163
|
-
'
|
|
1302
|
+
'response'?: ResponseResponse;
|
|
1164
1303
|
/**
|
|
1165
1304
|
*
|
|
1166
|
-
* @type {
|
|
1305
|
+
* @type {TransactionIntentResponsePolicy}
|
|
1167
1306
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1168
1307
|
*/
|
|
1169
|
-
'
|
|
1308
|
+
'policy'?: TransactionIntentResponsePolicy;
|
|
1170
1309
|
/**
|
|
1171
1310
|
*
|
|
1172
|
-
* @type {
|
|
1311
|
+
* @type {TransactionIntentResponsePlayer}
|
|
1173
1312
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1174
1313
|
*/
|
|
1175
|
-
'
|
|
1314
|
+
'player'?: TransactionIntentResponsePlayer;
|
|
1176
1315
|
/**
|
|
1177
1316
|
*
|
|
1178
|
-
* @type {
|
|
1317
|
+
* @type {TransactionIntentResponseAccount}
|
|
1179
1318
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1180
1319
|
*/
|
|
1181
|
-
'
|
|
1320
|
+
'account'?: TransactionIntentResponseAccount;
|
|
1182
1321
|
/**
|
|
1183
1322
|
*
|
|
1184
|
-
* @type {
|
|
1323
|
+
* @type {Array<Interaction>}
|
|
1185
1324
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1186
1325
|
*/
|
|
1187
|
-
'
|
|
1326
|
+
'interactions'?: Array<Interaction>;
|
|
1188
1327
|
}
|
|
1189
1328
|
/**
|
|
1190
1329
|
*
|
|
@@ -1211,37 +1350,6 @@ export interface PolicyRuleDeleteResponse {
|
|
|
1211
1350
|
*/
|
|
1212
1351
|
'deleted': boolean;
|
|
1213
1352
|
}
|
|
1214
|
-
/**
|
|
1215
|
-
*
|
|
1216
|
-
* @export
|
|
1217
|
-
* @interface PolicyRuleRequest
|
|
1218
|
-
*/
|
|
1219
|
-
export interface PolicyRuleRequest {
|
|
1220
|
-
/**
|
|
1221
|
-
*
|
|
1222
|
-
* @type {PolicySchema}
|
|
1223
|
-
* @memberof PolicyRuleRequest
|
|
1224
|
-
*/
|
|
1225
|
-
'type': PolicySchema;
|
|
1226
|
-
/**
|
|
1227
|
-
*
|
|
1228
|
-
* @type {string}
|
|
1229
|
-
* @memberof PolicyRuleRequest
|
|
1230
|
-
*/
|
|
1231
|
-
'function_name': string | null;
|
|
1232
|
-
/**
|
|
1233
|
-
*
|
|
1234
|
-
* @type {string}
|
|
1235
|
-
* @memberof PolicyRuleRequest
|
|
1236
|
-
*/
|
|
1237
|
-
'policy': string;
|
|
1238
|
-
/**
|
|
1239
|
-
*
|
|
1240
|
-
* @type {string}
|
|
1241
|
-
* @memberof PolicyRuleRequest
|
|
1242
|
-
*/
|
|
1243
|
-
'contract': string | null;
|
|
1244
|
-
}
|
|
1245
1353
|
/**
|
|
1246
1354
|
*
|
|
1247
1355
|
* @export
|
|
@@ -1265,7 +1373,7 @@ export interface PolicyRuleResponse {
|
|
|
1265
1373
|
* @type {number}
|
|
1266
1374
|
* @memberof PolicyRuleResponse
|
|
1267
1375
|
*/
|
|
1268
|
-
'
|
|
1376
|
+
'createdAt': number;
|
|
1269
1377
|
/**
|
|
1270
1378
|
*
|
|
1271
1379
|
* @type {PolicySchema}
|
|
@@ -1277,7 +1385,7 @@ export interface PolicyRuleResponse {
|
|
|
1277
1385
|
* @type {string}
|
|
1278
1386
|
* @memberof PolicyRuleResponse
|
|
1279
1387
|
*/
|
|
1280
|
-
'
|
|
1388
|
+
'functionName': string | null;
|
|
1281
1389
|
/**
|
|
1282
1390
|
*
|
|
1283
1391
|
* @type {PolicyRuleResponseContract}
|
|
@@ -1308,7 +1416,7 @@ export interface PolicyRuleResponseContract {
|
|
|
1308
1416
|
* @type {number}
|
|
1309
1417
|
* @memberof PolicyRuleResponseContract
|
|
1310
1418
|
*/
|
|
1311
|
-
'
|
|
1419
|
+
'createdAt': number;
|
|
1312
1420
|
/**
|
|
1313
1421
|
*
|
|
1314
1422
|
* @type {string}
|
|
@@ -1320,7 +1428,7 @@ export interface PolicyRuleResponseContract {
|
|
|
1320
1428
|
* @type {number}
|
|
1321
1429
|
* @memberof PolicyRuleResponseContract
|
|
1322
1430
|
*/
|
|
1323
|
-
'
|
|
1431
|
+
'chainId': number;
|
|
1324
1432
|
/**
|
|
1325
1433
|
*
|
|
1326
1434
|
* @type {string}
|
|
@@ -1329,47 +1437,16 @@ export interface PolicyRuleResponseContract {
|
|
|
1329
1437
|
'address': string;
|
|
1330
1438
|
/**
|
|
1331
1439
|
*
|
|
1332
|
-
* @type {
|
|
1440
|
+
* @type {Array<JsonFragment>}
|
|
1333
1441
|
* @memberof PolicyRuleResponseContract
|
|
1334
1442
|
*/
|
|
1335
|
-
'abi':
|
|
1443
|
+
'abi': Array<JsonFragment>;
|
|
1336
1444
|
/**
|
|
1337
1445
|
*
|
|
1338
1446
|
* @type {boolean}
|
|
1339
1447
|
* @memberof PolicyRuleResponseContract
|
|
1340
1448
|
*/
|
|
1341
|
-
'
|
|
1342
|
-
}
|
|
1343
|
-
/**
|
|
1344
|
-
*
|
|
1345
|
-
* @export
|
|
1346
|
-
* @interface PolicyRuleUpdateRequest
|
|
1347
|
-
*/
|
|
1348
|
-
export interface PolicyRuleUpdateRequest {
|
|
1349
|
-
/**
|
|
1350
|
-
*
|
|
1351
|
-
* @type {PolicySchema}
|
|
1352
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1353
|
-
*/
|
|
1354
|
-
'type'?: PolicySchema;
|
|
1355
|
-
/**
|
|
1356
|
-
*
|
|
1357
|
-
* @type {string}
|
|
1358
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1359
|
-
*/
|
|
1360
|
-
'function_name': string | null;
|
|
1361
|
-
/**
|
|
1362
|
-
*
|
|
1363
|
-
* @type {string}
|
|
1364
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1365
|
-
*/
|
|
1366
|
-
'policy'?: string;
|
|
1367
|
-
/**
|
|
1368
|
-
*
|
|
1369
|
-
* @type {string}
|
|
1370
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1371
|
-
*/
|
|
1372
|
-
'contract': string | null;
|
|
1449
|
+
'publicVerification': boolean;
|
|
1373
1450
|
}
|
|
1374
1451
|
/**
|
|
1375
1452
|
*
|
|
@@ -1417,19 +1494,19 @@ export interface PolicyStrategy {
|
|
|
1417
1494
|
* @type {SponsorSchema}
|
|
1418
1495
|
* @memberof PolicyStrategy
|
|
1419
1496
|
*/
|
|
1420
|
-
'
|
|
1497
|
+
'sponsorSchema': SponsorSchema;
|
|
1421
1498
|
/**
|
|
1422
1499
|
*
|
|
1423
1500
|
* @type {string}
|
|
1424
1501
|
* @memberof PolicyStrategy
|
|
1425
1502
|
*/
|
|
1426
|
-
'
|
|
1503
|
+
'tokenContract'?: string;
|
|
1427
1504
|
/**
|
|
1428
1505
|
*
|
|
1429
1506
|
* @type {string}
|
|
1430
1507
|
* @memberof PolicyStrategy
|
|
1431
1508
|
*/
|
|
1432
|
-
'
|
|
1509
|
+
'tokenContractAmount'?: string;
|
|
1433
1510
|
}
|
|
1434
1511
|
/**
|
|
1435
1512
|
*
|
|
@@ -1473,13 +1550,13 @@ export interface ProjectRequest {
|
|
|
1473
1550
|
* @type {PKPolicy}
|
|
1474
1551
|
* @memberof ProjectRequest
|
|
1475
1552
|
*/
|
|
1476
|
-
'
|
|
1553
|
+
'pkPolicy'?: PKPolicy;
|
|
1477
1554
|
/**
|
|
1478
1555
|
*
|
|
1479
1556
|
* @type {PKLocation}
|
|
1480
1557
|
* @memberof ProjectRequest
|
|
1481
1558
|
*/
|
|
1482
|
-
'
|
|
1559
|
+
'pkLocation'?: PKLocation;
|
|
1483
1560
|
}
|
|
1484
1561
|
/**
|
|
1485
1562
|
*
|
|
@@ -1504,13 +1581,13 @@ export interface ProjectResponse {
|
|
|
1504
1581
|
* @type {number}
|
|
1505
1582
|
* @memberof ProjectResponse
|
|
1506
1583
|
*/
|
|
1507
|
-
'
|
|
1584
|
+
'createdAt': number;
|
|
1508
1585
|
/**
|
|
1509
1586
|
*
|
|
1510
1587
|
* @type {number}
|
|
1511
1588
|
* @memberof ProjectResponse
|
|
1512
1589
|
*/
|
|
1513
|
-
'
|
|
1590
|
+
'updatedAt': number;
|
|
1514
1591
|
/**
|
|
1515
1592
|
*
|
|
1516
1593
|
* @type {string}
|
|
@@ -1522,7 +1599,7 @@ export interface ProjectResponse {
|
|
|
1522
1599
|
* @type {PKPolicy}
|
|
1523
1600
|
* @memberof ProjectResponse
|
|
1524
1601
|
*/
|
|
1525
|
-
'
|
|
1602
|
+
'pkPolicy': PKPolicy;
|
|
1526
1603
|
/**
|
|
1527
1604
|
*
|
|
1528
1605
|
* @type {Array<ApiKeyResponse>}
|
|
@@ -1566,43 +1643,43 @@ export interface ResponseResponse {
|
|
|
1566
1643
|
* @type {number}
|
|
1567
1644
|
* @memberof ResponseResponse
|
|
1568
1645
|
*/
|
|
1569
|
-
'
|
|
1646
|
+
'createdAt': number;
|
|
1570
1647
|
/**
|
|
1571
1648
|
*
|
|
1572
1649
|
* @type {number}
|
|
1573
1650
|
* @memberof ResponseResponse
|
|
1574
1651
|
*/
|
|
1575
|
-
'
|
|
1652
|
+
'blockNumber'?: number;
|
|
1576
1653
|
/**
|
|
1577
1654
|
*
|
|
1578
1655
|
* @type {string}
|
|
1579
1656
|
* @memberof ResponseResponse
|
|
1580
1657
|
*/
|
|
1581
|
-
'
|
|
1658
|
+
'transactionHash'?: string;
|
|
1582
1659
|
/**
|
|
1583
1660
|
*
|
|
1584
1661
|
* @type {number}
|
|
1585
1662
|
* @memberof ResponseResponse
|
|
1586
1663
|
*/
|
|
1587
|
-
'
|
|
1664
|
+
'gasUsed'?: number;
|
|
1588
1665
|
/**
|
|
1589
1666
|
*
|
|
1590
1667
|
* @type {number}
|
|
1591
1668
|
* @memberof ResponseResponse
|
|
1592
1669
|
*/
|
|
1593
|
-
'status'?: number
|
|
1670
|
+
'status'?: number;
|
|
1594
1671
|
/**
|
|
1595
1672
|
*
|
|
1596
1673
|
* @type {Array<Log>}
|
|
1597
1674
|
* @memberof ResponseResponse
|
|
1598
1675
|
*/
|
|
1599
|
-
'logs'?: Array<Log
|
|
1676
|
+
'logs'?: Array<Log>;
|
|
1600
1677
|
/**
|
|
1601
1678
|
*
|
|
1602
1679
|
* @type {string}
|
|
1603
1680
|
* @memberof ResponseResponse
|
|
1604
1681
|
*/
|
|
1605
|
-
'to'?: string
|
|
1682
|
+
'to'?: string;
|
|
1606
1683
|
/**
|
|
1607
1684
|
*
|
|
1608
1685
|
* @type {any}
|
|
@@ -1639,7 +1716,7 @@ export interface RevokeSessionPlayerRequest {
|
|
|
1639
1716
|
* @type {number}
|
|
1640
1717
|
* @memberof RevokeSessionPlayerRequest
|
|
1641
1718
|
*/
|
|
1642
|
-
'
|
|
1719
|
+
'chainId': number;
|
|
1643
1720
|
}
|
|
1644
1721
|
/**
|
|
1645
1722
|
*
|
|
@@ -1658,7 +1735,7 @@ export interface RevokeSessionRequest {
|
|
|
1658
1735
|
* @type {number}
|
|
1659
1736
|
* @memberof RevokeSessionRequest
|
|
1660
1737
|
*/
|
|
1661
|
-
'
|
|
1738
|
+
'chainId': number;
|
|
1662
1739
|
/**
|
|
1663
1740
|
*
|
|
1664
1741
|
* @type {boolean}
|
|
@@ -1701,19 +1778,19 @@ export interface SessionResponse {
|
|
|
1701
1778
|
* @type {number}
|
|
1702
1779
|
* @memberof SessionResponse
|
|
1703
1780
|
*/
|
|
1704
|
-
'
|
|
1781
|
+
'createdAt': number;
|
|
1705
1782
|
/**
|
|
1706
1783
|
*
|
|
1707
1784
|
* @type {number}
|
|
1708
1785
|
* @memberof SessionResponse
|
|
1709
1786
|
*/
|
|
1710
|
-
'
|
|
1787
|
+
'updatedAt': number;
|
|
1711
1788
|
/**
|
|
1712
1789
|
*
|
|
1713
1790
|
* @type {boolean}
|
|
1714
1791
|
* @memberof SessionResponse
|
|
1715
1792
|
*/
|
|
1716
|
-
'
|
|
1793
|
+
'isActive'?: boolean;
|
|
1717
1794
|
/**
|
|
1718
1795
|
*
|
|
1719
1796
|
* @type {string}
|
|
@@ -1725,13 +1802,13 @@ export interface SessionResponse {
|
|
|
1725
1802
|
* @type {string}
|
|
1726
1803
|
* @memberof SessionResponse
|
|
1727
1804
|
*/
|
|
1728
|
-
'
|
|
1805
|
+
'validAfter'?: string;
|
|
1729
1806
|
/**
|
|
1730
1807
|
*
|
|
1731
1808
|
* @type {string}
|
|
1732
1809
|
* @memberof SessionResponse
|
|
1733
1810
|
*/
|
|
1734
|
-
'
|
|
1811
|
+
'validUntil'?: string;
|
|
1735
1812
|
/**
|
|
1736
1813
|
*
|
|
1737
1814
|
* @type {Array<string>}
|
|
@@ -1746,16 +1823,16 @@ export interface SessionResponse {
|
|
|
1746
1823
|
'limit'?: number;
|
|
1747
1824
|
/**
|
|
1748
1825
|
*
|
|
1749
|
-
* @type {
|
|
1826
|
+
* @type {NextActionResponse}
|
|
1750
1827
|
* @memberof SessionResponse
|
|
1751
1828
|
*/
|
|
1752
|
-
'
|
|
1829
|
+
'nextAction'?: NextActionResponse;
|
|
1753
1830
|
/**
|
|
1754
1831
|
*
|
|
1755
1832
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
1756
1833
|
* @memberof SessionResponse
|
|
1757
1834
|
*/
|
|
1758
|
-
'
|
|
1835
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
1759
1836
|
}
|
|
1760
1837
|
/**
|
|
1761
1838
|
*
|
|
@@ -1941,7 +2018,7 @@ export interface TransactionIntentRequest {
|
|
|
1941
2018
|
* @type {number}
|
|
1942
2019
|
* @memberof TransactionIntentRequest
|
|
1943
2020
|
*/
|
|
1944
|
-
'
|
|
2021
|
+
'chainId': number;
|
|
1945
2022
|
/**
|
|
1946
2023
|
*
|
|
1947
2024
|
* @type {string}
|
|
@@ -1953,7 +2030,7 @@ export interface TransactionIntentRequest {
|
|
|
1953
2030
|
* @type {string}
|
|
1954
2031
|
* @memberof TransactionIntentRequest
|
|
1955
2032
|
*/
|
|
1956
|
-
'
|
|
2033
|
+
'externalOwnerAddress'?: string;
|
|
1957
2034
|
/**
|
|
1958
2035
|
*
|
|
1959
2036
|
* @type {boolean}
|
|
@@ -1990,67 +2067,67 @@ export interface TransactionIntentResponse {
|
|
|
1990
2067
|
* @type {number}
|
|
1991
2068
|
* @memberof TransactionIntentResponse
|
|
1992
2069
|
*/
|
|
1993
|
-
'
|
|
2070
|
+
'createdAt': number;
|
|
1994
2071
|
/**
|
|
1995
2072
|
*
|
|
1996
2073
|
* @type {number}
|
|
1997
2074
|
* @memberof TransactionIntentResponse
|
|
1998
2075
|
*/
|
|
1999
|
-
'
|
|
2076
|
+
'updatedAt': number;
|
|
2000
2077
|
/**
|
|
2001
2078
|
*
|
|
2002
2079
|
* @type {number}
|
|
2003
2080
|
* @memberof TransactionIntentResponse
|
|
2004
2081
|
*/
|
|
2005
|
-
'
|
|
2082
|
+
'chainId': number;
|
|
2006
2083
|
/**
|
|
2007
2084
|
*
|
|
2008
2085
|
* @type {string}
|
|
2009
2086
|
* @memberof TransactionIntentResponse
|
|
2010
2087
|
*/
|
|
2011
|
-
'
|
|
2088
|
+
'userOperationHash'?: string;
|
|
2012
2089
|
/**
|
|
2013
2090
|
*
|
|
2014
2091
|
* @type {any}
|
|
2015
2092
|
* @memberof TransactionIntentResponse
|
|
2016
2093
|
*/
|
|
2017
|
-
'
|
|
2094
|
+
'userOperation'?: any;
|
|
2018
2095
|
/**
|
|
2019
2096
|
*
|
|
2020
|
-
* @type {
|
|
2097
|
+
* @type {NextActionResponse}
|
|
2021
2098
|
* @memberof TransactionIntentResponse
|
|
2022
2099
|
*/
|
|
2023
|
-
'
|
|
2100
|
+
'nextAction'?: NextActionResponse;
|
|
2024
2101
|
/**
|
|
2025
2102
|
*
|
|
2026
|
-
* @type {
|
|
2103
|
+
* @type {ResponseResponse}
|
|
2027
2104
|
* @memberof TransactionIntentResponse
|
|
2028
2105
|
*/
|
|
2029
|
-
'
|
|
2106
|
+
'response'?: ResponseResponse;
|
|
2030
2107
|
/**
|
|
2031
2108
|
*
|
|
2032
|
-
* @type {
|
|
2109
|
+
* @type {TransactionIntentResponsePolicy}
|
|
2033
2110
|
* @memberof TransactionIntentResponse
|
|
2034
2111
|
*/
|
|
2035
|
-
'
|
|
2112
|
+
'policy'?: TransactionIntentResponsePolicy;
|
|
2036
2113
|
/**
|
|
2037
2114
|
*
|
|
2038
|
-
* @type {
|
|
2115
|
+
* @type {TransactionIntentResponsePlayer}
|
|
2039
2116
|
* @memberof TransactionIntentResponse
|
|
2040
2117
|
*/
|
|
2041
|
-
'
|
|
2118
|
+
'player'?: TransactionIntentResponsePlayer;
|
|
2042
2119
|
/**
|
|
2043
2120
|
*
|
|
2044
|
-
* @type {
|
|
2121
|
+
* @type {TransactionIntentResponseAccount}
|
|
2045
2122
|
* @memberof TransactionIntentResponse
|
|
2046
2123
|
*/
|
|
2047
|
-
'
|
|
2124
|
+
'account'?: TransactionIntentResponseAccount;
|
|
2048
2125
|
/**
|
|
2049
2126
|
*
|
|
2050
|
-
* @type {
|
|
2127
|
+
* @type {Array<Interaction>}
|
|
2051
2128
|
* @memberof TransactionIntentResponse
|
|
2052
2129
|
*/
|
|
2053
|
-
'
|
|
2130
|
+
'interactions'?: Array<Interaction>;
|
|
2054
2131
|
}
|
|
2055
2132
|
/**
|
|
2056
2133
|
*
|
|
@@ -2075,7 +2152,7 @@ export interface TransactionIntentResponseAccount {
|
|
|
2075
2152
|
* @type {number}
|
|
2076
2153
|
* @memberof TransactionIntentResponseAccount
|
|
2077
2154
|
*/
|
|
2078
|
-
'
|
|
2155
|
+
'createdAt': number;
|
|
2079
2156
|
/**
|
|
2080
2157
|
*
|
|
2081
2158
|
* @type {string}
|
|
@@ -2099,13 +2176,13 @@ export interface TransactionIntentResponseAccount {
|
|
|
2099
2176
|
* @type {number}
|
|
2100
2177
|
* @memberof TransactionIntentResponseAccount
|
|
2101
2178
|
*/
|
|
2102
|
-
'
|
|
2179
|
+
'chainId': number;
|
|
2103
2180
|
/**
|
|
2104
2181
|
*
|
|
2105
2182
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
2106
2183
|
* @memberof TransactionIntentResponseAccount
|
|
2107
2184
|
*/
|
|
2108
|
-
'
|
|
2185
|
+
'transactionIntents': Array<PolicyResponseTransactionIntentsInner>;
|
|
2109
2186
|
}
|
|
2110
2187
|
/**
|
|
2111
2188
|
*
|
|
@@ -2130,7 +2207,7 @@ export interface TransactionIntentResponsePlayer {
|
|
|
2130
2207
|
* @type {number}
|
|
2131
2208
|
* @memberof TransactionIntentResponsePlayer
|
|
2132
2209
|
*/
|
|
2133
|
-
'
|
|
2210
|
+
'createdAt': number;
|
|
2134
2211
|
/**
|
|
2135
2212
|
*
|
|
2136
2213
|
* @type {string}
|
|
@@ -2160,7 +2237,7 @@ export interface TransactionIntentResponsePlayer {
|
|
|
2160
2237
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
2161
2238
|
* @memberof TransactionIntentResponsePlayer
|
|
2162
2239
|
*/
|
|
2163
|
-
'
|
|
2240
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
2164
2241
|
/**
|
|
2165
2242
|
*
|
|
2166
2243
|
* @type {Array<TransactionIntentResponseAccount>}
|
|
@@ -2191,7 +2268,7 @@ export interface TransactionIntentResponsePolicy {
|
|
|
2191
2268
|
* @type {number}
|
|
2192
2269
|
* @memberof TransactionIntentResponsePolicy
|
|
2193
2270
|
*/
|
|
2194
|
-
'
|
|
2271
|
+
'createdAt': number;
|
|
2195
2272
|
/**
|
|
2196
2273
|
*
|
|
2197
2274
|
* @type {string}
|
|
@@ -2203,7 +2280,7 @@ export interface TransactionIntentResponsePolicy {
|
|
|
2203
2280
|
* @type {number}
|
|
2204
2281
|
* @memberof TransactionIntentResponsePolicy
|
|
2205
2282
|
*/
|
|
2206
|
-
'
|
|
2283
|
+
'chainId': number;
|
|
2207
2284
|
/**
|
|
2208
2285
|
*
|
|
2209
2286
|
* @type {PolicyStrategy}
|
|
@@ -2215,13 +2292,13 @@ export interface TransactionIntentResponsePolicy {
|
|
|
2215
2292
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
2216
2293
|
* @memberof TransactionIntentResponsePolicy
|
|
2217
2294
|
*/
|
|
2218
|
-
'
|
|
2295
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
2219
2296
|
/**
|
|
2220
2297
|
*
|
|
2221
2298
|
* @type {Array<PolicyResponsePolicyRulesInner>}
|
|
2222
2299
|
* @memberof TransactionIntentResponsePolicy
|
|
2223
2300
|
*/
|
|
2224
|
-
'
|
|
2301
|
+
'policyRules'?: Array<PolicyResponsePolicyRulesInner>;
|
|
2225
2302
|
}
|
|
2226
2303
|
/**
|
|
2227
2304
|
*
|
|
@@ -2259,7 +2336,7 @@ export interface TransferOwnershipRequest {
|
|
|
2259
2336
|
* @type {string}
|
|
2260
2337
|
* @memberof TransferOwnershipRequest
|
|
2261
2338
|
*/
|
|
2262
|
-
'
|
|
2339
|
+
'newOwnerAddress': string;
|
|
2263
2340
|
/**
|
|
2264
2341
|
* The policy ID
|
|
2265
2342
|
* @type {string}
|
|
@@ -2303,7 +2380,7 @@ export interface UpdatePolicyRequest {
|
|
|
2303
2380
|
* @type {number}
|
|
2304
2381
|
* @memberof UpdatePolicyRequest
|
|
2305
2382
|
*/
|
|
2306
|
-
'
|
|
2383
|
+
'chainId'?: number;
|
|
2307
2384
|
/**
|
|
2308
2385
|
*
|
|
2309
2386
|
* @type {PolicyStrategy}
|
|
@@ -2311,6 +2388,31 @@ export interface UpdatePolicyRequest {
|
|
|
2311
2388
|
*/
|
|
2312
2389
|
'strategy'?: PolicyStrategy;
|
|
2313
2390
|
}
|
|
2391
|
+
/**
|
|
2392
|
+
*
|
|
2393
|
+
* @export
|
|
2394
|
+
* @interface UpdatePolicyRuleRequest
|
|
2395
|
+
*/
|
|
2396
|
+
export interface UpdatePolicyRuleRequest {
|
|
2397
|
+
/**
|
|
2398
|
+
*
|
|
2399
|
+
* @type {PolicySchema}
|
|
2400
|
+
* @memberof UpdatePolicyRuleRequest
|
|
2401
|
+
*/
|
|
2402
|
+
'type': PolicySchema;
|
|
2403
|
+
/**
|
|
2404
|
+
*
|
|
2405
|
+
* @type {string}
|
|
2406
|
+
* @memberof UpdatePolicyRuleRequest
|
|
2407
|
+
*/
|
|
2408
|
+
'functionName': string | null;
|
|
2409
|
+
/**
|
|
2410
|
+
*
|
|
2411
|
+
* @type {string}
|
|
2412
|
+
* @memberof UpdatePolicyRuleRequest
|
|
2413
|
+
*/
|
|
2414
|
+
'contract': string | null;
|
|
2415
|
+
}
|
|
2314
2416
|
/**
|
|
2315
2417
|
* AccountsApi - axios parameter creator
|
|
2316
2418
|
* @export
|
|
@@ -2318,11 +2420,11 @@ export interface UpdatePolicyRequest {
|
|
|
2318
2420
|
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2319
2421
|
/**
|
|
2320
2422
|
* Creates an account object.
|
|
2321
|
-
* @param {
|
|
2423
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2322
2424
|
* @param {*} [options] Override http request option.
|
|
2323
2425
|
* @throws {RequiredError}
|
|
2324
2426
|
*/
|
|
2325
|
-
createAccount: (
|
|
2427
|
+
createAccount: (createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2326
2428
|
/**
|
|
2327
2429
|
* 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.
|
|
2328
2430
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2371,11 +2473,11 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2371
2473
|
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
2372
2474
|
/**
|
|
2373
2475
|
* Creates an account object.
|
|
2374
|
-
* @param {
|
|
2476
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2375
2477
|
* @param {*} [options] Override http request option.
|
|
2376
2478
|
* @throws {RequiredError}
|
|
2377
2479
|
*/
|
|
2378
|
-
createAccount(
|
|
2480
|
+
createAccount(createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
2379
2481
|
/**
|
|
2380
2482
|
* 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.
|
|
2381
2483
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2424,11 +2526,11 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
2424
2526
|
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2425
2527
|
/**
|
|
2426
2528
|
* Creates an account object.
|
|
2427
|
-
* @param {
|
|
2529
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2428
2530
|
* @param {*} [options] Override http request option.
|
|
2429
2531
|
* @throws {RequiredError}
|
|
2430
2532
|
*/
|
|
2431
|
-
createAccount(
|
|
2533
|
+
createAccount(createAccountRequest: CreateAccountRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
2432
2534
|
/**
|
|
2433
2535
|
* 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.
|
|
2434
2536
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2479,12 +2581,12 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
2479
2581
|
export declare class AccountsApi extends BaseAPI {
|
|
2480
2582
|
/**
|
|
2481
2583
|
* Creates an account object.
|
|
2482
|
-
* @param {
|
|
2584
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2483
2585
|
* @param {*} [options] Override http request option.
|
|
2484
2586
|
* @throws {RequiredError}
|
|
2485
2587
|
* @memberof AccountsApi
|
|
2486
2588
|
*/
|
|
2487
|
-
createAccount(
|
|
2589
|
+
createAccount(createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
2488
2590
|
/**
|
|
2489
2591
|
* 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.
|
|
2490
2592
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2538,11 +2640,11 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
2538
2640
|
export declare const ContractsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2539
2641
|
/**
|
|
2540
2642
|
* Creates a contract object.
|
|
2541
|
-
* @param {
|
|
2643
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2542
2644
|
* @param {*} [options] Override http request option.
|
|
2543
2645
|
* @throws {RequiredError}
|
|
2544
2646
|
*/
|
|
2545
|
-
createContract: (
|
|
2647
|
+
createContract: (createContractRequest: CreateContractRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2546
2648
|
/**
|
|
2547
2649
|
* Deletes a contract object.
|
|
2548
2650
|
* @param {string} id
|
|
@@ -2574,11 +2676,11 @@ export declare const ContractsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2574
2676
|
export declare const ContractsApiFp: (configuration?: Configuration) => {
|
|
2575
2677
|
/**
|
|
2576
2678
|
* Creates a contract object.
|
|
2577
|
-
* @param {
|
|
2679
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2578
2680
|
* @param {*} [options] Override http request option.
|
|
2579
2681
|
* @throws {RequiredError}
|
|
2580
2682
|
*/
|
|
2581
|
-
createContract(
|
|
2683
|
+
createContract(createContractRequest: CreateContractRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
|
|
2582
2684
|
/**
|
|
2583
2685
|
* Deletes a contract object.
|
|
2584
2686
|
* @param {string} id
|
|
@@ -2610,11 +2712,11 @@ export declare const ContractsApiFp: (configuration?: Configuration) => {
|
|
|
2610
2712
|
export declare const ContractsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2611
2713
|
/**
|
|
2612
2714
|
* Creates a contract object.
|
|
2613
|
-
* @param {
|
|
2715
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2614
2716
|
* @param {*} [options] Override http request option.
|
|
2615
2717
|
* @throws {RequiredError}
|
|
2616
2718
|
*/
|
|
2617
|
-
createContract(
|
|
2719
|
+
createContract(createContractRequest: CreateContractRequest, options?: any): AxiosPromise<ContractResponse>;
|
|
2618
2720
|
/**
|
|
2619
2721
|
* Deletes a contract object.
|
|
2620
2722
|
* @param {string} id
|
|
@@ -2648,12 +2750,12 @@ export declare const ContractsApiFactory: (configuration?: Configuration, basePa
|
|
|
2648
2750
|
export declare class ContractsApi extends BaseAPI {
|
|
2649
2751
|
/**
|
|
2650
2752
|
* Creates a contract object.
|
|
2651
|
-
* @param {
|
|
2753
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2652
2754
|
* @param {*} [options] Override http request option.
|
|
2653
2755
|
* @throws {RequiredError}
|
|
2654
2756
|
* @memberof ContractsApi
|
|
2655
2757
|
*/
|
|
2656
|
-
createContract(
|
|
2758
|
+
createContract(createContractRequest: CreateContractRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractResponse, any>>;
|
|
2657
2759
|
/**
|
|
2658
2760
|
* Deletes a contract object.
|
|
2659
2761
|
* @param {string} id
|
|
@@ -2696,11 +2798,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2696
2798
|
/**
|
|
2697
2799
|
* Creates an account object for an existing player.
|
|
2698
2800
|
* @param {string} id Specifies the unique player ID.
|
|
2699
|
-
* @param {
|
|
2801
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
2700
2802
|
* @param {*} [options] Override http request option.
|
|
2701
2803
|
* @throws {RequiredError}
|
|
2702
2804
|
*/
|
|
2703
|
-
createPlayerAccount: (id: string,
|
|
2805
|
+
createPlayerAccount: (id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2704
2806
|
/**
|
|
2705
2807
|
* Creates a session object for the given player.
|
|
2706
2808
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -2784,11 +2886,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
2784
2886
|
/**
|
|
2785
2887
|
* Creates an account object for an existing player.
|
|
2786
2888
|
* @param {string} id Specifies the unique player ID.
|
|
2787
|
-
* @param {
|
|
2889
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
2788
2890
|
* @param {*} [options] Override http request option.
|
|
2789
2891
|
* @throws {RequiredError}
|
|
2790
2892
|
*/
|
|
2791
|
-
createPlayerAccount(id: string,
|
|
2893
|
+
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
2792
2894
|
/**
|
|
2793
2895
|
* Creates a session object for the given player.
|
|
2794
2896
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -2872,11 +2974,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
2872
2974
|
/**
|
|
2873
2975
|
* Creates an account object for an existing player.
|
|
2874
2976
|
* @param {string} id Specifies the unique player ID.
|
|
2875
|
-
* @param {
|
|
2977
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
2876
2978
|
* @param {*} [options] Override http request option.
|
|
2877
2979
|
* @throws {RequiredError}
|
|
2878
2980
|
*/
|
|
2879
|
-
createPlayerAccount(id: string,
|
|
2981
|
+
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
2880
2982
|
/**
|
|
2881
2983
|
* Creates a session object for the given player.
|
|
2882
2984
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -2963,12 +3065,12 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
2963
3065
|
/**
|
|
2964
3066
|
* Creates an account object for an existing player.
|
|
2965
3067
|
* @param {string} id Specifies the unique player ID.
|
|
2966
|
-
* @param {
|
|
3068
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
2967
3069
|
* @param {*} [options] Override http request option.
|
|
2968
3070
|
* @throws {RequiredError}
|
|
2969
3071
|
* @memberof PlayersApi
|
|
2970
3072
|
*/
|
|
2971
|
-
createPlayerAccount(id: string,
|
|
3073
|
+
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
2972
3074
|
/**
|
|
2973
3075
|
* Creates a session object for the given player.
|
|
2974
3076
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -3060,11 +3162,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3060
3162
|
/**
|
|
3061
3163
|
*
|
|
3062
3164
|
* @param {string} id
|
|
3063
|
-
* @param {
|
|
3165
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3064
3166
|
* @param {*} [options] Override http request option.
|
|
3065
3167
|
* @throws {RequiredError}
|
|
3066
3168
|
*/
|
|
3067
|
-
createPolicyAllowFunction: (id: string,
|
|
3169
|
+
createPolicyAllowFunction: (id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3068
3170
|
/**
|
|
3069
3171
|
* Deletes a policy object.
|
|
3070
3172
|
* @param {string} id
|
|
@@ -3128,11 +3230,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3128
3230
|
*
|
|
3129
3231
|
* @param {string} policy
|
|
3130
3232
|
* @param {string} policyRule
|
|
3131
|
-
* @param {
|
|
3233
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3132
3234
|
* @param {*} [options] Override http request option.
|
|
3133
3235
|
* @throws {RequiredError}
|
|
3134
3236
|
*/
|
|
3135
|
-
updatePolicyAllowFunction: (policy: string, policyRule: string,
|
|
3237
|
+
updatePolicyAllowFunction: (policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3136
3238
|
};
|
|
3137
3239
|
/**
|
|
3138
3240
|
* PoliciesApi - functional programming interface
|
|
@@ -3149,11 +3251,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
3149
3251
|
/**
|
|
3150
3252
|
*
|
|
3151
3253
|
* @param {string} id
|
|
3152
|
-
* @param {
|
|
3254
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3153
3255
|
* @param {*} [options] Override http request option.
|
|
3154
3256
|
* @throws {RequiredError}
|
|
3155
3257
|
*/
|
|
3156
|
-
createPolicyAllowFunction(id: string,
|
|
3258
|
+
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3157
3259
|
/**
|
|
3158
3260
|
* Deletes a policy object.
|
|
3159
3261
|
* @param {string} id
|
|
@@ -3217,11 +3319,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
3217
3319
|
*
|
|
3218
3320
|
* @param {string} policy
|
|
3219
3321
|
* @param {string} policyRule
|
|
3220
|
-
* @param {
|
|
3322
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3221
3323
|
* @param {*} [options] Override http request option.
|
|
3222
3324
|
* @throws {RequiredError}
|
|
3223
3325
|
*/
|
|
3224
|
-
updatePolicyAllowFunction(policy: string, policyRule: string,
|
|
3326
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3225
3327
|
};
|
|
3226
3328
|
/**
|
|
3227
3329
|
* PoliciesApi - factory interface
|
|
@@ -3238,11 +3340,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
3238
3340
|
/**
|
|
3239
3341
|
*
|
|
3240
3342
|
* @param {string} id
|
|
3241
|
-
* @param {
|
|
3343
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3242
3344
|
* @param {*} [options] Override http request option.
|
|
3243
3345
|
* @throws {RequiredError}
|
|
3244
3346
|
*/
|
|
3245
|
-
createPolicyAllowFunction(id: string,
|
|
3347
|
+
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3246
3348
|
/**
|
|
3247
3349
|
* Deletes a policy object.
|
|
3248
3350
|
* @param {string} id
|
|
@@ -3306,11 +3408,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
3306
3408
|
*
|
|
3307
3409
|
* @param {string} policy
|
|
3308
3410
|
* @param {string} policyRule
|
|
3309
|
-
* @param {
|
|
3411
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3310
3412
|
* @param {*} [options] Override http request option.
|
|
3311
3413
|
* @throws {RequiredError}
|
|
3312
3414
|
*/
|
|
3313
|
-
updatePolicyAllowFunction(policy: string, policyRule: string,
|
|
3415
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3314
3416
|
};
|
|
3315
3417
|
/**
|
|
3316
3418
|
* PoliciesApi - object-oriented interface
|
|
@@ -3330,12 +3432,12 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
3330
3432
|
/**
|
|
3331
3433
|
*
|
|
3332
3434
|
* @param {string} id
|
|
3333
|
-
* @param {
|
|
3435
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3334
3436
|
* @param {*} [options] Override http request option.
|
|
3335
3437
|
* @throws {RequiredError}
|
|
3336
3438
|
* @memberof PoliciesApi
|
|
3337
3439
|
*/
|
|
3338
|
-
createPolicyAllowFunction(id: string,
|
|
3440
|
+
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3339
3441
|
/**
|
|
3340
3442
|
* Deletes a policy object.
|
|
3341
3443
|
* @param {string} id
|
|
@@ -3406,12 +3508,12 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
3406
3508
|
*
|
|
3407
3509
|
* @param {string} policy
|
|
3408
3510
|
* @param {string} policyRule
|
|
3409
|
-
* @param {
|
|
3511
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3410
3512
|
* @param {*} [options] Override http request option.
|
|
3411
3513
|
* @throws {RequiredError}
|
|
3412
3514
|
* @memberof PoliciesApi
|
|
3413
3515
|
*/
|
|
3414
|
-
updatePolicyAllowFunction(policy: string, policyRule: string,
|
|
3516
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3415
3517
|
}
|
|
3416
3518
|
/**
|
|
3417
3519
|
* PolicyRulesApi - axios parameter creator
|
|
@@ -3420,11 +3522,11 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
3420
3522
|
export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3421
3523
|
/**
|
|
3422
3524
|
* Creates an allow function object.
|
|
3423
|
-
* @param {
|
|
3525
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3424
3526
|
* @param {*} [options] Override http request option.
|
|
3425
3527
|
* @throws {RequiredError}
|
|
3426
3528
|
*/
|
|
3427
|
-
createPolicyRules: (
|
|
3529
|
+
createPolicyRules: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3428
3530
|
/**
|
|
3429
3531
|
* Deletes an polciy rule (allow_functions) object.
|
|
3430
3532
|
* @param {string} id
|
|
@@ -3443,11 +3545,11 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
3443
3545
|
/**
|
|
3444
3546
|
* Updates an allow functions object.
|
|
3445
3547
|
* @param {string} id Specifies the unique allow function ID.
|
|
3446
|
-
* @param {
|
|
3548
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3447
3549
|
* @param {*} [options] Override http request option.
|
|
3448
3550
|
* @throws {RequiredError}
|
|
3449
3551
|
*/
|
|
3450
|
-
updatePolicyRules: (id: string,
|
|
3552
|
+
updatePolicyRules: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3451
3553
|
};
|
|
3452
3554
|
/**
|
|
3453
3555
|
* PolicyRulesApi - functional programming interface
|
|
@@ -3456,11 +3558,11 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
3456
3558
|
export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
3457
3559
|
/**
|
|
3458
3560
|
* Creates an allow function object.
|
|
3459
|
-
* @param {
|
|
3561
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3460
3562
|
* @param {*} [options] Override http request option.
|
|
3461
3563
|
* @throws {RequiredError}
|
|
3462
3564
|
*/
|
|
3463
|
-
createPolicyRules(
|
|
3565
|
+
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3464
3566
|
/**
|
|
3465
3567
|
* Deletes an polciy rule (allow_functions) object.
|
|
3466
3568
|
* @param {string} id
|
|
@@ -3479,11 +3581,11 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
3479
3581
|
/**
|
|
3480
3582
|
* Updates an allow functions object.
|
|
3481
3583
|
* @param {string} id Specifies the unique allow function ID.
|
|
3482
|
-
* @param {
|
|
3584
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3483
3585
|
* @param {*} [options] Override http request option.
|
|
3484
3586
|
* @throws {RequiredError}
|
|
3485
3587
|
*/
|
|
3486
|
-
updatePolicyRules(id: string,
|
|
3588
|
+
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3487
3589
|
};
|
|
3488
3590
|
/**
|
|
3489
3591
|
* PolicyRulesApi - factory interface
|
|
@@ -3492,11 +3594,11 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
3492
3594
|
export declare const PolicyRulesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3493
3595
|
/**
|
|
3494
3596
|
* Creates an allow function object.
|
|
3495
|
-
* @param {
|
|
3597
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3496
3598
|
* @param {*} [options] Override http request option.
|
|
3497
3599
|
* @throws {RequiredError}
|
|
3498
3600
|
*/
|
|
3499
|
-
createPolicyRules(
|
|
3601
|
+
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3500
3602
|
/**
|
|
3501
3603
|
* Deletes an polciy rule (allow_functions) object.
|
|
3502
3604
|
* @param {string} id
|
|
@@ -3515,11 +3617,11 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
3515
3617
|
/**
|
|
3516
3618
|
* Updates an allow functions object.
|
|
3517
3619
|
* @param {string} id Specifies the unique allow function ID.
|
|
3518
|
-
* @param {
|
|
3620
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3519
3621
|
* @param {*} [options] Override http request option.
|
|
3520
3622
|
* @throws {RequiredError}
|
|
3521
3623
|
*/
|
|
3522
|
-
updatePolicyRules(id: string,
|
|
3624
|
+
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3523
3625
|
};
|
|
3524
3626
|
/**
|
|
3525
3627
|
* PolicyRulesApi - object-oriented interface
|
|
@@ -3530,12 +3632,12 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
3530
3632
|
export declare class PolicyRulesApi extends BaseAPI {
|
|
3531
3633
|
/**
|
|
3532
3634
|
* Creates an allow function object.
|
|
3533
|
-
* @param {
|
|
3635
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3534
3636
|
* @param {*} [options] Override http request option.
|
|
3535
3637
|
* @throws {RequiredError}
|
|
3536
3638
|
* @memberof PolicyRulesApi
|
|
3537
3639
|
*/
|
|
3538
|
-
createPolicyRules(
|
|
3640
|
+
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3539
3641
|
/**
|
|
3540
3642
|
* Deletes an polciy rule (allow_functions) object.
|
|
3541
3643
|
* @param {string} id
|
|
@@ -3556,12 +3658,12 @@ export declare class PolicyRulesApi extends BaseAPI {
|
|
|
3556
3658
|
/**
|
|
3557
3659
|
* Updates an allow functions object.
|
|
3558
3660
|
* @param {string} id Specifies the unique allow function ID.
|
|
3559
|
-
* @param {
|
|
3661
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3560
3662
|
* @param {*} [options] Override http request option.
|
|
3561
3663
|
* @throws {RequiredError}
|
|
3562
3664
|
* @memberof PolicyRulesApi
|
|
3563
3665
|
*/
|
|
3564
|
-
updatePolicyRules(id: string,
|
|
3666
|
+
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3565
3667
|
}
|
|
3566
3668
|
/**
|
|
3567
3669
|
* ProjectsApi - axios parameter creator
|