@dynamic-labs/sdk-api 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/ServerApi.d.ts +2 -2
- package/src/apis/ServerApi.js +2 -2
- 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/NotFound.d.ts +1 -1
- package/src/models/index.d.ts +1 -1
- package/src/models/NotFoundWithoutCode.d.ts +0 -27
package/package.json
CHANGED
package/src/apis/ServerApi.d.ts
CHANGED
|
@@ -230,12 +230,12 @@ export declare class ServerApi extends runtime.BaseAPI {
|
|
|
230
230
|
*/
|
|
231
231
|
backupKeySharesToLocationsServer(requestParameters: BackupKeySharesToLocationsServerRequest, initOverrides?: RequestInit): Promise<BackupKeySharesToLocationsResponse>;
|
|
232
232
|
/**
|
|
233
|
-
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
233
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 flow_invalid_transition if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
234
234
|
* Cancel a flow
|
|
235
235
|
*/
|
|
236
236
|
cancelFlowServerRaw(requestParameters: CancelFlowServerRequest, initOverrides?: RequestInit): Promise<runtime.ApiResponse<Flow>>;
|
|
237
237
|
/**
|
|
238
|
-
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
238
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 flow_invalid_transition if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
239
239
|
* Cancel a flow
|
|
240
240
|
*/
|
|
241
241
|
cancelFlowServer(requestParameters: CancelFlowServerRequest, initOverrides?: RequestInit): Promise<Flow>;
|
package/src/apis/ServerApi.js
CHANGED
|
@@ -337,7 +337,7 @@ class ServerApi extends BaseAPI {
|
|
|
337
337
|
return await response.value();
|
|
338
338
|
}
|
|
339
339
|
/**
|
|
340
|
-
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
340
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 flow_invalid_transition if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
341
341
|
* Cancel a flow
|
|
342
342
|
*/
|
|
343
343
|
async cancelFlowServerRaw(requestParameters, initOverrides) {
|
|
@@ -358,7 +358,7 @@ class ServerApi extends BaseAPI {
|
|
|
358
358
|
return new JSONApiResponse(response, (jsonValue) => FlowFromJSON(jsonValue));
|
|
359
359
|
}
|
|
360
360
|
/**
|
|
361
|
-
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
361
|
+
* Cancels a flow that is still initiated, meaning no source has been attached yet. Returns 400 if flowId is not a valid UUID and 409 flow_invalid_transition if the flow is in any other state. Requires an environment API token with the flow.write scope.
|
|
362
362
|
* Cancel a flow
|
|
363
363
|
*/
|
|
364
364
|
async cancelFlowServer(requestParameters, initOverrides) {
|
package/src/index.js
CHANGED
|
@@ -379,6 +379,7 @@ export { FlowAnalyticsSummaryResponseVolumeByCurrencyFromJSON, FlowAnalyticsSumm
|
|
|
379
379
|
export { FlowAnalyticsSummaryResponseVolumeByDirectionFromJSON, FlowAnalyticsSummaryResponseVolumeByDirectionFromJSONTyped, FlowAnalyticsSummaryResponseVolumeByDirectionToJSON } from './models/FlowAnalyticsSummaryResponseVolumeByDirection.js';
|
|
380
380
|
export { FlowAnalyticsSummaryResponseVolumeByModeFromJSON, FlowAnalyticsSummaryResponseVolumeByModeFromJSONTyped, FlowAnalyticsSummaryResponseVolumeByModeToJSON } from './models/FlowAnalyticsSummaryResponseVolumeByMode.js';
|
|
381
381
|
export { FlowAttachSourceRequestFromJSON, FlowAttachSourceRequestFromJSONTyped, FlowAttachSourceRequestToJSON } from './models/FlowAttachSourceRequest.js';
|
|
382
|
+
export { FlowConflictFromJSON, FlowConflictFromJSONTyped, FlowConflictToJSON } from './models/FlowConflict.js';
|
|
382
383
|
export { FlowCreateRequestFromJSON, FlowCreateRequestFromJSONTyped, FlowCreateRequestToJSON } from './models/FlowCreateRequest.js';
|
|
383
384
|
export { FlowCreateResponseFromJSON, FlowCreateResponseFromJSONTyped, FlowCreateResponseToJSON } from './models/FlowCreateResponse.js';
|
|
384
385
|
export { FlowCurrencyEnum, FlowCurrencyEnumFromJSON, FlowCurrencyEnumFromJSONTyped, FlowCurrencyEnumToJSON } from './models/FlowCurrencyEnum.js';
|
|
@@ -606,7 +607,6 @@ export { NextViewEnum, NextViewEnumFromJSON, NextViewEnumFromJSONTyped, NextView
|
|
|
606
607
|
export { NonceResponseFromJSON, NonceResponseFromJSONTyped, NonceResponseToJSON } from './models/NonceResponse.js';
|
|
607
608
|
export { NoncesResponseFromJSON, NoncesResponseFromJSONTyped, NoncesResponseToJSON } from './models/NoncesResponse.js';
|
|
608
609
|
export { NotFoundFromJSON, NotFoundFromJSONTyped, NotFoundToJSON } from './models/NotFound.js';
|
|
609
|
-
export { NotFoundWithoutCodeFromJSON, NotFoundWithoutCodeFromJSONTyped, NotFoundWithoutCodeToJSON } from './models/NotFoundWithoutCode.js';
|
|
610
610
|
export { OAuthAccountFromJSON, OAuthAccountFromJSONTyped, OAuthAccountToJSON } from './models/OAuthAccount.js';
|
|
611
611
|
export { OauthInitAuthRequestFromJSON, OauthInitAuthRequestFromJSONTyped, OauthInitAuthRequestToJSON } from './models/OauthInitAuthRequest.js';
|
|
612
612
|
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 };
|
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
|
@@ -326,6 +326,7 @@ export * from './FlowAnalyticsSummaryResponseVolumeByCurrency';
|
|
|
326
326
|
export * from './FlowAnalyticsSummaryResponseVolumeByDirection';
|
|
327
327
|
export * from './FlowAnalyticsSummaryResponseVolumeByMode';
|
|
328
328
|
export * from './FlowAttachSourceRequest';
|
|
329
|
+
export * from './FlowConflict';
|
|
329
330
|
export * from './FlowCreateRequest';
|
|
330
331
|
export * from './FlowCreateResponse';
|
|
331
332
|
export * from './FlowCurrencyEnum';
|
|
@@ -553,7 +554,6 @@ export * from './NextViewEnum';
|
|
|
553
554
|
export * from './NonceResponse';
|
|
554
555
|
export * from './NoncesResponse';
|
|
555
556
|
export * from './NotFound';
|
|
556
|
-
export * from './NotFoundWithoutCode';
|
|
557
557
|
export * from './OAuthAccount';
|
|
558
558
|
export * from './OauthInitAuthRequest';
|
|
559
559
|
export * from './OauthProviderLoginUrl';
|
|
@@ -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;
|