@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
package/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Models
|
|
2
|
+
|
|
3
|
+
This is a shared repository that includes models that should be shared across all BoxKnight services.
|
|
4
|
+
Do not include anything for the controller, service or repository layers of your application in this package.
|
|
5
|
+
|
|
6
|
+
### Steps for publishing
|
|
7
|
+
* `chmod +x check.sh`
|
|
8
|
+
* `./check.sh`
|
|
9
|
+
* `git add -A && git commit -m "" && git pull`
|
|
10
|
+
* `npm version patch` -> This will automatically push to gitlab with tags which will trigger the publish job
|
|
@@ -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.Shop = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class Shop {
|
|
15
|
+
}
|
|
16
|
+
exports.Shop = Shop;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Shop.prototype, "platform", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Shop.prototype, "name", void 0);
|
|
25
|
+
//# sourceMappingURL=Shop.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Shop.js","sourceRoot":"","sources":["../../src/models/merchant/Shop.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,IAAI;CAMhB;AAND,oBAMC;AAJQ;IADN,IAAA,4CAAS,GAAE;;sCAC2C;AAGhD;IADN,IAAA,4CAAS,GAAE;;kCACS"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Location } from './location';
|
|
2
|
+
import { Recipient } from './recipient';
|
|
3
|
+
export declare class Address {
|
|
4
|
+
id: string;
|
|
5
|
+
createdAt: Date;
|
|
6
|
+
merchantId: string;
|
|
7
|
+
recipient: Recipient;
|
|
8
|
+
number: string;
|
|
9
|
+
street: string;
|
|
10
|
+
unit?: string;
|
|
11
|
+
postalCode: string;
|
|
12
|
+
city: string;
|
|
13
|
+
sublocality?: string;
|
|
14
|
+
province: string;
|
|
15
|
+
country: string;
|
|
16
|
+
location: Location;
|
|
17
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
const recipient_1 = require("./recipient");
|
|
18
|
+
let Address = class Address {
|
|
19
|
+
};
|
|
20
|
+
exports.Address = Address;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.autoGeneratedHashKey)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Address.prototype, "id", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)({ defaultProvider: () => new Date().toISOString() }),
|
|
27
|
+
__metadata("design:type", Date)
|
|
28
|
+
], Address.prototype, "createdAt", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], Address.prototype, "merchantId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)({ memberType: (0, dynamodb_data_mapper_1.embed)(recipient_1.Recipient) }),
|
|
35
|
+
(0, class_transformer_1.Type)(() => recipient_1.Recipient),
|
|
36
|
+
__metadata("design:type", recipient_1.Recipient)
|
|
37
|
+
], Address.prototype, "recipient", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], Address.prototype, "number", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], Address.prototype, "street", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
49
|
+
], Address.prototype, "unit", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], Address.prototype, "postalCode", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], Address.prototype, "city", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], Address.prototype, "sublocality", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
64
|
+
__metadata("design:type", String)
|
|
65
|
+
], Address.prototype, "province", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], Address.prototype, "country", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)({ memberType: (0, dynamodb_data_mapper_1.embed)(location_1.Location) }),
|
|
72
|
+
(0, class_transformer_1.Type)(() => location_1.Location),
|
|
73
|
+
__metadata("design:type", location_1.Location)
|
|
74
|
+
], Address.prototype, "location", void 0);
|
|
75
|
+
exports.Address = Address = __decorate([
|
|
76
|
+
(0, dynamodb_data_mapper_annotations_1.table)('Addresses')
|
|
77
|
+
], Address);
|
|
78
|
+
//# sourceMappingURL=address.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"address.js","sourceRoot":"","sources":["../../../src/models/merchant/address/address.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,oEAAkD;AAClD,4FAA+F;AAC/F,yDAAyC;AACzC,yCAAsC;AACtC,2CAAwC;AAGjC,IAAM,OAAO,GAAb,MAAM,OAAO;CAyCnB,CAAA;AAzCY,0BAAO;AAEX;IADN,IAAA,uDAAoB,GAAE;;mCACJ;AAGZ;IADN,IAAA,4CAAS,EAAC,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC;8BAC5C,IAAI;0CAAC;AAGjB;IADN,IAAA,4CAAS,GAAE;;2CACe;AAIpB;IAFN,IAAA,4CAAS,EAAC,EAAE,UAAU,EAAE,IAAA,4BAAK,EAAC,qBAAS,CAAC,EAAE,CAAC;IAC3C,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAS,CAAC;8BACH,qBAAS;0CAAC;AAGtB;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;kBAxChB,OAAO;IADnB,IAAA,wCAAK,EAAC,WAAW,CAAC;GACN,OAAO,CAyCnB"}
|
|
@@ -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.Location = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class Location {
|
|
15
|
+
}
|
|
16
|
+
exports.Location = Location;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Number)
|
|
20
|
+
], Location.prototype, "lat", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], Location.prototype, "lng", void 0);
|
|
25
|
+
//# sourceMappingURL=location.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"location.js","sourceRoot":"","sources":["../../../src/models/merchant/address/location.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,QAAQ;CAMpB;AAND,4BAMC;AAJQ;IADN,IAAA,4CAAS,GAAE;;qCACQ;AAGb;IADN,IAAA,4CAAS,GAAE;;qCACQ"}
|
|
@@ -0,0 +1,29 @@
|
|
|
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.Recipient = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class Recipient {
|
|
15
|
+
}
|
|
16
|
+
exports.Recipient = Recipient;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], Recipient.prototype, "phone", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], Recipient.prototype, "name", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], Recipient.prototype, "notes", void 0);
|
|
29
|
+
//# sourceMappingURL=recipient.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"recipient.js","sourceRoot":"","sources":["../../../src/models/merchant/address/recipient.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,SAAS;CASrB;AATD,8BASC;AAPQ;IADN,IAAA,4CAAS,GAAE;;wCACU;AAGf;IADN,IAAA,4CAAS,GAAE;;uCACS;AAGd;IADN,IAAA,4CAAS,GAAE;;wCACU"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DeliveryConstraint } from './deliveryConstraint';
|
|
2
|
+
export declare class DatedDeliveryConstraint extends DeliveryConstraint {
|
|
3
|
+
date: string | undefined;
|
|
4
|
+
epochEstimateFrom?: number | undefined;
|
|
5
|
+
epochEstimateTo?: number | undefined;
|
|
6
|
+
epochPickupEstimateFrom?: number | undefined;
|
|
7
|
+
epochPickupEstimateTo?: number | undefined;
|
|
8
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.DatedDeliveryConstraint = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const deliveryConstraint_1 = require("./deliveryConstraint");
|
|
15
|
+
let DatedDeliveryConstraint = class DatedDeliveryConstraint extends deliveryConstraint_1.DeliveryConstraint {
|
|
16
|
+
};
|
|
17
|
+
exports.DatedDeliveryConstraint = DatedDeliveryConstraint;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], DatedDeliveryConstraint.prototype, "date", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", Object)
|
|
25
|
+
], DatedDeliveryConstraint.prototype, "epochEstimateFrom", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
|
+
], DatedDeliveryConstraint.prototype, "epochEstimateTo", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", Object)
|
|
33
|
+
], DatedDeliveryConstraint.prototype, "epochPickupEstimateFrom", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
|
+
], DatedDeliveryConstraint.prototype, "epochPickupEstimateTo", void 0);
|
|
38
|
+
exports.DatedDeliveryConstraint = DatedDeliveryConstraint = __decorate([
|
|
39
|
+
(0, dynamodb_data_mapper_annotations_1.table)('DatedDeliveryConstraint')
|
|
40
|
+
], DatedDeliveryConstraint);
|
|
41
|
+
//# sourceMappingURL=datedDeliveryConstraint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datedDeliveryConstraint.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/datedDeliveryConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AACzE,6DAA0D;AAGnD,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,uCAAkB;CAe9D,CAAA;AAfY,0DAAuB;AAE3B;IADN,IAAA,4CAAS,GAAE;;qDACoB;AAGzB;IADN,IAAA,4CAAS,GAAE;;kEACkC;AAGvC;IADN,IAAA,4CAAS,GAAE;;gEACgC;AAGrC;IADN,IAAA,4CAAS,GAAE;;wEACwC;AAG7C;IADN,IAAA,4CAAS,GAAE;;sEACsC;kCAdvC,uBAAuB;IADnC,IAAA,wCAAK,EAAC,yBAAyB,CAAC;GACpB,uBAAuB,CAenC"}
|
|
@@ -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.DatedPickupConstraint = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const pickupConstraint_1 = require("./pickupConstraint");
|
|
15
|
+
let DatedPickupConstraint = class DatedPickupConstraint extends pickupConstraint_1.PickupConstraint {
|
|
16
|
+
};
|
|
17
|
+
exports.DatedPickupConstraint = DatedPickupConstraint;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], DatedPickupConstraint.prototype, "date", void 0);
|
|
22
|
+
exports.DatedPickupConstraint = DatedPickupConstraint = __decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.table)('DatedPickupConstraint')
|
|
24
|
+
], DatedPickupConstraint);
|
|
25
|
+
//# sourceMappingURL=datedPickupConstraint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"datedPickupConstraint.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/datedPickupConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AACzE,yDAAsD;AAG/C,IAAM,qBAAqB,GAA3B,MAAM,qBAAsB,SAAQ,mCAAgB;CAG1D,CAAA;AAHY,sDAAqB;AAEzB;IADN,IAAA,4CAAS,GAAE;;mDACoB;gCAFrB,qBAAqB;IADjC,IAAA,wCAAK,EAAC,uBAAuB,CAAC;GAClB,qBAAqB,CAGjC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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.DeliveryConstraint = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
let DeliveryConstraint = class DeliveryConstraint {
|
|
15
|
+
};
|
|
16
|
+
exports.DeliveryConstraint = DeliveryConstraint;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Object)
|
|
20
|
+
], DeliveryConstraint.prototype, "pickupWindow", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], DeliveryConstraint.prototype, "deliveryWindow", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
27
|
+
__metadata("design:type", Object)
|
|
28
|
+
], DeliveryConstraint.prototype, "cutoffTime", void 0);
|
|
29
|
+
exports.DeliveryConstraint = DeliveryConstraint = __decorate([
|
|
30
|
+
(0, dynamodb_data_mapper_annotations_1.table)('DeliveryConstraint')
|
|
31
|
+
], DeliveryConstraint);
|
|
32
|
+
//# sourceMappingURL=deliveryConstraint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveryConstraint.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/deliveryConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AAIlE,IAAM,kBAAkB,GAAxB,MAAM,kBAAkB;CAO9B,CAAA;AAPY,gDAAkB;AAEtB;IADN,IAAA,4CAAS,GAAE;;wDACgC;AAErC;IADN,IAAA,4CAAS,GAAE;;0DACkC;AAEvC;IADN,IAAA,4CAAS,GAAE;;sDAC0B;6BAN3B,kBAAkB;IAD9B,IAAA,wCAAK,EAAC,oBAAoB,CAAC;GACf,kBAAkB,CAO9B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatedDeliveryConstraint } from '../constraints/datedDeliveryConstraint';
|
|
2
|
+
import { WeekDayDeliveryConstraint } from '../constraints/weekdayDeliveryConstraint';
|
|
3
|
+
export declare class DeliveryConstraintsByWeek {
|
|
4
|
+
usuals: WeekDayDeliveryConstraint[] | undefined;
|
|
5
|
+
exceptions: DatedDeliveryConstraint[] | undefined;
|
|
6
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.DeliveryConstraintsByWeek = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
let DeliveryConstraintsByWeek = class DeliveryConstraintsByWeek {
|
|
15
|
+
};
|
|
16
|
+
exports.DeliveryConstraintsByWeek = DeliveryConstraintsByWeek;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Object)
|
|
20
|
+
], DeliveryConstraintsByWeek.prototype, "usuals", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], DeliveryConstraintsByWeek.prototype, "exceptions", void 0);
|
|
25
|
+
exports.DeliveryConstraintsByWeek = DeliveryConstraintsByWeek = __decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.table)('DeliveryConstraintsByWeek')
|
|
27
|
+
], DeliveryConstraintsByWeek);
|
|
28
|
+
//# sourceMappingURL=deliveryConstraintsByWeek.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deliveryConstraintsByWeek.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/deliveryConstraintsByWeek.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AAKlE,IAAM,yBAAyB,GAA/B,MAAM,yBAAyB;CAMrC,CAAA;AANY,8DAAyB;AAE7B;IADN,IAAA,4CAAS,GAAE;;yDAC2C;AAGhD;IADN,IAAA,4CAAS,GAAE;;6DAC6C;oCAL9C,yBAAyB;IADrC,IAAA,wCAAK,EAAC,2BAA2B,CAAC;GACtB,yBAAyB,CAMrC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.PickupConstraint = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
let PickupConstraint = class PickupConstraint {
|
|
15
|
+
};
|
|
16
|
+
exports.PickupConstraint = PickupConstraint;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Object)
|
|
20
|
+
], PickupConstraint.prototype, "pickupWindow", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], PickupConstraint.prototype, "cutoffTime", void 0);
|
|
25
|
+
exports.PickupConstraint = PickupConstraint = __decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.table)('PickupConstraint')
|
|
27
|
+
], PickupConstraint);
|
|
28
|
+
//# sourceMappingURL=pickupConstraint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pickupConstraint.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/pickupConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AAIlE,IAAM,gBAAgB,GAAtB,MAAM,gBAAgB;CAK5B,CAAA;AALY,4CAAgB;AAEpB;IADN,IAAA,4CAAS,GAAE;;sDACgC;AAErC;IADN,IAAA,4CAAS,GAAE;;oDAC0B;2BAJ3B,gBAAgB;IAD5B,IAAA,wCAAK,EAAC,kBAAkB,CAAC;GACb,gBAAgB,CAK5B"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { DatedPickupConstraint } from '../constraints/datedPickupConstraint';
|
|
2
|
+
import { WeekDayPickupConstraint } from '../constraints/weekdayPickupConstraint';
|
|
3
|
+
export declare class PickupConstraintsByWeek {
|
|
4
|
+
usuals: WeekDayPickupConstraint[] | undefined;
|
|
5
|
+
exceptions: DatedPickupConstraint[] | undefined;
|
|
6
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.PickupConstraintsByWeek = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
let PickupConstraintsByWeek = class PickupConstraintsByWeek {
|
|
15
|
+
};
|
|
16
|
+
exports.PickupConstraintsByWeek = PickupConstraintsByWeek;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Object)
|
|
20
|
+
], PickupConstraintsByWeek.prototype, "usuals", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], PickupConstraintsByWeek.prototype, "exceptions", void 0);
|
|
25
|
+
exports.PickupConstraintsByWeek = PickupConstraintsByWeek = __decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.table)('PickupConstraintsByWeek')
|
|
27
|
+
], PickupConstraintsByWeek);
|
|
28
|
+
//# sourceMappingURL=pickupConstraintsByWeek.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pickupConstraintsByWeek.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/pickupConstraintsByWeek.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AAKlE,IAAM,uBAAuB,GAA7B,MAAM,uBAAuB;CAMnC,CAAA;AANY,0DAAuB;AAE3B;IADN,IAAA,4CAAS,GAAE;;uDACyC;AAG9C;IADN,IAAA,4CAAS,GAAE;;2DAC2C;kCAL5C,uBAAuB;IADnC,IAAA,wCAAK,EAAC,yBAAyB,CAAC;GACpB,uBAAuB,CAMnC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
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.TimeWindow = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
let TimeWindow = class TimeWindow {
|
|
15
|
+
};
|
|
16
|
+
exports.TimeWindow = TimeWindow;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Object)
|
|
20
|
+
], TimeWindow.prototype, "timeStart", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], TimeWindow.prototype, "timeEnd", void 0);
|
|
25
|
+
exports.TimeWindow = TimeWindow = __decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.table)('TimeWindow')
|
|
27
|
+
], TimeWindow);
|
|
28
|
+
//# sourceMappingURL=timeWindow.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"timeWindow.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/timeWindow.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AAGlE,IAAM,UAAU,GAAhB,MAAM,UAAU;CAMtB,CAAA;AANY,gCAAU;AAEd;IADN,IAAA,4CAAS,GAAE;;6CACyB;AAG9B;IADN,IAAA,4CAAS,GAAE;;2CACuB;qBALxB,UAAU;IADtB,IAAA,wCAAK,EAAC,YAAY,CAAC;GACP,UAAU,CAMtB"}
|
|
@@ -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.WeekDayDeliveryConstraint = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const deliveryConstraint_1 = require("./deliveryConstraint");
|
|
15
|
+
let WeekDayDeliveryConstraint = class WeekDayDeliveryConstraint extends deliveryConstraint_1.DeliveryConstraint {
|
|
16
|
+
};
|
|
17
|
+
exports.WeekDayDeliveryConstraint = WeekDayDeliveryConstraint;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], WeekDayDeliveryConstraint.prototype, "weekday", void 0);
|
|
22
|
+
exports.WeekDayDeliveryConstraint = WeekDayDeliveryConstraint = __decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.table)('WeekDayDeliveryConstraint')
|
|
24
|
+
], WeekDayDeliveryConstraint);
|
|
25
|
+
//# sourceMappingURL=weekdayDeliveryConstraint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weekdayDeliveryConstraint.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/weekdayDeliveryConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AACzE,6DAA0D;AAGnD,IAAM,yBAAyB,GAA/B,MAAM,yBAA0B,SAAQ,uCAAkB;CAGhE,CAAA;AAHY,8DAAyB;AAE7B;IADN,IAAA,4CAAS,GAAE;;0DACuB;oCAFxB,yBAAyB;IADrC,IAAA,wCAAK,EAAC,2BAA2B,CAAC;GACtB,yBAAyB,CAGrC"}
|
|
@@ -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.WeekDayPickupConstraint = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const pickupConstraint_1 = require("./pickupConstraint");
|
|
15
|
+
let WeekDayPickupConstraint = class WeekDayPickupConstraint extends pickupConstraint_1.PickupConstraint {
|
|
16
|
+
};
|
|
17
|
+
exports.WeekDayPickupConstraint = WeekDayPickupConstraint;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
20
|
+
__metadata("design:type", Object)
|
|
21
|
+
], WeekDayPickupConstraint.prototype, "weekday", void 0);
|
|
22
|
+
exports.WeekDayPickupConstraint = WeekDayPickupConstraint = __decorate([
|
|
23
|
+
(0, dynamodb_data_mapper_annotations_1.table)('WeekDayPickupConstraint')
|
|
24
|
+
], WeekDayPickupConstraint);
|
|
25
|
+
//# sourceMappingURL=weekdayPickupConstraint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"weekdayPickupConstraint.js","sourceRoot":"","sources":["../../../src/models/merchant/constraints/weekdayPickupConstraint.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAyE;AACzE,yDAAsD;AAG/C,IAAM,uBAAuB,GAA7B,MAAM,uBAAwB,SAAQ,mCAAgB;CAG5D,CAAA;AAHY,0DAAuB;AAE3B;IADN,IAAA,4CAAS,GAAE;;wDACuB;kCAFxB,uBAAuB;IADnC,IAAA,wCAAK,EAAC,yBAAyB,CAAC;GACpB,uBAAuB,CAGnC"}
|