@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,108 @@
|
|
|
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
|
+
import { BusinessAccountGovernedAction } from './BusinessAccountGovernedAction';
|
|
14
|
+
import { BusinessAccountProposalApprovalRecord } from './BusinessAccountProposalApprovalRecord';
|
|
15
|
+
import { BusinessAccountProposalStatus } from './BusinessAccountProposalStatus';
|
|
16
|
+
import { BusinessAccountProposalSubject } from './BusinessAccountProposalSubject';
|
|
17
|
+
/**
|
|
18
|
+
* A governed mutation waiting on consent. Untrusted workflow state: it records what was proposed and who has signed, and the enclave verifies every signature when the proposal is executed. The signature is over `intent` as stored, so an approver must sign these exact bytes — re-deriving the intent would produce a different `intentId` and invalidate the approvals already collected.
|
|
19
|
+
* @export
|
|
20
|
+
* @interface BusinessAccountProposal
|
|
21
|
+
*/
|
|
22
|
+
export interface BusinessAccountProposal {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof BusinessAccountProposal
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof BusinessAccountProposal
|
|
33
|
+
*/
|
|
34
|
+
businessAccountId: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {BusinessAccountGovernedAction}
|
|
38
|
+
* @memberof BusinessAccountProposal
|
|
39
|
+
*/
|
|
40
|
+
actionType: BusinessAccountGovernedAction;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {BusinessAccountProposalStatus}
|
|
44
|
+
* @memberof BusinessAccountProposal
|
|
45
|
+
*/
|
|
46
|
+
status: BusinessAccountProposalStatus;
|
|
47
|
+
/**
|
|
48
|
+
* Who proposed it. They can never approve their own intent, so they are never counted toward a requirement.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof BusinessAccountProposal
|
|
51
|
+
*/
|
|
52
|
+
initiatorUserId: string;
|
|
53
|
+
/**
|
|
54
|
+
* 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.
|
|
55
|
+
* `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
|
|
56
|
+
* @type {{ [key: string]: object; }}
|
|
57
|
+
* @memberof BusinessAccountProposal
|
|
58
|
+
*/
|
|
59
|
+
intent: {
|
|
60
|
+
[key: string]: object;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* The one deadline for the whole proposal, derived from the signed intent's `createdAt`. Past it the proposal accepts no further approvals AND can no longer be executed.
|
|
64
|
+
* @type {Date}
|
|
65
|
+
* @memberof BusinessAccountProposal
|
|
66
|
+
*/
|
|
67
|
+
completeBy: Date;
|
|
68
|
+
/**
|
|
69
|
+
* When it left `pending`; null while still open.
|
|
70
|
+
* @type {Date}
|
|
71
|
+
* @memberof BusinessAccountProposal
|
|
72
|
+
*/
|
|
73
|
+
consumedAt?: Date | null;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @type {Date}
|
|
77
|
+
* @memberof BusinessAccountProposal
|
|
78
|
+
*/
|
|
79
|
+
createdAt: Date;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @type {Array<BusinessAccountProposalApprovalRecord>}
|
|
83
|
+
* @memberof BusinessAccountProposal
|
|
84
|
+
*/
|
|
85
|
+
approvals: Array<BusinessAccountProposalApprovalRecord>;
|
|
86
|
+
/**
|
|
87
|
+
* Whether this applies as soon as its quorum is met, or waits for an explicit execute. A copy of the flag inside the signed intent, which is the authority. An approver needs this to know whether their approval is the one that lands the change.
|
|
88
|
+
* @type {boolean}
|
|
89
|
+
* @memberof BusinessAccountProposal
|
|
90
|
+
*/
|
|
91
|
+
autoExecute?: boolean;
|
|
92
|
+
/**
|
|
93
|
+
* The users this change is about, resolved for display — the member being added, the signer being removed, the new owner. Empty for a change that names no user, such as `setGovernance`.
|
|
94
|
+
* @type {Array<BusinessAccountProposalSubject>}
|
|
95
|
+
* @memberof BusinessAccountProposal
|
|
96
|
+
*/
|
|
97
|
+
subjects?: Array<BusinessAccountProposalSubject>;
|
|
98
|
+
/**
|
|
99
|
+
* Every governance rule matching this proposal, with how close each is. Do NOT derive progress from `approvals` — that counts rows, including approvers outside a rule's pool and approvers demoted since they signed.
|
|
100
|
+
* Absent means the tally is unknown (not fetched, or no longer pending); an empty array means nothing is outstanding. Treat the two differently.
|
|
101
|
+
* @type {Array<BusinessAccountApprovalRequirementStatus>}
|
|
102
|
+
* @memberof BusinessAccountProposal
|
|
103
|
+
*/
|
|
104
|
+
approvalRequirements?: Array<BusinessAccountApprovalRequirementStatus>;
|
|
105
|
+
}
|
|
106
|
+
export declare function BusinessAccountProposalFromJSON(json: any): BusinessAccountProposal;
|
|
107
|
+
export declare function BusinessAccountProposalFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountProposal;
|
|
108
|
+
export declare function BusinessAccountProposalToJSON(value?: BusinessAccountProposal | null): any;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountApprovalRequirementStatusFromJSON, BusinessAccountApprovalRequirementStatusToJSON } from './BusinessAccountApprovalRequirementStatus.js';
|
|
3
|
+
import { BusinessAccountGovernedActionFromJSON, BusinessAccountGovernedActionToJSON } from './BusinessAccountGovernedAction.js';
|
|
4
|
+
import { BusinessAccountProposalApprovalRecordFromJSON, BusinessAccountProposalApprovalRecordToJSON } from './BusinessAccountProposalApprovalRecord.js';
|
|
5
|
+
import { BusinessAccountProposalStatusFromJSON, BusinessAccountProposalStatusToJSON } from './BusinessAccountProposalStatus.js';
|
|
6
|
+
import { BusinessAccountProposalSubjectFromJSON, BusinessAccountProposalSubjectToJSON } from './BusinessAccountProposalSubject.js';
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function BusinessAccountProposalFromJSON(json) {
|
|
10
|
+
return BusinessAccountProposalFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function BusinessAccountProposalFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'id': json['id'],
|
|
18
|
+
'businessAccountId': json['businessAccountId'],
|
|
19
|
+
'actionType': BusinessAccountGovernedActionFromJSON(json['actionType']),
|
|
20
|
+
'status': BusinessAccountProposalStatusFromJSON(json['status']),
|
|
21
|
+
'initiatorUserId': json['initiatorUserId'],
|
|
22
|
+
'intent': json['intent'],
|
|
23
|
+
'completeBy': (new Date(json['completeBy'])),
|
|
24
|
+
'consumedAt': !exists(json, 'consumedAt') ? undefined : (json['consumedAt'] === null ? null : new Date(json['consumedAt'])),
|
|
25
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
26
|
+
'approvals': (json['approvals'].map(BusinessAccountProposalApprovalRecordFromJSON)),
|
|
27
|
+
'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
28
|
+
'subjects': !exists(json, 'subjects') ? undefined : (json['subjects'].map(BusinessAccountProposalSubjectFromJSON)),
|
|
29
|
+
'approvalRequirements': !exists(json, 'approvalRequirements') ? undefined : (json['approvalRequirements'].map(BusinessAccountApprovalRequirementStatusFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function BusinessAccountProposalToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'id': value.id,
|
|
41
|
+
'businessAccountId': value.businessAccountId,
|
|
42
|
+
'actionType': BusinessAccountGovernedActionToJSON(value.actionType),
|
|
43
|
+
'status': BusinessAccountProposalStatusToJSON(value.status),
|
|
44
|
+
'initiatorUserId': value.initiatorUserId,
|
|
45
|
+
'intent': value.intent,
|
|
46
|
+
'completeBy': (value.completeBy.toISOString()),
|
|
47
|
+
'consumedAt': value.consumedAt === undefined ? undefined : (value.consumedAt === null ? null : value.consumedAt.toISOString()),
|
|
48
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
49
|
+
'approvals': (value.approvals.map(BusinessAccountProposalApprovalRecordToJSON)),
|
|
50
|
+
'autoExecute': value.autoExecute,
|
|
51
|
+
'subjects': value.subjects === undefined ? undefined : (value.subjects.map(BusinessAccountProposalSubjectToJSON)),
|
|
52
|
+
'approvalRequirements': value.approvalRequirements === undefined ? undefined : (value.approvalRequirements.map(BusinessAccountApprovalRequirementStatusToJSON)),
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export { BusinessAccountProposalFromJSON, BusinessAccountProposalFromJSONTyped, BusinessAccountProposalToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountProposal.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountProposal.ts"],"sourcesContent":null,"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function BusinessAccountProposalApprovalRecordFromJSON(json) {
|
|
9
|
+
return BusinessAccountProposalApprovalRecordFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function BusinessAccountProposalApprovalRecordFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'approverUserId': json['approverUserId'],
|
|
17
|
+
'approvedAt': (new Date(json['approvedAt'])),
|
|
18
|
+
'revokedAt': !runtime.exists(json, 'revokedAt') ? undefined : (json['revokedAt'] === null ? null : new Date(json['revokedAt'])),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function BusinessAccountProposalApprovalRecordToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'approverUserId': value.approverUserId,
|
|
30
|
+
'approvedAt': (value.approvedAt.toISOString()),
|
|
31
|
+
'revokedAt': value.revokedAt === undefined ? undefined : (value.revokedAt === null ? null : value.revokedAt.toISOString()),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.BusinessAccountProposalApprovalRecordFromJSON = BusinessAccountProposalApprovalRecordFromJSON;
|
|
36
|
+
exports.BusinessAccountProposalApprovalRecordFromJSONTyped = BusinessAccountProposalApprovalRecordFromJSONTyped;
|
|
37
|
+
exports.BusinessAccountProposalApprovalRecordToJSON = BusinessAccountProposalApprovalRecordToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountProposalApprovalRecord.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountProposalApprovalRecord.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAyCM,SAAU,6CAA6C,CAAC,IAAS,EAAA;AACnE,IAAA,OAAO,kDAAkD,CAAC,IAAW,CAAC,CAAC;AAC3E,CAAC;AAEe,SAAA,kDAAkD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACtG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACxC,YAAY,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;AAC5C,QAAA,WAAW,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;KAC1H,CAAC;AACN,CAAC;AAEK,SAAU,2CAA2C,CAAC,KAAoD,EAAA;AAC5G,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,gBAAgB,EAAE,KAAK,CAAC,cAAc;QACtC,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;AAC9C,QAAA,WAAW,EAAE,KAAK,CAAC,SAAS,KAAK,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC,SAAS,KAAK,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;KAC7H,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
|
+
* One approver's recorded consent. Withdrawing sets `revokedAt` rather than deleting the row, so a change of mind stays auditable — a revoked approval is not forwarded to the enclave and does not count toward a requirement.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BusinessAccountProposalApprovalRecord
|
|
16
|
+
*/
|
|
17
|
+
export interface BusinessAccountProposalApprovalRecord {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BusinessAccountProposalApprovalRecord
|
|
22
|
+
*/
|
|
23
|
+
approverUserId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The approver's own signed timestamp, stored as given.
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof BusinessAccountProposalApprovalRecord
|
|
28
|
+
*/
|
|
29
|
+
approvedAt: Date;
|
|
30
|
+
/**
|
|
31
|
+
* Set when the approver withdrew; null while the consent counts.
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof BusinessAccountProposalApprovalRecord
|
|
34
|
+
*/
|
|
35
|
+
revokedAt?: Date | null;
|
|
36
|
+
}
|
|
37
|
+
export declare function BusinessAccountProposalApprovalRecordFromJSON(json: any): BusinessAccountProposalApprovalRecord;
|
|
38
|
+
export declare function BusinessAccountProposalApprovalRecordFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountProposalApprovalRecord;
|
|
39
|
+
export declare function BusinessAccountProposalApprovalRecordToJSON(value?: BusinessAccountProposalApprovalRecord | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function BusinessAccountProposalApprovalRecordFromJSON(json) {
|
|
5
|
+
return BusinessAccountProposalApprovalRecordFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function BusinessAccountProposalApprovalRecordFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'approverUserId': json['approverUserId'],
|
|
13
|
+
'approvedAt': (new Date(json['approvedAt'])),
|
|
14
|
+
'revokedAt': !exists(json, 'revokedAt') ? undefined : (json['revokedAt'] === null ? null : new Date(json['revokedAt'])),
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function BusinessAccountProposalApprovalRecordToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'approverUserId': value.approverUserId,
|
|
26
|
+
'approvedAt': (value.approvedAt.toISOString()),
|
|
27
|
+
'revokedAt': value.revokedAt === undefined ? undefined : (value.revokedAt === null ? null : value.revokedAt.toISOString()),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { BusinessAccountProposalApprovalRecordFromJSON, BusinessAccountProposalApprovalRecordFromJSONTyped, BusinessAccountProposalApprovalRecordToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountProposalApprovalRecord.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountProposalApprovalRecord.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAyCM,SAAU,6CAA6C,CAAC,IAAS,EAAA;AACnE,IAAA,OAAO,kDAAkD,CAAC,IAAW,CAAC,CAAC;AAC3E,CAAC;AAEe,SAAA,kDAAkD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACtG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,CAAC;QACxC,YAAY,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;AAC5C,QAAA,WAAW,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,IAAI,GAAG,IAAI,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;KAC1H,CAAC;AACN,CAAC;AAEK,SAAU,2CAA2C,CAAC,KAAoD,EAAA;AAC5G,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,gBAAgB,EAAE,KAAK,CAAC,cAAc;QACtC,YAAY,GAAG,KAAK,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;AAC9C,QAAA,WAAW,EAAE,KAAK,CAAC,SAAS,KAAK,SAAS,GAAG,SAAS,IAAI,KAAK,CAAC,SAAS,KAAK,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC;KAC7H,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
/**
|
|
8
|
+
* Dashboard API
|
|
9
|
+
* Dashboard API documentation
|
|
10
|
+
*
|
|
11
|
+
* The version of the OpenAPI document: 1.0.0
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
15
|
+
* https://openapi-generator.tech
|
|
16
|
+
* Do not edit the class manually.
|
|
17
|
+
*/
|
|
18
|
+
/**
|
|
19
|
+
* Lifecycle of a governed mutation awaiting approvals. Only `pending` accepts approvals; the other three are terminal.
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.BusinessAccountProposalStatus = void 0;
|
|
24
|
+
(function (BusinessAccountProposalStatus) {
|
|
25
|
+
BusinessAccountProposalStatus["Pending"] = "pending";
|
|
26
|
+
BusinessAccountProposalStatus["Executed"] = "executed";
|
|
27
|
+
BusinessAccountProposalStatus["Vetoed"] = "vetoed";
|
|
28
|
+
BusinessAccountProposalStatus["Expired"] = "expired";
|
|
29
|
+
})(exports.BusinessAccountProposalStatus || (exports.BusinessAccountProposalStatus = {}));
|
|
30
|
+
function BusinessAccountProposalStatusFromJSON(json) {
|
|
31
|
+
return BusinessAccountProposalStatusFromJSONTyped(json);
|
|
32
|
+
}
|
|
33
|
+
function BusinessAccountProposalStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
function BusinessAccountProposalStatusToJSON(value) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
exports.BusinessAccountProposalStatusFromJSON = BusinessAccountProposalStatusFromJSON;
|
|
41
|
+
exports.BusinessAccountProposalStatusFromJSONTyped = BusinessAccountProposalStatusFromJSONTyped;
|
|
42
|
+
exports.BusinessAccountProposalStatusToJSON = BusinessAccountProposalStatusToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountProposalStatus.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountProposalStatus.ts"],"sourcesContent":null,"names":["BusinessAccountProposalStatus"],"mappings":";;;;AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;AACSA,+CAKX;AALD,CAAA,UAAY,6BAA6B,EAAA;AACrC,IAAA,6BAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,6BAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,6BAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,6BAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EALWA,qCAA6B,KAA7BA,qCAA6B,GAKxC,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,qCAAqC,CAAC,IAAS,EAAA;AAC3D,IAAA,OAAO,0CAA0C,CAAC,IAAW,CAAC,CAAC;AACnE,CAAC;AAEe,SAAA,0CAA0C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC9F,IAAA,OAAO,IAAqC,CAAC;AACjD,CAAC;AAEK,SAAU,mCAAmC,CAAC,KAA4C,EAAA;AAC5F,IAAA,OAAO,KAAY,CAAC;AACxB;;;;;;"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
* Lifecycle of a governed mutation awaiting approvals. Only `pending` accepts approvals; the other three are terminal.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum BusinessAccountProposalStatus {
|
|
18
|
+
Pending = "pending",
|
|
19
|
+
Executed = "executed",
|
|
20
|
+
Vetoed = "vetoed",
|
|
21
|
+
Expired = "expired"
|
|
22
|
+
}
|
|
23
|
+
export declare function BusinessAccountProposalStatusFromJSON(json: any): BusinessAccountProposalStatus;
|
|
24
|
+
export declare function BusinessAccountProposalStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountProposalStatus;
|
|
25
|
+
export declare function BusinessAccountProposalStatusToJSON(value?: BusinessAccountProposalStatus | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Dashboard API
|
|
5
|
+
* Dashboard API documentation
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Lifecycle of a governed mutation awaiting approvals. Only `pending` accepts approvals; the other three are terminal.
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var BusinessAccountProposalStatus;
|
|
20
|
+
(function (BusinessAccountProposalStatus) {
|
|
21
|
+
BusinessAccountProposalStatus["Pending"] = "pending";
|
|
22
|
+
BusinessAccountProposalStatus["Executed"] = "executed";
|
|
23
|
+
BusinessAccountProposalStatus["Vetoed"] = "vetoed";
|
|
24
|
+
BusinessAccountProposalStatus["Expired"] = "expired";
|
|
25
|
+
})(BusinessAccountProposalStatus || (BusinessAccountProposalStatus = {}));
|
|
26
|
+
function BusinessAccountProposalStatusFromJSON(json) {
|
|
27
|
+
return BusinessAccountProposalStatusFromJSONTyped(json);
|
|
28
|
+
}
|
|
29
|
+
function BusinessAccountProposalStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
function BusinessAccountProposalStatusToJSON(value) {
|
|
33
|
+
return value;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { BusinessAccountProposalStatus, BusinessAccountProposalStatusFromJSON, BusinessAccountProposalStatusFromJSONTyped, BusinessAccountProposalStatusToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountProposalStatus.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountProposalStatus.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAEH;;;;AAIG;IACS,8BAKX;AALD,CAAA,UAAY,6BAA6B,EAAA;AACrC,IAAA,6BAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACnB,IAAA,6BAAA,CAAA,UAAA,CAAA,GAAA,UAAqB,CAAA;AACrB,IAAA,6BAAA,CAAA,QAAA,CAAA,GAAA,QAAiB,CAAA;AACjB,IAAA,6BAAA,CAAA,SAAA,CAAA,GAAA,SAAmB,CAAA;AACvB,CAAC,EALW,6BAA6B,KAA7B,6BAA6B,GAKxC,EAAA,CAAA,CAAA,CAAA;AAEK,SAAU,qCAAqC,CAAC,IAAS,EAAA;AAC3D,IAAA,OAAO,0CAA0C,CAAC,IAAW,CAAC,CAAC;AACnE,CAAC;AAEe,SAAA,0CAA0C,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC9F,IAAA,OAAO,IAAqC,CAAC;AACjD,CAAC;AAEK,SAAU,mCAAmC,CAAC,KAA4C,EAAA;AAC5F,IAAA,OAAO,KAAY,CAAC;AACxB;;;;"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function BusinessAccountProposalSubjectFromJSON(json) {
|
|
9
|
+
return BusinessAccountProposalSubjectFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function BusinessAccountProposalSubjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'userId': json['userId'],
|
|
17
|
+
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function BusinessAccountProposalSubjectToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'userId': value.userId,
|
|
29
|
+
'email': value.email,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.BusinessAccountProposalSubjectFromJSON = BusinessAccountProposalSubjectFromJSON;
|
|
34
|
+
exports.BusinessAccountProposalSubjectFromJSONTyped = BusinessAccountProposalSubjectFromJSONTyped;
|
|
35
|
+
exports.BusinessAccountProposalSubjectToJSON = BusinessAccountProposalSubjectToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountProposalSubject.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountProposalSubject.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AAmCM,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,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,OAAO,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;KAC9D,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,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* A user the proposed change is about, resolved for display. An approver is consenting to a change that names people by id, so without this they cannot see who they are approving. Derived at read time, never signed — the authority for what will be applied is `intent`.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BusinessAccountProposalSubject
|
|
16
|
+
*/
|
|
17
|
+
export interface BusinessAccountProposalSubject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BusinessAccountProposalSubject
|
|
22
|
+
*/
|
|
23
|
+
userId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Their oldest verified email, null when they have none or are not yet a member of this environment.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BusinessAccountProposalSubject
|
|
28
|
+
*/
|
|
29
|
+
email?: string | null;
|
|
30
|
+
}
|
|
31
|
+
export declare function BusinessAccountProposalSubjectFromJSON(json: any): BusinessAccountProposalSubject;
|
|
32
|
+
export declare function BusinessAccountProposalSubjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountProposalSubject;
|
|
33
|
+
export declare function BusinessAccountProposalSubjectToJSON(value?: BusinessAccountProposalSubject | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function BusinessAccountProposalSubjectFromJSON(json) {
|
|
5
|
+
return BusinessAccountProposalSubjectFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function BusinessAccountProposalSubjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'userId': json['userId'],
|
|
13
|
+
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function BusinessAccountProposalSubjectToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'userId': value.userId,
|
|
25
|
+
'email': value.email,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { BusinessAccountProposalSubjectFromJSON, BusinessAccountProposalSubjectFromJSONTyped, BusinessAccountProposalSubjectToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountProposalSubject.js","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountProposalSubject.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAmCM,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,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,OAAO,CAAC;KAC9D,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,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,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 BusinessAccountRequirementConditionFromJSON(json) {
|
|
9
|
+
return BusinessAccountRequirementConditionFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function BusinessAccountRequirementConditionFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'role': !runtime.exists(json, 'role') ? undefined : json['role'],
|
|
17
|
+
'newRole': !runtime.exists(json, 'newRole') ? undefined : json['newRole'],
|
|
18
|
+
'walletIds': !runtime.exists(json, 'walletIds') ? undefined : json['walletIds'],
|
|
19
|
+
'targetUserIds': !runtime.exists(json, 'targetUserIds') ? undefined : json['targetUserIds'],
|
|
20
|
+
'initiatorRoles': !runtime.exists(json, 'initiatorRoles') ? undefined : json['initiatorRoles'],
|
|
21
|
+
'initiatorUserIds': !runtime.exists(json, 'initiatorUserIds') ? undefined : json['initiatorUserIds'],
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function BusinessAccountRequirementConditionToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'role': value.role,
|
|
33
|
+
'newRole': value.newRole,
|
|
34
|
+
'walletIds': value.walletIds,
|
|
35
|
+
'targetUserIds': value.targetUserIds,
|
|
36
|
+
'initiatorRoles': value.initiatorRoles,
|
|
37
|
+
'initiatorUserIds': value.initiatorUserIds,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.BusinessAccountRequirementConditionFromJSON = BusinessAccountRequirementConditionFromJSON;
|
|
42
|
+
exports.BusinessAccountRequirementConditionFromJSONTyped = BusinessAccountRequirementConditionFromJSONTyped;
|
|
43
|
+
exports.BusinessAccountRequirementConditionToJSON = BusinessAccountRequirementConditionToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BusinessAccountRequirementCondition.cjs","sources":["../../../../../libs/sdk-api-core/src/models/BusinessAccountRequirementCondition.ts"],"sourcesContent":null,"names":["exists"],"mappings":";;;;;;AAAA;AA2DM,SAAU,2CAA2C,CAAC,IAAS,EAAA;AACjE,IAAA,OAAO,gDAAgD,CAAC,IAAW,CAAC,CAAC;AACzE,CAAC;AAEe,SAAA,gDAAgD,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACpG,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,MAAM,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC;AACxD,QAAA,SAAS,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,SAAS,CAAC;AACjE,QAAA,WAAW,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;AACvE,QAAA,eAAe,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,eAAe,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,eAAe,CAAC;AACnF,QAAA,gBAAgB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,gBAAgB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,gBAAgB,CAAC;AACtF,QAAA,kBAAkB,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,kBAAkB,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,kBAAkB,CAAC;KAC/F,CAAC;AACN,CAAC;AAEK,SAAU,yCAAyC,CAAC,KAAkD,EAAA;AACxG,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,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,SAAS,EAAE,KAAK,CAAC,OAAO;QACxB,WAAW,EAAE,KAAK,CAAC,SAAS;QAC5B,eAAe,EAAE,KAAK,CAAC,aAAa;QACpC,gBAAgB,EAAE,KAAK,CAAC,cAAc;QACtC,kBAAkB,EAAE,KAAK,CAAC,gBAAgB;KAC7C,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
* Narrows when a requirement applies. Every field must match, and a field the change does not carry never matches.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BusinessAccountRequirementCondition
|
|
16
|
+
*/
|
|
17
|
+
export interface BusinessAccountRequirementCondition {
|
|
18
|
+
/**
|
|
19
|
+
* Matches the role being granted, through inheritance.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BusinessAccountRequirementCondition
|
|
22
|
+
*/
|
|
23
|
+
role?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Matches the role being moved to, through inheritance.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BusinessAccountRequirementCondition
|
|
28
|
+
*/
|
|
29
|
+
newRole?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Matches the wallet the change targets.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof BusinessAccountRequirementCondition
|
|
34
|
+
*/
|
|
35
|
+
walletIds?: Array<string>;
|
|
36
|
+
/**
|
|
37
|
+
* Matches the user the change targets.
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof BusinessAccountRequirementCondition
|
|
40
|
+
*/
|
|
41
|
+
targetUserIds?: Array<string>;
|
|
42
|
+
/**
|
|
43
|
+
* Matches the role the caller holds.
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof BusinessAccountRequirementCondition
|
|
46
|
+
*/
|
|
47
|
+
initiatorRoles?: Array<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Matches the caller.
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof BusinessAccountRequirementCondition
|
|
52
|
+
*/
|
|
53
|
+
initiatorUserIds?: Array<string>;
|
|
54
|
+
}
|
|
55
|
+
export declare function BusinessAccountRequirementConditionFromJSON(json: any): BusinessAccountRequirementCondition;
|
|
56
|
+
export declare function BusinessAccountRequirementConditionFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountRequirementCondition;
|
|
57
|
+
export declare function BusinessAccountRequirementConditionToJSON(value?: BusinessAccountRequirementCondition | null): any;
|