@dynamic-labs/sdk-api 0.37.0 → 0.39.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 +2 -2
- package/src/apis/AdminActionsApi.js +2 -2
- package/src/apis/AllowlistsApi.cjs +2 -2
- package/src/apis/AllowlistsApi.js +2 -2
- package/src/apis/AnalyticsApi.cjs +2 -2
- package/src/apis/AnalyticsApi.js +2 -2
- package/src/apis/AuthorizedClientsApi.cjs +2 -2
- package/src/apis/AuthorizedClientsApi.js +2 -2
- package/src/apis/BusinessAccountsApi.cjs +2 -2
- package/src/apis/BusinessAccountsApi.js +2 -2
- package/src/apis/CaptchaApi.cjs +2 -2
- package/src/apis/CaptchaApi.js +2 -2
- package/src/apis/ChainalysisApi.cjs +2 -2
- package/src/apis/ChainalysisApi.js +2 -2
- package/src/apis/ChainsApi.cjs +2 -2
- package/src/apis/ChainsApi.js +2 -2
- package/src/apis/CheckoutApi.cjs +2 -2
- package/src/apis/CheckoutApi.js +2 -2
- package/src/apis/ClientGrantApi.cjs +2 -2
- package/src/apis/ClientGrantApi.js +2 -2
- package/src/apis/CustomFieldsApi.cjs +2 -2
- package/src/apis/CustomFieldsApi.js +2 -2
- package/src/apis/CustomHostnamesApi.cjs +2 -2
- package/src/apis/CustomHostnamesApi.js +2 -2
- package/src/apis/CustomNetworksApi.cjs +2 -2
- package/src/apis/CustomNetworksApi.js +2 -2
- package/src/apis/DeeplinkUrlsApi.cjs +2 -2
- package/src/apis/DeeplinkUrlsApi.js +2 -2
- package/src/apis/EnvironmentsApi.cjs +2 -2
- package/src/apis/EnvironmentsApi.js +2 -2
- package/src/apis/EventsApi.cjs +2 -2
- package/src/apis/EventsApi.js +2 -2
- package/src/apis/ExchangesApi.cjs +2 -2
- package/src/apis/ExchangesApi.js +2 -2
- package/src/apis/ExportsApi.cjs +2 -2
- package/src/apis/ExportsApi.js +2 -2
- package/src/apis/ExternalJwtApi.cjs +2 -2
- package/src/apis/ExternalJwtApi.js +2 -2
- package/src/apis/FlowAnalyticsApi.cjs +2 -2
- package/src/apis/FlowAnalyticsApi.js +2 -2
- package/src/apis/GaslessApi.cjs +2 -2
- package/src/apis/GaslessApi.js +2 -2
- package/src/apis/GatesApi.cjs +2 -2
- package/src/apis/GatesApi.js +2 -2
- package/src/apis/GlobalWalletAccessControlApi.cjs +2 -2
- package/src/apis/GlobalWalletAccessControlApi.js +2 -2
- package/src/apis/GlobalWalletConnectionsApi.cjs +2 -2
- package/src/apis/GlobalWalletConnectionsApi.js +2 -2
- package/src/apis/GlobalWalletsApi.cjs +2 -2
- package/src/apis/GlobalWalletsApi.js +2 -2
- package/src/apis/InvitesApi.cjs +2 -2
- package/src/apis/InvitesApi.js +2 -2
- package/src/apis/KybApi.cjs +2 -2
- package/src/apis/KybApi.js +2 -2
- package/src/apis/MembersApi.cjs +2 -2
- package/src/apis/MembersApi.js +2 -2
- package/src/apis/MfaSettingsApi.cjs +2 -2
- package/src/apis/MfaSettingsApi.js +2 -2
- package/src/apis/NameServicesApi.cjs +2 -2
- package/src/apis/NameServicesApi.js +2 -2
- package/src/apis/OrganizationSettingsApi.cjs +2 -2
- package/src/apis/OrganizationSettingsApi.js +2 -2
- package/src/apis/OrganizationsApi.cjs +2 -2
- package/src/apis/OrganizationsApi.js +2 -2
- package/src/apis/OriginsApi.cjs +2 -2
- package/src/apis/OriginsApi.js +2 -2
- package/src/apis/ProjectsApi.cjs +2 -2
- package/src/apis/ProjectsApi.js +2 -2
- package/src/apis/ProvidersApi.cjs +2 -2
- package/src/apis/ProvidersApi.js +2 -2
- package/src/apis/SDKApi.cjs +5 -5
- package/src/apis/SDKApi.d.ts +4 -4
- package/src/apis/SDKApi.js +5 -5
- package/src/apis/SDKViewsApi.cjs +2 -2
- package/src/apis/SDKViewsApi.js +2 -2
- package/src/apis/ScreeningPoliciesApi.cjs +2 -2
- package/src/apis/ScreeningPoliciesApi.js +2 -2
- package/src/apis/ServerApi.cjs +2 -2
- package/src/apis/ServerApi.js +2 -2
- package/src/apis/SessionsApi.cjs +2 -2
- package/src/apis/SessionsApi.js +2 -2
- package/src/apis/TestAccountApi.cjs +2 -2
- package/src/apis/TestAccountApi.js +2 -2
- package/src/apis/TokensApi.cjs +2 -2
- package/src/apis/TokensApi.js +2 -2
- package/src/apis/UserApiTokensApi.cjs +2 -2
- package/src/apis/UserApiTokensApi.js +2 -2
- package/src/apis/UsersApi.cjs +2 -2
- package/src/apis/UsersApi.js +2 -2
- package/src/apis/VisitsApi.cjs +2 -2
- package/src/apis/VisitsApi.js +2 -2
- package/src/apis/WaasApi.cjs +2 -2
- package/src/apis/WaasApi.js +2 -2
- package/src/apis/WalletConnectApi.cjs +2 -2
- package/src/apis/WalletConnectApi.js +2 -2
- package/src/apis/WalletsApi.cjs +2 -2
- package/src/apis/WalletsApi.js +2 -2
- package/src/apis/WebhooksApi.cjs +2 -2
- package/src/apis/WebhooksApi.js +2 -2
- package/src/apis/YieldApi.cjs +2 -2
- package/src/apis/YieldApi.js +2 -2
- package/src/apis/ZendeskApi.cjs +2 -2
- package/src/apis/ZendeskApi.js +2 -2
- package/src/models/AddBusinessAccountMemberSdkRequest.cjs +2 -3
- package/src/models/AddBusinessAccountMemberSdkRequest.d.ts +7 -5
- package/src/models/AddBusinessAccountMemberSdkRequest.js +2 -3
- package/src/models/ApproveBusinessAccountProposalSdkRequest.d.ts +2 -1
- package/src/models/AssignableBusinessAccountMemberRole.cjs +1 -1
- package/src/models/AssignableBusinessAccountMemberRole.d.ts +1 -1
- package/src/models/AssignableBusinessAccountMemberRole.js +1 -1
- package/src/models/BusinessAccountMember.cjs +2 -3
- package/src/models/BusinessAccountMember.d.ts +3 -4
- package/src/models/BusinessAccountMember.js +2 -3
- package/src/models/BusinessAccountProperties.cjs +2 -3
- package/src/models/BusinessAccountProperties.d.ts +3 -4
- package/src/models/BusinessAccountProperties.js +2 -3
- package/src/models/CustomHostnameUsageEnum.cjs +1 -0
- package/src/models/CustomHostnameUsageEnum.d.ts +2 -1
- package/src/models/CustomHostnameUsageEnum.js +1 -0
- package/src/models/DefineBusinessAccountRoleSdkRequest.d.ts +2 -1
- package/src/models/DeleteBusinessAccountRoleSdkRequest.d.ts +2 -1
- package/src/models/LinkBusinessAccountWalletSdkRequest.cjs +6 -0
- package/src/models/LinkBusinessAccountWalletSdkRequest.d.ts +22 -0
- package/src/models/LinkBusinessAccountWalletSdkRequest.js +6 -0
- package/src/models/RemoveBusinessAccountMemberSdkRequest.d.ts +2 -1
- package/src/models/RemoveBusinessAccountSignerSdkRequest.d.ts +2 -1
- package/src/models/RemoveBusinessAccountWalletSdkRequest.d.ts +2 -1
- package/src/models/SetBusinessAccountGovernanceSdkRequest.d.ts +2 -1
- package/src/models/TransferBusinessAccountOwnershipSdkRequest.d.ts +2 -1
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.cjs +2 -3
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.d.ts +8 -6
- package/src/models/UpdateBusinessAccountMemberRoleSdkRequest.js +2 -3
|
@@ -27,6 +27,28 @@ export interface LinkBusinessAccountWalletSdkRequest {
|
|
|
27
27
|
* @memberof LinkBusinessAccountWalletSdkRequest
|
|
28
28
|
*/
|
|
29
29
|
businessAccountId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* 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.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof LinkBusinessAccountWalletSdkRequest
|
|
34
|
+
*/
|
|
35
|
+
autoExecute?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* 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.
|
|
38
|
+
* `autoExecute` is inside the signed bytes, so an approver consents to it and nothing can flip it afterwards.
|
|
39
|
+
* @type {{ [key: string]: object; }}
|
|
40
|
+
* @memberof LinkBusinessAccountWalletSdkRequest
|
|
41
|
+
*/
|
|
42
|
+
intent?: {
|
|
43
|
+
[key: string]: object;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
47
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof LinkBusinessAccountWalletSdkRequest
|
|
50
|
+
*/
|
|
51
|
+
intentSignature?: string;
|
|
30
52
|
}
|
|
31
53
|
export declare function LinkBusinessAccountWalletSdkRequestFromJSON(json: any): LinkBusinessAccountWalletSdkRequest;
|
|
32
54
|
export declare function LinkBusinessAccountWalletSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): LinkBusinessAccountWalletSdkRequest;
|
|
@@ -11,6 +11,9 @@ function LinkBusinessAccountWalletSdkRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
11
11
|
return {
|
|
12
12
|
'walletId': json['walletId'],
|
|
13
13
|
'businessAccountId': !exists(json, 'businessAccountId') ? undefined : json['businessAccountId'],
|
|
14
|
+
'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
15
|
+
'intent': !exists(json, 'intent') ? undefined : json['intent'],
|
|
16
|
+
'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
14
17
|
};
|
|
15
18
|
}
|
|
16
19
|
function LinkBusinessAccountWalletSdkRequestToJSON(value) {
|
|
@@ -23,6 +26,9 @@ function LinkBusinessAccountWalletSdkRequestToJSON(value) {
|
|
|
23
26
|
return {
|
|
24
27
|
'walletId': value.walletId,
|
|
25
28
|
'businessAccountId': value.businessAccountId,
|
|
29
|
+
'autoExecute': value.autoExecute,
|
|
30
|
+
'intent': value.intent,
|
|
31
|
+
'intentSignature': value.intentSignature,
|
|
26
32
|
};
|
|
27
33
|
}
|
|
28
34
|
|
|
@@ -31,7 +31,8 @@ export interface RemoveBusinessAccountMemberSdkRequest {
|
|
|
31
31
|
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
35
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
35
36
|
* @type {string}
|
|
36
37
|
* @memberof RemoveBusinessAccountMemberSdkRequest
|
|
37
38
|
*/
|
|
@@ -31,7 +31,8 @@ export interface RemoveBusinessAccountSignerSdkRequest {
|
|
|
31
31
|
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
35
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
35
36
|
* @type {string}
|
|
36
37
|
* @memberof RemoveBusinessAccountSignerSdkRequest
|
|
37
38
|
*/
|
|
@@ -31,7 +31,8 @@ export interface RemoveBusinessAccountWalletSdkRequest {
|
|
|
31
31
|
[key: string]: object;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
35
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
35
36
|
* @type {string}
|
|
36
37
|
* @memberof RemoveBusinessAccountWalletSdkRequest
|
|
37
38
|
*/
|
|
@@ -40,7 +40,8 @@ export interface SetBusinessAccountGovernanceSdkRequest {
|
|
|
40
40
|
[key: string]: object;
|
|
41
41
|
};
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
44
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
44
45
|
* @type {string}
|
|
45
46
|
* @memberof SetBusinessAccountGovernanceSdkRequest
|
|
46
47
|
*/
|
|
@@ -37,7 +37,8 @@ export interface TransferBusinessAccountOwnershipSdkRequest {
|
|
|
37
37
|
[key: string]: object;
|
|
38
38
|
};
|
|
39
39
|
/**
|
|
40
|
-
*
|
|
40
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
41
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
41
42
|
* @type {string}
|
|
42
43
|
* @memberof TransferBusinessAccountOwnershipSdkRequest
|
|
43
44
|
*/
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
-
var AssignableBusinessAccountMemberRole = require('./AssignableBusinessAccountMemberRole.cjs');
|
|
7
6
|
|
|
8
7
|
/* tslint:disable */
|
|
9
8
|
function UpdateBusinessAccountMemberRoleSdkRequestFromJSON(json) {
|
|
@@ -14,7 +13,7 @@ function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json, ignoreDisc
|
|
|
14
13
|
return json;
|
|
15
14
|
}
|
|
16
15
|
return {
|
|
17
|
-
'role':
|
|
16
|
+
'role': json['role'],
|
|
18
17
|
'autoExecute': !runtime.exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
19
18
|
'intent': !runtime.exists(json, 'intent') ? undefined : json['intent'],
|
|
20
19
|
'intentSignature': !runtime.exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
@@ -28,7 +27,7 @@ function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
|
28
27
|
return null;
|
|
29
28
|
}
|
|
30
29
|
return {
|
|
31
|
-
'role':
|
|
30
|
+
'role': value.role,
|
|
32
31
|
'autoExecute': value.autoExecute,
|
|
33
32
|
'intent': value.intent,
|
|
34
33
|
'intentSignature': value.intentSignature,
|
|
@@ -9,19 +9,20 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AssignableBusinessAccountMemberRole } from './AssignableBusinessAccountMemberRole';
|
|
13
12
|
/**
|
|
14
|
-
* SDK updateMemberRole body. Changes a member's role
|
|
13
|
+
* SDK updateMemberRole body. Changes a member's role to any role the account defines — a built-in (`admin`, `viewer`) or a customer-defined one, and between two customer-defined ones. Owner is never a target — ownership moves via transferOwnership.
|
|
15
14
|
* @export
|
|
16
15
|
* @interface UpdateBusinessAccountMemberRoleSdkRequest
|
|
17
16
|
*/
|
|
18
17
|
export interface UpdateBusinessAccountMemberRoleSdkRequest {
|
|
19
18
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
19
|
+
* A role that can be directly assigned to a member: a built-in (`admin`, `viewer`) or a customer-defined role the account has defined. `owner` is excluded — ownership moves only via transferOwnership.
|
|
20
|
+
* Not an enum, because the set is per-account: a caller can grant any role from GET /roles. Whether the role exists is the enclave's to answer, not this schema's — the pattern only rejects names that could never be one. A role the account has not defined is refused with UNKNOWN_ROLE.
|
|
21
|
+
* A customer-defined role grants exactly what it inherits, so `cfo inherits admin` is an admin with a distinguishable name.
|
|
22
|
+
* @type {string}
|
|
22
23
|
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
23
24
|
*/
|
|
24
|
-
role:
|
|
25
|
+
role: string;
|
|
25
26
|
/**
|
|
26
27
|
* 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
28
|
* @type {boolean}
|
|
@@ -38,7 +39,8 @@ export interface UpdateBusinessAccountMemberRoleSdkRequest {
|
|
|
38
39
|
[key: string]: object;
|
|
39
40
|
};
|
|
40
41
|
/**
|
|
41
|
-
*
|
|
42
|
+
* Hex-encoded ECDSA P-256 signature over the canonicalized payload, produced by the signer's session key — which never leaves their device, so consent cannot be given on their behalf.
|
|
43
|
+
* Exactly 128 hex characters. WebCrypto emits the raw r‖s form with both halves padded to 32 bytes, so unlike DER the length never varies. Constrained here so a malformed value is a 400 at the edge rather than an enclave round trip that returns INTENT_SIGNATURE_INVALID, and so an unbounded string cannot be persisted against a proposal.
|
|
42
44
|
* @type {string}
|
|
43
45
|
* @memberof UpdateBusinessAccountMemberRoleSdkRequest
|
|
44
46
|
*/
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
-
import { AssignableBusinessAccountMemberRoleFromJSON, AssignableBusinessAccountMemberRoleToJSON } from './AssignableBusinessAccountMemberRole.js';
|
|
3
2
|
|
|
4
3
|
/* tslint:disable */
|
|
5
4
|
function UpdateBusinessAccountMemberRoleSdkRequestFromJSON(json) {
|
|
@@ -10,7 +9,7 @@ function UpdateBusinessAccountMemberRoleSdkRequestFromJSONTyped(json, ignoreDisc
|
|
|
10
9
|
return json;
|
|
11
10
|
}
|
|
12
11
|
return {
|
|
13
|
-
'role':
|
|
12
|
+
'role': json['role'],
|
|
14
13
|
'autoExecute': !exists(json, 'autoExecute') ? undefined : json['autoExecute'],
|
|
15
14
|
'intent': !exists(json, 'intent') ? undefined : json['intent'],
|
|
16
15
|
'intentSignature': !exists(json, 'intentSignature') ? undefined : json['intentSignature'],
|
|
@@ -24,7 +23,7 @@ function UpdateBusinessAccountMemberRoleSdkRequestToJSON(value) {
|
|
|
24
23
|
return null;
|
|
25
24
|
}
|
|
26
25
|
return {
|
|
27
|
-
'role':
|
|
26
|
+
'role': value.role,
|
|
28
27
|
'autoExecute': value.autoExecute,
|
|
29
28
|
'intent': value.intent,
|
|
30
29
|
'intentSignature': value.intentSignature,
|