@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,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SpeedPricingType = void 0;
|
|
4
|
+
var SpeedPricingType;
|
|
5
|
+
(function (SpeedPricingType) {
|
|
6
|
+
/**
|
|
7
|
+
* Next calendar day
|
|
8
|
+
*/
|
|
9
|
+
SpeedPricingType["NEXTDAY"] = "NEXTDAY";
|
|
10
|
+
/**
|
|
11
|
+
* Same calendar day
|
|
12
|
+
*/
|
|
13
|
+
SpeedPricingType["SAMEDAY"] = "SAMEDAY";
|
|
14
|
+
/**
|
|
15
|
+
* Given a window of delivery
|
|
16
|
+
*/
|
|
17
|
+
SpeedPricingType["SCHEDULED"] = "SCHEDULED";
|
|
18
|
+
/**
|
|
19
|
+
* Delivery window is given once order arrives in the warehouse
|
|
20
|
+
*/
|
|
21
|
+
SpeedPricingType["CUSTOMER_BOOKING"] = "CUSTOMER_BOOKING";
|
|
22
|
+
/**
|
|
23
|
+
* Delivery window is a range of days set by a third party
|
|
24
|
+
*/
|
|
25
|
+
SpeedPricingType["FLEX"] = "FLEX";
|
|
26
|
+
/**
|
|
27
|
+
* NEXTDAY, BUT ONLY CALCULATE WINDOW WHEN PICKUPREADY
|
|
28
|
+
*/
|
|
29
|
+
SpeedPricingType["STANDARD"] = "STANDARD";
|
|
30
|
+
/**
|
|
31
|
+
* NEXTDAY, BUT PICKUP SAME DAY AS DELIVERY
|
|
32
|
+
*/
|
|
33
|
+
SpeedPricingType["NEXTDAYPLUS"] = "NEXTDAYPLUS";
|
|
34
|
+
})(SpeedPricingType || (exports.SpeedPricingType = SpeedPricingType = {}));
|
|
35
|
+
//# sourceMappingURL=speedPricingType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"speedPricingType.js","sourceRoot":"","sources":["../../../../src/models/merchant/strategies/speed/speedPricingType.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBA6BX;AA7BD,WAAY,gBAAgB;IAC1B;;OAEG;IACH,uCAAmB,CAAA;IACnB;;OAEG;IACH,uCAAmB,CAAA;IACnB;;OAEG;IACH,2CAAuB,CAAA;IACvB;;OAEG;IACH,yDAAqC,CAAA;IACrC;;OAEG;IACH,iCAAa,CAAA;IACb;;OAEG;IACH,yCAAqB,CAAA;IACrB;;OAEG;IACH,+CAA2B,CAAA;AAC7B,CAAC,EA7BW,gBAAgB,gCAAhB,gBAAgB,QA6B3B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.WeightOptions = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class WeightOptions {
|
|
15
|
+
}
|
|
16
|
+
exports.WeightOptions = WeightOptions;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], WeightOptions.prototype, "weight", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], WeightOptions.prototype, "unit", void 0);
|
|
25
|
+
//# sourceMappingURL=weightOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weightOptions.js","sourceRoot":"","sources":["../../../../src/models/merchant/strategies/weight/weightOptions.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,aAAa;CAMzB;AAND,sCAMC;AAJQ;IADN,IAAA,4CAAS,GAAE;;6CACW;AAGhB;IADN,IAAA,4CAAS,GAAE;;2CACS"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.WeightPricing = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const pricingStrategy_1 = require("../pricingStrategy");
|
|
15
|
+
class WeightPricing extends pricingStrategy_1.PricingStrategy {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.pricingRows = new Array();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.WeightPricing = WeightPricing;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", Array)
|
|
25
|
+
], WeightPricing.prototype, "pricingRows", void 0);
|
|
26
|
+
//# sourceMappingURL=weightPricing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weightPricing.js","sourceRoot":"","sources":["../../../../src/models/merchant/strategies/weight/weightPricing.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAClE,wDAAqD;AAGrD,MAAa,aAAc,SAAQ,iCAAe;IAAlD;;QAES,gBAAW,GAAuB,IAAI,KAAK,EAAoB,CAAC;IACzE,CAAC;CAAA;AAHD,sCAGC;AADQ;IADN,IAAA,4CAAS,GAAE;;kDAC2D"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.WeightPricingRow = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const pricingRow_1 = require("../pricingRow");
|
|
15
|
+
class WeightPricingRow extends pricingRow_1.PricingRow {
|
|
16
|
+
constructor(weight, price) {
|
|
17
|
+
super(price);
|
|
18
|
+
this.weightInPounds = weight;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.WeightPricingRow = WeightPricingRow;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", Number)
|
|
25
|
+
], WeightPricingRow.prototype, "weightInPounds", void 0);
|
|
26
|
+
//# sourceMappingURL=weightPricingRow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weightPricingRow.js","sourceRoot":"","sources":["../../../../src/models/merchant/strategies/weight/weightPricingRow.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAClE,8CAA2C;AAE3C,MAAa,gBAAiB,SAAQ,uBAAU;IAI9C,YAAY,MAAc,EAAE,KAAa;QACvC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,cAAc,GAAG,MAAM,CAAC;IAC/B,CAAC;CACF;AARD,4CAQC;AANQ;IADN,IAAA,4CAAS,GAAE;;wDACkB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum TaskTimeCreationType {
|
|
2
|
+
/**
|
|
3
|
+
* Created automatically the task with window
|
|
4
|
+
*/
|
|
5
|
+
AUTO = "AUTO",
|
|
6
|
+
/**
|
|
7
|
+
* Create patch the time when the order is ready for pickup
|
|
8
|
+
*/
|
|
9
|
+
ONPICKUPREADY = "ONPICKUPREADY",
|
|
10
|
+
/**
|
|
11
|
+
* Need manual patching
|
|
12
|
+
*/
|
|
13
|
+
MANUAL = "MANUAL"
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TaskTimeCreationType = void 0;
|
|
4
|
+
var TaskTimeCreationType;
|
|
5
|
+
(function (TaskTimeCreationType) {
|
|
6
|
+
/**
|
|
7
|
+
* Created automatically the task with window
|
|
8
|
+
*/
|
|
9
|
+
TaskTimeCreationType["AUTO"] = "AUTO";
|
|
10
|
+
/**
|
|
11
|
+
* Create patch the time when the order is ready for pickup
|
|
12
|
+
*/
|
|
13
|
+
TaskTimeCreationType["ONPICKUPREADY"] = "ONPICKUPREADY";
|
|
14
|
+
/**
|
|
15
|
+
* Need manual patching
|
|
16
|
+
*/
|
|
17
|
+
TaskTimeCreationType["MANUAL"] = "MANUAL";
|
|
18
|
+
})(TaskTimeCreationType || (exports.TaskTimeCreationType = TaskTimeCreationType = {}));
|
|
19
|
+
//# sourceMappingURL=taskTimeCreationType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"taskTimeCreationType.js","sourceRoot":"","sources":["../../src/models/merchant/taskTimeCreationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAaX;AAbD,WAAY,oBAAoB;IAC9B;;OAEG;IACH,qCAAa,CAAA;IACb;;OAEG;IACH,uDAA+B,CAAA;IAC/B;;OAEG;IACH,yCAAiB,CAAA;AACnB,CAAC,EAbW,oBAAoB,oCAApB,oBAAoB,QAa/B"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.WebhookItem = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class WebhookItem {
|
|
15
|
+
}
|
|
16
|
+
exports.WebhookItem = WebhookItem;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], WebhookItem.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], WebhookItem.prototype, "url", void 0);
|
|
25
|
+
//# sourceMappingURL=webhookItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhookItem.js","sourceRoot":"","sources":["../../src/models/merchant/webhookItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,WAAW;CAMvB;AAND,kCAMC;AAJQ;IADN,IAAA,4CAAS,GAAE;;uCACO;AAGZ;IADN,IAAA,4CAAS,GAAE;;wCACQ"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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.Webhooks = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class Webhooks {
|
|
15
|
+
}
|
|
16
|
+
exports.Webhooks = Webhooks;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Array)
|
|
20
|
+
], Webhooks.prototype, "deliveryCreated", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Array)
|
|
24
|
+
], Webhooks.prototype, "deliveryStarted", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
27
|
+
__metadata("design:type", Array)
|
|
28
|
+
], Webhooks.prototype, "deliveryCompleted", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
31
|
+
__metadata("design:type", Array)
|
|
32
|
+
], Webhooks.prototype, "deliveryFailed", void 0);
|
|
33
|
+
//# sourceMappingURL=webhooks.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webhooks.js","sourceRoot":"","sources":["../../src/models/merchant/webhooks.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAGlE,MAAa,QAAQ;CAYpB;AAZD,4BAYC;AAVQ;IADN,IAAA,4CAAS,GAAE;;iDAC2B;AAGhC;IADN,IAAA,4CAAS,GAAE;;iDAC2B;AAGhC;IADN,IAAA,4CAAS,GAAE;;mDAC6B;AAGlC;IADN,IAAA,4CAAS,GAAE;;gDAC0B"}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.Zone = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const locationPricing_1 = require("./strategies/location/locationPricing");
|
|
15
|
+
class Zone {
|
|
16
|
+
}
|
|
17
|
+
exports.Zone = Zone;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], Zone.prototype, "name", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], Zone.prototype, "timezone", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", locationPricing_1.LocationPricing)
|
|
29
|
+
], Zone.prototype, "locationPricing", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Zone.prototype, "facility", void 0);
|
|
34
|
+
//# sourceMappingURL=zone.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"zone.js","sourceRoot":"","sources":["../../src/models/merchant/zone.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAClE,2EAAwE;AAExE,MAAa,IAAI;CAYhB;AAZD,oBAYC;AAVQ;IADN,IAAA,4CAAS,GAAE;;kCACS;AAGd;IADN,IAAA,4CAAS,GAAE;;sCACa;AAGlB;IADN,IAAA,4CAAS,GAAE;8BACa,iCAAe;6CAAC;AAGlC;IADN,IAAA,4CAAS,GAAE;;sCACa"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare class OrderItem {
|
|
2
|
+
refNumber?: string;
|
|
3
|
+
sku?: string;
|
|
4
|
+
name: string;
|
|
5
|
+
imageUrl?: string;
|
|
6
|
+
quantity: number;
|
|
7
|
+
unitPrice?: number;
|
|
8
|
+
taxAmount?: number;
|
|
9
|
+
warehouseLocation?: string;
|
|
10
|
+
productId?: number;
|
|
11
|
+
fulfillmentSku?: string;
|
|
12
|
+
upc?: string;
|
|
13
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.OrderItem = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class OrderItem {
|
|
15
|
+
}
|
|
16
|
+
exports.OrderItem = OrderItem;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], OrderItem.prototype, "refNumber", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], OrderItem.prototype, "sku", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], OrderItem.prototype, "name", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], OrderItem.prototype, "imageUrl", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
35
|
+
__metadata("design:type", Number)
|
|
36
|
+
], OrderItem.prototype, "quantity", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], OrderItem.prototype, "unitPrice", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
43
|
+
__metadata("design:type", Number)
|
|
44
|
+
], OrderItem.prototype, "taxAmount", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], OrderItem.prototype, "warehouseLocation", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], OrderItem.prototype, "productId", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], OrderItem.prototype, "fulfillmentSku", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
59
|
+
__metadata("design:type", String)
|
|
60
|
+
], OrderItem.prototype, "upc", void 0);
|
|
61
|
+
//# sourceMappingURL=OrderItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderItem.js","sourceRoot":"","sources":["../../src/models/order/OrderItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,SAAS;CAiCrB;AAjCD,8BAiCC;AA/BQ;IADN,IAAA,4CAAS,GAAE;;4CACc;AAGnB;IADN,IAAA,4CAAS,GAAE;;sCACQ;AAGb;IADN,IAAA,4CAAS,GAAE;;uCACS;AAGd;IADN,IAAA,4CAAS,GAAE;;2CACa;AAGlB;IADN,IAAA,4CAAS,GAAE;;2CACa;AAGlB;IADN,IAAA,4CAAS,GAAE;;4CACc;AAGnB;IADN,IAAA,4CAAS,GAAE;;4CACc;AAGnB;IADN,IAAA,4CAAS,GAAE;;oDACsB;AAG3B;IADN,IAAA,4CAAS,GAAE;;4CACc;AAGnB;IADN,IAAA,4CAAS,GAAE;;iDACmB;AAGxB;IADN,IAAA,4CAAS,GAAE;;sCACQ"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Location } from './location';
|
|
2
|
+
export declare class Address {
|
|
3
|
+
number: string;
|
|
4
|
+
street: string;
|
|
5
|
+
unit?: string;
|
|
6
|
+
postalCode: string;
|
|
7
|
+
city: string;
|
|
8
|
+
sublocality?: string;
|
|
9
|
+
province: string;
|
|
10
|
+
country: string;
|
|
11
|
+
location: Location;
|
|
12
|
+
isBusinessAddress?: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
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.Address = void 0;
|
|
13
|
+
const dynamodb_data_mapper_1 = require("@aws/dynamodb-data-mapper");
|
|
14
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
15
|
+
const class_transformer_1 = require("class-transformer");
|
|
16
|
+
const location_1 = require("./location");
|
|
17
|
+
class Address {
|
|
18
|
+
}
|
|
19
|
+
exports.Address = Address;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], Address.prototype, "number", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], Address.prototype, "street", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
30
|
+
__metadata("design:type", String)
|
|
31
|
+
], Address.prototype, "unit", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], Address.prototype, "postalCode", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], Address.prototype, "city", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], Address.prototype, "sublocality", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], Address.prototype, "province", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], Address.prototype, "country", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)({ memberType: (0, dynamodb_data_mapper_1.embed)(location_1.Location) }),
|
|
54
|
+
(0, class_transformer_1.Type)(() => location_1.Location),
|
|
55
|
+
__metadata("design:type", location_1.Location)
|
|
56
|
+
], Address.prototype, "location", void 0);
|
|
57
|
+
__decorate([
|
|
58
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
59
|
+
__metadata("design:type", Boolean)
|
|
60
|
+
], Address.prototype, "isBusinessAddress", void 0);
|
|
61
|
+
//# sourceMappingURL=address.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../src/models/order/address.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oEAAkD;AAClD,4FAAkE;AAClE,yDAAyC;AACzC,yCAAsC;AAEtC,MAAa,OAAO;CA+BnB;AA/BD,0BA+BC;AA7BQ;IADN,IAAA,4CAAS,GAAE;;uCACW;AAGhB;IADN,IAAA,4CAAS,GAAE;;uCACW;AAGhB;IADN,IAAA,4CAAS,GAAE;;qCACS;AAGd;IADN,IAAA,4CAAS,GAAE;;2CACe;AAGpB;IADN,IAAA,4CAAS,GAAE;;qCACS;AAGd;IADN,IAAA,4CAAS,GAAE;;4CACgB;AAGrB;IADN,IAAA,4CAAS,GAAE;;yCACa;AAGlB;IADN,IAAA,4CAAS,GAAE;;wCACY;AAIjB;IAFN,IAAA,4CAAS,EAAC,EAAE,UAAU,EAAE,IAAA,4BAAK,EAAC,mBAAQ,CAAC,EAAE,CAAC;IAC1C,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,mBAAQ,CAAC;8BACH,mBAAQ;yCAAC;AAGpB;IADN,IAAA,4CAAS,GAAE;;kDACuB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.CustomField = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class CustomField {
|
|
15
|
+
}
|
|
16
|
+
exports.CustomField = CustomField;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CustomField.prototype, "name", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CustomField.prototype, "value", void 0);
|
|
25
|
+
//# sourceMappingURL=customField.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customField.js","sourceRoot":"","sources":["../../src/models/order/customField.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,WAAW;CAMvB;AAND,kCAMC;AAJQ;IADN,IAAA,4CAAS,GAAE;;yCACS;AAGd;IADN,IAAA,4CAAS,GAAE;;0CACU"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeliveryClassification = void 0;
|
|
4
|
+
var DeliveryClassification;
|
|
5
|
+
(function (DeliveryClassification) {
|
|
6
|
+
DeliveryClassification["PARCEL"] = "PARCEL";
|
|
7
|
+
DeliveryClassification["HEAVY"] = "HEAVY";
|
|
8
|
+
})(DeliveryClassification || (exports.DeliveryClassification = DeliveryClassification = {}));
|
|
9
|
+
//# sourceMappingURL=deliveryClassificationType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveryClassificationType.js","sourceRoot":"","sources":["../../src/models/order/deliveryClassificationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAGX;AAHD,WAAY,sBAAsB;IAChC,2CAAiB,CAAA;IACjB,yCAAe,CAAA;AACjB,CAAC,EAHW,sBAAsB,sCAAtB,sBAAsB,QAGjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dtoAddress.js","sourceRoot":"","sources":["../../src/models/order/dtoAddress.ts"],"names":[],"mappings":";;;AAAA,MAAa,UAAU;CActB;AAdD,gCAcC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EmailTrigger = void 0;
|
|
4
|
+
var EmailTrigger;
|
|
5
|
+
(function (EmailTrigger) {
|
|
6
|
+
EmailTrigger["taskCreated"] = "taskCreated";
|
|
7
|
+
EmailTrigger["taskStarted"] = "taskStarted";
|
|
8
|
+
EmailTrigger["taskCompleted"] = "taskCompleted";
|
|
9
|
+
EmailTrigger["taskFailed"] = "taskFailed";
|
|
10
|
+
})(EmailTrigger || (exports.EmailTrigger = EmailTrigger = {}));
|
|
11
|
+
//# sourceMappingURL=emailTrigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailTrigger.js","sourceRoot":"","sources":["../../src/models/order/emailTrigger.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,2CAA6B,CAAA;IAC7B,2CAA6B,CAAA;IAC7B,+CAAiC,CAAA;IACjC,yCAA2B,CAAA;AAC7B,CAAC,EALW,YAAY,4BAAZ,YAAY,QAKvB"}
|
|
@@ -0,0 +1,25 @@
|
|
|
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.Event = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class Event {
|
|
15
|
+
}
|
|
16
|
+
exports.Event = Event;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], Event.prototype, "time", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Event.prototype, "location", void 0);
|
|
25
|
+
//# sourceMappingURL=event.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event.js","sourceRoot":"","sources":["../../src/models/order/event.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,KAAK;CAMjB;AAND,sBAMC;AAJQ;IADN,IAAA,4CAAS,GAAE;;mCACS;AAGd;IADN,IAAA,4CAAS,GAAE;;uCACa"}
|