@openfort/openfort-js 0.2.7 → 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 +370 -315
- package/dist/generated/api.js +98 -98
- 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}
|
|
@@ -606,13 +662,13 @@ export interface Interaction {
|
|
|
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
|
*
|
|
@@ -717,13 +834,13 @@ export interface NextActionPayload {
|
|
|
717
834
|
* @type {any}
|
|
718
835
|
* @memberof NextActionPayload
|
|
719
836
|
*/
|
|
720
|
-
'
|
|
837
|
+
'userOp'?: any;
|
|
721
838
|
/**
|
|
722
839
|
*
|
|
723
840
|
* @type {string}
|
|
724
841
|
* @memberof NextActionPayload
|
|
725
842
|
*/
|
|
726
|
-
'
|
|
843
|
+
'userOpHash'?: string;
|
|
727
844
|
}
|
|
728
845
|
/**
|
|
729
846
|
*
|
|
@@ -881,7 +998,7 @@ export interface PlayerResponse {
|
|
|
881
998
|
* @type {number}
|
|
882
999
|
* @memberof PlayerResponse
|
|
883
1000
|
*/
|
|
884
|
-
'
|
|
1001
|
+
'createdAt': number;
|
|
885
1002
|
/**
|
|
886
1003
|
*
|
|
887
1004
|
* @type {string}
|
|
@@ -911,7 +1028,7 @@ export interface PlayerResponse {
|
|
|
911
1028
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
912
1029
|
* @memberof PlayerResponse
|
|
913
1030
|
*/
|
|
914
|
-
'
|
|
1031
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
915
1032
|
/**
|
|
916
1033
|
*
|
|
917
1034
|
* @type {Array<TransactionIntentResponseAccount>}
|
|
@@ -932,17 +1049,17 @@ export interface PlayerTransferOwnershipRequest {
|
|
|
932
1049
|
*/
|
|
933
1050
|
'policy': string;
|
|
934
1051
|
/**
|
|
935
|
-
* The
|
|
1052
|
+
* The chain id where the account is.
|
|
936
1053
|
* @type {number}
|
|
937
1054
|
* @memberof PlayerTransferOwnershipRequest
|
|
938
1055
|
*/
|
|
939
|
-
'
|
|
1056
|
+
'chainId': number;
|
|
940
1057
|
/**
|
|
941
1058
|
* The address of the new owner
|
|
942
1059
|
* @type {string}
|
|
943
1060
|
* @memberof PlayerTransferOwnershipRequest
|
|
944
1061
|
*/
|
|
945
|
-
'
|
|
1062
|
+
'newOwnerAddress': string;
|
|
946
1063
|
/**
|
|
947
1064
|
* The player ID
|
|
948
1065
|
* @type {string}
|
|
@@ -1000,31 +1117,6 @@ export interface PoliciesResponse {
|
|
|
1000
1117
|
*/
|
|
1001
1118
|
'data': Array<PolicyResponse>;
|
|
1002
1119
|
}
|
|
1003
|
-
/**
|
|
1004
|
-
*
|
|
1005
|
-
* @export
|
|
1006
|
-
* @interface PolicyAllowFunctionRequest
|
|
1007
|
-
*/
|
|
1008
|
-
export interface PolicyAllowFunctionRequest {
|
|
1009
|
-
/**
|
|
1010
|
-
*
|
|
1011
|
-
* @type {PolicySchema}
|
|
1012
|
-
* @memberof PolicyAllowFunctionRequest
|
|
1013
|
-
*/
|
|
1014
|
-
'type': PolicySchema;
|
|
1015
|
-
/**
|
|
1016
|
-
*
|
|
1017
|
-
* @type {string}
|
|
1018
|
-
* @memberof PolicyAllowFunctionRequest
|
|
1019
|
-
*/
|
|
1020
|
-
'function_name': string | null;
|
|
1021
|
-
/**
|
|
1022
|
-
*
|
|
1023
|
-
* @type {string}
|
|
1024
|
-
* @memberof PolicyAllowFunctionRequest
|
|
1025
|
-
*/
|
|
1026
|
-
'contract': string | null;
|
|
1027
|
-
}
|
|
1028
1120
|
/**
|
|
1029
1121
|
*
|
|
1030
1122
|
* @export
|
|
@@ -1073,7 +1165,7 @@ export interface PolicyResponse {
|
|
|
1073
1165
|
* @type {number}
|
|
1074
1166
|
* @memberof PolicyResponse
|
|
1075
1167
|
*/
|
|
1076
|
-
'
|
|
1168
|
+
'createdAt': number;
|
|
1077
1169
|
/**
|
|
1078
1170
|
*
|
|
1079
1171
|
* @type {string}
|
|
@@ -1085,7 +1177,7 @@ export interface PolicyResponse {
|
|
|
1085
1177
|
* @type {number}
|
|
1086
1178
|
* @memberof PolicyResponse
|
|
1087
1179
|
*/
|
|
1088
|
-
'
|
|
1180
|
+
'chainId': number;
|
|
1089
1181
|
/**
|
|
1090
1182
|
*
|
|
1091
1183
|
* @type {PolicyStrategy}
|
|
@@ -1097,13 +1189,13 @@ export interface PolicyResponse {
|
|
|
1097
1189
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
1098
1190
|
* @memberof PolicyResponse
|
|
1099
1191
|
*/
|
|
1100
|
-
'
|
|
1192
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
1101
1193
|
/**
|
|
1102
1194
|
*
|
|
1103
1195
|
* @type {Array<PolicyResponsePolicyRulesInner>}
|
|
1104
1196
|
* @memberof PolicyResponse
|
|
1105
1197
|
*/
|
|
1106
|
-
'
|
|
1198
|
+
'policyRules'?: Array<PolicyResponsePolicyRulesInner>;
|
|
1107
1199
|
}
|
|
1108
1200
|
/**
|
|
1109
1201
|
*
|
|
@@ -1128,7 +1220,7 @@ export interface PolicyResponsePolicyRulesInner {
|
|
|
1128
1220
|
* @type {number}
|
|
1129
1221
|
* @memberof PolicyResponsePolicyRulesInner
|
|
1130
1222
|
*/
|
|
1131
|
-
'
|
|
1223
|
+
'createdAt': number;
|
|
1132
1224
|
/**
|
|
1133
1225
|
*
|
|
1134
1226
|
* @type {PolicySchema}
|
|
@@ -1140,7 +1232,7 @@ export interface PolicyResponsePolicyRulesInner {
|
|
|
1140
1232
|
* @type {string}
|
|
1141
1233
|
* @memberof PolicyResponsePolicyRulesInner
|
|
1142
1234
|
*/
|
|
1143
|
-
'
|
|
1235
|
+
'functionName': string | null;
|
|
1144
1236
|
/**
|
|
1145
1237
|
*
|
|
1146
1238
|
* @type {PolicyRuleResponseContract}
|
|
@@ -1171,37 +1263,37 @@ export interface PolicyResponseTransactionIntentsInner {
|
|
|
1171
1263
|
* @type {number}
|
|
1172
1264
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1173
1265
|
*/
|
|
1174
|
-
'
|
|
1266
|
+
'createdAt': number;
|
|
1175
1267
|
/**
|
|
1176
1268
|
*
|
|
1177
1269
|
* @type {number}
|
|
1178
1270
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1179
1271
|
*/
|
|
1180
|
-
'
|
|
1272
|
+
'updatedAt': number;
|
|
1181
1273
|
/**
|
|
1182
1274
|
*
|
|
1183
1275
|
* @type {number}
|
|
1184
1276
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1185
1277
|
*/
|
|
1186
|
-
'
|
|
1278
|
+
'chainId': number;
|
|
1187
1279
|
/**
|
|
1188
1280
|
*
|
|
1189
1281
|
* @type {string}
|
|
1190
1282
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1191
1283
|
*/
|
|
1192
|
-
'
|
|
1284
|
+
'userOperationHash'?: string;
|
|
1193
1285
|
/**
|
|
1194
1286
|
*
|
|
1195
1287
|
* @type {any}
|
|
1196
1288
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1197
1289
|
*/
|
|
1198
|
-
'
|
|
1290
|
+
'userOperation'?: any;
|
|
1199
1291
|
/**
|
|
1200
1292
|
*
|
|
1201
1293
|
* @type {NextActionResponse}
|
|
1202
1294
|
* @memberof PolicyResponseTransactionIntentsInner
|
|
1203
1295
|
*/
|
|
1204
|
-
'
|
|
1296
|
+
'nextAction'?: NextActionResponse;
|
|
1205
1297
|
/**
|
|
1206
1298
|
*
|
|
1207
1299
|
* @type {ResponseResponse}
|
|
@@ -1258,37 +1350,6 @@ export interface PolicyRuleDeleteResponse {
|
|
|
1258
1350
|
*/
|
|
1259
1351
|
'deleted': boolean;
|
|
1260
1352
|
}
|
|
1261
|
-
/**
|
|
1262
|
-
*
|
|
1263
|
-
* @export
|
|
1264
|
-
* @interface PolicyRuleRequest
|
|
1265
|
-
*/
|
|
1266
|
-
export interface PolicyRuleRequest {
|
|
1267
|
-
/**
|
|
1268
|
-
*
|
|
1269
|
-
* @type {PolicySchema}
|
|
1270
|
-
* @memberof PolicyRuleRequest
|
|
1271
|
-
*/
|
|
1272
|
-
'type': PolicySchema;
|
|
1273
|
-
/**
|
|
1274
|
-
*
|
|
1275
|
-
* @type {string}
|
|
1276
|
-
* @memberof PolicyRuleRequest
|
|
1277
|
-
*/
|
|
1278
|
-
'function_name': string | null;
|
|
1279
|
-
/**
|
|
1280
|
-
*
|
|
1281
|
-
* @type {string}
|
|
1282
|
-
* @memberof PolicyRuleRequest
|
|
1283
|
-
*/
|
|
1284
|
-
'policy': string;
|
|
1285
|
-
/**
|
|
1286
|
-
*
|
|
1287
|
-
* @type {string}
|
|
1288
|
-
* @memberof PolicyRuleRequest
|
|
1289
|
-
*/
|
|
1290
|
-
'contract': string | null;
|
|
1291
|
-
}
|
|
1292
1353
|
/**
|
|
1293
1354
|
*
|
|
1294
1355
|
* @export
|
|
@@ -1312,7 +1373,7 @@ export interface PolicyRuleResponse {
|
|
|
1312
1373
|
* @type {number}
|
|
1313
1374
|
* @memberof PolicyRuleResponse
|
|
1314
1375
|
*/
|
|
1315
|
-
'
|
|
1376
|
+
'createdAt': number;
|
|
1316
1377
|
/**
|
|
1317
1378
|
*
|
|
1318
1379
|
* @type {PolicySchema}
|
|
@@ -1324,7 +1385,7 @@ export interface PolicyRuleResponse {
|
|
|
1324
1385
|
* @type {string}
|
|
1325
1386
|
* @memberof PolicyRuleResponse
|
|
1326
1387
|
*/
|
|
1327
|
-
'
|
|
1388
|
+
'functionName': string | null;
|
|
1328
1389
|
/**
|
|
1329
1390
|
*
|
|
1330
1391
|
* @type {PolicyRuleResponseContract}
|
|
@@ -1355,7 +1416,7 @@ export interface PolicyRuleResponseContract {
|
|
|
1355
1416
|
* @type {number}
|
|
1356
1417
|
* @memberof PolicyRuleResponseContract
|
|
1357
1418
|
*/
|
|
1358
|
-
'
|
|
1419
|
+
'createdAt': number;
|
|
1359
1420
|
/**
|
|
1360
1421
|
*
|
|
1361
1422
|
* @type {string}
|
|
@@ -1367,7 +1428,7 @@ export interface PolicyRuleResponseContract {
|
|
|
1367
1428
|
* @type {number}
|
|
1368
1429
|
* @memberof PolicyRuleResponseContract
|
|
1369
1430
|
*/
|
|
1370
|
-
'
|
|
1431
|
+
'chainId': number;
|
|
1371
1432
|
/**
|
|
1372
1433
|
*
|
|
1373
1434
|
* @type {string}
|
|
@@ -1376,47 +1437,16 @@ export interface PolicyRuleResponseContract {
|
|
|
1376
1437
|
'address': string;
|
|
1377
1438
|
/**
|
|
1378
1439
|
*
|
|
1379
|
-
* @type {
|
|
1440
|
+
* @type {Array<JsonFragment>}
|
|
1380
1441
|
* @memberof PolicyRuleResponseContract
|
|
1381
1442
|
*/
|
|
1382
|
-
'abi':
|
|
1443
|
+
'abi': Array<JsonFragment>;
|
|
1383
1444
|
/**
|
|
1384
1445
|
*
|
|
1385
1446
|
* @type {boolean}
|
|
1386
1447
|
* @memberof PolicyRuleResponseContract
|
|
1387
1448
|
*/
|
|
1388
|
-
'
|
|
1389
|
-
}
|
|
1390
|
-
/**
|
|
1391
|
-
*
|
|
1392
|
-
* @export
|
|
1393
|
-
* @interface PolicyRuleUpdateRequest
|
|
1394
|
-
*/
|
|
1395
|
-
export interface PolicyRuleUpdateRequest {
|
|
1396
|
-
/**
|
|
1397
|
-
*
|
|
1398
|
-
* @type {PolicySchema}
|
|
1399
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1400
|
-
*/
|
|
1401
|
-
'type'?: PolicySchema;
|
|
1402
|
-
/**
|
|
1403
|
-
*
|
|
1404
|
-
* @type {string}
|
|
1405
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1406
|
-
*/
|
|
1407
|
-
'function_name': string | null;
|
|
1408
|
-
/**
|
|
1409
|
-
*
|
|
1410
|
-
* @type {string}
|
|
1411
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1412
|
-
*/
|
|
1413
|
-
'policy'?: string;
|
|
1414
|
-
/**
|
|
1415
|
-
*
|
|
1416
|
-
* @type {string}
|
|
1417
|
-
* @memberof PolicyRuleUpdateRequest
|
|
1418
|
-
*/
|
|
1419
|
-
'contract': string | null;
|
|
1449
|
+
'publicVerification': boolean;
|
|
1420
1450
|
}
|
|
1421
1451
|
/**
|
|
1422
1452
|
*
|
|
@@ -1464,19 +1494,19 @@ export interface PolicyStrategy {
|
|
|
1464
1494
|
* @type {SponsorSchema}
|
|
1465
1495
|
* @memberof PolicyStrategy
|
|
1466
1496
|
*/
|
|
1467
|
-
'
|
|
1497
|
+
'sponsorSchema': SponsorSchema;
|
|
1468
1498
|
/**
|
|
1469
1499
|
*
|
|
1470
1500
|
* @type {string}
|
|
1471
1501
|
* @memberof PolicyStrategy
|
|
1472
1502
|
*/
|
|
1473
|
-
'
|
|
1503
|
+
'tokenContract'?: string;
|
|
1474
1504
|
/**
|
|
1475
1505
|
*
|
|
1476
1506
|
* @type {string}
|
|
1477
1507
|
* @memberof PolicyStrategy
|
|
1478
1508
|
*/
|
|
1479
|
-
'
|
|
1509
|
+
'tokenContractAmount'?: string;
|
|
1480
1510
|
}
|
|
1481
1511
|
/**
|
|
1482
1512
|
*
|
|
@@ -1520,13 +1550,13 @@ export interface ProjectRequest {
|
|
|
1520
1550
|
* @type {PKPolicy}
|
|
1521
1551
|
* @memberof ProjectRequest
|
|
1522
1552
|
*/
|
|
1523
|
-
'
|
|
1553
|
+
'pkPolicy'?: PKPolicy;
|
|
1524
1554
|
/**
|
|
1525
1555
|
*
|
|
1526
1556
|
* @type {PKLocation}
|
|
1527
1557
|
* @memberof ProjectRequest
|
|
1528
1558
|
*/
|
|
1529
|
-
'
|
|
1559
|
+
'pkLocation'?: PKLocation;
|
|
1530
1560
|
}
|
|
1531
1561
|
/**
|
|
1532
1562
|
*
|
|
@@ -1551,13 +1581,13 @@ export interface ProjectResponse {
|
|
|
1551
1581
|
* @type {number}
|
|
1552
1582
|
* @memberof ProjectResponse
|
|
1553
1583
|
*/
|
|
1554
|
-
'
|
|
1584
|
+
'createdAt': number;
|
|
1555
1585
|
/**
|
|
1556
1586
|
*
|
|
1557
1587
|
* @type {number}
|
|
1558
1588
|
* @memberof ProjectResponse
|
|
1559
1589
|
*/
|
|
1560
|
-
'
|
|
1590
|
+
'updatedAt': number;
|
|
1561
1591
|
/**
|
|
1562
1592
|
*
|
|
1563
1593
|
* @type {string}
|
|
@@ -1569,7 +1599,7 @@ export interface ProjectResponse {
|
|
|
1569
1599
|
* @type {PKPolicy}
|
|
1570
1600
|
* @memberof ProjectResponse
|
|
1571
1601
|
*/
|
|
1572
|
-
'
|
|
1602
|
+
'pkPolicy': PKPolicy;
|
|
1573
1603
|
/**
|
|
1574
1604
|
*
|
|
1575
1605
|
* @type {Array<ApiKeyResponse>}
|
|
@@ -1613,25 +1643,25 @@ export interface ResponseResponse {
|
|
|
1613
1643
|
* @type {number}
|
|
1614
1644
|
* @memberof ResponseResponse
|
|
1615
1645
|
*/
|
|
1616
|
-
'
|
|
1646
|
+
'createdAt': number;
|
|
1617
1647
|
/**
|
|
1618
1648
|
*
|
|
1619
1649
|
* @type {number}
|
|
1620
1650
|
* @memberof ResponseResponse
|
|
1621
1651
|
*/
|
|
1622
|
-
'
|
|
1652
|
+
'blockNumber'?: number;
|
|
1623
1653
|
/**
|
|
1624
1654
|
*
|
|
1625
1655
|
* @type {string}
|
|
1626
1656
|
* @memberof ResponseResponse
|
|
1627
1657
|
*/
|
|
1628
|
-
'
|
|
1658
|
+
'transactionHash'?: string;
|
|
1629
1659
|
/**
|
|
1630
1660
|
*
|
|
1631
1661
|
* @type {number}
|
|
1632
1662
|
* @memberof ResponseResponse
|
|
1633
1663
|
*/
|
|
1634
|
-
'
|
|
1664
|
+
'gasUsed'?: number;
|
|
1635
1665
|
/**
|
|
1636
1666
|
*
|
|
1637
1667
|
* @type {number}
|
|
@@ -1686,7 +1716,7 @@ export interface RevokeSessionPlayerRequest {
|
|
|
1686
1716
|
* @type {number}
|
|
1687
1717
|
* @memberof RevokeSessionPlayerRequest
|
|
1688
1718
|
*/
|
|
1689
|
-
'
|
|
1719
|
+
'chainId': number;
|
|
1690
1720
|
}
|
|
1691
1721
|
/**
|
|
1692
1722
|
*
|
|
@@ -1705,7 +1735,7 @@ export interface RevokeSessionRequest {
|
|
|
1705
1735
|
* @type {number}
|
|
1706
1736
|
* @memberof RevokeSessionRequest
|
|
1707
1737
|
*/
|
|
1708
|
-
'
|
|
1738
|
+
'chainId': number;
|
|
1709
1739
|
/**
|
|
1710
1740
|
*
|
|
1711
1741
|
* @type {boolean}
|
|
@@ -1748,19 +1778,19 @@ export interface SessionResponse {
|
|
|
1748
1778
|
* @type {number}
|
|
1749
1779
|
* @memberof SessionResponse
|
|
1750
1780
|
*/
|
|
1751
|
-
'
|
|
1781
|
+
'createdAt': number;
|
|
1752
1782
|
/**
|
|
1753
1783
|
*
|
|
1754
1784
|
* @type {number}
|
|
1755
1785
|
* @memberof SessionResponse
|
|
1756
1786
|
*/
|
|
1757
|
-
'
|
|
1787
|
+
'updatedAt': number;
|
|
1758
1788
|
/**
|
|
1759
1789
|
*
|
|
1760
1790
|
* @type {boolean}
|
|
1761
1791
|
* @memberof SessionResponse
|
|
1762
1792
|
*/
|
|
1763
|
-
'
|
|
1793
|
+
'isActive'?: boolean;
|
|
1764
1794
|
/**
|
|
1765
1795
|
*
|
|
1766
1796
|
* @type {string}
|
|
@@ -1772,13 +1802,13 @@ export interface SessionResponse {
|
|
|
1772
1802
|
* @type {string}
|
|
1773
1803
|
* @memberof SessionResponse
|
|
1774
1804
|
*/
|
|
1775
|
-
'
|
|
1805
|
+
'validAfter'?: string;
|
|
1776
1806
|
/**
|
|
1777
1807
|
*
|
|
1778
1808
|
* @type {string}
|
|
1779
1809
|
* @memberof SessionResponse
|
|
1780
1810
|
*/
|
|
1781
|
-
'
|
|
1811
|
+
'validUntil'?: string;
|
|
1782
1812
|
/**
|
|
1783
1813
|
*
|
|
1784
1814
|
* @type {Array<string>}
|
|
@@ -1796,13 +1826,13 @@ export interface SessionResponse {
|
|
|
1796
1826
|
* @type {NextActionResponse}
|
|
1797
1827
|
* @memberof SessionResponse
|
|
1798
1828
|
*/
|
|
1799
|
-
'
|
|
1829
|
+
'nextAction'?: NextActionResponse;
|
|
1800
1830
|
/**
|
|
1801
1831
|
*
|
|
1802
1832
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
1803
1833
|
* @memberof SessionResponse
|
|
1804
1834
|
*/
|
|
1805
|
-
'
|
|
1835
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
1806
1836
|
}
|
|
1807
1837
|
/**
|
|
1808
1838
|
*
|
|
@@ -1988,7 +2018,7 @@ export interface TransactionIntentRequest {
|
|
|
1988
2018
|
* @type {number}
|
|
1989
2019
|
* @memberof TransactionIntentRequest
|
|
1990
2020
|
*/
|
|
1991
|
-
'
|
|
2021
|
+
'chainId': number;
|
|
1992
2022
|
/**
|
|
1993
2023
|
*
|
|
1994
2024
|
* @type {string}
|
|
@@ -2000,7 +2030,7 @@ export interface TransactionIntentRequest {
|
|
|
2000
2030
|
* @type {string}
|
|
2001
2031
|
* @memberof TransactionIntentRequest
|
|
2002
2032
|
*/
|
|
2003
|
-
'
|
|
2033
|
+
'externalOwnerAddress'?: string;
|
|
2004
2034
|
/**
|
|
2005
2035
|
*
|
|
2006
2036
|
* @type {boolean}
|
|
@@ -2037,37 +2067,37 @@ export interface TransactionIntentResponse {
|
|
|
2037
2067
|
* @type {number}
|
|
2038
2068
|
* @memberof TransactionIntentResponse
|
|
2039
2069
|
*/
|
|
2040
|
-
'
|
|
2070
|
+
'createdAt': number;
|
|
2041
2071
|
/**
|
|
2042
2072
|
*
|
|
2043
2073
|
* @type {number}
|
|
2044
2074
|
* @memberof TransactionIntentResponse
|
|
2045
2075
|
*/
|
|
2046
|
-
'
|
|
2076
|
+
'updatedAt': number;
|
|
2047
2077
|
/**
|
|
2048
2078
|
*
|
|
2049
2079
|
* @type {number}
|
|
2050
2080
|
* @memberof TransactionIntentResponse
|
|
2051
2081
|
*/
|
|
2052
|
-
'
|
|
2082
|
+
'chainId': number;
|
|
2053
2083
|
/**
|
|
2054
2084
|
*
|
|
2055
2085
|
* @type {string}
|
|
2056
2086
|
* @memberof TransactionIntentResponse
|
|
2057
2087
|
*/
|
|
2058
|
-
'
|
|
2088
|
+
'userOperationHash'?: string;
|
|
2059
2089
|
/**
|
|
2060
2090
|
*
|
|
2061
2091
|
* @type {any}
|
|
2062
2092
|
* @memberof TransactionIntentResponse
|
|
2063
2093
|
*/
|
|
2064
|
-
'
|
|
2094
|
+
'userOperation'?: any;
|
|
2065
2095
|
/**
|
|
2066
2096
|
*
|
|
2067
2097
|
* @type {NextActionResponse}
|
|
2068
2098
|
* @memberof TransactionIntentResponse
|
|
2069
2099
|
*/
|
|
2070
|
-
'
|
|
2100
|
+
'nextAction'?: NextActionResponse;
|
|
2071
2101
|
/**
|
|
2072
2102
|
*
|
|
2073
2103
|
* @type {ResponseResponse}
|
|
@@ -2122,7 +2152,7 @@ export interface TransactionIntentResponseAccount {
|
|
|
2122
2152
|
* @type {number}
|
|
2123
2153
|
* @memberof TransactionIntentResponseAccount
|
|
2124
2154
|
*/
|
|
2125
|
-
'
|
|
2155
|
+
'createdAt': number;
|
|
2126
2156
|
/**
|
|
2127
2157
|
*
|
|
2128
2158
|
* @type {string}
|
|
@@ -2146,13 +2176,13 @@ export interface TransactionIntentResponseAccount {
|
|
|
2146
2176
|
* @type {number}
|
|
2147
2177
|
* @memberof TransactionIntentResponseAccount
|
|
2148
2178
|
*/
|
|
2149
|
-
'
|
|
2179
|
+
'chainId': number;
|
|
2150
2180
|
/**
|
|
2151
2181
|
*
|
|
2152
2182
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
2153
2183
|
* @memberof TransactionIntentResponseAccount
|
|
2154
2184
|
*/
|
|
2155
|
-
'
|
|
2185
|
+
'transactionIntents': Array<PolicyResponseTransactionIntentsInner>;
|
|
2156
2186
|
}
|
|
2157
2187
|
/**
|
|
2158
2188
|
*
|
|
@@ -2177,7 +2207,7 @@ export interface TransactionIntentResponsePlayer {
|
|
|
2177
2207
|
* @type {number}
|
|
2178
2208
|
* @memberof TransactionIntentResponsePlayer
|
|
2179
2209
|
*/
|
|
2180
|
-
'
|
|
2210
|
+
'createdAt': number;
|
|
2181
2211
|
/**
|
|
2182
2212
|
*
|
|
2183
2213
|
* @type {string}
|
|
@@ -2207,7 +2237,7 @@ export interface TransactionIntentResponsePlayer {
|
|
|
2207
2237
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
2208
2238
|
* @memberof TransactionIntentResponsePlayer
|
|
2209
2239
|
*/
|
|
2210
|
-
'
|
|
2240
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
2211
2241
|
/**
|
|
2212
2242
|
*
|
|
2213
2243
|
* @type {Array<TransactionIntentResponseAccount>}
|
|
@@ -2238,7 +2268,7 @@ export interface TransactionIntentResponsePolicy {
|
|
|
2238
2268
|
* @type {number}
|
|
2239
2269
|
* @memberof TransactionIntentResponsePolicy
|
|
2240
2270
|
*/
|
|
2241
|
-
'
|
|
2271
|
+
'createdAt': number;
|
|
2242
2272
|
/**
|
|
2243
2273
|
*
|
|
2244
2274
|
* @type {string}
|
|
@@ -2250,7 +2280,7 @@ export interface TransactionIntentResponsePolicy {
|
|
|
2250
2280
|
* @type {number}
|
|
2251
2281
|
* @memberof TransactionIntentResponsePolicy
|
|
2252
2282
|
*/
|
|
2253
|
-
'
|
|
2283
|
+
'chainId': number;
|
|
2254
2284
|
/**
|
|
2255
2285
|
*
|
|
2256
2286
|
* @type {PolicyStrategy}
|
|
@@ -2262,13 +2292,13 @@ export interface TransactionIntentResponsePolicy {
|
|
|
2262
2292
|
* @type {Array<PolicyResponseTransactionIntentsInner>}
|
|
2263
2293
|
* @memberof TransactionIntentResponsePolicy
|
|
2264
2294
|
*/
|
|
2265
|
-
'
|
|
2295
|
+
'transactionIntents'?: Array<PolicyResponseTransactionIntentsInner>;
|
|
2266
2296
|
/**
|
|
2267
2297
|
*
|
|
2268
2298
|
* @type {Array<PolicyResponsePolicyRulesInner>}
|
|
2269
2299
|
* @memberof TransactionIntentResponsePolicy
|
|
2270
2300
|
*/
|
|
2271
|
-
'
|
|
2301
|
+
'policyRules'?: Array<PolicyResponsePolicyRulesInner>;
|
|
2272
2302
|
}
|
|
2273
2303
|
/**
|
|
2274
2304
|
*
|
|
@@ -2306,7 +2336,7 @@ export interface TransferOwnershipRequest {
|
|
|
2306
2336
|
* @type {string}
|
|
2307
2337
|
* @memberof TransferOwnershipRequest
|
|
2308
2338
|
*/
|
|
2309
|
-
'
|
|
2339
|
+
'newOwnerAddress': string;
|
|
2310
2340
|
/**
|
|
2311
2341
|
* The policy ID
|
|
2312
2342
|
* @type {string}
|
|
@@ -2350,7 +2380,7 @@ export interface UpdatePolicyRequest {
|
|
|
2350
2380
|
* @type {number}
|
|
2351
2381
|
* @memberof UpdatePolicyRequest
|
|
2352
2382
|
*/
|
|
2353
|
-
'
|
|
2383
|
+
'chainId'?: number;
|
|
2354
2384
|
/**
|
|
2355
2385
|
*
|
|
2356
2386
|
* @type {PolicyStrategy}
|
|
@@ -2358,6 +2388,31 @@ export interface UpdatePolicyRequest {
|
|
|
2358
2388
|
*/
|
|
2359
2389
|
'strategy'?: PolicyStrategy;
|
|
2360
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
|
+
}
|
|
2361
2416
|
/**
|
|
2362
2417
|
* AccountsApi - axios parameter creator
|
|
2363
2418
|
* @export
|
|
@@ -2365,11 +2420,11 @@ export interface UpdatePolicyRequest {
|
|
|
2365
2420
|
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2366
2421
|
/**
|
|
2367
2422
|
* Creates an account object.
|
|
2368
|
-
* @param {
|
|
2423
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2369
2424
|
* @param {*} [options] Override http request option.
|
|
2370
2425
|
* @throws {RequiredError}
|
|
2371
2426
|
*/
|
|
2372
|
-
createAccount: (
|
|
2427
|
+
createAccount: (createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2373
2428
|
/**
|
|
2374
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.
|
|
2375
2430
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2418,11 +2473,11 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
2418
2473
|
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
2419
2474
|
/**
|
|
2420
2475
|
* Creates an account object.
|
|
2421
|
-
* @param {
|
|
2476
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2422
2477
|
* @param {*} [options] Override http request option.
|
|
2423
2478
|
* @throws {RequiredError}
|
|
2424
2479
|
*/
|
|
2425
|
-
createAccount(
|
|
2480
|
+
createAccount(createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
2426
2481
|
/**
|
|
2427
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.
|
|
2428
2483
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2471,11 +2526,11 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
2471
2526
|
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2472
2527
|
/**
|
|
2473
2528
|
* Creates an account object.
|
|
2474
|
-
* @param {
|
|
2529
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2475
2530
|
* @param {*} [options] Override http request option.
|
|
2476
2531
|
* @throws {RequiredError}
|
|
2477
2532
|
*/
|
|
2478
|
-
createAccount(
|
|
2533
|
+
createAccount(createAccountRequest: CreateAccountRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
2479
2534
|
/**
|
|
2480
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.
|
|
2481
2536
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2526,12 +2581,12 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
2526
2581
|
export declare class AccountsApi extends BaseAPI {
|
|
2527
2582
|
/**
|
|
2528
2583
|
* Creates an account object.
|
|
2529
|
-
* @param {
|
|
2584
|
+
* @param {CreateAccountRequest} createAccountRequest
|
|
2530
2585
|
* @param {*} [options] Override http request option.
|
|
2531
2586
|
* @throws {RequiredError}
|
|
2532
2587
|
* @memberof AccountsApi
|
|
2533
2588
|
*/
|
|
2534
|
-
createAccount(
|
|
2589
|
+
createAccount(createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
2535
2590
|
/**
|
|
2536
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.
|
|
2537
2592
|
* @param {string} id Specifies the unique account ID.
|
|
@@ -2585,11 +2640,11 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
2585
2640
|
export declare const ContractsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2586
2641
|
/**
|
|
2587
2642
|
* Creates a contract object.
|
|
2588
|
-
* @param {
|
|
2643
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2589
2644
|
* @param {*} [options] Override http request option.
|
|
2590
2645
|
* @throws {RequiredError}
|
|
2591
2646
|
*/
|
|
2592
|
-
createContract: (
|
|
2647
|
+
createContract: (createContractRequest: CreateContractRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2593
2648
|
/**
|
|
2594
2649
|
* Deletes a contract object.
|
|
2595
2650
|
* @param {string} id
|
|
@@ -2621,11 +2676,11 @@ export declare const ContractsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
2621
2676
|
export declare const ContractsApiFp: (configuration?: Configuration) => {
|
|
2622
2677
|
/**
|
|
2623
2678
|
* Creates a contract object.
|
|
2624
|
-
* @param {
|
|
2679
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2625
2680
|
* @param {*} [options] Override http request option.
|
|
2626
2681
|
* @throws {RequiredError}
|
|
2627
2682
|
*/
|
|
2628
|
-
createContract(
|
|
2683
|
+
createContract(createContractRequest: CreateContractRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
|
|
2629
2684
|
/**
|
|
2630
2685
|
* Deletes a contract object.
|
|
2631
2686
|
* @param {string} id
|
|
@@ -2657,11 +2712,11 @@ export declare const ContractsApiFp: (configuration?: Configuration) => {
|
|
|
2657
2712
|
export declare const ContractsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2658
2713
|
/**
|
|
2659
2714
|
* Creates a contract object.
|
|
2660
|
-
* @param {
|
|
2715
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2661
2716
|
* @param {*} [options] Override http request option.
|
|
2662
2717
|
* @throws {RequiredError}
|
|
2663
2718
|
*/
|
|
2664
|
-
createContract(
|
|
2719
|
+
createContract(createContractRequest: CreateContractRequest, options?: any): AxiosPromise<ContractResponse>;
|
|
2665
2720
|
/**
|
|
2666
2721
|
* Deletes a contract object.
|
|
2667
2722
|
* @param {string} id
|
|
@@ -2695,12 +2750,12 @@ export declare const ContractsApiFactory: (configuration?: Configuration, basePa
|
|
|
2695
2750
|
export declare class ContractsApi extends BaseAPI {
|
|
2696
2751
|
/**
|
|
2697
2752
|
* Creates a contract object.
|
|
2698
|
-
* @param {
|
|
2753
|
+
* @param {CreateContractRequest} createContractRequest
|
|
2699
2754
|
* @param {*} [options] Override http request option.
|
|
2700
2755
|
* @throws {RequiredError}
|
|
2701
2756
|
* @memberof ContractsApi
|
|
2702
2757
|
*/
|
|
2703
|
-
createContract(
|
|
2758
|
+
createContract(createContractRequest: CreateContractRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractResponse, any>>;
|
|
2704
2759
|
/**
|
|
2705
2760
|
* Deletes a contract object.
|
|
2706
2761
|
* @param {string} id
|
|
@@ -2743,11 +2798,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2743
2798
|
/**
|
|
2744
2799
|
* Creates an account object for an existing player.
|
|
2745
2800
|
* @param {string} id Specifies the unique player ID.
|
|
2746
|
-
* @param {
|
|
2801
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
2747
2802
|
* @param {*} [options] Override http request option.
|
|
2748
2803
|
* @throws {RequiredError}
|
|
2749
2804
|
*/
|
|
2750
|
-
createPlayerAccount: (id: string,
|
|
2805
|
+
createPlayerAccount: (id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2751
2806
|
/**
|
|
2752
2807
|
* Creates a session object for the given player.
|
|
2753
2808
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -2831,11 +2886,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
2831
2886
|
/**
|
|
2832
2887
|
* Creates an account object for an existing player.
|
|
2833
2888
|
* @param {string} id Specifies the unique player ID.
|
|
2834
|
-
* @param {
|
|
2889
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
2835
2890
|
* @param {*} [options] Override http request option.
|
|
2836
2891
|
* @throws {RequiredError}
|
|
2837
2892
|
*/
|
|
2838
|
-
createPlayerAccount(id: string,
|
|
2893
|
+
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
2839
2894
|
/**
|
|
2840
2895
|
* Creates a session object for the given player.
|
|
2841
2896
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -2919,11 +2974,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
2919
2974
|
/**
|
|
2920
2975
|
* Creates an account object for an existing player.
|
|
2921
2976
|
* @param {string} id Specifies the unique player ID.
|
|
2922
|
-
* @param {
|
|
2977
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
2923
2978
|
* @param {*} [options] Override http request option.
|
|
2924
2979
|
* @throws {RequiredError}
|
|
2925
2980
|
*/
|
|
2926
|
-
createPlayerAccount(id: string,
|
|
2981
|
+
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
2927
2982
|
/**
|
|
2928
2983
|
* Creates a session object for the given player.
|
|
2929
2984
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -3010,12 +3065,12 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
3010
3065
|
/**
|
|
3011
3066
|
* Creates an account object for an existing player.
|
|
3012
3067
|
* @param {string} id Specifies the unique player ID.
|
|
3013
|
-
* @param {
|
|
3068
|
+
* @param {CreatePlayerAccountRequest} createPlayerAccountRequest
|
|
3014
3069
|
* @param {*} [options] Override http request option.
|
|
3015
3070
|
* @throws {RequiredError}
|
|
3016
3071
|
* @memberof PlayersApi
|
|
3017
3072
|
*/
|
|
3018
|
-
createPlayerAccount(id: string,
|
|
3073
|
+
createPlayerAccount(id: string, createPlayerAccountRequest: CreatePlayerAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
3019
3074
|
/**
|
|
3020
3075
|
* Creates a session object for the given player.
|
|
3021
3076
|
* @param {string} id Specifies the unique player ID.
|
|
@@ -3107,11 +3162,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3107
3162
|
/**
|
|
3108
3163
|
*
|
|
3109
3164
|
* @param {string} id
|
|
3110
|
-
* @param {
|
|
3165
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3111
3166
|
* @param {*} [options] Override http request option.
|
|
3112
3167
|
* @throws {RequiredError}
|
|
3113
3168
|
*/
|
|
3114
|
-
createPolicyAllowFunction: (id: string,
|
|
3169
|
+
createPolicyAllowFunction: (id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3115
3170
|
/**
|
|
3116
3171
|
* Deletes a policy object.
|
|
3117
3172
|
* @param {string} id
|
|
@@ -3175,11 +3230,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3175
3230
|
*
|
|
3176
3231
|
* @param {string} policy
|
|
3177
3232
|
* @param {string} policyRule
|
|
3178
|
-
* @param {
|
|
3233
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3179
3234
|
* @param {*} [options] Override http request option.
|
|
3180
3235
|
* @throws {RequiredError}
|
|
3181
3236
|
*/
|
|
3182
|
-
updatePolicyAllowFunction: (policy: string, policyRule: string,
|
|
3237
|
+
updatePolicyAllowFunction: (policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3183
3238
|
};
|
|
3184
3239
|
/**
|
|
3185
3240
|
* PoliciesApi - functional programming interface
|
|
@@ -3196,11 +3251,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
3196
3251
|
/**
|
|
3197
3252
|
*
|
|
3198
3253
|
* @param {string} id
|
|
3199
|
-
* @param {
|
|
3254
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3200
3255
|
* @param {*} [options] Override http request option.
|
|
3201
3256
|
* @throws {RequiredError}
|
|
3202
3257
|
*/
|
|
3203
|
-
createPolicyAllowFunction(id: string,
|
|
3258
|
+
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3204
3259
|
/**
|
|
3205
3260
|
* Deletes a policy object.
|
|
3206
3261
|
* @param {string} id
|
|
@@ -3264,11 +3319,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
3264
3319
|
*
|
|
3265
3320
|
* @param {string} policy
|
|
3266
3321
|
* @param {string} policyRule
|
|
3267
|
-
* @param {
|
|
3322
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3268
3323
|
* @param {*} [options] Override http request option.
|
|
3269
3324
|
* @throws {RequiredError}
|
|
3270
3325
|
*/
|
|
3271
|
-
updatePolicyAllowFunction(policy: string, policyRule: string,
|
|
3326
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3272
3327
|
};
|
|
3273
3328
|
/**
|
|
3274
3329
|
* PoliciesApi - factory interface
|
|
@@ -3285,11 +3340,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
3285
3340
|
/**
|
|
3286
3341
|
*
|
|
3287
3342
|
* @param {string} id
|
|
3288
|
-
* @param {
|
|
3343
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3289
3344
|
* @param {*} [options] Override http request option.
|
|
3290
3345
|
* @throws {RequiredError}
|
|
3291
3346
|
*/
|
|
3292
|
-
createPolicyAllowFunction(id: string,
|
|
3347
|
+
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3293
3348
|
/**
|
|
3294
3349
|
* Deletes a policy object.
|
|
3295
3350
|
* @param {string} id
|
|
@@ -3353,11 +3408,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
3353
3408
|
*
|
|
3354
3409
|
* @param {string} policy
|
|
3355
3410
|
* @param {string} policyRule
|
|
3356
|
-
* @param {
|
|
3411
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3357
3412
|
* @param {*} [options] Override http request option.
|
|
3358
3413
|
* @throws {RequiredError}
|
|
3359
3414
|
*/
|
|
3360
|
-
updatePolicyAllowFunction(policy: string, policyRule: string,
|
|
3415
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3361
3416
|
};
|
|
3362
3417
|
/**
|
|
3363
3418
|
* PoliciesApi - object-oriented interface
|
|
@@ -3377,12 +3432,12 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
3377
3432
|
/**
|
|
3378
3433
|
*
|
|
3379
3434
|
* @param {string} id
|
|
3380
|
-
* @param {
|
|
3435
|
+
* @param {CreatePolicyAllowFunctionRequest} createPolicyAllowFunctionRequest
|
|
3381
3436
|
* @param {*} [options] Override http request option.
|
|
3382
3437
|
* @throws {RequiredError}
|
|
3383
3438
|
* @memberof PoliciesApi
|
|
3384
3439
|
*/
|
|
3385
|
-
createPolicyAllowFunction(id: string,
|
|
3440
|
+
createPolicyAllowFunction(id: string, createPolicyAllowFunctionRequest: CreatePolicyAllowFunctionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3386
3441
|
/**
|
|
3387
3442
|
* Deletes a policy object.
|
|
3388
3443
|
* @param {string} id
|
|
@@ -3453,12 +3508,12 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
3453
3508
|
*
|
|
3454
3509
|
* @param {string} policy
|
|
3455
3510
|
* @param {string} policyRule
|
|
3456
|
-
* @param {
|
|
3511
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3457
3512
|
* @param {*} [options] Override http request option.
|
|
3458
3513
|
* @throws {RequiredError}
|
|
3459
3514
|
* @memberof PoliciesApi
|
|
3460
3515
|
*/
|
|
3461
|
-
updatePolicyAllowFunction(policy: string, policyRule: string,
|
|
3516
|
+
updatePolicyAllowFunction(policy: string, policyRule: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3462
3517
|
}
|
|
3463
3518
|
/**
|
|
3464
3519
|
* PolicyRulesApi - axios parameter creator
|
|
@@ -3467,11 +3522,11 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
3467
3522
|
export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3468
3523
|
/**
|
|
3469
3524
|
* Creates an allow function object.
|
|
3470
|
-
* @param {
|
|
3525
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3471
3526
|
* @param {*} [options] Override http request option.
|
|
3472
3527
|
* @throws {RequiredError}
|
|
3473
3528
|
*/
|
|
3474
|
-
createPolicyRules: (
|
|
3529
|
+
createPolicyRules: (createPolicyRuleRequest: CreatePolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3475
3530
|
/**
|
|
3476
3531
|
* Deletes an polciy rule (allow_functions) object.
|
|
3477
3532
|
* @param {string} id
|
|
@@ -3490,11 +3545,11 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
3490
3545
|
/**
|
|
3491
3546
|
* Updates an allow functions object.
|
|
3492
3547
|
* @param {string} id Specifies the unique allow function ID.
|
|
3493
|
-
* @param {
|
|
3548
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3494
3549
|
* @param {*} [options] Override http request option.
|
|
3495
3550
|
* @throws {RequiredError}
|
|
3496
3551
|
*/
|
|
3497
|
-
updatePolicyRules: (id: string,
|
|
3552
|
+
updatePolicyRules: (id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3498
3553
|
};
|
|
3499
3554
|
/**
|
|
3500
3555
|
* PolicyRulesApi - functional programming interface
|
|
@@ -3503,11 +3558,11 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
3503
3558
|
export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
3504
3559
|
/**
|
|
3505
3560
|
* Creates an allow function object.
|
|
3506
|
-
* @param {
|
|
3561
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3507
3562
|
* @param {*} [options] Override http request option.
|
|
3508
3563
|
* @throws {RequiredError}
|
|
3509
3564
|
*/
|
|
3510
|
-
createPolicyRules(
|
|
3565
|
+
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3511
3566
|
/**
|
|
3512
3567
|
* Deletes an polciy rule (allow_functions) object.
|
|
3513
3568
|
* @param {string} id
|
|
@@ -3526,11 +3581,11 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
3526
3581
|
/**
|
|
3527
3582
|
* Updates an allow functions object.
|
|
3528
3583
|
* @param {string} id Specifies the unique allow function ID.
|
|
3529
|
-
* @param {
|
|
3584
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3530
3585
|
* @param {*} [options] Override http request option.
|
|
3531
3586
|
* @throws {RequiredError}
|
|
3532
3587
|
*/
|
|
3533
|
-
updatePolicyRules(id: string,
|
|
3588
|
+
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyRuleResponse>>;
|
|
3534
3589
|
};
|
|
3535
3590
|
/**
|
|
3536
3591
|
* PolicyRulesApi - factory interface
|
|
@@ -3539,11 +3594,11 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
3539
3594
|
export declare const PolicyRulesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3540
3595
|
/**
|
|
3541
3596
|
* Creates an allow function object.
|
|
3542
|
-
* @param {
|
|
3597
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3543
3598
|
* @param {*} [options] Override http request option.
|
|
3544
3599
|
* @throws {RequiredError}
|
|
3545
3600
|
*/
|
|
3546
|
-
createPolicyRules(
|
|
3601
|
+
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3547
3602
|
/**
|
|
3548
3603
|
* Deletes an polciy rule (allow_functions) object.
|
|
3549
3604
|
* @param {string} id
|
|
@@ -3562,11 +3617,11 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
3562
3617
|
/**
|
|
3563
3618
|
* Updates an allow functions object.
|
|
3564
3619
|
* @param {string} id Specifies the unique allow function ID.
|
|
3565
|
-
* @param {
|
|
3620
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3566
3621
|
* @param {*} [options] Override http request option.
|
|
3567
3622
|
* @throws {RequiredError}
|
|
3568
3623
|
*/
|
|
3569
|
-
updatePolicyRules(id: string,
|
|
3624
|
+
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: any): AxiosPromise<PolicyRuleResponse>;
|
|
3570
3625
|
};
|
|
3571
3626
|
/**
|
|
3572
3627
|
* PolicyRulesApi - object-oriented interface
|
|
@@ -3577,12 +3632,12 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
3577
3632
|
export declare class PolicyRulesApi extends BaseAPI {
|
|
3578
3633
|
/**
|
|
3579
3634
|
* Creates an allow function object.
|
|
3580
|
-
* @param {
|
|
3635
|
+
* @param {CreatePolicyRuleRequest} createPolicyRuleRequest
|
|
3581
3636
|
* @param {*} [options] Override http request option.
|
|
3582
3637
|
* @throws {RequiredError}
|
|
3583
3638
|
* @memberof PolicyRulesApi
|
|
3584
3639
|
*/
|
|
3585
|
-
createPolicyRules(
|
|
3640
|
+
createPolicyRules(createPolicyRuleRequest: CreatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3586
3641
|
/**
|
|
3587
3642
|
* Deletes an polciy rule (allow_functions) object.
|
|
3588
3643
|
* @param {string} id
|
|
@@ -3603,12 +3658,12 @@ export declare class PolicyRulesApi extends BaseAPI {
|
|
|
3603
3658
|
/**
|
|
3604
3659
|
* Updates an allow functions object.
|
|
3605
3660
|
* @param {string} id Specifies the unique allow function ID.
|
|
3606
|
-
* @param {
|
|
3661
|
+
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
3607
3662
|
* @param {*} [options] Override http request option.
|
|
3608
3663
|
* @throws {RequiredError}
|
|
3609
3664
|
* @memberof PolicyRulesApi
|
|
3610
3665
|
*/
|
|
3611
|
-
updatePolicyRules(id: string,
|
|
3666
|
+
updatePolicyRules(id: string, updatePolicyRuleRequest: UpdatePolicyRuleRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyRuleResponse, any>>;
|
|
3612
3667
|
}
|
|
3613
3668
|
/**
|
|
3614
3669
|
* ProjectsApi - axios parameter creator
|