@dynamic-labs/sdk-api 0.131.0 → 0.133.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 (68) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AdminActionsApi.js +3 -0
  3. package/src/apis/AllowlistsApi.js +3 -0
  4. package/src/apis/AnalyticsApi.js +3 -0
  5. package/src/apis/AuthorizedClientsApi.js +3 -0
  6. package/src/apis/BusinessAccountsApi.js +3 -0
  7. package/src/apis/CaptchaApi.js +3 -0
  8. package/src/apis/ChainalysisApi.js +3 -0
  9. package/src/apis/ChainsApi.js +3 -0
  10. package/src/apis/CheckoutApi.js +3 -0
  11. package/src/apis/ClientGrantApi.js +3 -0
  12. package/src/apis/CustomFieldsApi.js +3 -0
  13. package/src/apis/CustomHostnamesApi.js +3 -0
  14. package/src/apis/CustomNetworksApi.js +3 -0
  15. package/src/apis/DeeplinkUrlsApi.js +3 -0
  16. package/src/apis/EnvironmentsApi.js +3 -0
  17. package/src/apis/EventsApi.js +3 -0
  18. package/src/apis/ExchangesApi.js +3 -0
  19. package/src/apis/ExportsApi.js +3 -0
  20. package/src/apis/ExternalJwtApi.js +3 -0
  21. package/src/apis/FlowAnalyticsApi.js +3 -0
  22. package/src/apis/GaslessApi.js +3 -0
  23. package/src/apis/GatesApi.js +3 -0
  24. package/src/apis/GlobalWalletAccessControlApi.js +3 -0
  25. package/src/apis/GlobalWalletConnectionsApi.js +3 -0
  26. package/src/apis/GlobalWalletsApi.js +3 -0
  27. package/src/apis/InvitesApi.js +3 -0
  28. package/src/apis/KybApi.js +3 -0
  29. package/src/apis/MembersApi.js +3 -0
  30. package/src/apis/MfaSettingsApi.js +3 -0
  31. package/src/apis/NameServicesApi.js +3 -0
  32. package/src/apis/OrganizationSettingsApi.js +3 -0
  33. package/src/apis/OrganizationsApi.js +3 -0
  34. package/src/apis/OriginsApi.js +3 -0
  35. package/src/apis/ProjectsApi.js +3 -0
  36. package/src/apis/ProvidersApi.js +3 -0
  37. package/src/apis/SDKApi.js +3 -0
  38. package/src/apis/SDKViewsApi.js +3 -0
  39. package/src/apis/ScreeningPoliciesApi.js +3 -0
  40. package/src/apis/ServerApi.js +3 -0
  41. package/src/apis/SessionsApi.js +3 -0
  42. package/src/apis/TestAccountApi.js +3 -0
  43. package/src/apis/TokensApi.js +3 -0
  44. package/src/apis/UserApiTokensApi.js +3 -0
  45. package/src/apis/UsersApi.js +3 -0
  46. package/src/apis/VisitsApi.js +3 -0
  47. package/src/apis/WaasApi.js +3 -0
  48. package/src/apis/WalletConnectApi.js +3 -0
  49. package/src/apis/WalletsApi.js +3 -0
  50. package/src/apis/WebhooksApi.js +3 -0
  51. package/src/apis/YieldApi.js +3 -0
  52. package/src/apis/ZendeskApi.js +3 -0
  53. package/src/index.js +4 -0
  54. package/src/models/BusinessAccountGovernedAction.d.ts +2 -1
  55. package/src/models/BusinessAccountGovernedAction.js +1 -0
  56. package/src/models/DeveloperEncryptionKey.d.ts +46 -0
  57. package/src/models/DeveloperEncryptionKey.js +49 -0
  58. package/src/models/ReshareRequest.d.ts +13 -0
  59. package/src/models/ReshareRequest.js +5 -0
  60. package/src/models/WaasPolicyLayerResponse.d.ts +13 -0
  61. package/src/models/WaasPolicyLayerResponse.js +5 -0
  62. package/src/models/WaasPolicyLayerTranslationWarning.d.ts +74 -0
  63. package/src/models/WaasPolicyLayerTranslationWarning.js +56 -0
  64. package/src/models/WaasReshareApprovalQuorum.d.ts +35 -0
  65. package/src/models/WaasReshareApprovalQuorum.js +29 -0
  66. package/src/models/WaasReshareIntent.d.ts +79 -0
  67. package/src/models/WaasReshareIntent.js +61 -0
  68. package/src/models/index.d.ts +4 -0
package/src/index.js CHANGED
@@ -292,6 +292,7 @@ export { DeleteUserPasskeyRequestFromJSON, DeleteUserPasskeyRequestFromJSONTyped
292
292
  export { DepositAmountsConfigInputFromJSON, DepositAmountsConfigInputFromJSONTyped, DepositAmountsConfigInputToJSON } from './models/DepositAmountsConfigInput.js';
293
293
  export { DestinationConfigInputFromJSON, DestinationConfigInputFromJSONTyped, DestinationConfigInputToJSON } from './models/DestinationConfigInput.js';
294
294
  export { DestinationTypeEnum, DestinationTypeEnumFromJSON, DestinationTypeEnumFromJSONTyped, DestinationTypeEnumToJSON } from './models/DestinationTypeEnum.js';
295
+ export { DeveloperEncryptionKeyAlgEnum, DeveloperEncryptionKeyFromJSON, DeveloperEncryptionKeyFromJSONTyped, DeveloperEncryptionKeyToJSON } from './models/DeveloperEncryptionKey.js';
295
296
  export { DeviceRegistrationResponseFromJSON, DeviceRegistrationResponseFromJSONTyped, DeviceRegistrationResponseToJSON } from './models/DeviceRegistrationResponse.js';
296
297
  export { DeviceRegistrationsResponseFromJSON, DeviceRegistrationsResponseFromJSONTyped, DeviceRegistrationsResponseToJSON } from './models/DeviceRegistrationsResponse.js';
297
298
  export { DnsRecordType, DnsRecordTypeFromJSON, DnsRecordTypeFromJSONTyped, DnsRecordTypeToJSON } from './models/DnsRecordType.js';
@@ -984,6 +985,7 @@ export { WaasPolicyLayerResponseRuleFromJSON, WaasPolicyLayerResponseRuleFromJSO
984
985
  export { WaasPolicyLayerRuleFromJSON, WaasPolicyLayerRuleFromJSONTyped, WaasPolicyLayerRulePhaseEnum, WaasPolicyLayerRuleToJSON } from './models/WaasPolicyLayerRule.js';
985
986
  export { WaasPolicyLayerRuleInputFromJSON, WaasPolicyLayerRuleInputFromJSONTyped, WaasPolicyLayerRuleInputPhaseEnum, WaasPolicyLayerRuleInputToJSON } from './models/WaasPolicyLayerRuleInput.js';
986
987
  export { WaasPolicyLayerRuleOperationFromJSON, WaasPolicyLayerRuleOperationFromJSONTyped, WaasPolicyLayerRuleOperationOpEnum, WaasPolicyLayerRuleOperationToJSON } from './models/WaasPolicyLayerRuleOperation.js';
988
+ export { WaasPolicyLayerTranslationWarningFromJSON, WaasPolicyLayerTranslationWarningFromJSONTyped, WaasPolicyLayerTranslationWarningKindEnum, WaasPolicyLayerTranslationWarningPhaseEnum, WaasPolicyLayerTranslationWarningToJSON } from './models/WaasPolicyLayerTranslationWarning.js';
987
989
  export { WaasPolicyLayerUpdateRequestFromJSON, WaasPolicyLayerUpdateRequestFromJSONTyped, WaasPolicyLayerUpdateRequestOpEnum, WaasPolicyLayerUpdateRequestToJSON } from './models/WaasPolicyLayerUpdateRequest.js';
988
990
  export { WaasPolicyResponseFromJSON, WaasPolicyResponseFromJSONTyped, WaasPolicyResponseToJSON } from './models/WaasPolicyResponse.js';
989
991
  export { WaasPolicyRuleFromJSON, WaasPolicyRuleFromJSONTyped, WaasPolicyRuleToJSON } from './models/WaasPolicyRule.js';
@@ -995,6 +997,8 @@ export { WaasPolicyRuleWhenFromJSON, WaasPolicyRuleWhenFromJSONTyped, WaasPolicy
995
997
  export { WaasPolicyRuleWhenInitiatorRoleFromJSON, WaasPolicyRuleWhenInitiatorRoleFromJSONTyped, WaasPolicyRuleWhenInitiatorRoleToJSON } from './models/WaasPolicyRuleWhenInitiatorRole.js';
996
998
  export { WaasPolicyRuleWhenMinValueFromJSON, WaasPolicyRuleWhenMinValueFromJSONTyped, WaasPolicyRuleWhenMinValueToJSON } from './models/WaasPolicyRuleWhenMinValue.js';
997
999
  export { WaasPolicyUpdateRequestFromJSON, WaasPolicyUpdateRequestFromJSONTyped, WaasPolicyUpdateRequestToJSON } from './models/WaasPolicyUpdateRequest.js';
1000
+ export { WaasReshareApprovalQuorumFromJSON, WaasReshareApprovalQuorumFromJSONTyped, WaasReshareApprovalQuorumToJSON } from './models/WaasReshareApprovalQuorum.js';
1001
+ export { WaasReshareIntentActionTypeEnum, WaasReshareIntentFromJSON, WaasReshareIntentFromJSONTyped, WaasReshareIntentToJSON } from './models/WaasReshareIntent.js';
998
1002
  export { WaasShareSetFromJSON, WaasShareSetFromJSONTyped, WaasShareSetToJSON } from './models/WaasShareSet.js';
999
1003
  export { WaasSignAndBroadcastRequestFromJSON, WaasSignAndBroadcastRequestFromJSONTyped, WaasSignAndBroadcastRequestToJSON } from './models/WaasSignAndBroadcastRequest.js';
1000
1004
  export { WaasSignerPolicyLayerUpdateRequestFromJSON, WaasSignerPolicyLayerUpdateRequestFromJSONTyped, WaasSignerPolicyLayerUpdateRequestOpEnum, WaasSignerPolicyLayerUpdateRequestToJSON } from './models/WaasSignerPolicyLayerUpdateRequest.js';
@@ -29,7 +29,8 @@ export declare enum BusinessAccountGovernedAction {
29
29
  DefineRole = "defineRole",
30
30
  DeleteRole = "deleteRole",
31
31
  SignMessage = "signMessage",
32
- ExportWallet = "exportWallet"
32
+ ExportWallet = "exportWallet",
33
+ ReshareWallet = "reshareWallet"
33
34
  }
34
35
  export declare function BusinessAccountGovernedActionFromJSON(json: any): BusinessAccountGovernedAction;
35
36
  export declare function BusinessAccountGovernedActionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountGovernedAction;
@@ -33,6 +33,7 @@ var BusinessAccountGovernedAction;
33
33
  BusinessAccountGovernedAction["DeleteRole"] = "deleteRole";
34
34
  BusinessAccountGovernedAction["SignMessage"] = "signMessage";
35
35
  BusinessAccountGovernedAction["ExportWallet"] = "exportWallet";
36
+ BusinessAccountGovernedAction["ReshareWallet"] = "reshareWallet";
36
37
  })(BusinessAccountGovernedAction || (BusinessAccountGovernedAction = {}));
37
38
  function BusinessAccountGovernedActionFromJSON(json) {
38
39
  return BusinessAccountGovernedActionFromJSONTyped(json);
@@ -0,0 +1,46 @@
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
+ * A developer-held RSA public key the enclave seals payloads to with HYBRID-RSA-AES-256. Everything the enclave hands back for developer delivery — the delegated-access walletApiKey, the offline-recovery share — is enveloped to one of these, so redcoast only ever relays ciphertext it cannot open.
14
+ * @export
15
+ * @interface DeveloperEncryptionKey
16
+ */
17
+ export interface DeveloperEncryptionKey {
18
+ /**
19
+ * Key identifier for the developer's encryption key
20
+ * @type {string}
21
+ * @memberof DeveloperEncryptionKey
22
+ */
23
+ kid: string;
24
+ /**
25
+ * Algorithm to use for encryption
26
+ * @type {string}
27
+ * @memberof DeveloperEncryptionKey
28
+ */
29
+ alg: DeveloperEncryptionKeyAlgEnum;
30
+ /**
31
+ * Base64-encoded RSA public key (can be either the full PEM in base64 or just the key data)
32
+ * @type {string}
33
+ * @memberof DeveloperEncryptionKey
34
+ */
35
+ publicKeyPemB64: string;
36
+ }
37
+ /**
38
+ * @export
39
+ * @enum {string}
40
+ */
41
+ export declare enum DeveloperEncryptionKeyAlgEnum {
42
+ HybridRsaAes256 = "HYBRID-RSA-AES-256"
43
+ }
44
+ export declare function DeveloperEncryptionKeyFromJSON(json: any): DeveloperEncryptionKey;
45
+ export declare function DeveloperEncryptionKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeveloperEncryptionKey;
46
+ export declare function DeveloperEncryptionKeyToJSON(value?: DeveloperEncryptionKey | null): any;
@@ -0,0 +1,49 @@
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 DeveloperEncryptionKeyAlgEnum;
19
+ (function (DeveloperEncryptionKeyAlgEnum) {
20
+ DeveloperEncryptionKeyAlgEnum["HybridRsaAes256"] = "HYBRID-RSA-AES-256";
21
+ })(DeveloperEncryptionKeyAlgEnum || (DeveloperEncryptionKeyAlgEnum = {}));
22
+ function DeveloperEncryptionKeyFromJSON(json) {
23
+ return DeveloperEncryptionKeyFromJSONTyped(json);
24
+ }
25
+ function DeveloperEncryptionKeyFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'kid': json['kid'],
31
+ 'alg': json['alg'],
32
+ 'publicKeyPemB64': json['publicKeyPemB64'],
33
+ };
34
+ }
35
+ function DeveloperEncryptionKeyToJSON(value) {
36
+ if (value === undefined) {
37
+ return undefined;
38
+ }
39
+ if (value === null) {
40
+ return null;
41
+ }
42
+ return {
43
+ 'kid': value.kid,
44
+ 'alg': value.alg,
45
+ 'publicKeyPemB64': value.publicKeyPemB64,
46
+ };
47
+ }
48
+
49
+ export { DeveloperEncryptionKeyAlgEnum, DeveloperEncryptionKeyFromJSON, DeveloperEncryptionKeyFromJSONTyped, DeveloperEncryptionKeyToJSON };
@@ -13,6 +13,7 @@ import { ReshareKind } from './ReshareKind';
13
13
  import { ReshareRequestOfflineRecoveryEncryptionKey } from './ReshareRequestOfflineRecoveryEncryptionKey';
14
14
  import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
15
15
  import { WaasPolicyRule } from './WaasPolicyRule';
16
+ import { WaasReshareApprovalQuorum } from './WaasReshareApprovalQuorum';
16
17
  /**
17
18
  *
18
19
  * @export
@@ -56,6 +57,18 @@ export interface ReshareRequest {
56
57
  * @memberof ReshareRequest
57
58
  */
58
59
  reshareKind?: ReshareKind | null;
60
+ /**
61
+ * The approved reshare proposal being redeemed. Required when the wallet's policy requires approvals for this reshare operation; the reshare call returns it once the proposal is open.
62
+ * @type {string}
63
+ * @memberof ReshareRequest
64
+ */
65
+ proposalId?: string | null;
66
+ /**
67
+ *
68
+ * @type {WaasReshareApprovalQuorum}
69
+ * @memberof ReshareRequest
70
+ */
71
+ approvalQuorum?: WaasReshareApprovalQuorum;
59
72
  /**
60
73
  * Identifier of the active share set this reshare ceremony runs against.
61
74
  * Optional for backwards compatibility — when omitted, the active
@@ -3,6 +3,7 @@ import { ReshareKindFromJSON, ReshareKindToJSON } from './ReshareKind.js';
3
3
  import { ReshareRequestOfflineRecoveryEncryptionKeyFromJSON, ReshareRequestOfflineRecoveryEncryptionKeyToJSON } from './ReshareRequestOfflineRecoveryEncryptionKey.js';
4
4
  import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
5
5
  import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
6
+ import { WaasReshareApprovalQuorumFromJSON, WaasReshareApprovalQuorumToJSON } from './WaasReshareApprovalQuorum.js';
6
7
 
7
8
  /* tslint:disable */
8
9
  function ReshareRequestFromJSON(json) {
@@ -19,6 +20,8 @@ function ReshareRequestFromJSONTyped(json, ignoreDiscriminator) {
19
20
  'delegateToProjectEnvironment': !exists(json, 'delegateToProjectEnvironment') ? undefined : json['delegateToProjectEnvironment'],
20
21
  'revokeDelegation': !exists(json, 'revokeDelegation') ? undefined : json['revokeDelegation'],
21
22
  'reshareKind': !exists(json, 'reshareKind') ? undefined : ReshareKindFromJSON(json['reshareKind']),
23
+ 'proposalId': !exists(json, 'proposalId') ? undefined : json['proposalId'],
24
+ 'approvalQuorum': !exists(json, 'approvalQuorum') ? undefined : WaasReshareApprovalQuorumFromJSON(json['approvalQuorum']),
22
25
  'shareSetId': !exists(json, 'shareSetId') ? undefined : json['shareSetId'],
23
26
  'initialSignerRules': !exists(json, 'initialSignerRules') ? undefined : (json['initialSignerRules'].map(WaasPolicyRuleFromJSON)),
24
27
  'offlineRecoveryEncryptionKey': !exists(json, 'offlineRecoveryEncryptionKey') ? undefined : ReshareRequestOfflineRecoveryEncryptionKeyFromJSON(json['offlineRecoveryEncryptionKey']),
@@ -38,6 +41,8 @@ function ReshareRequestToJSON(value) {
38
41
  'delegateToProjectEnvironment': value.delegateToProjectEnvironment,
39
42
  'revokeDelegation': value.revokeDelegation,
40
43
  'reshareKind': ReshareKindToJSON(value.reshareKind),
44
+ 'proposalId': value.proposalId,
45
+ 'approvalQuorum': WaasReshareApprovalQuorumToJSON(value.approvalQuorum),
41
46
  'shareSetId': value.shareSetId,
42
47
  'initialSignerRules': value.initialSignerRules === undefined ? undefined : (value.initialSignerRules.map(WaasPolicyRuleToJSON)),
43
48
  'offlineRecoveryEncryptionKey': ReshareRequestOfflineRecoveryEncryptionKeyToJSON(value.offlineRecoveryEncryptionKey),
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { WaasPolicyLayerResponseLayerContent } from './WaasPolicyLayerResponseLayerContent';
13
+ import { WaasPolicyLayerTranslationWarning } from './WaasPolicyLayerTranslationWarning';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -40,6 +41,18 @@ export interface WaasPolicyLayerResponse {
40
41
  * @memberof WaasPolicyLayerResponse
41
42
  */
42
43
  updatedAt: Date;
44
+ /**
45
+ * True when legacy rules are translated for this response without saving them.
46
+ * @type {boolean}
47
+ * @memberof WaasPolicyLayerResponse
48
+ */
49
+ translatedFromLegacy?: boolean;
50
+ /**
51
+ * What the translation left out or could not translate.
52
+ * @type {Array<WaasPolicyLayerTranslationWarning>}
53
+ * @memberof WaasPolicyLayerResponse
54
+ */
55
+ translationWarnings?: Array<WaasPolicyLayerTranslationWarning>;
43
56
  }
44
57
  export declare function WaasPolicyLayerResponseFromJSON(json: any): WaasPolicyLayerResponse;
45
58
  export declare function WaasPolicyLayerResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerResponse;
@@ -1,5 +1,6 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { WaasPolicyLayerResponseLayerContentFromJSON, WaasPolicyLayerResponseLayerContentToJSON } from './WaasPolicyLayerResponseLayerContent.js';
3
+ import { WaasPolicyLayerTranslationWarningFromJSON, WaasPolicyLayerTranslationWarningToJSON } from './WaasPolicyLayerTranslationWarning.js';
3
4
 
4
5
  /* tslint:disable */
5
6
  function WaasPolicyLayerResponseFromJSON(json) {
@@ -14,6 +15,8 @@ function WaasPolicyLayerResponseFromJSONTyped(json, ignoreDiscriminator) {
14
15
  'layerId': json['layerId'],
15
16
  'layerContent': WaasPolicyLayerResponseLayerContentFromJSON(json['layerContent']),
16
17
  'updatedAt': (new Date(json['updatedAt'])),
18
+ 'translatedFromLegacy': !exists(json, 'translatedFromLegacy') ? undefined : json['translatedFromLegacy'],
19
+ 'translationWarnings': !exists(json, 'translationWarnings') ? undefined : (json['translationWarnings'].map(WaasPolicyLayerTranslationWarningFromJSON)),
17
20
  };
18
21
  }
19
22
  function WaasPolicyLayerResponseToJSON(value) {
@@ -28,6 +31,8 @@ function WaasPolicyLayerResponseToJSON(value) {
28
31
  'layerId': value.layerId,
29
32
  'layerContent': WaasPolicyLayerResponseLayerContentToJSON(value.layerContent),
30
33
  'updatedAt': (value.updatedAt.toISOString()),
34
+ 'translatedFromLegacy': value.translatedFromLegacy,
35
+ 'translationWarnings': value.translationWarnings === undefined ? undefined : (value.translationWarnings.map(WaasPolicyLayerTranslationWarningToJSON)),
31
36
  };
32
37
  }
33
38
 
@@ -0,0 +1,74 @@
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 WaasPolicyLayerTranslationWarning
16
+ */
17
+ export interface WaasPolicyLayerTranslationWarning {
18
+ /**
19
+ * Why a legacy Rule could not be translated in full.
20
+ * @type {string}
21
+ * @memberof WaasPolicyLayerTranslationWarning
22
+ */
23
+ kind: WaasPolicyLayerTranslationWarningKindEnum;
24
+ /**
25
+ * The legacy Rule the warning is about.
26
+ * @type {string}
27
+ * @memberof WaasPolicyLayerTranslationWarning
28
+ */
29
+ ruleId?: string;
30
+ /**
31
+ * The legacy fields left out, for ignored_field.
32
+ * @type {Array<string>}
33
+ * @memberof WaasPolicyLayerTranslationWarning
34
+ */
35
+ fields?: Array<string>;
36
+ /**
37
+ * The phase that exceeds the limit, for exceeds_rule_limit.
38
+ * @type {string}
39
+ * @memberof WaasPolicyLayerTranslationWarning
40
+ */
41
+ phase?: WaasPolicyLayerTranslationWarningPhaseEnum;
42
+ /**
43
+ * The Rule count the translation would produce, for exceeds_rule_limit.
44
+ * @type {number}
45
+ * @memberof WaasPolicyLayerTranslationWarning
46
+ */
47
+ count?: number;
48
+ /**
49
+ * The Rule limit, for exceeds_rule_limit.
50
+ * @type {number}
51
+ * @memberof WaasPolicyLayerTranslationWarning
52
+ */
53
+ limit?: number;
54
+ }
55
+ /**
56
+ * @export
57
+ * @enum {string}
58
+ */
59
+ export declare enum WaasPolicyLayerTranslationWarningKindEnum {
60
+ ApprovalsNotTranslated = "approvals_not_translated",
61
+ EnforcesNothing = "enforces_nothing",
62
+ ExceedsRuleLimit = "exceeds_rule_limit",
63
+ IgnoredField = "ignored_field"
64
+ } /**
65
+ * @export
66
+ * @enum {string}
67
+ */
68
+ export declare enum WaasPolicyLayerTranslationWarningPhaseEnum {
69
+ Operation = "operation",
70
+ Transaction = "transaction"
71
+ }
72
+ export declare function WaasPolicyLayerTranslationWarningFromJSON(json: any): WaasPolicyLayerTranslationWarning;
73
+ export declare function WaasPolicyLayerTranslationWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyLayerTranslationWarning;
74
+ export declare function WaasPolicyLayerTranslationWarningToJSON(value?: WaasPolicyLayerTranslationWarning | null): any;
@@ -0,0 +1,56 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ /**
5
+ * @export
6
+ * @enum {string}
7
+ */
8
+ var WaasPolicyLayerTranslationWarningKindEnum;
9
+ (function (WaasPolicyLayerTranslationWarningKindEnum) {
10
+ WaasPolicyLayerTranslationWarningKindEnum["ApprovalsNotTranslated"] = "approvals_not_translated";
11
+ WaasPolicyLayerTranslationWarningKindEnum["EnforcesNothing"] = "enforces_nothing";
12
+ WaasPolicyLayerTranslationWarningKindEnum["ExceedsRuleLimit"] = "exceeds_rule_limit";
13
+ WaasPolicyLayerTranslationWarningKindEnum["IgnoredField"] = "ignored_field";
14
+ })(WaasPolicyLayerTranslationWarningKindEnum || (WaasPolicyLayerTranslationWarningKindEnum = {})); /**
15
+ * @export
16
+ * @enum {string}
17
+ */
18
+ var WaasPolicyLayerTranslationWarningPhaseEnum;
19
+ (function (WaasPolicyLayerTranslationWarningPhaseEnum) {
20
+ WaasPolicyLayerTranslationWarningPhaseEnum["Operation"] = "operation";
21
+ WaasPolicyLayerTranslationWarningPhaseEnum["Transaction"] = "transaction";
22
+ })(WaasPolicyLayerTranslationWarningPhaseEnum || (WaasPolicyLayerTranslationWarningPhaseEnum = {}));
23
+ function WaasPolicyLayerTranslationWarningFromJSON(json) {
24
+ return WaasPolicyLayerTranslationWarningFromJSONTyped(json);
25
+ }
26
+ function WaasPolicyLayerTranslationWarningFromJSONTyped(json, ignoreDiscriminator) {
27
+ if ((json === undefined) || (json === null)) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'kind': json['kind'],
32
+ 'ruleId': !exists(json, 'ruleId') ? undefined : json['ruleId'],
33
+ 'fields': !exists(json, 'fields') ? undefined : json['fields'],
34
+ 'phase': !exists(json, 'phase') ? undefined : json['phase'],
35
+ 'count': !exists(json, 'count') ? undefined : json['count'],
36
+ 'limit': !exists(json, 'limit') ? undefined : json['limit'],
37
+ };
38
+ }
39
+ function WaasPolicyLayerTranslationWarningToJSON(value) {
40
+ if (value === undefined) {
41
+ return undefined;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ 'kind': value.kind,
48
+ 'ruleId': value.ruleId,
49
+ 'fields': value.fields,
50
+ 'phase': value.phase,
51
+ 'count': value.count,
52
+ 'limit': value.limit,
53
+ };
54
+ }
55
+
56
+ export { WaasPolicyLayerTranslationWarningFromJSON, WaasPolicyLayerTranslationWarningFromJSONTyped, WaasPolicyLayerTranslationWarningKindEnum, WaasPolicyLayerTranslationWarningPhaseEnum, WaasPolicyLayerTranslationWarningToJSON };
@@ -0,0 +1,35 @@
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 { WaasReshareIntent } from './WaasReshareIntent';
13
+ /**
14
+ * The initiator's signed reshare Intent, sent with the reshare call. When the wallet's policy needs approvals for this reshare operation, the call answers with a proposal to approve instead of starting the reshare.
15
+ * @export
16
+ * @interface WaasReshareApprovalQuorum
17
+ */
18
+ export interface WaasReshareApprovalQuorum {
19
+ /**
20
+ *
21
+ * @type {WaasReshareIntent}
22
+ * @memberof WaasReshareApprovalQuorum
23
+ */
24
+ intent: WaasReshareIntent;
25
+ /**
26
+ * Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
27
+ * Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
28
+ * @type {string}
29
+ * @memberof WaasReshareApprovalQuorum
30
+ */
31
+ intentSignature: string;
32
+ }
33
+ export declare function WaasReshareApprovalQuorumFromJSON(json: any): WaasReshareApprovalQuorum;
34
+ export declare function WaasReshareApprovalQuorumFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasReshareApprovalQuorum;
35
+ export declare function WaasReshareApprovalQuorumToJSON(value?: WaasReshareApprovalQuorum | null): any;
@@ -0,0 +1,29 @@
1
+ import { WaasReshareIntentFromJSON, WaasReshareIntentToJSON } from './WaasReshareIntent.js';
2
+
3
+ /* tslint:disable */
4
+ function WaasReshareApprovalQuorumFromJSON(json) {
5
+ return WaasReshareApprovalQuorumFromJSONTyped(json);
6
+ }
7
+ function WaasReshareApprovalQuorumFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'intent': WaasReshareIntentFromJSON(json['intent']),
13
+ 'intentSignature': json['intentSignature'],
14
+ };
15
+ }
16
+ function WaasReshareApprovalQuorumToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'intent': WaasReshareIntentToJSON(value.intent),
25
+ 'intentSignature': value.intentSignature,
26
+ };
27
+ }
28
+
29
+ export { WaasReshareApprovalQuorumFromJSON, WaasReshareApprovalQuorumFromJSONTyped, WaasReshareApprovalQuorumToJSON };
@@ -0,0 +1,79 @@
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
+ * The client-created reshare Intent. The enclave checks it against the reshare request.
14
+ * @export
15
+ * @interface WaasReshareIntent
16
+ */
17
+ export interface WaasReshareIntent {
18
+ [key: string]: object | any;
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof WaasReshareIntent
23
+ */
24
+ intentId: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof WaasReshareIntent
29
+ */
30
+ businessAccountId: string;
31
+ /**
32
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
33
+ * @type {string}
34
+ * @memberof WaasReshareIntent
35
+ */
36
+ accountAddress: string;
37
+ /**
38
+ *
39
+ * @type {string}
40
+ * @memberof WaasReshareIntent
41
+ */
42
+ actionType: WaasReshareIntentActionTypeEnum;
43
+ /**
44
+ *
45
+ * @type {string}
46
+ * @memberof WaasReshareIntent
47
+ */
48
+ initiatorUserId: string;
49
+ /**
50
+ * Signed timestamp preserved as an ISO string.
51
+ * @type {string}
52
+ * @memberof WaasReshareIntent
53
+ */
54
+ createdAt: string;
55
+ /**
56
+ * Signed deadline preserved as an ISO string.
57
+ * @type {string}
58
+ * @memberof WaasReshareIntent
59
+ */
60
+ completeBy: string;
61
+ /**
62
+ * The reshare this approves, as an echo of the request fields that define it — the same way a signing intent carries the transaction itself rather than an id. One approval set covers the reshare these fields describe, across every room the retries may mint.
63
+ * @type {{ [key: string]: object; }}
64
+ * @memberof WaasReshareIntent
65
+ */
66
+ operation: {
67
+ [key: string]: object;
68
+ };
69
+ }
70
+ /**
71
+ * @export
72
+ * @enum {string}
73
+ */
74
+ export declare enum WaasReshareIntentActionTypeEnum {
75
+ WaasReshareQuorumApprove = "waasReshareQuorumApprove"
76
+ }
77
+ export declare function WaasReshareIntentFromJSON(json: any): WaasReshareIntent;
78
+ export declare function WaasReshareIntentFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasReshareIntent;
79
+ export declare function WaasReshareIntentToJSON(value?: WaasReshareIntent | null): any;
@@ -0,0 +1,61 @@
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 WaasReshareIntentActionTypeEnum;
19
+ (function (WaasReshareIntentActionTypeEnum) {
20
+ WaasReshareIntentActionTypeEnum["WaasReshareQuorumApprove"] = "waasReshareQuorumApprove";
21
+ })(WaasReshareIntentActionTypeEnum || (WaasReshareIntentActionTypeEnum = {}));
22
+ function WaasReshareIntentFromJSON(json) {
23
+ return WaasReshareIntentFromJSONTyped(json);
24
+ }
25
+ function WaasReshareIntentFromJSONTyped(json, ignoreDiscriminator) {
26
+ if ((json === undefined) || (json === null)) {
27
+ return json;
28
+ }
29
+ return {
30
+ ...json,
31
+ 'intentId': json['intentId'],
32
+ 'businessAccountId': json['businessAccountId'],
33
+ 'accountAddress': json['accountAddress'],
34
+ 'actionType': json['actionType'],
35
+ 'initiatorUserId': json['initiatorUserId'],
36
+ 'createdAt': json['createdAt'],
37
+ 'completeBy': json['completeBy'],
38
+ 'operation': json['operation'],
39
+ };
40
+ }
41
+ function WaasReshareIntentToJSON(value) {
42
+ if (value === undefined) {
43
+ return undefined;
44
+ }
45
+ if (value === null) {
46
+ return null;
47
+ }
48
+ return {
49
+ ...value,
50
+ 'intentId': value.intentId,
51
+ 'businessAccountId': value.businessAccountId,
52
+ 'accountAddress': value.accountAddress,
53
+ 'actionType': value.actionType,
54
+ 'initiatorUserId': value.initiatorUserId,
55
+ 'createdAt': value.createdAt,
56
+ 'completeBy': value.completeBy,
57
+ 'operation': value.operation,
58
+ };
59
+ }
60
+
61
+ export { WaasReshareIntentActionTypeEnum, WaasReshareIntentFromJSON, WaasReshareIntentFromJSONTyped, WaasReshareIntentToJSON };
@@ -239,6 +239,7 @@ export * from './DeleteUserPasskeyRequest';
239
239
  export * from './DepositAmountsConfigInput';
240
240
  export * from './DestinationConfigInput';
241
241
  export * from './DestinationTypeEnum';
242
+ export * from './DeveloperEncryptionKey';
242
243
  export * from './DeviceRegistrationResponse';
243
244
  export * from './DeviceRegistrationsResponse';
244
245
  export * from './DnsRecordType';
@@ -931,6 +932,7 @@ export * from './WaasPolicyLayerResponseRule';
931
932
  export * from './WaasPolicyLayerRule';
932
933
  export * from './WaasPolicyLayerRuleInput';
933
934
  export * from './WaasPolicyLayerRuleOperation';
935
+ export * from './WaasPolicyLayerTranslationWarning';
934
936
  export * from './WaasPolicyLayerUpdateRequest';
935
937
  export * from './WaasPolicyResponse';
936
938
  export * from './WaasPolicyRule';
@@ -942,6 +944,8 @@ export * from './WaasPolicyRuleWhen';
942
944
  export * from './WaasPolicyRuleWhenInitiatorRole';
943
945
  export * from './WaasPolicyRuleWhenMinValue';
944
946
  export * from './WaasPolicyUpdateRequest';
947
+ export * from './WaasReshareApprovalQuorum';
948
+ export * from './WaasReshareIntent';
945
949
  export * from './WaasShareSet';
946
950
  export * from './WaasSignAndBroadcastRequest';
947
951
  export * from './WaasSignerPolicyLayerUpdateRequest';