@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.
Files changed (115) hide show
  1. package/.openapi-generator/FILES +24 -24
  2. package/README.md +28 -23
  3. package/dist/apis/DocumentsApi.d.ts +111 -0
  4. package/dist/apis/{V3DocumentApi.js → DocumentsApi.js} +60 -60
  5. package/dist/apis/TradeflowsApi.d.ts +63 -0
  6. package/dist/apis/{V3DownstreamApi.js → TradeflowsApi.js} +44 -44
  7. package/dist/apis/{V3UpstreamApi.d.ts → UpstreamApi.d.ts} +13 -13
  8. package/dist/apis/{V3UpstreamApi.js → UpstreamApi.js} +13 -13
  9. package/dist/apis/index.d.ts +3 -3
  10. package/dist/apis/index.js +3 -3
  11. package/dist/esm/apis/DocumentsApi.d.ts +111 -0
  12. package/dist/esm/apis/{V3DocumentApi.js → DocumentsApi.js} +58 -58
  13. package/dist/esm/apis/TradeflowsApi.d.ts +63 -0
  14. package/dist/esm/apis/{V3DownstreamApi.js → TradeflowsApi.js} +42 -42
  15. package/dist/esm/apis/{V3UpstreamApi.d.ts → UpstreamApi.d.ts} +13 -13
  16. package/dist/esm/apis/{V3UpstreamApi.js → UpstreamApi.js} +11 -11
  17. package/dist/esm/apis/index.d.ts +3 -3
  18. package/dist/esm/apis/index.js +3 -3
  19. package/dist/esm/models/CreateTradeflows202Response.d.ts +42 -0
  20. package/dist/esm/models/{V3DownstreamPost202Response.js → CreateTradeflows202Response.js} +12 -12
  21. package/dist/esm/models/CreateTradeflows202ResponseTradeflowsInner.d.ts +34 -0
  22. package/dist/esm/models/{V3DownstreamPost202ResponseTradeflowsInner.js → CreateTradeflows202ResponseTradeflowsInner.js} +8 -8
  23. package/dist/esm/models/GetDocument200Response.d.ts +39 -0
  24. package/dist/esm/models/{V3DocumentGet200Response.js → GetDocument200Response.js} +11 -11
  25. package/dist/esm/models/GetDocument200ResponseDataInner.d.ts +63 -0
  26. package/dist/esm/models/{V3DocumentGet200ResponseDataInner.js → GetDocument200ResponseDataInner.js} +11 -11
  27. package/dist/esm/models/GetDocument200ResponseDataInnerDocumentType.d.ts +34 -0
  28. package/dist/esm/models/{V3DocumentGet200ResponseDataInnerDocumentType.js → GetDocument200ResponseDataInnerDocumentType.js} +8 -8
  29. package/dist/esm/models/GetUpstream200Response.d.ts +35 -0
  30. package/dist/esm/models/{V3UpstreamGet200Response.js → GetUpstream200Response.js} +8 -8
  31. package/dist/esm/models/GetUpstream400Response.d.ts +26 -0
  32. package/dist/esm/models/GetUpstream400Response.js +31 -0
  33. package/dist/{models/V3DocumentPost202Response.d.ts → esm/models/UploadDocument202Response.d.ts} +8 -8
  34. package/dist/esm/models/{V3DocumentPost202Response.js → UploadDocument202Response.js} +8 -8
  35. package/dist/esm/models/UploadDocument400Response.d.ts +26 -0
  36. package/dist/esm/models/{V3DocumentPost400Response.js → UploadDocument400Response.js} +8 -8
  37. package/dist/esm/models/index.d.ts +9 -9
  38. package/dist/esm/models/index.js +9 -9
  39. package/dist/models/CreateTradeflows202Response.d.ts +42 -0
  40. package/dist/models/CreateTradeflows202Response.js +64 -0
  41. package/dist/models/CreateTradeflows202ResponseTradeflowsInner.d.ts +34 -0
  42. package/dist/models/{V3DownstreamPost202ResponseTradeflowsInner.js → CreateTradeflows202ResponseTradeflowsInner.js} +13 -13
  43. package/dist/models/GetDocument200Response.d.ts +39 -0
  44. package/dist/models/GetDocument200Response.js +59 -0
  45. package/dist/models/GetDocument200ResponseDataInner.d.ts +63 -0
  46. package/dist/models/{V3DocumentGet200ResponseDataInner.js → GetDocument200ResponseDataInner.js} +16 -16
  47. package/dist/models/GetDocument200ResponseDataInnerDocumentType.d.ts +34 -0
  48. package/dist/models/GetDocument200ResponseDataInnerDocumentType.js +54 -0
  49. package/dist/models/GetUpstream200Response.d.ts +35 -0
  50. package/dist/models/{V3UpstreamGet200Response.js → GetUpstream200Response.js} +13 -13
  51. package/dist/models/GetUpstream400Response.d.ts +26 -0
  52. package/dist/models/GetUpstream400Response.js +38 -0
  53. package/dist/{esm/models/V3DocumentPost202Response.d.ts → models/UploadDocument202Response.d.ts} +8 -8
  54. package/dist/models/{V3DocumentPost202Response.js → UploadDocument202Response.js} +13 -13
  55. package/dist/models/UploadDocument400Response.d.ts +26 -0
  56. package/dist/models/UploadDocument400Response.js +38 -0
  57. package/dist/models/index.d.ts +9 -9
  58. package/dist/models/index.js +9 -9
  59. package/docs/{V3DownstreamPost202Response.md → CreateTradeflows202Response.md} +5 -5
  60. package/docs/{V3DownstreamPost202ResponseTradeflowsInner.md → CreateTradeflows202ResponseTradeflowsInner.md} +4 -4
  61. package/docs/{V3DocumentApi.md → DocumentsApi.md} +63 -63
  62. package/docs/{V3DocumentGet200Response.md → GetDocument200Response.md} +5 -5
  63. package/docs/{V3DocumentGet200ResponseDataInner.md → GetDocument200ResponseDataInner.md} +5 -5
  64. package/docs/{V3DocumentGet200ResponseDataInnerDocumentType.md → GetDocument200ResponseDataInnerDocumentType.md} +4 -4
  65. package/docs/{V3UpstreamGet200Response.md → GetUpstream200Response.md} +4 -4
  66. package/docs/{V3UpstreamGet400Response.md → GetUpstream400Response.md} +4 -4
  67. package/docs/{V3DownstreamApi.md → TradeflowsApi.md} +39 -39
  68. package/docs/{V3DocumentPost202Response.md → UploadDocument202Response.md} +4 -4
  69. package/docs/{V3DocumentPost400Response.md → UploadDocument400Response.md} +4 -4
  70. package/docs/{V3UpstreamApi.md → UpstreamApi.md} +10 -10
  71. package/package.json +1 -1
  72. package/src/apis/{V3DocumentApi.ts → DocumentsApi.ts} +81 -81
  73. package/src/apis/{V3DownstreamApi.ts → TradeflowsApi.ts} +58 -58
  74. package/src/apis/{V3UpstreamApi.ts → UpstreamApi.ts} +23 -23
  75. package/src/apis/index.ts +3 -3
  76. package/src/models/CreateTradeflows202Response.ts +91 -0
  77. package/src/models/{V3DownstreamPost202ResponseTradeflowsInner.ts → CreateTradeflows202ResponseTradeflowsInner.ts} +10 -10
  78. package/src/models/{V3DocumentGet200Response.ts → GetDocument200Response.ts} +19 -19
  79. package/src/models/{V3DocumentGet200ResponseDataInner.ts → GetDocument200ResponseDataInner.ts} +19 -19
  80. package/src/models/GetDocument200ResponseDataInnerDocumentType.ts +71 -0
  81. package/src/models/{V3UpstreamGet200Response.ts → GetUpstream200Response.ts} +10 -10
  82. package/src/models/GetUpstream400Response.ts +46 -0
  83. package/src/models/{V3DocumentPost202Response.ts → UploadDocument202Response.ts} +10 -10
  84. package/src/models/UploadDocument400Response.ts +46 -0
  85. package/src/models/index.ts +9 -9
  86. package/dist/apis/V3DocumentApi.d.ts +0 -111
  87. package/dist/apis/V3DownstreamApi.d.ts +0 -63
  88. package/dist/esm/apis/V3DocumentApi.d.ts +0 -111
  89. package/dist/esm/apis/V3DownstreamApi.d.ts +0 -63
  90. package/dist/esm/models/V3DocumentGet200Response.d.ts +0 -39
  91. package/dist/esm/models/V3DocumentGet200ResponseDataInner.d.ts +0 -63
  92. package/dist/esm/models/V3DocumentGet200ResponseDataInnerDocumentType.d.ts +0 -34
  93. package/dist/esm/models/V3DocumentPost400Response.d.ts +0 -26
  94. package/dist/esm/models/V3DownstreamPost202Response.d.ts +0 -42
  95. package/dist/esm/models/V3DownstreamPost202ResponseTradeflowsInner.d.ts +0 -34
  96. package/dist/esm/models/V3UpstreamGet200Response.d.ts +0 -35
  97. package/dist/esm/models/V3UpstreamGet400Response.d.ts +0 -26
  98. package/dist/esm/models/V3UpstreamGet400Response.js +0 -31
  99. package/dist/models/V3DocumentGet200Response.d.ts +0 -39
  100. package/dist/models/V3DocumentGet200Response.js +0 -59
  101. package/dist/models/V3DocumentGet200ResponseDataInner.d.ts +0 -63
  102. package/dist/models/V3DocumentGet200ResponseDataInnerDocumentType.d.ts +0 -34
  103. package/dist/models/V3DocumentGet200ResponseDataInnerDocumentType.js +0 -54
  104. package/dist/models/V3DocumentPost400Response.d.ts +0 -26
  105. package/dist/models/V3DocumentPost400Response.js +0 -38
  106. package/dist/models/V3DownstreamPost202Response.d.ts +0 -42
  107. package/dist/models/V3DownstreamPost202Response.js +0 -64
  108. package/dist/models/V3DownstreamPost202ResponseTradeflowsInner.d.ts +0 -34
  109. package/dist/models/V3UpstreamGet200Response.d.ts +0 -35
  110. package/dist/models/V3UpstreamGet400Response.d.ts +0 -26
  111. package/dist/models/V3UpstreamGet400Response.js +0 -38
  112. package/src/models/V3DocumentGet200ResponseDataInnerDocumentType.ts +0 -71
  113. package/src/models/V3DocumentPost400Response.ts +0 -46
  114. package/src/models/V3DownstreamPost202Response.ts +0 -91
  115. package/src/models/V3UpstreamGet400Response.ts +0 -46
@@ -1,42 +0,0 @@
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 type { V3DownstreamPost202ResponseTradeflowsInner } from './V3DownstreamPost202ResponseTradeflowsInner';
13
- /**
14
- *
15
- * @export
16
- * @interface V3DownstreamPost202Response
17
- */
18
- export interface V3DownstreamPost202Response {
19
- /**
20
- *
21
- */
22
- status: V3DownstreamPost202ResponseStatusEnum;
23
- /**
24
- *
25
- */
26
- tradeflows: Array<V3DownstreamPost202ResponseTradeflowsInner>;
27
- }
28
- /**
29
- * @export
30
- */
31
- export declare const V3DownstreamPost202ResponseStatusEnum: {
32
- readonly Queued: "queued";
33
- };
34
- export type V3DownstreamPost202ResponseStatusEnum = typeof V3DownstreamPost202ResponseStatusEnum[keyof typeof V3DownstreamPost202ResponseStatusEnum];
35
- /**
36
- * Check if a given object implements the V3DownstreamPost202Response interface.
37
- */
38
- export declare function instanceOfV3DownstreamPost202Response(value: object): value is V3DownstreamPost202Response;
39
- export declare function V3DownstreamPost202ResponseFromJSON(json: any): V3DownstreamPost202Response;
40
- export declare function V3DownstreamPost202ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DownstreamPost202Response;
41
- export declare function V3DownstreamPost202ResponseToJSON(json: any): V3DownstreamPost202Response;
42
- export declare function V3DownstreamPost202ResponseToJSONTyped(value?: V3DownstreamPost202Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,64 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Dockflow v3 API
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: 3.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.V3DownstreamPost202ResponseStatusEnum = void 0;
17
- exports.instanceOfV3DownstreamPost202Response = instanceOfV3DownstreamPost202Response;
18
- exports.V3DownstreamPost202ResponseFromJSON = V3DownstreamPost202ResponseFromJSON;
19
- exports.V3DownstreamPost202ResponseFromJSONTyped = V3DownstreamPost202ResponseFromJSONTyped;
20
- exports.V3DownstreamPost202ResponseToJSON = V3DownstreamPost202ResponseToJSON;
21
- exports.V3DownstreamPost202ResponseToJSONTyped = V3DownstreamPost202ResponseToJSONTyped;
22
- const V3DownstreamPost202ResponseTradeflowsInner_1 = require("./V3DownstreamPost202ResponseTradeflowsInner");
23
- /**
24
- * @export
25
- */
26
- exports.V3DownstreamPost202ResponseStatusEnum = {
27
- Queued: 'queued',
28
- };
29
- /**
30
- * Check if a given object implements the V3DownstreamPost202Response interface.
31
- */
32
- function instanceOfV3DownstreamPost202Response(value) {
33
- if (!('status' in value) || value['status'] === undefined)
34
- return false;
35
- if (value['status'] !== 'queued')
36
- return false;
37
- if (!('tradeflows' in value) || value['tradeflows'] === undefined)
38
- return false;
39
- return true;
40
- }
41
- function V3DownstreamPost202ResponseFromJSON(json) {
42
- return V3DownstreamPost202ResponseFromJSONTyped(json, false);
43
- }
44
- function V3DownstreamPost202ResponseFromJSONTyped(json, ignoreDiscriminator) {
45
- if (json == null) {
46
- return json;
47
- }
48
- return {
49
- 'status': json['status'],
50
- 'tradeflows': (json['tradeflows'].map(V3DownstreamPost202ResponseTradeflowsInner_1.V3DownstreamPost202ResponseTradeflowsInnerFromJSON)),
51
- };
52
- }
53
- function V3DownstreamPost202ResponseToJSON(json) {
54
- return V3DownstreamPost202ResponseToJSONTyped(json, false);
55
- }
56
- function V3DownstreamPost202ResponseToJSONTyped(value, ignoreDiscriminator = false) {
57
- if (value == null) {
58
- return value;
59
- }
60
- return {
61
- 'status': value['status'],
62
- 'tradeflows': (value['tradeflows'].map(V3DownstreamPost202ResponseTradeflowsInner_1.V3DownstreamPost202ResponseTradeflowsInnerToJSON)),
63
- };
64
- }
@@ -1,34 +0,0 @@
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
- /**
13
- *
14
- * @export
15
- * @interface V3DownstreamPost202ResponseTradeflowsInner
16
- */
17
- export interface V3DownstreamPost202ResponseTradeflowsInner {
18
- /**
19
- *
20
- */
21
- tradeflowReference: string;
22
- /**
23
- *
24
- */
25
- warnings: Array<string>;
26
- }
27
- /**
28
- * Check if a given object implements the V3DownstreamPost202ResponseTradeflowsInner interface.
29
- */
30
- export declare function instanceOfV3DownstreamPost202ResponseTradeflowsInner(value: object): value is V3DownstreamPost202ResponseTradeflowsInner;
31
- export declare function V3DownstreamPost202ResponseTradeflowsInnerFromJSON(json: any): V3DownstreamPost202ResponseTradeflowsInner;
32
- export declare function V3DownstreamPost202ResponseTradeflowsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DownstreamPost202ResponseTradeflowsInner;
33
- export declare function V3DownstreamPost202ResponseTradeflowsInnerToJSON(json: any): V3DownstreamPost202ResponseTradeflowsInner;
34
- export declare function V3DownstreamPost202ResponseTradeflowsInnerToJSONTyped(value?: V3DownstreamPost202ResponseTradeflowsInner | null, ignoreDiscriminator?: boolean): any;
@@ -1,35 +0,0 @@
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 type { UpstreamRecord } from './UpstreamRecord';
13
- /**
14
- *
15
- * @export
16
- * @interface V3UpstreamGet200Response
17
- */
18
- export interface V3UpstreamGet200Response {
19
- /**
20
- *
21
- */
22
- data: Array<UpstreamRecord>;
23
- /**
24
- *
25
- */
26
- nextCursor: string | null;
27
- }
28
- /**
29
- * Check if a given object implements the V3UpstreamGet200Response interface.
30
- */
31
- export declare function instanceOfV3UpstreamGet200Response(value: object): value is V3UpstreamGet200Response;
32
- export declare function V3UpstreamGet200ResponseFromJSON(json: any): V3UpstreamGet200Response;
33
- export declare function V3UpstreamGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3UpstreamGet200Response;
34
- export declare function V3UpstreamGet200ResponseToJSON(json: any): V3UpstreamGet200Response;
35
- export declare function V3UpstreamGet200ResponseToJSONTyped(value?: V3UpstreamGet200Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,26 +0,0 @@
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
- /**
13
- *
14
- * @export
15
- * @interface V3UpstreamGet400Response
16
- */
17
- export interface V3UpstreamGet400Response {
18
- }
19
- /**
20
- * Check if a given object implements the V3UpstreamGet400Response interface.
21
- */
22
- export declare function instanceOfV3UpstreamGet400Response(value: object): value is V3UpstreamGet400Response;
23
- export declare function V3UpstreamGet400ResponseFromJSON(json: any): V3UpstreamGet400Response;
24
- export declare function V3UpstreamGet400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3UpstreamGet400Response;
25
- export declare function V3UpstreamGet400ResponseToJSON(json: any): V3UpstreamGet400Response;
26
- export declare function V3UpstreamGet400ResponseToJSONTyped(value?: V3UpstreamGet400Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,38 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * Dockflow v3 API
6
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
- *
8
- * The version of the OpenAPI document: 3.0.0
9
- *
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfV3UpstreamGet400Response = instanceOfV3UpstreamGet400Response;
17
- exports.V3UpstreamGet400ResponseFromJSON = V3UpstreamGet400ResponseFromJSON;
18
- exports.V3UpstreamGet400ResponseFromJSONTyped = V3UpstreamGet400ResponseFromJSONTyped;
19
- exports.V3UpstreamGet400ResponseToJSON = V3UpstreamGet400ResponseToJSON;
20
- exports.V3UpstreamGet400ResponseToJSONTyped = V3UpstreamGet400ResponseToJSONTyped;
21
- /**
22
- * Check if a given object implements the V3UpstreamGet400Response interface.
23
- */
24
- function instanceOfV3UpstreamGet400Response(value) {
25
- return true;
26
- }
27
- function V3UpstreamGet400ResponseFromJSON(json) {
28
- return V3UpstreamGet400ResponseFromJSONTyped(json, false);
29
- }
30
- function V3UpstreamGet400ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
- return json;
32
- }
33
- function V3UpstreamGet400ResponseToJSON(json) {
34
- return V3UpstreamGet400ResponseToJSONTyped(json, false);
35
- }
36
- function V3UpstreamGet400ResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
- return value;
38
- }
@@ -1,71 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dockflow v3 API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 3.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
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface V3DocumentGet200ResponseDataInnerDocumentType
20
- */
21
- export interface V3DocumentGet200ResponseDataInnerDocumentType {
22
- /**
23
- *
24
- */
25
- name: string;
26
- /**
27
- *
28
- */
29
- description: string;
30
- }
31
-
32
- /**
33
- * Check if a given object implements the V3DocumentGet200ResponseDataInnerDocumentType interface.
34
- */
35
- export function instanceOfV3DocumentGet200ResponseDataInnerDocumentType(value: object): value is V3DocumentGet200ResponseDataInnerDocumentType {
36
- if (!('name' in value) || value['name'] === undefined) return false;
37
- if (!('description' in value) || value['description'] === undefined) return false;
38
- return true;
39
- }
40
-
41
- export function V3DocumentGet200ResponseDataInnerDocumentTypeFromJSON(json: any): V3DocumentGet200ResponseDataInnerDocumentType {
42
- return V3DocumentGet200ResponseDataInnerDocumentTypeFromJSONTyped(json, false);
43
- }
44
-
45
- export function V3DocumentGet200ResponseDataInnerDocumentTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DocumentGet200ResponseDataInnerDocumentType {
46
- if (json == null) {
47
- return json;
48
- }
49
- return {
50
-
51
- 'name': json['name'],
52
- 'description': json['description'],
53
- };
54
- }
55
-
56
- export function V3DocumentGet200ResponseDataInnerDocumentTypeToJSON(json: any): V3DocumentGet200ResponseDataInnerDocumentType {
57
- return V3DocumentGet200ResponseDataInnerDocumentTypeToJSONTyped(json, false);
58
- }
59
-
60
- export function V3DocumentGet200ResponseDataInnerDocumentTypeToJSONTyped(value?: V3DocumentGet200ResponseDataInnerDocumentType | null, ignoreDiscriminator: boolean = false): any {
61
- if (value == null) {
62
- return value;
63
- }
64
-
65
- return {
66
-
67
- 'name': value['name'],
68
- 'description': value['description'],
69
- };
70
- }
71
-
@@ -1,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dockflow v3 API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 3.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
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface V3DocumentPost400Response
20
- */
21
- export interface V3DocumentPost400Response {
22
- }
23
-
24
- /**
25
- * Check if a given object implements the V3DocumentPost400Response interface.
26
- */
27
- export function instanceOfV3DocumentPost400Response(value: object): value is V3DocumentPost400Response {
28
- return true;
29
- }
30
-
31
- export function V3DocumentPost400ResponseFromJSON(json: any): V3DocumentPost400Response {
32
- return V3DocumentPost400ResponseFromJSONTyped(json, false);
33
- }
34
-
35
- export function V3DocumentPost400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DocumentPost400Response {
36
- return json;
37
- }
38
-
39
- export function V3DocumentPost400ResponseToJSON(json: any): V3DocumentPost400Response {
40
- return V3DocumentPost400ResponseToJSONTyped(json, false);
41
- }
42
-
43
- export function V3DocumentPost400ResponseToJSONTyped(value?: V3DocumentPost400Response | null, ignoreDiscriminator: boolean = false): any {
44
- return value;
45
- }
46
-
@@ -1,91 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dockflow v3 API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 3.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
-
15
- import { mapValues } from '../runtime';
16
- import type { V3DownstreamPost202ResponseTradeflowsInner } from './V3DownstreamPost202ResponseTradeflowsInner';
17
- import {
18
- V3DownstreamPost202ResponseTradeflowsInnerFromJSON,
19
- V3DownstreamPost202ResponseTradeflowsInnerFromJSONTyped,
20
- V3DownstreamPost202ResponseTradeflowsInnerToJSON,
21
- V3DownstreamPost202ResponseTradeflowsInnerToJSONTyped,
22
- } from './V3DownstreamPost202ResponseTradeflowsInner';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface V3DownstreamPost202Response
28
- */
29
- export interface V3DownstreamPost202Response {
30
- /**
31
- *
32
- */
33
- status: V3DownstreamPost202ResponseStatusEnum;
34
- /**
35
- *
36
- */
37
- tradeflows: Array<V3DownstreamPost202ResponseTradeflowsInner>;
38
- }
39
-
40
-
41
- /**
42
- * @export
43
- */
44
- export const V3DownstreamPost202ResponseStatusEnum = {
45
- Queued: 'queued',
46
- } as const;
47
- export type V3DownstreamPost202ResponseStatusEnum = typeof V3DownstreamPost202ResponseStatusEnum[keyof typeof V3DownstreamPost202ResponseStatusEnum];
48
-
49
-
50
- /**
51
- * Check if a given object implements the V3DownstreamPost202Response interface.
52
- */
53
- export function instanceOfV3DownstreamPost202Response(value: object): value is V3DownstreamPost202Response {
54
- if (!('status' in value) || value['status'] === undefined) return false;
55
- if (value['status'] !== 'queued') return false;
56
-
57
- if (!('tradeflows' in value) || value['tradeflows'] === undefined) return false;
58
- return true;
59
- }
60
-
61
- export function V3DownstreamPost202ResponseFromJSON(json: any): V3DownstreamPost202Response {
62
- return V3DownstreamPost202ResponseFromJSONTyped(json, false);
63
- }
64
-
65
- export function V3DownstreamPost202ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DownstreamPost202Response {
66
- if (json == null) {
67
- return json;
68
- }
69
- return {
70
-
71
- 'status': json['status'],
72
- 'tradeflows': ((json['tradeflows'] as Array<any>).map(V3DownstreamPost202ResponseTradeflowsInnerFromJSON)),
73
- };
74
- }
75
-
76
- export function V3DownstreamPost202ResponseToJSON(json: any): V3DownstreamPost202Response {
77
- return V3DownstreamPost202ResponseToJSONTyped(json, false);
78
- }
79
-
80
- export function V3DownstreamPost202ResponseToJSONTyped(value?: V3DownstreamPost202Response | null, ignoreDiscriminator: boolean = false): any {
81
- if (value == null) {
82
- return value;
83
- }
84
-
85
- return {
86
-
87
- 'status': value['status'],
88
- 'tradeflows': ((value['tradeflows'] as Array<any>).map(V3DownstreamPost202ResponseTradeflowsInnerToJSON)),
89
- };
90
- }
91
-
@@ -1,46 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Dockflow v3 API
5
- * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
- *
7
- * The version of the OpenAPI document: 3.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
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface V3UpstreamGet400Response
20
- */
21
- export interface V3UpstreamGet400Response {
22
- }
23
-
24
- /**
25
- * Check if a given object implements the V3UpstreamGet400Response interface.
26
- */
27
- export function instanceOfV3UpstreamGet400Response(value: object): value is V3UpstreamGet400Response {
28
- return true;
29
- }
30
-
31
- export function V3UpstreamGet400ResponseFromJSON(json: any): V3UpstreamGet400Response {
32
- return V3UpstreamGet400ResponseFromJSONTyped(json, false);
33
- }
34
-
35
- export function V3UpstreamGet400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3UpstreamGet400Response {
36
- return json;
37
- }
38
-
39
- export function V3UpstreamGet400ResponseToJSON(json: any): V3UpstreamGet400Response {
40
- return V3UpstreamGet400ResponseToJSONTyped(json, false);
41
- }
42
-
43
- export function V3UpstreamGet400ResponseToJSONTyped(value?: V3UpstreamGet400Response | null, ignoreDiscriminator: boolean = false): any {
44
- return value;
45
- }
46
-