@openfort/openfort-js 0.3.3 → 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 +367 -143
- package/dist/generated/api.js +256 -213
- 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
|
@@ -733,16 +733,22 @@ export interface AuthPlayerResponse {
|
|
|
733
733
|
'updatedAt': number;
|
|
734
734
|
/**
|
|
735
735
|
*
|
|
736
|
-
* @type {
|
|
736
|
+
* @type {string}
|
|
737
737
|
* @memberof AuthPlayerResponse
|
|
738
738
|
*/
|
|
739
|
-
'
|
|
739
|
+
'externalUserId'?: string;
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @type {string}
|
|
743
|
+
* @memberof AuthPlayerResponse
|
|
744
|
+
*/
|
|
745
|
+
'provider': string;
|
|
740
746
|
/**
|
|
741
747
|
*
|
|
742
748
|
* @type {PrismaInputJsonValue}
|
|
743
749
|
* @memberof AuthPlayerResponse
|
|
744
750
|
*/
|
|
745
|
-
'
|
|
751
|
+
'metadata'?: PrismaInputJsonValue;
|
|
746
752
|
}
|
|
747
753
|
/**
|
|
748
754
|
*
|
|
@@ -1903,6 +1909,19 @@ export declare const DataAccountTypes: {
|
|
|
1903
1909
|
readonly Recoverable: "Recoverable";
|
|
1904
1910
|
};
|
|
1905
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
|
+
}
|
|
1906
1925
|
/**
|
|
1907
1926
|
*
|
|
1908
1927
|
* @export
|
|
@@ -2505,7 +2524,7 @@ export interface GoogleOAuthConfig {
|
|
|
2505
2524
|
*/
|
|
2506
2525
|
'clientSecret': string;
|
|
2507
2526
|
/**
|
|
2508
|
-
* 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
|
|
2509
2528
|
* @type {string}
|
|
2510
2529
|
* @memberof GoogleOAuthConfig
|
|
2511
2530
|
*/
|
|
@@ -2742,6 +2761,25 @@ export interface LoginRequest {
|
|
|
2742
2761
|
*/
|
|
2743
2762
|
'password': string;
|
|
2744
2763
|
}
|
|
2764
|
+
/**
|
|
2765
|
+
* LootLocker oauth configuration
|
|
2766
|
+
* @export
|
|
2767
|
+
* @interface LootLockerOAuthConfig
|
|
2768
|
+
*/
|
|
2769
|
+
export interface LootLockerOAuthConfig {
|
|
2770
|
+
/**
|
|
2771
|
+
* Enable OAuth provider.
|
|
2772
|
+
* @type {boolean}
|
|
2773
|
+
* @memberof LootLockerOAuthConfig
|
|
2774
|
+
*/
|
|
2775
|
+
'enabled': boolean;
|
|
2776
|
+
/**
|
|
2777
|
+
*
|
|
2778
|
+
* @type {OAuthProviderLOOTLOCKER}
|
|
2779
|
+
* @memberof LootLockerOAuthConfig
|
|
2780
|
+
*/
|
|
2781
|
+
'provider': OAuthProviderLOOTLOCKER;
|
|
2782
|
+
}
|
|
2745
2783
|
/**
|
|
2746
2784
|
*
|
|
2747
2785
|
* @export
|
|
@@ -2822,10 +2860,10 @@ export interface OAuthConfig {
|
|
|
2822
2860
|
'enabled': boolean;
|
|
2823
2861
|
/**
|
|
2824
2862
|
*
|
|
2825
|
-
* @type {
|
|
2863
|
+
* @type {OAuthProviderLOOTLOCKER}
|
|
2826
2864
|
* @memberof OAuthConfig
|
|
2827
2865
|
*/
|
|
2828
|
-
'provider':
|
|
2866
|
+
'provider': OAuthProviderLOOTLOCKER;
|
|
2829
2867
|
/**
|
|
2830
2868
|
* Base URI of your accelbyte gaming service environment. E.g. https://mygame.dev.gamingservices.accelbyte.io/
|
|
2831
2869
|
* @type {string}
|
|
@@ -2845,7 +2883,7 @@ export interface OAuthConfig {
|
|
|
2845
2883
|
*/
|
|
2846
2884
|
'clientSecret': string;
|
|
2847
2885
|
/**
|
|
2848
|
-
* The URI to redirect to after completing the auth request. You can use Openfort redirect URL: https://openfort.xyz/
|
|
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
|
|
2849
2887
|
* @type {string}
|
|
2850
2888
|
* @memberof OAuthConfig
|
|
2851
2889
|
*/
|
|
@@ -2885,6 +2923,7 @@ export declare const OAuthProvider: {
|
|
|
2885
2923
|
readonly Accelbyte: "accelbyte";
|
|
2886
2924
|
readonly Firebase: "firebase";
|
|
2887
2925
|
readonly Google: "google";
|
|
2926
|
+
readonly Lootlocker: "lootlocker";
|
|
2888
2927
|
readonly Playfab: "playfab";
|
|
2889
2928
|
};
|
|
2890
2929
|
export type OAuthProvider = typeof OAuthProvider[keyof typeof OAuthProvider];
|
|
@@ -2915,6 +2954,15 @@ export declare const OAuthProviderGOOGLE: {
|
|
|
2915
2954
|
readonly Google: "google";
|
|
2916
2955
|
};
|
|
2917
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];
|
|
2918
2966
|
/**
|
|
2919
2967
|
*
|
|
2920
2968
|
* @export
|
|
@@ -4581,6 +4629,62 @@ export interface ProjectWebhookRequest {
|
|
|
4581
4629
|
*/
|
|
4582
4630
|
'apiKey'?: string;
|
|
4583
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
|
+
}
|
|
4584
4688
|
/**
|
|
4585
4689
|
*
|
|
4586
4690
|
* @export
|
|
@@ -4658,6 +4762,49 @@ export declare const ResponseTypeLIST: {
|
|
|
4658
4762
|
readonly List: "list";
|
|
4659
4763
|
};
|
|
4660
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
|
+
}
|
|
4661
4808
|
/**
|
|
4662
4809
|
*
|
|
4663
4810
|
* @export
|
|
@@ -5120,6 +5267,12 @@ export interface SubmitWeb3ActionRequest {
|
|
|
5120
5267
|
* @memberof SubmitWeb3ActionRequest
|
|
5121
5268
|
*/
|
|
5122
5269
|
'policy'?: string;
|
|
5270
|
+
/**
|
|
5271
|
+
* signed data by the owner
|
|
5272
|
+
* @type {string}
|
|
5273
|
+
* @memberof SubmitWeb3ActionRequest
|
|
5274
|
+
*/
|
|
5275
|
+
'signature'?: string;
|
|
5123
5276
|
}
|
|
5124
5277
|
/**
|
|
5125
5278
|
*
|
|
@@ -6067,13 +6220,67 @@ export interface Web3ActionResponse {
|
|
|
6067
6220
|
* @type {string}
|
|
6068
6221
|
* @memberof Web3ActionResponse
|
|
6069
6222
|
*/
|
|
6070
|
-
'
|
|
6223
|
+
'web3Connection': string;
|
|
6071
6224
|
/**
|
|
6072
6225
|
*
|
|
6073
6226
|
* @type {Web3ActionStatusEnum}
|
|
6074
6227
|
* @memberof Web3ActionResponse
|
|
6075
6228
|
*/
|
|
6076
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;
|
|
6077
6284
|
}
|
|
6078
6285
|
/**
|
|
6079
6286
|
*
|
|
@@ -6117,7 +6324,7 @@ export interface Web3ConnectionListQueries {
|
|
|
6117
6324
|
* @type {string}
|
|
6118
6325
|
* @memberof Web3ConnectionListQueries
|
|
6119
6326
|
*/
|
|
6120
|
-
'player'
|
|
6327
|
+
'player'?: string;
|
|
6121
6328
|
/**
|
|
6122
6329
|
* Specifies connection status
|
|
6123
6330
|
* @type {boolean}
|
|
@@ -6297,7 +6504,7 @@ export interface WebhookResponse {
|
|
|
6297
6504
|
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
6298
6505
|
/**
|
|
6299
6506
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
6300
|
-
* @summary Cancel request
|
|
6507
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
6301
6508
|
* @param {string} id Specifies the unique account ID.
|
|
6302
6509
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
6303
6510
|
* @param {*} [options] Override http request option.
|
|
@@ -6321,6 +6528,15 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6321
6528
|
* @throws {RequiredError}
|
|
6322
6529
|
*/
|
|
6323
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>;
|
|
6324
6540
|
/**
|
|
6325
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.
|
|
6326
6542
|
* @summary Get existing account.
|
|
@@ -6344,7 +6560,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6344
6560
|
getAccounts: (player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6345
6561
|
/**
|
|
6346
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.
|
|
6347
|
-
* @summary Request ownership
|
|
6563
|
+
* @summary Request transfer ownership of account.
|
|
6348
6564
|
* @param {string} id Specifies the unique account ID.
|
|
6349
6565
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
6350
6566
|
* @param {*} [options] Override http request option.
|
|
@@ -6352,7 +6568,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6352
6568
|
*/
|
|
6353
6569
|
requestTransferOwnership: (id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6354
6570
|
/**
|
|
6355
|
-
*
|
|
6571
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
6356
6572
|
* @summary Sign a given payload
|
|
6357
6573
|
* @param {string} id Specifies the unique account ID.
|
|
6358
6574
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -6370,7 +6586,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6370
6586
|
*/
|
|
6371
6587
|
startRecovery: (id: string, startRecoveryRequest: StartRecoveryRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6372
6588
|
/**
|
|
6373
|
-
*
|
|
6589
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
6374
6590
|
* @summary Sync account state with the blockchain
|
|
6375
6591
|
* @param {string} id Specifies the unique account ID.
|
|
6376
6592
|
* @param {*} [options] Override http request option.
|
|
@@ -6385,7 +6601,7 @@ export declare const AccountsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6385
6601
|
export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
6386
6602
|
/**
|
|
6387
6603
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
6388
|
-
* @summary Cancel request
|
|
6604
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
6389
6605
|
* @param {string} id Specifies the unique account ID.
|
|
6390
6606
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
6391
6607
|
* @param {*} [options] Override http request option.
|
|
@@ -6409,6 +6625,15 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
6409
6625
|
* @throws {RequiredError}
|
|
6410
6626
|
*/
|
|
6411
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>>;
|
|
6412
6637
|
/**
|
|
6413
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.
|
|
6414
6639
|
* @summary Get existing account.
|
|
@@ -6432,7 +6657,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
6432
6657
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AccountListResponse>>;
|
|
6433
6658
|
/**
|
|
6434
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.
|
|
6435
|
-
* @summary Request ownership
|
|
6660
|
+
* @summary Request transfer ownership of account.
|
|
6436
6661
|
* @param {string} id Specifies the unique account ID.
|
|
6437
6662
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
6438
6663
|
* @param {*} [options] Override http request option.
|
|
@@ -6440,7 +6665,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
6440
6665
|
*/
|
|
6441
6666
|
requestTransferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
6442
6667
|
/**
|
|
6443
|
-
*
|
|
6668
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
6444
6669
|
* @summary Sign a given payload
|
|
6445
6670
|
* @param {string} id Specifies the unique account ID.
|
|
6446
6671
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -6458,7 +6683,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
6458
6683
|
*/
|
|
6459
6684
|
startRecovery(id: string, startRecoveryRequest: StartRecoveryRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
6460
6685
|
/**
|
|
6461
|
-
*
|
|
6686
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
6462
6687
|
* @summary Sync account state with the blockchain
|
|
6463
6688
|
* @param {string} id Specifies the unique account ID.
|
|
6464
6689
|
* @param {*} [options] Override http request option.
|
|
@@ -6473,7 +6698,7 @@ export declare const AccountsApiFp: (configuration?: Configuration) => {
|
|
|
6473
6698
|
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
6474
6699
|
/**
|
|
6475
6700
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
6476
|
-
* @summary Cancel request
|
|
6701
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
6477
6702
|
* @param {string} id Specifies the unique account ID.
|
|
6478
6703
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
6479
6704
|
* @param {*} [options] Override http request option.
|
|
@@ -6497,6 +6722,15 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6497
6722
|
* @throws {RequiredError}
|
|
6498
6723
|
*/
|
|
6499
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>;
|
|
6500
6734
|
/**
|
|
6501
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.
|
|
6502
6736
|
* @summary Get existing account.
|
|
@@ -6520,7 +6754,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6520
6754
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: any): AxiosPromise<AccountListResponse>;
|
|
6521
6755
|
/**
|
|
6522
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.
|
|
6523
|
-
* @summary Request ownership
|
|
6757
|
+
* @summary Request transfer ownership of account.
|
|
6524
6758
|
* @param {string} id Specifies the unique account ID.
|
|
6525
6759
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
6526
6760
|
* @param {*} [options] Override http request option.
|
|
@@ -6528,7 +6762,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6528
6762
|
*/
|
|
6529
6763
|
requestTransferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
6530
6764
|
/**
|
|
6531
|
-
*
|
|
6765
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
6532
6766
|
* @summary Sign a given payload
|
|
6533
6767
|
* @param {string} id Specifies the unique account ID.
|
|
6534
6768
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -6546,7 +6780,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6546
6780
|
*/
|
|
6547
6781
|
startRecovery(id: string, startRecoveryRequest: StartRecoveryRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
6548
6782
|
/**
|
|
6549
|
-
*
|
|
6783
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
6550
6784
|
* @summary Sync account state with the blockchain
|
|
6551
6785
|
* @param {string} id Specifies the unique account ID.
|
|
6552
6786
|
* @param {*} [options] Override http request option.
|
|
@@ -6563,7 +6797,7 @@ export declare const AccountsApiFactory: (configuration?: Configuration, basePat
|
|
|
6563
6797
|
export declare class AccountsApi extends BaseAPI {
|
|
6564
6798
|
/**
|
|
6565
6799
|
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
6566
|
-
* @summary Cancel request
|
|
6800
|
+
* @summary Cancel request to transfer ownership of an account.
|
|
6567
6801
|
* @param {string} id Specifies the unique account ID.
|
|
6568
6802
|
* @param {CancelTransferOwnershipRequest} cancelTransferOwnershipRequest
|
|
6569
6803
|
* @param {*} [options] Override http request option.
|
|
@@ -6590,6 +6824,16 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6590
6824
|
* @memberof AccountsApi
|
|
6591
6825
|
*/
|
|
6592
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>>;
|
|
6593
6837
|
/**
|
|
6594
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.
|
|
6595
6839
|
* @summary Get existing account.
|
|
@@ -6615,7 +6859,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6615
6859
|
getAccounts(player: string, limit?: number, skip?: number, order?: SortOrder, expand?: Array<AccountResponseExpandable>, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountListResponse, any>>;
|
|
6616
6860
|
/**
|
|
6617
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.
|
|
6618
|
-
* @summary Request ownership
|
|
6862
|
+
* @summary Request transfer ownership of account.
|
|
6619
6863
|
* @param {string} id Specifies the unique account ID.
|
|
6620
6864
|
* @param {TransferOwnershipRequest} transferOwnershipRequest
|
|
6621
6865
|
* @param {*} [options] Override http request option.
|
|
@@ -6624,7 +6868,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6624
6868
|
*/
|
|
6625
6869
|
requestTransferOwnership(id: string, transferOwnershipRequest: TransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
6626
6870
|
/**
|
|
6627
|
-
*
|
|
6871
|
+
* Signs the typed data value with types data structure for domain using the EIP-712 (https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
6628
6872
|
* @summary Sign a given payload
|
|
6629
6873
|
* @param {string} id Specifies the unique account ID.
|
|
6630
6874
|
* @param {SignPayloadRequest} signPayloadRequest
|
|
@@ -6644,7 +6888,7 @@ export declare class AccountsApi extends BaseAPI {
|
|
|
6644
6888
|
*/
|
|
6645
6889
|
startRecovery(id: string, startRecoveryRequest: StartRecoveryRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
6646
6890
|
/**
|
|
6647
|
-
*
|
|
6891
|
+
* This endpoint updates the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
6648
6892
|
* @summary Sync account state with the blockchain
|
|
6649
6893
|
* @param {string} id Specifies the unique account ID.
|
|
6650
6894
|
* @param {*} [options] Override http request option.
|
|
@@ -7847,26 +8091,6 @@ export declare const PlayersApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7847
8091
|
* @throws {RequiredError}
|
|
7848
8092
|
*/
|
|
7849
8093
|
getPlayers: (limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7850
|
-
/**
|
|
7851
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
7852
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
7853
|
-
* @param {string} id
|
|
7854
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
7855
|
-
* @param {*} [options] Override http request option.
|
|
7856
|
-
* @deprecated
|
|
7857
|
-
* @throws {RequiredError}
|
|
7858
|
-
*/
|
|
7859
|
-
obsoleteCancelTransferAccountOwnership: (id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7860
|
-
/**
|
|
7861
|
-
* 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.
|
|
7862
|
-
* @summary Request transfer ownership of account.
|
|
7863
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7864
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
7865
|
-
* @param {*} [options] Override http request option.
|
|
7866
|
-
* @deprecated
|
|
7867
|
-
* @throws {RequiredError}
|
|
7868
|
-
*/
|
|
7869
|
-
obsoleteRequestTransferAccountOwnership: (id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7870
8094
|
/**
|
|
7871
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.
|
|
7872
8096
|
* @summary Request transfer ownership of account.
|
|
@@ -7973,26 +8197,6 @@ export declare const PlayersApiFp: (configuration?: Configuration) => {
|
|
|
7973
8197
|
* @throws {RequiredError}
|
|
7974
8198
|
*/
|
|
7975
8199
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerListResponse>>;
|
|
7976
|
-
/**
|
|
7977
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
7978
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
7979
|
-
* @param {string} id
|
|
7980
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
7981
|
-
* @param {*} [options] Override http request option.
|
|
7982
|
-
* @deprecated
|
|
7983
|
-
* @throws {RequiredError}
|
|
7984
|
-
*/
|
|
7985
|
-
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
7986
|
-
/**
|
|
7987
|
-
* 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.
|
|
7988
|
-
* @summary Request transfer ownership of account.
|
|
7989
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
7990
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
7991
|
-
* @param {*} [options] Override http request option.
|
|
7992
|
-
* @deprecated
|
|
7993
|
-
* @throws {RequiredError}
|
|
7994
|
-
*/
|
|
7995
|
-
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TransactionIntentResponse>>;
|
|
7996
8200
|
/**
|
|
7997
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.
|
|
7998
8202
|
* @summary Request transfer ownership of account.
|
|
@@ -8099,26 +8303,6 @@ export declare const PlayersApiFactory: (configuration?: Configuration, basePath
|
|
|
8099
8303
|
* @throws {RequiredError}
|
|
8100
8304
|
*/
|
|
8101
8305
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: any): AxiosPromise<PlayerListResponse>;
|
|
8102
|
-
/**
|
|
8103
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
8104
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
8105
|
-
* @param {string} id
|
|
8106
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
8107
|
-
* @param {*} [options] Override http request option.
|
|
8108
|
-
* @deprecated
|
|
8109
|
-
* @throws {RequiredError}
|
|
8110
|
-
*/
|
|
8111
|
-
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
8112
|
-
/**
|
|
8113
|
-
* 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.
|
|
8114
|
-
* @summary Request transfer ownership of account.
|
|
8115
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8116
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
8117
|
-
* @param {*} [options] Override http request option.
|
|
8118
|
-
* @deprecated
|
|
8119
|
-
* @throws {RequiredError}
|
|
8120
|
-
*/
|
|
8121
|
-
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: any): AxiosPromise<TransactionIntentResponse>;
|
|
8122
8306
|
/**
|
|
8123
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.
|
|
8124
8308
|
* @summary Request transfer ownership of account.
|
|
@@ -8235,28 +8419,6 @@ export declare class PlayersApi extends BaseAPI {
|
|
|
8235
8419
|
* @memberof PlayersApi
|
|
8236
8420
|
*/
|
|
8237
8421
|
getPlayers(limit?: number, skip?: number, order?: SortOrder, expand?: Array<PlayerResponseExpandable>, name?: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlayerListResponse, any>>;
|
|
8238
|
-
/**
|
|
8239
|
-
* This endpoint allows you to cancel a pending transfer of ownership.
|
|
8240
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
8241
|
-
* @param {string} id
|
|
8242
|
-
* @param {PlayerCancelTransferOwnershipRequest} playerCancelTransferOwnershipRequest
|
|
8243
|
-
* @param {*} [options] Override http request option.
|
|
8244
|
-
* @deprecated
|
|
8245
|
-
* @throws {RequiredError}
|
|
8246
|
-
* @memberof PlayersApi
|
|
8247
|
-
*/
|
|
8248
|
-
obsoleteCancelTransferAccountOwnership(id: string, playerCancelTransferOwnershipRequest: PlayerCancelTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
8249
|
-
/**
|
|
8250
|
-
* 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.
|
|
8251
|
-
* @summary Request transfer ownership of account.
|
|
8252
|
-
* @param {string} id Specifies the unique player ID (starts with pla_).
|
|
8253
|
-
* @param {PlayerTransferOwnershipRequest} playerTransferOwnershipRequest
|
|
8254
|
-
* @param {*} [options] Override http request option.
|
|
8255
|
-
* @deprecated
|
|
8256
|
-
* @throws {RequiredError}
|
|
8257
|
-
* @memberof PlayersApi
|
|
8258
|
-
*/
|
|
8259
|
-
obsoleteRequestTransferAccountOwnership(id: string, playerTransferOwnershipRequest: PlayerTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TransactionIntentResponse, any>>;
|
|
8260
8422
|
/**
|
|
8261
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.
|
|
8262
8424
|
* @summary Request transfer ownership of account.
|
|
@@ -8304,6 +8466,21 @@ export declare const PlayersAuthenticationApiAxiosParamCreator: (configuration?:
|
|
|
8304
8466
|
* @throws {RequiredError}
|
|
8305
8467
|
*/
|
|
8306
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>;
|
|
8307
8484
|
};
|
|
8308
8485
|
/**
|
|
8309
8486
|
* PlayersAuthenticationApi - functional programming interface
|
|
@@ -8321,6 +8498,21 @@ export declare const PlayersAuthenticationApiFp: (configuration?: Configuration)
|
|
|
8321
8498
|
* @throws {RequiredError}
|
|
8322
8499
|
*/
|
|
8323
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.
|
|
8512
|
+
* @param {*} [options] Override http request option.
|
|
8513
|
+
* @throws {RequiredError}
|
|
8514
|
+
*/
|
|
8515
|
+
retrieveKey(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RetrievePlayerEncryptedKeyResponse>>;
|
|
8324
8516
|
};
|
|
8325
8517
|
/**
|
|
8326
8518
|
* PlayersAuthenticationApi - factory interface
|
|
@@ -8338,6 +8530,21 @@ export declare const PlayersAuthenticationApiFactory: (configuration?: Configura
|
|
|
8338
8530
|
* @throws {RequiredError}
|
|
8339
8531
|
*/
|
|
8340
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>;
|
|
8341
8548
|
};
|
|
8342
8549
|
/**
|
|
8343
8550
|
* PlayersAuthenticationApi - object-oriented interface
|
|
@@ -8358,6 +8565,23 @@ export declare class PlayersAuthenticationApi extends BaseAPI {
|
|
|
8358
8565
|
* @memberof PlayersAuthenticationApi
|
|
8359
8566
|
*/
|
|
8360
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>>;
|
|
8361
8585
|
}
|
|
8362
8586
|
/**
|
|
8363
8587
|
* PoliciesApi - axios parameter creator
|
|
@@ -8458,8 +8682,8 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
8458
8682
|
/**
|
|
8459
8683
|
*
|
|
8460
8684
|
* @summary Update a policy rule object of a policy.
|
|
8461
|
-
* @param {string} policy
|
|
8462
|
-
* @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_).
|
|
8463
8687
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8464
8688
|
* @param {*} [options] Override http request option.
|
|
8465
8689
|
* @throws {RequiredError}
|
|
@@ -8565,8 +8789,8 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
8565
8789
|
/**
|
|
8566
8790
|
*
|
|
8567
8791
|
* @summary Update a policy rule object of a policy.
|
|
8568
|
-
* @param {string} policy
|
|
8569
|
-
* @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_).
|
|
8570
8794
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8571
8795
|
* @param {*} [options] Override http request option.
|
|
8572
8796
|
* @throws {RequiredError}
|
|
@@ -8672,8 +8896,8 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
8672
8896
|
/**
|
|
8673
8897
|
*
|
|
8674
8898
|
* @summary Update a policy rule object of a policy.
|
|
8675
|
-
* @param {string} policy
|
|
8676
|
-
* @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_).
|
|
8677
8901
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8678
8902
|
* @param {*} [options] Override http request option.
|
|
8679
8903
|
* @throws {RequiredError}
|
|
@@ -8791,8 +9015,8 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
8791
9015
|
/**
|
|
8792
9016
|
*
|
|
8793
9017
|
* @summary Update a policy rule object of a policy.
|
|
8794
|
-
* @param {string} policy
|
|
8795
|
-
* @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_).
|
|
8796
9020
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8797
9021
|
* @param {*} [options] Override http request option.
|
|
8798
9022
|
* @throws {RequiredError}
|
|
@@ -8816,7 +9040,7 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
8816
9040
|
/**
|
|
8817
9041
|
*
|
|
8818
9042
|
* @summary Deletes a policy rule object.
|
|
8819
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9043
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8820
9044
|
* @param {*} [options] Override http request option.
|
|
8821
9045
|
* @throws {RequiredError}
|
|
8822
9046
|
*/
|
|
@@ -8836,7 +9060,7 @@ export declare const PolicyRulesApiAxiosParamCreator: (configuration?: Configura
|
|
|
8836
9060
|
/**
|
|
8837
9061
|
*
|
|
8838
9062
|
* @summary Update a policy rule object.
|
|
8839
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9063
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8840
9064
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8841
9065
|
* @param {*} [options] Override http request option.
|
|
8842
9066
|
* @throws {RequiredError}
|
|
@@ -8859,7 +9083,7 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
8859
9083
|
/**
|
|
8860
9084
|
*
|
|
8861
9085
|
* @summary Deletes a policy rule object.
|
|
8862
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9086
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8863
9087
|
* @param {*} [options] Override http request option.
|
|
8864
9088
|
* @throws {RequiredError}
|
|
8865
9089
|
*/
|
|
@@ -8879,7 +9103,7 @@ export declare const PolicyRulesApiFp: (configuration?: Configuration) => {
|
|
|
8879
9103
|
/**
|
|
8880
9104
|
*
|
|
8881
9105
|
* @summary Update a policy rule object.
|
|
8882
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9106
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8883
9107
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8884
9108
|
* @param {*} [options] Override http request option.
|
|
8885
9109
|
* @throws {RequiredError}
|
|
@@ -8902,7 +9126,7 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
8902
9126
|
/**
|
|
8903
9127
|
*
|
|
8904
9128
|
* @summary Deletes a policy rule object.
|
|
8905
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9129
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8906
9130
|
* @param {*} [options] Override http request option.
|
|
8907
9131
|
* @throws {RequiredError}
|
|
8908
9132
|
*/
|
|
@@ -8922,7 +9146,7 @@ export declare const PolicyRulesApiFactory: (configuration?: Configuration, base
|
|
|
8922
9146
|
/**
|
|
8923
9147
|
*
|
|
8924
9148
|
* @summary Update a policy rule object.
|
|
8925
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9149
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8926
9150
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8927
9151
|
* @param {*} [options] Override http request option.
|
|
8928
9152
|
* @throws {RequiredError}
|
|
@@ -8948,7 +9172,7 @@ export declare class PolicyRulesApi extends BaseAPI {
|
|
|
8948
9172
|
/**
|
|
8949
9173
|
*
|
|
8950
9174
|
* @summary Deletes a policy rule object.
|
|
8951
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9175
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8952
9176
|
* @param {*} [options] Override http request option.
|
|
8953
9177
|
* @throws {RequiredError}
|
|
8954
9178
|
* @memberof PolicyRulesApi
|
|
@@ -8970,7 +9194,7 @@ export declare class PolicyRulesApi extends BaseAPI {
|
|
|
8970
9194
|
/**
|
|
8971
9195
|
*
|
|
8972
9196
|
* @summary Update a policy rule object.
|
|
8973
|
-
* @param {string} id Specifies the unique policy rule ID.
|
|
9197
|
+
* @param {string} id Specifies the unique policy rule ID (starts with afu_).
|
|
8974
9198
|
* @param {UpdatePolicyRuleRequest} updatePolicyRuleRequest
|
|
8975
9199
|
* @param {*} [options] Override http request option.
|
|
8976
9200
|
* @throws {RequiredError}
|
|
@@ -9652,7 +9876,7 @@ export declare const Web3ConnectionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
9652
9876
|
/**
|
|
9653
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.
|
|
9654
9878
|
* @summary List Web3 actions from a web3 connection.
|
|
9655
|
-
* @param {string} id
|
|
9879
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9656
9880
|
* @param {*} [options] Override http request option.
|
|
9657
9881
|
* @throws {RequiredError}
|
|
9658
9882
|
*/
|
|
@@ -9669,20 +9893,20 @@ export declare const Web3ConnectionsApiAxiosParamCreator: (configuration?: Confi
|
|
|
9669
9893
|
/**
|
|
9670
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.
|
|
9671
9895
|
* @summary List Web3 connections.
|
|
9672
|
-
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9673
9896
|
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9674
9897
|
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9675
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_)
|
|
9676
9900
|
* @param {boolean} [disconnected] Specifies connection status
|
|
9677
9901
|
* @param {*} [options] Override http request option.
|
|
9678
9902
|
* @throws {RequiredError}
|
|
9679
9903
|
*/
|
|
9680
|
-
getWeb3Connections: (
|
|
9904
|
+
getWeb3Connections: (limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
9681
9905
|
/**
|
|
9682
9906
|
* Approve or Reject a web3 action for the given web3 connection.
|
|
9683
9907
|
* @summary Approve or Reject a web3 action
|
|
9684
|
-
* @param {string} id
|
|
9685
|
-
* @param {string} web3Action
|
|
9908
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9909
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
9686
9910
|
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9687
9911
|
* @param {*} [options] Override http request option.
|
|
9688
9912
|
* @throws {RequiredError}
|
|
@@ -9705,7 +9929,7 @@ export declare const Web3ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
9705
9929
|
/**
|
|
9706
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.
|
|
9707
9931
|
* @summary List Web3 actions from a web3 connection.
|
|
9708
|
-
* @param {string} id
|
|
9932
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9709
9933
|
* @param {*} [options] Override http request option.
|
|
9710
9934
|
* @throws {RequiredError}
|
|
9711
9935
|
*/
|
|
@@ -9722,20 +9946,20 @@ export declare const Web3ConnectionsApiFp: (configuration?: Configuration) => {
|
|
|
9722
9946
|
/**
|
|
9723
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.
|
|
9724
9948
|
* @summary List Web3 connections.
|
|
9725
|
-
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9726
9949
|
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9727
9950
|
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9728
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_)
|
|
9729
9953
|
* @param {boolean} [disconnected] Specifies connection status
|
|
9730
9954
|
* @param {*} [options] Override http request option.
|
|
9731
9955
|
* @throws {RequiredError}
|
|
9732
9956
|
*/
|
|
9733
|
-
getWeb3Connections(
|
|
9957
|
+
getWeb3Connections(limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Web3ConnectionListResponse>>;
|
|
9734
9958
|
/**
|
|
9735
9959
|
* Approve or Reject a web3 action for the given web3 connection.
|
|
9736
9960
|
* @summary Approve or Reject a web3 action
|
|
9737
|
-
* @param {string} id
|
|
9738
|
-
* @param {string} web3Action
|
|
9961
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9962
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
9739
9963
|
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9740
9964
|
* @param {*} [options] Override http request option.
|
|
9741
9965
|
* @throws {RequiredError}
|
|
@@ -9758,7 +9982,7 @@ export declare const Web3ConnectionsApiFactory: (configuration?: Configuration,
|
|
|
9758
9982
|
/**
|
|
9759
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.
|
|
9760
9984
|
* @summary List Web3 actions from a web3 connection.
|
|
9761
|
-
* @param {string} id
|
|
9985
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9762
9986
|
* @param {*} [options] Override http request option.
|
|
9763
9987
|
* @throws {RequiredError}
|
|
9764
9988
|
*/
|
|
@@ -9775,20 +9999,20 @@ export declare const Web3ConnectionsApiFactory: (configuration?: Configuration,
|
|
|
9775
9999
|
/**
|
|
9776
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.
|
|
9777
10001
|
* @summary List Web3 connections.
|
|
9778
|
-
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9779
10002
|
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9780
10003
|
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9781
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_)
|
|
9782
10006
|
* @param {boolean} [disconnected] Specifies connection status
|
|
9783
10007
|
* @param {*} [options] Override http request option.
|
|
9784
10008
|
* @throws {RequiredError}
|
|
9785
10009
|
*/
|
|
9786
|
-
getWeb3Connections(
|
|
10010
|
+
getWeb3Connections(limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: any): AxiosPromise<Web3ConnectionListResponse>;
|
|
9787
10011
|
/**
|
|
9788
10012
|
* Approve or Reject a web3 action for the given web3 connection.
|
|
9789
10013
|
* @summary Approve or Reject a web3 action
|
|
9790
|
-
* @param {string} id
|
|
9791
|
-
* @param {string} web3Action
|
|
10014
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
10015
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
9792
10016
|
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9793
10017
|
* @param {*} [options] Override http request option.
|
|
9794
10018
|
* @throws {RequiredError}
|
|
@@ -9814,7 +10038,7 @@ export declare class Web3ConnectionsApi extends BaseAPI {
|
|
|
9814
10038
|
/**
|
|
9815
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.
|
|
9816
10040
|
* @summary List Web3 actions from a web3 connection.
|
|
9817
|
-
* @param {string} id
|
|
10041
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
9818
10042
|
* @param {*} [options] Override http request option.
|
|
9819
10043
|
* @throws {RequiredError}
|
|
9820
10044
|
* @memberof Web3ConnectionsApi
|
|
@@ -9833,21 +10057,21 @@ export declare class Web3ConnectionsApi extends BaseAPI {
|
|
|
9833
10057
|
/**
|
|
9834
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.
|
|
9835
10059
|
* @summary List Web3 connections.
|
|
9836
|
-
* @param {string} player Specifies the unique player ID (starts with pla_)
|
|
9837
10060
|
* @param {number} [limit] Specifies the maximum number of records to return.
|
|
9838
10061
|
* @param {number} [skip] Specifies the offset for the first records to return.
|
|
9839
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_)
|
|
9840
10064
|
* @param {boolean} [disconnected] Specifies connection status
|
|
9841
10065
|
* @param {*} [options] Override http request option.
|
|
9842
10066
|
* @throws {RequiredError}
|
|
9843
10067
|
* @memberof Web3ConnectionsApi
|
|
9844
10068
|
*/
|
|
9845
|
-
getWeb3Connections(
|
|
10069
|
+
getWeb3Connections(limit?: number, skip?: number, order?: SortOrder, player?: string, disconnected?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Web3ConnectionListResponse, any>>;
|
|
9846
10070
|
/**
|
|
9847
10071
|
* Approve or Reject a web3 action for the given web3 connection.
|
|
9848
10072
|
* @summary Approve or Reject a web3 action
|
|
9849
|
-
* @param {string} id
|
|
9850
|
-
* @param {string} web3Action
|
|
10073
|
+
* @param {string} id Specifies the web3Connection ID (starts with web3_).
|
|
10074
|
+
* @param {string} web3Action Specifies web3_action (starts with act_).
|
|
9851
10075
|
* @param {SubmitWeb3ActionRequest} submitWeb3ActionRequest
|
|
9852
10076
|
* @param {*} [options] Override http request option.
|
|
9853
10077
|
* @throws {RequiredError}
|