@openfort/openfort-js 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +1280 -312
- package/dist/generated/api.js +1267 -317
- package/dist/generated/api.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
package/dist/generated/api.d.ts
CHANGED
|
@@ -117,6 +117,18 @@ export interface AbiType {
|
|
|
117
117
|
* @interface AccelbyteOAuthConfig
|
|
118
118
|
*/
|
|
119
119
|
export interface AccelbyteOAuthConfig {
|
|
120
|
+
/**
|
|
121
|
+
* Enable OAuth provider.
|
|
122
|
+
* @type {boolean}
|
|
123
|
+
* @memberof AccelbyteOAuthConfig
|
|
124
|
+
*/
|
|
125
|
+
'enabled': boolean;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {OAuthProviderACCELBYTE}
|
|
129
|
+
* @memberof AccelbyteOAuthConfig
|
|
130
|
+
*/
|
|
131
|
+
'provider': OAuthProviderACCELBYTE;
|
|
120
132
|
/**
|
|
121
133
|
* Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
|
|
122
134
|
* @type {string}
|
|
@@ -135,12 +147,6 @@ export interface AccelbyteOAuthConfig {
|
|
|
135
147
|
* @memberof AccelbyteOAuthConfig
|
|
136
148
|
*/
|
|
137
149
|
'clientSecret': string;
|
|
138
|
-
/**
|
|
139
|
-
*
|
|
140
|
-
* @type {OAuthProviderACCELBYTE}
|
|
141
|
-
* @memberof AccelbyteOAuthConfig
|
|
142
|
-
*/
|
|
143
|
-
'provider': OAuthProviderACCELBYTE;
|
|
144
150
|
}
|
|
145
151
|
/**
|
|
146
152
|
*
|
|
@@ -439,25 +445,6 @@ export declare const AccountResponseExpandable: {
|
|
|
439
445
|
readonly TransactionIntents: "transactionIntents";
|
|
440
446
|
};
|
|
441
447
|
export type AccountResponseExpandable = typeof AccountResponseExpandable[keyof typeof AccountResponseExpandable];
|
|
442
|
-
/**
|
|
443
|
-
*
|
|
444
|
-
* @export
|
|
445
|
-
* @interface AddDepositorAddressRequest
|
|
446
|
-
*/
|
|
447
|
-
export interface AddDepositorAddressRequest {
|
|
448
|
-
/**
|
|
449
|
-
*
|
|
450
|
-
* @type {string}
|
|
451
|
-
* @memberof AddDepositorAddressRequest
|
|
452
|
-
*/
|
|
453
|
-
'depositorAddress': string;
|
|
454
|
-
/**
|
|
455
|
-
*
|
|
456
|
-
* @type {string}
|
|
457
|
-
* @memberof AddDepositorAddressRequest
|
|
458
|
-
*/
|
|
459
|
-
'signature': string;
|
|
460
|
-
}
|
|
461
448
|
/**
|
|
462
449
|
*
|
|
463
450
|
* @export
|
|
@@ -786,19 +773,21 @@ export interface AuthPlayerResponsePlayer {
|
|
|
786
773
|
* @type {string}
|
|
787
774
|
* @memberof AuthPlayerResponsePlayer
|
|
788
775
|
*/
|
|
789
|
-
'name': string
|
|
776
|
+
'name': string;
|
|
790
777
|
/**
|
|
791
778
|
*
|
|
792
779
|
* @type {string}
|
|
793
780
|
* @memberof AuthPlayerResponsePlayer
|
|
794
781
|
*/
|
|
795
|
-
'description'
|
|
782
|
+
'description'?: string;
|
|
796
783
|
/**
|
|
797
784
|
*
|
|
798
|
-
* @type {string}
|
|
785
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
799
786
|
* @memberof AuthPlayerResponsePlayer
|
|
800
787
|
*/
|
|
801
|
-
'metadata'
|
|
788
|
+
'metadata'?: {
|
|
789
|
+
[key: string]: PlayerMetadataValue;
|
|
790
|
+
};
|
|
802
791
|
/**
|
|
803
792
|
*
|
|
804
793
|
* @type {Array<PlayerResponseTransactionIntentsInner>}
|
|
@@ -1222,6 +1211,62 @@ export interface ContractPolicyRuleResponseContract {
|
|
|
1222
1211
|
*/
|
|
1223
1212
|
'publicVerification': boolean;
|
|
1224
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
*
|
|
1216
|
+
* @export
|
|
1217
|
+
* @interface ContractReadQueries
|
|
1218
|
+
*/
|
|
1219
|
+
export interface ContractReadQueries {
|
|
1220
|
+
/**
|
|
1221
|
+
* The function name of the contract.
|
|
1222
|
+
* @type {string}
|
|
1223
|
+
* @memberof ContractReadQueries
|
|
1224
|
+
*/
|
|
1225
|
+
'functionName': string;
|
|
1226
|
+
/**
|
|
1227
|
+
* The function arguments of the contract.
|
|
1228
|
+
* @type {Array<any>}
|
|
1229
|
+
* @memberof ContractReadQueries
|
|
1230
|
+
*/
|
|
1231
|
+
'functionArgs'?: Array<any>;
|
|
1232
|
+
}
|
|
1233
|
+
/**
|
|
1234
|
+
*
|
|
1235
|
+
* @export
|
|
1236
|
+
* @interface ContractReadResponse
|
|
1237
|
+
*/
|
|
1238
|
+
export interface ContractReadResponse {
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @type {string}
|
|
1242
|
+
* @memberof ContractReadResponse
|
|
1243
|
+
*/
|
|
1244
|
+
'id': string;
|
|
1245
|
+
/**
|
|
1246
|
+
*
|
|
1247
|
+
* @type {EntityTypeREADCONTRACT}
|
|
1248
|
+
* @memberof ContractReadResponse
|
|
1249
|
+
*/
|
|
1250
|
+
'object': EntityTypeREADCONTRACT;
|
|
1251
|
+
/**
|
|
1252
|
+
*
|
|
1253
|
+
* @type {number}
|
|
1254
|
+
* @memberof ContractReadResponse
|
|
1255
|
+
*/
|
|
1256
|
+
'createdAt': number;
|
|
1257
|
+
/**
|
|
1258
|
+
*
|
|
1259
|
+
* @type {string}
|
|
1260
|
+
* @memberof ContractReadResponse
|
|
1261
|
+
*/
|
|
1262
|
+
'functionName': string;
|
|
1263
|
+
/**
|
|
1264
|
+
*
|
|
1265
|
+
* @type {any}
|
|
1266
|
+
* @memberof ContractReadResponse
|
|
1267
|
+
*/
|
|
1268
|
+
'result': any;
|
|
1269
|
+
}
|
|
1225
1270
|
/**
|
|
1226
1271
|
*
|
|
1227
1272
|
* @export
|
|
@@ -1474,25 +1519,6 @@ export interface CreatePlayerAccountRequest {
|
|
|
1474
1519
|
*/
|
|
1475
1520
|
'tokenId'?: number;
|
|
1476
1521
|
}
|
|
1477
|
-
/**
|
|
1478
|
-
*
|
|
1479
|
-
* @export
|
|
1480
|
-
* @interface CreatePlayerRequest
|
|
1481
|
-
*/
|
|
1482
|
-
export interface CreatePlayerRequest {
|
|
1483
|
-
/**
|
|
1484
|
-
* Specifies the player name.
|
|
1485
|
-
* @type {string}
|
|
1486
|
-
* @memberof CreatePlayerRequest
|
|
1487
|
-
*/
|
|
1488
|
-
'name': string;
|
|
1489
|
-
/**
|
|
1490
|
-
* Specifies the player description.
|
|
1491
|
-
* @type {string}
|
|
1492
|
-
* @memberof CreatePlayerRequest
|
|
1493
|
-
*/
|
|
1494
|
-
'description'?: string;
|
|
1495
|
-
}
|
|
1496
1522
|
/**
|
|
1497
1523
|
*
|
|
1498
1524
|
* @export
|
|
@@ -1819,7 +1845,7 @@ export interface CreateTransactionIntentRequest {
|
|
|
1819
1845
|
*/
|
|
1820
1846
|
'optimistic': boolean;
|
|
1821
1847
|
/**
|
|
1822
|
-
* Specify the number of blocks after the block with transaction to be assured that transaction is in block
|
|
1848
|
+
* Specify the number of blocks after the block with transaction to be assured that transaction is in block
|
|
1823
1849
|
* @type {number}
|
|
1824
1850
|
* @memberof CreateTransactionIntentRequest
|
|
1825
1851
|
*/
|
|
@@ -1831,6 +1857,31 @@ export interface CreateTransactionIntentRequest {
|
|
|
1831
1857
|
*/
|
|
1832
1858
|
'interactions': Array<Interaction>;
|
|
1833
1859
|
}
|
|
1860
|
+
/**
|
|
1861
|
+
*
|
|
1862
|
+
* @export
|
|
1863
|
+
* @interface CreateWeb3ConnectionRequest
|
|
1864
|
+
*/
|
|
1865
|
+
export interface CreateWeb3ConnectionRequest {
|
|
1866
|
+
/**
|
|
1867
|
+
* The player ID (starts with pla_).
|
|
1868
|
+
* @type {string}
|
|
1869
|
+
* @memberof CreateWeb3ConnectionRequest
|
|
1870
|
+
*/
|
|
1871
|
+
'player': string;
|
|
1872
|
+
/**
|
|
1873
|
+
* The chain ID.
|
|
1874
|
+
* @type {number}
|
|
1875
|
+
* @memberof CreateWeb3ConnectionRequest
|
|
1876
|
+
*/
|
|
1877
|
+
'chainId': number;
|
|
1878
|
+
/**
|
|
1879
|
+
* Specifies the URI of the web3Connection.
|
|
1880
|
+
* @type {string}
|
|
1881
|
+
* @memberof CreateWeb3ConnectionRequest
|
|
1882
|
+
*/
|
|
1883
|
+
'uri': string;
|
|
1884
|
+
}
|
|
1834
1885
|
/**
|
|
1835
1886
|
*
|
|
1836
1887
|
* @export
|
|
@@ -1923,6 +1974,15 @@ export declare const EntityTypeINVENTORY: {
|
|
|
1923
1974
|
readonly Inventory: "inventory";
|
|
1924
1975
|
};
|
|
1925
1976
|
export type EntityTypeINVENTORY = typeof EntityTypeINVENTORY[keyof typeof EntityTypeINVENTORY];
|
|
1977
|
+
/**
|
|
1978
|
+
*
|
|
1979
|
+
* @export
|
|
1980
|
+
* @enum {string}
|
|
1981
|
+
*/
|
|
1982
|
+
export declare const EntityTypePAYMASTERDEPOSITOR: {
|
|
1983
|
+
readonly PaymasterDepositor: "paymasterDepositor";
|
|
1984
|
+
};
|
|
1985
|
+
export type EntityTypePAYMASTERDEPOSITOR = typeof EntityTypePAYMASTERDEPOSITOR[keyof typeof EntityTypePAYMASTERDEPOSITOR];
|
|
1926
1986
|
/**
|
|
1927
1987
|
*
|
|
1928
1988
|
* @export
|
|
@@ -1959,6 +2019,15 @@ export declare const EntityTypePROJECT: {
|
|
|
1959
2019
|
readonly Project: "project";
|
|
1960
2020
|
};
|
|
1961
2021
|
export type EntityTypePROJECT = typeof EntityTypePROJECT[keyof typeof EntityTypePROJECT];
|
|
2022
|
+
/**
|
|
2023
|
+
*
|
|
2024
|
+
* @export
|
|
2025
|
+
* @enum {string}
|
|
2026
|
+
*/
|
|
2027
|
+
export declare const EntityTypeREADCONTRACT: {
|
|
2028
|
+
readonly ReadContract: "readContract";
|
|
2029
|
+
};
|
|
2030
|
+
export type EntityTypeREADCONTRACT = typeof EntityTypeREADCONTRACT[keyof typeof EntityTypeREADCONTRACT];
|
|
1962
2031
|
/**
|
|
1963
2032
|
*
|
|
1964
2033
|
* @export
|
|
@@ -1995,6 +2064,24 @@ export declare const EntityTypeUSER: {
|
|
|
1995
2064
|
readonly User: "user";
|
|
1996
2065
|
};
|
|
1997
2066
|
export type EntityTypeUSER = typeof EntityTypeUSER[keyof typeof EntityTypeUSER];
|
|
2067
|
+
/**
|
|
2068
|
+
*
|
|
2069
|
+
* @export
|
|
2070
|
+
* @enum {string}
|
|
2071
|
+
*/
|
|
2072
|
+
export declare const EntityTypeWEB3ACTION: {
|
|
2073
|
+
readonly Web3Action: "web3Action";
|
|
2074
|
+
};
|
|
2075
|
+
export type EntityTypeWEB3ACTION = typeof EntityTypeWEB3ACTION[keyof typeof EntityTypeWEB3ACTION];
|
|
2076
|
+
/**
|
|
2077
|
+
*
|
|
2078
|
+
* @export
|
|
2079
|
+
* @enum {string}
|
|
2080
|
+
*/
|
|
2081
|
+
export declare const EntityTypeWEB3CONNECTION: {
|
|
2082
|
+
readonly Web3Connection: "web3Connection";
|
|
2083
|
+
};
|
|
2084
|
+
export type EntityTypeWEB3CONNECTION = typeof EntityTypeWEB3CONNECTION[keyof typeof EntityTypeWEB3CONNECTION];
|
|
1998
2085
|
/**
|
|
1999
2086
|
*
|
|
2000
2087
|
* @export
|
|
@@ -2096,6 +2183,31 @@ export interface FieldErrorsValue {
|
|
|
2096
2183
|
*/
|
|
2097
2184
|
'message': string;
|
|
2098
2185
|
}
|
|
2186
|
+
/**
|
|
2187
|
+
* Firebase configuration
|
|
2188
|
+
* @export
|
|
2189
|
+
* @interface FirebaseOAuthConfig
|
|
2190
|
+
*/
|
|
2191
|
+
export interface FirebaseOAuthConfig {
|
|
2192
|
+
/**
|
|
2193
|
+
* Enable OAuth provider.
|
|
2194
|
+
* @type {boolean}
|
|
2195
|
+
* @memberof FirebaseOAuthConfig
|
|
2196
|
+
*/
|
|
2197
|
+
'enabled': boolean;
|
|
2198
|
+
/**
|
|
2199
|
+
*
|
|
2200
|
+
* @type {OAuthProviderFIREBASE}
|
|
2201
|
+
* @memberof FirebaseOAuthConfig
|
|
2202
|
+
*/
|
|
2203
|
+
'provider': OAuthProviderFIREBASE;
|
|
2204
|
+
/**
|
|
2205
|
+
* Project ID of your Firebase service environment.
|
|
2206
|
+
* @type {string}
|
|
2207
|
+
* @memberof FirebaseOAuthConfig
|
|
2208
|
+
*/
|
|
2209
|
+
'projectId': string;
|
|
2210
|
+
}
|
|
2099
2211
|
/**
|
|
2100
2212
|
*
|
|
2101
2213
|
* @export
|
|
@@ -2368,6 +2480,18 @@ export interface GetSigninUrlResponse {
|
|
|
2368
2480
|
* @interface GoogleOAuthConfig
|
|
2369
2481
|
*/
|
|
2370
2482
|
export interface GoogleOAuthConfig {
|
|
2483
|
+
/**
|
|
2484
|
+
* Enable OAuth provider.
|
|
2485
|
+
* @type {boolean}
|
|
2486
|
+
* @memberof GoogleOAuthConfig
|
|
2487
|
+
*/
|
|
2488
|
+
'enabled': boolean;
|
|
2489
|
+
/**
|
|
2490
|
+
*
|
|
2491
|
+
* @type {OAuthProviderGOOGLE}
|
|
2492
|
+
* @memberof GoogleOAuthConfig
|
|
2493
|
+
*/
|
|
2494
|
+
'provider': OAuthProviderGOOGLE;
|
|
2371
2495
|
/**
|
|
2372
2496
|
* Google API client ID.
|
|
2373
2497
|
* @type {string}
|
|
@@ -2386,12 +2510,6 @@ export interface GoogleOAuthConfig {
|
|
|
2386
2510
|
* @memberof GoogleOAuthConfig
|
|
2387
2511
|
*/
|
|
2388
2512
|
'redirectUri': string;
|
|
2389
|
-
/**
|
|
2390
|
-
*
|
|
2391
|
-
* @type {OAuthProviderGOOGLE}
|
|
2392
|
-
* @memberof GoogleOAuthConfig
|
|
2393
|
-
*/
|
|
2394
|
-
'provider': OAuthProviderGOOGLE;
|
|
2395
2513
|
}
|
|
2396
2514
|
/**
|
|
2397
2515
|
*
|
|
@@ -2538,31 +2656,6 @@ export interface InventoryResponse {
|
|
|
2538
2656
|
*/
|
|
2539
2657
|
'data': AssetInventory;
|
|
2540
2658
|
}
|
|
2541
|
-
/**
|
|
2542
|
-
*
|
|
2543
|
-
* @export
|
|
2544
|
-
* @interface InvitedMemberResponse
|
|
2545
|
-
*/
|
|
2546
|
-
export interface InvitedMemberResponse {
|
|
2547
|
-
/**
|
|
2548
|
-
*
|
|
2549
|
-
* @type {string}
|
|
2550
|
-
* @memberof InvitedMemberResponse
|
|
2551
|
-
*/
|
|
2552
|
-
'id': string;
|
|
2553
|
-
/**
|
|
2554
|
-
*
|
|
2555
|
-
* @type {string}
|
|
2556
|
-
* @memberof InvitedMemberResponse
|
|
2557
|
-
*/
|
|
2558
|
-
'email': string;
|
|
2559
|
-
/**
|
|
2560
|
-
*
|
|
2561
|
-
* @type {string}
|
|
2562
|
-
* @memberof InvitedMemberResponse
|
|
2563
|
-
*/
|
|
2564
|
-
'role': string;
|
|
2565
|
-
}
|
|
2566
2659
|
/**
|
|
2567
2660
|
*
|
|
2568
2661
|
* @export
|
|
@@ -2649,19 +2742,6 @@ export interface LoginRequest {
|
|
|
2649
2742
|
*/
|
|
2650
2743
|
'password': string;
|
|
2651
2744
|
}
|
|
2652
|
-
/**
|
|
2653
|
-
*
|
|
2654
|
-
* @export
|
|
2655
|
-
* @interface MemberRequest
|
|
2656
|
-
*/
|
|
2657
|
-
export interface MemberRequest {
|
|
2658
|
-
/**
|
|
2659
|
-
*
|
|
2660
|
-
* @type {string}
|
|
2661
|
-
* @memberof MemberRequest
|
|
2662
|
-
*/
|
|
2663
|
-
'email': string;
|
|
2664
|
-
}
|
|
2665
2745
|
/**
|
|
2666
2746
|
*
|
|
2667
2747
|
* @export
|
|
@@ -2734,6 +2814,18 @@ export type NextActionType = typeof NextActionType[keyof typeof NextActionType];
|
|
|
2734
2814
|
* @interface OAuthConfig
|
|
2735
2815
|
*/
|
|
2736
2816
|
export interface OAuthConfig {
|
|
2817
|
+
/**
|
|
2818
|
+
* Enable OAuth provider.
|
|
2819
|
+
* @type {boolean}
|
|
2820
|
+
* @memberof OAuthConfig
|
|
2821
|
+
*/
|
|
2822
|
+
'enabled': boolean;
|
|
2823
|
+
/**
|
|
2824
|
+
*
|
|
2825
|
+
* @type {OAuthProviderFIREBASE}
|
|
2826
|
+
* @memberof OAuthConfig
|
|
2827
|
+
*/
|
|
2828
|
+
'provider': OAuthProviderFIREBASE;
|
|
2737
2829
|
/**
|
|
2738
2830
|
* Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
|
|
2739
2831
|
* @type {string}
|
|
@@ -2752,12 +2844,6 @@ export interface OAuthConfig {
|
|
|
2752
2844
|
* @memberof OAuthConfig
|
|
2753
2845
|
*/
|
|
2754
2846
|
'clientSecret': string;
|
|
2755
|
-
/**
|
|
2756
|
-
*
|
|
2757
|
-
* @type {OAuthProviderPLAYFAB}
|
|
2758
|
-
* @memberof OAuthConfig
|
|
2759
|
-
*/
|
|
2760
|
-
'provider': OAuthProviderPLAYFAB;
|
|
2761
2847
|
/**
|
|
2762
2848
|
* The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/auth/v1/google/callback
|
|
2763
2849
|
* @type {string}
|
|
@@ -2770,6 +2856,12 @@ export interface OAuthConfig {
|
|
|
2770
2856
|
* @memberof OAuthConfig
|
|
2771
2857
|
*/
|
|
2772
2858
|
'titleId': string;
|
|
2859
|
+
/**
|
|
2860
|
+
* Project ID of your Firebase service environment.
|
|
2861
|
+
* @type {string}
|
|
2862
|
+
* @memberof OAuthConfig
|
|
2863
|
+
*/
|
|
2864
|
+
'projectId': string;
|
|
2773
2865
|
}
|
|
2774
2866
|
/**
|
|
2775
2867
|
* Response for the OAuth config list method.
|
|
@@ -2784,32 +2876,6 @@ export interface OAuthConfigListResponse {
|
|
|
2784
2876
|
*/
|
|
2785
2877
|
'data': Array<OAuthConfig>;
|
|
2786
2878
|
}
|
|
2787
|
-
/**
|
|
2788
|
-
* Request for the configuration endpoints for the OAuth providers
|
|
2789
|
-
* @export
|
|
2790
|
-
* @interface OAuthConfigRequest
|
|
2791
|
-
*/
|
|
2792
|
-
export interface OAuthConfigRequest {
|
|
2793
|
-
/**
|
|
2794
|
-
*
|
|
2795
|
-
* @type {OAuthConfig}
|
|
2796
|
-
* @memberof OAuthConfigRequest
|
|
2797
|
-
*/
|
|
2798
|
-
'config': OAuthConfig;
|
|
2799
|
-
}
|
|
2800
|
-
/**
|
|
2801
|
-
* OAuth provider specific configuration.
|
|
2802
|
-
* @export
|
|
2803
|
-
* @interface OAuthConfigResponse
|
|
2804
|
-
*/
|
|
2805
|
-
export interface OAuthConfigResponse {
|
|
2806
|
-
/**
|
|
2807
|
-
*
|
|
2808
|
-
* @type {OAuthConfig}
|
|
2809
|
-
* @memberof OAuthConfigResponse
|
|
2810
|
-
*/
|
|
2811
|
-
'config': OAuthConfig;
|
|
2812
|
-
}
|
|
2813
2879
|
/**
|
|
2814
2880
|
* Enum of the supporting OAuth providers.
|
|
2815
2881
|
* @export
|
|
@@ -2817,6 +2883,7 @@ export interface OAuthConfigResponse {
|
|
|
2817
2883
|
*/
|
|
2818
2884
|
export declare const OAuthProvider: {
|
|
2819
2885
|
readonly Accelbyte: "accelbyte";
|
|
2886
|
+
readonly Firebase: "firebase";
|
|
2820
2887
|
readonly Google: "google";
|
|
2821
2888
|
readonly Playfab: "playfab";
|
|
2822
2889
|
};
|
|
@@ -2830,6 +2897,15 @@ export declare const OAuthProviderACCELBYTE: {
|
|
|
2830
2897
|
readonly Accelbyte: "accelbyte";
|
|
2831
2898
|
};
|
|
2832
2899
|
export type OAuthProviderACCELBYTE = typeof OAuthProviderACCELBYTE[keyof typeof OAuthProviderACCELBYTE];
|
|
2900
|
+
/**
|
|
2901
|
+
*
|
|
2902
|
+
* @export
|
|
2903
|
+
* @enum {string}
|
|
2904
|
+
*/
|
|
2905
|
+
export declare const OAuthProviderFIREBASE: {
|
|
2906
|
+
readonly Firebase: "firebase";
|
|
2907
|
+
};
|
|
2908
|
+
export type OAuthProviderFIREBASE = typeof OAuthProviderFIREBASE[keyof typeof OAuthProviderFIREBASE];
|
|
2833
2909
|
/**
|
|
2834
2910
|
*
|
|
2835
2911
|
* @export
|
|
@@ -2965,27 +3041,90 @@ export interface PayForUserPolicyStrategy {
|
|
|
2965
3041
|
/**
|
|
2966
3042
|
*
|
|
2967
3043
|
* @export
|
|
2968
|
-
* @interface
|
|
3044
|
+
* @interface PaymasterDepositorCreateRequest
|
|
2969
3045
|
*/
|
|
2970
|
-
export interface
|
|
3046
|
+
export interface PaymasterDepositorCreateRequest {
|
|
2971
3047
|
/**
|
|
2972
|
-
*
|
|
2973
|
-
* @type {
|
|
2974
|
-
* @memberof
|
|
3048
|
+
* Paymaster depositor address.
|
|
3049
|
+
* @type {string}
|
|
3050
|
+
* @memberof PaymasterDepositorCreateRequest
|
|
2975
3051
|
*/
|
|
2976
|
-
'
|
|
3052
|
+
'depositorAddress': string;
|
|
2977
3053
|
/**
|
|
2978
|
-
*
|
|
3054
|
+
* Signature to verify the account ownership.
|
|
2979
3055
|
* @type {string}
|
|
2980
|
-
* @memberof
|
|
3056
|
+
* @memberof PaymasterDepositorCreateRequest
|
|
2981
3057
|
*/
|
|
2982
|
-
'
|
|
3058
|
+
'signature': string;
|
|
3059
|
+
}
|
|
3060
|
+
/**
|
|
3061
|
+
*
|
|
3062
|
+
* @export
|
|
3063
|
+
* @interface PaymasterDepositorDeleteResponse
|
|
3064
|
+
*/
|
|
3065
|
+
export interface PaymasterDepositorDeleteResponse {
|
|
2983
3066
|
/**
|
|
2984
3067
|
*
|
|
2985
|
-
* @type {
|
|
2986
|
-
* @memberof
|
|
3068
|
+
* @type {string}
|
|
3069
|
+
* @memberof PaymasterDepositorDeleteResponse
|
|
2987
3070
|
*/
|
|
2988
|
-
'
|
|
3071
|
+
'id': string;
|
|
3072
|
+
/**
|
|
3073
|
+
*
|
|
3074
|
+
* @type {EntityTypePAYMASTERDEPOSITOR}
|
|
3075
|
+
* @memberof PaymasterDepositorDeleteResponse
|
|
3076
|
+
*/
|
|
3077
|
+
'object': EntityTypePAYMASTERDEPOSITOR;
|
|
3078
|
+
/**
|
|
3079
|
+
*
|
|
3080
|
+
* @type {boolean}
|
|
3081
|
+
* @memberof PaymasterDepositorDeleteResponse
|
|
3082
|
+
*/
|
|
3083
|
+
'deleted': boolean;
|
|
3084
|
+
}
|
|
3085
|
+
/**
|
|
3086
|
+
*
|
|
3087
|
+
* @export
|
|
3088
|
+
* @interface PaymasterDepositorGetMessageResponse
|
|
3089
|
+
*/
|
|
3090
|
+
export interface PaymasterDepositorGetMessageResponse {
|
|
3091
|
+
/**
|
|
3092
|
+
*
|
|
3093
|
+
* @type {string}
|
|
3094
|
+
* @memberof PaymasterDepositorGetMessageResponse
|
|
3095
|
+
*/
|
|
3096
|
+
'message': string;
|
|
3097
|
+
/**
|
|
3098
|
+
*
|
|
3099
|
+
* @type {string}
|
|
3100
|
+
* @memberof PaymasterDepositorGetMessageResponse
|
|
3101
|
+
*/
|
|
3102
|
+
'depositorAddress': string;
|
|
3103
|
+
}
|
|
3104
|
+
/**
|
|
3105
|
+
*
|
|
3106
|
+
* @export
|
|
3107
|
+
* @interface PaymasterDepositorListResponse
|
|
3108
|
+
*/
|
|
3109
|
+
export interface PaymasterDepositorListResponse {
|
|
3110
|
+
/**
|
|
3111
|
+
*
|
|
3112
|
+
* @type {ResponseTypeLIST}
|
|
3113
|
+
* @memberof PaymasterDepositorListResponse
|
|
3114
|
+
*/
|
|
3115
|
+
'object': ResponseTypeLIST;
|
|
3116
|
+
/**
|
|
3117
|
+
*
|
|
3118
|
+
* @type {string}
|
|
3119
|
+
* @memberof PaymasterDepositorListResponse
|
|
3120
|
+
*/
|
|
3121
|
+
'url': string;
|
|
3122
|
+
/**
|
|
3123
|
+
*
|
|
3124
|
+
* @type {Array<PaymasterDepositorResponse>}
|
|
3125
|
+
* @memberof PaymasterDepositorListResponse
|
|
3126
|
+
*/
|
|
3127
|
+
'data': Array<PaymasterDepositorResponse>;
|
|
2989
3128
|
/**
|
|
2990
3129
|
*
|
|
2991
3130
|
* @type {number}
|
|
@@ -3024,31 +3163,6 @@ export interface PaymasterDepositorResponse {
|
|
|
3024
3163
|
*/
|
|
3025
3164
|
'depositorAddress': string;
|
|
3026
3165
|
}
|
|
3027
|
-
/**
|
|
3028
|
-
*
|
|
3029
|
-
* @export
|
|
3030
|
-
* @interface PaymasterDepositorResponseDeleted
|
|
3031
|
-
*/
|
|
3032
|
-
export interface PaymasterDepositorResponseDeleted {
|
|
3033
|
-
/**
|
|
3034
|
-
*
|
|
3035
|
-
* @type {string}
|
|
3036
|
-
* @memberof PaymasterDepositorResponseDeleted
|
|
3037
|
-
*/
|
|
3038
|
-
'id': string;
|
|
3039
|
-
/**
|
|
3040
|
-
*
|
|
3041
|
-
* @type {string}
|
|
3042
|
-
* @memberof PaymasterDepositorResponseDeleted
|
|
3043
|
-
*/
|
|
3044
|
-
'depositorAddress': string;
|
|
3045
|
-
/**
|
|
3046
|
-
*
|
|
3047
|
-
* @type {boolean}
|
|
3048
|
-
* @memberof PaymasterDepositorResponseDeleted
|
|
3049
|
-
*/
|
|
3050
|
-
'deleted': boolean;
|
|
3051
|
-
}
|
|
3052
3166
|
/**
|
|
3053
3167
|
* From T, pick a set of properties whose keys are in the union K
|
|
3054
3168
|
* @export
|
|
@@ -3082,17 +3196,23 @@ export interface PickPlayerResponseId {
|
|
|
3082
3196
|
*/
|
|
3083
3197
|
export interface PlayFabOAuthConfig {
|
|
3084
3198
|
/**
|
|
3085
|
-
*
|
|
3086
|
-
* @type {
|
|
3199
|
+
* Enable OAuth provider.
|
|
3200
|
+
* @type {boolean}
|
|
3087
3201
|
* @memberof PlayFabOAuthConfig
|
|
3088
3202
|
*/
|
|
3089
|
-
'
|
|
3203
|
+
'enabled': boolean;
|
|
3090
3204
|
/**
|
|
3091
3205
|
*
|
|
3092
3206
|
* @type {OAuthProviderPLAYFAB}
|
|
3093
3207
|
* @memberof PlayFabOAuthConfig
|
|
3094
3208
|
*/
|
|
3095
3209
|
'provider': OAuthProviderPLAYFAB;
|
|
3210
|
+
/**
|
|
3211
|
+
* Title ID of your Play Fab gaming service environment.
|
|
3212
|
+
* @type {string}
|
|
3213
|
+
* @memberof PlayFabOAuthConfig
|
|
3214
|
+
*/
|
|
3215
|
+
'titleId': string;
|
|
3096
3216
|
}
|
|
3097
3217
|
/**
|
|
3098
3218
|
*
|
|
@@ -3123,19 +3243,21 @@ export interface Player {
|
|
|
3123
3243
|
* @type {string}
|
|
3124
3244
|
* @memberof Player
|
|
3125
3245
|
*/
|
|
3126
|
-
'name': string
|
|
3246
|
+
'name': string;
|
|
3127
3247
|
/**
|
|
3128
3248
|
*
|
|
3129
3249
|
* @type {string}
|
|
3130
3250
|
* @memberof Player
|
|
3131
3251
|
*/
|
|
3132
|
-
'description'
|
|
3252
|
+
'description'?: string;
|
|
3133
3253
|
/**
|
|
3134
3254
|
*
|
|
3135
|
-
* @type {string}
|
|
3255
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3136
3256
|
* @memberof Player
|
|
3137
3257
|
*/
|
|
3138
|
-
'metadata'
|
|
3258
|
+
'metadata'?: {
|
|
3259
|
+
[key: string]: PlayerMetadataValue;
|
|
3260
|
+
};
|
|
3139
3261
|
/**
|
|
3140
3262
|
*
|
|
3141
3263
|
* @type {Array<EntityIdResponse>}
|
|
@@ -3168,6 +3290,58 @@ export interface PlayerCancelTransferOwnershipRequest {
|
|
|
3168
3290
|
*/
|
|
3169
3291
|
'chainId': number;
|
|
3170
3292
|
}
|
|
3293
|
+
/**
|
|
3294
|
+
*
|
|
3295
|
+
* @export
|
|
3296
|
+
* @interface PlayerCreateRequest
|
|
3297
|
+
*/
|
|
3298
|
+
export interface PlayerCreateRequest {
|
|
3299
|
+
/**
|
|
3300
|
+
* Specifies the player name.
|
|
3301
|
+
* @type {string}
|
|
3302
|
+
* @memberof PlayerCreateRequest
|
|
3303
|
+
*/
|
|
3304
|
+
'name': string;
|
|
3305
|
+
/**
|
|
3306
|
+
* Specifies the player description.
|
|
3307
|
+
* @type {string}
|
|
3308
|
+
* @memberof PlayerCreateRequest
|
|
3309
|
+
*/
|
|
3310
|
+
'description'?: string;
|
|
3311
|
+
/**
|
|
3312
|
+
*
|
|
3313
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3314
|
+
* @memberof PlayerCreateRequest
|
|
3315
|
+
*/
|
|
3316
|
+
'metadata'?: {
|
|
3317
|
+
[key: string]: PlayerMetadataValue;
|
|
3318
|
+
};
|
|
3319
|
+
}
|
|
3320
|
+
/**
|
|
3321
|
+
*
|
|
3322
|
+
* @export
|
|
3323
|
+
* @interface PlayerDeleteResponse
|
|
3324
|
+
*/
|
|
3325
|
+
export interface PlayerDeleteResponse {
|
|
3326
|
+
/**
|
|
3327
|
+
*
|
|
3328
|
+
* @type {string}
|
|
3329
|
+
* @memberof PlayerDeleteResponse
|
|
3330
|
+
*/
|
|
3331
|
+
'id': string;
|
|
3332
|
+
/**
|
|
3333
|
+
*
|
|
3334
|
+
* @type {EntityTypePLAYER}
|
|
3335
|
+
* @memberof PlayerDeleteResponse
|
|
3336
|
+
*/
|
|
3337
|
+
'object': EntityTypePLAYER;
|
|
3338
|
+
/**
|
|
3339
|
+
*
|
|
3340
|
+
* @type {boolean}
|
|
3341
|
+
* @memberof PlayerDeleteResponse
|
|
3342
|
+
*/
|
|
3343
|
+
'deleted': boolean;
|
|
3344
|
+
}
|
|
3171
3345
|
/**
|
|
3172
3346
|
*
|
|
3173
3347
|
* @export
|
|
@@ -3301,21 +3475,9 @@ export interface PlayerListResponse {
|
|
|
3301
3475
|
/**
|
|
3302
3476
|
*
|
|
3303
3477
|
* @export
|
|
3304
|
-
* @interface
|
|
3478
|
+
* @interface PlayerMetadataValue
|
|
3305
3479
|
*/
|
|
3306
|
-
export interface
|
|
3307
|
-
/**
|
|
3308
|
-
* Specifies the player name.
|
|
3309
|
-
* @type {string}
|
|
3310
|
-
* @memberof PlayerRequest
|
|
3311
|
-
*/
|
|
3312
|
-
'name'?: string;
|
|
3313
|
-
/**
|
|
3314
|
-
* Specifies the player description.
|
|
3315
|
-
* @type {string}
|
|
3316
|
-
* @memberof PlayerRequest
|
|
3317
|
-
*/
|
|
3318
|
-
'description'?: string;
|
|
3480
|
+
export interface PlayerMetadataValue {
|
|
3319
3481
|
}
|
|
3320
3482
|
/**
|
|
3321
3483
|
*
|
|
@@ -3346,19 +3508,21 @@ export interface PlayerResponse {
|
|
|
3346
3508
|
* @type {string}
|
|
3347
3509
|
* @memberof PlayerResponse
|
|
3348
3510
|
*/
|
|
3349
|
-
'name': string
|
|
3511
|
+
'name': string;
|
|
3350
3512
|
/**
|
|
3351
3513
|
*
|
|
3352
3514
|
* @type {string}
|
|
3353
3515
|
* @memberof PlayerResponse
|
|
3354
3516
|
*/
|
|
3355
|
-
'description'
|
|
3517
|
+
'description'?: string;
|
|
3356
3518
|
/**
|
|
3357
3519
|
*
|
|
3358
|
-
* @type {string}
|
|
3520
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3359
3521
|
* @memberof PlayerResponse
|
|
3360
3522
|
*/
|
|
3361
|
-
'metadata'
|
|
3523
|
+
'metadata'?: {
|
|
3524
|
+
[key: string]: PlayerMetadataValue;
|
|
3525
|
+
};
|
|
3362
3526
|
/**
|
|
3363
3527
|
*
|
|
3364
3528
|
* @type {Array<PlayerResponseTransactionIntentsInner>}
|
|
@@ -3571,6 +3735,33 @@ export interface PlayerTransferOwnershipRequest {
|
|
|
3571
3735
|
*/
|
|
3572
3736
|
'player'?: string;
|
|
3573
3737
|
}
|
|
3738
|
+
/**
|
|
3739
|
+
*
|
|
3740
|
+
* @export
|
|
3741
|
+
* @interface PlayerUpdateRequest
|
|
3742
|
+
*/
|
|
3743
|
+
export interface PlayerUpdateRequest {
|
|
3744
|
+
/**
|
|
3745
|
+
* Specifies the player name.
|
|
3746
|
+
* @type {string}
|
|
3747
|
+
* @memberof PlayerUpdateRequest
|
|
3748
|
+
*/
|
|
3749
|
+
'name'?: string;
|
|
3750
|
+
/**
|
|
3751
|
+
* Specifies the player description.
|
|
3752
|
+
* @type {string}
|
|
3753
|
+
* @memberof PlayerUpdateRequest
|
|
3754
|
+
*/
|
|
3755
|
+
'description'?: string;
|
|
3756
|
+
/**
|
|
3757
|
+
*
|
|
3758
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3759
|
+
* @memberof PlayerUpdateRequest
|
|
3760
|
+
*/
|
|
3761
|
+
'metadata'?: {
|
|
3762
|
+
[key: string]: PlayerMetadataValue;
|
|
3763
|
+
};
|
|
3764
|
+
}
|
|
3574
3765
|
/**
|
|
3575
3766
|
*
|
|
3576
3767
|
* @export
|
|
@@ -4703,6 +4894,19 @@ export declare const SessionResponseExpandable: {
|
|
|
4703
4894
|
readonly TransactionIntents: "transactionIntents";
|
|
4704
4895
|
};
|
|
4705
4896
|
export type SessionResponseExpandable = typeof SessionResponseExpandable[keyof typeof SessionResponseExpandable];
|
|
4897
|
+
/**
|
|
4898
|
+
*
|
|
4899
|
+
* @export
|
|
4900
|
+
* @interface SettingsWebhookUpdateRequest
|
|
4901
|
+
*/
|
|
4902
|
+
export interface SettingsWebhookUpdateRequest {
|
|
4903
|
+
/**
|
|
4904
|
+
* The webhook url.
|
|
4905
|
+
* @type {string}
|
|
4906
|
+
* @memberof SettingsWebhookUpdateRequest
|
|
4907
|
+
*/
|
|
4908
|
+
'url': string;
|
|
4909
|
+
}
|
|
4706
4910
|
/**
|
|
4707
4911
|
*
|
|
4708
4912
|
* @export
|
|
@@ -4898,6 +5102,25 @@ export interface StartRecoveryRequest {
|
|
|
4898
5102
|
*/
|
|
4899
5103
|
'policy': string;
|
|
4900
5104
|
}
|
|
5105
|
+
/**
|
|
5106
|
+
*
|
|
5107
|
+
* @export
|
|
5108
|
+
* @interface SubmitWeb3ActionRequest
|
|
5109
|
+
*/
|
|
5110
|
+
export interface SubmitWeb3ActionRequest {
|
|
5111
|
+
/**
|
|
5112
|
+
* True to approve the action, false to reject it.
|
|
5113
|
+
* @type {boolean}
|
|
5114
|
+
* @memberof SubmitWeb3ActionRequest
|
|
5115
|
+
*/
|
|
5116
|
+
'approve': boolean;
|
|
5117
|
+
/**
|
|
5118
|
+
* The policy ID (starts with pol_)
|
|
5119
|
+
* @type {string}
|
|
5120
|
+
* @memberof SubmitWeb3ActionRequest
|
|
5121
|
+
*/
|
|
5122
|
+
'policy'?: string;
|
|
5123
|
+
}
|
|
4901
5124
|
/**
|
|
4902
5125
|
*
|
|
4903
5126
|
* @export
|
|
@@ -5293,19 +5516,21 @@ export interface TransactionIntentResponsePlayer {
|
|
|
5293
5516
|
* @type {string}
|
|
5294
5517
|
* @memberof TransactionIntentResponsePlayer
|
|
5295
5518
|
*/
|
|
5296
|
-
'name': string
|
|
5519
|
+
'name': string;
|
|
5297
5520
|
/**
|
|
5298
5521
|
*
|
|
5299
5522
|
* @type {string}
|
|
5300
5523
|
* @memberof TransactionIntentResponsePlayer
|
|
5301
5524
|
*/
|
|
5302
|
-
'description'
|
|
5525
|
+
'description'?: string;
|
|
5303
5526
|
/**
|
|
5304
5527
|
*
|
|
5305
|
-
* @type {string}
|
|
5528
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
5306
5529
|
* @memberof TransactionIntentResponsePlayer
|
|
5307
5530
|
*/
|
|
5308
|
-
'metadata'
|
|
5531
|
+
'metadata'?: {
|
|
5532
|
+
[key: string]: PlayerMetadataValue;
|
|
5533
|
+
};
|
|
5309
5534
|
/**
|
|
5310
5535
|
*
|
|
5311
5536
|
* @type {Array<EntityIdResponse>}
|
|
@@ -5582,96 +5807,151 @@ export interface UpdateProjectRequest {
|
|
|
5582
5807
|
/**
|
|
5583
5808
|
*
|
|
5584
5809
|
* @export
|
|
5585
|
-
* @interface
|
|
5810
|
+
* @interface UserProjectCreateRequest
|
|
5586
5811
|
*/
|
|
5587
|
-
export interface
|
|
5812
|
+
export interface UserProjectCreateRequest {
|
|
5588
5813
|
/**
|
|
5589
5814
|
*
|
|
5590
|
-
* @type {
|
|
5591
|
-
* @memberof
|
|
5815
|
+
* @type {UserProjectCreateRequestRole}
|
|
5816
|
+
* @memberof UserProjectCreateRequest
|
|
5592
5817
|
*/
|
|
5593
|
-
'
|
|
5818
|
+
'role'?: UserProjectCreateRequestRole;
|
|
5594
5819
|
/**
|
|
5595
5820
|
*
|
|
5596
|
-
* @type {
|
|
5597
|
-
* @memberof
|
|
5821
|
+
* @type {string}
|
|
5822
|
+
* @memberof UserProjectCreateRequest
|
|
5598
5823
|
*/
|
|
5599
|
-
'
|
|
5824
|
+
'email': string;
|
|
5825
|
+
}
|
|
5826
|
+
/**
|
|
5827
|
+
*
|
|
5828
|
+
* @export
|
|
5829
|
+
* @interface UserProjectCreateRequestRole
|
|
5830
|
+
*/
|
|
5831
|
+
export interface UserProjectCreateRequestRole {
|
|
5600
5832
|
}
|
|
5601
5833
|
/**
|
|
5602
5834
|
*
|
|
5603
5835
|
* @export
|
|
5604
|
-
* @interface
|
|
5836
|
+
* @interface UserProjectDeleteResponse
|
|
5605
5837
|
*/
|
|
5606
|
-
export interface
|
|
5838
|
+
export interface UserProjectDeleteResponse {
|
|
5839
|
+
/**
|
|
5840
|
+
*
|
|
5841
|
+
* @type {string}
|
|
5842
|
+
* @memberof UserProjectDeleteResponse
|
|
5843
|
+
*/
|
|
5844
|
+
'id': string;
|
|
5845
|
+
/**
|
|
5846
|
+
*
|
|
5847
|
+
* @type {EntityTypeUSER}
|
|
5848
|
+
* @memberof UserProjectDeleteResponse
|
|
5849
|
+
*/
|
|
5850
|
+
'object': EntityTypeUSER;
|
|
5851
|
+
/**
|
|
5852
|
+
*
|
|
5853
|
+
* @type {boolean}
|
|
5854
|
+
* @memberof UserProjectDeleteResponse
|
|
5855
|
+
*/
|
|
5856
|
+
'deleted': boolean;
|
|
5607
5857
|
}
|
|
5608
5858
|
/**
|
|
5609
5859
|
*
|
|
5610
5860
|
* @export
|
|
5611
|
-
* @interface
|
|
5861
|
+
* @interface UserProjectListResponse
|
|
5612
5862
|
*/
|
|
5613
|
-
export interface
|
|
5863
|
+
export interface UserProjectListResponse {
|
|
5614
5864
|
/**
|
|
5615
5865
|
*
|
|
5616
5866
|
* @type {ResponseTypeLIST}
|
|
5617
|
-
* @memberof
|
|
5867
|
+
* @memberof UserProjectListResponse
|
|
5618
5868
|
*/
|
|
5619
5869
|
'object': ResponseTypeLIST;
|
|
5620
5870
|
/**
|
|
5621
5871
|
*
|
|
5622
5872
|
* @type {string}
|
|
5623
|
-
* @memberof
|
|
5873
|
+
* @memberof UserProjectListResponse
|
|
5624
5874
|
*/
|
|
5625
5875
|
'url': string;
|
|
5626
5876
|
/**
|
|
5627
5877
|
*
|
|
5628
|
-
* @type {Array<
|
|
5629
|
-
* @memberof
|
|
5878
|
+
* @type {Array<UserProjectResponse>}
|
|
5879
|
+
* @memberof UserProjectListResponse
|
|
5630
5880
|
*/
|
|
5631
|
-
'data': Array<
|
|
5881
|
+
'data': Array<UserProjectResponse>;
|
|
5632
5882
|
/**
|
|
5633
5883
|
*
|
|
5634
5884
|
* @type {number}
|
|
5635
|
-
* @memberof
|
|
5885
|
+
* @memberof UserProjectListResponse
|
|
5636
5886
|
*/
|
|
5637
5887
|
'start': number;
|
|
5638
5888
|
/**
|
|
5639
5889
|
*
|
|
5640
5890
|
* @type {number}
|
|
5641
|
-
* @memberof
|
|
5891
|
+
* @memberof UserProjectListResponse
|
|
5642
5892
|
*/
|
|
5643
5893
|
'end': number;
|
|
5644
5894
|
/**
|
|
5645
5895
|
*
|
|
5646
5896
|
* @type {number}
|
|
5647
|
-
* @memberof
|
|
5897
|
+
* @memberof UserProjectListResponse
|
|
5648
5898
|
*/
|
|
5649
5899
|
'total': number;
|
|
5650
5900
|
}
|
|
5651
5901
|
/**
|
|
5652
5902
|
*
|
|
5653
5903
|
* @export
|
|
5654
|
-
* @interface
|
|
5904
|
+
* @interface UserProjectResponse
|
|
5655
5905
|
*/
|
|
5656
|
-
export interface
|
|
5906
|
+
export interface UserProjectResponse {
|
|
5657
5907
|
/**
|
|
5658
5908
|
*
|
|
5659
5909
|
* @type {string}
|
|
5660
|
-
* @memberof
|
|
5910
|
+
* @memberof UserProjectResponse
|
|
5661
5911
|
*/
|
|
5662
5912
|
'id': string;
|
|
5663
5913
|
/**
|
|
5664
5914
|
*
|
|
5665
5915
|
* @type {EntityTypeUSER}
|
|
5666
|
-
* @memberof
|
|
5916
|
+
* @memberof UserProjectResponse
|
|
5667
5917
|
*/
|
|
5668
5918
|
'object': EntityTypeUSER;
|
|
5669
5919
|
/**
|
|
5670
5920
|
*
|
|
5671
|
-
* @type {
|
|
5672
|
-
* @memberof
|
|
5921
|
+
* @type {number}
|
|
5922
|
+
* @memberof UserProjectResponse
|
|
5673
5923
|
*/
|
|
5674
|
-
'
|
|
5924
|
+
'createdAt': number;
|
|
5925
|
+
/**
|
|
5926
|
+
*
|
|
5927
|
+
* @type {number}
|
|
5928
|
+
* @memberof UserProjectResponse
|
|
5929
|
+
*/
|
|
5930
|
+
'updatedAt': number;
|
|
5931
|
+
/**
|
|
5932
|
+
*
|
|
5933
|
+
* @type {string}
|
|
5934
|
+
* @memberof UserProjectResponse
|
|
5935
|
+
*/
|
|
5936
|
+
'firstName': string;
|
|
5937
|
+
/**
|
|
5938
|
+
*
|
|
5939
|
+
* @type {string}
|
|
5940
|
+
* @memberof UserProjectResponse
|
|
5941
|
+
*/
|
|
5942
|
+
'lastName': string;
|
|
5943
|
+
/**
|
|
5944
|
+
*
|
|
5945
|
+
* @type {UserProjectRole}
|
|
5946
|
+
* @memberof UserProjectResponse
|
|
5947
|
+
*/
|
|
5948
|
+
'role': UserProjectRole;
|
|
5949
|
+
/**
|
|
5950
|
+
*
|
|
5951
|
+
* @type {string}
|
|
5952
|
+
* @memberof UserProjectResponse
|
|
5953
|
+
*/
|
|
5954
|
+
'email': string;
|
|
5675
5955
|
}
|
|
5676
5956
|
/**
|
|
5677
5957
|
*
|
|
@@ -5705,71 +5985,291 @@ export type UserProjectRoleMEMBER = typeof UserProjectRoleMEMBER[keyof typeof Us
|
|
|
5705
5985
|
/**
|
|
5706
5986
|
*
|
|
5707
5987
|
* @export
|
|
5708
|
-
* @interface
|
|
5988
|
+
* @interface UserProjectUpdateRequest
|
|
5989
|
+
*/
|
|
5990
|
+
export interface UserProjectUpdateRequest {
|
|
5991
|
+
/**
|
|
5992
|
+
*
|
|
5993
|
+
* @type {UserProjectCreateRequestRole}
|
|
5994
|
+
* @memberof UserProjectUpdateRequest
|
|
5995
|
+
*/
|
|
5996
|
+
'role': UserProjectCreateRequestRole;
|
|
5997
|
+
}
|
|
5998
|
+
/**
|
|
5999
|
+
*
|
|
6000
|
+
* @export
|
|
6001
|
+
* @interface Web3ActionListResponse
|
|
5709
6002
|
*/
|
|
5710
|
-
export interface
|
|
6003
|
+
export interface Web3ActionListResponse {
|
|
6004
|
+
/**
|
|
6005
|
+
*
|
|
6006
|
+
* @type {ResponseTypeLIST}
|
|
6007
|
+
* @memberof Web3ActionListResponse
|
|
6008
|
+
*/
|
|
6009
|
+
'object': ResponseTypeLIST;
|
|
5711
6010
|
/**
|
|
5712
6011
|
*
|
|
5713
6012
|
* @type {string}
|
|
5714
|
-
* @memberof
|
|
6013
|
+
* @memberof Web3ActionListResponse
|
|
5715
6014
|
*/
|
|
5716
|
-
'
|
|
6015
|
+
'url': string;
|
|
5717
6016
|
/**
|
|
5718
6017
|
*
|
|
5719
|
-
* @type {
|
|
5720
|
-
* @memberof
|
|
6018
|
+
* @type {Array<Web3ActionResponse>}
|
|
6019
|
+
* @memberof Web3ActionListResponse
|
|
5721
6020
|
*/
|
|
5722
|
-
'
|
|
6021
|
+
'data': Array<Web3ActionResponse>;
|
|
5723
6022
|
/**
|
|
5724
6023
|
*
|
|
5725
6024
|
* @type {number}
|
|
5726
|
-
* @memberof
|
|
6025
|
+
* @memberof Web3ActionListResponse
|
|
5727
6026
|
*/
|
|
5728
|
-
'
|
|
6027
|
+
'start': number;
|
|
5729
6028
|
/**
|
|
5730
6029
|
*
|
|
5731
6030
|
* @type {number}
|
|
5732
|
-
* @memberof
|
|
6031
|
+
* @memberof Web3ActionListResponse
|
|
5733
6032
|
*/
|
|
5734
|
-
'
|
|
6033
|
+
'end': number;
|
|
6034
|
+
/**
|
|
6035
|
+
*
|
|
6036
|
+
* @type {number}
|
|
6037
|
+
* @memberof Web3ActionListResponse
|
|
6038
|
+
*/
|
|
6039
|
+
'total': number;
|
|
6040
|
+
}
|
|
6041
|
+
/**
|
|
6042
|
+
*
|
|
6043
|
+
* @export
|
|
6044
|
+
* @interface Web3ActionResponse
|
|
6045
|
+
*/
|
|
6046
|
+
export interface Web3ActionResponse {
|
|
5735
6047
|
/**
|
|
5736
6048
|
*
|
|
5737
6049
|
* @type {string}
|
|
5738
|
-
* @memberof
|
|
5739
|
-
* @deprecated
|
|
6050
|
+
* @memberof Web3ActionResponse
|
|
5740
6051
|
*/
|
|
5741
|
-
'
|
|
6052
|
+
'id': string;
|
|
5742
6053
|
/**
|
|
5743
6054
|
*
|
|
6055
|
+
* @type {EntityTypeWEB3ACTION}
|
|
6056
|
+
* @memberof Web3ActionResponse
|
|
6057
|
+
*/
|
|
6058
|
+
'object': EntityTypeWEB3ACTION;
|
|
6059
|
+
/**
|
|
6060
|
+
*
|
|
6061
|
+
* @type {number}
|
|
6062
|
+
* @memberof Web3ActionResponse
|
|
6063
|
+
*/
|
|
6064
|
+
'createdAt': number;
|
|
6065
|
+
/**
|
|
6066
|
+
* The web3_connection ID (starts with web3_).
|
|
5744
6067
|
* @type {string}
|
|
5745
|
-
* @memberof
|
|
5746
|
-
|
|
6068
|
+
* @memberof Web3ActionResponse
|
|
6069
|
+
*/
|
|
6070
|
+
'web3_connection': string;
|
|
6071
|
+
/**
|
|
6072
|
+
*
|
|
6073
|
+
* @type {Web3ActionStatusEnum}
|
|
6074
|
+
* @memberof Web3ActionResponse
|
|
6075
|
+
*/
|
|
6076
|
+
'status': Web3ActionStatusEnum;
|
|
6077
|
+
}
|
|
6078
|
+
/**
|
|
6079
|
+
*
|
|
6080
|
+
* @export
|
|
6081
|
+
* @enum {string}
|
|
6082
|
+
*/
|
|
6083
|
+
export declare const Web3ActionStatusEnum: {
|
|
6084
|
+
readonly Pending: "Pending";
|
|
6085
|
+
readonly Approved: "Approved";
|
|
6086
|
+
readonly Rejected: "Rejected";
|
|
6087
|
+
readonly Expired: "Expired";
|
|
6088
|
+
readonly Failed: "Failed";
|
|
6089
|
+
};
|
|
6090
|
+
export type Web3ActionStatusEnum = typeof Web3ActionStatusEnum[keyof typeof Web3ActionStatusEnum];
|
|
6091
|
+
/**
|
|
6092
|
+
*
|
|
6093
|
+
* @export
|
|
6094
|
+
* @interface Web3ConnectionListQueries
|
|
6095
|
+
*/
|
|
6096
|
+
export interface Web3ConnectionListQueries {
|
|
6097
|
+
/**
|
|
6098
|
+
* Specifies the maximum number of records to return.
|
|
6099
|
+
* @type {number}
|
|
6100
|
+
* @memberof Web3ConnectionListQueries
|
|
5747
6101
|
*/
|
|
5748
|
-
'
|
|
6102
|
+
'limit'?: number;
|
|
6103
|
+
/**
|
|
6104
|
+
* Specifies the offset for the first records to return.
|
|
6105
|
+
* @type {number}
|
|
6106
|
+
* @memberof Web3ConnectionListQueries
|
|
6107
|
+
*/
|
|
6108
|
+
'skip'?: number;
|
|
5749
6109
|
/**
|
|
5750
6110
|
*
|
|
6111
|
+
* @type {SortOrder}
|
|
6112
|
+
* @memberof Web3ConnectionListQueries
|
|
6113
|
+
*/
|
|
6114
|
+
'order'?: SortOrder;
|
|
6115
|
+
/**
|
|
6116
|
+
* Specifies the unique player ID (starts with pla_)
|
|
5751
6117
|
* @type {string}
|
|
5752
|
-
* @memberof
|
|
6118
|
+
* @memberof Web3ConnectionListQueries
|
|
5753
6119
|
*/
|
|
5754
|
-
'
|
|
6120
|
+
'player': string;
|
|
6121
|
+
/**
|
|
6122
|
+
* Specifies connection status
|
|
6123
|
+
* @type {boolean}
|
|
6124
|
+
* @memberof Web3ConnectionListQueries
|
|
6125
|
+
*/
|
|
6126
|
+
'disconnected'?: boolean;
|
|
6127
|
+
}
|
|
6128
|
+
/**
|
|
6129
|
+
*
|
|
6130
|
+
* @export
|
|
6131
|
+
* @interface Web3ConnectionListResponse
|
|
6132
|
+
*/
|
|
6133
|
+
export interface Web3ConnectionListResponse {
|
|
6134
|
+
/**
|
|
6135
|
+
*
|
|
6136
|
+
* @type {ResponseTypeLIST}
|
|
6137
|
+
* @memberof Web3ConnectionListResponse
|
|
6138
|
+
*/
|
|
6139
|
+
'object': ResponseTypeLIST;
|
|
5755
6140
|
/**
|
|
5756
6141
|
*
|
|
5757
6142
|
* @type {string}
|
|
5758
|
-
* @memberof
|
|
6143
|
+
* @memberof Web3ConnectionListResponse
|
|
5759
6144
|
*/
|
|
5760
|
-
'
|
|
6145
|
+
'url': string;
|
|
5761
6146
|
/**
|
|
5762
6147
|
*
|
|
5763
|
-
* @type {
|
|
5764
|
-
* @memberof
|
|
6148
|
+
* @type {Array<Web3ConnectionResponse>}
|
|
6149
|
+
* @memberof Web3ConnectionListResponse
|
|
5765
6150
|
*/
|
|
5766
|
-
'
|
|
6151
|
+
'data': Array<Web3ConnectionResponse>;
|
|
6152
|
+
/**
|
|
6153
|
+
*
|
|
6154
|
+
* @type {number}
|
|
6155
|
+
* @memberof Web3ConnectionListResponse
|
|
6156
|
+
*/
|
|
6157
|
+
'start': number;
|
|
6158
|
+
/**
|
|
6159
|
+
*
|
|
6160
|
+
* @type {number}
|
|
6161
|
+
* @memberof Web3ConnectionListResponse
|
|
6162
|
+
*/
|
|
6163
|
+
'end': number;
|
|
6164
|
+
/**
|
|
6165
|
+
*
|
|
6166
|
+
* @type {number}
|
|
6167
|
+
* @memberof Web3ConnectionListResponse
|
|
6168
|
+
*/
|
|
6169
|
+
'total': number;
|
|
6170
|
+
}
|
|
6171
|
+
/**
|
|
6172
|
+
*
|
|
6173
|
+
* @export
|
|
6174
|
+
* @interface Web3ConnectionResponse
|
|
6175
|
+
*/
|
|
6176
|
+
export interface Web3ConnectionResponse {
|
|
5767
6177
|
/**
|
|
5768
6178
|
*
|
|
5769
6179
|
* @type {string}
|
|
5770
|
-
* @memberof
|
|
6180
|
+
* @memberof Web3ConnectionResponse
|
|
5771
6181
|
*/
|
|
5772
|
-
'
|
|
6182
|
+
'id': string;
|
|
6183
|
+
/**
|
|
6184
|
+
*
|
|
6185
|
+
* @type {EntityTypeWEB3CONNECTION}
|
|
6186
|
+
* @memberof Web3ConnectionResponse
|
|
6187
|
+
*/
|
|
6188
|
+
'object': EntityTypeWEB3CONNECTION;
|
|
6189
|
+
/**
|
|
6190
|
+
*
|
|
6191
|
+
* @type {number}
|
|
6192
|
+
* @memberof Web3ConnectionResponse
|
|
6193
|
+
*/
|
|
6194
|
+
'createdAt': number;
|
|
6195
|
+
/**
|
|
6196
|
+
*
|
|
6197
|
+
* @type {boolean}
|
|
6198
|
+
* @memberof Web3ConnectionResponse
|
|
6199
|
+
*/
|
|
6200
|
+
'disconnected': boolean;
|
|
6201
|
+
/**
|
|
6202
|
+
*
|
|
6203
|
+
* @type {Web3ConnectionResponsePlayer}
|
|
6204
|
+
* @memberof Web3ConnectionResponse
|
|
6205
|
+
*/
|
|
6206
|
+
'player': Web3ConnectionResponsePlayer;
|
|
6207
|
+
}
|
|
6208
|
+
/**
|
|
6209
|
+
*
|
|
6210
|
+
* @export
|
|
6211
|
+
* @enum {string}
|
|
6212
|
+
*/
|
|
6213
|
+
export declare const Web3ConnectionResponseExpandable: {
|
|
6214
|
+
readonly Player: "player";
|
|
6215
|
+
};
|
|
6216
|
+
export type Web3ConnectionResponseExpandable = typeof Web3ConnectionResponseExpandable[keyof typeof Web3ConnectionResponseExpandable];
|
|
6217
|
+
/**
|
|
6218
|
+
* The player ID (starts with pla_).
|
|
6219
|
+
* @export
|
|
6220
|
+
* @interface Web3ConnectionResponsePlayer
|
|
6221
|
+
*/
|
|
6222
|
+
export interface Web3ConnectionResponsePlayer {
|
|
6223
|
+
/**
|
|
6224
|
+
*
|
|
6225
|
+
* @type {string}
|
|
6226
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6227
|
+
*/
|
|
6228
|
+
'id': string;
|
|
6229
|
+
/**
|
|
6230
|
+
*
|
|
6231
|
+
* @type {EntityTypePLAYER}
|
|
6232
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6233
|
+
*/
|
|
6234
|
+
'object': EntityTypePLAYER;
|
|
6235
|
+
/**
|
|
6236
|
+
*
|
|
6237
|
+
* @type {number}
|
|
6238
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6239
|
+
*/
|
|
6240
|
+
'createdAt': number;
|
|
6241
|
+
/**
|
|
6242
|
+
*
|
|
6243
|
+
* @type {string}
|
|
6244
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6245
|
+
*/
|
|
6246
|
+
'name': string;
|
|
6247
|
+
/**
|
|
6248
|
+
*
|
|
6249
|
+
* @type {string}
|
|
6250
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6251
|
+
*/
|
|
6252
|
+
'description'?: string;
|
|
6253
|
+
/**
|
|
6254
|
+
*
|
|
6255
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
6256
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6257
|
+
*/
|
|
6258
|
+
'metadata'?: {
|
|
6259
|
+
[key: string]: PlayerMetadataValue;
|
|
6260
|
+
};
|
|
6261
|
+
/**
|
|
6262
|
+
*
|
|
6263
|
+
* @type {Array<EntityIdResponse>}
|
|
6264
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6265
|
+
*/
|
|
6266
|
+
'transactionIntents'?: Array<EntityIdResponse>;
|
|
6267
|
+
/**
|
|
6268
|
+
*
|
|
6269
|
+
* @type {Array<EntityIdResponse>}
|
|
6270
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6271
|
+
*/
|
|
6272
|
+
'accounts'?: Array<EntityIdResponse>;
|
|
5773
6273
|
}
|
|
5774
6274
|
/**
|
|
5775
6275
|
*
|
|
@@ -6321,6 +6821,16 @@ export declare const ContractsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
6321
6821
|
* @throws {RequiredError}
|
|
6322
6822
|
*/
|
|
6323
6823
|
getContracts: (limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6824
|
+
/**
|
|
6825
|
+
* Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
|
|
6826
|
+
* @summary Read on chain contract data.
|
|
6827
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
6828
|
+
* @param {string} functionName The function name of the contract.
|
|
6829
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
6830
|
+
* @param {*} [options] Override http request option.
|
|
6831
|
+
* @throws {RequiredError}
|
|
6832
|
+
*/
|
|
6833
|
+
readContract: (id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6324
6834
|
/**
|
|
6325
6835
|
*
|
|
6326
6836
|
* @summary Updates a contract object.
|
|
@@ -6374,6 +6884,16 @@ export declare const ContractsApiFp: (configuration?: Configuration) => {
|
|
|
6374
6884
|
* @throws {RequiredError}
|
|
6375
6885
|
*/
|
|
6376
6886
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractListResponse>>;
|
|
6887
|
+
/**
|
|
6888
|
+
* Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
|
|
6889
|
+
* @summary Read on chain contract data.
|
|
6890
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
6891
|
+
* @param {string} functionName The function name of the contract.
|
|
6892
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
6893
|
+
* @param {*} [options] Override http request option.
|
|
6894
|
+
* @throws {RequiredError}
|
|
6895
|
+
*/
|
|
6896
|
+
readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractReadResponse>>;
|
|
6377
6897
|
/**
|
|
6378
6898
|
*
|
|
6379
6899
|
* @summary Updates a contract object.
|
|
@@ -6427,6 +6947,16 @@ export declare const ContractsApiFactory: (configuration?: Configuration, basePa
|
|
|
6427
6947
|
* @throws {RequiredError}
|
|
6428
6948
|
*/
|
|
6429
6949
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: any): AxiosPromise<ContractListResponse>;
|
|
6950
|
+
/**
|
|
6951
|
+
* Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
|
|
6952
|
+
* @summary Read on chain contract data.
|
|
6953
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
6954
|
+
* @param {string} functionName The function name of the contract.
|
|
6955
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
6956
|
+
* @param {*} [options] Override http request option.
|
|
6957
|
+
* @throws {RequiredError}
|
|
6958
|
+
*/
|
|
6959
|
+
readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: any): AxiosPromise<ContractReadResponse>;
|
|
6430
6960
|
/**
|
|
6431
6961
|
*
|
|
6432
6962
|
* @summary Updates a contract object.
|
|
@@ -6486,6 +7016,17 @@ export declare class ContractsApi extends BaseAPI {
|
|
|
6486
7016
|
* @memberof ContractsApi
|
|
6487
7017
|
*/
|
|
6488
7018
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractListResponse, any>>;
|
|
7019
|
+
/**
|
|
7020
|
+
* Using this endpoint, you can get the data returned by any readable function listed in a contracts ABI. This could be things like querying the totalSupply of a currency contract, the number of owners of an items contract, and more.
|
|
7021
|
+
* @summary Read on chain contract data.
|
|
7022
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
7023
|
+
* @param {string} functionName The function name of the contract.
|
|
7024
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
7025
|
+
* @param {*} [options] Override http request option.
|
|
7026
|
+
* @throws {RequiredError}
|
|
7027
|
+
* @memberof ContractsApi
|
|
7028
|
+
*/
|
|
7029
|
+
readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractReadResponse, any>>;
|
|
6489
7030
|
/**
|
|
6490
7031
|
*
|
|
6491
7032
|
* @summary Updates a contract object.
|
|
@@ -6980,12 +7521,11 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6980
7521
|
/**
|
|
6981
7522
|
* The endpoint creates oauth configuration for the current project environment.
|
|
6982
7523
|
* @summary Create oauth configuration.
|
|
6983
|
-
* @param {
|
|
6984
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7524
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
6985
7525
|
* @param {*} [options] Override http request option.
|
|
6986
7526
|
* @throws {RequiredError}
|
|
6987
7527
|
*/
|
|
6988
|
-
createOAuthConfig: (
|
|
7528
|
+
createOAuthConfig: (body: OAuthConfig, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6989
7529
|
/**
|
|
6990
7530
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
6991
7531
|
* @summary Delete oauth configuration.
|
|
@@ -7018,15 +7558,6 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7018
7558
|
* @throws {RequiredError}
|
|
7019
7559
|
*/
|
|
7020
7560
|
listOAuthConfig: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7021
|
-
/**
|
|
7022
|
-
* The endpoint updates oauth configuration for specified provider for the current project environment.
|
|
7023
|
-
* @summary Update oauth configuration.
|
|
7024
|
-
* @param {OAuthProvider} provider Specifies the oauth provider type.
|
|
7025
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7026
|
-
* @param {*} [options] Override http request option.
|
|
7027
|
-
* @throws {RequiredError}
|
|
7028
|
-
*/
|
|
7029
|
-
updateOAuthConfig: (provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7030
7561
|
/**
|
|
7031
7562
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7032
7563
|
* @summary Retrieve player by token.
|
|
@@ -7054,12 +7585,11 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
7054
7585
|
/**
|
|
7055
7586
|
* The endpoint creates oauth configuration for the current project environment.
|
|
7056
7587
|
* @summary Create oauth configuration.
|
|
7057
|
-
* @param {
|
|
7058
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7588
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
7059
7589
|
* @param {*} [options] Override http request option.
|
|
7060
7590
|
* @throws {RequiredError}
|
|
7061
7591
|
*/
|
|
7062
|
-
createOAuthConfig(
|
|
7592
|
+
createOAuthConfig(body: OAuthConfig, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfig>>;
|
|
7063
7593
|
/**
|
|
7064
7594
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
7065
7595
|
* @summary Delete oauth configuration.
|
|
@@ -7075,7 +7605,7 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
7075
7605
|
* @param {*} [options] Override http request option.
|
|
7076
7606
|
* @throws {RequiredError}
|
|
7077
7607
|
*/
|
|
7078
|
-
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
7608
|
+
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfig>>;
|
|
7079
7609
|
/**
|
|
7080
7610
|
* Retrieves the player based on his id in the external provider system.
|
|
7081
7611
|
* @summary Retrieve player by external id.
|
|
@@ -7092,15 +7622,6 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
7092
7622
|
* @throws {RequiredError}
|
|
7093
7623
|
*/
|
|
7094
7624
|
listOAuthConfig(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfigListResponse>>;
|
|
7095
|
-
/**
|
|
7096
|
-
* The endpoint updates oauth configuration for specified provider for the current project environment.
|
|
7097
|
-
* @summary Update oauth configuration.
|
|
7098
|
-
* @param {OAuthProvider} provider Specifies the oauth provider type.
|
|
7099
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7100
|
-
* @param {*} [options] Override http request option.
|
|
7101
|
-
* @throws {RequiredError}
|
|
7102
|
-
*/
|
|
7103
|
-
updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
7104
7625
|
/**
|
|
7105
7626
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7106
7627
|
* @summary Retrieve player by token.
|
|
@@ -7128,12 +7649,11 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7128
7649
|
/**
|
|
7129
7650
|
* The endpoint creates oauth configuration for the current project environment.
|
|
7130
7651
|
* @summary Create oauth configuration.
|
|
7131
|
-
* @param {
|
|
7132
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7652
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
7133
7653
|
* @param {*} [options] Override http request option.
|
|
7134
7654
|
* @throws {RequiredError}
|
|
7135
7655
|
*/
|
|
7136
|
-
createOAuthConfig(
|
|
7656
|
+
createOAuthConfig(body: OAuthConfig, options?: any): AxiosPromise<OAuthConfig>;
|
|
7137
7657
|
/**
|
|
7138
7658
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
7139
7659
|
* @summary Delete oauth configuration.
|
|
@@ -7149,7 +7669,7 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7149
7669
|
* @param {*} [options] Override http request option.
|
|
7150
7670
|
* @throws {RequiredError}
|
|
7151
7671
|
*/
|
|
7152
|
-
getOAuthConfig(provider: OAuthProvider, options?: any): AxiosPromise<
|
|
7672
|
+
getOAuthConfig(provider: OAuthProvider, options?: any): AxiosPromise<OAuthConfig>;
|
|
7153
7673
|
/**
|
|
7154
7674
|
* Retrieves the player based on his id in the external provider system.
|
|
7155
7675
|
* @summary Retrieve player by external id.
|
|
@@ -7166,15 +7686,6 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7166
7686
|
* @throws {RequiredError}
|
|
7167
7687
|
*/
|
|
7168
7688
|
listOAuthConfig(options?: any): AxiosPromise<OAuthConfigListResponse>;
|
|
7169
|
-
/**
|
|
7170
|
-
* The endpoint updates oauth configuration for specified provider for the current project environment.
|
|
7171
|
-
* @summary Update oauth configuration.
|
|
7172
|
-
* @param {OAuthProvider} provider Specifies the oauth provider type.
|
|
7173
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7174
|
-
* @param {*} [options] Override http request option.
|
|
7175
|
-
* @throws {RequiredError}
|
|
7176
|
-
*/
|
|
7177
|
-
updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: any): AxiosPromise<void>;
|
|
7178
7689
|
/**
|
|
7179
7690
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7180
7691
|
* @summary Retrieve player by token.
|
|
@@ -7205,13 +7716,12 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
7205
7716
|
/**
|
|
7206
7717
|
* The endpoint creates oauth configuration for the current project environment.
|
|
7207
7718
|
* @summary Create oauth configuration.
|
|
7208
|
-
* @param {
|
|
7209
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7719
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
7210
7720
|
* @param {*} [options] Override http request option.
|
|
7211
7721
|
* @throws {RequiredError}
|
|
7212
7722
|
* @memberof OAuthApi
|
|
7213
7723
|
*/
|
|
7214
|
-
createOAuthConfig(
|
|
7724
|
+
createOAuthConfig(body: OAuthConfig, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfig, any>>;
|
|
7215
7725
|
/**
|
|
7216
7726
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
7217
7727
|
* @summary Delete oauth configuration.
|
|
@@ -7229,7 +7739,7 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
7229
7739
|
* @throws {RequiredError}
|
|
7230
7740
|
* @memberof OAuthApi
|
|
7231
7741
|
*/
|
|
7232
|
-
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
7742
|
+
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfig, any>>;
|
|
7233
7743
|
/**
|
|
7234
7744
|
* Retrieves the player based on his id in the external provider system.
|
|
7235
7745
|
* @summary Retrieve player by external id.
|
|
@@ -7248,16 +7758,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
7248
7758
|
* @memberof OAuthApi
|
|
7249
7759
|
*/
|
|
7250
7760
|
listOAuthConfig(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfigListResponse, any>>;
|
|
7251
|
-
/**
|
|
7252
|
-
* The endpoint updates oauth configuration for specified provider for the current project environment.
|
|
7253
|
-
* @summary Update oauth configuration.
|
|
7254
|
-
* @param {OAuthProvider} provider Specifies the oauth provider type.
|
|
7255
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7256
|
-
* @param {*} [options] Override http request option.
|
|
7257
|
-
* @throws {RequiredError}
|
|
7258
|
-
* @memberof OAuthApi
|
|
7259
|
-
*/
|
|
7260
|
-
updateOAuthConfig(provider: OAuthProvider, oAuthConfigRequest: OAuthConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
7261
7761
|
/**
|
|
7262
7762
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7263
7763
|
* @summary Retrieve player by token.
|
|
@@ -7286,11 +7786,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7286
7786
|
/**
|
|
7287
7787
|
* Add a new player to your player list in Openfort.
|
|
7288
7788
|
* @summary Create a player object.
|
|
7289
|
-
* @param {
|
|
7789
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7290
7790
|
* @param {*} [options] Override http request option.
|
|
7291
7791
|
* @throws {RequiredError}
|
|
7292
7792
|
*/
|
|
7293
|
-
createPlayer: (
|
|
7793
|
+
createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7294
7794
|
/**
|
|
7295
7795
|
*
|
|
7296
7796
|
* @summary Create account object for a player.
|
|
@@ -7309,6 +7809,14 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7309
7809
|
* @throws {RequiredError}
|
|
7310
7810
|
*/
|
|
7311
7811
|
createPlayerSession: (id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7812
|
+
/**
|
|
7813
|
+
*
|
|
7814
|
+
* @summary Deletes a player object.
|
|
7815
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7816
|
+
* @param {*} [options] Override http request option.
|
|
7817
|
+
* @throws {RequiredError}
|
|
7818
|
+
*/
|
|
7819
|
+
deletePlayer: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7312
7820
|
/**
|
|
7313
7821
|
*
|
|
7314
7822
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7381,11 +7889,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7381
7889
|
*
|
|
7382
7890
|
* @summary Updates a player object.
|
|
7383
7891
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7384
|
-
* @param {
|
|
7892
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7385
7893
|
* @param {*} [options] Override http request option.
|
|
7386
7894
|
* @throws {RequiredError}
|
|
7387
7895
|
*/
|
|
7388
|
-
updatePlayer: (id: string,
|
|
7896
|
+
updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7389
7897
|
};
|
|
7390
7898
|
/**
|
|
7391
7899
|
* PlayersApi - functional programming interface
|
|
@@ -7404,11 +7912,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7404
7912
|
/**
|
|
7405
7913
|
* Add a new player to your player list in Openfort.
|
|
7406
7914
|
* @summary Create a player object.
|
|
7407
|
-
* @param {
|
|
7915
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7408
7916
|
* @param {*} [options] Override http request option.
|
|
7409
7917
|
* @throws {RequiredError}
|
|
7410
7918
|
*/
|
|
7411
|
-
createPlayer(
|
|
7919
|
+
createPlayer(playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
|
|
7412
7920
|
/**
|
|
7413
7921
|
*
|
|
7414
7922
|
* @summary Create account object for a player.
|
|
@@ -7427,6 +7935,14 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7427
7935
|
* @throws {RequiredError}
|
|
7428
7936
|
*/
|
|
7429
7937
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
7938
|
+
/**
|
|
7939
|
+
*
|
|
7940
|
+
* @summary Deletes a player object.
|
|
7941
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7942
|
+
* @param {*} [options] Override http request option.
|
|
7943
|
+
* @throws {RequiredError}
|
|
7944
|
+
*/
|
|
7945
|
+
deletePlayer(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerDeleteResponse>>;
|
|
7430
7946
|
/**
|
|
7431
7947
|
*
|
|
7432
7948
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7499,11 +8015,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7499
8015
|
*
|
|
7500
8016
|
* @summary Updates a player object.
|
|
7501
8017
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7502
|
-
* @param {
|
|
8018
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7503
8019
|
* @param {*} [options] Override http request option.
|
|
7504
8020
|
* @throws {RequiredError}
|
|
7505
8021
|
*/
|
|
7506
|
-
updatePlayer(id: string,
|
|
8022
|
+
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
|
|
7507
8023
|
};
|
|
7508
8024
|
/**
|
|
7509
8025
|
* PlayersApi - factory interface
|
|
@@ -7522,11 +8038,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
7522
8038
|
/**
|
|
7523
8039
|
* Add a new player to your player list in Openfort.
|
|
7524
8040
|
* @summary Create a player object.
|
|
7525
|
-
* @param {
|
|
8041
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7526
8042
|
* @param {*} [options] Override http request option.
|
|
7527
8043
|
* @throws {RequiredError}
|
|
7528
8044
|
*/
|
|
7529
|
-
createPlayer(
|
|
8045
|
+
createPlayer(playerCreateRequest: PlayerCreateRequest, options?: any): AxiosPromise<PlayerResponse>;
|
|
7530
8046
|
/**
|
|
7531
8047
|
*
|
|
7532
8048
|
* @summary Create account object for a player.
|
|
@@ -7545,6 +8061,14 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
7545
8061
|
* @throws {RequiredError}
|
|
7546
8062
|
*/
|
|
7547
8063
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: any): AxiosPromise<SessionResponse>;
|
|
8064
|
+
/**
|
|
8065
|
+
*
|
|
8066
|
+
* @summary Deletes a player object.
|
|
8067
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8068
|
+
* @param {*} [options] Override http request option.
|
|
8069
|
+
* @throws {RequiredError}
|
|
8070
|
+
*/
|
|
8071
|
+
deletePlayer(id: string, options?: any): AxiosPromise<PlayerDeleteResponse>;
|
|
7548
8072
|
/**
|
|
7549
8073
|
*
|
|
7550
8074
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7617,11 +8141,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
7617
8141
|
*
|
|
7618
8142
|
* @summary Updates a player object.
|
|
7619
8143
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7620
|
-
* @param {
|
|
8144
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7621
8145
|
* @param {*} [options] Override http request option.
|
|
7622
8146
|
* @throws {RequiredError}
|
|
7623
8147
|
*/
|
|
7624
|
-
updatePlayer(id: string,
|
|
8148
|
+
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: any): AxiosPromise<PlayerResponse>;
|
|
7625
8149
|
};
|
|
7626
8150
|
/**
|
|
7627
8151
|
* PlayersApi - object-oriented interface
|
|
@@ -7643,12 +8167,12 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
7643
8167
|
/**
|
|
7644
8168
|
* Add a new player to your player list in Openfort.
|
|
7645
8169
|
* @summary Create a player object.
|
|
7646
|
-
* @param {
|
|
8170
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7647
8171
|
* @param {*} [options] Override http request option.
|
|
7648
8172
|
* @throws {RequiredError}
|
|
7649
8173
|
* @memberof PlayersApi
|
|
7650
8174
|
*/
|
|
7651
|
-
createPlayer(
|
|
8175
|
+
createPlayer(playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
|
|
7652
8176
|
/**
|
|
7653
8177
|
*
|
|
7654
8178
|
* @summary Create account object for a player.
|
|
@@ -7669,6 +8193,15 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
7669
8193
|
* @memberof PlayersApi
|
|
7670
8194
|
*/
|
|
7671
8195
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
8196
|
+
/**
|
|
8197
|
+
*
|
|
8198
|
+
* @summary Deletes a player object.
|
|
8199
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8200
|
+
* @param {*} [options] Override http request option.
|
|
8201
|
+
* @throws {RequiredError}
|
|
8202
|
+
* @memberof PlayersApi
|
|
8203
|
+
*/
|
|
8204
|
+
deletePlayer(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerDeleteResponse, any>>;
|
|
7672
8205
|
/**
|
|
7673
8206
|
*
|
|
7674
8207
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7748,12 +8281,12 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
7748
8281
|
*
|
|
7749
8282
|
* @summary Updates a player object.
|
|
7750
8283
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7751
|
-
* @param {
|
|
8284
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7752
8285
|
* @param {*} [options] Override http request option.
|
|
7753
8286
|
* @throws {RequiredError}
|
|
7754
8287
|
* @memberof PlayersApi
|
|
7755
8288
|
*/
|
|
7756
|
-
updatePlayer(id: string,
|
|
8289
|
+
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
|
|
7757
8290
|
}
|
|
7758
8291
|
/**
|
|
7759
8292
|
* PlayersAuthenticationApi - axios parameter creator
|
|
@@ -8660,6 +9193,222 @@ export declare class SessionsApi extends BaseAPI {
|
|
|
8660
9193
|
*/
|
|
8661
9194
|
signatureSession(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
8662
9195
|
}
|
|
9196
|
+
/**
|
|
9197
|
+
* SettingsApi - axios parameter creator
|
|
9198
|
+
* @export
|
|
9199
|
+
*/
|
|
9200
|
+
export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9201
|
+
/**
|
|
9202
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9203
|
+
* @summary Add depositor address.
|
|
9204
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9205
|
+
* @param {*} [options] Override http request option.
|
|
9206
|
+
* @throws {RequiredError}
|
|
9207
|
+
*/
|
|
9208
|
+
addDepositorAddress: (paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9209
|
+
/**
|
|
9210
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9211
|
+
* @summary List of depositor addresses.
|
|
9212
|
+
* @param {*} [options] Override http request option.
|
|
9213
|
+
* @throws {RequiredError}
|
|
9214
|
+
*/
|
|
9215
|
+
getDepositorAddresses: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9216
|
+
/**
|
|
9217
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9218
|
+
* @summary Generate message to sign
|
|
9219
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9220
|
+
* @param {*} [options] Override http request option.
|
|
9221
|
+
* @throws {RequiredError}
|
|
9222
|
+
*/
|
|
9223
|
+
getMessageForSigningDepositorAddress: (address: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9224
|
+
/**
|
|
9225
|
+
* Remove a depositor address from the current project environment.
|
|
9226
|
+
* @summary Removes depositor address.
|
|
9227
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9228
|
+
* @param {*} [options] Override http request option.
|
|
9229
|
+
* @throws {RequiredError}
|
|
9230
|
+
*/
|
|
9231
|
+
removeDepositorAddress: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9232
|
+
/**
|
|
9233
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9234
|
+
* @summary Removes webhook.
|
|
9235
|
+
* @param {*} [options] Override http request option.
|
|
9236
|
+
* @throws {RequiredError}
|
|
9237
|
+
*/
|
|
9238
|
+
removeWebhook: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9239
|
+
/**
|
|
9240
|
+
* Updated the current project environment settings by assigning the webhook address. This address is used to send events about the changes of the transaction intent state.
|
|
9241
|
+
* @summary Update webhook.
|
|
9242
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9243
|
+
* @param {*} [options] Override http request option.
|
|
9244
|
+
* @throws {RequiredError}
|
|
9245
|
+
*/
|
|
9246
|
+
updateWebhook: (settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9247
|
+
};
|
|
9248
|
+
/**
|
|
9249
|
+
* SettingsApi - functional programming interface
|
|
9250
|
+
* @export
|
|
9251
|
+
*/
|
|
9252
|
+
export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
9253
|
+
/**
|
|
9254
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9255
|
+
* @summary Add depositor address.
|
|
9256
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9257
|
+
* @param {*} [options] Override http request option.
|
|
9258
|
+
* @throws {RequiredError}
|
|
9259
|
+
*/
|
|
9260
|
+
addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorResponse>>;
|
|
9261
|
+
/**
|
|
9262
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9263
|
+
* @summary List of depositor addresses.
|
|
9264
|
+
* @param {*} [options] Override http request option.
|
|
9265
|
+
* @throws {RequiredError}
|
|
9266
|
+
*/
|
|
9267
|
+
getDepositorAddresses(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorListResponse>>;
|
|
9268
|
+
/**
|
|
9269
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9270
|
+
* @summary Generate message to sign
|
|
9271
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9272
|
+
* @param {*} [options] Override http request option.
|
|
9273
|
+
* @throws {RequiredError}
|
|
9274
|
+
*/
|
|
9275
|
+
getMessageForSigningDepositorAddress(address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorGetMessageResponse>>;
|
|
9276
|
+
/**
|
|
9277
|
+
* Remove a depositor address from the current project environment.
|
|
9278
|
+
* @summary Removes depositor address.
|
|
9279
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9280
|
+
* @param {*} [options] Override http request option.
|
|
9281
|
+
* @throws {RequiredError}
|
|
9282
|
+
*/
|
|
9283
|
+
removeDepositorAddress(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorDeleteResponse>>;
|
|
9284
|
+
/**
|
|
9285
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9286
|
+
* @summary Removes webhook.
|
|
9287
|
+
* @param {*} [options] Override http request option.
|
|
9288
|
+
* @throws {RequiredError}
|
|
9289
|
+
*/
|
|
9290
|
+
removeWebhook(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9291
|
+
/**
|
|
9292
|
+
* Updated the current project environment settings by assigning the webhook address. This address is used to send events about the changes of the transaction intent state.
|
|
9293
|
+
* @summary Update webhook.
|
|
9294
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9295
|
+
* @param {*} [options] Override http request option.
|
|
9296
|
+
* @throws {RequiredError}
|
|
9297
|
+
*/
|
|
9298
|
+
updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9299
|
+
};
|
|
9300
|
+
/**
|
|
9301
|
+
* SettingsApi - factory interface
|
|
9302
|
+
* @export
|
|
9303
|
+
*/
|
|
9304
|
+
export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9305
|
+
/**
|
|
9306
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9307
|
+
* @summary Add depositor address.
|
|
9308
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9309
|
+
* @param {*} [options] Override http request option.
|
|
9310
|
+
* @throws {RequiredError}
|
|
9311
|
+
*/
|
|
9312
|
+
addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: any): AxiosPromise<PaymasterDepositorResponse>;
|
|
9313
|
+
/**
|
|
9314
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9315
|
+
* @summary List of depositor addresses.
|
|
9316
|
+
* @param {*} [options] Override http request option.
|
|
9317
|
+
* @throws {RequiredError}
|
|
9318
|
+
*/
|
|
9319
|
+
getDepositorAddresses(options?: any): AxiosPromise<PaymasterDepositorListResponse>;
|
|
9320
|
+
/**
|
|
9321
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9322
|
+
* @summary Generate message to sign
|
|
9323
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9324
|
+
* @param {*} [options] Override http request option.
|
|
9325
|
+
* @throws {RequiredError}
|
|
9326
|
+
*/
|
|
9327
|
+
getMessageForSigningDepositorAddress(address: string, options?: any): AxiosPromise<PaymasterDepositorGetMessageResponse>;
|
|
9328
|
+
/**
|
|
9329
|
+
* Remove a depositor address from the current project environment.
|
|
9330
|
+
* @summary Removes depositor address.
|
|
9331
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9332
|
+
* @param {*} [options] Override http request option.
|
|
9333
|
+
* @throws {RequiredError}
|
|
9334
|
+
*/
|
|
9335
|
+
removeDepositorAddress(id: string, options?: any): AxiosPromise<PaymasterDepositorDeleteResponse>;
|
|
9336
|
+
/**
|
|
9337
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9338
|
+
* @summary Removes webhook.
|
|
9339
|
+
* @param {*} [options] Override http request option.
|
|
9340
|
+
* @throws {RequiredError}
|
|
9341
|
+
*/
|
|
9342
|
+
removeWebhook(options?: any): AxiosPromise<void>;
|
|
9343
|
+
/**
|
|
9344
|
+
* Updated the current project environment settings by assigning the webhook address. This address is used to send events about the changes of the transaction intent state.
|
|
9345
|
+
* @summary Update webhook.
|
|
9346
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9347
|
+
* @param {*} [options] Override http request option.
|
|
9348
|
+
* @throws {RequiredError}
|
|
9349
|
+
*/
|
|
9350
|
+
updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: any): AxiosPromise<void>;
|
|
9351
|
+
};
|
|
9352
|
+
/**
|
|
9353
|
+
* SettingsApi - object-oriented interface
|
|
9354
|
+
* @export
|
|
9355
|
+
* @class SettingsApi
|
|
9356
|
+
* @extends {BaseAPI}
|
|
9357
|
+
*/
|
|
9358
|
+
export declare class SettingsApi extends BaseAPI {
|
|
9359
|
+
/**
|
|
9360
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9361
|
+
* @summary Add depositor address.
|
|
9362
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9363
|
+
* @param {*} [options] Override http request option.
|
|
9364
|
+
* @throws {RequiredError}
|
|
9365
|
+
* @memberof SettingsApi
|
|
9366
|
+
*/
|
|
9367
|
+
addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorResponse, any>>;
|
|
9368
|
+
/**
|
|
9369
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9370
|
+
* @summary List of depositor addresses.
|
|
9371
|
+
* @param {*} [options] Override http request option.
|
|
9372
|
+
* @throws {RequiredError}
|
|
9373
|
+
* @memberof SettingsApi
|
|
9374
|
+
*/
|
|
9375
|
+
getDepositorAddresses(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorListResponse, any>>;
|
|
9376
|
+
/**
|
|
9377
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9378
|
+
* @summary Generate message to sign
|
|
9379
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9380
|
+
* @param {*} [options] Override http request option.
|
|
9381
|
+
* @throws {RequiredError}
|
|
9382
|
+
* @memberof SettingsApi
|
|
9383
|
+
*/
|
|
9384
|
+
getMessageForSigningDepositorAddress(address: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorGetMessageResponse, any>>;
|
|
9385
|
+
/**
|
|
9386
|
+
* Remove a depositor address from the current project environment.
|
|
9387
|
+
* @summary Removes depositor address.
|
|
9388
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9389
|
+
* @param {*} [options] Override http request option.
|
|
9390
|
+
* @throws {RequiredError}
|
|
9391
|
+
* @memberof SettingsApi
|
|
9392
|
+
*/
|
|
9393
|
+
removeDepositorAddress(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorDeleteResponse, any>>;
|
|
9394
|
+
/**
|
|
9395
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9396
|
+
* @summary Removes webhook.
|
|
9397
|
+
* @param {*} [options] Override http request option.
|
|
9398
|
+
* @throws {RequiredError}
|
|
9399
|
+
* @memberof SettingsApi
|
|
9400
|
+
*/
|
|
9401
|
+
removeWebhook(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
9402
|
+
/**
|
|
9403
|
+
* Updated the current project environment settings by assigning the webhook address. This address is used to send events about the changes of the transaction intent state.
|
|
9404
|
+
* @summary Update webhook.
|
|
9405
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9406
|
+
* @param {*} [options] Override http request option.
|
|
9407
|
+
* @throws {RequiredError}
|
|
9408
|
+
* @memberof SettingsApi
|
|
9409
|
+
*/
|
|
9410
|
+
updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
9411
|
+
}
|
|
8663
9412
|
/**
|
|
8664
9413
|
* TransactionIntentsApi - axios parameter creator
|
|
8665
9414
|
* @export
|
|
@@ -8887,3 +9636,222 @@ export declare class TransactionIntentsApi extends BaseAPI {
|
|
|
8887
9636
|
*/
|
|
8888
9637
|
signature(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
8889
9638
|
}
|
|
9639
|
+
/**
|
|
9640
|
+
* Web3ConnectionsApi - axios parameter creator
|
|
9641
|
+
* @export
|
|
9642
|
+
*/
|
|
9643
|
+
export declare const Web3ConnectionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9644
|
+
/**
|
|
9645
|
+
* This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
|
|
9646
|
+
* @summary Create a Web3 Connection object.
|
|
9647
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
9648
|
+
* @param {*} [options] Override http request option.
|
|
9649
|
+
* @throws {RequiredError}
|
|
9650
|
+
*/
|
|
9651
|
+
createWeb3Connection: (createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9652
|
+
/**
|
|
9653
|
+
* Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
|
|
9654
|
+
* @summary List Web3 actions from a web3 connection.
|
|
9655
|
+
* @param {string} id
|
|
9656
|
+
* @param {*} [options] Override http request option.
|
|
9657
|
+
* @throws {RequiredError}
|
|
9658
|
+
*/
|
|
9659
|
+
getWeb3Actions: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9660
|
+
/**
|
|
9661
|
+
* Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
|
|
9662
|
+
* @summary Get a web3Connection object.
|
|
9663
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
9664
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
9665
|
+
* @param {*} [options] Override http request option.
|
|
9666
|
+
* @throws {RequiredError}
|
|
9667
|
+
*/
|
|
9668
|
+
getWeb3Connection: (id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9669
|
+
/**
|
|
9670
|
+
* Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
|
|
9671
|
+
* @summary List Web3 connections.
|
|
9672
|
+
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9673
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9674
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9675
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9676
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
9677
|
+
* @param {*} [options] Override http request option.
|
|
9678
|
+
* @throws {RequiredError}
|
|
9679
|
+
*/
|
|
9680
|
+
getWeb3Connections: (player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9681
|
+
/**
|
|
9682
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
9683
|
+
* @summary Approve or Reject a web3 action
|
|
9684
|
+
* @param {string} id
|
|
9685
|
+
* @param {string} web3Action
|
|
9686
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9687
|
+
* @param {*} [options] Override http request option.
|
|
9688
|
+
* @throws {RequiredError}
|
|
9689
|
+
*/
|
|
9690
|
+
submitWeb3Action: (id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9691
|
+
};
|
|
9692
|
+
/**
|
|
9693
|
+
* Web3ConnectionsApi - functional programming interface
|
|
9694
|
+
* @export
|
|
9695
|
+
*/
|
|
9696
|
+
export declare const Web3ConnectionsApiFp: (configuration?: Configuration) => {
|
|
9697
|
+
/**
|
|
9698
|
+
* This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
|
|
9699
|
+
* @summary Create a Web3 Connection object.
|
|
9700
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
9701
|
+
* @param {*} [options] Override http request option.
|
|
9702
|
+
* @throws {RequiredError}
|
|
9703
|
+
*/
|
|
9704
|
+
createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionResponse>>;
|
|
9705
|
+
/**
|
|
9706
|
+
* Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
|
|
9707
|
+
* @summary List Web3 actions from a web3 connection.
|
|
9708
|
+
* @param {string} id
|
|
9709
|
+
* @param {*} [options] Override http request option.
|
|
9710
|
+
* @throws {RequiredError}
|
|
9711
|
+
*/
|
|
9712
|
+
getWeb3Actions(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ActionListResponse>>;
|
|
9713
|
+
/**
|
|
9714
|
+
* Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
|
|
9715
|
+
* @summary Get a web3Connection object.
|
|
9716
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
9717
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
9718
|
+
* @param {*} [options] Override http request option.
|
|
9719
|
+
* @throws {RequiredError}
|
|
9720
|
+
*/
|
|
9721
|
+
getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionResponse>>;
|
|
9722
|
+
/**
|
|
9723
|
+
* Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
|
|
9724
|
+
* @summary List Web3 connections.
|
|
9725
|
+
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9726
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9727
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9728
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9729
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
9730
|
+
* @param {*} [options] Override http request option.
|
|
9731
|
+
* @throws {RequiredError}
|
|
9732
|
+
*/
|
|
9733
|
+
getWeb3Connections(player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionListResponse>>;
|
|
9734
|
+
/**
|
|
9735
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
9736
|
+
* @summary Approve or Reject a web3 action
|
|
9737
|
+
* @param {string} id
|
|
9738
|
+
* @param {string} web3Action
|
|
9739
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9740
|
+
* @param {*} [options] Override http request option.
|
|
9741
|
+
* @throws {RequiredError}
|
|
9742
|
+
*/
|
|
9743
|
+
submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ActionResponse>>;
|
|
9744
|
+
};
|
|
9745
|
+
/**
|
|
9746
|
+
* Web3ConnectionsApi - factory interface
|
|
9747
|
+
* @export
|
|
9748
|
+
*/
|
|
9749
|
+
export declare const Web3ConnectionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9750
|
+
/**
|
|
9751
|
+
* This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
|
|
9752
|
+
* @summary Create a Web3 Connection object.
|
|
9753
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
9754
|
+
* @param {*} [options] Override http request option.
|
|
9755
|
+
* @throws {RequiredError}
|
|
9756
|
+
*/
|
|
9757
|
+
createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: any): AxiosPromise<Web3ConnectionResponse>;
|
|
9758
|
+
/**
|
|
9759
|
+
* Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
|
|
9760
|
+
* @summary List Web3 actions from a web3 connection.
|
|
9761
|
+
* @param {string} id
|
|
9762
|
+
* @param {*} [options] Override http request option.
|
|
9763
|
+
* @throws {RequiredError}
|
|
9764
|
+
*/
|
|
9765
|
+
getWeb3Actions(id: string, options?: any): AxiosPromise<Web3ActionListResponse>;
|
|
9766
|
+
/**
|
|
9767
|
+
* Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
|
|
9768
|
+
* @summary Get a web3Connection object.
|
|
9769
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
9770
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
9771
|
+
* @param {*} [options] Override http request option.
|
|
9772
|
+
* @throws {RequiredError}
|
|
9773
|
+
*/
|
|
9774
|
+
getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: any): AxiosPromise<Web3ConnectionResponse>;
|
|
9775
|
+
/**
|
|
9776
|
+
* Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
|
|
9777
|
+
* @summary List Web3 connections.
|
|
9778
|
+
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9779
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9780
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9781
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9782
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
9783
|
+
* @param {*} [options] Override http request option.
|
|
9784
|
+
* @throws {RequiredError}
|
|
9785
|
+
*/
|
|
9786
|
+
getWeb3Connections(player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: any): AxiosPromise<Web3ConnectionListResponse>;
|
|
9787
|
+
/**
|
|
9788
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
9789
|
+
* @summary Approve or Reject a web3 action
|
|
9790
|
+
* @param {string} id
|
|
9791
|
+
* @param {string} web3Action
|
|
9792
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9793
|
+
* @param {*} [options] Override http request option.
|
|
9794
|
+
* @throws {RequiredError}
|
|
9795
|
+
*/
|
|
9796
|
+
submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: any): AxiosPromise<Web3ActionResponse>;
|
|
9797
|
+
};
|
|
9798
|
+
/**
|
|
9799
|
+
* Web3ConnectionsApi - object-oriented interface
|
|
9800
|
+
* @export
|
|
9801
|
+
* @class Web3ConnectionsApi
|
|
9802
|
+
* @extends {BaseAPI}
|
|
9803
|
+
*/
|
|
9804
|
+
export declare class Web3ConnectionsApi extends BaseAPI {
|
|
9805
|
+
/**
|
|
9806
|
+
* This endpoint allows you to create a new web3 connection to your Openfort player. Together with the player ID (pla_), you need to provide a chain ID. The chain to use is required because Openfort needs to make sure the account is deployed, as counterfactual addresses cannot use web3 connections. The `uri` body parameter must contain a WalletConnect pairing URI (see: https://specs.walletconnect.com/2.0/specs/clients/core/pairing/pairing-uri)
|
|
9807
|
+
* @summary Create a Web3 Connection object.
|
|
9808
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
9809
|
+
* @param {*} [options] Override http request option.
|
|
9810
|
+
* @throws {RequiredError}
|
|
9811
|
+
* @memberof Web3ConnectionsApi
|
|
9812
|
+
*/
|
|
9813
|
+
createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionResponse, any>>;
|
|
9814
|
+
/**
|
|
9815
|
+
* Returns a list of web3 actions for the given web3 connection. The actions are returned sorted by creation date, with the most recently received action appearing first. By default, a maximum of ten actions are shown per page.
|
|
9816
|
+
* @summary List Web3 actions from a web3 connection.
|
|
9817
|
+
* @param {string} id
|
|
9818
|
+
* @param {*} [options] Override http request option.
|
|
9819
|
+
* @throws {RequiredError}
|
|
9820
|
+
* @memberof Web3ConnectionsApi
|
|
9821
|
+
*/
|
|
9822
|
+
getWeb3Actions(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ActionListResponse, any>>;
|
|
9823
|
+
/**
|
|
9824
|
+
* Retrieves the details of an existing web3 connection. Supply the unique web3 connection ID from either a web3 connection creation request or the web3 connection list. Openfort will return the corresponding web3 connection information.
|
|
9825
|
+
* @summary Get a web3Connection object.
|
|
9826
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
9827
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
9828
|
+
* @param {*} [options] Override http request option.
|
|
9829
|
+
* @throws {RequiredError}
|
|
9830
|
+
* @memberof Web3ConnectionsApi
|
|
9831
|
+
*/
|
|
9832
|
+
getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionResponse, any>>;
|
|
9833
|
+
/**
|
|
9834
|
+
* Returns a list of web3 connections for the given player. The connections are returned sorted by creation date, with the most recently created connections appearing first. By default, a maximum of ten connections are shown per page.
|
|
9835
|
+
* @summary List Web3 connections.
|
|
9836
|
+
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9837
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9838
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9839
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9840
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
9841
|
+
* @param {*} [options] Override http request option.
|
|
9842
|
+
* @throws {RequiredError}
|
|
9843
|
+
* @memberof Web3ConnectionsApi
|
|
9844
|
+
*/
|
|
9845
|
+
getWeb3Connections(player: string, limit?: number, skip?: number, order?: SortOrder, disconnected?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionListResponse, any>>;
|
|
9846
|
+
/**
|
|
9847
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
9848
|
+
* @summary Approve or Reject a web3 action
|
|
9849
|
+
* @param {string} id
|
|
9850
|
+
* @param {string} web3Action
|
|
9851
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9852
|
+
* @param {*} [options] Override http request option.
|
|
9853
|
+
* @throws {RequiredError}
|
|
9854
|
+
* @memberof Web3ConnectionsApi
|
|
9855
|
+
*/
|
|
9856
|
+
submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ActionResponse, any>>;
|
|
9857
|
+
}
|