@dynamic-labs/sdk-api 0.0.1080 → 0.0.1082

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 (107) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -0
  3. package/src/apis/AdminActionsApi.js +1 -0
  4. package/src/apis/AllowlistsApi.cjs +1 -0
  5. package/src/apis/AllowlistsApi.js +1 -0
  6. package/src/apis/AnalyticsApi.cjs +1 -0
  7. package/src/apis/AnalyticsApi.js +1 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +1 -0
  9. package/src/apis/AuthorizedClientsApi.js +1 -0
  10. package/src/apis/CaptchaApi.cjs +1 -0
  11. package/src/apis/CaptchaApi.js +1 -0
  12. package/src/apis/ChainalysisApi.cjs +1 -0
  13. package/src/apis/ChainalysisApi.js +1 -0
  14. package/src/apis/ChainsApi.cjs +1 -0
  15. package/src/apis/ChainsApi.js +1 -0
  16. package/src/apis/CheckoutApi.cjs +1 -0
  17. package/src/apis/CheckoutApi.js +1 -0
  18. package/src/apis/ClientGrantApi.cjs +1 -0
  19. package/src/apis/ClientGrantApi.js +1 -0
  20. package/src/apis/CustomFieldsApi.cjs +1 -0
  21. package/src/apis/CustomFieldsApi.js +1 -0
  22. package/src/apis/CustomHostnamesApi.cjs +1 -0
  23. package/src/apis/CustomHostnamesApi.js +1 -0
  24. package/src/apis/CustomNetworksApi.cjs +1 -0
  25. package/src/apis/CustomNetworksApi.js +1 -0
  26. package/src/apis/DeeplinkUrlsApi.cjs +1 -0
  27. package/src/apis/DeeplinkUrlsApi.js +1 -0
  28. package/src/apis/EnvironmentsApi.cjs +1 -0
  29. package/src/apis/EnvironmentsApi.js +1 -0
  30. package/src/apis/EventsApi.cjs +1 -0
  31. package/src/apis/EventsApi.js +1 -0
  32. package/src/apis/ExchangesApi.cjs +1 -0
  33. package/src/apis/ExchangesApi.js +1 -0
  34. package/src/apis/ExportsApi.cjs +1 -0
  35. package/src/apis/ExportsApi.js +1 -0
  36. package/src/apis/ExternalJwtApi.cjs +1 -0
  37. package/src/apis/ExternalJwtApi.js +1 -0
  38. package/src/apis/FlowAnalyticsApi.cjs +1 -0
  39. package/src/apis/FlowAnalyticsApi.js +1 -0
  40. package/src/apis/GaslessApi.cjs +1 -0
  41. package/src/apis/GaslessApi.js +1 -0
  42. package/src/apis/GatesApi.cjs +1 -0
  43. package/src/apis/GatesApi.js +1 -0
  44. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
  45. package/src/apis/GlobalWalletAccessControlApi.js +1 -0
  46. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
  47. package/src/apis/GlobalWalletConnectionsApi.js +1 -0
  48. package/src/apis/GlobalWalletsApi.cjs +1 -0
  49. package/src/apis/GlobalWalletsApi.js +1 -0
  50. package/src/apis/InvitesApi.cjs +1 -0
  51. package/src/apis/InvitesApi.js +1 -0
  52. package/src/apis/MembersApi.cjs +1 -0
  53. package/src/apis/MembersApi.js +1 -0
  54. package/src/apis/MfaSettingsApi.cjs +1 -0
  55. package/src/apis/MfaSettingsApi.js +1 -0
  56. package/src/apis/NameServicesApi.cjs +1 -0
  57. package/src/apis/NameServicesApi.js +1 -0
  58. package/src/apis/OrganizationSettingsApi.cjs +1 -0
  59. package/src/apis/OrganizationSettingsApi.js +1 -0
  60. package/src/apis/OrganizationsApi.cjs +1 -0
  61. package/src/apis/OrganizationsApi.js +1 -0
  62. package/src/apis/OriginsApi.cjs +1 -0
  63. package/src/apis/OriginsApi.js +1 -0
  64. package/src/apis/ProjectsApi.cjs +1 -0
  65. package/src/apis/ProjectsApi.js +1 -0
  66. package/src/apis/ProvidersApi.cjs +1 -0
  67. package/src/apis/ProvidersApi.js +1 -0
  68. package/src/apis/SDKApi.cjs +1 -0
  69. package/src/apis/SDKApi.js +1 -0
  70. package/src/apis/SDKViewsApi.cjs +1 -0
  71. package/src/apis/SDKViewsApi.js +1 -0
  72. package/src/apis/SessionsApi.cjs +1 -0
  73. package/src/apis/SessionsApi.js +1 -0
  74. package/src/apis/TestAccountApi.cjs +1 -0
  75. package/src/apis/TestAccountApi.js +1 -0
  76. package/src/apis/TokensApi.cjs +1 -0
  77. package/src/apis/TokensApi.js +1 -0
  78. package/src/apis/UserApiTokensApi.cjs +1 -0
  79. package/src/apis/UserApiTokensApi.js +1 -0
  80. package/src/apis/UsersApi.cjs +1 -0
  81. package/src/apis/UsersApi.js +1 -0
  82. package/src/apis/VisitsApi.cjs +1 -0
  83. package/src/apis/VisitsApi.js +1 -0
  84. package/src/apis/WaasApi.cjs +64 -0
  85. package/src/apis/WaasApi.d.ts +29 -0
  86. package/src/apis/WaasApi.js +64 -0
  87. package/src/apis/WalletConnectApi.cjs +1 -0
  88. package/src/apis/WalletConnectApi.js +1 -0
  89. package/src/apis/WalletsApi.cjs +1 -0
  90. package/src/apis/WalletsApi.js +1 -0
  91. package/src/apis/WebhooksApi.cjs +1 -0
  92. package/src/apis/WebhooksApi.js +1 -0
  93. package/src/index.cjs +8 -0
  94. package/src/index.js +1 -0
  95. package/src/models/SignMessageContext.cjs +3 -0
  96. package/src/models/SignMessageContext.d.ts +7 -0
  97. package/src/models/SignMessageContext.js +3 -0
  98. package/src/models/SignMessageRawSign.cjs +46 -0
  99. package/src/models/SignMessageRawSign.d.ts +47 -0
  100. package/src/models/SignMessageRawSign.js +40 -0
  101. package/src/models/WaasWalletProperties.cjs +2 -0
  102. package/src/models/WaasWalletProperties.d.ts +6 -0
  103. package/src/models/WaasWalletProperties.js +2 -0
  104. package/src/models/WalletProperties.cjs +2 -0
  105. package/src/models/WalletProperties.d.ts +6 -0
  106. package/src/models/WalletProperties.js +2 -0
  107. package/src/models/index.d.ts +1 -0
@@ -0,0 +1,47 @@
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
+ * Chain-agnostic raw digest signing payload; the digest must equal hashFunction(prefix + payload)
14
+ * @export
15
+ * @interface SignMessageRawSign
16
+ */
17
+ export interface SignMessageRawSign {
18
+ /**
19
+ * Pre-image the digest is derived from, as a hex string
20
+ * @type {string}
21
+ * @memberof SignMessageRawSign
22
+ */
23
+ payload: string;
24
+ /**
25
+ * Hash applied to (prefix + payload) to reproduce the digest being signed. Restricted to sha512Half (e.g. XRPL single-signer) and keccak256 (screened against EVM operations); sha256 is excluded because a double-SHA256 Bitcoin sighash could be reproduced from an opaque pre-hashed payload
26
+ * @type {string}
27
+ * @memberof SignMessageRawSign
28
+ */
29
+ hashFunction: SignMessageRawSignHashFunctionEnum;
30
+ /**
31
+ * Optional hex prefix prepended to the payload before hashing, e.g. the XRPL single-signer 'STX\0' prefix (53545800)
32
+ * @type {string}
33
+ * @memberof SignMessageRawSign
34
+ */
35
+ prefix?: string;
36
+ }
37
+ /**
38
+ * @export
39
+ * @enum {string}
40
+ */
41
+ export declare enum SignMessageRawSignHashFunctionEnum {
42
+ Sha512Half = "sha512Half",
43
+ Keccak256 = "keccak256"
44
+ }
45
+ export declare function SignMessageRawSignFromJSON(json: any): SignMessageRawSign;
46
+ export declare function SignMessageRawSignFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageRawSign;
47
+ export declare function SignMessageRawSignToJSON(value?: SignMessageRawSign | null): any;
@@ -0,0 +1,40 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var SignMessageRawSignHashFunctionEnum;
9
+ (function (SignMessageRawSignHashFunctionEnum) {
10
+ SignMessageRawSignHashFunctionEnum["Sha512Half"] = "sha512Half";
11
+ SignMessageRawSignHashFunctionEnum["Keccak256"] = "keccak256";
12
+ })(SignMessageRawSignHashFunctionEnum || (SignMessageRawSignHashFunctionEnum = {}));
13
+ function SignMessageRawSignFromJSON(json) {
14
+ return SignMessageRawSignFromJSONTyped(json);
15
+ }
16
+ function SignMessageRawSignFromJSONTyped(json, ignoreDiscriminator) {
17
+ if ((json === undefined) || (json === null)) {
18
+ return json;
19
+ }
20
+ return {
21
+ 'payload': json['payload'],
22
+ 'hashFunction': json['hashFunction'],
23
+ 'prefix': !exists(json, 'prefix') ? undefined : json['prefix'],
24
+ };
25
+ }
26
+ function SignMessageRawSignToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'payload': value.payload,
35
+ 'hashFunction': value.hashFunction,
36
+ 'prefix': value.prefix,
37
+ };
38
+ }
39
+
40
+ export { SignMessageRawSignFromJSON, SignMessageRawSignFromJSONTyped, SignMessageRawSignHashFunctionEnum, SignMessageRawSignToJSON };
@@ -25,6 +25,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
25
25
  'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
26
26
  'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
27
27
  'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
28
+ 'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
28
29
  'otherShareSets': !runtime.exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSet.WaasShareSetFromJSON)),
29
30
  'version': !runtime.exists(json, 'version') ? undefined : EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumFromJSON(json['version']),
30
31
  };
@@ -43,6 +44,7 @@ function WaasWalletPropertiesToJSON(value) {
43
44
  'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
44
45
  'shareSetId': value.shareSetId,
45
46
  'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
47
+ 'businessAccountId': value.businessAccountId,
46
48
  'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSet.WaasShareSetToJSON)),
47
49
  'version': EmbeddedWalletVersionEnum.EmbeddedWalletVersionEnumToJSON(value.version),
48
50
  };
@@ -57,6 +57,12 @@ export interface WaasWalletProperties {
57
57
  * @memberof WaasWalletProperties
58
58
  */
59
59
  shareSetType?: WaasWalletShareSetType;
60
+ /**
61
+ * Identifier of the business account that owns this wallet, when it is a business-account wallet; absent for personal wallets.
62
+ * @type {string}
63
+ * @memberof WaasWalletProperties
64
+ */
65
+ businessAccountId?: string;
60
66
  /**
61
67
  * All other active share sets that exist on this wallet (i.e., owned by other auth principals). Returned for awareness so consumers can see, e.g., that a delegated share set is set up alongside their rootUser. Server-typed share sets are never exposed.
62
68
  * @type {Array<WaasShareSet>}
@@ -21,6 +21,7 @@ function WaasWalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
21
21
  'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
22
22
  'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
23
23
  'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
24
+ 'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
24
25
  'otherShareSets': !exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSetFromJSON)),
25
26
  'version': !exists(json, 'version') ? undefined : EmbeddedWalletVersionEnumFromJSON(json['version']),
26
27
  };
@@ -39,6 +40,7 @@ function WaasWalletPropertiesToJSON(value) {
39
40
  'settings': WaasWalletSettingsToJSON(value.settings),
40
41
  'shareSetId': value.shareSetId,
41
42
  'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
43
+ 'businessAccountId': value.businessAccountId,
42
44
  'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSetToJSON)),
43
45
  'version': EmbeddedWalletVersionEnumToJSON(value.version),
44
46
  };
@@ -43,6 +43,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
43
43
  'settings': !runtime.exists(json, 'settings') ? undefined : WaasWalletSettings.WaasWalletSettingsFromJSON(json['settings']),
44
44
  'shareSetId': !runtime.exists(json, 'shareSetId') ? undefined : json['shareSetId'],
45
45
  'shareSetType': !runtime.exists(json, 'shareSetType') ? undefined : WaasWalletShareSetType.WaasWalletShareSetTypeFromJSON(json['shareSetType']),
46
+ 'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
46
47
  'otherShareSets': !runtime.exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSet.WaasShareSetFromJSON)),
47
48
  };
48
49
  }
@@ -73,6 +74,7 @@ function WalletPropertiesToJSON(value) {
73
74
  'settings': WaasWalletSettings.WaasWalletSettingsToJSON(value.settings),
74
75
  'shareSetId': value.shareSetId,
75
76
  'shareSetType': WaasWalletShareSetType.WaasWalletShareSetTypeToJSON(value.shareSetType),
77
+ 'businessAccountId': value.businessAccountId,
76
78
  'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSet.WaasShareSetToJSON)),
77
79
  };
78
80
  }
@@ -140,6 +140,12 @@ export interface WalletProperties {
140
140
  * @memberof WalletProperties
141
141
  */
142
142
  shareSetType?: WaasWalletShareSetType;
143
+ /**
144
+ * Identifier of the business account that owns this wallet, when it is a business-account wallet; absent for personal wallets.
145
+ * @type {string}
146
+ * @memberof WalletProperties
147
+ */
148
+ businessAccountId?: string;
143
149
  /**
144
150
  * All other active share sets that exist on this wallet (i.e., owned by other auth principals). Returned for awareness so consumers can see, e.g., that a delegated share set is set up alongside their rootUser. Server-typed share sets are never exposed.
145
151
  * @type {Array<WaasShareSet>}
@@ -39,6 +39,7 @@ function WalletPropertiesFromJSONTyped(json, ignoreDiscriminator) {
39
39
  'settings': !exists(json, 'settings') ? undefined : WaasWalletSettingsFromJSON(json['settings']),
40
40
  'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
41
41
  'shareSetType': !exists(json, 'shareSetType') ? undefined : WaasWalletShareSetTypeFromJSON(json['shareSetType']),
42
+ 'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
42
43
  'otherShareSets': !exists(json, 'otherShareSets') ? undefined : (json['otherShareSets'].map(WaasShareSetFromJSON)),
43
44
  };
44
45
  }
@@ -69,6 +70,7 @@ function WalletPropertiesToJSON(value) {
69
70
  'settings': WaasWalletSettingsToJSON(value.settings),
70
71
  'shareSetId': value.shareSetId,
71
72
  'shareSetType': WaasWalletShareSetTypeToJSON(value.shareSetType),
73
+ 'businessAccountId': value.businessAccountId,
72
74
  'otherShareSets': value.otherShareSets === undefined ? undefined : (value.otherShareSets.map(WaasShareSetToJSON)),
73
75
  };
74
76
  }
@@ -600,6 +600,7 @@ export * from './SignMessageEvmMessageAnyOf';
600
600
  export * from './SignMessageEvmTransaction';
601
601
  export * from './SignMessageEvmTypedData';
602
602
  export * from './SignMessageEvmUserOperation';
603
+ export * from './SignMessageRawSign';
603
604
  export * from './SignMessageSuiTransaction';
604
605
  export * from './SignMessageSvmTransaction';
605
606
  export * from './SignMessageUserOperationData';