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