@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
@@ -0,0 +1,42 @@
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 { CreateTradeflows202ResponseTradeflowsInner } from './CreateTradeflows202ResponseTradeflowsInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateTradeflows202Response
17
+ */
18
+ export interface CreateTradeflows202Response {
19
+ /**
20
+ *
21
+ */
22
+ status: CreateTradeflows202ResponseStatusEnum;
23
+ /**
24
+ *
25
+ */
26
+ tradeflows: Array<CreateTradeflows202ResponseTradeflowsInner>;
27
+ }
28
+ /**
29
+ * @export
30
+ */
31
+ export declare const CreateTradeflows202ResponseStatusEnum: {
32
+ readonly Queued: "queued";
33
+ };
34
+ export type CreateTradeflows202ResponseStatusEnum = typeof CreateTradeflows202ResponseStatusEnum[keyof typeof CreateTradeflows202ResponseStatusEnum];
35
+ /**
36
+ * Check if a given object implements the CreateTradeflows202Response interface.
37
+ */
38
+ export declare function instanceOfCreateTradeflows202Response(value: object): value is CreateTradeflows202Response;
39
+ export declare function CreateTradeflows202ResponseFromJSON(json: any): CreateTradeflows202Response;
40
+ export declare function CreateTradeflows202ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTradeflows202Response;
41
+ export declare function CreateTradeflows202ResponseToJSON(json: any): CreateTradeflows202Response;
42
+ export declare function CreateTradeflows202ResponseToJSONTyped(value?: CreateTradeflows202Response | null, ignoreDiscriminator?: boolean): any;
@@ -11,17 +11,17 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { V3DownstreamPost202ResponseTradeflowsInnerFromJSON, V3DownstreamPost202ResponseTradeflowsInnerToJSON, } from './V3DownstreamPost202ResponseTradeflowsInner';
14
+ import { CreateTradeflows202ResponseTradeflowsInnerFromJSON, CreateTradeflows202ResponseTradeflowsInnerToJSON, } from './CreateTradeflows202ResponseTradeflowsInner';
15
15
  /**
16
16
  * @export
17
17
  */
18
- export const V3DownstreamPost202ResponseStatusEnum = {
18
+ export const CreateTradeflows202ResponseStatusEnum = {
19
19
  Queued: 'queued',
20
20
  };
21
21
  /**
22
- * Check if a given object implements the V3DownstreamPost202Response interface.
22
+ * Check if a given object implements the CreateTradeflows202Response interface.
23
23
  */
24
- export function instanceOfV3DownstreamPost202Response(value) {
24
+ export function instanceOfCreateTradeflows202Response(value) {
25
25
  if (!('status' in value) || value['status'] === undefined)
26
26
  return false;
27
27
  if (value['status'] !== 'queued')
@@ -30,27 +30,27 @@ export function instanceOfV3DownstreamPost202Response(value) {
30
30
  return false;
31
31
  return true;
32
32
  }
33
- export function V3DownstreamPost202ResponseFromJSON(json) {
34
- return V3DownstreamPost202ResponseFromJSONTyped(json, false);
33
+ export function CreateTradeflows202ResponseFromJSON(json) {
34
+ return CreateTradeflows202ResponseFromJSONTyped(json, false);
35
35
  }
36
- export function V3DownstreamPost202ResponseFromJSONTyped(json, ignoreDiscriminator) {
36
+ export function CreateTradeflows202ResponseFromJSONTyped(json, ignoreDiscriminator) {
37
37
  if (json == null) {
38
38
  return json;
39
39
  }
40
40
  return {
41
41
  'status': json['status'],
42
- 'tradeflows': (json['tradeflows'].map(V3DownstreamPost202ResponseTradeflowsInnerFromJSON)),
42
+ 'tradeflows': (json['tradeflows'].map(CreateTradeflows202ResponseTradeflowsInnerFromJSON)),
43
43
  };
44
44
  }
45
- export function V3DownstreamPost202ResponseToJSON(json) {
46
- return V3DownstreamPost202ResponseToJSONTyped(json, false);
45
+ export function CreateTradeflows202ResponseToJSON(json) {
46
+ return CreateTradeflows202ResponseToJSONTyped(json, false);
47
47
  }
48
- export function V3DownstreamPost202ResponseToJSONTyped(value, ignoreDiscriminator = false) {
48
+ export function CreateTradeflows202ResponseToJSONTyped(value, ignoreDiscriminator = false) {
49
49
  if (value == null) {
50
50
  return value;
51
51
  }
52
52
  return {
53
53
  'status': value['status'],
54
- 'tradeflows': (value['tradeflows'].map(V3DownstreamPost202ResponseTradeflowsInnerToJSON)),
54
+ 'tradeflows': (value['tradeflows'].map(CreateTradeflows202ResponseTradeflowsInnerToJSON)),
55
55
  };
56
56
  }
@@ -0,0 +1,34 @@
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 CreateTradeflows202ResponseTradeflowsInner
16
+ */
17
+ export interface CreateTradeflows202ResponseTradeflowsInner {
18
+ /**
19
+ *
20
+ */
21
+ tradeflowReference: string;
22
+ /**
23
+ *
24
+ */
25
+ warnings: Array<string>;
26
+ }
27
+ /**
28
+ * Check if a given object implements the CreateTradeflows202ResponseTradeflowsInner interface.
29
+ */
30
+ export declare function instanceOfCreateTradeflows202ResponseTradeflowsInner(value: object): value is CreateTradeflows202ResponseTradeflowsInner;
31
+ export declare function CreateTradeflows202ResponseTradeflowsInnerFromJSON(json: any): CreateTradeflows202ResponseTradeflowsInner;
32
+ export declare function CreateTradeflows202ResponseTradeflowsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTradeflows202ResponseTradeflowsInner;
33
+ export declare function CreateTradeflows202ResponseTradeflowsInnerToJSON(json: any): CreateTradeflows202ResponseTradeflowsInner;
34
+ export declare function CreateTradeflows202ResponseTradeflowsInnerToJSONTyped(value?: CreateTradeflows202ResponseTradeflowsInner | null, ignoreDiscriminator?: boolean): any;
@@ -12,19 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the V3DownstreamPost202ResponseTradeflowsInner interface.
15
+ * Check if a given object implements the CreateTradeflows202ResponseTradeflowsInner interface.
16
16
  */
17
- export function instanceOfV3DownstreamPost202ResponseTradeflowsInner(value) {
17
+ export function instanceOfCreateTradeflows202ResponseTradeflowsInner(value) {
18
18
  if ((!('tradeflowReference' in value) && !('tradeflow_reference' in value)) || (value['tradeflowReference'] === undefined && value['tradeflow_reference'] === undefined))
19
19
  return false;
20
20
  if (!('warnings' in value) || value['warnings'] === undefined)
21
21
  return false;
22
22
  return true;
23
23
  }
24
- export function V3DownstreamPost202ResponseTradeflowsInnerFromJSON(json) {
25
- return V3DownstreamPost202ResponseTradeflowsInnerFromJSONTyped(json, false);
24
+ export function CreateTradeflows202ResponseTradeflowsInnerFromJSON(json) {
25
+ return CreateTradeflows202ResponseTradeflowsInnerFromJSONTyped(json, false);
26
26
  }
27
- export function V3DownstreamPost202ResponseTradeflowsInnerFromJSONTyped(json, ignoreDiscriminator) {
27
+ export function CreateTradeflows202ResponseTradeflowsInnerFromJSONTyped(json, ignoreDiscriminator) {
28
28
  if (json == null) {
29
29
  return json;
30
30
  }
@@ -33,10 +33,10 @@ export function V3DownstreamPost202ResponseTradeflowsInnerFromJSONTyped(json, ig
33
33
  'warnings': json['warnings'],
34
34
  };
35
35
  }
36
- export function V3DownstreamPost202ResponseTradeflowsInnerToJSON(json) {
37
- return V3DownstreamPost202ResponseTradeflowsInnerToJSONTyped(json, false);
36
+ export function CreateTradeflows202ResponseTradeflowsInnerToJSON(json) {
37
+ return CreateTradeflows202ResponseTradeflowsInnerToJSONTyped(json, false);
38
38
  }
39
- export function V3DownstreamPost202ResponseTradeflowsInnerToJSONTyped(value, ignoreDiscriminator = false) {
39
+ export function CreateTradeflows202ResponseTradeflowsInnerToJSONTyped(value, ignoreDiscriminator = false) {
40
40
  if (value == null) {
41
41
  return value;
42
42
  }
@@ -0,0 +1,39 @@
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 { GetDocument200ResponseDataInner } from './GetDocument200ResponseDataInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetDocument200Response
17
+ */
18
+ export interface GetDocument200Response {
19
+ /**
20
+ *
21
+ */
22
+ data: Array<GetDocument200ResponseDataInner>;
23
+ /**
24
+ *
25
+ */
26
+ tradeflowReference: string;
27
+ /**
28
+ *
29
+ */
30
+ count: number;
31
+ }
32
+ /**
33
+ * Check if a given object implements the GetDocument200Response interface.
34
+ */
35
+ export declare function instanceOfGetDocument200Response(value: object): value is GetDocument200Response;
36
+ export declare function GetDocument200ResponseFromJSON(json: any): GetDocument200Response;
37
+ export declare function GetDocument200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDocument200Response;
38
+ export declare function GetDocument200ResponseToJSON(json: any): GetDocument200Response;
39
+ export declare function GetDocument200ResponseToJSONTyped(value?: GetDocument200Response | null, ignoreDiscriminator?: boolean): any;
@@ -11,11 +11,11 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { V3DocumentGet200ResponseDataInnerFromJSON, V3DocumentGet200ResponseDataInnerToJSON, } from './V3DocumentGet200ResponseDataInner';
14
+ import { GetDocument200ResponseDataInnerFromJSON, GetDocument200ResponseDataInnerToJSON, } from './GetDocument200ResponseDataInner';
15
15
  /**
16
- * Check if a given object implements the V3DocumentGet200Response interface.
16
+ * Check if a given object implements the GetDocument200Response interface.
17
17
  */
18
- export function instanceOfV3DocumentGet200Response(value) {
18
+ export function instanceOfGetDocument200Response(value) {
19
19
  if (!('data' in value) || value['data'] === undefined)
20
20
  return false;
21
21
  if ((!('tradeflowReference' in value) && !('tradeflow_reference' in value)) || (value['tradeflowReference'] === undefined && value['tradeflow_reference'] === undefined))
@@ -24,28 +24,28 @@ export function instanceOfV3DocumentGet200Response(value) {
24
24
  return false;
25
25
  return true;
26
26
  }
27
- export function V3DocumentGet200ResponseFromJSON(json) {
28
- return V3DocumentGet200ResponseFromJSONTyped(json, false);
27
+ export function GetDocument200ResponseFromJSON(json) {
28
+ return GetDocument200ResponseFromJSONTyped(json, false);
29
29
  }
30
- export function V3DocumentGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
30
+ export function GetDocument200ResponseFromJSONTyped(json, ignoreDiscriminator) {
31
31
  if (json == null) {
32
32
  return json;
33
33
  }
34
34
  return {
35
- 'data': (json['data'].map(V3DocumentGet200ResponseDataInnerFromJSON)),
35
+ 'data': (json['data'].map(GetDocument200ResponseDataInnerFromJSON)),
36
36
  'tradeflowReference': json['tradeflow_reference'],
37
37
  'count': json['count'],
38
38
  };
39
39
  }
40
- export function V3DocumentGet200ResponseToJSON(json) {
41
- return V3DocumentGet200ResponseToJSONTyped(json, false);
40
+ export function GetDocument200ResponseToJSON(json) {
41
+ return GetDocument200ResponseToJSONTyped(json, false);
42
42
  }
43
- export function V3DocumentGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
43
+ export function GetDocument200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
44
  if (value == null) {
45
45
  return value;
46
46
  }
47
47
  return {
48
- 'data': (value['data'].map(V3DocumentGet200ResponseDataInnerToJSON)),
48
+ 'data': (value['data'].map(GetDocument200ResponseDataInnerToJSON)),
49
49
  'tradeflow_reference': value['tradeflowReference'],
50
50
  'count': value['count'],
51
51
  };
@@ -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 type { GetDocument200ResponseDataInnerDocumentType } from './GetDocument200ResponseDataInnerDocumentType';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetDocument200ResponseDataInner
17
+ */
18
+ export interface GetDocument200ResponseDataInner {
19
+ /**
20
+ *
21
+ */
22
+ id: number;
23
+ /**
24
+ *
25
+ */
26
+ name: string;
27
+ /**
28
+ *
29
+ */
30
+ filetype: string;
31
+ /**
32
+ *
33
+ */
34
+ inputName: string | null;
35
+ /**
36
+ *
37
+ */
38
+ version: number;
39
+ /**
40
+ *
41
+ */
42
+ documentType: GetDocument200ResponseDataInnerDocumentType | null;
43
+ /**
44
+ *
45
+ */
46
+ metadata: object | null;
47
+ /**
48
+ *
49
+ */
50
+ createdAt: string | null;
51
+ /**
52
+ *
53
+ */
54
+ updatedAt: string | null;
55
+ }
56
+ /**
57
+ * Check if a given object implements the GetDocument200ResponseDataInner interface.
58
+ */
59
+ export declare function instanceOfGetDocument200ResponseDataInner(value: object): value is GetDocument200ResponseDataInner;
60
+ export declare function GetDocument200ResponseDataInnerFromJSON(json: any): GetDocument200ResponseDataInner;
61
+ export declare function GetDocument200ResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDocument200ResponseDataInner;
62
+ export declare function GetDocument200ResponseDataInnerToJSON(json: any): GetDocument200ResponseDataInner;
63
+ export declare function GetDocument200ResponseDataInnerToJSONTyped(value?: GetDocument200ResponseDataInner | null, ignoreDiscriminator?: boolean): any;
@@ -11,11 +11,11 @@
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import { V3DocumentGet200ResponseDataInnerDocumentTypeFromJSON, V3DocumentGet200ResponseDataInnerDocumentTypeToJSON, } from './V3DocumentGet200ResponseDataInnerDocumentType';
14
+ import { GetDocument200ResponseDataInnerDocumentTypeFromJSON, GetDocument200ResponseDataInnerDocumentTypeToJSON, } from './GetDocument200ResponseDataInnerDocumentType';
15
15
  /**
16
- * Check if a given object implements the V3DocumentGet200ResponseDataInner interface.
16
+ * Check if a given object implements the GetDocument200ResponseDataInner interface.
17
17
  */
18
- export function instanceOfV3DocumentGet200ResponseDataInner(value) {
18
+ export function instanceOfGetDocument200ResponseDataInner(value) {
19
19
  if (!('id' in value) || value['id'] === undefined)
20
20
  return false;
21
21
  if (!('name' in value) || value['name'] === undefined)
@@ -36,10 +36,10 @@ export function instanceOfV3DocumentGet200ResponseDataInner(value) {
36
36
  return false;
37
37
  return true;
38
38
  }
39
- export function V3DocumentGet200ResponseDataInnerFromJSON(json) {
40
- return V3DocumentGet200ResponseDataInnerFromJSONTyped(json, false);
39
+ export function GetDocument200ResponseDataInnerFromJSON(json) {
40
+ return GetDocument200ResponseDataInnerFromJSONTyped(json, false);
41
41
  }
42
- export function V3DocumentGet200ResponseDataInnerFromJSONTyped(json, ignoreDiscriminator) {
42
+ export function GetDocument200ResponseDataInnerFromJSONTyped(json, ignoreDiscriminator) {
43
43
  if (json == null) {
44
44
  return json;
45
45
  }
@@ -49,16 +49,16 @@ export function V3DocumentGet200ResponseDataInnerFromJSONTyped(json, ignoreDiscr
49
49
  'filetype': json['filetype'],
50
50
  'inputName': json['input_name'],
51
51
  'version': json['version'],
52
- 'documentType': V3DocumentGet200ResponseDataInnerDocumentTypeFromJSON(json['document_type']),
52
+ 'documentType': GetDocument200ResponseDataInnerDocumentTypeFromJSON(json['document_type']),
53
53
  'metadata': json['metadata'],
54
54
  'createdAt': json['created_at'],
55
55
  'updatedAt': json['updated_at'],
56
56
  };
57
57
  }
58
- export function V3DocumentGet200ResponseDataInnerToJSON(json) {
59
- return V3DocumentGet200ResponseDataInnerToJSONTyped(json, false);
58
+ export function GetDocument200ResponseDataInnerToJSON(json) {
59
+ return GetDocument200ResponseDataInnerToJSONTyped(json, false);
60
60
  }
61
- export function V3DocumentGet200ResponseDataInnerToJSONTyped(value, ignoreDiscriminator = false) {
61
+ export function GetDocument200ResponseDataInnerToJSONTyped(value, ignoreDiscriminator = false) {
62
62
  if (value == null) {
63
63
  return value;
64
64
  }
@@ -68,7 +68,7 @@ export function V3DocumentGet200ResponseDataInnerToJSONTyped(value, ignoreDiscri
68
68
  'filetype': value['filetype'],
69
69
  'input_name': value['inputName'],
70
70
  'version': value['version'],
71
- 'document_type': V3DocumentGet200ResponseDataInnerDocumentTypeToJSON(value['documentType']),
71
+ 'document_type': GetDocument200ResponseDataInnerDocumentTypeToJSON(value['documentType']),
72
72
  'metadata': value['metadata'],
73
73
  'created_at': value['createdAt'],
74
74
  'updated_at': value['updatedAt'],
@@ -0,0 +1,34 @@
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 GetDocument200ResponseDataInnerDocumentType
16
+ */
17
+ export interface GetDocument200ResponseDataInnerDocumentType {
18
+ /**
19
+ *
20
+ */
21
+ name: string;
22
+ /**
23
+ *
24
+ */
25
+ description: string;
26
+ }
27
+ /**
28
+ * Check if a given object implements the GetDocument200ResponseDataInnerDocumentType interface.
29
+ */
30
+ export declare function instanceOfGetDocument200ResponseDataInnerDocumentType(value: object): value is GetDocument200ResponseDataInnerDocumentType;
31
+ export declare function GetDocument200ResponseDataInnerDocumentTypeFromJSON(json: any): GetDocument200ResponseDataInnerDocumentType;
32
+ export declare function GetDocument200ResponseDataInnerDocumentTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetDocument200ResponseDataInnerDocumentType;
33
+ export declare function GetDocument200ResponseDataInnerDocumentTypeToJSON(json: any): GetDocument200ResponseDataInnerDocumentType;
34
+ export declare function GetDocument200ResponseDataInnerDocumentTypeToJSONTyped(value?: GetDocument200ResponseDataInnerDocumentType | null, ignoreDiscriminator?: boolean): any;
@@ -12,19 +12,19 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Check if a given object implements the V3DocumentGet200ResponseDataInnerDocumentType interface.
15
+ * Check if a given object implements the GetDocument200ResponseDataInnerDocumentType interface.
16
16
  */
17
- export function instanceOfV3DocumentGet200ResponseDataInnerDocumentType(value) {
17
+ export function instanceOfGetDocument200ResponseDataInnerDocumentType(value) {
18
18
  if (!('name' in value) || value['name'] === undefined)
19
19
  return false;
20
20
  if (!('description' in value) || value['description'] === undefined)
21
21
  return false;
22
22
  return true;
23
23
  }
24
- export function V3DocumentGet200ResponseDataInnerDocumentTypeFromJSON(json) {
25
- return V3DocumentGet200ResponseDataInnerDocumentTypeFromJSONTyped(json, false);
24
+ export function GetDocument200ResponseDataInnerDocumentTypeFromJSON(json) {
25
+ return GetDocument200ResponseDataInnerDocumentTypeFromJSONTyped(json, false);
26
26
  }
27
- export function V3DocumentGet200ResponseDataInnerDocumentTypeFromJSONTyped(json, ignoreDiscriminator) {
27
+ export function GetDocument200ResponseDataInnerDocumentTypeFromJSONTyped(json, ignoreDiscriminator) {
28
28
  if (json == null) {
29
29
  return json;
30
30
  }
@@ -33,10 +33,10 @@ export function V3DocumentGet200ResponseDataInnerDocumentTypeFromJSONTyped(json,
33
33
  'description': json['description'],
34
34
  };
35
35
  }
36
- export function V3DocumentGet200ResponseDataInnerDocumentTypeToJSON(json) {
37
- return V3DocumentGet200ResponseDataInnerDocumentTypeToJSONTyped(json, false);
36
+ export function GetDocument200ResponseDataInnerDocumentTypeToJSON(json) {
37
+ return GetDocument200ResponseDataInnerDocumentTypeToJSONTyped(json, false);
38
38
  }
39
- export function V3DocumentGet200ResponseDataInnerDocumentTypeToJSONTyped(value, ignoreDiscriminator = false) {
39
+ export function GetDocument200ResponseDataInnerDocumentTypeToJSONTyped(value, ignoreDiscriminator = false) {
40
40
  if (value == null) {
41
41
  return value;
42
42
  }
@@ -0,0 +1,35 @@
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 GetUpstream200Response
17
+ */
18
+ export interface GetUpstream200Response {
19
+ /**
20
+ *
21
+ */
22
+ data: Array<UpstreamRecord>;
23
+ /**
24
+ *
25
+ */
26
+ nextCursor: string | null;
27
+ }
28
+ /**
29
+ * Check if a given object implements the GetUpstream200Response interface.
30
+ */
31
+ export declare function instanceOfGetUpstream200Response(value: object): value is GetUpstream200Response;
32
+ export declare function GetUpstream200ResponseFromJSON(json: any): GetUpstream200Response;
33
+ export declare function GetUpstream200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUpstream200Response;
34
+ export declare function GetUpstream200ResponseToJSON(json: any): GetUpstream200Response;
35
+ export declare function GetUpstream200ResponseToJSONTyped(value?: GetUpstream200Response | null, ignoreDiscriminator?: boolean): any;
@@ -13,19 +13,19 @@
13
13
  */
14
14
  import { UpstreamRecordFromJSON, UpstreamRecordToJSON, } from './UpstreamRecord';
15
15
  /**
16
- * Check if a given object implements the V3UpstreamGet200Response interface.
16
+ * Check if a given object implements the GetUpstream200Response interface.
17
17
  */
18
- export function instanceOfV3UpstreamGet200Response(value) {
18
+ export function instanceOfGetUpstream200Response(value) {
19
19
  if (!('data' in value) || value['data'] === undefined)
20
20
  return false;
21
21
  if ((!('nextCursor' in value) && !('next_cursor' in value)) || (value['nextCursor'] === undefined && value['next_cursor'] === undefined))
22
22
  return false;
23
23
  return true;
24
24
  }
25
- export function V3UpstreamGet200ResponseFromJSON(json) {
26
- return V3UpstreamGet200ResponseFromJSONTyped(json, false);
25
+ export function GetUpstream200ResponseFromJSON(json) {
26
+ return GetUpstream200ResponseFromJSONTyped(json, false);
27
27
  }
28
- export function V3UpstreamGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
28
+ export function GetUpstream200ResponseFromJSONTyped(json, ignoreDiscriminator) {
29
29
  if (json == null) {
30
30
  return json;
31
31
  }
@@ -34,10 +34,10 @@ export function V3UpstreamGet200ResponseFromJSONTyped(json, ignoreDiscriminator)
34
34
  'nextCursor': json['next_cursor'],
35
35
  };
36
36
  }
37
- export function V3UpstreamGet200ResponseToJSON(json) {
38
- return V3UpstreamGet200ResponseToJSONTyped(json, false);
37
+ export function GetUpstream200ResponseToJSON(json) {
38
+ return GetUpstream200ResponseToJSONTyped(json, false);
39
39
  }
40
- export function V3UpstreamGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
40
+ export function GetUpstream200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
41
41
  if (value == null) {
42
42
  return value;
43
43
  }
@@ -0,0 +1,26 @@
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 GetUpstream400Response
16
+ */
17
+ export interface GetUpstream400Response {
18
+ }
19
+ /**
20
+ * Check if a given object implements the GetUpstream400Response interface.
21
+ */
22
+ export declare function instanceOfGetUpstream400Response(value: object): value is GetUpstream400Response;
23
+ export declare function GetUpstream400ResponseFromJSON(json: any): GetUpstream400Response;
24
+ export declare function GetUpstream400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetUpstream400Response;
25
+ export declare function GetUpstream400ResponseToJSON(json: any): GetUpstream400Response;
26
+ export declare function GetUpstream400ResponseToJSONTyped(value?: GetUpstream400Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,31 @@
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
+ * Check if a given object implements the GetUpstream400Response interface.
16
+ */
17
+ export function instanceOfGetUpstream400Response(value) {
18
+ return true;
19
+ }
20
+ export function GetUpstream400ResponseFromJSON(json) {
21
+ return GetUpstream400ResponseFromJSONTyped(json, false);
22
+ }
23
+ export function GetUpstream400ResponseFromJSONTyped(json, ignoreDiscriminator) {
24
+ return json;
25
+ }
26
+ export function GetUpstream400ResponseToJSON(json) {
27
+ return GetUpstream400ResponseToJSONTyped(json, false);
28
+ }
29
+ export function GetUpstream400ResponseToJSONTyped(value, ignoreDiscriminator = false) {
30
+ return value;
31
+ }
@@ -12,9 +12,9 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface V3DocumentPost202Response
15
+ * @interface UploadDocument202Response
16
16
  */
17
- export interface V3DocumentPost202Response {
17
+ export interface UploadDocument202Response {
18
18
  /**
19
19
  *
20
20
  */
@@ -45,10 +45,10 @@ export interface V3DocumentPost202Response {
45
45
  createdAt: string | null;
46
46
  }
47
47
  /**
48
- * Check if a given object implements the V3DocumentPost202Response interface.
48
+ * Check if a given object implements the UploadDocument202Response interface.
49
49
  */
50
- export declare function instanceOfV3DocumentPost202Response(value: object): value is V3DocumentPost202Response;
51
- export declare function V3DocumentPost202ResponseFromJSON(json: any): V3DocumentPost202Response;
52
- export declare function V3DocumentPost202ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DocumentPost202Response;
53
- export declare function V3DocumentPost202ResponseToJSON(json: any): V3DocumentPost202Response;
54
- export declare function V3DocumentPost202ResponseToJSONTyped(value?: V3DocumentPost202Response | null, ignoreDiscriminator?: boolean): any;
50
+ export declare function instanceOfUploadDocument202Response(value: object): value is UploadDocument202Response;
51
+ export declare function UploadDocument202ResponseFromJSON(json: any): UploadDocument202Response;
52
+ export declare function UploadDocument202ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadDocument202Response;
53
+ export declare function UploadDocument202ResponseToJSON(json: any): UploadDocument202Response;
54
+ export declare function UploadDocument202ResponseToJSONTyped(value?: UploadDocument202Response | null, ignoreDiscriminator?: boolean): any;