cmp-aws-database 1.2.0-dev.8 → 1.2.0-proddebug.3
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/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 +27 -16
- package/dist/customer-user/cart/cart-model.js +109 -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.js +30 -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 +8 -3
- package/dist/customer-user/order-module/order-review/order-review-feedback-model.js +34 -17
- 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 +6 -0
- package/dist/customer-user/order-module/plate-order/plate-order-model.js +224 -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/tier-details/tier-details-model.d.ts +1 -0
- package/dist/customer-user/tier-details/tier-details-model.js +30 -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-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.UserOrderSummaryModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,21 +16,26 @@ let UserOrderSummaryModel = class UserOrderSummaryModel extends base_model_1.Bas
|
|
|
13
16
|
};
|
|
14
17
|
exports.UserOrderSummaryModel = UserOrderSummaryModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.autoGeneratedHashKey)({ type: 'String' })
|
|
19
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: 'String' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], UserOrderSummaryModel.prototype, "userOrderSummaryId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIdIndex": "HASH" }, type: 'String' })
|
|
23
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIdIndex": "HASH" }, type: 'String' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], UserOrderSummaryModel.prototype, "userId", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)()
|
|
27
|
+
(0, annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
23
29
|
], UserOrderSummaryModel.prototype, "orderCount", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)()
|
|
31
|
+
(0, annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
26
33
|
], UserOrderSummaryModel.prototype, "spendOrderValue", void 0);
|
|
27
34
|
__decorate([
|
|
28
|
-
(0, annotations_1.attribute)()
|
|
35
|
+
(0, annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
29
37
|
], UserOrderSummaryModel.prototype, "orderPlatterCount", void 0);
|
|
30
38
|
exports.UserOrderSummaryModel = UserOrderSummaryModel = __decorate([
|
|
31
39
|
(0, annotations_1.table)("UserOrderSummaryTable")
|
|
32
40
|
], UserOrderSummaryModel);
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1vcmRlci1zdW1tYXJ5LW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvdXNlci1vcmRlci1zdW1tYXJ5L3VzZXItb3JkZXItc3VtbWFyeS1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBR3RDLElBQU0scUJBQXFCLEdBQTNCLE1BQU0scUJBQXNCLFNBQVEsc0JBQVM7Q0FlbkQsQ0FBQTtBQWZZLHNEQUFxQjtBQUU5QjtJQURDLElBQUEsa0NBQW9CLEVBQUMsRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLENBQUM7O2lFQUNkO0FBRzNCO0lBREMs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YmVyOyAvLyA1OTk5OVxuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgb3JkZXJQbGF0dGVyQ291bnQ6IG51bWJlcjsgLy8gMTRcbn0iXX0=
|
|
@@ -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.WalletModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,21 +16,26 @@ let WalletModel = class WalletModel extends base_model_1.BaseModel {
|
|
|
13
16
|
};
|
|
14
17
|
exports.WalletModel = WalletModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
19
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], WalletModel.prototype, "walletId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' })
|
|
23
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], WalletModel.prototype, "userId", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)()
|
|
27
|
+
(0, annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", Number)
|
|
23
29
|
], WalletModel.prototype, "totalAmount", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)()
|
|
31
|
+
(0, annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
26
33
|
], WalletModel.prototype, "usedAmount", void 0);
|
|
27
34
|
__decorate([
|
|
28
|
-
(0, annotations_1.attribute)()
|
|
35
|
+
(0, annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
29
37
|
], WalletModel.prototype, "remainingAmount", void 0);
|
|
30
38
|
exports.WalletModel = WalletModel = __decorate([
|
|
31
39
|
(0, annotations_1.table)("WalletTable")
|
|
32
40
|
], WalletModel);
|
|
33
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
41
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvd2FsbGV0L3dhbGxldC1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBR3RDLElBQU0sV0FBVyxHQUFqQixNQUFNLFdBQVksU0FBUSxzQkFBUztDQWV6QyxDQUFBO0FBZlksa0NBQVc7QUFFcEI7SUFEQyxJQUFBLGtDQUFvQixFQUFDLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxDQUFDOzs2Q0FDeEI7QUFHakI7SUFEQyxJQUFBLHVCQUFTLEVBQUMsRUFBRSxzQkFBc0IsRUFBRSxFQUFFLFdBQVcsRUFBRSxNQUFNLEVBQUUsRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLENBQUM7OzJDQUNoRTtBQUdmO0lBREMsSUFBQSx1QkFBUyxHQUFFOztnREFDUTtBQUdwQjtJQURDLElBQUEsdUJBQVMsR0FBRTs7K0NBQ087QUFHbkI7SUFEQyxJQUFBLHVCQUFTLEdBQUU7O29EQUNZO3NCQWRmLFdBQVc7SUFEdkIsSUFBQSxtQkFBSyxFQUFDLGFBQWEsQ0FBQztHQUNSLFdBQVcsQ0FldkIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBhdHRyaWJ1dGUsIGF1dG9HZW5lcmF0ZWRIYXNoS2V5LCB0YWJsZSB9IGZyb20gXCJAbm92YS1vZG0vYW5ub3RhdGlvbnNcIjtcbmltcG9ydCB7IEJhc2VNb2RlbCB9IGZyb20gXCIuLi8uLi9iYXNlLW1vZGVsXCI7XG5cbkB0YWJsZShcIldhbGxldFRhYmxlXCIpXG5leHBvcnQgY2xhc3MgV2FsbGV0TW9kZWwgZXh0ZW5kcyBCYXNlTW9kZWwge1xuICAgIEBhdXRvR2VuZXJhdGVkSGFzaEtleSh7IHR5cGU6IFwiU3RyaW5nXCIgfSlcbiAgICB3YWxsZXRJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSh7IGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJ1c2VySW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZycgfSlcbiAgICB1c2VySWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHRvdGFsQW1vdW50OiBudW1iZXI7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICB1c2VkQW1vdW50OiBudW1iZXI7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICByZW1haW5pbmdBbW91bnQ6IG51bWJlcjtcbn0iXX0=
|
|
@@ -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.WalletTransactionModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,39 +16,50 @@ let WalletTransactionModel = class WalletTransactionModel extends base_model_1.B
|
|
|
13
16
|
};
|
|
14
17
|
exports.WalletTransactionModel = WalletTransactionModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
19
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], WalletTransactionModel.prototype, "transactionId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' })
|
|
23
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], WalletTransactionModel.prototype, "userId", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "requestedIndex": "HASH" }, type: 'String' })
|
|
27
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "requestedIndex": "HASH" }, type: 'String' }),
|
|
28
|
+
__metadata("design:type", String)
|
|
23
29
|
], WalletTransactionModel.prototype, "requestedId", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "leadIndex": "HASH" }, type: 'String' })
|
|
31
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "leadIndex": "HASH" }, type: 'String' }),
|
|
32
|
+
__metadata("design:type", String)
|
|
26
33
|
], WalletTransactionModel.prototype, "leadId", void 0);
|
|
27
34
|
__decorate([
|
|
28
|
-
(0, annotations_1.attribute)()
|
|
35
|
+
(0, annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
29
37
|
], WalletTransactionModel.prototype, "orderId", void 0);
|
|
30
38
|
__decorate([
|
|
31
|
-
(0, annotations_1.attribute)()
|
|
39
|
+
(0, annotations_1.attribute)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
32
41
|
], WalletTransactionModel.prototype, "amount", void 0);
|
|
33
42
|
__decorate([
|
|
34
|
-
(0, annotations_1.attribute)()
|
|
43
|
+
(0, annotations_1.attribute)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
35
45
|
], WalletTransactionModel.prototype, "title", void 0);
|
|
36
46
|
__decorate([
|
|
37
|
-
(0, annotations_1.attribute)()
|
|
47
|
+
(0, annotations_1.attribute)(),
|
|
48
|
+
__metadata("design:type", String)
|
|
38
49
|
], WalletTransactionModel.prototype, "reason", void 0);
|
|
39
50
|
__decorate([
|
|
40
|
-
(0, annotations_1.attribute)()
|
|
51
|
+
(0, annotations_1.attribute)(),
|
|
52
|
+
__metadata("design:type", String)
|
|
41
53
|
], WalletTransactionModel.prototype, "transactionNote", void 0);
|
|
42
54
|
__decorate([
|
|
43
|
-
(0, annotations_1.attribute)()
|
|
55
|
+
(0, annotations_1.attribute)(),
|
|
56
|
+
__metadata("design:type", String)
|
|
44
57
|
], WalletTransactionModel.prototype, "status", void 0);
|
|
45
58
|
__decorate([
|
|
46
|
-
(0, annotations_1.attribute)()
|
|
59
|
+
(0, annotations_1.attribute)(),
|
|
60
|
+
__metadata("design:type", String)
|
|
47
61
|
], WalletTransactionModel.prototype, "correspondence", void 0);
|
|
48
62
|
exports.WalletTransactionModel = WalletTransactionModel = __decorate([
|
|
49
63
|
(0, annotations_1.table)("WalletTransactionTable")
|
|
50
64
|
], WalletTransactionModel);
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWx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IkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJyB9KVxuICAgIGxlYWRJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgb3JkZXJJZD86IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGFtb3VudDogbnVtYmVyO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgdGl0bGU6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHJlYXNvbjogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgdHJhbnNhY3Rpb25Ob3RlOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBzdGF0dXM6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGNvcnJlc3BvbmRlbmNlPzogc3RyaW5nO1xufSJdfQ==
|
|
@@ -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.WithdrawnModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,27 +16,34 @@ let WithdrawnModel = class WithdrawnModel extends base_model_1.BaseModel {
|
|
|
13
16
|
};
|
|
14
17
|
exports.WithdrawnModel = WithdrawnModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
19
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], WithdrawnModel.prototype, "requestedId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' })
|
|
23
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], WithdrawnModel.prototype, "userId", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "bankIndex": "HASH" }, type: 'String' })
|
|
27
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "bankIndex": "HASH" }, type: 'String' }),
|
|
28
|
+
__metadata("design:type", String)
|
|
23
29
|
], WithdrawnModel.prototype, "bankId", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)()
|
|
31
|
+
(0, annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
26
33
|
], WithdrawnModel.prototype, "requestedAmount", void 0);
|
|
27
34
|
__decorate([
|
|
28
|
-
(0, annotations_1.attribute)()
|
|
35
|
+
(0, annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
29
37
|
], WithdrawnModel.prototype, "title", void 0);
|
|
30
38
|
__decorate([
|
|
31
|
-
(0, annotations_1.attribute)()
|
|
39
|
+
(0, annotations_1.attribute)(),
|
|
40
|
+
__metadata("design:type", String)
|
|
32
41
|
], WithdrawnModel.prototype, "isUPI", void 0);
|
|
33
42
|
__decorate([
|
|
34
|
-
(0, annotations_1.attribute)()
|
|
43
|
+
(0, annotations_1.attribute)(),
|
|
44
|
+
__metadata("design:type", String)
|
|
35
45
|
], WithdrawnModel.prototype, "status", void 0);
|
|
36
46
|
exports.WithdrawnModel = WithdrawnModel = __decorate([
|
|
37
47
|
(0, annotations_1.table)("WithdrawnTable")
|
|
38
48
|
], Withd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yY2VzQ29udGVudCI6WyJpbXBvcnQgeyBhdHRyaWJ1dGUsIGF1dG9HZW5lcmF0ZWRIYXNoS2V5LCB0YWJsZSB9IGZyb20gXCJAbm92YS1vZG0vYW5ub3RhdGlvbnNcIjtcbmltcG9ydCB7IEJhc2VNb2RlbCB9IGZyb20gXCIuLi8uLi9iYXNlLW1vZGVsXCI7XG5cbkB0YWJsZShcIldpdGhkcmF3blRhYmxlXCIpXG5leHBvcnQgY2xhc3MgV2l0aGRyYXduTW9kZWwgZXh0ZW5kcyBCYXNlTW9kZWwge1xuICAgIEBhdXRvR2VuZXJhdGVkSGFzaEtleSh7IHR5cGU6IFwiU3RyaW5nXCIgfSlcbiAgICByZXF1ZXN0ZWRJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSh7IGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJ1c2VySW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZycgfSlcbiAgICB1c2VySWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwiYmFua0luZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgYmFua0lkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICByZXF1ZXN0ZWRBbW91bnQ6IG51bWJlcjtcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHRpdGxlOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBpc1VQSTogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgc3RhdHVzOiBzdHJpbmc7XG59Il19
|
|
@@ -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.ActivityLogsModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,28 +16,34 @@ let ActivityLogsModel = class ActivityLogsModel extends base_model_1.BaseModel {
|
|
|
13
16
|
};
|
|
14
17
|
exports.ActivityLogsModel = ActivityLogsModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
19
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], ActivityLogsModel.prototype, "activityId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)()
|
|
23
|
+
(0, annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], ActivityLogsModel.prototype, "participentName", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)()
|
|
27
|
+
(0, annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
23
29
|
], ActivityLogsModel.prototype, "participentRole", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)()
|
|
31
|
+
(0, annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", Array)
|
|
26
33
|
], ActivityLogsModel.prototype, "activityDetail", void 0);
|
|
27
34
|
__decorate([
|
|
28
35
|
(0, annotations_1.attribute)({
|
|
29
36
|
indexKeyConfigurations: { "cartIdIndex": "HASH" }, type: 'String'
|
|
30
|
-
})
|
|
37
|
+
}),
|
|
38
|
+
__metadata("design:type", String)
|
|
31
39
|
], ActivityLogsModel.prototype, "cartId", void 0);
|
|
32
40
|
__decorate([
|
|
33
41
|
(0, annotations_1.attribute)({
|
|
34
42
|
indexKeyConfigurations: { "userIdIndex": "HASH" }, type: 'String'
|
|
35
|
-
})
|
|
43
|
+
}),
|
|
44
|
+
__metadata("design:type", String)
|
|
36
45
|
], ActivityLogsModel.prototype, "userId", void 0);
|
|
37
46
|
exports.ActivityLogsModel = ActivityLogsModel = __decorate([
|
|
38
47
|
(0, annotations_1.table)("ActivityLogsTable")
|
|
39
48
|
], ActivityLogsModel);
|
|
40
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZpdHktbG9ncy1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcm5hbC11c2VyL2FjdGl2aXR5LWxvZ3MvYWN0aXZpdHktbG9ncy1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBSXRDLElBQU0saUJBQWlCLEdBQXZCLE1BQU0saUJBQWtCLFNBQVEsc0JBQVM7Q0FzQi9DLENBQUE7QUF0QlksOENBQWlCO0FBRTFCO0lBREMsSUFBQSxrQ0FBb0IsRUFBQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQzs7cURBQ3RCO0FBR25CO0lBREMsSUFBQSx1QkFBUyxHQUFFOzswREFDWTtBQUd4QjtJQURDLElBQUEsdUJBQVMsR0FBRTs7MERBQ1k7QUFHeEI7SUFEQyxJQUFBLHVCQUFTLEdBQUU7O3lEQUNhO0FBS3pCO0lBSEMsSUFBQSx1QkFBUyxFQUFDO1FBQ1Asc0JBQXNCLEVBQUUsRUFBRSxhQUFhLEVBQUUsTUFBTSxFQUFFLEVBQUUsSUFBS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gQGF0dHJpYnV0ZSh7XG4gICAgICAgIGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJ1c2VySWRJbmRleFwiOiBcIkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJ1xuICAgIH0pXG4gICAgdXNlcklkOiBzdHJpbmc7XG59Il19
|
|
@@ -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.InternalUserModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,32 +16,40 @@ let InternalUserModel = class InternalUserModel extends base_model_1.BaseModel {
|
|
|
13
16
|
};
|
|
14
17
|
exports.InternalUserModel = InternalUserModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.hashKey)({ type: 'String' })
|
|
19
|
+
(0, annotations_1.hashKey)({ type: 'String' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], InternalUserModel.prototype, "userId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)()
|
|
23
|
+
(0, annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], InternalUserModel.prototype, "role", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)()
|
|
27
|
+
(0, annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
23
29
|
], InternalUserModel.prototype, "department", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)()
|
|
31
|
+
(0, annotations_1.attribute)(),
|
|
32
|
+
__metadata("design:type", String)
|
|
26
33
|
], InternalUserModel.prototype, "userName", void 0);
|
|
27
34
|
__decorate([
|
|
28
|
-
(0, annotations_1.attribute)()
|
|
35
|
+
(0, annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
29
37
|
], InternalUserModel.prototype, "phoneNumber", void 0);
|
|
30
38
|
__decorate([
|
|
31
39
|
(0, annotations_1.attribute)({
|
|
32
40
|
indexKeyConfigurations: { "emailIndex": "HASH" }, type: 'String'
|
|
33
|
-
})
|
|
41
|
+
}),
|
|
42
|
+
__metadata("design:type", String)
|
|
34
43
|
], InternalUserModel.prototype, "emailId", void 0);
|
|
35
44
|
__decorate([
|
|
36
|
-
(0, annotations_1.attribute)()
|
|
45
|
+
(0, annotations_1.attribute)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
37
47
|
], InternalUserModel.prototype, "dob", void 0);
|
|
38
48
|
__decorate([
|
|
39
|
-
(0, annotations_1.attribute)()
|
|
49
|
+
(0, annotations_1.attribute)(),
|
|
50
|
+
__metadata("design:type", String)
|
|
40
51
|
], InternalUserModel.prototype, "gender", void 0);
|
|
41
52
|
exports.InternalUserModel = InternalUserModel = __decorate([
|
|
42
53
|
(0, annotations_1.table)("InternalUserTable")
|
|
43
54
|
], InternalUserModel);
|
|
44
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWwtdXNlci1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcm5hbC11c2VyL2ludGVybmFsLXVzZXItbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQ0EsdURBQWtFO0FBQ2xFLDhD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xuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHJvbGU/OiBzdHJpbmc7XG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgZGVwYXJ0bWVudD86IHN0cmluZztcbiAgICBAYXR0cmlidXRlKClcbiAgICB1c2VyTmFtZT86IHN0cmluZztcbiAgICBAYXR0cmlidXRlKClcbiAgICBwaG9uZU51bWJlcjogc3RyaW5nO1xuICAgIEBhdHRyaWJ1dGUoXG4gICAgICAgIHtcbiAgICAgICAgICAgIGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJlbWFpbEluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnXG4gICAgICAgIH1cbiAgICApXG4gICAgZW1haWxJZD86IHN0cmluZztcbiAgICBAYXR0cmlidXRlKClcbiAgICBkb2I/OiBzdHJpbmc7XG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgZ2VuZGVyPzogc3RyaW5nO1xufSJdfQ==
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicXVvdGF0aW9uLW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2ludGVybmFsLXVzZXIvcXVvdGF0aW9ucy9xdW90YXRpb24tbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsdURBQStFO0FBQy9FLGlEQUE2Q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iBudW1iZXI7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBhc3NpZ25lZUlkcz86IHN0cmluZ1tdO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgYXBwcm92ZWRCeT86IHN0cmluZ1tdO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgbWluUXVvdGVQcmljZT86IG51bWJlcjtcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGZvbGxvd1VwZGF0ZT86IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwicXVvdGVHcm91cElkSW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZycgfSlcbiAgICBxdW90ZUdyb3VwSWQ/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.3",
|
|
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",
|