@dynamic-labs/sdk-api 0.112.0 → 0.114.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/models/BadGateway.cjs +4 -12
- package/src/models/BadGateway.d.ts +6 -0
- package/src/models/BadGateway.js +4 -12
- package/src/models/BadRequest.cjs +2 -0
- package/src/models/BadRequest.d.ts +6 -0
- package/src/models/BadRequest.js +2 -0
- package/src/models/NotFound.d.ts +1 -1
- package/src/models/RegisterServerSigningKeyRequest.cjs +2 -0
- package/src/models/RegisterServerSigningKeyRequest.d.ts +6 -0
- package/src/models/RegisterServerSigningKeyRequest.js +2 -0
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
package/package.json
CHANGED
|
@@ -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 BadGatewayFromJSON(json) {
|
|
19
9
|
return BadGatewayFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,6 +14,7 @@ function BadGatewayFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'error': json['error'],
|
|
17
|
+
'code': !runtime.exists(json, 'code') ? undefined : json['code'],
|
|
27
18
|
};
|
|
28
19
|
}
|
|
29
20
|
function BadGatewayToJSON(value) {
|
|
@@ -35,6 +26,7 @@ function BadGatewayToJSON(value) {
|
|
|
35
26
|
}
|
|
36
27
|
return {
|
|
37
28
|
'error': value.error,
|
|
29
|
+
'code': value.code,
|
|
38
30
|
};
|
|
39
31
|
}
|
|
40
32
|
|
|
@@ -21,6 +21,12 @@ export interface BadGateway {
|
|
|
21
21
|
* @memberof BadGateway
|
|
22
22
|
*/
|
|
23
23
|
error: string;
|
|
24
|
+
/**
|
|
25
|
+
* Machine-readable reason for the 502, set only by endpoints that distinguish rejections. Flow endpoints use exchange_unavailable.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BadGateway
|
|
28
|
+
*/
|
|
29
|
+
code?: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function BadGatewayFromJSON(json: any): BadGateway;
|
|
26
32
|
export declare function BadGatewayFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadGateway;
|
package/src/models/BadGateway.js
CHANGED
|
@@ -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 BadGatewayFromJSON(json) {
|
|
15
5
|
return BadGatewayFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,6 +10,7 @@ function BadGatewayFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'error': json['error'],
|
|
13
|
+
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
23
14
|
};
|
|
24
15
|
}
|
|
25
16
|
function BadGatewayToJSON(value) {
|
|
@@ -31,6 +22,7 @@ function BadGatewayToJSON(value) {
|
|
|
31
22
|
}
|
|
32
23
|
return {
|
|
33
24
|
'error': value.error,
|
|
25
|
+
'code': value.code,
|
|
34
26
|
};
|
|
35
27
|
}
|
|
36
28
|
|
|
@@ -14,6 +14,7 @@ function BadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
16
|
'error': !runtime.exists(json, 'error') ? undefined : json['error'],
|
|
17
|
+
'code': !runtime.exists(json, 'code') ? undefined : json['code'],
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
function BadRequestToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function BadRequestToJSON(value) {
|
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
28
|
'error': value.error,
|
|
29
|
+
'code': value.code,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -21,6 +21,12 @@ export interface BadRequest {
|
|
|
21
21
|
* @memberof BadRequest
|
|
22
22
|
*/
|
|
23
23
|
error?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Machine-readable reason for the 400, set only by endpoints that distinguish rejections. Flow endpoints use exchange_not_supported and exchange_currency_unsupported.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BadRequest
|
|
28
|
+
*/
|
|
29
|
+
code?: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function BadRequestFromJSON(json: any): BadRequest;
|
|
26
32
|
export declare function BadRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequest;
|
package/src/models/BadRequest.js
CHANGED
|
@@ -10,6 +10,7 @@ function BadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
12
|
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
13
|
+
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
function BadRequestToJSON(value) {
|
|
@@ -21,6 +22,7 @@ function BadRequestToJSON(value) {
|
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
23
24
|
'error': value.error,
|
|
25
|
+
'code': value.code,
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
|
package/src/models/NotFound.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface NotFound {
|
|
|
22
22
|
*/
|
|
23
23
|
error: string;
|
|
24
24
|
/**
|
|
25
|
-
* Machine-readable error code
|
|
25
|
+
* Machine-readable error code. Flow endpoints use exchange_not_configured when the requested exchange isn't set up for the environment.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof NotFound
|
|
28
28
|
*/
|
|
@@ -15,6 +15,7 @@ function RegisterServerSigningKeyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
15
15
|
}
|
|
16
16
|
return {
|
|
17
17
|
'consent': ServerSigningRegistrationConsent.ServerSigningRegistrationConsentFromJSON(json['consent']),
|
|
18
|
+
'consentSignature': json['consentSignature'],
|
|
18
19
|
'serverIdentifier': !runtime.exists(json, 'serverIdentifier') ? undefined : json['serverIdentifier'],
|
|
19
20
|
'publicSigningKey': json['publicSigningKey'],
|
|
20
21
|
'label': !runtime.exists(json, 'label') ? undefined : json['label'],
|
|
@@ -29,6 +30,7 @@ function RegisterServerSigningKeyRequestToJSON(value) {
|
|
|
29
30
|
}
|
|
30
31
|
return {
|
|
31
32
|
'consent': ServerSigningRegistrationConsent.ServerSigningRegistrationConsentToJSON(value.consent),
|
|
33
|
+
'consentSignature': value.consentSignature,
|
|
32
34
|
'serverIdentifier': value.serverIdentifier,
|
|
33
35
|
'publicSigningKey': value.publicSigningKey,
|
|
34
36
|
'label': value.label,
|
|
@@ -22,6 +22,12 @@ export interface RegisterServerSigningKeyRequest {
|
|
|
22
22
|
* @memberof RegisterServerSigningKeyRequest
|
|
23
23
|
*/
|
|
24
24
|
consent: ServerSigningRegistrationConsent;
|
|
25
|
+
/**
|
|
26
|
+
* The admin's signature over `consent`
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof RegisterServerSigningKeyRequest
|
|
29
|
+
*/
|
|
30
|
+
consentSignature: string;
|
|
25
31
|
/**
|
|
26
32
|
*
|
|
27
33
|
* @type {string}
|
|
@@ -11,6 +11,7 @@ function RegisterServerSigningKeyRequestFromJSONTyped(json, ignoreDiscriminator)
|
|
|
11
11
|
}
|
|
12
12
|
return {
|
|
13
13
|
'consent': ServerSigningRegistrationConsentFromJSON(json['consent']),
|
|
14
|
+
'consentSignature': json['consentSignature'],
|
|
14
15
|
'serverIdentifier': !exists(json, 'serverIdentifier') ? undefined : json['serverIdentifier'],
|
|
15
16
|
'publicSigningKey': json['publicSigningKey'],
|
|
16
17
|
'label': !exists(json, 'label') ? undefined : json['label'],
|
|
@@ -25,6 +26,7 @@ function RegisterServerSigningKeyRequestToJSON(value) {
|
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
28
|
'consent': ServerSigningRegistrationConsentToJSON(value.consent),
|
|
29
|
+
'consentSignature': value.consentSignature,
|
|
28
30
|
'serverIdentifier': value.serverIdentifier,
|
|
29
31
|
'publicSigningKey': value.publicSigningKey,
|
|
30
32
|
'label': value.label,
|
|
@@ -180,6 +180,7 @@ exports.UnprocessableEntityErrorCode = void 0;
|
|
|
180
180
|
UnprocessableEntityErrorCode["OfflineRecoveryCloudBackupConflict"] = "offline_recovery_cloud_backup_conflict";
|
|
181
181
|
UnprocessableEntityErrorCode["QuoteExpired"] = "quote_expired";
|
|
182
182
|
UnprocessableEntityErrorCode["InsufficientBalance"] = "insufficient_balance";
|
|
183
|
+
UnprocessableEntityErrorCode["ExchangeSettlementUnsupported"] = "exchange_settlement_unsupported";
|
|
183
184
|
})(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
|
|
184
185
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
185
186
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -172,7 +172,8 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
172
172
|
AmbiguousBroadcastIdentifier = "ambiguous_broadcast_identifier",
|
|
173
173
|
OfflineRecoveryCloudBackupConflict = "offline_recovery_cloud_backup_conflict",
|
|
174
174
|
QuoteExpired = "quote_expired",
|
|
175
|
-
InsufficientBalance = "insufficient_balance"
|
|
175
|
+
InsufficientBalance = "insufficient_balance",
|
|
176
|
+
ExchangeSettlementUnsupported = "exchange_settlement_unsupported"
|
|
176
177
|
}
|
|
177
178
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
178
179
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -176,6 +176,7 @@ var UnprocessableEntityErrorCode;
|
|
|
176
176
|
UnprocessableEntityErrorCode["OfflineRecoveryCloudBackupConflict"] = "offline_recovery_cloud_backup_conflict";
|
|
177
177
|
UnprocessableEntityErrorCode["QuoteExpired"] = "quote_expired";
|
|
178
178
|
UnprocessableEntityErrorCode["InsufficientBalance"] = "insufficient_balance";
|
|
179
|
+
UnprocessableEntityErrorCode["ExchangeSettlementUnsupported"] = "exchange_settlement_unsupported";
|
|
179
180
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
180
181
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
181
182
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|