@integrahub/vergefy-client 0.22.0 → 0.23.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/README.md +2 -2
- package/dist/apis/APIAISIntegrationShippingApi.d.ts +8 -8
- package/dist/apis/APIAISIntegrationShippingApi.js +10 -10
- package/dist/apis/APIAIVInventoryApi.d.ts +8 -8
- package/dist/apis/APIAIVInventoryApi.js +10 -10
- package/dist/apis/APPPAFAAffiliateAccountApi.d.ts +0 -22
- package/dist/apis/APPPAFAAffiliateAccountApi.js +0 -66
- package/dist/apis/APPPPMRPMSStockRFIDApi.d.ts +16 -16
- package/dist/apis/APPPPMRPMSStockRFIDApi.js +9 -9
- package/dist/esm/apis/APIAISIntegrationShippingApi.js +10 -10
- package/dist/esm/apis/APIAIVInventoryApi.js +10 -10
- package/dist/esm/apis/APPPAFAAffiliateAccountApi.js +0 -66
- package/dist/esm/apis/APPPPMRPMSStockRFIDApi.js +9 -9
- package/dist/esm/ext/telemetry.js +1 -1
- package/dist/esm/models/AddressValidationResultDTO.js +3 -3
- package/dist/esm/models/AffiliateAccountDTO.js +0 -2
- package/dist/esm/models/AgentTemplateWorkflowDTO.js +3 -3
- package/dist/esm/models/AgentWorkflowDTO.js +6 -6
- package/dist/esm/models/AgentWorkflowInstanceDTO.js +68 -0
- package/dist/esm/models/AgentWorkflowTemplateDTO.js +74 -0
- package/dist/esm/models/DataResponseDTOInventoryArticleChannelStockDTO.js +42 -0
- package/dist/esm/models/DocumentDTO.js +3 -0
- package/dist/esm/models/EmailIntegrationAttachmentDTO.js +51 -0
- package/dist/esm/models/EmailMessageDTO.js +3 -3
- package/dist/esm/models/EmailSendRequestDTO.js +3 -3
- package/dist/esm/models/{DataResponseDTOArticleChannelStockDTO.js → HrResumeLanguageDTO.js} +12 -11
- package/dist/esm/models/HrResumeParseDTO.js +3 -3
- package/dist/esm/models/InventoryArticleChannelStockDTO.js +94 -0
- package/dist/esm/models/LanguageDTO.js +53 -4
- package/dist/esm/models/{BulkOperationResultPmsRFIDTagDTO.js → PmsRFIDTagBulkOperationResultPmsRFIDTagDTO.js} +8 -8
- package/dist/esm/models/PmsRFIDTagBulkOperationResultUUID.js +51 -0
- package/dist/esm/models/RateRequestDTO.js +5 -5
- package/dist/esm/models/ReturnLabelRequestDTO.js +5 -5
- package/dist/esm/models/ShipmentDTO.js +63 -24
- package/dist/esm/models/ShipmentRequestDTO.js +7 -7
- package/dist/esm/models/ShipmentResultDTO.js +3 -3
- package/dist/esm/models/ShippingIntegrationAddressDTO.js +61 -0
- package/dist/esm/models/ShippingIntegrationShipmentDTO.js +70 -0
- package/dist/esm/models/SubscriptionEntitlementDTO.js +3 -0
- package/dist/esm/models/index.js +10 -2
- package/dist/ext/telemetry.d.ts +1 -1
- package/dist/ext/telemetry.js +1 -1
- package/dist/models/AIDecisionAuditLogCreateDTO.d.ts +1 -1
- package/dist/models/AIFileProcessingJobCreateApiDTO.d.ts +1 -1
- package/dist/models/AIFileProcessingResultWriteApiDTO.d.ts +1 -1
- package/dist/models/AddressValidationResultDTO.d.ts +3 -3
- package/dist/models/AddressValidationResultDTO.js +3 -3
- package/dist/models/AffiliateAccountDTO.d.ts +0 -6
- package/dist/models/AffiliateAccountDTO.js +0 -2
- package/dist/models/AgentFeedbackRequestDTO.d.ts +1 -1
- package/dist/models/AgentGoalCreateDTO.d.ts +1 -1
- package/dist/models/AgentGoalUpdateDTO.d.ts +1 -1
- package/dist/models/AgentHierarchyCreateDTO.d.ts +1 -1
- package/dist/models/AgentHierarchyUpdateDTO.d.ts +1 -1
- package/dist/models/AgentTemplateWorkflowDTO.d.ts +3 -3
- package/dist/models/AgentTemplateWorkflowDTO.js +3 -3
- package/dist/models/AgentWorkflowDTO.d.ts +6 -6
- package/dist/models/AgentWorkflowDTO.js +6 -6
- package/dist/models/AgentWorkflowEventCreateDTO.d.ts +1 -1
- package/dist/models/AgentWorkflowInstanceDTO.d.ts +111 -0
- package/dist/models/AgentWorkflowInstanceDTO.js +75 -0
- package/dist/models/AgentWorkflowSearchDTO.d.ts +1 -1
- package/dist/models/AgentWorkflowTemplateDTO.d.ts +129 -0
- package/dist/models/AgentWorkflowTemplateDTO.js +81 -0
- package/dist/models/BookingAvailabilityWindowDTO.d.ts +1 -1
- package/dist/models/BookingCreateDTO.d.ts +1 -1
- package/dist/models/BookingHostCreateDTO.d.ts +1 -1
- package/dist/models/BookingHostUpdateDTO.d.ts +1 -1
- package/dist/models/BookingReminderCreateDTO.d.ts +1 -1
- package/dist/models/BookingUpdateDTO.d.ts +1 -1
- package/dist/models/CheckoutSessionRequestDTO.d.ts +1 -1
- package/dist/models/ClosedLoopProposalDecisionRequestDTO.d.ts +1 -1
- package/dist/models/DataResponseDTOInventoryArticleChannelStockDTO.d.ts +33 -0
- package/dist/models/DataResponseDTOInventoryArticleChannelStockDTO.js +49 -0
- package/dist/models/DocumentDTO.d.ts +7 -0
- package/dist/models/DocumentDTO.js +3 -0
- package/dist/models/EmailIntegrationAttachmentDTO.d.ts +62 -0
- package/dist/models/EmailIntegrationAttachmentDTO.js +58 -0
- package/dist/models/EmailListRequestDTO.d.ts +1 -1
- package/dist/models/EmailMessageDTO.d.ts +3 -3
- package/dist/models/EmailMessageDTO.js +3 -3
- package/dist/models/EmailSendRequestDTO.d.ts +4 -4
- package/dist/models/EmailSendRequestDTO.js +3 -3
- package/dist/models/FileOCRTextDTO.d.ts +1 -1
- package/dist/models/FleetAlertRuleCreateDTO.d.ts +1 -1
- package/dist/models/FleetAlertRuleUpdateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceCommandCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceGroupCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceGroupUpdateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceTemplateCreateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceTemplateUpdateDTO.d.ts +1 -1
- package/dist/models/FleetDeviceUpdateDTO.d.ts +1 -1
- package/dist/models/FleetGeofenceCreateDTO.d.ts +1 -1
- package/dist/models/FleetGeofenceUpdateDTO.d.ts +1 -1
- package/dist/models/FleetMaintenanceRecordCreateDTO.d.ts +1 -1
- package/dist/models/FleetMaintenanceRecordUpdateDTO.d.ts +1 -1
- package/dist/models/FleetTelemetryCreateDTO.d.ts +1 -1
- package/dist/models/FormConfigurationDTO.d.ts +1 -1
- package/dist/models/FormCustomFieldGroupCreateDTO.d.ts +1 -1
- package/dist/models/FormCustomFieldGroupUpdateDTO.d.ts +1 -1
- package/dist/models/HrApprovalDecisionDTO.d.ts +1 -1
- package/dist/models/HrApprovalWorkflowCreateDTO.d.ts +1 -1
- package/dist/models/HrCertificationCreateDTO.d.ts +1 -1
- package/dist/models/HrCertificationUpdateDTO.d.ts +1 -1
- package/dist/models/HrEmployeeCreateApiDTO.d.ts +1 -1
- package/dist/models/HrEmployeeSearchDTO.d.ts +1 -1
- package/dist/models/HrEmployeeUpdateApiDTO.d.ts +1 -1
- package/dist/models/{DataResponseDTOArticleChannelStockDTO.d.ts → HrResumeLanguageDTO.d.ts} +17 -12
- package/dist/models/{DataResponseDTOArticleChannelStockDTO.js → HrResumeLanguageDTO.js} +17 -16
- package/dist/models/HrResumeParseDTO.d.ts +3 -3
- package/dist/models/HrResumeParseDTO.js +3 -3
- package/dist/models/HrResumeParseRequestDTO.d.ts +1 -1
- package/dist/models/HrTrainingEnrollmentCreateDTO.d.ts +1 -1
- package/dist/models/HrTrainingProgramCreateDTO.d.ts +1 -1
- package/dist/models/HrTrainingProgramUpdateDTO.d.ts +1 -1
- package/dist/models/IntegrationConfigurationCreateDTO.d.ts +1 -1
- package/dist/models/IntegrationConfigurationUpdateDTO.d.ts +1 -1
- package/dist/models/InventoryArticleChannelStockDTO.d.ts +151 -0
- package/dist/models/InventoryArticleChannelStockDTO.js +102 -0
- package/dist/models/LanguageDTO.d.ts +117 -2
- package/dist/models/LanguageDTO.js +54 -4
- package/dist/models/LeadSource.d.ts +1 -1
- package/dist/models/ManufacturingProcessProfileCreateDTO.d.ts +1 -1
- package/dist/models/ManufacturingProcessProfileUpdateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderCreateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderMaterialCreateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderMaterialUpdateDTO.d.ts +1 -1
- package/dist/models/ManufacturingWorkOrderUpdateDTO.d.ts +1 -1
- package/dist/models/PaymentCustomerRequestDTO.d.ts +1 -1
- package/dist/models/PaymentIntentRequestDTO.d.ts +1 -1
- package/dist/models/PermissionDTO.d.ts +1 -1
- package/dist/models/PlatformBillingDTO.d.ts +1 -1
- package/dist/models/PlatformServiceDTO.d.ts +1 -1
- package/dist/models/PlatformSubscriptionCancellationDTO.d.ts +1 -1
- package/dist/models/{BulkOperationResultPmsRFIDTagDTO.d.ts → PmsRFIDTagBulkOperationResultPmsRFIDTagDTO.d.ts} +14 -14
- package/dist/models/{BulkOperationResultPmsRFIDTagDTO.js → PmsRFIDTagBulkOperationResultPmsRFIDTagDTO.js} +13 -13
- package/dist/models/PmsRFIDTagBulkOperationResultUUID.d.ts +62 -0
- package/dist/models/PmsRFIDTagBulkOperationResultUUID.js +58 -0
- package/dist/models/RateRequestDTO.d.ts +5 -5
- package/dist/models/RateRequestDTO.js +5 -5
- package/dist/models/RefundRequestDTO.d.ts +1 -1
- package/dist/models/ReturnLabelRequestDTO.d.ts +5 -5
- package/dist/models/ReturnLabelRequestDTO.js +5 -5
- package/dist/models/ShipmentDTO.d.ts +97 -20
- package/dist/models/ShipmentDTO.js +64 -24
- package/dist/models/ShipmentRequestDTO.d.ts +7 -7
- package/dist/models/ShipmentRequestDTO.js +7 -7
- package/dist/models/ShipmentResultDTO.d.ts +3 -3
- package/dist/models/ShipmentResultDTO.js +3 -3
- package/dist/models/ShippingIntegrationAddressDTO.d.ts +92 -0
- package/dist/models/ShippingIntegrationAddressDTO.js +68 -0
- package/dist/models/ShippingIntegrationShipmentDTO.d.ts +113 -0
- package/dist/models/ShippingIntegrationShipmentDTO.js +77 -0
- package/dist/models/ShopifyEntitySyncStatusDTO.d.ts +1 -1
- package/dist/models/SignInRequestDTO.d.ts +1 -1
- package/dist/models/SignUpPlatformRequestDTO.d.ts +1 -1
- package/dist/models/SmsSendRequestDTO.d.ts +1 -1
- package/dist/models/SubscriptionEntitlementDTO.d.ts +7 -0
- package/dist/models/SubscriptionEntitlementDTO.js +3 -0
- package/dist/models/TemplatedEmailRequestDTO.d.ts +1 -1
- package/dist/models/TenantDTO.d.ts +1 -1
- package/dist/models/WorkflowExecutionRequestDTO.d.ts +1 -1
- package/dist/models/index.d.ts +10 -2
- package/dist/models/index.js +10 -2
- package/package.json +1 -1
|
@@ -9,15 +9,21 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
13
|
-
import type { RateQuoteDTO } from './RateQuoteDTO';
|
|
12
|
+
import type { PurchaseOrderDTO } from './PurchaseOrderDTO';
|
|
14
13
|
import type { AddressDTO } from './AddressDTO';
|
|
14
|
+
import type { ElementPermissionBasedEntityEmbeddableDTO } from './ElementPermissionBasedEntityEmbeddableDTO';
|
|
15
15
|
/**
|
|
16
16
|
*
|
|
17
17
|
* @export
|
|
18
18
|
* @interface ShipmentDTO
|
|
19
19
|
*/
|
|
20
20
|
export interface ShipmentDTO {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof ShipmentDTO
|
|
25
|
+
*/
|
|
26
|
+
carrier?: string;
|
|
21
27
|
/**
|
|
22
28
|
*
|
|
23
29
|
* @type {Date}
|
|
@@ -26,70 +32,118 @@ export interface ShipmentDTO {
|
|
|
26
32
|
createdAt?: Date;
|
|
27
33
|
/**
|
|
28
34
|
*
|
|
29
|
-
* @type {
|
|
35
|
+
* @type {string}
|
|
30
36
|
* @memberof ShipmentDTO
|
|
31
37
|
*/
|
|
32
|
-
|
|
38
|
+
createdBy?: string;
|
|
33
39
|
/**
|
|
34
40
|
*
|
|
35
41
|
* @type {string}
|
|
36
42
|
* @memberof ShipmentDTO
|
|
37
43
|
*/
|
|
38
|
-
|
|
44
|
+
customId?: string;
|
|
39
45
|
/**
|
|
40
46
|
*
|
|
41
|
-
* @type {
|
|
47
|
+
* @type {Date}
|
|
42
48
|
* @memberof ShipmentDTO
|
|
43
49
|
*/
|
|
44
|
-
|
|
50
|
+
deletedAt?: Date;
|
|
45
51
|
/**
|
|
46
52
|
*
|
|
47
|
-
* @type {
|
|
53
|
+
* @type {Date}
|
|
48
54
|
* @memberof ShipmentDTO
|
|
49
55
|
*/
|
|
50
|
-
|
|
56
|
+
deliveredAt?: Date;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {ShipmentDTOEntityStatusEnum}
|
|
60
|
+
* @memberof ShipmentDTO
|
|
61
|
+
*/
|
|
62
|
+
entityStatus?: ShipmentDTOEntityStatusEnum;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {Date}
|
|
66
|
+
* @memberof ShipmentDTO
|
|
67
|
+
*/
|
|
68
|
+
estimatedArrival?: Date;
|
|
51
69
|
/**
|
|
52
70
|
*
|
|
53
71
|
* @type {string}
|
|
54
72
|
* @memberof ShipmentDTO
|
|
55
73
|
*/
|
|
56
|
-
|
|
74
|
+
externalId?: string;
|
|
57
75
|
/**
|
|
58
76
|
*
|
|
59
|
-
* @type {
|
|
77
|
+
* @type {string}
|
|
60
78
|
* @memberof ShipmentDTO
|
|
61
79
|
*/
|
|
62
|
-
|
|
80
|
+
id?: string;
|
|
63
81
|
/**
|
|
64
82
|
*
|
|
65
|
-
* @type {
|
|
83
|
+
* @type {Date}
|
|
66
84
|
* @memberof ShipmentDTO
|
|
67
85
|
*/
|
|
68
|
-
|
|
86
|
+
lastModifiedAt?: Date;
|
|
69
87
|
/**
|
|
70
88
|
*
|
|
71
89
|
* @type {string}
|
|
72
90
|
* @memberof ShipmentDTO
|
|
73
91
|
*/
|
|
74
|
-
|
|
92
|
+
lastModifiedBy?: string;
|
|
75
93
|
/**
|
|
76
94
|
*
|
|
77
95
|
* @type {string}
|
|
78
96
|
* @memberof ShipmentDTO
|
|
79
97
|
*/
|
|
80
|
-
|
|
98
|
+
namespaceKey?: string;
|
|
99
|
+
/**
|
|
100
|
+
*
|
|
101
|
+
* @type {string}
|
|
102
|
+
* @memberof ShipmentDTO
|
|
103
|
+
*/
|
|
104
|
+
notes?: string;
|
|
105
|
+
/**
|
|
106
|
+
*
|
|
107
|
+
* @type {number}
|
|
108
|
+
* @memberof ShipmentDTO
|
|
109
|
+
*/
|
|
110
|
+
orderNumber?: number;
|
|
111
|
+
/**
|
|
112
|
+
*
|
|
113
|
+
* @type {ElementPermissionBasedEntityEmbeddableDTO}
|
|
114
|
+
* @memberof ShipmentDTO
|
|
115
|
+
*/
|
|
116
|
+
permission?: ElementPermissionBasedEntityEmbeddableDTO;
|
|
117
|
+
/**
|
|
118
|
+
*
|
|
119
|
+
* @type {PurchaseOrderDTO}
|
|
120
|
+
* @memberof ShipmentDTO
|
|
121
|
+
*/
|
|
122
|
+
purchaseOrder?: PurchaseOrderDTO;
|
|
123
|
+
/**
|
|
124
|
+
*
|
|
125
|
+
* @type {Date}
|
|
126
|
+
* @memberof ShipmentDTO
|
|
127
|
+
*/
|
|
128
|
+
shippedAt?: Date;
|
|
81
129
|
/**
|
|
82
130
|
*
|
|
83
131
|
* @type {AddressDTO}
|
|
84
132
|
* @memberof ShipmentDTO
|
|
85
133
|
*/
|
|
86
|
-
|
|
134
|
+
shippingAddress?: AddressDTO;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {ShipmentDTOStatusEnum}
|
|
138
|
+
* @memberof ShipmentDTO
|
|
139
|
+
*/
|
|
140
|
+
status?: ShipmentDTOStatusEnum;
|
|
87
141
|
/**
|
|
88
142
|
*
|
|
89
143
|
* @type {string}
|
|
90
144
|
* @memberof ShipmentDTO
|
|
91
145
|
*/
|
|
92
|
-
|
|
146
|
+
trackingNumber?: string;
|
|
93
147
|
/**
|
|
94
148
|
*
|
|
95
149
|
* @type {string}
|
|
@@ -98,11 +152,34 @@ export interface ShipmentDTO {
|
|
|
98
152
|
trackingUrl?: string;
|
|
99
153
|
/**
|
|
100
154
|
*
|
|
101
|
-
* @type {
|
|
155
|
+
* @type {number}
|
|
102
156
|
* @memberof ShipmentDTO
|
|
103
157
|
*/
|
|
104
|
-
|
|
158
|
+
version?: number;
|
|
105
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* @export
|
|
162
|
+
*/
|
|
163
|
+
export declare const ShipmentDTOEntityStatusEnum: {
|
|
164
|
+
readonly Active: "ACTIVE";
|
|
165
|
+
readonly Passive: "PASSIVE";
|
|
166
|
+
readonly Archived: "ARCHIVED";
|
|
167
|
+
readonly Deleted: "DELETED";
|
|
168
|
+
readonly Pending: "PENDING";
|
|
169
|
+
};
|
|
170
|
+
export type ShipmentDTOEntityStatusEnum = typeof ShipmentDTOEntityStatusEnum[keyof typeof ShipmentDTOEntityStatusEnum];
|
|
171
|
+
/**
|
|
172
|
+
* @export
|
|
173
|
+
*/
|
|
174
|
+
export declare const ShipmentDTOStatusEnum: {
|
|
175
|
+
readonly Pending: "PENDING";
|
|
176
|
+
readonly Shipped: "SHIPPED";
|
|
177
|
+
readonly InTransit: "IN_TRANSIT";
|
|
178
|
+
readonly Delivered: "DELIVERED";
|
|
179
|
+
readonly Returned: "RETURNED";
|
|
180
|
+
readonly Cancelled: "CANCELLED";
|
|
181
|
+
};
|
|
182
|
+
export type ShipmentDTOStatusEnum = typeof ShipmentDTOStatusEnum[keyof typeof ShipmentDTOStatusEnum];
|
|
106
183
|
/**
|
|
107
184
|
* Check if a given object implements the ShipmentDTO interface.
|
|
108
185
|
*/
|
|
@@ -13,14 +13,36 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ShipmentDTOStatusEnum = exports.ShipmentDTOEntityStatusEnum = void 0;
|
|
16
17
|
exports.instanceOfShipmentDTO = instanceOfShipmentDTO;
|
|
17
18
|
exports.ShipmentDTOFromJSON = ShipmentDTOFromJSON;
|
|
18
19
|
exports.ShipmentDTOFromJSONTyped = ShipmentDTOFromJSONTyped;
|
|
19
20
|
exports.ShipmentDTOToJSON = ShipmentDTOToJSON;
|
|
20
21
|
exports.ShipmentDTOToJSONTyped = ShipmentDTOToJSONTyped;
|
|
21
|
-
const
|
|
22
|
-
const RateQuoteDTO_1 = require("./RateQuoteDTO");
|
|
22
|
+
const PurchaseOrderDTO_1 = require("./PurchaseOrderDTO");
|
|
23
23
|
const AddressDTO_1 = require("./AddressDTO");
|
|
24
|
+
const ElementPermissionBasedEntityEmbeddableDTO_1 = require("./ElementPermissionBasedEntityEmbeddableDTO");
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.ShipmentDTOEntityStatusEnum = {
|
|
29
|
+
Active: 'ACTIVE',
|
|
30
|
+
Passive: 'PASSIVE',
|
|
31
|
+
Archived: 'ARCHIVED',
|
|
32
|
+
Deleted: 'DELETED',
|
|
33
|
+
Pending: 'PENDING'
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* @export
|
|
37
|
+
*/
|
|
38
|
+
exports.ShipmentDTOStatusEnum = {
|
|
39
|
+
Pending: 'PENDING',
|
|
40
|
+
Shipped: 'SHIPPED',
|
|
41
|
+
InTransit: 'IN_TRANSIT',
|
|
42
|
+
Delivered: 'DELIVERED',
|
|
43
|
+
Returned: 'RETURNED',
|
|
44
|
+
Cancelled: 'CANCELLED'
|
|
45
|
+
};
|
|
24
46
|
/**
|
|
25
47
|
* Check if a given object implements the ShipmentDTO interface.
|
|
26
48
|
*/
|
|
@@ -35,20 +57,29 @@ function ShipmentDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
57
|
return json;
|
|
36
58
|
}
|
|
37
59
|
return {
|
|
60
|
+
'carrier': json['carrier'] == null ? undefined : json['carrier'],
|
|
38
61
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
39
|
-
'
|
|
40
|
-
'
|
|
41
|
-
'
|
|
42
|
-
'
|
|
43
|
-
'
|
|
44
|
-
'
|
|
45
|
-
'
|
|
46
|
-
'
|
|
62
|
+
'createdBy': json['createdBy'] == null ? undefined : json['createdBy'],
|
|
63
|
+
'customId': json['customId'] == null ? undefined : json['customId'],
|
|
64
|
+
'deletedAt': json['deletedAt'] == null ? undefined : (new Date(json['deletedAt'])),
|
|
65
|
+
'deliveredAt': json['deliveredAt'] == null ? undefined : (new Date(json['deliveredAt'])),
|
|
66
|
+
'entityStatus': json['entityStatus'] == null ? undefined : json['entityStatus'],
|
|
67
|
+
'estimatedArrival': json['estimatedArrival'] == null ? undefined : (new Date(json['estimatedArrival'])),
|
|
68
|
+
'externalId': json['externalId'] == null ? undefined : json['externalId'],
|
|
69
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
70
|
+
'lastModifiedAt': json['lastModifiedAt'] == null ? undefined : (new Date(json['lastModifiedAt'])),
|
|
71
|
+
'lastModifiedBy': json['lastModifiedBy'] == null ? undefined : json['lastModifiedBy'],
|
|
72
|
+
'namespaceKey': json['namespaceKey'] == null ? undefined : json['namespaceKey'],
|
|
73
|
+
'notes': json['notes'] == null ? undefined : json['notes'],
|
|
74
|
+
'orderNumber': json['orderNumber'] == null ? undefined : json['orderNumber'],
|
|
75
|
+
'permission': json['permission'] == null ? undefined : (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOFromJSON)(json['permission']),
|
|
76
|
+
'purchaseOrder': json['purchaseOrder'] == null ? undefined : (0, PurchaseOrderDTO_1.PurchaseOrderDTOFromJSON)(json['purchaseOrder']),
|
|
77
|
+
'shippedAt': json['shippedAt'] == null ? undefined : (new Date(json['shippedAt'])),
|
|
78
|
+
'shippingAddress': json['shippingAddress'] == null ? undefined : (0, AddressDTO_1.AddressDTOFromJSON)(json['shippingAddress']),
|
|
47
79
|
'status': json['status'] == null ? undefined : json['status'],
|
|
48
|
-
'
|
|
49
|
-
'trackingCode': json['trackingCode'] == null ? undefined : json['trackingCode'],
|
|
80
|
+
'trackingNumber': json['trackingNumber'] == null ? undefined : json['trackingNumber'],
|
|
50
81
|
'trackingUrl': json['trackingUrl'] == null ? undefined : json['trackingUrl'],
|
|
51
|
-
'
|
|
82
|
+
'version': json['version'] == null ? undefined : json['version'],
|
|
52
83
|
};
|
|
53
84
|
}
|
|
54
85
|
function ShipmentDTOToJSON(json) {
|
|
@@ -59,19 +90,28 @@ function ShipmentDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
59
90
|
return value;
|
|
60
91
|
}
|
|
61
92
|
return {
|
|
93
|
+
'carrier': value['carrier'],
|
|
62
94
|
'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
63
|
-
'
|
|
64
|
-
'
|
|
65
|
-
'
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
95
|
+
'createdBy': value['createdBy'],
|
|
96
|
+
'customId': value['customId'],
|
|
97
|
+
'deletedAt': value['deletedAt'] == null ? value['deletedAt'] : value['deletedAt'].toISOString(),
|
|
98
|
+
'deliveredAt': value['deliveredAt'] == null ? value['deliveredAt'] : value['deliveredAt'].toISOString(),
|
|
99
|
+
'entityStatus': value['entityStatus'],
|
|
100
|
+
'estimatedArrival': value['estimatedArrival'] == null ? value['estimatedArrival'] : value['estimatedArrival'].toISOString(),
|
|
101
|
+
'externalId': value['externalId'],
|
|
102
|
+
'id': value['id'],
|
|
103
|
+
'lastModifiedAt': value['lastModifiedAt'] == null ? value['lastModifiedAt'] : value['lastModifiedAt'].toISOString(),
|
|
104
|
+
'lastModifiedBy': value['lastModifiedBy'],
|
|
105
|
+
'namespaceKey': value['namespaceKey'],
|
|
106
|
+
'notes': value['notes'],
|
|
107
|
+
'orderNumber': value['orderNumber'],
|
|
108
|
+
'permission': (0, ElementPermissionBasedEntityEmbeddableDTO_1.ElementPermissionBasedEntityEmbeddableDTOToJSON)(value['permission']),
|
|
109
|
+
'purchaseOrder': (0, PurchaseOrderDTO_1.PurchaseOrderDTOToJSON)(value['purchaseOrder']),
|
|
110
|
+
'shippedAt': value['shippedAt'] == null ? value['shippedAt'] : value['shippedAt'].toISOString(),
|
|
111
|
+
'shippingAddress': (0, AddressDTO_1.AddressDTOToJSON)(value['shippingAddress']),
|
|
71
112
|
'status': value['status'],
|
|
72
|
-
'
|
|
73
|
-
'trackingCode': value['trackingCode'],
|
|
113
|
+
'trackingNumber': value['trackingNumber'],
|
|
74
114
|
'trackingUrl': value['trackingUrl'],
|
|
75
|
-
'
|
|
115
|
+
'version': value['version'],
|
|
76
116
|
};
|
|
77
117
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { ParcelDTO } from './ParcelDTO';
|
|
13
|
-
import type {
|
|
13
|
+
import type { ShippingIntegrationAddressDTO } from './ShippingIntegrationAddressDTO';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -27,10 +27,10 @@ export interface ShipmentRequestDTO {
|
|
|
27
27
|
};
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
|
-
* @type {
|
|
30
|
+
* @type {ShippingIntegrationAddressDTO}
|
|
31
31
|
* @memberof ShipmentRequestDTO
|
|
32
32
|
*/
|
|
33
|
-
fromAddress?:
|
|
33
|
+
fromAddress?: ShippingIntegrationAddressDTO;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {{ [key: string]: object; }}
|
|
@@ -53,16 +53,16 @@ export interface ShipmentRequestDTO {
|
|
|
53
53
|
reference?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {ShippingIntegrationAddressDTO}
|
|
57
57
|
* @memberof ShipmentRequestDTO
|
|
58
58
|
*/
|
|
59
|
-
returnAddress?:
|
|
59
|
+
returnAddress?: ShippingIntegrationAddressDTO;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {ShippingIntegrationAddressDTO}
|
|
63
63
|
* @memberof ShipmentRequestDTO
|
|
64
64
|
*/
|
|
65
|
-
toAddress?:
|
|
65
|
+
toAddress?: ShippingIntegrationAddressDTO;
|
|
66
66
|
}
|
|
67
67
|
/**
|
|
68
68
|
* Check if a given object implements the ShipmentRequestDTO interface.
|
|
@@ -19,7 +19,7 @@ exports.ShipmentRequestDTOFromJSONTyped = ShipmentRequestDTOFromJSONTyped;
|
|
|
19
19
|
exports.ShipmentRequestDTOToJSON = ShipmentRequestDTOToJSON;
|
|
20
20
|
exports.ShipmentRequestDTOToJSONTyped = ShipmentRequestDTOToJSONTyped;
|
|
21
21
|
const ParcelDTO_1 = require("./ParcelDTO");
|
|
22
|
-
const
|
|
22
|
+
const ShippingIntegrationAddressDTO_1 = require("./ShippingIntegrationAddressDTO");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the ShipmentRequestDTO interface.
|
|
25
25
|
*/
|
|
@@ -35,12 +35,12 @@ function ShipmentRequestDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'customsInfo': json['customsInfo'] == null ? undefined : json['customsInfo'],
|
|
38
|
-
'fromAddress': json['fromAddress'] == null ? undefined : (0,
|
|
38
|
+
'fromAddress': json['fromAddress'] == null ? undefined : (0, ShippingIntegrationAddressDTO_1.ShippingIntegrationAddressDTOFromJSON)(json['fromAddress']),
|
|
39
39
|
'options': json['options'] == null ? undefined : json['options'],
|
|
40
40
|
'parcel': json['parcel'] == null ? undefined : (0, ParcelDTO_1.ParcelDTOFromJSON)(json['parcel']),
|
|
41
41
|
'reference': json['reference'] == null ? undefined : json['reference'],
|
|
42
|
-
'returnAddress': json['returnAddress'] == null ? undefined : (0,
|
|
43
|
-
'toAddress': json['toAddress'] == null ? undefined : (0,
|
|
42
|
+
'returnAddress': json['returnAddress'] == null ? undefined : (0, ShippingIntegrationAddressDTO_1.ShippingIntegrationAddressDTOFromJSON)(json['returnAddress']),
|
|
43
|
+
'toAddress': json['toAddress'] == null ? undefined : (0, ShippingIntegrationAddressDTO_1.ShippingIntegrationAddressDTOFromJSON)(json['toAddress']),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
function ShipmentRequestDTOToJSON(json) {
|
|
@@ -52,11 +52,11 @@ function ShipmentRequestDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
52
52
|
}
|
|
53
53
|
return {
|
|
54
54
|
'customsInfo': value['customsInfo'],
|
|
55
|
-
'fromAddress': (0,
|
|
55
|
+
'fromAddress': (0, ShippingIntegrationAddressDTO_1.ShippingIntegrationAddressDTOToJSON)(value['fromAddress']),
|
|
56
56
|
'options': value['options'],
|
|
57
57
|
'parcel': (0, ParcelDTO_1.ParcelDTOToJSON)(value['parcel']),
|
|
58
58
|
'reference': value['reference'],
|
|
59
|
-
'returnAddress': (0,
|
|
60
|
-
'toAddress': (0,
|
|
59
|
+
'returnAddress': (0, ShippingIntegrationAddressDTO_1.ShippingIntegrationAddressDTOToJSON)(value['returnAddress']),
|
|
60
|
+
'toAddress': (0, ShippingIntegrationAddressDTO_1.ShippingIntegrationAddressDTOToJSON)(value['toAddress']),
|
|
61
61
|
};
|
|
62
62
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { ShippingIntegrationShipmentDTO } from './ShippingIntegrationShipmentDTO';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -84,10 +84,10 @@ export interface ShipmentResultDTO {
|
|
|
84
84
|
service?: string;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* @type {
|
|
87
|
+
* @type {ShippingIntegrationShipmentDTO}
|
|
88
88
|
* @memberof ShipmentResultDTO
|
|
89
89
|
*/
|
|
90
|
-
shipment?:
|
|
90
|
+
shipment?: ShippingIntegrationShipmentDTO;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
93
|
* @type {string}
|
|
@@ -18,7 +18,7 @@ exports.ShipmentResultDTOFromJSON = ShipmentResultDTOFromJSON;
|
|
|
18
18
|
exports.ShipmentResultDTOFromJSONTyped = ShipmentResultDTOFromJSONTyped;
|
|
19
19
|
exports.ShipmentResultDTOToJSON = ShipmentResultDTOToJSON;
|
|
20
20
|
exports.ShipmentResultDTOToJSONTyped = ShipmentResultDTOToJSONTyped;
|
|
21
|
-
const
|
|
21
|
+
const ShippingIntegrationShipmentDTO_1 = require("./ShippingIntegrationShipmentDTO");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the ShipmentResultDTO interface.
|
|
24
24
|
*/
|
|
@@ -44,7 +44,7 @@ function ShipmentResultDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'externalShipmentId': json['externalShipmentId'] == null ? undefined : json['externalShipmentId'],
|
|
45
45
|
'labelUrl': json['labelUrl'] == null ? undefined : json['labelUrl'],
|
|
46
46
|
'service': json['service'] == null ? undefined : json['service'],
|
|
47
|
-
'shipment': json['shipment'] == null ? undefined : (0,
|
|
47
|
+
'shipment': json['shipment'] == null ? undefined : (0, ShippingIntegrationShipmentDTO_1.ShippingIntegrationShipmentDTOFromJSON)(json['shipment']),
|
|
48
48
|
'shipmentId': json['shipmentId'] == null ? undefined : json['shipmentId'],
|
|
49
49
|
'shippingCost': json['shippingCost'] == null ? undefined : json['shippingCost'],
|
|
50
50
|
'success': json['success'] == null ? undefined : json['success'],
|
|
@@ -71,7 +71,7 @@ function ShipmentResultDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
71
71
|
'externalShipmentId': value['externalShipmentId'],
|
|
72
72
|
'labelUrl': value['labelUrl'],
|
|
73
73
|
'service': value['service'],
|
|
74
|
-
'shipment': (0,
|
|
74
|
+
'shipment': (0, ShippingIntegrationShipmentDTO_1.ShippingIntegrationShipmentDTOToJSON)(value['shipment']),
|
|
75
75
|
'shipmentId': value['shipmentId'],
|
|
76
76
|
'shippingCost': value['shippingCost'],
|
|
77
77
|
'success': value['success'],
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Vergefy API
|
|
3
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
6
|
+
* Contact: support@integrahub.co
|
|
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 ShippingIntegrationAddressDTO
|
|
16
|
+
*/
|
|
17
|
+
export interface ShippingIntegrationAddressDTO {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
22
|
+
*/
|
|
23
|
+
city?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
28
|
+
*/
|
|
29
|
+
company?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
34
|
+
*/
|
|
35
|
+
country?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
40
|
+
*/
|
|
41
|
+
email?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
46
|
+
*/
|
|
47
|
+
name?: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
52
|
+
*/
|
|
53
|
+
phone?: string;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
58
|
+
*/
|
|
59
|
+
residential?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
64
|
+
*/
|
|
65
|
+
state?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
70
|
+
*/
|
|
71
|
+
street1?: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
76
|
+
*/
|
|
77
|
+
street2?: string;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof ShippingIntegrationAddressDTO
|
|
82
|
+
*/
|
|
83
|
+
zip?: string;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the ShippingIntegrationAddressDTO interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfShippingIntegrationAddressDTO(value: object): value is ShippingIntegrationAddressDTO;
|
|
89
|
+
export declare function ShippingIntegrationAddressDTOFromJSON(json: any): ShippingIntegrationAddressDTO;
|
|
90
|
+
export declare function ShippingIntegrationAddressDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): ShippingIntegrationAddressDTO;
|
|
91
|
+
export declare function ShippingIntegrationAddressDTOToJSON(json: any): ShippingIntegrationAddressDTO;
|
|
92
|
+
export declare function ShippingIntegrationAddressDTOToJSONTyped(value?: ShippingIntegrationAddressDTO | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Vergefy API
|
|
6
|
+
* <h1>AI Agent Management</h1><p>Create, configure, and orchestrate AI agents with multi-provider support.</p><h2>Modules</h2><ul><li><b>Agent (IAG):</b> Agent creation, configuration, lifecycle, insight and analytics (IAG001-057, IAG500-505, IAG700-701)</li><li><b>Template (IAT):</b> Agent template management — /ai/agents-templates</li><li><b>Template Advanced (IATEMP):</b> Versions, analytics, recommendations, diffs — /ai/agents-templates (IATEMP001-008)</li><li><b>Agent Upgrade (IAGENT):</b> Upgrade, rollback, version management — /ai/agents/{id}/upgrade|rollback (IAGENT001-005)</li><li><b>Hierarchy (IAH):</b> Supervisor-worker relationships, delegation — /ai/agents/hierarchies</li><li><b>Goal (IAGG):</b> Autonomous goals, success criteria — /ai/agents/goals</li><li><b>Pool (IAGP):</b> Agent pool management, allocation, coordination (queries IAGP001-023, commands IAGP101-109) — /ai/agents/pools</li><li><b>Execution (IAGE):</b> Execution tracking, history — /ai/agents/executions</li><li><b>Health (IAGH):</b> Health checks, recovery — /ai/agents/health</li><li><b>Communication (IAGC):</b> Channels (IAGC001-019) and inter-agent messages (IAGC020-052) — /ai/agents/channels, /ai/agents/messages</li><li><b>Handoff (IAGD):</b> Agent handoff and transfer — /ai/agents/handoffs</li><li><b>Orchestration (IAGO):</b> Orchestration sessions — /ai/agents/orchestration/sessions</li><li><b>Workflow (IAGW):</b> Workflow assignment and execution — /ai/agents-workflows</li><li><b>Capability (IACAP):</b> Capability definitions, permissions (queries IACAP001-011, commands IACAP101-105) — /ai/capabilities</li><li><b>Capability Mapping (IACF):</b> Capability to feature mapping — /ai/agents/capability-feature-mappings</li></ul><p><b>Providers:</b> OpenAI GPT-4, Anthropic Claude, Google Gemini</p>
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2026-05-30
|
|
9
|
+
* Contact: support@integrahub.co
|
|
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.instanceOfShippingIntegrationAddressDTO = instanceOfShippingIntegrationAddressDTO;
|
|
17
|
+
exports.ShippingIntegrationAddressDTOFromJSON = ShippingIntegrationAddressDTOFromJSON;
|
|
18
|
+
exports.ShippingIntegrationAddressDTOFromJSONTyped = ShippingIntegrationAddressDTOFromJSONTyped;
|
|
19
|
+
exports.ShippingIntegrationAddressDTOToJSON = ShippingIntegrationAddressDTOToJSON;
|
|
20
|
+
exports.ShippingIntegrationAddressDTOToJSONTyped = ShippingIntegrationAddressDTOToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ShippingIntegrationAddressDTO interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfShippingIntegrationAddressDTO(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ShippingIntegrationAddressDTOFromJSON(json) {
|
|
28
|
+
return ShippingIntegrationAddressDTOFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ShippingIntegrationAddressDTOFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'city': json['city'] == null ? undefined : json['city'],
|
|
36
|
+
'company': json['company'] == null ? undefined : json['company'],
|
|
37
|
+
'country': json['country'] == null ? undefined : json['country'],
|
|
38
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
39
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
40
|
+
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
41
|
+
'residential': json['residential'] == null ? undefined : json['residential'],
|
|
42
|
+
'state': json['state'] == null ? undefined : json['state'],
|
|
43
|
+
'street1': json['street1'] == null ? undefined : json['street1'],
|
|
44
|
+
'street2': json['street2'] == null ? undefined : json['street2'],
|
|
45
|
+
'zip': json['zip'] == null ? undefined : json['zip'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
function ShippingIntegrationAddressDTOToJSON(json) {
|
|
49
|
+
return ShippingIntegrationAddressDTOToJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function ShippingIntegrationAddressDTOToJSONTyped(value, ignoreDiscriminator = false) {
|
|
52
|
+
if (value == null) {
|
|
53
|
+
return value;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'city': value['city'],
|
|
57
|
+
'company': value['company'],
|
|
58
|
+
'country': value['country'],
|
|
59
|
+
'email': value['email'],
|
|
60
|
+
'name': value['name'],
|
|
61
|
+
'phone': value['phone'],
|
|
62
|
+
'residential': value['residential'],
|
|
63
|
+
'state': value['state'],
|
|
64
|
+
'street1': value['street1'],
|
|
65
|
+
'street2': value['street2'],
|
|
66
|
+
'zip': value['zip'],
|
|
67
|
+
};
|
|
68
|
+
}
|