@dockflow/sdk 0.2.0 → 0.3.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/.openapi-generator/FILES +24 -24
- package/README.md +28 -23
- package/dist/apis/DocumentsApi.d.ts +111 -0
- package/dist/apis/{V3DocumentApi.js → DocumentsApi.js} +60 -60
- package/dist/apis/TradeflowsApi.d.ts +63 -0
- package/dist/apis/{V3DownstreamApi.js → TradeflowsApi.js} +44 -44
- package/dist/apis/{V3UpstreamApi.d.ts → UpstreamApi.d.ts} +13 -13
- package/dist/apis/{V3UpstreamApi.js → UpstreamApi.js} +13 -13
- package/dist/apis/index.d.ts +3 -3
- package/dist/apis/index.js +3 -3
- package/dist/esm/apis/DocumentsApi.d.ts +111 -0
- package/dist/esm/apis/{V3DocumentApi.js → DocumentsApi.js} +58 -58
- package/dist/esm/apis/TradeflowsApi.d.ts +63 -0
- package/dist/esm/apis/{V3DownstreamApi.js → TradeflowsApi.js} +42 -42
- package/dist/esm/apis/{V3UpstreamApi.d.ts → UpstreamApi.d.ts} +13 -13
- package/dist/esm/apis/{V3UpstreamApi.js → UpstreamApi.js} +11 -11
- package/dist/esm/apis/index.d.ts +3 -3
- package/dist/esm/apis/index.js +3 -3
- package/dist/esm/models/CreateTradeflows202Response.d.ts +42 -0
- package/dist/esm/models/{V3DownstreamPost202Response.js → CreateTradeflows202Response.js} +12 -12
- package/dist/esm/models/CreateTradeflows202ResponseTradeflowsInner.d.ts +34 -0
- package/dist/esm/models/{V3DownstreamPost202ResponseTradeflowsInner.js → CreateTradeflows202ResponseTradeflowsInner.js} +8 -8
- package/dist/esm/models/GetDocument200Response.d.ts +39 -0
- package/dist/esm/models/{V3DocumentGet200Response.js → GetDocument200Response.js} +11 -11
- package/dist/esm/models/GetDocument200ResponseDataInner.d.ts +63 -0
- package/dist/esm/models/{V3DocumentGet200ResponseDataInner.js → GetDocument200ResponseDataInner.js} +11 -11
- package/dist/esm/models/GetDocument200ResponseDataInnerDocumentType.d.ts +34 -0
- package/dist/esm/models/{V3DocumentGet200ResponseDataInnerDocumentType.js → GetDocument200ResponseDataInnerDocumentType.js} +8 -8
- package/dist/esm/models/GetUpstream200Response.d.ts +35 -0
- package/dist/esm/models/{V3UpstreamGet200Response.js → GetUpstream200Response.js} +8 -8
- package/dist/esm/models/GetUpstream400Response.d.ts +26 -0
- package/dist/esm/models/GetUpstream400Response.js +31 -0
- package/dist/{models/V3DocumentPost202Response.d.ts → esm/models/UploadDocument202Response.d.ts} +8 -8
- package/dist/esm/models/{V3DocumentPost202Response.js → UploadDocument202Response.js} +8 -8
- package/dist/esm/models/UploadDocument400Response.d.ts +26 -0
- package/dist/esm/models/{V3DocumentPost400Response.js → UploadDocument400Response.js} +8 -8
- package/dist/esm/models/index.d.ts +9 -9
- package/dist/esm/models/index.js +9 -9
- package/dist/models/CreateTradeflows202Response.d.ts +42 -0
- package/dist/models/CreateTradeflows202Response.js +64 -0
- package/dist/models/CreateTradeflows202ResponseTradeflowsInner.d.ts +34 -0
- package/dist/models/{V3DownstreamPost202ResponseTradeflowsInner.js → CreateTradeflows202ResponseTradeflowsInner.js} +13 -13
- package/dist/models/GetDocument200Response.d.ts +39 -0
- package/dist/models/GetDocument200Response.js +59 -0
- package/dist/models/GetDocument200ResponseDataInner.d.ts +63 -0
- package/dist/models/{V3DocumentGet200ResponseDataInner.js → GetDocument200ResponseDataInner.js} +16 -16
- package/dist/models/GetDocument200ResponseDataInnerDocumentType.d.ts +34 -0
- package/dist/models/GetDocument200ResponseDataInnerDocumentType.js +54 -0
- package/dist/models/GetUpstream200Response.d.ts +35 -0
- package/dist/models/{V3UpstreamGet200Response.js → GetUpstream200Response.js} +13 -13
- package/dist/models/GetUpstream400Response.d.ts +26 -0
- package/dist/models/GetUpstream400Response.js +38 -0
- package/dist/{esm/models/V3DocumentPost202Response.d.ts → models/UploadDocument202Response.d.ts} +8 -8
- package/dist/models/{V3DocumentPost202Response.js → UploadDocument202Response.js} +13 -13
- package/dist/models/UploadDocument400Response.d.ts +26 -0
- package/dist/models/UploadDocument400Response.js +38 -0
- package/dist/models/index.d.ts +9 -9
- package/dist/models/index.js +9 -9
- package/docs/{V3DownstreamPost202Response.md → CreateTradeflows202Response.md} +5 -5
- package/docs/{V3DownstreamPost202ResponseTradeflowsInner.md → CreateTradeflows202ResponseTradeflowsInner.md} +4 -4
- package/docs/{V3DocumentApi.md → DocumentsApi.md} +63 -63
- package/docs/{V3DocumentGet200Response.md → GetDocument200Response.md} +5 -5
- package/docs/{V3DocumentGet200ResponseDataInner.md → GetDocument200ResponseDataInner.md} +5 -5
- package/docs/{V3DocumentGet200ResponseDataInnerDocumentType.md → GetDocument200ResponseDataInnerDocumentType.md} +4 -4
- package/docs/{V3UpstreamGet200Response.md → GetUpstream200Response.md} +4 -4
- package/docs/{V3UpstreamGet400Response.md → GetUpstream400Response.md} +4 -4
- package/docs/{V3DownstreamApi.md → TradeflowsApi.md} +39 -39
- package/docs/{V3DocumentPost202Response.md → UploadDocument202Response.md} +4 -4
- package/docs/{V3DocumentPost400Response.md → UploadDocument400Response.md} +4 -4
- package/docs/{V3UpstreamApi.md → UpstreamApi.md} +10 -10
- package/package.json +1 -1
- package/src/apis/{V3DocumentApi.ts → DocumentsApi.ts} +81 -81
- package/src/apis/{V3DownstreamApi.ts → TradeflowsApi.ts} +58 -58
- package/src/apis/{V3UpstreamApi.ts → UpstreamApi.ts} +23 -23
- package/src/apis/index.ts +3 -3
- package/src/models/CreateTradeflows202Response.ts +91 -0
- package/src/models/{V3DownstreamPost202ResponseTradeflowsInner.ts → CreateTradeflows202ResponseTradeflowsInner.ts} +10 -10
- package/src/models/{V3DocumentGet200Response.ts → GetDocument200Response.ts} +19 -19
- package/src/models/{V3DocumentGet200ResponseDataInner.ts → GetDocument200ResponseDataInner.ts} +19 -19
- package/src/models/GetDocument200ResponseDataInnerDocumentType.ts +71 -0
- package/src/models/{V3UpstreamGet200Response.ts → GetUpstream200Response.ts} +10 -10
- package/src/models/GetUpstream400Response.ts +46 -0
- package/src/models/{V3DocumentPost202Response.ts → UploadDocument202Response.ts} +10 -10
- package/src/models/UploadDocument400Response.ts +46 -0
- package/src/models/index.ts +9 -9
- package/dist/apis/V3DocumentApi.d.ts +0 -111
- package/dist/apis/V3DownstreamApi.d.ts +0 -63
- package/dist/esm/apis/V3DocumentApi.d.ts +0 -111
- package/dist/esm/apis/V3DownstreamApi.d.ts +0 -63
- package/dist/esm/models/V3DocumentGet200Response.d.ts +0 -39
- package/dist/esm/models/V3DocumentGet200ResponseDataInner.d.ts +0 -63
- package/dist/esm/models/V3DocumentGet200ResponseDataInnerDocumentType.d.ts +0 -34
- package/dist/esm/models/V3DocumentPost400Response.d.ts +0 -26
- package/dist/esm/models/V3DownstreamPost202Response.d.ts +0 -42
- package/dist/esm/models/V3DownstreamPost202ResponseTradeflowsInner.d.ts +0 -34
- package/dist/esm/models/V3UpstreamGet200Response.d.ts +0 -35
- package/dist/esm/models/V3UpstreamGet400Response.d.ts +0 -26
- package/dist/esm/models/V3UpstreamGet400Response.js +0 -31
- package/dist/models/V3DocumentGet200Response.d.ts +0 -39
- package/dist/models/V3DocumentGet200Response.js +0 -59
- package/dist/models/V3DocumentGet200ResponseDataInner.d.ts +0 -63
- package/dist/models/V3DocumentGet200ResponseDataInnerDocumentType.d.ts +0 -34
- package/dist/models/V3DocumentGet200ResponseDataInnerDocumentType.js +0 -54
- package/dist/models/V3DocumentPost400Response.d.ts +0 -26
- package/dist/models/V3DocumentPost400Response.js +0 -38
- package/dist/models/V3DownstreamPost202Response.d.ts +0 -42
- package/dist/models/V3DownstreamPost202Response.js +0 -64
- package/dist/models/V3DownstreamPost202ResponseTradeflowsInner.d.ts +0 -34
- package/dist/models/V3UpstreamGet200Response.d.ts +0 -35
- package/dist/models/V3UpstreamGet400Response.d.ts +0 -26
- package/dist/models/V3UpstreamGet400Response.js +0 -38
- package/src/models/V3DocumentGet200ResponseDataInnerDocumentType.ts +0 -71
- package/src/models/V3DocumentPost400Response.ts +0 -46
- package/src/models/V3DownstreamPost202Response.ts +0 -91
- package/src/models/V3UpstreamGet400Response.ts +0 -46
package/.openapi-generator/FILES
CHANGED
|
@@ -3,8 +3,11 @@
|
|
|
3
3
|
.openapi-generator-ignore
|
|
4
4
|
README.md
|
|
5
5
|
docs/ContainerReference.md
|
|
6
|
+
docs/CreateTradeflows202Response.md
|
|
7
|
+
docs/CreateTradeflows202ResponseTradeflowsInner.md
|
|
6
8
|
docs/DocumentUpdate.md
|
|
7
9
|
docs/DocumentUpload.md
|
|
10
|
+
docs/DocumentsApi.md
|
|
8
11
|
docs/DownstreamTradeflow.md
|
|
9
12
|
docs/DownstreamTradeflowBillOfLadingReference.md
|
|
10
13
|
docs/DownstreamTradeflowBookingReference.md
|
|
@@ -13,24 +16,21 @@ docs/DownstreamTradeflowFreeTimeOverridesInner.md
|
|
|
13
16
|
docs/DownstreamTradeflowMockTracking.md
|
|
14
17
|
docs/DownstreamTradeflowPartnersInner.md
|
|
15
18
|
docs/DownstreamTradeflowReferences.md
|
|
19
|
+
docs/GetDocument200Response.md
|
|
20
|
+
docs/GetDocument200ResponseDataInner.md
|
|
21
|
+
docs/GetDocument200ResponseDataInnerDocumentType.md
|
|
22
|
+
docs/GetUpstream200Response.md
|
|
23
|
+
docs/GetUpstream400Response.md
|
|
16
24
|
docs/InlineObject.md
|
|
17
25
|
docs/ListDocumentTypes200ResponseInner.md
|
|
26
|
+
docs/TradeflowsApi.md
|
|
27
|
+
docs/UploadDocument202Response.md
|
|
28
|
+
docs/UploadDocument400Response.md
|
|
29
|
+
docs/UpstreamApi.md
|
|
18
30
|
docs/UpstreamRecord.md
|
|
19
31
|
docs/UpstreamRecordAdditionalReferences.md
|
|
20
32
|
docs/UpstreamRecordDataQuality.md
|
|
21
33
|
docs/UpstreamRecordMetadata.md
|
|
22
|
-
docs/V3DocumentApi.md
|
|
23
|
-
docs/V3DocumentGet200Response.md
|
|
24
|
-
docs/V3DocumentGet200ResponseDataInner.md
|
|
25
|
-
docs/V3DocumentGet200ResponseDataInnerDocumentType.md
|
|
26
|
-
docs/V3DocumentPost202Response.md
|
|
27
|
-
docs/V3DocumentPost400Response.md
|
|
28
|
-
docs/V3DownstreamApi.md
|
|
29
|
-
docs/V3DownstreamPost202Response.md
|
|
30
|
-
docs/V3DownstreamPost202ResponseTradeflowsInner.md
|
|
31
|
-
docs/V3UpstreamApi.md
|
|
32
|
-
docs/V3UpstreamGet200Response.md
|
|
33
|
-
docs/V3UpstreamGet400Response.md
|
|
34
34
|
docs/WidgetApi.md
|
|
35
35
|
docs/WidgetContainer.md
|
|
36
36
|
docs/WidgetCountry.md
|
|
@@ -42,13 +42,15 @@ docs/WidgetSearchResult.md
|
|
|
42
42
|
docs/WidgetTrack.md
|
|
43
43
|
docs/WidgetTrackReading.md
|
|
44
44
|
package.json
|
|
45
|
-
src/apis/
|
|
46
|
-
src/apis/
|
|
47
|
-
src/apis/
|
|
45
|
+
src/apis/DocumentsApi.ts
|
|
46
|
+
src/apis/TradeflowsApi.ts
|
|
47
|
+
src/apis/UpstreamApi.ts
|
|
48
48
|
src/apis/WidgetApi.ts
|
|
49
49
|
src/apis/index.ts
|
|
50
50
|
src/index.ts
|
|
51
51
|
src/models/ContainerReference.ts
|
|
52
|
+
src/models/CreateTradeflows202Response.ts
|
|
53
|
+
src/models/CreateTradeflows202ResponseTradeflowsInner.ts
|
|
52
54
|
src/models/DocumentUpdate.ts
|
|
53
55
|
src/models/DocumentUpload.ts
|
|
54
56
|
src/models/DownstreamTradeflow.ts
|
|
@@ -59,21 +61,19 @@ src/models/DownstreamTradeflowFreeTimeOverridesInner.ts
|
|
|
59
61
|
src/models/DownstreamTradeflowMockTracking.ts
|
|
60
62
|
src/models/DownstreamTradeflowPartnersInner.ts
|
|
61
63
|
src/models/DownstreamTradeflowReferences.ts
|
|
64
|
+
src/models/GetDocument200Response.ts
|
|
65
|
+
src/models/GetDocument200ResponseDataInner.ts
|
|
66
|
+
src/models/GetDocument200ResponseDataInnerDocumentType.ts
|
|
67
|
+
src/models/GetUpstream200Response.ts
|
|
68
|
+
src/models/GetUpstream400Response.ts
|
|
62
69
|
src/models/InlineObject.ts
|
|
63
70
|
src/models/ListDocumentTypes200ResponseInner.ts
|
|
71
|
+
src/models/UploadDocument202Response.ts
|
|
72
|
+
src/models/UploadDocument400Response.ts
|
|
64
73
|
src/models/UpstreamRecord.ts
|
|
65
74
|
src/models/UpstreamRecordAdditionalReferences.ts
|
|
66
75
|
src/models/UpstreamRecordDataQuality.ts
|
|
67
76
|
src/models/UpstreamRecordMetadata.ts
|
|
68
|
-
src/models/V3DocumentGet200Response.ts
|
|
69
|
-
src/models/V3DocumentGet200ResponseDataInner.ts
|
|
70
|
-
src/models/V3DocumentGet200ResponseDataInnerDocumentType.ts
|
|
71
|
-
src/models/V3DocumentPost202Response.ts
|
|
72
|
-
src/models/V3DocumentPost400Response.ts
|
|
73
|
-
src/models/V3DownstreamPost202Response.ts
|
|
74
|
-
src/models/V3DownstreamPost202ResponseTradeflowsInner.ts
|
|
75
|
-
src/models/V3UpstreamGet200Response.ts
|
|
76
|
-
src/models/V3UpstreamGet400Response.ts
|
|
77
77
|
src/models/WidgetContainer.ts
|
|
78
78
|
src/models/WidgetCountry.ts
|
|
79
79
|
src/models/WidgetLeg.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @dockflow/sdk@0.
|
|
1
|
+
# @dockflow/sdk@0.3.0
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the api.dockflow.com API.
|
|
4
4
|
|
|
@@ -16,9 +16,9 @@ Next, try it out.
|
|
|
16
16
|
```ts
|
|
17
17
|
import {
|
|
18
18
|
Configuration,
|
|
19
|
-
|
|
19
|
+
DocumentsApi,
|
|
20
20
|
} from '@dockflow/sdk';
|
|
21
|
-
import type {
|
|
21
|
+
import type { DeleteDocumentRequest } from '@dockflow/sdk';
|
|
22
22
|
|
|
23
23
|
async function example() {
|
|
24
24
|
console.log("🚀 Testing @dockflow/sdk SDK...");
|
|
@@ -26,10 +26,15 @@ async function example() {
|
|
|
26
26
|
// Configure HTTP bearer authorization: ApiKey
|
|
27
27
|
accessToken: "YOUR BEARER TOKEN",
|
|
28
28
|
});
|
|
29
|
-
const api = new
|
|
29
|
+
const api = new DocumentsApi(config);
|
|
30
|
+
|
|
31
|
+
const body = {
|
|
32
|
+
// string
|
|
33
|
+
reference: reference_example,
|
|
34
|
+
} satisfies DeleteDocumentRequest;
|
|
30
35
|
|
|
31
36
|
try {
|
|
32
|
-
const data = await api.
|
|
37
|
+
const data = await api.deleteDocument(body);
|
|
33
38
|
console.log(data);
|
|
34
39
|
} catch (error) {
|
|
35
40
|
console.error(error);
|
|
@@ -49,20 +54,22 @@ All URIs are relative to *https://api.dockflow.com*
|
|
|
49
54
|
|
|
50
55
|
| Class | Method | HTTP request | Description
|
|
51
56
|
| ----- | ------ | ------------ | -------------
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
57
|
+
*DocumentsApi* | [**deleteDocument**](docs/DocumentsApi.md#deletedocument) | **DELETE** /v3/downstream/documents/{reference} | Delete a document
|
|
58
|
+
*DocumentsApi* | [**getDocument**](docs/DocumentsApi.md#getdocument) | **GET** /v3/downstream/documents/{reference} | List the documents of a tradeflow
|
|
59
|
+
*DocumentsApi* | [**listDocumentTypes**](docs/DocumentsApi.md#listdocumenttypes) | **GET** /v3/downstream/documents/types | List document types
|
|
60
|
+
*DocumentsApi* | [**updateDocument**](docs/DocumentsApi.md#updatedocument) | **PATCH** /v3/downstream/documents/{reference} | Update a document
|
|
61
|
+
*DocumentsApi* | [**uploadDocument**](docs/DocumentsApi.md#uploaddocument) | **POST** /v3/downstream/documents | Upload a document to a tradeflow
|
|
62
|
+
*TradeflowsApi* | [**createTradeflows**](docs/TradeflowsApi.md#createtradeflows) | **POST** /v3/downstream/tradeflows | Upsert tradeflows
|
|
63
|
+
*TradeflowsApi* | [**deleteTradeflow**](docs/TradeflowsApi.md#deletetradeflow) | **DELETE** /v3/downstream/tradeflows/{tradeflow_reference} | Delete a tradeflow
|
|
64
|
+
*UpstreamApi* | [**getUpstream**](docs/UpstreamApi.md#getupstream) | **GET** /v3/upstream | Poll upstream events
|
|
60
65
|
*WidgetApi* | [**searchWidget**](docs/WidgetApi.md#searchwidget) | **GET** /v3/widget/search | Search a shipment for the embeddable tracking widget
|
|
61
66
|
|
|
62
67
|
|
|
63
68
|
### Models
|
|
64
69
|
|
|
65
70
|
- [ContainerReference](docs/ContainerReference.md)
|
|
71
|
+
- [CreateTradeflows202Response](docs/CreateTradeflows202Response.md)
|
|
72
|
+
- [CreateTradeflows202ResponseTradeflowsInner](docs/CreateTradeflows202ResponseTradeflowsInner.md)
|
|
66
73
|
- [DocumentUpdate](docs/DocumentUpdate.md)
|
|
67
74
|
- [DocumentUpload](docs/DocumentUpload.md)
|
|
68
75
|
- [DownstreamTradeflow](docs/DownstreamTradeflow.md)
|
|
@@ -73,21 +80,19 @@ All URIs are relative to *https://api.dockflow.com*
|
|
|
73
80
|
- [DownstreamTradeflowMockTracking](docs/DownstreamTradeflowMockTracking.md)
|
|
74
81
|
- [DownstreamTradeflowPartnersInner](docs/DownstreamTradeflowPartnersInner.md)
|
|
75
82
|
- [DownstreamTradeflowReferences](docs/DownstreamTradeflowReferences.md)
|
|
83
|
+
- [GetDocument200Response](docs/GetDocument200Response.md)
|
|
84
|
+
- [GetDocument200ResponseDataInner](docs/GetDocument200ResponseDataInner.md)
|
|
85
|
+
- [GetDocument200ResponseDataInnerDocumentType](docs/GetDocument200ResponseDataInnerDocumentType.md)
|
|
86
|
+
- [GetUpstream200Response](docs/GetUpstream200Response.md)
|
|
87
|
+
- [GetUpstream400Response](docs/GetUpstream400Response.md)
|
|
76
88
|
- [InlineObject](docs/InlineObject.md)
|
|
77
89
|
- [ListDocumentTypes200ResponseInner](docs/ListDocumentTypes200ResponseInner.md)
|
|
90
|
+
- [UploadDocument202Response](docs/UploadDocument202Response.md)
|
|
91
|
+
- [UploadDocument400Response](docs/UploadDocument400Response.md)
|
|
78
92
|
- [UpstreamRecord](docs/UpstreamRecord.md)
|
|
79
93
|
- [UpstreamRecordAdditionalReferences](docs/UpstreamRecordAdditionalReferences.md)
|
|
80
94
|
- [UpstreamRecordDataQuality](docs/UpstreamRecordDataQuality.md)
|
|
81
95
|
- [UpstreamRecordMetadata](docs/UpstreamRecordMetadata.md)
|
|
82
|
-
- [V3DocumentGet200Response](docs/V3DocumentGet200Response.md)
|
|
83
|
-
- [V3DocumentGet200ResponseDataInner](docs/V3DocumentGet200ResponseDataInner.md)
|
|
84
|
-
- [V3DocumentGet200ResponseDataInnerDocumentType](docs/V3DocumentGet200ResponseDataInnerDocumentType.md)
|
|
85
|
-
- [V3DocumentPost202Response](docs/V3DocumentPost202Response.md)
|
|
86
|
-
- [V3DocumentPost400Response](docs/V3DocumentPost400Response.md)
|
|
87
|
-
- [V3DownstreamPost202Response](docs/V3DownstreamPost202Response.md)
|
|
88
|
-
- [V3DownstreamPost202ResponseTradeflowsInner](docs/V3DownstreamPost202ResponseTradeflowsInner.md)
|
|
89
|
-
- [V3UpstreamGet200Response](docs/V3UpstreamGet200Response.md)
|
|
90
|
-
- [V3UpstreamGet400Response](docs/V3UpstreamGet400Response.md)
|
|
91
96
|
- [WidgetContainer](docs/WidgetContainer.md)
|
|
92
97
|
- [WidgetCountry](docs/WidgetCountry.md)
|
|
93
98
|
- [WidgetLeg](docs/WidgetLeg.md)
|
|
@@ -115,7 +120,7 @@ and is automatically generated by the
|
|
|
115
120
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
116
121
|
|
|
117
122
|
- API version: `3.0.0`
|
|
118
|
-
- Package version: `0.
|
|
123
|
+
- Package version: `0.3.0`
|
|
119
124
|
- Generator version: `7.27.0`
|
|
120
125
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
121
126
|
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dockflow v3 API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type DocumentUpdate } from '../models/DocumentUpdate';
|
|
14
|
+
import { type DocumentUpload } from '../models/DocumentUpload';
|
|
15
|
+
import { type GetDocument200Response } from '../models/GetDocument200Response';
|
|
16
|
+
import { type GetDocument200ResponseDataInner } from '../models/GetDocument200ResponseDataInner';
|
|
17
|
+
import { type ListDocumentTypes200ResponseInner } from '../models/ListDocumentTypes200ResponseInner';
|
|
18
|
+
import { type UploadDocument202Response } from '../models/UploadDocument202Response';
|
|
19
|
+
export interface DeleteDocumentRequest {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
reference: string;
|
|
24
|
+
}
|
|
25
|
+
export interface GetDocumentRequest {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
reference: string;
|
|
30
|
+
}
|
|
31
|
+
export interface UpdateDocumentRequest {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
reference: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
*/
|
|
39
|
+
documentUpdate: DocumentUpdate;
|
|
40
|
+
}
|
|
41
|
+
export interface UploadDocumentRequest {
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
documentUpload: DocumentUpload;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
*/
|
|
50
|
+
export declare class DocumentsApi extends runtime.BaseAPI {
|
|
51
|
+
/**
|
|
52
|
+
* Creates request options for deleteDocument without sending the request
|
|
53
|
+
*/
|
|
54
|
+
deleteDocumentRequestOpts(requestParameters: DeleteDocumentRequest): Promise<runtime.RequestOpts>;
|
|
55
|
+
/**
|
|
56
|
+
* Delete a document
|
|
57
|
+
*/
|
|
58
|
+
deleteDocumentRaw(requestParameters: DeleteDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete a document
|
|
61
|
+
*/
|
|
62
|
+
deleteDocument(requestParameters: DeleteDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Creates request options for getDocument without sending the request
|
|
65
|
+
*/
|
|
66
|
+
getDocumentRequestOpts(requestParameters: GetDocumentRequest): Promise<runtime.RequestOpts>;
|
|
67
|
+
/**
|
|
68
|
+
* List the documents of a tradeflow
|
|
69
|
+
*/
|
|
70
|
+
getDocumentRaw(requestParameters: GetDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetDocument200Response>>;
|
|
71
|
+
/**
|
|
72
|
+
* List the documents of a tradeflow
|
|
73
|
+
*/
|
|
74
|
+
getDocument(requestParameters: GetDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetDocument200Response>;
|
|
75
|
+
/**
|
|
76
|
+
* Creates request options for listDocumentTypes without sending the request
|
|
77
|
+
*/
|
|
78
|
+
listDocumentTypesRequestOpts(): Promise<runtime.RequestOpts>;
|
|
79
|
+
/**
|
|
80
|
+
* List document types
|
|
81
|
+
*/
|
|
82
|
+
listDocumentTypesRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<ListDocumentTypes200ResponseInner>>>;
|
|
83
|
+
/**
|
|
84
|
+
* List document types
|
|
85
|
+
*/
|
|
86
|
+
listDocumentTypes(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<ListDocumentTypes200ResponseInner>>;
|
|
87
|
+
/**
|
|
88
|
+
* Creates request options for updateDocument without sending the request
|
|
89
|
+
*/
|
|
90
|
+
updateDocumentRequestOpts(requestParameters: UpdateDocumentRequest): Promise<runtime.RequestOpts>;
|
|
91
|
+
/**
|
|
92
|
+
* Update a document
|
|
93
|
+
*/
|
|
94
|
+
updateDocumentRaw(requestParameters: UpdateDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetDocument200ResponseDataInner>>;
|
|
95
|
+
/**
|
|
96
|
+
* Update a document
|
|
97
|
+
*/
|
|
98
|
+
updateDocument(requestParameters: UpdateDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetDocument200ResponseDataInner>;
|
|
99
|
+
/**
|
|
100
|
+
* Creates request options for uploadDocument without sending the request
|
|
101
|
+
*/
|
|
102
|
+
uploadDocumentRequestOpts(requestParameters: UploadDocumentRequest): Promise<runtime.RequestOpts>;
|
|
103
|
+
/**
|
|
104
|
+
* Upload a document to a tradeflow
|
|
105
|
+
*/
|
|
106
|
+
uploadDocumentRaw(requestParameters: UploadDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadDocument202Response>>;
|
|
107
|
+
/**
|
|
108
|
+
* Upload a document to a tradeflow
|
|
109
|
+
*/
|
|
110
|
+
uploadDocument(requestParameters: UploadDocumentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadDocument202Response>;
|
|
111
|
+
}
|
|
@@ -22,23 +22,26 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
25
|
+
exports.DocumentsApi = void 0;
|
|
26
26
|
const runtime = require("../runtime");
|
|
27
27
|
const DocumentUpdate_1 = require("../models/DocumentUpdate");
|
|
28
28
|
const DocumentUpload_1 = require("../models/DocumentUpload");
|
|
29
|
+
const GetDocument200Response_1 = require("../models/GetDocument200Response");
|
|
30
|
+
const GetDocument200ResponseDataInner_1 = require("../models/GetDocument200ResponseDataInner");
|
|
29
31
|
const ListDocumentTypes200ResponseInner_1 = require("../models/ListDocumentTypes200ResponseInner");
|
|
30
|
-
const
|
|
31
|
-
const V3DocumentGet200ResponseDataInner_1 = require("../models/V3DocumentGet200ResponseDataInner");
|
|
32
|
-
const V3DocumentPost202Response_1 = require("../models/V3DocumentPost202Response");
|
|
32
|
+
const UploadDocument202Response_1 = require("../models/UploadDocument202Response");
|
|
33
33
|
/**
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
|
-
class
|
|
36
|
+
class DocumentsApi extends runtime.BaseAPI {
|
|
37
37
|
/**
|
|
38
|
-
* Creates request options for
|
|
38
|
+
* Creates request options for deleteDocument without sending the request
|
|
39
39
|
*/
|
|
40
|
-
|
|
40
|
+
deleteDocumentRequestOpts(requestParameters) {
|
|
41
41
|
return __awaiter(this, void 0, void 0, function* () {
|
|
42
|
+
if (requestParameters['reference'] == null) {
|
|
43
|
+
throw new runtime.RequiredError('reference', 'Required parameter "reference" was null or undefined when calling deleteDocument().');
|
|
44
|
+
}
|
|
42
45
|
const queryParameters = {};
|
|
43
46
|
const headerParameters = {};
|
|
44
47
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -48,41 +51,41 @@ class V3DocumentApi extends runtime.BaseAPI {
|
|
|
48
51
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
49
52
|
}
|
|
50
53
|
}
|
|
51
|
-
let urlPath = `/v3/downstream/documents/
|
|
54
|
+
let urlPath = `/v3/downstream/documents/{reference}`;
|
|
55
|
+
urlPath = urlPath.replace('{reference}', encodeURIComponent(String(requestParameters['reference'])));
|
|
52
56
|
return {
|
|
53
57
|
path: urlPath,
|
|
54
|
-
method: '
|
|
58
|
+
method: 'DELETE',
|
|
55
59
|
headers: headerParameters,
|
|
56
60
|
query: queryParameters,
|
|
57
61
|
};
|
|
58
62
|
});
|
|
59
63
|
}
|
|
60
64
|
/**
|
|
61
|
-
*
|
|
65
|
+
* Delete a document
|
|
62
66
|
*/
|
|
63
|
-
|
|
67
|
+
deleteDocumentRaw(requestParameters, initOverrides) {
|
|
64
68
|
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
-
const requestOptions = yield this.
|
|
69
|
+
const requestOptions = yield this.deleteDocumentRequestOpts(requestParameters);
|
|
66
70
|
const response = yield this.request(requestOptions, initOverrides);
|
|
67
|
-
return new runtime.
|
|
71
|
+
return new runtime.VoidApiResponse(response);
|
|
68
72
|
});
|
|
69
73
|
}
|
|
70
74
|
/**
|
|
71
|
-
*
|
|
75
|
+
* Delete a document
|
|
72
76
|
*/
|
|
73
|
-
|
|
77
|
+
deleteDocument(requestParameters, initOverrides) {
|
|
74
78
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
-
|
|
76
|
-
return yield response.value();
|
|
79
|
+
yield this.deleteDocumentRaw(requestParameters, initOverrides);
|
|
77
80
|
});
|
|
78
81
|
}
|
|
79
82
|
/**
|
|
80
|
-
* Creates request options for
|
|
83
|
+
* Creates request options for getDocument without sending the request
|
|
81
84
|
*/
|
|
82
|
-
|
|
85
|
+
getDocumentRequestOpts(requestParameters) {
|
|
83
86
|
return __awaiter(this, void 0, void 0, function* () {
|
|
84
87
|
if (requestParameters['reference'] == null) {
|
|
85
|
-
throw new runtime.RequiredError('reference', 'Required parameter "reference" was null or undefined when calling
|
|
88
|
+
throw new runtime.RequiredError('reference', 'Required parameter "reference" was null or undefined when calling getDocument().');
|
|
86
89
|
}
|
|
87
90
|
const queryParameters = {};
|
|
88
91
|
const headerParameters = {};
|
|
@@ -97,38 +100,36 @@ class V3DocumentApi extends runtime.BaseAPI {
|
|
|
97
100
|
urlPath = urlPath.replace('{reference}', encodeURIComponent(String(requestParameters['reference'])));
|
|
98
101
|
return {
|
|
99
102
|
path: urlPath,
|
|
100
|
-
method: '
|
|
103
|
+
method: 'GET',
|
|
101
104
|
headers: headerParameters,
|
|
102
105
|
query: queryParameters,
|
|
103
106
|
};
|
|
104
107
|
});
|
|
105
108
|
}
|
|
106
109
|
/**
|
|
107
|
-
*
|
|
110
|
+
* List the documents of a tradeflow
|
|
108
111
|
*/
|
|
109
|
-
|
|
112
|
+
getDocumentRaw(requestParameters, initOverrides) {
|
|
110
113
|
return __awaiter(this, void 0, void 0, function* () {
|
|
111
|
-
const requestOptions = yield this.
|
|
114
|
+
const requestOptions = yield this.getDocumentRequestOpts(requestParameters);
|
|
112
115
|
const response = yield this.request(requestOptions, initOverrides);
|
|
113
|
-
return new runtime.
|
|
116
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetDocument200Response_1.GetDocument200ResponseFromJSON)(jsonValue));
|
|
114
117
|
});
|
|
115
118
|
}
|
|
116
119
|
/**
|
|
117
|
-
*
|
|
120
|
+
* List the documents of a tradeflow
|
|
118
121
|
*/
|
|
119
|
-
|
|
122
|
+
getDocument(requestParameters, initOverrides) {
|
|
120
123
|
return __awaiter(this, void 0, void 0, function* () {
|
|
121
|
-
yield this.
|
|
124
|
+
const response = yield this.getDocumentRaw(requestParameters, initOverrides);
|
|
125
|
+
return yield response.value();
|
|
122
126
|
});
|
|
123
127
|
}
|
|
124
128
|
/**
|
|
125
|
-
* Creates request options for
|
|
129
|
+
* Creates request options for listDocumentTypes without sending the request
|
|
126
130
|
*/
|
|
127
|
-
|
|
131
|
+
listDocumentTypesRequestOpts() {
|
|
128
132
|
return __awaiter(this, void 0, void 0, function* () {
|
|
129
|
-
if (requestParameters['reference'] == null) {
|
|
130
|
-
throw new runtime.RequiredError('reference', 'Required parameter "reference" was null or undefined when calling v3DocumentGet().');
|
|
131
|
-
}
|
|
132
133
|
const queryParameters = {};
|
|
133
134
|
const headerParameters = {};
|
|
134
135
|
if (this.configuration && this.configuration.accessToken) {
|
|
@@ -138,8 +139,7 @@ class V3DocumentApi extends runtime.BaseAPI {
|
|
|
138
139
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
139
140
|
}
|
|
140
141
|
}
|
|
141
|
-
let urlPath = `/v3/downstream/documents/
|
|
142
|
-
urlPath = urlPath.replace('{reference}', encodeURIComponent(String(requestParameters['reference'])));
|
|
142
|
+
let urlPath = `/v3/downstream/documents/types`;
|
|
143
143
|
return {
|
|
144
144
|
path: urlPath,
|
|
145
145
|
method: 'GET',
|
|
@@ -149,34 +149,34 @@ class V3DocumentApi extends runtime.BaseAPI {
|
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
151
|
/**
|
|
152
|
-
* List
|
|
152
|
+
* List document types
|
|
153
153
|
*/
|
|
154
|
-
|
|
154
|
+
listDocumentTypesRaw(initOverrides) {
|
|
155
155
|
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
-
const requestOptions = yield this.
|
|
156
|
+
const requestOptions = yield this.listDocumentTypesRequestOpts();
|
|
157
157
|
const response = yield this.request(requestOptions, initOverrides);
|
|
158
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (
|
|
158
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ListDocumentTypes200ResponseInner_1.ListDocumentTypes200ResponseInnerFromJSON));
|
|
159
159
|
});
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* List
|
|
162
|
+
* List document types
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
listDocumentTypes(initOverrides) {
|
|
165
165
|
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
-
const response = yield this.
|
|
166
|
+
const response = yield this.listDocumentTypesRaw(initOverrides);
|
|
167
167
|
return yield response.value();
|
|
168
168
|
});
|
|
169
169
|
}
|
|
170
170
|
/**
|
|
171
|
-
* Creates request options for
|
|
171
|
+
* Creates request options for updateDocument without sending the request
|
|
172
172
|
*/
|
|
173
|
-
|
|
173
|
+
updateDocumentRequestOpts(requestParameters) {
|
|
174
174
|
return __awaiter(this, void 0, void 0, function* () {
|
|
175
175
|
if (requestParameters['reference'] == null) {
|
|
176
|
-
throw new runtime.RequiredError('reference', 'Required parameter "reference" was null or undefined when calling
|
|
176
|
+
throw new runtime.RequiredError('reference', 'Required parameter "reference" was null or undefined when calling updateDocument().');
|
|
177
177
|
}
|
|
178
178
|
if (requestParameters['documentUpdate'] == null) {
|
|
179
|
-
throw new runtime.RequiredError('documentUpdate', 'Required parameter "documentUpdate" was null or undefined when calling
|
|
179
|
+
throw new runtime.RequiredError('documentUpdate', 'Required parameter "documentUpdate" was null or undefined when calling updateDocument().');
|
|
180
180
|
}
|
|
181
181
|
const queryParameters = {};
|
|
182
182
|
const headerParameters = {};
|
|
@@ -202,29 +202,29 @@ class V3DocumentApi extends runtime.BaseAPI {
|
|
|
202
202
|
/**
|
|
203
203
|
* Update a document
|
|
204
204
|
*/
|
|
205
|
-
|
|
205
|
+
updateDocumentRaw(requestParameters, initOverrides) {
|
|
206
206
|
return __awaiter(this, void 0, void 0, function* () {
|
|
207
|
-
const requestOptions = yield this.
|
|
207
|
+
const requestOptions = yield this.updateDocumentRequestOpts(requestParameters);
|
|
208
208
|
const response = yield this.request(requestOptions, initOverrides);
|
|
209
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
209
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, GetDocument200ResponseDataInner_1.GetDocument200ResponseDataInnerFromJSON)(jsonValue));
|
|
210
210
|
});
|
|
211
211
|
}
|
|
212
212
|
/**
|
|
213
213
|
* Update a document
|
|
214
214
|
*/
|
|
215
|
-
|
|
215
|
+
updateDocument(requestParameters, initOverrides) {
|
|
216
216
|
return __awaiter(this, void 0, void 0, function* () {
|
|
217
|
-
const response = yield this.
|
|
217
|
+
const response = yield this.updateDocumentRaw(requestParameters, initOverrides);
|
|
218
218
|
return yield response.value();
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
222
|
-
* Creates request options for
|
|
222
|
+
* Creates request options for uploadDocument without sending the request
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
uploadDocumentRequestOpts(requestParameters) {
|
|
225
225
|
return __awaiter(this, void 0, void 0, function* () {
|
|
226
226
|
if (requestParameters['documentUpload'] == null) {
|
|
227
|
-
throw new runtime.RequiredError('documentUpload', 'Required parameter "documentUpload" was null or undefined when calling
|
|
227
|
+
throw new runtime.RequiredError('documentUpload', 'Required parameter "documentUpload" was null or undefined when calling uploadDocument().');
|
|
228
228
|
}
|
|
229
229
|
const queryParameters = {};
|
|
230
230
|
const headerParameters = {};
|
|
@@ -249,21 +249,21 @@ class V3DocumentApi extends runtime.BaseAPI {
|
|
|
249
249
|
/**
|
|
250
250
|
* Upload a document to a tradeflow
|
|
251
251
|
*/
|
|
252
|
-
|
|
252
|
+
uploadDocumentRaw(requestParameters, initOverrides) {
|
|
253
253
|
return __awaiter(this, void 0, void 0, function* () {
|
|
254
|
-
const requestOptions = yield this.
|
|
254
|
+
const requestOptions = yield this.uploadDocumentRequestOpts(requestParameters);
|
|
255
255
|
const response = yield this.request(requestOptions, initOverrides);
|
|
256
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => (0,
|
|
256
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, UploadDocument202Response_1.UploadDocument202ResponseFromJSON)(jsonValue));
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
259
|
/**
|
|
260
260
|
* Upload a document to a tradeflow
|
|
261
261
|
*/
|
|
262
|
-
|
|
262
|
+
uploadDocument(requestParameters, initOverrides) {
|
|
263
263
|
return __awaiter(this, void 0, void 0, function* () {
|
|
264
|
-
const response = yield this.
|
|
264
|
+
const response = yield this.uploadDocumentRaw(requestParameters, initOverrides);
|
|
265
265
|
return yield response.value();
|
|
266
266
|
});
|
|
267
267
|
}
|
|
268
268
|
}
|
|
269
|
-
exports.
|
|
269
|
+
exports.DocumentsApi = DocumentsApi;
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dockflow v3 API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import { type CreateTradeflows202Response } from '../models/CreateTradeflows202Response';
|
|
14
|
+
import { type DownstreamTradeflow } from '../models/DownstreamTradeflow';
|
|
15
|
+
export interface CreateTradeflowsRequest {
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
downstreamTradeflow: Array<DownstreamTradeflow>;
|
|
20
|
+
}
|
|
21
|
+
export interface DeleteTradeflowRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
tradeflowReference: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
confirm?: string;
|
|
30
|
+
/**
|
|
31
|
+
* true deletes the tradeflow permanently. Default: it is deactivated.
|
|
32
|
+
*/
|
|
33
|
+
hard?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
export declare class TradeflowsApi extends runtime.BaseAPI {
|
|
39
|
+
/**
|
|
40
|
+
* Creates request options for createTradeflows without sending the request
|
|
41
|
+
*/
|
|
42
|
+
createTradeflowsRequestOpts(requestParameters: CreateTradeflowsRequest): Promise<runtime.RequestOpts>;
|
|
43
|
+
/**
|
|
44
|
+
* Upsert tradeflows
|
|
45
|
+
*/
|
|
46
|
+
createTradeflowsRaw(requestParameters: CreateTradeflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateTradeflows202Response>>;
|
|
47
|
+
/**
|
|
48
|
+
* Upsert tradeflows
|
|
49
|
+
*/
|
|
50
|
+
createTradeflows(requestParameters: CreateTradeflowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateTradeflows202Response>;
|
|
51
|
+
/**
|
|
52
|
+
* Creates request options for deleteTradeflow without sending the request
|
|
53
|
+
*/
|
|
54
|
+
deleteTradeflowRequestOpts(requestParameters: DeleteTradeflowRequest): Promise<runtime.RequestOpts>;
|
|
55
|
+
/**
|
|
56
|
+
* Delete a tradeflow
|
|
57
|
+
*/
|
|
58
|
+
deleteTradeflowRaw(requestParameters: DeleteTradeflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete a tradeflow
|
|
61
|
+
*/
|
|
62
|
+
deleteTradeflow(requestParameters: DeleteTradeflowRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
63
|
+
}
|