@dynamic-labs/sdk-api-core 0.33.0 → 0.35.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.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +739 -4
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +298 -5
- package/src/apis/SDKApi.js +739 -4
- package/src/apis/SDKApi.js.map +1 -1
- package/src/apis/WaasApi.cjs +6 -0
- package/src/apis/WaasApi.cjs.map +1 -1
- package/src/apis/WaasApi.js +6 -0
- package/src/apis/WaasApi.js.map +1 -1
- package/src/index.cjs +116 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +23 -0
- package/src/index.js.map +1 -1
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs +6 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs.map +1 -1
- package/src/models/AddBusinessAccountMemberSdkRequest.d.ts +21 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.js +6 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.js.map +1 -1
- package/src/models/ApproveBusinessAccountProposalSdkRequest.cjs +45 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.cjs.map +1 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.d.ts +33 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.js +39 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.js.map +1 -0
- package/src/models/BusinessAccountApprovalRequirement.cjs +60 -0
- package/src/models/BusinessAccountApprovalRequirement.cjs.map +1 -0
- package/src/models/BusinessAccountApprovalRequirement.d.ts +89 -0
- package/src/models/BusinessAccountApprovalRequirement.js +54 -0
- package/src/models/BusinessAccountApprovalRequirement.js.map +1 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.cjs +43 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.cjs.map +1 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.d.ts +58 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.js +37 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.js.map +1 -0
- package/src/models/BusinessAccountApprovalsPending.cjs +51 -0
- package/src/models/BusinessAccountApprovalsPending.cjs.map +1 -0
- package/src/models/BusinessAccountApprovalsPending.d.ts +64 -0
- package/src/models/BusinessAccountApprovalsPending.js +45 -0
- package/src/models/BusinessAccountApprovalsPending.js.map +1 -0
- package/src/models/BusinessAccountForbidden.cjs +36 -0
- package/src/models/BusinessAccountForbidden.cjs.map +1 -0
- package/src/models/BusinessAccountForbidden.d.ts +34 -0
- package/src/models/BusinessAccountForbidden.js +30 -0
- package/src/models/BusinessAccountForbidden.js.map +1 -0
- package/src/models/BusinessAccountForbiddenAllOf.cjs +34 -0
- package/src/models/BusinessAccountForbiddenAllOf.cjs.map +1 -0
- package/src/models/BusinessAccountForbiddenAllOf.d.ts +28 -0
- package/src/models/BusinessAccountForbiddenAllOf.js +28 -0
- package/src/models/BusinessAccountForbiddenAllOf.js.map +1 -0
- package/src/models/BusinessAccountGovernanceResponse.cjs +43 -0
- package/src/models/BusinessAccountGovernanceResponse.cjs.map +1 -0
- package/src/models/BusinessAccountGovernanceResponse.d.ts +30 -0
- package/src/models/BusinessAccountGovernanceResponse.js +37 -0
- package/src/models/BusinessAccountGovernanceResponse.js.map +1 -0
- package/src/models/BusinessAccountGovernedAction.cjs +50 -0
- package/src/models/BusinessAccountGovernedAction.cjs.map +1 -0
- package/src/models/BusinessAccountGovernedAction.d.ts +33 -0
- package/src/models/BusinessAccountGovernedAction.js +44 -0
- package/src/models/BusinessAccountGovernedAction.js.map +1 -0
- package/src/models/BusinessAccountMutationVersion.cjs +43 -0
- package/src/models/BusinessAccountMutationVersion.cjs.map +1 -0
- package/src/models/BusinessAccountMutationVersion.d.ts +27 -0
- package/src/models/BusinessAccountMutationVersion.js +37 -0
- package/src/models/BusinessAccountMutationVersion.js.map +1 -0
- package/src/models/BusinessAccountProposal.cjs +62 -0
- package/src/models/BusinessAccountProposal.cjs.map +1 -0
- package/src/models/BusinessAccountProposal.d.ts +108 -0
- package/src/models/BusinessAccountProposal.js +56 -0
- package/src/models/BusinessAccountProposal.js.map +1 -0
- package/src/models/BusinessAccountProposalApprovalRecord.cjs +37 -0
- package/src/models/BusinessAccountProposalApprovalRecord.cjs.map +1 -0
- package/src/models/BusinessAccountProposalApprovalRecord.d.ts +39 -0
- package/src/models/BusinessAccountProposalApprovalRecord.js +31 -0
- package/src/models/BusinessAccountProposalApprovalRecord.js.map +1 -0
- package/src/models/BusinessAccountProposalStatus.cjs +42 -0
- package/src/models/BusinessAccountProposalStatus.cjs.map +1 -0
- package/src/models/BusinessAccountProposalStatus.d.ts +25 -0
- package/src/models/BusinessAccountProposalStatus.js +36 -0
- package/src/models/BusinessAccountProposalStatus.js.map +1 -0
- package/src/models/BusinessAccountProposalSubject.cjs +35 -0
- package/src/models/BusinessAccountProposalSubject.cjs.map +1 -0
- package/src/models/BusinessAccountProposalSubject.d.ts +33 -0
- package/src/models/BusinessAccountProposalSubject.js +29 -0
- package/src/models/BusinessAccountProposalSubject.js.map +1 -0
- package/src/models/BusinessAccountRequirementCondition.cjs +43 -0
- package/src/models/BusinessAccountRequirementCondition.cjs.map +1 -0
- package/src/models/BusinessAccountRequirementCondition.d.ts +57 -0
- package/src/models/BusinessAccountRequirementCondition.js +37 -0
- package/src/models/BusinessAccountRequirementCondition.js.map +1 -0
- package/src/models/BusinessAccountRoleDefinition.cjs +52 -0
- package/src/models/BusinessAccountRoleDefinition.cjs.map +1 -0
- package/src/models/BusinessAccountRoleDefinition.d.ts +35 -0
- package/src/models/BusinessAccountRoleDefinition.js +46 -0
- package/src/models/BusinessAccountRoleDefinition.js.map +1 -0
- package/src/models/BusinessAccountRolesResponse.cjs +34 -0
- package/src/models/BusinessAccountRolesResponse.cjs.map +1 -0
- package/src/models/BusinessAccountRolesResponse.d.ts +30 -0
- package/src/models/BusinessAccountRolesResponse.js +28 -0
- package/src/models/BusinessAccountRolesResponse.js.map +1 -0
- package/src/models/BusinessAccountSigningRefused.cjs +37 -0
- package/src/models/BusinessAccountSigningRefused.cjs.map +1 -0
- package/src/models/BusinessAccountSigningRefused.d.ts +39 -0
- package/src/models/BusinessAccountSigningRefused.js +31 -0
- package/src/models/BusinessAccountSigningRefused.js.map +1 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.cjs +50 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.cjs.map +1 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.d.ts +62 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.js +44 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.js.map +1 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.cjs +37 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.cjs.map +1 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.d.ts +42 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.js +31 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.js.map +1 -0
- package/src/models/FlowQuoteRequest.d.ts +1 -1
- package/src/models/RemoveBusinessAccountMemberSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.cjs.map +1 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.js.map +1 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.cjs.map +1 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.js.map +1 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.cjs.map +1 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.js.map +1 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.cjs +39 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.cjs.map +1 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.d.ts +51 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.js +33 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.js.map +1 -0
- package/src/models/TokenScope.cjs +8 -0
- package/src/models/TokenScope.cjs.map +1 -1
- package/src/models/TokenScope.d.ts +8 -0
- package/src/models/TokenScope.js +8 -0
- package/src/models/TokenScope.js.map +1 -1
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs +8 -12
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs.map +1 -1
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.d.ts +21 -0
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.js +8 -12
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.js.map +1 -1
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs +7 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs.map +1 -1
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.d.ts +21 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js +7 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js.map +1 -1
- package/src/models/index.d.ts +23 -0
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
function ApproveBusinessAccountProposalSdkRequestFromJSON(json) {
|
|
15
|
+
return ApproveBusinessAccountProposalSdkRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function ApproveBusinessAccountProposalSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'approvedAt': (new Date(json['approvedAt'])),
|
|
23
|
+
'signature': json['signature'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function ApproveBusinessAccountProposalSdkRequestToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'approvedAt': (value.approvedAt.toISOString()),
|
|
35
|
+
'signature': value.signature,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { ApproveBusinessAccountProposalSdkRequestFromJSON, ApproveBusinessAccountProposalSdkRequestFromJSONTyped, ApproveBusinessAccountProposalSdkRequestToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApproveBusinessAccountProposalSdkRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/ApproveBusinessAccountProposalSdkRequest.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAuBG,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;QAEH,YAAY,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;AAC5C,QAAA,WAAW,EAAE,IAAI,CAAC,WAAW,CAAC;KACjC,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,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;QAC9C,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountRequirementCondition = require('./BusinessAccountRequirementCondition.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
/**
|
|
10
|
+
* @export
|
|
11
|
+
* @enum {string}
|
|
12
|
+
*/
|
|
13
|
+
exports.BusinessAccountApprovalRequirementApproverCapabilitiesEnum = void 0;
|
|
14
|
+
(function (BusinessAccountApprovalRequirementApproverCapabilitiesEnum) {
|
|
15
|
+
BusinessAccountApprovalRequirementApproverCapabilitiesEnum["SignerOnTargetWallet"] = "signerOnTargetWallet";
|
|
16
|
+
})(exports.BusinessAccountApprovalRequirementApproverCapabilitiesEnum || (exports.BusinessAccountApprovalRequirementApproverCapabilitiesEnum = {}));
|
|
17
|
+
function BusinessAccountApprovalRequirementFromJSON(json) {
|
|
18
|
+
return BusinessAccountApprovalRequirementFromJSONTyped(json);
|
|
19
|
+
}
|
|
20
|
+
function BusinessAccountApprovalRequirementFromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
if ((json === undefined) || (json === null)) {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'schemaVersion': json['schemaVersion'],
|
|
26
|
+
'id': json['id'],
|
|
27
|
+
'when': !runtime.exists(json, 'when') ? undefined : BusinessAccountRequirementCondition.BusinessAccountRequirementConditionFromJSON(json['when']),
|
|
28
|
+
'eligibleInitiatorRoles': !runtime.exists(json, 'eligibleInitiatorRoles') ? undefined : json['eligibleInitiatorRoles'],
|
|
29
|
+
'eligibleApproverRoles': !runtime.exists(json, 'eligibleApproverRoles') ? undefined : json['eligibleApproverRoles'],
|
|
30
|
+
'mandatoryApproverRoles': !runtime.exists(json, 'mandatoryApproverRoles') ? undefined : json['mandatoryApproverRoles'],
|
|
31
|
+
'approverCapabilities': !runtime.exists(json, 'approverCapabilities') ? undefined : json['approverCapabilities'],
|
|
32
|
+
'requiredApprovals': json['requiredApprovals'],
|
|
33
|
+
'approvalWindowSeconds': !runtime.exists(json, 'approvalWindowSeconds') ? undefined : json['approvalWindowSeconds'],
|
|
34
|
+
'executionWindowSeconds': !runtime.exists(json, 'executionWindowSeconds') ? undefined : json['executionWindowSeconds'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function BusinessAccountApprovalRequirementToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'schemaVersion': value.schemaVersion,
|
|
46
|
+
'id': value.id,
|
|
47
|
+
'when': BusinessAccountRequirementCondition.BusinessAccountRequirementConditionToJSON(value.when),
|
|
48
|
+
'eligibleInitiatorRoles': value.eligibleInitiatorRoles,
|
|
49
|
+
'eligibleApproverRoles': value.eligibleApproverRoles,
|
|
50
|
+
'mandatoryApproverRoles': value.mandatoryApproverRoles,
|
|
51
|
+
'approverCapabilities': value.approverCapabilities,
|
|
52
|
+
'requiredApprovals': value.requiredApprovals,
|
|
53
|
+
'approvalWindowSeconds': value.approvalWindowSeconds,
|
|
54
|
+
'executionWindowSeconds': value.executionWindowSeconds,
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
exports.BusinessAccountApprovalRequirementFromJSON = BusinessAccountApprovalRequirementFromJSON;
|
|
59
|
+
exports.BusinessAccountApprovalRequirementFromJSONTyped = BusinessAccountApprovalRequirementFromJSONTyped;
|
|
60
|
+
exports.BusinessAccountApprovalRequirementToJSON = BusinessAccountApprovalRequirementToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountApprovalRequirement.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalRequirement.ts"],"sourcesContent":null,"names":["BusinessAccountApprovalRequirementApproverCapabilitiesEnum","exists","BusinessAccountRequirementConditionFromJSON","BusinessAccountRequirementConditionToJSON"],"mappings":";;;;;;;AAAA;AA0FA;;;AAGE;AACUA,4EAEX;AAFD,CAAA,UAAY,0DAA0D,EAAA;AAClE,IAAA,0DAAA,CAAA,sBAAA,CAAA,GAAA,sBAA6C,CAAA;AACjD,CAAC,EAFWA,kEAA0D,KAA1DA,kEAA0D,GAErE,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0CAA0C,CAAC,IAAS,EAAA;AAChE,IAAA,OAAO,+CAA+C,CAAC,IAAW,CAAC,CAAC;AACxE,CAAC;AAEe,SAAA,+CAA+C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnG,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,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAGC,+EAA2C,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACrG,QAAA,wBAAwB,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;AAC9G,QAAA,uBAAuB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAC3G,QAAA,wBAAwB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;AAC9G,QAAA,sBAAsB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,sBAAsB,CAAC;AACxG,QAAA,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC;AAC9C,QAAA,uBAAuB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAC3G,QAAA,wBAAwB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;KACjH,CAAC;AACN,CAAC;AAEK,SAAU,wCAAwC,CAAC,KAAiD,EAAA;AACtG,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,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAEE,6EAAyC,CAAC,KAAK,CAAC,IAAI,CAAC;QAC7D,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;QACtD,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;QACtD,sBAAsB,EAAE,KAAK,CAAC,oBAAoB;QAClD,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;QAC5C,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;KACzD,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,89 @@
|
|
|
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 { BusinessAccountRequirementCondition } from './BusinessAccountRequirementCondition';
|
|
13
|
+
/**
|
|
14
|
+
* One approval rule. Requirements are independent constraints and all matching ones apply, so rule order carries no meaning. The enclave is authoritative and rejects any field it does not recognise.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountApprovalRequirement
|
|
17
|
+
*/
|
|
18
|
+
export interface BusinessAccountApprovalRequirement {
|
|
19
|
+
/**
|
|
20
|
+
* Version of the requirement schema, not a revision count.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
23
|
+
*/
|
|
24
|
+
schemaVersion: number;
|
|
25
|
+
/**
|
|
26
|
+
* Stable handle, named in a denial and used to edit the rule.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
29
|
+
*/
|
|
30
|
+
id: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {BusinessAccountRequirementCondition}
|
|
34
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
35
|
+
*/
|
|
36
|
+
when?: BusinessAccountRequirementCondition;
|
|
37
|
+
/**
|
|
38
|
+
* Who may propose. Absent, the capability table applies.
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
41
|
+
*/
|
|
42
|
+
eligibleInitiatorRoles?: Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Who may approve. Absent, owners and admins.
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
47
|
+
*/
|
|
48
|
+
eligibleApproverRoles?: Array<string>;
|
|
49
|
+
/**
|
|
50
|
+
* Roles that must each be represented among the approvers.
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
53
|
+
*/
|
|
54
|
+
mandatoryApproverRoles?: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Extra conditions an approver must satisfy.
|
|
57
|
+
* @type {Array<string>}
|
|
58
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
59
|
+
*/
|
|
60
|
+
approverCapabilities?: Array<BusinessAccountApprovalRequirementApproverCapabilitiesEnum>;
|
|
61
|
+
/**
|
|
62
|
+
* How many approvals are needed, excluding the initiator.
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
65
|
+
*/
|
|
66
|
+
requiredApprovals: number;
|
|
67
|
+
/**
|
|
68
|
+
* How long approvals may be collected, measured from the signed intent. Defaults to 24 hours and is capped at 30 days.
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
71
|
+
*/
|
|
72
|
+
approvalWindowSeconds?: number;
|
|
73
|
+
/**
|
|
74
|
+
* How long a satisfied set stays spendable, measured from the last approval. Absent means no execution deadline.
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof BusinessAccountApprovalRequirement
|
|
77
|
+
*/
|
|
78
|
+
executionWindowSeconds?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @export
|
|
82
|
+
* @enum {string}
|
|
83
|
+
*/
|
|
84
|
+
export declare enum BusinessAccountApprovalRequirementApproverCapabilitiesEnum {
|
|
85
|
+
SignerOnTargetWallet = "signerOnTargetWallet"
|
|
86
|
+
}
|
|
87
|
+
export declare function BusinessAccountApprovalRequirementFromJSON(json: any): BusinessAccountApprovalRequirement;
|
|
88
|
+
export declare function BusinessAccountApprovalRequirementFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountApprovalRequirement;
|
|
89
|
+
export declare function BusinessAccountApprovalRequirementToJSON(value?: BusinessAccountApprovalRequirement | null): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountRequirementConditionFromJSON, BusinessAccountRequirementConditionToJSON } from './BusinessAccountRequirementCondition.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var BusinessAccountApprovalRequirementApproverCapabilitiesEnum;
|
|
10
|
+
(function (BusinessAccountApprovalRequirementApproverCapabilitiesEnum) {
|
|
11
|
+
BusinessAccountApprovalRequirementApproverCapabilitiesEnum["SignerOnTargetWallet"] = "signerOnTargetWallet";
|
|
12
|
+
})(BusinessAccountApprovalRequirementApproverCapabilitiesEnum || (BusinessAccountApprovalRequirementApproverCapabilitiesEnum = {}));
|
|
13
|
+
function BusinessAccountApprovalRequirementFromJSON(json) {
|
|
14
|
+
return BusinessAccountApprovalRequirementFromJSONTyped(json);
|
|
15
|
+
}
|
|
16
|
+
function BusinessAccountApprovalRequirementFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if ((json === undefined) || (json === null)) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
'schemaVersion': json['schemaVersion'],
|
|
22
|
+
'id': json['id'],
|
|
23
|
+
'when': !exists(json, 'when') ? undefined : BusinessAccountRequirementConditionFromJSON(json['when']),
|
|
24
|
+
'eligibleInitiatorRoles': !exists(json, 'eligibleInitiatorRoles') ? undefined : json['eligibleInitiatorRoles'],
|
|
25
|
+
'eligibleApproverRoles': !exists(json, 'eligibleApproverRoles') ? undefined : json['eligibleApproverRoles'],
|
|
26
|
+
'mandatoryApproverRoles': !exists(json, 'mandatoryApproverRoles') ? undefined : json['mandatoryApproverRoles'],
|
|
27
|
+
'approverCapabilities': !exists(json, 'approverCapabilities') ? undefined : json['approverCapabilities'],
|
|
28
|
+
'requiredApprovals': json['requiredApprovals'],
|
|
29
|
+
'approvalWindowSeconds': !exists(json, 'approvalWindowSeconds') ? undefined : json['approvalWindowSeconds'],
|
|
30
|
+
'executionWindowSeconds': !exists(json, 'executionWindowSeconds') ? undefined : json['executionWindowSeconds'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function BusinessAccountApprovalRequirementToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'schemaVersion': value.schemaVersion,
|
|
42
|
+
'id': value.id,
|
|
43
|
+
'when': BusinessAccountRequirementConditionToJSON(value.when),
|
|
44
|
+
'eligibleInitiatorRoles': value.eligibleInitiatorRoles,
|
|
45
|
+
'eligibleApproverRoles': value.eligibleApproverRoles,
|
|
46
|
+
'mandatoryApproverRoles': value.mandatoryApproverRoles,
|
|
47
|
+
'approverCapabilities': value.approverCapabilities,
|
|
48
|
+
'requiredApprovals': value.requiredApprovals,
|
|
49
|
+
'approvalWindowSeconds': value.approvalWindowSeconds,
|
|
50
|
+
'executionWindowSeconds': value.executionWindowSeconds,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export { BusinessAccountApprovalRequirementApproverCapabilitiesEnum, BusinessAccountApprovalRequirementFromJSON, BusinessAccountApprovalRequirementFromJSONTyped, BusinessAccountApprovalRequirementToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountApprovalRequirement.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalRequirement.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AA0FA;;;AAGE;IACU,2DAEX;AAFD,CAAA,UAAY,0DAA0D,EAAA;AAClE,IAAA,0DAAA,CAAA,sBAAA,CAAA,GAAA,sBAA6C,CAAA;AACjD,CAAC,EAFW,0DAA0D,KAA1D,0DAA0D,GAErE,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,0CAA0C,CAAC,IAAS,EAAA;AAChE,IAAA,OAAO,+CAA+C,CAAC,IAAW,CAAC,CAAC;AACxE,CAAC;AAEe,SAAA,+CAA+C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnG,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,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC;QAChB,MAAM,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,2CAA2C,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;AACrG,QAAA,wBAAwB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;AAC9G,QAAA,uBAAuB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAC3G,QAAA,wBAAwB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;AAC9G,QAAA,sBAAsB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,sBAAsB,CAAC;AACxG,QAAA,mBAAmB,EAAE,IAAI,CAAC,mBAAmB,CAAC;AAC9C,QAAA,uBAAuB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,uBAAuB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,uBAAuB,CAAC;AAC3G,QAAA,wBAAwB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,wBAAwB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,wBAAwB,CAAC;KACjH,CAAC;AACN,CAAC;AAEK,SAAU,wCAAwC,CAAC,KAAiD,EAAA;AACtG,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,IAAI,EAAE,KAAK,CAAC,EAAE;AACd,QAAA,MAAM,EAAE,yCAAyC,CAAC,KAAK,CAAC,IAAI,CAAC;QAC7D,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;QACtD,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;QACtD,sBAAsB,EAAE,KAAK,CAAC,oBAAoB;QAClD,mBAAmB,EAAE,KAAK,CAAC,iBAAiB;QAC5C,uBAAuB,EAAE,KAAK,CAAC,qBAAqB;QACpD,wBAAwB,EAAE,KAAK,CAAC,sBAAsB;KACzD,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function BusinessAccountApprovalRequirementStatusFromJSON(json) {
|
|
9
|
+
return BusinessAccountApprovalRequirementStatusFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function BusinessAccountApprovalRequirementStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'action': json['action'],
|
|
17
|
+
'requirementId': json['requirementId'],
|
|
18
|
+
'required': json['required'],
|
|
19
|
+
'approved': json['approved'],
|
|
20
|
+
'satisfied': json['satisfied'],
|
|
21
|
+
'unmetMandatoryRoles': !runtime.exists(json, 'unmetMandatoryRoles') ? undefined : json['unmetMandatoryRoles'],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function BusinessAccountApprovalRequirementStatusToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'action': value.action,
|
|
33
|
+
'requirementId': value.requirementId,
|
|
34
|
+
'required': value.required,
|
|
35
|
+
'approved': value.approved,
|
|
36
|
+
'satisfied': value.satisfied,
|
|
37
|
+
'unmetMandatoryRoles': value.unmetMandatoryRoles,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.BusinessAccountApprovalRequirementStatusFromJSON = BusinessAccountApprovalRequirementStatusFromJSON;
|
|
42
|
+
exports.BusinessAccountApprovalRequirementStatusFromJSONTyped = BusinessAccountApprovalRequirementStatusFromJSONTyped;
|
|
43
|
+
exports.BusinessAccountApprovalRequirementStatusToJSON = BusinessAccountApprovalRequirementStatusToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountApprovalRequirementStatus.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalRequirementStatus.ts"],"sourcesContent":null,"names":["exists"],"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,CAACA,cAAM,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;;;;;;"}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 governance requirement and how close it is to being met. Every matching requirement is reported, not only the unmet ones, so a client can show per-rule progress rather than a rule appearing only once it is short.
|
|
14
|
+
* Computed inside the enclave: eligibility resolves from the signed document, so whether a given approval counts depends on roles that are not readable outside it. A client cannot derive these numbers from the approval list.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountApprovalRequirementStatus
|
|
17
|
+
*/
|
|
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
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof BusinessAccountApprovalRequirementStatus
|
|
29
|
+
*/
|
|
30
|
+
requirementId: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof BusinessAccountApprovalRequirementStatus
|
|
35
|
+
*/
|
|
36
|
+
required: number;
|
|
37
|
+
/**
|
|
38
|
+
* 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.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BusinessAccountApprovalRequirementStatus
|
|
41
|
+
*/
|
|
42
|
+
approved: number;
|
|
43
|
+
/**
|
|
44
|
+
* Authoritative. `approved >= required` is not sufficient: a mandatory approver role with nobody's approval leaves this false with the count already met.
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof BusinessAccountApprovalRequirementStatus
|
|
47
|
+
*/
|
|
48
|
+
satisfied: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Mandatory approver roles still lacking an approval, present only when they are what is holding the requirement back.
|
|
51
|
+
* @type {Array<string>}
|
|
52
|
+
* @memberof BusinessAccountApprovalRequirementStatus
|
|
53
|
+
*/
|
|
54
|
+
unmetMandatoryRoles?: Array<string>;
|
|
55
|
+
}
|
|
56
|
+
export declare function BusinessAccountApprovalRequirementStatusFromJSON(json: any): BusinessAccountApprovalRequirementStatus;
|
|
57
|
+
export declare function BusinessAccountApprovalRequirementStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountApprovalRequirementStatus;
|
|
58
|
+
export declare function BusinessAccountApprovalRequirementStatusToJSON(value?: BusinessAccountApprovalRequirementStatus | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function BusinessAccountApprovalRequirementStatusFromJSON(json) {
|
|
5
|
+
return BusinessAccountApprovalRequirementStatusFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function BusinessAccountApprovalRequirementStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'action': json['action'],
|
|
13
|
+
'requirementId': json['requirementId'],
|
|
14
|
+
'required': json['required'],
|
|
15
|
+
'approved': json['approved'],
|
|
16
|
+
'satisfied': json['satisfied'],
|
|
17
|
+
'unmetMandatoryRoles': !exists(json, 'unmetMandatoryRoles') ? undefined : json['unmetMandatoryRoles'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function BusinessAccountApprovalRequirementStatusToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'action': value.action,
|
|
29
|
+
'requirementId': value.requirementId,
|
|
30
|
+
'required': value.required,
|
|
31
|
+
'approved': value.approved,
|
|
32
|
+
'satisfied': value.satisfied,
|
|
33
|
+
'unmetMandatoryRoles': value.unmetMandatoryRoles,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { BusinessAccountApprovalRequirementStatusFromJSON, BusinessAccountApprovalRequirementStatusFromJSONTyped, BusinessAccountApprovalRequirementStatusToJSON };
|
|
@@ -0,0 +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;;;;"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountApprovalRequirementStatus = require('./BusinessAccountApprovalRequirementStatus.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
/**
|
|
10
|
+
* @export
|
|
11
|
+
* @enum {string}
|
|
12
|
+
*/
|
|
13
|
+
exports.BusinessAccountApprovalsPendingReasonEnum = void 0;
|
|
14
|
+
(function (BusinessAccountApprovalsPendingReasonEnum) {
|
|
15
|
+
BusinessAccountApprovalsPendingReasonEnum["IntentRequired"] = "INTENT_REQUIRED";
|
|
16
|
+
BusinessAccountApprovalsPendingReasonEnum["ApprovalsRequired"] = "APPROVALS_REQUIRED";
|
|
17
|
+
})(exports.BusinessAccountApprovalsPendingReasonEnum || (exports.BusinessAccountApprovalsPendingReasonEnum = {}));
|
|
18
|
+
function BusinessAccountApprovalsPendingFromJSON(json) {
|
|
19
|
+
return BusinessAccountApprovalsPendingFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function BusinessAccountApprovalsPendingFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'reason': json['reason'],
|
|
27
|
+
'intent': json['intent'],
|
|
28
|
+
'message': !runtime.exists(json, 'message') ? undefined : json['message'],
|
|
29
|
+
'proposalId': !runtime.exists(json, 'proposalId') ? undefined : json['proposalId'],
|
|
30
|
+
'approvalRequirements': !runtime.exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(BusinessAccountApprovalRequirementStatus.BusinessAccountApprovalRequirementStatusFromJSON)),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function BusinessAccountApprovalsPendingToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'reason': value.reason,
|
|
42
|
+
'intent': value.intent,
|
|
43
|
+
'message': value.message,
|
|
44
|
+
'proposalId': value.proposalId,
|
|
45
|
+
'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(BusinessAccountApprovalRequirementStatus.BusinessAccountApprovalRequirementStatusToJSON)),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
exports.BusinessAccountApprovalsPendingFromJSON = BusinessAccountApprovalsPendingFromJSON;
|
|
50
|
+
exports.BusinessAccountApprovalsPendingFromJSONTyped = BusinessAccountApprovalsPendingFromJSONTyped;
|
|
51
|
+
exports.BusinessAccountApprovalsPendingToJSON = BusinessAccountApprovalsPendingToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountApprovalsPending.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalsPending.ts"],"sourcesContent":null,"names":["BusinessAccountApprovalsPendingReasonEnum","exists","BusinessAccountApprovalRequirementStatusFromJSON","BusinessAccountApprovalRequirementStatusToJSON"],"mappings":";;;;;;;AAAA;AA8DA;;;AAGE;AACUA,2DAGX;AAHD,CAAA,UAAY,yCAAyC,EAAA;AACjD,IAAA,yCAAA,CAAA,gBAAA,CAAA,GAAA,iBAAkC,CAAA;AAClC,IAAA,yCAAA,CAAA,mBAAA,CAAA,GAAA,oBAAwC,CAAA;AAC5C,CAAC,EAHWA,iDAAyC,KAAzCA,iDAAyC,GAGpD,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,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,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,SAAS,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AACjE,QAAA,YAAY,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,sBAAsB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,GAAG,SAAS,IAAK,IAAI,CAAC,sBAAsB,CAAgB,CAAC,GAAG,CAACC,yFAAgD,CAAC,CAAC;KACnL,CAAC;AACN,CAAC;AAEK,SAAU,qCAAqC,CAAC,KAA8C,EAAA;AAChG,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,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,sBAAsB,EAAE,KAAK,CAAC,oBAAoB,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,oBAAmC,CAAC,GAAG,CAACC,uFAA8C,CAAC,CAAC;KAClL,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { BusinessAccountApprovalRequirementStatus } from './BusinessAccountApprovalRequirementStatus';
|
|
13
|
+
/**
|
|
14
|
+
* The action is governed and has not been authorized yet. Not a refusal: the caller may perform it, they have simply not collected the consent it requires. `INTENT_REQUIRED` means nothing is signed yet — sign `intent` and resend. `APPROVALS_REQUIRED` means the intent is signed and recorded as `proposalId`, and `approvalRequirements` says what each rule still needs.
|
|
15
|
+
* One schema for both, rather than a oneOf, so a generated client has a single type to read `reason` off.
|
|
16
|
+
* @export
|
|
17
|
+
* @interface BusinessAccountApprovalsPending
|
|
18
|
+
*/
|
|
19
|
+
export interface BusinessAccountApprovalsPending {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof BusinessAccountApprovalsPending
|
|
24
|
+
*/
|
|
25
|
+
reason: BusinessAccountApprovalsPendingReasonEnum;
|
|
26
|
+
/**
|
|
27
|
+
* The initiator's proposal, signed with their session key. Built by the API, not the client — sign these exact bytes verbatim, because re-serializing can change them and invalidate the signature.
|
|
28
|
+
* `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
|
|
29
|
+
* @type {{ [key: string]: object; }}
|
|
30
|
+
* @memberof BusinessAccountApprovalsPending
|
|
31
|
+
*/
|
|
32
|
+
intent: {
|
|
33
|
+
[key: string]: object;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Why the action did not apply, ready to show a user. A 202 carries no `error`, so a client rendering only that field would show nothing for the commonest case — executing before the approvals are in.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof BusinessAccountApprovalsPending
|
|
39
|
+
*/
|
|
40
|
+
message?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The proposal collecting approvals. Absent for `INTENT_REQUIRED` — an unsigned intent is not evidence, so no proposal is opened for one.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof BusinessAccountApprovalsPending
|
|
45
|
+
*/
|
|
46
|
+
proposalId?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Set for `APPROVALS_REQUIRED`. Every matching requirement, met or not, so a client can render progress per rule.
|
|
49
|
+
* @type {Array<BusinessAccountApprovalRequirementStatus>}
|
|
50
|
+
* @memberof BusinessAccountApprovalsPending
|
|
51
|
+
*/
|
|
52
|
+
approvalRequirements?: Array<BusinessAccountApprovalRequirementStatus>;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* @export
|
|
56
|
+
* @enum {string}
|
|
57
|
+
*/
|
|
58
|
+
export declare enum BusinessAccountApprovalsPendingReasonEnum {
|
|
59
|
+
IntentRequired = "INTENT_REQUIRED",
|
|
60
|
+
ApprovalsRequired = "APPROVALS_REQUIRED"
|
|
61
|
+
}
|
|
62
|
+
export declare function BusinessAccountApprovalsPendingFromJSON(json: any): BusinessAccountApprovalsPending;
|
|
63
|
+
export declare function BusinessAccountApprovalsPendingFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountApprovalsPending;
|
|
64
|
+
export declare function BusinessAccountApprovalsPendingToJSON(value?: BusinessAccountApprovalsPending | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountApprovalRequirementStatusFromJSON, BusinessAccountApprovalRequirementStatusToJSON } from './BusinessAccountApprovalRequirementStatus.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/**
|
|
6
|
+
* @export
|
|
7
|
+
* @enum {string}
|
|
8
|
+
*/
|
|
9
|
+
var BusinessAccountApprovalsPendingReasonEnum;
|
|
10
|
+
(function (BusinessAccountApprovalsPendingReasonEnum) {
|
|
11
|
+
BusinessAccountApprovalsPendingReasonEnum["IntentRequired"] = "INTENT_REQUIRED";
|
|
12
|
+
BusinessAccountApprovalsPendingReasonEnum["ApprovalsRequired"] = "APPROVALS_REQUIRED";
|
|
13
|
+
})(BusinessAccountApprovalsPendingReasonEnum || (BusinessAccountApprovalsPendingReasonEnum = {}));
|
|
14
|
+
function BusinessAccountApprovalsPendingFromJSON(json) {
|
|
15
|
+
return BusinessAccountApprovalsPendingFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function BusinessAccountApprovalsPendingFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'reason': json['reason'],
|
|
23
|
+
'intent': json['intent'],
|
|
24
|
+
'message': !exists(json, 'message') ? undefined : json['message'],
|
|
25
|
+
'proposalId': !exists(json, 'proposalId') ? undefined : json['proposalId'],
|
|
26
|
+
'approvalRequirements': !exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(BusinessAccountApprovalRequirementStatusFromJSON)),
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function BusinessAccountApprovalsPendingToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'reason': value.reason,
|
|
38
|
+
'intent': value.intent,
|
|
39
|
+
'message': value.message,
|
|
40
|
+
'proposalId': value.proposalId,
|
|
41
|
+
'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(BusinessAccountApprovalRequirementStatusToJSON)),
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { BusinessAccountApprovalsPendingFromJSON, BusinessAccountApprovalsPendingFromJSONTyped, BusinessAccountApprovalsPendingReasonEnum, BusinessAccountApprovalsPendingToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountApprovalsPending.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountApprovalsPending.ts"],"sourcesContent":null,"names":[],"mappings":";;;AAAA;AA8DA;;;AAGE;IACU,0CAGX;AAHD,CAAA,UAAY,yCAAyC,EAAA;AACjD,IAAA,yCAAA,CAAA,gBAAA,CAAA,GAAA,iBAAkC,CAAA;AAClC,IAAA,yCAAA,CAAA,mBAAA,CAAA,GAAA,oBAAwC,CAAA;AAC5C,CAAC,EAHW,yCAAyC,KAAzC,yCAAyC,GAGpD,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,uCAAuC,CAAC,IAAS,EAAA;AAC7D,IAAA,OAAO,4CAA4C,CAAC,IAAW,CAAC,CAAC;AACrE,CAAC;AAEe,SAAA,4CAA4C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChG,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,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,SAAS,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AACjE,QAAA,YAAY,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,YAAY,CAAC;QAC1E,sBAAsB,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,GAAG,SAAS,IAAK,IAAI,CAAC,sBAAsB,CAAgB,CAAC,GAAG,CAAC,gDAAgD,CAAC,CAAC;KACnL,CAAC;AACN,CAAC;AAEK,SAAU,qCAAqC,CAAC,KAA8C,EAAA;AAChG,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,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,sBAAsB,EAAE,KAAK,CAAC,oBAAoB,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,oBAAmC,CAAC,GAAG,CAAC,8CAA8C,CAAC,CAAC;KAClL,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountApprovalRequirementStatus = require('./BusinessAccountApprovalRequirementStatus.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function BusinessAccountForbiddenFromJSON(json) {
|
|
10
|
+
return BusinessAccountForbiddenFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function BusinessAccountForbiddenFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'error': !runtime.exists(json, 'error') ? undefined : json['error'],
|
|
18
|
+
'approvalRequirements': !runtime.exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(BusinessAccountApprovalRequirementStatus.BusinessAccountApprovalRequirementStatusFromJSON)),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function BusinessAccountForbiddenToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'error': value.error,
|
|
30
|
+
'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(BusinessAccountApprovalRequirementStatus.BusinessAccountApprovalRequirementStatusToJSON)),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.BusinessAccountForbiddenFromJSON = BusinessAccountForbiddenFromJSON;
|
|
35
|
+
exports.BusinessAccountForbiddenFromJSONTyped = BusinessAccountForbiddenFromJSONTyped;
|
|
36
|
+
exports.BusinessAccountForbiddenToJSON = BusinessAccountForbiddenToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountForbidden.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountForbidden.ts"],"sourcesContent":null,"names":["exists","BusinessAccountApprovalRequirementStatusFromJSON","BusinessAccountApprovalRequirementStatusToJSON"],"mappings":";;;;;;;AAAA;AAsDM,SAAU,gCAAgC,CAAC,IAAS,EAAA;AACtD,IAAA,OAAO,qCAAqC,CAAC,IAAW,CAAC,CAAC;AAC9D,CAAC;AAEe,SAAA,qCAAqC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACzF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;QAC3D,sBAAsB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,sBAAsB,CAAC,GAAG,SAAS,IAAK,IAAI,CAAC,sBAAsB,CAAgB,CAAC,GAAG,CAACC,yFAAgD,CAAC,CAAC;KACnL,CAAC;AACN,CAAC;AAEK,SAAU,8BAA8B,CAAC,KAAuC,EAAA;AAClF,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,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,sBAAsB,EAAE,KAAK,CAAC,oBAAoB,KAAK,SAAS,GAAG,SAAS,IAAK,KAAK,CAAC,oBAAmC,CAAC,GAAG,CAACC,uFAA8C,CAAC,CAAC;KAClL,CAAC;AACN;;;;;;"}
|