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.TierRefererModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,27 +16,34 @@ let TierRefererModel = class TierRefererModel extends base_model_1.BaseModel {
|
|
|
13
16
|
};
|
|
14
17
|
exports.TierRefererModel = TierRefererModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.autoGeneratedHashKey)({ type: 'String' })
|
|
19
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: 'String' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], TierRefererModel.prototype, "tierReferralId", 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
|
], TierRefererModel.prototype, "userId", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)()
|
|
27
|
+
(0, annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
23
29
|
], TierRefererModel.prototype, "referralName", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "sentToIndex": "HASH" }, type: 'String' })
|
|
31
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "sentToIndex": "HASH" }, type: 'String' }),
|
|
32
|
+
__metadata("design:type", String)
|
|
26
33
|
], TierRefererModel.prototype, "sentTo", void 0);
|
|
27
34
|
__decorate([
|
|
28
|
-
(0, annotations_1.attribute)()
|
|
35
|
+
(0, annotations_1.attribute)(),
|
|
36
|
+
__metadata("design:type", String)
|
|
29
37
|
], TierRefererModel.prototype, "status", void 0);
|
|
30
38
|
__decorate([
|
|
31
|
-
(0, annotations_1.attribute)()
|
|
39
|
+
(0, annotations_1.attribute)(),
|
|
40
|
+
__metadata("design:type", Number)
|
|
32
41
|
], TierRefererModel.prototype, "sendedAmount", void 0);
|
|
33
42
|
__decorate([
|
|
34
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "appliedCodeIndex": "HASH" }, type: 'String' })
|
|
43
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "appliedCodeIndex": "HASH" }, type: 'String' }),
|
|
44
|
+
__metadata("design:type", String)
|
|
35
45
|
], TierRefererModel.prototype, "appliedCode", void 0);
|
|
36
46
|
exports.TierRefererModel = TierRefererModel = __decorate([
|
|
37
47
|
(0, annotations_1.table)("TierReferralTable")
|
|
38
48
|
], TierRefererModel);
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGllci1yZWZlcnJhbC1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jdXN0b21lci11c2VyL3RpZXItcmVmZXJyYWwvdGllci1yZWZlcnJhbC1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBR3RDLElBQU0sZ0JBQWdCLEdBQXRCLE1BQU0sZ0JBQWlCLFNBQVEsc0JBQVM7Q0FxQjlDLENBQUE7QUFyQlksNENBQWdCO0FBRXpCO0lBREMsSUFBQSxrQ0FBb0IsRUFBQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQzs7d0RBQ2xCO0FBR3ZCO0lBREMsSUFBQSx1QkFBUyxFQUFDLEVBQUUsc0JBQXNCLEVBQUUsRUFBRSxhQUFhLEVBQUUsTUFBTSxFQUFFLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxDQUFDOztnREFDbEU7QUFHZjtJQURDLElBQUEsdUJBQVMsR0FBRTs7c0RBQ1U7QUFHdEI7SUFEQyxJQUFBLHVCQUFTLEVBQUMsRUFBRSxzQkFBc0IsRUFBRSxFQUFFLGFBQWEsRUFBRSxNQUFNLEVBQUUsRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLENBQUM7O2dEQUNsRTtBQUdmO0lBREMsSUFBQSx1QkFBUyxHQUFFOztnREFDRztBQUdmO0lBREMsSUFBQSx1QkFBUyxHQUFFOztzREFDUztBQUdyQ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iBzdHJpbmc7IC8vIFJFUVVFU1RFRCwgSk9JTkVELCBFQVJORURcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHNlbmRlZEFtb3VudDogbnVtYmVyOyAvLyBWMiBVcGRhdGUgdG8gcGFzcyBhY3R1YWwgc2VudCBhbW91bnQgZm9yIHNpZ25VcCtvcmRlcnZhbHVlIDEwJVxuXG4gICAgQGF0dHJpYnV0ZSh7IGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJhcHBsaWVkQ29kZUluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgYXBwbGllZENvZGU6IHN0cmluZzsgLy8gQXBwbGllZCBDb2RlXG59Il19
|
|
@@ -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.UserModel = void 0;
|
|
10
13
|
const annotations_1 = require("@nova-odm/annotations");
|
|
@@ -13,38 +16,48 @@ let UserModel = class UserModel extends base_model_1.BaseModel {
|
|
|
13
16
|
};
|
|
14
17
|
exports.UserModel = UserModel;
|
|
15
18
|
__decorate([
|
|
16
|
-
(0, annotations_1.hashKey)({ type: 'String' })
|
|
19
|
+
(0, annotations_1.hashKey)({ type: 'String' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
17
21
|
], UserModel.prototype, "userId", void 0);
|
|
18
22
|
__decorate([
|
|
19
|
-
(0, annotations_1.attribute)()
|
|
23
|
+
(0, annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
20
25
|
], UserModel.prototype, "prospectId", void 0);
|
|
21
26
|
__decorate([
|
|
22
|
-
(0, annotations_1.attribute)()
|
|
27
|
+
(0, annotations_1.attribute)(),
|
|
28
|
+
__metadata("design:type", String)
|
|
23
29
|
], UserModel.prototype, "userName", void 0);
|
|
24
30
|
__decorate([
|
|
25
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "phoneNumberIndex": "HASH" }, type: 'String' })
|
|
31
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "phoneNumberIndex": "HASH" }, type: 'String' }),
|
|
32
|
+
__metadata("design:type", String)
|
|
26
33
|
], UserModel.prototype, "phoneNumber", void 0);
|
|
27
34
|
__decorate([
|
|
28
35
|
(0, annotations_1.attribute)({
|
|
29
36
|
indexKeyConfigurations: { "emailIndex": "HASH" }, type: 'String'
|
|
30
|
-
})
|
|
37
|
+
}),
|
|
38
|
+
__metadata("design:type", String)
|
|
31
39
|
], UserModel.prototype, "emailId", void 0);
|
|
32
40
|
__decorate([
|
|
33
|
-
(0, annotations_1.attribute)()
|
|
41
|
+
(0, annotations_1.attribute)(),
|
|
42
|
+
__metadata("design:type", String)
|
|
34
43
|
], UserModel.prototype, "dob", void 0);
|
|
35
44
|
__decorate([
|
|
36
|
-
(0, annotations_1.attribute)()
|
|
45
|
+
(0, annotations_1.attribute)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
37
47
|
], UserModel.prototype, "gender", void 0);
|
|
38
48
|
__decorate([
|
|
39
|
-
(0, annotations_1.attribute)({ indexKeyConfigurations: { "referralCodeIndex": "HASH" }, type: 'String' })
|
|
49
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "referralCodeIndex": "HASH" }, type: 'String' }),
|
|
50
|
+
__metadata("design:type", String)
|
|
40
51
|
], UserModel.prototype, "referralCode", void 0);
|
|
41
52
|
__decorate([
|
|
42
|
-
(0, annotations_1.attribute)()
|
|
53
|
+
(0, annotations_1.attribute)(),
|
|
54
|
+
__metadata("design:type", String)
|
|
43
55
|
], UserModel.prototype, "tierId", void 0);
|
|
44
56
|
__decorate([
|
|
45
|
-
(0, annotations_1.attribute)()
|
|
57
|
+
(0, annotations_1.attribute)(),
|
|
58
|
+
__metadata("design:type", String)
|
|
46
59
|
], UserModel.prototype, "tierUpdatedTime", void 0);
|
|
47
60
|
exports.UserModel = UserModel = __decorate([
|
|
48
61
|
(0, annotations_1.table)("UserTable")
|
|
49
62
|
], UserModel);
|
|
50
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
63
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jdXN0b21lci11c2VyL3VzZXIvdXNlci1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFDQSx1REFBa0U7QUFDbEUsaURBQTZDO0FBR3RDLElBQU0sU0FBUyxHQUFmLE1BQU0sU0FBVSxTQUFRLHNCQUFTO0NBNkJ2QyxDQUFBO0FBN0JZLDhCQUFTO0FBRWxCO0lBREMsSUFBQSxxQkFBTyxFQUFDLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxDQUFDOzt5Q0FDYjtBQUVmO0lBREMsSUFBQSx1QkFBUyxHQUFFOzs2Q0FDUTtBQUdwQjtJQURDLElBQUEsdUJBQVMsR0FBRTs7MkNBQ007QUFFbEI7SUFEQyxJQUFBLHVCQUFTLEVBQUMsRUFBRSxzQkFBc0IsRUFBRSxFQUFFLGtCQUFrQixFQUFFLE1BQU0sRUFBRSxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQzs7OENBQ2xFO0FBTXBCO0lBTEMsSUFBQSx1QkFBUyxFQUNOO1FBQ0ksc0JBQXNCLEVBQUUsRUFBRSxZ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9uZU51bWJlckluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgcGhvbmVOdW1iZXI6IHN0cmluZztcbiAgICBAYXR0cmlidXRlKFxuICAgICAgICB7XG4gICAgICAgICAgICBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwiZW1haWxJbmRleFwiOiBcIkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJ1xuICAgICAgICB9XG4gICAgKVxuICAgIGVtYWlsSWQ/OiBzdHJpbmc7XG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgZG9iPzogc3RyaW5nOyAvLyBOZXcgZmllbGQgZm9yIGRhdGUgb2YgYmlydGhcbiAgICBAYXR0cmlidXRlKClcbiAgICBnZW5kZXI/OiBzdHJpbmc7IC8vIE5ldyBmaWVsZCBmb3IgZ2VuZGVyXG5cbiAgICBAYXR0cmlidXRlKHsgaW5kZXhLZXlDb25maWd1cmF0aW9uczogeyBcInJlZmVycmFsQ29kZUluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgcmVmZXJyYWxDb2RlPzogc3RyaW5nOyAvLyB2MiB1c2VyIG93biBjb2RlXG5cbiAgICBAYXR0cmlidXRlKClcbiAgICB0aWVySWQ6IHN0cmluZzsgLy8gdjIgdXNlciBvd24gXG5cbiAgICBAYXR0cmlidXRlKClcbiAgICB0aWVyVXBkYXRlZFRpbWU/OiBzdHJpbmc7IC8vIHYyIHVzZXIgb3duIHRpZXJVcGRhdGVkVGltZVxufSJdfQ==
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.userSpecificsDAO = void 0;
|
|
4
|
+
const base_dao_1 = require("../../base-dao");
|
|
5
|
+
class UserSpecificsDAO extends base_dao_1.GenericDAO {
|
|
6
|
+
}
|
|
7
|
+
exports.userSpecificsDAO = new UserSpecificsDAO();
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zcGVjaWZpY3MtZGFvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvdXNlci91c2VyLXNwZWNpZmljcy1kYW8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsNkNBQTRDO0FBSTVDLE1BQU0sZ0JBQWlCLFNBQVEscUJBQThCO0NBQzVEO0FBRVksUUFBQSxnQkFBZ0IsR0FBRyxJQUFJLGdCQUFnQixFQUFFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBHZW5lcmljREFPIH0gZnJvbSBcIi4uLy4uL2Jhc2UtZGFvXCI7XG5pbXBvcnQgeyBVc2VyU3BlY2lmaWNzTW9kZWwgfSBmcm9tIFwiLi91c2VyLXNwZWNpZmljcy1tb2RlbFwiO1xuXG5cbmNsYXNzIFVzZXJTcGVjaWZpY3NEQU8gZXh0ZW5kcyBHZW5lcmljREFPPFVzZXJTcGVjaWZpY3NNb2RlbD4ge1xufVxuXG5leHBvcnQgY29uc3QgdXNlclNwZWNpZmljc0RBTyA9IG5ldyBVc2VyU3BlY2lmaWNzREFPKCk7Il19
|
|
@@ -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.UserSpecificsModel = void 0;
|
|
13
|
+
const annotations_1 = require("@nova-odm/annotations");
|
|
14
|
+
const base_model_1 = require("../../base-model");
|
|
15
|
+
let UserSpecificsModel = class UserSpecificsModel extends base_model_1.BaseModel {
|
|
16
|
+
};
|
|
17
|
+
exports.UserSpecificsModel = UserSpecificsModel;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, annotations_1.hashKey)({ type: 'String' }),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], UserSpecificsModel.prototype, "userId", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, annotations_1.attribute)(),
|
|
24
|
+
__metadata("design:type", Boolean)
|
|
25
|
+
], UserSpecificsModel.prototype, "liveCounterInterest", void 0);
|
|
26
|
+
exports.UserSpecificsModel = UserSpecificsModel = __decorate([
|
|
27
|
+
(0, annotations_1.table)("UserSpecificsTable")
|
|
28
|
+
], UserSpecificsModel);
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zcGVjaWZpY3MtbW9kZWwuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY3VzdG9tZXItdXNlci91c2VyL3VzZXItc3BlY2lmaWNzLW1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7OztBQUNBLHVEQUFrRTtBQUNsRSxpREFBNkM7QUFHdEMsSUFBTSxrQkFBa0IsR0FBeEIsTUFBTSxrQkFBbUIsU0FBUSxzQkFBUztDQUtoRCxDQUFBO0FBTFksZ0RBQWtCO0FBRTNCO0lBREMsSUFBQSxxQkFBTyxFQUFDLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxDQUFDOztrREFDYjtBQUVmO0lBREMsSUFBQSx1QkFBUyxHQUFFOzsrREFDa0I7NkJBSnJCLGtCQUFrQjtJQUQ5QixJQUFBLG1CQUFLLEVBQUMsb0JBQW9CLENBQUM7R0FDZixrQkFBa0IsQ0FLOUIiLCJzb3VyY2VzQ29udGVudCI6WyJcbmltcG9ydCB7IGF0dHJpYnV0ZSwgaGFzaEtleSwgdGFibGUgfSBmcm9tIFwiQG5vdmEtb2RtL2Fubm90YXRpb25zXCI7XG5pbXBvcnQgeyBCYXNlTW9kZWwgfSBmcm9tIFwiLi4vLi4vYmFzZS1tb2RlbFwiO1xuXG5AdGFibGUoXCJVc2VyU3BlY2lmaWNzVGFibGVcIilcbmV4cG9ydCBjbGFzcyBVc2VyU3BlY2lmaWNzTW9kZWwgZXh0ZW5kcyBCYXNlTW9kZWwge1xuICAgIEBoYXNoS2V5KHsgdHlwZTogJ1N0cmluZycgfSlcbiAgICB1c2VySWQ6IHN0cmluZztcbiAgICBAYXR0cmlidXRlKClcbiAgICBsaXZlQ291bnRlckludGVyZXN0PzogYm9vbGVhbjsgLy8gdHJ1ZSBpZiB1c2VyIGlzIGludGVyZXN0ZWQgaW4gbGl2ZSBjb3VudGVyXG59Il19
|
|
@@ -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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LW1vZGVsXCI7XG5cbkB0YWJsZShcIlVzZXJPcmRlclN1bW1hcnlUYWJsZVwiKVxuZXhwb3J0IGNsYXNzIFVzZXJPcmRlclN1bW1hcnlNb2RlbCBleHRlbmRzIEJhc2VNb2RlbCB7XG4gICAgQGF1dG9HZW5lcmF0ZWRIYXNoS2V5KHsgdHlwZTogJ1N0cmluZycgfSlcbiAgICB1c2VyT3JkZXJTdW1tYXJ5SWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwidXNlcklkSW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZycgfSlcbiAgICB1c2VySWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIG9yZGVyQ291bnQ6IG51bWJlcjsgLy8gMTBcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHNwZW5kT3JkZXJWYWx1ZTogbnVtYmVyOyAvLyA1OTk5OVxuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgb3JkZXJQbGF0dGVyQ291bnQ6IG51bWJlcjsgLy8gMTRcbn0iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvd2FsbGV0L3dhbGx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ZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJ1c2VySW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZycgfSlcbiAgICB1c2VySWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHRvdGFsQW1vdW50OiBudW1iZXI7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICB1c2VkQW1vdW50OiBudW1iZXI7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICByZW1haW5pbmdBbW91bnQ6IG51bWJlcjtcbn0iXX0=
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LXRyYW5zYWN0aW9uLW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvd2FsbGV0LXRyYW5zYWN0aW9uL3dhbGxldC10cmFuc2FjdGlvbi1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBSXRDLElBQU0sc0JBQXNCLEdBQTVCLE1BQU0sc0JBQXVCLFNBQVEsc0JBQVM7Q0FpQ3BELENBQUE7QUFqQ1ksd0RBQXNCO0FBRS9CO0lBREMsSUFBQSxrQ0FBb0IsRUFBQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQzs7NkRBQ25CO0FBR3RCO0lBREMsSUFBQSx1QkFBUyxFQUFDLEVBQUUsc0JBQXNCLEVBQUUsRUFBRSxXQUFXLEVBQUUsTUFBTSxF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wgZXh0ZW5kcyBCYXNlTW9kZWwge1xuICAgIEBhdXRvR2VuZXJhdGVkSGFzaEtleSh7IHR5cGU6IFwiU3RyaW5nXCIgfSlcbiAgICB0cmFuc2FjdGlvbklkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKHsgaW5kZXhLZXlDb25maWd1cmF0aW9uczogeyBcInVzZXJJbmRleFwiOiBcIkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJyB9KVxuICAgIHVzZXJJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSh7IGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJyZXF1ZXN0ZWRJbmRleFwiOiBcIkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJyB9KVxuICAgIHJlcXVlc3RlZElkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKHsgaW5kZXhLZXlDb25maWd1cmF0aW9uczogeyBcImxlYWRJbmRleFwiOiBcIkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJyB9KVxuICAgIGxlYWRJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgb3JkZXJJZD86IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGFtb3VudDogbnVtYmVyO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgdGl0bGU6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHJlYXNvbjogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgdHJhbnNhY3Rpb25Ob3RlOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBzdGF0dXM6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGNvcnJlc3BvbmRlbmNlPzogc3RyaW5nO1xufSJdfQ==
|
|
@@ -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
|
], WithdrawnModel);
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
49
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l0aGRyYXduLW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvd2l0aGRyYXduL3dpdGhkcmF3bi1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBR3RDLElBQU0sY0FBYyxHQUFwQixNQUFNLGNBQWUsU0FBUSxzQkFBUztDQXFCNUMsQ0FBQTtBQXJCWSx3Q0FBYztBQUV2QjtJQURDLElBQUEsa0NBQW9CLEVBQUMsRUFBRSxJQUFJLEVBQUUsUUFBUSxFQUFFLENBQUM7O21EQUNyQjtBQUdwQjtJQURDLElBQUEsdUJBQVMsRUFBQyxFQUFFLH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cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwiYmFua0luZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgYmFua0lkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICByZXF1ZXN0ZWRBbW91bnQ6IG51bWJlcjtcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHRpdGxlOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBpc1VQSTogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgc3RhdHVzOiBzdHJpbmc7XG59Il19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZpdHktbG9ncy1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcm5hbC11c2VyL2FjdGl2aXR5LWxvZ3MvYWN0aXZpdHktbG9ncy1tb2Rl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zIEFjdGl2aXR5TG9nc01vZGVsIGV4dGVuZHMgQmFzZU1vZGVsIHtcbiAgICBAYXV0b0dlbmVyYXRlZEhhc2hLZXkoeyB0eXBlOiBcIlN0cmluZ1wiIH0pXG4gICAgYWN0aXZpdHlJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgcGFydGljaXBlbnROYW1lOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBwYXJ0aWNpcGVudFJvbGU6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGFjdGl2aXR5RGV0YWlsOiBzdHJpbmdbXTtcblxuICAgIEBhdHRyaWJ1dGUoe1xuICAgICAgICBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwiY2FydElkSW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZydcbiAgICB9KVxuICAgIGNhcnRJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSh7XG4gICAgICAgIGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJ1c2VySWRJbmRleFwiOiBcIkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJ1xuICAgIH0pXG4gICAgdXNlcklkOiBzdHJpbmc7XG59Il19
|
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWwtdXNlci1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbnRlcm5hbC11c2VyL2ludGVybmFsLXVzZXItbW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQ0EsdURBQWtFO0FBQ2xFLDhDQUEwQztBQUduQyxJQUFNLGlCQUFpQixHQUF2QixNQUFNLGlCQUFrQixTQUFRLHNCQUFTO0NBcUIvQyxDQUFBO0FBckJZLDhDQUFpQjtBQUUxQjtJQURDLElBQUEscUJBQU8sRUFBQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQzs7aURBQ2I7QUFFZjtJQURDLElBQUEsdUJBQVMsR0FBRTs7K0NBQ0U7QUFFZDtJQURDLElBQUEsdUJBQVMsR0FBRTs7cURBQ1E7QUFFcEI7SUFEQyxJQUFBLHVCQUFTLEdBQUU7O21EQUNNO0FBRWxCO0lBREMsSUFBQSx1QkFBUyxHQUFFOztzREFDUTtBQU1wQjtJQUxDLElBQUEsdUJBQVMsRUFDTjtRQUNJLHNCQUFzQixFQUFFLEVBQUUsWUFBWSxFQUFFLE1BQU0sRUFBRSxFQUFFLElBQUksRUFBRSxRQUFRO0tBQ25FLENBQ0o7O2tEQUNnQjtBQUVqQjtJQURDLElBQUEsdUJBQVMsR0FBRT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