@dockflow/sdk 0.0.0-stage → 0.2.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 +89 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +157 -2
- package/dist/apis/V3DocumentApi.d.ts +111 -0
- package/dist/apis/V3DocumentApi.js +269 -0
- package/dist/apis/V3DownstreamApi.d.ts +63 -0
- package/dist/apis/V3DownstreamApi.js +138 -0
- package/dist/apis/V3UpstreamApi.d.ts +92 -0
- package/dist/apis/V3UpstreamApi.js +122 -0
- package/dist/apis/WidgetApi.d.ts +38 -0
- package/dist/apis/WidgetApi.js +83 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +22 -0
- package/dist/esm/apis/V3DocumentApi.d.ts +111 -0
- package/dist/esm/apis/V3DocumentApi.js +265 -0
- package/dist/esm/apis/V3DownstreamApi.d.ts +63 -0
- package/dist/esm/apis/V3DownstreamApi.js +134 -0
- package/dist/esm/apis/V3UpstreamApi.d.ts +92 -0
- package/dist/esm/apis/V3UpstreamApi.js +118 -0
- package/dist/esm/apis/WidgetApi.d.ts +38 -0
- package/dist/esm/apis/WidgetApi.js +79 -0
- package/dist/esm/apis/index.d.ts +4 -0
- package/dist/esm/apis/index.js +6 -0
- package/dist/esm/index.d.ts +3 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/ContainerReference.d.ts +34 -0
- package/dist/esm/models/ContainerReference.js +45 -0
- package/dist/esm/models/DocumentUpdate.d.ts +38 -0
- package/dist/esm/models/DocumentUpdate.js +45 -0
- package/dist/esm/models/DocumentUpload.d.ts +70 -0
- package/dist/esm/models/DocumentUpload.js +76 -0
- package/dist/esm/models/DownstreamTradeflow.d.ts +150 -0
- package/dist/esm/models/DownstreamTradeflow.js +108 -0
- package/dist/esm/models/DownstreamTradeflowBillOfLadingReference.d.ts +26 -0
- package/dist/esm/models/DownstreamTradeflowBillOfLadingReference.js +31 -0
- package/dist/esm/models/DownstreamTradeflowBookingReference.d.ts +26 -0
- package/dist/esm/models/DownstreamTradeflowBookingReference.js +31 -0
- package/dist/esm/models/DownstreamTradeflowEventsInner.d.ts +46 -0
- package/dist/esm/models/DownstreamTradeflowEventsInner.js +54 -0
- package/dist/esm/models/DownstreamTradeflowFreeTimeOverridesInner.d.ts +53 -0
- package/dist/esm/models/DownstreamTradeflowFreeTimeOverridesInner.js +59 -0
- package/dist/esm/models/DownstreamTradeflowMockTracking.d.ts +30 -0
- package/dist/esm/models/DownstreamTradeflowMockTracking.js +41 -0
- package/dist/esm/models/DownstreamTradeflowPartnersInner.d.ts +42 -0
- package/dist/esm/models/DownstreamTradeflowPartnersInner.js +49 -0
- package/dist/esm/models/DownstreamTradeflowReferences.d.ts +38 -0
- package/dist/esm/models/DownstreamTradeflowReferences.js +45 -0
- package/dist/esm/models/InlineObject.d.ts +36 -0
- package/dist/esm/models/InlineObject.js +47 -0
- package/dist/esm/models/ListDocumentTypes200ResponseInner.d.ts +34 -0
- package/dist/esm/models/ListDocumentTypes200ResponseInner.js +47 -0
- package/dist/esm/models/UpstreamRecord.d.ts +77 -0
- package/dist/esm/models/UpstreamRecord.js +80 -0
- package/dist/esm/models/UpstreamRecordAdditionalReferences.d.ts +34 -0
- package/dist/esm/models/UpstreamRecordAdditionalReferences.js +43 -0
- package/dist/esm/models/UpstreamRecordDataQuality.d.ts +46 -0
- package/dist/esm/models/UpstreamRecordDataQuality.js +49 -0
- package/dist/esm/models/UpstreamRecordMetadata.d.ts +42 -0
- package/dist/esm/models/UpstreamRecordMetadata.js +48 -0
- package/dist/esm/models/V3DocumentGet200Response.d.ts +39 -0
- package/dist/esm/models/V3DocumentGet200Response.js +52 -0
- package/dist/esm/models/V3DocumentGet200ResponseDataInner.d.ts +63 -0
- package/dist/esm/models/V3DocumentGet200ResponseDataInner.js +76 -0
- package/dist/esm/models/V3DocumentGet200ResponseDataInnerDocumentType.d.ts +34 -0
- package/dist/esm/models/V3DocumentGet200ResponseDataInnerDocumentType.js +47 -0
- package/dist/esm/models/V3DocumentPost202Response.d.ts +54 -0
- package/dist/esm/models/V3DocumentPost202Response.js +67 -0
- package/dist/esm/models/V3DocumentPost400Response.d.ts +26 -0
- package/dist/esm/models/V3DocumentPost400Response.js +31 -0
- package/dist/esm/models/V3DownstreamPost202Response.d.ts +42 -0
- package/dist/esm/models/V3DownstreamPost202Response.js +56 -0
- package/dist/esm/models/V3DownstreamPost202ResponseTradeflowsInner.d.ts +34 -0
- package/dist/esm/models/V3DownstreamPost202ResponseTradeflowsInner.js +47 -0
- package/dist/esm/models/V3UpstreamGet200Response.d.ts +35 -0
- package/dist/esm/models/V3UpstreamGet200Response.js +48 -0
- package/dist/esm/models/V3UpstreamGet400Response.d.ts +26 -0
- package/dist/esm/models/V3UpstreamGet400Response.js +31 -0
- package/dist/esm/models/WidgetContainer.d.ts +47 -0
- package/dist/esm/models/WidgetContainer.js +60 -0
- package/dist/esm/models/WidgetCountry.d.ts +34 -0
- package/dist/esm/models/WidgetCountry.js +47 -0
- package/dist/esm/models/WidgetLeg.d.ts +43 -0
- package/dist/esm/models/WidgetLeg.js +56 -0
- package/dist/esm/models/WidgetLocation.d.ts +48 -0
- package/dist/esm/models/WidgetLocation.js +61 -0
- package/dist/esm/models/WidgetMilestone.d.ts +43 -0
- package/dist/esm/models/WidgetMilestone.js +56 -0
- package/dist/esm/models/WidgetPoint.d.ts +34 -0
- package/dist/esm/models/WidgetPoint.js +47 -0
- package/dist/esm/models/WidgetSearchResult.d.ts +65 -0
- package/dist/esm/models/WidgetSearchResult.js +78 -0
- package/dist/esm/models/WidgetTrack.d.ts +35 -0
- package/dist/esm/models/WidgetTrack.js +48 -0
- package/dist/esm/models/WidgetTrackReading.d.ts +38 -0
- package/dist/esm/models/WidgetTrackReading.js +51 -0
- package/dist/esm/models/index.d.ts +35 -0
- package/dist/esm/models/index.js +37 -0
- package/dist/esm/runtime.d.ts +217 -0
- package/dist/esm/runtime.js +460 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/ContainerReference.d.ts +34 -0
- package/dist/models/ContainerReference.js +52 -0
- package/dist/models/DocumentUpdate.d.ts +38 -0
- package/dist/models/DocumentUpdate.js +52 -0
- package/dist/models/DocumentUpload.d.ts +70 -0
- package/dist/models/DocumentUpload.js +84 -0
- package/dist/models/DownstreamTradeflow.d.ts +150 -0
- package/dist/models/DownstreamTradeflow.js +115 -0
- package/dist/models/DownstreamTradeflowBillOfLadingReference.d.ts +26 -0
- package/dist/models/DownstreamTradeflowBillOfLadingReference.js +38 -0
- package/dist/models/DownstreamTradeflowBookingReference.d.ts +26 -0
- package/dist/models/DownstreamTradeflowBookingReference.js +38 -0
- package/dist/models/DownstreamTradeflowEventsInner.d.ts +46 -0
- package/dist/models/DownstreamTradeflowEventsInner.js +61 -0
- package/dist/models/DownstreamTradeflowFreeTimeOverridesInner.d.ts +53 -0
- package/dist/models/DownstreamTradeflowFreeTimeOverridesInner.js +67 -0
- package/dist/models/DownstreamTradeflowMockTracking.d.ts +30 -0
- package/dist/models/DownstreamTradeflowMockTracking.js +48 -0
- package/dist/models/DownstreamTradeflowPartnersInner.d.ts +42 -0
- package/dist/models/DownstreamTradeflowPartnersInner.js +56 -0
- package/dist/models/DownstreamTradeflowReferences.d.ts +38 -0
- package/dist/models/DownstreamTradeflowReferences.js +52 -0
- package/dist/models/InlineObject.d.ts +36 -0
- package/dist/models/InlineObject.js +54 -0
- package/dist/models/ListDocumentTypes200ResponseInner.d.ts +34 -0
- package/dist/models/ListDocumentTypes200ResponseInner.js +54 -0
- package/dist/models/UpstreamRecord.d.ts +77 -0
- package/dist/models/UpstreamRecord.js +87 -0
- package/dist/models/UpstreamRecordAdditionalReferences.d.ts +34 -0
- package/dist/models/UpstreamRecordAdditionalReferences.js +50 -0
- package/dist/models/UpstreamRecordDataQuality.d.ts +46 -0
- package/dist/models/UpstreamRecordDataQuality.js +56 -0
- package/dist/models/UpstreamRecordMetadata.d.ts +42 -0
- package/dist/models/UpstreamRecordMetadata.js +55 -0
- package/dist/models/V3DocumentGet200Response.d.ts +39 -0
- package/dist/models/V3DocumentGet200Response.js +59 -0
- package/dist/models/V3DocumentGet200ResponseDataInner.d.ts +63 -0
- package/dist/models/V3DocumentGet200ResponseDataInner.js +83 -0
- package/dist/models/V3DocumentGet200ResponseDataInnerDocumentType.d.ts +34 -0
- package/dist/models/V3DocumentGet200ResponseDataInnerDocumentType.js +54 -0
- package/dist/models/V3DocumentPost202Response.d.ts +54 -0
- package/dist/models/V3DocumentPost202Response.js +74 -0
- package/dist/models/V3DocumentPost400Response.d.ts +26 -0
- package/dist/models/V3DocumentPost400Response.js +38 -0
- package/dist/models/V3DownstreamPost202Response.d.ts +42 -0
- package/dist/models/V3DownstreamPost202Response.js +64 -0
- package/dist/models/V3DownstreamPost202ResponseTradeflowsInner.d.ts +34 -0
- package/dist/models/V3DownstreamPost202ResponseTradeflowsInner.js +54 -0
- package/dist/models/V3UpstreamGet200Response.d.ts +35 -0
- package/dist/models/V3UpstreamGet200Response.js +55 -0
- package/dist/models/V3UpstreamGet400Response.d.ts +26 -0
- package/dist/models/V3UpstreamGet400Response.js +38 -0
- package/dist/models/WidgetContainer.d.ts +47 -0
- package/dist/models/WidgetContainer.js +67 -0
- package/dist/models/WidgetCountry.d.ts +34 -0
- package/dist/models/WidgetCountry.js +54 -0
- package/dist/models/WidgetLeg.d.ts +43 -0
- package/dist/models/WidgetLeg.js +63 -0
- package/dist/models/WidgetLocation.d.ts +48 -0
- package/dist/models/WidgetLocation.js +68 -0
- package/dist/models/WidgetMilestone.d.ts +43 -0
- package/dist/models/WidgetMilestone.js +63 -0
- package/dist/models/WidgetPoint.d.ts +34 -0
- package/dist/models/WidgetPoint.js +54 -0
- package/dist/models/WidgetSearchResult.d.ts +65 -0
- package/dist/models/WidgetSearchResult.js +85 -0
- package/dist/models/WidgetTrack.d.ts +35 -0
- package/dist/models/WidgetTrack.js +55 -0
- package/dist/models/WidgetTrackReading.d.ts +38 -0
- package/dist/models/WidgetTrackReading.js +58 -0
- package/dist/models/index.d.ts +35 -0
- package/dist/models/index.js +53 -0
- package/dist/runtime.d.ts +217 -0
- package/dist/runtime.js +482 -0
- package/docs/ContainerReference.md +36 -0
- package/docs/DocumentUpdate.md +39 -0
- package/docs/DocumentUpload.md +44 -0
- package/docs/DownstreamTradeflow.md +91 -0
- package/docs/DownstreamTradeflowBillOfLadingReference.md +33 -0
- package/docs/DownstreamTradeflowBookingReference.md +33 -0
- package/docs/DownstreamTradeflowEventsInner.md +42 -0
- package/docs/DownstreamTradeflowFreeTimeOverridesInner.md +40 -0
- package/docs/DownstreamTradeflowMockTracking.md +35 -0
- package/docs/DownstreamTradeflowPartnersInner.md +40 -0
- package/docs/DownstreamTradeflowReferences.md +38 -0
- package/docs/InlineObject.md +36 -0
- package/docs/ListDocumentTypes200ResponseInner.md +36 -0
- package/docs/UpstreamRecord.md +57 -0
- package/docs/UpstreamRecordAdditionalReferences.md +36 -0
- package/docs/UpstreamRecordDataQuality.md +42 -0
- package/docs/UpstreamRecordMetadata.md +40 -0
- package/docs/V3DocumentApi.md +361 -0
- package/docs/V3DocumentGet200Response.md +38 -0
- package/docs/V3DocumentGet200ResponseDataInner.md +50 -0
- package/docs/V3DocumentGet200ResponseDataInnerDocumentType.md +36 -0
- package/docs/V3DocumentPost202Response.md +46 -0
- package/docs/V3DocumentPost400Response.md +32 -0
- package/docs/V3DownstreamApi.md +158 -0
- package/docs/V3DownstreamPost202Response.md +36 -0
- package/docs/V3DownstreamPost202ResponseTradeflowsInner.md +36 -0
- package/docs/V3UpstreamApi.md +109 -0
- package/docs/V3UpstreamGet200Response.md +36 -0
- package/docs/V3UpstreamGet400Response.md +32 -0
- package/docs/WidgetApi.md +81 -0
- package/docs/WidgetContainer.md +42 -0
- package/docs/WidgetCountry.md +36 -0
- package/docs/WidgetLeg.md +40 -0
- package/docs/WidgetLocation.md +42 -0
- package/docs/WidgetMilestone.md +40 -0
- package/docs/WidgetPoint.md +36 -0
- package/docs/WidgetSearchResult.md +50 -0
- package/docs/WidgetTrack.md +36 -0
- package/docs/WidgetTrackReading.md +38 -0
- package/package.json +20 -4
- package/src/apis/V3DocumentApi.ts +357 -0
- package/src/apis/V3DownstreamApi.ts +174 -0
- package/src/apis/V3UpstreamApi.ts +185 -0
- package/src/apis/WidgetApi.ts +97 -0
- package/src/apis/index.ts +6 -0
- package/src/index.ts +5 -0
- package/src/models/ContainerReference.ts +70 -0
- package/src/models/DocumentUpdate.ts +75 -0
- package/src/models/DocumentUpload.ts +119 -0
- package/src/models/DownstreamTradeflow.ts +289 -0
- package/src/models/DownstreamTradeflowBillOfLadingReference.ts +46 -0
- package/src/models/DownstreamTradeflowBookingReference.ts +46 -0
- package/src/models/DownstreamTradeflowEventsInner.ts +89 -0
- package/src/models/DownstreamTradeflowFreeTimeOverridesInner.ts +96 -0
- package/src/models/DownstreamTradeflowMockTracking.ts +63 -0
- package/src/models/DownstreamTradeflowPartnersInner.ts +82 -0
- package/src/models/DownstreamTradeflowReferences.ts +75 -0
- package/src/models/InlineObject.ts +71 -0
- package/src/models/ListDocumentTypes200ResponseInner.ts +71 -0
- package/src/models/UpstreamRecord.ts +158 -0
- package/src/models/UpstreamRecordAdditionalReferences.ts +69 -0
- package/src/models/UpstreamRecordDataQuality.ts +87 -0
- package/src/models/UpstreamRecordMetadata.ts +81 -0
- package/src/models/V3DocumentGet200Response.ts +86 -0
- package/src/models/V3DocumentGet200ResponseDataInner.ts +128 -0
- package/src/models/V3DocumentGet200ResponseDataInnerDocumentType.ts +71 -0
- package/src/models/V3DocumentPost202Response.ts +106 -0
- package/src/models/V3DocumentPost400Response.ts +46 -0
- package/src/models/V3DownstreamPost202Response.ts +91 -0
- package/src/models/V3DownstreamPost202ResponseTradeflowsInner.ts +71 -0
- package/src/models/V3UpstreamGet200Response.ts +79 -0
- package/src/models/V3UpstreamGet400Response.ts +46 -0
- package/src/models/WidgetContainer.ts +100 -0
- package/src/models/WidgetCountry.ts +71 -0
- package/src/models/WidgetLeg.ts +93 -0
- package/src/models/WidgetLocation.ts +107 -0
- package/src/models/WidgetMilestone.ts +93 -0
- package/src/models/WidgetPoint.ts +71 -0
- package/src/models/WidgetSearchResult.ts +142 -0
- package/src/models/WidgetTrack.ts +79 -0
- package/src/models/WidgetTrackReading.ts +78 -0
- package/src/models/index.ts +37 -0
- package/src/runtime.ts +572 -0
- package/tsconfig.esm.json +7 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,87 @@
|
|
|
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 UpstreamRecordDataQuality
|
|
20
|
+
*/
|
|
21
|
+
export interface UpstreamRecordDataQuality {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
freshnessMin?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
anomalies?: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
missedMilestones?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
hasLiveData?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
isSingularShipment?: boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the UpstreamRecordDataQuality interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfUpstreamRecordDataQuality(value: object): value is UpstreamRecordDataQuality {
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function UpstreamRecordDataQualityFromJSON(json: any): UpstreamRecordDataQuality {
|
|
52
|
+
return UpstreamRecordDataQualityFromJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function UpstreamRecordDataQualityFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpstreamRecordDataQuality {
|
|
56
|
+
if (json == null) {
|
|
57
|
+
return json;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
|
|
61
|
+
'freshnessMin': json['freshness_min'] == null ? undefined : json['freshness_min'],
|
|
62
|
+
'anomalies': json['anomalies'] == null ? undefined : json['anomalies'],
|
|
63
|
+
'missedMilestones': json['missed_milestones'] == null ? undefined : json['missed_milestones'],
|
|
64
|
+
'hasLiveData': json['has_live_data'] == null ? undefined : json['has_live_data'],
|
|
65
|
+
'isSingularShipment': json['is_singular_shipment'] == null ? undefined : json['is_singular_shipment'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function UpstreamRecordDataQualityToJSON(json: any): UpstreamRecordDataQuality {
|
|
70
|
+
return UpstreamRecordDataQualityToJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function UpstreamRecordDataQualityToJSONTyped(value?: UpstreamRecordDataQuality | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
+
if (value == null) {
|
|
75
|
+
return value;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
return {
|
|
79
|
+
|
|
80
|
+
'freshness_min': value['freshnessMin'],
|
|
81
|
+
'anomalies': value['anomalies'],
|
|
82
|
+
'missed_milestones': value['missedMilestones'],
|
|
83
|
+
'has_live_data': value['hasLiveData'],
|
|
84
|
+
'is_singular_shipment': value['isSingularShipment'],
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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, parseDate, parseDateTime, serializeDate, serializeDateTime } from '../runtime';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface UpstreamRecordMetadata
|
|
20
|
+
*/
|
|
21
|
+
export interface UpstreamRecordMetadata {
|
|
22
|
+
/**
|
|
23
|
+
* Keep since unchanged while following next_cursor; after the last page, use the highest value as the next since.
|
|
24
|
+
*/
|
|
25
|
+
lastUpdated?: Date;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
carrierName?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
carrierScac?: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
isActive?: boolean;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the UpstreamRecordMetadata interface.
|
|
42
|
+
*/
|
|
43
|
+
export function instanceOfUpstreamRecordMetadata(value: object): value is UpstreamRecordMetadata {
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function UpstreamRecordMetadataFromJSON(json: any): UpstreamRecordMetadata {
|
|
48
|
+
return UpstreamRecordMetadataFromJSONTyped(json, false);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function UpstreamRecordMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpstreamRecordMetadata {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
|
|
57
|
+
'lastUpdated': json['last_updated'] == null ? undefined : (parseDateTime(json['last_updated'])),
|
|
58
|
+
'carrierName': json['carrier_name'] === undefined ? undefined : json['carrier_name'] === null ? null : json['carrier_name'],
|
|
59
|
+
'carrierScac': json['carrier_scac'] === undefined ? undefined : json['carrier_scac'] === null ? null : json['carrier_scac'],
|
|
60
|
+
'isActive': json['is_active'] == null ? undefined : json['is_active'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function UpstreamRecordMetadataToJSON(json: any): UpstreamRecordMetadata {
|
|
65
|
+
return UpstreamRecordMetadataToJSONTyped(json, false);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
export function UpstreamRecordMetadataToJSONTyped(value?: UpstreamRecordMetadata | null, ignoreDiscriminator: boolean = false): any {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
|
|
75
|
+
'last_updated': value['lastUpdated'] == null ? value['lastUpdated'] : serializeDateTime(value['lastUpdated']),
|
|
76
|
+
'carrier_name': value['carrierName'],
|
|
77
|
+
'carrier_scac': value['carrierScac'],
|
|
78
|
+
'is_active': value['isActive'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -0,0 +1,86 @@
|
|
|
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 { V3DocumentGet200ResponseDataInner } from './V3DocumentGet200ResponseDataInner';
|
|
17
|
+
import {
|
|
18
|
+
V3DocumentGet200ResponseDataInnerFromJSON,
|
|
19
|
+
V3DocumentGet200ResponseDataInnerFromJSONTyped,
|
|
20
|
+
V3DocumentGet200ResponseDataInnerToJSON,
|
|
21
|
+
V3DocumentGet200ResponseDataInnerToJSONTyped,
|
|
22
|
+
} from './V3DocumentGet200ResponseDataInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface V3DocumentGet200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface V3DocumentGet200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
data: Array<V3DocumentGet200ResponseDataInner>;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
tradeflowReference: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
count: number;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the V3DocumentGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export function instanceOfV3DocumentGet200Response(value: object): value is V3DocumentGet200Response {
|
|
48
|
+
if (!('data' in value) || value['data'] === undefined) return false;
|
|
49
|
+
if ((!('tradeflowReference' in (value as Record<string, any>)) && !('tradeflow_reference' in (value as Record<string, any>))) || ((value as Record<string, any>)['tradeflowReference'] === undefined && (value as Record<string, any>)['tradeflow_reference'] === undefined)) return false;
|
|
50
|
+
if (!('count' in value) || value['count'] === undefined) return false;
|
|
51
|
+
return true;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export function V3DocumentGet200ResponseFromJSON(json: any): V3DocumentGet200Response {
|
|
55
|
+
return V3DocumentGet200ResponseFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function V3DocumentGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DocumentGet200Response {
|
|
59
|
+
if (json == null) {
|
|
60
|
+
return json;
|
|
61
|
+
}
|
|
62
|
+
return {
|
|
63
|
+
|
|
64
|
+
'data': ((json['data'] as Array<any>).map(V3DocumentGet200ResponseDataInnerFromJSON)),
|
|
65
|
+
'tradeflowReference': json['tradeflow_reference'],
|
|
66
|
+
'count': json['count'],
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function V3DocumentGet200ResponseToJSON(json: any): V3DocumentGet200Response {
|
|
71
|
+
return V3DocumentGet200ResponseToJSONTyped(json, false);
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
export function V3DocumentGet200ResponseToJSONTyped(value?: V3DocumentGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
return {
|
|
80
|
+
|
|
81
|
+
'data': ((value['data'] as Array<any>).map(V3DocumentGet200ResponseDataInnerToJSON)),
|
|
82
|
+
'tradeflow_reference': value['tradeflowReference'],
|
|
83
|
+
'count': value['count'],
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
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 { V3DocumentGet200ResponseDataInnerDocumentType } from './V3DocumentGet200ResponseDataInnerDocumentType';
|
|
17
|
+
import {
|
|
18
|
+
V3DocumentGet200ResponseDataInnerDocumentTypeFromJSON,
|
|
19
|
+
V3DocumentGet200ResponseDataInnerDocumentTypeFromJSONTyped,
|
|
20
|
+
V3DocumentGet200ResponseDataInnerDocumentTypeToJSON,
|
|
21
|
+
V3DocumentGet200ResponseDataInnerDocumentTypeToJSONTyped,
|
|
22
|
+
} from './V3DocumentGet200ResponseDataInnerDocumentType';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface V3DocumentGet200ResponseDataInner
|
|
28
|
+
*/
|
|
29
|
+
export interface V3DocumentGet200ResponseDataInner {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
id: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
name: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
filetype: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
inputName: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
version: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
documentType: V3DocumentGet200ResponseDataInnerDocumentType | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
metadata: object | null;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
createdAt: string | null;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
*/
|
|
65
|
+
updatedAt: string | null;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* Check if a given object implements the V3DocumentGet200ResponseDataInner interface.
|
|
70
|
+
*/
|
|
71
|
+
export function instanceOfV3DocumentGet200ResponseDataInner(value: object): value is V3DocumentGet200ResponseDataInner {
|
|
72
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
73
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
74
|
+
if (!('filetype' in value) || value['filetype'] === undefined) return false;
|
|
75
|
+
if ((!('inputName' in (value as Record<string, any>)) && !('input_name' in (value as Record<string, any>))) || ((value as Record<string, any>)['inputName'] === undefined && (value as Record<string, any>)['input_name'] === undefined)) return false;
|
|
76
|
+
if (!('version' in value) || value['version'] === undefined) return false;
|
|
77
|
+
if ((!('documentType' in (value as Record<string, any>)) && !('document_type' in (value as Record<string, any>))) || ((value as Record<string, any>)['documentType'] === undefined && (value as Record<string, any>)['document_type'] === undefined)) return false;
|
|
78
|
+
if (!('metadata' in value) || value['metadata'] === undefined) return false;
|
|
79
|
+
if ((!('createdAt' in (value as Record<string, any>)) && !('created_at' in (value as Record<string, any>))) || ((value as Record<string, any>)['createdAt'] === undefined && (value as Record<string, any>)['created_at'] === undefined)) return false;
|
|
80
|
+
if ((!('updatedAt' in (value as Record<string, any>)) && !('updated_at' in (value as Record<string, any>))) || ((value as Record<string, any>)['updatedAt'] === undefined && (value as Record<string, any>)['updated_at'] === undefined)) return false;
|
|
81
|
+
return true;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function V3DocumentGet200ResponseDataInnerFromJSON(json: any): V3DocumentGet200ResponseDataInner {
|
|
85
|
+
return V3DocumentGet200ResponseDataInnerFromJSONTyped(json, false);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export function V3DocumentGet200ResponseDataInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DocumentGet200ResponseDataInner {
|
|
89
|
+
if (json == null) {
|
|
90
|
+
return json;
|
|
91
|
+
}
|
|
92
|
+
return {
|
|
93
|
+
|
|
94
|
+
'id': json['id'],
|
|
95
|
+
'name': json['name'],
|
|
96
|
+
'filetype': json['filetype'],
|
|
97
|
+
'inputName': json['input_name'],
|
|
98
|
+
'version': json['version'],
|
|
99
|
+
'documentType': V3DocumentGet200ResponseDataInnerDocumentTypeFromJSON(json['document_type']),
|
|
100
|
+
'metadata': json['metadata'],
|
|
101
|
+
'createdAt': json['created_at'],
|
|
102
|
+
'updatedAt': json['updated_at'],
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
export function V3DocumentGet200ResponseDataInnerToJSON(json: any): V3DocumentGet200ResponseDataInner {
|
|
107
|
+
return V3DocumentGet200ResponseDataInnerToJSONTyped(json, false);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export function V3DocumentGet200ResponseDataInnerToJSONTyped(value?: V3DocumentGet200ResponseDataInner | null, ignoreDiscriminator: boolean = false): any {
|
|
111
|
+
if (value == null) {
|
|
112
|
+
return value;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
return {
|
|
116
|
+
|
|
117
|
+
'id': value['id'],
|
|
118
|
+
'name': value['name'],
|
|
119
|
+
'filetype': value['filetype'],
|
|
120
|
+
'input_name': value['inputName'],
|
|
121
|
+
'version': value['version'],
|
|
122
|
+
'document_type': V3DocumentGet200ResponseDataInnerDocumentTypeToJSON(value['documentType']),
|
|
123
|
+
'metadata': value['metadata'],
|
|
124
|
+
'created_at': value['createdAt'],
|
|
125
|
+
'updated_at': value['updatedAt'],
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
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 V3DocumentPost202Response
|
|
20
|
+
*/
|
|
21
|
+
export interface V3DocumentPost202Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
id: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
tradeflowReference: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
documentType: string | null;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
filename: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
*/
|
|
41
|
+
filetype: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
*/
|
|
45
|
+
containerReference: string | null;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
*/
|
|
49
|
+
createdAt: string | null;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the V3DocumentPost202Response interface.
|
|
54
|
+
*/
|
|
55
|
+
export function instanceOfV3DocumentPost202Response(value: object): value is V3DocumentPost202Response {
|
|
56
|
+
if (!('id' in value) || value['id'] === undefined) return false;
|
|
57
|
+
if ((!('tradeflowReference' in (value as Record<string, any>)) && !('tradeflow_reference' in (value as Record<string, any>))) || ((value as Record<string, any>)['tradeflowReference'] === undefined && (value as Record<string, any>)['tradeflow_reference'] === undefined)) return false;
|
|
58
|
+
if ((!('documentType' in (value as Record<string, any>)) && !('document_type' in (value as Record<string, any>))) || ((value as Record<string, any>)['documentType'] === undefined && (value as Record<string, any>)['document_type'] === undefined)) return false;
|
|
59
|
+
if (!('filename' in value) || value['filename'] === undefined) return false;
|
|
60
|
+
if (!('filetype' in value) || value['filetype'] === undefined) return false;
|
|
61
|
+
if ((!('containerReference' in (value as Record<string, any>)) && !('container_reference' in (value as Record<string, any>))) || ((value as Record<string, any>)['containerReference'] === undefined && (value as Record<string, any>)['container_reference'] === undefined)) return false;
|
|
62
|
+
if ((!('createdAt' in (value as Record<string, any>)) && !('created_at' in (value as Record<string, any>))) || ((value as Record<string, any>)['createdAt'] === undefined && (value as Record<string, any>)['created_at'] === undefined)) return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
export function V3DocumentPost202ResponseFromJSON(json: any): V3DocumentPost202Response {
|
|
67
|
+
return V3DocumentPost202ResponseFromJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export function V3DocumentPost202ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): V3DocumentPost202Response {
|
|
71
|
+
if (json == null) {
|
|
72
|
+
return json;
|
|
73
|
+
}
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'id': json['id'],
|
|
77
|
+
'tradeflowReference': json['tradeflow_reference'],
|
|
78
|
+
'documentType': json['document_type'],
|
|
79
|
+
'filename': json['filename'],
|
|
80
|
+
'filetype': json['filetype'],
|
|
81
|
+
'containerReference': json['container_reference'],
|
|
82
|
+
'createdAt': json['created_at'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function V3DocumentPost202ResponseToJSON(json: any): V3DocumentPost202Response {
|
|
87
|
+
return V3DocumentPost202ResponseToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function V3DocumentPost202ResponseToJSONTyped(value?: V3DocumentPost202Response | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'id': value['id'],
|
|
98
|
+
'tradeflow_reference': value['tradeflowReference'],
|
|
99
|
+
'document_type': value['documentType'],
|
|
100
|
+
'filename': value['filename'],
|
|
101
|
+
'filetype': value['filetype'],
|
|
102
|
+
'container_reference': value['containerReference'],
|
|
103
|
+
'created_at': value['createdAt'],
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
|