@dynamic-labs/sdk-api-core 0.0.594 → 0.0.595

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.
Files changed (46) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +595 -0
  3. package/src/apis/SDKApi.d.ts +204 -1
  4. package/src/apis/SDKApi.js +595 -0
  5. package/src/index.cjs +56 -0
  6. package/src/index.js +13 -0
  7. package/src/models/BackupKeyshareRequest.cjs +43 -0
  8. package/src/models/BackupKeyshareRequest.d.ts +27 -0
  9. package/src/models/BackupKeyshareRequest.js +37 -0
  10. package/src/models/BackupKeyshareResponse.cjs +43 -0
  11. package/src/models/BackupKeyshareResponse.d.ts +27 -0
  12. package/src/models/BackupKeyshareResponse.js +37 -0
  13. package/src/models/CreateWaasAccountRequest.cjs +39 -0
  14. package/src/models/CreateWaasAccountRequest.d.ts +41 -0
  15. package/src/models/CreateWaasAccountRequest.js +33 -0
  16. package/src/models/ExportWaasWalletPrivateKeyRequest.cjs +43 -0
  17. package/src/models/ExportWaasWalletPrivateKeyRequest.d.ts +27 -0
  18. package/src/models/ExportWaasWalletPrivateKeyRequest.js +37 -0
  19. package/src/models/ImportWaasPrivateKeyRequest.cjs +35 -0
  20. package/src/models/ImportWaasPrivateKeyRequest.d.ts +34 -0
  21. package/src/models/ImportWaasPrivateKeyRequest.js +29 -0
  22. package/src/models/OpenRoomResponse.cjs +35 -0
  23. package/src/models/OpenRoomResponse.d.ts +33 -0
  24. package/src/models/OpenRoomResponse.js +29 -0
  25. package/src/models/OpenRoomResponseWithServerKeygenIds.cjs +45 -0
  26. package/src/models/OpenRoomResponseWithServerKeygenIds.d.ts +33 -0
  27. package/src/models/OpenRoomResponseWithServerKeygenIds.js +39 -0
  28. package/src/models/RecoverKeyshareResponse.cjs +43 -0
  29. package/src/models/RecoverKeyshareResponse.d.ts +27 -0
  30. package/src/models/RecoverKeyshareResponse.js +37 -0
  31. package/src/models/RefreshKeySharesRequest.cjs +43 -0
  32. package/src/models/RefreshKeySharesRequest.d.ts +27 -0
  33. package/src/models/RefreshKeySharesRequest.js +37 -0
  34. package/src/models/ReshareRequest.cjs +36 -0
  35. package/src/models/ReshareRequest.d.ts +34 -0
  36. package/src/models/ReshareRequest.js +30 -0
  37. package/src/models/SignMessageWithWaasRequest.cjs +43 -0
  38. package/src/models/SignMessageWithWaasRequest.d.ts +27 -0
  39. package/src/models/SignMessageWithWaasRequest.js +37 -0
  40. package/src/models/SignTransactionWithWaasRequest.cjs +43 -0
  41. package/src/models/SignTransactionWithWaasRequest.d.ts +27 -0
  42. package/src/models/SignTransactionWithWaasRequest.js +37 -0
  43. package/src/models/ThresholdSignatureScheme.cjs +41 -0
  44. package/src/models/ThresholdSignatureScheme.d.ts +24 -0
  45. package/src/models/ThresholdSignatureScheme.js +35 -0
  46. package/src/models/index.d.ts +13 -0
@@ -0,0 +1,30 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
3
+
4
+ /* tslint:disable */
5
+ function ReshareRequestFromJSON(json) {
6
+ return ReshareRequestFromJSONTyped(json);
7
+ }
8
+ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'clientKeygenIds': json['clientKeygenIds'],
14
+ 'thresholdSignatureScheme': !exists(json, 'thresholdSignatureScheme') ? undefined : ThresholdSignatureSchemeFromJSON(json['thresholdSignatureScheme']),
15
+ };
16
+ }
17
+ function ReshareRequestToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'clientKeygenIds': value.clientKeygenIds,
26
+ 'thresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.thresholdSignatureScheme),
27
+ };
28
+ }
29
+
30
+ export { ReshareRequestFromJSON, ReshareRequestFromJSONTyped, ReshareRequestToJSON };
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function SignMessageWithWaasRequestFromJSON(json) {
19
+ return SignMessageWithWaasRequestFromJSONTyped(json);
20
+ }
21
+ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'message': json['message'],
27
+ };
28
+ }
29
+ function SignMessageWithWaasRequestToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'message': value.message,
38
+ };
39
+ }
40
+
41
+ exports.SignMessageWithWaasRequestFromJSON = SignMessageWithWaasRequestFromJSON;
42
+ exports.SignMessageWithWaasRequestFromJSONTyped = SignMessageWithWaasRequestFromJSONTyped;
43
+ exports.SignMessageWithWaasRequestToJSON = SignMessageWithWaasRequestToJSON;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SignMessageWithWaasRequest
16
+ */
17
+ export interface SignMessageWithWaasRequest {
18
+ /**
19
+ * A string with a max length of 1024 characters
20
+ * @type {string}
21
+ * @memberof SignMessageWithWaasRequest
22
+ */
23
+ message: string;
24
+ }
25
+ export declare function SignMessageWithWaasRequestFromJSON(json: any): SignMessageWithWaasRequest;
26
+ export declare function SignMessageWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageWithWaasRequest;
27
+ export declare function SignMessageWithWaasRequestToJSON(value?: SignMessageWithWaasRequest | null): any;
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function SignMessageWithWaasRequestFromJSON(json) {
15
+ return SignMessageWithWaasRequestFromJSONTyped(json);
16
+ }
17
+ function SignMessageWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'message': json['message'],
23
+ };
24
+ }
25
+ function SignMessageWithWaasRequestToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'message': value.message,
34
+ };
35
+ }
36
+
37
+ export { SignMessageWithWaasRequestFromJSON, SignMessageWithWaasRequestFromJSONTyped, SignMessageWithWaasRequestToJSON };
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function SignTransactionWithWaasRequestFromJSON(json) {
19
+ return SignTransactionWithWaasRequestFromJSONTyped(json);
20
+ }
21
+ function SignTransactionWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'transactionHash': json['transactionHash'],
27
+ };
28
+ }
29
+ function SignTransactionWithWaasRequestToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'transactionHash': value.transactionHash,
38
+ };
39
+ }
40
+
41
+ exports.SignTransactionWithWaasRequestFromJSON = SignTransactionWithWaasRequestFromJSON;
42
+ exports.SignTransactionWithWaasRequestFromJSONTyped = SignTransactionWithWaasRequestFromJSONTyped;
43
+ exports.SignTransactionWithWaasRequestToJSON = SignTransactionWithWaasRequestToJSON;
@@ -0,0 +1,27 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SignTransactionWithWaasRequest
16
+ */
17
+ export interface SignTransactionWithWaasRequest {
18
+ /**
19
+ * A string with a max length of 1024 characters
20
+ * @type {string}
21
+ * @memberof SignTransactionWithWaasRequest
22
+ */
23
+ transactionHash: string;
24
+ }
25
+ export declare function SignTransactionWithWaasRequestFromJSON(json: any): SignTransactionWithWaasRequest;
26
+ export declare function SignTransactionWithWaasRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignTransactionWithWaasRequest;
27
+ export declare function SignTransactionWithWaasRequestToJSON(value?: SignTransactionWithWaasRequest | null): any;
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function SignTransactionWithWaasRequestFromJSON(json) {
15
+ return SignTransactionWithWaasRequestFromJSONTyped(json);
16
+ }
17
+ function SignTransactionWithWaasRequestFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'transactionHash': json['transactionHash'],
23
+ };
24
+ }
25
+ function SignTransactionWithWaasRequestToJSON(value) {
26
+ if (value === undefined) {
27
+ return undefined;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ 'transactionHash': value.transactionHash,
34
+ };
35
+ }
36
+
37
+ export { SignTransactionWithWaasRequestFromJSON, SignTransactionWithWaasRequestFromJSONTyped, SignTransactionWithWaasRequestToJSON };
@@ -0,0 +1,41 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.ThresholdSignatureScheme = void 0;
24
+ (function (ThresholdSignatureScheme) {
25
+ ThresholdSignatureScheme["TwoOfTwo"] = "TWO_OF_TWO";
26
+ ThresholdSignatureScheme["TwoOfThree"] = "TWO_OF_THREE";
27
+ ThresholdSignatureScheme["ThreeOfFive"] = "THREE_OF_FIVE";
28
+ })(exports.ThresholdSignatureScheme || (exports.ThresholdSignatureScheme = {}));
29
+ function ThresholdSignatureSchemeFromJSON(json) {
30
+ return ThresholdSignatureSchemeFromJSONTyped(json);
31
+ }
32
+ function ThresholdSignatureSchemeFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ function ThresholdSignatureSchemeToJSON(value) {
36
+ return value;
37
+ }
38
+
39
+ exports.ThresholdSignatureSchemeFromJSON = ThresholdSignatureSchemeFromJSON;
40
+ exports.ThresholdSignatureSchemeFromJSONTyped = ThresholdSignatureSchemeFromJSONTyped;
41
+ exports.ThresholdSignatureSchemeToJSON = ThresholdSignatureSchemeToJSON;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum ThresholdSignatureScheme {
18
+ TwoOfTwo = "TWO_OF_TWO",
19
+ TwoOfThree = "TWO_OF_THREE",
20
+ ThreeOfFive = "THREE_OF_FIVE"
21
+ }
22
+ export declare function ThresholdSignatureSchemeFromJSON(json: any): ThresholdSignatureScheme;
23
+ export declare function ThresholdSignatureSchemeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ThresholdSignatureScheme;
24
+ export declare function ThresholdSignatureSchemeToJSON(value?: ThresholdSignatureScheme | null): any;
@@ -0,0 +1,35 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var ThresholdSignatureScheme;
20
+ (function (ThresholdSignatureScheme) {
21
+ ThresholdSignatureScheme["TwoOfTwo"] = "TWO_OF_TWO";
22
+ ThresholdSignatureScheme["TwoOfThree"] = "TWO_OF_THREE";
23
+ ThresholdSignatureScheme["ThreeOfFive"] = "THREE_OF_FIVE";
24
+ })(ThresholdSignatureScheme || (ThresholdSignatureScheme = {}));
25
+ function ThresholdSignatureSchemeFromJSON(json) {
26
+ return ThresholdSignatureSchemeFromJSONTyped(json);
27
+ }
28
+ function ThresholdSignatureSchemeFromJSONTyped(json, ignoreDiscriminator) {
29
+ return json;
30
+ }
31
+ function ThresholdSignatureSchemeToJSON(value) {
32
+ return value;
33
+ }
34
+
35
+ export { ThresholdSignatureScheme, ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeFromJSONTyped, ThresholdSignatureSchemeToJSON };
@@ -12,6 +12,8 @@ export * from './AuthenticatorAttachment';
12
12
  export * from './AuthenticatorAttestationResponse';
13
13
  export * from './AuthenticatorSelectionCriteria';
14
14
  export * from './AuthenticatorTransportProtocol';
15
+ export * from './BackupKeyshareRequest';
16
+ export * from './BackupKeyshareResponse';
15
17
  export * from './BadGateway';
16
18
  export * from './BadRequest';
17
19
  export * from './BaseUser';
@@ -27,6 +29,7 @@ export * from './CreateMfaToken';
27
29
  export * from './CreateTurnkeyEmbeddedWalletSpecificOpts';
28
30
  export * from './CreateUserEmbeddedWalletsFromFarcasterRequest';
29
31
  export * from './CreateUserEmbeddedWalletsRequest';
32
+ export * from './CreateWaasAccountRequest';
30
33
  export * from './CreateWalletAccountRequest';
31
34
  export * from './Currency';
32
35
  export * from './CurrencyType';
@@ -55,6 +58,7 @@ export * from './EmbeddedWalletVersionEnum';
55
58
  export * from './EnvironmentEnum';
56
59
  export * from './ErrorMessageWithCode';
57
60
  export * from './ExportEmbeddedWalletResponse';
61
+ export * from './ExportWaasWalletPrivateKeyRequest';
58
62
  export * from './ExternalAuth';
59
63
  export * from './ExternalAuthSigninRequest';
60
64
  export * from './ExternalWalletFundingDefaultChain';
@@ -73,6 +77,7 @@ export * from './HardwareWalletEnum';
73
77
  export * from './HardwareWalletProperties';
74
78
  export * from './HealthcheckResponse';
75
79
  export * from './HealthcheckStatus';
80
+ export * from './ImportWaasPrivateKeyRequest';
76
81
  export * from './InitEmailAuthRequest';
77
82
  export * from './InitEmailAuthResponse';
78
83
  export * from './InitPasskeyRecoveryRequest';
@@ -135,6 +140,8 @@ export * from './OauthResultResponse';
135
140
  export * from './OauthResultStatus';
136
141
  export * from './OnrampConfiguration';
137
142
  export * from './OnrampProviders';
143
+ export * from './OpenRoomResponse';
144
+ export * from './OpenRoomResponseWithServerKeygenIds';
138
145
  export * from './PasskeyAuthRequest';
139
146
  export * from './PasskeyRegisterVerifyRequest';
140
147
  export * from './PasskeyRegistrationCredential';
@@ -172,8 +179,11 @@ export * from './PublicKeyCredentialUserEntity';
172
179
  export * from './PublishEvents';
173
180
  export * from './PublishEventsEvents';
174
181
  export * from './ReactSettings';
182
+ export * from './RecoverKeyshareResponse';
183
+ export * from './RefreshKeySharesRequest';
175
184
  export * from './RegisterEmbeddedWalletSessionKeyResponse';
176
185
  export * from './RegisterSessionKeyRequest';
186
+ export * from './ReshareRequest';
177
187
  export * from './ResidentKeyRequirement';
178
188
  export * from './ScanWebsiteUrlRequest';
179
189
  export * from './ScanWebsiteUrlResponse';
@@ -187,6 +197,8 @@ export * from './SdkViewType';
187
197
  export * from './SdkViewUpdateRequest';
188
198
  export * from './SdkViewsResponse';
189
199
  export * from './SignInProviderEnum';
200
+ export * from './SignMessageWithWaasRequest';
201
+ export * from './SignTransactionWithWaasRequest';
190
202
  export * from './SimulateEVMTransactionRequest';
191
203
  export * from './SimulateSVMTransactionRequest';
192
204
  export * from './SimulateTransactionResponse';
@@ -207,6 +219,7 @@ export * from './SupportedSecurityMethod';
207
219
  export * from './SupportedSecurityMethods';
208
220
  export * from './TelegramPostRequest';
209
221
  export * from './TelegramUser';
222
+ export * from './ThresholdSignatureScheme';
210
223
  export * from './TimeUnitEnum';
211
224
  export * from './TokenBalance';
212
225
  export * from './TooManyRequests';