@openfort/openfort-js 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts ADDED
@@ -0,0 +1,3028 @@
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 AccountResponse
20
+ */
21
+ export interface AccountResponse {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof AccountResponse
26
+ */
27
+ 'id': string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof AccountResponse
32
+ */
33
+ 'created_at': string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof AccountResponse
38
+ */
39
+ 'address': string;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof AccountResponse
44
+ */
45
+ 'deployed': boolean;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof AccountResponse
50
+ */
51
+ 'object': string;
52
+ /**
53
+ *
54
+ * @type {boolean}
55
+ * @memberof AccountResponse
56
+ */
57
+ 'custodial': boolean;
58
+ /**
59
+ *
60
+ * @type {number}
61
+ * @memberof AccountResponse
62
+ */
63
+ 'chain_id': number;
64
+ /**
65
+ *
66
+ * @type {Array<TransactionIntentResponse>}
67
+ * @memberof AccountResponse
68
+ */
69
+ 'transaction_intents': Array<TransactionIntentResponse>;
70
+ }
71
+ /**
72
+ *
73
+ * @export
74
+ * @interface AccountsResponse
75
+ */
76
+ export interface AccountsResponse {
77
+ /**
78
+ *
79
+ * @type {string}
80
+ * @memberof AccountsResponse
81
+ */
82
+ 'object': string;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof AccountsResponse
87
+ */
88
+ 'url': string;
89
+ /**
90
+ *
91
+ * @type {Array<AccountResponse>}
92
+ * @memberof AccountsResponse
93
+ */
94
+ 'data': Array<AccountResponse>;
95
+ }
96
+ /**
97
+ *
98
+ * @export
99
+ * @interface AllowFunctionResponse
100
+ */
101
+ export interface AllowFunctionResponse {
102
+ /**
103
+ *
104
+ * @type {string}
105
+ * @memberof AllowFunctionResponse
106
+ */
107
+ 'id': string;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof AllowFunctionResponse
112
+ */
113
+ 'created_at': string;
114
+ /**
115
+ *
116
+ * @type {string}
117
+ * @memberof AllowFunctionResponse
118
+ */
119
+ 'type': string;
120
+ /**
121
+ *
122
+ * @type {string}
123
+ * @memberof AllowFunctionResponse
124
+ */
125
+ 'function_name'?: string;
126
+ /**
127
+ *
128
+ * @type {ContractResponse}
129
+ * @memberof AllowFunctionResponse
130
+ */
131
+ 'contract'?: ContractResponse;
132
+ /**
133
+ *
134
+ * @type {string}
135
+ * @memberof AllowFunctionResponse
136
+ */
137
+ 'object': string;
138
+ }
139
+ /**
140
+ *
141
+ * @export
142
+ * @interface AllowFunctionsResponse
143
+ */
144
+ export interface AllowFunctionsResponse {
145
+ /**
146
+ *
147
+ * @type {string}
148
+ * @memberof AllowFunctionsResponse
149
+ */
150
+ 'object': string;
151
+ /**
152
+ *
153
+ * @type {string}
154
+ * @memberof AllowFunctionsResponse
155
+ */
156
+ 'url': string;
157
+ /**
158
+ *
159
+ * @type {Array<AllowFunctionResponse>}
160
+ * @memberof AllowFunctionsResponse
161
+ */
162
+ 'data': Array<AllowFunctionResponse>;
163
+ }
164
+ /**
165
+ *
166
+ * @export
167
+ * @interface ApiKeyResponse
168
+ */
169
+ export interface ApiKeyResponse {
170
+ /**
171
+ *
172
+ * @type {string}
173
+ * @memberof ApiKeyResponse
174
+ */
175
+ 'created_at': string;
176
+ /**
177
+ *
178
+ * @type {string}
179
+ * @memberof ApiKeyResponse
180
+ */
181
+ 'token': string;
182
+ /**
183
+ *
184
+ * @type {string}
185
+ * @memberof ApiKeyResponse
186
+ */
187
+ 'name': string;
188
+ /**
189
+ *
190
+ * @type {boolean}
191
+ * @memberof ApiKeyResponse
192
+ */
193
+ 'livemode': boolean;
194
+ }
195
+ /**
196
+ *
197
+ * @export
198
+ * @interface AssetInventory
199
+ */
200
+ export interface AssetInventory {
201
+ /**
202
+ *
203
+ * @type {AssetType}
204
+ * @memberof AssetInventory
205
+ */
206
+ 'asset_type': AssetType;
207
+ /**
208
+ *
209
+ * @type {string}
210
+ * @memberof AssetInventory
211
+ */
212
+ 'address'?: string;
213
+ /**
214
+ *
215
+ * @type {number}
216
+ * @memberof AssetInventory
217
+ */
218
+ 'token_id'?: number;
219
+ /**
220
+ * amount in Wei
221
+ * @type {number}
222
+ * @memberof AssetInventory
223
+ */
224
+ 'amount'?: number;
225
+ }
226
+ /**
227
+ *
228
+ * @export
229
+ * @enum {string}
230
+ */
231
+ export declare const AssetType: {
232
+ readonly NUMBER_1: 1;
233
+ readonly NUMBER_2: 2;
234
+ readonly NUMBER_3: 3;
235
+ readonly NUMBER_4: 4;
236
+ };
237
+ export type AssetType = typeof AssetType[keyof typeof AssetType];
238
+ /**
239
+ *
240
+ * @export
241
+ * @interface ContractResponse
242
+ */
243
+ export interface ContractResponse {
244
+ /**
245
+ *
246
+ * @type {string}
247
+ * @memberof ContractResponse
248
+ */
249
+ 'id': string;
250
+ /**
251
+ *
252
+ * @type {string}
253
+ * @memberof ContractResponse
254
+ */
255
+ 'created_at': string;
256
+ /**
257
+ *
258
+ * @type {string}
259
+ * @memberof ContractResponse
260
+ */
261
+ 'name': string | null;
262
+ /**
263
+ *
264
+ * @type {number}
265
+ * @memberof ContractResponse
266
+ */
267
+ 'chain_id': number;
268
+ /**
269
+ *
270
+ * @type {string}
271
+ * @memberof ContractResponse
272
+ */
273
+ 'address': string;
274
+ /**
275
+ *
276
+ * @type {ContractResponseAbi}
277
+ * @memberof ContractResponse
278
+ */
279
+ 'abi': ContractResponseAbi;
280
+ /**
281
+ *
282
+ * @type {boolean}
283
+ * @memberof ContractResponse
284
+ */
285
+ 'public_verification': boolean;
286
+ /**
287
+ *
288
+ * @type {string}
289
+ * @memberof ContractResponse
290
+ */
291
+ 'object': string;
292
+ }
293
+ /**
294
+ *
295
+ * @export
296
+ * @interface ContractResponseAbi
297
+ */
298
+ export interface ContractResponseAbi {
299
+ }
300
+ /**
301
+ *
302
+ * @export
303
+ * @interface ContractResponseAbiAnyOfInner
304
+ */
305
+ export interface ContractResponseAbiAnyOfInner {
306
+ /**
307
+ *
308
+ * @type {string}
309
+ * @memberof ContractResponseAbiAnyOfInner
310
+ */
311
+ 'type': string;
312
+ /**
313
+ *
314
+ * @type {string}
315
+ * @memberof ContractResponseAbiAnyOfInner
316
+ */
317
+ 'name': string;
318
+ /**
319
+ *
320
+ * @type {object}
321
+ * @memberof ContractResponseAbiAnyOfInner
322
+ */
323
+ 'inputs': object;
324
+ /**
325
+ *
326
+ * @type {boolean}
327
+ * @memberof ContractResponseAbiAnyOfInner
328
+ */
329
+ '_isFragment': boolean;
330
+ /**
331
+ *
332
+ * @type {boolean}
333
+ * @memberof ContractResponseAbiAnyOfInner
334
+ */
335
+ 'anonymous'?: boolean;
336
+ /**
337
+ *
338
+ * @type {boolean}
339
+ * @memberof ContractResponseAbiAnyOfInner
340
+ */
341
+ 'payable'?: boolean;
342
+ /**
343
+ *
344
+ * @type {boolean}
345
+ * @memberof ContractResponseAbiAnyOfInner
346
+ */
347
+ 'constant'?: boolean;
348
+ /**
349
+ *
350
+ * @type {string}
351
+ * @memberof ContractResponseAbiAnyOfInner
352
+ */
353
+ 'stateMutability'?: string;
354
+ /**
355
+ *
356
+ * @type {object}
357
+ * @memberof ContractResponseAbiAnyOfInner
358
+ */
359
+ 'outputs'?: object;
360
+ /**
361
+ *
362
+ * @type {string}
363
+ * @memberof ContractResponseAbiAnyOfInner
364
+ */
365
+ 'gas'?: string;
366
+ }
367
+ /**
368
+ *
369
+ * @export
370
+ * @interface ContractsResponse
371
+ */
372
+ export interface ContractsResponse {
373
+ /**
374
+ *
375
+ * @type {string}
376
+ * @memberof ContractsResponse
377
+ */
378
+ 'object': string;
379
+ /**
380
+ *
381
+ * @type {string}
382
+ * @memberof ContractsResponse
383
+ */
384
+ 'url': string;
385
+ /**
386
+ *
387
+ * @type {Array<ContractResponse>}
388
+ * @memberof ContractsResponse
389
+ */
390
+ 'data': Array<ContractResponse>;
391
+ }
392
+ /**
393
+ *
394
+ * @export
395
+ * @interface Fragment
396
+ */
397
+ export interface Fragment {
398
+ /**
399
+ *
400
+ * @type {string}
401
+ * @memberof Fragment
402
+ */
403
+ 'type': string;
404
+ /**
405
+ *
406
+ * @type {string}
407
+ * @memberof Fragment
408
+ */
409
+ 'name': string;
410
+ /**
411
+ *
412
+ * @type {Array<ParamType>}
413
+ * @memberof Fragment
414
+ */
415
+ 'inputs': Array<ParamType>;
416
+ /**
417
+ *
418
+ * @type {boolean}
419
+ * @memberof Fragment
420
+ */
421
+ '_isFragment': boolean;
422
+ }
423
+ /**
424
+ *
425
+ * @export
426
+ * @interface Gas
427
+ */
428
+ export interface Gas {
429
+ /**
430
+ *
431
+ * @type {string}
432
+ * @memberof Gas
433
+ */
434
+ 'object': string;
435
+ /**
436
+ *
437
+ * @type {string}
438
+ * @memberof Gas
439
+ */
440
+ 'url': string;
441
+ /**
442
+ *
443
+ * @type {{ [key: string]: number; }}
444
+ * @memberof Gas
445
+ */
446
+ 'dailyGasUsage': {
447
+ [key: string]: number;
448
+ };
449
+ }
450
+ /**
451
+ *
452
+ * @export
453
+ * @interface GetProjectResponse
454
+ */
455
+ export interface GetProjectResponse {
456
+ /**
457
+ *
458
+ * @type {string}
459
+ * @memberof GetProjectResponse
460
+ */
461
+ 'id': string | null;
462
+ /**
463
+ *
464
+ * @type {string}
465
+ * @memberof GetProjectResponse
466
+ */
467
+ 'name'?: string;
468
+ /**
469
+ *
470
+ * @type {string}
471
+ * @memberof GetProjectResponse
472
+ */
473
+ 'logo_url'?: string | null;
474
+ }
475
+ /**
476
+ *
477
+ * @export
478
+ * @interface Interaction
479
+ */
480
+ export interface Interaction {
481
+ /**
482
+ *
483
+ * @type {string}
484
+ * @memberof Interaction
485
+ */
486
+ 'contract': string | null;
487
+ /**
488
+ *
489
+ * @type {string}
490
+ * @memberof Interaction
491
+ */
492
+ 'function_name': string;
493
+ /**
494
+ *
495
+ * @type {Array<any>}
496
+ * @memberof Interaction
497
+ */
498
+ 'function_args': Array<any>;
499
+ }
500
+ /**
501
+ *
502
+ * @export
503
+ * @interface InventoryResponse
504
+ */
505
+ export interface InventoryResponse {
506
+ /**
507
+ *
508
+ * @type {string}
509
+ * @memberof InventoryResponse
510
+ */
511
+ 'object': string;
512
+ /**
513
+ *
514
+ * @type {Array<AssetInventory>}
515
+ * @memberof InventoryResponse
516
+ */
517
+ 'nft_assets'?: Array<AssetInventory>;
518
+ /**
519
+ *
520
+ * @type {AssetInventory}
521
+ * @memberof InventoryResponse
522
+ */
523
+ 'native_asset'?: AssetInventory;
524
+ /**
525
+ *
526
+ * @type {Array<AssetInventory>}
527
+ * @memberof InventoryResponse
528
+ */
529
+ 'token_assets'?: Array<AssetInventory>;
530
+ }
531
+ /**
532
+ *
533
+ * @export
534
+ * @interface JsonFragment
535
+ */
536
+ export interface JsonFragment {
537
+ /**
538
+ *
539
+ * @type {string}
540
+ * @memberof JsonFragment
541
+ */
542
+ 'name'?: string;
543
+ /**
544
+ *
545
+ * @type {string}
546
+ * @memberof JsonFragment
547
+ */
548
+ 'type'?: string;
549
+ /**
550
+ *
551
+ * @type {boolean}
552
+ * @memberof JsonFragment
553
+ */
554
+ 'anonymous'?: boolean;
555
+ /**
556
+ *
557
+ * @type {boolean}
558
+ * @memberof JsonFragment
559
+ */
560
+ 'payable'?: boolean;
561
+ /**
562
+ *
563
+ * @type {boolean}
564
+ * @memberof JsonFragment
565
+ */
566
+ 'constant'?: boolean;
567
+ /**
568
+ *
569
+ * @type {string}
570
+ * @memberof JsonFragment
571
+ */
572
+ 'stateMutability'?: string;
573
+ /**
574
+ *
575
+ * @type {object}
576
+ * @memberof JsonFragment
577
+ */
578
+ 'inputs'?: object;
579
+ /**
580
+ *
581
+ * @type {object}
582
+ * @memberof JsonFragment
583
+ */
584
+ 'outputs'?: object;
585
+ /**
586
+ *
587
+ * @type {string}
588
+ * @memberof JsonFragment
589
+ */
590
+ 'gas'?: string;
591
+ }
592
+ /**
593
+ *
594
+ * @export
595
+ * @interface Log
596
+ */
597
+ export interface Log {
598
+ /**
599
+ *
600
+ * @type {string}
601
+ * @memberof Log
602
+ */
603
+ 'id': string;
604
+ /**
605
+ *
606
+ * @type {string}
607
+ * @memberof Log
608
+ */
609
+ 'timestamp': string;
610
+ /**
611
+ *
612
+ * @type {string}
613
+ * @memberof Log
614
+ */
615
+ 'event': string;
616
+ /**
617
+ *
618
+ * @type {any}
619
+ * @memberof Log
620
+ */
621
+ 'request_body': any;
622
+ /**
623
+ *
624
+ * @type {number}
625
+ * @memberof Log
626
+ */
627
+ 'status': number;
628
+ /**
629
+ *
630
+ * @type {number}
631
+ * @memberof Log
632
+ */
633
+ 'response_time': number;
634
+ /**
635
+ *
636
+ * @type {any}
637
+ * @memberof Log
638
+ */
639
+ 'response_data': any;
640
+ }
641
+ /**
642
+ *
643
+ * @export
644
+ * @interface ParamType
645
+ */
646
+ export interface ParamType {
647
+ /**
648
+ *
649
+ * @type {string}
650
+ * @memberof ParamType
651
+ */
652
+ 'name': string;
653
+ /**
654
+ *
655
+ * @type {string}
656
+ * @memberof ParamType
657
+ */
658
+ 'type': string;
659
+ /**
660
+ *
661
+ * @type {string}
662
+ * @memberof ParamType
663
+ */
664
+ 'baseType': string;
665
+ /**
666
+ *
667
+ * @type {boolean}
668
+ * @memberof ParamType
669
+ */
670
+ 'indexed': boolean;
671
+ /**
672
+ *
673
+ * @type {Array<ParamType>}
674
+ * @memberof ParamType
675
+ */
676
+ 'components': Array<ParamType>;
677
+ /**
678
+ *
679
+ * @type {number}
680
+ * @memberof ParamType
681
+ */
682
+ 'arrayLength': number;
683
+ /**
684
+ *
685
+ * @type {ParamType}
686
+ * @memberof ParamType
687
+ */
688
+ 'arrayChildren': ParamType;
689
+ /**
690
+ *
691
+ * @type {boolean}
692
+ * @memberof ParamType
693
+ */
694
+ '_isParamType': boolean;
695
+ }
696
+ /**
697
+ *
698
+ * @export
699
+ * @interface PlayerResponse
700
+ */
701
+ export interface PlayerResponse {
702
+ /**
703
+ *
704
+ * @type {string}
705
+ * @memberof PlayerResponse
706
+ */
707
+ 'id': string;
708
+ /**
709
+ *
710
+ * @type {string}
711
+ * @memberof PlayerResponse
712
+ */
713
+ 'created_at': string;
714
+ /**
715
+ *
716
+ * @type {string}
717
+ * @memberof PlayerResponse
718
+ */
719
+ 'name': string | null;
720
+ /**
721
+ *
722
+ * @type {boolean}
723
+ * @memberof PlayerResponse
724
+ */
725
+ 'livemode': boolean;
726
+ /**
727
+ *
728
+ * @type {string}
729
+ * @memberof PlayerResponse
730
+ */
731
+ 'email': string | null;
732
+ /**
733
+ *
734
+ * @type {string}
735
+ * @memberof PlayerResponse
736
+ */
737
+ 'description': string | null;
738
+ /**
739
+ *
740
+ * @type {string}
741
+ * @memberof PlayerResponse
742
+ */
743
+ 'metadata': string;
744
+ /**
745
+ *
746
+ * @type {Array<TransactionIntentResponse>}
747
+ * @memberof PlayerResponse
748
+ */
749
+ 'transaction_intents'?: Array<TransactionIntentResponse>;
750
+ /**
751
+ *
752
+ * @type {Array<AccountResponse>}
753
+ * @memberof PlayerResponse
754
+ */
755
+ 'accounts': Array<AccountResponse>;
756
+ /**
757
+ *
758
+ * @type {string}
759
+ * @memberof PlayerResponse
760
+ */
761
+ 'object': string;
762
+ }
763
+ /**
764
+ *
765
+ * @export
766
+ * @interface PlayersResponse
767
+ */
768
+ export interface PlayersResponse {
769
+ /**
770
+ *
771
+ * @type {string}
772
+ * @memberof PlayersResponse
773
+ */
774
+ 'object': string;
775
+ /**
776
+ *
777
+ * @type {string}
778
+ * @memberof PlayersResponse
779
+ */
780
+ 'url': string;
781
+ /**
782
+ *
783
+ * @type {Array<PlayerResponse>}
784
+ * @memberof PlayersResponse
785
+ */
786
+ 'data': Array<PlayerResponse>;
787
+ }
788
+ /**
789
+ *
790
+ * @export
791
+ * @interface PoliciesResponse
792
+ */
793
+ export interface PoliciesResponse {
794
+ /**
795
+ *
796
+ * @type {string}
797
+ * @memberof PoliciesResponse
798
+ */
799
+ 'object': string;
800
+ /**
801
+ *
802
+ * @type {string}
803
+ * @memberof PoliciesResponse
804
+ */
805
+ 'url': string;
806
+ /**
807
+ *
808
+ * @type {Array<PolicyResponse>}
809
+ * @memberof PoliciesResponse
810
+ */
811
+ 'data': Array<PolicyResponse>;
812
+ }
813
+ /**
814
+ *
815
+ * @export
816
+ * @interface PolicyResponse
817
+ */
818
+ export interface PolicyResponse {
819
+ /**
820
+ *
821
+ * @type {string}
822
+ * @memberof PolicyResponse
823
+ */
824
+ 'id': string;
825
+ /**
826
+ *
827
+ * @type {string}
828
+ * @memberof PolicyResponse
829
+ */
830
+ 'created_at': string;
831
+ /**
832
+ *
833
+ * @type {string}
834
+ * @memberof PolicyResponse
835
+ */
836
+ 'name': string | null;
837
+ /**
838
+ *
839
+ * @type {number}
840
+ * @memberof PolicyResponse
841
+ */
842
+ 'chain_id': number;
843
+ /**
844
+ *
845
+ * @type {Strategy}
846
+ * @memberof PolicyResponse
847
+ */
848
+ 'strategy': Strategy;
849
+ /**
850
+ *
851
+ * @type {Array<any>}
852
+ * @memberof PolicyResponse
853
+ */
854
+ 'transaction_intents': Array<any>;
855
+ /**
856
+ *
857
+ * @type {Array<AllowFunctionResponse>}
858
+ * @memberof PolicyResponse
859
+ */
860
+ 'allow_functions': Array<AllowFunctionResponse>;
861
+ /**
862
+ *
863
+ * @type {string}
864
+ * @memberof PolicyResponse
865
+ */
866
+ 'object': string;
867
+ }
868
+ /**
869
+ *
870
+ * @export
871
+ * @interface ProjectLogs
872
+ */
873
+ export interface ProjectLogs {
874
+ /**
875
+ *
876
+ * @type {string}
877
+ * @memberof ProjectLogs
878
+ */
879
+ 'object': string;
880
+ /**
881
+ *
882
+ * @type {string}
883
+ * @memberof ProjectLogs
884
+ */
885
+ 'url': string;
886
+ /**
887
+ *
888
+ * @type {Array<Log>}
889
+ * @memberof ProjectLogs
890
+ */
891
+ 'data': Array<Log>;
892
+ }
893
+ /**
894
+ *
895
+ * @export
896
+ * @interface ProjectResponse
897
+ */
898
+ export interface ProjectResponse {
899
+ /**
900
+ *
901
+ * @type {string}
902
+ * @memberof ProjectResponse
903
+ */
904
+ 'id': string;
905
+ /**
906
+ *
907
+ * @type {string}
908
+ * @memberof ProjectResponse
909
+ */
910
+ 'created_at': string;
911
+ /**
912
+ *
913
+ * @type {string}
914
+ * @memberof ProjectResponse
915
+ */
916
+ 'name': string | null;
917
+ /**
918
+ *
919
+ * @type {boolean}
920
+ * @memberof ProjectResponse
921
+ */
922
+ 'livemode': boolean;
923
+ /**
924
+ *
925
+ * @type {string}
926
+ * @memberof ProjectResponse
927
+ */
928
+ 'logo_url'?: string | null;
929
+ /**
930
+ *
931
+ * @type {Array<ApiKeyResponse>}
932
+ * @memberof ProjectResponse
933
+ */
934
+ 'apikeys': Array<ApiKeyResponse>;
935
+ /**
936
+ *
937
+ * @type {string}
938
+ * @memberof ProjectResponse
939
+ */
940
+ 'object': string;
941
+ }
942
+ /**
943
+ *
944
+ * @export
945
+ * @interface ProjectsResponse
946
+ */
947
+ export interface ProjectsResponse {
948
+ /**
949
+ *
950
+ * @type {string}
951
+ * @memberof ProjectsResponse
952
+ */
953
+ 'object': string;
954
+ /**
955
+ *
956
+ * @type {string}
957
+ * @memberof ProjectsResponse
958
+ */
959
+ 'url': string;
960
+ /**
961
+ *
962
+ * @type {Array<ProjectResponse>}
963
+ * @memberof ProjectsResponse
964
+ */
965
+ 'data': Array<ProjectResponse>;
966
+ }
967
+ /**
968
+ *
969
+ * @export
970
+ * @interface ResponseResponse
971
+ */
972
+ export interface ResponseResponse {
973
+ /**
974
+ *
975
+ * @type {string}
976
+ * @memberof ResponseResponse
977
+ */
978
+ 'created_at': string;
979
+ /**
980
+ *
981
+ * @type {number}
982
+ * @memberof ResponseResponse
983
+ */
984
+ 'block_number': number | null;
985
+ /**
986
+ *
987
+ * @type {string}
988
+ * @memberof ResponseResponse
989
+ */
990
+ 'transaction_hash': string | null;
991
+ /**
992
+ *
993
+ * @type {number}
994
+ * @memberof ResponseResponse
995
+ */
996
+ 'gas_used': number;
997
+ /**
998
+ *
999
+ * @type {number}
1000
+ * @memberof ResponseResponse
1001
+ */
1002
+ 'status': number;
1003
+ /**
1004
+ *
1005
+ * @type {Array<string>}
1006
+ * @memberof ResponseResponse
1007
+ */
1008
+ 'logs': Array<string>;
1009
+ /**
1010
+ *
1011
+ * @type {string}
1012
+ * @memberof ResponseResponse
1013
+ */
1014
+ 'to': string;
1015
+ /**
1016
+ *
1017
+ * @type {string}
1018
+ * @memberof ResponseResponse
1019
+ */
1020
+ 'error': string;
1021
+ }
1022
+ /**
1023
+ *
1024
+ * @export
1025
+ * @interface SessionResponse
1026
+ */
1027
+ export interface SessionResponse {
1028
+ /**
1029
+ *
1030
+ * @type {string}
1031
+ * @memberof SessionResponse
1032
+ */
1033
+ 'id': string;
1034
+ /**
1035
+ *
1036
+ * @type {string}
1037
+ * @memberof SessionResponse
1038
+ */
1039
+ 'created_at': string;
1040
+ /**
1041
+ *
1042
+ * @type {string}
1043
+ * @memberof SessionResponse
1044
+ */
1045
+ 'object': string;
1046
+ /**
1047
+ *
1048
+ * @type {string}
1049
+ * @memberof SessionResponse
1050
+ */
1051
+ 'valid_after'?: string;
1052
+ /**
1053
+ *
1054
+ * @type {string}
1055
+ * @memberof SessionResponse
1056
+ */
1057
+ 'valid_until'?: string;
1058
+ /**
1059
+ *
1060
+ * @type {Array<string>}
1061
+ * @memberof SessionResponse
1062
+ */
1063
+ 'whitelist'?: Array<string>;
1064
+ /**
1065
+ *
1066
+ * @type {number}
1067
+ * @memberof SessionResponse
1068
+ */
1069
+ 'limit'?: number;
1070
+ /**
1071
+ *
1072
+ * @type {object}
1073
+ * @memberof SessionResponse
1074
+ */
1075
+ 'next_action': object | null;
1076
+ }
1077
+ /**
1078
+ *
1079
+ * @export
1080
+ * @interface Strategy
1081
+ */
1082
+ export interface Strategy {
1083
+ /**
1084
+ *
1085
+ * @type {string}
1086
+ * @memberof Strategy
1087
+ */
1088
+ 'sponsor_schema': string;
1089
+ /**
1090
+ *
1091
+ * @type {string}
1092
+ * @memberof Strategy
1093
+ */
1094
+ 'token_contract': string;
1095
+ /**
1096
+ *
1097
+ * @type {string}
1098
+ * @memberof Strategy
1099
+ */
1100
+ 'token_contract_amount': string;
1101
+ }
1102
+ /**
1103
+ *
1104
+ * @export
1105
+ * @interface SumGas
1106
+ */
1107
+ export interface SumGas {
1108
+ /**
1109
+ *
1110
+ * @type {string}
1111
+ * @memberof SumGas
1112
+ */
1113
+ 'object': string;
1114
+ /**
1115
+ *
1116
+ * @type {string}
1117
+ * @memberof SumGas
1118
+ */
1119
+ 'url': string;
1120
+ /**
1121
+ *
1122
+ * @type {number}
1123
+ * @memberof SumGas
1124
+ */
1125
+ 'sumGas': number;
1126
+ }
1127
+ /**
1128
+ *
1129
+ * @export
1130
+ * @interface TransactionIntentResponse
1131
+ */
1132
+ export interface TransactionIntentResponse {
1133
+ /**
1134
+ *
1135
+ * @type {string}
1136
+ * @memberof TransactionIntentResponse
1137
+ */
1138
+ 'id': string;
1139
+ /**
1140
+ *
1141
+ * @type {string}
1142
+ * @memberof TransactionIntentResponse
1143
+ */
1144
+ 'created_at': string;
1145
+ /**
1146
+ *
1147
+ * @type {string}
1148
+ * @memberof TransactionIntentResponse
1149
+ */
1150
+ 'updated_at': string;
1151
+ /**
1152
+ *
1153
+ * @type {number}
1154
+ * @memberof TransactionIntentResponse
1155
+ */
1156
+ 'chain_id': number;
1157
+ /**
1158
+ *
1159
+ * @type {string}
1160
+ * @memberof TransactionIntentResponse
1161
+ */
1162
+ 'user_operation_hash': string | null;
1163
+ /**
1164
+ *
1165
+ * @type {UserOpResult}
1166
+ * @memberof TransactionIntentResponse
1167
+ */
1168
+ 'user_operation'?: UserOpResult;
1169
+ /**
1170
+ *
1171
+ * @type {string}
1172
+ * @memberof TransactionIntentResponse
1173
+ */
1174
+ 'policy': string | null;
1175
+ /**
1176
+ *
1177
+ * @type {string}
1178
+ * @memberof TransactionIntentResponse
1179
+ */
1180
+ 'player': string;
1181
+ /**
1182
+ *
1183
+ * @type {object}
1184
+ * @memberof TransactionIntentResponse
1185
+ */
1186
+ 'next_action': object | null;
1187
+ /**
1188
+ *
1189
+ * @type {string}
1190
+ * @memberof TransactionIntentResponse
1191
+ */
1192
+ 'account'?: string;
1193
+ /**
1194
+ *
1195
+ * @type {Array<Interaction>}
1196
+ * @memberof TransactionIntentResponse
1197
+ */
1198
+ 'transactions': Array<Interaction>;
1199
+ /**
1200
+ *
1201
+ * @type {ResponseResponse}
1202
+ * @memberof TransactionIntentResponse
1203
+ */
1204
+ 'response': ResponseResponse | null;
1205
+ /**
1206
+ *
1207
+ * @type {string}
1208
+ * @memberof TransactionIntentResponse
1209
+ */
1210
+ 'object': string;
1211
+ }
1212
+ /**
1213
+ *
1214
+ * @export
1215
+ * @interface TransactionIntentsResponse
1216
+ */
1217
+ export interface TransactionIntentsResponse {
1218
+ /**
1219
+ *
1220
+ * @type {string}
1221
+ * @memberof TransactionIntentsResponse
1222
+ */
1223
+ 'object': string;
1224
+ /**
1225
+ *
1226
+ * @type {string}
1227
+ * @memberof TransactionIntentsResponse
1228
+ */
1229
+ 'url': string;
1230
+ /**
1231
+ *
1232
+ * @type {Array<TransactionIntentResponse>}
1233
+ * @memberof TransactionIntentsResponse
1234
+ */
1235
+ 'data': Array<TransactionIntentResponse>;
1236
+ }
1237
+ /**
1238
+ *
1239
+ * @export
1240
+ * @interface UserOpResult
1241
+ */
1242
+ export interface UserOpResult {
1243
+ /**
1244
+ *
1245
+ * @type {string}
1246
+ * @memberof UserOpResult
1247
+ */
1248
+ 'transactionHash': string;
1249
+ /**
1250
+ *
1251
+ * @type {boolean}
1252
+ * @memberof UserOpResult
1253
+ */
1254
+ 'success': boolean;
1255
+ }
1256
+ /**
1257
+ * ContractsApi - axios parameter creator
1258
+ * @export
1259
+ */
1260
+ export declare const ContractsApiAxiosParamCreator: (configuration?: Configuration) => {
1261
+ /**
1262
+ * Creates an contract object.
1263
+ * @param {string} name
1264
+ * @param {number} chainId
1265
+ * @param {string} [address]
1266
+ * @param {ContractResponseAbi} [abi]
1267
+ * @param {boolean} [publicVerification]
1268
+ * @param {string} [project]
1269
+ * @param {*} [options] Override http request option.
1270
+ * @throws {RequiredError}
1271
+ */
1272
+ createContract: (name: string, chainId: number, address?: string, abi?: ContractResponseAbi, publicVerification?: boolean, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1273
+ /**
1274
+ * 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.
1275
+ * @param {string} id Specifies the unique contract ID.
1276
+ * @param {string} [project] Specifies the unique project ID.
1277
+ * @param {*} [options] Override http request option.
1278
+ * @throws {RequiredError}
1279
+ */
1280
+ getContract: (id: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1281
+ /**
1282
+ * Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
1283
+ * @param {string} [project] Specifies the unique project ID.
1284
+ * @param {*} [options] Override http request option.
1285
+ * @throws {RequiredError}
1286
+ */
1287
+ getContracts: (project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1288
+ };
1289
+ /**
1290
+ * ContractsApi - functional programming interface
1291
+ * @export
1292
+ */
1293
+ export declare const ContractsApiFp: (configuration?: Configuration) => {
1294
+ /**
1295
+ * Creates an contract object.
1296
+ * @param {string} name
1297
+ * @param {number} chainId
1298
+ * @param {string} [address]
1299
+ * @param {ContractResponseAbi} [abi]
1300
+ * @param {boolean} [publicVerification]
1301
+ * @param {string} [project]
1302
+ * @param {*} [options] Override http request option.
1303
+ * @throws {RequiredError}
1304
+ */
1305
+ createContract(name: string, chainId: number, address?: string, abi?: ContractResponseAbi, publicVerification?: boolean, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
1306
+ /**
1307
+ * 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.
1308
+ * @param {string} id Specifies the unique contract ID.
1309
+ * @param {string} [project] Specifies the unique project ID.
1310
+ * @param {*} [options] Override http request option.
1311
+ * @throws {RequiredError}
1312
+ */
1313
+ getContract(id: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractResponse>>;
1314
+ /**
1315
+ * Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
1316
+ * @param {string} [project] Specifies the unique project ID.
1317
+ * @param {*} [options] Override http request option.
1318
+ * @throws {RequiredError}
1319
+ */
1320
+ getContracts(project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractsResponse>>;
1321
+ };
1322
+ /**
1323
+ * ContractsApi - factory interface
1324
+ * @export
1325
+ */
1326
+ export declare const ContractsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1327
+ /**
1328
+ * Creates an contract object.
1329
+ * @param {string} name
1330
+ * @param {number} chainId
1331
+ * @param {string} [address]
1332
+ * @param {ContractResponseAbi} [abi]
1333
+ * @param {boolean} [publicVerification]
1334
+ * @param {string} [project]
1335
+ * @param {*} [options] Override http request option.
1336
+ * @throws {RequiredError}
1337
+ */
1338
+ createContract(name: string, chainId: number, address?: string, abi?: ContractResponseAbi, publicVerification?: boolean, project?: string, options?: any): AxiosPromise<ContractResponse>;
1339
+ /**
1340
+ * 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.
1341
+ * @param {string} id Specifies the unique contract ID.
1342
+ * @param {string} [project] Specifies the unique project ID.
1343
+ * @param {*} [options] Override http request option.
1344
+ * @throws {RequiredError}
1345
+ */
1346
+ getContract(id: string, project?: string, options?: any): AxiosPromise<ContractResponse>;
1347
+ /**
1348
+ * Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
1349
+ * @param {string} [project] Specifies the unique project ID.
1350
+ * @param {*} [options] Override http request option.
1351
+ * @throws {RequiredError}
1352
+ */
1353
+ getContracts(project?: string, options?: any): AxiosPromise<ContractsResponse>;
1354
+ };
1355
+ /**
1356
+ * ContractsApi - object-oriented interface
1357
+ * @export
1358
+ * @class ContractsApi
1359
+ * @extends {BaseAPI}
1360
+ */
1361
+ export declare class ContractsApi extends BaseAPI {
1362
+ /**
1363
+ * Creates an contract object.
1364
+ * @param {string} name
1365
+ * @param {number} chainId
1366
+ * @param {string} [address]
1367
+ * @param {ContractResponseAbi} [abi]
1368
+ * @param {boolean} [publicVerification]
1369
+ * @param {string} [project]
1370
+ * @param {*} [options] Override http request option.
1371
+ * @throws {RequiredError}
1372
+ * @memberof ContractsApi
1373
+ */
1374
+ createContract(name: string, chainId: number, address?: string, abi?: ContractResponseAbi, publicVerification?: boolean, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractResponse, any>>;
1375
+ /**
1376
+ * 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.
1377
+ * @param {string} id Specifies the unique contract ID.
1378
+ * @param {string} [project] Specifies the unique project ID.
1379
+ * @param {*} [options] Override http request option.
1380
+ * @throws {RequiredError}
1381
+ * @memberof ContractsApi
1382
+ */
1383
+ getContract(id: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractResponse, any>>;
1384
+ /**
1385
+ * Returns a list of your contracts. The contracts are returned sorted by creation date, with the most recently created contracts appearing first.
1386
+ * @param {string} [project] Specifies the unique project ID.
1387
+ * @param {*} [options] Override http request option.
1388
+ * @throws {RequiredError}
1389
+ * @memberof ContractsApi
1390
+ */
1391
+ getContracts(project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractsResponse, any>>;
1392
+ }
1393
+ /**
1394
+ * DefaultApi - axios parameter creator
1395
+ * @export
1396
+ */
1397
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
1398
+ /**
1399
+ * Creates an account object.
1400
+ * @param {number} chainId The chain_id
1401
+ * @param {string} player The player ID
1402
+ * @param {string} [project] The project ID
1403
+ * @param {string} [externalOwnerAddress] The address of the external owner
1404
+ * @param {*} [options] Override http request option.
1405
+ * @throws {RequiredError}
1406
+ */
1407
+ createAccount: (chainId: number, player: string, project?: string, externalOwnerAddress?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1408
+ /**
1409
+ * Creates an allow function object.
1410
+ * @param {string} type
1411
+ * @param {string} policy
1412
+ * @param {string} [functionName]
1413
+ * @param {string} [project]
1414
+ * @param {string} [contract]
1415
+ * @param {*} [options] Override http request option.
1416
+ * @throws {RequiredError}
1417
+ */
1418
+ createAllowFunction: (type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1419
+ /**
1420
+ * 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.
1421
+ * @param {string} id Specifies the unique account ID.
1422
+ * @param {string} [project] Specifies the unique project ID.
1423
+ * @param {*} [options] Override http request option.
1424
+ * @throws {RequiredError}
1425
+ */
1426
+ getAccount: (id: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1427
+ /**
1428
+ * 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.
1429
+ * @param {string} id Specifies the unique account ID.
1430
+ * @param {string} [project] Specifies the unique project ID.
1431
+ * @param {*} [options] Override http request option.
1432
+ * @throws {RequiredError}
1433
+ */
1434
+ getAccountInventory: (id: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1435
+ /**
1436
+ * 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.
1437
+ * @param {string} player Specifies the unique player ID.
1438
+ * @param {string} [project] Specifies the unique project ID.
1439
+ * @param {*} [options] Override http request option.
1440
+ * @throws {RequiredError}
1441
+ */
1442
+ getAccounts: (player: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1443
+ /**
1444
+ * 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.
1445
+ * @param {string} [project] Specifies the unique project ID.
1446
+ * @param {string} [policy] Specifies the unique policy ID.
1447
+ * @param {*} [options] Override http request option.
1448
+ * @throws {RequiredError}
1449
+ */
1450
+ getAllowFunctions: (project?: string, policy?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1451
+ /**
1452
+ * Updates your allow functions object.
1453
+ * @param {string} id Specifies the unique allow function ID.
1454
+ * @param {string} type
1455
+ * @param {string} policy
1456
+ * @param {string} [functionName]
1457
+ * @param {string} [project]
1458
+ * @param {string} [contract]
1459
+ * @param {*} [options] Override http request option.
1460
+ * @throws {RequiredError}
1461
+ */
1462
+ updateAllowFunction: (id: string, type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1463
+ };
1464
+ /**
1465
+ * DefaultApi - functional programming interface
1466
+ * @export
1467
+ */
1468
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
1469
+ /**
1470
+ * Creates an account object.
1471
+ * @param {number} chainId The chain_id
1472
+ * @param {string} player The player ID
1473
+ * @param {string} [project] The project ID
1474
+ * @param {string} [externalOwnerAddress] The address of the external owner
1475
+ * @param {*} [options] Override http request option.
1476
+ * @throws {RequiredError}
1477
+ */
1478
+ createAccount(chainId: number, player: string, project?: string, externalOwnerAddress?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
1479
+ /**
1480
+ * Creates an allow function object.
1481
+ * @param {string} type
1482
+ * @param {string} policy
1483
+ * @param {string} [functionName]
1484
+ * @param {string} [project]
1485
+ * @param {string} [contract]
1486
+ * @param {*} [options] Override http request option.
1487
+ * @throws {RequiredError}
1488
+ */
1489
+ createAllowFunction(type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllowFunctionResponse>>;
1490
+ /**
1491
+ * 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.
1492
+ * @param {string} id Specifies the unique account ID.
1493
+ * @param {string} [project] Specifies the unique project ID.
1494
+ * @param {*} [options] Override http request option.
1495
+ * @throws {RequiredError}
1496
+ */
1497
+ getAccount(id: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
1498
+ /**
1499
+ * 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.
1500
+ * @param {string} id Specifies the unique account ID.
1501
+ * @param {string} [project] Specifies the unique project ID.
1502
+ * @param {*} [options] Override http request option.
1503
+ * @throws {RequiredError}
1504
+ */
1505
+ getAccountInventory(id: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InventoryResponse>>;
1506
+ /**
1507
+ * 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.
1508
+ * @param {string} player Specifies the unique player ID.
1509
+ * @param {string} [project] Specifies the unique project ID.
1510
+ * @param {*} [options] Override http request option.
1511
+ * @throws {RequiredError}
1512
+ */
1513
+ getAccounts(player: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountsResponse>>;
1514
+ /**
1515
+ * 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.
1516
+ * @param {string} [project] Specifies the unique project ID.
1517
+ * @param {string} [policy] Specifies the unique policy ID.
1518
+ * @param {*} [options] Override http request option.
1519
+ * @throws {RequiredError}
1520
+ */
1521
+ getAllowFunctions(project?: string, policy?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllowFunctionsResponse>>;
1522
+ /**
1523
+ * Updates your allow functions object.
1524
+ * @param {string} id Specifies the unique allow function ID.
1525
+ * @param {string} type
1526
+ * @param {string} policy
1527
+ * @param {string} [functionName]
1528
+ * @param {string} [project]
1529
+ * @param {string} [contract]
1530
+ * @param {*} [options] Override http request option.
1531
+ * @throws {RequiredError}
1532
+ */
1533
+ updateAllowFunction(id: string, type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllowFunctionResponse>>;
1534
+ };
1535
+ /**
1536
+ * DefaultApi - factory interface
1537
+ * @export
1538
+ */
1539
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1540
+ /**
1541
+ * Creates an account object.
1542
+ * @param {number} chainId The chain_id
1543
+ * @param {string} player The player ID
1544
+ * @param {string} [project] The project ID
1545
+ * @param {string} [externalOwnerAddress] The address of the external owner
1546
+ * @param {*} [options] Override http request option.
1547
+ * @throws {RequiredError}
1548
+ */
1549
+ createAccount(chainId: number, player: string, project?: string, externalOwnerAddress?: string, options?: any): AxiosPromise<AccountResponse>;
1550
+ /**
1551
+ * Creates an allow function object.
1552
+ * @param {string} type
1553
+ * @param {string} policy
1554
+ * @param {string} [functionName]
1555
+ * @param {string} [project]
1556
+ * @param {string} [contract]
1557
+ * @param {*} [options] Override http request option.
1558
+ * @throws {RequiredError}
1559
+ */
1560
+ createAllowFunction(type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: any): AxiosPromise<AllowFunctionResponse>;
1561
+ /**
1562
+ * 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.
1563
+ * @param {string} id Specifies the unique account ID.
1564
+ * @param {string} [project] Specifies the unique project ID.
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ */
1568
+ getAccount(id: string, project?: string, options?: any): AxiosPromise<AccountResponse>;
1569
+ /**
1570
+ * 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.
1571
+ * @param {string} id Specifies the unique account ID.
1572
+ * @param {string} [project] Specifies the unique project ID.
1573
+ * @param {*} [options] Override http request option.
1574
+ * @throws {RequiredError}
1575
+ */
1576
+ getAccountInventory(id: string, project?: string, options?: any): AxiosPromise<InventoryResponse>;
1577
+ /**
1578
+ * 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.
1579
+ * @param {string} player Specifies the unique player ID.
1580
+ * @param {string} [project] Specifies the unique project ID.
1581
+ * @param {*} [options] Override http request option.
1582
+ * @throws {RequiredError}
1583
+ */
1584
+ getAccounts(player: string, project?: string, options?: any): AxiosPromise<AccountsResponse>;
1585
+ /**
1586
+ * 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.
1587
+ * @param {string} [project] Specifies the unique project ID.
1588
+ * @param {string} [policy] Specifies the unique policy ID.
1589
+ * @param {*} [options] Override http request option.
1590
+ * @throws {RequiredError}
1591
+ */
1592
+ getAllowFunctions(project?: string, policy?: string, options?: any): AxiosPromise<AllowFunctionsResponse>;
1593
+ /**
1594
+ * Updates your allow functions object.
1595
+ * @param {string} id Specifies the unique allow function ID.
1596
+ * @param {string} type
1597
+ * @param {string} policy
1598
+ * @param {string} [functionName]
1599
+ * @param {string} [project]
1600
+ * @param {string} [contract]
1601
+ * @param {*} [options] Override http request option.
1602
+ * @throws {RequiredError}
1603
+ */
1604
+ updateAllowFunction(id: string, type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: any): AxiosPromise<AllowFunctionResponse>;
1605
+ };
1606
+ /**
1607
+ * DefaultApi - object-oriented interface
1608
+ * @export
1609
+ * @class DefaultApi
1610
+ * @extends {BaseAPI}
1611
+ */
1612
+ export declare class DefaultApi extends BaseAPI {
1613
+ /**
1614
+ * Creates an account object.
1615
+ * @param {number} chainId The chain_id
1616
+ * @param {string} player The player ID
1617
+ * @param {string} [project] The project ID
1618
+ * @param {string} [externalOwnerAddress] The address of the external owner
1619
+ * @param {*} [options] Override http request option.
1620
+ * @throws {RequiredError}
1621
+ * @memberof DefaultApi
1622
+ */
1623
+ createAccount(chainId: number, player: string, project?: string, externalOwnerAddress?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
1624
+ /**
1625
+ * Creates an allow function object.
1626
+ * @param {string} type
1627
+ * @param {string} policy
1628
+ * @param {string} [functionName]
1629
+ * @param {string} [project]
1630
+ * @param {string} [contract]
1631
+ * @param {*} [options] Override http request option.
1632
+ * @throws {RequiredError}
1633
+ * @memberof DefaultApi
1634
+ */
1635
+ createAllowFunction(type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AllowFunctionResponse, any>>;
1636
+ /**
1637
+ * 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.
1638
+ * @param {string} id Specifies the unique account ID.
1639
+ * @param {string} [project] Specifies the unique project ID.
1640
+ * @param {*} [options] Override http request option.
1641
+ * @throws {RequiredError}
1642
+ * @memberof DefaultApi
1643
+ */
1644
+ getAccount(id: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
1645
+ /**
1646
+ * 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.
1647
+ * @param {string} id Specifies the unique account ID.
1648
+ * @param {string} [project] Specifies the unique project ID.
1649
+ * @param {*} [options] Override http request option.
1650
+ * @throws {RequiredError}
1651
+ * @memberof DefaultApi
1652
+ */
1653
+ getAccountInventory(id: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InventoryResponse, any>>;
1654
+ /**
1655
+ * 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.
1656
+ * @param {string} player Specifies the unique player ID.
1657
+ * @param {string} [project] Specifies the unique project ID.
1658
+ * @param {*} [options] Override http request option.
1659
+ * @throws {RequiredError}
1660
+ * @memberof DefaultApi
1661
+ */
1662
+ getAccounts(player: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountsResponse, any>>;
1663
+ /**
1664
+ * 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.
1665
+ * @param {string} [project] Specifies the unique project ID.
1666
+ * @param {string} [policy] Specifies the unique policy ID.
1667
+ * @param {*} [options] Override http request option.
1668
+ * @throws {RequiredError}
1669
+ * @memberof DefaultApi
1670
+ */
1671
+ getAllowFunctions(project?: string, policy?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AllowFunctionsResponse, any>>;
1672
+ /**
1673
+ * Updates your allow functions object.
1674
+ * @param {string} id Specifies the unique allow function ID.
1675
+ * @param {string} type
1676
+ * @param {string} policy
1677
+ * @param {string} [functionName]
1678
+ * @param {string} [project]
1679
+ * @param {string} [contract]
1680
+ * @param {*} [options] Override http request option.
1681
+ * @throws {RequiredError}
1682
+ * @memberof DefaultApi
1683
+ */
1684
+ updateAllowFunction(id: string, type: string, policy: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AllowFunctionResponse, any>>;
1685
+ }
1686
+ /**
1687
+ * LogsApi - axios parameter creator
1688
+ * @export
1689
+ */
1690
+ export declare const LogsApiAxiosParamCreator: (configuration?: Configuration) => {
1691
+ /**
1692
+ *
1693
+ * @param {string} [project]
1694
+ * @param {Array<string>} [method]
1695
+ * @param {string} [id]
1696
+ * @param {*} [options] Override http request option.
1697
+ * @throws {RequiredError}
1698
+ */
1699
+ getProjectLogs: (project?: string, method?: Array<string>, id?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1700
+ };
1701
+ /**
1702
+ * LogsApi - functional programming interface
1703
+ * @export
1704
+ */
1705
+ export declare const LogsApiFp: (configuration?: Configuration) => {
1706
+ /**
1707
+ *
1708
+ * @param {string} [project]
1709
+ * @param {Array<string>} [method]
1710
+ * @param {string} [id]
1711
+ * @param {*} [options] Override http request option.
1712
+ * @throws {RequiredError}
1713
+ */
1714
+ getProjectLogs(project?: string, method?: Array<string>, id?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectLogs>>;
1715
+ };
1716
+ /**
1717
+ * LogsApi - factory interface
1718
+ * @export
1719
+ */
1720
+ export declare const LogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1721
+ /**
1722
+ *
1723
+ * @param {string} [project]
1724
+ * @param {Array<string>} [method]
1725
+ * @param {string} [id]
1726
+ * @param {*} [options] Override http request option.
1727
+ * @throws {RequiredError}
1728
+ */
1729
+ getProjectLogs(project?: string, method?: Array<string>, id?: string, options?: any): AxiosPromise<ProjectLogs>;
1730
+ };
1731
+ /**
1732
+ * LogsApi - object-oriented interface
1733
+ * @export
1734
+ * @class LogsApi
1735
+ * @extends {BaseAPI}
1736
+ */
1737
+ export declare class LogsApi extends BaseAPI {
1738
+ /**
1739
+ *
1740
+ * @param {string} [project]
1741
+ * @param {Array<string>} [method]
1742
+ * @param {string} [id]
1743
+ * @param {*} [options] Override http request option.
1744
+ * @throws {RequiredError}
1745
+ * @memberof LogsApi
1746
+ */
1747
+ getProjectLogs(project?: string, method?: Array<string>, id?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectLogs, any>>;
1748
+ }
1749
+ /**
1750
+ * PlayersApi - axios parameter creator
1751
+ * @export
1752
+ */
1753
+ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration) => {
1754
+ /**
1755
+ * Creates a player object.
1756
+ * @param {string} name
1757
+ * @param {string} [description]
1758
+ * @param {string} [project]
1759
+ * @param {*} [options] Override http request option.
1760
+ * @throws {RequiredError}
1761
+ */
1762
+ createPlayer: (name: string, description?: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1763
+ /**
1764
+ * Updates an account object of an existing player.
1765
+ * @param {string} player Specifies the unique player ID.
1766
+ * @param {number} chainId The chain_id
1767
+ * @param {string} [project] The project ID
1768
+ * @param {string} [externalOwnerAddress] The address of the external owner
1769
+ * @param {*} [options] Override http request option.
1770
+ * @throws {RequiredError}
1771
+ */
1772
+ createPlayerAccount: (player: string, chainId: number, project?: string, externalOwnerAddress?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1773
+ /**
1774
+ * 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.
1775
+ * @param {string} player Specifies the unique player ID.
1776
+ * @param {string} address
1777
+ * @param {number} chainId
1778
+ * @param {number} validUntil
1779
+ * @param {number} validAfter
1780
+ * @param {string} [policy]
1781
+ * @param {Array<string>} [whitelist]
1782
+ * @param {number} [limit]
1783
+ * @param {*} [options] Override http request option.
1784
+ * @throws {RequiredError}
1785
+ */
1786
+ createPlayerSession: (player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1787
+ /**
1788
+ * 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.
1789
+ * @param {string} id Specifies the unique player ID.
1790
+ * @param {string} [project] Specifies the unique project ID.
1791
+ * @param {*} [options] Override http request option.
1792
+ * @throws {RequiredError}
1793
+ */
1794
+ getPlayer: (id: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1795
+ /**
1796
+ * 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.
1797
+ * @param {string} player Specifies the unique player ID.
1798
+ * @param {string} [project] Specifies the unique project ID.
1799
+ * @param {*} [options] Override http request option.
1800
+ * @throws {RequiredError}
1801
+ */
1802
+ getPlayerAccounts: (player: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1803
+ /**
1804
+ * 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.
1805
+ * @param {string} id Specifies the unique player ID.
1806
+ * @param {number} chainId
1807
+ * @param {string} [project] Specifies the unique project ID.
1808
+ * @param {*} [options] Override http request option.
1809
+ * @throws {RequiredError}
1810
+ */
1811
+ getPlayerInventory: (id: string, chainId: number, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1812
+ /**
1813
+ * Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
1814
+ * @param {string} [project] Specifies the unique project ID.
1815
+ * @param {string} [filter]
1816
+ * @param {string} [order]
1817
+ * @param {number} [skip]
1818
+ * @param {number} [take]
1819
+ * @param {*} [options] Override http request option.
1820
+ * @throws {RequiredError}
1821
+ */
1822
+ getPlayers: (project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1823
+ /**
1824
+ * Updates a player object.
1825
+ * @param {string} id
1826
+ * @param {string} name
1827
+ * @param {string} [description]
1828
+ * @param {string} [project]
1829
+ * @param {*} [options] Override http request option.
1830
+ * @throws {RequiredError}
1831
+ */
1832
+ updatePlayer: (id: string, name: string, description?: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
1833
+ };
1834
+ /**
1835
+ * PlayersApi - functional programming interface
1836
+ * @export
1837
+ */
1838
+ export declare const PlayersApiFp: (configuration?: Configuration) => {
1839
+ /**
1840
+ * Creates a player object.
1841
+ * @param {string} name
1842
+ * @param {string} [description]
1843
+ * @param {string} [project]
1844
+ * @param {*} [options] Override http request option.
1845
+ * @throws {RequiredError}
1846
+ */
1847
+ createPlayer(name: string, description?: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
1848
+ /**
1849
+ * Updates an account object of an existing player.
1850
+ * @param {string} player Specifies the unique player ID.
1851
+ * @param {number} chainId The chain_id
1852
+ * @param {string} [project] The project ID
1853
+ * @param {string} [externalOwnerAddress] The address of the external owner
1854
+ * @param {*} [options] Override http request option.
1855
+ * @throws {RequiredError}
1856
+ */
1857
+ createPlayerAccount(player: string, chainId: number, project?: string, externalOwnerAddress?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
1858
+ /**
1859
+ * 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.
1860
+ * @param {string} player Specifies the unique player ID.
1861
+ * @param {string} address
1862
+ * @param {number} chainId
1863
+ * @param {number} validUntil
1864
+ * @param {number} validAfter
1865
+ * @param {string} [policy]
1866
+ * @param {Array<string>} [whitelist]
1867
+ * @param {number} [limit]
1868
+ * @param {*} [options] Override http request option.
1869
+ * @throws {RequiredError}
1870
+ */
1871
+ createPlayerSession(player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
1872
+ /**
1873
+ * 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.
1874
+ * @param {string} id Specifies the unique player ID.
1875
+ * @param {string} [project] Specifies the unique project ID.
1876
+ * @param {*} [options] Override http request option.
1877
+ * @throws {RequiredError}
1878
+ */
1879
+ getPlayer(id: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
1880
+ /**
1881
+ * 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.
1882
+ * @param {string} player Specifies the unique player ID.
1883
+ * @param {string} [project] Specifies the unique project ID.
1884
+ * @param {*} [options] Override http request option.
1885
+ * @throws {RequiredError}
1886
+ */
1887
+ getPlayerAccounts(player: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountsResponse>>;
1888
+ /**
1889
+ * 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.
1890
+ * @param {string} id Specifies the unique player ID.
1891
+ * @param {number} chainId
1892
+ * @param {string} [project] Specifies the unique project ID.
1893
+ * @param {*} [options] Override http request option.
1894
+ * @throws {RequiredError}
1895
+ */
1896
+ getPlayerInventory(id: string, chainId: number, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InventoryResponse>>;
1897
+ /**
1898
+ * Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
1899
+ * @param {string} [project] Specifies the unique project ID.
1900
+ * @param {string} [filter]
1901
+ * @param {string} [order]
1902
+ * @param {number} [skip]
1903
+ * @param {number} [take]
1904
+ * @param {*} [options] Override http request option.
1905
+ * @throws {RequiredError}
1906
+ */
1907
+ getPlayers(project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayersResponse>>;
1908
+ /**
1909
+ * Updates a player object.
1910
+ * @param {string} id
1911
+ * @param {string} name
1912
+ * @param {string} [description]
1913
+ * @param {string} [project]
1914
+ * @param {*} [options] Override http request option.
1915
+ * @throws {RequiredError}
1916
+ */
1917
+ updatePlayer(id: string, name: string, description?: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
1918
+ };
1919
+ /**
1920
+ * PlayersApi - factory interface
1921
+ * @export
1922
+ */
1923
+ export declare const PlayersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1924
+ /**
1925
+ * Creates a player object.
1926
+ * @param {string} name
1927
+ * @param {string} [description]
1928
+ * @param {string} [project]
1929
+ * @param {*} [options] Override http request option.
1930
+ * @throws {RequiredError}
1931
+ */
1932
+ createPlayer(name: string, description?: string, project?: string, options?: any): AxiosPromise<PlayerResponse>;
1933
+ /**
1934
+ * Updates an account object of an existing player.
1935
+ * @param {string} player Specifies the unique player ID.
1936
+ * @param {number} chainId The chain_id
1937
+ * @param {string} [project] The project ID
1938
+ * @param {string} [externalOwnerAddress] The address of the external owner
1939
+ * @param {*} [options] Override http request option.
1940
+ * @throws {RequiredError}
1941
+ */
1942
+ createPlayerAccount(player: string, chainId: number, project?: string, externalOwnerAddress?: string, options?: any): AxiosPromise<AccountResponse>;
1943
+ /**
1944
+ * 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.
1945
+ * @param {string} player Specifies the unique player ID.
1946
+ * @param {string} address
1947
+ * @param {number} chainId
1948
+ * @param {number} validUntil
1949
+ * @param {number} validAfter
1950
+ * @param {string} [policy]
1951
+ * @param {Array<string>} [whitelist]
1952
+ * @param {number} [limit]
1953
+ * @param {*} [options] Override http request option.
1954
+ * @throws {RequiredError}
1955
+ */
1956
+ createPlayerSession(player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: any): AxiosPromise<SessionResponse>;
1957
+ /**
1958
+ * 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.
1959
+ * @param {string} id Specifies the unique player ID.
1960
+ * @param {string} [project] Specifies the unique project ID.
1961
+ * @param {*} [options] Override http request option.
1962
+ * @throws {RequiredError}
1963
+ */
1964
+ getPlayer(id: string, project?: string, options?: any): AxiosPromise<PlayerResponse>;
1965
+ /**
1966
+ * 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.
1967
+ * @param {string} player Specifies the unique player ID.
1968
+ * @param {string} [project] Specifies the unique project ID.
1969
+ * @param {*} [options] Override http request option.
1970
+ * @throws {RequiredError}
1971
+ */
1972
+ getPlayerAccounts(player: string, project?: string, options?: any): AxiosPromise<AccountsResponse>;
1973
+ /**
1974
+ * 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.
1975
+ * @param {string} id Specifies the unique player ID.
1976
+ * @param {number} chainId
1977
+ * @param {string} [project] Specifies the unique project ID.
1978
+ * @param {*} [options] Override http request option.
1979
+ * @throws {RequiredError}
1980
+ */
1981
+ getPlayerInventory(id: string, chainId: number, project?: string, options?: any): AxiosPromise<InventoryResponse>;
1982
+ /**
1983
+ * Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
1984
+ * @param {string} [project] Specifies the unique project ID.
1985
+ * @param {string} [filter]
1986
+ * @param {string} [order]
1987
+ * @param {number} [skip]
1988
+ * @param {number} [take]
1989
+ * @param {*} [options] Override http request option.
1990
+ * @throws {RequiredError}
1991
+ */
1992
+ getPlayers(project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: any): AxiosPromise<PlayersResponse>;
1993
+ /**
1994
+ * Updates a player object.
1995
+ * @param {string} id
1996
+ * @param {string} name
1997
+ * @param {string} [description]
1998
+ * @param {string} [project]
1999
+ * @param {*} [options] Override http request option.
2000
+ * @throws {RequiredError}
2001
+ */
2002
+ updatePlayer(id: string, name: string, description?: string, project?: string, options?: any): AxiosPromise<PlayerResponse>;
2003
+ };
2004
+ /**
2005
+ * PlayersApi - object-oriented interface
2006
+ * @export
2007
+ * @class PlayersApi
2008
+ * @extends {BaseAPI}
2009
+ */
2010
+ export declare class PlayersApi extends BaseAPI {
2011
+ /**
2012
+ * Creates a player object.
2013
+ * @param {string} name
2014
+ * @param {string} [description]
2015
+ * @param {string} [project]
2016
+ * @param {*} [options] Override http request option.
2017
+ * @throws {RequiredError}
2018
+ * @memberof PlayersApi
2019
+ */
2020
+ createPlayer(name: string, description?: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
2021
+ /**
2022
+ * Updates an account object of an existing player.
2023
+ * @param {string} player Specifies the unique player ID.
2024
+ * @param {number} chainId The chain_id
2025
+ * @param {string} [project] The project ID
2026
+ * @param {string} [externalOwnerAddress] The address of the external owner
2027
+ * @param {*} [options] Override http request option.
2028
+ * @throws {RequiredError}
2029
+ * @memberof PlayersApi
2030
+ */
2031
+ createPlayerAccount(player: string, chainId: number, project?: string, externalOwnerAddress?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
2032
+ /**
2033
+ * 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.
2034
+ * @param {string} player Specifies the unique player ID.
2035
+ * @param {string} address
2036
+ * @param {number} chainId
2037
+ * @param {number} validUntil
2038
+ * @param {number} validAfter
2039
+ * @param {string} [policy]
2040
+ * @param {Array<string>} [whitelist]
2041
+ * @param {number} [limit]
2042
+ * @param {*} [options] Override http request option.
2043
+ * @throws {RequiredError}
2044
+ * @memberof PlayersApi
2045
+ */
2046
+ createPlayerSession(player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
2047
+ /**
2048
+ * 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.
2049
+ * @param {string} id Specifies the unique player ID.
2050
+ * @param {string} [project] Specifies the unique project ID.
2051
+ * @param {*} [options] Override http request option.
2052
+ * @throws {RequiredError}
2053
+ * @memberof PlayersApi
2054
+ */
2055
+ getPlayer(id: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
2056
+ /**
2057
+ * 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.
2058
+ * @param {string} player Specifies the unique player ID.
2059
+ * @param {string} [project] Specifies the unique project ID.
2060
+ * @param {*} [options] Override http request option.
2061
+ * @throws {RequiredError}
2062
+ * @memberof PlayersApi
2063
+ */
2064
+ getPlayerAccounts(player: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountsResponse, any>>;
2065
+ /**
2066
+ * 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.
2067
+ * @param {string} id Specifies the unique player ID.
2068
+ * @param {number} chainId
2069
+ * @param {string} [project] Specifies the unique project ID.
2070
+ * @param {*} [options] Override http request option.
2071
+ * @throws {RequiredError}
2072
+ * @memberof PlayersApi
2073
+ */
2074
+ getPlayerInventory(id: string, chainId: number, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InventoryResponse, any>>;
2075
+ /**
2076
+ * Returns a list of your players. The players are returned sorted by creation date, with the most recently created players appearing first.
2077
+ * @param {string} [project] Specifies the unique project ID.
2078
+ * @param {string} [filter]
2079
+ * @param {string} [order]
2080
+ * @param {number} [skip]
2081
+ * @param {number} [take]
2082
+ * @param {*} [options] Override http request option.
2083
+ * @throws {RequiredError}
2084
+ * @memberof PlayersApi
2085
+ */
2086
+ getPlayers(project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayersResponse, any>>;
2087
+ /**
2088
+ * Updates a player object.
2089
+ * @param {string} id
2090
+ * @param {string} name
2091
+ * @param {string} [description]
2092
+ * @param {string} [project]
2093
+ * @param {*} [options] Override http request option.
2094
+ * @throws {RequiredError}
2095
+ * @memberof PlayersApi
2096
+ */
2097
+ updatePlayer(id: string, name: string, description?: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
2098
+ }
2099
+ /**
2100
+ * PoliciesApi - axios parameter creator
2101
+ * @export
2102
+ */
2103
+ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
2104
+ /**
2105
+ * Create a policy object.
2106
+ * @param {string} name
2107
+ * @param {number} chainId
2108
+ * @param {Strategy} [strategy]
2109
+ * @param {string} [project]
2110
+ * @param {*} [options] Override http request option.
2111
+ * @throws {RequiredError}
2112
+ */
2113
+ createPolicy: (name: string, chainId: number, strategy?: Strategy, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2114
+ /**
2115
+ *
2116
+ * @param {string} policy
2117
+ * @param {string} type
2118
+ * @param {string} [functionName]
2119
+ * @param {string} [project]
2120
+ * @param {string} [contract]
2121
+ * @param {*} [options] Override http request option.
2122
+ * @throws {RequiredError}
2123
+ */
2124
+ createPolicyAllowFunction: (policy: string, type: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2125
+ /**
2126
+ *
2127
+ * @param {string} [project]
2128
+ * @param {*} [options] Override http request option.
2129
+ * @throws {RequiredError}
2130
+ */
2131
+ getPolicies: (project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2132
+ /**
2133
+ *
2134
+ * @param {string} id
2135
+ * @param {string} [project]
2136
+ * @param {*} [options] Override http request option.
2137
+ * @throws {RequiredError}
2138
+ */
2139
+ getPolicy: (id: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2140
+ /**
2141
+ *
2142
+ * @param {string} policy
2143
+ * @param {string} [project]
2144
+ * @param {*} [options] Override http request option.
2145
+ * @throws {RequiredError}
2146
+ */
2147
+ getPolicyAllowFunctions: (policy: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2148
+ /**
2149
+ *
2150
+ * @param {string} policy
2151
+ * @param {string} [from]
2152
+ * @param {string} [to]
2153
+ * @param {*} [options] Override http request option.
2154
+ * @throws {RequiredError}
2155
+ */
2156
+ getPolicyDailyGasUsage: (policy: string, from?: string, to?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2157
+ /**
2158
+ *
2159
+ * @param {string} policy
2160
+ * @param {string} [from]
2161
+ * @param {string} [to]
2162
+ * @param {*} [options] Override http request option.
2163
+ * @throws {RequiredError}
2164
+ */
2165
+ getPolicyTotalGasUsage: (policy: string, from?: string, to?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2166
+ /**
2167
+ * Updates a policy object.
2168
+ * @param {string} id
2169
+ * @param {string} [name]
2170
+ * @param {number} [chainId]
2171
+ * @param {Strategy} [strategy]
2172
+ * @param {string} [project]
2173
+ * @param {*} [options] Override http request option.
2174
+ * @throws {RequiredError}
2175
+ */
2176
+ updatePolicy: (id: string, name?: string, chainId?: number, strategy?: Strategy, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2177
+ /**
2178
+ *
2179
+ * @param {string} policy
2180
+ * @param {string} id
2181
+ * @param {string} [type]
2182
+ * @param {string} [functionName]
2183
+ * @param {string} [policy2]
2184
+ * @param {string} [project]
2185
+ * @param {string} [contract]
2186
+ * @param {*} [options] Override http request option.
2187
+ * @throws {RequiredError}
2188
+ */
2189
+ updatePolicyAllowFunction: (policy: string, id: string, type?: string, functionName?: string, policy2?: string, project?: string, contract?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2190
+ };
2191
+ /**
2192
+ * PoliciesApi - functional programming interface
2193
+ * @export
2194
+ */
2195
+ export declare const PoliciesApiFp: (configuration?: Configuration) => {
2196
+ /**
2197
+ * Create a policy object.
2198
+ * @param {string} name
2199
+ * @param {number} chainId
2200
+ * @param {Strategy} [strategy]
2201
+ * @param {string} [project]
2202
+ * @param {*} [options] Override http request option.
2203
+ * @throws {RequiredError}
2204
+ */
2205
+ createPolicy(name: string, chainId: number, strategy?: Strategy, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
2206
+ /**
2207
+ *
2208
+ * @param {string} policy
2209
+ * @param {string} type
2210
+ * @param {string} [functionName]
2211
+ * @param {string} [project]
2212
+ * @param {string} [contract]
2213
+ * @param {*} [options] Override http request option.
2214
+ * @throws {RequiredError}
2215
+ */
2216
+ createPolicyAllowFunction(policy: string, type: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllowFunctionResponse>>;
2217
+ /**
2218
+ *
2219
+ * @param {string} [project]
2220
+ * @param {*} [options] Override http request option.
2221
+ * @throws {RequiredError}
2222
+ */
2223
+ getPolicies(project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PoliciesResponse>>;
2224
+ /**
2225
+ *
2226
+ * @param {string} id
2227
+ * @param {string} [project]
2228
+ * @param {*} [options] Override http request option.
2229
+ * @throws {RequiredError}
2230
+ */
2231
+ getPolicy(id: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
2232
+ /**
2233
+ *
2234
+ * @param {string} policy
2235
+ * @param {string} [project]
2236
+ * @param {*} [options] Override http request option.
2237
+ * @throws {RequiredError}
2238
+ */
2239
+ getPolicyAllowFunctions(policy: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllowFunctionsResponse>>;
2240
+ /**
2241
+ *
2242
+ * @param {string} policy
2243
+ * @param {string} [from]
2244
+ * @param {string} [to]
2245
+ * @param {*} [options] Override http request option.
2246
+ * @throws {RequiredError}
2247
+ */
2248
+ getPolicyDailyGasUsage(policy: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Gas>>;
2249
+ /**
2250
+ *
2251
+ * @param {string} policy
2252
+ * @param {string} [from]
2253
+ * @param {string} [to]
2254
+ * @param {*} [options] Override http request option.
2255
+ * @throws {RequiredError}
2256
+ */
2257
+ getPolicyTotalGasUsage(policy: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SumGas>>;
2258
+ /**
2259
+ * Updates a policy object.
2260
+ * @param {string} id
2261
+ * @param {string} [name]
2262
+ * @param {number} [chainId]
2263
+ * @param {Strategy} [strategy]
2264
+ * @param {string} [project]
2265
+ * @param {*} [options] Override http request option.
2266
+ * @throws {RequiredError}
2267
+ */
2268
+ updatePolicy(id: string, name?: string, chainId?: number, strategy?: Strategy, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PolicyResponse>>;
2269
+ /**
2270
+ *
2271
+ * @param {string} policy
2272
+ * @param {string} id
2273
+ * @param {string} [type]
2274
+ * @param {string} [functionName]
2275
+ * @param {string} [policy2]
2276
+ * @param {string} [project]
2277
+ * @param {string} [contract]
2278
+ * @param {*} [options] Override http request option.
2279
+ * @throws {RequiredError}
2280
+ */
2281
+ updatePolicyAllowFunction(policy: string, id: string, type?: string, functionName?: string, policy2?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AllowFunctionResponse>>;
2282
+ };
2283
+ /**
2284
+ * PoliciesApi - factory interface
2285
+ * @export
2286
+ */
2287
+ export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2288
+ /**
2289
+ * Create a policy object.
2290
+ * @param {string} name
2291
+ * @param {number} chainId
2292
+ * @param {Strategy} [strategy]
2293
+ * @param {string} [project]
2294
+ * @param {*} [options] Override http request option.
2295
+ * @throws {RequiredError}
2296
+ */
2297
+ createPolicy(name: string, chainId: number, strategy?: Strategy, project?: string, options?: any): AxiosPromise<PolicyResponse>;
2298
+ /**
2299
+ *
2300
+ * @param {string} policy
2301
+ * @param {string} type
2302
+ * @param {string} [functionName]
2303
+ * @param {string} [project]
2304
+ * @param {string} [contract]
2305
+ * @param {*} [options] Override http request option.
2306
+ * @throws {RequiredError}
2307
+ */
2308
+ createPolicyAllowFunction(policy: string, type: string, functionName?: string, project?: string, contract?: string, options?: any): AxiosPromise<AllowFunctionResponse>;
2309
+ /**
2310
+ *
2311
+ * @param {string} [project]
2312
+ * @param {*} [options] Override http request option.
2313
+ * @throws {RequiredError}
2314
+ */
2315
+ getPolicies(project?: string, options?: any): AxiosPromise<PoliciesResponse>;
2316
+ /**
2317
+ *
2318
+ * @param {string} id
2319
+ * @param {string} [project]
2320
+ * @param {*} [options] Override http request option.
2321
+ * @throws {RequiredError}
2322
+ */
2323
+ getPolicy(id: string, project?: string, options?: any): AxiosPromise<PolicyResponse>;
2324
+ /**
2325
+ *
2326
+ * @param {string} policy
2327
+ * @param {string} [project]
2328
+ * @param {*} [options] Override http request option.
2329
+ * @throws {RequiredError}
2330
+ */
2331
+ getPolicyAllowFunctions(policy: string, project?: string, options?: any): AxiosPromise<AllowFunctionsResponse>;
2332
+ /**
2333
+ *
2334
+ * @param {string} policy
2335
+ * @param {string} [from]
2336
+ * @param {string} [to]
2337
+ * @param {*} [options] Override http request option.
2338
+ * @throws {RequiredError}
2339
+ */
2340
+ getPolicyDailyGasUsage(policy: string, from?: string, to?: string, options?: any): AxiosPromise<Gas>;
2341
+ /**
2342
+ *
2343
+ * @param {string} policy
2344
+ * @param {string} [from]
2345
+ * @param {string} [to]
2346
+ * @param {*} [options] Override http request option.
2347
+ * @throws {RequiredError}
2348
+ */
2349
+ getPolicyTotalGasUsage(policy: string, from?: string, to?: string, options?: any): AxiosPromise<SumGas>;
2350
+ /**
2351
+ * Updates a policy object.
2352
+ * @param {string} id
2353
+ * @param {string} [name]
2354
+ * @param {number} [chainId]
2355
+ * @param {Strategy} [strategy]
2356
+ * @param {string} [project]
2357
+ * @param {*} [options] Override http request option.
2358
+ * @throws {RequiredError}
2359
+ */
2360
+ updatePolicy(id: string, name?: string, chainId?: number, strategy?: Strategy, project?: string, options?: any): AxiosPromise<PolicyResponse>;
2361
+ /**
2362
+ *
2363
+ * @param {string} policy
2364
+ * @param {string} id
2365
+ * @param {string} [type]
2366
+ * @param {string} [functionName]
2367
+ * @param {string} [policy2]
2368
+ * @param {string} [project]
2369
+ * @param {string} [contract]
2370
+ * @param {*} [options] Override http request option.
2371
+ * @throws {RequiredError}
2372
+ */
2373
+ updatePolicyAllowFunction(policy: string, id: string, type?: string, functionName?: string, policy2?: string, project?: string, contract?: string, options?: any): AxiosPromise<AllowFunctionResponse>;
2374
+ };
2375
+ /**
2376
+ * PoliciesApi - object-oriented interface
2377
+ * @export
2378
+ * @class PoliciesApi
2379
+ * @extends {BaseAPI}
2380
+ */
2381
+ export declare class PoliciesApi extends BaseAPI {
2382
+ /**
2383
+ * Create a policy object.
2384
+ * @param {string} name
2385
+ * @param {number} chainId
2386
+ * @param {Strategy} [strategy]
2387
+ * @param {string} [project]
2388
+ * @param {*} [options] Override http request option.
2389
+ * @throws {RequiredError}
2390
+ * @memberof PoliciesApi
2391
+ */
2392
+ createPolicy(name: string, chainId: number, strategy?: Strategy, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
2393
+ /**
2394
+ *
2395
+ * @param {string} policy
2396
+ * @param {string} type
2397
+ * @param {string} [functionName]
2398
+ * @param {string} [project]
2399
+ * @param {string} [contract]
2400
+ * @param {*} [options] Override http request option.
2401
+ * @throws {RequiredError}
2402
+ * @memberof PoliciesApi
2403
+ */
2404
+ createPolicyAllowFunction(policy: string, type: string, functionName?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AllowFunctionResponse, any>>;
2405
+ /**
2406
+ *
2407
+ * @param {string} [project]
2408
+ * @param {*} [options] Override http request option.
2409
+ * @throws {RequiredError}
2410
+ * @memberof PoliciesApi
2411
+ */
2412
+ getPolicies(project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PoliciesResponse, any>>;
2413
+ /**
2414
+ *
2415
+ * @param {string} id
2416
+ * @param {string} [project]
2417
+ * @param {*} [options] Override http request option.
2418
+ * @throws {RequiredError}
2419
+ * @memberof PoliciesApi
2420
+ */
2421
+ getPolicy(id: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
2422
+ /**
2423
+ *
2424
+ * @param {string} policy
2425
+ * @param {string} [project]
2426
+ * @param {*} [options] Override http request option.
2427
+ * @throws {RequiredError}
2428
+ * @memberof PoliciesApi
2429
+ */
2430
+ getPolicyAllowFunctions(policy: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AllowFunctionsResponse, any>>;
2431
+ /**
2432
+ *
2433
+ * @param {string} policy
2434
+ * @param {string} [from]
2435
+ * @param {string} [to]
2436
+ * @param {*} [options] Override http request option.
2437
+ * @throws {RequiredError}
2438
+ * @memberof PoliciesApi
2439
+ */
2440
+ getPolicyDailyGasUsage(policy: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Gas, any>>;
2441
+ /**
2442
+ *
2443
+ * @param {string} policy
2444
+ * @param {string} [from]
2445
+ * @param {string} [to]
2446
+ * @param {*} [options] Override http request option.
2447
+ * @throws {RequiredError}
2448
+ * @memberof PoliciesApi
2449
+ */
2450
+ getPolicyTotalGasUsage(policy: string, from?: string, to?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SumGas, any>>;
2451
+ /**
2452
+ * Updates a policy object.
2453
+ * @param {string} id
2454
+ * @param {string} [name]
2455
+ * @param {number} [chainId]
2456
+ * @param {Strategy} [strategy]
2457
+ * @param {string} [project]
2458
+ * @param {*} [options] Override http request option.
2459
+ * @throws {RequiredError}
2460
+ * @memberof PoliciesApi
2461
+ */
2462
+ updatePolicy(id: string, name?: string, chainId?: number, strategy?: Strategy, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyResponse, any>>;
2463
+ /**
2464
+ *
2465
+ * @param {string} policy
2466
+ * @param {string} id
2467
+ * @param {string} [type]
2468
+ * @param {string} [functionName]
2469
+ * @param {string} [policy2]
2470
+ * @param {string} [project]
2471
+ * @param {string} [contract]
2472
+ * @param {*} [options] Override http request option.
2473
+ * @throws {RequiredError}
2474
+ * @memberof PoliciesApi
2475
+ */
2476
+ updatePolicyAllowFunction(policy: string, id: string, type?: string, functionName?: string, policy2?: string, project?: string, contract?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AllowFunctionResponse, any>>;
2477
+ }
2478
+ /**
2479
+ * ProjectsApi - axios parameter creator
2480
+ * @export
2481
+ */
2482
+ export declare const ProjectsApiAxiosParamCreator: (configuration?: Configuration) => {
2483
+ /**
2484
+ * Creates a project object.
2485
+ * @param {string} name
2486
+ * @param {boolean} [livemode]
2487
+ * @param {string} [project]
2488
+ * @param {*} [options] Override http request option.
2489
+ * @throws {RequiredError}
2490
+ */
2491
+ createProject: (name: string, livemode?: boolean, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2492
+ /**
2493
+ *
2494
+ * @param {*} [options] Override http request option.
2495
+ * @throws {RequiredError}
2496
+ */
2497
+ get: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
2498
+ /**
2499
+ *
2500
+ * @param {string} id
2501
+ * @param {*} [options] Override http request option.
2502
+ * @throws {RequiredError}
2503
+ */
2504
+ getProject: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2505
+ /**
2506
+ *
2507
+ * @param {string} [project]
2508
+ * @param {*} [options] Override http request option.
2509
+ * @throws {RequiredError}
2510
+ */
2511
+ getProjects: (project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2512
+ /**
2513
+ * Updates a project object.
2514
+ * @param {string} id
2515
+ * @param {string} name
2516
+ * @param {boolean} [livemode]
2517
+ * @param {string} [project]
2518
+ * @param {*} [options] Override http request option.
2519
+ * @throws {RequiredError}
2520
+ */
2521
+ updateProject: (id: string, name: string, livemode?: boolean, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2522
+ };
2523
+ /**
2524
+ * ProjectsApi - functional programming interface
2525
+ * @export
2526
+ */
2527
+ export declare const ProjectsApiFp: (configuration?: Configuration) => {
2528
+ /**
2529
+ * Creates a project object.
2530
+ * @param {string} name
2531
+ * @param {boolean} [livemode]
2532
+ * @param {string} [project]
2533
+ * @param {*} [options] Override http request option.
2534
+ * @throws {RequiredError}
2535
+ */
2536
+ createProject(name: string, livemode?: boolean, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponse>>;
2537
+ /**
2538
+ *
2539
+ * @param {*} [options] Override http request option.
2540
+ * @throws {RequiredError}
2541
+ */
2542
+ get(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProjectResponse>>;
2543
+ /**
2544
+ *
2545
+ * @param {string} id
2546
+ * @param {*} [options] Override http request option.
2547
+ * @throws {RequiredError}
2548
+ */
2549
+ getProject(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponse>>;
2550
+ /**
2551
+ *
2552
+ * @param {string} [project]
2553
+ * @param {*} [options] Override http request option.
2554
+ * @throws {RequiredError}
2555
+ */
2556
+ getProjects(project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectsResponse>>;
2557
+ /**
2558
+ * Updates a project object.
2559
+ * @param {string} id
2560
+ * @param {string} name
2561
+ * @param {boolean} [livemode]
2562
+ * @param {string} [project]
2563
+ * @param {*} [options] Override http request option.
2564
+ * @throws {RequiredError}
2565
+ */
2566
+ updateProject(id: string, name: string, livemode?: boolean, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProjectResponse>>;
2567
+ };
2568
+ /**
2569
+ * ProjectsApi - factory interface
2570
+ * @export
2571
+ */
2572
+ export declare const ProjectsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2573
+ /**
2574
+ * Creates a project object.
2575
+ * @param {string} name
2576
+ * @param {boolean} [livemode]
2577
+ * @param {string} [project]
2578
+ * @param {*} [options] Override http request option.
2579
+ * @throws {RequiredError}
2580
+ */
2581
+ createProject(name: string, livemode?: boolean, project?: string, options?: any): AxiosPromise<ProjectResponse>;
2582
+ /**
2583
+ *
2584
+ * @param {*} [options] Override http request option.
2585
+ * @throws {RequiredError}
2586
+ */
2587
+ get(options?: any): AxiosPromise<GetProjectResponse>;
2588
+ /**
2589
+ *
2590
+ * @param {string} id
2591
+ * @param {*} [options] Override http request option.
2592
+ * @throws {RequiredError}
2593
+ */
2594
+ getProject(id: string, options?: any): AxiosPromise<ProjectResponse>;
2595
+ /**
2596
+ *
2597
+ * @param {string} [project]
2598
+ * @param {*} [options] Override http request option.
2599
+ * @throws {RequiredError}
2600
+ */
2601
+ getProjects(project?: string, options?: any): AxiosPromise<ProjectsResponse>;
2602
+ /**
2603
+ * Updates a project object.
2604
+ * @param {string} id
2605
+ * @param {string} name
2606
+ * @param {boolean} [livemode]
2607
+ * @param {string} [project]
2608
+ * @param {*} [options] Override http request option.
2609
+ * @throws {RequiredError}
2610
+ */
2611
+ updateProject(id: string, name: string, livemode?: boolean, project?: string, options?: any): AxiosPromise<ProjectResponse>;
2612
+ };
2613
+ /**
2614
+ * ProjectsApi - object-oriented interface
2615
+ * @export
2616
+ * @class ProjectsApi
2617
+ * @extends {BaseAPI}
2618
+ */
2619
+ export declare class ProjectsApi extends BaseAPI {
2620
+ /**
2621
+ * Creates a project object.
2622
+ * @param {string} name
2623
+ * @param {boolean} [livemode]
2624
+ * @param {string} [project]
2625
+ * @param {*} [options] Override http request option.
2626
+ * @throws {RequiredError}
2627
+ * @memberof ProjectsApi
2628
+ */
2629
+ createProject(name: string, livemode?: boolean, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
2630
+ /**
2631
+ *
2632
+ * @param {*} [options] Override http request option.
2633
+ * @throws {RequiredError}
2634
+ * @memberof ProjectsApi
2635
+ */
2636
+ get(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProjectResponse, any>>;
2637
+ /**
2638
+ *
2639
+ * @param {string} id
2640
+ * @param {*} [options] Override http request option.
2641
+ * @throws {RequiredError}
2642
+ * @memberof ProjectsApi
2643
+ */
2644
+ getProject(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
2645
+ /**
2646
+ *
2647
+ * @param {string} [project]
2648
+ * @param {*} [options] Override http request option.
2649
+ * @throws {RequiredError}
2650
+ * @memberof ProjectsApi
2651
+ */
2652
+ getProjects(project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectsResponse, any>>;
2653
+ /**
2654
+ * Updates a project object.
2655
+ * @param {string} id
2656
+ * @param {string} name
2657
+ * @param {boolean} [livemode]
2658
+ * @param {string} [project]
2659
+ * @param {*} [options] Override http request option.
2660
+ * @throws {RequiredError}
2661
+ * @memberof ProjectsApi
2662
+ */
2663
+ updateProject(id: string, name: string, livemode?: boolean, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProjectResponse, any>>;
2664
+ }
2665
+ /**
2666
+ * SessionsApi - axios parameter creator
2667
+ * @export
2668
+ */
2669
+ export declare const SessionsApiAxiosParamCreator: (configuration?: Configuration) => {
2670
+ /**
2671
+ * Creates the session for the player.
2672
+ * @param {string} player
2673
+ * @param {string} address
2674
+ * @param {number} chainId
2675
+ * @param {number} validUntil
2676
+ * @param {number} validAfter
2677
+ * @param {string} [policy]
2678
+ * @param {Array<string>} [whitelist]
2679
+ * @param {number} [limit]
2680
+ * @param {*} [options] Override http request option.
2681
+ * @throws {RequiredError}
2682
+ */
2683
+ createSession: (player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2684
+ /**
2685
+ * Confirms the creation of a session with an external owner.
2686
+ * @param {string} session
2687
+ * @param {string} signature
2688
+ * @param {*} [options] Override http request option.
2689
+ * @throws {RequiredError}
2690
+ */
2691
+ signatureSession: (session: string, signature: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2692
+ };
2693
+ /**
2694
+ * SessionsApi - functional programming interface
2695
+ * @export
2696
+ */
2697
+ export declare const SessionsApiFp: (configuration?: Configuration) => {
2698
+ /**
2699
+ * Creates the session for the player.
2700
+ * @param {string} player
2701
+ * @param {string} address
2702
+ * @param {number} chainId
2703
+ * @param {number} validUntil
2704
+ * @param {number} validAfter
2705
+ * @param {string} [policy]
2706
+ * @param {Array<string>} [whitelist]
2707
+ * @param {number} [limit]
2708
+ * @param {*} [options] Override http request option.
2709
+ * @throws {RequiredError}
2710
+ */
2711
+ createSession(player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
2712
+ /**
2713
+ * Confirms the creation of a session with an external owner.
2714
+ * @param {string} session
2715
+ * @param {string} signature
2716
+ * @param {*} [options] Override http request option.
2717
+ * @throws {RequiredError}
2718
+ */
2719
+ signatureSession(session: string, signature: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
2720
+ };
2721
+ /**
2722
+ * SessionsApi - factory interface
2723
+ * @export
2724
+ */
2725
+ export declare const SessionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2726
+ /**
2727
+ * Creates the session for the player.
2728
+ * @param {string} player
2729
+ * @param {string} address
2730
+ * @param {number} chainId
2731
+ * @param {number} validUntil
2732
+ * @param {number} validAfter
2733
+ * @param {string} [policy]
2734
+ * @param {Array<string>} [whitelist]
2735
+ * @param {number} [limit]
2736
+ * @param {*} [options] Override http request option.
2737
+ * @throws {RequiredError}
2738
+ */
2739
+ createSession(player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: any): AxiosPromise<SessionResponse>;
2740
+ /**
2741
+ * Confirms the creation of a session with an external owner.
2742
+ * @param {string} session
2743
+ * @param {string} signature
2744
+ * @param {*} [options] Override http request option.
2745
+ * @throws {RequiredError}
2746
+ */
2747
+ signatureSession(session: string, signature: string, options?: any): AxiosPromise<SessionResponse>;
2748
+ };
2749
+ /**
2750
+ * SessionsApi - object-oriented interface
2751
+ * @export
2752
+ * @class SessionsApi
2753
+ * @extends {BaseAPI}
2754
+ */
2755
+ export declare class SessionsApi extends BaseAPI {
2756
+ /**
2757
+ * Creates the session for the player.
2758
+ * @param {string} player
2759
+ * @param {string} address
2760
+ * @param {number} chainId
2761
+ * @param {number} validUntil
2762
+ * @param {number} validAfter
2763
+ * @param {string} [policy]
2764
+ * @param {Array<string>} [whitelist]
2765
+ * @param {number} [limit]
2766
+ * @param {*} [options] Override http request option.
2767
+ * @throws {RequiredError}
2768
+ * @memberof SessionsApi
2769
+ */
2770
+ createSession(player: string, address: string, chainId: number, validUntil: number, validAfter: number, policy?: string, whitelist?: Array<string>, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
2771
+ /**
2772
+ * Confirms the creation of a session with an external owner.
2773
+ * @param {string} session
2774
+ * @param {string} signature
2775
+ * @param {*} [options] Override http request option.
2776
+ * @throws {RequiredError}
2777
+ * @memberof SessionsApi
2778
+ */
2779
+ signatureSession(session: string, signature: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
2780
+ }
2781
+ /**
2782
+ * TransactionIntentsApi - axios parameter creator
2783
+ * @export
2784
+ */
2785
+ export declare const TransactionIntentsApiAxiosParamCreator: (configuration?: Configuration) => {
2786
+ /**
2787
+ * Creates a transaction intent object.
2788
+ * @param {string} player
2789
+ * @param {number} chainId
2790
+ * @param {boolean} optimistic
2791
+ * @param {Array<Interaction>} interactions
2792
+ * @param {string} [policy]
2793
+ * @param {string} [project]
2794
+ * @param {*} [options] Override http request option.
2795
+ * @throws {RequiredError}
2796
+ */
2797
+ createTransactionIntent: (player: string, chainId: number, optimistic: boolean, interactions: Array<Interaction>, policy?: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2798
+ /**
2799
+ * Updates a transaction intent object.
2800
+ * @param {string} id
2801
+ * @param {string} [project]
2802
+ * @param {*} [options] Override http request option.
2803
+ * @throws {RequiredError}
2804
+ */
2805
+ getTransactionIntent: (id: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2806
+ /**
2807
+ *
2808
+ * @param {string} [project]
2809
+ * @param {string} [filter]
2810
+ * @param {string} [order]
2811
+ * @param {number} [skip]
2812
+ * @param {number} [take]
2813
+ * @param {*} [options] Override http request option.
2814
+ * @throws {RequiredError}
2815
+ */
2816
+ getTransactionIntents: (project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2817
+ /**
2818
+ * Confirms the creation of a transaction intent with an external owner.
2819
+ * @param {string} transactionIntent
2820
+ * @param {string} signature
2821
+ * @param {*} [options] Override http request option.
2822
+ * @throws {RequiredError}
2823
+ */
2824
+ signature: (transactionIntent: string, signature: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2825
+ /**
2826
+ *
2827
+ * @param {string} id
2828
+ * @param {string} [project]
2829
+ * @param {*} [options] Override http request option.
2830
+ * @throws {RequiredError}
2831
+ */
2832
+ updateTransactionIntentResponse: (id: string, project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2833
+ /**
2834
+ *
2835
+ * @param {string} [project]
2836
+ * @param {*} [options] Override http request option.
2837
+ * @throws {RequiredError}
2838
+ */
2839
+ updateTransactionIntentsResponse: (project?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
2840
+ };
2841
+ /**
2842
+ * TransactionIntentsApi - functional programming interface
2843
+ * @export
2844
+ */
2845
+ export declare const TransactionIntentsApiFp: (configuration?: Configuration) => {
2846
+ /**
2847
+ * Creates a transaction intent object.
2848
+ * @param {string} player
2849
+ * @param {number} chainId
2850
+ * @param {boolean} optimistic
2851
+ * @param {Array<Interaction>} interactions
2852
+ * @param {string} [policy]
2853
+ * @param {string} [project]
2854
+ * @param {*} [options] Override http request option.
2855
+ * @throws {RequiredError}
2856
+ */
2857
+ createTransactionIntent(player: string, chainId: number, optimistic: boolean, interactions: Array<Interaction>, policy?: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
2858
+ /**
2859
+ * Updates a transaction intent object.
2860
+ * @param {string} id
2861
+ * @param {string} [project]
2862
+ * @param {*} [options] Override http request option.
2863
+ * @throws {RequiredError}
2864
+ */
2865
+ getTransactionIntent(id: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
2866
+ /**
2867
+ *
2868
+ * @param {string} [project]
2869
+ * @param {string} [filter]
2870
+ * @param {string} [order]
2871
+ * @param {number} [skip]
2872
+ * @param {number} [take]
2873
+ * @param {*} [options] Override http request option.
2874
+ * @throws {RequiredError}
2875
+ */
2876
+ getTransactionIntents(project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentsResponse>>;
2877
+ /**
2878
+ * Confirms the creation of a transaction intent with an external owner.
2879
+ * @param {string} transactionIntent
2880
+ * @param {string} signature
2881
+ * @param {*} [options] Override http request option.
2882
+ * @throws {RequiredError}
2883
+ */
2884
+ signature(transactionIntent: string, signature: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
2885
+ /**
2886
+ *
2887
+ * @param {string} id
2888
+ * @param {string} [project]
2889
+ * @param {*} [options] Override http request option.
2890
+ * @throws {RequiredError}
2891
+ */
2892
+ updateTransactionIntentResponse(id: string, project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
2893
+ /**
2894
+ *
2895
+ * @param {string} [project]
2896
+ * @param {*} [options] Override http request option.
2897
+ * @throws {RequiredError}
2898
+ */
2899
+ updateTransactionIntentsResponse(project?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentsResponse>>;
2900
+ };
2901
+ /**
2902
+ * TransactionIntentsApi - factory interface
2903
+ * @export
2904
+ */
2905
+ export declare const TransactionIntentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2906
+ /**
2907
+ * Creates a transaction intent object.
2908
+ * @param {string} player
2909
+ * @param {number} chainId
2910
+ * @param {boolean} optimistic
2911
+ * @param {Array<Interaction>} interactions
2912
+ * @param {string} [policy]
2913
+ * @param {string} [project]
2914
+ * @param {*} [options] Override http request option.
2915
+ * @throws {RequiredError}
2916
+ */
2917
+ createTransactionIntent(player: string, chainId: number, optimistic: boolean, interactions: Array<Interaction>, policy?: string, project?: string, options?: any): AxiosPromise<TransactionIntentResponse>;
2918
+ /**
2919
+ * Updates a transaction intent object.
2920
+ * @param {string} id
2921
+ * @param {string} [project]
2922
+ * @param {*} [options] Override http request option.
2923
+ * @throws {RequiredError}
2924
+ */
2925
+ getTransactionIntent(id: string, project?: string, options?: any): AxiosPromise<TransactionIntentResponse>;
2926
+ /**
2927
+ *
2928
+ * @param {string} [project]
2929
+ * @param {string} [filter]
2930
+ * @param {string} [order]
2931
+ * @param {number} [skip]
2932
+ * @param {number} [take]
2933
+ * @param {*} [options] Override http request option.
2934
+ * @throws {RequiredError}
2935
+ */
2936
+ getTransactionIntents(project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: any): AxiosPromise<TransactionIntentsResponse>;
2937
+ /**
2938
+ * Confirms the creation of a transaction intent with an external owner.
2939
+ * @param {string} transactionIntent
2940
+ * @param {string} signature
2941
+ * @param {*} [options] Override http request option.
2942
+ * @throws {RequiredError}
2943
+ */
2944
+ signature(transactionIntent: string, signature: string, options?: any): AxiosPromise<TransactionIntentResponse>;
2945
+ /**
2946
+ *
2947
+ * @param {string} id
2948
+ * @param {string} [project]
2949
+ * @param {*} [options] Override http request option.
2950
+ * @throws {RequiredError}
2951
+ */
2952
+ updateTransactionIntentResponse(id: string, project?: string, options?: any): AxiosPromise<TransactionIntentResponse>;
2953
+ /**
2954
+ *
2955
+ * @param {string} [project]
2956
+ * @param {*} [options] Override http request option.
2957
+ * @throws {RequiredError}
2958
+ */
2959
+ updateTransactionIntentsResponse(project?: string, options?: any): AxiosPromise<TransactionIntentsResponse>;
2960
+ };
2961
+ /**
2962
+ * TransactionIntentsApi - object-oriented interface
2963
+ * @export
2964
+ * @class TransactionIntentsApi
2965
+ * @extends {BaseAPI}
2966
+ */
2967
+ export declare class TransactionIntentsApi extends BaseAPI {
2968
+ /**
2969
+ * Creates a transaction intent object.
2970
+ * @param {string} player
2971
+ * @param {number} chainId
2972
+ * @param {boolean} optimistic
2973
+ * @param {Array<Interaction>} interactions
2974
+ * @param {string} [policy]
2975
+ * @param {string} [project]
2976
+ * @param {*} [options] Override http request option.
2977
+ * @throws {RequiredError}
2978
+ * @memberof TransactionIntentsApi
2979
+ */
2980
+ createTransactionIntent(player: string, chainId: number, optimistic: boolean, interactions: Array<Interaction>, policy?: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
2981
+ /**
2982
+ * Updates a transaction intent object.
2983
+ * @param {string} id
2984
+ * @param {string} [project]
2985
+ * @param {*} [options] Override http request option.
2986
+ * @throws {RequiredError}
2987
+ * @memberof TransactionIntentsApi
2988
+ */
2989
+ getTransactionIntent(id: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
2990
+ /**
2991
+ *
2992
+ * @param {string} [project]
2993
+ * @param {string} [filter]
2994
+ * @param {string} [order]
2995
+ * @param {number} [skip]
2996
+ * @param {number} [take]
2997
+ * @param {*} [options] Override http request option.
2998
+ * @throws {RequiredError}
2999
+ * @memberof TransactionIntentsApi
3000
+ */
3001
+ getTransactionIntents(project?: string, filter?: string, order?: string, skip?: number, take?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentsResponse, any>>;
3002
+ /**
3003
+ * Confirms the creation of a transaction intent with an external owner.
3004
+ * @param {string} transactionIntent
3005
+ * @param {string} signature
3006
+ * @param {*} [options] Override http request option.
3007
+ * @throws {RequiredError}
3008
+ * @memberof TransactionIntentsApi
3009
+ */
3010
+ signature(transactionIntent: string, signature: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
3011
+ /**
3012
+ *
3013
+ * @param {string} id
3014
+ * @param {string} [project]
3015
+ * @param {*} [options] Override http request option.
3016
+ * @throws {RequiredError}
3017
+ * @memberof TransactionIntentsApi
3018
+ */
3019
+ updateTransactionIntentResponse(id: string, project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
3020
+ /**
3021
+ *
3022
+ * @param {string} [project]
3023
+ * @param {*} [options] Override http request option.
3024
+ * @throws {RequiredError}
3025
+ * @memberof TransactionIntentsApi
3026
+ */
3027
+ updateTransactionIntentsResponse(project?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentsResponse, any>>;
3028
+ }