@gobolt/models 1.1.24
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 +10 -0
- package/dist/merchant/Shop.d.ts +4 -0
- package/dist/merchant/Shop.js +25 -0
- package/dist/merchant/Shop.js.map +1 -0
- package/dist/merchant/address/address.d.ts +17 -0
- package/dist/merchant/address/address.js +78 -0
- package/dist/merchant/address/address.js.map +1 -0
- package/dist/merchant/address/location.d.ts +4 -0
- package/dist/merchant/address/location.js +25 -0
- package/dist/merchant/address/location.js.map +1 -0
- package/dist/merchant/address/recipient.d.ts +5 -0
- package/dist/merchant/address/recipient.js +29 -0
- package/dist/merchant/address/recipient.js.map +1 -0
- package/dist/merchant/constraints/datedDeliveryConstraint.d.ts +8 -0
- package/dist/merchant/constraints/datedDeliveryConstraint.js +41 -0
- package/dist/merchant/constraints/datedDeliveryConstraint.js.map +1 -0
- package/dist/merchant/constraints/datedPickupConstraint.d.ts +4 -0
- package/dist/merchant/constraints/datedPickupConstraint.js +25 -0
- package/dist/merchant/constraints/datedPickupConstraint.js.map +1 -0
- package/dist/merchant/constraints/deliveryConstraint.d.ts +6 -0
- package/dist/merchant/constraints/deliveryConstraint.js +32 -0
- package/dist/merchant/constraints/deliveryConstraint.js.map +1 -0
- package/dist/merchant/constraints/deliveryConstraintsByWeek.d.ts +6 -0
- package/dist/merchant/constraints/deliveryConstraintsByWeek.js +28 -0
- package/dist/merchant/constraints/deliveryConstraintsByWeek.js.map +1 -0
- package/dist/merchant/constraints/pickupConstraint.d.ts +5 -0
- package/dist/merchant/constraints/pickupConstraint.js +28 -0
- package/dist/merchant/constraints/pickupConstraint.js.map +1 -0
- package/dist/merchant/constraints/pickupConstraintsByWeek.d.ts +6 -0
- package/dist/merchant/constraints/pickupConstraintsByWeek.js +28 -0
- package/dist/merchant/constraints/pickupConstraintsByWeek.js.map +1 -0
- package/dist/merchant/constraints/timeWindow.d.ts +4 -0
- package/dist/merchant/constraints/timeWindow.js +28 -0
- package/dist/merchant/constraints/timeWindow.js.map +1 -0
- package/dist/merchant/constraints/weekdayDeliveryConstraint.d.ts +4 -0
- package/dist/merchant/constraints/weekdayDeliveryConstraint.js +25 -0
- package/dist/merchant/constraints/weekdayDeliveryConstraint.js.map +1 -0
- package/dist/merchant/constraints/weekdayPickupConstraint.d.ts +4 -0
- package/dist/merchant/constraints/weekdayPickupConstraint.js +25 -0
- package/dist/merchant/constraints/weekdayPickupConstraint.js.map +1 -0
- package/dist/merchant/customNotifications.d.ts +4 -0
- package/dist/merchant/customNotifications.js +25 -0
- package/dist/merchant/customNotifications.js.map +1 -0
- package/dist/merchant/emailNotifications.d.ts +6 -0
- package/dist/merchant/emailNotifications.js +33 -0
- package/dist/merchant/emailNotifications.js.map +1 -0
- package/dist/merchant/integrationInfo.d.ts +10 -0
- package/dist/merchant/integrationInfo.js +52 -0
- package/dist/merchant/integrationInfo.js.map +1 -0
- package/dist/merchant/labelingFormatType.d.ts +10 -0
- package/dist/merchant/labelingFormatType.js +15 -0
- package/dist/merchant/labelingFormatType.js.map +1 -0
- package/dist/merchant/mappingItem.d.ts +9 -0
- package/dist/merchant/mappingItem.js +40 -0
- package/dist/merchant/mappingItem.js.map +1 -0
- package/dist/merchant/mappingParameterType.d.ts +4 -0
- package/dist/merchant/mappingParameterType.js +9 -0
- package/dist/merchant/mappingParameterType.js.map +1 -0
- package/dist/merchant/merchant.d.ts +186 -0
- package/dist/merchant/merchant.js +585 -0
- package/dist/merchant/merchant.js.map +1 -0
- package/dist/merchant/merchantDisplayLogoUrl.d.ts +8 -0
- package/dist/merchant/merchantDisplayLogoUrl.js +39 -0
- package/dist/merchant/merchantDisplayLogoUrl.js.map +1 -0
- package/dist/merchant/merchantLocation.d.ts +20 -0
- package/dist/merchant/merchantLocation.js +82 -0
- package/dist/merchant/merchantLocation.js.map +1 -0
- package/dist/merchant/otherLocation.d.ts +9 -0
- package/dist/merchant/otherLocation.js +43 -0
- package/dist/merchant/otherLocation.js.map +1 -0
- package/dist/merchant/rateShowingOptionType.d.ts +10 -0
- package/dist/merchant/rateShowingOptionType.js +15 -0
- package/dist/merchant/rateShowingOptionType.js.map +1 -0
- package/dist/merchant/report.d.ts +8 -0
- package/dist/merchant/report.js +39 -0
- package/dist/merchant/report.js.map +1 -0
- package/dist/merchant/shipHero.d.ts +5 -0
- package/dist/merchant/shipHero.js +29 -0
- package/dist/merchant/shipHero.js.map +1 -0
- package/dist/merchant/shippingRule.d.ts +14 -0
- package/dist/merchant/shippingRule.js +55 -0
- package/dist/merchant/shippingRule.js.map +1 -0
- package/dist/merchant/shipstation.d.ts +6 -0
- package/dist/merchant/shipstation.js +33 -0
- package/dist/merchant/shipstation.js.map +1 -0
- package/dist/merchant/status.d.ts +5 -0
- package/dist/merchant/status.js +9 -0
- package/dist/merchant/status.js.map +1 -0
- package/dist/merchant/strategies/location/locationPricing.d.ts +5 -0
- package/dist/merchant/strategies/location/locationPricing.js +26 -0
- package/dist/merchant/strategies/location/locationPricing.js.map +1 -0
- package/dist/merchant/strategies/location/locationPricingRow.d.ts +5 -0
- package/dist/merchant/strategies/location/locationPricingRow.js +26 -0
- package/dist/merchant/strategies/location/locationPricingRow.js.map +1 -0
- package/dist/merchant/strategies/multipack/multipackPricing.d.ts +5 -0
- package/dist/merchant/strategies/multipack/multipackPricing.js +26 -0
- package/dist/merchant/strategies/multipack/multipackPricing.js.map +1 -0
- package/dist/merchant/strategies/multipack/multipackPricingRow.d.ts +6 -0
- package/dist/merchant/strategies/multipack/multipackPricingRow.js +27 -0
- package/dist/merchant/strategies/multipack/multipackPricingRow.js.map +1 -0
- package/dist/merchant/strategies/multipack/multipackPricingType.d.ts +18 -0
- package/dist/merchant/strategies/multipack/multipackPricingType.js +23 -0
- package/dist/merchant/strategies/multipack/multipackPricingType.js.map +1 -0
- package/dist/merchant/strategies/namedPricingStrategy.d.ts +7 -0
- package/dist/merchant/strategies/namedPricingStrategy.js +35 -0
- package/dist/merchant/strategies/namedPricingStrategy.js.map +1 -0
- package/dist/merchant/strategies/pricingEntry.d.ts +6 -0
- package/dist/merchant/strategies/pricingEntry.js +34 -0
- package/dist/merchant/strategies/pricingEntry.js.map +1 -0
- package/dist/merchant/strategies/pricingRow.d.ts +4 -0
- package/dist/merchant/strategies/pricingRow.js +24 -0
- package/dist/merchant/strategies/pricingRow.js.map +1 -0
- package/dist/merchant/strategies/pricingStrategy.d.ts +4 -0
- package/dist/merchant/strategies/pricingStrategy.js +24 -0
- package/dist/merchant/strategies/pricingStrategy.js.map +1 -0
- package/dist/merchant/strategies/signature/signaturePricing.d.ts +5 -0
- package/dist/merchant/strategies/signature/signaturePricing.js +26 -0
- package/dist/merchant/strategies/signature/signaturePricing.js.map +1 -0
- package/dist/merchant/strategies/signature/signaturePricingRow.d.ts +6 -0
- package/dist/merchant/strategies/signature/signaturePricingRow.js +27 -0
- package/dist/merchant/strategies/signature/signaturePricingRow.js.map +1 -0
- package/dist/merchant/strategies/signature/signaturePricingType.d.ts +10 -0
- package/dist/merchant/strategies/signature/signaturePricingType.js +15 -0
- package/dist/merchant/strategies/signature/signaturePricingType.js.map +1 -0
- package/dist/merchant/strategies/size/sizeOptions.d.ts +6 -0
- package/dist/merchant/strategies/size/sizeOptions.js +33 -0
- package/dist/merchant/strategies/size/sizeOptions.js.map +1 -0
- package/dist/merchant/strategies/size/sizePricing.d.ts +5 -0
- package/dist/merchant/strategies/size/sizePricing.js +26 -0
- package/dist/merchant/strategies/size/sizePricing.js.map +1 -0
- package/dist/merchant/strategies/size/sizePricingRow.d.ts +6 -0
- package/dist/merchant/strategies/size/sizePricingRow.js +27 -0
- package/dist/merchant/strategies/size/sizePricingRow.js.map +1 -0
- package/dist/merchant/strategies/size/sizePricingType.d.ts +18 -0
- package/dist/merchant/strategies/size/sizePricingType.js +23 -0
- package/dist/merchant/strategies/size/sizePricingType.js.map +1 -0
- package/dist/merchant/strategies/speed/dispatcherType.d.ts +4 -0
- package/dist/merchant/strategies/speed/dispatcherType.js +9 -0
- package/dist/merchant/strategies/speed/dispatcherType.js.map +1 -0
- package/dist/merchant/strategies/speed/locales.d.ts +6 -0
- package/dist/merchant/strategies/speed/locales.js +26 -0
- package/dist/merchant/strategies/speed/locales.js.map +1 -0
- package/dist/merchant/strategies/speed/speedPricing.d.ts +5 -0
- package/dist/merchant/strategies/speed/speedPricing.js +26 -0
- package/dist/merchant/strategies/speed/speedPricing.js.map +1 -0
- package/dist/merchant/strategies/speed/speedPricingRow.d.ts +12 -0
- package/dist/merchant/strategies/speed/speedPricingRow.js +35 -0
- package/dist/merchant/strategies/speed/speedPricingRow.js.map +1 -0
- package/dist/merchant/strategies/speed/speedPricingType.d.ts +30 -0
- package/dist/merchant/strategies/speed/speedPricingType.js +35 -0
- package/dist/merchant/strategies/speed/speedPricingType.js.map +1 -0
- package/dist/merchant/strategies/weight/weightOptions.d.ts +4 -0
- package/dist/merchant/strategies/weight/weightOptions.js +25 -0
- package/dist/merchant/strategies/weight/weightOptions.js.map +1 -0
- package/dist/merchant/strategies/weight/weightPricing.d.ts +5 -0
- package/dist/merchant/strategies/weight/weightPricing.js +26 -0
- package/dist/merchant/strategies/weight/weightPricing.js.map +1 -0
- package/dist/merchant/strategies/weight/weightPricingRow.d.ts +5 -0
- package/dist/merchant/strategies/weight/weightPricingRow.js +26 -0
- package/dist/merchant/strategies/weight/weightPricingRow.js.map +1 -0
- package/dist/merchant/taskTimeCreationType.d.ts +14 -0
- package/dist/merchant/taskTimeCreationType.js +19 -0
- package/dist/merchant/taskTimeCreationType.js.map +1 -0
- package/dist/merchant/webhookItem.d.ts +4 -0
- package/dist/merchant/webhookItem.js +25 -0
- package/dist/merchant/webhookItem.js.map +1 -0
- package/dist/merchant/webhooks.d.ts +7 -0
- package/dist/merchant/webhooks.js +33 -0
- package/dist/merchant/webhooks.js.map +1 -0
- package/dist/merchant/zone.d.ts +7 -0
- package/dist/merchant/zone.js +34 -0
- package/dist/merchant/zone.js.map +1 -0
- package/dist/order/OrderItem.d.ts +13 -0
- package/dist/order/OrderItem.js +61 -0
- package/dist/order/OrderItem.js.map +1 -0
- package/dist/order/address.d.ts +13 -0
- package/dist/order/address.js +61 -0
- package/dist/order/address.js.map +1 -0
- package/dist/order/customField.d.ts +4 -0
- package/dist/order/customField.js +25 -0
- package/dist/order/customField.js.map +1 -0
- package/dist/order/deliveryClassificationType.d.ts +5 -0
- package/dist/order/deliveryClassificationType.js +9 -0
- package/dist/order/deliveryClassificationType.js.map +1 -0
- package/dist/order/dtoAddress.d.ts +9 -0
- package/dist/order/dtoAddress.js +7 -0
- package/dist/order/dtoAddress.js.map +1 -0
- package/dist/order/emailTrigger.d.ts +6 -0
- package/dist/order/emailTrigger.js +11 -0
- package/dist/order/emailTrigger.js.map +1 -0
- package/dist/order/event.d.ts +4 -0
- package/dist/order/event.js +25 -0
- package/dist/order/event.js.map +1 -0
- package/dist/order/goboltLabelStatusType.d.ts +12 -0
- package/dist/order/goboltLabelStatusType.js +16 -0
- package/dist/order/goboltLabelStatusType.js.map +1 -0
- package/dist/order/goboltTrackingEvent.d.ts +9 -0
- package/dist/order/goboltTrackingEvent.js +43 -0
- package/dist/order/goboltTrackingEvent.js.map +1 -0
- package/dist/order/goboltTrackingEventType.d.ts +12 -0
- package/dist/order/goboltTrackingEventType.js +18 -0
- package/dist/order/goboltTrackingEventType.js.map +1 -0
- package/dist/order/location.d.ts +4 -0
- package/dist/order/location.js +25 -0
- package/dist/order/location.js.map +1 -0
- package/dist/order/locationSummary.d.ts +5 -0
- package/dist/order/locationSummary.js +29 -0
- package/dist/order/locationSummary.js.map +1 -0
- package/dist/order/order.d.ts +92 -0
- package/dist/order/order.js +325 -0
- package/dist/order/order.js.map +1 -0
- package/dist/order/orderSourceType.d.ts +7 -0
- package/dist/order/orderSourceType.js +11 -0
- package/dist/order/orderSourceType.js.map +1 -0
- package/dist/order/otherScans.d.ts +12 -0
- package/dist/order/otherScans.js +54 -0
- package/dist/order/otherScans.js.map +1 -0
- package/dist/order/package.d.ts +10 -0
- package/dist/order/package.js +39 -0
- package/dist/order/package.js.map +1 -0
- package/dist/order/packageReceived.d.ts +5 -0
- package/dist/order/packageReceived.js +29 -0
- package/dist/order/packageReceived.js.map +1 -0
- package/dist/order/pickup.d.ts +25 -0
- package/dist/order/pickup.js +108 -0
- package/dist/order/pickup.js.map +1 -0
- package/dist/order/pickupRecipientName.d.ts +4 -0
- package/dist/order/pickupRecipientName.js +25 -0
- package/dist/order/pickupRecipientName.js.map +1 -0
- package/dist/order/recipient.d.ts +6 -0
- package/dist/order/recipient.js +33 -0
- package/dist/order/recipient.js.map +1 -0
- package/dist/order/savedAddress.d.ts +10 -0
- package/dist/order/savedAddress.js +50 -0
- package/dist/order/savedAddress.js.map +1 -0
- package/dist/order/scanEvent.d.ts +5 -0
- package/dist/order/scanEvent.js +25 -0
- package/dist/order/scanEvent.js.map +1 -0
- package/dist/order/status.d.ts +30 -0
- package/dist/order/status.js +35 -0
- package/dist/order/status.js.map +1 -0
- package/dist/order/task.d.ts +14 -0
- package/dist/order/task.js +62 -0
- package/dist/order/task.js.map +1 -0
- package/dist/order/taskStatus.d.ts +7 -0
- package/dist/order/taskStatus.js +12 -0
- package/dist/order/taskStatus.js.map +1 -0
- package/dist/order/timeChangeEvent.d.ts +12 -0
- package/dist/order/timeChangeEvent.js +57 -0
- package/dist/order/timeChangeEvent.js.map +1 -0
- package/dist/order/timelineEvent.d.ts +11 -0
- package/dist/order/timelineEvent.js +46 -0
- package/dist/order/timelineEvent.js.map +1 -0
- package/dist/order/type.d.ts +4 -0
- package/dist/order/type.js +9 -0
- package/dist/order/type.js.map +1 -0
- package/dist/rate/deliveryServiceType.d.ts +7 -0
- package/dist/rate/deliveryServiceType.js +11 -0
- package/dist/rate/deliveryServiceType.js.map +1 -0
- package/dist/rate/pickupResponse.d.ts +17 -0
- package/dist/rate/pickupResponse.js +69 -0
- package/dist/rate/pickupResponse.js.map +1 -0
- package/dist/rate/rateResponse.d.ts +66 -0
- package/dist/rate/rateResponse.js +221 -0
- package/dist/rate/rateResponse.js.map +1 -0
- package/package.json +62 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"task.js","sourceRoot":"","sources":["../../src/models/order/task.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAClE,6CAA0C;AAC1C,iCAAkC;AAElC,MAAa,IAAI;IAAjB;QAuBS,wBAAmB,GAAa,IAAI,KAAK,EAAU,CAAC;IAO7D,CAAC;CAAA;AA9BD,oBA8BC;AA5BQ;IADN,IAAA,4CAAS,GAAE;;gCACO;AAGZ;IADN,IAAA,4CAAS,GAAE;;qCACY;AAGjB;IADN,IAAA,4CAAS,GAAE;;sCACe;AAGpB;IADN,IAAA,4CAAS,GAAE;;wCACmB;AAGxB;IADN,IAAA,4CAAS,EAAC,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;8BACzB,IAAI;uCAAC;AAGjB;IADN,IAAA,4CAAS,EAAC,EAAE,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,CAAC;8BACvB,IAAI;yCAAC;AAGnB;IADN,IAAA,4CAAS,GAAE;;0CACiB;AAGtB;IADN,IAAA,4CAAS,GAAE;;iDAC+C;AAGpD;IADN,IAAA,4CAAS,GAAE;;6CACoB;AAGzB;IADN,IAAA,4CAAS,GAAE;;sCACa"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskStatus = void 0;
|
|
4
|
+
var TaskStatus;
|
|
5
|
+
(function (TaskStatus) {
|
|
6
|
+
TaskStatus["UNASSIGNED"] = "UNASSIGNED";
|
|
7
|
+
TaskStatus["ASSIGNED"] = "ASSIGNED";
|
|
8
|
+
TaskStatus["ACTIVE"] = "ACTIVE";
|
|
9
|
+
TaskStatus["COMPLETED"] = "COMPLETED";
|
|
10
|
+
TaskStatus["FAILED"] = "FAILED";
|
|
11
|
+
})(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
|
|
12
|
+
//# sourceMappingURL=taskStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskStatus.js","sourceRoot":"","sources":["../../src/models/order/taskStatus.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,uCAA2B,CAAA;IAC3B,mCAAuB,CAAA;IACvB,+BAAmB,CAAA;IACnB,qCAAyB,CAAA;IACzB,+BAAmB,CAAA;AACrB,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class TimeChangeEvent {
|
|
2
|
+
category?: string;
|
|
3
|
+
changedBy?: string;
|
|
4
|
+
time: number;
|
|
5
|
+
initialCompleteBefore: number | undefined;
|
|
6
|
+
initialCompleteAfter: number | undefined;
|
|
7
|
+
newCompleteBefore: number;
|
|
8
|
+
newCompleteAfter: number;
|
|
9
|
+
notes?: string;
|
|
10
|
+
externalNotes?: string;
|
|
11
|
+
showExternalNotes?: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TimeChangeEvent = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class TimeChangeEvent {
|
|
15
|
+
}
|
|
16
|
+
exports.TimeChangeEvent = TimeChangeEvent;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], TimeChangeEvent.prototype, "category", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], TimeChangeEvent.prototype, "changedBy", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
27
|
+
__metadata("design:type", Number)
|
|
28
|
+
], TimeChangeEvent.prototype, "time", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], TimeChangeEvent.prototype, "initialCompleteBefore", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
35
|
+
__metadata("design:type", Object)
|
|
36
|
+
], TimeChangeEvent.prototype, "initialCompleteAfter", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], TimeChangeEvent.prototype, "newCompleteBefore", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], TimeChangeEvent.prototype, "newCompleteAfter", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], TimeChangeEvent.prototype, "notes", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], TimeChangeEvent.prototype, "externalNotes", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
55
|
+
__metadata("design:type", Boolean)
|
|
56
|
+
], TimeChangeEvent.prototype, "showExternalNotes", void 0);
|
|
57
|
+
//# sourceMappingURL=timeChangeEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeChangeEvent.js","sourceRoot":"","sources":["../../src/models/order/timeChangeEvent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,eAAe;CA8B3B;AA9BD,0CA8BC;AA5BQ;IADN,IAAA,4CAAS,GAAE;;iDACa;AAGlB;IADN,IAAA,4CAAS,GAAE;;kDACc;AAGnB;IADN,IAAA,4CAAS,GAAE;;6CACS;AAGd;IADN,IAAA,4CAAS,GAAE;;8DACsC;AAG3C;IADN,IAAA,4CAAS,GAAE;;6DACqC;AAG1C;IADN,IAAA,4CAAS,GAAE;;0DACsB;AAG3B;IADN,IAAA,4CAAS,GAAE;;yDACqB;AAG1B;IADN,IAAA,4CAAS,GAAE;;8CACU;AAGf;IADN,IAAA,4CAAS,GAAE;;sDACkB;AAGvB;IADN,IAAA,4CAAS,GAAE;;0DACuB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { LocationSummary } from './locationSummary';
|
|
2
|
+
import { OrderStatusType } from './status';
|
|
3
|
+
export declare class TimelineEvent {
|
|
4
|
+
timestamp: number;
|
|
5
|
+
event: OrderStatusType;
|
|
6
|
+
trackingNumber: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
verificationPhotosUrls?: string[];
|
|
9
|
+
signaturePhotosUrls?: string[];
|
|
10
|
+
location?: LocationSummary;
|
|
11
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.TimelineEvent = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const locationSummary_1 = require("./locationSummary");
|
|
15
|
+
class TimelineEvent {
|
|
16
|
+
}
|
|
17
|
+
exports.TimelineEvent = TimelineEvent;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
20
|
+
__metadata("design:type", Number)
|
|
21
|
+
], TimelineEvent.prototype, "timestamp", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], TimelineEvent.prototype, "event", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
29
|
+
], TimelineEvent.prototype, "trackingNumber", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], TimelineEvent.prototype, "description", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", Array)
|
|
37
|
+
], TimelineEvent.prototype, "verificationPhotosUrls", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
40
|
+
__metadata("design:type", Array)
|
|
41
|
+
], TimelineEvent.prototype, "signaturePhotosUrls", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
44
|
+
__metadata("design:type", locationSummary_1.LocationSummary)
|
|
45
|
+
], TimelineEvent.prototype, "location", void 0);
|
|
46
|
+
//# sourceMappingURL=timelineEvent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timelineEvent.js","sourceRoot":"","sources":["../../src/models/order/timelineEvent.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAClE,uDAAoD;AAGpD,MAAa,aAAa;CAqBzB;AArBD,sCAqBC;AAnBQ;IADN,IAAA,4CAAS,GAAE;;gDACc;AAGnB;IADN,IAAA,4CAAS,GAAE;;4CACmB;AAGxB;IADN,IAAA,4CAAS,GAAE;;qDACmB;AAGxB;IADN,IAAA,4CAAS,GAAE;;kDACgB;AAGrB;IADN,IAAA,4CAAS,GAAE;;6DAC6B;AAGlC;IADN,IAAA,4CAAS,GAAE;;0DAC0B;AAG/B;IADN,IAAA,4CAAS,GAAE;8BACM,iCAAe;+CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskType = void 0;
|
|
4
|
+
var TaskType;
|
|
5
|
+
(function (TaskType) {
|
|
6
|
+
TaskType["PICKUP"] = "PICKUP";
|
|
7
|
+
TaskType["DELIVERY"] = "DELIVERY";
|
|
8
|
+
})(TaskType || (exports.TaskType = TaskType = {}));
|
|
9
|
+
//# sourceMappingURL=type.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../src/models/order/type.ts"],"names":[],"mappings":";;;AAAA,IAAY,QAGX;AAHD,WAAY,QAAQ;IAClB,6BAAmB,CAAA;IACnB,iCAAuB,CAAA;AACzB,CAAC,EAHW,QAAQ,wBAAR,QAAQ,QAGnB"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeliveryService = void 0;
|
|
4
|
+
var DeliveryService;
|
|
5
|
+
(function (DeliveryService) {
|
|
6
|
+
DeliveryService["THRESHOLD"] = "THRESHOLD";
|
|
7
|
+
DeliveryService["TO_THE_DOOR"] = "TO_THE_DOOR";
|
|
8
|
+
DeliveryService["WHITE_GLOVE"] = "WHITE_GLOVE";
|
|
9
|
+
DeliveryService["ROOM_OF_CHOICE"] = "ROOM_OF_CHOICE";
|
|
10
|
+
})(DeliveryService || (exports.DeliveryService = DeliveryService = {}));
|
|
11
|
+
//# sourceMappingURL=deliveryServiceType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveryServiceType.js","sourceRoot":"","sources":["../../src/models/rate/deliveryServiceType.ts"],"names":[],"mappings":";;;AAAA,IAAY,eAKX;AALD,WAAY,eAAe;IACzB,0CAAuB,CAAA;IACvB,8CAA2B,CAAA;IAC3B,8CAA2B,CAAA;IAC3B,oDAAiC,CAAA;AACnC,CAAC,EALW,eAAe,+BAAf,eAAe,QAK1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare class PickupResponse {
|
|
2
|
+
private estimateDay;
|
|
3
|
+
private estimateFrom;
|
|
4
|
+
private estimateTo;
|
|
5
|
+
private epochEstimateFrom;
|
|
6
|
+
private epochEstimateTo;
|
|
7
|
+
getEstimateDay: () => string;
|
|
8
|
+
setEstimateDay: (value: string) => void;
|
|
9
|
+
getEstimateFrom: () => string;
|
|
10
|
+
setEstimateFrom: (value: string) => void;
|
|
11
|
+
getEstimateTo: () => string;
|
|
12
|
+
setEstimateTo: (value: string) => void;
|
|
13
|
+
getEpochEstimateFrom: () => number;
|
|
14
|
+
setEpochEstimateFrom: (value: number) => void;
|
|
15
|
+
getEpochEstimateTo: () => number;
|
|
16
|
+
setEpochEstimateTo: (value: number) => void;
|
|
17
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.PickupResponse = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class PickupResponse {
|
|
15
|
+
constructor() {
|
|
16
|
+
this.getEstimateDay = () => {
|
|
17
|
+
return this.estimateDay;
|
|
18
|
+
};
|
|
19
|
+
this.setEstimateDay = (value) => {
|
|
20
|
+
this.estimateDay = value;
|
|
21
|
+
};
|
|
22
|
+
this.getEstimateFrom = () => {
|
|
23
|
+
return this.estimateFrom;
|
|
24
|
+
};
|
|
25
|
+
this.setEstimateFrom = (value) => {
|
|
26
|
+
this.estimateFrom = value;
|
|
27
|
+
};
|
|
28
|
+
this.getEstimateTo = () => {
|
|
29
|
+
return this.estimateTo;
|
|
30
|
+
};
|
|
31
|
+
this.setEstimateTo = (value) => {
|
|
32
|
+
this.estimateTo = value;
|
|
33
|
+
};
|
|
34
|
+
this.getEpochEstimateFrom = () => {
|
|
35
|
+
return this.epochEstimateFrom;
|
|
36
|
+
};
|
|
37
|
+
this.setEpochEstimateFrom = (value) => {
|
|
38
|
+
this.epochEstimateFrom = value;
|
|
39
|
+
};
|
|
40
|
+
this.getEpochEstimateTo = () => {
|
|
41
|
+
return this.epochEstimateTo;
|
|
42
|
+
};
|
|
43
|
+
this.setEpochEstimateTo = (value) => {
|
|
44
|
+
this.epochEstimateTo = value;
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
exports.PickupResponse = PickupResponse;
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
51
|
+
__metadata("design:type", String)
|
|
52
|
+
], PickupResponse.prototype, "estimateDay", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], PickupResponse.prototype, "estimateFrom", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], PickupResponse.prototype, "estimateTo", void 0);
|
|
61
|
+
__decorate([
|
|
62
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
63
|
+
__metadata("design:type", Number)
|
|
64
|
+
], PickupResponse.prototype, "epochEstimateFrom", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
67
|
+
__metadata("design:type", Number)
|
|
68
|
+
], PickupResponse.prototype, "epochEstimateTo", void 0);
|
|
69
|
+
//# sourceMappingURL=pickupResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pickupResponse.js","sourceRoot":"","sources":["../../src/models/rate/pickupResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,cAAc;IAA3B;QAgBS,mBAAc,GAAG,GAAW,EAAE;YACnC,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC,CAAC;QAEK,mBAAc,GAAG,CAAC,KAAa,EAAE,EAAE;YACxC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC3B,CAAC,CAAC;QAEK,oBAAe,GAAG,GAAW,EAAE;YACpC,OAAO,IAAI,CAAC,YAAY,CAAC;QAC3B,CAAC,CAAC;QAEK,oBAAe,GAAG,CAAC,KAAa,EAAE,EAAE;YACzC,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC;QAC5B,CAAC,CAAC;QAEK,kBAAa,GAAG,GAAW,EAAE;YAClC,OAAO,IAAI,CAAC,UAAU,CAAC;QACzB,CAAC,CAAC;QAEK,kBAAa,GAAG,CAAC,KAAa,EAAE,EAAE;YACvC,IAAI,CAAC,UAAU,GAAG,KAAK,CAAC;QAC1B,CAAC,CAAC;QAEK,yBAAoB,GAAG,GAAW,EAAE;YACzC,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAChC,CAAC,CAAC;QAEK,yBAAoB,GAAG,CAAC,KAAa,EAAE,EAAE;YAC9C,IAAI,CAAC,iBAAiB,GAAG,KAAK,CAAC;QACjC,CAAC,CAAC;QAEK,uBAAkB,GAAG,GAAW,EAAE;YACvC,OAAO,IAAI,CAAC,eAAe,CAAC;QAC9B,CAAC,CAAC;QAEK,uBAAkB,GAAG,CAAC,KAAa,EAAE,EAAE;YAC5C,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC;QAC/B,CAAC,CAAC;IACJ,CAAC;CAAA;AAvDD,wCAuDC;AArDS;IADP,IAAA,4CAAS,GAAE;;mDACiB;AAGrB;IADP,IAAA,4CAAS,GAAE;;oDACkB;AAGtB;IADP,IAAA,4CAAS,GAAE;;kDACgB;AAGpB;IADP,IAAA,4CAAS,GAAE;;yDACuB;AAG3B;IADP,IAAA,4CAAS,GAAE;;uDACqB"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { PricingEntry } from '../merchant/strategies/pricingEntry';
|
|
2
|
+
import { DispatcherType } from '../merchant/strategies/speed/dispatcherType';
|
|
3
|
+
import { SpeedPricingType } from '../merchant/strategies/speed/speedPricingType';
|
|
4
|
+
import { DeliveryServiceType } from './deliveryServiceType';
|
|
5
|
+
export declare class RateResponse {
|
|
6
|
+
private price;
|
|
7
|
+
private service;
|
|
8
|
+
private deliveryService?;
|
|
9
|
+
private name;
|
|
10
|
+
private description;
|
|
11
|
+
private estimateDay;
|
|
12
|
+
private estimateFrom;
|
|
13
|
+
private estimateTo;
|
|
14
|
+
private epochEstimateFrom;
|
|
15
|
+
private epochEstimateTo;
|
|
16
|
+
private epochPickupEstimateFrom?;
|
|
17
|
+
private epochPickupEstimateTo?;
|
|
18
|
+
private pricingBreakdown;
|
|
19
|
+
private dispatcher?;
|
|
20
|
+
private destinationTimezone?;
|
|
21
|
+
private destinationPostalPrefix;
|
|
22
|
+
private originTimezone?;
|
|
23
|
+
private inTransitDays?;
|
|
24
|
+
private originFacility?;
|
|
25
|
+
private destinationFacility?;
|
|
26
|
+
getPrice: () => number;
|
|
27
|
+
setPrice: (value: number) => void;
|
|
28
|
+
getService: () => SpeedPricingType | undefined;
|
|
29
|
+
setService: (value: SpeedPricingType) => void;
|
|
30
|
+
getName: () => string;
|
|
31
|
+
setName: (value: string) => void;
|
|
32
|
+
getDescription: () => string;
|
|
33
|
+
setDescription: (value: string) => void;
|
|
34
|
+
getEstimateDay: () => string;
|
|
35
|
+
setEstimateDay: (value: string) => void;
|
|
36
|
+
getEstimateFrom: () => string;
|
|
37
|
+
setEstimateFrom: (value: string) => void;
|
|
38
|
+
getEstimateTo: () => string;
|
|
39
|
+
setEstimateTo: (value: string) => void;
|
|
40
|
+
getEpochEstimateFrom: () => number;
|
|
41
|
+
setEpochEstimateFrom: (value: number) => void;
|
|
42
|
+
getEpochEstimateTo: () => number;
|
|
43
|
+
setEpochEstimateTo: (value: number) => void;
|
|
44
|
+
getPickupEpochEstimateFrom: () => number | undefined;
|
|
45
|
+
setPickupEpochEstimateFrom: (value: number) => void;
|
|
46
|
+
getPickupEpochEstimateTo: () => number | undefined;
|
|
47
|
+
setPickupEpochEstimateTo: (value: number) => void;
|
|
48
|
+
getPricingBreakdown: () => PricingEntry[] | undefined;
|
|
49
|
+
setPricingBreakdown: (value: PricingEntry[]) => void;
|
|
50
|
+
getDispatcher: () => DispatcherType | undefined;
|
|
51
|
+
setDispatcher: (value: DispatcherType) => void;
|
|
52
|
+
getDestinationTimezone: () => string | undefined;
|
|
53
|
+
setDestinationTimezone: (value: string) => void;
|
|
54
|
+
getOriginTimezone: () => string | undefined;
|
|
55
|
+
setOriginTimezone: (value: string) => void;
|
|
56
|
+
getInTransitDays: () => number | undefined;
|
|
57
|
+
setInTransitDays: (value: number | undefined) => void;
|
|
58
|
+
getDeliveryService: () => DeliveryServiceType | undefined;
|
|
59
|
+
setDeliveryService: (deliveryServiceType: DeliveryServiceType | undefined) => void;
|
|
60
|
+
getDestinationPostalPrefix: () => string;
|
|
61
|
+
setDestinationPostalPrefix: (destinationPostalPrefix: string) => void;
|
|
62
|
+
getOriginFacility: () => string | undefined;
|
|
63
|
+
setOriginFacility: (facility: string | undefined) => void;
|
|
64
|
+
getDestinationFacility: () => string | undefined;
|
|
65
|
+
setDestinationFacility: (facility: string | undefined) => void;
|
|
66
|
+
}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.RateResponse = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const dispatcherType_1 = require("../merchant/strategies/speed/dispatcherType");
|
|
15
|
+
const speedPricingType_1 = require("../merchant/strategies/speed/speedPricingType");
|
|
16
|
+
class RateResponse {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.getPrice = () => {
|
|
19
|
+
return this.price;
|
|
20
|
+
};
|
|
21
|
+
this.setPrice = (value) => {
|
|
22
|
+
this.price = value;
|
|
23
|
+
};
|
|
24
|
+
this.getService = () => {
|
|
25
|
+
return this.service;
|
|
26
|
+
};
|
|
27
|
+
this.setService = (value) => {
|
|
28
|
+
this.service = value;
|
|
29
|
+
};
|
|
30
|
+
this.getName = () => {
|
|
31
|
+
return this.name;
|
|
32
|
+
};
|
|
33
|
+
this.setName = (value) => {
|
|
34
|
+
this.name = value;
|
|
35
|
+
};
|
|
36
|
+
this.getDescription = () => {
|
|
37
|
+
return this.description;
|
|
38
|
+
};
|
|
39
|
+
this.setDescription = (value) => {
|
|
40
|
+
this.description = value;
|
|
41
|
+
};
|
|
42
|
+
this.getEstimateDay = () => {
|
|
43
|
+
return this.estimateDay;
|
|
44
|
+
};
|
|
45
|
+
this.setEstimateDay = (value) => {
|
|
46
|
+
this.estimateDay = value;
|
|
47
|
+
};
|
|
48
|
+
this.getEstimateFrom = () => {
|
|
49
|
+
return this.estimateFrom;
|
|
50
|
+
};
|
|
51
|
+
this.setEstimateFrom = (value) => {
|
|
52
|
+
this.estimateFrom = value;
|
|
53
|
+
};
|
|
54
|
+
this.getEstimateTo = () => {
|
|
55
|
+
return this.estimateTo;
|
|
56
|
+
};
|
|
57
|
+
this.setEstimateTo = (value) => {
|
|
58
|
+
this.estimateTo = value;
|
|
59
|
+
};
|
|
60
|
+
this.getEpochEstimateFrom = () => {
|
|
61
|
+
return this.epochEstimateFrom;
|
|
62
|
+
};
|
|
63
|
+
this.setEpochEstimateFrom = (value) => {
|
|
64
|
+
this.epochEstimateFrom = value;
|
|
65
|
+
};
|
|
66
|
+
this.getEpochEstimateTo = () => {
|
|
67
|
+
return this.epochEstimateTo;
|
|
68
|
+
};
|
|
69
|
+
this.setEpochEstimateTo = (value) => {
|
|
70
|
+
this.epochEstimateTo = value;
|
|
71
|
+
};
|
|
72
|
+
this.getPickupEpochEstimateFrom = () => {
|
|
73
|
+
return this.epochPickupEstimateFrom;
|
|
74
|
+
};
|
|
75
|
+
this.setPickupEpochEstimateFrom = (value) => {
|
|
76
|
+
this.epochPickupEstimateFrom = value;
|
|
77
|
+
};
|
|
78
|
+
this.getPickupEpochEstimateTo = () => {
|
|
79
|
+
return this.epochPickupEstimateTo;
|
|
80
|
+
};
|
|
81
|
+
this.setPickupEpochEstimateTo = (value) => {
|
|
82
|
+
this.epochPickupEstimateTo = value;
|
|
83
|
+
};
|
|
84
|
+
this.getPricingBreakdown = () => {
|
|
85
|
+
return this.pricingBreakdown;
|
|
86
|
+
};
|
|
87
|
+
this.setPricingBreakdown = (value) => {
|
|
88
|
+
this.pricingBreakdown = value;
|
|
89
|
+
};
|
|
90
|
+
this.getDispatcher = () => {
|
|
91
|
+
return this.dispatcher;
|
|
92
|
+
};
|
|
93
|
+
this.setDispatcher = (value) => {
|
|
94
|
+
this.dispatcher = value;
|
|
95
|
+
};
|
|
96
|
+
this.getDestinationTimezone = () => {
|
|
97
|
+
return this.destinationTimezone;
|
|
98
|
+
};
|
|
99
|
+
this.setDestinationTimezone = (value) => {
|
|
100
|
+
this.destinationTimezone = value;
|
|
101
|
+
};
|
|
102
|
+
this.getOriginTimezone = () => {
|
|
103
|
+
return this.originTimezone;
|
|
104
|
+
};
|
|
105
|
+
this.setOriginTimezone = (value) => {
|
|
106
|
+
this.originTimezone = value;
|
|
107
|
+
};
|
|
108
|
+
this.getInTransitDays = () => {
|
|
109
|
+
return this.inTransitDays;
|
|
110
|
+
};
|
|
111
|
+
this.setInTransitDays = (value) => {
|
|
112
|
+
this.inTransitDays = value;
|
|
113
|
+
};
|
|
114
|
+
this.getDeliveryService = () => {
|
|
115
|
+
return this.deliveryService;
|
|
116
|
+
};
|
|
117
|
+
this.setDeliveryService = (deliveryServiceType) => {
|
|
118
|
+
this.deliveryService = deliveryServiceType;
|
|
119
|
+
};
|
|
120
|
+
this.getDestinationPostalPrefix = () => {
|
|
121
|
+
return this.destinationPostalPrefix;
|
|
122
|
+
};
|
|
123
|
+
this.setDestinationPostalPrefix = (destinationPostalPrefix) => {
|
|
124
|
+
this.destinationPostalPrefix = destinationPostalPrefix;
|
|
125
|
+
};
|
|
126
|
+
this.getOriginFacility = () => {
|
|
127
|
+
return this.originFacility;
|
|
128
|
+
};
|
|
129
|
+
this.setOriginFacility = (facility) => {
|
|
130
|
+
this.originFacility = facility;
|
|
131
|
+
};
|
|
132
|
+
this.getDestinationFacility = () => {
|
|
133
|
+
return this.destinationFacility;
|
|
134
|
+
};
|
|
135
|
+
this.setDestinationFacility = (facility) => {
|
|
136
|
+
this.destinationFacility = facility;
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.RateResponse = RateResponse;
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
143
|
+
__metadata("design:type", Number)
|
|
144
|
+
], RateResponse.prototype, "price", void 0);
|
|
145
|
+
__decorate([
|
|
146
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
147
|
+
__metadata("design:type", String)
|
|
148
|
+
], RateResponse.prototype, "service", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
151
|
+
__metadata("design:type", String)
|
|
152
|
+
], RateResponse.prototype, "deliveryService", void 0);
|
|
153
|
+
__decorate([
|
|
154
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
155
|
+
__metadata("design:type", String)
|
|
156
|
+
], RateResponse.prototype, "name", void 0);
|
|
157
|
+
__decorate([
|
|
158
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
159
|
+
__metadata("design:type", String)
|
|
160
|
+
], RateResponse.prototype, "description", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
163
|
+
__metadata("design:type", String)
|
|
164
|
+
], RateResponse.prototype, "estimateDay", void 0);
|
|
165
|
+
__decorate([
|
|
166
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
167
|
+
__metadata("design:type", String)
|
|
168
|
+
], RateResponse.prototype, "estimateFrom", void 0);
|
|
169
|
+
__decorate([
|
|
170
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
171
|
+
__metadata("design:type", String)
|
|
172
|
+
], RateResponse.prototype, "estimateTo", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
175
|
+
__metadata("design:type", Number)
|
|
176
|
+
], RateResponse.prototype, "epochEstimateFrom", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
179
|
+
__metadata("design:type", Number)
|
|
180
|
+
], RateResponse.prototype, "epochEstimateTo", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
183
|
+
__metadata("design:type", Number)
|
|
184
|
+
], RateResponse.prototype, "epochPickupEstimateFrom", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
187
|
+
__metadata("design:type", Number)
|
|
188
|
+
], RateResponse.prototype, "epochPickupEstimateTo", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
191
|
+
__metadata("design:type", Array)
|
|
192
|
+
], RateResponse.prototype, "pricingBreakdown", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
195
|
+
__metadata("design:type", String)
|
|
196
|
+
], RateResponse.prototype, "dispatcher", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
199
|
+
__metadata("design:type", String)
|
|
200
|
+
], RateResponse.prototype, "destinationTimezone", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
203
|
+
__metadata("design:type", String)
|
|
204
|
+
], RateResponse.prototype, "destinationPostalPrefix", void 0);
|
|
205
|
+
__decorate([
|
|
206
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
207
|
+
__metadata("design:type", String)
|
|
208
|
+
], RateResponse.prototype, "originTimezone", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
211
|
+
__metadata("design:type", Number)
|
|
212
|
+
], RateResponse.prototype, "inTransitDays", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
215
|
+
__metadata("design:type", String)
|
|
216
|
+
], RateResponse.prototype, "originFacility", void 0);
|
|
217
|
+
__decorate([
|
|
218
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
219
|
+
__metadata("design:type", String)
|
|
220
|
+
], RateResponse.prototype, "destinationFacility", void 0);
|
|
221
|
+
//# sourceMappingURL=rateResponse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rateResponse.js","sourceRoot":"","sources":["../../src/models/rate/rateResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,gFAA6E;AAC7E,oFAAiF;AAGjF,MAAa,YAAY;IAAzB;QA6DS,aAAQ,GAAG,GAAW,EAAE;YAC7B,OAAO,IAAI,CAAC,KAAK,CAAC;QACpB,CAAC,CAAC;QAEK,aAAQ,GAAG,CAAC,KAAa,EAAE,EAAE;YAClC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACrB,CAAC,CAAC;QAEK,eAAU,GAAG,GAAiC,EAAE;YACrD,OAAO,IAAI,CAAC,OAAO,CAAC;QACtB,CAAC,CAAC;QAEK,eAAU,GAAG,CAAC,KAAuB,EAAE,EAAE;YAC9C,IAAI,CAAC,OAAO,GAAG,KAAK,CAAC;QACvB,CAAC,CAAC;QAEK,YAAO,GAAG,GAAW,EAAE;YAC5B,OAAO,IAAI,CAAC,IAAI,CAAC;QACnB,CAAC,CAAC;QAEK,YAAO,GAAG,CAAC,KAAa,EAAE,EAAE;YACjC,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QACpB,CAAC,CAAC;QAEK,mBAAc,GAAG,GAAW,EAAE;YACnC,OAAO,IAAI,CAAC,WAAW,CAAC;QAC1B,CAAC,CAAC;QAEK,mBAAc,GAAG,CAAC,KAAa,EAAE,EAAE;YACxC,IAAI,CAAC,WAAW,GAAG,KAAK,CAAC;QAC3B,CAAC,CAAC;QAEK,mBAAc,GAAG,GAAW,EAAE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