@openfort/openfort-js 1.3.0 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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/utils/debug.cjs +1 -1
- package/dist/cjs/sdk/src/version.cjs +1 -1
- package/dist/cjs/sdk/src/wallets/evm/sendCallSync.cjs +1 -1
- package/dist/index.d.cts +279 -652
- package/dist/index.d.ts +279 -652
- 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/utils/debug.js +1 -1
- package/dist/sdk/src/version.js +1 -1
- package/dist/sdk/src/wallets/evm/sendCallSync.js +1 -1
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -872,7 +872,7 @@ interface EntityIdResponse$1 {
|
|
|
872
872
|
* @enum {string}
|
|
873
873
|
*/
|
|
874
874
|
declare const EntityTypeACCOUNT: {
|
|
875
|
-
readonly
|
|
875
|
+
readonly ACCOUNT: "account";
|
|
876
876
|
};
|
|
877
877
|
type EntityTypeACCOUNT = typeof EntityTypeACCOUNT[keyof typeof EntityTypeACCOUNT];
|
|
878
878
|
|
|
@@ -1160,7 +1160,7 @@ type PrismaSortOrder = typeof PrismaSortOrder[keyof typeof PrismaSortOrder];
|
|
|
1160
1160
|
* @enum {string}
|
|
1161
1161
|
*/
|
|
1162
1162
|
declare const EntityTypePLAYER: {
|
|
1163
|
-
readonly
|
|
1163
|
+
readonly PLAYER: "player";
|
|
1164
1164
|
};
|
|
1165
1165
|
type EntityTypePLAYER = typeof EntityTypePLAYER[keyof typeof EntityTypePLAYER];
|
|
1166
1166
|
|
|
@@ -1270,7 +1270,7 @@ interface AccountResponsePlayer {
|
|
|
1270
1270
|
* @enum {string}
|
|
1271
1271
|
*/
|
|
1272
1272
|
declare const EntityTypeTRANSACTIONINTENT: {
|
|
1273
|
-
readonly
|
|
1273
|
+
readonly TRANSACTION_INTENT: "transactionIntent";
|
|
1274
1274
|
};
|
|
1275
1275
|
type EntityTypeTRANSACTIONINTENT = typeof EntityTypeTRANSACTIONINTENT[keyof typeof EntityTypeTRANSACTIONINTENT];
|
|
1276
1276
|
|
|
@@ -1405,7 +1405,7 @@ interface NextActionPayload$1 {
|
|
|
1405
1405
|
* @enum {string}
|
|
1406
1406
|
*/
|
|
1407
1407
|
declare const NextActionType: {
|
|
1408
|
-
readonly
|
|
1408
|
+
readonly SIGN_WITH_WALLET: "sign_with_wallet";
|
|
1409
1409
|
};
|
|
1410
1410
|
type NextActionType = typeof NextActionType[keyof typeof NextActionType];
|
|
1411
1411
|
|
|
@@ -1441,6 +1441,75 @@ interface NextActionResponse$1 {
|
|
|
1441
1441
|
'payload': NextActionPayload$1;
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
+
/**
|
|
1445
|
+
* Openfort API
|
|
1446
|
+
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
1447
|
+
*
|
|
1448
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1449
|
+
* Contact: founders@openfort.xyz
|
|
1450
|
+
*
|
|
1451
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1452
|
+
* https://openapi-generator.tech
|
|
1453
|
+
* Do not edit the class manually.
|
|
1454
|
+
*/
|
|
1455
|
+
/**
|
|
1456
|
+
*
|
|
1457
|
+
* @export
|
|
1458
|
+
* @interface TransactionErrorExplanation
|
|
1459
|
+
*/
|
|
1460
|
+
interface TransactionErrorExplanation {
|
|
1461
|
+
/**
|
|
1462
|
+
* A human-readable description of what caused the error.
|
|
1463
|
+
* @type {string}
|
|
1464
|
+
* @memberof TransactionErrorExplanation
|
|
1465
|
+
*/
|
|
1466
|
+
'cause': string;
|
|
1467
|
+
/**
|
|
1468
|
+
* A human-readable suggestion for how to resolve the error.
|
|
1469
|
+
* @type {string}
|
|
1470
|
+
* @memberof TransactionErrorExplanation
|
|
1471
|
+
*/
|
|
1472
|
+
'solution': string;
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* Openfort API
|
|
1477
|
+
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
1478
|
+
*
|
|
1479
|
+
* The version of the OpenAPI document: 1.0.0
|
|
1480
|
+
* Contact: founders@openfort.xyz
|
|
1481
|
+
*
|
|
1482
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
1483
|
+
* https://openapi-generator.tech
|
|
1484
|
+
* Do not edit the class manually.
|
|
1485
|
+
*/
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
*
|
|
1489
|
+
* @export
|
|
1490
|
+
* @interface TransactionError
|
|
1491
|
+
*/
|
|
1492
|
+
interface TransactionError {
|
|
1493
|
+
/**
|
|
1494
|
+
* The error reason string returned by the bundler or execution environment.
|
|
1495
|
+
* @type {string}
|
|
1496
|
+
* @memberof TransactionError
|
|
1497
|
+
*/
|
|
1498
|
+
'reason': string;
|
|
1499
|
+
/**
|
|
1500
|
+
* The decoded error name from the contract revert, if available.
|
|
1501
|
+
* @type {string}
|
|
1502
|
+
* @memberof TransactionError
|
|
1503
|
+
*/
|
|
1504
|
+
'name'?: string;
|
|
1505
|
+
/**
|
|
1506
|
+
*
|
|
1507
|
+
* @type {TransactionErrorExplanation}
|
|
1508
|
+
* @memberof TransactionError
|
|
1509
|
+
*/
|
|
1510
|
+
'explanation'?: TransactionErrorExplanation;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1444
1513
|
/**
|
|
1445
1514
|
* Openfort API
|
|
1446
1515
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -1599,11 +1668,11 @@ interface ResponseResponse$1 {
|
|
|
1599
1668
|
*/
|
|
1600
1669
|
'to'?: string;
|
|
1601
1670
|
/**
|
|
1602
|
-
*
|
|
1603
|
-
* @type {
|
|
1671
|
+
*
|
|
1672
|
+
* @type {TransactionError}
|
|
1604
1673
|
* @memberof ResponseResponse
|
|
1605
1674
|
*/
|
|
1606
|
-
'error'?:
|
|
1675
|
+
'error'?: TransactionError;
|
|
1607
1676
|
}
|
|
1608
1677
|
|
|
1609
1678
|
/**
|
|
@@ -1623,11 +1692,11 @@ interface ResponseResponse$1 {
|
|
|
1623
1692
|
* @enum {string}
|
|
1624
1693
|
*/
|
|
1625
1694
|
declare const TransactionAbstractionType$1: {
|
|
1626
|
-
readonly
|
|
1627
|
-
readonly
|
|
1628
|
-
readonly
|
|
1629
|
-
readonly
|
|
1630
|
-
readonly
|
|
1695
|
+
readonly AAV6: "accountAbstractionV6";
|
|
1696
|
+
readonly AAV8: "accountAbstractionV8";
|
|
1697
|
+
readonly AAV9: "accountAbstractionV9";
|
|
1698
|
+
readonly ZKSYNC: "zkSync";
|
|
1699
|
+
readonly EOA: "standard";
|
|
1631
1700
|
};
|
|
1632
1701
|
type TransactionAbstractionType$1 = typeof TransactionAbstractionType$1[keyof typeof TransactionAbstractionType$1];
|
|
1633
1702
|
|
|
@@ -1740,16 +1809,16 @@ interface TransactionIntentResponseDetails {
|
|
|
1740
1809
|
* @enum {string}
|
|
1741
1810
|
*/
|
|
1742
1811
|
declare const TransactionStatus: {
|
|
1743
|
-
readonly
|
|
1744
|
-
readonly
|
|
1745
|
-
readonly
|
|
1746
|
-
readonly
|
|
1747
|
-
readonly
|
|
1748
|
-
readonly
|
|
1749
|
-
readonly
|
|
1750
|
-
readonly
|
|
1751
|
-
readonly
|
|
1752
|
-
readonly
|
|
1812
|
+
readonly NONE: "none";
|
|
1813
|
+
readonly NEW: "new";
|
|
1814
|
+
readonly SENT: "sent";
|
|
1815
|
+
readonly DROPPED: "dropped";
|
|
1816
|
+
readonly INDEXED: "indexed";
|
|
1817
|
+
readonly CONFIRMED: "confirmed";
|
|
1818
|
+
readonly REVERTED: "reverted";
|
|
1819
|
+
readonly NOT_FOUND: "notfound";
|
|
1820
|
+
readonly REPLACED: "replaced";
|
|
1821
|
+
readonly EXPIRED: "expired";
|
|
1753
1822
|
};
|
|
1754
1823
|
type TransactionStatus = typeof TransactionStatus[keyof typeof TransactionStatus];
|
|
1755
1824
|
|
|
@@ -2024,7 +2093,7 @@ interface AccountResponse {
|
|
|
2024
2093
|
* @enum {string}
|
|
2025
2094
|
*/
|
|
2026
2095
|
declare const ResponseTypeLIST: {
|
|
2027
|
-
readonly
|
|
2096
|
+
readonly LIST: "list";
|
|
2028
2097
|
};
|
|
2029
2098
|
type ResponseTypeLIST = typeof ResponseTypeLIST[keyof typeof ResponseTypeLIST];
|
|
2030
2099
|
|
|
@@ -2218,6 +2287,18 @@ interface SmartAccountData {
|
|
|
2218
2287
|
* @memberof SmartAccountData
|
|
2219
2288
|
*/
|
|
2220
2289
|
'active': boolean;
|
|
2290
|
+
/**
|
|
2291
|
+
*
|
|
2292
|
+
* @type {string}
|
|
2293
|
+
* @memberof SmartAccountData
|
|
2294
|
+
*/
|
|
2295
|
+
'ownerAddress'?: string;
|
|
2296
|
+
/**
|
|
2297
|
+
*
|
|
2298
|
+
* @type {number}
|
|
2299
|
+
* @memberof SmartAccountData
|
|
2300
|
+
*/
|
|
2301
|
+
'chainId'?: number;
|
|
2221
2302
|
}
|
|
2222
2303
|
|
|
2223
2304
|
/**
|
|
@@ -2311,7 +2392,7 @@ interface AccountV2Response {
|
|
|
2311
2392
|
*/
|
|
2312
2393
|
'recoveryMethodDetails'?: RecoveryMethodDetails$1;
|
|
2313
2394
|
/**
|
|
2314
|
-
* Indicates key custody: \"Developer\" for
|
|
2395
|
+
* Indicates key custody: \"Developer\" for TEE managed keys, \"User\" for user-managed keys.
|
|
2315
2396
|
* @type {string}
|
|
2316
2397
|
* @memberof AccountV2Response
|
|
2317
2398
|
*/
|
|
@@ -2340,7 +2421,7 @@ type AccountV2ResponseCustodyEnum = typeof AccountV2ResponseCustodyEnum[keyof ty
|
|
|
2340
2421
|
* @enum {string}
|
|
2341
2422
|
*/
|
|
2342
2423
|
declare const Actions: {
|
|
2343
|
-
readonly
|
|
2424
|
+
readonly ActionVerifyEmail: "verify_email";
|
|
2344
2425
|
};
|
|
2345
2426
|
type Actions = typeof Actions[keyof typeof Actions];
|
|
2346
2427
|
|
|
@@ -2942,8 +3023,8 @@ type PlayerResponseExpandable = typeof PlayerResponseExpandable[keyof typeof Pla
|
|
|
2942
3023
|
* @enum {string}
|
|
2943
3024
|
*/
|
|
2944
3025
|
declare const TokenType$1: {
|
|
2945
|
-
readonly
|
|
2946
|
-
readonly
|
|
3026
|
+
readonly IDTOKEN: "idToken";
|
|
3027
|
+
readonly CUSTOMTOKEN: "customToken";
|
|
2947
3028
|
};
|
|
2948
3029
|
type TokenType$1 = typeof TokenType$1[keyof typeof TokenType$1];
|
|
2949
3030
|
|
|
@@ -3158,7 +3239,7 @@ interface BaseEntityListResponseAuthUserResponse {
|
|
|
3158
3239
|
* @enum {string}
|
|
3159
3240
|
*/
|
|
3160
3241
|
declare const EntityTypeWALLET: {
|
|
3161
|
-
readonly
|
|
3242
|
+
readonly WALLET: "wallet";
|
|
3162
3243
|
};
|
|
3163
3244
|
type EntityTypeWALLET = typeof EntityTypeWALLET[keyof typeof EntityTypeWALLET];
|
|
3164
3245
|
|
|
@@ -3200,31 +3281,6 @@ interface BaseEntityResponseEntityTypeWALLET {
|
|
|
3200
3281
|
'createdAt': number;
|
|
3201
3282
|
}
|
|
3202
3283
|
|
|
3203
|
-
/**
|
|
3204
|
-
* Openfort API
|
|
3205
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
3206
|
-
*
|
|
3207
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3208
|
-
* Contact: founders@openfort.xyz
|
|
3209
|
-
*
|
|
3210
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3211
|
-
* https://openapi-generator.tech
|
|
3212
|
-
* Do not edit the class manually.
|
|
3213
|
-
*/
|
|
3214
|
-
/**
|
|
3215
|
-
*
|
|
3216
|
-
* @export
|
|
3217
|
-
* @interface CancelTransferOwnershipRequest
|
|
3218
|
-
*/
|
|
3219
|
-
interface CancelTransferOwnershipRequest {
|
|
3220
|
-
/**
|
|
3221
|
-
* ID of the Policy that defines the gas sponsorship strategy (starts with `pol_`). A policy must be provided.
|
|
3222
|
-
* @type {string}
|
|
3223
|
-
* @memberof CancelTransferOwnershipRequest
|
|
3224
|
-
*/
|
|
3225
|
-
'policy': string;
|
|
3226
|
-
}
|
|
3227
|
-
|
|
3228
3284
|
/**
|
|
3229
3285
|
* Openfort API
|
|
3230
3286
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -3544,43 +3600,6 @@ interface CodeChallengeVerify {
|
|
|
3544
3600
|
'codeVerifier': string;
|
|
3545
3601
|
}
|
|
3546
3602
|
|
|
3547
|
-
/**
|
|
3548
|
-
* Openfort API
|
|
3549
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
3550
|
-
*
|
|
3551
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3552
|
-
* Contact: founders@openfort.xyz
|
|
3553
|
-
*
|
|
3554
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3555
|
-
* https://openapi-generator.tech
|
|
3556
|
-
* Do not edit the class manually.
|
|
3557
|
-
*/
|
|
3558
|
-
/**
|
|
3559
|
-
*
|
|
3560
|
-
* @export
|
|
3561
|
-
* @interface CompleteRecoveryRequest
|
|
3562
|
-
*/
|
|
3563
|
-
interface CompleteRecoveryRequest {
|
|
3564
|
-
/**
|
|
3565
|
-
* Address of the new owner
|
|
3566
|
-
* @type {string}
|
|
3567
|
-
* @memberof CompleteRecoveryRequest
|
|
3568
|
-
*/
|
|
3569
|
-
'newOwnerAddress': string;
|
|
3570
|
-
/**
|
|
3571
|
-
* Signatures by the guardians
|
|
3572
|
-
* @type {Array<string>}
|
|
3573
|
-
* @memberof CompleteRecoveryRequest
|
|
3574
|
-
*/
|
|
3575
|
-
'signatures'?: Array<string>;
|
|
3576
|
-
/**
|
|
3577
|
-
* The policy ID (starts with pol_)
|
|
3578
|
-
* @type {string}
|
|
3579
|
-
* @memberof CompleteRecoveryRequest
|
|
3580
|
-
*/
|
|
3581
|
-
'policy': string;
|
|
3582
|
-
}
|
|
3583
|
-
|
|
3584
3603
|
/**
|
|
3585
3604
|
* Openfort API
|
|
3586
3605
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -3678,7 +3697,7 @@ interface CreateAccountRequestV2 {
|
|
|
3678
3697
|
*/
|
|
3679
3698
|
'chainId'?: number;
|
|
3680
3699
|
/**
|
|
3681
|
-
* ID of the user this account belongs to (starts with `usr_`).
|
|
3700
|
+
* ID of the user this account belongs to (starts with `usr_`). Also might take wallet ID (starts with `pla_`)
|
|
3682
3701
|
* @type {string}
|
|
3683
3702
|
* @memberof CreateAccountRequestV2
|
|
3684
3703
|
*/
|
|
@@ -3719,14 +3738,14 @@ type CreateAccountRequestV2ChainTypeEnum = typeof CreateAccountRequestV2ChainTyp
|
|
|
3719
3738
|
* @enum {string}
|
|
3720
3739
|
*/
|
|
3721
3740
|
declare const ThirdPartyOAuthProvider: {
|
|
3722
|
-
readonly
|
|
3723
|
-
readonly
|
|
3724
|
-
readonly
|
|
3725
|
-
readonly
|
|
3726
|
-
readonly
|
|
3727
|
-
readonly
|
|
3728
|
-
readonly
|
|
3729
|
-
readonly
|
|
3741
|
+
readonly ACCELBYTE: "accelbyte";
|
|
3742
|
+
readonly FIREBASE: "firebase";
|
|
3743
|
+
readonly LOOTLOCKER: "lootlocker";
|
|
3744
|
+
readonly PLAYFAB: "playfab";
|
|
3745
|
+
readonly SUPABASE: "supabase";
|
|
3746
|
+
readonly CUSTOM: "custom";
|
|
3747
|
+
readonly OIDC: "oidc";
|
|
3748
|
+
readonly BETTER_AUTH: "better-auth";
|
|
3730
3749
|
};
|
|
3731
3750
|
type ThirdPartyOAuthProvider = typeof ThirdPartyOAuthProvider[keyof typeof ThirdPartyOAuthProvider];
|
|
3732
3751
|
|
|
@@ -3921,31 +3940,6 @@ interface DeleteAccountResponse {
|
|
|
3921
3940
|
'deleted': boolean;
|
|
3922
3941
|
}
|
|
3923
3942
|
|
|
3924
|
-
/**
|
|
3925
|
-
* Openfort API
|
|
3926
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
3927
|
-
*
|
|
3928
|
-
* The version of the OpenAPI document: 1.0.0
|
|
3929
|
-
* Contact: founders@openfort.xyz
|
|
3930
|
-
*
|
|
3931
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
3932
|
-
* https://openapi-generator.tech
|
|
3933
|
-
* Do not edit the class manually.
|
|
3934
|
-
*/
|
|
3935
|
-
/**
|
|
3936
|
-
*
|
|
3937
|
-
* @export
|
|
3938
|
-
* @interface DeployRequest
|
|
3939
|
-
*/
|
|
3940
|
-
interface DeployRequest {
|
|
3941
|
-
/**
|
|
3942
|
-
* The policy ID (starts with pol_)
|
|
3943
|
-
* @type {string}
|
|
3944
|
-
* @memberof DeployRequest
|
|
3945
|
-
*/
|
|
3946
|
-
'policy': string;
|
|
3947
|
-
}
|
|
3948
|
-
|
|
3949
3943
|
/**
|
|
3950
3944
|
* Openfort API
|
|
3951
3945
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -3963,7 +3957,7 @@ interface DeployRequest {
|
|
|
3963
3957
|
* @enum {string}
|
|
3964
3958
|
*/
|
|
3965
3959
|
declare const EntityTypeDEVELOPERACCOUNT: {
|
|
3966
|
-
readonly
|
|
3960
|
+
readonly DEVELOPER_ACCOUNT: "developerAccount";
|
|
3967
3961
|
};
|
|
3968
3962
|
type EntityTypeDEVELOPERACCOUNT = typeof EntityTypeDEVELOPERACCOUNT[keyof typeof EntityTypeDEVELOPERACCOUNT];
|
|
3969
3963
|
|
|
@@ -4121,7 +4115,7 @@ interface EmailOtpVerifyEmailPostRequest {
|
|
|
4121
4115
|
* @enum {string}
|
|
4122
4116
|
*/
|
|
4123
4117
|
declare const EntityTypePOLICY: {
|
|
4124
|
-
readonly
|
|
4118
|
+
readonly POLICY: "policy";
|
|
4125
4119
|
};
|
|
4126
4120
|
type EntityTypePOLICY = typeof EntityTypePOLICY[keyof typeof EntityTypePOLICY];
|
|
4127
4121
|
|
|
@@ -4142,31 +4136,10 @@ type EntityTypePOLICY = typeof EntityTypePOLICY[keyof typeof EntityTypePOLICY];
|
|
|
4142
4136
|
* @enum {string}
|
|
4143
4137
|
*/
|
|
4144
4138
|
declare const EntityTypeSESSION: {
|
|
4145
|
-
readonly
|
|
4139
|
+
readonly SESSION: "session";
|
|
4146
4140
|
};
|
|
4147
4141
|
type EntityTypeSESSION = typeof EntityTypeSESSION[keyof typeof EntityTypeSESSION];
|
|
4148
4142
|
|
|
4149
|
-
/**
|
|
4150
|
-
* Openfort API
|
|
4151
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
4152
|
-
*
|
|
4153
|
-
* The version of the OpenAPI document: 1.0.0
|
|
4154
|
-
* Contact: founders@openfort.xyz
|
|
4155
|
-
*
|
|
4156
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4157
|
-
* https://openapi-generator.tech
|
|
4158
|
-
* Do not edit the class manually.
|
|
4159
|
-
*/
|
|
4160
|
-
/**
|
|
4161
|
-
*
|
|
4162
|
-
* @export
|
|
4163
|
-
* @enum {string}
|
|
4164
|
-
*/
|
|
4165
|
-
declare const EntityTypeSIGNATURE: {
|
|
4166
|
-
readonly Signature: "signature";
|
|
4167
|
-
};
|
|
4168
|
-
type EntityTypeSIGNATURE = typeof EntityTypeSIGNATURE[keyof typeof EntityTypeSIGNATURE];
|
|
4169
|
-
|
|
4170
4143
|
/**
|
|
4171
4144
|
* Openfort API
|
|
4172
4145
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -4216,6 +4189,127 @@ interface EstimateTransactionIntentGasResult {
|
|
|
4216
4189
|
'gasPrice': string;
|
|
4217
4190
|
}
|
|
4218
4191
|
|
|
4192
|
+
/**
|
|
4193
|
+
* Openfort API
|
|
4194
|
+
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
4195
|
+
*
|
|
4196
|
+
* The version of the OpenAPI document: 1.0.0
|
|
4197
|
+
* Contact: founders@openfort.xyz
|
|
4198
|
+
*
|
|
4199
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
4200
|
+
* https://openapi-generator.tech
|
|
4201
|
+
* Do not edit the class manually.
|
|
4202
|
+
*/
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
*
|
|
4206
|
+
* @export
|
|
4207
|
+
* @interface ExportShareResponse
|
|
4208
|
+
*/
|
|
4209
|
+
interface ExportShareResponse {
|
|
4210
|
+
/**
|
|
4211
|
+
*
|
|
4212
|
+
* @type {string}
|
|
4213
|
+
* @memberof ExportShareResponse
|
|
4214
|
+
*/
|
|
4215
|
+
'id': string;
|
|
4216
|
+
/**
|
|
4217
|
+
*
|
|
4218
|
+
* @type {string}
|
|
4219
|
+
* @memberof ExportShareResponse
|
|
4220
|
+
*/
|
|
4221
|
+
'wallet': string;
|
|
4222
|
+
/**
|
|
4223
|
+
*
|
|
4224
|
+
* @type {string}
|
|
4225
|
+
* @memberof ExportShareResponse
|
|
4226
|
+
*/
|
|
4227
|
+
'accountType': string;
|
|
4228
|
+
/**
|
|
4229
|
+
*
|
|
4230
|
+
* @type {string}
|
|
4231
|
+
* @memberof ExportShareResponse
|
|
4232
|
+
*/
|
|
4233
|
+
'address': string;
|
|
4234
|
+
/**
|
|
4235
|
+
*
|
|
4236
|
+
* @type {string}
|
|
4237
|
+
* @memberof ExportShareResponse
|
|
4238
|
+
*/
|
|
4239
|
+
'ownerAddress'?: string;
|
|
4240
|
+
/**
|
|
4241
|
+
*
|
|
4242
|
+
* @type {string}
|
|
4243
|
+
* @memberof ExportShareResponse
|
|
4244
|
+
*/
|
|
4245
|
+
'chainType': string;
|
|
4246
|
+
/**
|
|
4247
|
+
*
|
|
4248
|
+
* @type {number}
|
|
4249
|
+
* @memberof ExportShareResponse
|
|
4250
|
+
*/
|
|
4251
|
+
'chainId'?: number;
|
|
4252
|
+
/**
|
|
4253
|
+
*
|
|
4254
|
+
* @type {number}
|
|
4255
|
+
* @memberof ExportShareResponse
|
|
4256
|
+
*/
|
|
4257
|
+
'createdAt': number;
|
|
4258
|
+
/**
|
|
4259
|
+
*
|
|
4260
|
+
* @type {number}
|
|
4261
|
+
* @memberof ExportShareResponse
|
|
4262
|
+
*/
|
|
4263
|
+
'updatedAt': number;
|
|
4264
|
+
/**
|
|
4265
|
+
*
|
|
4266
|
+
* @type {SmartAccountData}
|
|
4267
|
+
* @memberof ExportShareResponse
|
|
4268
|
+
*/
|
|
4269
|
+
'smartAccount'?: SmartAccountData;
|
|
4270
|
+
/**
|
|
4271
|
+
*
|
|
4272
|
+
* @type {string}
|
|
4273
|
+
* @memberof ExportShareResponse
|
|
4274
|
+
*/
|
|
4275
|
+
'recoveryMethod'?: string;
|
|
4276
|
+
/**
|
|
4277
|
+
*
|
|
4278
|
+
* @type {RecoveryMethodDetails}
|
|
4279
|
+
* @memberof ExportShareResponse
|
|
4280
|
+
*/
|
|
4281
|
+
'recoveryMethodDetails'?: RecoveryMethodDetails$1;
|
|
4282
|
+
/**
|
|
4283
|
+
* Indicates key custody: \"Developer\" for TEE managed keys, \"User\" for user-managed keys.
|
|
4284
|
+
* @type {string}
|
|
4285
|
+
* @memberof ExportShareResponse
|
|
4286
|
+
*/
|
|
4287
|
+
'custody': ExportShareResponseCustodyEnum;
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @type {string}
|
|
4291
|
+
* @memberof ExportShareResponse
|
|
4292
|
+
*/
|
|
4293
|
+
'share': string;
|
|
4294
|
+
/**
|
|
4295
|
+
*
|
|
4296
|
+
* @type {string}
|
|
4297
|
+
* @memberof ExportShareResponse
|
|
4298
|
+
*/
|
|
4299
|
+
'signerId': string;
|
|
4300
|
+
/**
|
|
4301
|
+
*
|
|
4302
|
+
* @type {string}
|
|
4303
|
+
* @memberof ExportShareResponse
|
|
4304
|
+
*/
|
|
4305
|
+
'userId'?: string;
|
|
4306
|
+
}
|
|
4307
|
+
declare const ExportShareResponseCustodyEnum: {
|
|
4308
|
+
readonly Developer: "Developer";
|
|
4309
|
+
readonly User: "User";
|
|
4310
|
+
};
|
|
4311
|
+
type ExportShareResponseCustodyEnum = typeof ExportShareResponseCustodyEnum[keyof typeof ExportShareResponseCustodyEnum];
|
|
4312
|
+
|
|
4219
4313
|
/**
|
|
4220
4314
|
* Openfort API
|
|
4221
4315
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -4233,7 +4327,7 @@ interface EstimateTransactionIntentGasResult {
|
|
|
4233
4327
|
* @enum {string}
|
|
4234
4328
|
*/
|
|
4235
4329
|
declare const SponsorSchemaFIXEDRATE: {
|
|
4236
|
-
readonly
|
|
4330
|
+
readonly FIXED_RATE: "fixed_rate";
|
|
4237
4331
|
};
|
|
4238
4332
|
type SponsorSchemaFIXEDRATE = typeof SponsorSchemaFIXEDRATE[keyof typeof SponsorSchemaFIXEDRATE];
|
|
4239
4333
|
|
|
@@ -5167,31 +5261,6 @@ interface ListAccountsGet200ResponseInner {
|
|
|
5167
5261
|
'walletClientType': string;
|
|
5168
5262
|
}
|
|
5169
5263
|
|
|
5170
|
-
/**
|
|
5171
|
-
* Openfort API
|
|
5172
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
5173
|
-
*
|
|
5174
|
-
* The version of the OpenAPI document: 1.0.0
|
|
5175
|
-
* Contact: founders@openfort.xyz
|
|
5176
|
-
*
|
|
5177
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
5178
|
-
* https://openapi-generator.tech
|
|
5179
|
-
* Do not edit the class manually.
|
|
5180
|
-
*/
|
|
5181
|
-
/**
|
|
5182
|
-
*
|
|
5183
|
-
* @export
|
|
5184
|
-
* @interface LoginOIDCRequest
|
|
5185
|
-
*/
|
|
5186
|
-
interface LoginOIDCRequest {
|
|
5187
|
-
/**
|
|
5188
|
-
* The identity token of the user.
|
|
5189
|
-
* @type {string}
|
|
5190
|
-
* @memberof LoginOIDCRequest
|
|
5191
|
-
*/
|
|
5192
|
-
'identityToken': string;
|
|
5193
|
-
}
|
|
5194
|
-
|
|
5195
5264
|
/**
|
|
5196
5265
|
* Openfort API
|
|
5197
5266
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -5240,13 +5309,13 @@ interface LoginRequest {
|
|
|
5240
5309
|
* @enum {string}
|
|
5241
5310
|
*/
|
|
5242
5311
|
declare const OAuthProvider$1: {
|
|
5243
|
-
readonly
|
|
5244
|
-
readonly
|
|
5245
|
-
readonly
|
|
5246
|
-
readonly
|
|
5247
|
-
readonly
|
|
5248
|
-
readonly
|
|
5249
|
-
readonly
|
|
5312
|
+
readonly GOOGLE: "google";
|
|
5313
|
+
readonly TWITTER: "twitter";
|
|
5314
|
+
readonly FACEBOOK: "facebook";
|
|
5315
|
+
readonly DISCORD: "discord";
|
|
5316
|
+
readonly EPIC_GAMES: "epic_games";
|
|
5317
|
+
readonly LINE: "line";
|
|
5318
|
+
readonly APPLE: "apple";
|
|
5250
5319
|
};
|
|
5251
5320
|
type OAuthProvider$1 = typeof OAuthProvider$1[keyof typeof OAuthProvider$1];
|
|
5252
5321
|
|
|
@@ -5911,7 +5980,7 @@ interface PregenerateAccountResponse {
|
|
|
5911
5980
|
*/
|
|
5912
5981
|
'recoveryMethodDetails'?: RecoveryMethodDetails$1;
|
|
5913
5982
|
/**
|
|
5914
|
-
* Indicates key custody: \"Developer\" for
|
|
5983
|
+
* Indicates key custody: \"Developer\" for TEE managed keys, \"User\" for user-managed keys.
|
|
5915
5984
|
* @type {string}
|
|
5916
5985
|
* @memberof PregenerateAccountResponse
|
|
5917
5986
|
*/
|
|
@@ -5922,6 +5991,12 @@ interface PregenerateAccountResponse {
|
|
|
5922
5991
|
* @memberof PregenerateAccountResponse
|
|
5923
5992
|
*/
|
|
5924
5993
|
'recoveryShare': string;
|
|
5994
|
+
/**
|
|
5995
|
+
* User uuid
|
|
5996
|
+
* @type {string}
|
|
5997
|
+
* @memberof PregenerateAccountResponse
|
|
5998
|
+
*/
|
|
5999
|
+
'user': string;
|
|
5925
6000
|
}
|
|
5926
6001
|
declare const PregenerateAccountResponseCustodyEnum: {
|
|
5927
6002
|
readonly Developer: "Developer";
|
|
@@ -7017,190 +7092,6 @@ interface SignOutPost200Response {
|
|
|
7017
7092
|
'success'?: boolean;
|
|
7018
7093
|
}
|
|
7019
7094
|
|
|
7020
|
-
/**
|
|
7021
|
-
* Openfort API
|
|
7022
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
7023
|
-
*
|
|
7024
|
-
* The version of the OpenAPI document: 1.0.0
|
|
7025
|
-
* Contact: founders@openfort.xyz
|
|
7026
|
-
*
|
|
7027
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7028
|
-
* https://openapi-generator.tech
|
|
7029
|
-
* Do not edit the class manually.
|
|
7030
|
-
*/
|
|
7031
|
-
/**
|
|
7032
|
-
*
|
|
7033
|
-
* @export
|
|
7034
|
-
* @interface TypedDataField
|
|
7035
|
-
*/
|
|
7036
|
-
interface TypedDataField {
|
|
7037
|
-
/**
|
|
7038
|
-
*
|
|
7039
|
-
* @type {string}
|
|
7040
|
-
* @memberof TypedDataField
|
|
7041
|
-
*/
|
|
7042
|
-
'name': string;
|
|
7043
|
-
/**
|
|
7044
|
-
*
|
|
7045
|
-
* @type {string}
|
|
7046
|
-
* @memberof TypedDataField
|
|
7047
|
-
*/
|
|
7048
|
-
'type': string;
|
|
7049
|
-
}
|
|
7050
|
-
|
|
7051
|
-
/**
|
|
7052
|
-
* Openfort API
|
|
7053
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
7054
|
-
*
|
|
7055
|
-
* The version of the OpenAPI document: 1.0.0
|
|
7056
|
-
* Contact: founders@openfort.xyz
|
|
7057
|
-
*
|
|
7058
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7059
|
-
* https://openapi-generator.tech
|
|
7060
|
-
* Do not edit the class manually.
|
|
7061
|
-
*/
|
|
7062
|
-
/**
|
|
7063
|
-
*
|
|
7064
|
-
* @export
|
|
7065
|
-
* @interface TypedDomainData
|
|
7066
|
-
*/
|
|
7067
|
-
interface TypedDomainData {
|
|
7068
|
-
/**
|
|
7069
|
-
* The chain ID.
|
|
7070
|
-
* @type {number}
|
|
7071
|
-
* @memberof TypedDomainData
|
|
7072
|
-
*/
|
|
7073
|
-
'chainId': number;
|
|
7074
|
-
/**
|
|
7075
|
-
* The user readable name of signing domain, i.e. the name of the DApp or the protocol..
|
|
7076
|
-
* @type {string}
|
|
7077
|
-
* @memberof TypedDomainData
|
|
7078
|
-
*/
|
|
7079
|
-
'name'?: string;
|
|
7080
|
-
/**
|
|
7081
|
-
* The current major version of the signing domain. Signatures from different versions are not compatible.
|
|
7082
|
-
* @type {string}
|
|
7083
|
-
* @memberof TypedDomainData
|
|
7084
|
-
*/
|
|
7085
|
-
'version'?: string;
|
|
7086
|
-
/**
|
|
7087
|
-
* The address of the contract that will verify the signature. The user-agent may do contract specific phishing prevention.
|
|
7088
|
-
* @type {string}
|
|
7089
|
-
* @memberof TypedDomainData
|
|
7090
|
-
*/
|
|
7091
|
-
'verifyingContract'?: string;
|
|
7092
|
-
/**
|
|
7093
|
-
* An disambiguating salt for the protocol. This can be used as a domain separator of last resort.
|
|
7094
|
-
* @type {string}
|
|
7095
|
-
* @memberof TypedDomainData
|
|
7096
|
-
*/
|
|
7097
|
-
'salt'?: string;
|
|
7098
|
-
}
|
|
7099
|
-
|
|
7100
|
-
/**
|
|
7101
|
-
* Openfort API
|
|
7102
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
7103
|
-
*
|
|
7104
|
-
* The version of the OpenAPI document: 1.0.0
|
|
7105
|
-
* Contact: founders@openfort.xyz
|
|
7106
|
-
*
|
|
7107
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7108
|
-
* https://openapi-generator.tech
|
|
7109
|
-
* Do not edit the class manually.
|
|
7110
|
-
*/
|
|
7111
|
-
|
|
7112
|
-
/**
|
|
7113
|
-
*
|
|
7114
|
-
* @export
|
|
7115
|
-
* @interface SignPayloadRequest
|
|
7116
|
-
*/
|
|
7117
|
-
interface SignPayloadRequest {
|
|
7118
|
-
/**
|
|
7119
|
-
*
|
|
7120
|
-
* @type {TypedDomainData}
|
|
7121
|
-
* @memberof SignPayloadRequest
|
|
7122
|
-
*/
|
|
7123
|
-
'domain': TypedDomainData;
|
|
7124
|
-
/**
|
|
7125
|
-
*
|
|
7126
|
-
* @type {{ [key: string]: Array<TypedDataField>; }}
|
|
7127
|
-
* @memberof SignPayloadRequest
|
|
7128
|
-
*/
|
|
7129
|
-
'types': {
|
|
7130
|
-
[key: string]: Array<TypedDataField>;
|
|
7131
|
-
};
|
|
7132
|
-
/**
|
|
7133
|
-
*
|
|
7134
|
-
* @type {string}
|
|
7135
|
-
* @memberof SignPayloadRequest
|
|
7136
|
-
*/
|
|
7137
|
-
'primaryType': string;
|
|
7138
|
-
/**
|
|
7139
|
-
*
|
|
7140
|
-
* @type {{ [key: string]: any; }}
|
|
7141
|
-
* @memberof SignPayloadRequest
|
|
7142
|
-
*/
|
|
7143
|
-
'value': {
|
|
7144
|
-
[key: string]: any;
|
|
7145
|
-
};
|
|
7146
|
-
/**
|
|
7147
|
-
* Hash to verify and that will be signed
|
|
7148
|
-
* @type {string}
|
|
7149
|
-
* @memberof SignPayloadRequest
|
|
7150
|
-
*/
|
|
7151
|
-
'hash'?: string;
|
|
7152
|
-
}
|
|
7153
|
-
|
|
7154
|
-
/**
|
|
7155
|
-
* Openfort API
|
|
7156
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
7157
|
-
*
|
|
7158
|
-
* The version of the OpenAPI document: 1.0.0
|
|
7159
|
-
* Contact: founders@openfort.xyz
|
|
7160
|
-
*
|
|
7161
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7162
|
-
* https://openapi-generator.tech
|
|
7163
|
-
* Do not edit the class manually.
|
|
7164
|
-
*/
|
|
7165
|
-
|
|
7166
|
-
/**
|
|
7167
|
-
*
|
|
7168
|
-
* @export
|
|
7169
|
-
* @interface SignPayloadResponse
|
|
7170
|
-
*/
|
|
7171
|
-
interface SignPayloadResponse {
|
|
7172
|
-
/**
|
|
7173
|
-
*
|
|
7174
|
-
* @type {EntityTypeSIGNATURE}
|
|
7175
|
-
* @memberof SignPayloadResponse
|
|
7176
|
-
*/
|
|
7177
|
-
'object': EntityTypeSIGNATURE;
|
|
7178
|
-
/**
|
|
7179
|
-
*
|
|
7180
|
-
* @type {string}
|
|
7181
|
-
* @memberof SignPayloadResponse
|
|
7182
|
-
*/
|
|
7183
|
-
'account': string;
|
|
7184
|
-
/**
|
|
7185
|
-
*
|
|
7186
|
-
* @type {string}
|
|
7187
|
-
* @memberof SignPayloadResponse
|
|
7188
|
-
*/
|
|
7189
|
-
'address': string;
|
|
7190
|
-
/**
|
|
7191
|
-
*
|
|
7192
|
-
* @type {string}
|
|
7193
|
-
* @memberof SignPayloadResponse
|
|
7194
|
-
*/
|
|
7195
|
-
'hash': string;
|
|
7196
|
-
/**
|
|
7197
|
-
*
|
|
7198
|
-
* @type {string}
|
|
7199
|
-
* @memberof SignPayloadResponse
|
|
7200
|
-
*/
|
|
7201
|
-
'signature': string;
|
|
7202
|
-
}
|
|
7203
|
-
|
|
7204
7095
|
/**
|
|
7205
7096
|
* Openfort API
|
|
7206
7097
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -7876,37 +7767,6 @@ interface SocialSignInRequest {
|
|
|
7876
7767
|
'loginHint'?: string | null;
|
|
7877
7768
|
}
|
|
7878
7769
|
|
|
7879
|
-
/**
|
|
7880
|
-
* Openfort API
|
|
7881
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
7882
|
-
*
|
|
7883
|
-
* The version of the OpenAPI document: 1.0.0
|
|
7884
|
-
* Contact: founders@openfort.xyz
|
|
7885
|
-
*
|
|
7886
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
7887
|
-
* https://openapi-generator.tech
|
|
7888
|
-
* Do not edit the class manually.
|
|
7889
|
-
*/
|
|
7890
|
-
/**
|
|
7891
|
-
*
|
|
7892
|
-
* @export
|
|
7893
|
-
* @interface StartRecoveryRequest
|
|
7894
|
-
*/
|
|
7895
|
-
interface StartRecoveryRequest {
|
|
7896
|
-
/**
|
|
7897
|
-
* Address of the new owner
|
|
7898
|
-
* @type {string}
|
|
7899
|
-
* @memberof StartRecoveryRequest
|
|
7900
|
-
*/
|
|
7901
|
-
'newOwnerAddress': string;
|
|
7902
|
-
/**
|
|
7903
|
-
* The policy ID (starts with pol_)
|
|
7904
|
-
* @type {string}
|
|
7905
|
-
* @memberof StartRecoveryRequest
|
|
7906
|
-
*/
|
|
7907
|
-
'policy': string;
|
|
7908
|
-
}
|
|
7909
|
-
|
|
7910
7770
|
/**
|
|
7911
7771
|
* Openfort API
|
|
7912
7772
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8477,37 +8337,6 @@ interface TransactionIntentListResponse {
|
|
|
8477
8337
|
'total': number;
|
|
8478
8338
|
}
|
|
8479
8339
|
|
|
8480
|
-
/**
|
|
8481
|
-
* Openfort API
|
|
8482
|
-
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
8483
|
-
*
|
|
8484
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8485
|
-
* Contact: founders@openfort.xyz
|
|
8486
|
-
*
|
|
8487
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8488
|
-
* https://openapi-generator.tech
|
|
8489
|
-
* Do not edit the class manually.
|
|
8490
|
-
*/
|
|
8491
|
-
/**
|
|
8492
|
-
*
|
|
8493
|
-
* @export
|
|
8494
|
-
* @interface TransferOwnershipRequest
|
|
8495
|
-
*/
|
|
8496
|
-
interface TransferOwnershipRequest {
|
|
8497
|
-
/**
|
|
8498
|
-
* The address of the new owner
|
|
8499
|
-
* @type {string}
|
|
8500
|
-
* @memberof TransferOwnershipRequest
|
|
8501
|
-
*/
|
|
8502
|
-
'newOwnerAddress': string;
|
|
8503
|
-
/**
|
|
8504
|
-
* ID of the Policy that defines the gas sponsorship strategy (starts with `pol_`). A policy must be provided.
|
|
8505
|
-
* @type {string}
|
|
8506
|
-
* @memberof TransferOwnershipRequest
|
|
8507
|
-
*/
|
|
8508
|
-
'policy': string;
|
|
8509
|
-
}
|
|
8510
|
-
|
|
8511
8340
|
/**
|
|
8512
8341
|
* Openfort API
|
|
8513
8342
|
* Complete Openfort API references and guides can be found at: https://www.openfort.io/docs
|
|
@@ -8746,44 +8575,6 @@ interface VerifyEmailRequest {
|
|
|
8746
8575
|
'challenge'?: CodeChallengeVerify;
|
|
8747
8576
|
}
|
|
8748
8577
|
|
|
8749
|
-
/**
|
|
8750
|
-
* Request parameters for cancelTransferOwnership operation in AccsV1Api.
|
|
8751
|
-
* @export
|
|
8752
|
-
* @interface AccsV1ApiCancelTransferOwnershipRequest
|
|
8753
|
-
*/
|
|
8754
|
-
interface AccsV1ApiCancelTransferOwnershipRequest {
|
|
8755
|
-
/**
|
|
8756
|
-
* Specifies the unique account ID (starts with acc_).
|
|
8757
|
-
* @type {string}
|
|
8758
|
-
* @memberof AccsV1ApiCancelTransferOwnership
|
|
8759
|
-
*/
|
|
8760
|
-
readonly id: string;
|
|
8761
|
-
/**
|
|
8762
|
-
*
|
|
8763
|
-
* @type {CancelTransferOwnershipRequest}
|
|
8764
|
-
* @memberof AccsV1ApiCancelTransferOwnership
|
|
8765
|
-
*/
|
|
8766
|
-
readonly cancelTransferOwnershipRequest: CancelTransferOwnershipRequest;
|
|
8767
|
-
}
|
|
8768
|
-
/**
|
|
8769
|
-
* Request parameters for completeRecovery operation in AccsV1Api.
|
|
8770
|
-
* @export
|
|
8771
|
-
* @interface AccsV1ApiCompleteRecoveryRequest
|
|
8772
|
-
*/
|
|
8773
|
-
interface AccsV1ApiCompleteRecoveryRequest {
|
|
8774
|
-
/**
|
|
8775
|
-
* Specifies the unique account ID (starts with acc_).
|
|
8776
|
-
* @type {string}
|
|
8777
|
-
* @memberof AccsV1ApiCompleteRecovery
|
|
8778
|
-
*/
|
|
8779
|
-
readonly id: string;
|
|
8780
|
-
/**
|
|
8781
|
-
*
|
|
8782
|
-
* @type {CompleteRecoveryRequest}
|
|
8783
|
-
* @memberof AccsV1ApiCompleteRecovery
|
|
8784
|
-
*/
|
|
8785
|
-
readonly completeRecoveryRequest: CompleteRecoveryRequest;
|
|
8786
|
-
}
|
|
8787
8578
|
/**
|
|
8788
8579
|
* Request parameters for createAccount operation in AccsV1Api.
|
|
8789
8580
|
* @export
|
|
@@ -8797,25 +8588,6 @@ interface AccsV1ApiCreateAccountRequest {
|
|
|
8797
8588
|
*/
|
|
8798
8589
|
readonly createAccountRequest: CreateAccountRequest;
|
|
8799
8590
|
}
|
|
8800
|
-
/**
|
|
8801
|
-
* Request parameters for deployAccount operation in AccsV1Api.
|
|
8802
|
-
* @export
|
|
8803
|
-
* @interface AccsV1ApiDeployAccountRequest
|
|
8804
|
-
*/
|
|
8805
|
-
interface AccsV1ApiDeployAccountRequest {
|
|
8806
|
-
/**
|
|
8807
|
-
* Specifies the unique account ID (starts with acc_).
|
|
8808
|
-
* @type {string}
|
|
8809
|
-
* @memberof AccsV1ApiDeployAccount
|
|
8810
|
-
*/
|
|
8811
|
-
readonly id: string;
|
|
8812
|
-
/**
|
|
8813
|
-
*
|
|
8814
|
-
* @type {DeployRequest}
|
|
8815
|
-
* @memberof AccsV1ApiDeployAccount
|
|
8816
|
-
*/
|
|
8817
|
-
readonly deployRequest: DeployRequest;
|
|
8818
|
-
}
|
|
8819
8591
|
/**
|
|
8820
8592
|
* Request parameters for disableAccount operation in AccsV1Api.
|
|
8821
8593
|
* @export
|
|
@@ -8897,76 +8669,6 @@ interface AccsV1ApiGetAccountsRequest {
|
|
|
8897
8669
|
*/
|
|
8898
8670
|
readonly expand?: Array<AccountResponseExpandable>;
|
|
8899
8671
|
}
|
|
8900
|
-
/**
|
|
8901
|
-
* Request parameters for requestTransferOwnership operation in AccsV1Api.
|
|
8902
|
-
* @export
|
|
8903
|
-
* @interface AccsV1ApiRequestTransferOwnershipRequest
|
|
8904
|
-
*/
|
|
8905
|
-
interface AccsV1ApiRequestTransferOwnershipRequest {
|
|
8906
|
-
/**
|
|
8907
|
-
* Specifies the unique account ID (starts with acc_).
|
|
8908
|
-
* @type {string}
|
|
8909
|
-
* @memberof AccsV1ApiRequestTransferOwnership
|
|
8910
|
-
*/
|
|
8911
|
-
readonly id: string;
|
|
8912
|
-
/**
|
|
8913
|
-
*
|
|
8914
|
-
* @type {TransferOwnershipRequest}
|
|
8915
|
-
* @memberof AccsV1ApiRequestTransferOwnership
|
|
8916
|
-
*/
|
|
8917
|
-
readonly transferOwnershipRequest: TransferOwnershipRequest;
|
|
8918
|
-
}
|
|
8919
|
-
/**
|
|
8920
|
-
* Request parameters for signPayload operation in AccsV1Api.
|
|
8921
|
-
* @export
|
|
8922
|
-
* @interface AccsV1ApiSignPayloadRequest
|
|
8923
|
-
*/
|
|
8924
|
-
interface AccsV1ApiSignPayloadRequest {
|
|
8925
|
-
/**
|
|
8926
|
-
* Specifies the unique account ID (starts with acc_).
|
|
8927
|
-
* @type {string}
|
|
8928
|
-
* @memberof AccsV1ApiSignPayload
|
|
8929
|
-
*/
|
|
8930
|
-
readonly id: string;
|
|
8931
|
-
/**
|
|
8932
|
-
*
|
|
8933
|
-
* @type {SignPayloadRequest}
|
|
8934
|
-
* @memberof AccsV1ApiSignPayload
|
|
8935
|
-
*/
|
|
8936
|
-
readonly signPayloadRequest: SignPayloadRequest;
|
|
8937
|
-
}
|
|
8938
|
-
/**
|
|
8939
|
-
* Request parameters for startRecovery operation in AccsV1Api.
|
|
8940
|
-
* @export
|
|
8941
|
-
* @interface AccsV1ApiStartRecoveryRequest
|
|
8942
|
-
*/
|
|
8943
|
-
interface AccsV1ApiStartRecoveryRequest {
|
|
8944
|
-
/**
|
|
8945
|
-
* Specifies the unique account ID (starts with acc_).
|
|
8946
|
-
* @type {string}
|
|
8947
|
-
* @memberof AccsV1ApiStartRecovery
|
|
8948
|
-
*/
|
|
8949
|
-
readonly id: string;
|
|
8950
|
-
/**
|
|
8951
|
-
*
|
|
8952
|
-
* @type {StartRecoveryRequest}
|
|
8953
|
-
* @memberof AccsV1ApiStartRecovery
|
|
8954
|
-
*/
|
|
8955
|
-
readonly startRecoveryRequest: StartRecoveryRequest;
|
|
8956
|
-
}
|
|
8957
|
-
/**
|
|
8958
|
-
* Request parameters for syncAccount operation in AccsV1Api.
|
|
8959
|
-
* @export
|
|
8960
|
-
* @interface AccsV1ApiSyncAccountRequest
|
|
8961
|
-
*/
|
|
8962
|
-
interface AccsV1ApiSyncAccountRequest {
|
|
8963
|
-
/**
|
|
8964
|
-
* Specifies the unique account ID (starts with acc_).
|
|
8965
|
-
* @type {string}
|
|
8966
|
-
* @memberof AccsV1ApiSyncAccount
|
|
8967
|
-
*/
|
|
8968
|
-
readonly id: string;
|
|
8969
|
-
}
|
|
8970
8672
|
/**
|
|
8971
8673
|
* AccsV1Api - object-oriented interface
|
|
8972
8674
|
* @export
|
|
@@ -8974,24 +8676,6 @@ interface AccsV1ApiSyncAccountRequest {
|
|
|
8974
8676
|
* @extends {BaseAPI}
|
|
8975
8677
|
*/
|
|
8976
8678
|
declare class AccsV1Api extends BaseAPI {
|
|
8977
|
-
/**
|
|
8978
|
-
* Cancel a pending transfer of ownership.
|
|
8979
|
-
* @summary Cancel request to transfer ownership of an account.
|
|
8980
|
-
* @param {AccsV1ApiCancelTransferOwnershipRequest} requestParameters Request parameters.
|
|
8981
|
-
* @param {*} [options] Override http request option.
|
|
8982
|
-
* @throws {RequiredError}
|
|
8983
|
-
* @memberof AccsV1Api
|
|
8984
|
-
*/
|
|
8985
|
-
cancelTransferOwnership(requestParameters: AccsV1ApiCancelTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
8986
|
-
/**
|
|
8987
|
-
*
|
|
8988
|
-
* @summary Complete a recovery process of a recoverable account.
|
|
8989
|
-
* @param {AccsV1ApiCompleteRecoveryRequest} requestParameters Request parameters.
|
|
8990
|
-
* @param {*} [options] Override http request option.
|
|
8991
|
-
* @throws {RequiredError}
|
|
8992
|
-
* @memberof AccsV1Api
|
|
8993
|
-
*/
|
|
8994
|
-
completeRecovery(requestParameters: AccsV1ApiCompleteRecoveryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
8995
8679
|
/**
|
|
8996
8680
|
* 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.
|
|
8997
8681
|
* @summary Create an account object.
|
|
@@ -9001,15 +8685,6 @@ declare class AccsV1Api extends BaseAPI {
|
|
|
9001
8685
|
* @memberof AccsV1Api
|
|
9002
8686
|
*/
|
|
9003
8687
|
createAccount(requestParameters: AccsV1ApiCreateAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
9004
|
-
/**
|
|
9005
|
-
* This endpoint can be used to deploy a smart contract account that was counterfactually generated.
|
|
9006
|
-
* @summary Deploy an account.
|
|
9007
|
-
* @param {AccsV1ApiDeployAccountRequest} requestParameters Request parameters.
|
|
9008
|
-
* @param {*} [options] Override http request option.
|
|
9009
|
-
* @throws {RequiredError}
|
|
9010
|
-
* @memberof AccsV1Api
|
|
9011
|
-
*/
|
|
9012
|
-
deployAccount(requestParameters: AccsV1ApiDeployAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
9013
8688
|
/**
|
|
9014
8689
|
* Disables an account. Accounts won\'t be shown for user and won\'t be accessible for transactions.
|
|
9015
8690
|
* @summary Disable account by id.
|
|
@@ -9037,42 +8712,6 @@ declare class AccsV1Api extends BaseAPI {
|
|
|
9037
8712
|
* @memberof AccsV1Api
|
|
9038
8713
|
*/
|
|
9039
8714
|
getAccounts(requestParameters?: AccsV1ApiGetAccountsRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountListResponse, any, {}>>;
|
|
9040
|
-
/**
|
|
9041
|
-
* 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.
|
|
9042
|
-
* @summary Request transfer ownership of account.
|
|
9043
|
-
* @param {AccsV1ApiRequestTransferOwnershipRequest} requestParameters Request parameters.
|
|
9044
|
-
* @param {*} [options] Override http request option.
|
|
9045
|
-
* @throws {RequiredError}
|
|
9046
|
-
* @memberof AccsV1Api
|
|
9047
|
-
*/
|
|
9048
|
-
requestTransferOwnership(requestParameters: AccsV1ApiRequestTransferOwnershipRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
9049
|
-
/**
|
|
9050
|
-
* **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.
|
|
9051
|
-
* @summary Sign a given payload
|
|
9052
|
-
* @param {AccsV1ApiSignPayloadRequest} requestParameters Request parameters.
|
|
9053
|
-
* @param {*} [options] Override http request option.
|
|
9054
|
-
* @throws {RequiredError}
|
|
9055
|
-
* @memberof AccsV1Api
|
|
9056
|
-
*/
|
|
9057
|
-
signPayload(requestParameters: AccsV1ApiSignPayloadRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignPayloadResponse, any, {}>>;
|
|
9058
|
-
/**
|
|
9059
|
-
*
|
|
9060
|
-
* @summary Start a recovery process of a recoverable account.
|
|
9061
|
-
* @param {AccsV1ApiStartRecoveryRequest} requestParameters Request parameters.
|
|
9062
|
-
* @param {*} [options] Override http request option.
|
|
9063
|
-
* @throws {RequiredError}
|
|
9064
|
-
* @memberof AccsV1Api
|
|
9065
|
-
*/
|
|
9066
|
-
startRecovery(requestParameters: AccsV1ApiStartRecoveryRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<TransactionIntentResponse$1, any, {}>>;
|
|
9067
|
-
/**
|
|
9068
|
-
* Synchronize the account state with the blockchain. Specifically, it updates the account owner and whether its deployed or not.
|
|
9069
|
-
* @summary Sync account state with the blockchain
|
|
9070
|
-
* @param {AccsV1ApiSyncAccountRequest} requestParameters Request parameters.
|
|
9071
|
-
* @param {*} [options] Override http request option.
|
|
9072
|
-
* @throws {RequiredError}
|
|
9073
|
-
* @memberof AccsV1Api
|
|
9074
|
-
*/
|
|
9075
|
-
syncAccount(requestParameters: AccsV1ApiSyncAccountRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountResponse, any, {}>>;
|
|
9076
8715
|
}
|
|
9077
8716
|
|
|
9078
8717
|
/**
|
|
@@ -9088,6 +8727,19 @@ interface AccsV2ApiCreateAccountV2Request {
|
|
|
9088
8727
|
*/
|
|
9089
8728
|
readonly createAccountRequestV2: CreateAccountRequestV2;
|
|
9090
8729
|
}
|
|
8730
|
+
/**
|
|
8731
|
+
* Request parameters for exportAccountShare operation in AccsV2Api.
|
|
8732
|
+
* @export
|
|
8733
|
+
* @interface AccsV2ApiExportAccountShareRequest
|
|
8734
|
+
*/
|
|
8735
|
+
interface AccsV2ApiExportAccountShareRequest {
|
|
8736
|
+
/**
|
|
8737
|
+
*
|
|
8738
|
+
* @type {string}
|
|
8739
|
+
* @memberof AccsV2ApiExportAccountShare
|
|
8740
|
+
*/
|
|
8741
|
+
readonly accountUuid: string;
|
|
8742
|
+
}
|
|
9091
8743
|
/**
|
|
9092
8744
|
* Request parameters for getAccountV2 operation in AccsV2Api.
|
|
9093
8745
|
* @export
|
|
@@ -9217,6 +8869,15 @@ declare class AccsV2Api extends BaseAPI {
|
|
|
9217
8869
|
* @memberof AccsV2Api
|
|
9218
8870
|
*/
|
|
9219
8871
|
createAccountV2(requestParameters: AccsV2ApiCreateAccountV2Request, options?: AxiosRequestConfig): Promise<AxiosResponse<AccountV2Response, any, {}>>;
|
|
8872
|
+
/**
|
|
8873
|
+
* Exports the primary share for an account, including all data needed to import it on another instance.
|
|
8874
|
+
* @summary Export account share.
|
|
8875
|
+
* @param {AccsV2ApiExportAccountShareRequest} requestParameters Request parameters.
|
|
8876
|
+
* @param {*} [options] Override http request option.
|
|
8877
|
+
* @throws {RequiredError}
|
|
8878
|
+
* @memberof AccsV2Api
|
|
8879
|
+
*/
|
|
8880
|
+
exportAccountShare(requestParameters: AccsV2ApiExportAccountShareRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<ExportShareResponse, any, {}>>;
|
|
9220
8881
|
/**
|
|
9221
8882
|
* Retrieves the details of an existing account. Supply the unique account ID and Openfort will return the corresponding account information.
|
|
9222
8883
|
* @summary Get existing account.
|
|
@@ -9442,25 +9103,6 @@ interface AuthV1ApiLoginEmailPasswordRequest {
|
|
|
9442
9103
|
*/
|
|
9443
9104
|
readonly xGame?: string;
|
|
9444
9105
|
}
|
|
9445
|
-
/**
|
|
9446
|
-
* Request parameters for loginOIDC operation in AuthV1Api.
|
|
9447
|
-
* @export
|
|
9448
|
-
* @interface AuthV1ApiLoginOIDCRequest
|
|
9449
|
-
*/
|
|
9450
|
-
interface AuthV1ApiLoginOIDCRequest {
|
|
9451
|
-
/**
|
|
9452
|
-
*
|
|
9453
|
-
* @type {LoginOIDCRequest}
|
|
9454
|
-
* @memberof AuthV1ApiLoginOIDC
|
|
9455
|
-
*/
|
|
9456
|
-
readonly loginOIDCRequest: LoginOIDCRequest;
|
|
9457
|
-
/**
|
|
9458
|
-
*
|
|
9459
|
-
* @type {string}
|
|
9460
|
-
* @memberof AuthV1ApiLoginOIDC
|
|
9461
|
-
*/
|
|
9462
|
-
readonly xGame?: string;
|
|
9463
|
-
}
|
|
9464
9106
|
/**
|
|
9465
9107
|
* Request parameters for loginWithIdToken operation in AuthV1Api.
|
|
9466
9108
|
* @export
|
|
@@ -9755,15 +9397,6 @@ declare class AuthV1Api extends BaseAPI {
|
|
|
9755
9397
|
* @memberof AuthV1Api
|
|
9756
9398
|
*/
|
|
9757
9399
|
loginEmailPassword(requestParameters: AuthV1ApiLoginEmailPasswordRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<SignupEmailPassword201Response, any, {}>>;
|
|
9758
|
-
/**
|
|
9759
|
-
* Authenticate a player from an identity token.
|
|
9760
|
-
* @summary OIDC Identity token.
|
|
9761
|
-
* @param {AuthV1ApiLoginOIDCRequest} requestParameters Request parameters.
|
|
9762
|
-
* @param {*} [options] Override http request option.
|
|
9763
|
-
* @throws {RequiredError}
|
|
9764
|
-
* @memberof AuthV1Api
|
|
9765
|
-
*/
|
|
9766
|
-
loginOIDC(requestParameters: AuthV1ApiLoginOIDCRequest, options?: AxiosRequestConfig): Promise<AxiosResponse<AuthResponse$1, any, {}>>;
|
|
9767
9400
|
/**
|
|
9768
9401
|
*
|
|
9769
9402
|
* @summary Authenticate player with oauth token.
|
|
@@ -10043,12 +9676,6 @@ interface AuthV2ApiGetAccessTokenPostRequest {
|
|
|
10043
9676
|
* @interface AuthV2ApiGetSessionGetRequest
|
|
10044
9677
|
*/
|
|
10045
9678
|
interface AuthV2ApiGetSessionGetRequest {
|
|
10046
|
-
/**
|
|
10047
|
-
* Project public key (format: pk_{mode}_{uuid}). Required for authentication but typically provided via middleware.
|
|
10048
|
-
* @type {string}
|
|
10049
|
-
* @memberof AuthV2ApiGetSessionGet
|
|
10050
|
-
*/
|
|
10051
|
-
readonly xProjectKey?: string;
|
|
10052
9679
|
/**
|
|
10053
9680
|
* Disable cookie cache and fetch session from database
|
|
10054
9681
|
* @type {boolean}
|