@dynamic-labs/sdk-api 0.33.0 → 0.34.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/AdminActionsApi.cjs +6 -0
- package/src/apis/AdminActionsApi.js +6 -0
- package/src/apis/AllowlistsApi.cjs +6 -0
- package/src/apis/AllowlistsApi.js +6 -0
- package/src/apis/AnalyticsApi.cjs +6 -0
- package/src/apis/AnalyticsApi.js +6 -0
- package/src/apis/AuthorizedClientsApi.cjs +6 -0
- package/src/apis/AuthorizedClientsApi.js +6 -0
- package/src/apis/BusinessAccountsApi.cjs +6 -0
- package/src/apis/BusinessAccountsApi.js +6 -0
- package/src/apis/CaptchaApi.cjs +6 -0
- package/src/apis/CaptchaApi.js +6 -0
- package/src/apis/ChainalysisApi.cjs +6 -0
- package/src/apis/ChainalysisApi.js +6 -0
- package/src/apis/ChainsApi.cjs +6 -0
- package/src/apis/ChainsApi.js +6 -0
- package/src/apis/CheckoutApi.cjs +6 -0
- package/src/apis/CheckoutApi.js +6 -0
- package/src/apis/ClientGrantApi.cjs +6 -0
- package/src/apis/ClientGrantApi.js +6 -0
- package/src/apis/CustomFieldsApi.cjs +6 -0
- package/src/apis/CustomFieldsApi.js +6 -0
- package/src/apis/CustomHostnamesApi.cjs +6 -0
- package/src/apis/CustomHostnamesApi.js +6 -0
- package/src/apis/CustomNetworksApi.cjs +6 -0
- package/src/apis/CustomNetworksApi.js +6 -0
- package/src/apis/DeeplinkUrlsApi.cjs +6 -0
- package/src/apis/DeeplinkUrlsApi.js +6 -0
- package/src/apis/EnvironmentsApi.cjs +6 -0
- package/src/apis/EnvironmentsApi.js +6 -0
- package/src/apis/EventsApi.cjs +6 -0
- package/src/apis/EventsApi.js +6 -0
- package/src/apis/ExchangesApi.cjs +6 -0
- package/src/apis/ExchangesApi.js +6 -0
- package/src/apis/ExportsApi.cjs +6 -0
- package/src/apis/ExportsApi.js +6 -0
- package/src/apis/ExternalJwtApi.cjs +6 -0
- package/src/apis/ExternalJwtApi.js +6 -0
- package/src/apis/FlowAnalyticsApi.cjs +6 -0
- package/src/apis/FlowAnalyticsApi.js +6 -0
- package/src/apis/GaslessApi.cjs +6 -0
- package/src/apis/GaslessApi.js +6 -0
- package/src/apis/GatesApi.cjs +6 -0
- package/src/apis/GatesApi.js +6 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +6 -0
- package/src/apis/GlobalWalletAccessControlApi.js +6 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +6 -0
- package/src/apis/GlobalWalletConnectionsApi.js +6 -0
- package/src/apis/GlobalWalletsApi.cjs +6 -0
- package/src/apis/GlobalWalletsApi.js +6 -0
- package/src/apis/InvitesApi.cjs +6 -0
- package/src/apis/InvitesApi.js +6 -0
- package/src/apis/KybApi.cjs +6 -0
- package/src/apis/KybApi.js +6 -0
- package/src/apis/MembersApi.cjs +6 -0
- package/src/apis/MembersApi.js +6 -0
- package/src/apis/MfaSettingsApi.cjs +6 -0
- package/src/apis/MfaSettingsApi.js +6 -0
- package/src/apis/NameServicesApi.cjs +6 -0
- package/src/apis/NameServicesApi.js +6 -0
- package/src/apis/OrganizationSettingsApi.cjs +6 -0
- package/src/apis/OrganizationSettingsApi.js +6 -0
- package/src/apis/OrganizationsApi.cjs +6 -0
- package/src/apis/OrganizationsApi.js +6 -0
- package/src/apis/OriginsApi.cjs +6 -0
- package/src/apis/OriginsApi.js +6 -0
- package/src/apis/ProjectsApi.cjs +6 -0
- package/src/apis/ProjectsApi.js +6 -0
- package/src/apis/ProvidersApi.cjs +6 -0
- package/src/apis/ProvidersApi.js +6 -0
- package/src/apis/SDKApi.cjs +739 -4
- package/src/apis/SDKApi.d.ts +298 -5
- package/src/apis/SDKApi.js +739 -4
- package/src/apis/SDKViewsApi.cjs +6 -0
- package/src/apis/SDKViewsApi.js +6 -0
- package/src/apis/ScreeningPoliciesApi.cjs +6 -0
- package/src/apis/ScreeningPoliciesApi.js +6 -0
- package/src/apis/ServerApi.cjs +6 -0
- package/src/apis/ServerApi.js +6 -0
- package/src/apis/SessionsApi.cjs +6 -0
- package/src/apis/SessionsApi.js +6 -0
- package/src/apis/TestAccountApi.cjs +6 -0
- package/src/apis/TestAccountApi.js +6 -0
- package/src/apis/TokensApi.cjs +6 -0
- package/src/apis/TokensApi.js +6 -0
- package/src/apis/UserApiTokensApi.cjs +6 -0
- package/src/apis/UserApiTokensApi.js +6 -0
- package/src/apis/UsersApi.cjs +6 -0
- package/src/apis/UsersApi.js +6 -0
- package/src/apis/VisitsApi.cjs +6 -0
- package/src/apis/VisitsApi.js +6 -0
- package/src/apis/WaasApi.cjs +6 -0
- package/src/apis/WaasApi.js +6 -0
- package/src/apis/WalletConnectApi.cjs +6 -0
- package/src/apis/WalletConnectApi.js +6 -0
- package/src/apis/WalletsApi.cjs +6 -0
- package/src/apis/WalletsApi.js +6 -0
- package/src/apis/WebhooksApi.cjs +6 -0
- package/src/apis/WebhooksApi.js +6 -0
- package/src/apis/YieldApi.cjs +6 -0
- package/src/apis/YieldApi.js +6 -0
- package/src/apis/ZendeskApi.cjs +6 -0
- package/src/apis/ZendeskApi.js +6 -0
- package/src/index.cjs +116 -0
- package/src/index.js +23 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs +6 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.d.ts +21 -0
- package/src/models/AddBusinessAccountMemberSdkRequest.js +6 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.cjs +45 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.d.ts +33 -0
- package/src/models/ApproveBusinessAccountProposalSdkRequest.js +39 -0
- package/src/models/BusinessAccountApprovalRequirement.cjs +60 -0
- package/src/models/BusinessAccountApprovalRequirement.d.ts +89 -0
- package/src/models/BusinessAccountApprovalRequirement.js +54 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.cjs +43 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.d.ts +58 -0
- package/src/models/BusinessAccountApprovalRequirementStatus.js +37 -0
- package/src/models/BusinessAccountApprovalsPending.cjs +51 -0
- package/src/models/BusinessAccountApprovalsPending.d.ts +64 -0
- package/src/models/BusinessAccountApprovalsPending.js +45 -0
- package/src/models/BusinessAccountForbidden.cjs +36 -0
- package/src/models/BusinessAccountForbidden.d.ts +34 -0
- package/src/models/BusinessAccountForbidden.js +30 -0
- package/src/models/BusinessAccountForbiddenAllOf.cjs +34 -0
- package/src/models/BusinessAccountForbiddenAllOf.d.ts +28 -0
- package/src/models/BusinessAccountForbiddenAllOf.js +28 -0
- package/src/models/BusinessAccountGovernanceResponse.cjs +43 -0
- package/src/models/BusinessAccountGovernanceResponse.d.ts +30 -0
- package/src/models/BusinessAccountGovernanceResponse.js +37 -0
- package/src/models/BusinessAccountGovernedAction.cjs +50 -0
- package/src/models/BusinessAccountGovernedAction.d.ts +33 -0
- package/src/models/BusinessAccountGovernedAction.js +44 -0
- package/src/models/BusinessAccountMutationVersion.cjs +43 -0
- package/src/models/BusinessAccountMutationVersion.d.ts +27 -0
- package/src/models/BusinessAccountMutationVersion.js +37 -0
- package/src/models/BusinessAccountProposal.cjs +62 -0
- package/src/models/BusinessAccountProposal.d.ts +108 -0
- package/src/models/BusinessAccountProposal.js +56 -0
- package/src/models/BusinessAccountProposalApprovalRecord.cjs +37 -0
- package/src/models/BusinessAccountProposalApprovalRecord.d.ts +39 -0
- package/src/models/BusinessAccountProposalApprovalRecord.js +31 -0
- package/src/models/BusinessAccountProposalStatus.cjs +42 -0
- package/src/models/BusinessAccountProposalStatus.d.ts +25 -0
- package/src/models/BusinessAccountProposalStatus.js +36 -0
- package/src/models/BusinessAccountProposalSubject.cjs +35 -0
- package/src/models/BusinessAccountProposalSubject.d.ts +33 -0
- package/src/models/BusinessAccountProposalSubject.js +29 -0
- package/src/models/BusinessAccountRequirementCondition.cjs +43 -0
- package/src/models/BusinessAccountRequirementCondition.d.ts +57 -0
- package/src/models/BusinessAccountRequirementCondition.js +37 -0
- package/src/models/BusinessAccountRoleDefinition.cjs +52 -0
- package/src/models/BusinessAccountRoleDefinition.d.ts +35 -0
- package/src/models/BusinessAccountRoleDefinition.js +46 -0
- package/src/models/BusinessAccountRolesResponse.cjs +34 -0
- package/src/models/BusinessAccountRolesResponse.d.ts +30 -0
- package/src/models/BusinessAccountRolesResponse.js +28 -0
- package/src/models/BusinessAccountSigningRefused.cjs +37 -0
- package/src/models/BusinessAccountSigningRefused.d.ts +39 -0
- package/src/models/BusinessAccountSigningRefused.js +31 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.cjs +50 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.d.ts +62 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.js +44 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.cjs +37 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.d.ts +42 -0
- package/src/models/DeleteBusinessAccountRoleSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountSignerSdkRequest.js +31 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.cjs +37 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.d.ts +42 -0
- package/src/models/RemoveBusinessAccountWalletSdkRequest.js +31 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.cjs +39 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.d.ts +51 -0
- package/src/models/SetBusinessAccountGovernanceSdkRequest.js +33 -0
- package/src/models/TokenScope.cjs +8 -0
- package/src/models/TokenScope.d.ts +8 -0
- package/src/models/TokenScope.js +8 -0
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.cjs +8 -12
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.d.ts +21 -0
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.js +8 -12
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs +7 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.d.ts +21 -0
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js +7 -0
- package/src/models/index.d.ts +23 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function RemoveBusinessAccountWalletSdkRequestFromJSON(json) {
|
|
5
|
+
return RemoveBusinessAccountWalletSdkRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function RemoveBusinessAccountWalletSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
13
|
+
'intent': !exists(json, 'intent') ? undefined : json['intent'],
|
|
14
|
+
'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function RemoveBusinessAccountWalletSdkRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'autoExecute': value.autoExecute,
|
|
26
|
+
'intent': value.intent,
|
|
27
|
+
'intentSignature': value.intentSignature,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { RemoveBusinessAccountWalletSdkRequestFromJSON, RemoveBusinessAccountWalletSdkRequestFromJSONTyped, RemoveBusinessAccountWalletSdkRequestToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function SetBusinessAccountGovernanceSdkRequestFromJSON(json) {
|
|
9
|
+
return SetBusinessAccountGovernanceSdkRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SetBusinessAccountGovernanceSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'governance': json['governance'],
|
|
17
|
+
'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
18
|
+
'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
|
|
19
|
+
'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function SetBusinessAccountGovernanceSdkRequestToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'governance': value.governance,
|
|
31
|
+
'autoExecute': value.autoExecute,
|
|
32
|
+
'intent': value.intent,
|
|
33
|
+
'intentSignature': value.intentSignature,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.SetBusinessAccountGovernanceSdkRequestFromJSON = SetBusinessAccountGovernanceSdkRequestFromJSON;
|
|
38
|
+
exports.SetBusinessAccountGovernanceSdkRequestFromJSONTyped = SetBusinessAccountGovernanceSdkRequestFromJSONTyped;
|
|
39
|
+
exports.SetBusinessAccountGovernanceSdkRequestToJSON = SetBusinessAccountGovernanceSdkRequestToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { BusinessAccountApprovalRequirement } from './BusinessAccountApprovalRequirement';
|
|
13
|
+
/**
|
|
14
|
+
* SDK setGovernance body. Replaces the whole section, so an absent governance field is refused rather than read as a request to delete every requirement — send an empty object to clear.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SetBusinessAccountGovernanceSdkRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface SetBusinessAccountGovernanceSdkRequest {
|
|
19
|
+
/**
|
|
20
|
+
* Approval requirements keyed by governed action. Replaced wholesale, so a caller changing one action must send the others back unchanged.
|
|
21
|
+
* @type {{ [key: string]: Array<BusinessAccountApprovalRequirement>; }}
|
|
22
|
+
* @memberof SetBusinessAccountGovernanceSdkRequest
|
|
23
|
+
*/
|
|
24
|
+
governance: {
|
|
25
|
+
[key: string]: Array<BusinessAccountApprovalRequirement>;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
|
|
29
|
+
* @type {boolean}
|
|
30
|
+
* @memberof SetBusinessAccountGovernanceSdkRequest
|
|
31
|
+
*/
|
|
32
|
+
autoExecute?: boolean;
|
|
33
|
+
/**
|
|
34
|
+
* 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.
|
|
35
|
+
* `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
|
|
36
|
+
* @type {{ [key: string]: object; }}
|
|
37
|
+
* @memberof SetBusinessAccountGovernanceSdkRequest
|
|
38
|
+
*/
|
|
39
|
+
intent?: {
|
|
40
|
+
[key: string]: object;
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SetBusinessAccountGovernanceSdkRequest
|
|
46
|
+
*/
|
|
47
|
+
intentSignature?: string;
|
|
48
|
+
}
|
|
49
|
+
export declare function SetBusinessAccountGovernanceSdkRequestFromJSON(json: any): SetBusinessAccountGovernanceSdkRequest;
|
|
50
|
+
export declare function SetBusinessAccountGovernanceSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SetBusinessAccountGovernanceSdkRequest;
|
|
51
|
+
export declare function SetBusinessAccountGovernanceSdkRequestToJSON(value?: SetBusinessAccountGovernanceSdkRequest | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SetBusinessAccountGovernanceSdkRequestFromJSON(json) {
|
|
5
|
+
return SetBusinessAccountGovernanceSdkRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SetBusinessAccountGovernanceSdkRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'governance': json['governance'],
|
|
13
|
+
'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
14
|
+
'intent': !exists(json, 'intent') ? undefined : json['intent'],
|
|
15
|
+
'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function SetBusinessAccountGovernanceSdkRequestToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'governance': value.governance,
|
|
27
|
+
'autoExecute': value.autoExecute,
|
|
28
|
+
'intent': value.intent,
|
|
29
|
+
'intentSignature': value.intentSignature,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { SetBusinessAccountGovernanceSdkRequestFromJSON, SetBusinessAccountGovernanceSdkRequestFromJSONTyped, SetBusinessAccountGovernanceSdkRequestToJSON };
|
|
@@ -22,13 +22,19 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
22
22
|
*/
|
|
23
23
|
exports.TokenScope = void 0;
|
|
24
24
|
(function (TokenScope) {
|
|
25
|
+
TokenScope["BusinessAccountgovernanceupdate"] = "business_account:governance:update";
|
|
25
26
|
TokenScope["BusinessAccountlinkWallet"] = "business_account:link_wallet";
|
|
26
27
|
TokenScope["BusinessAccountmemberadd"] = "business_account:member:add";
|
|
27
28
|
TokenScope["BusinessAccountmemberremove"] = "business_account:member:remove";
|
|
28
29
|
TokenScope["BusinessAccountmemberroleupdate"] = "business_account:member:role:update";
|
|
30
|
+
TokenScope["BusinessAccountproposalapprove"] = "business_account:proposal:approve";
|
|
31
|
+
TokenScope["BusinessAccountproposalveto"] = "business_account:proposal:veto";
|
|
32
|
+
TokenScope["BusinessAccountroledefine"] = "business_account:role:define";
|
|
33
|
+
TokenScope["BusinessAccountroledelete"] = "business_account:role:delete";
|
|
29
34
|
TokenScope["BusinessAccountsigneradd"] = "business_account:signer:add";
|
|
30
35
|
TokenScope["BusinessAccountsignerremove"] = "business_account:signer:remove";
|
|
31
36
|
TokenScope["BusinessAccounttransferOwnership"] = "business_account:transfer_ownership";
|
|
37
|
+
TokenScope["BusinessAccountwalletcreate"] = "business_account:wallet:create";
|
|
32
38
|
TokenScope["BusinessAccountwalletremove"] = "business_account:wallet:remove";
|
|
33
39
|
TokenScope["ConsoleadminActionreview"] = "console:admin_action:review";
|
|
34
40
|
TokenScope["ConsoleapprovalWorkflowupdate"] = "console:approval_workflow:update";
|
|
@@ -45,6 +51,8 @@ exports.TokenScope = void 0;
|
|
|
45
51
|
TokenScope["Userdelete"] = "user:delete";
|
|
46
52
|
TokenScope["Walletexport"] = "wallet:export";
|
|
47
53
|
TokenScope["Walletdelete"] = "wallet:delete";
|
|
54
|
+
TokenScope["Walletrefresh"] = "wallet:refresh";
|
|
55
|
+
TokenScope["Walletreshare"] = "wallet:reshare";
|
|
48
56
|
TokenScope["Walletdelegate"] = "wallet:delegate";
|
|
49
57
|
TokenScope["Walletsign"] = "wallet:sign";
|
|
50
58
|
TokenScope["Walletrestore"] = "wallet:restore";
|
|
@@ -15,13 +15,19 @@
|
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
17
17
|
export declare enum TokenScope {
|
|
18
|
+
BusinessAccountgovernanceupdate = "business_account:governance:update",
|
|
18
19
|
BusinessAccountlinkWallet = "business_account:link_wallet",
|
|
19
20
|
BusinessAccountmemberadd = "business_account:member:add",
|
|
20
21
|
BusinessAccountmemberremove = "business_account:member:remove",
|
|
21
22
|
BusinessAccountmemberroleupdate = "business_account:member:role:update",
|
|
23
|
+
BusinessAccountproposalapprove = "business_account:proposal:approve",
|
|
24
|
+
BusinessAccountproposalveto = "business_account:proposal:veto",
|
|
25
|
+
BusinessAccountroledefine = "business_account:role:define",
|
|
26
|
+
BusinessAccountroledelete = "business_account:role:delete",
|
|
22
27
|
BusinessAccountsigneradd = "business_account:signer:add",
|
|
23
28
|
BusinessAccountsignerremove = "business_account:signer:remove",
|
|
24
29
|
BusinessAccounttransferOwnership = "business_account:transfer_ownership",
|
|
30
|
+
BusinessAccountwalletcreate = "business_account:wallet:create",
|
|
25
31
|
BusinessAccountwalletremove = "business_account:wallet:remove",
|
|
26
32
|
ConsoleadminActionreview = "console:admin_action:review",
|
|
27
33
|
ConsoleapprovalWorkflowupdate = "console:approval_workflow:update",
|
|
@@ -38,6 +44,8 @@ export declare enum TokenScope {
|
|
|
38
44
|
Userdelete = "user:delete",
|
|
39
45
|
Walletexport = "wallet:export",
|
|
40
46
|
Walletdelete = "wallet:delete",
|
|
47
|
+
Walletrefresh = "wallet:refresh",
|
|
48
|
+
Walletreshare = "wallet:reshare",
|
|
41
49
|
Walletdelegate = "wallet:delegate",
|
|
42
50
|
Walletsign = "wallet:sign",
|
|
43
51
|
Walletrestore = "wallet:restore"
|
package/src/models/TokenScope.js
CHANGED
|
@@ -18,13 +18,19 @@
|
|
|
18
18
|
*/
|
|
19
19
|
var TokenScope;
|
|
20
20
|
(function (TokenScope) {
|
|
21
|
+
TokenScope["BusinessAccountgovernanceupdate"] = "business_account:governance:update";
|
|
21
22
|
TokenScope["BusinessAccountlinkWallet"] = "business_account:link_wallet";
|
|
22
23
|
TokenScope["BusinessAccountmemberadd"] = "business_account:member:add";
|
|
23
24
|
TokenScope["BusinessAccountmemberremove"] = "business_account:member:remove";
|
|
24
25
|
TokenScope["BusinessAccountmemberroleupdate"] = "business_account:member:role:update";
|
|
26
|
+
TokenScope["BusinessAccountproposalapprove"] = "business_account:proposal:approve";
|
|
27
|
+
TokenScope["BusinessAccountproposalveto"] = "business_account:proposal:veto";
|
|
28
|
+
TokenScope["BusinessAccountroledefine"] = "business_account:role:define";
|
|
29
|
+
TokenScope["BusinessAccountroledelete"] = "business_account:role:delete";
|
|
25
30
|
TokenScope["BusinessAccountsigneradd"] = "business_account:signer:add";
|
|
26
31
|
TokenScope["BusinessAccountsignerremove"] = "business_account:signer:remove";
|
|
27
32
|
TokenScope["BusinessAccounttransferOwnership"] = "business_account:transfer_ownership";
|
|
33
|
+
TokenScope["BusinessAccountwalletcreate"] = "business_account:wallet:create";
|
|
28
34
|
TokenScope["BusinessAccountwalletremove"] = "business_account:wallet:remove";
|
|
29
35
|
TokenScope["ConsoleadminActionreview"] = "console:admin_action:review";
|
|
30
36
|
TokenScope["ConsoleapprovalWorkflowupdate"] = "console:approval_workflow:update";
|
|
@@ -41,6 +47,8 @@ var TokenScope;
|
|
|
41
47
|
TokenScope["Userdelete"] = "user:delete";
|
|
42
48
|
TokenScope["Walletexport"] = "wallet:export";
|
|
43
49
|
TokenScope["Walletdelete"] = "wallet:delete";
|
|
50
|
+
TokenScope["Walletrefresh"] = "wallet:refresh";
|
|
51
|
+
TokenScope["Walletreshare"] = "wallet:reshare";
|
|
44
52
|
TokenScope["Walletdelegate"] = "wallet:delegate";
|
|
45
53
|
TokenScope["Walletsign"] = "wallet:sign";
|
|
46
54
|
TokenScope["Walletrestore"] = "wallet:restore";
|
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* 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
8
|
function TransferBusinessAccountOwnershipSdkRequestFromJSON(json) {
|
|
19
9
|
return TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,6 +14,9 @@ function TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json, ignoreDis
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'newOwnerUserId': json['newOwnerUserId'],
|
|
17
|
+
'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
18
|
+
'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
|
|
19
|
+
'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
27
20
|
};
|
|
28
21
|
}
|
|
29
22
|
function TransferBusinessAccountOwnershipSdkRequestToJSON(value) {
|
|
@@ -35,6 +28,9 @@ function TransferBusinessAccountOwnershipSdkRequestToJSON(value) {
|
|
|
35
28
|
}
|
|
36
29
|
return {
|
|
37
30
|
'newOwnerUserId': value.newOwnerUserId,
|
|
31
|
+
'autoExecute': value.autoExecute,
|
|
32
|
+
'intent': value.intent,
|
|
33
|
+
'intentSignature': value.intentSignature,
|
|
38
34
|
};
|
|
39
35
|
}
|
|
40
36
|
|
|
@@ -21,6 +21,27 @@ export interface TransferBusinessAccountOwnershipSdkRequest {
|
|
|
21
21
|
* @memberof TransferBusinessAccountOwnershipSdkRequest
|
|
22
22
|
*/
|
|
23
23
|
newOwnerUserId: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof TransferBusinessAccountOwnershipSdkRequest
|
|
28
|
+
*/
|
|
29
|
+
autoExecute?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
* `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
|
|
33
|
+
* @type {{ [key: string]: object; }}
|
|
34
|
+
* @memberof TransferBusinessAccountOwnershipSdkRequest
|
|
35
|
+
*/
|
|
36
|
+
intent?: {
|
|
37
|
+
[key: string]: object;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {string}
|
|
42
|
+
* @memberof TransferBusinessAccountOwnershipSdkRequest
|
|
43
|
+
*/
|
|
44
|
+
intentSignature?: string;
|
|
24
45
|
}
|
|
25
46
|
export declare function TransferBusinessAccountOwnershipSdkRequestFromJSON(json: any): TransferBusinessAccountOwnershipSdkRequest;
|
|
26
47
|
export declare function TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransferBusinessAccountOwnershipSdkRequest;
|
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* 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
4
|
function TransferBusinessAccountOwnershipSdkRequestFromJSON(json) {
|
|
15
5
|
return TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,6 +10,9 @@ function TransferBusinessAccountOwnershipSdkRequestFromJSONTyped(json, ignoreDis
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'newOwnerUserId': json['newOwnerUserId'],
|
|
13
|
+
'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
14
|
+
'intent': !exists(json, 'intent') ? undefined : json['intent'],
|
|
15
|
+
'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
23
16
|
};
|
|
24
17
|
}
|
|
25
18
|
function TransferBusinessAccountOwnershipSdkRequestToJSON(value) {
|
|
@@ -31,6 +24,9 @@ function TransferBusinessAccountOwnershipSdkRequestToJSON(value) {
|
|
|
31
24
|
}
|
|
32
25
|
return {
|
|
33
26
|
'newOwnerUserId': value.newOwnerUserId,
|
|
27
|
+
'autoExecute': value.autoExecute,
|
|
28
|
+
'intent': value.intent,
|
|
29
|
+
'intentSignature': value.intentSignature,
|
|
34
30
|
};
|
|
35
31
|
}
|
|
36
32
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
5
6
|
var AssignableBusinessAccountMemberRole = require('./AssignableBusinessAccountMemberRole.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
@@ -14,6 +15,9 @@ function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json, ignoreDisc
|
|
|
14
15
|
}
|
|
15
16
|
return {
|
|
16
17
|
'role': AssignableBusinessAccountMemberRole.AssignableBusinessAccountMemberRoleFromJSON(json['role']),
|
|
18
|
+
'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
19
|
+
'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
|
|
20
|
+
'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
17
21
|
};
|
|
18
22
|
}
|
|
19
23
|
function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
@@ -25,6 +29,9 @@ function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
|
25
29
|
}
|
|
26
30
|
return {
|
|
27
31
|
'role': AssignableBusinessAccountMemberRole.AssignableBusinessAccountMemberRoleToJSON(value.role),
|
|
32
|
+
'autoExecute': value.autoExecute,
|
|
33
|
+
'intent': value.intent,
|
|
34
|
+
'intentSignature': value.intentSignature,
|
|
28
35
|
};
|
|
29
36
|
}
|
|
30
37
|
|
|
@@ -22,6 +22,27 @@ export interface UpdateBusinessAccountMemberRoleSdkRequest {
|
|
|
22
22
|
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
23
23
|
*/
|
|
24
24
|
role: AssignableBusinessAccountMemberRole;
|
|
25
|
+
/**
|
|
26
|
+
* Whether the change applies the moment its quorum is met, or waits for an explicit execute. Read only on the first call, where it is stamped into the intent you sign; after that the signed intent is the authority. Defaults to true, because a change holding all its consent while waiting for a button press tends to be forgotten, and the deadline covers execution too.
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
29
|
+
*/
|
|
30
|
+
autoExecute?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
* `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
|
|
34
|
+
* @type {{ [key: string]: object; }}
|
|
35
|
+
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
36
|
+
*/
|
|
37
|
+
intent?: {
|
|
38
|
+
[key: string]: object;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
44
|
+
*/
|
|
45
|
+
intentSignature?: string;
|
|
25
46
|
}
|
|
26
47
|
export declare function UpdateBusinessAccountMemberRoleSdkRequestFromJSON(json: any): UpdateBusinessAccountMemberRoleSdkRequest;
|
|
27
48
|
export declare function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateBusinessAccountMemberRoleSdkRequest;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
1
2
|
import { AssignableBusinessAccountMemberRoleFromJSON, AssignableBusinessAccountMemberRoleToJSON } from './AssignableBusinessAccountMemberRole.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
@@ -10,6 +11,9 @@ function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json, ignoreDisc
|
|
|
10
11
|
}
|
|
11
12
|
return {
|
|
12
13
|
'role': AssignableBusinessAccountMemberRoleFromJSON(json['role']),
|
|
14
|
+
'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
15
|
+
'intent': !exists(json, 'intent') ? undefined : json['intent'],
|
|
16
|
+
'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
13
17
|
};
|
|
14
18
|
}
|
|
15
19
|
function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
@@ -21,6 +25,9 @@ function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
|
21
25
|
}
|
|
22
26
|
return {
|
|
23
27
|
'role': AssignableBusinessAccountMemberRoleToJSON(value.role),
|
|
28
|
+
'autoExecute': value.autoExecute,
|
|
29
|
+
'intent': value.intent,
|
|
30
|
+
'intentSignature': value.intentSignature,
|
|
24
31
|
};
|
|
25
32
|
}
|
|
26
33
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export * from './AnalyticsToplineResponseWallets';
|
|
|
44
44
|
export * from './AnalyticsVisitResponse';
|
|
45
45
|
export * from './AnalyticsWalletsResponse';
|
|
46
46
|
export * from './AnalyticsWalletsResponseBreakdown';
|
|
47
|
+
export * from './ApproveBusinessAccountProposalSdkRequest';
|
|
47
48
|
export * from './Asset';
|
|
48
49
|
export * from './AssetDiff';
|
|
49
50
|
export * from './AssetExposure';
|
|
@@ -87,14 +88,30 @@ export * from './BusinessAccountActivityEntry';
|
|
|
87
88
|
export * from './BusinessAccountActivityResponse';
|
|
88
89
|
export * from './BusinessAccountAdminDetail';
|
|
89
90
|
export * from './BusinessAccountAdminDetailAllOf';
|
|
91
|
+
export * from './BusinessAccountApprovalRequirement';
|
|
92
|
+
export * from './BusinessAccountApprovalRequirementStatus';
|
|
93
|
+
export * from './BusinessAccountApprovalsPending';
|
|
90
94
|
export * from './BusinessAccountDetail';
|
|
91
95
|
export * from './BusinessAccountDetailAllOf';
|
|
96
|
+
export * from './BusinessAccountForbidden';
|
|
97
|
+
export * from './BusinessAccountForbiddenAllOf';
|
|
98
|
+
export * from './BusinessAccountGovernanceResponse';
|
|
99
|
+
export * from './BusinessAccountGovernedAction';
|
|
92
100
|
export * from './BusinessAccountList';
|
|
93
101
|
export * from './BusinessAccountMember';
|
|
94
102
|
export * from './BusinessAccountMemberRole';
|
|
103
|
+
export * from './BusinessAccountMutationVersion';
|
|
95
104
|
export * from './BusinessAccountProperties';
|
|
105
|
+
export * from './BusinessAccountProposal';
|
|
106
|
+
export * from './BusinessAccountProposalApprovalRecord';
|
|
107
|
+
export * from './BusinessAccountProposalStatus';
|
|
108
|
+
export * from './BusinessAccountProposalSubject';
|
|
109
|
+
export * from './BusinessAccountRequirementCondition';
|
|
110
|
+
export * from './BusinessAccountRoleDefinition';
|
|
111
|
+
export * from './BusinessAccountRolesResponse';
|
|
96
112
|
export * from './BusinessAccountSigner';
|
|
97
113
|
export * from './BusinessAccountSignerType';
|
|
114
|
+
export * from './BusinessAccountSigningRefused';
|
|
98
115
|
export * from './BusinessAccountSummary';
|
|
99
116
|
export * from './BusinessAccountSummaryAllOf';
|
|
100
117
|
export * from './BusinessAccountWallet';
|
|
@@ -189,6 +206,7 @@ export * from './CustomNetworkResponse';
|
|
|
189
206
|
export * from './CustomNetworkResponseCustomNetwork';
|
|
190
207
|
export * from './DeeplinkUrlResponse';
|
|
191
208
|
export * from './DeeplinkUrlsResponse';
|
|
209
|
+
export * from './DefineBusinessAccountRoleSdkRequest';
|
|
192
210
|
export * from './DelegateOwnershipRequest';
|
|
193
211
|
export * from './DelegatedAccessEncryptionPublicKey';
|
|
194
212
|
export * from './DelegatedAccessEncryptionPublicKeyResponse';
|
|
@@ -198,6 +216,7 @@ export * from './DelegatedAccessWalletApiKey';
|
|
|
198
216
|
export * from './DelegatedShareDeliveryRequest';
|
|
199
217
|
export * from './DelegatedShareDeliveryRequestEncryptedDelegatedShare';
|
|
200
218
|
export * from './DelegatedShareDeliveryResponse';
|
|
219
|
+
export * from './DeleteBusinessAccountRoleSdkRequest';
|
|
201
220
|
export * from './DeleteDeviceRegistrationResponse';
|
|
202
221
|
export * from './DeleteEmbeddedWalletsRequest';
|
|
203
222
|
export * from './DeleteUserPasskeyRequest';
|
|
@@ -611,6 +630,9 @@ export * from './RefreshKeySharesRequest';
|
|
|
611
630
|
export * from './RefreshKeySharesResponse';
|
|
612
631
|
export * from './RegisterEmbeddedWalletSessionKeyResponse';
|
|
613
632
|
export * from './RegisterSessionKeyRequest';
|
|
633
|
+
export * from './RemoveBusinessAccountMemberSdkRequest';
|
|
634
|
+
export * from './RemoveBusinessAccountSignerSdkRequest';
|
|
635
|
+
export * from './RemoveBusinessAccountWalletSdkRequest';
|
|
614
636
|
export * from './ReshareKind';
|
|
615
637
|
export * from './ReshareRequest';
|
|
616
638
|
export * from './ResidentKeyRequirement';
|
|
@@ -666,6 +688,7 @@ export * from './Session';
|
|
|
666
688
|
export * from './SessionsHeatmapResult';
|
|
667
689
|
export * from './SessionsResponse';
|
|
668
690
|
export * from './SessionsTrendResult';
|
|
691
|
+
export * from './SetBusinessAccountGovernanceSdkRequest';
|
|
669
692
|
export * from './SettlementConfigInput';
|
|
670
693
|
export * from './SettlementStrategyEnum';
|
|
671
694
|
export * from './SignAleoRequestWithWaasRequest';
|