@openfort/openfort-js 0.3.2 → 0.3.4
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 +1609 -417
- package/dist/generated/api.js +1488 -495
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/base.js.map +1 -1
- package/dist/generated/common.js.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/openfort.js.map +1 -1
- package/dist/openfortAuth.js.map +1 -1
- package/dist/storage/local-storage.js.map +1 -1
- package/dist/utils/http-error-handler.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +44 -44
- 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
|
|
@@ -746,16 +733,22 @@ export interface AuthPlayerResponse {
|
|
|
746
733
|
'updatedAt': number;
|
|
747
734
|
/**
|
|
748
735
|
*
|
|
749
|
-
* @type {
|
|
736
|
+
* @type {string}
|
|
737
|
+
* @memberof AuthPlayerResponse
|
|
738
|
+
*/
|
|
739
|
+
'externalUserId'?: string;
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @type {string}
|
|
750
743
|
* @memberof AuthPlayerResponse
|
|
751
744
|
*/
|
|
752
|
-
'
|
|
745
|
+
'provider': string;
|
|
753
746
|
/**
|
|
754
747
|
*
|
|
755
748
|
* @type {PrismaInputJsonValue}
|
|
756
749
|
* @memberof AuthPlayerResponse
|
|
757
750
|
*/
|
|
758
|
-
'
|
|
751
|
+
'metadata'?: PrismaInputJsonValue;
|
|
759
752
|
}
|
|
760
753
|
/**
|
|
761
754
|
*
|
|
@@ -786,19 +779,21 @@ export interface AuthPlayerResponsePlayer {
|
|
|
786
779
|
* @type {string}
|
|
787
780
|
* @memberof AuthPlayerResponsePlayer
|
|
788
781
|
*/
|
|
789
|
-
'name': string
|
|
782
|
+
'name': string;
|
|
790
783
|
/**
|
|
791
784
|
*
|
|
792
785
|
* @type {string}
|
|
793
786
|
* @memberof AuthPlayerResponsePlayer
|
|
794
787
|
*/
|
|
795
|
-
'description'
|
|
788
|
+
'description'?: string;
|
|
796
789
|
/**
|
|
797
790
|
*
|
|
798
|
-
* @type {string}
|
|
791
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
799
792
|
* @memberof AuthPlayerResponsePlayer
|
|
800
793
|
*/
|
|
801
|
-
'metadata'
|
|
794
|
+
'metadata'?: {
|
|
795
|
+
[key: string]: PlayerMetadataValue;
|
|
796
|
+
};
|
|
802
797
|
/**
|
|
803
798
|
*
|
|
804
799
|
* @type {Array<PlayerResponseTransactionIntentsInner>}
|
|
@@ -1222,6 +1217,62 @@ export interface ContractPolicyRuleResponseContract {
|
|
|
1222
1217
|
*/
|
|
1223
1218
|
'publicVerification': boolean;
|
|
1224
1219
|
}
|
|
1220
|
+
/**
|
|
1221
|
+
*
|
|
1222
|
+
* @export
|
|
1223
|
+
* @interface ContractReadQueries
|
|
1224
|
+
*/
|
|
1225
|
+
export interface ContractReadQueries {
|
|
1226
|
+
/**
|
|
1227
|
+
* The function name of the contract.
|
|
1228
|
+
* @type {string}
|
|
1229
|
+
* @memberof ContractReadQueries
|
|
1230
|
+
*/
|
|
1231
|
+
'functionName': string;
|
|
1232
|
+
/**
|
|
1233
|
+
* The function arguments of the contract.
|
|
1234
|
+
* @type {Array<any>}
|
|
1235
|
+
* @memberof ContractReadQueries
|
|
1236
|
+
*/
|
|
1237
|
+
'functionArgs'?: Array<any>;
|
|
1238
|
+
}
|
|
1239
|
+
/**
|
|
1240
|
+
*
|
|
1241
|
+
* @export
|
|
1242
|
+
* @interface ContractReadResponse
|
|
1243
|
+
*/
|
|
1244
|
+
export interface ContractReadResponse {
|
|
1245
|
+
/**
|
|
1246
|
+
*
|
|
1247
|
+
* @type {string}
|
|
1248
|
+
* @memberof ContractReadResponse
|
|
1249
|
+
*/
|
|
1250
|
+
'id': string;
|
|
1251
|
+
/**
|
|
1252
|
+
*
|
|
1253
|
+
* @type {EntityTypeREADCONTRACT}
|
|
1254
|
+
* @memberof ContractReadResponse
|
|
1255
|
+
*/
|
|
1256
|
+
'object': EntityTypeREADCONTRACT;
|
|
1257
|
+
/**
|
|
1258
|
+
*
|
|
1259
|
+
* @type {number}
|
|
1260
|
+
* @memberof ContractReadResponse
|
|
1261
|
+
*/
|
|
1262
|
+
'createdAt': number;
|
|
1263
|
+
/**
|
|
1264
|
+
*
|
|
1265
|
+
* @type {string}
|
|
1266
|
+
* @memberof ContractReadResponse
|
|
1267
|
+
*/
|
|
1268
|
+
'functionName': string;
|
|
1269
|
+
/**
|
|
1270
|
+
*
|
|
1271
|
+
* @type {any}
|
|
1272
|
+
* @memberof ContractReadResponse
|
|
1273
|
+
*/
|
|
1274
|
+
'result': any;
|
|
1275
|
+
}
|
|
1225
1276
|
/**
|
|
1226
1277
|
*
|
|
1227
1278
|
* @export
|
|
@@ -1474,25 +1525,6 @@ export interface CreatePlayerAccountRequest {
|
|
|
1474
1525
|
*/
|
|
1475
1526
|
'tokenId'?: number;
|
|
1476
1527
|
}
|
|
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
1528
|
/**
|
|
1497
1529
|
*
|
|
1498
1530
|
* @export
|
|
@@ -1819,7 +1851,7 @@ export interface CreateTransactionIntentRequest {
|
|
|
1819
1851
|
*/
|
|
1820
1852
|
'optimistic': boolean;
|
|
1821
1853
|
/**
|
|
1822
|
-
* Specify the number of blocks after the block with transaction to be assured that transaction is in block
|
|
1854
|
+
* Specify the number of blocks after the block with transaction to be assured that transaction is in block
|
|
1823
1855
|
* @type {number}
|
|
1824
1856
|
* @memberof CreateTransactionIntentRequest
|
|
1825
1857
|
*/
|
|
@@ -1831,6 +1863,31 @@ export interface CreateTransactionIntentRequest {
|
|
|
1831
1863
|
*/
|
|
1832
1864
|
'interactions': Array<Interaction>;
|
|
1833
1865
|
}
|
|
1866
|
+
/**
|
|
1867
|
+
*
|
|
1868
|
+
* @export
|
|
1869
|
+
* @interface CreateWeb3ConnectionRequest
|
|
1870
|
+
*/
|
|
1871
|
+
export interface CreateWeb3ConnectionRequest {
|
|
1872
|
+
/**
|
|
1873
|
+
* The player ID (starts with pla_).
|
|
1874
|
+
* @type {string}
|
|
1875
|
+
* @memberof CreateWeb3ConnectionRequest
|
|
1876
|
+
*/
|
|
1877
|
+
'player': string;
|
|
1878
|
+
/**
|
|
1879
|
+
* The chain ID.
|
|
1880
|
+
* @type {number}
|
|
1881
|
+
* @memberof CreateWeb3ConnectionRequest
|
|
1882
|
+
*/
|
|
1883
|
+
'chainId': number;
|
|
1884
|
+
/**
|
|
1885
|
+
* Specifies the URI of the web3Connection.
|
|
1886
|
+
* @type {string}
|
|
1887
|
+
* @memberof CreateWeb3ConnectionRequest
|
|
1888
|
+
*/
|
|
1889
|
+
'uri': string;
|
|
1890
|
+
}
|
|
1834
1891
|
/**
|
|
1835
1892
|
*
|
|
1836
1893
|
* @export
|
|
@@ -1852,6 +1909,19 @@ export declare const DataAccountTypes: {
|
|
|
1852
1909
|
readonly Recoverable: "Recoverable";
|
|
1853
1910
|
};
|
|
1854
1911
|
export type DataAccountTypes = typeof DataAccountTypes[keyof typeof DataAccountTypes];
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @export
|
|
1915
|
+
* @interface DeployRequest
|
|
1916
|
+
*/
|
|
1917
|
+
export interface DeployRequest {
|
|
1918
|
+
/**
|
|
1919
|
+
* The policy ID (starts with pol_)
|
|
1920
|
+
* @type {string}
|
|
1921
|
+
* @memberof DeployRequest
|
|
1922
|
+
*/
|
|
1923
|
+
'policy': string;
|
|
1924
|
+
}
|
|
1855
1925
|
/**
|
|
1856
1926
|
*
|
|
1857
1927
|
* @export
|
|
@@ -1923,6 +1993,15 @@ export declare const EntityTypeINVENTORY: {
|
|
|
1923
1993
|
readonly Inventory: "inventory";
|
|
1924
1994
|
};
|
|
1925
1995
|
export type EntityTypeINVENTORY = typeof EntityTypeINVENTORY[keyof typeof EntityTypeINVENTORY];
|
|
1996
|
+
/**
|
|
1997
|
+
*
|
|
1998
|
+
* @export
|
|
1999
|
+
* @enum {string}
|
|
2000
|
+
*/
|
|
2001
|
+
export declare const EntityTypePAYMASTERDEPOSITOR: {
|
|
2002
|
+
readonly PaymasterDepositor: "paymasterDepositor";
|
|
2003
|
+
};
|
|
2004
|
+
export type EntityTypePAYMASTERDEPOSITOR = typeof EntityTypePAYMASTERDEPOSITOR[keyof typeof EntityTypePAYMASTERDEPOSITOR];
|
|
1926
2005
|
/**
|
|
1927
2006
|
*
|
|
1928
2007
|
* @export
|
|
@@ -1959,6 +2038,15 @@ export declare const EntityTypePROJECT: {
|
|
|
1959
2038
|
readonly Project: "project";
|
|
1960
2039
|
};
|
|
1961
2040
|
export type EntityTypePROJECT = typeof EntityTypePROJECT[keyof typeof EntityTypePROJECT];
|
|
2041
|
+
/**
|
|
2042
|
+
*
|
|
2043
|
+
* @export
|
|
2044
|
+
* @enum {string}
|
|
2045
|
+
*/
|
|
2046
|
+
export declare const EntityTypeREADCONTRACT: {
|
|
2047
|
+
readonly ReadContract: "readContract";
|
|
2048
|
+
};
|
|
2049
|
+
export type EntityTypeREADCONTRACT = typeof EntityTypeREADCONTRACT[keyof typeof EntityTypeREADCONTRACT];
|
|
1962
2050
|
/**
|
|
1963
2051
|
*
|
|
1964
2052
|
* @export
|
|
@@ -1995,6 +2083,24 @@ export declare const EntityTypeUSER: {
|
|
|
1995
2083
|
readonly User: "user";
|
|
1996
2084
|
};
|
|
1997
2085
|
export type EntityTypeUSER = typeof EntityTypeUSER[keyof typeof EntityTypeUSER];
|
|
2086
|
+
/**
|
|
2087
|
+
*
|
|
2088
|
+
* @export
|
|
2089
|
+
* @enum {string}
|
|
2090
|
+
*/
|
|
2091
|
+
export declare const EntityTypeWEB3ACTION: {
|
|
2092
|
+
readonly Web3Action: "web3Action";
|
|
2093
|
+
};
|
|
2094
|
+
export type EntityTypeWEB3ACTION = typeof EntityTypeWEB3ACTION[keyof typeof EntityTypeWEB3ACTION];
|
|
2095
|
+
/**
|
|
2096
|
+
*
|
|
2097
|
+
* @export
|
|
2098
|
+
* @enum {string}
|
|
2099
|
+
*/
|
|
2100
|
+
export declare const EntityTypeWEB3CONNECTION: {
|
|
2101
|
+
readonly Web3Connection: "web3Connection";
|
|
2102
|
+
};
|
|
2103
|
+
export type EntityTypeWEB3CONNECTION = typeof EntityTypeWEB3CONNECTION[keyof typeof EntityTypeWEB3CONNECTION];
|
|
1998
2104
|
/**
|
|
1999
2105
|
*
|
|
2000
2106
|
* @export
|
|
@@ -2096,6 +2202,31 @@ export interface FieldErrorsValue {
|
|
|
2096
2202
|
*/
|
|
2097
2203
|
'message': string;
|
|
2098
2204
|
}
|
|
2205
|
+
/**
|
|
2206
|
+
* Firebase configuration
|
|
2207
|
+
* @export
|
|
2208
|
+
* @interface FirebaseOAuthConfig
|
|
2209
|
+
*/
|
|
2210
|
+
export interface FirebaseOAuthConfig {
|
|
2211
|
+
/**
|
|
2212
|
+
* Enable OAuth provider.
|
|
2213
|
+
* @type {boolean}
|
|
2214
|
+
* @memberof FirebaseOAuthConfig
|
|
2215
|
+
*/
|
|
2216
|
+
'enabled': boolean;
|
|
2217
|
+
/**
|
|
2218
|
+
*
|
|
2219
|
+
* @type {OAuthProviderFIREBASE}
|
|
2220
|
+
* @memberof FirebaseOAuthConfig
|
|
2221
|
+
*/
|
|
2222
|
+
'provider': OAuthProviderFIREBASE;
|
|
2223
|
+
/**
|
|
2224
|
+
* Project ID of your Firebase service environment.
|
|
2225
|
+
* @type {string}
|
|
2226
|
+
* @memberof FirebaseOAuthConfig
|
|
2227
|
+
*/
|
|
2228
|
+
'projectId': string;
|
|
2229
|
+
}
|
|
2099
2230
|
/**
|
|
2100
2231
|
*
|
|
2101
2232
|
* @export
|
|
@@ -2368,6 +2499,18 @@ export interface GetSigninUrlResponse {
|
|
|
2368
2499
|
* @interface GoogleOAuthConfig
|
|
2369
2500
|
*/
|
|
2370
2501
|
export interface GoogleOAuthConfig {
|
|
2502
|
+
/**
|
|
2503
|
+
* Enable OAuth provider.
|
|
2504
|
+
* @type {boolean}
|
|
2505
|
+
* @memberof GoogleOAuthConfig
|
|
2506
|
+
*/
|
|
2507
|
+
'enabled': boolean;
|
|
2508
|
+
/**
|
|
2509
|
+
*
|
|
2510
|
+
* @type {OAuthProviderGOOGLE}
|
|
2511
|
+
* @memberof GoogleOAuthConfig
|
|
2512
|
+
*/
|
|
2513
|
+
'provider': OAuthProviderGOOGLE;
|
|
2371
2514
|
/**
|
|
2372
2515
|
* Google API client ID.
|
|
2373
2516
|
* @type {string}
|
|
@@ -2381,17 +2524,11 @@ export interface GoogleOAuthConfig {
|
|
|
2381
2524
|
*/
|
|
2382
2525
|
'clientSecret': string;
|
|
2383
2526
|
/**
|
|
2384
|
-
* The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/
|
|
2527
|
+
* The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/iam/v1/oauth/google/callback
|
|
2385
2528
|
* @type {string}
|
|
2386
2529
|
* @memberof GoogleOAuthConfig
|
|
2387
2530
|
*/
|
|
2388
2531
|
'redirectUri': string;
|
|
2389
|
-
/**
|
|
2390
|
-
*
|
|
2391
|
-
* @type {OAuthProviderGOOGLE}
|
|
2392
|
-
* @memberof GoogleOAuthConfig
|
|
2393
|
-
*/
|
|
2394
|
-
'provider': OAuthProviderGOOGLE;
|
|
2395
2532
|
}
|
|
2396
2533
|
/**
|
|
2397
2534
|
*
|
|
@@ -2538,31 +2675,6 @@ export interface InventoryResponse {
|
|
|
2538
2675
|
*/
|
|
2539
2676
|
'data': AssetInventory;
|
|
2540
2677
|
}
|
|
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
2678
|
/**
|
|
2567
2679
|
*
|
|
2568
2680
|
* @export
|
|
@@ -2650,17 +2762,23 @@ export interface LoginRequest {
|
|
|
2650
2762
|
'password': string;
|
|
2651
2763
|
}
|
|
2652
2764
|
/**
|
|
2653
|
-
*
|
|
2765
|
+
* LootLocker oauth configuration
|
|
2654
2766
|
* @export
|
|
2655
|
-
* @interface
|
|
2767
|
+
* @interface LootLockerOAuthConfig
|
|
2656
2768
|
*/
|
|
2657
|
-
export interface
|
|
2769
|
+
export interface LootLockerOAuthConfig {
|
|
2770
|
+
/**
|
|
2771
|
+
* Enable OAuth provider.
|
|
2772
|
+
* @type {boolean}
|
|
2773
|
+
* @memberof LootLockerOAuthConfig
|
|
2774
|
+
*/
|
|
2775
|
+
'enabled': boolean;
|
|
2658
2776
|
/**
|
|
2659
2777
|
*
|
|
2660
|
-
* @type {
|
|
2661
|
-
* @memberof
|
|
2778
|
+
* @type {OAuthProviderLOOTLOCKER}
|
|
2779
|
+
* @memberof LootLockerOAuthConfig
|
|
2662
2780
|
*/
|
|
2663
|
-
'
|
|
2781
|
+
'provider': OAuthProviderLOOTLOCKER;
|
|
2664
2782
|
}
|
|
2665
2783
|
/**
|
|
2666
2784
|
*
|
|
@@ -2734,6 +2852,18 @@ export type NextActionType = typeof NextActionType[keyof typeof NextActionType];
|
|
|
2734
2852
|
* @interface OAuthConfig
|
|
2735
2853
|
*/
|
|
2736
2854
|
export interface OAuthConfig {
|
|
2855
|
+
/**
|
|
2856
|
+
* Enable OAuth provider.
|
|
2857
|
+
* @type {boolean}
|
|
2858
|
+
* @memberof OAuthConfig
|
|
2859
|
+
*/
|
|
2860
|
+
'enabled': boolean;
|
|
2861
|
+
/**
|
|
2862
|
+
*
|
|
2863
|
+
* @type {OAuthProviderLOOTLOCKER}
|
|
2864
|
+
* @memberof OAuthConfig
|
|
2865
|
+
*/
|
|
2866
|
+
'provider': OAuthProviderLOOTLOCKER;
|
|
2737
2867
|
/**
|
|
2738
2868
|
* Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
|
|
2739
2869
|
* @type {string}
|
|
@@ -2753,13 +2883,7 @@ export interface OAuthConfig {
|
|
|
2753
2883
|
*/
|
|
2754
2884
|
'clientSecret': string;
|
|
2755
2885
|
/**
|
|
2756
|
-
*
|
|
2757
|
-
* @type {OAuthProviderPLAYFAB}
|
|
2758
|
-
* @memberof OAuthConfig
|
|
2759
|
-
*/
|
|
2760
|
-
'provider': OAuthProviderPLAYFAB;
|
|
2761
|
-
/**
|
|
2762
|
-
* The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/auth/v1/google/callback
|
|
2886
|
+
* The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/iam/v1/oauth/google/callback
|
|
2763
2887
|
* @type {string}
|
|
2764
2888
|
* @memberof OAuthConfig
|
|
2765
2889
|
*/
|
|
@@ -2770,6 +2894,12 @@ export interface OAuthConfig {
|
|
|
2770
2894
|
* @memberof OAuthConfig
|
|
2771
2895
|
*/
|
|
2772
2896
|
'titleId': string;
|
|
2897
|
+
/**
|
|
2898
|
+
* Project ID of your Firebase service environment.
|
|
2899
|
+
* @type {string}
|
|
2900
|
+
* @memberof OAuthConfig
|
|
2901
|
+
*/
|
|
2902
|
+
'projectId': string;
|
|
2773
2903
|
}
|
|
2774
2904
|
/**
|
|
2775
2905
|
* Response for the OAuth config list method.
|
|
@@ -2784,32 +2914,6 @@ export interface OAuthConfigListResponse {
|
|
|
2784
2914
|
*/
|
|
2785
2915
|
'data': Array<OAuthConfig>;
|
|
2786
2916
|
}
|
|
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
2917
|
/**
|
|
2814
2918
|
* Enum of the supporting OAuth providers.
|
|
2815
2919
|
* @export
|
|
@@ -2817,7 +2921,9 @@ export interface OAuthConfigResponse {
|
|
|
2817
2921
|
*/
|
|
2818
2922
|
export declare const OAuthProvider: {
|
|
2819
2923
|
readonly Accelbyte: "accelbyte";
|
|
2924
|
+
readonly Firebase: "firebase";
|
|
2820
2925
|
readonly Google: "google";
|
|
2926
|
+
readonly Lootlocker: "lootlocker";
|
|
2821
2927
|
readonly Playfab: "playfab";
|
|
2822
2928
|
};
|
|
2823
2929
|
export type OAuthProvider = typeof OAuthProvider[keyof typeof OAuthProvider];
|
|
@@ -2830,6 +2936,15 @@ export declare const OAuthProviderACCELBYTE: {
|
|
|
2830
2936
|
readonly Accelbyte: "accelbyte";
|
|
2831
2937
|
};
|
|
2832
2938
|
export type OAuthProviderACCELBYTE = typeof OAuthProviderACCELBYTE[keyof typeof OAuthProviderACCELBYTE];
|
|
2939
|
+
/**
|
|
2940
|
+
*
|
|
2941
|
+
* @export
|
|
2942
|
+
* @enum {string}
|
|
2943
|
+
*/
|
|
2944
|
+
export declare const OAuthProviderFIREBASE: {
|
|
2945
|
+
readonly Firebase: "firebase";
|
|
2946
|
+
};
|
|
2947
|
+
export type OAuthProviderFIREBASE = typeof OAuthProviderFIREBASE[keyof typeof OAuthProviderFIREBASE];
|
|
2833
2948
|
/**
|
|
2834
2949
|
*
|
|
2835
2950
|
* @export
|
|
@@ -2839,6 +2954,15 @@ export declare const OAuthProviderGOOGLE: {
|
|
|
2839
2954
|
readonly Google: "google";
|
|
2840
2955
|
};
|
|
2841
2956
|
export type OAuthProviderGOOGLE = typeof OAuthProviderGOOGLE[keyof typeof OAuthProviderGOOGLE];
|
|
2957
|
+
/**
|
|
2958
|
+
*
|
|
2959
|
+
* @export
|
|
2960
|
+
* @enum {string}
|
|
2961
|
+
*/
|
|
2962
|
+
export declare const OAuthProviderLOOTLOCKER: {
|
|
2963
|
+
readonly Lootlocker: "lootlocker";
|
|
2964
|
+
};
|
|
2965
|
+
export type OAuthProviderLOOTLOCKER = typeof OAuthProviderLOOTLOCKER[keyof typeof OAuthProviderLOOTLOCKER];
|
|
2842
2966
|
/**
|
|
2843
2967
|
*
|
|
2844
2968
|
* @export
|
|
@@ -2965,7 +3089,70 @@ export interface PayForUserPolicyStrategy {
|
|
|
2965
3089
|
/**
|
|
2966
3090
|
*
|
|
2967
3091
|
* @export
|
|
2968
|
-
* @interface
|
|
3092
|
+
* @interface PaymasterDepositorCreateRequest
|
|
3093
|
+
*/
|
|
3094
|
+
export interface PaymasterDepositorCreateRequest {
|
|
3095
|
+
/**
|
|
3096
|
+
* Paymaster depositor address.
|
|
3097
|
+
* @type {string}
|
|
3098
|
+
* @memberof PaymasterDepositorCreateRequest
|
|
3099
|
+
*/
|
|
3100
|
+
'depositorAddress': string;
|
|
3101
|
+
/**
|
|
3102
|
+
* Signature to verify the account ownership.
|
|
3103
|
+
* @type {string}
|
|
3104
|
+
* @memberof PaymasterDepositorCreateRequest
|
|
3105
|
+
*/
|
|
3106
|
+
'signature': string;
|
|
3107
|
+
}
|
|
3108
|
+
/**
|
|
3109
|
+
*
|
|
3110
|
+
* @export
|
|
3111
|
+
* @interface PaymasterDepositorDeleteResponse
|
|
3112
|
+
*/
|
|
3113
|
+
export interface PaymasterDepositorDeleteResponse {
|
|
3114
|
+
/**
|
|
3115
|
+
*
|
|
3116
|
+
* @type {string}
|
|
3117
|
+
* @memberof PaymasterDepositorDeleteResponse
|
|
3118
|
+
*/
|
|
3119
|
+
'id': string;
|
|
3120
|
+
/**
|
|
3121
|
+
*
|
|
3122
|
+
* @type {EntityTypePAYMASTERDEPOSITOR}
|
|
3123
|
+
* @memberof PaymasterDepositorDeleteResponse
|
|
3124
|
+
*/
|
|
3125
|
+
'object': EntityTypePAYMASTERDEPOSITOR;
|
|
3126
|
+
/**
|
|
3127
|
+
*
|
|
3128
|
+
* @type {boolean}
|
|
3129
|
+
* @memberof PaymasterDepositorDeleteResponse
|
|
3130
|
+
*/
|
|
3131
|
+
'deleted': boolean;
|
|
3132
|
+
}
|
|
3133
|
+
/**
|
|
3134
|
+
*
|
|
3135
|
+
* @export
|
|
3136
|
+
* @interface PaymasterDepositorGetMessageResponse
|
|
3137
|
+
*/
|
|
3138
|
+
export interface PaymasterDepositorGetMessageResponse {
|
|
3139
|
+
/**
|
|
3140
|
+
*
|
|
3141
|
+
* @type {string}
|
|
3142
|
+
* @memberof PaymasterDepositorGetMessageResponse
|
|
3143
|
+
*/
|
|
3144
|
+
'message': string;
|
|
3145
|
+
/**
|
|
3146
|
+
*
|
|
3147
|
+
* @type {string}
|
|
3148
|
+
* @memberof PaymasterDepositorGetMessageResponse
|
|
3149
|
+
*/
|
|
3150
|
+
'depositorAddress': string;
|
|
3151
|
+
}
|
|
3152
|
+
/**
|
|
3153
|
+
*
|
|
3154
|
+
* @export
|
|
3155
|
+
* @interface PaymasterDepositorListResponse
|
|
2969
3156
|
*/
|
|
2970
3157
|
export interface PaymasterDepositorListResponse {
|
|
2971
3158
|
/**
|
|
@@ -3024,31 +3211,6 @@ export interface PaymasterDepositorResponse {
|
|
|
3024
3211
|
*/
|
|
3025
3212
|
'depositorAddress': string;
|
|
3026
3213
|
}
|
|
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
3214
|
/**
|
|
3053
3215
|
* From T, pick a set of properties whose keys are in the union K
|
|
3054
3216
|
* @export
|
|
@@ -3082,17 +3244,23 @@ export interface PickPlayerResponseId {
|
|
|
3082
3244
|
*/
|
|
3083
3245
|
export interface PlayFabOAuthConfig {
|
|
3084
3246
|
/**
|
|
3085
|
-
*
|
|
3086
|
-
* @type {
|
|
3247
|
+
* Enable OAuth provider.
|
|
3248
|
+
* @type {boolean}
|
|
3087
3249
|
* @memberof PlayFabOAuthConfig
|
|
3088
3250
|
*/
|
|
3089
|
-
'
|
|
3251
|
+
'enabled': boolean;
|
|
3090
3252
|
/**
|
|
3091
3253
|
*
|
|
3092
3254
|
* @type {OAuthProviderPLAYFAB}
|
|
3093
3255
|
* @memberof PlayFabOAuthConfig
|
|
3094
3256
|
*/
|
|
3095
3257
|
'provider': OAuthProviderPLAYFAB;
|
|
3258
|
+
/**
|
|
3259
|
+
* Title ID of your Play Fab gaming service environment.
|
|
3260
|
+
* @type {string}
|
|
3261
|
+
* @memberof PlayFabOAuthConfig
|
|
3262
|
+
*/
|
|
3263
|
+
'titleId': string;
|
|
3096
3264
|
}
|
|
3097
3265
|
/**
|
|
3098
3266
|
*
|
|
@@ -3123,19 +3291,21 @@ export interface Player {
|
|
|
3123
3291
|
* @type {string}
|
|
3124
3292
|
* @memberof Player
|
|
3125
3293
|
*/
|
|
3126
|
-
'name': string
|
|
3294
|
+
'name': string;
|
|
3127
3295
|
/**
|
|
3128
3296
|
*
|
|
3129
3297
|
* @type {string}
|
|
3130
3298
|
* @memberof Player
|
|
3131
3299
|
*/
|
|
3132
|
-
'description'
|
|
3300
|
+
'description'?: string;
|
|
3133
3301
|
/**
|
|
3134
3302
|
*
|
|
3135
|
-
* @type {string}
|
|
3303
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3136
3304
|
* @memberof Player
|
|
3137
3305
|
*/
|
|
3138
|
-
'metadata'
|
|
3306
|
+
'metadata'?: {
|
|
3307
|
+
[key: string]: PlayerMetadataValue;
|
|
3308
|
+
};
|
|
3139
3309
|
/**
|
|
3140
3310
|
*
|
|
3141
3311
|
* @type {Array<EntityIdResponse>}
|
|
@@ -3168,6 +3338,58 @@ export interface PlayerCancelTransferOwnershipRequest {
|
|
|
3168
3338
|
*/
|
|
3169
3339
|
'chainId': number;
|
|
3170
3340
|
}
|
|
3341
|
+
/**
|
|
3342
|
+
*
|
|
3343
|
+
* @export
|
|
3344
|
+
* @interface PlayerCreateRequest
|
|
3345
|
+
*/
|
|
3346
|
+
export interface PlayerCreateRequest {
|
|
3347
|
+
/**
|
|
3348
|
+
* Specifies the player name.
|
|
3349
|
+
* @type {string}
|
|
3350
|
+
* @memberof PlayerCreateRequest
|
|
3351
|
+
*/
|
|
3352
|
+
'name': string;
|
|
3353
|
+
/**
|
|
3354
|
+
* Specifies the player description.
|
|
3355
|
+
* @type {string}
|
|
3356
|
+
* @memberof PlayerCreateRequest
|
|
3357
|
+
*/
|
|
3358
|
+
'description'?: string;
|
|
3359
|
+
/**
|
|
3360
|
+
*
|
|
3361
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3362
|
+
* @memberof PlayerCreateRequest
|
|
3363
|
+
*/
|
|
3364
|
+
'metadata'?: {
|
|
3365
|
+
[key: string]: PlayerMetadataValue;
|
|
3366
|
+
};
|
|
3367
|
+
}
|
|
3368
|
+
/**
|
|
3369
|
+
*
|
|
3370
|
+
* @export
|
|
3371
|
+
* @interface PlayerDeleteResponse
|
|
3372
|
+
*/
|
|
3373
|
+
export interface PlayerDeleteResponse {
|
|
3374
|
+
/**
|
|
3375
|
+
*
|
|
3376
|
+
* @type {string}
|
|
3377
|
+
* @memberof PlayerDeleteResponse
|
|
3378
|
+
*/
|
|
3379
|
+
'id': string;
|
|
3380
|
+
/**
|
|
3381
|
+
*
|
|
3382
|
+
* @type {EntityTypePLAYER}
|
|
3383
|
+
* @memberof PlayerDeleteResponse
|
|
3384
|
+
*/
|
|
3385
|
+
'object': EntityTypePLAYER;
|
|
3386
|
+
/**
|
|
3387
|
+
*
|
|
3388
|
+
* @type {boolean}
|
|
3389
|
+
* @memberof PlayerDeleteResponse
|
|
3390
|
+
*/
|
|
3391
|
+
'deleted': boolean;
|
|
3392
|
+
}
|
|
3171
3393
|
/**
|
|
3172
3394
|
*
|
|
3173
3395
|
* @export
|
|
@@ -3301,21 +3523,9 @@ export interface PlayerListResponse {
|
|
|
3301
3523
|
/**
|
|
3302
3524
|
*
|
|
3303
3525
|
* @export
|
|
3304
|
-
* @interface
|
|
3526
|
+
* @interface PlayerMetadataValue
|
|
3305
3527
|
*/
|
|
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;
|
|
3528
|
+
export interface PlayerMetadataValue {
|
|
3319
3529
|
}
|
|
3320
3530
|
/**
|
|
3321
3531
|
*
|
|
@@ -3346,19 +3556,21 @@ export interface PlayerResponse {
|
|
|
3346
3556
|
* @type {string}
|
|
3347
3557
|
* @memberof PlayerResponse
|
|
3348
3558
|
*/
|
|
3349
|
-
'name': string
|
|
3559
|
+
'name': string;
|
|
3350
3560
|
/**
|
|
3351
3561
|
*
|
|
3352
3562
|
* @type {string}
|
|
3353
3563
|
* @memberof PlayerResponse
|
|
3354
3564
|
*/
|
|
3355
|
-
'description'
|
|
3565
|
+
'description'?: string;
|
|
3356
3566
|
/**
|
|
3357
3567
|
*
|
|
3358
|
-
* @type {string}
|
|
3568
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3359
3569
|
* @memberof PlayerResponse
|
|
3360
3570
|
*/
|
|
3361
|
-
'metadata'
|
|
3571
|
+
'metadata'?: {
|
|
3572
|
+
[key: string]: PlayerMetadataValue;
|
|
3573
|
+
};
|
|
3362
3574
|
/**
|
|
3363
3575
|
*
|
|
3364
3576
|
* @type {Array<PlayerResponseTransactionIntentsInner>}
|
|
@@ -3571,6 +3783,33 @@ export interface PlayerTransferOwnershipRequest {
|
|
|
3571
3783
|
*/
|
|
3572
3784
|
'player'?: string;
|
|
3573
3785
|
}
|
|
3786
|
+
/**
|
|
3787
|
+
*
|
|
3788
|
+
* @export
|
|
3789
|
+
* @interface PlayerUpdateRequest
|
|
3790
|
+
*/
|
|
3791
|
+
export interface PlayerUpdateRequest {
|
|
3792
|
+
/**
|
|
3793
|
+
* Specifies the player name.
|
|
3794
|
+
* @type {string}
|
|
3795
|
+
* @memberof PlayerUpdateRequest
|
|
3796
|
+
*/
|
|
3797
|
+
'name'?: string;
|
|
3798
|
+
/**
|
|
3799
|
+
* Specifies the player description.
|
|
3800
|
+
* @type {string}
|
|
3801
|
+
* @memberof PlayerUpdateRequest
|
|
3802
|
+
*/
|
|
3803
|
+
'description'?: string;
|
|
3804
|
+
/**
|
|
3805
|
+
*
|
|
3806
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
3807
|
+
* @memberof PlayerUpdateRequest
|
|
3808
|
+
*/
|
|
3809
|
+
'metadata'?: {
|
|
3810
|
+
[key: string]: PlayerMetadataValue;
|
|
3811
|
+
};
|
|
3812
|
+
}
|
|
3574
3813
|
/**
|
|
3575
3814
|
*
|
|
3576
3815
|
* @export
|
|
@@ -4390,6 +4629,62 @@ export interface ProjectWebhookRequest {
|
|
|
4390
4629
|
*/
|
|
4391
4630
|
'apiKey'?: string;
|
|
4392
4631
|
}
|
|
4632
|
+
/**
|
|
4633
|
+
*
|
|
4634
|
+
* @export
|
|
4635
|
+
* @interface RegisterPlayerEncryptedKeyRequest
|
|
4636
|
+
*/
|
|
4637
|
+
export interface RegisterPlayerEncryptedKeyRequest {
|
|
4638
|
+
/**
|
|
4639
|
+
* The cipher text of the key to register.
|
|
4640
|
+
* @type {string}
|
|
4641
|
+
* @memberof RegisterPlayerEncryptedKeyRequest
|
|
4642
|
+
*/
|
|
4643
|
+
'pk_ciphertext': string;
|
|
4644
|
+
/**
|
|
4645
|
+
* The salt used expand the password of the user.
|
|
4646
|
+
* @type {string}
|
|
4647
|
+
* @memberof RegisterPlayerEncryptedKeyRequest
|
|
4648
|
+
*/
|
|
4649
|
+
'salt': string;
|
|
4650
|
+
/**
|
|
4651
|
+
* The address of the owner.
|
|
4652
|
+
* @type {string}
|
|
4653
|
+
* @memberof RegisterPlayerEncryptedKeyRequest
|
|
4654
|
+
*/
|
|
4655
|
+
'owner_address': string;
|
|
4656
|
+
}
|
|
4657
|
+
/**
|
|
4658
|
+
*
|
|
4659
|
+
* @export
|
|
4660
|
+
* @interface RegisterPlayerEncryptedKeyResponse
|
|
4661
|
+
*/
|
|
4662
|
+
export interface RegisterPlayerEncryptedKeyResponse {
|
|
4663
|
+
/**
|
|
4664
|
+
*
|
|
4665
|
+
* @type {string}
|
|
4666
|
+
* @memberof RegisterPlayerEncryptedKeyResponse
|
|
4667
|
+
*/
|
|
4668
|
+
'player': string;
|
|
4669
|
+
/**
|
|
4670
|
+
*
|
|
4671
|
+
* @type {string}
|
|
4672
|
+
* @memberof RegisterPlayerEncryptedKeyResponse
|
|
4673
|
+
*/
|
|
4674
|
+
'ownerAddress': string;
|
|
4675
|
+
/**
|
|
4676
|
+
*
|
|
4677
|
+
* @type {number}
|
|
4678
|
+
* @memberof RegisterPlayerEncryptedKeyResponse
|
|
4679
|
+
*/
|
|
4680
|
+
'createdAt': number;
|
|
4681
|
+
/**
|
|
4682
|
+
*
|
|
4683
|
+
* @type {number}
|
|
4684
|
+
* @memberof RegisterPlayerEncryptedKeyResponse
|
|
4685
|
+
*/
|
|
4686
|
+
'updatedAt': number;
|
|
4687
|
+
}
|
|
4393
4688
|
/**
|
|
4394
4689
|
*
|
|
4395
4690
|
* @export
|
|
@@ -4467,6 +4762,49 @@ export declare const ResponseTypeLIST: {
|
|
|
4467
4762
|
readonly List: "list";
|
|
4468
4763
|
};
|
|
4469
4764
|
export type ResponseTypeLIST = typeof ResponseTypeLIST[keyof typeof ResponseTypeLIST];
|
|
4765
|
+
/**
|
|
4766
|
+
*
|
|
4767
|
+
* @export
|
|
4768
|
+
* @interface RetrievePlayerEncryptedKeyResponse
|
|
4769
|
+
*/
|
|
4770
|
+
export interface RetrievePlayerEncryptedKeyResponse {
|
|
4771
|
+
/**
|
|
4772
|
+
*
|
|
4773
|
+
* @type {string}
|
|
4774
|
+
* @memberof RetrievePlayerEncryptedKeyResponse
|
|
4775
|
+
*/
|
|
4776
|
+
'player': string;
|
|
4777
|
+
/**
|
|
4778
|
+
*
|
|
4779
|
+
* @type {string}
|
|
4780
|
+
* @memberof RetrievePlayerEncryptedKeyResponse
|
|
4781
|
+
*/
|
|
4782
|
+
'ownerAddress': string;
|
|
4783
|
+
/**
|
|
4784
|
+
*
|
|
4785
|
+
* @type {number}
|
|
4786
|
+
* @memberof RetrievePlayerEncryptedKeyResponse
|
|
4787
|
+
*/
|
|
4788
|
+
'createdAt': number;
|
|
4789
|
+
/**
|
|
4790
|
+
*
|
|
4791
|
+
* @type {number}
|
|
4792
|
+
* @memberof RetrievePlayerEncryptedKeyResponse
|
|
4793
|
+
*/
|
|
4794
|
+
'updatedAt': number;
|
|
4795
|
+
/**
|
|
4796
|
+
*
|
|
4797
|
+
* @type {string}
|
|
4798
|
+
* @memberof RetrievePlayerEncryptedKeyResponse
|
|
4799
|
+
*/
|
|
4800
|
+
'pkCiphertext': string;
|
|
4801
|
+
/**
|
|
4802
|
+
*
|
|
4803
|
+
* @type {string}
|
|
4804
|
+
* @memberof RetrievePlayerEncryptedKeyResponse
|
|
4805
|
+
*/
|
|
4806
|
+
'salt': string;
|
|
4807
|
+
}
|
|
4470
4808
|
/**
|
|
4471
4809
|
*
|
|
4472
4810
|
* @export
|
|
@@ -4703,6 +5041,19 @@ export declare const SessionResponseExpandable: {
|
|
|
4703
5041
|
readonly TransactionIntents: "transactionIntents";
|
|
4704
5042
|
};
|
|
4705
5043
|
export type SessionResponseExpandable = typeof SessionResponseExpandable[keyof typeof SessionResponseExpandable];
|
|
5044
|
+
/**
|
|
5045
|
+
*
|
|
5046
|
+
* @export
|
|
5047
|
+
* @interface SettingsWebhookUpdateRequest
|
|
5048
|
+
*/
|
|
5049
|
+
export interface SettingsWebhookUpdateRequest {
|
|
5050
|
+
/**
|
|
5051
|
+
* The webhook url.
|
|
5052
|
+
* @type {string}
|
|
5053
|
+
* @memberof SettingsWebhookUpdateRequest
|
|
5054
|
+
*/
|
|
5055
|
+
'url': string;
|
|
5056
|
+
}
|
|
4706
5057
|
/**
|
|
4707
5058
|
*
|
|
4708
5059
|
* @export
|
|
@@ -4898,6 +5249,31 @@ export interface StartRecoveryRequest {
|
|
|
4898
5249
|
*/
|
|
4899
5250
|
'policy': string;
|
|
4900
5251
|
}
|
|
5252
|
+
/**
|
|
5253
|
+
*
|
|
5254
|
+
* @export
|
|
5255
|
+
* @interface SubmitWeb3ActionRequest
|
|
5256
|
+
*/
|
|
5257
|
+
export interface SubmitWeb3ActionRequest {
|
|
5258
|
+
/**
|
|
5259
|
+
* True to approve the action, false to reject it.
|
|
5260
|
+
* @type {boolean}
|
|
5261
|
+
* @memberof SubmitWeb3ActionRequest
|
|
5262
|
+
*/
|
|
5263
|
+
'approve': boolean;
|
|
5264
|
+
/**
|
|
5265
|
+
* The policy ID (starts with pol_)
|
|
5266
|
+
* @type {string}
|
|
5267
|
+
* @memberof SubmitWeb3ActionRequest
|
|
5268
|
+
*/
|
|
5269
|
+
'policy'?: string;
|
|
5270
|
+
/**
|
|
5271
|
+
* signed data by the owner
|
|
5272
|
+
* @type {string}
|
|
5273
|
+
* @memberof SubmitWeb3ActionRequest
|
|
5274
|
+
*/
|
|
5275
|
+
'signature'?: string;
|
|
5276
|
+
}
|
|
4901
5277
|
/**
|
|
4902
5278
|
*
|
|
4903
5279
|
* @export
|
|
@@ -5293,19 +5669,21 @@ export interface TransactionIntentResponsePlayer {
|
|
|
5293
5669
|
* @type {string}
|
|
5294
5670
|
* @memberof TransactionIntentResponsePlayer
|
|
5295
5671
|
*/
|
|
5296
|
-
'name': string
|
|
5672
|
+
'name': string;
|
|
5297
5673
|
/**
|
|
5298
5674
|
*
|
|
5299
5675
|
* @type {string}
|
|
5300
5676
|
* @memberof TransactionIntentResponsePlayer
|
|
5301
5677
|
*/
|
|
5302
|
-
'description'
|
|
5678
|
+
'description'?: string;
|
|
5303
5679
|
/**
|
|
5304
5680
|
*
|
|
5305
|
-
* @type {string}
|
|
5681
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
5306
5682
|
* @memberof TransactionIntentResponsePlayer
|
|
5307
5683
|
*/
|
|
5308
|
-
'metadata'
|
|
5684
|
+
'metadata'?: {
|
|
5685
|
+
[key: string]: PlayerMetadataValue;
|
|
5686
|
+
};
|
|
5309
5687
|
/**
|
|
5310
5688
|
*
|
|
5311
5689
|
* @type {Array<EntityIdResponse>}
|
|
@@ -5582,96 +5960,151 @@ export interface UpdateProjectRequest {
|
|
|
5582
5960
|
/**
|
|
5583
5961
|
*
|
|
5584
5962
|
* @export
|
|
5585
|
-
* @interface
|
|
5963
|
+
* @interface UserProjectCreateRequest
|
|
5586
5964
|
*/
|
|
5587
|
-
export interface
|
|
5965
|
+
export interface UserProjectCreateRequest {
|
|
5588
5966
|
/**
|
|
5589
5967
|
*
|
|
5590
|
-
* @type {
|
|
5591
|
-
* @memberof
|
|
5968
|
+
* @type {UserProjectCreateRequestRole}
|
|
5969
|
+
* @memberof UserProjectCreateRequest
|
|
5592
5970
|
*/
|
|
5593
|
-
'
|
|
5971
|
+
'role'?: UserProjectCreateRequestRole;
|
|
5594
5972
|
/**
|
|
5595
5973
|
*
|
|
5596
|
-
* @type {
|
|
5597
|
-
* @memberof
|
|
5974
|
+
* @type {string}
|
|
5975
|
+
* @memberof UserProjectCreateRequest
|
|
5598
5976
|
*/
|
|
5599
|
-
'
|
|
5977
|
+
'email': string;
|
|
5600
5978
|
}
|
|
5601
5979
|
/**
|
|
5602
5980
|
*
|
|
5603
5981
|
* @export
|
|
5604
|
-
* @interface
|
|
5982
|
+
* @interface UserProjectCreateRequestRole
|
|
5605
5983
|
*/
|
|
5606
|
-
export interface
|
|
5984
|
+
export interface UserProjectCreateRequestRole {
|
|
5985
|
+
}
|
|
5986
|
+
/**
|
|
5987
|
+
*
|
|
5988
|
+
* @export
|
|
5989
|
+
* @interface UserProjectDeleteResponse
|
|
5990
|
+
*/
|
|
5991
|
+
export interface UserProjectDeleteResponse {
|
|
5992
|
+
/**
|
|
5993
|
+
*
|
|
5994
|
+
* @type {string}
|
|
5995
|
+
* @memberof UserProjectDeleteResponse
|
|
5996
|
+
*/
|
|
5997
|
+
'id': string;
|
|
5998
|
+
/**
|
|
5999
|
+
*
|
|
6000
|
+
* @type {EntityTypeUSER}
|
|
6001
|
+
* @memberof UserProjectDeleteResponse
|
|
6002
|
+
*/
|
|
6003
|
+
'object': EntityTypeUSER;
|
|
6004
|
+
/**
|
|
6005
|
+
*
|
|
6006
|
+
* @type {boolean}
|
|
6007
|
+
* @memberof UserProjectDeleteResponse
|
|
6008
|
+
*/
|
|
6009
|
+
'deleted': boolean;
|
|
5607
6010
|
}
|
|
5608
6011
|
/**
|
|
5609
6012
|
*
|
|
5610
6013
|
* @export
|
|
5611
|
-
* @interface
|
|
6014
|
+
* @interface UserProjectListResponse
|
|
5612
6015
|
*/
|
|
5613
|
-
export interface
|
|
6016
|
+
export interface UserProjectListResponse {
|
|
5614
6017
|
/**
|
|
5615
6018
|
*
|
|
5616
6019
|
* @type {ResponseTypeLIST}
|
|
5617
|
-
* @memberof
|
|
6020
|
+
* @memberof UserProjectListResponse
|
|
5618
6021
|
*/
|
|
5619
6022
|
'object': ResponseTypeLIST;
|
|
5620
6023
|
/**
|
|
5621
6024
|
*
|
|
5622
6025
|
* @type {string}
|
|
5623
|
-
* @memberof
|
|
6026
|
+
* @memberof UserProjectListResponse
|
|
5624
6027
|
*/
|
|
5625
6028
|
'url': string;
|
|
5626
6029
|
/**
|
|
5627
6030
|
*
|
|
5628
|
-
* @type {Array<
|
|
5629
|
-
* @memberof
|
|
6031
|
+
* @type {Array<UserProjectResponse>}
|
|
6032
|
+
* @memberof UserProjectListResponse
|
|
5630
6033
|
*/
|
|
5631
|
-
'data': Array<
|
|
6034
|
+
'data': Array<UserProjectResponse>;
|
|
5632
6035
|
/**
|
|
5633
6036
|
*
|
|
5634
6037
|
* @type {number}
|
|
5635
|
-
* @memberof
|
|
6038
|
+
* @memberof UserProjectListResponse
|
|
5636
6039
|
*/
|
|
5637
6040
|
'start': number;
|
|
5638
6041
|
/**
|
|
5639
6042
|
*
|
|
5640
6043
|
* @type {number}
|
|
5641
|
-
* @memberof
|
|
6044
|
+
* @memberof UserProjectListResponse
|
|
5642
6045
|
*/
|
|
5643
6046
|
'end': number;
|
|
5644
6047
|
/**
|
|
5645
6048
|
*
|
|
5646
6049
|
* @type {number}
|
|
5647
|
-
* @memberof
|
|
6050
|
+
* @memberof UserProjectListResponse
|
|
5648
6051
|
*/
|
|
5649
6052
|
'total': number;
|
|
5650
6053
|
}
|
|
5651
6054
|
/**
|
|
5652
6055
|
*
|
|
5653
6056
|
* @export
|
|
5654
|
-
* @interface
|
|
6057
|
+
* @interface UserProjectResponse
|
|
5655
6058
|
*/
|
|
5656
|
-
export interface
|
|
6059
|
+
export interface UserProjectResponse {
|
|
5657
6060
|
/**
|
|
5658
6061
|
*
|
|
5659
6062
|
* @type {string}
|
|
5660
|
-
* @memberof
|
|
6063
|
+
* @memberof UserProjectResponse
|
|
5661
6064
|
*/
|
|
5662
6065
|
'id': string;
|
|
5663
6066
|
/**
|
|
5664
6067
|
*
|
|
5665
6068
|
* @type {EntityTypeUSER}
|
|
5666
|
-
* @memberof
|
|
6069
|
+
* @memberof UserProjectResponse
|
|
5667
6070
|
*/
|
|
5668
6071
|
'object': EntityTypeUSER;
|
|
5669
6072
|
/**
|
|
5670
6073
|
*
|
|
5671
|
-
* @type {
|
|
5672
|
-
* @memberof
|
|
6074
|
+
* @type {number}
|
|
6075
|
+
* @memberof UserProjectResponse
|
|
5673
6076
|
*/
|
|
5674
|
-
'
|
|
6077
|
+
'createdAt': number;
|
|
6078
|
+
/**
|
|
6079
|
+
*
|
|
6080
|
+
* @type {number}
|
|
6081
|
+
* @memberof UserProjectResponse
|
|
6082
|
+
*/
|
|
6083
|
+
'updatedAt': number;
|
|
6084
|
+
/**
|
|
6085
|
+
*
|
|
6086
|
+
* @type {string}
|
|
6087
|
+
* @memberof UserProjectResponse
|
|
6088
|
+
*/
|
|
6089
|
+
'firstName': string;
|
|
6090
|
+
/**
|
|
6091
|
+
*
|
|
6092
|
+
* @type {string}
|
|
6093
|
+
* @memberof UserProjectResponse
|
|
6094
|
+
*/
|
|
6095
|
+
'lastName': string;
|
|
6096
|
+
/**
|
|
6097
|
+
*
|
|
6098
|
+
* @type {UserProjectRole}
|
|
6099
|
+
* @memberof UserProjectResponse
|
|
6100
|
+
*/
|
|
6101
|
+
'role': UserProjectRole;
|
|
6102
|
+
/**
|
|
6103
|
+
*
|
|
6104
|
+
* @type {string}
|
|
6105
|
+
* @memberof UserProjectResponse
|
|
6106
|
+
*/
|
|
6107
|
+
'email': string;
|
|
5675
6108
|
}
|
|
5676
6109
|
/**
|
|
5677
6110
|
*
|
|
@@ -5705,71 +6138,345 @@ export type UserProjectRoleMEMBER = typeof UserProjectRoleMEMBER[keyof typeof Us
|
|
|
5705
6138
|
/**
|
|
5706
6139
|
*
|
|
5707
6140
|
* @export
|
|
5708
|
-
* @interface
|
|
6141
|
+
* @interface UserProjectUpdateRequest
|
|
5709
6142
|
*/
|
|
5710
|
-
export interface
|
|
6143
|
+
export interface UserProjectUpdateRequest {
|
|
6144
|
+
/**
|
|
6145
|
+
*
|
|
6146
|
+
* @type {UserProjectCreateRequestRole}
|
|
6147
|
+
* @memberof UserProjectUpdateRequest
|
|
6148
|
+
*/
|
|
6149
|
+
'role': UserProjectCreateRequestRole;
|
|
6150
|
+
}
|
|
6151
|
+
/**
|
|
6152
|
+
*
|
|
6153
|
+
* @export
|
|
6154
|
+
* @interface Web3ActionListResponse
|
|
6155
|
+
*/
|
|
6156
|
+
export interface Web3ActionListResponse {
|
|
6157
|
+
/**
|
|
6158
|
+
*
|
|
6159
|
+
* @type {ResponseTypeLIST}
|
|
6160
|
+
* @memberof Web3ActionListResponse
|
|
6161
|
+
*/
|
|
6162
|
+
'object': ResponseTypeLIST;
|
|
5711
6163
|
/**
|
|
5712
6164
|
*
|
|
5713
6165
|
* @type {string}
|
|
5714
|
-
* @memberof
|
|
6166
|
+
* @memberof Web3ActionListResponse
|
|
6167
|
+
*/
|
|
6168
|
+
'url': string;
|
|
6169
|
+
/**
|
|
6170
|
+
*
|
|
6171
|
+
* @type {Array<Web3ActionResponse>}
|
|
6172
|
+
* @memberof Web3ActionListResponse
|
|
6173
|
+
*/
|
|
6174
|
+
'data': Array<Web3ActionResponse>;
|
|
6175
|
+
/**
|
|
6176
|
+
*
|
|
6177
|
+
* @type {number}
|
|
6178
|
+
* @memberof Web3ActionListResponse
|
|
6179
|
+
*/
|
|
6180
|
+
'start': number;
|
|
6181
|
+
/**
|
|
6182
|
+
*
|
|
6183
|
+
* @type {number}
|
|
6184
|
+
* @memberof Web3ActionListResponse
|
|
6185
|
+
*/
|
|
6186
|
+
'end': number;
|
|
6187
|
+
/**
|
|
6188
|
+
*
|
|
6189
|
+
* @type {number}
|
|
6190
|
+
* @memberof Web3ActionListResponse
|
|
6191
|
+
*/
|
|
6192
|
+
'total': number;
|
|
6193
|
+
}
|
|
6194
|
+
/**
|
|
6195
|
+
*
|
|
6196
|
+
* @export
|
|
6197
|
+
* @interface Web3ActionResponse
|
|
6198
|
+
*/
|
|
6199
|
+
export interface Web3ActionResponse {
|
|
6200
|
+
/**
|
|
6201
|
+
*
|
|
6202
|
+
* @type {string}
|
|
6203
|
+
* @memberof Web3ActionResponse
|
|
5715
6204
|
*/
|
|
5716
6205
|
'id': string;
|
|
5717
6206
|
/**
|
|
5718
6207
|
*
|
|
5719
|
-
* @type {
|
|
5720
|
-
* @memberof
|
|
6208
|
+
* @type {EntityTypeWEB3ACTION}
|
|
6209
|
+
* @memberof Web3ActionResponse
|
|
5721
6210
|
*/
|
|
5722
|
-
'object':
|
|
6211
|
+
'object': EntityTypeWEB3ACTION;
|
|
5723
6212
|
/**
|
|
5724
6213
|
*
|
|
5725
6214
|
* @type {number}
|
|
5726
|
-
* @memberof
|
|
6215
|
+
* @memberof Web3ActionResponse
|
|
5727
6216
|
*/
|
|
5728
6217
|
'createdAt': number;
|
|
6218
|
+
/**
|
|
6219
|
+
* The web3_connection ID (starts with web3_).
|
|
6220
|
+
* @type {string}
|
|
6221
|
+
* @memberof Web3ActionResponse
|
|
6222
|
+
*/
|
|
6223
|
+
'web3Connection': string;
|
|
5729
6224
|
/**
|
|
5730
6225
|
*
|
|
6226
|
+
* @type {Web3ActionStatusEnum}
|
|
6227
|
+
* @memberof Web3ActionResponse
|
|
6228
|
+
*/
|
|
6229
|
+
'status': Web3ActionStatusEnum;
|
|
6230
|
+
/**
|
|
6231
|
+
*
|
|
6232
|
+
* @type {string}
|
|
6233
|
+
* @memberof Web3ActionResponse
|
|
6234
|
+
*/
|
|
6235
|
+
'chaindId': string;
|
|
6236
|
+
/**
|
|
6237
|
+
*
|
|
6238
|
+
* @type {string}
|
|
6239
|
+
* @memberof Web3ActionResponse
|
|
6240
|
+
*/
|
|
6241
|
+
'method': string;
|
|
6242
|
+
/**
|
|
6243
|
+
*
|
|
6244
|
+
* @type {string}
|
|
6245
|
+
* @memberof Web3ActionResponse
|
|
6246
|
+
*/
|
|
6247
|
+
'from': string;
|
|
6248
|
+
/**
|
|
6249
|
+
*
|
|
6250
|
+
* @type {string}
|
|
6251
|
+
* @memberof Web3ActionResponse
|
|
6252
|
+
*/
|
|
6253
|
+
'to'?: string;
|
|
6254
|
+
/**
|
|
6255
|
+
*
|
|
6256
|
+
* @type {string}
|
|
6257
|
+
* @memberof Web3ActionResponse
|
|
6258
|
+
*/
|
|
6259
|
+
'data': string;
|
|
6260
|
+
/**
|
|
6261
|
+
*
|
|
6262
|
+
* @type {string}
|
|
6263
|
+
* @memberof Web3ActionResponse
|
|
6264
|
+
*/
|
|
6265
|
+
'decodedData': string;
|
|
6266
|
+
/**
|
|
6267
|
+
*
|
|
6268
|
+
* @type {string}
|
|
6269
|
+
* @memberof Web3ActionResponse
|
|
6270
|
+
*/
|
|
6271
|
+
'hashedData': string;
|
|
6272
|
+
/**
|
|
6273
|
+
*
|
|
6274
|
+
* @type {string}
|
|
6275
|
+
* @memberof Web3ActionResponse
|
|
6276
|
+
*/
|
|
6277
|
+
'value'?: string;
|
|
6278
|
+
/**
|
|
6279
|
+
*
|
|
6280
|
+
* @type {string}
|
|
6281
|
+
* @memberof Web3ActionResponse
|
|
6282
|
+
*/
|
|
6283
|
+
'gas'?: string;
|
|
6284
|
+
}
|
|
6285
|
+
/**
|
|
6286
|
+
*
|
|
6287
|
+
* @export
|
|
6288
|
+
* @enum {string}
|
|
6289
|
+
*/
|
|
6290
|
+
export declare const Web3ActionStatusEnum: {
|
|
6291
|
+
readonly Pending: "Pending";
|
|
6292
|
+
readonly Approved: "Approved";
|
|
6293
|
+
readonly Rejected: "Rejected";
|
|
6294
|
+
readonly Expired: "Expired";
|
|
6295
|
+
readonly Failed: "Failed";
|
|
6296
|
+
};
|
|
6297
|
+
export type Web3ActionStatusEnum = typeof Web3ActionStatusEnum[keyof typeof Web3ActionStatusEnum];
|
|
6298
|
+
/**
|
|
6299
|
+
*
|
|
6300
|
+
* @export
|
|
6301
|
+
* @interface Web3ConnectionListQueries
|
|
6302
|
+
*/
|
|
6303
|
+
export interface Web3ConnectionListQueries {
|
|
6304
|
+
/**
|
|
6305
|
+
* Specifies the maximum number of records to return.
|
|
5731
6306
|
* @type {number}
|
|
5732
|
-
* @memberof
|
|
6307
|
+
* @memberof Web3ConnectionListQueries
|
|
5733
6308
|
*/
|
|
5734
|
-
'
|
|
6309
|
+
'limit'?: number;
|
|
6310
|
+
/**
|
|
6311
|
+
* Specifies the offset for the first records to return.
|
|
6312
|
+
* @type {number}
|
|
6313
|
+
* @memberof Web3ConnectionListQueries
|
|
6314
|
+
*/
|
|
6315
|
+
'skip'?: number;
|
|
5735
6316
|
/**
|
|
5736
6317
|
*
|
|
6318
|
+
* @type {SortOrder}
|
|
6319
|
+
* @memberof Web3ConnectionListQueries
|
|
6320
|
+
*/
|
|
6321
|
+
'order'?: SortOrder;
|
|
6322
|
+
/**
|
|
6323
|
+
* Specifies the unique player ID (starts with pla_)
|
|
5737
6324
|
* @type {string}
|
|
5738
|
-
* @memberof
|
|
5739
|
-
|
|
6325
|
+
* @memberof Web3ConnectionListQueries
|
|
6326
|
+
*/
|
|
6327
|
+
'player'?: string;
|
|
6328
|
+
/**
|
|
6329
|
+
* Specifies connection status
|
|
6330
|
+
* @type {boolean}
|
|
6331
|
+
* @memberof Web3ConnectionListQueries
|
|
6332
|
+
*/
|
|
6333
|
+
'disconnected'?: boolean;
|
|
6334
|
+
}
|
|
6335
|
+
/**
|
|
6336
|
+
*
|
|
6337
|
+
* @export
|
|
6338
|
+
* @interface Web3ConnectionListResponse
|
|
6339
|
+
*/
|
|
6340
|
+
export interface Web3ConnectionListResponse {
|
|
6341
|
+
/**
|
|
6342
|
+
*
|
|
6343
|
+
* @type {ResponseTypeLIST}
|
|
6344
|
+
* @memberof Web3ConnectionListResponse
|
|
5740
6345
|
*/
|
|
5741
|
-
'
|
|
6346
|
+
'object': ResponseTypeLIST;
|
|
5742
6347
|
/**
|
|
5743
6348
|
*
|
|
5744
6349
|
* @type {string}
|
|
5745
|
-
* @memberof
|
|
5746
|
-
|
|
6350
|
+
* @memberof Web3ConnectionListResponse
|
|
6351
|
+
*/
|
|
6352
|
+
'url': string;
|
|
6353
|
+
/**
|
|
6354
|
+
*
|
|
6355
|
+
* @type {Array<Web3ConnectionResponse>}
|
|
6356
|
+
* @memberof Web3ConnectionListResponse
|
|
6357
|
+
*/
|
|
6358
|
+
'data': Array<Web3ConnectionResponse>;
|
|
6359
|
+
/**
|
|
6360
|
+
*
|
|
6361
|
+
* @type {number}
|
|
6362
|
+
* @memberof Web3ConnectionListResponse
|
|
6363
|
+
*/
|
|
6364
|
+
'start': number;
|
|
6365
|
+
/**
|
|
6366
|
+
*
|
|
6367
|
+
* @type {number}
|
|
6368
|
+
* @memberof Web3ConnectionListResponse
|
|
5747
6369
|
*/
|
|
5748
|
-
'
|
|
6370
|
+
'end': number;
|
|
6371
|
+
/**
|
|
6372
|
+
*
|
|
6373
|
+
* @type {number}
|
|
6374
|
+
* @memberof Web3ConnectionListResponse
|
|
6375
|
+
*/
|
|
6376
|
+
'total': number;
|
|
6377
|
+
}
|
|
6378
|
+
/**
|
|
6379
|
+
*
|
|
6380
|
+
* @export
|
|
6381
|
+
* @interface Web3ConnectionResponse
|
|
6382
|
+
*/
|
|
6383
|
+
export interface Web3ConnectionResponse {
|
|
5749
6384
|
/**
|
|
5750
6385
|
*
|
|
5751
6386
|
* @type {string}
|
|
5752
|
-
* @memberof
|
|
6387
|
+
* @memberof Web3ConnectionResponse
|
|
5753
6388
|
*/
|
|
5754
|
-
'
|
|
6389
|
+
'id': string;
|
|
6390
|
+
/**
|
|
6391
|
+
*
|
|
6392
|
+
* @type {EntityTypeWEB3CONNECTION}
|
|
6393
|
+
* @memberof Web3ConnectionResponse
|
|
6394
|
+
*/
|
|
6395
|
+
'object': EntityTypeWEB3CONNECTION;
|
|
6396
|
+
/**
|
|
6397
|
+
*
|
|
6398
|
+
* @type {number}
|
|
6399
|
+
* @memberof Web3ConnectionResponse
|
|
6400
|
+
*/
|
|
6401
|
+
'createdAt': number;
|
|
6402
|
+
/**
|
|
6403
|
+
*
|
|
6404
|
+
* @type {boolean}
|
|
6405
|
+
* @memberof Web3ConnectionResponse
|
|
6406
|
+
*/
|
|
6407
|
+
'disconnected': boolean;
|
|
6408
|
+
/**
|
|
6409
|
+
*
|
|
6410
|
+
* @type {Web3ConnectionResponsePlayer}
|
|
6411
|
+
* @memberof Web3ConnectionResponse
|
|
6412
|
+
*/
|
|
6413
|
+
'player': Web3ConnectionResponsePlayer;
|
|
6414
|
+
}
|
|
6415
|
+
/**
|
|
6416
|
+
*
|
|
6417
|
+
* @export
|
|
6418
|
+
* @enum {string}
|
|
6419
|
+
*/
|
|
6420
|
+
export declare const Web3ConnectionResponseExpandable: {
|
|
6421
|
+
readonly Player: "player";
|
|
6422
|
+
};
|
|
6423
|
+
export type Web3ConnectionResponseExpandable = typeof Web3ConnectionResponseExpandable[keyof typeof Web3ConnectionResponseExpandable];
|
|
6424
|
+
/**
|
|
6425
|
+
* The player ID (starts with pla_).
|
|
6426
|
+
* @export
|
|
6427
|
+
* @interface Web3ConnectionResponsePlayer
|
|
6428
|
+
*/
|
|
6429
|
+
export interface Web3ConnectionResponsePlayer {
|
|
5755
6430
|
/**
|
|
5756
6431
|
*
|
|
5757
6432
|
* @type {string}
|
|
5758
|
-
* @memberof
|
|
6433
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
5759
6434
|
*/
|
|
5760
|
-
'
|
|
6435
|
+
'id': string;
|
|
5761
6436
|
/**
|
|
5762
6437
|
*
|
|
5763
|
-
* @type {
|
|
5764
|
-
* @memberof
|
|
6438
|
+
* @type {EntityTypePLAYER}
|
|
6439
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
5765
6440
|
*/
|
|
5766
|
-
'
|
|
6441
|
+
'object': EntityTypePLAYER;
|
|
6442
|
+
/**
|
|
6443
|
+
*
|
|
6444
|
+
* @type {number}
|
|
6445
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6446
|
+
*/
|
|
6447
|
+
'createdAt': number;
|
|
5767
6448
|
/**
|
|
5768
6449
|
*
|
|
5769
6450
|
* @type {string}
|
|
5770
|
-
* @memberof
|
|
6451
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
5771
6452
|
*/
|
|
5772
|
-
'
|
|
6453
|
+
'name': string;
|
|
6454
|
+
/**
|
|
6455
|
+
*
|
|
6456
|
+
* @type {string}
|
|
6457
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6458
|
+
*/
|
|
6459
|
+
'description'?: string;
|
|
6460
|
+
/**
|
|
6461
|
+
*
|
|
6462
|
+
* @type {{ [key: string]: PlayerMetadataValue; }}
|
|
6463
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6464
|
+
*/
|
|
6465
|
+
'metadata'?: {
|
|
6466
|
+
[key: string]: PlayerMetadataValue;
|
|
6467
|
+
};
|
|
6468
|
+
/**
|
|
6469
|
+
*
|
|
6470
|
+
* @type {Array<EntityIdResponse>}
|
|
6471
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6472
|
+
*/
|
|
6473
|
+
'transactionIntents'?: Array<EntityIdResponse>;
|
|
6474
|
+
/**
|
|
6475
|
+
*
|
|
6476
|
+
* @type {Array<EntityIdResponse>}
|
|
6477
|
+
* @memberof Web3ConnectionResponsePlayer
|
|
6478
|
+
*/
|
|
6479
|
+
'accounts'?: Array<EntityIdResponse>;
|
|
5773
6480
|
}
|
|
5774
6481
|
/**
|
|
5775
6482
|
*
|
|
@@ -5797,7 +6504,7 @@ export interface WebhookResponse {
|
|
|
5797
6504
|
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5798
6505
|
/**
|
|
5799
6506
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
5800
|
-
* @summary Cancel request
|
|
6507
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
5801
6508
|
* @param {string} id Specifies the unique account ID.
|
|
5802
6509
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
5803
6510
|
* @param {*} [options] Override http request option.
|
|
@@ -5821,6 +6528,15 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5821
6528
|
* @throws {RequiredError}
|
|
5822
6529
|
*/
|
|
5823
6530
|
createAccount: (createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6531
|
+
/**
|
|
6532
|
+
* This endpoint can be used to deploy an account that was counterfactually generated.
|
|
6533
|
+
* @summary Deploy an account.
|
|
6534
|
+
* @param {string} id Specifies the unique account ID.
|
|
6535
|
+
* @param {DeployRequest} deployRequest
|
|
6536
|
+
* @param {*} [options] Override http request option.
|
|
6537
|
+
* @throws {RequiredError}
|
|
6538
|
+
*/
|
|
6539
|
+
deployAccount: (id: string, deployRequest: DeployRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5824
6540
|
/**
|
|
5825
6541
|
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
5826
6542
|
* @summary Get existing account.
|
|
@@ -5844,7 +6560,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5844
6560
|
getAccounts: (player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5845
6561
|
/**
|
|
5846
6562
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
5847
|
-
* @summary Request ownership
|
|
6563
|
+
* @summary Request transfer ownership of account.
|
|
5848
6564
|
* @param {string} id Specifies the unique account ID.
|
|
5849
6565
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
5850
6566
|
* @param {*} [options] Override http request option.
|
|
@@ -5852,7 +6568,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5852
6568
|
*/
|
|
5853
6569
|
requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5854
6570
|
/**
|
|
5855
|
-
*
|
|
6571
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
5856
6572
|
* @summary Sign a given payload
|
|
5857
6573
|
* @param {string} id Specifies the unique account ID.
|
|
5858
6574
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -5870,7 +6586,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5870
6586
|
*/
|
|
5871
6587
|
startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5872
6588
|
/**
|
|
5873
|
-
*
|
|
6589
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
5874
6590
|
* @summary Sync account state with the blockchain
|
|
5875
6591
|
* @param {string} id Specifies the unique account ID.
|
|
5876
6592
|
* @param {*} [options] Override http request option.
|
|
@@ -5885,7 +6601,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
5885
6601
|
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
5886
6602
|
/**
|
|
5887
6603
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
5888
|
-
* @summary Cancel request
|
|
6604
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
5889
6605
|
* @param {string} id Specifies the unique account ID.
|
|
5890
6606
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
5891
6607
|
* @param {*} [options] Override http request option.
|
|
@@ -5909,6 +6625,15 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
5909
6625
|
* @throws {RequiredError}
|
|
5910
6626
|
*/
|
|
5911
6627
|
createAccount(createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
6628
|
+
/**
|
|
6629
|
+
* This endpoint can be used to deploy an account that was counterfactually generated.
|
|
6630
|
+
* @summary Deploy an account.
|
|
6631
|
+
* @param {string} id Specifies the unique account ID.
|
|
6632
|
+
* @param {DeployRequest} deployRequest
|
|
6633
|
+
* @param {*} [options] Override http request option.
|
|
6634
|
+
* @throws {RequiredError}
|
|
6635
|
+
*/
|
|
6636
|
+
deployAccount(id: string, deployRequest: DeployRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountResponse>>;
|
|
5912
6637
|
/**
|
|
5913
6638
|
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
5914
6639
|
* @summary Get existing account.
|
|
@@ -5932,7 +6657,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
5932
6657
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountListResponse>>;
|
|
5933
6658
|
/**
|
|
5934
6659
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
5935
|
-
* @summary Request ownership
|
|
6660
|
+
* @summary Request transfer ownership of account.
|
|
5936
6661
|
* @param {string} id Specifies the unique account ID.
|
|
5937
6662
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
5938
6663
|
* @param {*} [options] Override http request option.
|
|
@@ -5940,7 +6665,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
5940
6665
|
*/
|
|
5941
6666
|
requestTransferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
5942
6667
|
/**
|
|
5943
|
-
*
|
|
6668
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
5944
6669
|
* @summary Sign a given payload
|
|
5945
6670
|
* @param {string} id Specifies the unique account ID.
|
|
5946
6671
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -5958,7 +6683,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
5958
6683
|
*/
|
|
5959
6684
|
startRecovery(id: string, startRecoveryRequest: StartRecoveryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
5960
6685
|
/**
|
|
5961
|
-
*
|
|
6686
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
5962
6687
|
* @summary Sync account state with the blockchain
|
|
5963
6688
|
* @param {string} id Specifies the unique account ID.
|
|
5964
6689
|
* @param {*} [options] Override http request option.
|
|
@@ -5973,7 +6698,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
5973
6698
|
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5974
6699
|
/**
|
|
5975
6700
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
5976
|
-
* @summary Cancel request
|
|
6701
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
5977
6702
|
* @param {string} id Specifies the unique account ID.
|
|
5978
6703
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
5979
6704
|
* @param {*} [options] Override http request option.
|
|
@@ -5997,6 +6722,15 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
5997
6722
|
* @throws {RequiredError}
|
|
5998
6723
|
*/
|
|
5999
6724
|
createAccount(createAccountRequest: CreateAccountRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
6725
|
+
/**
|
|
6726
|
+
* This endpoint can be used to deploy an account that was counterfactually generated.
|
|
6727
|
+
* @summary Deploy an account.
|
|
6728
|
+
* @param {string} id Specifies the unique account ID.
|
|
6729
|
+
* @param {DeployRequest} deployRequest
|
|
6730
|
+
* @param {*} [options] Override http request option.
|
|
6731
|
+
* @throws {RequiredError}
|
|
6732
|
+
*/
|
|
6733
|
+
deployAccount(id: string, deployRequest: DeployRequest, options?: any): AxiosPromise<AccountResponse>;
|
|
6000
6734
|
/**
|
|
6001
6735
|
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
6002
6736
|
* @summary Get existing account.
|
|
@@ -6020,7 +6754,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6020
6754
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: any): AxiosPromise<AccountListResponse>;
|
|
6021
6755
|
/**
|
|
6022
6756
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
6023
|
-
* @summary Request ownership
|
|
6757
|
+
* @summary Request transfer ownership of account.
|
|
6024
6758
|
* @param {string} id Specifies the unique account ID.
|
|
6025
6759
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
6026
6760
|
* @param {*} [options] Override http request option.
|
|
@@ -6028,7 +6762,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6028
6762
|
*/
|
|
6029
6763
|
requestTransferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
6030
6764
|
/**
|
|
6031
|
-
*
|
|
6765
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
6032
6766
|
* @summary Sign a given payload
|
|
6033
6767
|
* @param {string} id Specifies the unique account ID.
|
|
6034
6768
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -6046,7 +6780,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6046
6780
|
*/
|
|
6047
6781
|
startRecovery(id: string, startRecoveryRequest: StartRecoveryRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
6048
6782
|
/**
|
|
6049
|
-
*
|
|
6783
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
6050
6784
|
* @summary Sync account state with the blockchain
|
|
6051
6785
|
* @param {string} id Specifies the unique account ID.
|
|
6052
6786
|
* @param {*} [options] Override http request option.
|
|
@@ -6063,7 +6797,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6063
6797
|
export declare class AccountsApi extends BaseAPI {
|
|
6064
6798
|
/**
|
|
6065
6799
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
6066
|
-
* @summary Cancel request
|
|
6800
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
6067
6801
|
* @param {string} id Specifies the unique account ID.
|
|
6068
6802
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
6069
6803
|
* @param {*} [options] Override http request option.
|
|
@@ -6090,6 +6824,16 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6090
6824
|
* @memberof AccountsApi
|
|
6091
6825
|
*/
|
|
6092
6826
|
createAccount(createAccountRequest: CreateAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
6827
|
+
/**
|
|
6828
|
+
* This endpoint can be used to deploy an account that was counterfactually generated.
|
|
6829
|
+
* @summary Deploy an account.
|
|
6830
|
+
* @param {string} id Specifies the unique account ID.
|
|
6831
|
+
* @param {DeployRequest} deployRequest
|
|
6832
|
+
* @param {*} [options] Override http request option.
|
|
6833
|
+
* @throws {RequiredError}
|
|
6834
|
+
* @memberof AccountsApi
|
|
6835
|
+
*/
|
|
6836
|
+
deployAccount(id: string, deployRequest: DeployRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountResponse, any>>;
|
|
6093
6837
|
/**
|
|
6094
6838
|
* Retrieves the details of an existing account. Supply the unique account ID from either a account creation request or the account list, and Openfort will return the corresponding account information.
|
|
6095
6839
|
* @summary Get existing account.
|
|
@@ -6115,7 +6859,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6115
6859
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountListResponse, any>>;
|
|
6116
6860
|
/**
|
|
6117
6861
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
6118
|
-
* @summary Request ownership
|
|
6862
|
+
* @summary Request transfer ownership of account.
|
|
6119
6863
|
* @param {string} id Specifies the unique account ID.
|
|
6120
6864
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
6121
6865
|
* @param {*} [options] Override http request option.
|
|
@@ -6124,7 +6868,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6124
6868
|
*/
|
|
6125
6869
|
requestTransferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
6126
6870
|
/**
|
|
6127
|
-
*
|
|
6871
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
6128
6872
|
* @summary Sign a given payload
|
|
6129
6873
|
* @param {string} id Specifies the unique account ID.
|
|
6130
6874
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -6144,7 +6888,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6144
6888
|
*/
|
|
6145
6889
|
startRecovery(id: string, startRecoveryRequest: StartRecoveryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
6146
6890
|
/**
|
|
6147
|
-
*
|
|
6891
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
6148
6892
|
* @summary Sync account state with the blockchain
|
|
6149
6893
|
* @param {string} id Specifies the unique account ID.
|
|
6150
6894
|
* @param {*} [options] Override http request option.
|
|
@@ -6321,6 +7065,16 @@ export declare const ContractsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
6321
7065
|
* @throws {RequiredError}
|
|
6322
7066
|
*/
|
|
6323
7067
|
getContracts: (limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7068
|
+
/**
|
|
7069
|
+
* 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.
|
|
7070
|
+
* @summary Read on chain contract data.
|
|
7071
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
7072
|
+
* @param {string} functionName The function name of the contract.
|
|
7073
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
7074
|
+
* @param {*} [options] Override http request option.
|
|
7075
|
+
* @throws {RequiredError}
|
|
7076
|
+
*/
|
|
7077
|
+
readContract: (id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6324
7078
|
/**
|
|
6325
7079
|
*
|
|
6326
7080
|
* @summary Updates a contract object.
|
|
@@ -6374,6 +7128,16 @@ export declare const ContractsApiFp: (configuration?: Configuration) => {
|
|
|
6374
7128
|
* @throws {RequiredError}
|
|
6375
7129
|
*/
|
|
6376
7130
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractListResponse>>;
|
|
7131
|
+
/**
|
|
7132
|
+
* 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.
|
|
7133
|
+
* @summary Read on chain contract data.
|
|
7134
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
7135
|
+
* @param {string} functionName The function name of the contract.
|
|
7136
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
7137
|
+
* @param {*} [options] Override http request option.
|
|
7138
|
+
* @throws {RequiredError}
|
|
7139
|
+
*/
|
|
7140
|
+
readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ContractReadResponse>>;
|
|
6377
7141
|
/**
|
|
6378
7142
|
*
|
|
6379
7143
|
* @summary Updates a contract object.
|
|
@@ -6427,6 +7191,16 @@ export declare const ContractsApiFactory: (configuration?: Configuration, basePa
|
|
|
6427
7191
|
* @throws {RequiredError}
|
|
6428
7192
|
*/
|
|
6429
7193
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: any): AxiosPromise<ContractListResponse>;
|
|
7194
|
+
/**
|
|
7195
|
+
* 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.
|
|
7196
|
+
* @summary Read on chain contract data.
|
|
7197
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
7198
|
+
* @param {string} functionName The function name of the contract.
|
|
7199
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
7200
|
+
* @param {*} [options] Override http request option.
|
|
7201
|
+
* @throws {RequiredError}
|
|
7202
|
+
*/
|
|
7203
|
+
readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: any): AxiosPromise<ContractReadResponse>;
|
|
6430
7204
|
/**
|
|
6431
7205
|
*
|
|
6432
7206
|
* @summary Updates a contract object.
|
|
@@ -6486,6 +7260,17 @@ export declare class ContractsApi extends BaseAPI {
|
|
|
6486
7260
|
* @memberof ContractsApi
|
|
6487
7261
|
*/
|
|
6488
7262
|
getContracts(limit?: number, skip?: number, order?: SortOrder, name?: string, deleted?: boolean, chainId?: number, address?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractListResponse, any>>;
|
|
7263
|
+
/**
|
|
7264
|
+
* 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.
|
|
7265
|
+
* @summary Read on chain contract data.
|
|
7266
|
+
* @param {string} id Specifies the unique contract ID (starts with con_).
|
|
7267
|
+
* @param {string} functionName The function name of the contract.
|
|
7268
|
+
* @param {Array<any>} [functionArgs] The function arguments of the contract.
|
|
7269
|
+
* @param {*} [options] Override http request option.
|
|
7270
|
+
* @throws {RequiredError}
|
|
7271
|
+
* @memberof ContractsApi
|
|
7272
|
+
*/
|
|
7273
|
+
readContract(id: string, functionName: string, functionArgs?: Array<any>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ContractReadResponse, any>>;
|
|
6489
7274
|
/**
|
|
6490
7275
|
*
|
|
6491
7276
|
* @summary Updates a contract object.
|
|
@@ -6980,12 +7765,11 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
6980
7765
|
/**
|
|
6981
7766
|
* The endpoint creates oauth configuration for the current project environment.
|
|
6982
7767
|
* @summary Create oauth configuration.
|
|
6983
|
-
* @param {
|
|
6984
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7768
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
6985
7769
|
* @param {*} [options] Override http request option.
|
|
6986
7770
|
* @throws {RequiredError}
|
|
6987
7771
|
*/
|
|
6988
|
-
createOAuthConfig: (
|
|
7772
|
+
createOAuthConfig: (body: OAuthConfig, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6989
7773
|
/**
|
|
6990
7774
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
6991
7775
|
* @summary Delete oauth configuration.
|
|
@@ -7018,15 +7802,6 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
7018
7802
|
* @throws {RequiredError}
|
|
7019
7803
|
*/
|
|
7020
7804
|
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
7805
|
/**
|
|
7031
7806
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7032
7807
|
* @summary Retrieve player by token.
|
|
@@ -7054,12 +7829,11 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
7054
7829
|
/**
|
|
7055
7830
|
* The endpoint creates oauth configuration for the current project environment.
|
|
7056
7831
|
* @summary Create oauth configuration.
|
|
7057
|
-
* @param {
|
|
7058
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7832
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
7059
7833
|
* @param {*} [options] Override http request option.
|
|
7060
7834
|
* @throws {RequiredError}
|
|
7061
7835
|
*/
|
|
7062
|
-
createOAuthConfig(
|
|
7836
|
+
createOAuthConfig(body: OAuthConfig, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfig>>;
|
|
7063
7837
|
/**
|
|
7064
7838
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
7065
7839
|
* @summary Delete oauth configuration.
|
|
@@ -7075,7 +7849,7 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
7075
7849
|
* @param {*} [options] Override http request option.
|
|
7076
7850
|
* @throws {RequiredError}
|
|
7077
7851
|
*/
|
|
7078
|
-
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
7852
|
+
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OAuthConfig>>;
|
|
7079
7853
|
/**
|
|
7080
7854
|
* Retrieves the player based on his id in the external provider system.
|
|
7081
7855
|
* @summary Retrieve player by external id.
|
|
@@ -7092,15 +7866,6 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
7092
7866
|
* @throws {RequiredError}
|
|
7093
7867
|
*/
|
|
7094
7868
|
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
7869
|
/**
|
|
7105
7870
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7106
7871
|
* @summary Retrieve player by token.
|
|
@@ -7128,12 +7893,11 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7128
7893
|
/**
|
|
7129
7894
|
* The endpoint creates oauth configuration for the current project environment.
|
|
7130
7895
|
* @summary Create oauth configuration.
|
|
7131
|
-
* @param {
|
|
7132
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7896
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
7133
7897
|
* @param {*} [options] Override http request option.
|
|
7134
7898
|
* @throws {RequiredError}
|
|
7135
7899
|
*/
|
|
7136
|
-
createOAuthConfig(
|
|
7900
|
+
createOAuthConfig(body: OAuthConfig, options?: any): AxiosPromise<OAuthConfig>;
|
|
7137
7901
|
/**
|
|
7138
7902
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
7139
7903
|
* @summary Delete oauth configuration.
|
|
@@ -7149,7 +7913,7 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7149
7913
|
* @param {*} [options] Override http request option.
|
|
7150
7914
|
* @throws {RequiredError}
|
|
7151
7915
|
*/
|
|
7152
|
-
getOAuthConfig(provider: OAuthProvider, options?: any): AxiosPromise<
|
|
7916
|
+
getOAuthConfig(provider: OAuthProvider, options?: any): AxiosPromise<OAuthConfig>;
|
|
7153
7917
|
/**
|
|
7154
7918
|
* Retrieves the player based on his id in the external provider system.
|
|
7155
7919
|
* @summary Retrieve player by external id.
|
|
@@ -7166,15 +7930,6 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
7166
7930
|
* @throws {RequiredError}
|
|
7167
7931
|
*/
|
|
7168
7932
|
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
7933
|
/**
|
|
7179
7934
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7180
7935
|
* @summary Retrieve player by token.
|
|
@@ -7205,13 +7960,12 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
7205
7960
|
/**
|
|
7206
7961
|
* The endpoint creates oauth configuration for the current project environment.
|
|
7207
7962
|
* @summary Create oauth configuration.
|
|
7208
|
-
* @param {
|
|
7209
|
-
* @param {OAuthConfigRequest} oAuthConfigRequest Specifies the oauth provider specific configuration.
|
|
7963
|
+
* @param {OAuthConfig} body Specifies the oauth provider specific configuration.
|
|
7210
7964
|
* @param {*} [options] Override http request option.
|
|
7211
7965
|
* @throws {RequiredError}
|
|
7212
7966
|
* @memberof OAuthApi
|
|
7213
7967
|
*/
|
|
7214
|
-
createOAuthConfig(
|
|
7968
|
+
createOAuthConfig(body: OAuthConfig, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfig, any>>;
|
|
7215
7969
|
/**
|
|
7216
7970
|
* The endpoint deletes oauth configuration for specified provider for the current project environment.
|
|
7217
7971
|
* @summary Delete oauth configuration.
|
|
@@ -7229,7 +7983,7 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
7229
7983
|
* @throws {RequiredError}
|
|
7230
7984
|
* @memberof OAuthApi
|
|
7231
7985
|
*/
|
|
7232
|
-
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
7986
|
+
getOAuthConfig(provider: OAuthProvider, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<OAuthConfig, any>>;
|
|
7233
7987
|
/**
|
|
7234
7988
|
* Retrieves the player based on his id in the external provider system.
|
|
7235
7989
|
* @summary Retrieve player by external id.
|
|
@@ -7248,16 +8002,6 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
7248
8002
|
* @memberof OAuthApi
|
|
7249
8003
|
*/
|
|
7250
8004
|
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
8005
|
/**
|
|
7262
8006
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player.
|
|
7263
8007
|
* @summary Retrieve player by token.
|
|
@@ -7286,11 +8030,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7286
8030
|
/**
|
|
7287
8031
|
* Add a new player to your player list in Openfort.
|
|
7288
8032
|
* @summary Create a player object.
|
|
7289
|
-
* @param {
|
|
8033
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7290
8034
|
* @param {*} [options] Override http request option.
|
|
7291
8035
|
* @throws {RequiredError}
|
|
7292
8036
|
*/
|
|
7293
|
-
createPlayer: (
|
|
8037
|
+
createPlayer: (playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7294
8038
|
/**
|
|
7295
8039
|
*
|
|
7296
8040
|
* @summary Create account object for a player.
|
|
@@ -7309,6 +8053,14 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7309
8053
|
* @throws {RequiredError}
|
|
7310
8054
|
*/
|
|
7311
8055
|
createPlayerSession: (id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8056
|
+
/**
|
|
8057
|
+
*
|
|
8058
|
+
* @summary Deletes a player object.
|
|
8059
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8060
|
+
* @param {*} [options] Override http request option.
|
|
8061
|
+
* @throws {RequiredError}
|
|
8062
|
+
*/
|
|
8063
|
+
deletePlayer: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7312
8064
|
/**
|
|
7313
8065
|
*
|
|
7314
8066
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7339,26 +8091,6 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7339
8091
|
* @throws {RequiredError}
|
|
7340
8092
|
*/
|
|
7341
8093
|
getPlayers: (limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7342
|
-
/**
|
|
7343
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
7344
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
7345
|
-
* @param {string} id
|
|
7346
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
7347
|
-
* @param {*} [options] Override http request option.
|
|
7348
|
-
* @deprecated
|
|
7349
|
-
* @throws {RequiredError}
|
|
7350
|
-
*/
|
|
7351
|
-
obsoleteCancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7352
|
-
/**
|
|
7353
|
-
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7354
|
-
* @summary Request transfer ownership of account.
|
|
7355
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7356
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
7357
|
-
* @param {*} [options] Override http request option.
|
|
7358
|
-
* @deprecated
|
|
7359
|
-
* @throws {RequiredError}
|
|
7360
|
-
*/
|
|
7361
|
-
obsoleteRequestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7362
8094
|
/**
|
|
7363
8095
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7364
8096
|
* @summary Request transfer ownership of account.
|
|
@@ -7381,11 +8113,11 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7381
8113
|
*
|
|
7382
8114
|
* @summary Updates a player object.
|
|
7383
8115
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7384
|
-
* @param {
|
|
8116
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7385
8117
|
* @param {*} [options] Override http request option.
|
|
7386
8118
|
* @throws {RequiredError}
|
|
7387
8119
|
*/
|
|
7388
|
-
updatePlayer: (id: string,
|
|
8120
|
+
updatePlayer: (id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7389
8121
|
};
|
|
7390
8122
|
/**
|
|
7391
8123
|
* PlayersApi - functional programming interface
|
|
@@ -7404,11 +8136,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7404
8136
|
/**
|
|
7405
8137
|
* Add a new player to your player list in Openfort.
|
|
7406
8138
|
* @summary Create a player object.
|
|
7407
|
-
* @param {
|
|
8139
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7408
8140
|
* @param {*} [options] Override http request option.
|
|
7409
8141
|
* @throws {RequiredError}
|
|
7410
8142
|
*/
|
|
7411
|
-
createPlayer(
|
|
8143
|
+
createPlayer(playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
|
|
7412
8144
|
/**
|
|
7413
8145
|
*
|
|
7414
8146
|
* @summary Create account object for a player.
|
|
@@ -7427,6 +8159,14 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7427
8159
|
* @throws {RequiredError}
|
|
7428
8160
|
*/
|
|
7429
8161
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SessionResponse>>;
|
|
8162
|
+
/**
|
|
8163
|
+
*
|
|
8164
|
+
* @summary Deletes a player object.
|
|
8165
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8166
|
+
* @param {*} [options] Override http request option.
|
|
8167
|
+
* @throws {RequiredError}
|
|
8168
|
+
*/
|
|
8169
|
+
deletePlayer(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerDeleteResponse>>;
|
|
7430
8170
|
/**
|
|
7431
8171
|
*
|
|
7432
8172
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7457,26 +8197,6 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7457
8197
|
* @throws {RequiredError}
|
|
7458
8198
|
*/
|
|
7459
8199
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerListResponse>>;
|
|
7460
|
-
/**
|
|
7461
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
7462
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
7463
|
-
* @param {string} id
|
|
7464
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
7465
|
-
* @param {*} [options] Override http request option.
|
|
7466
|
-
* @deprecated
|
|
7467
|
-
* @throws {RequiredError}
|
|
7468
|
-
*/
|
|
7469
|
-
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
7470
|
-
/**
|
|
7471
|
-
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7472
|
-
* @summary Request transfer ownership of account.
|
|
7473
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7474
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
7475
|
-
* @param {*} [options] Override http request option.
|
|
7476
|
-
* @deprecated
|
|
7477
|
-
* @throws {RequiredError}
|
|
7478
|
-
*/
|
|
7479
|
-
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
7480
8200
|
/**
|
|
7481
8201
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7482
8202
|
* @summary Request transfer ownership of account.
|
|
@@ -7499,11 +8219,11 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7499
8219
|
*
|
|
7500
8220
|
* @summary Updates a player object.
|
|
7501
8221
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7502
|
-
* @param {
|
|
8222
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7503
8223
|
* @param {*} [options] Override http request option.
|
|
7504
8224
|
* @throws {RequiredError}
|
|
7505
8225
|
*/
|
|
7506
|
-
updatePlayer(id: string,
|
|
8226
|
+
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerResponse>>;
|
|
7507
8227
|
};
|
|
7508
8228
|
/**
|
|
7509
8229
|
* PlayersApi - factory interface
|
|
@@ -7522,11 +8242,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
7522
8242
|
/**
|
|
7523
8243
|
* Add a new player to your player list in Openfort.
|
|
7524
8244
|
* @summary Create a player object.
|
|
7525
|
-
* @param {
|
|
8245
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7526
8246
|
* @param {*} [options] Override http request option.
|
|
7527
8247
|
* @throws {RequiredError}
|
|
7528
8248
|
*/
|
|
7529
|
-
createPlayer(
|
|
8249
|
+
createPlayer(playerCreateRequest: PlayerCreateRequest, options?: any): AxiosPromise<PlayerResponse>;
|
|
7530
8250
|
/**
|
|
7531
8251
|
*
|
|
7532
8252
|
* @summary Create account object for a player.
|
|
@@ -7545,6 +8265,14 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
7545
8265
|
* @throws {RequiredError}
|
|
7546
8266
|
*/
|
|
7547
8267
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: any): AxiosPromise<SessionResponse>;
|
|
8268
|
+
/**
|
|
8269
|
+
*
|
|
8270
|
+
* @summary Deletes a player object.
|
|
8271
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8272
|
+
* @param {*} [options] Override http request option.
|
|
8273
|
+
* @throws {RequiredError}
|
|
8274
|
+
*/
|
|
8275
|
+
deletePlayer(id: string, options?: any): AxiosPromise<PlayerDeleteResponse>;
|
|
7548
8276
|
/**
|
|
7549
8277
|
*
|
|
7550
8278
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7575,26 +8303,6 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
7575
8303
|
* @throws {RequiredError}
|
|
7576
8304
|
*/
|
|
7577
8305
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: any): AxiosPromise<PlayerListResponse>;
|
|
7578
|
-
/**
|
|
7579
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
7580
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
7581
|
-
* @param {string} id
|
|
7582
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
7583
|
-
* @param {*} [options] Override http request option.
|
|
7584
|
-
* @deprecated
|
|
7585
|
-
* @throws {RequiredError}
|
|
7586
|
-
*/
|
|
7587
|
-
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
7588
|
-
/**
|
|
7589
|
-
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7590
|
-
* @summary Request transfer ownership of account.
|
|
7591
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7592
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
7593
|
-
* @param {*} [options] Override http request option.
|
|
7594
|
-
* @deprecated
|
|
7595
|
-
* @throws {RequiredError}
|
|
7596
|
-
*/
|
|
7597
|
-
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
7598
8306
|
/**
|
|
7599
8307
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7600
8308
|
* @summary Request transfer ownership of account.
|
|
@@ -7617,11 +8325,11 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
7617
8325
|
*
|
|
7618
8326
|
* @summary Updates a player object.
|
|
7619
8327
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7620
|
-
* @param {
|
|
8328
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7621
8329
|
* @param {*} [options] Override http request option.
|
|
7622
8330
|
* @throws {RequiredError}
|
|
7623
8331
|
*/
|
|
7624
|
-
updatePlayer(id: string,
|
|
8332
|
+
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: any): AxiosPromise<PlayerResponse>;
|
|
7625
8333
|
};
|
|
7626
8334
|
/**
|
|
7627
8335
|
* PlayersApi - object-oriented interface
|
|
@@ -7643,12 +8351,12 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
7643
8351
|
/**
|
|
7644
8352
|
* Add a new player to your player list in Openfort.
|
|
7645
8353
|
* @summary Create a player object.
|
|
7646
|
-
* @param {
|
|
8354
|
+
* @param {PlayerCreateRequest} playerCreateRequest
|
|
7647
8355
|
* @param {*} [options] Override http request option.
|
|
7648
8356
|
* @throws {RequiredError}
|
|
7649
8357
|
* @memberof PlayersApi
|
|
7650
8358
|
*/
|
|
7651
|
-
createPlayer(
|
|
8359
|
+
createPlayer(playerCreateRequest: PlayerCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
|
|
7652
8360
|
/**
|
|
7653
8361
|
*
|
|
7654
8362
|
* @summary Create account object for a player.
|
|
@@ -7669,6 +8377,15 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
7669
8377
|
* @memberof PlayersApi
|
|
7670
8378
|
*/
|
|
7671
8379
|
createPlayerSession(id: string, createPlayerSessionRequest: CreatePlayerSessionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
8380
|
+
/**
|
|
8381
|
+
*
|
|
8382
|
+
* @summary Deletes a player object.
|
|
8383
|
+
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8384
|
+
* @param {*} [options] Override http request option.
|
|
8385
|
+
* @throws {RequiredError}
|
|
8386
|
+
* @memberof PlayersApi
|
|
8387
|
+
*/
|
|
8388
|
+
deletePlayer(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerDeleteResponse, any>>;
|
|
7672
8389
|
/**
|
|
7673
8390
|
*
|
|
7674
8391
|
* @summary Retrieves the details of an existing player.
|
|
@@ -7702,28 +8419,6 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
7702
8419
|
* @memberof PlayersApi
|
|
7703
8420
|
*/
|
|
7704
8421
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerListResponse, any>>;
|
|
7705
|
-
/**
|
|
7706
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
7707
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
7708
|
-
* @param {string} id
|
|
7709
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
7710
|
-
* @param {*} [options] Override http request option.
|
|
7711
|
-
* @deprecated
|
|
7712
|
-
* @throws {RequiredError}
|
|
7713
|
-
* @memberof PlayersApi
|
|
7714
|
-
*/
|
|
7715
|
-
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
7716
|
-
/**
|
|
7717
|
-
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7718
|
-
* @summary Request transfer ownership of account.
|
|
7719
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7720
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
7721
|
-
* @param {*} [options] Override http request option.
|
|
7722
|
-
* @deprecated
|
|
7723
|
-
* @throws {RequiredError}
|
|
7724
|
-
* @memberof PlayersApi
|
|
7725
|
-
*/
|
|
7726
|
-
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
7727
8422
|
/**
|
|
7728
8423
|
* This endpoint allows you to perform a request to change the owner of an account. To perform an update on the owner of an account, first you must provide a new owner address. Once requested, the owner must accept to take ownership by calling `acceptOwnership()` in the smart contract account.
|
|
7729
8424
|
* @summary Request transfer ownership of account.
|
|
@@ -7748,12 +8443,12 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
7748
8443
|
*
|
|
7749
8444
|
* @summary Updates a player object.
|
|
7750
8445
|
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7751
|
-
* @param {
|
|
8446
|
+
* @param {PlayerUpdateRequest} playerUpdateRequest
|
|
7752
8447
|
* @param {*} [options] Override http request option.
|
|
7753
8448
|
* @throws {RequiredError}
|
|
7754
8449
|
* @memberof PlayersApi
|
|
7755
8450
|
*/
|
|
7756
|
-
updatePlayer(id: string,
|
|
8451
|
+
updatePlayer(id: string, playerUpdateRequest: PlayerUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerResponse, any>>;
|
|
7757
8452
|
}
|
|
7758
8453
|
/**
|
|
7759
8454
|
* PlayersAuthenticationApi - axios parameter creator
|
|
@@ -7771,6 +8466,21 @@ export declare const PlayersAuthenticationApiAxiosParamCreator: (configuration?:
|
|
|
7771
8466
|
* @throws {RequiredError}
|
|
7772
8467
|
*/
|
|
7773
8468
|
getAuthenticatedPlayers: (limit?: number, skip?: number, order?: SortOrder, email?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8469
|
+
/**
|
|
8470
|
+
*
|
|
8471
|
+
* @summary Register a key for the authenticated player.
|
|
8472
|
+
* @param {RegisterPlayerEncryptedKeyRequest} registerPlayerEncryptedKeyRequest
|
|
8473
|
+
* @param {*} [options] Override http request option.
|
|
8474
|
+
* @throws {RequiredError}
|
|
8475
|
+
*/
|
|
8476
|
+
registerKey: (registerPlayerEncryptedKeyRequest: RegisterPlayerEncryptedKeyRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8477
|
+
/**
|
|
8478
|
+
*
|
|
8479
|
+
* @summary Retrieve the key for the authenticated player.
|
|
8480
|
+
* @param {*} [options] Override http request option.
|
|
8481
|
+
* @throws {RequiredError}
|
|
8482
|
+
*/
|
|
8483
|
+
retrieveKey: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7774
8484
|
};
|
|
7775
8485
|
/**
|
|
7776
8486
|
* PlayersAuthenticationApi - functional programming interface
|
|
@@ -7779,15 +8489,30 @@ export declare const PlayersAuthenticationApiAxiosParamCreator: (configuration?:
|
|
|
7779
8489
|
export declare const PlayersAuthenticationApiFp: (configuration?: Configuration) => {
|
|
7780
8490
|
/**
|
|
7781
8491
|
*
|
|
7782
|
-
* @summary List authenticated players.
|
|
7783
|
-
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
7784
|
-
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
7785
|
-
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
7786
|
-
* @param {string} [email] Specifies the email address of the user.
|
|
8492
|
+
* @summary List authenticated players.
|
|
8493
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
8494
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
8495
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
8496
|
+
* @param {string} [email] Specifies the email address of the user.
|
|
8497
|
+
* @param {*} [options] Override http request option.
|
|
8498
|
+
* @throws {RequiredError}
|
|
8499
|
+
*/
|
|
8500
|
+
getAuthenticatedPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthPlayerListResponse>>;
|
|
8501
|
+
/**
|
|
8502
|
+
*
|
|
8503
|
+
* @summary Register a key for the authenticated player.
|
|
8504
|
+
* @param {RegisterPlayerEncryptedKeyRequest} registerPlayerEncryptedKeyRequest
|
|
8505
|
+
* @param {*} [options] Override http request option.
|
|
8506
|
+
* @throws {RequiredError}
|
|
8507
|
+
*/
|
|
8508
|
+
registerKey(registerPlayerEncryptedKeyRequest: RegisterPlayerEncryptedKeyRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterPlayerEncryptedKeyResponse>>;
|
|
8509
|
+
/**
|
|
8510
|
+
*
|
|
8511
|
+
* @summary Retrieve the key for the authenticated player.
|
|
7787
8512
|
* @param {*} [options] Override http request option.
|
|
7788
8513
|
* @throws {RequiredError}
|
|
7789
8514
|
*/
|
|
7790
|
-
|
|
8515
|
+
retrieveKey(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrievePlayerEncryptedKeyResponse>>;
|
|
7791
8516
|
};
|
|
7792
8517
|
/**
|
|
7793
8518
|
* PlayersAuthenticationApi - factory interface
|
|
@@ -7805,6 +8530,21 @@ export declare const PlayersAuthenticationApiFactory: (configuration?: Configura
|
|
|
7805
8530
|
* @throws {RequiredError}
|
|
7806
8531
|
*/
|
|
7807
8532
|
getAuthenticatedPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, options?: any): AxiosPromise<AuthPlayerListResponse>;
|
|
8533
|
+
/**
|
|
8534
|
+
*
|
|
8535
|
+
* @summary Register a key for the authenticated player.
|
|
8536
|
+
* @param {RegisterPlayerEncryptedKeyRequest} registerPlayerEncryptedKeyRequest
|
|
8537
|
+
* @param {*} [options] Override http request option.
|
|
8538
|
+
* @throws {RequiredError}
|
|
8539
|
+
*/
|
|
8540
|
+
registerKey(registerPlayerEncryptedKeyRequest: RegisterPlayerEncryptedKeyRequest, options?: any): AxiosPromise<RegisterPlayerEncryptedKeyResponse>;
|
|
8541
|
+
/**
|
|
8542
|
+
*
|
|
8543
|
+
* @summary Retrieve the key for the authenticated player.
|
|
8544
|
+
* @param {*} [options] Override http request option.
|
|
8545
|
+
* @throws {RequiredError}
|
|
8546
|
+
*/
|
|
8547
|
+
retrieveKey(options?: any): AxiosPromise<RetrievePlayerEncryptedKeyResponse>;
|
|
7808
8548
|
};
|
|
7809
8549
|
/**
|
|
7810
8550
|
* PlayersAuthenticationApi - object-oriented interface
|
|
@@ -7825,6 +8565,23 @@ export declare class PlayersAuthenticationApi extends BaseAPI {
|
|
|
7825
8565
|
* @memberof PlayersAuthenticationApi
|
|
7826
8566
|
*/
|
|
7827
8567
|
getAuthenticatedPlayers(limit?: number, skip?: number, order?: SortOrder, email?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AuthPlayerListResponse, any>>;
|
|
8568
|
+
/**
|
|
8569
|
+
*
|
|
8570
|
+
* @summary Register a key for the authenticated player.
|
|
8571
|
+
* @param {RegisterPlayerEncryptedKeyRequest} registerPlayerEncryptedKeyRequest
|
|
8572
|
+
* @param {*} [options] Override http request option.
|
|
8573
|
+
* @throws {RequiredError}
|
|
8574
|
+
* @memberof PlayersAuthenticationApi
|
|
8575
|
+
*/
|
|
8576
|
+
registerKey(registerPlayerEncryptedKeyRequest: RegisterPlayerEncryptedKeyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegisterPlayerEncryptedKeyResponse, any>>;
|
|
8577
|
+
/**
|
|
8578
|
+
*
|
|
8579
|
+
* @summary Retrieve the key for the authenticated player.
|
|
8580
|
+
* @param {*} [options] Override http request option.
|
|
8581
|
+
* @throws {RequiredError}
|
|
8582
|
+
* @memberof PlayersAuthenticationApi
|
|
8583
|
+
*/
|
|
8584
|
+
retrieveKey(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RetrievePlayerEncryptedKeyResponse, any>>;
|
|
7828
8585
|
}
|
|
7829
8586
|
/**
|
|
7830
8587
|
* PoliciesApi - axios parameter creator
|
|
@@ -7925,8 +8682,8 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
7925
8682
|
/**
|
|
7926
8683
|
*
|
|
7927
8684
|
* @summary Update a policy rule object of a policy.
|
|
7928
|
-
* @param {string} policy
|
|
7929
|
-
* @param {string} policyRule
|
|
8685
|
+
* @param {string} policy Specifies the unique policy ID (starts with pol_).
|
|
8686
|
+
* @param {string} policyRule Specifies the unique policy rule ID (starts with afu_).
|
|
7930
8687
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
7931
8688
|
* @param {*} [options] Override http request option.
|
|
7932
8689
|
* @throws {RequiredError}
|
|
@@ -8032,8 +8789,8 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
8032
8789
|
/**
|
|
8033
8790
|
*
|
|
8034
8791
|
* @summary Update a policy rule object of a policy.
|
|
8035
|
-
* @param {string} policy
|
|
8036
|
-
* @param {string} policyRule
|
|
8792
|
+
* @param {string} policy Specifies the unique policy ID (starts with pol_).
|
|
8793
|
+
* @param {string} policyRule Specifies the unique policy rule ID (starts with afu_).
|
|
8037
8794
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8038
8795
|
* @param {*} [options] Override http request option.
|
|
8039
8796
|
* @throws {RequiredError}
|
|
@@ -8139,8 +8896,8 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
8139
8896
|
/**
|
|
8140
8897
|
*
|
|
8141
8898
|
* @summary Update a policy rule object of a policy.
|
|
8142
|
-
* @param {string} policy
|
|
8143
|
-
* @param {string} policyRule
|
|
8899
|
+
* @param {string} policy Specifies the unique policy ID (starts with pol_).
|
|
8900
|
+
* @param {string} policyRule Specifies the unique policy rule ID (starts with afu_).
|
|
8144
8901
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8145
8902
|
* @param {*} [options] Override http request option.
|
|
8146
8903
|
* @throws {RequiredError}
|
|
@@ -8258,8 +9015,8 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
8258
9015
|
/**
|
|
8259
9016
|
*
|
|
8260
9017
|
* @summary Update a policy rule object of a policy.
|
|
8261
|
-
* @param {string} policy
|
|
8262
|
-
* @param {string} policyRule
|
|
9018
|
+
* @param {string} policy Specifies the unique policy ID (starts with pol_).
|
|
9019
|
+
* @param {string} policyRule Specifies the unique policy rule ID (starts with afu_).
|
|
8263
9020
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8264
9021
|
* @param {*} [options] Override http request option.
|
|
8265
9022
|
* @throws {RequiredError}
|
|
@@ -8283,7 +9040,7 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
8283
9040
|
/**
|
|
8284
9041
|
*
|
|
8285
9042
|
* @summary Deletes a policy rule object.
|
|
8286
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9043
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8287
9044
|
* @param {*} [options] Override http request option.
|
|
8288
9045
|
* @throws {RequiredError}
|
|
8289
9046
|
*/
|
|
@@ -8303,7 +9060,7 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
8303
9060
|
/**
|
|
8304
9061
|
*
|
|
8305
9062
|
* @summary Update a policy rule object.
|
|
8306
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9063
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8307
9064
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8308
9065
|
* @param {*} [options] Override http request option.
|
|
8309
9066
|
* @throws {RequiredError}
|
|
@@ -8326,7 +9083,7 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
8326
9083
|
/**
|
|
8327
9084
|
*
|
|
8328
9085
|
* @summary Deletes a policy rule object.
|
|
8329
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9086
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8330
9087
|
* @param {*} [options] Override http request option.
|
|
8331
9088
|
* @throws {RequiredError}
|
|
8332
9089
|
*/
|
|
@@ -8346,7 +9103,7 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
8346
9103
|
/**
|
|
8347
9104
|
*
|
|
8348
9105
|
* @summary Update a policy rule object.
|
|
8349
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9106
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8350
9107
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8351
9108
|
* @param {*} [options] Override http request option.
|
|
8352
9109
|
* @throws {RequiredError}
|
|
@@ -8369,7 +9126,7 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
8369
9126
|
/**
|
|
8370
9127
|
*
|
|
8371
9128
|
* @summary Deletes a policy rule object.
|
|
8372
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9129
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8373
9130
|
* @param {*} [options] Override http request option.
|
|
8374
9131
|
* @throws {RequiredError}
|
|
8375
9132
|
*/
|
|
@@ -8389,7 +9146,7 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
8389
9146
|
/**
|
|
8390
9147
|
*
|
|
8391
9148
|
* @summary Update a policy rule object.
|
|
8392
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9149
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8393
9150
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8394
9151
|
* @param {*} [options] Override http request option.
|
|
8395
9152
|
* @throws {RequiredError}
|
|
@@ -8415,7 +9172,7 @@ export declare class PolicyRulesApi extends BaseAPI {
|
|
|
8415
9172
|
/**
|
|
8416
9173
|
*
|
|
8417
9174
|
* @summary Deletes a policy rule object.
|
|
8418
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9175
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8419
9176
|
* @param {*} [options] Override http request option.
|
|
8420
9177
|
* @throws {RequiredError}
|
|
8421
9178
|
* @memberof PolicyRulesApi
|
|
@@ -8437,7 +9194,7 @@ export declare class PolicyRulesApi extends BaseAPI {
|
|
|
8437
9194
|
/**
|
|
8438
9195
|
*
|
|
8439
9196
|
* @summary Update a policy rule object.
|
|
8440
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9197
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8441
9198
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8442
9199
|
* @param {*} [options] Override http request option.
|
|
8443
9200
|
* @throws {RequiredError}
|
|
@@ -8660,6 +9417,222 @@ export declare class SessionsApi extends BaseAPI {
|
|
|
8660
9417
|
*/
|
|
8661
9418
|
signatureSession(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SessionResponse, any>>;
|
|
8662
9419
|
}
|
|
9420
|
+
/**
|
|
9421
|
+
* SettingsApi - axios parameter creator
|
|
9422
|
+
* @export
|
|
9423
|
+
*/
|
|
9424
|
+
export declare const SettingsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9425
|
+
/**
|
|
9426
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9427
|
+
* @summary Add depositor address.
|
|
9428
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9429
|
+
* @param {*} [options] Override http request option.
|
|
9430
|
+
* @throws {RequiredError}
|
|
9431
|
+
*/
|
|
9432
|
+
addDepositorAddress: (paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9433
|
+
/**
|
|
9434
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9435
|
+
* @summary List of depositor addresses.
|
|
9436
|
+
* @param {*} [options] Override http request option.
|
|
9437
|
+
* @throws {RequiredError}
|
|
9438
|
+
*/
|
|
9439
|
+
getDepositorAddresses: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9440
|
+
/**
|
|
9441
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9442
|
+
* @summary Generate message to sign
|
|
9443
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9444
|
+
* @param {*} [options] Override http request option.
|
|
9445
|
+
* @throws {RequiredError}
|
|
9446
|
+
*/
|
|
9447
|
+
getMessageForSigningDepositorAddress: (address: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9448
|
+
/**
|
|
9449
|
+
* Remove a depositor address from the current project environment.
|
|
9450
|
+
* @summary Removes depositor address.
|
|
9451
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9452
|
+
* @param {*} [options] Override http request option.
|
|
9453
|
+
* @throws {RequiredError}
|
|
9454
|
+
*/
|
|
9455
|
+
removeDepositorAddress: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9456
|
+
/**
|
|
9457
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9458
|
+
* @summary Removes webhook.
|
|
9459
|
+
* @param {*} [options] Override http request option.
|
|
9460
|
+
* @throws {RequiredError}
|
|
9461
|
+
*/
|
|
9462
|
+
removeWebhook: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9463
|
+
/**
|
|
9464
|
+
* 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.
|
|
9465
|
+
* @summary Update webhook.
|
|
9466
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9467
|
+
* @param {*} [options] Override http request option.
|
|
9468
|
+
* @throws {RequiredError}
|
|
9469
|
+
*/
|
|
9470
|
+
updateWebhook: (settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9471
|
+
};
|
|
9472
|
+
/**
|
|
9473
|
+
* SettingsApi - functional programming interface
|
|
9474
|
+
* @export
|
|
9475
|
+
*/
|
|
9476
|
+
export declare const SettingsApiFp: (configuration?: Configuration) => {
|
|
9477
|
+
/**
|
|
9478
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9479
|
+
* @summary Add depositor address.
|
|
9480
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9481
|
+
* @param {*} [options] Override http request option.
|
|
9482
|
+
* @throws {RequiredError}
|
|
9483
|
+
*/
|
|
9484
|
+
addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorResponse>>;
|
|
9485
|
+
/**
|
|
9486
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9487
|
+
* @summary List of depositor addresses.
|
|
9488
|
+
* @param {*} [options] Override http request option.
|
|
9489
|
+
* @throws {RequiredError}
|
|
9490
|
+
*/
|
|
9491
|
+
getDepositorAddresses(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorListResponse>>;
|
|
9492
|
+
/**
|
|
9493
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9494
|
+
* @summary Generate message to sign
|
|
9495
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9496
|
+
* @param {*} [options] Override http request option.
|
|
9497
|
+
* @throws {RequiredError}
|
|
9498
|
+
*/
|
|
9499
|
+
getMessageForSigningDepositorAddress(address: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorGetMessageResponse>>;
|
|
9500
|
+
/**
|
|
9501
|
+
* Remove a depositor address from the current project environment.
|
|
9502
|
+
* @summary Removes depositor address.
|
|
9503
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9504
|
+
* @param {*} [options] Override http request option.
|
|
9505
|
+
* @throws {RequiredError}
|
|
9506
|
+
*/
|
|
9507
|
+
removeDepositorAddress(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymasterDepositorDeleteResponse>>;
|
|
9508
|
+
/**
|
|
9509
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9510
|
+
* @summary Removes webhook.
|
|
9511
|
+
* @param {*} [options] Override http request option.
|
|
9512
|
+
* @throws {RequiredError}
|
|
9513
|
+
*/
|
|
9514
|
+
removeWebhook(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9515
|
+
/**
|
|
9516
|
+
* 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.
|
|
9517
|
+
* @summary Update webhook.
|
|
9518
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9519
|
+
* @param {*} [options] Override http request option.
|
|
9520
|
+
* @throws {RequiredError}
|
|
9521
|
+
*/
|
|
9522
|
+
updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9523
|
+
};
|
|
9524
|
+
/**
|
|
9525
|
+
* SettingsApi - factory interface
|
|
9526
|
+
* @export
|
|
9527
|
+
*/
|
|
9528
|
+
export declare const SettingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9529
|
+
/**
|
|
9530
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9531
|
+
* @summary Add depositor address.
|
|
9532
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9533
|
+
* @param {*} [options] Override http request option.
|
|
9534
|
+
* @throws {RequiredError}
|
|
9535
|
+
*/
|
|
9536
|
+
addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: any): AxiosPromise<PaymasterDepositorResponse>;
|
|
9537
|
+
/**
|
|
9538
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9539
|
+
* @summary List of depositor addresses.
|
|
9540
|
+
* @param {*} [options] Override http request option.
|
|
9541
|
+
* @throws {RequiredError}
|
|
9542
|
+
*/
|
|
9543
|
+
getDepositorAddresses(options?: any): AxiosPromise<PaymasterDepositorListResponse>;
|
|
9544
|
+
/**
|
|
9545
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9546
|
+
* @summary Generate message to sign
|
|
9547
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9548
|
+
* @param {*} [options] Override http request option.
|
|
9549
|
+
* @throws {RequiredError}
|
|
9550
|
+
*/
|
|
9551
|
+
getMessageForSigningDepositorAddress(address: string, options?: any): AxiosPromise<PaymasterDepositorGetMessageResponse>;
|
|
9552
|
+
/**
|
|
9553
|
+
* Remove a depositor address from the current project environment.
|
|
9554
|
+
* @summary Removes depositor address.
|
|
9555
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9556
|
+
* @param {*} [options] Override http request option.
|
|
9557
|
+
* @throws {RequiredError}
|
|
9558
|
+
*/
|
|
9559
|
+
removeDepositorAddress(id: string, options?: any): AxiosPromise<PaymasterDepositorDeleteResponse>;
|
|
9560
|
+
/**
|
|
9561
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9562
|
+
* @summary Removes webhook.
|
|
9563
|
+
* @param {*} [options] Override http request option.
|
|
9564
|
+
* @throws {RequiredError}
|
|
9565
|
+
*/
|
|
9566
|
+
removeWebhook(options?: any): AxiosPromise<void>;
|
|
9567
|
+
/**
|
|
9568
|
+
* 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.
|
|
9569
|
+
* @summary Update webhook.
|
|
9570
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9571
|
+
* @param {*} [options] Override http request option.
|
|
9572
|
+
* @throws {RequiredError}
|
|
9573
|
+
*/
|
|
9574
|
+
updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: any): AxiosPromise<void>;
|
|
9575
|
+
};
|
|
9576
|
+
/**
|
|
9577
|
+
* SettingsApi - object-oriented interface
|
|
9578
|
+
* @export
|
|
9579
|
+
* @class SettingsApi
|
|
9580
|
+
* @extends {BaseAPI}
|
|
9581
|
+
*/
|
|
9582
|
+
export declare class SettingsApi extends BaseAPI {
|
|
9583
|
+
/**
|
|
9584
|
+
* Verify signature and add a depositor address to the current project environment.
|
|
9585
|
+
* @summary Add depositor address.
|
|
9586
|
+
* @param {PaymasterDepositorCreateRequest} paymasterDepositorCreateRequest
|
|
9587
|
+
* @param {*} [options] Override http request option.
|
|
9588
|
+
* @throws {RequiredError}
|
|
9589
|
+
* @memberof SettingsApi
|
|
9590
|
+
*/
|
|
9591
|
+
addDepositorAddress(paymasterDepositorCreateRequest: PaymasterDepositorCreateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorResponse, any>>;
|
|
9592
|
+
/**
|
|
9593
|
+
* Retrieve the list of the depositor addresses for the current project environment.
|
|
9594
|
+
* @summary List of depositor addresses.
|
|
9595
|
+
* @param {*} [options] Override http request option.
|
|
9596
|
+
* @throws {RequiredError}
|
|
9597
|
+
* @memberof SettingsApi
|
|
9598
|
+
*/
|
|
9599
|
+
getDepositorAddresses(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorListResponse, any>>;
|
|
9600
|
+
/**
|
|
9601
|
+
* Generate message, which should be signed for verification of the address ownership.
|
|
9602
|
+
* @summary Generate message to sign
|
|
9603
|
+
* @param {string} address Specifies the paymaster depositor address
|
|
9604
|
+
* @param {*} [options] Override http request option.
|
|
9605
|
+
* @throws {RequiredError}
|
|
9606
|
+
* @memberof SettingsApi
|
|
9607
|
+
*/
|
|
9608
|
+
getMessageForSigningDepositorAddress(address: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorGetMessageResponse, any>>;
|
|
9609
|
+
/**
|
|
9610
|
+
* Remove a depositor address from the current project environment.
|
|
9611
|
+
* @summary Removes depositor address.
|
|
9612
|
+
* @param {string} id Specifies unique identifier of depositor address.
|
|
9613
|
+
* @param {*} [options] Override http request option.
|
|
9614
|
+
* @throws {RequiredError}
|
|
9615
|
+
* @memberof SettingsApi
|
|
9616
|
+
*/
|
|
9617
|
+
removeDepositorAddress(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymasterDepositorDeleteResponse, any>>;
|
|
9618
|
+
/**
|
|
9619
|
+
* Updated the current project environment settings by removing the webhook address. After that system will stop sending events of the transaction intent state changes
|
|
9620
|
+
* @summary Removes webhook.
|
|
9621
|
+
* @param {*} [options] Override http request option.
|
|
9622
|
+
* @throws {RequiredError}
|
|
9623
|
+
* @memberof SettingsApi
|
|
9624
|
+
*/
|
|
9625
|
+
removeWebhook(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
9626
|
+
/**
|
|
9627
|
+
* 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.
|
|
9628
|
+
* @summary Update webhook.
|
|
9629
|
+
* @param {SettingsWebhookUpdateRequest} settingsWebhookUpdateRequest
|
|
9630
|
+
* @param {*} [options] Override http request option.
|
|
9631
|
+
* @throws {RequiredError}
|
|
9632
|
+
* @memberof SettingsApi
|
|
9633
|
+
*/
|
|
9634
|
+
updateWebhook(settingsWebhookUpdateRequest: SettingsWebhookUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
9635
|
+
}
|
|
8663
9636
|
/**
|
|
8664
9637
|
* TransactionIntentsApi - axios parameter creator
|
|
8665
9638
|
* @export
|
|
@@ -8887,3 +9860,222 @@ export declare class TransactionIntentsApi extends BaseAPI {
|
|
|
8887
9860
|
*/
|
|
8888
9861
|
signature(id: string, signatureRequest: SignatureRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
8889
9862
|
}
|
|
9863
|
+
/**
|
|
9864
|
+
* Web3ConnectionsApi - axios parameter creator
|
|
9865
|
+
* @export
|
|
9866
|
+
*/
|
|
9867
|
+
export declare const Web3ConnectionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9868
|
+
/**
|
|
9869
|
+
* 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)
|
|
9870
|
+
* @summary Create a Web3 Connection object.
|
|
9871
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
9872
|
+
* @param {*} [options] Override http request option.
|
|
9873
|
+
* @throws {RequiredError}
|
|
9874
|
+
*/
|
|
9875
|
+
createWeb3Connection: (createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9876
|
+
/**
|
|
9877
|
+
* 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.
|
|
9878
|
+
* @summary List Web3 actions from a web3 connection.
|
|
9879
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9880
|
+
* @param {*} [options] Override http request option.
|
|
9881
|
+
* @throws {RequiredError}
|
|
9882
|
+
*/
|
|
9883
|
+
getWeb3Actions: (id: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9884
|
+
/**
|
|
9885
|
+
* 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.
|
|
9886
|
+
* @summary Get a web3Connection object.
|
|
9887
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
9888
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
9889
|
+
* @param {*} [options] Override http request option.
|
|
9890
|
+
* @throws {RequiredError}
|
|
9891
|
+
*/
|
|
9892
|
+
getWeb3Connection: (id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9893
|
+
/**
|
|
9894
|
+
* 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.
|
|
9895
|
+
* @summary List Web3 connections.
|
|
9896
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9897
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9898
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9899
|
+
* @param {string} [player] Specifies the unique player ID (starts with pla_)
|
|
9900
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
9901
|
+
* @param {*} [options] Override http request option.
|
|
9902
|
+
* @throws {RequiredError}
|
|
9903
|
+
*/
|
|
9904
|
+
getWeb3Connections: (limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9905
|
+
/**
|
|
9906
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
9907
|
+
* @summary Approve or Reject a web3 action
|
|
9908
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9909
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
9910
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9911
|
+
* @param {*} [options] Override http request option.
|
|
9912
|
+
* @throws {RequiredError}
|
|
9913
|
+
*/
|
|
9914
|
+
submitWeb3Action: (id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9915
|
+
};
|
|
9916
|
+
/**
|
|
9917
|
+
* Web3ConnectionsApi - functional programming interface
|
|
9918
|
+
* @export
|
|
9919
|
+
*/
|
|
9920
|
+
export declare const Web3ConnectionsApiFp: (configuration?: Configuration) => {
|
|
9921
|
+
/**
|
|
9922
|
+
* 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)
|
|
9923
|
+
* @summary Create a Web3 Connection object.
|
|
9924
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
9925
|
+
* @param {*} [options] Override http request option.
|
|
9926
|
+
* @throws {RequiredError}
|
|
9927
|
+
*/
|
|
9928
|
+
createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionResponse>>;
|
|
9929
|
+
/**
|
|
9930
|
+
* 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.
|
|
9931
|
+
* @summary List Web3 actions from a web3 connection.
|
|
9932
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9933
|
+
* @param {*} [options] Override http request option.
|
|
9934
|
+
* @throws {RequiredError}
|
|
9935
|
+
*/
|
|
9936
|
+
getWeb3Actions(id: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ActionListResponse>>;
|
|
9937
|
+
/**
|
|
9938
|
+
* 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.
|
|
9939
|
+
* @summary Get a web3Connection object.
|
|
9940
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
9941
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
9942
|
+
* @param {*} [options] Override http request option.
|
|
9943
|
+
* @throws {RequiredError}
|
|
9944
|
+
*/
|
|
9945
|
+
getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionResponse>>;
|
|
9946
|
+
/**
|
|
9947
|
+
* 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.
|
|
9948
|
+
* @summary List Web3 connections.
|
|
9949
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9950
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9951
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
9952
|
+
* @param {string} [player] Specifies the unique player ID (starts with pla_)
|
|
9953
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
9954
|
+
* @param {*} [options] Override http request option.
|
|
9955
|
+
* @throws {RequiredError}
|
|
9956
|
+
*/
|
|
9957
|
+
getWeb3Connections(limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionListResponse>>;
|
|
9958
|
+
/**
|
|
9959
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
9960
|
+
* @summary Approve or Reject a web3 action
|
|
9961
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9962
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
9963
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9964
|
+
* @param {*} [options] Override http request option.
|
|
9965
|
+
* @throws {RequiredError}
|
|
9966
|
+
*/
|
|
9967
|
+
submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ActionResponse>>;
|
|
9968
|
+
};
|
|
9969
|
+
/**
|
|
9970
|
+
* Web3ConnectionsApi - factory interface
|
|
9971
|
+
* @export
|
|
9972
|
+
*/
|
|
9973
|
+
export declare const Web3ConnectionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9974
|
+
/**
|
|
9975
|
+
* 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)
|
|
9976
|
+
* @summary Create a Web3 Connection object.
|
|
9977
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
9978
|
+
* @param {*} [options] Override http request option.
|
|
9979
|
+
* @throws {RequiredError}
|
|
9980
|
+
*/
|
|
9981
|
+
createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: any): AxiosPromise<Web3ConnectionResponse>;
|
|
9982
|
+
/**
|
|
9983
|
+
* 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.
|
|
9984
|
+
* @summary List Web3 actions from a web3 connection.
|
|
9985
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9986
|
+
* @param {*} [options] Override http request option.
|
|
9987
|
+
* @throws {RequiredError}
|
|
9988
|
+
*/
|
|
9989
|
+
getWeb3Actions(id: string, options?: any): AxiosPromise<Web3ActionListResponse>;
|
|
9990
|
+
/**
|
|
9991
|
+
* 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.
|
|
9992
|
+
* @summary Get a web3Connection object.
|
|
9993
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
9994
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
9995
|
+
* @param {*} [options] Override http request option.
|
|
9996
|
+
* @throws {RequiredError}
|
|
9997
|
+
*/
|
|
9998
|
+
getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: any): AxiosPromise<Web3ConnectionResponse>;
|
|
9999
|
+
/**
|
|
10000
|
+
* 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.
|
|
10001
|
+
* @summary List Web3 connections.
|
|
10002
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
10003
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
10004
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
10005
|
+
* @param {string} [player] Specifies the unique player ID (starts with pla_)
|
|
10006
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
10007
|
+
* @param {*} [options] Override http request option.
|
|
10008
|
+
* @throws {RequiredError}
|
|
10009
|
+
*/
|
|
10010
|
+
getWeb3Connections(limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: any): AxiosPromise<Web3ConnectionListResponse>;
|
|
10011
|
+
/**
|
|
10012
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
10013
|
+
* @summary Approve or Reject a web3 action
|
|
10014
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
10015
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
10016
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
10017
|
+
* @param {*} [options] Override http request option.
|
|
10018
|
+
* @throws {RequiredError}
|
|
10019
|
+
*/
|
|
10020
|
+
submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: any): AxiosPromise<Web3ActionResponse>;
|
|
10021
|
+
};
|
|
10022
|
+
/**
|
|
10023
|
+
* Web3ConnectionsApi - object-oriented interface
|
|
10024
|
+
* @export
|
|
10025
|
+
* @class Web3ConnectionsApi
|
|
10026
|
+
* @extends {BaseAPI}
|
|
10027
|
+
*/
|
|
10028
|
+
export declare class Web3ConnectionsApi extends BaseAPI {
|
|
10029
|
+
/**
|
|
10030
|
+
* 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)
|
|
10031
|
+
* @summary Create a Web3 Connection object.
|
|
10032
|
+
* @param {CreateWeb3ConnectionRequest} createWeb3ConnectionRequest
|
|
10033
|
+
* @param {*} [options] Override http request option.
|
|
10034
|
+
* @throws {RequiredError}
|
|
10035
|
+
* @memberof Web3ConnectionsApi
|
|
10036
|
+
*/
|
|
10037
|
+
createWeb3Connection(createWeb3ConnectionRequest: CreateWeb3ConnectionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionResponse, any>>;
|
|
10038
|
+
/**
|
|
10039
|
+
* 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.
|
|
10040
|
+
* @summary List Web3 actions from a web3 connection.
|
|
10041
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
10042
|
+
* @param {*} [options] Override http request option.
|
|
10043
|
+
* @throws {RequiredError}
|
|
10044
|
+
* @memberof Web3ConnectionsApi
|
|
10045
|
+
*/
|
|
10046
|
+
getWeb3Actions(id: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ActionListResponse, any>>;
|
|
10047
|
+
/**
|
|
10048
|
+
* 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.
|
|
10049
|
+
* @summary Get a web3Connection object.
|
|
10050
|
+
* @param {string} id Specifies the unique web3Connection ID (starts with web3_).
|
|
10051
|
+
* @param {Array<Web3ConnectionResponseExpandable>} [expand] Specifies the fields to expand.
|
|
10052
|
+
* @param {*} [options] Override http request option.
|
|
10053
|
+
* @throws {RequiredError}
|
|
10054
|
+
* @memberof Web3ConnectionsApi
|
|
10055
|
+
*/
|
|
10056
|
+
getWeb3Connection(id: string, expand?: Array<Web3ConnectionResponseExpandable>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionResponse, any>>;
|
|
10057
|
+
/**
|
|
10058
|
+
* 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.
|
|
10059
|
+
* @summary List Web3 connections.
|
|
10060
|
+
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
10061
|
+
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
10062
|
+
* @param {SortOrder} [order] Specifies the order in which to sort the results.
|
|
10063
|
+
* @param {string} [player] Specifies the unique player ID (starts with pla_)
|
|
10064
|
+
* @param {boolean} [disconnected] Specifies connection status
|
|
10065
|
+
* @param {*} [options] Override http request option.
|
|
10066
|
+
* @throws {RequiredError}
|
|
10067
|
+
* @memberof Web3ConnectionsApi
|
|
10068
|
+
*/
|
|
10069
|
+
getWeb3Connections(limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionListResponse, any>>;
|
|
10070
|
+
/**
|
|
10071
|
+
* Approve or Reject a web3 action for the given web3 connection.
|
|
10072
|
+
* @summary Approve or Reject a web3 action
|
|
10073
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
10074
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
10075
|
+
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
10076
|
+
* @param {*} [options] Override http request option.
|
|
10077
|
+
* @throws {RequiredError}
|
|
10078
|
+
* @memberof Web3ConnectionsApi
|
|
10079
|
+
*/
|
|
10080
|
+
submitWeb3Action(id: string, web3Action: string, submitWeb3ActionRequest: SubmitWeb3ActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ActionResponse, any>>;
|
|
10081
|
+
}
|