@dynamic-labs/sdk-api-core 0.133.0 → 0.134.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.js.map +1 -1
- package/src/index.js +1 -1
- package/src/models/FlowConflict.d.ts +33 -0
- package/src/models/{NotFoundWithoutCode.js → FlowConflict.js} +7 -5
- package/src/models/FlowConflict.js.map +1 -0
- package/src/models/NotFound.d.ts +1 -1
- package/src/models/index.d.ts +1 -1
- package/src/version.js +1 -1
- package/src/models/NotFoundWithoutCode.d.ts +0 -27
- package/src/models/NotFoundWithoutCode.js.map +0 -1
package/src/index.js
CHANGED
|
@@ -192,6 +192,7 @@ export { FeatureFlagsFromJSON, FeatureFlagsFromJSONTyped, FeatureFlagsToJSON } f
|
|
|
192
192
|
export { FeeRecipientConfigFromJSON, FeeRecipientConfigFromJSONTyped, FeeRecipientConfigToJSON } from './models/FeeRecipientConfig.js';
|
|
193
193
|
export { FlowFromJSON, FlowFromJSONTyped, FlowToJSON } from './models/Flow.js';
|
|
194
194
|
export { FlowAttachSourceRequestFromJSON, FlowAttachSourceRequestFromJSONTyped, FlowAttachSourceRequestToJSON } from './models/FlowAttachSourceRequest.js';
|
|
195
|
+
export { FlowConflictFromJSON, FlowConflictFromJSONTyped, FlowConflictToJSON } from './models/FlowConflict.js';
|
|
195
196
|
export { FlowCreateRequestFromJSON, FlowCreateRequestFromJSONTyped, FlowCreateRequestToJSON } from './models/FlowCreateRequest.js';
|
|
196
197
|
export { FlowCreateResponseFromJSON, FlowCreateResponseFromJSONTyped, FlowCreateResponseToJSON } from './models/FlowCreateResponse.js';
|
|
197
198
|
export { FlowCurrencyEnum, FlowCurrencyEnumFromJSON, FlowCurrencyEnumFromJSONTyped, FlowCurrencyEnumToJSON } from './models/FlowCurrencyEnum.js';
|
|
@@ -334,7 +335,6 @@ export { NextViewEnum, NextViewEnumFromJSON, NextViewEnumFromJSONTyped, NextView
|
|
|
334
335
|
export { NonceResponseFromJSON, NonceResponseFromJSONTyped, NonceResponseToJSON } from './models/NonceResponse.js';
|
|
335
336
|
export { NoncesResponseFromJSON, NoncesResponseFromJSONTyped, NoncesResponseToJSON } from './models/NoncesResponse.js';
|
|
336
337
|
export { NotFoundFromJSON, NotFoundFromJSONTyped, NotFoundToJSON } from './models/NotFound.js';
|
|
337
|
-
export { NotFoundWithoutCodeFromJSON, NotFoundWithoutCodeFromJSONTyped, NotFoundWithoutCodeToJSON } from './models/NotFoundWithoutCode.js';
|
|
338
338
|
export { OAuthAccountFromJSON, OAuthAccountFromJSONTyped, OAuthAccountToJSON } from './models/OAuthAccount.js';
|
|
339
339
|
export { OauthInitAuthRequestFromJSON, OauthInitAuthRequestFromJSONTyped, OauthInitAuthRequestToJSON } from './models/OauthInitAuthRequest.js';
|
|
340
340
|
export { OauthProviderLoginUrlFromJSON, OauthProviderLoginUrlFromJSONTyped, OauthProviderLoginUrlToJSON } from './models/OauthProviderLoginUrl.js';
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowConflict
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowConflict {
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable error message
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowConflict
|
|
22
|
+
*/
|
|
23
|
+
error: string;
|
|
24
|
+
/**
|
|
25
|
+
* Machine-readable reason for the 409. flow_invalid_transition: the action isn't allowed in the flow's current state; retrying won't help. flow_concurrent_update: another request changed the flow first; re-read the flow and retry. flow_tx_hash_already_recorded: the transaction hash is already recorded, possibly on another flow; don't retry.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FlowConflict
|
|
28
|
+
*/
|
|
29
|
+
code: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function FlowConflictFromJSON(json: any): FlowConflict;
|
|
32
|
+
export declare function FlowConflictFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowConflict;
|
|
33
|
+
export declare function FlowConflictToJSON(value?: FlowConflict | null): any;
|
|
@@ -11,18 +11,19 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
function
|
|
15
|
-
return
|
|
14
|
+
function FlowConflictFromJSON(json) {
|
|
15
|
+
return FlowConflictFromJSONTyped(json);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function FlowConflictFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
18
|
if ((json === undefined) || (json === null)) {
|
|
19
19
|
return json;
|
|
20
20
|
}
|
|
21
21
|
return {
|
|
22
22
|
'error': json['error'],
|
|
23
|
+
'code': json['code'],
|
|
23
24
|
};
|
|
24
25
|
}
|
|
25
|
-
function
|
|
26
|
+
function FlowConflictToJSON(value) {
|
|
26
27
|
if (value === undefined) {
|
|
27
28
|
return undefined;
|
|
28
29
|
}
|
|
@@ -31,7 +32,8 @@ function NotFoundWithoutCodeToJSON(value) {
|
|
|
31
32
|
}
|
|
32
33
|
return {
|
|
33
34
|
'error': value.error,
|
|
35
|
+
'code': value.code,
|
|
34
36
|
};
|
|
35
37
|
}
|
|
36
38
|
|
|
37
|
-
export {
|
|
39
|
+
export { FlowConflictFromJSON, FlowConflictFromJSONTyped, FlowConflictToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FlowConflict.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowConflict.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAuBG,SAAU,oBAAoB,CAAC,IAAS,EAAA;AAC1C,IAAA,OAAO,yBAAyB,CAAC,IAAW,CAAC,CAAC;AAClD,CAAC;AAEe,SAAA,yBAAyB,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC7E,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;AACtB,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAEK,SAAU,kBAAkB,CAAC,KAA2B,EAAA;AAC1D,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;QACpB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN;;;;"}
|
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. Flow endpoints use exchange_not_configured when the requested exchange isn't set up for the environment.
|
|
25
|
+
* Machine-readable error code. Flow endpoints use not_found when the flow doesn't exist in the environment, and exchange_not_configured when the requested exchange isn't set up for the environment.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof NotFound
|
|
28
28
|
*/
|
package/src/models/index.d.ts
CHANGED
|
@@ -189,6 +189,7 @@ export * from './FeatureFlags';
|
|
|
189
189
|
export * from './FeeRecipientConfig';
|
|
190
190
|
export * from './Flow';
|
|
191
191
|
export * from './FlowAttachSourceRequest';
|
|
192
|
+
export * from './FlowConflict';
|
|
192
193
|
export * from './FlowCreateRequest';
|
|
193
194
|
export * from './FlowCreateResponse';
|
|
194
195
|
export * from './FlowCurrencyEnum';
|
|
@@ -331,7 +332,6 @@ export * from './NextViewEnum';
|
|
|
331
332
|
export * from './NonceResponse';
|
|
332
333
|
export * from './NoncesResponse';
|
|
333
334
|
export * from './NotFound';
|
|
334
|
-
export * from './NotFoundWithoutCode';
|
|
335
335
|
export * from './OAuthAccount';
|
|
336
336
|
export * from './OauthInitAuthRequest';
|
|
337
337
|
export * from './OauthProviderLoginUrl';
|
package/src/version.js
CHANGED
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface NotFoundWithoutCode
|
|
16
|
-
*/
|
|
17
|
-
export interface NotFoundWithoutCode {
|
|
18
|
-
/**
|
|
19
|
-
* Human-readable error message
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof NotFoundWithoutCode
|
|
22
|
-
*/
|
|
23
|
-
error: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function NotFoundWithoutCodeFromJSON(json: any): NotFoundWithoutCode;
|
|
26
|
-
export declare function NotFoundWithoutCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotFoundWithoutCode;
|
|
27
|
-
export declare function NotFoundWithoutCodeToJSON(value?: NotFoundWithoutCode | null): any;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"NotFoundWithoutCode.js","sources":["../../../../../libs/sdk-api-core/src/models/NotFoundWithoutCode.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAiBG,SAAU,2BAA2B,CAAC,IAAS,EAAA;AACjD,IAAA,OAAO,gCAAgC,CAAC,IAAW,CAAC,CAAC;AACzD,CAAC;AAEe,SAAA,gCAAgC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACpF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,OAAO,EAAE,IAAI,CAAC,OAAO,CAAC;KACzB,CAAC;AACN,CAAC;AAEK,SAAU,yBAAyB,CAAC,KAAkC,EAAA;AACxE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,OAAO,EAAE,KAAK,CAAC,KAAK;KACvB,CAAC;AACN;;;;"}
|