@dynamic-labs/sdk-api 0.0.863 → 0.0.868
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 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +89 -0
- package/src/apis/EnvironmentsApi.d.ts +29 -1
- package/src/apis/EnvironmentsApi.js +89 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/SDKApi.cjs +207 -0
- package/src/apis/SDKApi.d.ts +75 -1
- package/src/apis/SDKApi.js +207 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/SettingsApi.cjs +1 -0
- package/src/apis/SettingsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +5 -4
- package/src/apis/WaasApi.d.ts +3 -3
- package/src/apis/WaasApi.js +5 -4
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/index.cjs +12 -0
- package/src/index.js +2 -0
- package/src/models/EmailVerificationVerifyRequest.cjs +3 -0
- package/src/models/EmailVerificationVerifyRequest.d.ts +7 -0
- package/src/models/EmailVerificationVerifyRequest.js +3 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.cjs +2 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.d.ts +6 -0
- package/src/models/EmbeddedWalletSecretWithUpdatedJwt.js +2 -0
- package/src/models/SignMessageBtcTransaction.cjs +5 -13
- package/src/models/SignMessageBtcTransaction.d.ts +8 -2
- package/src/models/SignMessageBtcTransaction.js +5 -13
- package/src/models/SmsVerificationVerifyRequest.cjs +3 -0
- package/src/models/SmsVerificationVerifyRequest.d.ts +7 -0
- package/src/models/SmsVerificationVerifyRequest.js +3 -0
- package/src/models/TokenScope.cjs +39 -0
- package/src/models/TokenScope.d.ts +22 -0
- package/src/models/TokenScope.js +33 -0
- package/src/models/UpdateSelfResponse.cjs +2 -0
- package/src/models/UpdateSelfResponse.d.ts +6 -0
- package/src/models/UpdateSelfResponse.js +2 -0
- package/src/models/UserFilterableFieldsEnum.cjs +1 -0
- package/src/models/UserFilterableFieldsEnum.d.ts +2 -1
- package/src/models/UserFilterableFieldsEnum.js +1 -0
- package/src/models/VerifyResponse.cjs +2 -0
- package/src/models/VerifyResponse.d.ts +6 -0
- package/src/models/VerifyResponse.js +2 -0
- package/src/models/WalletSanctionsResponse.cjs +37 -0
- package/src/models/WalletSanctionsResponse.d.ts +40 -0
- package/src/models/WalletSanctionsResponse.js +31 -0
- package/src/models/index.d.ts +2 -0
package/src/apis/SDKViewsApi.cjs
CHANGED
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/SDKViewsApi.js
CHANGED
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/SessionsApi.cjs
CHANGED
|
@@ -54,6 +54,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
54
54
|
require('../models/DnsRecordType.cjs');
|
|
55
55
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
56
56
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
57
|
+
require('../models/TokenScope.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
58
59
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
59
60
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/SessionsApi.js
CHANGED
|
@@ -50,6 +50,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
50
50
|
import '../models/DnsRecordType.js';
|
|
51
51
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
52
52
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
53
|
+
import '../models/TokenScope.js';
|
|
53
54
|
import '../models/EmbeddedWalletAuthType.js';
|
|
54
55
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
55
56
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/SettingsApi.cjs
CHANGED
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/SettingsApi.js
CHANGED
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/TokensApi.cjs
CHANGED
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/TokensApi.js
CHANGED
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/UsersApi.cjs
CHANGED
|
@@ -54,6 +54,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
54
54
|
require('../models/DnsRecordType.cjs');
|
|
55
55
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
56
56
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
57
|
+
require('../models/TokenScope.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
58
59
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
59
60
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/UsersApi.js
CHANGED
|
@@ -50,6 +50,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
50
50
|
import '../models/DnsRecordType.js';
|
|
51
51
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
52
52
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
53
|
+
import '../models/TokenScope.js';
|
|
53
54
|
import '../models/EmbeddedWalletAuthType.js';
|
|
54
55
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
55
56
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/VisitsApi.cjs
CHANGED
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/VisitsApi.js
CHANGED
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/WaasApi.cjs
CHANGED
|
@@ -58,6 +58,7 @@ require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
|
58
58
|
var DelegatedAccessEncryptionPublicKeyResponse = require('../models/DelegatedAccessEncryptionPublicKeyResponse.cjs');
|
|
59
59
|
var DelegatedAccessEncryptionPublicKeysUnifiedResponse = require('../models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.cjs');
|
|
60
60
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
61
|
+
require('../models/TokenScope.cjs');
|
|
61
62
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
62
63
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
63
64
|
require('../models/EnvironmentEnum.cjs');
|
|
@@ -839,10 +840,10 @@ class WaasApi extends runtime.BaseAPI {
|
|
|
839
840
|
* 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.
|
|
840
841
|
* Verify if an API key is valid for a specific environment
|
|
841
842
|
*/
|
|
842
|
-
|
|
843
|
+
waasVerifyApiKeyRaw(requestParameters, initOverrides) {
|
|
843
844
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
844
845
|
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
845
|
-
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling
|
|
846
|
+
throw new runtime.RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling waasVerifyApiKey.');
|
|
846
847
|
}
|
|
847
848
|
const queryParameters = {};
|
|
848
849
|
const headerParameters = {};
|
|
@@ -866,9 +867,9 @@ class WaasApi extends runtime.BaseAPI {
|
|
|
866
867
|
* 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.
|
|
867
868
|
* Verify if an API key is valid for a specific environment
|
|
868
869
|
*/
|
|
869
|
-
|
|
870
|
+
waasVerifyApiKey(requestParameters, initOverrides) {
|
|
870
871
|
return _tslib.__awaiter(this, void 0, void 0, function* () {
|
|
871
|
-
const response = yield this.
|
|
872
|
+
const response = yield this.waasVerifyApiKeyRaw(requestParameters, initOverrides);
|
|
872
873
|
return yield response.value();
|
|
873
874
|
});
|
|
874
875
|
}
|
package/src/apis/WaasApi.d.ts
CHANGED
|
@@ -98,7 +98,7 @@ export interface UpdateWaasSignaturePolicyByWalletIdAndPolicyIdRequest {
|
|
|
98
98
|
policyId: string;
|
|
99
99
|
waasWalletSignaturePolicyTmpCreateRequest: WaasWalletSignaturePolicyTmpCreateRequest;
|
|
100
100
|
}
|
|
101
|
-
export interface
|
|
101
|
+
export interface WaasVerifyApiKeyRequest {
|
|
102
102
|
environmentId: string;
|
|
103
103
|
}
|
|
104
104
|
/**
|
|
@@ -291,10 +291,10 @@ export declare class WaasApi extends runtime.BaseAPI {
|
|
|
291
291
|
* 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.
|
|
292
292
|
* Verify if an API key is valid for a specific environment
|
|
293
293
|
*/
|
|
294
|
-
|
|
294
|
+
waasVerifyApiKeyRaw(requestParameters: WaasVerifyApiKeyRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<WaasVerifyApiKeyResponse>>;
|
|
295
295
|
/**
|
|
296
296
|
* 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.
|
|
297
297
|
* Verify if an API key is valid for a specific environment
|
|
298
298
|
*/
|
|
299
|
-
|
|
299
|
+
waasVerifyApiKey(requestParameters: WaasVerifyApiKeyRequest, initOverrides?: RequestInit): Promise<WaasVerifyApiKeyResponse>;
|
|
300
300
|
}
|
package/src/apis/WaasApi.js
CHANGED
|
@@ -54,6 +54,7 @@ import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
|
54
54
|
import { DelegatedAccessEncryptionPublicKeyResponseFromJSON } from '../models/DelegatedAccessEncryptionPublicKeyResponse.js';
|
|
55
55
|
import { DelegatedAccessEncryptionPublicKeysUnifiedResponseFromJSON } from '../models/DelegatedAccessEncryptionPublicKeysUnifiedResponse.js';
|
|
56
56
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
57
|
+
import '../models/TokenScope.js';
|
|
57
58
|
import '../models/EmbeddedWalletAuthType.js';
|
|
58
59
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
59
60
|
import '../models/EnvironmentEnum.js';
|
|
@@ -835,10 +836,10 @@ class WaasApi extends BaseAPI {
|
|
|
835
836
|
* 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.
|
|
836
837
|
* Verify if an API key is valid for a specific environment
|
|
837
838
|
*/
|
|
838
|
-
|
|
839
|
+
waasVerifyApiKeyRaw(requestParameters, initOverrides) {
|
|
839
840
|
return __awaiter(this, void 0, void 0, function* () {
|
|
840
841
|
if (requestParameters.environmentId === null || requestParameters.environmentId === undefined) {
|
|
841
|
-
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling
|
|
842
|
+
throw new RequiredError('environmentId', 'Required parameter requestParameters.environmentId was null or undefined when calling waasVerifyApiKey.');
|
|
842
843
|
}
|
|
843
844
|
const queryParameters = {};
|
|
844
845
|
const headerParameters = {};
|
|
@@ -862,9 +863,9 @@ class WaasApi extends BaseAPI {
|
|
|
862
863
|
* 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.
|
|
863
864
|
* Verify if an API key is valid for a specific environment
|
|
864
865
|
*/
|
|
865
|
-
|
|
866
|
+
waasVerifyApiKey(requestParameters, initOverrides) {
|
|
866
867
|
return __awaiter(this, void 0, void 0, function* () {
|
|
867
|
-
const response = yield this.
|
|
868
|
+
const response = yield this.waasVerifyApiKeyRaw(requestParameters, initOverrides);
|
|
868
869
|
return yield response.value();
|
|
869
870
|
});
|
|
870
871
|
}
|
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/WalletsApi.cjs
CHANGED
|
@@ -57,6 +57,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
57
57
|
require('../models/DnsRecordType.cjs');
|
|
58
58
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
59
59
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
60
|
+
require('../models/TokenScope.cjs');
|
|
60
61
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
61
62
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
62
63
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/WalletsApi.js
CHANGED
|
@@ -53,6 +53,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
53
53
|
import '../models/DnsRecordType.js';
|
|
54
54
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
55
55
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
56
|
+
import '../models/TokenScope.js';
|
|
56
57
|
import '../models/EmbeddedWalletAuthType.js';
|
|
57
58
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
58
59
|
import '../models/EnvironmentEnum.js';
|
package/src/apis/WebhooksApi.cjs
CHANGED
|
@@ -53,6 +53,7 @@ require('../models/CustomHostnameVerificationType.cjs');
|
|
|
53
53
|
require('../models/DnsRecordType.cjs');
|
|
54
54
|
require('../models/DelegatedAccessEncryptionPublicKey.cjs');
|
|
55
55
|
require('../models/DelegatedShareDeliveryResponse.cjs');
|
|
56
|
+
require('../models/TokenScope.cjs');
|
|
56
57
|
require('../models/EmbeddedWalletAuthType.cjs');
|
|
57
58
|
require('../models/EmbeddedWalletSecurityMethod.cjs');
|
|
58
59
|
require('../models/EnvironmentEnum.cjs');
|
package/src/apis/WebhooksApi.js
CHANGED
|
@@ -49,6 +49,7 @@ import '../models/CustomHostnameVerificationType.js';
|
|
|
49
49
|
import '../models/DnsRecordType.js';
|
|
50
50
|
import '../models/DelegatedAccessEncryptionPublicKey.js';
|
|
51
51
|
import '../models/DelegatedShareDeliveryResponse.js';
|
|
52
|
+
import '../models/TokenScope.js';
|
|
52
53
|
import '../models/EmbeddedWalletAuthType.js';
|
|
53
54
|
import '../models/EmbeddedWalletSecurityMethod.js';
|
|
54
55
|
import '../models/EnvironmentEnum.js';
|
package/src/index.cjs
CHANGED
|
@@ -530,6 +530,7 @@ var Token = require('./models/Token.cjs');
|
|
|
530
530
|
var TokenAddress = require('./models/TokenAddress.cjs');
|
|
531
531
|
var TokenBalance = require('./models/TokenBalance.cjs');
|
|
532
532
|
var TokenCreatedBy = require('./models/TokenCreatedBy.cjs');
|
|
533
|
+
var TokenScope = require('./models/TokenScope.cjs');
|
|
533
534
|
var TokenScopes = require('./models/TokenScopes.cjs');
|
|
534
535
|
var TokenWithRaw = require('./models/TokenWithRaw.cjs');
|
|
535
536
|
var TokenWithRawProjectEnvironment = require('./models/TokenWithRawProjectEnvironment.cjs');
|
|
@@ -625,6 +626,7 @@ var WalletProperties = require('./models/WalletProperties.cjs');
|
|
|
625
626
|
var WalletProviderEnum = require('./models/WalletProviderEnum.cjs');
|
|
626
627
|
var WalletRecoveryRequest = require('./models/WalletRecoveryRequest.cjs');
|
|
627
628
|
var WalletRecoveryResponse = require('./models/WalletRecoveryResponse.cjs');
|
|
629
|
+
var WalletSanctionsResponse = require('./models/WalletSanctionsResponse.cjs');
|
|
628
630
|
var WalletTransaction = require('./models/WalletTransaction.cjs');
|
|
629
631
|
var WalletTransactionAssetTransfer = require('./models/WalletTransactionAssetTransfer.cjs');
|
|
630
632
|
var WalletTransactionAssetTransferMetadata = require('./models/WalletTransactionAssetTransferMetadata.cjs');
|
|
@@ -2472,6 +2474,13 @@ exports.TokenBalanceToJSON = TokenBalance.TokenBalanceToJSON;
|
|
|
2472
2474
|
exports.TokenCreatedByFromJSON = TokenCreatedBy.TokenCreatedByFromJSON;
|
|
2473
2475
|
exports.TokenCreatedByFromJSONTyped = TokenCreatedBy.TokenCreatedByFromJSONTyped;
|
|
2474
2476
|
exports.TokenCreatedByToJSON = TokenCreatedBy.TokenCreatedByToJSON;
|
|
2477
|
+
Object.defineProperty(exports, 'TokenScope', {
|
|
2478
|
+
enumerable: true,
|
|
2479
|
+
get: function () { return TokenScope.TokenScope; }
|
|
2480
|
+
});
|
|
2481
|
+
exports.TokenScopeFromJSON = TokenScope.TokenScopeFromJSON;
|
|
2482
|
+
exports.TokenScopeFromJSONTyped = TokenScope.TokenScopeFromJSONTyped;
|
|
2483
|
+
exports.TokenScopeToJSON = TokenScope.TokenScopeToJSON;
|
|
2475
2484
|
Object.defineProperty(exports, 'TokenScopes', {
|
|
2476
2485
|
enumerable: true,
|
|
2477
2486
|
get: function () { return TokenScopes.TokenScopes; }
|
|
@@ -2817,6 +2826,9 @@ exports.WalletRecoveryRequestToJSON = WalletRecoveryRequest.WalletRecoveryReques
|
|
|
2817
2826
|
exports.WalletRecoveryResponseFromJSON = WalletRecoveryResponse.WalletRecoveryResponseFromJSON;
|
|
2818
2827
|
exports.WalletRecoveryResponseFromJSONTyped = WalletRecoveryResponse.WalletRecoveryResponseFromJSONTyped;
|
|
2819
2828
|
exports.WalletRecoveryResponseToJSON = WalletRecoveryResponse.WalletRecoveryResponseToJSON;
|
|
2829
|
+
exports.WalletSanctionsResponseFromJSON = WalletSanctionsResponse.WalletSanctionsResponseFromJSON;
|
|
2830
|
+
exports.WalletSanctionsResponseFromJSONTyped = WalletSanctionsResponse.WalletSanctionsResponseFromJSONTyped;
|
|
2831
|
+
exports.WalletSanctionsResponseToJSON = WalletSanctionsResponse.WalletSanctionsResponseToJSON;
|
|
2820
2832
|
exports.WalletTransactionFromJSON = WalletTransaction.WalletTransactionFromJSON;
|
|
2821
2833
|
exports.WalletTransactionFromJSONTyped = WalletTransaction.WalletTransactionFromJSONTyped;
|
|
2822
2834
|
exports.WalletTransactionToJSON = WalletTransaction.WalletTransactionToJSON;
|
package/src/index.js
CHANGED
|
@@ -526,6 +526,7 @@ export { TokenFromJSON, TokenFromJSONTyped, TokenToJSON } from './models/Token.j
|
|
|
526
526
|
export { TokenAddressFromJSON, TokenAddressFromJSONTyped, TokenAddressToJSON } from './models/TokenAddress.js';
|
|
527
527
|
export { TokenBalanceFromJSON, TokenBalanceFromJSONTyped, TokenBalanceToJSON } from './models/TokenBalance.js';
|
|
528
528
|
export { TokenCreatedByFromJSON, TokenCreatedByFromJSONTyped, TokenCreatedByToJSON } from './models/TokenCreatedBy.js';
|
|
529
|
+
export { TokenScope, TokenScopeFromJSON, TokenScopeFromJSONTyped, TokenScopeToJSON } from './models/TokenScope.js';
|
|
529
530
|
export { TokenScopes, TokenScopesFromJSON, TokenScopesFromJSONTyped, TokenScopesToJSON } from './models/TokenScopes.js';
|
|
530
531
|
export { TokenWithRawFromJSON, TokenWithRawFromJSONTyped, TokenWithRawToJSON } from './models/TokenWithRaw.js';
|
|
531
532
|
export { TokenWithRawProjectEnvironmentFromJSON, TokenWithRawProjectEnvironmentFromJSONTyped, TokenWithRawProjectEnvironmentToJSON } from './models/TokenWithRawProjectEnvironment.js';
|
|
@@ -621,6 +622,7 @@ export { WalletPropertiesFromJSON, WalletPropertiesFromJSONTyped, WalletProperti
|
|
|
621
622
|
export { WalletProviderEnum, WalletProviderEnumFromJSON, WalletProviderEnumFromJSONTyped, WalletProviderEnumToJSON } from './models/WalletProviderEnum.js';
|
|
622
623
|
export { WalletRecoveryRequestFromJSON, WalletRecoveryRequestFromJSONTyped, WalletRecoveryRequestToJSON } from './models/WalletRecoveryRequest.js';
|
|
623
624
|
export { WalletRecoveryResponseFromJSON, WalletRecoveryResponseFromJSONTyped, WalletRecoveryResponseToJSON } from './models/WalletRecoveryResponse.js';
|
|
625
|
+
export { WalletSanctionsResponseFromJSON, WalletSanctionsResponseFromJSONTyped, WalletSanctionsResponseToJSON } from './models/WalletSanctionsResponse.js';
|
|
624
626
|
export { WalletTransactionFromJSON, WalletTransactionFromJSONTyped, WalletTransactionToJSON } from './models/WalletTransaction.js';
|
|
625
627
|
export { WalletTransactionAssetTransferFromJSON, WalletTransactionAssetTransferFromJSONTyped, WalletTransactionAssetTransferToJSON } from './models/WalletTransactionAssetTransfer.js';
|
|
626
628
|
export { WalletTransactionAssetTransferMetadataFromJSON, WalletTransactionAssetTransferMetadataFromJSONTyped, WalletTransactionAssetTransferMetadataToJSON } from './models/WalletTransactionAssetTransferMetadata.js';
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var TokenScope = require('./TokenScope.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function EmailVerificationVerifyRequestFromJSON(json) {
|
|
@@ -17,6 +18,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
17
18
|
'verificationToken': json['verificationToken'],
|
|
18
19
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
20
|
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
21
|
+
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -31,6 +33,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
31
33
|
'verificationToken': value.verificationToken,
|
|
32
34
|
'captchaToken': value.captchaToken,
|
|
33
35
|
'sessionPublicKey': value.sessionPublicKey,
|
|
36
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { TokenScope } from './TokenScope';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -39,6 +40,12 @@ export interface EmailVerificationVerifyRequest {
|
|
|
39
40
|
* @memberof EmailVerificationVerifyRequest
|
|
40
41
|
*/
|
|
41
42
|
sessionPublicKey?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Optional list of scopes to include in the elevated access token.
|
|
45
|
+
* @type {Array<TokenScope>}
|
|
46
|
+
* @memberof EmailVerificationVerifyRequest
|
|
47
|
+
*/
|
|
48
|
+
requestedScopes?: Array<TokenScope>;
|
|
42
49
|
}
|
|
43
50
|
export declare function EmailVerificationVerifyRequestFromJSON(json: any): EmailVerificationVerifyRequest;
|
|
44
51
|
export declare function EmailVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmailVerificationVerifyRequest;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { exists } from '../runtime.js';
|
|
2
|
+
import { TokenScopeFromJSON, TokenScopeToJSON } from './TokenScope.js';
|
|
2
3
|
|
|
3
4
|
/* tslint:disable */
|
|
4
5
|
function EmailVerificationVerifyRequestFromJSON(json) {
|
|
@@ -13,6 +14,7 @@ function EmailVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
13
14
|
'verificationToken': json['verificationToken'],
|
|
14
15
|
'captchaToken': !exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
15
16
|
'sessionPublicKey': !exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
17
|
+
'requestedScopes': !exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScopeFromJSON)),
|
|
16
18
|
};
|
|
17
19
|
}
|
|
18
20
|
function EmailVerificationVerifyRequestToJSON(value) {
|
|
@@ -27,6 +29,7 @@ function EmailVerificationVerifyRequestToJSON(value) {
|
|
|
27
29
|
'verificationToken': value.verificationToken,
|
|
28
30
|
'captchaToken': value.captchaToken,
|
|
29
31
|
'sessionPublicKey': value.sessionPublicKey,
|
|
32
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScopeToJSON)),
|
|
30
33
|
};
|
|
31
34
|
}
|
|
32
35
|
|
|
@@ -20,6 +20,7 @@ function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminat
|
|
|
20
20
|
'user': SdkUser.SdkUserFromJSON(json['user']),
|
|
21
21
|
'minifiedJwt': !runtime.exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
22
22
|
'expiresAt': json['expiresAt'],
|
|
23
|
+
'elevatedAccessToken': !runtime.exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
23
24
|
'walletId': json['walletId'],
|
|
24
25
|
'secret': !runtime.exists(json, 'secret') ? undefined : json['secret'],
|
|
25
26
|
'source': !runtime.exists(json, 'source') ? undefined : PasswordSourceTypeEnum.PasswordSourceTypeEnumFromJSON(json['source']),
|
|
@@ -38,6 +39,7 @@ function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
|
|
|
38
39
|
'user': SdkUser.SdkUserToJSON(value.user),
|
|
39
40
|
'minifiedJwt': value.minifiedJwt,
|
|
40
41
|
'expiresAt': value.expiresAt,
|
|
42
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
41
43
|
'walletId': value.walletId,
|
|
42
44
|
'secret': value.secret,
|
|
43
45
|
'source': PasswordSourceTypeEnum.PasswordSourceTypeEnumToJSON(value.source),
|
|
@@ -47,6 +47,12 @@ export interface EmbeddedWalletSecretWithUpdatedJwt {
|
|
|
47
47
|
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
48
48
|
*/
|
|
49
49
|
expiresAt: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof EmbeddedWalletSecretWithUpdatedJwt
|
|
54
|
+
*/
|
|
55
|
+
elevatedAccessToken?: string | null;
|
|
50
56
|
/**
|
|
51
57
|
*
|
|
52
58
|
* @type {string}
|
|
@@ -16,6 +16,7 @@ function EmbeddedWalletSecretWithUpdatedJwtFromJSONTyped(json, ignoreDiscriminat
|
|
|
16
16
|
'user': SdkUserFromJSON(json['user']),
|
|
17
17
|
'minifiedJwt': !exists(json, 'minifiedJwt') ? undefined : json['minifiedJwt'],
|
|
18
18
|
'expiresAt': json['expiresAt'],
|
|
19
|
+
'elevatedAccessToken': !exists(json, 'elevatedAccessToken') ? undefined : json['elevatedAccessToken'],
|
|
19
20
|
'walletId': json['walletId'],
|
|
20
21
|
'secret': !exists(json, 'secret') ? undefined : json['secret'],
|
|
21
22
|
'source': !exists(json, 'source') ? undefined : PasswordSourceTypeEnumFromJSON(json['source']),
|
|
@@ -34,6 +35,7 @@ function EmbeddedWalletSecretWithUpdatedJwtToJSON(value) {
|
|
|
34
35
|
'user': SdkUserToJSON(value.user),
|
|
35
36
|
'minifiedJwt': value.minifiedJwt,
|
|
36
37
|
'expiresAt': value.expiresAt,
|
|
38
|
+
'elevatedAccessToken': value.elevatedAccessToken,
|
|
37
39
|
'walletId': value.walletId,
|
|
38
40
|
'secret': value.secret,
|
|
39
41
|
'source': PasswordSourceTypeEnumToJSON(value.source),
|
|
@@ -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 SignMessageBtcTransactionFromJSON(json) {
|
|
19
9
|
return SignMessageBtcTransactionFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,7 +14,8 @@ function SignMessageBtcTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'psbt': json['psbt'],
|
|
27
|
-
'
|
|
17
|
+
'chainId': json['chainId'],
|
|
18
|
+
'accountAddress': !runtime.exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
28
19
|
};
|
|
29
20
|
}
|
|
30
21
|
function SignMessageBtcTransactionToJSON(value) {
|
|
@@ -36,6 +27,7 @@ function SignMessageBtcTransactionToJSON(value) {
|
|
|
36
27
|
}
|
|
37
28
|
return {
|
|
38
29
|
'psbt': value.psbt,
|
|
30
|
+
'chainId': value.chainId,
|
|
39
31
|
'accountAddress': value.accountAddress,
|
|
40
32
|
};
|
|
41
33
|
}
|
|
@@ -22,11 +22,17 @@ export interface SignMessageBtcTransaction {
|
|
|
22
22
|
*/
|
|
23
23
|
psbt: string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* Chain identifier (1=mainnet, 2=testnet, 3=signet)
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SignMessageBtcTransaction
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
chainId: string;
|
|
30
|
+
/**
|
|
31
|
+
* Bitcoin address of the signer (deprecated - use EAC accountAddress instead)
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SignMessageBtcTransaction
|
|
34
|
+
*/
|
|
35
|
+
accountAddress?: string;
|
|
30
36
|
}
|
|
31
37
|
export declare function SignMessageBtcTransactionFromJSON(json: any): SignMessageBtcTransaction;
|
|
32
38
|
export declare function SignMessageBtcTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageBtcTransaction;
|
|
@@ -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 SignMessageBtcTransactionFromJSON(json) {
|
|
15
5
|
return SignMessageBtcTransactionFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,7 +10,8 @@ function SignMessageBtcTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'psbt': json['psbt'],
|
|
23
|
-
'
|
|
13
|
+
'chainId': json['chainId'],
|
|
14
|
+
'accountAddress': !exists(json, 'accountAddress') ? undefined : json['accountAddress'],
|
|
24
15
|
};
|
|
25
16
|
}
|
|
26
17
|
function SignMessageBtcTransactionToJSON(value) {
|
|
@@ -32,6 +23,7 @@ function SignMessageBtcTransactionToJSON(value) {
|
|
|
32
23
|
}
|
|
33
24
|
return {
|
|
34
25
|
'psbt': value.psbt,
|
|
26
|
+
'chainId': value.chainId,
|
|
35
27
|
'accountAddress': value.accountAddress,
|
|
36
28
|
};
|
|
37
29
|
}
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var runtime = require('../runtime.cjs');
|
|
6
|
+
var TokenScope = require('./TokenScope.cjs');
|
|
6
7
|
|
|
7
8
|
/* tslint:disable */
|
|
8
9
|
function SmsVerificationVerifyRequestFromJSON(json) {
|
|
@@ -17,6 +18,7 @@ function SmsVerificationVerifyRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
'verificationToken': json['verificationToken'],
|
|
18
19
|
'captchaToken': !runtime.exists(json, 'captchaToken') ? undefined : json['captchaToken'],
|
|
19
20
|
'sessionPublicKey': !runtime.exists(json, 'sessionPublicKey') ? undefined : json['sessionPublicKey'],
|
|
21
|
+
'requestedScopes': !runtime.exists(json, 'requestedScopes') ? undefined : (json['requestedScopes'].map(TokenScope.TokenScopeFromJSON)),
|
|
20
22
|
};
|
|
21
23
|
}
|
|
22
24
|
function SmsVerificationVerifyRequestToJSON(value) {
|
|
@@ -31,6 +33,7 @@ function SmsVerificationVerifyRequestToJSON(value) {
|
|
|
31
33
|
'verificationToken': value.verificationToken,
|
|
32
34
|
'captchaToken': value.captchaToken,
|
|
33
35
|
'sessionPublicKey': value.sessionPublicKey,
|
|
36
|
+
'requestedScopes': value.requestedScopes === undefined ? undefined : (value.requestedScopes.map(TokenScope.TokenScopeToJSON)),
|
|
34
37
|
};
|
|
35
38
|
}
|
|
36
39
|
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { TokenScope } from './TokenScope';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -39,6 +40,12 @@ export interface SmsVerificationVerifyRequest {
|
|
|
39
40
|
* @memberof SmsVerificationVerifyRequest
|
|
40
41
|
*/
|
|
41
42
|
sessionPublicKey?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Optional list of scopes to include in the elevated access token.
|
|
45
|
+
* @type {Array<TokenScope>}
|
|
46
|
+
* @memberof SmsVerificationVerifyRequest
|
|
47
|
+
*/
|
|
48
|
+
requestedScopes?: Array<TokenScope>;
|
|
42
49
|
}
|
|
43
50
|
export declare function SmsVerificationVerifyRequestFromJSON(json: any): SmsVerificationVerifyRequest;
|
|
44
51
|
export declare function SmsVerificationVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SmsVerificationVerifyRequest;
|