@dynamic-labs/sdk-api 0.181.0 → 0.183.0

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 (113) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.cjs +2 -0
  3. package/src/apis/AdminActionsApi.js +2 -0
  4. package/src/apis/AllowlistsApi.cjs +2 -0
  5. package/src/apis/AllowlistsApi.js +2 -0
  6. package/src/apis/AnalyticsApi.cjs +2 -0
  7. package/src/apis/AnalyticsApi.js +2 -0
  8. package/src/apis/AuthorizedClientsApi.cjs +2 -0
  9. package/src/apis/AuthorizedClientsApi.js +2 -0
  10. package/src/apis/BusinessAccountsApi.cjs +2 -0
  11. package/src/apis/BusinessAccountsApi.js +2 -0
  12. package/src/apis/CaptchaApi.cjs +2 -0
  13. package/src/apis/CaptchaApi.js +2 -0
  14. package/src/apis/ChainalysisApi.cjs +2 -0
  15. package/src/apis/ChainalysisApi.js +2 -0
  16. package/src/apis/ChainsApi.cjs +2 -0
  17. package/src/apis/ChainsApi.js +2 -0
  18. package/src/apis/CheckoutApi.cjs +2 -0
  19. package/src/apis/CheckoutApi.js +2 -0
  20. package/src/apis/ClientGrantApi.cjs +2 -0
  21. package/src/apis/ClientGrantApi.js +2 -0
  22. package/src/apis/CustomFieldsApi.cjs +2 -0
  23. package/src/apis/CustomFieldsApi.js +2 -0
  24. package/src/apis/CustomHostnamesApi.cjs +2 -0
  25. package/src/apis/CustomHostnamesApi.js +2 -0
  26. package/src/apis/CustomNetworksApi.cjs +2 -0
  27. package/src/apis/CustomNetworksApi.js +2 -0
  28. package/src/apis/DeeplinkUrlsApi.cjs +2 -0
  29. package/src/apis/DeeplinkUrlsApi.js +2 -0
  30. package/src/apis/EnvironmentsApi.cjs +2 -0
  31. package/src/apis/EnvironmentsApi.js +2 -0
  32. package/src/apis/EventsApi.cjs +2 -0
  33. package/src/apis/EventsApi.js +2 -0
  34. package/src/apis/ExchangesApi.cjs +2 -0
  35. package/src/apis/ExchangesApi.js +2 -0
  36. package/src/apis/ExportsApi.cjs +2 -0
  37. package/src/apis/ExportsApi.js +2 -0
  38. package/src/apis/ExternalJwtApi.cjs +2 -0
  39. package/src/apis/ExternalJwtApi.js +2 -0
  40. package/src/apis/FlowAnalyticsApi.cjs +2 -0
  41. package/src/apis/FlowAnalyticsApi.js +2 -0
  42. package/src/apis/GaslessApi.cjs +2 -0
  43. package/src/apis/GaslessApi.js +2 -0
  44. package/src/apis/GatesApi.cjs +2 -0
  45. package/src/apis/GatesApi.js +2 -0
  46. package/src/apis/GlobalWalletAccessControlApi.cjs +2 -0
  47. package/src/apis/GlobalWalletAccessControlApi.js +2 -0
  48. package/src/apis/GlobalWalletConnectionsApi.cjs +2 -0
  49. package/src/apis/GlobalWalletConnectionsApi.js +2 -0
  50. package/src/apis/GlobalWalletsApi.cjs +2 -0
  51. package/src/apis/GlobalWalletsApi.js +2 -0
  52. package/src/apis/InvitesApi.cjs +2 -0
  53. package/src/apis/InvitesApi.js +2 -0
  54. package/src/apis/KybApi.cjs +2 -0
  55. package/src/apis/KybApi.js +2 -0
  56. package/src/apis/MembersApi.cjs +2 -0
  57. package/src/apis/MembersApi.js +2 -0
  58. package/src/apis/MfaSettingsApi.cjs +2 -0
  59. package/src/apis/MfaSettingsApi.js +2 -0
  60. package/src/apis/NameServicesApi.cjs +2 -0
  61. package/src/apis/NameServicesApi.js +2 -0
  62. package/src/apis/OrganizationSettingsApi.cjs +2 -0
  63. package/src/apis/OrganizationSettingsApi.js +2 -0
  64. package/src/apis/OrganizationsApi.cjs +2 -0
  65. package/src/apis/OrganizationsApi.js +2 -0
  66. package/src/apis/OriginsApi.cjs +2 -0
  67. package/src/apis/OriginsApi.js +2 -0
  68. package/src/apis/ProjectsApi.cjs +2 -0
  69. package/src/apis/ProjectsApi.js +2 -0
  70. package/src/apis/ProvidersApi.cjs +2 -0
  71. package/src/apis/ProvidersApi.js +2 -0
  72. package/src/apis/SDKApi.cjs +2 -0
  73. package/src/apis/SDKApi.js +2 -0
  74. package/src/apis/SDKViewsApi.cjs +2 -0
  75. package/src/apis/SDKViewsApi.js +2 -0
  76. package/src/apis/ScreeningPoliciesApi.cjs +2 -0
  77. package/src/apis/ScreeningPoliciesApi.js +2 -0
  78. package/src/apis/ServerApi.cjs +2 -0
  79. package/src/apis/ServerApi.js +2 -0
  80. package/src/apis/SessionsApi.cjs +2 -0
  81. package/src/apis/SessionsApi.js +2 -0
  82. package/src/apis/TestAccountApi.cjs +2 -0
  83. package/src/apis/TestAccountApi.js +2 -0
  84. package/src/apis/TokensApi.cjs +2 -0
  85. package/src/apis/TokensApi.js +2 -0
  86. package/src/apis/UserApiTokensApi.cjs +2 -0
  87. package/src/apis/UserApiTokensApi.js +2 -0
  88. package/src/apis/UsersApi.cjs +2 -0
  89. package/src/apis/UsersApi.js +2 -0
  90. package/src/apis/VisitsApi.cjs +2 -0
  91. package/src/apis/VisitsApi.js +2 -0
  92. package/src/apis/WaasApi.cjs +2 -0
  93. package/src/apis/WaasApi.js +2 -0
  94. package/src/apis/WalletConnectApi.cjs +2 -0
  95. package/src/apis/WalletConnectApi.js +2 -0
  96. package/src/apis/WalletsApi.cjs +2 -0
  97. package/src/apis/WalletsApi.js +2 -0
  98. package/src/apis/WebhooksApi.cjs +2 -0
  99. package/src/apis/WebhooksApi.js +2 -0
  100. package/src/apis/YieldApi.cjs +2 -0
  101. package/src/apis/YieldApi.js +2 -0
  102. package/src/apis/ZendeskApi.cjs +2 -0
  103. package/src/apis/ZendeskApi.js +2 -0
  104. package/src/index.cjs +20 -0
  105. package/src/index.js +2 -0
  106. package/src/models/FlowSettlementData.d.ts +1 -1
  107. package/src/models/SignMessageConsentRequired.cjs +59 -0
  108. package/src/models/SignMessageConsentRequired.d.ts +67 -0
  109. package/src/models/SignMessageConsentRequired.js +53 -0
  110. package/src/models/WaasCeremonyPending.cjs +53 -0
  111. package/src/models/WaasCeremonyPending.d.ts +40 -0
  112. package/src/models/WaasCeremonyPending.js +47 -0
  113. package/src/models/index.d.ts +2 -0
@@ -0,0 +1,59 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var SignMessageApprovalQuorumIntent = require('./SignMessageApprovalQuorumIntent.cjs');
7
+ var SigningQuorumApprovalRequirement = require('./SigningQuorumApprovalRequirement.cjs');
8
+
9
+ /* tslint:disable */
10
+ /**
11
+ * @export
12
+ * @enum {string}
13
+ */
14
+ exports.SignMessageConsentRequiredCodeEnum = void 0;
15
+ (function (SignMessageConsentRequiredCodeEnum) {
16
+ SignMessageConsentRequiredCodeEnum["ConsentRequired"] = "consent_required";
17
+ })(exports.SignMessageConsentRequiredCodeEnum || (exports.SignMessageConsentRequiredCodeEnum = {})); /**
18
+ * @export
19
+ * @enum {string}
20
+ */
21
+ exports.SignMessageConsentRequiredReasonEnum = void 0;
22
+ (function (SignMessageConsentRequiredReasonEnum) {
23
+ SignMessageConsentRequiredReasonEnum["IntentRequired"] = "INTENT_REQUIRED";
24
+ SignMessageConsentRequiredReasonEnum["ApprovalsRequired"] = "APPROVALS_REQUIRED";
25
+ })(exports.SignMessageConsentRequiredReasonEnum || (exports.SignMessageConsentRequiredReasonEnum = {}));
26
+ function SignMessageConsentRequiredFromJSON(json) {
27
+ return SignMessageConsentRequiredFromJSONTyped(json);
28
+ }
29
+ function SignMessageConsentRequiredFromJSONTyped(json, ignoreDiscriminator) {
30
+ if ((json === undefined) || (json === null)) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'code': json['code'],
35
+ 'reason': json['reason'],
36
+ 'intent': !runtime.exists(json, 'intent') ? undefined : SignMessageApprovalQuorumIntent.SignMessageApprovalQuorumIntentFromJSON(json['intent']),
37
+ 'proposalId': !runtime.exists(json, 'proposalId') ? undefined : json['proposalId'],
38
+ 'approvalRequirements': !runtime.exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(SigningQuorumApprovalRequirement.SigningQuorumApprovalRequirementFromJSON)),
39
+ };
40
+ }
41
+ function SignMessageConsentRequiredToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ 'code': value.code,
50
+ 'reason': value.reason,
51
+ 'intent': SignMessageApprovalQuorumIntent.SignMessageApprovalQuorumIntentToJSON(value.intent),
52
+ 'proposalId': value.proposalId,
53
+ 'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(SigningQuorumApprovalRequirement.SigningQuorumApprovalRequirementToJSON)),
54
+ };
55
+ }
56
+
57
+ exports.SignMessageConsentRequiredFromJSON = SignMessageConsentRequiredFromJSON;
58
+ exports.SignMessageConsentRequiredFromJSONTyped = SignMessageConsentRequiredFromJSONTyped;
59
+ exports.SignMessageConsentRequiredToJSON = SignMessageConsentRequiredToJSON;
@@ -0,0 +1,67 @@
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
+ import { SignMessageApprovalQuorumIntent } from './SignMessageApprovalQuorumIntent';
13
+ import { SigningQuorumApprovalRequirement } from './SigningQuorumApprovalRequirement';
14
+ /**
15
+ * Returned instead of a room when a business-account-governed sign is not yet authorized (HTTP transport; the SSE transport sends the same fields as a `consent_required` event). Not a failure: sign the `intent` (when `reason` is `INTENT_REQUIRED` the client builds it) or collect approvals for `proposalId`, then retry the sign with the consent attached.
16
+ * @export
17
+ * @interface SignMessageConsentRequired
18
+ */
19
+ export interface SignMessageConsentRequired {
20
+ /**
21
+ * Discriminator that tells this body apart from `OpenRoomResponse`.
22
+ * @type {string}
23
+ * @memberof SignMessageConsentRequired
24
+ */
25
+ code: SignMessageConsentRequiredCodeEnum;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof SignMessageConsentRequired
30
+ */
31
+ reason: SignMessageConsentRequiredReasonEnum;
32
+ /**
33
+ *
34
+ * @type {SignMessageApprovalQuorumIntent}
35
+ * @memberof SignMessageConsentRequired
36
+ */
37
+ intent?: SignMessageApprovalQuorumIntent;
38
+ /**
39
+ * The proposal collecting approvals. Present for `APPROVALS_REQUIRED`.
40
+ * @type {string}
41
+ * @memberof SignMessageConsentRequired
42
+ */
43
+ proposalId?: string | null;
44
+ /**
45
+ * What each matching rule still needs. Present for `APPROVALS_REQUIRED`.
46
+ * @type {Array<SigningQuorumApprovalRequirement>}
47
+ * @memberof SignMessageConsentRequired
48
+ */
49
+ approvalRequirements?: Array<SigningQuorumApprovalRequirement>;
50
+ }
51
+ /**
52
+ * @export
53
+ * @enum {string}
54
+ */
55
+ export declare enum SignMessageConsentRequiredCodeEnum {
56
+ ConsentRequired = "consent_required"
57
+ } /**
58
+ * @export
59
+ * @enum {string}
60
+ */
61
+ export declare enum SignMessageConsentRequiredReasonEnum {
62
+ IntentRequired = "INTENT_REQUIRED",
63
+ ApprovalsRequired = "APPROVALS_REQUIRED"
64
+ }
65
+ export declare function SignMessageConsentRequiredFromJSON(json: any): SignMessageConsentRequired;
66
+ export declare function SignMessageConsentRequiredFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageConsentRequired;
67
+ export declare function SignMessageConsentRequiredToJSON(value?: SignMessageConsentRequired | null): any;
@@ -0,0 +1,53 @@
1
+ import { exists } from '../runtime.js';
2
+ import { SignMessageApprovalQuorumIntentFromJSON, SignMessageApprovalQuorumIntentToJSON } from './SignMessageApprovalQuorumIntent.js';
3
+ import { SigningQuorumApprovalRequirementFromJSON, SigningQuorumApprovalRequirementToJSON } from './SigningQuorumApprovalRequirement.js';
4
+
5
+ /* tslint:disable */
6
+ /**
7
+ * @export
8
+ * @enum {string}
9
+ */
10
+ var SignMessageConsentRequiredCodeEnum;
11
+ (function (SignMessageConsentRequiredCodeEnum) {
12
+ SignMessageConsentRequiredCodeEnum["ConsentRequired"] = "consent_required";
13
+ })(SignMessageConsentRequiredCodeEnum || (SignMessageConsentRequiredCodeEnum = {})); /**
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ var SignMessageConsentRequiredReasonEnum;
18
+ (function (SignMessageConsentRequiredReasonEnum) {
19
+ SignMessageConsentRequiredReasonEnum["IntentRequired"] = "INTENT_REQUIRED";
20
+ SignMessageConsentRequiredReasonEnum["ApprovalsRequired"] = "APPROVALS_REQUIRED";
21
+ })(SignMessageConsentRequiredReasonEnum || (SignMessageConsentRequiredReasonEnum = {}));
22
+ function SignMessageConsentRequiredFromJSON(json) {
23
+ return SignMessageConsentRequiredFromJSONTyped(json);
24
+ }
25
+ function SignMessageConsentRequiredFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'code': json['code'],
31
+ 'reason': json['reason'],
32
+ 'intent': !exists(json, 'intent') ? undefined : SignMessageApprovalQuorumIntentFromJSON(json['intent']),
33
+ 'proposalId': !exists(json, 'proposalId') ? undefined : json['proposalId'],
34
+ 'approvalRequirements': !exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(SigningQuorumApprovalRequirementFromJSON)),
35
+ };
36
+ }
37
+ function SignMessageConsentRequiredToJSON(value) {
38
+ if (value === undefined) {
39
+ return undefined;
40
+ }
41
+ if (value === null) {
42
+ return null;
43
+ }
44
+ return {
45
+ 'code': value.code,
46
+ 'reason': value.reason,
47
+ 'intent': SignMessageApprovalQuorumIntentToJSON(value.intent),
48
+ 'proposalId': value.proposalId,
49
+ 'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(SigningQuorumApprovalRequirementToJSON)),
50
+ };
51
+ }
52
+
53
+ export { SignMessageConsentRequiredCodeEnum, SignMessageConsentRequiredFromJSON, SignMessageConsentRequiredFromJSONTyped, SignMessageConsentRequiredReasonEnum, SignMessageConsentRequiredToJSON };
@@ -0,0 +1,53 @@
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
+ * @export
20
+ * @enum {string}
21
+ */
22
+ exports.WaasCeremonyPendingStatusEnum = void 0;
23
+ (function (WaasCeremonyPendingStatusEnum) {
24
+ WaasCeremonyPendingStatusEnum["Pending"] = "pending";
25
+ })(exports.WaasCeremonyPendingStatusEnum || (exports.WaasCeremonyPendingStatusEnum = {}));
26
+ function WaasCeremonyPendingFromJSON(json) {
27
+ return WaasCeremonyPendingFromJSONTyped(json);
28
+ }
29
+ function WaasCeremonyPendingFromJSONTyped(json, ignoreDiscriminator) {
30
+ if ((json === undefined) || (json === null)) {
31
+ return json;
32
+ }
33
+ return {
34
+ 'idempotencyKey': json['idempotencyKey'],
35
+ 'status': json['status'],
36
+ };
37
+ }
38
+ function WaasCeremonyPendingToJSON(value) {
39
+ if (value === undefined) {
40
+ return undefined;
41
+ }
42
+ if (value === null) {
43
+ return null;
44
+ }
45
+ return {
46
+ 'idempotencyKey': value.idempotencyKey,
47
+ 'status': value.status,
48
+ };
49
+ }
50
+
51
+ exports.WaasCeremonyPendingFromJSON = WaasCeremonyPendingFromJSON;
52
+ exports.WaasCeremonyPendingFromJSONTyped = WaasCeremonyPendingFromJSONTyped;
53
+ exports.WaasCeremonyPendingToJSON = WaasCeremonyPendingToJSON;
@@ -0,0 +1,40 @@
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
+ * HTTP transport poll answer while the ceremony is still running and has no room yet. Poll again with the same idempotency key.
14
+ * @export
15
+ * @interface WaasCeremonyPending
16
+ */
17
+ export interface WaasCeremonyPending {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof WaasCeremonyPending
22
+ */
23
+ idempotencyKey: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof WaasCeremonyPending
28
+ */
29
+ status: WaasCeremonyPendingStatusEnum;
30
+ }
31
+ /**
32
+ * @export
33
+ * @enum {string}
34
+ */
35
+ export declare enum WaasCeremonyPendingStatusEnum {
36
+ Pending = "pending"
37
+ }
38
+ export declare function WaasCeremonyPendingFromJSON(json: any): WaasCeremonyPending;
39
+ export declare function WaasCeremonyPendingFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasCeremonyPending;
40
+ export declare function WaasCeremonyPendingToJSON(value?: WaasCeremonyPending | null): any;
@@ -0,0 +1,47 @@
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
+ * @export
16
+ * @enum {string}
17
+ */
18
+ var WaasCeremonyPendingStatusEnum;
19
+ (function (WaasCeremonyPendingStatusEnum) {
20
+ WaasCeremonyPendingStatusEnum["Pending"] = "pending";
21
+ })(WaasCeremonyPendingStatusEnum || (WaasCeremonyPendingStatusEnum = {}));
22
+ function WaasCeremonyPendingFromJSON(json) {
23
+ return WaasCeremonyPendingFromJSONTyped(json);
24
+ }
25
+ function WaasCeremonyPendingFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'idempotencyKey': json['idempotencyKey'],
31
+ 'status': json['status'],
32
+ };
33
+ }
34
+ function WaasCeremonyPendingToJSON(value) {
35
+ if (value === undefined) {
36
+ return undefined;
37
+ }
38
+ if (value === null) {
39
+ return null;
40
+ }
41
+ return {
42
+ 'idempotencyKey': value.idempotencyKey,
43
+ 'status': value.status,
44
+ };
45
+ }
46
+
47
+ export { WaasCeremonyPendingFromJSON, WaasCeremonyPendingFromJSONTyped, WaasCeremonyPendingStatusEnum, WaasCeremonyPendingToJSON };
@@ -785,6 +785,7 @@ export * from './SignMessageApprovalQuorumTronTransactionOperation';
785
785
  export * from './SignMessageApprovalQuorumTypedDataOperation';
786
786
  export * from './SignMessageAuthorizationSignature';
787
787
  export * from './SignMessageBtcTransaction';
788
+ export * from './SignMessageConsentRequired';
788
789
  export * from './SignMessageContext';
789
790
  export * from './SignMessageEip7702Auth';
790
791
  export * from './SignMessageEvmMessage';
@@ -942,6 +943,7 @@ export * from './WaasBroadcastEvmFee';
942
943
  export * from './WaasBroadcastOptions';
943
944
  export * from './WaasBroadcastStatus';
944
945
  export * from './WaasBroadcastSvmCosignerSignature';
946
+ export * from './WaasCeremonyPending';
945
947
  export * from './WaasChainEnum';
946
948
  export * from './WaasConfidentialAccountState';
947
949
  export * from './WaasConfidentialSeedCreateRequest';