cmp-aws-database 1.2.0-dev.8 → 1.2.0-proddebug.10
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/dist/base-model.js +12 -5
- package/dist/config/table-names.d.ts +4 -0
- package/dist/config/table-names.js +7 -3
- package/dist/customer-user/accompaniments/accompaniments-model.d.ts +2 -0
- package/dist/customer-user/accompaniments/accompaniments-model.js +38 -14
- package/dist/customer-user/add-ons/add-ons-model.js +38 -18
- package/dist/customer-user/app-feedback/app-feedback-model.js +16 -7
- package/dist/customer-user/bank-details/bank-details-model.js +18 -8
- package/dist/customer-user/cart/cart-categories-model.d.ts +4 -0
- package/dist/customer-user/cart/cart-categories-model.js +30 -10
- package/dist/customer-user/cart/cart-model.d.ts +40 -17
- package/dist/customer-user/cart/cart-model.js +132 -64
- package/dist/customer-user/category/category-model.js +16 -7
- package/dist/customer-user/catering/catering-model.js +28 -13
- package/dist/customer-user/content/content-model.js +28 -13
- package/dist/customer-user/counter/counter-model.js +14 -6
- package/dist/customer-user/coupons/coupons-model.d.ts +3 -3
- package/dist/customer-user/coupons/coupons-model.js +44 -21
- package/dist/customer-user/cuisine/cuisine-model.js +14 -6
- package/dist/customer-user/cutlery/cutlery-model.d.ts +1 -0
- package/dist/customer-user/cutlery/cutlery-model.js +34 -14
- package/dist/customer-user/default-platter/default-platters-category-model.js +24 -11
- package/dist/customer-user/default-platter/default-platters-model.d.ts +1 -0
- package/dist/customer-user/default-platter/default-platters-model.js +46 -19
- package/dist/customer-user/default-platter/default_platters_items.d.ts +1 -0
- package/dist/customer-user/default-platter/default_platters_items.js +38 -16
- package/dist/customer-user/event-executives/event-executive-model.js +22 -10
- package/dist/customer-user/example-model.js +12 -5
- package/dist/customer-user/feedbacks/common-feedback-model.js +18 -8
- package/dist/customer-user/findmyplatter/find-my-platter-dao.d.ts +6 -0
- package/dist/customer-user/findmyplatter/find-my-platter-dao.js +8 -0
- package/dist/customer-user/findmyplatter/find-my-platter-model.d.ts +21 -0
- package/dist/customer-user/findmyplatter/find-my-platter-model.js +93 -0
- package/dist/customer-user/guest-feedback/guest-feedback-model.js +16 -7
- package/dist/customer-user/items/items-model.d.ts +1 -0
- package/dist/customer-user/items/items-model.js +46 -20
- package/dist/customer-user/lead/lead-model.js +32 -15
- package/dist/customer-user/lsq-crm-activity/lsq-crm-model.js +28 -13
- package/dist/customer-user/occastion/occasion-model.js +16 -7
- package/dist/customer-user/order-module/address/address-model.js +40 -19
- package/dist/customer-user/order-module/address/user-address-request-model.js +22 -10
- package/dist/customer-user/order-module/order/order-model.js +66 -32
- package/dist/customer-user/order-module/order-address/address-order-model.js +40 -19
- package/dist/customer-user/order-module/order-review/order-review-feedback-model.d.ts +9 -2
- package/dist/customer-user/order-module/order-review/order-review-feedback-model.js +41 -16
- package/dist/customer-user/order-module/order-review/order-review-model.d.ts +1 -1
- package/dist/customer-user/order-module/order-review/order-review-model.js +26 -12
- package/dist/customer-user/order-module/payment/payment-model.d.ts +3 -3
- package/dist/customer-user/order-module/payment/payment-model.js +56 -27
- package/dist/customer-user/order-module/plate-order/plate-order-model.d.ts +12 -0
- package/dist/customer-user/order-module/plate-order/plate-order-model.js +248 -99
- package/dist/customer-user/order-module/tracking/tracking-model.d.ts +1 -1
- package/dist/customer-user/order-module/tracking/tracking-model.js +22 -10
- package/dist/customer-user/platter-search-events/platter-search-events-model.js +20 -9
- package/dist/customer-user/pricing-factors/pricing-factors-dao.d.ts +7 -0
- package/dist/customer-user/pricing-factors/pricing-factors-dao.js +16 -0
- package/dist/customer-user/pricing-factors/pricing-factors-model.d.ts +12 -0
- package/dist/customer-user/pricing-factors/pricing-factors-model.js +57 -0
- package/dist/customer-user/referal-content/referal-content-model.js +22 -10
- package/dist/customer-user/request-Invoice/request-invoice-model.js +16 -7
- package/dist/customer-user/skewers/skewers-dao.d.ts +6 -0
- package/dist/customer-user/skewers/skewers-dao.js +8 -0
- package/dist/customer-user/skewers/skewers-model.d.ts +23 -0
- package/dist/customer-user/skewers/skewers-model.js +101 -0
- package/dist/customer-user/tier-details/tier-details-model.d.ts +2 -0
- package/dist/customer-user/tier-details/tier-details-model.js +34 -12
- package/dist/customer-user/tier-referral/tier-referral-model.js +18 -8
- package/dist/customer-user/user/user-model.js +24 -11
- package/dist/customer-user/user/user-specifics-dao.d.ts +6 -0
- package/dist/customer-user/user/user-specifics-dao.js +8 -0
- package/dist/customer-user/user/user-specifics-model.d.ts +5 -0
- package/dist/customer-user/user/user-specifics-model.js +29 -0
- package/dist/customer-user/user-order-summary/user-order-summary-model.js +14 -6
- package/dist/customer-user/wallet/wallet-model.js +14 -6
- package/dist/customer-user/wallet-transaction/wallet-transaction-model.js +26 -12
- package/dist/customer-user/withdrawn/withdrawn-model.js +18 -8
- package/dist/internal-user/activity-logs/activity-logs-model.js +16 -7
- package/dist/internal-user/internal-user-model.js +20 -9
- package/dist/internal-user/quotations/quotation-model.js +46 -22
- package/package.json +3 -2
|
@@ -5,6 +5,9 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
|
5
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
6
|
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
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
|
+
};
|
|
8
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
12
|
exports.QuotationModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,71 +16,92 @@ let QuotationModel = class QuotationModel extends base_model_1.BaseModel {
|
|
|
13
16
|
};
|
|
14
17
|
exports.QuotationModel = QuotationModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
19
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], QuotationModel.prototype, "quotationId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)()
|
|
23
|
+
(0, annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], QuotationModel.prototype, "platterType", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)()
|
|
27
|
+
(0, annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
23
29
|
], QuotationModel.prototype, "eventCategory", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)()
|
|
31
|
+
(0, annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
26
33
|
], QuotationModel.prototype, "minimumPax", void 0);
|
|
27
34
|
__decorate([
|
|
28
|
-
(0, annotations_1.attribute)()
|
|
35
|
+
(0, annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
29
37
|
], QuotationModel.prototype, "imageUrl", void 0);
|
|
30
38
|
__decorate([
|
|
31
|
-
(0, annotations_1.attribute)()
|
|
39
|
+
(0, annotations_1.attribute)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
32
41
|
], QuotationModel.prototype, "maximumPax", void 0);
|
|
33
42
|
__decorate([
|
|
34
|
-
(0, annotations_1.attribute)()
|
|
43
|
+
(0, annotations_1.attribute)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
35
45
|
], QuotationModel.prototype, "menuType", void 0);
|
|
36
46
|
__decorate([
|
|
37
|
-
(0, annotations_1.attribute)()
|
|
47
|
+
(0, annotations_1.attribute)(),
|
|
48
|
+
__metadata("design:type", Number)
|
|
38
49
|
], QuotationModel.prototype, "minPrice", void 0);
|
|
39
50
|
__decorate([
|
|
40
|
-
(0, annotations_1.attribute)()
|
|
51
|
+
(0, annotations_1.attribute)(),
|
|
52
|
+
__metadata("design:type", Number)
|
|
41
53
|
], QuotationModel.prototype, "maxPrice", void 0);
|
|
42
54
|
__decorate([
|
|
43
55
|
(0, annotations_1.attribute)({
|
|
44
56
|
indexKeyConfigurations: { "statusIndex": "HASH" }, type: 'String'
|
|
45
|
-
})
|
|
57
|
+
}),
|
|
58
|
+
__metadata("design:type", String)
|
|
46
59
|
], QuotationModel.prototype, "status", void 0);
|
|
47
60
|
__decorate([
|
|
48
|
-
(0, annotations_1.attribute)()
|
|
61
|
+
(0, annotations_1.attribute)(),
|
|
62
|
+
__metadata("design:type", String)
|
|
49
63
|
], QuotationModel.prototype, "platterName", void 0);
|
|
50
64
|
__decorate([
|
|
51
|
-
(0, annotations_1.attribute)()
|
|
65
|
+
(0, annotations_1.attribute)(),
|
|
66
|
+
__metadata("design:type", String)
|
|
52
67
|
], QuotationModel.prototype, "menuLocation", void 0);
|
|
53
68
|
__decorate([
|
|
54
|
-
(0, annotations_1.attribute)()
|
|
69
|
+
(0, annotations_1.attribute)(),
|
|
70
|
+
__metadata("design:type", QuotationModel)
|
|
55
71
|
], QuotationModel.prototype, "previous_v1", void 0);
|
|
56
72
|
__decorate([
|
|
57
|
-
(0, annotations_1.attribute)()
|
|
73
|
+
(0, annotations_1.attribute)(),
|
|
74
|
+
__metadata("design:type", QuotationModel)
|
|
58
75
|
], QuotationModel.prototype, "previous_v2", void 0);
|
|
59
76
|
__decorate([
|
|
60
|
-
(0, annotations_1.attribute)()
|
|
77
|
+
(0, annotations_1.attribute)(),
|
|
78
|
+
__metadata("design:type", Number)
|
|
61
79
|
], QuotationModel.prototype, "updateCount", void 0);
|
|
62
80
|
__decorate([
|
|
63
|
-
(0, annotations_1.attribute)()
|
|
81
|
+
(0, annotations_1.attribute)(),
|
|
82
|
+
__metadata("design:type", Array)
|
|
64
83
|
], QuotationModel.prototype, "assigneeIds", void 0);
|
|
65
84
|
__decorate([
|
|
66
|
-
(0, annotations_1.attribute)()
|
|
85
|
+
(0, annotations_1.attribute)(),
|
|
86
|
+
__metadata("design:type", Array)
|
|
67
87
|
], QuotationModel.prototype, "approvedBy", void 0);
|
|
68
88
|
__decorate([
|
|
69
|
-
(0, annotations_1.attribute)()
|
|
89
|
+
(0, annotations_1.attribute)(),
|
|
90
|
+
__metadata("design:type", Number)
|
|
70
91
|
], QuotationModel.prototype, "minQuotePrice", void 0);
|
|
71
92
|
__decorate([
|
|
72
|
-
(0, annotations_1.attribute)()
|
|
93
|
+
(0, annotations_1.attribute)(),
|
|
94
|
+
__metadata("design:type", String)
|
|
73
95
|
], QuotationModel.prototype, "followUpdate", void 0);
|
|
74
96
|
__decorate([
|
|
75
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "quoteGroupIdIndex": "HASH" }, type: 'String' })
|
|
97
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "quoteGroupIdIndex": "HASH" }, type: 'String' }),
|
|
98
|
+
__metadata("design:type", String)
|
|
76
99
|
], QuotationModel.prototype, "quoteGroupId", void 0);
|
|
77
100
|
__decorate([
|
|
78
|
-
(0, annotations_1.attribute)()
|
|
101
|
+
(0, annotations_1.attribute)(),
|
|
102
|
+
__metadata("design:type", Object)
|
|
79
103
|
], QuotationModel.prototype, "updated_user", void 0);
|
|
80
104
|
exports.QuotationModel = QuotationModel = __decorate([
|
|
81
105
|
(0, annotations_1.table)("QuotationTable")
|
|
82
106
|
], QuotationModel);
|
|
83
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
107
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVvdGF0aW9uLW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ludGVybmFsLXVzZXIvcXVvdGF0aW9ucy9xdW90YXRpb24tbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsdURBQStFO0FBQy9FLGlEQUE2QztBQUl0Q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XI7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBhc3NpZ25lZUlkcz86IHN0cmluZ1tdO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgYXBwcm92ZWRCeT86IHN0cmluZ1tdO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgbWluUXVvdGVQcmljZT86IG51bWJlcjtcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGZvbGxvd1VwZGF0ZT86IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwicXVvdGVHcm91cElkSW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZycgfSlcbiAgICBxdW90ZUdyb3VwSWQ/OiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICB1cGRhdGVkX3VzZXI/OiBzdHJpbmcgfCB1bmRlZmluZWQ7XG59Il19
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmp-aws-database",
|
|
3
|
-
"version": "1.2.0-
|
|
3
|
+
"version": "1.2.0-proddebug.10",
|
|
4
4
|
"bin": {
|
|
5
5
|
"craft-my-plate-database": "bin/craft-my-plate-database.js"
|
|
6
6
|
},
|
|
@@ -32,7 +32,8 @@
|
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@nova-odm/annotations": "^0.8.7",
|
|
34
34
|
"aws-cdk-lib": "2.176.0",
|
|
35
|
-
"constructs": "^10.0.0"
|
|
35
|
+
"constructs": "^10.0.0",
|
|
36
|
+
"reflect-metadata": "^0.1.14"
|
|
36
37
|
},
|
|
37
38
|
"description": "The package \"cmp-aws-database\" is for its database, which defines global tables. These tables are designed to be imported and used across multiple applications of \"craft-my-plate.\"",
|
|
38
39
|
"main": "index.js",
|