@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,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.CustomNotifications = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class CustomNotifications {
|
|
15
|
+
}
|
|
16
|
+
exports.CustomNotifications = CustomNotifications;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], CustomNotifications.prototype, "en", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], CustomNotifications.prototype, "fr", void 0);
|
|
25
|
+
//# sourceMappingURL=customNotifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customNotifications.js","sourceRoot":"","sources":["../../src/models/merchant/customNotifications.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,mBAAmB;CAM/B;AAND,kDAMC;AAJQ;IADN,IAAA,4CAAS,GAAE;;+CACO;AAGZ;IADN,IAAA,4CAAS,GAAE;;+CACO"}
|
|
@@ -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.EmailNotifications = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
class EmailNotifications {
|
|
15
|
+
}
|
|
16
|
+
exports.EmailNotifications = EmailNotifications;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
19
|
+
__metadata("design:type", Boolean)
|
|
20
|
+
], EmailNotifications.prototype, "orderCreated", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
23
|
+
__metadata("design:type", Boolean)
|
|
24
|
+
], EmailNotifications.prototype, "outForDelivery", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
27
|
+
__metadata("design:type", Boolean)
|
|
28
|
+
], EmailNotifications.prototype, "taskStarted", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
31
|
+
__metadata("design:type", Boolean)
|
|
32
|
+
], EmailNotifications.prototype, "taskCompletedFailed", void 0);
|
|
33
|
+
//# sourceMappingURL=emailNotifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"emailNotifications.js","sourceRoot":"","sources":["../../src/models/merchant/emailNotifications.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAElE,MAAa,kBAAkB;CAY9B;AAZD,gDAYC;AAVQ;IADN,IAAA,4CAAS,GAAE;;wDACkB;AAGvB;IADN,IAAA,4CAAS,GAAE;;0DACoB;AAGzB;IADN,IAAA,4CAAS,GAAE;;uDACiB;AAGtB;IADN,IAAA,4CAAS,GAAE;;+DACyB"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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.IntegrationInfo = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
let IntegrationInfo = class IntegrationInfo {
|
|
15
|
+
};
|
|
16
|
+
exports.IntegrationInfo = IntegrationInfo;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, dynamodb_data_mapper_annotations_1.autoGeneratedHashKey)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], IntegrationInfo.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)({ defaultProvider: () => new Date() }),
|
|
23
|
+
__metadata("design:type", Date)
|
|
24
|
+
], IntegrationInfo.prototype, "createdAt", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], IntegrationInfo.prototype, "merchantId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], IntegrationInfo.prototype, "token", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], IntegrationInfo.prototype, "platform", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], IntegrationInfo.prototype, "appInstanceId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], IntegrationInfo.prototype, "storeUrl", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], IntegrationInfo.prototype, "storeName", void 0);
|
|
49
|
+
exports.IntegrationInfo = IntegrationInfo = __decorate([
|
|
50
|
+
(0, dynamodb_data_mapper_annotations_1.table)('IntegrationInfos')
|
|
51
|
+
], IntegrationInfo);
|
|
52
|
+
//# sourceMappingURL=integrationInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrationInfo.js","sourceRoot":"","sources":["../../src/models/merchant/integrationInfo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAA+F;AAGxF,IAAM,eAAe,GAArB,MAAM,eAAe;CAwB3B,CAAA;AAxBY,0CAAe;AAEnB;IADN,IAAA,uDAAoB,GAAE;;2CACJ;AAGZ;IADN,IAAA,4CAAS,EAAC,EAAE,eAAe,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,EAAE,EAAE,CAAC;8BAC9B,IAAI;kDAAC;AAGjB;IADN,IAAA,4CAAS,GAAE;;mDACe;AAGpB;IADN,IAAA,4CAAS,GAAE;;8CACU;AAGf;IADN,IAAA,4CAAS,GAAE;;iDACa;AAGlB;IADN,IAAA,4CAAS,GAAE;;sDACkB;AAGvB;IADN,IAAA,4CAAS,GAAE;;iDACa;AAGlB;IADN,IAAA,4CAAS,GAAE;;kDACc;0BAvBf,eAAe;IAD3B,IAAA,wCAAK,EAAC,kBAAkB,CAAC;GACb,eAAe,CAwB3B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LabelingFormatType = void 0;
|
|
4
|
+
var LabelingFormatType;
|
|
5
|
+
(function (LabelingFormatType) {
|
|
6
|
+
/**
|
|
7
|
+
* Signature unwanted
|
|
8
|
+
*/
|
|
9
|
+
LabelingFormatType["ZPL"] = "ZPL";
|
|
10
|
+
/**
|
|
11
|
+
* Signature required
|
|
12
|
+
*/
|
|
13
|
+
LabelingFormatType["PDF"] = "PDF";
|
|
14
|
+
})(LabelingFormatType || (exports.LabelingFormatType = LabelingFormatType = {}));
|
|
15
|
+
//# sourceMappingURL=labelingFormatType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"labelingFormatType.js","sourceRoot":"","sources":["../../src/models/merchant/labelingFormatType.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBASX;AATD,WAAY,kBAAkB;IAC5B;;OAEG;IACH,iCAAW,CAAA;IACX;;OAEG;IACH,iCAAW,CAAA;AACb,CAAC,EATW,kBAAkB,kCAAlB,kBAAkB,QAS7B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MappingParameterType } from './mappingParameterType';
|
|
2
|
+
export declare class MappingItem {
|
|
3
|
+
private from;
|
|
4
|
+
private to;
|
|
5
|
+
getFrom: () => MappingParameterType;
|
|
6
|
+
setFrom: (value: MappingParameterType) => void;
|
|
7
|
+
getTo: () => MappingParameterType;
|
|
8
|
+
setTo: (value: MappingParameterType) => void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.MappingItem = void 0;
|
|
13
|
+
const dynamodb_data_mapper_annotations_1 = require("@aws/dynamodb-data-mapper-annotations");
|
|
14
|
+
const mappingParameterType_1 = require("./mappingParameterType");
|
|
15
|
+
class MappingItem {
|
|
16
|
+
constructor() {
|
|
17
|
+
this.getFrom = () => {
|
|
18
|
+
return this.from;
|
|
19
|
+
};
|
|
20
|
+
this.setFrom = (value) => {
|
|
21
|
+
this.from = value;
|
|
22
|
+
};
|
|
23
|
+
this.getTo = () => {
|
|
24
|
+
return this.to;
|
|
25
|
+
};
|
|
26
|
+
this.setTo = (value) => {
|
|
27
|
+
this.to = value;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
exports.MappingItem = MappingItem;
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], MappingItem.prototype, "from", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, dynamodb_data_mapper_annotations_1.attribute)(),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], MappingItem.prototype, "to", void 0);
|
|
40
|
+
//# sourceMappingURL=mappingItem.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappingItem.js","sourceRoot":"","sources":["../../src/models/merchant/mappingItem.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,4FAAkE;AAClE,iEAA8D;AAE9D,MAAa,WAAW;IAAxB;QAOS,YAAO,GAAG,GAAyB,EAAE;YAC1C,OAAO,IAAI,CAAC,IAAI,CAAC;QACnB,CAAC,CAAC;QAEK,YAAO,GAAG,CAAC,KAA2B,EAAE,EAAE;YAC/C,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QACpB,CAAC,CAAC;QAEK,UAAK,GAAG,GAAyB,EAAE;YACxC,OAAO,IAAI,CAAC,EAAE,CAAC;QACjB,CAAC,CAAC;QAEK,UAAK,GAAG,CAAC,KAA2B,EAAE,EAAE;YAC7C,IAAI,CAAC,EAAE,GAAG,KAAK,CAAC;QAClB,CAAC,CAAC;IACJ,CAAC;CAAA;AAtBD,kCAsBC;AApBS;IADP,IAAA,4CAAS,GAAE;;yCACwB;AAG5B;IADP,IAAA,4CAAS,GAAE;;uCACsB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MappingParameterType = void 0;
|
|
4
|
+
var MappingParameterType;
|
|
5
|
+
(function (MappingParameterType) {
|
|
6
|
+
MappingParameterType["ORIGIN_UNIT"] = "ORIGIN_UNIT";
|
|
7
|
+
MappingParameterType["MERCHANT_DISPLAY_NAME"] = "MERCHANT_DISPLAY_NAME";
|
|
8
|
+
})(MappingParameterType || (exports.MappingParameterType = MappingParameterType = {}));
|
|
9
|
+
//# sourceMappingURL=mappingParameterType.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mappingParameterType.js","sourceRoot":"","sources":["../../src/models/merchant/mappingParameterType.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAGX;AAHD,WAAY,oBAAoB;IAC9B,mDAA2B,CAAA;IAC3B,uEAA+C,CAAA;AACjD,CAAC,EAHW,oBAAoB,oCAApB,oBAAoB,QAG/B"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import { Address } from './address/address';
|
|
2
|
+
import { DeliveryConstraintsByWeek } from './constraints/deliveryConstraintsByWeek';
|
|
3
|
+
import { PickupConstraintsByWeek } from './constraints/pickupConstraintsByWeek';
|
|
4
|
+
import { CustomNotifications } from './customNotifications';
|
|
5
|
+
import { EmailNotifications } from './emailNotifications';
|
|
6
|
+
import { LabelingFormatType } from './labelingFormatType';
|
|
7
|
+
import { MappingItem } from './mappingItem';
|
|
8
|
+
import { MerchantDisplayLogoUrl } from './merchantDisplayLogoUrl';
|
|
9
|
+
import { MerchantLocation } from './merchantLocation';
|
|
10
|
+
import { OtherLocation } from './otherLocation';
|
|
11
|
+
import { RateShowingOptionType } from './rateShowingOptionType';
|
|
12
|
+
import { Report } from './report';
|
|
13
|
+
import { ShipHero } from './shipHero';
|
|
14
|
+
import { ShippingRule } from './shippingRule';
|
|
15
|
+
import { Shipstation } from './shipstation';
|
|
16
|
+
import { Shop } from './Shop';
|
|
17
|
+
import { StatusType } from './status';
|
|
18
|
+
import { LocationPricing } from './strategies/location/locationPricing';
|
|
19
|
+
import { NamedPricingStrategy } from './strategies/namedPricingStrategy';
|
|
20
|
+
import { TaskTimeCreationType } from './taskTimeCreationType';
|
|
21
|
+
import { Webhooks } from './webhooks';
|
|
22
|
+
import { Zone } from './zone';
|
|
23
|
+
export declare class Merchant {
|
|
24
|
+
private id;
|
|
25
|
+
private createdAt;
|
|
26
|
+
private name;
|
|
27
|
+
private createPickup;
|
|
28
|
+
private scanningRequired;
|
|
29
|
+
private signatureRequired;
|
|
30
|
+
private createOnePackagePerItem;
|
|
31
|
+
private merchantLocation;
|
|
32
|
+
private services;
|
|
33
|
+
private locationPricing;
|
|
34
|
+
private labelingFormat;
|
|
35
|
+
private taskTimeCreation;
|
|
36
|
+
private deliveryConstraintsByWeek;
|
|
37
|
+
private pickupConstraintsByWeek;
|
|
38
|
+
private scheduledDeliveryPickupConstraintsByWeek;
|
|
39
|
+
private otherLocations;
|
|
40
|
+
private personalizedNotes;
|
|
41
|
+
private pickupNotes;
|
|
42
|
+
private maxWindowDays;
|
|
43
|
+
private rateShowingOptionType;
|
|
44
|
+
private shipstation?;
|
|
45
|
+
private shipHero?;
|
|
46
|
+
private shopifyShop?;
|
|
47
|
+
private shops?;
|
|
48
|
+
private webhooks?;
|
|
49
|
+
private thirdPartyId;
|
|
50
|
+
private phone?;
|
|
51
|
+
private addEstimatedDelivery?;
|
|
52
|
+
private geocodedAddressWithCoordinate?;
|
|
53
|
+
private useGeocodedAddressWithCoordinate?;
|
|
54
|
+
private inTransitDays;
|
|
55
|
+
private zones?;
|
|
56
|
+
private shippingRules?;
|
|
57
|
+
private freshFood?;
|
|
58
|
+
private orderTags?;
|
|
59
|
+
private customNotifications?;
|
|
60
|
+
private emailNotifications?;
|
|
61
|
+
private timeZone?;
|
|
62
|
+
private email?;
|
|
63
|
+
private retailerEmailNotifications?;
|
|
64
|
+
private phoneOptional?;
|
|
65
|
+
private logoUrl?;
|
|
66
|
+
private additionalLocations?;
|
|
67
|
+
private apiRequestMappings?;
|
|
68
|
+
private merchantDisplayLogoUrls?;
|
|
69
|
+
private reports?;
|
|
70
|
+
private minimumAge?;
|
|
71
|
+
private goboltOrgId?;
|
|
72
|
+
private goboltPickupCustomerId?;
|
|
73
|
+
private status?;
|
|
74
|
+
private archivedAt?;
|
|
75
|
+
private archivedBy?;
|
|
76
|
+
private lastRedactedAt?;
|
|
77
|
+
private dataRedactionEnabled?;
|
|
78
|
+
getId: () => string;
|
|
79
|
+
setId: (value: string) => void;
|
|
80
|
+
getCreatedAt: () => Date;
|
|
81
|
+
setCreatedAt: (value: Date) => void;
|
|
82
|
+
getName: () => string;
|
|
83
|
+
setName: (value: string) => void;
|
|
84
|
+
getMerchantLocation: () => MerchantLocation;
|
|
85
|
+
setMerchantLocation: (value: MerchantLocation) => void;
|
|
86
|
+
getServices: () => NamedPricingStrategy[];
|
|
87
|
+
setServices: (value: NamedPricingStrategy[]) => void;
|
|
88
|
+
getLocationPricing: () => LocationPricing;
|
|
89
|
+
setLocationPricing: (value: LocationPricing) => void;
|
|
90
|
+
getDeliveryConstraintsByWeek: () => DeliveryConstraintsByWeek;
|
|
91
|
+
setDeliveryConstraintsByWeek: (value: DeliveryConstraintsByWeek) => void;
|
|
92
|
+
getPickupConstraintsByWeek: () => PickupConstraintsByWeek;
|
|
93
|
+
setPickupConstraintsByWeek: (value: PickupConstraintsByWeek) => void;
|
|
94
|
+
getScheduledDeliveryPickupConstraintsByWeek: () => DeliveryConstraintsByWeek;
|
|
95
|
+
setscheduledDeliveryPickupConstraintsByWeek: (value: DeliveryConstraintsByWeek) => void;
|
|
96
|
+
getLabelingFormat: () => LabelingFormatType;
|
|
97
|
+
setLabelingFormat: (value: LabelingFormatType) => void;
|
|
98
|
+
getTaskTimeCreation: () => TaskTimeCreationType;
|
|
99
|
+
setTaskTimeCreation: (value: TaskTimeCreationType) => void;
|
|
100
|
+
getCreatePickup: () => boolean;
|
|
101
|
+
setCreatePickup: (value: boolean) => void;
|
|
102
|
+
getSignatureRequired: () => boolean;
|
|
103
|
+
setSignatureRequired: (value: boolean) => void;
|
|
104
|
+
getScanningRequired: () => boolean;
|
|
105
|
+
setScanningRequired: (value: boolean) => void;
|
|
106
|
+
getCreateOnePackagePerItem: () => boolean;
|
|
107
|
+
setCreateOnePackagePerItem: (value: boolean) => void;
|
|
108
|
+
getOtherLocations: () => OtherLocation[];
|
|
109
|
+
setOtherLocations: (value: OtherLocation[]) => void;
|
|
110
|
+
getPickupNotes: () => string;
|
|
111
|
+
setPickupNotes: (value: string) => void;
|
|
112
|
+
getPersonalizedNotes: () => string;
|
|
113
|
+
setPersonalizedNotes: (value: string) => void;
|
|
114
|
+
getMaxWindowDays: () => number;
|
|
115
|
+
setMaxWindowDays: (value: number) => void;
|
|
116
|
+
getRateShowingOptionType: () => RateShowingOptionType;
|
|
117
|
+
setRateShowingOptionType: (value: RateShowingOptionType) => void;
|
|
118
|
+
getShipstation: () => Shipstation | undefined;
|
|
119
|
+
setShipstation: (value: Shipstation) => void;
|
|
120
|
+
getShipHero: () => ShipHero | undefined;
|
|
121
|
+
setShipHero: (value: ShipHero) => void;
|
|
122
|
+
getShopifyShop: () => string | undefined;
|
|
123
|
+
setShopifyShop: (shopifyShop: string) => void;
|
|
124
|
+
getShops: () => Shop[] | undefined;
|
|
125
|
+
setShops: (shops: Shop[]) => void;
|
|
126
|
+
getWebhooks: () => Webhooks | undefined;
|
|
127
|
+
setWebhooks: (value: Webhooks) => void;
|
|
128
|
+
getThirdPartyId: () => string;
|
|
129
|
+
setThirdPartyId: (value: string) => void;
|
|
130
|
+
getPhone: () => string | undefined;
|
|
131
|
+
setPhone: (value: string) => void;
|
|
132
|
+
getAddEstimatedDelivery: () => boolean | undefined;
|
|
133
|
+
setAddEstimatedDelivery: (value: boolean) => void;
|
|
134
|
+
getGeocodedAddressWithCoordinate: () => Address | undefined;
|
|
135
|
+
setGeocodedAddressWithCoordinate: (value: Address) => void;
|
|
136
|
+
getUseGeocodedAddressWithCoordinate: () => boolean | undefined;
|
|
137
|
+
setUseGeocodedAddressWithCoordinate: (value: boolean) => void;
|
|
138
|
+
getInTransitDays: () => number;
|
|
139
|
+
setInTransitDays: (value: number) => void;
|
|
140
|
+
getZones: () => Zone[] | undefined;
|
|
141
|
+
setZones: (value: Zone[]) => void;
|
|
142
|
+
getShippingRules: () => ShippingRule[] | undefined;
|
|
143
|
+
setShippingRules: (value: ShippingRule[]) => void;
|
|
144
|
+
getFreshFood: () => boolean | undefined;
|
|
145
|
+
setFreshFood: (value: boolean) => void;
|
|
146
|
+
getOrderTags: () => string[] | undefined;
|
|
147
|
+
setOrderTags: (value: string[]) => void;
|
|
148
|
+
getCustomNotifications: () => CustomNotifications | undefined;
|
|
149
|
+
setCustomNotifications: (value: CustomNotifications) => void;
|
|
150
|
+
getEmailNotifications: () => EmailNotifications | undefined;
|
|
151
|
+
setEmailNotifications: (value: EmailNotifications) => void;
|
|
152
|
+
getTimeZone: () => string | undefined;
|
|
153
|
+
setTimeZone: (value: string) => void;
|
|
154
|
+
getEmail: () => string | undefined;
|
|
155
|
+
setEmail: (value: string) => void;
|
|
156
|
+
getRetailerEmailNotifications: () => EmailNotifications | undefined;
|
|
157
|
+
setRetailerEmailNotifications: (value: EmailNotifications) => void;
|
|
158
|
+
getPhoneOptional: () => boolean | undefined;
|
|
159
|
+
setPhoneOptional: (value: boolean) => void;
|
|
160
|
+
getLogoUrl: () => string | undefined;
|
|
161
|
+
setLogoUrl: (value: string) => void;
|
|
162
|
+
getAdditionalLocations: () => MerchantLocation[] | undefined;
|
|
163
|
+
setAdditionalLocations: (value: MerchantLocation[]) => void;
|
|
164
|
+
getApiRequestMappings: () => MappingItem[] | undefined;
|
|
165
|
+
setApiRequestMappings: (value: MappingItem[]) => void;
|
|
166
|
+
getMerchantDisplayLogoUrls: () => MerchantDisplayLogoUrl[] | undefined;
|
|
167
|
+
setMerchantDisplayLogoUrls: (value: MerchantDisplayLogoUrl[]) => void;
|
|
168
|
+
getReports: () => Report[] | undefined;
|
|
169
|
+
setReports: (value: Report[]) => void;
|
|
170
|
+
getMinimumAge: () => number | undefined;
|
|
171
|
+
setMinimumAge: (value: number) => void;
|
|
172
|
+
getGoboltOrgId: () => string | undefined;
|
|
173
|
+
setGoboltOrgId: (value: string) => void;
|
|
174
|
+
getGoboltPickupCustomerId: () => string | undefined;
|
|
175
|
+
setGoboltPickupCustomerId: (value: string) => void;
|
|
176
|
+
getStatus: () => "ACTIVE" | "ARCHIVED" | undefined;
|
|
177
|
+
setStatus: (value: StatusType) => void;
|
|
178
|
+
getArchivedAt: () => number | undefined;
|
|
179
|
+
setArchivedAt: (value: number) => void;
|
|
180
|
+
getArchivedBy: () => string | undefined;
|
|
181
|
+
setArchivedBy: (value: string) => void;
|
|
182
|
+
getLastRedactedAt: () => number | undefined;
|
|
183
|
+
setLastRedactedAt: (value: number) => void;
|
|
184
|
+
getDataRedactionEnabled: () => boolean | undefined;
|
|
185
|
+
setDataRedactionEnabled: (value: boolean) => void;
|
|
186
|
+
}
|