@dynamic-labs/sdk-api 0.0.931 → 0.0.933
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/AllowlistsApi.cjs +1 -1
- package/src/apis/AllowlistsApi.js +1 -1
- package/src/apis/AnalyticsApi.cjs +1 -1
- package/src/apis/AnalyticsApi.js +1 -1
- package/src/apis/ChainalysisApi.cjs +1 -1
- package/src/apis/ChainalysisApi.js +1 -1
- package/src/apis/ChainsApi.cjs +1 -1
- package/src/apis/ChainsApi.js +1 -1
- package/src/apis/CustomFieldsApi.cjs +1 -1
- package/src/apis/CustomFieldsApi.js +1 -1
- package/src/apis/CustomHostnamesApi.cjs +1 -1
- package/src/apis/CustomHostnamesApi.js +1 -1
- package/src/apis/CustomNetworksApi.cjs +1 -1
- package/src/apis/CustomNetworksApi.js +1 -1
- package/src/apis/DeeplinkUrlsApi.cjs +1 -1
- package/src/apis/DeeplinkUrlsApi.js +1 -1
- package/src/apis/DepositApi.cjs +1 -1
- package/src/apis/DepositApi.js +1 -1
- package/src/apis/EnvironmentsApi.cjs +1 -1
- package/src/apis/EnvironmentsApi.js +1 -1
- package/src/apis/EventsApi.cjs +1 -1
- package/src/apis/EventsApi.js +1 -1
- package/src/apis/ExchangesApi.cjs +1 -1
- package/src/apis/ExchangesApi.js +1 -1
- package/src/apis/ExportsApi.cjs +1 -1
- package/src/apis/ExportsApi.js +1 -1
- package/src/apis/ExternalJwtApi.cjs +1 -1
- package/src/apis/ExternalJwtApi.js +1 -1
- package/src/apis/GatesApi.cjs +1 -1
- package/src/apis/GatesApi.js +1 -1
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -1
- package/src/apis/GlobalWalletAccessControlApi.js +1 -1
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -1
- package/src/apis/GlobalWalletConnectionsApi.js +1 -1
- package/src/apis/GlobalWalletsApi.cjs +1 -1
- package/src/apis/GlobalWalletsApi.js +1 -1
- package/src/apis/InvitesApi.cjs +1 -1
- package/src/apis/InvitesApi.js +1 -1
- package/src/apis/MembersApi.cjs +1 -1
- package/src/apis/MembersApi.js +1 -1
- package/src/apis/MfaSettingsApi.cjs +1 -1
- package/src/apis/MfaSettingsApi.js +1 -1
- package/src/apis/NameServicesApi.cjs +1 -1
- package/src/apis/NameServicesApi.js +1 -1
- package/src/apis/OrganizationsApi.cjs +1 -1
- package/src/apis/OrganizationsApi.js +1 -1
- package/src/apis/OriginsApi.cjs +1 -1
- package/src/apis/OriginsApi.js +1 -1
- package/src/apis/ProjectsApi.cjs +1 -1
- package/src/apis/ProjectsApi.js +1 -1
- package/src/apis/ProvidersApi.cjs +1 -1
- package/src/apis/ProvidersApi.js +1 -1
- package/src/apis/SDKApi.cjs +1 -1
- package/src/apis/SDKApi.js +1 -1
- package/src/apis/SDKViewsApi.cjs +1 -1
- package/src/apis/SDKViewsApi.js +1 -1
- package/src/apis/SessionsApi.cjs +1 -1
- package/src/apis/SessionsApi.js +1 -1
- package/src/apis/TestAccountApi.cjs +1 -1
- package/src/apis/TestAccountApi.js +1 -1
- package/src/apis/TokensApi.cjs +1 -1
- package/src/apis/TokensApi.js +1 -1
- package/src/apis/UserApiTokensApi.cjs +1 -1
- package/src/apis/UserApiTokensApi.js +1 -1
- package/src/apis/UsersApi.cjs +1 -1
- package/src/apis/UsersApi.js +1 -1
- package/src/apis/VisitsApi.cjs +1 -1
- package/src/apis/VisitsApi.js +1 -1
- package/src/apis/WaasApi.cjs +1 -167
- package/src/apis/WaasApi.d.ts +1 -76
- package/src/apis/WaasApi.js +1 -167
- package/src/apis/WalletConnectApi.cjs +1 -1
- package/src/apis/WalletConnectApi.js +1 -1
- package/src/apis/WalletsApi.cjs +1 -1
- package/src/apis/WalletsApi.js +1 -1
- package/src/apis/WebhooksApi.cjs +1 -1
- package/src/apis/WebhooksApi.js +1 -1
- package/src/apis/index.d.ts +0 -1
- package/src/index.cjs +6 -8
- package/src/index.js +1 -2
- package/src/models/MinApiVersionEnum.cjs +40 -0
- package/src/models/MinApiVersionEnum.d.ts +23 -0
- package/src/models/MinApiVersionEnum.js +34 -0
- package/src/models/ProjectSettingsSdk.cjs +3 -3
- package/src/models/ProjectSettingsSdk.d.ts +3 -3
- package/src/models/ProjectSettingsSdk.js +3 -3
- package/src/models/index.d.ts +1 -1
- package/src/apis/SettingsApi.cjs +0 -556
- package/src/apis/SettingsApi.d.ts +0 -165
- package/src/apis/SettingsApi.js +0 -552
- package/src/models/MinSdkVersionEnum.cjs +0 -40
- package/src/models/MinSdkVersionEnum.d.ts +0 -23
- package/src/models/MinSdkVersionEnum.js +0 -34
package/src/apis/WaasApi.js
CHANGED
|
@@ -68,7 +68,7 @@ import '../models/EnvironmentEnum.js';
|
|
|
68
68
|
import '../models/Network.js';
|
|
69
69
|
import '../models/ExternalWalletFundingTokenRule.js';
|
|
70
70
|
import '../models/OnrampProviders.js';
|
|
71
|
-
import '../models/
|
|
71
|
+
import '../models/MinApiVersionEnum.js';
|
|
72
72
|
import '../models/SignInProviderEnum.js';
|
|
73
73
|
import '../models/SocialSignInProviderEnum.js';
|
|
74
74
|
import '../models/ProjectSettingsSdkWaasICloud.js';
|
|
@@ -122,8 +122,6 @@ import '../models/WaasPolicyRuleType.js';
|
|
|
122
122
|
import { WaasPolicyUpdateRequestToJSON } from '../models/WaasPolicyUpdateRequest.js';
|
|
123
123
|
import { WaasVerifyApiKeyResponseFromJSON } from '../models/WaasVerifyApiKeyResponse.js';
|
|
124
124
|
import { WaasWalletResponseFromJSON } from '../models/WaasWalletResponse.js';
|
|
125
|
-
import { WaasWalletSignaturePolicyTmpCreateRequestToJSON } from '../models/WaasWalletSignaturePolicyTmpCreateRequest.js';
|
|
126
|
-
import { WaasWalletSignaturePolicyTmpResponseFromJSON } from '../models/WaasWalletSignaturePolicyTmpResponse.js';
|
|
127
125
|
import '../models/WalletTransactionType.js';
|
|
128
126
|
|
|
129
127
|
/* tslint:disable */
|
|
@@ -267,40 +265,6 @@ class WaasApi extends BaseAPI {
|
|
|
267
265
|
const response = await this.createWaasPolicyRaw(requestParameters, initOverrides);
|
|
268
266
|
return await response.value();
|
|
269
267
|
}
|
|
270
|
-
/**
|
|
271
|
-
* Creates a new WaaS signature policy for the specified wallet.
|
|
272
|
-
* Create a new WAAS signature policy for a wallet
|
|
273
|
-
*/
|
|
274
|
-
async createWaasSignaturePolicyRaw(requestParameters, initOverrides) {
|
|
275
|
-
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
276
|
-
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling createWaasSignaturePolicy.');
|
|
277
|
-
}
|
|
278
|
-
if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
|
|
279
|
-
throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling createWaasSignaturePolicy.');
|
|
280
|
-
}
|
|
281
|
-
if (requestParameters.waasWalletSignaturePolicyTmpCreateRequest === null || requestParameters.waasWalletSignaturePolicyTmpCreateRequest === undefined) {
|
|
282
|
-
throw new RequiredError('waasWalletSignaturePolicyTmpCreateRequest', 'Required parameter requestParameters.waasWalletSignaturePolicyTmpCreateRequest was null or undefined when calling createWaasSignaturePolicy.');
|
|
283
|
-
}
|
|
284
|
-
const queryParameters = {};
|
|
285
|
-
const headerParameters = {};
|
|
286
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
287
|
-
const response = await this.request({
|
|
288
|
-
path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
|
|
289
|
-
method: 'POST',
|
|
290
|
-
headers: headerParameters,
|
|
291
|
-
query: queryParameters,
|
|
292
|
-
body: WaasWalletSignaturePolicyTmpCreateRequestToJSON(requestParameters.waasWalletSignaturePolicyTmpCreateRequest),
|
|
293
|
-
}, initOverrides);
|
|
294
|
-
return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
|
|
295
|
-
}
|
|
296
|
-
/**
|
|
297
|
-
* Creates a new WaaS signature policy for the specified wallet.
|
|
298
|
-
* Create a new WAAS signature policy for a wallet
|
|
299
|
-
*/
|
|
300
|
-
async createWaasSignaturePolicy(requestParameters, initOverrides) {
|
|
301
|
-
const response = await this.createWaasSignaturePolicyRaw(requestParameters, initOverrides);
|
|
302
|
-
return await response.value();
|
|
303
|
-
}
|
|
304
268
|
/**
|
|
305
269
|
* Creates a new WAAS wallet for a user given an email or userId. If an email is provided and it is not associated with an existing user this call will also create a new user.
|
|
306
270
|
* Create a WAAS wallet for a user
|
|
@@ -432,38 +396,6 @@ class WaasApi extends BaseAPI {
|
|
|
432
396
|
const response = await this.deleteWaasPolicyRaw(requestParameters, initOverrides);
|
|
433
397
|
return await response.value();
|
|
434
398
|
}
|
|
435
|
-
/**
|
|
436
|
-
* Permanently removes a WaaS signature policy by wallet ID and policy ID.
|
|
437
|
-
* Delete a WAAS signature policy by walletId and policyId
|
|
438
|
-
*/
|
|
439
|
-
async deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
|
|
440
|
-
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
441
|
-
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
442
|
-
}
|
|
443
|
-
if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
|
|
444
|
-
throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
445
|
-
}
|
|
446
|
-
if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
|
|
447
|
-
throw new RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling deleteWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
448
|
-
}
|
|
449
|
-
const queryParameters = {};
|
|
450
|
-
const headerParameters = {};
|
|
451
|
-
const response = await this.request({
|
|
452
|
-
path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
|
|
453
|
-
method: 'DELETE',
|
|
454
|
-
headers: headerParameters,
|
|
455
|
-
query: queryParameters,
|
|
456
|
-
}, initOverrides);
|
|
457
|
-
return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
|
|
458
|
-
}
|
|
459
|
-
/**
|
|
460
|
-
* Permanently removes a WaaS signature policy by wallet ID and policy ID.
|
|
461
|
-
* Delete a WAAS signature policy by walletId and policyId
|
|
462
|
-
*/
|
|
463
|
-
async deleteWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
|
|
464
|
-
const response = await this.deleteWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
|
|
465
|
-
return await response.value();
|
|
466
|
-
}
|
|
467
399
|
/**
|
|
468
400
|
* Fetches the encryption public key used for delegated access in a WAAS environment. By default, returns only the latest active key.
|
|
469
401
|
* Get delegated access encryption public key for an environment
|
|
@@ -574,67 +506,6 @@ class WaasApi extends BaseAPI {
|
|
|
574
506
|
const response = await this.getWaasPolicyRaw(requestParameters, initOverrides);
|
|
575
507
|
return await response.value();
|
|
576
508
|
}
|
|
577
|
-
/**
|
|
578
|
-
* Returns all active WaaS signature policies for the specified wallet.
|
|
579
|
-
* Get all active WAAS signature policies for a wallet
|
|
580
|
-
*/
|
|
581
|
-
async getWaasSignaturePoliciesRaw(requestParameters, initOverrides) {
|
|
582
|
-
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
583
|
-
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasSignaturePolicies.');
|
|
584
|
-
}
|
|
585
|
-
if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
|
|
586
|
-
throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignaturePolicies.');
|
|
587
|
-
}
|
|
588
|
-
const queryParameters = {};
|
|
589
|
-
const headerParameters = {};
|
|
590
|
-
const response = await this.request({
|
|
591
|
-
path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))),
|
|
592
|
-
method: 'GET',
|
|
593
|
-
headers: headerParameters,
|
|
594
|
-
query: queryParameters,
|
|
595
|
-
}, initOverrides);
|
|
596
|
-
return new JSONApiResponse(response, (jsonValue) => jsonValue.map(WaasWalletSignaturePolicyTmpResponseFromJSON));
|
|
597
|
-
}
|
|
598
|
-
/**
|
|
599
|
-
* Returns all active WaaS signature policies for the specified wallet.
|
|
600
|
-
* Get all active WAAS signature policies for a wallet
|
|
601
|
-
*/
|
|
602
|
-
async getWaasSignaturePolicies(requestParameters, initOverrides) {
|
|
603
|
-
const response = await this.getWaasSignaturePoliciesRaw(requestParameters, initOverrides);
|
|
604
|
-
return await response.value();
|
|
605
|
-
}
|
|
606
|
-
/**
|
|
607
|
-
* Returns a WaaS signature policy by wallet ID and policy ID.
|
|
608
|
-
* Get a WAAS signature policy by walletId and policyId
|
|
609
|
-
*/
|
|
610
|
-
async getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
|
|
611
|
-
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
612
|
-
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
613
|
-
}
|
|
614
|
-
if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
|
|
615
|
-
throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
616
|
-
}
|
|
617
|
-
if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
|
|
618
|
-
throw new RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling getWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
619
|
-
}
|
|
620
|
-
const queryParameters = {};
|
|
621
|
-
const headerParameters = {};
|
|
622
|
-
const response = await this.request({
|
|
623
|
-
path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
|
|
624
|
-
method: 'GET',
|
|
625
|
-
headers: headerParameters,
|
|
626
|
-
query: queryParameters,
|
|
627
|
-
}, initOverrides);
|
|
628
|
-
return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
|
|
629
|
-
}
|
|
630
|
-
/**
|
|
631
|
-
* Returns a WaaS signature policy by wallet ID and policy ID.
|
|
632
|
-
* Get a WAAS signature policy by walletId and policyId
|
|
633
|
-
*/
|
|
634
|
-
async getWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
|
|
635
|
-
const response = await this.getWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
|
|
636
|
-
return await response.value();
|
|
637
|
-
}
|
|
638
509
|
/**
|
|
639
510
|
* Returns a WaaS wallet by its wallet ID.
|
|
640
511
|
* Get a specific WAAS wallet by walletId
|
|
@@ -751,43 +622,6 @@ class WaasApi extends BaseAPI {
|
|
|
751
622
|
const response = await this.updateWaasPolicyRaw(requestParameters, initOverrides);
|
|
752
623
|
return await response.value();
|
|
753
624
|
}
|
|
754
|
-
/**
|
|
755
|
-
* Updates a WaaS signature policy by wallet ID and policy ID.
|
|
756
|
-
* Update a WAAS signature policy by walletId and policyId
|
|
757
|
-
*/
|
|
758
|
-
async updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides) {
|
|
759
|
-
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
760
|
-
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
761
|
-
}
|
|
762
|
-
if (requestParameters.walletId === null || requestParameters.walletId === undefined) {
|
|
763
|
-
throw new RequiredError('walletId', 'Required parameter requestParameters.walletId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
764
|
-
}
|
|
765
|
-
if (requestParameters.policyId === null || requestParameters.policyId === undefined) {
|
|
766
|
-
throw new RequiredError('policyId', 'Required parameter requestParameters.policyId was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
767
|
-
}
|
|
768
|
-
if (requestParameters.waasWalletSignaturePolicyTmpCreateRequest === null || requestParameters.waasWalletSignaturePolicyTmpCreateRequest === undefined) {
|
|
769
|
-
throw new RequiredError('waasWalletSignaturePolicyTmpCreateRequest', 'Required parameter requestParameters.waasWalletSignaturePolicyTmpCreateRequest was null or undefined when calling updateWaasSignaturePolicyByWalletIdAndPolicyId.');
|
|
770
|
-
}
|
|
771
|
-
const queryParameters = {};
|
|
772
|
-
const headerParameters = {};
|
|
773
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
774
|
-
const response = await this.request({
|
|
775
|
-
path: `/environments/{environmentId}/waas/{walletId}/signaturePolicy/{policyId}`.replace(`{${"environmentId"}}`, encodeURIComponent(String(requestParameters.environmentId))).replace(`{${"walletId"}}`, encodeURIComponent(String(requestParameters.walletId))).replace(`{${"policyId"}}`, encodeURIComponent(String(requestParameters.policyId))),
|
|
776
|
-
method: 'PUT',
|
|
777
|
-
headers: headerParameters,
|
|
778
|
-
query: queryParameters,
|
|
779
|
-
body: WaasWalletSignaturePolicyTmpCreateRequestToJSON(requestParameters.waasWalletSignaturePolicyTmpCreateRequest),
|
|
780
|
-
}, initOverrides);
|
|
781
|
-
return new JSONApiResponse(response, (jsonValue) => WaasWalletSignaturePolicyTmpResponseFromJSON(jsonValue));
|
|
782
|
-
}
|
|
783
|
-
/**
|
|
784
|
-
* Updates a WaaS signature policy by wallet ID and policy ID.
|
|
785
|
-
* Update a WAAS signature policy by walletId and policyId
|
|
786
|
-
*/
|
|
787
|
-
async updateWaasSignaturePolicyByWalletIdAndPolicyId(requestParameters, initOverrides) {
|
|
788
|
-
const response = await this.updateWaasSignaturePolicyByWalletIdAndPolicyIdRaw(requestParameters, initOverrides);
|
|
789
|
-
return await response.value();
|
|
790
|
-
}
|
|
791
625
|
/**
|
|
792
626
|
* Simple endpoint to verify if the provided API key (DYN_API_TOKEN) is valid and has access to the specified environment. Returns true if the token is verified, false otherwise.
|
|
793
627
|
* Verify if an API key is valid for a specific environment
|
|
@@ -68,7 +68,7 @@ require('../models/EnvironmentEnum.cjs');
|
|
|
68
68
|
require('../models/Network.cjs');
|
|
69
69
|
require('../models/ExternalWalletFundingTokenRule.cjs');
|
|
70
70
|
require('../models/OnrampProviders.cjs');
|
|
71
|
-
require('../models/
|
|
71
|
+
require('../models/MinApiVersionEnum.cjs');
|
|
72
72
|
require('../models/SignInProviderEnum.cjs');
|
|
73
73
|
require('../models/SocialSignInProviderEnum.cjs');
|
|
74
74
|
require('../models/ProjectSettingsSdkWaasICloud.cjs');
|
|
@@ -64,7 +64,7 @@ import '../models/EnvironmentEnum.js';
|
|
|
64
64
|
import '../models/Network.js';
|
|
65
65
|
import '../models/ExternalWalletFundingTokenRule.js';
|
|
66
66
|
import '../models/OnrampProviders.js';
|
|
67
|
-
import '../models/
|
|
67
|
+
import '../models/MinApiVersionEnum.js';
|
|
68
68
|
import '../models/SignInProviderEnum.js';
|
|
69
69
|
import '../models/SocialSignInProviderEnum.js';
|
|
70
70
|
import '../models/ProjectSettingsSdkWaasICloud.js';
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -72,7 +72,7 @@ require('../models/EnvironmentEnum.cjs');
|
|
|
72
72
|
require('../models/Network.cjs');
|
|
73
73
|
require('../models/ExternalWalletFundingTokenRule.cjs');
|
|
74
74
|
require('../models/OnrampProviders.cjs');
|
|
75
|
-
require('../models/
|
|
75
|
+
require('../models/MinApiVersionEnum.cjs');
|
|
76
76
|
require('../models/SignInProviderEnum.cjs');
|
|
77
77
|
require('../models/SocialSignInProviderEnum.cjs');
|
|
78
78
|
require('../models/ProjectSettingsSdkWaasICloud.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -68,7 +68,7 @@ import '../models/EnvironmentEnum.js';
|
|
|
68
68
|
import '../models/Network.js';
|
|
69
69
|
import '../models/ExternalWalletFundingTokenRule.js';
|
|
70
70
|
import '../models/OnrampProviders.js';
|
|
71
|
-
import '../models/
|
|
71
|
+
import '../models/MinApiVersionEnum.js';
|
|
72
72
|
import '../models/SignInProviderEnum.js';
|
|
73
73
|
import '../models/SocialSignInProviderEnum.js';
|
|
74
74
|
import '../models/ProjectSettingsSdkWaasICloud.js';
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -68,7 +68,7 @@ require('../models/EnvironmentEnum.cjs');
|
|
|
68
68
|
require('../models/Network.cjs');
|
|
69
69
|
require('../models/ExternalWalletFundingTokenRule.cjs');
|
|
70
70
|
require('../models/OnrampProviders.cjs');
|
|
71
|
-
require('../models/
|
|
71
|
+
require('../models/MinApiVersionEnum.cjs');
|
|
72
72
|
require('../models/SignInProviderEnum.cjs');
|
|
73
73
|
require('../models/SocialSignInProviderEnum.cjs');
|
|
74
74
|
require('../models/ProjectSettingsSdkWaasICloud.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -64,7 +64,7 @@ import '../models/EnvironmentEnum.js';
|
|
|
64
64
|
import '../models/Network.js';
|
|
65
65
|
import '../models/ExternalWalletFundingTokenRule.js';
|
|
66
66
|
import '../models/OnrampProviders.js';
|
|
67
|
-
import '../models/
|
|
67
|
+
import '../models/MinApiVersionEnum.js';
|
|
68
68
|
import '../models/SignInProviderEnum.js';
|
|
69
69
|
import '../models/SocialSignInProviderEnum.js';
|
|
70
70
|
import '../models/ProjectSettingsSdkWaasICloud.js';
|
package/src/apis/index.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ export * from './ProvidersApi';
|
|
|
28
28
|
export * from './SDKApi';
|
|
29
29
|
export * from './SDKViewsApi';
|
|
30
30
|
export * from './SessionsApi';
|
|
31
|
-
export { SettingsApi } from './SettingsApi';
|
|
32
31
|
export * from './TestAccountApi';
|
|
33
32
|
export * from './TokensApi';
|
|
34
33
|
export * from './UserApiTokensApi';
|
package/src/index.cjs
CHANGED
|
@@ -33,7 +33,6 @@ var ProvidersApi = require('./apis/ProvidersApi.cjs');
|
|
|
33
33
|
var SDKApi = require('./apis/SDKApi.cjs');
|
|
34
34
|
var SDKViewsApi = require('./apis/SDKViewsApi.cjs');
|
|
35
35
|
var SessionsApi = require('./apis/SessionsApi.cjs');
|
|
36
|
-
var SettingsApi = require('./apis/SettingsApi.cjs');
|
|
37
36
|
var TestAccountApi = require('./apis/TestAccountApi.cjs');
|
|
38
37
|
var TokensApi = require('./apis/TokensApi.cjs');
|
|
39
38
|
var UserApiTokensApi = require('./apis/UserApiTokensApi.cjs');
|
|
@@ -369,7 +368,7 @@ var MergeUserConflictResolution = require('./models/MergeUserConflictResolution.
|
|
|
369
368
|
var MergeUserConflictResolutions = require('./models/MergeUserConflictResolutions.cjs');
|
|
370
369
|
var MethodNotAllowed = require('./models/MethodNotAllowed.cjs');
|
|
371
370
|
var MfaBackupCodeAcknowledgement = require('./models/MfaBackupCodeAcknowledgement.cjs');
|
|
372
|
-
var
|
|
371
|
+
var MinApiVersionEnum = require('./models/MinApiVersionEnum.cjs');
|
|
373
372
|
var MinifiedDynamicJwt = require('./models/MinifiedDynamicJwt.cjs');
|
|
374
373
|
var MobileSettings = require('./models/MobileSettings.cjs');
|
|
375
374
|
var MultichainAccountBalanceResponse = require('./models/MultichainAccountBalanceResponse.cjs');
|
|
@@ -759,7 +758,6 @@ exports.ProvidersApi = ProvidersApi.ProvidersApi;
|
|
|
759
758
|
exports.SDKApi = SDKApi.SDKApi;
|
|
760
759
|
exports.SDKViewsApi = SDKViewsApi.SDKViewsApi;
|
|
761
760
|
exports.SessionsApi = SessionsApi.SessionsApi;
|
|
762
|
-
exports.SettingsApi = SettingsApi.SettingsApi;
|
|
763
761
|
exports.TestAccountApi = TestAccountApi.TestAccountApi;
|
|
764
762
|
exports.TokensApi = TokensApi.TokensApi;
|
|
765
763
|
exports.UserApiTokensApi = UserApiTokensApi.UserApiTokensApi;
|
|
@@ -1975,13 +1973,13 @@ Object.defineProperty(exports, 'MfaBackupCodeAcknowledgement', {
|
|
|
1975
1973
|
exports.MfaBackupCodeAcknowledgementFromJSON = MfaBackupCodeAcknowledgement.MfaBackupCodeAcknowledgementFromJSON;
|
|
1976
1974
|
exports.MfaBackupCodeAcknowledgementFromJSONTyped = MfaBackupCodeAcknowledgement.MfaBackupCodeAcknowledgementFromJSONTyped;
|
|
1977
1975
|
exports.MfaBackupCodeAcknowledgementToJSON = MfaBackupCodeAcknowledgement.MfaBackupCodeAcknowledgementToJSON;
|
|
1978
|
-
Object.defineProperty(exports, '
|
|
1976
|
+
Object.defineProperty(exports, 'MinApiVersionEnum', {
|
|
1979
1977
|
enumerable: true,
|
|
1980
|
-
get: function () { return
|
|
1978
|
+
get: function () { return MinApiVersionEnum.MinApiVersionEnum; }
|
|
1981
1979
|
});
|
|
1982
|
-
exports.
|
|
1983
|
-
exports.
|
|
1984
|
-
exports.
|
|
1980
|
+
exports.MinApiVersionEnumFromJSON = MinApiVersionEnum.MinApiVersionEnumFromJSON;
|
|
1981
|
+
exports.MinApiVersionEnumFromJSONTyped = MinApiVersionEnum.MinApiVersionEnumFromJSONTyped;
|
|
1982
|
+
exports.MinApiVersionEnumToJSON = MinApiVersionEnum.MinApiVersionEnumToJSON;
|
|
1985
1983
|
exports.MinifiedDynamicJwtFromJSON = MinifiedDynamicJwt.MinifiedDynamicJwtFromJSON;
|
|
1986
1984
|
exports.MinifiedDynamicJwtFromJSONTyped = MinifiedDynamicJwt.MinifiedDynamicJwtFromJSONTyped;
|
|
1987
1985
|
exports.MinifiedDynamicJwtToJSON = MinifiedDynamicJwt.MinifiedDynamicJwtToJSON;
|
package/src/index.js
CHANGED
|
@@ -29,7 +29,6 @@ export { ProvidersApi } from './apis/ProvidersApi.js';
|
|
|
29
29
|
export { SDKApi } from './apis/SDKApi.js';
|
|
30
30
|
export { SDKViewsApi } from './apis/SDKViewsApi.js';
|
|
31
31
|
export { SessionsApi } from './apis/SessionsApi.js';
|
|
32
|
-
export { SettingsApi } from './apis/SettingsApi.js';
|
|
33
32
|
export { TestAccountApi } from './apis/TestAccountApi.js';
|
|
34
33
|
export { TokensApi } from './apis/TokensApi.js';
|
|
35
34
|
export { UserApiTokensApi } from './apis/UserApiTokensApi.js';
|
|
@@ -365,7 +364,7 @@ export { MergeUserConflictResolutionFromJSON, MergeUserConflictResolutionFromJSO
|
|
|
365
364
|
export { MergeUserConflictResolutionsFromJSON, MergeUserConflictResolutionsFromJSONTyped, MergeUserConflictResolutionsToJSON } from './models/MergeUserConflictResolutions.js';
|
|
366
365
|
export { MethodNotAllowedFromJSON, MethodNotAllowedFromJSONTyped, MethodNotAllowedToJSON } from './models/MethodNotAllowed.js';
|
|
367
366
|
export { MfaBackupCodeAcknowledgement, MfaBackupCodeAcknowledgementFromJSON, MfaBackupCodeAcknowledgementFromJSONTyped, MfaBackupCodeAcknowledgementToJSON } from './models/MfaBackupCodeAcknowledgement.js';
|
|
368
|
-
export {
|
|
367
|
+
export { MinApiVersionEnum, MinApiVersionEnumFromJSON, MinApiVersionEnumFromJSONTyped, MinApiVersionEnumToJSON } from './models/MinApiVersionEnum.js';
|
|
369
368
|
export { MinifiedDynamicJwtFromJSON, MinifiedDynamicJwtFromJSONTyped, MinifiedDynamicJwtToJSON } from './models/MinifiedDynamicJwt.js';
|
|
370
369
|
export { MobileSettingsFromJSON, MobileSettingsFromJSONTyped, MobileSettingsToJSON } from './models/MobileSettings.js';
|
|
371
370
|
export { MultichainAccountBalanceResponseFromJSON, MultichainAccountBalanceResponseFromJSONTyped, MultichainAccountBalanceResponseToJSON } from './models/MultichainAccountBalanceResponse.js';
|
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
* Minimum API version required for the environment
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.MinApiVersionEnum = void 0;
|
|
24
|
+
(function (MinApiVersionEnum) {
|
|
25
|
+
MinApiVersionEnum["Api20260101"] = "2026_01_01";
|
|
26
|
+
MinApiVersionEnum["Api20260401"] = "2026_04_01";
|
|
27
|
+
})(exports.MinApiVersionEnum || (exports.MinApiVersionEnum = {}));
|
|
28
|
+
function MinApiVersionEnumFromJSON(json) {
|
|
29
|
+
return MinApiVersionEnumFromJSONTyped(json);
|
|
30
|
+
}
|
|
31
|
+
function MinApiVersionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
function MinApiVersionEnumToJSON(value) {
|
|
35
|
+
return value;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.MinApiVersionEnumFromJSON = MinApiVersionEnumFromJSON;
|
|
39
|
+
exports.MinApiVersionEnumFromJSONTyped = MinApiVersionEnumFromJSONTyped;
|
|
40
|
+
exports.MinApiVersionEnumToJSON = MinApiVersionEnumToJSON;
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
* Minimum API version required for the environment
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum MinApiVersionEnum {
|
|
18
|
+
Api20260101 = "2026_01_01",
|
|
19
|
+
Api20260401 = "2026_04_01"
|
|
20
|
+
}
|
|
21
|
+
export declare function MinApiVersionEnumFromJSON(json: any): MinApiVersionEnum;
|
|
22
|
+
export declare function MinApiVersionEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinApiVersionEnum;
|
|
23
|
+
export declare function MinApiVersionEnumToJSON(value?: MinApiVersionEnum | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
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
|
+
* Minimum API version required for the environment
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var MinApiVersionEnum;
|
|
20
|
+
(function (MinApiVersionEnum) {
|
|
21
|
+
MinApiVersionEnum["Api20260101"] = "2026_01_01";
|
|
22
|
+
MinApiVersionEnum["Api20260401"] = "2026_04_01";
|
|
23
|
+
})(MinApiVersionEnum || (MinApiVersionEnum = {}));
|
|
24
|
+
function MinApiVersionEnumFromJSON(json) {
|
|
25
|
+
return MinApiVersionEnumFromJSONTyped(json);
|
|
26
|
+
}
|
|
27
|
+
function MinApiVersionEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
function MinApiVersionEnumToJSON(value) {
|
|
31
|
+
return value;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { MinApiVersionEnum, MinApiVersionEnumFromJSON, MinApiVersionEnumFromJSONTyped, MinApiVersionEnumToJSON };
|
|
@@ -7,7 +7,7 @@ var EmbeddedWalletSecurityMethod = require('./EmbeddedWalletSecurityMethod.cjs')
|
|
|
7
7
|
var ExchangeOption = require('./ExchangeOption.cjs');
|
|
8
8
|
var FeatureFlags = require('./FeatureFlags.cjs');
|
|
9
9
|
var Funding = require('./Funding.cjs');
|
|
10
|
-
var
|
|
10
|
+
var MinApiVersionEnum = require('./MinApiVersionEnum.cjs');
|
|
11
11
|
var MobileSettings = require('./MobileSettings.cjs');
|
|
12
12
|
var NameServiceSdkSettings = require('./NameServiceSdkSettings.cjs');
|
|
13
13
|
var ProjectSettingsSdkAccountAbstraction = require('./ProjectSettingsSdkAccountAbstraction.cjs');
|
|
@@ -47,7 +47,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'confirmEmailProviderForVerify': !runtime.exists(json, 'confirmEmailProviderForVerify') ? undefined : json['confirmEmailProviderForVerify'],
|
|
48
48
|
'displayDynamicMessaging': !runtime.exists(json, 'displayDynamicMessaging') ? undefined : json['displayDynamicMessaging'],
|
|
49
49
|
'hideNetworkInDynamicWidget': !runtime.exists(json, 'hideNetworkInDynamicWidget') ? undefined : json['hideNetworkInDynamicWidget'],
|
|
50
|
-
'
|
|
50
|
+
'minApiVersion': !runtime.exists(json, 'minApiVersion') ? undefined : MinApiVersionEnum.MinApiVersionEnumFromJSON(json['minApiVersion']),
|
|
51
51
|
'preventOrphanedAccounts': !runtime.exists(json, 'preventOrphanedAccounts') ? undefined : json['preventOrphanedAccounts'],
|
|
52
52
|
'views': !runtime.exists(json, 'views') ? undefined : (json['views'].map(SdkView.SdkViewFromJSON)),
|
|
53
53
|
'accountAbstraction': !runtime.exists(json, 'accountAbstraction') ? undefined : ProjectSettingsSdkAccountAbstraction.ProjectSettingsSdkAccountAbstractionFromJSON(json['accountAbstraction']),
|
|
@@ -86,7 +86,7 @@ function ProjectSettingsSdkToJSON(value) {
|
|
|
86
86
|
'confirmEmailProviderForVerify': value.confirmEmailProviderForVerify,
|
|
87
87
|
'displayDynamicMessaging': value.displayDynamicMessaging,
|
|
88
88
|
'hideNetworkInDynamicWidget': value.hideNetworkInDynamicWidget,
|
|
89
|
-
'
|
|
89
|
+
'minApiVersion': MinApiVersionEnum.MinApiVersionEnumToJSON(value.minApiVersion),
|
|
90
90
|
'preventOrphanedAccounts': value.preventOrphanedAccounts,
|
|
91
91
|
'views': value.views === undefined ? undefined : (value.views.map(SdkView.SdkViewToJSON)),
|
|
92
92
|
'accountAbstraction': ProjectSettingsSdkAccountAbstraction.ProjectSettingsSdkAccountAbstractionToJSON(value.accountAbstraction),
|
|
@@ -13,7 +13,7 @@ import { EmbeddedWalletSecurityMethod } from './EmbeddedWalletSecurityMethod';
|
|
|
13
13
|
import { ExchangeOption } from './ExchangeOption';
|
|
14
14
|
import { FeatureFlags } from './FeatureFlags';
|
|
15
15
|
import { Funding } from './Funding';
|
|
16
|
-
import {
|
|
16
|
+
import { MinApiVersionEnum } from './MinApiVersionEnum';
|
|
17
17
|
import { MobileSettings } from './MobileSettings';
|
|
18
18
|
import { NameServiceSdkSettings } from './NameServiceSdkSettings';
|
|
19
19
|
import { ProjectSettingsSdkAccountAbstraction } from './ProjectSettingsSdkAccountAbstraction';
|
|
@@ -151,10 +151,10 @@ export interface ProjectSettingsSdk {
|
|
|
151
151
|
hideNetworkInDynamicWidget?: boolean;
|
|
152
152
|
/**
|
|
153
153
|
*
|
|
154
|
-
* @type {
|
|
154
|
+
* @type {MinApiVersionEnum}
|
|
155
155
|
* @memberof ProjectSettingsSdk
|
|
156
156
|
*/
|
|
157
|
-
|
|
157
|
+
minApiVersion?: MinApiVersionEnum;
|
|
158
158
|
/**
|
|
159
159
|
*
|
|
160
160
|
* @type {boolean}
|
|
@@ -3,7 +3,7 @@ import { EmbeddedWalletSecurityMethodFromJSON, EmbeddedWalletSecurityMethodToJSO
|
|
|
3
3
|
import { ExchangeOptionFromJSON, ExchangeOptionToJSON } from './ExchangeOption.js';
|
|
4
4
|
import { FeatureFlagsFromJSON, FeatureFlagsToJSON } from './FeatureFlags.js';
|
|
5
5
|
import { FundingFromJSON, FundingToJSON } from './Funding.js';
|
|
6
|
-
import {
|
|
6
|
+
import { MinApiVersionEnumFromJSON, MinApiVersionEnumToJSON } from './MinApiVersionEnum.js';
|
|
7
7
|
import { MobileSettingsFromJSON, MobileSettingsToJSON } from './MobileSettings.js';
|
|
8
8
|
import { NameServiceSdkSettingsFromJSON, NameServiceSdkSettingsToJSON } from './NameServiceSdkSettings.js';
|
|
9
9
|
import { ProjectSettingsSdkAccountAbstractionFromJSON, ProjectSettingsSdkAccountAbstractionToJSON } from './ProjectSettingsSdkAccountAbstraction.js';
|
|
@@ -43,7 +43,7 @@ function ProjectSettingsSdkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
43
43
|
'confirmEmailProviderForVerify': !exists(json, 'confirmEmailProviderForVerify') ? undefined : json['confirmEmailProviderForVerify'],
|
|
44
44
|
'displayDynamicMessaging': !exists(json, 'displayDynamicMessaging') ? undefined : json['displayDynamicMessaging'],
|
|
45
45
|
'hideNetworkInDynamicWidget': !exists(json, 'hideNetworkInDynamicWidget') ? undefined : json['hideNetworkInDynamicWidget'],
|
|
46
|
-
'
|
|
46
|
+
'minApiVersion': !exists(json, 'minApiVersion') ? undefined : MinApiVersionEnumFromJSON(json['minApiVersion']),
|
|
47
47
|
'preventOrphanedAccounts': !exists(json, 'preventOrphanedAccounts') ? undefined : json['preventOrphanedAccounts'],
|
|
48
48
|
'views': !exists(json, 'views') ? undefined : (json['views'].map(SdkViewFromJSON)),
|
|
49
49
|
'accountAbstraction': !exists(json, 'accountAbstraction') ? undefined : ProjectSettingsSdkAccountAbstractionFromJSON(json['accountAbstraction']),
|
|
@@ -82,7 +82,7 @@ function ProjectSettingsSdkToJSON(value) {
|
|
|
82
82
|
'confirmEmailProviderForVerify': value.confirmEmailProviderForVerify,
|
|
83
83
|
'displayDynamicMessaging': value.displayDynamicMessaging,
|
|
84
84
|
'hideNetworkInDynamicWidget': value.hideNetworkInDynamicWidget,
|
|
85
|
-
'
|
|
85
|
+
'minApiVersion': MinApiVersionEnumToJSON(value.minApiVersion),
|
|
86
86
|
'preventOrphanedAccounts': value.preventOrphanedAccounts,
|
|
87
87
|
'views': value.views === undefined ? undefined : (value.views.map(SdkViewToJSON)),
|
|
88
88
|
'accountAbstraction': ProjectSettingsSdkAccountAbstractionToJSON(value.accountAbstraction),
|
package/src/models/index.d.ts
CHANGED
|
@@ -324,7 +324,7 @@ export * from './MergeUserConflictResolution';
|
|
|
324
324
|
export * from './MergeUserConflictResolutions';
|
|
325
325
|
export * from './MethodNotAllowed';
|
|
326
326
|
export * from './MfaBackupCodeAcknowledgement';
|
|
327
|
-
export * from './
|
|
327
|
+
export * from './MinApiVersionEnum';
|
|
328
328
|
export * from './MinifiedDynamicJwt';
|
|
329
329
|
export * from './MobileSettings';
|
|
330
330
|
export * from './MultichainAccountBalanceResponse';
|