@dynamic-labs/sdk-api 0.0.1113 → 0.0.1114
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 +3 -3
- package/src/apis/AdminActionsApi.js +3 -3
- package/src/apis/AllowlistsApi.cjs +3 -3
- package/src/apis/AllowlistsApi.js +3 -3
- package/src/apis/AnalyticsApi.cjs +3 -3
- package/src/apis/AnalyticsApi.js +3 -3
- package/src/apis/AuthorizedClientsApi.cjs +3 -3
- package/src/apis/AuthorizedClientsApi.js +3 -3
- package/src/apis/CaptchaApi.cjs +3 -3
- package/src/apis/CaptchaApi.js +3 -3
- package/src/apis/ChainalysisApi.cjs +3 -3
- package/src/apis/ChainalysisApi.js +3 -3
- package/src/apis/ChainsApi.cjs +3 -3
- package/src/apis/ChainsApi.js +3 -3
- package/src/apis/CheckoutApi.cjs +3 -3
- package/src/apis/CheckoutApi.js +3 -3
- package/src/apis/ClientGrantApi.cjs +3 -3
- package/src/apis/ClientGrantApi.js +3 -3
- package/src/apis/CustomFieldsApi.cjs +3 -3
- package/src/apis/CustomFieldsApi.js +3 -3
- package/src/apis/CustomHostnamesApi.cjs +3 -3
- package/src/apis/CustomHostnamesApi.js +3 -3
- package/src/apis/CustomNetworksApi.cjs +3 -3
- package/src/apis/CustomNetworksApi.js +3 -3
- package/src/apis/DeeplinkUrlsApi.cjs +3 -3
- package/src/apis/DeeplinkUrlsApi.js +3 -3
- package/src/apis/EnvironmentsApi.cjs +3 -3
- package/src/apis/EnvironmentsApi.js +3 -3
- package/src/apis/EventsApi.cjs +3 -3
- package/src/apis/EventsApi.js +3 -3
- package/src/apis/ExchangesApi.cjs +3 -3
- package/src/apis/ExchangesApi.js +3 -3
- package/src/apis/ExportsApi.cjs +3 -3
- package/src/apis/ExportsApi.js +3 -3
- package/src/apis/ExternalJwtApi.cjs +3 -3
- package/src/apis/ExternalJwtApi.js +3 -3
- package/src/apis/FlowAnalyticsApi.cjs +3 -3
- package/src/apis/FlowAnalyticsApi.js +3 -3
- package/src/apis/GaslessApi.cjs +3 -3
- package/src/apis/GaslessApi.js +3 -3
- package/src/apis/GatesApi.cjs +3 -3
- package/src/apis/GatesApi.js +3 -3
- package/src/apis/GlobalWalletAccessControlApi.cjs +3 -3
- package/src/apis/GlobalWalletAccessControlApi.js +3 -3
- package/src/apis/GlobalWalletConnectionsApi.cjs +3 -3
- package/src/apis/GlobalWalletConnectionsApi.js +3 -3
- package/src/apis/GlobalWalletsApi.cjs +3 -3
- package/src/apis/GlobalWalletsApi.js +3 -3
- package/src/apis/InvitesApi.cjs +3 -3
- package/src/apis/InvitesApi.js +3 -3
- package/src/apis/KybApi.cjs +3 -3
- package/src/apis/KybApi.js +3 -3
- package/src/apis/MembersApi.cjs +3 -3
- package/src/apis/MembersApi.js +3 -3
- package/src/apis/MfaSettingsApi.cjs +3 -3
- package/src/apis/MfaSettingsApi.js +3 -3
- package/src/apis/NameServicesApi.cjs +3 -3
- package/src/apis/NameServicesApi.js +3 -3
- package/src/apis/OrganizationSettingsApi.cjs +3 -3
- package/src/apis/OrganizationSettingsApi.js +3 -3
- package/src/apis/OrganizationsApi.cjs +3 -3
- package/src/apis/OrganizationsApi.js +3 -3
- package/src/apis/OriginsApi.cjs +3 -3
- package/src/apis/OriginsApi.js +3 -3
- package/src/apis/ProjectsApi.cjs +3 -3
- package/src/apis/ProjectsApi.js +3 -3
- package/src/apis/ProvidersApi.cjs +3 -3
- package/src/apis/ProvidersApi.js +3 -3
- package/src/apis/SDKViewsApi.cjs +3 -3
- package/src/apis/SDKViewsApi.js +3 -3
- package/src/apis/ServerApi.cjs +3 -3
- package/src/apis/ServerApi.js +3 -3
- package/src/apis/SessionsApi.cjs +3 -3
- package/src/apis/SessionsApi.js +3 -3
- package/src/apis/TestAccountApi.cjs +3 -3
- package/src/apis/TestAccountApi.js +3 -3
- package/src/apis/TokensApi.cjs +3 -3
- package/src/apis/TokensApi.js +3 -3
- package/src/apis/UserApiTokensApi.cjs +3 -3
- package/src/apis/UserApiTokensApi.js +3 -3
- package/src/apis/UsersApi.cjs +3 -3
- package/src/apis/UsersApi.js +3 -3
- package/src/apis/VisitsApi.cjs +3 -3
- package/src/apis/VisitsApi.js +3 -3
- package/src/apis/WaasApi.cjs +3 -3
- package/src/apis/WaasApi.js +3 -3
- package/src/apis/WalletConnectApi.cjs +3 -3
- package/src/apis/WalletConnectApi.js +3 -3
- package/src/apis/WalletsApi.cjs +3 -3
- package/src/apis/WalletsApi.js +3 -3
- package/src/apis/WebhooksApi.cjs +3 -3
- package/src/apis/WebhooksApi.js +3 -3
- package/src/apis/ZendeskApi.cjs +3 -3
- package/src/apis/ZendeskApi.js +3 -3
- package/src/models/AddBusinessAccountSignerSdkRequest.cjs +3 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.d.ts +12 -0
- package/src/models/AddBusinessAccountSignerSdkRequest.js +3 -0
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -6,6 +6,9 @@ import '../models/ProviderEnum.js';
|
|
|
6
6
|
import '../models/UserIdentifierTypeEnum.js';
|
|
7
7
|
import '../models/BusinessAccountSignerType.js';
|
|
8
8
|
import '../models/ThresholdSignatureScheme.js';
|
|
9
|
+
import '../models/WaasChainEnum.js';
|
|
10
|
+
import '../models/WaasPolicyConstraintCondition.js';
|
|
11
|
+
import '../models/WaasPolicyRuleType.js';
|
|
9
12
|
import '../models/AdminActionRequestStatus.js';
|
|
10
13
|
import '../models/AdminActionResponseDecision.js';
|
|
11
14
|
import '../models/AdminActionType.js';
|
|
@@ -61,7 +64,6 @@ import '../models/EmbeddedWalletChainEnum.js';
|
|
|
61
64
|
import '../models/EmbeddedWalletProviderEnum.js';
|
|
62
65
|
import '../models/RoomTypeEnum.js';
|
|
63
66
|
import '../models/TokenScopes.js';
|
|
64
|
-
import '../models/WaasChainEnum.js';
|
|
65
67
|
import '../models/CurrencyType.js';
|
|
66
68
|
import '../models/CustomHostnameStatusEnum.js';
|
|
67
69
|
import '../models/CustomHostnameUsageEnum.js';
|
|
@@ -119,8 +121,6 @@ import '../models/OauthResultStatus.js';
|
|
|
119
121
|
import '../models/WhenToImplementEnum.js';
|
|
120
122
|
import '../models/PublishEventsEvents.js';
|
|
121
123
|
import '../models/ReshareKind.js';
|
|
122
|
-
import '../models/WaasPolicyConstraintCondition.js';
|
|
123
|
-
import '../models/WaasPolicyRuleType.js';
|
|
124
124
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
125
125
|
import '../models/ScreenTransactionResponse.js';
|
|
126
126
|
import '../models/SignMessageRawSign.js';
|
package/src/apis/ZendeskApi.cjs
CHANGED
|
@@ -10,6 +10,9 @@ require('../models/ProviderEnum.cjs');
|
|
|
10
10
|
require('../models/UserIdentifierTypeEnum.cjs');
|
|
11
11
|
require('../models/BusinessAccountSignerType.cjs');
|
|
12
12
|
require('../models/ThresholdSignatureScheme.cjs');
|
|
13
|
+
require('../models/WaasChainEnum.cjs');
|
|
14
|
+
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
15
|
+
require('../models/WaasPolicyRuleType.cjs');
|
|
13
16
|
require('../models/AdminActionRequestStatus.cjs');
|
|
14
17
|
require('../models/AdminActionResponseDecision.cjs');
|
|
15
18
|
require('../models/AdminActionType.cjs');
|
|
@@ -65,7 +68,6 @@ require('../models/EmbeddedWalletChainEnum.cjs');
|
|
|
65
68
|
require('../models/EmbeddedWalletProviderEnum.cjs');
|
|
66
69
|
require('../models/RoomTypeEnum.cjs');
|
|
67
70
|
require('../models/TokenScopes.cjs');
|
|
68
|
-
require('../models/WaasChainEnum.cjs');
|
|
69
71
|
require('../models/CurrencyType.cjs');
|
|
70
72
|
require('../models/CustomHostnameStatusEnum.cjs');
|
|
71
73
|
require('../models/CustomHostnameUsageEnum.cjs');
|
|
@@ -123,8 +125,6 @@ require('../models/OauthResultStatus.cjs');
|
|
|
123
125
|
require('../models/WhenToImplementEnum.cjs');
|
|
124
126
|
require('../models/PublishEventsEvents.cjs');
|
|
125
127
|
require('../models/ReshareKind.cjs');
|
|
126
|
-
require('../models/WaasPolicyConstraintCondition.cjs');
|
|
127
|
-
require('../models/WaasPolicyRuleType.cjs');
|
|
128
128
|
require('../models/SanctionsWalletBlockedEventPayload.cjs');
|
|
129
129
|
require('../models/ScreenTransactionResponse.cjs');
|
|
130
130
|
require('../models/SignMessageRawSign.cjs');
|
package/src/apis/ZendeskApi.js
CHANGED
|
@@ -6,6 +6,9 @@ import '../models/ProviderEnum.js';
|
|
|
6
6
|
import '../models/UserIdentifierTypeEnum.js';
|
|
7
7
|
import '../models/BusinessAccountSignerType.js';
|
|
8
8
|
import '../models/ThresholdSignatureScheme.js';
|
|
9
|
+
import '../models/WaasChainEnum.js';
|
|
10
|
+
import '../models/WaasPolicyConstraintCondition.js';
|
|
11
|
+
import '../models/WaasPolicyRuleType.js';
|
|
9
12
|
import '../models/AdminActionRequestStatus.js';
|
|
10
13
|
import '../models/AdminActionResponseDecision.js';
|
|
11
14
|
import '../models/AdminActionType.js';
|
|
@@ -61,7 +64,6 @@ import '../models/EmbeddedWalletChainEnum.js';
|
|
|
61
64
|
import '../models/EmbeddedWalletProviderEnum.js';
|
|
62
65
|
import '../models/RoomTypeEnum.js';
|
|
63
66
|
import '../models/TokenScopes.js';
|
|
64
|
-
import '../models/WaasChainEnum.js';
|
|
65
67
|
import '../models/CurrencyType.js';
|
|
66
68
|
import '../models/CustomHostnameStatusEnum.js';
|
|
67
69
|
import '../models/CustomHostnameUsageEnum.js';
|
|
@@ -119,8 +121,6 @@ import '../models/OauthResultStatus.js';
|
|
|
119
121
|
import '../models/WhenToImplementEnum.js';
|
|
120
122
|
import '../models/PublishEventsEvents.js';
|
|
121
123
|
import '../models/ReshareKind.js';
|
|
122
|
-
import '../models/WaasPolicyConstraintCondition.js';
|
|
123
|
-
import '../models/WaasPolicyRuleType.js';
|
|
124
124
|
import '../models/SanctionsWalletBlockedEventPayload.js';
|
|
125
125
|
import '../models/ScreenTransactionResponse.js';
|
|
126
126
|
import '../models/SignMessageRawSign.js';
|
|
@@ -8,6 +8,7 @@ var ProviderEnum = require('./ProviderEnum.cjs');
|
|
|
8
8
|
var SmsCountryCode = require('./SmsCountryCode.cjs');
|
|
9
9
|
var ThresholdSignatureScheme = require('./ThresholdSignatureScheme.cjs');
|
|
10
10
|
var UserIdentifierTypeEnum = require('./UserIdentifierTypeEnum.cjs');
|
|
11
|
+
var WaasPolicyRule = require('./WaasPolicyRule.cjs');
|
|
11
12
|
|
|
12
13
|
/* tslint:disable */
|
|
13
14
|
function AddBusinessAccountSignerSdkRequestFromJSON(json) {
|
|
@@ -27,6 +28,7 @@ function AddBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
27
28
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
28
29
|
'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
|
|
29
30
|
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
|
|
31
|
+
'initialSignerRules': !runtime.exists(json, 'initialSignerRules') ? undefined : (json['initialSignerRules'].map(WaasPolicyRule.WaasPolicyRuleFromJSON)),
|
|
30
32
|
};
|
|
31
33
|
}
|
|
32
34
|
function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
@@ -46,6 +48,7 @@ function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
|
46
48
|
'clientKeygenIds': value.clientKeygenIds,
|
|
47
49
|
'oldThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
|
|
48
50
|
'newThresholdSignatureScheme': ThresholdSignatureScheme.ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
|
|
51
|
+
'initialSignerRules': value.initialSignerRules === undefined ? undefined : (value.initialSignerRules.map(WaasPolicyRule.WaasPolicyRuleToJSON)),
|
|
49
52
|
};
|
|
50
53
|
}
|
|
51
54
|
|
|
@@ -14,6 +14,7 @@ import { ProviderEnum } from './ProviderEnum';
|
|
|
14
14
|
import { SmsCountryCode } from './SmsCountryCode';
|
|
15
15
|
import { ThresholdSignatureScheme } from './ThresholdSignatureScheme';
|
|
16
16
|
import { UserIdentifierTypeEnum } from './UserIdentifierTypeEnum';
|
|
17
|
+
import { WaasPolicyRule } from './WaasPolicyRule';
|
|
17
18
|
/**
|
|
18
19
|
* SDK addSigner body. Same user resolution shape as addMember (userId OR identifier + type), plus `signerType` for the signer-role enum (endUser/server). `type` here is the user-resolution type, NOT the signer type — `signerType` lives on a dedicated field. `smsCountryCode` is required when `type` is `phoneNumber`; `socialProvider` is required when `type` is `socialUsername` or `socialAccountId`.
|
|
19
20
|
* The remaining fields parameterise the reshare ceremony that runs after the pending signer row is written. `clientKeygenIds` come from the caller's local MPC state; the threshold scheme fields describe the source share set (old) and the destination share set (new) that the ceremony produces.
|
|
@@ -75,6 +76,17 @@ export interface AddBusinessAccountSignerSdkRequest {
|
|
|
75
76
|
* @memberof AddBusinessAccountSignerSdkRequest
|
|
76
77
|
*/
|
|
77
78
|
newThresholdSignatureScheme: ThresholdSignatureScheme;
|
|
79
|
+
/**
|
|
80
|
+
* Optional Rules to seed the new signer's signer-Layer with at
|
|
81
|
+
* add-signer time, so the signer is restricted from its first sign.
|
|
82
|
+
* Only valid when policy composition is enabled and the wallet is a
|
|
83
|
+
* composition wallet (env/wallet Layers exist); if supplied otherwise
|
|
84
|
+
* the request is rejected with 422 rather than creating an unrestricted
|
|
85
|
+
* signer. Rule shape mirrors the signer self-service policy-layer schema.
|
|
86
|
+
* @type {Array<WaasPolicyRule>}
|
|
87
|
+
* @memberof AddBusinessAccountSignerSdkRequest
|
|
88
|
+
*/
|
|
89
|
+
initialSignerRules?: Array<WaasPolicyRule>;
|
|
78
90
|
}
|
|
79
91
|
export declare function AddBusinessAccountSignerSdkRequestFromJSON(json: any): AddBusinessAccountSignerSdkRequest;
|
|
80
92
|
export declare function AddBusinessAccountSignerSdkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AddBusinessAccountSignerSdkRequest;
|
|
@@ -4,6 +4,7 @@ import { ProviderEnumFromJSON, ProviderEnumToJSON } from './ProviderEnum.js';
|
|
|
4
4
|
import { SmsCountryCodeFromJSON, SmsCountryCodeToJSON } from './SmsCountryCode.js';
|
|
5
5
|
import { ThresholdSignatureSchemeFromJSON, ThresholdSignatureSchemeToJSON } from './ThresholdSignatureScheme.js';
|
|
6
6
|
import { UserIdentifierTypeEnumFromJSON, UserIdentifierTypeEnumToJSON } from './UserIdentifierTypeEnum.js';
|
|
7
|
+
import { WaasPolicyRuleFromJSON, WaasPolicyRuleToJSON } from './WaasPolicyRule.js';
|
|
7
8
|
|
|
8
9
|
/* tslint:disable */
|
|
9
10
|
function AddBusinessAccountSignerSdkRequestFromJSON(json) {
|
|
@@ -23,6 +24,7 @@ function AddBusinessAccountSignerSdkRequestFromJSONTyped(json, ignoreDiscriminat
|
|
|
23
24
|
'clientKeygenIds': json['clientKeygenIds'],
|
|
24
25
|
'oldThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['oldThresholdSignatureScheme']),
|
|
25
26
|
'newThresholdSignatureScheme': ThresholdSignatureSchemeFromJSON(json['newThresholdSignatureScheme']),
|
|
27
|
+
'initialSignerRules': !exists(json, 'initialSignerRules') ? undefined : (json['initialSignerRules'].map(WaasPolicyRuleFromJSON)),
|
|
26
28
|
};
|
|
27
29
|
}
|
|
28
30
|
function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
@@ -42,6 +44,7 @@ function AddBusinessAccountSignerSdkRequestToJSON(value) {
|
|
|
42
44
|
'clientKeygenIds': value.clientKeygenIds,
|
|
43
45
|
'oldThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.oldThresholdSignatureScheme),
|
|
44
46
|
'newThresholdSignatureScheme': ThresholdSignatureSchemeToJSON(value.newThresholdSignatureScheme),
|
|
47
|
+
'initialSignerRules': value.initialSignerRules === undefined ? undefined : (value.initialSignerRules.map(WaasPolicyRuleToJSON)),
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
|