@openfort/openfort-js 1.0.2 → 1.0.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/cjs/packages/internal/openapi-clients/dist/index.cjs +1 -1
- package/dist/cjs/sdk/src/api/embeddedWallet.cjs +1 -1
- package/dist/cjs/sdk/src/auth/authManager.cjs +1 -1
- package/dist/cjs/sdk/src/version.cjs +1 -1
- package/dist/cjs/sdk/src/wallets/embedded.cjs +1 -1
- package/dist/cjs/sdk/src/wallets/iframeManager.cjs +1 -1
- package/dist/index.d.cts +1015 -1276
- package/dist/index.d.ts +1015 -1276
- package/dist/packages/internal/openapi-clients/dist/index.js +1 -1
- package/dist/sdk/src/api/embeddedWallet.js +1 -1
- package/dist/sdk/src/auth/authManager.js +1 -1
- package/dist/sdk/src/version.js +1 -1
- package/dist/sdk/src/wallets/embedded.js +1 -1
- package/dist/sdk/src/wallets/iframeManager.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -2938,7 +2938,7 @@ interface User$1 {
|
|
|
2938
2938
|
* @type {string}
|
|
2939
2939
|
* @memberof User
|
|
2940
2940
|
*/
|
|
2941
|
-
'id'
|
|
2941
|
+
'id': string;
|
|
2942
2942
|
/**
|
|
2943
2943
|
*
|
|
2944
2944
|
* @type {string}
|
|
@@ -3545,114 +3545,6 @@ interface DeleteAccountResponse {
|
|
|
3545
3545
|
'deleted': boolean;
|
|
3546
3546
|
}
|
|
3547
3547
|
|
|
3548
|
-
/**
|
|
3549
|
-
* Openfort API
|
|
3550
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
3551
|
-
*
|
|
3552
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3553
|
-
* Contact: founders@openfort.xyz
|
|
3554
|
-
*
|
|
3555
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3556
|
-
* https://openapi-generator.tech
|
|
3557
|
-
* Do not edit the class manually.
|
|
3558
|
-
*/
|
|
3559
|
-
/**
|
|
3560
|
-
*
|
|
3561
|
-
* @export
|
|
3562
|
-
* @interface DeleteUserCallbackGet200Response
|
|
3563
|
-
*/
|
|
3564
|
-
interface DeleteUserCallbackGet200Response {
|
|
3565
|
-
/**
|
|
3566
|
-
* Indicates if the deletion was successful
|
|
3567
|
-
* @type {boolean}
|
|
3568
|
-
* @memberof DeleteUserCallbackGet200Response
|
|
3569
|
-
*/
|
|
3570
|
-
'success': boolean;
|
|
3571
|
-
/**
|
|
3572
|
-
* Confirmation message
|
|
3573
|
-
* @type {string}
|
|
3574
|
-
* @memberof DeleteUserCallbackGet200Response
|
|
3575
|
-
*/
|
|
3576
|
-
'message': DeleteUserCallbackGet200ResponseMessageEnum;
|
|
3577
|
-
}
|
|
3578
|
-
declare const DeleteUserCallbackGet200ResponseMessageEnum: {
|
|
3579
|
-
readonly UserDeleted: "User deleted";
|
|
3580
|
-
};
|
|
3581
|
-
type DeleteUserCallbackGet200ResponseMessageEnum = typeof DeleteUserCallbackGet200ResponseMessageEnum[keyof typeof DeleteUserCallbackGet200ResponseMessageEnum];
|
|
3582
|
-
|
|
3583
|
-
/**
|
|
3584
|
-
* Openfort API
|
|
3585
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
3586
|
-
*
|
|
3587
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3588
|
-
* Contact: founders@openfort.xyz
|
|
3589
|
-
*
|
|
3590
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3591
|
-
* https://openapi-generator.tech
|
|
3592
|
-
* Do not edit the class manually.
|
|
3593
|
-
*/
|
|
3594
|
-
/**
|
|
3595
|
-
*
|
|
3596
|
-
* @export
|
|
3597
|
-
* @interface DeleteUserPost200Response
|
|
3598
|
-
*/
|
|
3599
|
-
interface DeleteUserPost200Response {
|
|
3600
|
-
/**
|
|
3601
|
-
* Indicates if the operation was successful
|
|
3602
|
-
* @type {boolean}
|
|
3603
|
-
* @memberof DeleteUserPost200Response
|
|
3604
|
-
*/
|
|
3605
|
-
'success': boolean;
|
|
3606
|
-
/**
|
|
3607
|
-
* Status message of the deletion process
|
|
3608
|
-
* @type {string}
|
|
3609
|
-
* @memberof DeleteUserPost200Response
|
|
3610
|
-
*/
|
|
3611
|
-
'message': DeleteUserPost200ResponseMessageEnum;
|
|
3612
|
-
}
|
|
3613
|
-
declare const DeleteUserPost200ResponseMessageEnum: {
|
|
3614
|
-
readonly UserDeleted: "User deleted";
|
|
3615
|
-
readonly VerificationEmailSent: "Verification email sent";
|
|
3616
|
-
};
|
|
3617
|
-
type DeleteUserPost200ResponseMessageEnum = typeof DeleteUserPost200ResponseMessageEnum[keyof typeof DeleteUserPost200ResponseMessageEnum];
|
|
3618
|
-
|
|
3619
|
-
/**
|
|
3620
|
-
* Openfort API
|
|
3621
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
3622
|
-
*
|
|
3623
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3624
|
-
* Contact: founders@openfort.xyz
|
|
3625
|
-
*
|
|
3626
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3627
|
-
* https://openapi-generator.tech
|
|
3628
|
-
* Do not edit the class manually.
|
|
3629
|
-
*/
|
|
3630
|
-
/**
|
|
3631
|
-
*
|
|
3632
|
-
* @export
|
|
3633
|
-
* @interface DeleteUserPostRequest
|
|
3634
|
-
*/
|
|
3635
|
-
interface DeleteUserPostRequest {
|
|
3636
|
-
/**
|
|
3637
|
-
* The callback URL to redirect to after the user is deleted
|
|
3638
|
-
* @type {string}
|
|
3639
|
-
* @memberof DeleteUserPostRequest
|
|
3640
|
-
*/
|
|
3641
|
-
'callbackURL'?: string | null;
|
|
3642
|
-
/**
|
|
3643
|
-
* The password of the user is required to delete the user
|
|
3644
|
-
* @type {string}
|
|
3645
|
-
* @memberof DeleteUserPostRequest
|
|
3646
|
-
*/
|
|
3647
|
-
'password'?: string | null;
|
|
3648
|
-
/**
|
|
3649
|
-
* The token to delete the user is required
|
|
3650
|
-
* @type {string}
|
|
3651
|
-
* @memberof DeleteUserPostRequest
|
|
3652
|
-
*/
|
|
3653
|
-
'token'?: string | null;
|
|
3654
|
-
}
|
|
3655
|
-
|
|
3656
3548
|
/**
|
|
3657
3549
|
* Openfort API
|
|
3658
3550
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -5147,31 +5039,6 @@ interface OAuthResponse {
|
|
|
5147
5039
|
'key': string;
|
|
5148
5040
|
}
|
|
5149
5041
|
|
|
5150
|
-
/**
|
|
5151
|
-
* Openfort API
|
|
5152
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
5153
|
-
*
|
|
5154
|
-
* The version of the OpenAPI document: 1.0.0
|
|
5155
|
-
* Contact: founders@openfort.xyz
|
|
5156
|
-
*
|
|
5157
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5158
|
-
* https://openapi-generator.tech
|
|
5159
|
-
* Do not edit the class manually.
|
|
5160
|
-
*/
|
|
5161
|
-
/**
|
|
5162
|
-
*
|
|
5163
|
-
* @export
|
|
5164
|
-
* @interface OkGet200Response
|
|
5165
|
-
*/
|
|
5166
|
-
interface OkGet200Response {
|
|
5167
|
-
/**
|
|
5168
|
-
* Indicates if the API is working
|
|
5169
|
-
* @type {boolean}
|
|
5170
|
-
* @memberof OkGet200Response
|
|
5171
|
-
*/
|
|
5172
|
-
'ok': boolean;
|
|
5173
|
-
}
|
|
5174
|
-
|
|
5175
5042
|
/**
|
|
5176
5043
|
* Openfort API
|
|
5177
5044
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8184,62 +8051,6 @@ interface UnlinkOAuthRequest {
|
|
|
8184
8051
|
'provider': OAuthProvider$1;
|
|
8185
8052
|
}
|
|
8186
8053
|
|
|
8187
|
-
/**
|
|
8188
|
-
* Openfort API
|
|
8189
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8190
|
-
*
|
|
8191
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8192
|
-
* Contact: founders@openfort.xyz
|
|
8193
|
-
*
|
|
8194
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8195
|
-
* https://openapi-generator.tech
|
|
8196
|
-
* Do not edit the class manually.
|
|
8197
|
-
*/
|
|
8198
|
-
/**
|
|
8199
|
-
*
|
|
8200
|
-
* @export
|
|
8201
|
-
* @interface UpdateUserPost200Response
|
|
8202
|
-
*/
|
|
8203
|
-
interface UpdateUserPost200Response {
|
|
8204
|
-
/**
|
|
8205
|
-
* Indicates if the update was successful
|
|
8206
|
-
* @type {boolean}
|
|
8207
|
-
* @memberof UpdateUserPost200Response
|
|
8208
|
-
*/
|
|
8209
|
-
'status'?: boolean;
|
|
8210
|
-
}
|
|
8211
|
-
|
|
8212
|
-
/**
|
|
8213
|
-
* Openfort API
|
|
8214
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8215
|
-
*
|
|
8216
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8217
|
-
* Contact: founders@openfort.xyz
|
|
8218
|
-
*
|
|
8219
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8220
|
-
* https://openapi-generator.tech
|
|
8221
|
-
* Do not edit the class manually.
|
|
8222
|
-
*/
|
|
8223
|
-
/**
|
|
8224
|
-
*
|
|
8225
|
-
* @export
|
|
8226
|
-
* @interface UpdateUserPostRequest
|
|
8227
|
-
*/
|
|
8228
|
-
interface UpdateUserPostRequest {
|
|
8229
|
-
/**
|
|
8230
|
-
* The name of the user
|
|
8231
|
-
* @type {string}
|
|
8232
|
-
* @memberof UpdateUserPostRequest
|
|
8233
|
-
*/
|
|
8234
|
-
'name'?: string;
|
|
8235
|
-
/**
|
|
8236
|
-
* The image of the user
|
|
8237
|
-
* @type {string}
|
|
8238
|
-
* @memberof UpdateUserPostRequest
|
|
8239
|
-
*/
|
|
8240
|
-
'image'?: string;
|
|
8241
|
-
}
|
|
8242
|
-
|
|
8243
8054
|
/**
|
|
8244
8055
|
* Openfort API
|
|
8245
8056
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8372,500 +8183,515 @@ interface VerifyEmailRequest {
|
|
|
8372
8183
|
}
|
|
8373
8184
|
|
|
8374
8185
|
/**
|
|
8375
|
-
* Request parameters for cancelTransferOwnership operation in
|
|
8186
|
+
* Request parameters for cancelTransferOwnership operation in AccsV1Api.
|
|
8376
8187
|
* @export
|
|
8377
|
-
* @interface
|
|
8188
|
+
* @interface AccsV1ApiCancelTransferOwnershipRequest
|
|
8378
8189
|
*/
|
|
8379
|
-
interface
|
|
8190
|
+
interface AccsV1ApiCancelTransferOwnershipRequest {
|
|
8380
8191
|
/**
|
|
8381
8192
|
* Specifies the unique account ID (starts with acc_).
|
|
8382
8193
|
* @type {string}
|
|
8383
|
-
* @memberof
|
|
8194
|
+
* @memberof AccsV1ApiCancelTransferOwnership
|
|
8384
8195
|
*/
|
|
8385
8196
|
readonly id: string;
|
|
8386
8197
|
/**
|
|
8387
8198
|
*
|
|
8388
8199
|
* @type {CancelTransferOwnershipRequest}
|
|
8389
|
-
* @memberof
|
|
8200
|
+
* @memberof AccsV1ApiCancelTransferOwnership
|
|
8390
8201
|
*/
|
|
8391
8202
|
readonly cancelTransferOwnershipRequest: CancelTransferOwnershipRequest;
|
|
8392
8203
|
}
|
|
8393
8204
|
/**
|
|
8394
|
-
* Request parameters for completeRecovery operation in
|
|
8205
|
+
* Request parameters for completeRecovery operation in AccsV1Api.
|
|
8395
8206
|
* @export
|
|
8396
|
-
* @interface
|
|
8207
|
+
* @interface AccsV1ApiCompleteRecoveryRequest
|
|
8397
8208
|
*/
|
|
8398
|
-
interface
|
|
8209
|
+
interface AccsV1ApiCompleteRecoveryRequest {
|
|
8399
8210
|
/**
|
|
8400
8211
|
* Specifies the unique account ID (starts with acc_).
|
|
8401
8212
|
* @type {string}
|
|
8402
|
-
* @memberof
|
|
8213
|
+
* @memberof AccsV1ApiCompleteRecovery
|
|
8403
8214
|
*/
|
|
8404
8215
|
readonly id: string;
|
|
8405
8216
|
/**
|
|
8406
8217
|
*
|
|
8407
8218
|
* @type {CompleteRecoveryRequest}
|
|
8408
|
-
* @memberof
|
|
8219
|
+
* @memberof AccsV1ApiCompleteRecovery
|
|
8409
8220
|
*/
|
|
8410
8221
|
readonly completeRecoveryRequest: CompleteRecoveryRequest;
|
|
8411
8222
|
}
|
|
8412
8223
|
/**
|
|
8413
|
-
* Request parameters for createAccount operation in
|
|
8224
|
+
* Request parameters for createAccount operation in AccsV1Api.
|
|
8414
8225
|
* @export
|
|
8415
|
-
* @interface
|
|
8226
|
+
* @interface AccsV1ApiCreateAccountRequest
|
|
8416
8227
|
*/
|
|
8417
|
-
interface
|
|
8228
|
+
interface AccsV1ApiCreateAccountRequest {
|
|
8418
8229
|
/**
|
|
8419
8230
|
*
|
|
8420
8231
|
* @type {CreateAccountRequest}
|
|
8421
|
-
* @memberof
|
|
8232
|
+
* @memberof AccsV1ApiCreateAccount
|
|
8422
8233
|
*/
|
|
8423
8234
|
readonly createAccountRequest: CreateAccountRequest;
|
|
8424
8235
|
}
|
|
8425
8236
|
/**
|
|
8426
|
-
* Request parameters for
|
|
8427
|
-
* @export
|
|
8428
|
-
* @interface AccountsApiCreateAccountV2Request
|
|
8429
|
-
*/
|
|
8430
|
-
interface AccountsApiCreateAccountV2Request {
|
|
8431
|
-
/**
|
|
8432
|
-
*
|
|
8433
|
-
* @type {CreateAccountRequestV2}
|
|
8434
|
-
* @memberof AccountsApiCreateAccountV2
|
|
8435
|
-
*/
|
|
8436
|
-
readonly createAccountRequestV2: CreateAccountRequestV2;
|
|
8437
|
-
}
|
|
8438
|
-
/**
|
|
8439
|
-
* Request parameters for deployAccount operation in AccountsApi.
|
|
8237
|
+
* Request parameters for deployAccount operation in AccsV1Api.
|
|
8440
8238
|
* @export
|
|
8441
|
-
* @interface
|
|
8239
|
+
* @interface AccsV1ApiDeployAccountRequest
|
|
8442
8240
|
*/
|
|
8443
|
-
interface
|
|
8241
|
+
interface AccsV1ApiDeployAccountRequest {
|
|
8444
8242
|
/**
|
|
8445
8243
|
* Specifies the unique account ID (starts with acc_).
|
|
8446
8244
|
* @type {string}
|
|
8447
|
-
* @memberof
|
|
8245
|
+
* @memberof AccsV1ApiDeployAccount
|
|
8448
8246
|
*/
|
|
8449
8247
|
readonly id: string;
|
|
8450
8248
|
/**
|
|
8451
8249
|
*
|
|
8452
8250
|
* @type {DeployRequest}
|
|
8453
|
-
* @memberof
|
|
8251
|
+
* @memberof AccsV1ApiDeployAccount
|
|
8454
8252
|
*/
|
|
8455
8253
|
readonly deployRequest: DeployRequest;
|
|
8456
8254
|
}
|
|
8457
8255
|
/**
|
|
8458
|
-
* Request parameters for disableAccount operation in
|
|
8256
|
+
* Request parameters for disableAccount operation in AccsV1Api.
|
|
8459
8257
|
* @export
|
|
8460
|
-
* @interface
|
|
8258
|
+
* @interface AccsV1ApiDisableAccountRequest
|
|
8461
8259
|
*/
|
|
8462
|
-
interface
|
|
8260
|
+
interface AccsV1ApiDisableAccountRequest {
|
|
8463
8261
|
/**
|
|
8464
8262
|
*
|
|
8465
8263
|
* @type {string}
|
|
8466
|
-
* @memberof
|
|
8264
|
+
* @memberof AccsV1ApiDisableAccount
|
|
8467
8265
|
*/
|
|
8468
8266
|
readonly id: string;
|
|
8469
8267
|
}
|
|
8470
8268
|
/**
|
|
8471
|
-
* Request parameters for getAccount operation in
|
|
8269
|
+
* Request parameters for getAccount operation in AccsV1Api.
|
|
8472
8270
|
* @export
|
|
8473
|
-
* @interface
|
|
8271
|
+
* @interface AccsV1ApiGetAccountRequest
|
|
8474
8272
|
*/
|
|
8475
|
-
interface
|
|
8273
|
+
interface AccsV1ApiGetAccountRequest {
|
|
8476
8274
|
/**
|
|
8477
8275
|
* Specifies the unique account ID (starts with acc_).
|
|
8478
8276
|
* @type {string}
|
|
8479
|
-
* @memberof
|
|
8277
|
+
* @memberof AccsV1ApiGetAccount
|
|
8480
8278
|
*/
|
|
8481
8279
|
readonly id: string;
|
|
8482
8280
|
/**
|
|
8483
8281
|
*
|
|
8484
8282
|
* @type {Array<AccountResponseExpandable>}
|
|
8485
|
-
* @memberof
|
|
8283
|
+
* @memberof AccsV1ApiGetAccount
|
|
8486
8284
|
*/
|
|
8487
8285
|
readonly expand?: Array<AccountResponseExpandable>;
|
|
8488
8286
|
}
|
|
8489
8287
|
/**
|
|
8490
|
-
* Request parameters for
|
|
8491
|
-
* @export
|
|
8492
|
-
* @interface AccountsApiGetAccountV2Request
|
|
8493
|
-
*/
|
|
8494
|
-
interface AccountsApiGetAccountV2Request {
|
|
8495
|
-
/**
|
|
8496
|
-
*
|
|
8497
|
-
* @type {string}
|
|
8498
|
-
* @memberof AccountsApiGetAccountV2
|
|
8499
|
-
*/
|
|
8500
|
-
readonly id: string;
|
|
8501
|
-
}
|
|
8502
|
-
/**
|
|
8503
|
-
* Request parameters for getAccounts operation in AccountsApi.
|
|
8288
|
+
* Request parameters for getAccounts operation in AccsV1Api.
|
|
8504
8289
|
* @export
|
|
8505
|
-
* @interface
|
|
8290
|
+
* @interface AccsV1ApiGetAccountsRequest
|
|
8506
8291
|
*/
|
|
8507
|
-
interface
|
|
8292
|
+
interface AccsV1ApiGetAccountsRequest {
|
|
8508
8293
|
/**
|
|
8509
8294
|
* Specifies the maximum number of records to return.
|
|
8510
8295
|
* @type {number}
|
|
8511
|
-
* @memberof
|
|
8296
|
+
* @memberof AccsV1ApiGetAccounts
|
|
8512
8297
|
*/
|
|
8513
8298
|
readonly limit?: number;
|
|
8514
8299
|
/**
|
|
8515
8300
|
* Specifies the offset for the first records to return.
|
|
8516
8301
|
* @type {number}
|
|
8517
|
-
* @memberof
|
|
8302
|
+
* @memberof AccsV1ApiGetAccounts
|
|
8518
8303
|
*/
|
|
8519
8304
|
readonly skip?: number;
|
|
8520
8305
|
/**
|
|
8521
8306
|
* Specifies the order in which to sort the results.
|
|
8522
8307
|
* @type {PrismaSortOrder}
|
|
8523
|
-
* @memberof
|
|
8308
|
+
* @memberof AccsV1ApiGetAccounts
|
|
8524
8309
|
*/
|
|
8525
8310
|
readonly order?: PrismaSortOrder;
|
|
8526
8311
|
/**
|
|
8527
8312
|
* The chain ID. Must be a [supported chain](/development/chains).
|
|
8528
8313
|
* @type {number}
|
|
8529
|
-
* @memberof
|
|
8314
|
+
* @memberof AccsV1ApiGetAccounts
|
|
8530
8315
|
*/
|
|
8531
8316
|
readonly chainId?: number;
|
|
8532
8317
|
/**
|
|
8533
8318
|
* Specifies the unique player ID (starts with pla_)
|
|
8534
8319
|
* @type {string}
|
|
8535
|
-
* @memberof
|
|
8320
|
+
* @memberof AccsV1ApiGetAccounts
|
|
8536
8321
|
*/
|
|
8537
8322
|
readonly player?: string;
|
|
8538
8323
|
/**
|
|
8539
8324
|
* Specifies the address of the account
|
|
8540
8325
|
* @type {string}
|
|
8541
|
-
* @memberof
|
|
8326
|
+
* @memberof AccsV1ApiGetAccounts
|
|
8542
8327
|
*/
|
|
8543
8328
|
readonly address?: string;
|
|
8544
8329
|
/**
|
|
8545
8330
|
* Specifies the fields to expand in the response.
|
|
8546
8331
|
* @type {Array<AccountResponseExpandable>}
|
|
8547
|
-
* @memberof
|
|
8332
|
+
* @memberof AccsV1ApiGetAccounts
|
|
8548
8333
|
*/
|
|
8549
8334
|
readonly expand?: Array<AccountResponseExpandable>;
|
|
8550
8335
|
}
|
|
8551
8336
|
/**
|
|
8552
|
-
* Request parameters for
|
|
8553
|
-
* @export
|
|
8554
|
-
* @interface AccountsApiGetAccountsV2Request
|
|
8555
|
-
*/
|
|
8556
|
-
interface AccountsApiGetAccountsV2Request {
|
|
8557
|
-
/**
|
|
8558
|
-
* Specifies the maximum number of records to return.
|
|
8559
|
-
* @type {number}
|
|
8560
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8561
|
-
*/
|
|
8562
|
-
readonly limit?: number;
|
|
8563
|
-
/**
|
|
8564
|
-
* Specifies the offset for the first records to return.
|
|
8565
|
-
* @type {number}
|
|
8566
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8567
|
-
*/
|
|
8568
|
-
readonly skip?: number;
|
|
8569
|
-
/**
|
|
8570
|
-
* Specifies the order in which to sort the results.
|
|
8571
|
-
* @type {PrismaSortOrder}
|
|
8572
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8573
|
-
*/
|
|
8574
|
-
readonly order?: PrismaSortOrder;
|
|
8575
|
-
/**
|
|
8576
|
-
* The chain ID. Must be a [supported chain](/development/chains).
|
|
8577
|
-
* @type {number}
|
|
8578
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8579
|
-
*/
|
|
8580
|
-
readonly chainId?: number;
|
|
8581
|
-
/**
|
|
8582
|
-
* Specifies the unique user ID (starts with pla_)
|
|
8583
|
-
* @type {string}
|
|
8584
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8585
|
-
*/
|
|
8586
|
-
readonly user?: string;
|
|
8587
|
-
/**
|
|
8588
|
-
* The chain type. Must be either \"EVM\" or \"SVM\".
|
|
8589
|
-
* @type {'EVM' | 'SVM'}
|
|
8590
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8591
|
-
*/
|
|
8592
|
-
readonly chainType?: GetAccountsV2ChainTypeEnum;
|
|
8593
|
-
/**
|
|
8594
|
-
* Specifies the type of account. Must be either \"Smart Account\" or \"Externally Owned Account\".
|
|
8595
|
-
* @type {'Externally Owned Account' | 'Smart Account' | 'Delegated Account'}
|
|
8596
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8597
|
-
*/
|
|
8598
|
-
readonly accountType?: GetAccountsV2AccountTypeEnum;
|
|
8599
|
-
/**
|
|
8600
|
-
* Specifies the account address
|
|
8601
|
-
* @type {string}
|
|
8602
|
-
* @memberof AccountsApiGetAccountsV2
|
|
8603
|
-
*/
|
|
8604
|
-
readonly address?: string;
|
|
8605
|
-
}
|
|
8606
|
-
/**
|
|
8607
|
-
* Request parameters for getSignerIdByAddress operation in AccountsApi.
|
|
8608
|
-
* @export
|
|
8609
|
-
* @interface AccountsApiGetSignerIdByAddressRequest
|
|
8610
|
-
*/
|
|
8611
|
-
interface AccountsApiGetSignerIdByAddressRequest {
|
|
8612
|
-
/**
|
|
8613
|
-
*
|
|
8614
|
-
* @type {string}
|
|
8615
|
-
* @memberof AccountsApiGetSignerIdByAddress
|
|
8616
|
-
*/
|
|
8617
|
-
readonly address: string;
|
|
8618
|
-
}
|
|
8619
|
-
/**
|
|
8620
|
-
* Request parameters for removeAccount operation in AccountsApi.
|
|
8621
|
-
* @export
|
|
8622
|
-
* @interface AccountsApiRemoveAccountRequest
|
|
8623
|
-
*/
|
|
8624
|
-
interface AccountsApiRemoveAccountRequest {
|
|
8625
|
-
/**
|
|
8626
|
-
*
|
|
8627
|
-
* @type {string}
|
|
8628
|
-
* @memberof AccountsApiRemoveAccount
|
|
8629
|
-
*/
|
|
8630
|
-
readonly id: string;
|
|
8631
|
-
}
|
|
8632
|
-
/**
|
|
8633
|
-
* Request parameters for requestTransferOwnership operation in AccountsApi.
|
|
8337
|
+
* Request parameters for requestTransferOwnership operation in AccsV1Api.
|
|
8634
8338
|
* @export
|
|
8635
|
-
* @interface
|
|
8339
|
+
* @interface AccsV1ApiRequestTransferOwnershipRequest
|
|
8636
8340
|
*/
|
|
8637
|
-
interface
|
|
8341
|
+
interface AccsV1ApiRequestTransferOwnershipRequest {
|
|
8638
8342
|
/**
|
|
8639
8343
|
* Specifies the unique account ID (starts with acc_).
|
|
8640
8344
|
* @type {string}
|
|
8641
|
-
* @memberof
|
|
8345
|
+
* @memberof AccsV1ApiRequestTransferOwnership
|
|
8642
8346
|
*/
|
|
8643
8347
|
readonly id: string;
|
|
8644
8348
|
/**
|
|
8645
8349
|
*
|
|
8646
8350
|
* @type {TransferOwnershipRequest}
|
|
8647
|
-
* @memberof
|
|
8351
|
+
* @memberof AccsV1ApiRequestTransferOwnership
|
|
8648
8352
|
*/
|
|
8649
8353
|
readonly transferOwnershipRequest: TransferOwnershipRequest;
|
|
8650
8354
|
}
|
|
8651
8355
|
/**
|
|
8652
|
-
* Request parameters for signPayload operation in
|
|
8356
|
+
* Request parameters for signPayload operation in AccsV1Api.
|
|
8653
8357
|
* @export
|
|
8654
|
-
* @interface
|
|
8358
|
+
* @interface AccsV1ApiSignPayloadRequest
|
|
8655
8359
|
*/
|
|
8656
|
-
interface
|
|
8360
|
+
interface AccsV1ApiSignPayloadRequest {
|
|
8657
8361
|
/**
|
|
8658
8362
|
* Specifies the unique account ID (starts with acc_).
|
|
8659
8363
|
* @type {string}
|
|
8660
|
-
* @memberof
|
|
8364
|
+
* @memberof AccsV1ApiSignPayload
|
|
8661
8365
|
*/
|
|
8662
8366
|
readonly id: string;
|
|
8663
8367
|
/**
|
|
8664
8368
|
*
|
|
8665
8369
|
* @type {SignPayloadRequest}
|
|
8666
|
-
* @memberof
|
|
8370
|
+
* @memberof AccsV1ApiSignPayload
|
|
8667
8371
|
*/
|
|
8668
8372
|
readonly signPayloadRequest: SignPayloadRequest;
|
|
8669
8373
|
}
|
|
8670
8374
|
/**
|
|
8671
|
-
* Request parameters for startRecovery operation in
|
|
8375
|
+
* Request parameters for startRecovery operation in AccsV1Api.
|
|
8672
8376
|
* @export
|
|
8673
|
-
* @interface
|
|
8377
|
+
* @interface AccsV1ApiStartRecoveryRequest
|
|
8674
8378
|
*/
|
|
8675
|
-
interface
|
|
8379
|
+
interface AccsV1ApiStartRecoveryRequest {
|
|
8676
8380
|
/**
|
|
8677
8381
|
* Specifies the unique account ID (starts with acc_).
|
|
8678
8382
|
* @type {string}
|
|
8679
|
-
* @memberof
|
|
8383
|
+
* @memberof AccsV1ApiStartRecovery
|
|
8680
8384
|
*/
|
|
8681
8385
|
readonly id: string;
|
|
8682
8386
|
/**
|
|
8683
8387
|
*
|
|
8684
8388
|
* @type {StartRecoveryRequest}
|
|
8685
|
-
* @memberof
|
|
8389
|
+
* @memberof AccsV1ApiStartRecovery
|
|
8686
8390
|
*/
|
|
8687
8391
|
readonly startRecoveryRequest: StartRecoveryRequest;
|
|
8688
8392
|
}
|
|
8689
8393
|
/**
|
|
8690
|
-
* Request parameters for
|
|
8691
|
-
* @export
|
|
8692
|
-
* @interface AccountsApiSwitchChainV2Request
|
|
8693
|
-
*/
|
|
8694
|
-
interface AccountsApiSwitchChainV2Request {
|
|
8695
|
-
/**
|
|
8696
|
-
*
|
|
8697
|
-
* @type {SwitchChainQueriesV2}
|
|
8698
|
-
* @memberof AccountsApiSwitchChainV2
|
|
8699
|
-
*/
|
|
8700
|
-
readonly switchChainQueriesV2: SwitchChainQueriesV2;
|
|
8701
|
-
}
|
|
8702
|
-
/**
|
|
8703
|
-
* Request parameters for syncAccount operation in AccountsApi.
|
|
8394
|
+
* Request parameters for syncAccount operation in AccsV1Api.
|
|
8704
8395
|
* @export
|
|
8705
|
-
* @interface
|
|
8396
|
+
* @interface AccsV1ApiSyncAccountRequest
|
|
8706
8397
|
*/
|
|
8707
|
-
interface
|
|
8398
|
+
interface AccsV1ApiSyncAccountRequest {
|
|
8708
8399
|
/**
|
|
8709
8400
|
* Specifies the unique account ID (starts with acc_).
|
|
8710
8401
|
* @type {string}
|
|
8711
|
-
* @memberof
|
|
8402
|
+
* @memberof AccsV1ApiSyncAccount
|
|
8712
8403
|
*/
|
|
8713
8404
|
readonly id: string;
|
|
8714
8405
|
}
|
|
8715
8406
|
/**
|
|
8716
|
-
*
|
|
8407
|
+
* AccsV1Api - object-oriented interface
|
|
8717
8408
|
* @export
|
|
8718
|
-
* @class
|
|
8409
|
+
* @class AccsV1Api
|
|
8719
8410
|
* @extends {BaseAPI}
|
|
8720
8411
|
*/
|
|
8721
|
-
declare class
|
|
8412
|
+
declare class AccsV1Api extends BaseAPI {
|
|
8722
8413
|
/**
|
|
8723
8414
|
* Cancel a pending transfer of ownership.
|
|
8724
8415
|
* @summary Cancel request to transfer ownership of an account.
|
|
8725
|
-
* @param {
|
|
8416
|
+
* @param {AccsV1ApiCancelTransferOwnershipRequest} requestParameters Request parameters.
|
|
8726
8417
|
* @param {*} [options] Override http request option.
|
|
8727
8418
|
* @throws {RequiredError}
|
|
8728
|
-
* @memberof
|
|
8419
|
+
* @memberof AccsV1Api
|
|
8729
8420
|
*/
|
|
8730
|
-
cancelTransferOwnership(requestParameters:
|
|
8421
|
+
cancelTransferOwnership(requestParameters: AccsV1ApiCancelTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
8731
8422
|
/**
|
|
8732
8423
|
*
|
|
8733
8424
|
* @summary Complete a recovery process of a recoverable account.
|
|
8734
|
-
* @param {
|
|
8425
|
+
* @param {AccsV1ApiCompleteRecoveryRequest} requestParameters Request parameters.
|
|
8735
8426
|
* @param {*} [options] Override http request option.
|
|
8736
8427
|
* @throws {RequiredError}
|
|
8737
|
-
* @memberof
|
|
8428
|
+
* @memberof AccsV1Api
|
|
8738
8429
|
*/
|
|
8739
|
-
completeRecovery(requestParameters:
|
|
8430
|
+
completeRecovery(requestParameters: AccsV1ApiCompleteRecoveryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
8740
8431
|
/**
|
|
8741
8432
|
* Creates a new blockchain account for the provided player. If not player is provided, a new one will be created. Account creation does not consume any gas. All accounts of a player will use the same address across blockchains. Each player can only have one account per chain.
|
|
8742
8433
|
* @summary Create an account object.
|
|
8743
|
-
* @param {
|
|
8744
|
-
* @param {*} [options] Override http request option.
|
|
8745
|
-
* @throws {RequiredError}
|
|
8746
|
-
* @memberof AccountsApi
|
|
8747
|
-
*/
|
|
8748
|
-
createAccount(requestParameters: AccountsApiCreateAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
8749
|
-
/**
|
|
8750
|
-
*
|
|
8751
|
-
* @param {AccountsApiCreateAccountV2Request} requestParameters Request parameters.
|
|
8434
|
+
* @param {AccsV1ApiCreateAccountRequest} requestParameters Request parameters.
|
|
8752
8435
|
* @param {*} [options] Override http request option.
|
|
8753
8436
|
* @throws {RequiredError}
|
|
8754
|
-
* @memberof
|
|
8437
|
+
* @memberof AccsV1Api
|
|
8755
8438
|
*/
|
|
8756
|
-
|
|
8439
|
+
createAccount(requestParameters: AccsV1ApiCreateAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
8757
8440
|
/**
|
|
8758
8441
|
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
8759
8442
|
* @summary Deploy an account.
|
|
8760
|
-
* @param {
|
|
8443
|
+
* @param {AccsV1ApiDeployAccountRequest} requestParameters Request parameters.
|
|
8761
8444
|
* @param {*} [options] Override http request option.
|
|
8762
8445
|
* @throws {RequiredError}
|
|
8763
|
-
* @memberof
|
|
8446
|
+
* @memberof AccsV1Api
|
|
8764
8447
|
*/
|
|
8765
|
-
deployAccount(requestParameters:
|
|
8448
|
+
deployAccount(requestParameters: AccsV1ApiDeployAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
8766
8449
|
/**
|
|
8767
|
-
*
|
|
8768
|
-
* @
|
|
8450
|
+
* Disables an account. Accounts won\'t be shown for user and won\'t be accessible for transactions.
|
|
8451
|
+
* @summary Disable account by id.
|
|
8452
|
+
* @param {AccsV1ApiDisableAccountRequest} requestParameters Request parameters.
|
|
8769
8453
|
* @param {*} [options] Override http request option.
|
|
8770
8454
|
* @throws {RequiredError}
|
|
8771
|
-
* @memberof
|
|
8455
|
+
* @memberof AccsV1Api
|
|
8772
8456
|
*/
|
|
8773
|
-
disableAccount(requestParameters:
|
|
8457
|
+
disableAccount(requestParameters: AccsV1ApiDisableAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
8774
8458
|
/**
|
|
8775
8459
|
* 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. Returns the latest 10 transaction intents created by this account.
|
|
8776
8460
|
* @summary Get existing account.
|
|
8777
|
-
* @param {
|
|
8461
|
+
* @param {AccsV1ApiGetAccountRequest} requestParameters Request parameters.
|
|
8778
8462
|
* @param {*} [options] Override http request option.
|
|
8779
8463
|
* @throws {RequiredError}
|
|
8780
|
-
* @memberof
|
|
8464
|
+
* @memberof AccsV1Api
|
|
8781
8465
|
*/
|
|
8782
|
-
getAccount(requestParameters:
|
|
8466
|
+
getAccount(requestParameters: AccsV1ApiGetAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
8783
8467
|
/**
|
|
8784
|
-
*
|
|
8785
|
-
* @
|
|
8468
|
+
* Returns a list of accounts for the given player. This object represents a player\'s account, which is a blockchain smart account that can be used to interact with the blockchain. The accounts are returned sorted by creation date, with the most recently created accounts appearing first. Returns the latest 10 transaction intents for each account. By default, a maximum of 10 accounts are shown per page.
|
|
8469
|
+
* @summary List accounts of a player.
|
|
8470
|
+
* @param {AccsV1ApiGetAccountsRequest} requestParameters Request parameters.
|
|
8786
8471
|
* @param {*} [options] Override http request option.
|
|
8787
8472
|
* @throws {RequiredError}
|
|
8788
|
-
* @memberof
|
|
8473
|
+
* @memberof AccsV1Api
|
|
8789
8474
|
*/
|
|
8790
|
-
|
|
8475
|
+
getAccounts(requestParameters?: AccsV1ApiGetAccountsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountListResponse, any, {}>>;
|
|
8791
8476
|
/**
|
|
8792
|
-
*
|
|
8793
|
-
* @summary
|
|
8794
|
-
* @param {
|
|
8477
|
+
* 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.
|
|
8478
|
+
* @summary Request transfer ownership of account.
|
|
8479
|
+
* @param {AccsV1ApiRequestTransferOwnershipRequest} requestParameters Request parameters.
|
|
8795
8480
|
* @param {*} [options] Override http request option.
|
|
8796
8481
|
* @throws {RequiredError}
|
|
8797
|
-
* @memberof
|
|
8482
|
+
* @memberof AccsV1Api
|
|
8798
8483
|
*/
|
|
8799
|
-
|
|
8484
|
+
requestTransferOwnership(requestParameters: AccsV1ApiRequestTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
8800
8485
|
/**
|
|
8801
|
-
*
|
|
8802
|
-
* @summary
|
|
8803
|
-
* @param {
|
|
8486
|
+
* **Custodial Accounts only** - Signs the typed repositories value with types repositories structure for domain using the [EIP-712](https://eips.ethereum.org/EIPS/eip-712) specification.
|
|
8487
|
+
* @summary Sign a given payload
|
|
8488
|
+
* @param {AccsV1ApiSignPayloadRequest} requestParameters Request parameters.
|
|
8804
8489
|
* @param {*} [options] Override http request option.
|
|
8805
8490
|
* @throws {RequiredError}
|
|
8806
|
-
* @memberof
|
|
8491
|
+
* @memberof AccsV1Api
|
|
8807
8492
|
*/
|
|
8808
|
-
|
|
8493
|
+
signPayload(requestParameters: AccsV1ApiSignPayloadRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignPayloadResponse, any, {}>>;
|
|
8809
8494
|
/**
|
|
8810
8495
|
*
|
|
8811
|
-
* @
|
|
8496
|
+
* @summary Start a recovery process of a recoverable account.
|
|
8497
|
+
* @param {AccsV1ApiStartRecoveryRequest} requestParameters Request parameters.
|
|
8812
8498
|
* @param {*} [options] Override http request option.
|
|
8813
8499
|
* @throws {RequiredError}
|
|
8814
|
-
* @memberof
|
|
8500
|
+
* @memberof AccsV1Api
|
|
8815
8501
|
*/
|
|
8816
|
-
|
|
8502
|
+
startRecovery(requestParameters: AccsV1ApiStartRecoveryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
8817
8503
|
/**
|
|
8818
|
-
*
|
|
8819
|
-
* @
|
|
8504
|
+
* Synchronize the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
8505
|
+
* @summary Sync account state with the blockchain
|
|
8506
|
+
* @param {AccsV1ApiSyncAccountRequest} requestParameters Request parameters.
|
|
8820
8507
|
* @param {*} [options] Override http request option.
|
|
8821
8508
|
* @throws {RequiredError}
|
|
8822
|
-
* @memberof
|
|
8509
|
+
* @memberof AccsV1Api
|
|
8823
8510
|
*/
|
|
8824
|
-
|
|
8825
|
-
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8511
|
+
syncAccount(requestParameters: AccsV1ApiSyncAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
8512
|
+
}
|
|
8513
|
+
|
|
8514
|
+
/**
|
|
8515
|
+
* Request parameters for createAccountV2 operation in AccsV2Api.
|
|
8516
|
+
* @export
|
|
8517
|
+
* @interface AccsV2ApiCreateAccountV2Request
|
|
8518
|
+
*/
|
|
8519
|
+
interface AccsV2ApiCreateAccountV2Request {
|
|
8520
|
+
/**
|
|
8521
|
+
*
|
|
8522
|
+
* @type {CreateAccountRequestV2}
|
|
8523
|
+
* @memberof AccsV2ApiCreateAccountV2
|
|
8524
|
+
*/
|
|
8525
|
+
readonly createAccountRequestV2: CreateAccountRequestV2;
|
|
8526
|
+
}
|
|
8527
|
+
/**
|
|
8528
|
+
* Request parameters for getAccountV2 operation in AccsV2Api.
|
|
8529
|
+
* @export
|
|
8530
|
+
* @interface AccsV2ApiGetAccountV2Request
|
|
8531
|
+
*/
|
|
8532
|
+
interface AccsV2ApiGetAccountV2Request {
|
|
8533
|
+
/**
|
|
8534
|
+
*
|
|
8535
|
+
* @type {string}
|
|
8536
|
+
* @memberof AccsV2ApiGetAccountV2
|
|
8537
|
+
*/
|
|
8538
|
+
readonly id: string;
|
|
8539
|
+
}
|
|
8540
|
+
/**
|
|
8541
|
+
* Request parameters for getAccountsV2 operation in AccsV2Api.
|
|
8542
|
+
* @export
|
|
8543
|
+
* @interface AccsV2ApiGetAccountsV2Request
|
|
8544
|
+
*/
|
|
8545
|
+
interface AccsV2ApiGetAccountsV2Request {
|
|
8546
|
+
/**
|
|
8547
|
+
* Specifies the maximum number of records to return.
|
|
8548
|
+
* @type {number}
|
|
8549
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8550
|
+
*/
|
|
8551
|
+
readonly limit?: number;
|
|
8552
|
+
/**
|
|
8553
|
+
* Specifies the offset for the first records to return.
|
|
8554
|
+
* @type {number}
|
|
8555
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8556
|
+
*/
|
|
8557
|
+
readonly skip?: number;
|
|
8558
|
+
/**
|
|
8559
|
+
* Specifies the order in which to sort the results.
|
|
8560
|
+
* @type {PrismaSortOrder}
|
|
8561
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8562
|
+
*/
|
|
8563
|
+
readonly order?: PrismaSortOrder;
|
|
8564
|
+
/**
|
|
8565
|
+
* The chain ID. Must be a [supported chain](/development/chains).
|
|
8566
|
+
* @type {number}
|
|
8567
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8568
|
+
*/
|
|
8569
|
+
readonly chainId?: number;
|
|
8570
|
+
/**
|
|
8571
|
+
* Specifies the unique user ID (starts with pla_)
|
|
8572
|
+
* @type {string}
|
|
8573
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8574
|
+
*/
|
|
8575
|
+
readonly user?: string;
|
|
8576
|
+
/**
|
|
8577
|
+
* The chain type. Must be either \"EVM\" or \"SVM\".
|
|
8578
|
+
* @type {'EVM' | 'SVM'}
|
|
8579
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8580
|
+
*/
|
|
8581
|
+
readonly chainType?: GetAccountsV2ChainTypeEnum;
|
|
8582
|
+
/**
|
|
8583
|
+
* Specifies the type of account. Must be either \"Smart Account\" or \"Externally Owned Account\".
|
|
8584
|
+
* @type {'Externally Owned Account' | 'Smart Account' | 'Delegated Account'}
|
|
8585
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8586
|
+
*/
|
|
8587
|
+
readonly accountType?: GetAccountsV2AccountTypeEnum;
|
|
8588
|
+
/**
|
|
8589
|
+
* Specifies the account address
|
|
8590
|
+
* @type {string}
|
|
8591
|
+
* @memberof AccsV2ApiGetAccountsV2
|
|
8592
|
+
*/
|
|
8593
|
+
readonly address?: string;
|
|
8594
|
+
}
|
|
8595
|
+
/**
|
|
8596
|
+
* Request parameters for getSignerIdByAddress operation in AccsV2Api.
|
|
8597
|
+
* @export
|
|
8598
|
+
* @interface AccsV2ApiGetSignerIdByAddressRequest
|
|
8599
|
+
*/
|
|
8600
|
+
interface AccsV2ApiGetSignerIdByAddressRequest {
|
|
8601
|
+
/**
|
|
8602
|
+
*
|
|
8603
|
+
* @type {string}
|
|
8604
|
+
* @memberof AccsV2ApiGetSignerIdByAddress
|
|
8605
|
+
*/
|
|
8606
|
+
readonly address: string;
|
|
8607
|
+
}
|
|
8608
|
+
/**
|
|
8609
|
+
* Request parameters for removeAccount operation in AccsV2Api.
|
|
8610
|
+
* @export
|
|
8611
|
+
* @interface AccsV2ApiRemoveAccountRequest
|
|
8612
|
+
*/
|
|
8613
|
+
interface AccsV2ApiRemoveAccountRequest {
|
|
8614
|
+
/**
|
|
8615
|
+
*
|
|
8616
|
+
* @type {string}
|
|
8617
|
+
* @memberof AccsV2ApiRemoveAccount
|
|
8618
|
+
*/
|
|
8619
|
+
readonly id: string;
|
|
8620
|
+
}
|
|
8621
|
+
/**
|
|
8622
|
+
* Request parameters for switchChainV2 operation in AccsV2Api.
|
|
8623
|
+
* @export
|
|
8624
|
+
* @interface AccsV2ApiSwitchChainV2Request
|
|
8625
|
+
*/
|
|
8626
|
+
interface AccsV2ApiSwitchChainV2Request {
|
|
8627
|
+
/**
|
|
8628
|
+
*
|
|
8629
|
+
* @type {SwitchChainQueriesV2}
|
|
8630
|
+
* @memberof AccsV2ApiSwitchChainV2
|
|
8631
|
+
*/
|
|
8632
|
+
readonly switchChainQueriesV2: SwitchChainQueriesV2;
|
|
8633
|
+
}
|
|
8634
|
+
/**
|
|
8635
|
+
* AccsV2Api - object-oriented interface
|
|
8636
|
+
* @export
|
|
8637
|
+
* @class AccsV2Api
|
|
8638
|
+
* @extends {BaseAPI}
|
|
8639
|
+
*/
|
|
8640
|
+
declare class AccsV2Api extends BaseAPI {
|
|
8641
|
+
/**
|
|
8642
|
+
* Creates a new blockchain account for a user. Account creation does not consume any gas. The account can be used to interact with the blockchain.
|
|
8643
|
+
* @summary Create new account.
|
|
8644
|
+
* @param {AccsV2ApiCreateAccountV2Request} requestParameters Request parameters.
|
|
8829
8645
|
* @param {*} [options] Override http request option.
|
|
8830
8646
|
* @throws {RequiredError}
|
|
8831
|
-
* @memberof
|
|
8647
|
+
* @memberof AccsV2Api
|
|
8832
8648
|
*/
|
|
8833
|
-
|
|
8649
|
+
createAccountV2(requestParameters: AccsV2ApiCreateAccountV2Request, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountV2Response, any, {}>>;
|
|
8834
8650
|
/**
|
|
8835
|
-
*
|
|
8836
|
-
* @summary
|
|
8837
|
-
* @param {
|
|
8651
|
+
* Retrieves the details of an existing account. Supply the unique account ID and Openfort will return the corresponding account information.
|
|
8652
|
+
* @summary Get existing account.
|
|
8653
|
+
* @param {AccsV2ApiGetAccountV2Request} requestParameters Request parameters.
|
|
8838
8654
|
* @param {*} [options] Override http request option.
|
|
8839
8655
|
* @throws {RequiredError}
|
|
8840
|
-
* @memberof
|
|
8656
|
+
* @memberof AccsV2Api
|
|
8841
8657
|
*/
|
|
8842
|
-
|
|
8658
|
+
getAccountV2(requestParameters: AccsV2ApiGetAccountV2Request, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountV2Response, any, {}>>;
|
|
8843
8659
|
/**
|
|
8844
|
-
*
|
|
8845
|
-
* @summary
|
|
8846
|
-
* @param {
|
|
8660
|
+
* Returns a list of accounts for the given user. This object represents a user\'s account, which is a blockchain smart account that can be used to interact with the blockchain. The accounts are returned sorted by creation date, with the most recently created accounts appearing first.
|
|
8661
|
+
* @summary List user accounts.
|
|
8662
|
+
* @param {AccsV2ApiGetAccountsV2Request} requestParameters Request parameters.
|
|
8847
8663
|
* @param {*} [options] Override http request option.
|
|
8848
8664
|
* @throws {RequiredError}
|
|
8849
|
-
* @memberof
|
|
8665
|
+
* @memberof AccsV2Api
|
|
8850
8666
|
*/
|
|
8851
|
-
|
|
8667
|
+
getAccountsV2(requestParameters?: AccsV2ApiGetAccountsV2Request, options?: AxiosRequestConfig): Promise<AxiosResponse<BaseEntityListResponseAccountV2Response, any, {}>>;
|
|
8852
8668
|
/**
|
|
8853
|
-
*
|
|
8854
|
-
* @
|
|
8669
|
+
* Retrieves the signer ID associated with a given blockchain address.
|
|
8670
|
+
* @summary Get signer ID by address.
|
|
8671
|
+
* @param {AccsV2ApiGetSignerIdByAddressRequest} requestParameters Request parameters.
|
|
8855
8672
|
* @param {*} [options] Override http request option.
|
|
8856
8673
|
* @throws {RequiredError}
|
|
8857
|
-
* @memberof
|
|
8674
|
+
* @memberof AccsV2Api
|
|
8858
8675
|
*/
|
|
8859
|
-
|
|
8676
|
+
getSignerIdByAddress(requestParameters: AccsV2ApiGetSignerIdByAddressRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignerIdResponse, any, {}>>;
|
|
8860
8677
|
/**
|
|
8861
|
-
*
|
|
8862
|
-
* @summary
|
|
8863
|
-
* @param {
|
|
8678
|
+
* Removes an account from a project.
|
|
8679
|
+
* @summary Delete account.
|
|
8680
|
+
* @param {AccsV2ApiRemoveAccountRequest} requestParameters Request parameters.
|
|
8681
|
+
* @param {*} [options] Override http request option.
|
|
8682
|
+
* @throws {RequiredError}
|
|
8683
|
+
* @memberof AccsV2Api
|
|
8684
|
+
*/
|
|
8685
|
+
removeAccount(requestParameters: AccsV2ApiRemoveAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<DeleteAccountResponse, any, {}>>;
|
|
8686
|
+
/**
|
|
8687
|
+
* Switches the blockchain network for an existing account. This allows moving an account between different blockchain networks while maintaining the same account identity.
|
|
8688
|
+
* @summary Switch account blockchain.
|
|
8689
|
+
* @param {AccsV2ApiSwitchChainV2Request} requestParameters Request parameters.
|
|
8864
8690
|
* @param {*} [options] Override http request option.
|
|
8865
8691
|
* @throws {RequiredError}
|
|
8866
|
-
* @memberof
|
|
8692
|
+
* @memberof AccsV2Api
|
|
8867
8693
|
*/
|
|
8868
|
-
|
|
8694
|
+
switchChainV2(requestParameters: AccsV2ApiSwitchChainV2Request, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountV2Response, any, {}>>;
|
|
8869
8695
|
}
|
|
8870
8696
|
/**
|
|
8871
8697
|
* @export
|
|
@@ -8886,1504 +8712,1546 @@ declare const GetAccountsV2AccountTypeEnum: {
|
|
|
8886
8712
|
type GetAccountsV2AccountTypeEnum = typeof GetAccountsV2AccountTypeEnum[keyof typeof GetAccountsV2AccountTypeEnum];
|
|
8887
8713
|
|
|
8888
8714
|
/**
|
|
8889
|
-
*
|
|
8890
|
-
* @export
|
|
8891
|
-
* @class AnonymousApi
|
|
8892
|
-
* @extends {BaseAPI}
|
|
8893
|
-
*/
|
|
8894
|
-
declare class AnonymousApi extends BaseAPI {
|
|
8895
|
-
/**
|
|
8896
|
-
* Sign in anonymously
|
|
8897
|
-
* @param {*} [options] Override http request option.
|
|
8898
|
-
* @throws {RequiredError}
|
|
8899
|
-
* @memberof AnonymousApi
|
|
8900
|
-
*/
|
|
8901
|
-
signInAnonymousPost(options?: AxiosRequestConfig): Promise<AxiosResponse<SignInAnonymousPost200Response, any, {}>>;
|
|
8902
|
-
}
|
|
8903
|
-
|
|
8904
|
-
/**
|
|
8905
|
-
* Request parameters for authenticateSIWE operation in AuthenticationApi.
|
|
8715
|
+
* Request parameters for authenticateSIWE operation in AuthV1Api.
|
|
8906
8716
|
* @export
|
|
8907
|
-
* @interface
|
|
8717
|
+
* @interface AuthV1ApiAuthenticateSIWERequest
|
|
8908
8718
|
*/
|
|
8909
|
-
interface
|
|
8719
|
+
interface AuthV1ApiAuthenticateSIWERequest {
|
|
8910
8720
|
/**
|
|
8911
8721
|
*
|
|
8912
8722
|
* @type {SIWEAuthenticateRequest}
|
|
8913
|
-
* @memberof
|
|
8723
|
+
* @memberof AuthV1ApiAuthenticateSIWE
|
|
8914
8724
|
*/
|
|
8915
8725
|
readonly sIWEAuthenticateRequest: SIWEAuthenticateRequest;
|
|
8916
8726
|
}
|
|
8917
8727
|
/**
|
|
8918
|
-
* Request parameters for getJwks operation in
|
|
8728
|
+
* Request parameters for getJwks operation in AuthV1Api.
|
|
8919
8729
|
* @export
|
|
8920
|
-
* @interface
|
|
8730
|
+
* @interface AuthV1ApiGetJwksRequest
|
|
8921
8731
|
*/
|
|
8922
|
-
interface
|
|
8732
|
+
interface AuthV1ApiGetJwksRequest {
|
|
8923
8733
|
/**
|
|
8924
8734
|
* Specifies the project publishable key (starts with pk_).
|
|
8925
8735
|
* @type {string}
|
|
8926
|
-
* @memberof
|
|
8736
|
+
* @memberof AuthV1ApiGetJwks
|
|
8927
8737
|
*/
|
|
8928
8738
|
readonly publishableKey: string;
|
|
8929
8739
|
}
|
|
8930
8740
|
/**
|
|
8931
|
-
* Request parameters for initOAuth operation in
|
|
8741
|
+
* Request parameters for initOAuth operation in AuthV1Api.
|
|
8932
8742
|
* @export
|
|
8933
|
-
* @interface
|
|
8743
|
+
* @interface AuthV1ApiInitOAuthRequest
|
|
8934
8744
|
*/
|
|
8935
|
-
interface
|
|
8745
|
+
interface AuthV1ApiInitOAuthRequest {
|
|
8936
8746
|
/**
|
|
8937
8747
|
*
|
|
8938
8748
|
* @type {OAuthInitRequest}
|
|
8939
|
-
* @memberof
|
|
8749
|
+
* @memberof AuthV1ApiInitOAuth
|
|
8940
8750
|
*/
|
|
8941
8751
|
readonly oAuthInitRequest: OAuthInitRequest;
|
|
8942
8752
|
/**
|
|
8943
8753
|
*
|
|
8944
8754
|
* @type {string}
|
|
8945
|
-
* @memberof
|
|
8755
|
+
* @memberof AuthV1ApiInitOAuth
|
|
8946
8756
|
*/
|
|
8947
8757
|
readonly xGame?: string;
|
|
8948
8758
|
}
|
|
8949
8759
|
/**
|
|
8950
|
-
* Request parameters for initSIWE operation in
|
|
8760
|
+
* Request parameters for initSIWE operation in AuthV1Api.
|
|
8951
8761
|
* @export
|
|
8952
|
-
* @interface
|
|
8762
|
+
* @interface AuthV1ApiInitSIWERequest
|
|
8953
8763
|
*/
|
|
8954
|
-
interface
|
|
8764
|
+
interface AuthV1ApiInitSIWERequest {
|
|
8955
8765
|
/**
|
|
8956
8766
|
*
|
|
8957
8767
|
* @type {SIWERequest}
|
|
8958
|
-
* @memberof
|
|
8768
|
+
* @memberof AuthV1ApiInitSIWE
|
|
8959
8769
|
*/
|
|
8960
8770
|
readonly sIWERequest: SIWERequest;
|
|
8961
8771
|
/**
|
|
8962
8772
|
*
|
|
8963
8773
|
* @type {string}
|
|
8964
|
-
* @memberof
|
|
8774
|
+
* @memberof AuthV1ApiInitSIWE
|
|
8965
8775
|
*/
|
|
8966
8776
|
readonly xGame?: string;
|
|
8967
8777
|
}
|
|
8968
8778
|
/**
|
|
8969
|
-
* Request parameters for linkEmail operation in
|
|
8779
|
+
* Request parameters for linkEmail operation in AuthV1Api.
|
|
8970
8780
|
* @export
|
|
8971
|
-
* @interface
|
|
8781
|
+
* @interface AuthV1ApiLinkEmailRequest
|
|
8972
8782
|
*/
|
|
8973
|
-
interface
|
|
8783
|
+
interface AuthV1ApiLinkEmailRequest {
|
|
8974
8784
|
/**
|
|
8975
8785
|
*
|
|
8976
8786
|
* @type {LoginRequest}
|
|
8977
|
-
* @memberof
|
|
8787
|
+
* @memberof AuthV1ApiLinkEmail
|
|
8978
8788
|
*/
|
|
8979
8789
|
readonly loginRequest: LoginRequest;
|
|
8980
8790
|
/**
|
|
8981
8791
|
*
|
|
8982
8792
|
* @type {string}
|
|
8983
|
-
* @memberof
|
|
8793
|
+
* @memberof AuthV1ApiLinkEmail
|
|
8984
8794
|
*/
|
|
8985
8795
|
readonly xGame?: string;
|
|
8986
8796
|
}
|
|
8987
8797
|
/**
|
|
8988
|
-
* Request parameters for linkOAuth operation in
|
|
8798
|
+
* Request parameters for linkOAuth operation in AuthV1Api.
|
|
8989
8799
|
* @export
|
|
8990
|
-
* @interface
|
|
8800
|
+
* @interface AuthV1ApiLinkOAuthRequest
|
|
8991
8801
|
*/
|
|
8992
|
-
interface
|
|
8802
|
+
interface AuthV1ApiLinkOAuthRequest {
|
|
8993
8803
|
/**
|
|
8994
8804
|
*
|
|
8995
8805
|
* @type {OAuthInitRequest}
|
|
8996
|
-
* @memberof
|
|
8806
|
+
* @memberof AuthV1ApiLinkOAuth
|
|
8997
8807
|
*/
|
|
8998
8808
|
readonly oAuthInitRequest: OAuthInitRequest;
|
|
8999
8809
|
/**
|
|
9000
8810
|
*
|
|
9001
8811
|
* @type {string}
|
|
9002
|
-
* @memberof
|
|
8812
|
+
* @memberof AuthV1ApiLinkOAuth
|
|
9003
8813
|
*/
|
|
9004
8814
|
readonly xGame?: string;
|
|
9005
8815
|
}
|
|
9006
8816
|
/**
|
|
9007
|
-
* Request parameters for linkSIWE operation in
|
|
8817
|
+
* Request parameters for linkSIWE operation in AuthV1Api.
|
|
9008
8818
|
* @export
|
|
9009
|
-
* @interface
|
|
8819
|
+
* @interface AuthV1ApiLinkSIWERequest
|
|
9010
8820
|
*/
|
|
9011
|
-
interface
|
|
8821
|
+
interface AuthV1ApiLinkSIWERequest {
|
|
9012
8822
|
/**
|
|
9013
8823
|
*
|
|
9014
8824
|
* @type {SIWEAuthenticateRequest}
|
|
9015
|
-
* @memberof
|
|
8825
|
+
* @memberof AuthV1ApiLinkSIWE
|
|
9016
8826
|
*/
|
|
9017
8827
|
readonly sIWEAuthenticateRequest: SIWEAuthenticateRequest;
|
|
9018
8828
|
}
|
|
9019
8829
|
/**
|
|
9020
|
-
* Request parameters for linkThirdParty operation in
|
|
8830
|
+
* Request parameters for linkThirdParty operation in AuthV1Api.
|
|
9021
8831
|
* @export
|
|
9022
|
-
* @interface
|
|
8832
|
+
* @interface AuthV1ApiLinkThirdPartyRequest
|
|
9023
8833
|
*/
|
|
9024
|
-
interface
|
|
8834
|
+
interface AuthV1ApiLinkThirdPartyRequest {
|
|
9025
8835
|
/**
|
|
9026
8836
|
*
|
|
9027
8837
|
* @type {ThirdPartyLinkRequest}
|
|
9028
|
-
* @memberof
|
|
8838
|
+
* @memberof AuthV1ApiLinkThirdParty
|
|
9029
8839
|
*/
|
|
9030
8840
|
readonly thirdPartyLinkRequest: ThirdPartyLinkRequest;
|
|
9031
8841
|
/**
|
|
9032
8842
|
*
|
|
9033
8843
|
* @type {string}
|
|
9034
|
-
* @memberof
|
|
8844
|
+
* @memberof AuthV1ApiLinkThirdParty
|
|
9035
8845
|
*/
|
|
9036
8846
|
readonly xGame?: string;
|
|
9037
8847
|
}
|
|
9038
8848
|
/**
|
|
9039
|
-
* Request parameters for loginEmailPassword operation in
|
|
8849
|
+
* Request parameters for loginEmailPassword operation in AuthV1Api.
|
|
9040
8850
|
* @export
|
|
9041
|
-
* @interface
|
|
8851
|
+
* @interface AuthV1ApiLoginEmailPasswordRequest
|
|
9042
8852
|
*/
|
|
9043
|
-
interface
|
|
8853
|
+
interface AuthV1ApiLoginEmailPasswordRequest {
|
|
9044
8854
|
/**
|
|
9045
8855
|
*
|
|
9046
8856
|
* @type {LoginRequest}
|
|
9047
|
-
* @memberof
|
|
8857
|
+
* @memberof AuthV1ApiLoginEmailPassword
|
|
9048
8858
|
*/
|
|
9049
8859
|
readonly loginRequest: LoginRequest;
|
|
9050
8860
|
/**
|
|
9051
8861
|
*
|
|
9052
8862
|
* @type {string}
|
|
9053
|
-
* @memberof
|
|
8863
|
+
* @memberof AuthV1ApiLoginEmailPassword
|
|
9054
8864
|
*/
|
|
9055
8865
|
readonly xGame?: string;
|
|
9056
8866
|
}
|
|
9057
8867
|
/**
|
|
9058
|
-
* Request parameters for loginOIDC operation in
|
|
8868
|
+
* Request parameters for loginOIDC operation in AuthV1Api.
|
|
9059
8869
|
* @export
|
|
9060
|
-
* @interface
|
|
8870
|
+
* @interface AuthV1ApiLoginOIDCRequest
|
|
9061
8871
|
*/
|
|
9062
|
-
interface
|
|
8872
|
+
interface AuthV1ApiLoginOIDCRequest {
|
|
9063
8873
|
/**
|
|
9064
8874
|
*
|
|
9065
8875
|
* @type {LoginOIDCRequest}
|
|
9066
|
-
* @memberof
|
|
8876
|
+
* @memberof AuthV1ApiLoginOIDC
|
|
9067
8877
|
*/
|
|
9068
8878
|
readonly loginOIDCRequest: LoginOIDCRequest;
|
|
9069
8879
|
/**
|
|
9070
8880
|
*
|
|
9071
8881
|
* @type {string}
|
|
9072
|
-
* @memberof
|
|
8882
|
+
* @memberof AuthV1ApiLoginOIDC
|
|
9073
8883
|
*/
|
|
9074
8884
|
readonly xGame?: string;
|
|
9075
8885
|
}
|
|
9076
8886
|
/**
|
|
9077
|
-
* Request parameters for loginWithIdToken operation in
|
|
8887
|
+
* Request parameters for loginWithIdToken operation in AuthV1Api.
|
|
9078
8888
|
* @export
|
|
9079
|
-
* @interface
|
|
8889
|
+
* @interface AuthV1ApiLoginWithIdTokenRequest
|
|
9080
8890
|
*/
|
|
9081
|
-
interface
|
|
8891
|
+
interface AuthV1ApiLoginWithIdTokenRequest {
|
|
9082
8892
|
/**
|
|
9083
8893
|
*
|
|
9084
8894
|
* @type {LoginWithIdTokenRequest}
|
|
9085
|
-
* @memberof
|
|
8895
|
+
* @memberof AuthV1ApiLoginWithIdToken
|
|
9086
8896
|
*/
|
|
9087
8897
|
readonly loginWithIdTokenRequest: LoginWithIdTokenRequest;
|
|
9088
8898
|
}
|
|
9089
8899
|
/**
|
|
9090
|
-
* Request parameters for logout operation in
|
|
8900
|
+
* Request parameters for logout operation in AuthV1Api.
|
|
9091
8901
|
* @export
|
|
9092
|
-
* @interface
|
|
8902
|
+
* @interface AuthV1ApiLogoutRequest
|
|
9093
8903
|
*/
|
|
9094
|
-
interface
|
|
8904
|
+
interface AuthV1ApiLogoutRequest {
|
|
9095
8905
|
/**
|
|
9096
8906
|
*
|
|
9097
8907
|
* @type {LogoutRequest}
|
|
9098
|
-
* @memberof
|
|
8908
|
+
* @memberof AuthV1ApiLogout
|
|
9099
8909
|
*/
|
|
9100
8910
|
readonly logoutRequest: LogoutRequest;
|
|
9101
8911
|
}
|
|
9102
8912
|
/**
|
|
9103
|
-
* Request parameters for poolOAuth operation in
|
|
8913
|
+
* Request parameters for poolOAuth operation in AuthV1Api.
|
|
9104
8914
|
* @export
|
|
9105
|
-
* @interface
|
|
8915
|
+
* @interface AuthV1ApiPoolOAuthRequest
|
|
9106
8916
|
*/
|
|
9107
|
-
interface
|
|
8917
|
+
interface AuthV1ApiPoolOAuthRequest {
|
|
9108
8918
|
/**
|
|
9109
8919
|
*
|
|
9110
8920
|
* @type {string}
|
|
9111
|
-
* @memberof
|
|
8921
|
+
* @memberof AuthV1ApiPoolOAuth
|
|
9112
8922
|
*/
|
|
9113
8923
|
readonly key: string;
|
|
9114
8924
|
}
|
|
9115
8925
|
/**
|
|
9116
|
-
* Request parameters for refresh operation in
|
|
8926
|
+
* Request parameters for refresh operation in AuthV1Api.
|
|
9117
8927
|
* @export
|
|
9118
|
-
* @interface
|
|
8928
|
+
* @interface AuthV1ApiRefreshRequest
|
|
9119
8929
|
*/
|
|
9120
|
-
interface
|
|
8930
|
+
interface AuthV1ApiRefreshRequest {
|
|
9121
8931
|
/**
|
|
9122
8932
|
*
|
|
9123
8933
|
* @type {RefreshTokenRequest}
|
|
9124
|
-
* @memberof
|
|
8934
|
+
* @memberof AuthV1ApiRefresh
|
|
9125
8935
|
*/
|
|
9126
8936
|
readonly refreshTokenRequest: RefreshTokenRequest;
|
|
9127
8937
|
}
|
|
9128
8938
|
/**
|
|
9129
|
-
* Request parameters for registerGuest operation in
|
|
8939
|
+
* Request parameters for registerGuest operation in AuthV1Api.
|
|
9130
8940
|
* @export
|
|
9131
|
-
* @interface
|
|
8941
|
+
* @interface AuthV1ApiRegisterGuestRequest
|
|
9132
8942
|
*/
|
|
9133
|
-
interface
|
|
8943
|
+
interface AuthV1ApiRegisterGuestRequest {
|
|
9134
8944
|
/**
|
|
9135
8945
|
*
|
|
9136
8946
|
* @type {string}
|
|
9137
|
-
* @memberof
|
|
8947
|
+
* @memberof AuthV1ApiRegisterGuest
|
|
9138
8948
|
*/
|
|
9139
8949
|
readonly xGame?: string;
|
|
9140
8950
|
}
|
|
9141
8951
|
/**
|
|
9142
|
-
* Request parameters for requestEmailVerification operation in
|
|
8952
|
+
* Request parameters for requestEmailVerification operation in AuthV1Api.
|
|
9143
8953
|
* @export
|
|
9144
|
-
* @interface
|
|
8954
|
+
* @interface AuthV1ApiRequestEmailVerificationRequest
|
|
9145
8955
|
*/
|
|
9146
|
-
interface
|
|
8956
|
+
interface AuthV1ApiRequestEmailVerificationRequest {
|
|
9147
8957
|
/**
|
|
9148
8958
|
*
|
|
9149
8959
|
* @type {RequestVerifyEmailRequest}
|
|
9150
|
-
* @memberof
|
|
8960
|
+
* @memberof AuthV1ApiRequestEmailVerification
|
|
9151
8961
|
*/
|
|
9152
8962
|
readonly requestVerifyEmailRequest: RequestVerifyEmailRequest;
|
|
9153
8963
|
}
|
|
9154
8964
|
/**
|
|
9155
|
-
* Request parameters for requestResetPassword operation in
|
|
8965
|
+
* Request parameters for requestResetPassword operation in AuthV1Api.
|
|
9156
8966
|
* @export
|
|
9157
|
-
* @interface
|
|
8967
|
+
* @interface AuthV1ApiRequestResetPasswordRequest
|
|
9158
8968
|
*/
|
|
9159
|
-
interface
|
|
8969
|
+
interface AuthV1ApiRequestResetPasswordRequest {
|
|
9160
8970
|
/**
|
|
9161
8971
|
*
|
|
9162
8972
|
* @type {RequestResetPasswordRequest}
|
|
9163
|
-
* @memberof
|
|
8973
|
+
* @memberof AuthV1ApiRequestResetPassword
|
|
9164
8974
|
*/
|
|
9165
8975
|
readonly requestResetPasswordRequest: RequestResetPasswordRequest;
|
|
9166
8976
|
}
|
|
9167
8977
|
/**
|
|
9168
|
-
* Request parameters for resetPassword operation in
|
|
8978
|
+
* Request parameters for resetPassword operation in AuthV1Api.
|
|
9169
8979
|
* @export
|
|
9170
|
-
* @interface
|
|
8980
|
+
* @interface AuthV1ApiResetPasswordRequest
|
|
9171
8981
|
*/
|
|
9172
|
-
interface
|
|
8982
|
+
interface AuthV1ApiResetPasswordRequest {
|
|
9173
8983
|
/**
|
|
9174
8984
|
*
|
|
9175
8985
|
* @type {ResetPasswordRequest}
|
|
9176
|
-
* @memberof
|
|
8986
|
+
* @memberof AuthV1ApiResetPassword
|
|
9177
8987
|
*/
|
|
9178
8988
|
readonly resetPasswordRequest: ResetPasswordRequest;
|
|
9179
8989
|
}
|
|
9180
8990
|
/**
|
|
9181
|
-
* Request parameters for signupEmailPassword operation in
|
|
8991
|
+
* Request parameters for signupEmailPassword operation in AuthV1Api.
|
|
9182
8992
|
* @export
|
|
9183
|
-
* @interface
|
|
8993
|
+
* @interface AuthV1ApiSignupEmailPasswordRequest
|
|
9184
8994
|
*/
|
|
9185
|
-
interface
|
|
8995
|
+
interface AuthV1ApiSignupEmailPasswordRequest {
|
|
9186
8996
|
/**
|
|
9187
8997
|
*
|
|
9188
8998
|
* @type {SignupRequest}
|
|
9189
|
-
* @memberof
|
|
8999
|
+
* @memberof AuthV1ApiSignupEmailPassword
|
|
9190
9000
|
*/
|
|
9191
9001
|
readonly signupRequest: SignupRequest;
|
|
9192
9002
|
/**
|
|
9193
9003
|
*
|
|
9194
9004
|
* @type {string}
|
|
9195
|
-
* @memberof
|
|
9005
|
+
* @memberof AuthV1ApiSignupEmailPassword
|
|
9196
9006
|
*/
|
|
9197
9007
|
readonly xGame?: string;
|
|
9198
9008
|
}
|
|
9199
9009
|
/**
|
|
9200
|
-
* Request parameters for thirdParty operation in
|
|
9010
|
+
* Request parameters for thirdParty operation in AuthV1Api.
|
|
9201
9011
|
* @export
|
|
9202
|
-
* @interface
|
|
9012
|
+
* @interface AuthV1ApiThirdPartyRequest
|
|
9203
9013
|
*/
|
|
9204
|
-
interface
|
|
9014
|
+
interface AuthV1ApiThirdPartyRequest {
|
|
9205
9015
|
/**
|
|
9206
9016
|
*
|
|
9207
9017
|
* @type {ThirdPartyOAuthRequest}
|
|
9208
|
-
* @memberof
|
|
9018
|
+
* @memberof AuthV1ApiThirdParty
|
|
9209
9019
|
*/
|
|
9210
9020
|
readonly thirdPartyOAuthRequest: ThirdPartyOAuthRequest;
|
|
9211
9021
|
/**
|
|
9212
9022
|
*
|
|
9213
9023
|
* @type {string}
|
|
9214
|
-
* @memberof
|
|
9024
|
+
* @memberof AuthV1ApiThirdParty
|
|
9215
9025
|
*/
|
|
9216
9026
|
readonly xGame?: string;
|
|
9217
9027
|
}
|
|
9218
9028
|
/**
|
|
9219
|
-
* Request parameters for unlinkEmail operation in
|
|
9029
|
+
* Request parameters for unlinkEmail operation in AuthV1Api.
|
|
9220
9030
|
* @export
|
|
9221
|
-
* @interface
|
|
9031
|
+
* @interface AuthV1ApiUnlinkEmailRequest
|
|
9222
9032
|
*/
|
|
9223
|
-
interface
|
|
9033
|
+
interface AuthV1ApiUnlinkEmailRequest {
|
|
9224
9034
|
/**
|
|
9225
9035
|
*
|
|
9226
9036
|
* @type {UnlinkEmailRequest}
|
|
9227
|
-
* @memberof
|
|
9037
|
+
* @memberof AuthV1ApiUnlinkEmail
|
|
9228
9038
|
*/
|
|
9229
9039
|
readonly unlinkEmailRequest: UnlinkEmailRequest;
|
|
9230
9040
|
}
|
|
9231
9041
|
/**
|
|
9232
|
-
* Request parameters for unlinkOAuth operation in
|
|
9042
|
+
* Request parameters for unlinkOAuth operation in AuthV1Api.
|
|
9233
9043
|
* @export
|
|
9234
|
-
* @interface
|
|
9044
|
+
* @interface AuthV1ApiUnlinkOAuthRequest
|
|
9235
9045
|
*/
|
|
9236
|
-
interface
|
|
9046
|
+
interface AuthV1ApiUnlinkOAuthRequest {
|
|
9237
9047
|
/**
|
|
9238
9048
|
*
|
|
9239
9049
|
* @type {UnlinkOAuthRequest}
|
|
9240
|
-
* @memberof
|
|
9050
|
+
* @memberof AuthV1ApiUnlinkOAuth
|
|
9241
9051
|
*/
|
|
9242
9052
|
readonly unlinkOAuthRequest: UnlinkOAuthRequest;
|
|
9243
9053
|
}
|
|
9244
9054
|
/**
|
|
9245
|
-
* Request parameters for unlinkSIWE operation in
|
|
9055
|
+
* Request parameters for unlinkSIWE operation in AuthV1Api.
|
|
9246
9056
|
* @export
|
|
9247
|
-
* @interface
|
|
9057
|
+
* @interface AuthV1ApiUnlinkSIWERequest
|
|
9248
9058
|
*/
|
|
9249
|
-
interface
|
|
9059
|
+
interface AuthV1ApiUnlinkSIWERequest {
|
|
9250
9060
|
/**
|
|
9251
9061
|
*
|
|
9252
9062
|
* @type {SIWERequest}
|
|
9253
|
-
* @memberof
|
|
9063
|
+
* @memberof AuthV1ApiUnlinkSIWE
|
|
9254
9064
|
*/
|
|
9255
9065
|
readonly sIWERequest: SIWERequest;
|
|
9256
9066
|
}
|
|
9257
9067
|
/**
|
|
9258
|
-
* Request parameters for verifyEmail operation in
|
|
9068
|
+
* Request parameters for verifyEmail operation in AuthV1Api.
|
|
9259
9069
|
* @export
|
|
9260
|
-
* @interface
|
|
9070
|
+
* @interface AuthV1ApiVerifyEmailRequest
|
|
9261
9071
|
*/
|
|
9262
|
-
interface
|
|
9072
|
+
interface AuthV1ApiVerifyEmailRequest {
|
|
9263
9073
|
/**
|
|
9264
9074
|
*
|
|
9265
9075
|
* @type {VerifyEmailRequest}
|
|
9266
|
-
* @memberof
|
|
9076
|
+
* @memberof AuthV1ApiVerifyEmail
|
|
9267
9077
|
*/
|
|
9268
9078
|
readonly verifyEmailRequest: VerifyEmailRequest;
|
|
9269
9079
|
}
|
|
9270
9080
|
/**
|
|
9271
|
-
* Request parameters for verifyOAuthToken operation in
|
|
9081
|
+
* Request parameters for verifyOAuthToken operation in AuthV1Api.
|
|
9272
9082
|
* @export
|
|
9273
|
-
* @interface
|
|
9083
|
+
* @interface AuthV1ApiVerifyOAuthTokenRequest
|
|
9274
9084
|
*/
|
|
9275
|
-
interface
|
|
9085
|
+
interface AuthV1ApiVerifyOAuthTokenRequest {
|
|
9276
9086
|
/**
|
|
9277
9087
|
*
|
|
9278
9088
|
* @type {AuthenticateOAuthRequest}
|
|
9279
|
-
* @memberof
|
|
9089
|
+
* @memberof AuthV1ApiVerifyOAuthToken
|
|
9280
9090
|
*/
|
|
9281
9091
|
readonly authenticateOAuthRequest: AuthenticateOAuthRequest;
|
|
9282
9092
|
}
|
|
9283
9093
|
/**
|
|
9284
|
-
*
|
|
9094
|
+
* AuthV1Api - object-oriented interface
|
|
9285
9095
|
* @export
|
|
9286
|
-
* @class
|
|
9096
|
+
* @class AuthV1Api
|
|
9287
9097
|
* @extends {BaseAPI}
|
|
9288
9098
|
*/
|
|
9289
|
-
declare class
|
|
9099
|
+
declare class AuthV1Api extends BaseAPI {
|
|
9290
9100
|
/**
|
|
9291
9101
|
*
|
|
9292
9102
|
* @summary Authenticate player with SIWE
|
|
9293
|
-
* @param {
|
|
9103
|
+
* @param {AuthV1ApiAuthenticateSIWERequest} requestParameters Request parameters.
|
|
9294
9104
|
* @param {*} [options] Override http request option.
|
|
9295
9105
|
* @throws {RequiredError}
|
|
9296
|
-
* @memberof
|
|
9106
|
+
* @memberof AuthV1Api
|
|
9297
9107
|
*/
|
|
9298
|
-
authenticateSIWE(requestParameters:
|
|
9108
|
+
authenticateSIWE(requestParameters: AuthV1ApiAuthenticateSIWERequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthResponse$1, any, {}>>;
|
|
9299
9109
|
/**
|
|
9300
9110
|
* Get the jwks.json file. You can use the jwks.json file to verify the signature of a JWT token issued by Openfort Auth.
|
|
9301
9111
|
* @summary Get the jwks.json file.
|
|
9302
|
-
* @param {
|
|
9112
|
+
* @param {AuthV1ApiGetJwksRequest} requestParameters Request parameters.
|
|
9303
9113
|
* @param {*} [options] Override http request option.
|
|
9304
9114
|
* @throws {RequiredError}
|
|
9305
|
-
* @memberof
|
|
9115
|
+
* @memberof AuthV1Api
|
|
9306
9116
|
*/
|
|
9307
|
-
getJwks(requestParameters:
|
|
9117
|
+
getJwks(requestParameters: AuthV1ApiGetJwksRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<JwtKeyResponse, any, {}>>;
|
|
9308
9118
|
/**
|
|
9309
9119
|
*
|
|
9310
9120
|
* @summary Initialize OAuth.
|
|
9311
|
-
* @param {
|
|
9121
|
+
* @param {AuthV1ApiInitOAuthRequest} requestParameters Request parameters.
|
|
9312
9122
|
* @param {*} [options] Override http request option.
|
|
9313
9123
|
* @throws {RequiredError}
|
|
9314
|
-
* @memberof
|
|
9124
|
+
* @memberof AuthV1Api
|
|
9315
9125
|
*/
|
|
9316
|
-
initOAuth(requestParameters:
|
|
9126
|
+
initOAuth(requestParameters: AuthV1ApiInitOAuthRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<OAuthResponse, any, {}>>;
|
|
9317
9127
|
/**
|
|
9318
9128
|
* Create a challenge to link external wallet to the player.
|
|
9319
9129
|
* @summary Initialize SIWE.
|
|
9320
|
-
* @param {
|
|
9130
|
+
* @param {AuthV1ApiInitSIWERequest} requestParameters Request parameters.
|
|
9321
9131
|
* @param {*} [options] Override http request option.
|
|
9322
9132
|
* @throws {RequiredError}
|
|
9323
|
-
* @memberof
|
|
9133
|
+
* @memberof AuthV1Api
|
|
9324
9134
|
*/
|
|
9325
|
-
initSIWE(requestParameters:
|
|
9135
|
+
initSIWE(requestParameters: AuthV1ApiInitSIWERequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SIWEInitResponse$1, any, {}>>;
|
|
9326
9136
|
/**
|
|
9327
9137
|
*
|
|
9328
|
-
* @param {
|
|
9138
|
+
* @param {AuthV1ApiLinkEmailRequest} requestParameters Request parameters.
|
|
9329
9139
|
* @param {*} [options] Override http request option.
|
|
9330
9140
|
* @throws {RequiredError}
|
|
9331
|
-
* @memberof
|
|
9141
|
+
* @memberof AuthV1Api
|
|
9332
9142
|
*/
|
|
9333
|
-
linkEmail(requestParameters:
|
|
9143
|
+
linkEmail(requestParameters: AuthV1ApiLinkEmailRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkEmail200Response, any, {}>>;
|
|
9334
9144
|
/**
|
|
9335
9145
|
*
|
|
9336
9146
|
* @summary Initialize Link OAuth.
|
|
9337
|
-
* @param {
|
|
9147
|
+
* @param {AuthV1ApiLinkOAuthRequest} requestParameters Request parameters.
|
|
9338
9148
|
* @param {*} [options] Override http request option.
|
|
9339
9149
|
* @throws {RequiredError}
|
|
9340
|
-
* @memberof
|
|
9150
|
+
* @memberof AuthV1Api
|
|
9341
9151
|
*/
|
|
9342
|
-
linkOAuth(requestParameters:
|
|
9152
|
+
linkOAuth(requestParameters: AuthV1ApiLinkOAuthRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<OAuthResponse, any, {}>>;
|
|
9343
9153
|
/**
|
|
9344
9154
|
*
|
|
9345
9155
|
* @summary Link external wallet.
|
|
9346
|
-
* @param {
|
|
9156
|
+
* @param {AuthV1ApiLinkSIWERequest} requestParameters Request parameters.
|
|
9347
9157
|
* @param {*} [options] Override http request option.
|
|
9348
9158
|
* @throws {RequiredError}
|
|
9349
|
-
* @memberof
|
|
9159
|
+
* @memberof AuthV1Api
|
|
9350
9160
|
*/
|
|
9351
|
-
linkSIWE(requestParameters:
|
|
9161
|
+
linkSIWE(requestParameters: AuthV1ApiLinkSIWERequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthPlayerResponse, any, {}>>;
|
|
9352
9162
|
/**
|
|
9353
9163
|
*
|
|
9354
9164
|
* @summary Initialize Link OAuth.
|
|
9355
|
-
* @param {
|
|
9165
|
+
* @param {AuthV1ApiLinkThirdPartyRequest} requestParameters Request parameters.
|
|
9356
9166
|
* @param {*} [options] Override http request option.
|
|
9357
9167
|
* @throws {RequiredError}
|
|
9358
|
-
* @memberof
|
|
9168
|
+
* @memberof AuthV1Api
|
|
9359
9169
|
*/
|
|
9360
|
-
linkThirdParty(requestParameters:
|
|
9170
|
+
linkThirdParty(requestParameters: AuthV1ApiLinkThirdPartyRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthPlayerResponse, any, {}>>;
|
|
9361
9171
|
/**
|
|
9362
9172
|
* Authenticate a player based on email and password.
|
|
9363
9173
|
* @summary Email and password login.
|
|
9364
|
-
* @param {
|
|
9174
|
+
* @param {AuthV1ApiLoginEmailPasswordRequest} requestParameters Request parameters.
|
|
9365
9175
|
* @param {*} [options] Override http request option.
|
|
9366
9176
|
* @throws {RequiredError}
|
|
9367
|
-
* @memberof
|
|
9177
|
+
* @memberof AuthV1Api
|
|
9368
9178
|
*/
|
|
9369
|
-
loginEmailPassword(requestParameters:
|
|
9179
|
+
loginEmailPassword(requestParameters: AuthV1ApiLoginEmailPasswordRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignupEmailPassword201Response, any, {}>>;
|
|
9370
9180
|
/**
|
|
9371
9181
|
* Authenticate a player from an identity token.
|
|
9372
9182
|
* @summary OIDC Identity token.
|
|
9373
|
-
* @param {
|
|
9183
|
+
* @param {AuthV1ApiLoginOIDCRequest} requestParameters Request parameters.
|
|
9374
9184
|
* @param {*} [options] Override http request option.
|
|
9375
9185
|
* @throws {RequiredError}
|
|
9376
|
-
* @memberof
|
|
9186
|
+
* @memberof AuthV1Api
|
|
9377
9187
|
*/
|
|
9378
|
-
loginOIDC(requestParameters:
|
|
9188
|
+
loginOIDC(requestParameters: AuthV1ApiLoginOIDCRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthResponse$1, any, {}>>;
|
|
9379
9189
|
/**
|
|
9380
9190
|
*
|
|
9381
9191
|
* @summary Authenticate player with oauth token.
|
|
9382
|
-
* @param {
|
|
9192
|
+
* @param {AuthV1ApiLoginWithIdTokenRequest} requestParameters Request parameters.
|
|
9383
9193
|
* @param {*} [options] Override http request option.
|
|
9384
9194
|
* @throws {RequiredError}
|
|
9385
|
-
* @memberof
|
|
9195
|
+
* @memberof AuthV1Api
|
|
9386
9196
|
*/
|
|
9387
|
-
loginWithIdToken(requestParameters:
|
|
9197
|
+
loginWithIdToken(requestParameters: AuthV1ApiLoginWithIdTokenRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthResponse$1, any, {}>>;
|
|
9388
9198
|
/**
|
|
9389
9199
|
* When using Openfort Auth, the endpoint logs out the player.
|
|
9390
9200
|
* @summary Log out a player.
|
|
9391
|
-
* @param {
|
|
9201
|
+
* @param {AuthV1ApiLogoutRequest} requestParameters Request parameters.
|
|
9392
9202
|
* @param {*} [options] Override http request option.
|
|
9393
9203
|
* @throws {RequiredError}
|
|
9394
|
-
* @memberof
|
|
9204
|
+
* @memberof AuthV1Api
|
|
9395
9205
|
*/
|
|
9396
|
-
logout(requestParameters:
|
|
9206
|
+
logout(requestParameters: AuthV1ApiLogoutRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
9397
9207
|
/**
|
|
9398
9208
|
*
|
|
9399
9209
|
* @param {*} [options] Override http request option.
|
|
9400
9210
|
* @throws {RequiredError}
|
|
9401
|
-
* @memberof
|
|
9211
|
+
* @memberof AuthV1Api
|
|
9402
9212
|
*/
|
|
9403
9213
|
me(options?: AxiosRequestConfig): Promise<AxiosResponse<AuthPlayerResponse, any, {}>>;
|
|
9404
9214
|
/**
|
|
9405
9215
|
*
|
|
9406
9216
|
* @summary Initialize OAuth.
|
|
9407
|
-
* @param {
|
|
9217
|
+
* @param {AuthV1ApiPoolOAuthRequest} requestParameters Request parameters.
|
|
9408
9218
|
* @param {*} [options] Override http request option.
|
|
9409
9219
|
* @throws {RequiredError}
|
|
9410
|
-
* @memberof
|
|
9220
|
+
* @memberof AuthV1Api
|
|
9411
9221
|
*/
|
|
9412
|
-
poolOAuth(requestParameters:
|
|
9222
|
+
poolOAuth(requestParameters: AuthV1ApiPoolOAuthRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthResponse$1, any, {}>>;
|
|
9413
9223
|
/**
|
|
9414
9224
|
* Get or create a new session for the player based on the refresh token.
|
|
9415
9225
|
* @summary Refresh or create auth session.
|
|
9416
|
-
* @param {
|
|
9226
|
+
* @param {AuthV1ApiRefreshRequest} requestParameters Request parameters.
|
|
9417
9227
|
* @param {*} [options] Override http request option.
|
|
9418
9228
|
* @throws {RequiredError}
|
|
9419
|
-
* @memberof
|
|
9229
|
+
* @memberof AuthV1Api
|
|
9420
9230
|
*/
|
|
9421
|
-
refresh(requestParameters:
|
|
9231
|
+
refresh(requestParameters: AuthV1ApiRefreshRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthResponse$1, any, {}>>;
|
|
9422
9232
|
/**
|
|
9423
9233
|
* Create a guest player.
|
|
9424
9234
|
* @summary Create a guest player.
|
|
9425
|
-
* @param {
|
|
9235
|
+
* @param {AuthV1ApiRegisterGuestRequest} requestParameters Request parameters.
|
|
9426
9236
|
* @param {*} [options] Override http request option.
|
|
9427
9237
|
* @throws {RequiredError}
|
|
9428
|
-
* @memberof
|
|
9238
|
+
* @memberof AuthV1Api
|
|
9429
9239
|
*/
|
|
9430
|
-
registerGuest(requestParameters?:
|
|
9240
|
+
registerGuest(requestParameters?: AuthV1ApiRegisterGuestRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthResponse$1, any, {}>>;
|
|
9431
9241
|
/**
|
|
9432
9242
|
* Start the Email Verification process for a player.
|
|
9433
9243
|
* @summary Request an Email Verification.
|
|
9434
|
-
* @param {
|
|
9244
|
+
* @param {AuthV1ApiRequestEmailVerificationRequest} requestParameters Request parameters.
|
|
9435
9245
|
* @param {*} [options] Override http request option.
|
|
9436
9246
|
* @throws {RequiredError}
|
|
9437
|
-
* @memberof
|
|
9247
|
+
* @memberof AuthV1Api
|
|
9438
9248
|
*/
|
|
9439
|
-
requestEmailVerification(requestParameters:
|
|
9249
|
+
requestEmailVerification(requestParameters: AuthV1ApiRequestEmailVerificationRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
9440
9250
|
/**
|
|
9441
9251
|
* Start the Reset process for a player\'s password.
|
|
9442
9252
|
* @summary Request a Reset password.
|
|
9443
|
-
* @param {
|
|
9253
|
+
* @param {AuthV1ApiRequestResetPasswordRequest} requestParameters Request parameters.
|
|
9444
9254
|
* @param {*} [options] Override http request option.
|
|
9445
9255
|
* @throws {RequiredError}
|
|
9446
|
-
* @memberof
|
|
9256
|
+
* @memberof AuthV1Api
|
|
9447
9257
|
*/
|
|
9448
|
-
requestResetPassword(requestParameters:
|
|
9258
|
+
requestResetPassword(requestParameters: AuthV1ApiRequestResetPasswordRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
9449
9259
|
/**
|
|
9450
9260
|
* Reset a player\'s password.
|
|
9451
9261
|
* @summary Reset a password.
|
|
9452
|
-
* @param {
|
|
9262
|
+
* @param {AuthV1ApiResetPasswordRequest} requestParameters Request parameters.
|
|
9453
9263
|
* @param {*} [options] Override http request option.
|
|
9454
9264
|
* @throws {RequiredError}
|
|
9455
|
-
* @memberof
|
|
9265
|
+
* @memberof AuthV1Api
|
|
9456
9266
|
*/
|
|
9457
|
-
resetPassword(requestParameters:
|
|
9267
|
+
resetPassword(requestParameters: AuthV1ApiResetPasswordRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
9458
9268
|
/**
|
|
9459
9269
|
* Create and authenticate a player based on email and password.
|
|
9460
9270
|
* @summary Email and password signup.
|
|
9461
|
-
* @param {
|
|
9271
|
+
* @param {AuthV1ApiSignupEmailPasswordRequest} requestParameters Request parameters.
|
|
9462
9272
|
* @param {*} [options] Override http request option.
|
|
9463
9273
|
* @throws {RequiredError}
|
|
9464
|
-
* @memberof
|
|
9274
|
+
* @memberof AuthV1Api
|
|
9465
9275
|
*/
|
|
9466
|
-
signupEmailPassword(requestParameters:
|
|
9276
|
+
signupEmailPassword(requestParameters: AuthV1ApiSignupEmailPasswordRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignupEmailPassword201Response, any, {}>>;
|
|
9467
9277
|
/**
|
|
9468
9278
|
*
|
|
9469
9279
|
* @summary Verify oauth token of a third party auth provider.
|
|
9470
|
-
* @param {
|
|
9280
|
+
* @param {AuthV1ApiThirdPartyRequest} requestParameters Request parameters.
|
|
9471
9281
|
* @param {*} [options] Override http request option.
|
|
9472
9282
|
* @throws {RequiredError}
|
|
9473
|
-
* @memberof
|
|
9283
|
+
* @memberof AuthV1Api
|
|
9474
9284
|
*/
|
|
9475
|
-
thirdParty(requestParameters:
|
|
9285
|
+
thirdParty(requestParameters: AuthV1ApiThirdPartyRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthPlayerResponse, any, {}>>;
|
|
9476
9286
|
/**
|
|
9477
9287
|
*
|
|
9478
|
-
* @param {
|
|
9288
|
+
* @param {AuthV1ApiUnlinkEmailRequest} requestParameters Request parameters.
|
|
9479
9289
|
* @param {*} [options] Override http request option.
|
|
9480
9290
|
* @throws {RequiredError}
|
|
9481
|
-
* @memberof
|
|
9291
|
+
* @memberof AuthV1Api
|
|
9482
9292
|
*/
|
|
9483
|
-
unlinkEmail(requestParameters:
|
|
9293
|
+
unlinkEmail(requestParameters: AuthV1ApiUnlinkEmailRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthPlayerResponse, any, {}>>;
|
|
9484
9294
|
/**
|
|
9485
9295
|
*
|
|
9486
9296
|
* @summary Unlink OAuth account
|
|
9487
|
-
* @param {
|
|
9297
|
+
* @param {AuthV1ApiUnlinkOAuthRequest} requestParameters Request parameters.
|
|
9488
9298
|
* @param {*} [options] Override http request option.
|
|
9489
9299
|
* @throws {RequiredError}
|
|
9490
|
-
* @memberof
|
|
9300
|
+
* @memberof AuthV1Api
|
|
9491
9301
|
*/
|
|
9492
|
-
unlinkOAuth(requestParameters:
|
|
9302
|
+
unlinkOAuth(requestParameters: AuthV1ApiUnlinkOAuthRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthPlayerResponse, any, {}>>;
|
|
9493
9303
|
/**
|
|
9494
9304
|
*
|
|
9495
9305
|
* @summary Unlink external wallet.
|
|
9496
|
-
* @param {
|
|
9306
|
+
* @param {AuthV1ApiUnlinkSIWERequest} requestParameters Request parameters.
|
|
9497
9307
|
* @param {*} [options] Override http request option.
|
|
9498
9308
|
* @throws {RequiredError}
|
|
9499
|
-
* @memberof
|
|
9309
|
+
* @memberof AuthV1Api
|
|
9500
9310
|
*/
|
|
9501
|
-
unlinkSIWE(requestParameters:
|
|
9311
|
+
unlinkSIWE(requestParameters: AuthV1ApiUnlinkSIWERequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthPlayerResponse, any, {}>>;
|
|
9502
9312
|
/**
|
|
9503
9313
|
* Verify a player\'s email address.
|
|
9504
9314
|
* @summary Verify an email.
|
|
9505
|
-
* @param {
|
|
9315
|
+
* @param {AuthV1ApiVerifyEmailRequest} requestParameters Request parameters.
|
|
9506
9316
|
* @param {*} [options] Override http request option.
|
|
9507
9317
|
* @throws {RequiredError}
|
|
9508
|
-
* @memberof
|
|
9318
|
+
* @memberof AuthV1Api
|
|
9509
9319
|
*/
|
|
9510
|
-
verifyEmail(requestParameters:
|
|
9320
|
+
verifyEmail(requestParameters: AuthV1ApiVerifyEmailRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<void, any, {}>>;
|
|
9511
9321
|
/**
|
|
9512
9322
|
* The endpoint verifies the token generated by OAuth provider and retrieves a corresponding player. Returns the latest 10 transaction intents for the player.
|
|
9513
9323
|
* @summary Retrieve player by oauth token.
|
|
9514
|
-
* @param {
|
|
9324
|
+
* @param {AuthV1ApiVerifyOAuthTokenRequest} requestParameters Request parameters.
|
|
9515
9325
|
* @param {*} [options] Override http request option.
|
|
9516
9326
|
* @throws {RequiredError}
|
|
9517
|
-
* @memberof
|
|
9327
|
+
* @memberof AuthV1Api
|
|
9518
9328
|
*/
|
|
9519
|
-
verifyOAuthToken(requestParameters:
|
|
9329
|
+
verifyOAuthToken(requestParameters: AuthV1ApiVerifyOAuthTokenRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<PlayerResponse, any, {}>>;
|
|
9520
9330
|
}
|
|
9521
9331
|
|
|
9522
9332
|
/**
|
|
9523
|
-
* Request parameters for
|
|
9333
|
+
* Request parameters for accountInfoPost operation in AuthV2Api.
|
|
9524
9334
|
* @export
|
|
9525
|
-
* @interface
|
|
9335
|
+
* @interface AuthV2ApiAccountInfoPostRequest
|
|
9526
9336
|
*/
|
|
9527
|
-
interface
|
|
9337
|
+
interface AuthV2ApiAccountInfoPostRequest {
|
|
9528
9338
|
/**
|
|
9529
9339
|
*
|
|
9530
|
-
* @type {
|
|
9531
|
-
* @memberof
|
|
9340
|
+
* @type {AccountInfoPostRequest}
|
|
9341
|
+
* @memberof AuthV2ApiAccountInfoPost
|
|
9532
9342
|
*/
|
|
9533
|
-
readonly
|
|
9343
|
+
readonly accountInfoPostRequest: AccountInfoPostRequest;
|
|
9534
9344
|
}
|
|
9535
9345
|
/**
|
|
9536
|
-
*
|
|
9346
|
+
* Request parameters for changeEmailPost operation in AuthV2Api.
|
|
9537
9347
|
* @export
|
|
9538
|
-
* @
|
|
9539
|
-
* @extends {BaseAPI}
|
|
9348
|
+
* @interface AuthV2ApiChangeEmailPostRequest
|
|
9540
9349
|
*/
|
|
9541
|
-
|
|
9350
|
+
interface AuthV2ApiChangeEmailPostRequest {
|
|
9542
9351
|
/**
|
|
9543
9352
|
*
|
|
9544
|
-
* @
|
|
9545
|
-
* @
|
|
9546
|
-
* @memberof AuthenticationV2Api
|
|
9547
|
-
*/
|
|
9548
|
-
meV2(options?: AxiosRequestConfig): Promise<AxiosResponse<AuthUserResponse, any, {}>>;
|
|
9549
|
-
/**
|
|
9550
|
-
*
|
|
9551
|
-
* @summary Verify oauth token of a third party auth provider.
|
|
9552
|
-
* @param {AuthenticationV2ApiThirdPartyV2Request} requestParameters Request parameters.
|
|
9553
|
-
* @param {*} [options] Override http request option.
|
|
9554
|
-
* @throws {RequiredError}
|
|
9555
|
-
* @memberof AuthenticationV2Api
|
|
9353
|
+
* @type {ChangeEmailPostRequest}
|
|
9354
|
+
* @memberof AuthV2ApiChangeEmailPost
|
|
9556
9355
|
*/
|
|
9557
|
-
|
|
9356
|
+
readonly changeEmailPostRequest: ChangeEmailPostRequest;
|
|
9558
9357
|
}
|
|
9559
|
-
|
|
9560
9358
|
/**
|
|
9561
|
-
* Request parameters for
|
|
9359
|
+
* Request parameters for changePasswordPost operation in AuthV2Api.
|
|
9562
9360
|
* @export
|
|
9563
|
-
* @interface
|
|
9361
|
+
* @interface AuthV2ApiChangePasswordPostRequest
|
|
9564
9362
|
*/
|
|
9565
|
-
interface
|
|
9363
|
+
interface AuthV2ApiChangePasswordPostRequest {
|
|
9566
9364
|
/**
|
|
9567
9365
|
*
|
|
9568
|
-
* @type {
|
|
9569
|
-
* @memberof
|
|
9366
|
+
* @type {ChangePasswordPostRequest}
|
|
9367
|
+
* @memberof AuthV2ApiChangePasswordPost
|
|
9570
9368
|
*/
|
|
9571
|
-
readonly
|
|
9369
|
+
readonly changePasswordPostRequest: ChangePasswordPostRequest;
|
|
9572
9370
|
}
|
|
9573
9371
|
/**
|
|
9574
|
-
* Request parameters for
|
|
9372
|
+
* Request parameters for checkVerificationOtp operation in AuthV2Api.
|
|
9575
9373
|
* @export
|
|
9576
|
-
* @interface
|
|
9374
|
+
* @interface AuthV2ApiCheckVerificationOtpRequest
|
|
9577
9375
|
*/
|
|
9578
|
-
interface
|
|
9376
|
+
interface AuthV2ApiCheckVerificationOtpRequest {
|
|
9579
9377
|
/**
|
|
9580
9378
|
*
|
|
9581
|
-
* @type {
|
|
9582
|
-
* @memberof
|
|
9379
|
+
* @type {CheckVerificationOtpRequest}
|
|
9380
|
+
* @memberof AuthV2ApiCheckVerificationOtp
|
|
9583
9381
|
*/
|
|
9584
|
-
readonly
|
|
9382
|
+
readonly checkVerificationOtpRequest: CheckVerificationOtpRequest;
|
|
9585
9383
|
}
|
|
9586
9384
|
/**
|
|
9587
|
-
* Request parameters for
|
|
9385
|
+
* Request parameters for emailOtpResetPasswordPost operation in AuthV2Api.
|
|
9588
9386
|
* @export
|
|
9589
|
-
* @interface
|
|
9387
|
+
* @interface AuthV2ApiEmailOtpResetPasswordPostRequest
|
|
9590
9388
|
*/
|
|
9591
|
-
interface
|
|
9389
|
+
interface AuthV2ApiEmailOtpResetPasswordPostRequest {
|
|
9592
9390
|
/**
|
|
9593
9391
|
*
|
|
9594
|
-
* @type {
|
|
9595
|
-
* @memberof
|
|
9392
|
+
* @type {EmailOtpResetPasswordPostRequest}
|
|
9393
|
+
* @memberof AuthV2ApiEmailOtpResetPasswordPost
|
|
9596
9394
|
*/
|
|
9597
|
-
readonly
|
|
9395
|
+
readonly emailOtpResetPasswordPostRequest: EmailOtpResetPasswordPostRequest;
|
|
9598
9396
|
}
|
|
9599
9397
|
/**
|
|
9600
|
-
* Request parameters for
|
|
9398
|
+
* Request parameters for emailOtpSendVerificationOtpPost operation in AuthV2Api.
|
|
9601
9399
|
* @export
|
|
9602
|
-
* @interface
|
|
9400
|
+
* @interface AuthV2ApiEmailOtpSendVerificationOtpPostRequest
|
|
9603
9401
|
*/
|
|
9604
|
-
interface
|
|
9402
|
+
interface AuthV2ApiEmailOtpSendVerificationOtpPostRequest {
|
|
9605
9403
|
/**
|
|
9606
9404
|
*
|
|
9607
|
-
* @type {
|
|
9608
|
-
* @memberof
|
|
9405
|
+
* @type {EmailOtpSendVerificationOtpPostRequest}
|
|
9406
|
+
* @memberof AuthV2ApiEmailOtpSendVerificationOtpPost
|
|
9609
9407
|
*/
|
|
9610
|
-
readonly
|
|
9408
|
+
readonly emailOtpSendVerificationOtpPostRequest: EmailOtpSendVerificationOtpPostRequest;
|
|
9409
|
+
}
|
|
9410
|
+
/**
|
|
9411
|
+
* Request parameters for emailOtpVerifyEmailPost operation in AuthV2Api.
|
|
9412
|
+
* @export
|
|
9413
|
+
* @interface AuthV2ApiEmailOtpVerifyEmailPostRequest
|
|
9414
|
+
*/
|
|
9415
|
+
interface AuthV2ApiEmailOtpVerifyEmailPostRequest {
|
|
9611
9416
|
/**
|
|
9612
9417
|
*
|
|
9613
|
-
* @type {
|
|
9614
|
-
* @memberof
|
|
9418
|
+
* @type {EmailOtpVerifyEmailPostRequest}
|
|
9419
|
+
* @memberof AuthV2ApiEmailOtpVerifyEmailPost
|
|
9615
9420
|
*/
|
|
9616
|
-
readonly
|
|
9421
|
+
readonly emailOtpVerifyEmailPostRequest: EmailOtpVerifyEmailPostRequest;
|
|
9617
9422
|
}
|
|
9618
9423
|
/**
|
|
9619
|
-
* Request parameters for
|
|
9424
|
+
* Request parameters for forgetPasswordEmailOtpPost operation in AuthV2Api.
|
|
9620
9425
|
* @export
|
|
9621
|
-
* @interface
|
|
9426
|
+
* @interface AuthV2ApiForgetPasswordEmailOtpPostRequest
|
|
9622
9427
|
*/
|
|
9623
|
-
interface
|
|
9428
|
+
interface AuthV2ApiForgetPasswordEmailOtpPostRequest {
|
|
9624
9429
|
/**
|
|
9625
9430
|
*
|
|
9626
|
-
* @type {
|
|
9627
|
-
* @memberof
|
|
9431
|
+
* @type {ForgetPasswordEmailOtpPostRequest}
|
|
9432
|
+
* @memberof AuthV2ApiForgetPasswordEmailOtpPost
|
|
9628
9433
|
*/
|
|
9629
|
-
readonly
|
|
9434
|
+
readonly forgetPasswordEmailOtpPostRequest: ForgetPasswordEmailOtpPostRequest;
|
|
9630
9435
|
}
|
|
9631
9436
|
/**
|
|
9632
|
-
* Request parameters for forgetPasswordPost operation in
|
|
9437
|
+
* Request parameters for forgetPasswordPost operation in AuthV2Api.
|
|
9633
9438
|
* @export
|
|
9634
|
-
* @interface
|
|
9439
|
+
* @interface AuthV2ApiForgetPasswordPostRequest
|
|
9635
9440
|
*/
|
|
9636
|
-
interface
|
|
9441
|
+
interface AuthV2ApiForgetPasswordPostRequest {
|
|
9637
9442
|
/**
|
|
9638
9443
|
*
|
|
9639
9444
|
* @type {ForgetPasswordPostRequest}
|
|
9640
|
-
* @memberof
|
|
9445
|
+
* @memberof AuthV2ApiForgetPasswordPost
|
|
9641
9446
|
*/
|
|
9642
9447
|
readonly forgetPasswordPostRequest: ForgetPasswordPostRequest;
|
|
9643
9448
|
}
|
|
9644
9449
|
/**
|
|
9645
|
-
* Request parameters for getAccessTokenPost operation in
|
|
9450
|
+
* Request parameters for getAccessTokenPost operation in AuthV2Api.
|
|
9646
9451
|
* @export
|
|
9647
|
-
* @interface
|
|
9452
|
+
* @interface AuthV2ApiGetAccessTokenPostRequest
|
|
9648
9453
|
*/
|
|
9649
|
-
interface
|
|
9454
|
+
interface AuthV2ApiGetAccessTokenPostRequest {
|
|
9650
9455
|
/**
|
|
9651
9456
|
*
|
|
9652
9457
|
* @type {RefreshTokenPostRequest}
|
|
9653
|
-
* @memberof
|
|
9458
|
+
* @memberof AuthV2ApiGetAccessTokenPost
|
|
9654
9459
|
*/
|
|
9655
9460
|
readonly refreshTokenPostRequest: RefreshTokenPostRequest;
|
|
9656
9461
|
}
|
|
9657
9462
|
/**
|
|
9658
|
-
* Request parameters for getSessionGet operation in
|
|
9463
|
+
* Request parameters for getSessionGet operation in AuthV2Api.
|
|
9659
9464
|
* @export
|
|
9660
|
-
* @interface
|
|
9465
|
+
* @interface AuthV2ApiGetSessionGetRequest
|
|
9661
9466
|
*/
|
|
9662
|
-
interface
|
|
9467
|
+
interface AuthV2ApiGetSessionGetRequest {
|
|
9468
|
+
/**
|
|
9469
|
+
* Project public key (format: pk_{mode}_{uuid}). Required for authentication but typically provided via middleware.
|
|
9470
|
+
* @type {string}
|
|
9471
|
+
* @memberof AuthV2ApiGetSessionGet
|
|
9472
|
+
*/
|
|
9473
|
+
readonly xProjectKey?: string;
|
|
9663
9474
|
/**
|
|
9664
9475
|
* Disable cookie cache and fetch session from database
|
|
9665
9476
|
* @type {boolean}
|
|
9666
|
-
* @memberof
|
|
9477
|
+
* @memberof AuthV2ApiGetSessionGet
|
|
9667
9478
|
*/
|
|
9668
9479
|
readonly disableCookieCache?: boolean;
|
|
9669
9480
|
}
|
|
9670
9481
|
/**
|
|
9671
|
-
* Request parameters for
|
|
9482
|
+
* Request parameters for linkSiweNoncePost operation in AuthV2Api.
|
|
9672
9483
|
* @export
|
|
9673
|
-
* @interface
|
|
9484
|
+
* @interface AuthV2ApiLinkSiweNoncePostRequest
|
|
9674
9485
|
*/
|
|
9675
|
-
interface
|
|
9486
|
+
interface AuthV2ApiLinkSiweNoncePostRequest {
|
|
9676
9487
|
/**
|
|
9677
9488
|
*
|
|
9678
|
-
* @type {
|
|
9679
|
-
* @memberof
|
|
9489
|
+
* @type {SiweNoncePostRequest}
|
|
9490
|
+
* @memberof AuthV2ApiLinkSiweNoncePost
|
|
9680
9491
|
*/
|
|
9681
|
-
readonly
|
|
9492
|
+
readonly siweNoncePostRequest: SiweNoncePostRequest;
|
|
9682
9493
|
}
|
|
9683
9494
|
/**
|
|
9684
|
-
* Request parameters for
|
|
9495
|
+
* Request parameters for linkSiweUnlinkPost operation in AuthV2Api.
|
|
9685
9496
|
* @export
|
|
9686
|
-
* @interface
|
|
9497
|
+
* @interface AuthV2ApiLinkSiweUnlinkPostRequest
|
|
9687
9498
|
*/
|
|
9688
|
-
interface
|
|
9499
|
+
interface AuthV2ApiLinkSiweUnlinkPostRequest {
|
|
9689
9500
|
/**
|
|
9690
9501
|
*
|
|
9691
|
-
* @type {
|
|
9692
|
-
* @memberof
|
|
9502
|
+
* @type {LinkSiweUnlinkPostRequest}
|
|
9503
|
+
* @memberof AuthV2ApiLinkSiweUnlinkPost
|
|
9693
9504
|
*/
|
|
9694
|
-
readonly
|
|
9505
|
+
readonly linkSiweUnlinkPostRequest: LinkSiweUnlinkPostRequest;
|
|
9695
9506
|
}
|
|
9696
9507
|
/**
|
|
9697
|
-
* Request parameters for
|
|
9508
|
+
* Request parameters for linkSiweVerifyPost operation in AuthV2Api.
|
|
9698
9509
|
* @export
|
|
9699
|
-
* @interface
|
|
9510
|
+
* @interface AuthV2ApiLinkSiweVerifyPostRequest
|
|
9700
9511
|
*/
|
|
9701
|
-
interface
|
|
9512
|
+
interface AuthV2ApiLinkSiweVerifyPostRequest {
|
|
9702
9513
|
/**
|
|
9703
9514
|
*
|
|
9704
|
-
* @type {
|
|
9705
|
-
* @memberof
|
|
9515
|
+
* @type {SiweVerifyPostRequest}
|
|
9516
|
+
* @memberof AuthV2ApiLinkSiweVerifyPost
|
|
9706
9517
|
*/
|
|
9707
|
-
readonly
|
|
9518
|
+
readonly siweVerifyPostRequest: SiweVerifyPostRequest;
|
|
9708
9519
|
}
|
|
9709
9520
|
/**
|
|
9710
|
-
* Request parameters for
|
|
9521
|
+
* Request parameters for linkSocialPost operation in AuthV2Api.
|
|
9711
9522
|
* @export
|
|
9712
|
-
* @interface
|
|
9523
|
+
* @interface AuthV2ApiLinkSocialPostRequest
|
|
9713
9524
|
*/
|
|
9714
|
-
interface
|
|
9525
|
+
interface AuthV2ApiLinkSocialPostRequest {
|
|
9715
9526
|
/**
|
|
9716
9527
|
*
|
|
9717
|
-
* @type {
|
|
9718
|
-
* @memberof
|
|
9528
|
+
* @type {LinkSocialPostRequest}
|
|
9529
|
+
* @memberof AuthV2ApiLinkSocialPost
|
|
9719
9530
|
*/
|
|
9720
|
-
readonly
|
|
9531
|
+
readonly linkSocialPostRequest: LinkSocialPostRequest;
|
|
9721
9532
|
}
|
|
9722
9533
|
/**
|
|
9723
|
-
* Request parameters for
|
|
9534
|
+
* Request parameters for phoneNumberForgetPasswordPost operation in AuthV2Api.
|
|
9724
9535
|
* @export
|
|
9725
|
-
* @interface
|
|
9536
|
+
* @interface AuthV2ApiPhoneNumberForgetPasswordPostRequest
|
|
9726
9537
|
*/
|
|
9727
|
-
interface
|
|
9538
|
+
interface AuthV2ApiPhoneNumberForgetPasswordPostRequest {
|
|
9728
9539
|
/**
|
|
9729
9540
|
*
|
|
9730
|
-
* @type {
|
|
9731
|
-
* @memberof
|
|
9541
|
+
* @type {PhoneNumberForgetPasswordPostRequest}
|
|
9542
|
+
* @memberof AuthV2ApiPhoneNumberForgetPasswordPost
|
|
9732
9543
|
*/
|
|
9733
|
-
readonly
|
|
9544
|
+
readonly phoneNumberForgetPasswordPostRequest: PhoneNumberForgetPasswordPostRequest;
|
|
9545
|
+
}
|
|
9546
|
+
/**
|
|
9547
|
+
* Request parameters for phoneNumberRequestPasswordResetPost operation in AuthV2Api.
|
|
9548
|
+
* @export
|
|
9549
|
+
* @interface AuthV2ApiPhoneNumberRequestPasswordResetPostRequest
|
|
9550
|
+
*/
|
|
9551
|
+
interface AuthV2ApiPhoneNumberRequestPasswordResetPostRequest {
|
|
9734
9552
|
/**
|
|
9735
9553
|
*
|
|
9736
|
-
* @type {
|
|
9737
|
-
* @memberof
|
|
9554
|
+
* @type {PhoneNumberRequestPasswordResetPostRequest}
|
|
9555
|
+
* @memberof AuthV2ApiPhoneNumberRequestPasswordResetPost
|
|
9738
9556
|
*/
|
|
9739
|
-
readonly
|
|
9557
|
+
readonly phoneNumberRequestPasswordResetPostRequest: PhoneNumberRequestPasswordResetPostRequest;
|
|
9740
9558
|
}
|
|
9741
9559
|
/**
|
|
9742
|
-
* Request parameters for
|
|
9560
|
+
* Request parameters for phoneNumberResetPasswordPost operation in AuthV2Api.
|
|
9743
9561
|
* @export
|
|
9744
|
-
* @interface
|
|
9562
|
+
* @interface AuthV2ApiPhoneNumberResetPasswordPostRequest
|
|
9745
9563
|
*/
|
|
9746
|
-
interface
|
|
9564
|
+
interface AuthV2ApiPhoneNumberResetPasswordPostRequest {
|
|
9747
9565
|
/**
|
|
9748
9566
|
*
|
|
9749
|
-
* @type {
|
|
9750
|
-
* @memberof
|
|
9567
|
+
* @type {PhoneNumberResetPasswordPostRequest}
|
|
9568
|
+
* @memberof AuthV2ApiPhoneNumberResetPasswordPost
|
|
9751
9569
|
*/
|
|
9752
|
-
readonly
|
|
9570
|
+
readonly phoneNumberResetPasswordPostRequest: PhoneNumberResetPasswordPostRequest;
|
|
9753
9571
|
}
|
|
9754
9572
|
/**
|
|
9755
|
-
* Request parameters for
|
|
9573
|
+
* Request parameters for phoneNumberSendOtpPost operation in AuthV2Api.
|
|
9756
9574
|
* @export
|
|
9757
|
-
* @interface
|
|
9575
|
+
* @interface AuthV2ApiPhoneNumberSendOtpPostRequest
|
|
9758
9576
|
*/
|
|
9759
|
-
interface
|
|
9577
|
+
interface AuthV2ApiPhoneNumberSendOtpPostRequest {
|
|
9760
9578
|
/**
|
|
9761
9579
|
*
|
|
9762
|
-
* @type {
|
|
9763
|
-
* @memberof
|
|
9580
|
+
* @type {PhoneNumberSendOtpPostRequest}
|
|
9581
|
+
* @memberof AuthV2ApiPhoneNumberSendOtpPost
|
|
9764
9582
|
*/
|
|
9765
|
-
readonly
|
|
9583
|
+
readonly phoneNumberSendOtpPostRequest: PhoneNumberSendOtpPostRequest;
|
|
9766
9584
|
}
|
|
9767
9585
|
/**
|
|
9768
|
-
* Request parameters for
|
|
9586
|
+
* Request parameters for phoneNumberVerifyPost operation in AuthV2Api.
|
|
9769
9587
|
* @export
|
|
9770
|
-
* @interface
|
|
9588
|
+
* @interface AuthV2ApiPhoneNumberVerifyPostRequest
|
|
9771
9589
|
*/
|
|
9772
|
-
interface
|
|
9590
|
+
interface AuthV2ApiPhoneNumberVerifyPostRequest {
|
|
9773
9591
|
/**
|
|
9774
9592
|
*
|
|
9775
|
-
* @type {
|
|
9776
|
-
* @memberof
|
|
9593
|
+
* @type {PhoneNumberVerifyPostRequest}
|
|
9594
|
+
* @memberof AuthV2ApiPhoneNumberVerifyPost
|
|
9777
9595
|
*/
|
|
9778
|
-
readonly
|
|
9596
|
+
readonly phoneNumberVerifyPostRequest: PhoneNumberVerifyPostRequest;
|
|
9779
9597
|
}
|
|
9780
9598
|
/**
|
|
9781
|
-
* Request parameters for
|
|
9599
|
+
* Request parameters for refreshTokenPost operation in AuthV2Api.
|
|
9782
9600
|
* @export
|
|
9783
|
-
* @interface
|
|
9601
|
+
* @interface AuthV2ApiRefreshTokenPostRequest
|
|
9784
9602
|
*/
|
|
9785
|
-
interface
|
|
9603
|
+
interface AuthV2ApiRefreshTokenPostRequest {
|
|
9786
9604
|
/**
|
|
9787
9605
|
*
|
|
9788
|
-
* @type {
|
|
9789
|
-
* @memberof
|
|
9606
|
+
* @type {RefreshTokenPostRequest}
|
|
9607
|
+
* @memberof AuthV2ApiRefreshTokenPost
|
|
9790
9608
|
*/
|
|
9791
|
-
readonly
|
|
9609
|
+
readonly refreshTokenPostRequest: RefreshTokenPostRequest;
|
|
9792
9610
|
}
|
|
9793
9611
|
/**
|
|
9794
|
-
* Request parameters for
|
|
9612
|
+
* Request parameters for requestPasswordResetPost operation in AuthV2Api.
|
|
9795
9613
|
* @export
|
|
9796
|
-
* @interface
|
|
9614
|
+
* @interface AuthV2ApiRequestPasswordResetPostRequest
|
|
9797
9615
|
*/
|
|
9798
|
-
interface
|
|
9616
|
+
interface AuthV2ApiRequestPasswordResetPostRequest {
|
|
9799
9617
|
/**
|
|
9800
9618
|
*
|
|
9801
|
-
* @type {
|
|
9802
|
-
* @memberof
|
|
9619
|
+
* @type {ForgetPasswordPostRequest}
|
|
9620
|
+
* @memberof AuthV2ApiRequestPasswordResetPost
|
|
9803
9621
|
*/
|
|
9804
|
-
readonly
|
|
9622
|
+
readonly forgetPasswordPostRequest: ForgetPasswordPostRequest;
|
|
9805
9623
|
}
|
|
9806
9624
|
/**
|
|
9807
|
-
* Request parameters for
|
|
9625
|
+
* Request parameters for resetPasswordPost operation in AuthV2Api.
|
|
9808
9626
|
* @export
|
|
9809
|
-
* @interface
|
|
9627
|
+
* @interface AuthV2ApiResetPasswordPostRequest
|
|
9810
9628
|
*/
|
|
9811
|
-
interface
|
|
9629
|
+
interface AuthV2ApiResetPasswordPostRequest {
|
|
9812
9630
|
/**
|
|
9813
9631
|
*
|
|
9814
|
-
* @type {
|
|
9815
|
-
* @memberof
|
|
9632
|
+
* @type {ResetPasswordPostRequest}
|
|
9633
|
+
* @memberof AuthV2ApiResetPasswordPost
|
|
9816
9634
|
*/
|
|
9817
|
-
readonly
|
|
9635
|
+
readonly resetPasswordPostRequest: ResetPasswordPostRequest;
|
|
9818
9636
|
}
|
|
9819
9637
|
/**
|
|
9820
|
-
* Request parameters for
|
|
9638
|
+
* Request parameters for resetPasswordTokenGet operation in AuthV2Api.
|
|
9821
9639
|
* @export
|
|
9822
|
-
* @interface
|
|
9640
|
+
* @interface AuthV2ApiResetPasswordTokenGetRequest
|
|
9823
9641
|
*/
|
|
9824
|
-
interface
|
|
9642
|
+
interface AuthV2ApiResetPasswordTokenGetRequest {
|
|
9825
9643
|
/**
|
|
9826
9644
|
*
|
|
9827
|
-
* @type {
|
|
9828
|
-
* @memberof
|
|
9645
|
+
* @type {string}
|
|
9646
|
+
* @memberof AuthV2ApiResetPasswordTokenGet
|
|
9829
9647
|
*/
|
|
9830
|
-
readonly
|
|
9648
|
+
readonly token: string;
|
|
9649
|
+
/**
|
|
9650
|
+
*
|
|
9651
|
+
* @type {string}
|
|
9652
|
+
* @memberof AuthV2ApiResetPasswordTokenGet
|
|
9653
|
+
*/
|
|
9654
|
+
readonly callbackURL?: string;
|
|
9831
9655
|
}
|
|
9832
9656
|
/**
|
|
9833
|
-
* Request parameters for
|
|
9657
|
+
* Request parameters for revokeOtherSessionsPost operation in AuthV2Api.
|
|
9834
9658
|
* @export
|
|
9835
|
-
* @interface
|
|
9659
|
+
* @interface AuthV2ApiRevokeOtherSessionsPostRequest
|
|
9836
9660
|
*/
|
|
9837
|
-
interface
|
|
9661
|
+
interface AuthV2ApiRevokeOtherSessionsPostRequest {
|
|
9838
9662
|
/**
|
|
9839
9663
|
*
|
|
9840
|
-
* @type {
|
|
9841
|
-
* @memberof
|
|
9664
|
+
* @type {object}
|
|
9665
|
+
* @memberof AuthV2ApiRevokeOtherSessionsPost
|
|
9842
9666
|
*/
|
|
9843
|
-
readonly
|
|
9667
|
+
readonly body?: object;
|
|
9844
9668
|
}
|
|
9845
9669
|
/**
|
|
9846
|
-
* Request parameters for
|
|
9670
|
+
* Request parameters for revokeSessionPost operation in AuthV2Api.
|
|
9847
9671
|
* @export
|
|
9848
|
-
* @interface
|
|
9672
|
+
* @interface AuthV2ApiRevokeSessionPostRequest
|
|
9849
9673
|
*/
|
|
9850
|
-
interface
|
|
9674
|
+
interface AuthV2ApiRevokeSessionPostRequest {
|
|
9851
9675
|
/**
|
|
9852
9676
|
*
|
|
9853
|
-
* @type {
|
|
9854
|
-
* @memberof
|
|
9677
|
+
* @type {RevokeSessionPostRequest}
|
|
9678
|
+
* @memberof AuthV2ApiRevokeSessionPost
|
|
9855
9679
|
*/
|
|
9856
|
-
readonly
|
|
9680
|
+
readonly revokeSessionPostRequest?: RevokeSessionPostRequest;
|
|
9857
9681
|
}
|
|
9858
9682
|
/**
|
|
9859
|
-
* Request parameters for
|
|
9683
|
+
* Request parameters for revokeSessionsPost operation in AuthV2Api.
|
|
9860
9684
|
* @export
|
|
9861
|
-
* @interface
|
|
9685
|
+
* @interface AuthV2ApiRevokeSessionsPostRequest
|
|
9862
9686
|
*/
|
|
9863
|
-
interface
|
|
9687
|
+
interface AuthV2ApiRevokeSessionsPostRequest {
|
|
9864
9688
|
/**
|
|
9865
9689
|
*
|
|
9866
|
-
* @type {
|
|
9867
|
-
* @memberof
|
|
9690
|
+
* @type {object}
|
|
9691
|
+
* @memberof AuthV2ApiRevokeSessionsPost
|
|
9868
9692
|
*/
|
|
9869
|
-
readonly
|
|
9693
|
+
readonly body?: object;
|
|
9870
9694
|
}
|
|
9871
9695
|
/**
|
|
9872
|
-
* Request parameters for
|
|
9696
|
+
* Request parameters for sendVerificationEmailPost operation in AuthV2Api.
|
|
9873
9697
|
* @export
|
|
9874
|
-
* @interface
|
|
9698
|
+
* @interface AuthV2ApiSendVerificationEmailPostRequest
|
|
9875
9699
|
*/
|
|
9876
|
-
interface
|
|
9700
|
+
interface AuthV2ApiSendVerificationEmailPostRequest {
|
|
9877
9701
|
/**
|
|
9878
|
-
*
|
|
9879
|
-
* @type {
|
|
9880
|
-
* @memberof
|
|
9702
|
+
*
|
|
9703
|
+
* @type {SendVerificationEmailPostRequest}
|
|
9704
|
+
* @memberof AuthV2ApiSendVerificationEmailPost
|
|
9881
9705
|
*/
|
|
9882
|
-
readonly
|
|
9706
|
+
readonly sendVerificationEmailPostRequest?: SendVerificationEmailPostRequest;
|
|
9707
|
+
}
|
|
9708
|
+
/**
|
|
9709
|
+
* Request parameters for signInEmailOtpPost operation in AuthV2Api.
|
|
9710
|
+
* @export
|
|
9711
|
+
* @interface AuthV2ApiSignInEmailOtpPostRequest
|
|
9712
|
+
*/
|
|
9713
|
+
interface AuthV2ApiSignInEmailOtpPostRequest {
|
|
9883
9714
|
/**
|
|
9884
|
-
*
|
|
9885
|
-
* @type {
|
|
9886
|
-
* @memberof
|
|
9715
|
+
*
|
|
9716
|
+
* @type {SignInEmailOtpPostRequest}
|
|
9717
|
+
* @memberof AuthV2ApiSignInEmailOtpPost
|
|
9887
9718
|
*/
|
|
9888
|
-
readonly
|
|
9719
|
+
readonly signInEmailOtpPostRequest: SignInEmailOtpPostRequest;
|
|
9889
9720
|
}
|
|
9890
9721
|
/**
|
|
9891
|
-
*
|
|
9722
|
+
* Request parameters for signInEmailPost operation in AuthV2Api.
|
|
9892
9723
|
* @export
|
|
9893
|
-
* @
|
|
9894
|
-
* @extends {BaseAPI}
|
|
9724
|
+
* @interface AuthV2ApiSignInEmailPostRequest
|
|
9895
9725
|
*/
|
|
9896
|
-
|
|
9726
|
+
interface AuthV2ApiSignInEmailPostRequest {
|
|
9897
9727
|
/**
|
|
9898
|
-
*
|
|
9899
|
-
* @
|
|
9900
|
-
* @
|
|
9901
|
-
* @throws {RequiredError}
|
|
9902
|
-
* @memberof DefaultApi
|
|
9728
|
+
*
|
|
9729
|
+
* @type {SignInEmailPostRequest}
|
|
9730
|
+
* @memberof AuthV2ApiSignInEmailPost
|
|
9903
9731
|
*/
|
|
9904
|
-
|
|
9732
|
+
readonly signInEmailPostRequest: SignInEmailPostRequest;
|
|
9733
|
+
}
|
|
9734
|
+
/**
|
|
9735
|
+
* Request parameters for signInPhoneNumberPost operation in AuthV2Api.
|
|
9736
|
+
* @export
|
|
9737
|
+
* @interface AuthV2ApiSignInPhoneNumberPostRequest
|
|
9738
|
+
*/
|
|
9739
|
+
interface AuthV2ApiSignInPhoneNumberPostRequest {
|
|
9905
9740
|
/**
|
|
9906
9741
|
*
|
|
9907
|
-
* @
|
|
9908
|
-
* @
|
|
9909
|
-
* @throws {RequiredError}
|
|
9910
|
-
* @memberof DefaultApi
|
|
9742
|
+
* @type {SignInPhoneNumberPostRequest}
|
|
9743
|
+
* @memberof AuthV2ApiSignInPhoneNumberPost
|
|
9911
9744
|
*/
|
|
9912
|
-
|
|
9745
|
+
readonly signInPhoneNumberPostRequest: SignInPhoneNumberPostRequest;
|
|
9746
|
+
}
|
|
9747
|
+
/**
|
|
9748
|
+
* Request parameters for signOutPost operation in AuthV2Api.
|
|
9749
|
+
* @export
|
|
9750
|
+
* @interface AuthV2ApiSignOutPostRequest
|
|
9751
|
+
*/
|
|
9752
|
+
interface AuthV2ApiSignOutPostRequest {
|
|
9913
9753
|
/**
|
|
9914
|
-
*
|
|
9915
|
-
* @
|
|
9916
|
-
* @
|
|
9917
|
-
* @throws {RequiredError}
|
|
9918
|
-
* @memberof DefaultApi
|
|
9754
|
+
*
|
|
9755
|
+
* @type {object}
|
|
9756
|
+
* @memberof AuthV2ApiSignOutPost
|
|
9919
9757
|
*/
|
|
9920
|
-
|
|
9758
|
+
readonly body?: object;
|
|
9759
|
+
}
|
|
9760
|
+
/**
|
|
9761
|
+
* Request parameters for signUpEmailPost operation in AuthV2Api.
|
|
9762
|
+
* @export
|
|
9763
|
+
* @interface AuthV2ApiSignUpEmailPostRequest
|
|
9764
|
+
*/
|
|
9765
|
+
interface AuthV2ApiSignUpEmailPostRequest {
|
|
9921
9766
|
/**
|
|
9922
|
-
*
|
|
9923
|
-
* @
|
|
9924
|
-
* @
|
|
9925
|
-
* @throws {RequiredError}
|
|
9926
|
-
* @memberof DefaultApi
|
|
9767
|
+
*
|
|
9768
|
+
* @type {SignUpEmailPostRequest}
|
|
9769
|
+
* @memberof AuthV2ApiSignUpEmailPost
|
|
9927
9770
|
*/
|
|
9928
|
-
|
|
9771
|
+
readonly signUpEmailPostRequest?: SignUpEmailPostRequest;
|
|
9772
|
+
}
|
|
9773
|
+
/**
|
|
9774
|
+
* Request parameters for siweNoncePost operation in AuthV2Api.
|
|
9775
|
+
* @export
|
|
9776
|
+
* @interface AuthV2ApiSiweNoncePostRequest
|
|
9777
|
+
*/
|
|
9778
|
+
interface AuthV2ApiSiweNoncePostRequest {
|
|
9929
9779
|
/**
|
|
9930
|
-
*
|
|
9931
|
-
* @
|
|
9932
|
-
* @
|
|
9933
|
-
* @throws {RequiredError}
|
|
9934
|
-
* @memberof DefaultApi
|
|
9780
|
+
*
|
|
9781
|
+
* @type {SiweNoncePostRequest}
|
|
9782
|
+
* @memberof AuthV2ApiSiweNoncePost
|
|
9935
9783
|
*/
|
|
9936
|
-
|
|
9784
|
+
readonly siweNoncePostRequest: SiweNoncePostRequest;
|
|
9785
|
+
}
|
|
9786
|
+
/**
|
|
9787
|
+
* Request parameters for siweVerifyPost operation in AuthV2Api.
|
|
9788
|
+
* @export
|
|
9789
|
+
* @interface AuthV2ApiSiweVerifyPostRequest
|
|
9790
|
+
*/
|
|
9791
|
+
interface AuthV2ApiSiweVerifyPostRequest {
|
|
9937
9792
|
/**
|
|
9938
|
-
*
|
|
9939
|
-
* @
|
|
9940
|
-
* @
|
|
9941
|
-
* @memberof DefaultApi
|
|
9793
|
+
*
|
|
9794
|
+
* @type {SiweVerifyPostRequest}
|
|
9795
|
+
* @memberof AuthV2ApiSiweVerifyPost
|
|
9942
9796
|
*/
|
|
9943
|
-
|
|
9797
|
+
readonly siweVerifyPostRequest: SiweVerifyPostRequest;
|
|
9798
|
+
}
|
|
9799
|
+
/**
|
|
9800
|
+
* Request parameters for socialSignIn operation in AuthV2Api.
|
|
9801
|
+
* @export
|
|
9802
|
+
* @interface AuthV2ApiSocialSignInRequest
|
|
9803
|
+
*/
|
|
9804
|
+
interface AuthV2ApiSocialSignInRequest {
|
|
9944
9805
|
/**
|
|
9945
|
-
*
|
|
9946
|
-
* @
|
|
9806
|
+
*
|
|
9807
|
+
* @type {SocialSignInRequest}
|
|
9808
|
+
* @memberof AuthV2ApiSocialSignIn
|
|
9809
|
+
*/
|
|
9810
|
+
readonly socialSignInRequest: SocialSignInRequest;
|
|
9811
|
+
}
|
|
9812
|
+
/**
|
|
9813
|
+
* Request parameters for thirdPartyV2 operation in AuthV2Api.
|
|
9814
|
+
* @export
|
|
9815
|
+
* @interface AuthV2ApiThirdPartyV2Request
|
|
9816
|
+
*/
|
|
9817
|
+
interface AuthV2ApiThirdPartyV2Request {
|
|
9818
|
+
/**
|
|
9819
|
+
*
|
|
9820
|
+
* @type {ThirdPartyOAuthRequest}
|
|
9821
|
+
* @memberof AuthV2ApiThirdPartyV2
|
|
9822
|
+
*/
|
|
9823
|
+
readonly thirdPartyOAuthRequest: ThirdPartyOAuthRequest;
|
|
9824
|
+
}
|
|
9825
|
+
/**
|
|
9826
|
+
* Request parameters for unlinkAccountPost operation in AuthV2Api.
|
|
9827
|
+
* @export
|
|
9828
|
+
* @interface AuthV2ApiUnlinkAccountPostRequest
|
|
9829
|
+
*/
|
|
9830
|
+
interface AuthV2ApiUnlinkAccountPostRequest {
|
|
9831
|
+
/**
|
|
9832
|
+
*
|
|
9833
|
+
* @type {UnlinkAccountPostRequest}
|
|
9834
|
+
* @memberof AuthV2ApiUnlinkAccountPost
|
|
9835
|
+
*/
|
|
9836
|
+
readonly unlinkAccountPostRequest: UnlinkAccountPostRequest;
|
|
9837
|
+
}
|
|
9838
|
+
/**
|
|
9839
|
+
* Request parameters for verifyEmailGet operation in AuthV2Api.
|
|
9840
|
+
* @export
|
|
9841
|
+
* @interface AuthV2ApiVerifyEmailGetRequest
|
|
9842
|
+
*/
|
|
9843
|
+
interface AuthV2ApiVerifyEmailGetRequest {
|
|
9844
|
+
/**
|
|
9845
|
+
* The token to verify the email
|
|
9846
|
+
* @type {string}
|
|
9847
|
+
* @memberof AuthV2ApiVerifyEmailGet
|
|
9848
|
+
*/
|
|
9849
|
+
readonly token: string;
|
|
9850
|
+
/**
|
|
9851
|
+
* The URL to redirect to after email verification
|
|
9852
|
+
* @type {string}
|
|
9853
|
+
* @memberof AuthV2ApiVerifyEmailGet
|
|
9854
|
+
*/
|
|
9855
|
+
readonly callbackURL?: string;
|
|
9856
|
+
}
|
|
9857
|
+
/**
|
|
9858
|
+
* AuthV2Api - object-oriented interface
|
|
9859
|
+
* @export
|
|
9860
|
+
* @class AuthV2Api
|
|
9861
|
+
* @extends {BaseAPI}
|
|
9862
|
+
*/
|
|
9863
|
+
declare class AuthV2Api extends BaseAPI {
|
|
9864
|
+
/**
|
|
9865
|
+
* Get the account info provided by the provider
|
|
9866
|
+
* @summary Get account info.
|
|
9867
|
+
* @param {AuthV2ApiAccountInfoPostRequest} requestParameters Request parameters.
|
|
9947
9868
|
* @param {*} [options] Override http request option.
|
|
9948
9869
|
* @throws {RequiredError}
|
|
9949
|
-
* @memberof
|
|
9870
|
+
* @memberof AuthV2Api
|
|
9950
9871
|
*/
|
|
9951
|
-
|
|
9872
|
+
accountInfoPost(requestParameters: AuthV2ApiAccountInfoPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountInfoPost200Response, any, {}>>;
|
|
9952
9873
|
/**
|
|
9953
|
-
*
|
|
9954
|
-
* @
|
|
9874
|
+
* Change user\'s email
|
|
9875
|
+
* @summary Change email.
|
|
9876
|
+
* @param {AuthV2ApiChangeEmailPostRequest} requestParameters Request parameters.
|
|
9955
9877
|
* @param {*} [options] Override http request option.
|
|
9956
9878
|
* @throws {RequiredError}
|
|
9957
|
-
* @memberof
|
|
9879
|
+
* @memberof AuthV2Api
|
|
9958
9880
|
*/
|
|
9959
|
-
|
|
9881
|
+
changeEmailPost(requestParameters: AuthV2ApiChangeEmailPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ChangeEmailPost200Response, any, {}>>;
|
|
9960
9882
|
/**
|
|
9961
|
-
*
|
|
9962
|
-
* @
|
|
9883
|
+
* Change the password of the user
|
|
9884
|
+
* @summary Change password.
|
|
9885
|
+
* @param {AuthV2ApiChangePasswordPostRequest} requestParameters Request parameters.
|
|
9963
9886
|
* @param {*} [options] Override http request option.
|
|
9964
9887
|
* @throws {RequiredError}
|
|
9965
|
-
* @memberof
|
|
9888
|
+
* @memberof AuthV2Api
|
|
9966
9889
|
*/
|
|
9967
|
-
|
|
9890
|
+
changePasswordPost(requestParameters: AuthV2ApiChangePasswordPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ChangePasswordPost200Response, any, {}>>;
|
|
9968
9891
|
/**
|
|
9969
|
-
*
|
|
9970
|
-
* @
|
|
9892
|
+
* Check if a verification OTP is valid
|
|
9893
|
+
* @summary Check email OTP.
|
|
9894
|
+
* @param {AuthV2ApiCheckVerificationOtpRequest} requestParameters Request parameters.
|
|
9971
9895
|
* @param {*} [options] Override http request option.
|
|
9972
9896
|
* @throws {RequiredError}
|
|
9973
|
-
* @memberof
|
|
9897
|
+
* @memberof AuthV2Api
|
|
9974
9898
|
*/
|
|
9975
|
-
|
|
9899
|
+
checkVerificationOtp(requestParameters: AuthV2ApiCheckVerificationOtpRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignOutPost200Response, any, {}>>;
|
|
9976
9900
|
/**
|
|
9977
|
-
*
|
|
9901
|
+
* Reset user password with OTP
|
|
9902
|
+
* @summary Reset password with email OTP.
|
|
9903
|
+
* @param {AuthV2ApiEmailOtpResetPasswordPostRequest} requestParameters Request parameters.
|
|
9978
9904
|
* @param {*} [options] Override http request option.
|
|
9979
9905
|
* @throws {RequiredError}
|
|
9980
|
-
* @memberof
|
|
9906
|
+
* @memberof AuthV2Api
|
|
9981
9907
|
*/
|
|
9982
|
-
|
|
9908
|
+
emailOtpResetPasswordPost(requestParameters: AuthV2ApiEmailOtpResetPasswordPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ResetPasswordResponse, any, {}>>;
|
|
9983
9909
|
/**
|
|
9984
|
-
*
|
|
9910
|
+
* Send verification OTP
|
|
9911
|
+
* @summary Request email verification with OTP.
|
|
9912
|
+
* @param {AuthV2ApiEmailOtpSendVerificationOtpPostRequest} requestParameters Request parameters.
|
|
9985
9913
|
* @param {*} [options] Override http request option.
|
|
9986
9914
|
* @throws {RequiredError}
|
|
9987
|
-
* @memberof
|
|
9915
|
+
* @memberof AuthV2Api
|
|
9988
9916
|
*/
|
|
9989
|
-
|
|
9917
|
+
emailOtpSendVerificationOtpPost(requestParameters: AuthV2ApiEmailOtpSendVerificationOtpPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignOutPost200Response, any, {}>>;
|
|
9990
9918
|
/**
|
|
9991
|
-
*
|
|
9919
|
+
* Verify email with OTP
|
|
9920
|
+
* @summary Verify email with OTP.
|
|
9921
|
+
* @param {AuthV2ApiEmailOtpVerifyEmailPostRequest} requestParameters Request parameters.
|
|
9992
9922
|
* @param {*} [options] Override http request option.
|
|
9993
9923
|
* @throws {RequiredError}
|
|
9994
|
-
* @memberof
|
|
9924
|
+
* @memberof AuthV2Api
|
|
9995
9925
|
*/
|
|
9996
|
-
|
|
9926
|
+
emailOtpVerifyEmailPost(requestParameters: AuthV2ApiEmailOtpVerifyEmailPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<EmailOtpVerifyEmailPost200Response, any, {}>>;
|
|
9997
9927
|
/**
|
|
9998
|
-
*
|
|
9999
|
-
* @
|
|
9928
|
+
* Send a password reset OTP to the user
|
|
9929
|
+
* @summary Request password reset with email OTP.
|
|
9930
|
+
* @param {AuthV2ApiForgetPasswordEmailOtpPostRequest} requestParameters Request parameters.
|
|
10000
9931
|
* @param {*} [options] Override http request option.
|
|
10001
9932
|
* @throws {RequiredError}
|
|
10002
|
-
* @memberof
|
|
9933
|
+
* @memberof AuthV2Api
|
|
10003
9934
|
*/
|
|
10004
|
-
|
|
9935
|
+
forgetPasswordEmailOtpPost(requestParameters: AuthV2ApiForgetPasswordEmailOtpPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ForgetPasswordEmailOtpPost200Response, any, {}>>;
|
|
10005
9936
|
/**
|
|
10006
9937
|
* Send a password reset email to the user
|
|
10007
|
-
* @
|
|
9938
|
+
* @summary Forget password.
|
|
9939
|
+
* @param {AuthV2ApiForgetPasswordPostRequest} requestParameters Request parameters.
|
|
10008
9940
|
* @param {*} [options] Override http request option.
|
|
10009
9941
|
* @throws {RequiredError}
|
|
10010
|
-
* @memberof
|
|
9942
|
+
* @memberof AuthV2Api
|
|
10011
9943
|
*/
|
|
10012
|
-
|
|
9944
|
+
forgetPasswordPost(requestParameters: AuthV2ApiForgetPasswordPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ForgetPasswordPost200Response, any, {}>>;
|
|
10013
9945
|
/**
|
|
10014
|
-
*
|
|
10015
|
-
* @
|
|
9946
|
+
* Get a valid access token, doing a refresh if needed
|
|
9947
|
+
* @summary Get access token.
|
|
9948
|
+
* @param {AuthV2ApiGetAccessTokenPostRequest} requestParameters Request parameters.
|
|
10016
9949
|
* @param {*} [options] Override http request option.
|
|
10017
9950
|
* @throws {RequiredError}
|
|
10018
|
-
* @memberof
|
|
9951
|
+
* @memberof AuthV2Api
|
|
10019
9952
|
*/
|
|
10020
|
-
|
|
9953
|
+
getAccessTokenPost(requestParameters: AuthV2ApiGetAccessTokenPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RefreshTokenPost200Response, any, {}>>;
|
|
10021
9954
|
/**
|
|
10022
|
-
*
|
|
10023
|
-
* @
|
|
9955
|
+
* Get the current session
|
|
9956
|
+
* @summary Get the current session.
|
|
9957
|
+
* @param {AuthV2ApiGetSessionGetRequest} requestParameters Request parameters.
|
|
10024
9958
|
* @param {*} [options] Override http request option.
|
|
10025
9959
|
* @throws {RequiredError}
|
|
10026
|
-
* @memberof
|
|
9960
|
+
* @memberof AuthV2Api
|
|
10027
9961
|
*/
|
|
10028
|
-
|
|
9962
|
+
getSessionGet(requestParameters?: AuthV2ApiGetSessionGetRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<GetSessionGet200Response, any, {}>>;
|
|
10029
9963
|
/**
|
|
10030
|
-
*
|
|
10031
|
-
* @
|
|
9964
|
+
* Get all SIWE wallets linked to the authenticated user with full wallet metadata including primary status and chain information. Requires active session.
|
|
9965
|
+
* @summary List linked wallets.
|
|
10032
9966
|
* @param {*} [options] Override http request option.
|
|
10033
9967
|
* @throws {RequiredError}
|
|
10034
|
-
* @memberof
|
|
9968
|
+
* @memberof AuthV2Api
|
|
10035
9969
|
*/
|
|
10036
|
-
|
|
9970
|
+
linkSiweListWalletsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweListWalletsGet200ResponseInner[], any, {}>>;
|
|
10037
9971
|
/**
|
|
10038
|
-
*
|
|
10039
|
-
* @
|
|
9972
|
+
* Generates a cryptographically secure nonce for creating a SIWE message to link a wallet to the current authenticated user. Requires active session.
|
|
9973
|
+
* @summary Initialize SIWE link.
|
|
9974
|
+
* @param {AuthV2ApiLinkSiweNoncePostRequest} requestParameters Request parameters.
|
|
10040
9975
|
* @param {*} [options] Override http request option.
|
|
10041
9976
|
* @throws {RequiredError}
|
|
10042
|
-
* @memberof
|
|
9977
|
+
* @memberof AuthV2Api
|
|
10043
9978
|
*/
|
|
10044
|
-
|
|
9979
|
+
linkSiweNoncePost(requestParameters: AuthV2ApiLinkSiweNoncePostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweNoncePost200Response, any, {}>>;
|
|
10045
9980
|
/**
|
|
10046
|
-
*
|
|
10047
|
-
* @
|
|
9981
|
+
* Remove a linked wallet from the authenticated user account. If the wallet being unlinked is the primary wallet, another wallet will be automatically promoted to primary. Requires active session.
|
|
9982
|
+
* @summary Unlink SIWE wallet.
|
|
9983
|
+
* @param {AuthV2ApiLinkSiweUnlinkPostRequest} requestParameters Request parameters.
|
|
10048
9984
|
* @param {*} [options] Override http request option.
|
|
10049
9985
|
* @throws {RequiredError}
|
|
10050
|
-
* @memberof
|
|
9986
|
+
* @memberof AuthV2Api
|
|
10051
9987
|
*/
|
|
10052
|
-
|
|
9988
|
+
linkSiweUnlinkPost(requestParameters: AuthV2ApiLinkSiweUnlinkPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweUnlinkPost200Response, any, {}>>;
|
|
10053
9989
|
/**
|
|
10054
|
-
*
|
|
10055
|
-
* @
|
|
9990
|
+
* Verifies the SIWE signature and links the wallet to the currently authenticated user. Requires active session.
|
|
9991
|
+
* @summary Verify and link SIWE wallet.
|
|
9992
|
+
* @param {AuthV2ApiLinkSiweVerifyPostRequest} requestParameters Request parameters.
|
|
10056
9993
|
* @param {*} [options] Override http request option.
|
|
10057
9994
|
* @throws {RequiredError}
|
|
10058
|
-
* @memberof
|
|
9995
|
+
* @memberof AuthV2Api
|
|
10059
9996
|
*/
|
|
10060
|
-
|
|
9997
|
+
linkSiweVerifyPost(requestParameters: AuthV2ApiLinkSiweVerifyPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweVerifyPost200Response, any, {}>>;
|
|
10061
9998
|
/**
|
|
10062
|
-
*
|
|
10063
|
-
* @
|
|
9999
|
+
* Link a social account to the user
|
|
10000
|
+
* @summary Link social account.
|
|
10001
|
+
* @param {AuthV2ApiLinkSocialPostRequest} requestParameters Request parameters.
|
|
10064
10002
|
* @param {*} [options] Override http request option.
|
|
10065
10003
|
* @throws {RequiredError}
|
|
10066
|
-
* @memberof
|
|
10004
|
+
* @memberof AuthV2Api
|
|
10067
10005
|
*/
|
|
10068
|
-
|
|
10006
|
+
linkSocialPost(requestParameters: AuthV2ApiLinkSocialPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSocialPost200Response, any, {}>>;
|
|
10069
10007
|
/**
|
|
10070
|
-
*
|
|
10071
|
-
* @
|
|
10008
|
+
* List all accounts linked to the user
|
|
10009
|
+
* @summary List lined accounts.
|
|
10072
10010
|
* @param {*} [options] Override http request option.
|
|
10073
10011
|
* @throws {RequiredError}
|
|
10074
|
-
* @memberof
|
|
10012
|
+
* @memberof AuthV2Api
|
|
10075
10013
|
*/
|
|
10076
|
-
|
|
10014
|
+
listAccountsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<ListAccountsGet200ResponseInner[], any, {}>>;
|
|
10077
10015
|
/**
|
|
10078
|
-
*
|
|
10079
|
-
* @
|
|
10016
|
+
* List all active sessions for the user
|
|
10017
|
+
* @summary List sessions.
|
|
10080
10018
|
* @param {*} [options] Override http request option.
|
|
10081
10019
|
* @throws {RequiredError}
|
|
10082
|
-
* @memberof
|
|
10020
|
+
* @memberof AuthV2Api
|
|
10083
10021
|
*/
|
|
10084
|
-
|
|
10022
|
+
listSessionsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<Session$1[], any, {}>>;
|
|
10085
10023
|
/**
|
|
10086
|
-
*
|
|
10087
|
-
* @
|
|
10024
|
+
*
|
|
10025
|
+
* @summary Get user information.
|
|
10088
10026
|
* @param {*} [options] Override http request option.
|
|
10089
10027
|
* @throws {RequiredError}
|
|
10090
|
-
* @memberof
|
|
10028
|
+
* @memberof AuthV2Api
|
|
10091
10029
|
*/
|
|
10092
|
-
|
|
10030
|
+
meV2(options?: AxiosRequestConfig): Promise<AxiosResponse<AuthUserResponse, any, {}>>;
|
|
10093
10031
|
/**
|
|
10094
|
-
*
|
|
10095
|
-
* @
|
|
10032
|
+
* Request OTP for password reset via phone number
|
|
10033
|
+
* @summary Reset password reset with phone(forget password flow).
|
|
10034
|
+
* @param {AuthV2ApiPhoneNumberForgetPasswordPostRequest} requestParameters Request parameters.
|
|
10096
10035
|
* @param {*} [options] Override http request option.
|
|
10097
10036
|
* @throws {RequiredError}
|
|
10098
|
-
* @memberof
|
|
10037
|
+
* @memberof AuthV2Api
|
|
10099
10038
|
*/
|
|
10100
|
-
|
|
10039
|
+
phoneNumberForgetPasswordPost(requestParameters: AuthV2ApiPhoneNumberForgetPasswordPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<PhoneNumberForgetPasswordPost200Response, any, {}>>;
|
|
10101
10040
|
/**
|
|
10102
|
-
*
|
|
10103
|
-
* @
|
|
10041
|
+
* Request OTP for password reset via phone number
|
|
10042
|
+
* @summary Request password reset with phone.
|
|
10043
|
+
* @param {AuthV2ApiPhoneNumberRequestPasswordResetPostRequest} requestParameters Request parameters.
|
|
10104
10044
|
* @param {*} [options] Override http request option.
|
|
10105
10045
|
* @throws {RequiredError}
|
|
10106
|
-
* @memberof
|
|
10046
|
+
* @memberof AuthV2Api
|
|
10107
10047
|
*/
|
|
10108
|
-
|
|
10048
|
+
phoneNumberRequestPasswordResetPost(requestParameters: AuthV2ApiPhoneNumberRequestPasswordResetPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<PhoneNumberForgetPasswordPost200Response, any, {}>>;
|
|
10109
10049
|
/**
|
|
10110
|
-
*
|
|
10111
|
-
* @
|
|
10050
|
+
* Reset password using phone number OTP
|
|
10051
|
+
* @summary Reset password with phone OTP.
|
|
10052
|
+
* @param {AuthV2ApiPhoneNumberResetPasswordPostRequest} requestParameters Request parameters.
|
|
10112
10053
|
* @param {*} [options] Override http request option.
|
|
10113
10054
|
* @throws {RequiredError}
|
|
10114
|
-
* @memberof
|
|
10055
|
+
* @memberof AuthV2Api
|
|
10115
10056
|
*/
|
|
10116
|
-
|
|
10117
|
-
}
|
|
10118
|
-
|
|
10119
|
-
/**
|
|
10120
|
-
* Request parameters for checkVerificationOtp operation in EmailOtpApi.
|
|
10121
|
-
* @export
|
|
10122
|
-
* @interface EmailOtpApiCheckVerificationOtpRequest
|
|
10123
|
-
*/
|
|
10124
|
-
interface EmailOtpApiCheckVerificationOtpRequest {
|
|
10057
|
+
phoneNumberResetPasswordPost(requestParameters: AuthV2ApiPhoneNumberResetPasswordPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ResetPasswordResponse, any, {}>>;
|
|
10125
10058
|
/**
|
|
10126
|
-
*
|
|
10127
|
-
* @
|
|
10128
|
-
* @
|
|
10059
|
+
* Use this endpoint to send OTP to phone number
|
|
10060
|
+
* @summary Send OTP to phone number.
|
|
10061
|
+
* @param {AuthV2ApiPhoneNumberSendOtpPostRequest} requestParameters Request parameters.
|
|
10062
|
+
* @param {*} [options] Override http request option.
|
|
10063
|
+
* @throws {RequiredError}
|
|
10064
|
+
* @memberof AuthV2Api
|
|
10129
10065
|
*/
|
|
10130
|
-
|
|
10131
|
-
}
|
|
10132
|
-
/**
|
|
10133
|
-
* Request parameters for emailOtpResetPasswordPost operation in EmailOtpApi.
|
|
10134
|
-
* @export
|
|
10135
|
-
* @interface EmailOtpApiEmailOtpResetPasswordPostRequest
|
|
10136
|
-
*/
|
|
10137
|
-
interface EmailOtpApiEmailOtpResetPasswordPostRequest {
|
|
10066
|
+
phoneNumberSendOtpPost(requestParameters: AuthV2ApiPhoneNumberSendOtpPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SocialSignIn403Response, any, {}>>;
|
|
10138
10067
|
/**
|
|
10139
|
-
*
|
|
10140
|
-
* @
|
|
10141
|
-
* @
|
|
10068
|
+
* Use this endpoint to verify phone number
|
|
10069
|
+
* @summary Verify phone OTP.
|
|
10070
|
+
* @param {AuthV2ApiPhoneNumberVerifyPostRequest} requestParameters Request parameters.
|
|
10071
|
+
* @param {*} [options] Override http request option.
|
|
10072
|
+
* @throws {RequiredError}
|
|
10073
|
+
* @memberof AuthV2Api
|
|
10142
10074
|
*/
|
|
10143
|
-
|
|
10144
|
-
}
|
|
10145
|
-
/**
|
|
10146
|
-
* Request parameters for emailOtpSendVerificationOtpPost operation in EmailOtpApi.
|
|
10147
|
-
* @export
|
|
10148
|
-
* @interface EmailOtpApiEmailOtpSendVerificationOtpPostRequest
|
|
10149
|
-
*/
|
|
10150
|
-
interface EmailOtpApiEmailOtpSendVerificationOtpPostRequest {
|
|
10075
|
+
phoneNumberVerifyPost(requestParameters: AuthV2ApiPhoneNumberVerifyPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<PhoneNumberVerifyPost200Response, any, {}>>;
|
|
10151
10076
|
/**
|
|
10152
|
-
*
|
|
10153
|
-
* @
|
|
10154
|
-
* @
|
|
10077
|
+
* Refresh the access token using a refresh token
|
|
10078
|
+
* @summary Refresh access token.
|
|
10079
|
+
* @param {AuthV2ApiRefreshTokenPostRequest} requestParameters Request parameters.
|
|
10080
|
+
* @param {*} [options] Override http request option.
|
|
10081
|
+
* @throws {RequiredError}
|
|
10082
|
+
* @memberof AuthV2Api
|
|
10155
10083
|
*/
|
|
10156
|
-
|
|
10157
|
-
}
|
|
10158
|
-
/**
|
|
10159
|
-
* Request parameters for emailOtpVerifyEmailPost operation in EmailOtpApi.
|
|
10160
|
-
* @export
|
|
10161
|
-
* @interface EmailOtpApiEmailOtpVerifyEmailPostRequest
|
|
10162
|
-
*/
|
|
10163
|
-
interface EmailOtpApiEmailOtpVerifyEmailPostRequest {
|
|
10084
|
+
refreshTokenPost(requestParameters: AuthV2ApiRefreshTokenPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RefreshTokenPost200Response, any, {}>>;
|
|
10164
10085
|
/**
|
|
10165
|
-
*
|
|
10166
|
-
* @
|
|
10167
|
-
* @
|
|
10086
|
+
* Send a password reset email to the user
|
|
10087
|
+
* @summary Request password reset.
|
|
10088
|
+
* @param {AuthV2ApiRequestPasswordResetPostRequest} requestParameters Request parameters.
|
|
10089
|
+
* @param {*} [options] Override http request option.
|
|
10090
|
+
* @throws {RequiredError}
|
|
10091
|
+
* @memberof AuthV2Api
|
|
10168
10092
|
*/
|
|
10169
|
-
|
|
10170
|
-
}
|
|
10171
|
-
/**
|
|
10172
|
-
* Request parameters for forgetPasswordEmailOtpPost operation in EmailOtpApi.
|
|
10173
|
-
* @export
|
|
10174
|
-
* @interface EmailOtpApiForgetPasswordEmailOtpPostRequest
|
|
10175
|
-
*/
|
|
10176
|
-
interface EmailOtpApiForgetPasswordEmailOtpPostRequest {
|
|
10093
|
+
requestPasswordResetPost(requestParameters: AuthV2ApiRequestPasswordResetPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ForgetPasswordPost200Response, any, {}>>;
|
|
10177
10094
|
/**
|
|
10178
|
-
*
|
|
10179
|
-
* @
|
|
10180
|
-
* @
|
|
10095
|
+
* Reset the password for a user
|
|
10096
|
+
* @summary Reset password.
|
|
10097
|
+
* @param {AuthV2ApiResetPasswordPostRequest} requestParameters Request parameters.
|
|
10098
|
+
* @param {*} [options] Override http request option.
|
|
10099
|
+
* @throws {RequiredError}
|
|
10100
|
+
* @memberof AuthV2Api
|
|
10181
10101
|
*/
|
|
10182
|
-
|
|
10183
|
-
}
|
|
10184
|
-
/**
|
|
10185
|
-
* Request parameters for signInEmailOtpPost operation in EmailOtpApi.
|
|
10186
|
-
* @export
|
|
10187
|
-
* @interface EmailOtpApiSignInEmailOtpPostRequest
|
|
10188
|
-
*/
|
|
10189
|
-
interface EmailOtpApiSignInEmailOtpPostRequest {
|
|
10102
|
+
resetPasswordPost(requestParameters: AuthV2ApiResetPasswordPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ResetPasswordResponse, any, {}>>;
|
|
10190
10103
|
/**
|
|
10191
|
-
*
|
|
10192
|
-
* @
|
|
10193
|
-
* @
|
|
10104
|
+
* Redirects the user to the callback URL with the token
|
|
10105
|
+
* @summary Reset password callback.
|
|
10106
|
+
* @param {AuthV2ApiResetPasswordTokenGetRequest} requestParameters Request parameters.
|
|
10107
|
+
* @param {*} [options] Override http request option.
|
|
10108
|
+
* @throws {RequiredError}
|
|
10109
|
+
* @memberof AuthV2Api
|
|
10194
10110
|
*/
|
|
10195
|
-
|
|
10196
|
-
}
|
|
10197
|
-
/**
|
|
10198
|
-
* EmailOtpApi - object-oriented interface
|
|
10199
|
-
* @export
|
|
10200
|
-
* @class EmailOtpApi
|
|
10201
|
-
* @extends {BaseAPI}
|
|
10202
|
-
*/
|
|
10203
|
-
declare class EmailOtpApi extends BaseAPI {
|
|
10111
|
+
resetPasswordTokenGet(requestParameters: AuthV2ApiResetPasswordTokenGetRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ResetPasswordTokenGet200Response, any, {}>>;
|
|
10204
10112
|
/**
|
|
10205
|
-
*
|
|
10206
|
-
* @
|
|
10113
|
+
* Revoke all other sessions for the user except the current one
|
|
10114
|
+
* @summary Revoke other sessions.
|
|
10115
|
+
* @param {AuthV2ApiRevokeOtherSessionsPostRequest} requestParameters Request parameters.
|
|
10207
10116
|
* @param {*} [options] Override http request option.
|
|
10208
10117
|
* @throws {RequiredError}
|
|
10209
|
-
* @memberof
|
|
10118
|
+
* @memberof AuthV2Api
|
|
10210
10119
|
*/
|
|
10211
|
-
|
|
10120
|
+
revokeOtherSessionsPost(requestParameters?: AuthV2ApiRevokeOtherSessionsPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RevokeOtherSessionsPost200Response, any, {}>>;
|
|
10212
10121
|
/**
|
|
10213
|
-
*
|
|
10214
|
-
* @
|
|
10122
|
+
* Revoke a single session
|
|
10123
|
+
* @summary Revoke session.
|
|
10124
|
+
* @param {AuthV2ApiRevokeSessionPostRequest} requestParameters Request parameters.
|
|
10215
10125
|
* @param {*} [options] Override http request option.
|
|
10216
10126
|
* @throws {RequiredError}
|
|
10217
|
-
* @memberof
|
|
10127
|
+
* @memberof AuthV2Api
|
|
10218
10128
|
*/
|
|
10219
|
-
|
|
10129
|
+
revokeSessionPost(requestParameters?: AuthV2ApiRevokeSessionPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RevokeSessionPost200Response, any, {}>>;
|
|
10220
10130
|
/**
|
|
10221
|
-
*
|
|
10222
|
-
* @
|
|
10131
|
+
* Revoke all sessions for the user
|
|
10132
|
+
* @summary Revoke sessions.
|
|
10133
|
+
* @param {AuthV2ApiRevokeSessionsPostRequest} requestParameters Request parameters.
|
|
10223
10134
|
* @param {*} [options] Override http request option.
|
|
10224
10135
|
* @throws {RequiredError}
|
|
10225
|
-
* @memberof
|
|
10136
|
+
* @memberof AuthV2Api
|
|
10226
10137
|
*/
|
|
10227
|
-
|
|
10138
|
+
revokeSessionsPost(requestParameters?: AuthV2ApiRevokeSessionsPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<RevokeSessionsPost200Response, any, {}>>;
|
|
10228
10139
|
/**
|
|
10229
|
-
*
|
|
10230
|
-
* @
|
|
10140
|
+
* Send a verification email to the user
|
|
10141
|
+
* @summary Send verification email.
|
|
10142
|
+
* @param {AuthV2ApiSendVerificationEmailPostRequest} requestParameters Request parameters.
|
|
10231
10143
|
* @param {*} [options] Override http request option.
|
|
10232
10144
|
* @throws {RequiredError}
|
|
10233
|
-
* @memberof
|
|
10145
|
+
* @memberof AuthV2Api
|
|
10234
10146
|
*/
|
|
10235
|
-
|
|
10147
|
+
sendVerificationEmailPost(requestParameters?: AuthV2ApiSendVerificationEmailPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SendVerificationEmailPost200Response, any, {}>>;
|
|
10236
10148
|
/**
|
|
10237
|
-
*
|
|
10238
|
-
* @
|
|
10149
|
+
* Sign in anonymously
|
|
10150
|
+
* @summary Anonymous sign in.
|
|
10239
10151
|
* @param {*} [options] Override http request option.
|
|
10240
10152
|
* @throws {RequiredError}
|
|
10241
|
-
* @memberof
|
|
10153
|
+
* @memberof AuthV2Api
|
|
10242
10154
|
*/
|
|
10243
|
-
|
|
10155
|
+
signInAnonymousPost(options?: AxiosRequestConfig): Promise<AxiosResponse<SignInAnonymousPost200Response, any, {}>>;
|
|
10244
10156
|
/**
|
|
10245
10157
|
* Sign in with OTP
|
|
10246
|
-
* @
|
|
10158
|
+
* @summary Sign in with email OTP.
|
|
10159
|
+
* @param {AuthV2ApiSignInEmailOtpPostRequest} requestParameters Request parameters.
|
|
10247
10160
|
* @param {*} [options] Override http request option.
|
|
10248
10161
|
* @throws {RequiredError}
|
|
10249
|
-
* @memberof
|
|
10250
|
-
*/
|
|
10251
|
-
signInEmailOtpPost(requestParameters: EmailOtpApiSignInEmailOtpPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignInEmailOtpPost200Response, any, {}>>;
|
|
10252
|
-
}
|
|
10253
|
-
|
|
10254
|
-
/**
|
|
10255
|
-
* Request parameters for phoneNumberForgetPasswordPost operation in PhoneNumberApi.
|
|
10256
|
-
* @export
|
|
10257
|
-
* @interface PhoneNumberApiPhoneNumberForgetPasswordPostRequest
|
|
10258
|
-
*/
|
|
10259
|
-
interface PhoneNumberApiPhoneNumberForgetPasswordPostRequest {
|
|
10260
|
-
/**
|
|
10261
|
-
*
|
|
10262
|
-
* @type {PhoneNumberForgetPasswordPostRequest}
|
|
10263
|
-
* @memberof PhoneNumberApiPhoneNumberForgetPasswordPost
|
|
10264
|
-
*/
|
|
10265
|
-
readonly phoneNumberForgetPasswordPostRequest: PhoneNumberForgetPasswordPostRequest;
|
|
10266
|
-
}
|
|
10267
|
-
/**
|
|
10268
|
-
* Request parameters for phoneNumberRequestPasswordResetPost operation in PhoneNumberApi.
|
|
10269
|
-
* @export
|
|
10270
|
-
* @interface PhoneNumberApiPhoneNumberRequestPasswordResetPostRequest
|
|
10271
|
-
*/
|
|
10272
|
-
interface PhoneNumberApiPhoneNumberRequestPasswordResetPostRequest {
|
|
10273
|
-
/**
|
|
10274
|
-
*
|
|
10275
|
-
* @type {PhoneNumberRequestPasswordResetPostRequest}
|
|
10276
|
-
* @memberof PhoneNumberApiPhoneNumberRequestPasswordResetPost
|
|
10162
|
+
* @memberof AuthV2Api
|
|
10277
10163
|
*/
|
|
10278
|
-
|
|
10279
|
-
}
|
|
10280
|
-
/**
|
|
10281
|
-
* Request parameters for phoneNumberResetPasswordPost operation in PhoneNumberApi.
|
|
10282
|
-
* @export
|
|
10283
|
-
* @interface PhoneNumberApiPhoneNumberResetPasswordPostRequest
|
|
10284
|
-
*/
|
|
10285
|
-
interface PhoneNumberApiPhoneNumberResetPasswordPostRequest {
|
|
10164
|
+
signInEmailOtpPost(requestParameters: AuthV2ApiSignInEmailOtpPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignInEmailOtpPost200Response, any, {}>>;
|
|
10286
10165
|
/**
|
|
10287
|
-
*
|
|
10288
|
-
* @
|
|
10289
|
-
* @
|
|
10166
|
+
* Sign in with email and password
|
|
10167
|
+
* @summary Sign in with email and password.
|
|
10168
|
+
* @param {AuthV2ApiSignInEmailPostRequest} requestParameters Request parameters.
|
|
10169
|
+
* @param {*} [options] Override http request option.
|
|
10170
|
+
* @throws {RequiredError}
|
|
10171
|
+
* @memberof AuthV2Api
|
|
10290
10172
|
*/
|
|
10291
|
-
|
|
10292
|
-
}
|
|
10293
|
-
/**
|
|
10294
|
-
* Request parameters for phoneNumberSendOtpPost operation in PhoneNumberApi.
|
|
10295
|
-
* @export
|
|
10296
|
-
* @interface PhoneNumberApiPhoneNumberSendOtpPostRequest
|
|
10297
|
-
*/
|
|
10298
|
-
interface PhoneNumberApiPhoneNumberSendOtpPostRequest {
|
|
10173
|
+
signInEmailPost(requestParameters: AuthV2ApiSignInEmailPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SocialSignIn200Response, any, {}>>;
|
|
10299
10174
|
/**
|
|
10300
|
-
*
|
|
10301
|
-
* @
|
|
10302
|
-
* @
|
|
10175
|
+
* Use this endpoint to sign in with phone number
|
|
10176
|
+
* @summary Sign in with phone.
|
|
10177
|
+
* @param {AuthV2ApiSignInPhoneNumberPostRequest} requestParameters Request parameters.
|
|
10178
|
+
* @param {*} [options] Override http request option.
|
|
10179
|
+
* @throws {RequiredError}
|
|
10180
|
+
* @memberof AuthV2Api
|
|
10303
10181
|
*/
|
|
10304
|
-
|
|
10305
|
-
}
|
|
10306
|
-
/**
|
|
10307
|
-
* Request parameters for phoneNumberVerifyPost operation in PhoneNumberApi.
|
|
10308
|
-
* @export
|
|
10309
|
-
* @interface PhoneNumberApiPhoneNumberVerifyPostRequest
|
|
10310
|
-
*/
|
|
10311
|
-
interface PhoneNumberApiPhoneNumberVerifyPostRequest {
|
|
10182
|
+
signInPhoneNumberPost(requestParameters: AuthV2ApiSignInPhoneNumberPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignInAnonymousPost200Response, any, {}>>;
|
|
10312
10183
|
/**
|
|
10313
|
-
*
|
|
10314
|
-
* @
|
|
10315
|
-
* @
|
|
10184
|
+
* Sign out the current user
|
|
10185
|
+
* @summary Sign out.
|
|
10186
|
+
* @param {AuthV2ApiSignOutPostRequest} requestParameters Request parameters.
|
|
10187
|
+
* @param {*} [options] Override http request option.
|
|
10188
|
+
* @throws {RequiredError}
|
|
10189
|
+
* @memberof AuthV2Api
|
|
10316
10190
|
*/
|
|
10317
|
-
|
|
10318
|
-
}
|
|
10319
|
-
/**
|
|
10320
|
-
* Request parameters for signInPhoneNumberPost operation in PhoneNumberApi.
|
|
10321
|
-
* @export
|
|
10322
|
-
* @interface PhoneNumberApiSignInPhoneNumberPostRequest
|
|
10323
|
-
*/
|
|
10324
|
-
interface PhoneNumberApiSignInPhoneNumberPostRequest {
|
|
10191
|
+
signOutPost(requestParameters?: AuthV2ApiSignOutPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignOutPost200Response, any, {}>>;
|
|
10325
10192
|
/**
|
|
10326
|
-
*
|
|
10327
|
-
* @
|
|
10328
|
-
* @
|
|
10193
|
+
* Sign up a user using email and password
|
|
10194
|
+
* @summary Sign up with email and password.
|
|
10195
|
+
* @param {AuthV2ApiSignUpEmailPostRequest} requestParameters Request parameters.
|
|
10196
|
+
* @param {*} [options] Override http request option.
|
|
10197
|
+
* @throws {RequiredError}
|
|
10198
|
+
* @memberof AuthV2Api
|
|
10329
10199
|
*/
|
|
10330
|
-
|
|
10331
|
-
}
|
|
10332
|
-
/**
|
|
10333
|
-
* PhoneNumberApi - object-oriented interface
|
|
10334
|
-
* @export
|
|
10335
|
-
* @class PhoneNumberApi
|
|
10336
|
-
* @extends {BaseAPI}
|
|
10337
|
-
*/
|
|
10338
|
-
declare class PhoneNumberApi extends BaseAPI {
|
|
10200
|
+
signUpEmailPost(requestParameters?: AuthV2ApiSignUpEmailPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignUpEmailPost200Response, any, {}>>;
|
|
10339
10201
|
/**
|
|
10340
|
-
*
|
|
10341
|
-
* @
|
|
10202
|
+
* Generate a nonce for Sign-In With Ethereum (SIWE) authentication
|
|
10203
|
+
* @summary Initialize SIWE login.
|
|
10204
|
+
* @param {AuthV2ApiSiweNoncePostRequest} requestParameters Request parameters.
|
|
10342
10205
|
* @param {*} [options] Override http request option.
|
|
10343
10206
|
* @throws {RequiredError}
|
|
10344
|
-
* @memberof
|
|
10207
|
+
* @memberof AuthV2Api
|
|
10345
10208
|
*/
|
|
10346
|
-
|
|
10209
|
+
siweNoncePost(requestParameters: AuthV2ApiSiweNoncePostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SiweNoncePost200Response, any, {}>>;
|
|
10347
10210
|
/**
|
|
10348
|
-
*
|
|
10349
|
-
* @
|
|
10211
|
+
* Verify a signed SIWE message and authenticate the user
|
|
10212
|
+
* @summary Login with SIWE.
|
|
10213
|
+
* @param {AuthV2ApiSiweVerifyPostRequest} requestParameters Request parameters.
|
|
10350
10214
|
* @param {*} [options] Override http request option.
|
|
10351
10215
|
* @throws {RequiredError}
|
|
10352
|
-
* @memberof
|
|
10216
|
+
* @memberof AuthV2Api
|
|
10353
10217
|
*/
|
|
10354
|
-
|
|
10218
|
+
siweVerifyPost(requestParameters: AuthV2ApiSiweVerifyPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SiweVerifyPost200Response, any, {}>>;
|
|
10355
10219
|
/**
|
|
10356
|
-
*
|
|
10357
|
-
* @
|
|
10220
|
+
* Sign in with a social provider
|
|
10221
|
+
* @summary Sign in with a social provider.
|
|
10222
|
+
* @param {AuthV2ApiSocialSignInRequest} requestParameters Request parameters.
|
|
10358
10223
|
* @param {*} [options] Override http request option.
|
|
10359
10224
|
* @throws {RequiredError}
|
|
10360
|
-
* @memberof
|
|
10225
|
+
* @memberof AuthV2Api
|
|
10361
10226
|
*/
|
|
10362
|
-
|
|
10227
|
+
socialSignIn(requestParameters: AuthV2ApiSocialSignInRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SocialSignIn200Response, any, {}>>;
|
|
10363
10228
|
/**
|
|
10364
|
-
*
|
|
10365
|
-
* @
|
|
10229
|
+
*
|
|
10230
|
+
* @summary Verify oauth token of a third party auth provider.
|
|
10231
|
+
* @param {AuthV2ApiThirdPartyV2Request} requestParameters Request parameters.
|
|
10366
10232
|
* @param {*} [options] Override http request option.
|
|
10367
10233
|
* @throws {RequiredError}
|
|
10368
|
-
* @memberof
|
|
10234
|
+
* @memberof AuthV2Api
|
|
10369
10235
|
*/
|
|
10370
|
-
|
|
10236
|
+
thirdPartyV2(requestParameters: AuthV2ApiThirdPartyV2Request, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthUserResponse, any, {}>>;
|
|
10371
10237
|
/**
|
|
10372
|
-
*
|
|
10373
|
-
* @
|
|
10238
|
+
* Unlink an account
|
|
10239
|
+
* @summary Unlink account.
|
|
10240
|
+
* @param {AuthV2ApiUnlinkAccountPostRequest} requestParameters Request parameters.
|
|
10374
10241
|
* @param {*} [options] Override http request option.
|
|
10375
10242
|
* @throws {RequiredError}
|
|
10376
|
-
* @memberof
|
|
10243
|
+
* @memberof AuthV2Api
|
|
10377
10244
|
*/
|
|
10378
|
-
|
|
10245
|
+
unlinkAccountPost(requestParameters: AuthV2ApiUnlinkAccountPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<UnlinkAccountResponse, any, {}>>;
|
|
10379
10246
|
/**
|
|
10380
|
-
*
|
|
10381
|
-
* @
|
|
10247
|
+
* Verify the email of the user. Usually this endpoint is called when user clicks \'Verify email\' link from the letter.
|
|
10248
|
+
* @summary Verify email.
|
|
10249
|
+
* @param {AuthV2ApiVerifyEmailGetRequest} requestParameters Request parameters.
|
|
10382
10250
|
* @param {*} [options] Override http request option.
|
|
10383
10251
|
* @throws {RequiredError}
|
|
10384
|
-
* @memberof
|
|
10252
|
+
* @memberof AuthV2Api
|
|
10385
10253
|
*/
|
|
10386
|
-
|
|
10254
|
+
verifyEmailGet(requestParameters: AuthV2ApiVerifyEmailGetRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<VerifyEmailGet200Response, any, {}>>;
|
|
10387
10255
|
}
|
|
10388
10256
|
|
|
10389
10257
|
/**
|
|
@@ -10445,131 +10313,6 @@ declare class RPCApi extends BaseAPI {
|
|
|
10445
10313
|
handleRpcRequest(requestParameters: RPCApiHandleRpcRequestRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<JsonRpcResponse, any, {}>>;
|
|
10446
10314
|
}
|
|
10447
10315
|
|
|
10448
|
-
/**
|
|
10449
|
-
* Request parameters for linkSiweNoncePost operation in SIWEApi.
|
|
10450
|
-
* @export
|
|
10451
|
-
* @interface SIWEApiLinkSiweNoncePostRequest
|
|
10452
|
-
*/
|
|
10453
|
-
interface SIWEApiLinkSiweNoncePostRequest {
|
|
10454
|
-
/**
|
|
10455
|
-
*
|
|
10456
|
-
* @type {SiweNoncePostRequest}
|
|
10457
|
-
* @memberof SIWEApiLinkSiweNoncePost
|
|
10458
|
-
*/
|
|
10459
|
-
readonly siweNoncePostRequest: SiweNoncePostRequest;
|
|
10460
|
-
}
|
|
10461
|
-
/**
|
|
10462
|
-
* Request parameters for linkSiweUnlinkPost operation in SIWEApi.
|
|
10463
|
-
* @export
|
|
10464
|
-
* @interface SIWEApiLinkSiweUnlinkPostRequest
|
|
10465
|
-
*/
|
|
10466
|
-
interface SIWEApiLinkSiweUnlinkPostRequest {
|
|
10467
|
-
/**
|
|
10468
|
-
*
|
|
10469
|
-
* @type {LinkSiweUnlinkPostRequest}
|
|
10470
|
-
* @memberof SIWEApiLinkSiweUnlinkPost
|
|
10471
|
-
*/
|
|
10472
|
-
readonly linkSiweUnlinkPostRequest: LinkSiweUnlinkPostRequest;
|
|
10473
|
-
}
|
|
10474
|
-
/**
|
|
10475
|
-
* Request parameters for linkSiweVerifyPost operation in SIWEApi.
|
|
10476
|
-
* @export
|
|
10477
|
-
* @interface SIWEApiLinkSiweVerifyPostRequest
|
|
10478
|
-
*/
|
|
10479
|
-
interface SIWEApiLinkSiweVerifyPostRequest {
|
|
10480
|
-
/**
|
|
10481
|
-
*
|
|
10482
|
-
* @type {SiweVerifyPostRequest}
|
|
10483
|
-
* @memberof SIWEApiLinkSiweVerifyPost
|
|
10484
|
-
*/
|
|
10485
|
-
readonly siweVerifyPostRequest: SiweVerifyPostRequest;
|
|
10486
|
-
}
|
|
10487
|
-
/**
|
|
10488
|
-
* Request parameters for siweNoncePost operation in SIWEApi.
|
|
10489
|
-
* @export
|
|
10490
|
-
* @interface SIWEApiSiweNoncePostRequest
|
|
10491
|
-
*/
|
|
10492
|
-
interface SIWEApiSiweNoncePostRequest {
|
|
10493
|
-
/**
|
|
10494
|
-
*
|
|
10495
|
-
* @type {SiweNoncePostRequest}
|
|
10496
|
-
* @memberof SIWEApiSiweNoncePost
|
|
10497
|
-
*/
|
|
10498
|
-
readonly siweNoncePostRequest: SiweNoncePostRequest;
|
|
10499
|
-
}
|
|
10500
|
-
/**
|
|
10501
|
-
* Request parameters for siweVerifyPost operation in SIWEApi.
|
|
10502
|
-
* @export
|
|
10503
|
-
* @interface SIWEApiSiweVerifyPostRequest
|
|
10504
|
-
*/
|
|
10505
|
-
interface SIWEApiSiweVerifyPostRequest {
|
|
10506
|
-
/**
|
|
10507
|
-
*
|
|
10508
|
-
* @type {SiweVerifyPostRequest}
|
|
10509
|
-
* @memberof SIWEApiSiweVerifyPost
|
|
10510
|
-
*/
|
|
10511
|
-
readonly siweVerifyPostRequest: SiweVerifyPostRequest;
|
|
10512
|
-
}
|
|
10513
|
-
/**
|
|
10514
|
-
* SIWEApi - object-oriented interface
|
|
10515
|
-
* @export
|
|
10516
|
-
* @class SIWEApi
|
|
10517
|
-
* @extends {BaseAPI}
|
|
10518
|
-
*/
|
|
10519
|
-
declare class SIWEApi extends BaseAPI {
|
|
10520
|
-
/**
|
|
10521
|
-
* Get all SIWE wallets linked to the authenticated user with full wallet metadata including primary status and chain information. Requires active session.
|
|
10522
|
-
* @summary List linked wallets
|
|
10523
|
-
* @param {*} [options] Override http request option.
|
|
10524
|
-
* @throws {RequiredError}
|
|
10525
|
-
* @memberof SIWEApi
|
|
10526
|
-
*/
|
|
10527
|
-
linkSiweListWalletsGet(options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweListWalletsGet200ResponseInner[], any, {}>>;
|
|
10528
|
-
/**
|
|
10529
|
-
* Generates a cryptographically secure nonce for creating a SIWE message to link a wallet to the current authenticated user. Requires active session.
|
|
10530
|
-
* @summary Get nonce for linking SIWE wallet
|
|
10531
|
-
* @param {SIWEApiLinkSiweNoncePostRequest} requestParameters Request parameters.
|
|
10532
|
-
* @param {*} [options] Override http request option.
|
|
10533
|
-
* @throws {RequiredError}
|
|
10534
|
-
* @memberof SIWEApi
|
|
10535
|
-
*/
|
|
10536
|
-
linkSiweNoncePost(requestParameters: SIWEApiLinkSiweNoncePostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweNoncePost200Response, any, {}>>;
|
|
10537
|
-
/**
|
|
10538
|
-
* Remove a linked wallet from the authenticated user account. If the wallet being unlinked is the primary wallet, another wallet will be automatically promoted to primary. Requires active session.
|
|
10539
|
-
* @summary Unlink SIWE wallet
|
|
10540
|
-
* @param {SIWEApiLinkSiweUnlinkPostRequest} requestParameters Request parameters.
|
|
10541
|
-
* @param {*} [options] Override http request option.
|
|
10542
|
-
* @throws {RequiredError}
|
|
10543
|
-
* @memberof SIWEApi
|
|
10544
|
-
*/
|
|
10545
|
-
linkSiweUnlinkPost(requestParameters: SIWEApiLinkSiweUnlinkPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweUnlinkPost200Response, any, {}>>;
|
|
10546
|
-
/**
|
|
10547
|
-
* Verifies the SIWE signature and links the wallet to the currently authenticated user. Requires active session.
|
|
10548
|
-
* @summary Verify and link SIWE wallet
|
|
10549
|
-
* @param {SIWEApiLinkSiweVerifyPostRequest} requestParameters Request parameters.
|
|
10550
|
-
* @param {*} [options] Override http request option.
|
|
10551
|
-
* @throws {RequiredError}
|
|
10552
|
-
* @memberof SIWEApi
|
|
10553
|
-
*/
|
|
10554
|
-
linkSiweVerifyPost(requestParameters: SIWEApiLinkSiweVerifyPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<LinkSiweVerifyPost200Response, any, {}>>;
|
|
10555
|
-
/**
|
|
10556
|
-
* Generate a nonce for Sign-In With Ethereum (SIWE) authentication
|
|
10557
|
-
* @param {SIWEApiSiweNoncePostRequest} requestParameters Request parameters.
|
|
10558
|
-
* @param {*} [options] Override http request option.
|
|
10559
|
-
* @throws {RequiredError}
|
|
10560
|
-
* @memberof SIWEApi
|
|
10561
|
-
*/
|
|
10562
|
-
siweNoncePost(requestParameters: SIWEApiSiweNoncePostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SiweNoncePost200Response, any, {}>>;
|
|
10563
|
-
/**
|
|
10564
|
-
* Verify a signed SIWE message and authenticate the user
|
|
10565
|
-
* @param {SIWEApiSiweVerifyPostRequest} requestParameters Request parameters.
|
|
10566
|
-
* @param {*} [options] Override http request option.
|
|
10567
|
-
* @throws {RequiredError}
|
|
10568
|
-
* @memberof SIWEApi
|
|
10569
|
-
*/
|
|
10570
|
-
siweVerifyPost(requestParameters: SIWEApiSiweVerifyPostRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SiweVerifyPost200Response, any, {}>>;
|
|
10571
|
-
}
|
|
10572
|
-
|
|
10573
10316
|
/**
|
|
10574
10317
|
* Request parameters for createSession operation in SessionsApi.
|
|
10575
10318
|
* @export
|
|
@@ -10946,16 +10689,12 @@ interface BackendApiClientsOptions {
|
|
|
10946
10689
|
declare class BackendApiClients {
|
|
10947
10690
|
config: OpenfortAPIConfiguration;
|
|
10948
10691
|
transactionIntentsApi: TransactionIntentsApi;
|
|
10949
|
-
accountsApi:
|
|
10692
|
+
accountsApi: AccsV1Api;
|
|
10693
|
+
accountsV2Api: AccsV2Api;
|
|
10950
10694
|
rpcApi: RPCApi;
|
|
10951
10695
|
sessionsApi: SessionsApi;
|
|
10952
|
-
|
|
10953
|
-
|
|
10954
|
-
anonymousApi: AnonymousApi;
|
|
10955
|
-
siweApi: SIWEApi;
|
|
10956
|
-
smsOTPApi: PhoneNumberApi;
|
|
10957
|
-
authenticationApi: AuthenticationApi;
|
|
10958
|
-
authenticationV2Api: DefaultApi;
|
|
10696
|
+
userApi: AuthV2Api;
|
|
10697
|
+
authenticationApi: AuthV1Api;
|
|
10959
10698
|
private storage?;
|
|
10960
10699
|
private onLogout?;
|
|
10961
10700
|
private axiosInstance;
|