@dynamic-labs/sdk-api 0.0.1068 → 0.0.1069

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 (99) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +1 -1
  3. package/src/apis/AdminActionsApi.js +1 -1
  4. package/src/apis/AllowlistsApi.cjs +1 -1
  5. package/src/apis/AllowlistsApi.js +1 -1
  6. package/src/apis/AnalyticsApi.cjs +1 -1
  7. package/src/apis/AnalyticsApi.js +1 -1
  8. package/src/apis/AuthorizedClientsApi.cjs +1 -1
  9. package/src/apis/AuthorizedClientsApi.js +1 -1
  10. package/src/apis/CaptchaApi.cjs +1 -1
  11. package/src/apis/CaptchaApi.js +1 -1
  12. package/src/apis/ChainalysisApi.cjs +1 -1
  13. package/src/apis/ChainalysisApi.js +1 -1
  14. package/src/apis/ChainsApi.cjs +1 -1
  15. package/src/apis/ChainsApi.js +1 -1
  16. package/src/apis/CheckoutApi.cjs +1 -1
  17. package/src/apis/CheckoutApi.js +1 -1
  18. package/src/apis/ClientGrantApi.cjs +1 -1
  19. package/src/apis/ClientGrantApi.js +1 -1
  20. package/src/apis/CustomFieldsApi.cjs +1 -1
  21. package/src/apis/CustomFieldsApi.js +1 -1
  22. package/src/apis/CustomHostnamesApi.cjs +1 -1
  23. package/src/apis/CustomHostnamesApi.js +1 -1
  24. package/src/apis/CustomNetworksApi.cjs +1 -1
  25. package/src/apis/CustomNetworksApi.js +1 -1
  26. package/src/apis/DeeplinkUrlsApi.cjs +1 -1
  27. package/src/apis/DeeplinkUrlsApi.js +1 -1
  28. package/src/apis/EnvironmentsApi.cjs +1 -1
  29. package/src/apis/EnvironmentsApi.js +1 -1
  30. package/src/apis/EventsApi.cjs +1 -1
  31. package/src/apis/EventsApi.js +1 -1
  32. package/src/apis/ExchangesApi.cjs +1 -1
  33. package/src/apis/ExchangesApi.js +1 -1
  34. package/src/apis/ExportsApi.cjs +1 -1
  35. package/src/apis/ExportsApi.js +1 -1
  36. package/src/apis/ExternalJwtApi.cjs +1 -1
  37. package/src/apis/ExternalJwtApi.js +1 -1
  38. package/src/apis/FlowAnalyticsApi.cjs +1 -1
  39. package/src/apis/FlowAnalyticsApi.js +1 -1
  40. package/src/apis/GatesApi.cjs +1 -1
  41. package/src/apis/GatesApi.js +1 -1
  42. package/src/apis/GlobalWalletAccessControlApi.cjs +1 -1
  43. package/src/apis/GlobalWalletAccessControlApi.js +1 -1
  44. package/src/apis/GlobalWalletConnectionsApi.cjs +1 -1
  45. package/src/apis/GlobalWalletConnectionsApi.js +1 -1
  46. package/src/apis/GlobalWalletsApi.cjs +1 -1
  47. package/src/apis/GlobalWalletsApi.js +1 -1
  48. package/src/apis/InvitesApi.cjs +1 -1
  49. package/src/apis/InvitesApi.js +1 -1
  50. package/src/apis/MembersApi.cjs +1 -1
  51. package/src/apis/MembersApi.js +1 -1
  52. package/src/apis/MfaSettingsApi.cjs +1 -1
  53. package/src/apis/MfaSettingsApi.js +1 -1
  54. package/src/apis/NameServicesApi.cjs +1 -1
  55. package/src/apis/NameServicesApi.js +1 -1
  56. package/src/apis/OrganizationSettingsApi.cjs +1 -1
  57. package/src/apis/OrganizationSettingsApi.js +1 -1
  58. package/src/apis/OrganizationsApi.cjs +1 -1
  59. package/src/apis/OrganizationsApi.js +1 -1
  60. package/src/apis/OriginsApi.cjs +1 -1
  61. package/src/apis/OriginsApi.js +1 -1
  62. package/src/apis/ProjectsApi.cjs +1 -1
  63. package/src/apis/ProjectsApi.js +1 -1
  64. package/src/apis/ProvidersApi.cjs +1 -1
  65. package/src/apis/ProvidersApi.js +1 -1
  66. package/src/apis/SDKApi.cjs +62 -0
  67. package/src/apis/SDKApi.d.ts +26 -1
  68. package/src/apis/SDKApi.js +62 -0
  69. package/src/apis/SDKViewsApi.cjs +1 -1
  70. package/src/apis/SDKViewsApi.js +1 -1
  71. package/src/apis/SessionsApi.cjs +1 -1
  72. package/src/apis/SessionsApi.js +1 -1
  73. package/src/apis/TestAccountApi.cjs +1 -1
  74. package/src/apis/TestAccountApi.js +1 -1
  75. package/src/apis/TokensApi.cjs +1 -1
  76. package/src/apis/TokensApi.js +1 -1
  77. package/src/apis/UserApiTokensApi.cjs +1 -1
  78. package/src/apis/UserApiTokensApi.js +1 -1
  79. package/src/apis/UsersApi.cjs +1 -1
  80. package/src/apis/UsersApi.js +1 -1
  81. package/src/apis/VisitsApi.cjs +1 -1
  82. package/src/apis/VisitsApi.js +1 -1
  83. package/src/apis/WaasApi.cjs +1 -1
  84. package/src/apis/WaasApi.js +1 -1
  85. package/src/apis/WalletConnectApi.cjs +1 -1
  86. package/src/apis/WalletConnectApi.js +1 -1
  87. package/src/apis/WalletsApi.cjs +1 -1
  88. package/src/apis/WalletsApi.js +1 -1
  89. package/src/apis/WebhooksApi.cjs +1 -1
  90. package/src/apis/WebhooksApi.js +1 -1
  91. package/src/index.cjs +4 -0
  92. package/src/index.js +1 -0
  93. package/src/models/AddBusinessAccountSignerSdkRequest.cjs +7 -0
  94. package/src/models/AddBusinessAccountSignerSdkRequest.d.ts +20 -0
  95. package/src/models/AddBusinessAccountSignerSdkRequest.js +7 -0
  96. package/src/models/InlineObject6.cjs +35 -0
  97. package/src/models/InlineObject6.d.ts +33 -0
  98. package/src/models/InlineObject6.js +29 -0
  99. package/src/models/index.d.ts +1 -0
@@ -10,9 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { BusinessAccountSignerType } from './BusinessAccountSignerType';
13
+ import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
13
14
  import { UserIdentifierTypeEnum } from './UserIdentifierTypeEnum';
14
15
  /**
15
16
  * SDK addSigner body. Same user resolution shape as addMember (userId OR identifier + type), plus `signerType` for the signer-role enum (endUser/server). `type` here is the user-resolution type, NOT the signer type — `signerType` lives on a dedicated field.
17
+ * The remaining fields parameterise the reshare ceremony that runs after the pending signer row is written. `clientKeygenIds` come from the caller's local MPC state; the threshold scheme fields describe the source share set (old) and the destination share set (new) that the ceremony produces.
16
18
  * @export
17
19
  * @interface AddBusinessAccountSignerSdkRequest
18
20
  */
@@ -41,6 +43,24 @@ export interface AddBusinessAccountSignerSdkRequest {
41
43
  * @memberof AddBusinessAccountSignerSdkRequest
42
44
  */
43
45
  type?: UserIdentifierTypeEnum;
46
+ /**
47
+ * Caller's MPC keygen IDs participating in the reshare.
48
+ * @type {Array<string>}
49
+ * @memberof AddBusinessAccountSignerSdkRequest
50
+ */
51
+ clientKeygenIds: Array<string>;
52
+ /**
53
+ *
54
+ * @type {ThresholdSignatureScheme}
55
+ * @memberof AddBusinessAccountSignerSdkRequest
56
+ */
57
+ oldThresholdSignatureScheme: ThresholdSignatureScheme;
58
+ /**
59
+ *
60
+ * @type {ThresholdSignatureScheme}
61
+ * @memberof AddBusinessAccountSignerSdkRequest
62
+ */
63
+ newThresholdSignatureScheme: ThresholdSignatureScheme;
44
64
  }
45
65
  export declare function AddBusinessAccountSignerSdkRequestFromJSON(json: any): AddBusinessAccountSignerSdkRequest;
46
66
  export declare function AddBusinessAccountSignerSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddBusinessAccountSignerSdkRequest;
@@ -1,5 +1,6 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeToJSON } from './BusinessAccountSignerType.js';
3
+ import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
3
4
  import { UserIdentifierTypeEnumFromJSON, UserIdentifierTypeEnumToJSON } from './UserIdentifierTypeEnum.js';
4
5
 
5
6
  /* tslint:disable */
@@ -15,6 +16,9 @@ function AddBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminat
15
16
  'userId': !exists(json, 'userId') ? undefined : json['userId'],
16
17
  'identifier': !exists(json, 'identifier') ? undefined : json['identifier'],
17
18
  'type': !exists(json, 'type') ? undefined : UserIdentifierTypeEnumFromJSON(json['type']),
19
+ 'clientKeygenIds': json['clientKeygenIds'],
20
+ 'oldThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
21
+ 'newThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
18
22
  };
19
23
  }
20
24
  function AddBusinessAccountSignerSdkRequestToJSON(value) {
@@ -29,6 +33,9 @@ function AddBusinessAccountSignerSdkRequestToJSON(value) {
29
33
  'userId': value.userId,
30
34
  'identifier': value.identifier,
31
35
  'type': UserIdentifierTypeEnumToJSON(value.type),
36
+ 'clientKeygenIds': value.clientKeygenIds,
37
+ 'oldThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
38
+ 'newThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
32
39
  };
33
40
  }
34
41
 
@@ -0,0 +1,35 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function InlineObject6FromJSON(json) {
9
+ return InlineObject6FromJSONTyped(json);
10
+ }
11
+ function InlineObject6FromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'walletId': json['walletId'],
17
+ 'businessAccountId': !runtime.exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
18
+ };
19
+ }
20
+ function InlineObject6ToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'walletId': value.walletId,
29
+ 'businessAccountId': value.businessAccountId,
30
+ };
31
+ }
32
+
33
+ exports.InlineObject6FromJSON = InlineObject6FromJSON;
34
+ exports.InlineObject6FromJSONTyped = InlineObject6FromJSONTyped;
35
+ exports.InlineObject6ToJSON = InlineObject6ToJSON;
@@ -0,0 +1,33 @@
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 InlineObject6
16
+ */
17
+ export interface InlineObject6 {
18
+ /**
19
+ * The existing wallet (Wallets.id) to add.
20
+ * @type {string}
21
+ * @memberof InlineObject6
22
+ */
23
+ walletId: string;
24
+ /**
25
+ * Target business account. Omit to find-or-create the per-wallet business account.
26
+ * @type {string}
27
+ * @memberof InlineObject6
28
+ */
29
+ businessAccountId?: string;
30
+ }
31
+ export declare function InlineObject6FromJSON(json: any): InlineObject6;
32
+ export declare function InlineObject6FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject6;
33
+ export declare function InlineObject6ToJSON(value?: InlineObject6 | null): any;
@@ -0,0 +1,29 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function InlineObject6FromJSON(json) {
5
+ return InlineObject6FromJSONTyped(json);
6
+ }
7
+ function InlineObject6FromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'walletId': json['walletId'],
13
+ 'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
14
+ };
15
+ }
16
+ function InlineObject6ToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'walletId': value.walletId,
25
+ 'businessAccountId': value.businessAccountId,
26
+ };
27
+ }
28
+
29
+ export { InlineObject6FromJSON, InlineObject6FromJSONTyped, InlineObject6ToJSON };
@@ -350,6 +350,7 @@ export * from './InlineObject2';
350
350
  export * from './InlineObject3';
351
351
  export * from './InlineObject4';
352
352
  export * from './InlineObject5';
353
+ export * from './InlineObject6';
353
354
  export * from './InlineResponse200';
354
355
  export * from './InlineResponse2001';
355
356
  export * from './InlineResponse2002';