@dynamic-labs/sdk-api-core 0.134.0 → 0.135.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 (33) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.d.ts +30 -1
  3. package/src/apis/SDKApi.js +76 -1
  4. package/src/apis/SDKApi.js.map +1 -1
  5. package/src/apis/WaasApi.js +2 -2
  6. package/src/index.js +7 -0
  7. package/src/index.js.map +1 -1
  8. package/src/models/ApprovalRequirementCounts.d.ts +51 -0
  9. package/src/models/ApprovalRequirementCounts.js +35 -0
  10. package/src/models/ApprovalRequirementCounts.js.map +1 -0
  11. package/src/models/BusinessAccountApprovalRequirementStatus.d.ts +7 -7
  12. package/src/models/BusinessAccountApprovalRequirementStatus.js +2 -2
  13. package/src/models/BusinessAccountApprovalRequirementStatus.js.map +1 -1
  14. package/src/models/BusinessAccountApprovalRequirementStatusAllOf.d.ts +39 -0
  15. package/src/models/BusinessAccountApprovalRequirementStatusAllOf.js +31 -0
  16. package/src/models/BusinessAccountApprovalRequirementStatusAllOf.js.map +1 -0
  17. package/src/models/BusinessAccountSigningProposal.d.ts +41 -0
  18. package/src/models/BusinessAccountSigningProposal.js +32 -0
  19. package/src/models/BusinessAccountSigningProposal.js.map +1 -0
  20. package/src/models/BusinessAccountSigningProposalQuorum.d.ts +41 -0
  21. package/src/models/BusinessAccountSigningProposalQuorum.js +32 -0
  22. package/src/models/BusinessAccountSigningProposalQuorum.js.map +1 -0
  23. package/src/models/CreateBusinessAccountSigningProposalSdkRequest.d.ts +48 -0
  24. package/src/models/CreateBusinessAccountSigningProposalSdkRequest.js +36 -0
  25. package/src/models/CreateBusinessAccountSigningProposalSdkRequest.js.map +1 -0
  26. package/src/models/SigningQuorumApprovalRequirement.d.ts +63 -0
  27. package/src/models/SigningQuorumApprovalRequirement.js +39 -0
  28. package/src/models/SigningQuorumApprovalRequirement.js.map +1 -0
  29. package/src/models/SigningQuorumApprovalRequirementAllOf.d.ts +33 -0
  30. package/src/models/SigningQuorumApprovalRequirementAllOf.js +29 -0
  31. package/src/models/SigningQuorumApprovalRequirementAllOf.js.map +1 -0
  32. package/src/models/index.d.ts +7 -0
  33. package/src/version.js +1 -1
@@ -44,6 +44,7 @@ import '../models/BusinessAccountMemberRole.js';
44
44
  import '../models/BusinessAccountProposalStatus.js';
45
45
  import '../models/BusinessAccountRequirementCondition.js';
46
46
  import '../models/BusinessAccountRoleDefinition.js';
47
+ import '../models/SignMessageApprovalQuorumIntent.js';
47
48
  import '../models/CaptchaProviderEnum.js';
48
49
  import '../models/DestinationTypeEnum.js';
49
50
  import '../models/CheckoutModeEnum.js';
@@ -56,6 +57,7 @@ import '../models/CoinbaseOnrampFeeType.js';
56
57
  import '../models/CoinbaseOnrampOrderPaymentMethod.js';
57
58
  import '../models/CoinbaseOnrampOrderStatus.js';
58
59
  import '../models/CoinbaseOnrampOrderPaymentLinkType.js';
60
+ import '../models/SignMessageRawSign.js';
59
61
  import '../models/EmbeddedWalletChainEnum.js';
60
62
  import '../models/EmbeddedWalletProviderEnum.js';
61
63
  import '../models/TravelRuleData.js';
@@ -116,11 +118,9 @@ import '../models/WaasReshareIntent.js';
116
118
  import '../models/ScreenTransactionResponse.js';
117
119
  import '../models/ScreeningActionEnum.js';
118
120
  import '../models/ScreeningPolicyScopeEnum.js';
119
- import '../models/SignMessageApprovalQuorumIntent.js';
120
121
  import '../models/SignMessageApprovalQuorumIntentLifetime.js';
121
122
  import '../models/SignMessageApprovalQuorumRawSign.js';
122
123
  import '../models/SignMessageApprovalQuorumSvmTransactionOperation.js';
123
- import '../models/SignMessageRawSign.js';
124
124
  import '../models/SsoProviderEnum.js';
125
125
  import '../models/SsoProviderCheckResponse.js';
126
126
  import '../models/SwapQuoteRequest.js';
package/src/index.js CHANGED
@@ -15,6 +15,7 @@ export { AleoCuratedPricesResponseResultFromJSON, AleoCuratedPricesResponseResul
15
15
  export { AleoCuratedTokenPriceFromJSON, AleoCuratedTokenPriceFromJSONTyped, AleoCuratedTokenPriceToJSON } from './models/AleoCuratedTokenPrice.js';
16
16
  export { AleoProverEncryptedRequestFromJSON, AleoProverEncryptedRequestFromJSONTyped, AleoProverEncryptedRequestToJSON } from './models/AleoProverEncryptedRequest.js';
17
17
  export { AleoProverPubkeyResponseFromJSON, AleoProverPubkeyResponseFromJSONTyped, AleoProverPubkeyResponseToJSON } from './models/AleoProverPubkeyResponse.js';
18
+ export { ApprovalRequirementCountsFromJSON, ApprovalRequirementCountsFromJSONTyped, ApprovalRequirementCountsToJSON } from './models/ApprovalRequirementCounts.js';
18
19
  export { ApproveBusinessAccountProposalSdkRequestFromJSON, ApproveBusinessAccountProposalSdkRequestFromJSONTyped, ApproveBusinessAccountProposalSdkRequestToJSON } from './models/ApproveBusinessAccountProposalSdkRequest.js';
19
20
  export { AssetFromJSON, AssetFromJSONTyped, AssetToJSON } from './models/Asset.js';
20
21
  export { AssetDiffFromJSON, AssetDiffFromJSONTyped, AssetDiffToJSON } from './models/AssetDiff.js';
@@ -51,6 +52,7 @@ export { BusinessAccountActivityExportRequestFromJSON, BusinessAccountActivityEx
51
52
  export { BusinessAccountActivityResponseFromJSON, BusinessAccountActivityResponseFromJSONTyped, BusinessAccountActivityResponseToJSON } from './models/BusinessAccountActivityResponse.js';
52
53
  export { BusinessAccountApprovalRequirementApproverCapabilitiesEnum, BusinessAccountApprovalRequirementFromJSON, BusinessAccountApprovalRequirementFromJSONTyped, BusinessAccountApprovalRequirementToJSON } from './models/BusinessAccountApprovalRequirement.js';
53
54
  export { BusinessAccountApprovalRequirementStatusFromJSON, BusinessAccountApprovalRequirementStatusFromJSONTyped, BusinessAccountApprovalRequirementStatusToJSON } from './models/BusinessAccountApprovalRequirementStatus.js';
55
+ export { BusinessAccountApprovalRequirementStatusAllOfFromJSON, BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped, BusinessAccountApprovalRequirementStatusAllOfToJSON } from './models/BusinessAccountApprovalRequirementStatusAllOf.js';
54
56
  export { BusinessAccountApprovalsPendingFromJSON, BusinessAccountApprovalsPendingFromJSONTyped, BusinessAccountApprovalsPendingReasonEnum, BusinessAccountApprovalsPendingToJSON } from './models/BusinessAccountApprovalsPending.js';
55
57
  export { BusinessAccountDetailFromJSON, BusinessAccountDetailFromJSONTyped, BusinessAccountDetailToJSON } from './models/BusinessAccountDetail.js';
56
58
  export { BusinessAccountDetailAllOfFromJSON, BusinessAccountDetailAllOfFromJSONTyped, BusinessAccountDetailAllOfToJSON } from './models/BusinessAccountDetailAllOf.js';
@@ -74,6 +76,8 @@ export { BusinessAccountRoleDefinitionFromJSON, BusinessAccountRoleDefinitionFro
74
76
  export { BusinessAccountRolesResponseFromJSON, BusinessAccountRolesResponseFromJSONTyped, BusinessAccountRolesResponseToJSON } from './models/BusinessAccountRolesResponse.js';
75
77
  export { BusinessAccountSignerFromJSON, BusinessAccountSignerFromJSONTyped, BusinessAccountSignerToJSON } from './models/BusinessAccountSigner.js';
76
78
  export { BusinessAccountSignerType, BusinessAccountSignerTypeFromJSON, BusinessAccountSignerTypeFromJSONTyped, BusinessAccountSignerTypeToJSON } from './models/BusinessAccountSignerType.js';
79
+ export { BusinessAccountSigningProposalFromJSON, BusinessAccountSigningProposalFromJSONTyped, BusinessAccountSigningProposalToJSON } from './models/BusinessAccountSigningProposal.js';
80
+ export { BusinessAccountSigningProposalQuorumFromJSON, BusinessAccountSigningProposalQuorumFromJSONTyped, BusinessAccountSigningProposalQuorumToJSON } from './models/BusinessAccountSigningProposalQuorum.js';
77
81
  export { BusinessAccountSigningRefusedFromJSON, BusinessAccountSigningRefusedFromJSONTyped, BusinessAccountSigningRefusedToJSON } from './models/BusinessAccountSigningRefused.js';
78
82
  export { BusinessAccountWalletFromJSON, BusinessAccountWalletFromJSONTyped, BusinessAccountWalletToJSON } from './models/BusinessAccountWallet.js';
79
83
  export { CaptchaProviderEnum, CaptchaProviderEnumFromJSON, CaptchaProviderEnumFromJSONTyped, CaptchaProviderEnumToJSON } from './models/CaptchaProviderEnum.js';
@@ -107,6 +111,7 @@ export { CompletePasskeyRecoveryRequestFromJSON, CompletePasskeyRecoveryRequestF
107
111
  export { ConflictFromJSON, ConflictFromJSONTyped, ConflictToJSON } from './models/Conflict.js';
108
112
  export { ConnectRequestFromJSON, ConnectRequestFromJSONTyped, ConnectRequestToJSON } from './models/ConnectRequest.js';
109
113
  export { CreateBusinessAccountSdkRequestFromJSON, CreateBusinessAccountSdkRequestFromJSONTyped, CreateBusinessAccountSdkRequestToJSON } from './models/CreateBusinessAccountSdkRequest.js';
114
+ export { CreateBusinessAccountSigningProposalSdkRequestFromJSON, CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped, CreateBusinessAccountSigningProposalSdkRequestToJSON } from './models/CreateBusinessAccountSigningProposalSdkRequest.js';
110
115
  export { CreateEmbeddedWalletParamsFromJSON, CreateEmbeddedWalletParamsFromJSONTyped, CreateEmbeddedWalletParamsToJSON } from './models/CreateEmbeddedWalletParams.js';
111
116
  export { CreateEmbeddedWalletSpecificOptsFromJSON, CreateEmbeddedWalletSpecificOptsFromJSONTyped, CreateEmbeddedWalletSpecificOptsToJSON } from './models/CreateEmbeddedWalletSpecificOpts.js';
112
117
  export { CreateEmbeddedWalletsRequestFromJSON, CreateEmbeddedWalletsRequestFromJSONTyped, CreateEmbeddedWalletsRequestToJSON } from './models/CreateEmbeddedWalletsRequest.js';
@@ -477,6 +482,8 @@ export { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionFromJSONTyp
477
482
  export { SignMessageUserOperationDataFromJSON, SignMessageUserOperationDataFromJSONTyped, SignMessageUserOperationDataToJSON } from './models/SignMessageUserOperationData.js';
478
483
  export { SignMessageWithWaasRequestFromJSON, SignMessageWithWaasRequestFromJSONTyped, SignMessageWithWaasRequestToJSON } from './models/SignMessageWithWaasRequest.js';
479
484
  export { SignTransactionWithWaasRequestFromJSON, SignTransactionWithWaasRequestFromJSONTyped, SignTransactionWithWaasRequestToJSON } from './models/SignTransactionWithWaasRequest.js';
485
+ export { SigningQuorumApprovalRequirementFromJSON, SigningQuorumApprovalRequirementFromJSONTyped, SigningQuorumApprovalRequirementToJSON } from './models/SigningQuorumApprovalRequirement.js';
486
+ export { SigningQuorumApprovalRequirementAllOfFromJSON, SigningQuorumApprovalRequirementAllOfFromJSONTyped, SigningQuorumApprovalRequirementAllOfToJSON } from './models/SigningQuorumApprovalRequirementAllOf.js';
480
487
  export { SimulateEVMTransactionRequestFromJSON, SimulateEVMTransactionRequestFromJSONTyped, SimulateEVMTransactionRequestToJSON } from './models/SimulateEVMTransactionRequest.js';
481
488
  export { SimulateSVMTransactionRequestFromJSON, SimulateSVMTransactionRequestFromJSONTyped, SimulateSVMTransactionRequestToJSON } from './models/SimulateSVMTransactionRequest.js';
482
489
  export { SimulateTransactionResponseFromJSON, SimulateTransactionResponseFromJSONTyped, SimulateTransactionResponseToJSON } from './models/SimulateTransactionResponse.js';
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,51 @@
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 tally fields every requirement-status report shares. `requirementId` names the rule, `required`/`approved` give the raw numbers and `satisfied` and `unmetMandatoryRoles` say what is still short.
14
+ * @export
15
+ * @interface ApprovalRequirementCounts
16
+ */
17
+ export interface ApprovalRequirementCounts {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApprovalRequirementCounts
22
+ */
23
+ requirementId: string;
24
+ /**
25
+ * Total approvals the requirement needs.
26
+ * @type {number}
27
+ * @memberof ApprovalRequirementCounts
28
+ */
29
+ required: number;
30
+ /**
31
+ * Approvals counted toward it so far.
32
+ * @type {number}
33
+ * @memberof ApprovalRequirementCounts
34
+ */
35
+ approved: number;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof ApprovalRequirementCounts
40
+ */
41
+ satisfied?: boolean;
42
+ /**
43
+ * Mandatory approver roles still lacking an approval, present only when they are what is holding the requirement back.
44
+ * @type {Array<string>}
45
+ * @memberof ApprovalRequirementCounts
46
+ */
47
+ unmetMandatoryRoles?: Array<string>;
48
+ }
49
+ export declare function ApprovalRequirementCountsFromJSON(json: any): ApprovalRequirementCounts;
50
+ export declare function ApprovalRequirementCountsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApprovalRequirementCounts;
51
+ export declare function ApprovalRequirementCountsToJSON(value?: ApprovalRequirementCounts | null): any;
@@ -0,0 +1,35 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function ApprovalRequirementCountsFromJSON(json) {
5
+ return ApprovalRequirementCountsFromJSONTyped(json);
6
+ }
7
+ function ApprovalRequirementCountsFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'requirementId': json['requirementId'],
13
+ 'required': json['required'],
14
+ 'approved': json['approved'],
15
+ 'satisfied': !exists(json, 'satisfied') ? undefined : json['satisfied'],
16
+ 'unmetMandatoryRoles': !exists(json, 'unmetMandatoryRoles') ? undefined : json['unmetMandatoryRoles'],
17
+ };
18
+ }
19
+ function ApprovalRequirementCountsToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'requirementId': value.requirementId,
28
+ 'required': value.required,
29
+ 'approved': value.approved,
30
+ 'satisfied': value.satisfied,
31
+ 'unmetMandatoryRoles': value.unmetMandatoryRoles,
32
+ };
33
+ }
34
+
35
+ export { ApprovalRequirementCountsFromJSON, ApprovalRequirementCountsFromJSONTyped, ApprovalRequirementCountsToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApprovalRequirementCounts.js","sources":["../../../../../libs/sdk-api-core/src/models/ApprovalRequirementCounts.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAqDM,SAAU,iCAAiC,CAAC,IAAS,EAAA;AACvD,IAAA,OAAO,sCAAsC,CAAC,IAAW,CAAC,CAAC;AAC/D,CAAC;AAEe,SAAA,sCAAsC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;AACtC,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;AACvE,QAAA,qBAAqB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,qBAAqB,CAAC;KACxG,CAAC;AACN,CAAC;AAEK,SAAU,+BAA+B,CAAC,KAAwC,EAAA;AACpF,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,aAAa;QACpC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;KACnD,CAAC;AACN;;;;"}
@@ -16,12 +16,6 @@
16
16
  * @interface BusinessAccountApprovalRequirementStatus
17
17
  */
18
18
  export interface BusinessAccountApprovalRequirementStatus {
19
- /**
20
- * The change type this rule governs. Requirement ids are unique per action only, so a change set spanning two actions can report the same id twice.
21
- * @type {string}
22
- * @memberof BusinessAccountApprovalRequirementStatus
23
- */
24
- action: string;
25
19
  /**
26
20
  *
27
21
  * @type {string}
@@ -29,7 +23,7 @@ export interface BusinessAccountApprovalRequirementStatus {
29
23
  */
30
24
  requirementId: string;
31
25
  /**
32
- *
26
+ * Total approvals the requirement needs.
33
27
  * @type {number}
34
28
  * @memberof BusinessAccountApprovalRequirementStatus
35
29
  */
@@ -52,6 +46,12 @@ export interface BusinessAccountApprovalRequirementStatus {
52
46
  * @memberof BusinessAccountApprovalRequirementStatus
53
47
  */
54
48
  unmetMandatoryRoles?: Array<string>;
49
+ /**
50
+ * The change type this rule governs. Requirement ids are unique per action only, so a change set spanning two actions can report the same id twice.
51
+ * @type {string}
52
+ * @memberof BusinessAccountApprovalRequirementStatus
53
+ */
54
+ action: string;
55
55
  }
56
56
  export declare function BusinessAccountApprovalRequirementStatusFromJSON(json: any): BusinessAccountApprovalRequirementStatus;
57
57
  export declare function BusinessAccountApprovalRequirementStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountApprovalRequirementStatus;
@@ -9,12 +9,12 @@ function BusinessAccountApprovalRequirementStatusFromJSONTyped(json, ignoreDiscr
9
9
  return json;
10
10
  }
11
11
  return {
12
- 'action': json['action'],
13
12
  'requirementId': json['requirementId'],
14
13
  'required': json['required'],
15
14
  'approved': json['approved'],
16
15
  'satisfied': json['satisfied'],
17
16
  'unmetMandatoryRoles': !exists(json, 'unmetMandatoryRoles') ? undefined : json['unmetMandatoryRoles'],
17
+ 'action': json['action'],
18
18
  };
19
19
  }
20
20
  function BusinessAccountApprovalRequirementStatusToJSON(value) {
@@ -25,12 +25,12 @@ function BusinessAccountApprovalRequirementStatusToJSON(value) {
25
25
  return null;
26
26
  }
27
27
  return {
28
- 'action': value.action,
29
28
  'requirementId': value.requirementId,
30
29
  'required': value.required,
31
30
  'approved': value.approved,
32
31
  'satisfied': value.satisfied,
33
32
  'unmetMandatoryRoles': value.unmetMandatoryRoles,
33
+ 'action': value.action,
34
34
  };
35
35
  }
36
36
 
@@ -1 +1 @@
1
- {"version":3,"file":"BusinessAccountApprovalRequirementStatus.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalRequirementStatus.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AA4DM,SAAU,gDAAgD,CAAC,IAAS,EAAA;AACtE,IAAA,OAAO,qDAAqD,CAAC,IAAW,CAAC,CAAC;AAC9E,CAAC;AAEe,SAAA,qDAAqD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;AACtC,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,qBAAqB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,qBAAqB,CAAC;KACxG,CAAC;AACN,CAAC;AAEK,SAAU,8CAA8C,CAAC,KAAuD,EAAA;AAClH,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,eAAe,EAAE,KAAK,CAAC,aAAa;QACpC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;KACnD,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"BusinessAccountApprovalRequirementStatus.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalRequirementStatus.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAyEM,SAAU,gDAAgD,CAAC,IAAS,EAAA;AACtE,IAAA,OAAO,qDAAqD,CAAC,IAAW,CAAC,CAAC;AAC9E,CAAC;AAEe,SAAA,qDAAqD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;AACtC,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;AAC9B,QAAA,qBAAqB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,qBAAqB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,qBAAqB,CAAC;AACrG,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;KAC3B,CAAC;AACN,CAAC;AAEK,SAAU,8CAA8C,CAAC,KAAuD,EAAA;AAClH,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,eAAe,EAAE,KAAK,CAAC,aAAa;QACpC,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,qBAAqB,EAAE,KAAK,CAAC,mBAAmB;QAChD,QAAQ,EAAE,KAAK,CAAC,MAAM;KACzB,CAAC;AACN;;;;"}
@@ -0,0 +1,39 @@
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 BusinessAccountApprovalRequirementStatusAllOf
16
+ */
17
+ export interface BusinessAccountApprovalRequirementStatusAllOf {
18
+ /**
19
+ * The change type this rule governs. Requirement ids are unique per action only, so a change set spanning two actions can report the same id twice.
20
+ * @type {string}
21
+ * @memberof BusinessAccountApprovalRequirementStatusAllOf
22
+ */
23
+ action: string;
24
+ /**
25
+ * Approvals that COUNT toward this requirement — not the raw approval count. An approver outside the eligible pool, or one demoted since they approved, is not included.
26
+ * @type {number}
27
+ * @memberof BusinessAccountApprovalRequirementStatusAllOf
28
+ */
29
+ approved?: number;
30
+ /**
31
+ * Authoritative. `approved >= required` is not sufficient: a mandatory approver role with nobody's approval leaves this false with the count already met.
32
+ * @type {boolean}
33
+ * @memberof BusinessAccountApprovalRequirementStatusAllOf
34
+ */
35
+ satisfied: boolean;
36
+ }
37
+ export declare function BusinessAccountApprovalRequirementStatusAllOfFromJSON(json: any): BusinessAccountApprovalRequirementStatusAllOf;
38
+ export declare function BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountApprovalRequirementStatusAllOf;
39
+ export declare function BusinessAccountApprovalRequirementStatusAllOfToJSON(value?: BusinessAccountApprovalRequirementStatusAllOf | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function BusinessAccountApprovalRequirementStatusAllOfFromJSON(json) {
5
+ return BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped(json);
6
+ }
7
+ function BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'action': json['action'],
13
+ 'approved': !exists(json, 'approved') ? undefined : json['approved'],
14
+ 'satisfied': json['satisfied'],
15
+ };
16
+ }
17
+ function BusinessAccountApprovalRequirementStatusAllOfToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'action': value.action,
26
+ 'approved': value.approved,
27
+ 'satisfied': value.satisfied,
28
+ };
29
+ }
30
+
31
+ export { BusinessAccountApprovalRequirementStatusAllOfFromJSON, BusinessAccountApprovalRequirementStatusAllOfFromJSONTyped, BusinessAccountApprovalRequirementStatusAllOfToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusinessAccountApprovalRequirementStatusAllOf.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalRequirementStatusAllOf.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAyCM,SAAU,qDAAqD,CAAC,IAAS,EAAA;AAC3E,IAAA,OAAO,0DAA0D,CAAC,IAAW,CAAC,CAAC;AACnF,CAAC;AAEe,SAAA,0DAA0D,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC9G,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,UAAU,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,UAAU,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,UAAU,CAAC;AACpE,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,CAAC;AACN,CAAC;AAEK,SAAU,mDAAmD,CAAC,KAA4D,EAAA;AAC5H,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;QAC1B,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN;;;;"}
@@ -0,0 +1,41 @@
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
+ * The `signMessage` proposal opened for the proposed intent — or the identical open one a retry found — with the requirement its approvals must satisfy. `intent` is the stored signed intent verbatim: approvers sign THESE bytes, never a re-derived copy.
16
+ * @export
17
+ * @interface BusinessAccountSigningProposal
18
+ */
19
+ export interface BusinessAccountSigningProposal {
20
+ /**
21
+ * The proposal collecting approvals.
22
+ * @type {string}
23
+ * @memberof BusinessAccountSigningProposal
24
+ */
25
+ proposalId: string;
26
+ /**
27
+ *
28
+ * @type {SignMessageApprovalQuorumIntent}
29
+ * @memberof BusinessAccountSigningProposal
30
+ */
31
+ intent: SignMessageApprovalQuorumIntent;
32
+ /**
33
+ *
34
+ * @type {SigningQuorumApprovalRequirement}
35
+ * @memberof BusinessAccountSigningProposal
36
+ */
37
+ approvalRequirement: SigningQuorumApprovalRequirement;
38
+ }
39
+ export declare function BusinessAccountSigningProposalFromJSON(json: any): BusinessAccountSigningProposal;
40
+ export declare function BusinessAccountSigningProposalFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSigningProposal;
41
+ export declare function BusinessAccountSigningProposalToJSON(value?: BusinessAccountSigningProposal | null): any;
@@ -0,0 +1,32 @@
1
+ import { SignMessageApprovalQuorumIntentFromJSON, SignMessageApprovalQuorumIntentToJSON } from './SignMessageApprovalQuorumIntent.js';
2
+ import { SigningQuorumApprovalRequirementFromJSON, SigningQuorumApprovalRequirementToJSON } from './SigningQuorumApprovalRequirement.js';
3
+
4
+ /* tslint:disable */
5
+ function BusinessAccountSigningProposalFromJSON(json) {
6
+ return BusinessAccountSigningProposalFromJSONTyped(json);
7
+ }
8
+ function BusinessAccountSigningProposalFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'proposalId': json['proposalId'],
14
+ 'intent': SignMessageApprovalQuorumIntentFromJSON(json['intent']),
15
+ 'approvalRequirement': SigningQuorumApprovalRequirementFromJSON(json['approvalRequirement']),
16
+ };
17
+ }
18
+ function BusinessAccountSigningProposalToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'proposalId': value.proposalId,
27
+ 'intent': SignMessageApprovalQuorumIntentToJSON(value.intent),
28
+ 'approvalRequirement': SigningQuorumApprovalRequirementToJSON(value.approvalRequirement),
29
+ };
30
+ }
31
+
32
+ export { BusinessAccountSigningProposalFromJSON, BusinessAccountSigningProposalFromJSONTyped, BusinessAccountSigningProposalToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusinessAccountSigningProposal.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountSigningProposal.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAsDM,SAAU,sCAAsC,CAAC,IAAS,EAAA;AAC5D,IAAA,OAAO,2CAA2C,CAAC,IAAW,CAAC,CAAC;AACpE,CAAC;AAEe,SAAA,2CAA2C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC/F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;AAChC,QAAA,QAAQ,EAAE,uCAAuC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACjE,QAAA,qBAAqB,EAAE,wCAAwC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;KAC/F,CAAC;AACN,CAAC;AAEK,SAAU,oCAAoC,CAAC,KAA6C,EAAA;AAC9F,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,UAAU;AAC9B,QAAA,QAAQ,EAAE,qCAAqC,CAAC,KAAK,CAAC,MAAM,CAAC;AAC7D,QAAA,qBAAqB,EAAE,sCAAsC,CAAC,KAAK,CAAC,mBAAmB,CAAC;KAC3F,CAAC;AACN;;;;"}
@@ -0,0 +1,41 @@
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
+ /**
14
+ * The Initiator's own signed Intent over the operation being proposed — the same bundle a governed sign carries in `approvalQuorum`, except proposing always needs the signature: there is no stored proposal to redeem yet. `initiatorProof` is issued server-side while the caller's token is live and is never sent by the client.
15
+ * @export
16
+ * @interface BusinessAccountSigningProposalQuorum
17
+ */
18
+ export interface BusinessAccountSigningProposalQuorum {
19
+ /**
20
+ *
21
+ * @type {SignMessageApprovalQuorumIntent}
22
+ * @memberof BusinessAccountSigningProposalQuorum
23
+ */
24
+ intent: SignMessageApprovalQuorumIntent;
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 BusinessAccountSigningProposalQuorum
30
+ */
31
+ intentSignature: string;
32
+ /**
33
+ * Present when the request redeeming this Intent is not the Initiator's own live session. Absent means the request's own bearer token stands for the Initiator instead.
34
+ * @type {string}
35
+ * @memberof BusinessAccountSigningProposalQuorum
36
+ */
37
+ initiatorProof?: string | null;
38
+ }
39
+ export declare function BusinessAccountSigningProposalQuorumFromJSON(json: any): BusinessAccountSigningProposalQuorum;
40
+ export declare function BusinessAccountSigningProposalQuorumFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSigningProposalQuorum;
41
+ export declare function BusinessAccountSigningProposalQuorumToJSON(value?: BusinessAccountSigningProposalQuorum | null): any;
@@ -0,0 +1,32 @@
1
+ import { exists } from '../runtime.js';
2
+ import { SignMessageApprovalQuorumIntentFromJSON, SignMessageApprovalQuorumIntentToJSON } from './SignMessageApprovalQuorumIntent.js';
3
+
4
+ /* tslint:disable */
5
+ function BusinessAccountSigningProposalQuorumFromJSON(json) {
6
+ return BusinessAccountSigningProposalQuorumFromJSONTyped(json);
7
+ }
8
+ function BusinessAccountSigningProposalQuorumFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'intent': SignMessageApprovalQuorumIntentFromJSON(json['intent']),
14
+ 'intentSignature': json['intentSignature'],
15
+ 'initiatorProof': !exists(json, 'initiatorProof') ? undefined : json['initiatorProof'],
16
+ };
17
+ }
18
+ function BusinessAccountSigningProposalQuorumToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'intent': SignMessageApprovalQuorumIntentToJSON(value.intent),
27
+ 'intentSignature': value.intentSignature,
28
+ 'initiatorProof': value.initiatorProof,
29
+ };
30
+ }
31
+
32
+ export { BusinessAccountSigningProposalQuorumFromJSON, BusinessAccountSigningProposalQuorumFromJSONTyped, BusinessAccountSigningProposalQuorumToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BusinessAccountSigningProposalQuorum.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountSigningProposalQuorum.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AAuDM,SAAU,4CAA4C,CAAC,IAAS,EAAA;AAClE,IAAA,OAAO,iDAAiD,CAAC,IAAW,CAAC,CAAC;AAC1E,CAAC;AAEe,SAAA,iDAAiD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACrG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,uCAAuC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;AACjE,QAAA,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;AAC1C,QAAA,gBAAgB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;KACzF,CAAC;AACN,CAAC;AAEK,SAAU,0CAA0C,CAAC,KAAmD,EAAA;AAC1G,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,qCAAqC,CAAC,KAAK,CAAC,MAAM,CAAC;QAC7D,iBAAiB,EAAE,KAAK,CAAC,eAAe;QACxC,gBAAgB,EAAE,KAAK,CAAC,cAAc;KACzC,CAAC;AACN;;;;"}
@@ -0,0 +1,48 @@
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 { BusinessAccountSigningProposalQuorum } from './BusinessAccountSigningProposalQuorum';
13
+ import { SignMessageContext } from './SignMessageContext';
14
+ import { WaasChainEnum } from './WaasChainEnum';
15
+ /**
16
+ * SDK proposeSigning body. `message`, `context` and `chain` describe the operation being proposed — the same fields the eventual signMessage call carries — while `approvalQuorum` holds the caller-signed intent over it.
17
+ * @export
18
+ * @interface CreateBusinessAccountSigningProposalSdkRequest
19
+ */
20
+ export interface CreateBusinessAccountSigningProposalSdkRequest {
21
+ /**
22
+ * A string with a max length of 204800 characters
23
+ * @type {string}
24
+ * @memberof CreateBusinessAccountSigningProposalSdkRequest
25
+ */
26
+ message: string;
27
+ /**
28
+ *
29
+ * @type {WaasChainEnum}
30
+ * @memberof CreateBusinessAccountSigningProposalSdkRequest
31
+ */
32
+ chain: WaasChainEnum;
33
+ /**
34
+ *
35
+ * @type {SignMessageContext}
36
+ * @memberof CreateBusinessAccountSigningProposalSdkRequest
37
+ */
38
+ context?: SignMessageContext;
39
+ /**
40
+ *
41
+ * @type {BusinessAccountSigningProposalQuorum}
42
+ * @memberof CreateBusinessAccountSigningProposalSdkRequest
43
+ */
44
+ approvalQuorum: BusinessAccountSigningProposalQuorum;
45
+ }
46
+ export declare function CreateBusinessAccountSigningProposalSdkRequestFromJSON(json: any): CreateBusinessAccountSigningProposalSdkRequest;
47
+ export declare function CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateBusinessAccountSigningProposalSdkRequest;
48
+ export declare function CreateBusinessAccountSigningProposalSdkRequestToJSON(value?: CreateBusinessAccountSigningProposalSdkRequest | null): any;
@@ -0,0 +1,36 @@
1
+ import { exists } from '../runtime.js';
2
+ import { BusinessAccountSigningProposalQuorumFromJSON, BusinessAccountSigningProposalQuorumToJSON } from './BusinessAccountSigningProposalQuorum.js';
3
+ import { SignMessageContextFromJSON, SignMessageContextToJSON } from './SignMessageContext.js';
4
+ import { WaasChainEnumFromJSON, WaasChainEnumToJSON } from './WaasChainEnum.js';
5
+
6
+ /* tslint:disable */
7
+ function CreateBusinessAccountSigningProposalSdkRequestFromJSON(json) {
8
+ return CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped(json);
9
+ }
10
+ function CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
11
+ if ((json === undefined) || (json === null)) {
12
+ return json;
13
+ }
14
+ return {
15
+ 'message': json['message'],
16
+ 'chain': WaasChainEnumFromJSON(json['chain']),
17
+ 'context': !exists(json, 'context') ? undefined : SignMessageContextFromJSON(json['context']),
18
+ 'approvalQuorum': BusinessAccountSigningProposalQuorumFromJSON(json['approvalQuorum']),
19
+ };
20
+ }
21
+ function CreateBusinessAccountSigningProposalSdkRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'message': value.message,
30
+ 'chain': WaasChainEnumToJSON(value.chain),
31
+ 'context': SignMessageContextToJSON(value.context),
32
+ 'approvalQuorum': BusinessAccountSigningProposalQuorumToJSON(value.approvalQuorum),
33
+ };
34
+ }
35
+
36
+ export { CreateBusinessAccountSigningProposalSdkRequestFromJSON, CreateBusinessAccountSigningProposalSdkRequestFromJSONTyped, CreateBusinessAccountSigningProposalSdkRequestToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateBusinessAccountSigningProposalSdkRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/CreateBusinessAccountSigningProposalSdkRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;;AAAA;AAkEM,SAAU,sDAAsD,CAAC,IAAS,EAAA;AAC5E,IAAA,OAAO,2DAA2D,CAAC,IAAW,CAAC,CAAC;AACpF,CAAC;AAEe,SAAA,2DAA2D,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC/G,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,SAAS,EAAE,IAAI,CAAC,SAAS,CAAC;AAC1B,QAAA,OAAO,EAAE,qBAAqB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC7C,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,0BAA0B,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAC7F,QAAA,gBAAgB,EAAE,4CAA4C,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;KACzF,CAAC;AACN,CAAC;AAEK,SAAU,oDAAoD,CAAC,KAA6D,EAAA;AAC9H,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,SAAS,EAAE,KAAK,CAAC,OAAO;AACxB,QAAA,OAAO,EAAE,mBAAmB,CAAC,KAAK,CAAC,KAAK,CAAC;AACzC,QAAA,SAAS,EAAE,wBAAwB,CAAC,KAAK,CAAC,OAAO,CAAC;AAClD,QAAA,gBAAgB,EAAE,0CAA0C,CAAC,KAAK,CAAC,cAAc,CAAC;KACrF,CAAC;AACN;;;;"}
@@ -0,0 +1,63 @@
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
+ * One signing-quorum requirement as wallet-service reports it, plus the approvals already counted toward it on the proposal. The role fields are absent when wallet-service did not report them — never re-derive them client-side.
14
+ * @export
15
+ * @interface SigningQuorumApprovalRequirement
16
+ */
17
+ export interface SigningQuorumApprovalRequirement {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SigningQuorumApprovalRequirement
22
+ */
23
+ requirementId: string;
24
+ /**
25
+ * Total approvals the requirement needs.
26
+ * @type {number}
27
+ * @memberof SigningQuorumApprovalRequirement
28
+ */
29
+ required: number;
30
+ /**
31
+ * Approvals counted toward it so far.
32
+ * @type {number}
33
+ * @memberof SigningQuorumApprovalRequirement
34
+ */
35
+ approved: number;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof SigningQuorumApprovalRequirement
40
+ */
41
+ satisfied?: boolean;
42
+ /**
43
+ * Mandatory approver roles still lacking an approval, present only when they are what is holding the requirement back.
44
+ * @type {Array<string>}
45
+ * @memberof SigningQuorumApprovalRequirement
46
+ */
47
+ unmetMandatoryRoles?: Array<string>;
48
+ /**
49
+ * A holder of any listed role may approve. Absent means wallet-service applies its owner/admin default; an empty list is an empty pool.
50
+ * @type {Array<string>}
51
+ * @memberof SigningQuorumApprovalRequirement
52
+ */
53
+ eligibleApproverRoles?: Array<string>;
54
+ /**
55
+ * Each listed role must be represented among the approvers.
56
+ * @type {Array<string>}
57
+ * @memberof SigningQuorumApprovalRequirement
58
+ */
59
+ mandatoryApproverRoles?: Array<string>;
60
+ }
61
+ export declare function SigningQuorumApprovalRequirementFromJSON(json: any): SigningQuorumApprovalRequirement;
62
+ export declare function SigningQuorumApprovalRequirementFromJSONTyped(json: any, ignoreDiscriminator: boolean): SigningQuorumApprovalRequirement;
63
+ export declare function SigningQuorumApprovalRequirementToJSON(value?: SigningQuorumApprovalRequirement | null): any;