cmp-aws-database 0.1.4 → 1.0.0
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/customer-user/add-ons/add-ons-model.d.ts +19 -0
- package/dist/customer-user/add-ons/add-ons-model.js +66 -0
- package/dist/customer-user/add-ons/addons-dao.d.ts +6 -0
- package/dist/customer-user/add-ons/addons-dao.js +8 -0
- package/dist/customer-user/bank-details/bank-details-dao.d.ts +6 -0
- package/dist/customer-user/bank-details/bank-details-dao.js +8 -0
- package/dist/customer-user/bank-details/bank-details-model.d.ts +10 -0
- package/dist/customer-user/bank-details/bank-details-model.js +39 -0
- package/dist/customer-user/cart/cart-categories-dao.d.ts +6 -0
- package/dist/customer-user/cart/cart-categories-dao.js +8 -0
- package/dist/customer-user/cart/cart-categories-model.d.ts +6 -0
- package/dist/customer-user/cart/cart-categories-model.js +27 -0
- package/dist/customer-user/cart/cart-dao.d.ts +6 -0
- package/dist/customer-user/cart/cart-dao.js +8 -0
- package/dist/customer-user/cart/cart-model.d.ts +28 -0
- package/dist/customer-user/cart/cart-model.js +95 -0
- package/dist/customer-user/category/category-dao.d.ts +6 -0
- package/dist/customer-user/category/category-dao.js +8 -0
- package/dist/customer-user/category/category-model.d.ts +8 -0
- package/dist/customer-user/category/category-model.js +33 -0
- package/dist/customer-user/content/content-delivery-dao.d.ts +6 -0
- package/dist/customer-user/content/content-delivery-dao.js +8 -0
- package/dist/customer-user/content/content-model.d.ts +14 -0
- package/dist/customer-user/content/content-model.js +61 -0
- package/dist/customer-user/coupons/coupons-dao.d.ts +6 -0
- package/dist/customer-user/coupons/coupons-dao.js +8 -0
- package/dist/customer-user/coupons/coupons-model.d.ts +23 -0
- package/dist/customer-user/coupons/coupons-model.js +82 -0
- package/dist/customer-user/default-platter/default-platter-categories-dao.d.ts +6 -0
- package/dist/customer-user/default-platter/default-platter-categories-dao.js +8 -0
- package/dist/customer-user/default-platter/default-platter-dao.d.ts +6 -0
- package/dist/customer-user/default-platter/default-platter-dao.js +8 -0
- package/dist/customer-user/default-platter/default-platter-items-dao.d.ts +6 -0
- package/dist/customer-user/default-platter/default-platter-items-dao.js +8 -0
- package/dist/customer-user/default-platter/default-platters-category-model.d.ts +12 -0
- package/dist/customer-user/default-platter/default-platters-category-model.js +47 -0
- package/dist/customer-user/default-platter/default-platters-model.d.ts +17 -0
- package/dist/customer-user/default-platter/default-platters-model.js +62 -0
- package/dist/customer-user/default-platter/default_platters_items.d.ts +14 -0
- package/dist/customer-user/default-platter/default_platters_items.js +54 -0
- package/dist/customer-user/event-executives/event-executive-dao.d.ts +6 -0
- package/dist/customer-user/event-executives/event-executive-dao.js +8 -0
- package/dist/customer-user/event-executives/event-executive-model.d.ts +12 -0
- package/dist/customer-user/event-executives/event-executive-model.js +47 -0
- package/dist/customer-user/items/items-dao.d.ts +6 -0
- package/dist/customer-user/items/items-dao.js +8 -0
- package/dist/customer-user/items/items-model.d.ts +19 -0
- package/dist/customer-user/items/items-model.js +72 -0
- package/dist/customer-user/lead/lead-dao.d.ts +6 -0
- package/dist/customer-user/lead/lead-dao.js +8 -0
- package/dist/customer-user/lead/lead-model.d.ts +16 -0
- package/dist/customer-user/lead/lead-model.js +57 -0
- package/dist/customer-user/occastion/occasion-dao.d.ts +6 -0
- package/dist/customer-user/occastion/occasion-dao.js +8 -0
- package/dist/customer-user/occastion/occasion-model.d.ts +8 -0
- package/dist/customer-user/occastion/occasion-model.js +33 -0
- package/dist/customer-user/order-module/address/address-dao.d.ts +6 -0
- package/dist/customer-user/order-module/address/address-dao.js +8 -0
- package/dist/customer-user/order-module/address/address-model.d.ts +20 -0
- package/dist/customer-user/order-module/address/address-model.js +69 -0
- package/dist/customer-user/order-module/order/order-dao.d.ts +6 -0
- package/dist/customer-user/order-module/order/order-dao.js +8 -0
- package/dist/customer-user/order-module/order/order-model.d.ts +34 -0
- package/dist/customer-user/order-module/order/order-model.js +110 -0
- package/dist/customer-user/order-module/order-address/address-order-dao.d.ts +6 -0
- package/dist/customer-user/order-module/order-address/address-order-dao.js +8 -0
- package/dist/customer-user/order-module/order-address/address-order-model.d.ts +19 -0
- package/dist/customer-user/order-module/order-address/address-order-model.js +66 -0
- package/dist/customer-user/order-module/order-review/order-review-dao.d.ts +6 -0
- package/dist/customer-user/order-module/order-review/order-review-dao.js +8 -0
- package/dist/customer-user/order-module/order-review/order-review-model.d.ts +8 -0
- package/dist/customer-user/order-module/order-review/order-review-model.js +33 -0
- package/dist/customer-user/order-module/payment/payment-model.d.ts +22 -0
- package/dist/customer-user/order-module/payment/payment-model.js +76 -0
- package/dist/customer-user/order-module/payment/paymet-dao.d.ts +6 -0
- package/dist/customer-user/order-module/payment/paymet-dao.js +8 -0
- package/dist/customer-user/order-module/plate-order/plate-order-model.d.ts +49 -0
- package/dist/customer-user/order-module/plate-order/plate-order-model.js +152 -0
- package/dist/customer-user/order-module/plate-order/plateOrderDao.d.ts +6 -0
- package/dist/customer-user/order-module/plate-order/plateOrderDao.js +8 -0
- package/dist/customer-user/order-module/tracking/tracking-dao.d.ts +6 -0
- package/dist/customer-user/order-module/tracking/tracking-dao.js +8 -0
- package/dist/customer-user/order-module/tracking/tracking-model.d.ts +10 -0
- package/dist/customer-user/order-module/tracking/tracking-model.js +43 -0
- package/dist/customer-user/referal-content/referal-content-dao.d.ts +6 -0
- package/dist/customer-user/referal-content/referal-content-dao.js +8 -0
- package/dist/customer-user/referal-content/referal-content-model.d.ts +12 -0
- package/dist/customer-user/referal-content/referal-content-model.js +45 -0
- package/dist/customer-user/user/user-dao.d.ts +7 -0
- package/dist/customer-user/user/user-dao.js +19 -0
- package/dist/customer-user/user/user-model.d.ts +10 -0
- package/dist/customer-user/user/user-model.js +41 -0
- package/dist/customer-user/wallet/wallet-dao.d.ts +6 -0
- package/dist/customer-user/wallet/wallet-dao.js +8 -0
- package/dist/customer-user/wallet/wallet-model.d.ts +8 -0
- package/dist/customer-user/wallet/wallet-model.js +33 -0
- package/dist/customer-user/wallet-transaction/wallet-transaction-dao.d.ts +6 -0
- package/dist/customer-user/wallet-transaction/wallet-transaction-dao.js +8 -0
- package/dist/customer-user/wallet-transaction/wallet-transaction-model.d.ts +12 -0
- package/dist/customer-user/wallet-transaction/wallet-transaction-model.js +45 -0
- package/dist/customer-user/withdrawn/withdrawn-dao.d.ts +6 -0
- package/dist/customer-user/withdrawn/withdrawn-dao.js +8 -0
- package/dist/customer-user/withdrawn/withdrawn-model.d.ts +10 -0
- package/dist/customer-user/withdrawn/withdrawn-model.js +39 -0
- package/dist/internal-user/internal-user-dao.js +1 -1
- package/index.js +52 -0
- package/package.json +2 -2
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.WalletModel = void 0;
|
|
10
|
+
const annotations_1 = require("@nova-odm/annotations");
|
|
11
|
+
const base_model_1 = require("../../base-model");
|
|
12
|
+
let WalletModel = class WalletModel extends base_model_1.BaseModel {
|
|
13
|
+
};
|
|
14
|
+
exports.WalletModel = WalletModel;
|
|
15
|
+
__decorate([
|
|
16
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
17
|
+
], WalletModel.prototype, "walletId", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' })
|
|
20
|
+
], WalletModel.prototype, "userId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, annotations_1.attribute)()
|
|
23
|
+
], WalletModel.prototype, "totalAmount", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, annotations_1.attribute)()
|
|
26
|
+
], WalletModel.prototype, "usedAmount", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, annotations_1.attribute)()
|
|
29
|
+
], WalletModel.prototype, "remainingAmount", void 0);
|
|
30
|
+
exports.WalletModel = WalletModel = __decorate([
|
|
31
|
+
(0, annotations_1.table)("WalletTable")
|
|
32
|
+
], WalletModel);
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvd2FsbGV0L3dhbGxldC1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBR3RDLElBQU0sV0FBVyxHQUFqQixNQUFNLFdBQVksU0FBUSxzQkFBUztDQWV6QyxDQUFBO0FBZlksa0NBQVc7QUFFcEI7SUFEQyxJQUFBLGtDQUFvQixFQUFDLEVBQUUsSUFBSSxFQUFFLFFBQVEsRUFBRSxDQUFDOzZDQUN4QjtBQUdqQjtJQURDLElBQUEsdUJBQVMsRUFBQyxFQUFFLHNCQUFzQixFQUFFLEVBQUUsV0FBVyxFQUFFLE1BQU0sRUFBRSxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQzsyQ0FDaEU7QUFHZjtJQURDLElBQUEsdUJBQVMsR0FBRTtnREFDUTtBQUdwQjtJQURDLElBQUEsdUJBQVMsR0FBRTsrQ0FDTztBQUduQjtJQURDLElBQUEsdUJBQVMsR0FBRTtvREFDWTtzQkFkZixXQUFXO0lBRHZCLElBQUEsbUJBQUssRUFBQyxhQUFhLENBQUM7R0FDUixXQUFXLENBZXZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgYXR0cmlidXRlLCBhdXRvR2VuZXJhdGVkSGFzaEtleSwgdGFibGUgfSBmcm9tIFwiQG5vdmEtb2RtL2Fubm90YXRpb25zXCI7XG5pbXBvcnQgeyBCYXNlTW9kZWwgfSBmcm9tIFwiLi4vLi4vYmFzZS1tb2RlbFwiO1xuXG5AdGFibGUoXCJXYWxsZXRUYWJsZVwiKVxuZXhwb3J0IGNsYXNzIFdhbGxldE1vZGVsIGV4dGVuZHMgQmFzZU1vZGVsIHtcbiAgICBAYXV0b0dlbmVyYXRlZEhhc2hLZXkoeyB0eXBlOiBcIlN0cmluZ1wiIH0pXG4gICAgd2FsbGV0SWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwidXNlckluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgdXNlcklkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICB0b3RhbEFtb3VudDogbnVtYmVyO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgdXNlZEFtb3VudDogbnVtYmVyO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgcmVtYWluaW5nQW1vdW50OiBudW1iZXI7XG59Il19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { GenericDAO } from "../../base-dao";
|
|
2
|
+
import { WalletTransactionModel } from "./wallet-transaction-model";
|
|
3
|
+
declare class WalletTransactionDao extends GenericDAO<WalletTransactionModel> {
|
|
4
|
+
}
|
|
5
|
+
export declare const walletTransactionDao: WalletTransactionDao;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.walletTransactionDao = void 0;
|
|
4
|
+
const base_dao_1 = require("../../base-dao");
|
|
5
|
+
class WalletTransactionDao extends base_dao_1.GenericDAO {
|
|
6
|
+
}
|
|
7
|
+
exports.walletTransactionDao = new WalletTransactionDao();
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LXRyYW5zYWN0aW9uLWRhby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jdXN0b21lci11c2VyL3dhbGxldC10cmFuc2FjdGlvbi93YWxsZXQtdHJhbnNhY3Rpb24tZGFvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDZDQUE0QztBQUc1QyxNQUFNLG9CQUFxQixTQUFRLHFCQUFrQztDQUNwRTtBQUVZLFFBQUEsb0JBQW9CLEdBQUcsSUFBSSxvQkFBb0IsRUFBRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgR2VuZXJpY0RBTyB9IGZyb20gXCIuLi8uLi9iYXNlLWRhb1wiO1xuaW1wb3J0IHsgV2FsbGV0VHJhbnNhY3Rpb25Nb2RlbCB9IGZyb20gXCIuL3dhbGxldC10cmFuc2FjdGlvbi1tb2RlbFwiO1xuXG5jbGFzcyBXYWxsZXRUcmFuc2FjdGlvbkRhbyBleHRlbmRzIEdlbmVyaWNEQU88V2FsbGV0VHJhbnNhY3Rpb25Nb2RlbD4ge1xufVxuXG5leHBvcnQgY29uc3Qgd2FsbGV0VHJhbnNhY3Rpb25EYW8gPSBuZXcgV2FsbGV0VHJhbnNhY3Rpb25EYW8oKTsiXX0=
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseModel } from "../../base-model";
|
|
2
|
+
export declare class WalletTransactionModel extends BaseModel {
|
|
3
|
+
transactionId: string;
|
|
4
|
+
userId: string;
|
|
5
|
+
requestedId: string;
|
|
6
|
+
leadId: string;
|
|
7
|
+
orderId?: string;
|
|
8
|
+
amount: number;
|
|
9
|
+
title: string;
|
|
10
|
+
reason: string;
|
|
11
|
+
status: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.WalletTransactionModel = void 0;
|
|
10
|
+
const annotations_1 = require("@nova-odm/annotations");
|
|
11
|
+
const base_model_1 = require("../../base-model");
|
|
12
|
+
let WalletTransactionModel = class WalletTransactionModel extends base_model_1.BaseModel {
|
|
13
|
+
};
|
|
14
|
+
exports.WalletTransactionModel = WalletTransactionModel;
|
|
15
|
+
__decorate([
|
|
16
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
17
|
+
], WalletTransactionModel.prototype, "transactionId", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' })
|
|
20
|
+
], WalletTransactionModel.prototype, "userId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "requestedIndex": "HASH" }, type: 'String' })
|
|
23
|
+
], WalletTransactionModel.prototype, "requestedId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "leadIndex": "HASH" }, type: 'String' })
|
|
26
|
+
], WalletTransactionModel.prototype, "leadId", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, annotations_1.attribute)()
|
|
29
|
+
], WalletTransactionModel.prototype, "orderId", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, annotations_1.attribute)()
|
|
32
|
+
], WalletTransactionModel.prototype, "amount", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, annotations_1.attribute)()
|
|
35
|
+
], WalletTransactionModel.prototype, "title", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, annotations_1.attribute)()
|
|
38
|
+
], WalletTransactionModel.prototype, "reason", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, annotations_1.attribute)()
|
|
41
|
+
], WalletTransactionModel.prototype, "status", void 0);
|
|
42
|
+
exports.WalletTransactionModel = WalletTransactionModel = __decorate([
|
|
43
|
+
(0, annotations_1.table)("WalletTransactionTable")
|
|
44
|
+
], WalletTransactionModel);
|
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2FsbGV0LXRyYW5zYWN0aW9uLW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvd2FsbGV0LXRyYW5zYWN0aW9uL3dhbGxldC10cmFuc2FjdGlvbi1tb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQSx1REFBK0U7QUFDL0UsaURBQTZDO0FBSXRDLElBQU0sc0JBQXNCLEdBQTVCLE1BQU0sc0JBQXVCLFNBQVEsc0JBQVM7Q0EyQnBELENBQUE7QUEzQlksd0RBQXNCO0FBRS9CO0lBREMsSUFBQSxrQ0FBb0IsRUFBQyxFQUFFLElBQUksRUFBRSxRQUFRLEVBQUUsQ0FBQzs2REFDbkI7QUFHdEI7SUFEQyxJQ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lbCB7XG4gICAgQGF1dG9HZW5lcmF0ZWRIYXNoS2V5KHsgdHlwZTogXCJTdHJpbmdcIiB9KVxuICAgIHRyYW5zYWN0aW9uSWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwidXNlckluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgdXNlcklkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKHsgaW5kZXhLZXlDb25maWd1cmF0aW9uczogeyBcInJlcXVlc3RlZEluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgcmVxdWVzdGVkSWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoeyBpbmRleEtleUNvbmZpZ3VyYXRpb25zOiB7IFwibGVhZEluZGV4XCI6IFwiSEFTSFwiIH0sIHR5cGU6ICdTdHJpbmcnIH0pXG4gICAgbGVhZElkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBvcmRlcklkPzogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgYW1vdW50OiBudW1iZXI7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICB0aXRsZTogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgcmVhc29uOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBzdGF0dXM6IHN0cmluZztcbn0iXX0=
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.withdrawnDao = void 0;
|
|
4
|
+
const base_dao_1 = require("../../base-dao");
|
|
5
|
+
class WithdrawnDao extends base_dao_1.GenericDAO {
|
|
6
|
+
}
|
|
7
|
+
exports.withdrawnDao = new WithdrawnDao();
|
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l0aGRyYXduLWRhby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jdXN0b21lci11c2VyL3dpdGhkcmF3bi93aXRoZHJhd24tZGFvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDZDQUE0QztBQUc1QyxNQUFNLFlBQWEsU0FBUSxxQkFBMEI7Q0FFcEQ7QUFFWSxRQUFBLFlBQVksR0FBRyxJQUFJLFlBQVksRUFBRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgR2VuZXJpY0RBTyB9IGZyb20gXCIuLi8uLi9iYXNlLWRhb1wiO1xuaW1wb3J0IHsgV2l0aGRyYXduTW9kZWwgfSBmcm9tIFwiLi93aXRoZHJhd24tbW9kZWxcIjtcblxuY2xhc3MgV2l0aGRyYXduRGFvIGV4dGVuZHMgR2VuZXJpY0RBTzxXaXRoZHJhd25Nb2RlbD4ge1xuXG59XG5cbmV4cG9ydCBjb25zdCB3aXRoZHJhd25EYW8gPSBuZXcgV2l0aGRyYXduRGFvKCk7Il19
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.WithdrawnModel = void 0;
|
|
10
|
+
const annotations_1 = require("@nova-odm/annotations");
|
|
11
|
+
const base_model_1 = require("../../base-model");
|
|
12
|
+
let WithdrawnModel = class WithdrawnModel extends base_model_1.BaseModel {
|
|
13
|
+
};
|
|
14
|
+
exports.WithdrawnModel = WithdrawnModel;
|
|
15
|
+
__decorate([
|
|
16
|
+
(0, annotations_1.autoGeneratedHashKey)({ type: "String" })
|
|
17
|
+
], WithdrawnModel.prototype, "requestedId", void 0);
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "userIndex": "HASH" }, type: 'String' })
|
|
20
|
+
], WithdrawnModel.prototype, "userId", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, annotations_1.attribute)({ indexKeyConfigurations: { "bankIndex": "HASH" }, type: 'String' })
|
|
23
|
+
], WithdrawnModel.prototype, "bankId", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, annotations_1.attribute)()
|
|
26
|
+
], WithdrawnModel.prototype, "requestedAmount", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, annotations_1.attribute)()
|
|
29
|
+
], WithdrawnModel.prototype, "title", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, annotations_1.attribute)()
|
|
32
|
+
], WithdrawnModel.prototype, "isUPI", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, annotations_1.attribute)()
|
|
35
|
+
], WithdrawnModel.prototype, "status", void 0);
|
|
36
|
+
exports.WithdrawnModel = WithdrawnModel = __decorate([
|
|
37
|
+
(0, annotations_1.table)("WithdrawnTable")
|
|
38
|
+
], WithdrawnModel);
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoid2l0aGRyYXduLW1vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2N1c3RvbWVyLXVzZXIvd2l0aGRyYXduL3dpdGhkc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GVcIilcbmV4cG9ydCBjbGFzcyBXaXRoZHJhd25Nb2RlbCBleHRlbmRzIEJhc2VNb2RlbCB7XG4gICAgQGF1dG9HZW5lcmF0ZWRIYXNoS2V5KHsgdHlwZTogXCJTdHJpbmdcIiB9KVxuICAgIHJlcXVlc3RlZElkOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKHsgaW5kZXhLZXlDb25maWd1cmF0aW9uczogeyBcInVzZXJJbmRleFwiOiBcIkhBU0hcIiB9LCB0eXBlOiAnU3RyaW5nJyB9KVxuICAgIHVzZXJJZDogc3RyaW5nO1xuXG4gICAgQGF0dHJpYnV0ZSh7IGluZGV4S2V5Q29uZmlndXJhdGlvbnM6IHsgXCJiYW5rSW5kZXhcIjogXCJIQVNIXCIgfSwgdHlwZTogJ1N0cmluZycgfSlcbiAgICBiYW5rSWQ6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIHJlcXVlc3RlZEFtb3VudDogbnVtYmVyO1xuXG4gICAgQGF0dHJpYnV0ZSgpXG4gICAgdGl0bGU6IHN0cmluZztcblxuICAgIEBhdHRyaWJ1dGUoKVxuICAgIGlzVVBJOiBzdHJpbmc7XG5cbiAgICBAYXR0cmlidXRlKClcbiAgICBzdGF0dXM6IHN0cmluZztcbn0iXX0=
|
|
@@ -16,4 +16,4 @@ class InternalUserDAO extends base_dao_1.GenericDAO {
|
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
exports.internalUserDao = new InternalUserDAO();
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW50ZXJuYWwtdXNlci1kYW8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW50ZXJuYWwtdXNlci9pbnRlcm5hbC11c2VyLWRhby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSww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F1ZXJ5KEludGVybmFsVXNlck1vZGVsLCB7IGVtYWlsSWQ6IGVtYWlsIH0sIHsgaW5kZXhOYW1lOiAnZW1haWxJbmRleCcgfSlcbiAgICAgICAgY29uc3QgYWxsSXRlbXM6IEludGVybmFsVXNlck1vZGVsW10gPSBbXTtcblxuICAgICAgICBmb3IgYXdhaXQgKGNvbnN0IGl0ZW0gb2YgSXRlbXMpIHtcbiAgICAgICAgICAgIGFsbEl0ZW1zLnB1c2goaXRlbSk7XG4gICAgICAgIH1cblxuICAgICAgICBpZiAoYWxsSXRlbXMubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgdGhyb3cgKG5ldyBFcnJvcihgJHtlbWFpbH06RW1haWwgYWxyZWFkeSBUYWtlbmApKTtcbiAgICAgICAgfVxuICAgIH1cbn1cblxuZXhwb3J0IGNvbnN0IGludGVybmFsVXNlckRhbyA9IG5ldyBJbnRlcm5hbFVzZXJEQU8oKTsiXX0=
|
package/index.js
CHANGED
|
@@ -2,3 +2,55 @@ export { InternalUserModel } from './dist/internal-user/internal-user-model';
|
|
|
2
2
|
export { internalUserDao } from './dist/internal-user/internal-user-dao';
|
|
3
3
|
export { GenericDAO } from './dist/base-dao';
|
|
4
4
|
export { BaseModel } from './dist/base-model';
|
|
5
|
+
export { AddOnsModel } from './dist/customer-user/add-ons/add-ons-model';
|
|
6
|
+
export { addonsDao } from './dist/customer-user/add-ons/addons-dao';
|
|
7
|
+
export { BankDetailsModel } from './dist/customer-user/bank-details/bank-details-model';
|
|
8
|
+
export { bankDetailsDao } from './dist/customer-user/bank-details/bank-details-dao';
|
|
9
|
+
export { CartModel } from './dist/customer-user/cart/cart-model';
|
|
10
|
+
export { cartDAO } from './dist/customer-user/cart/cart-dao';
|
|
11
|
+
export { CartCategoriesModel } from './dist/customer-user/cart/cart-categories-model';
|
|
12
|
+
export { cartCategoriesDAO } from './dist/customer-user/cart/cart-categories-dao';
|
|
13
|
+
export { CategoryModel } from './dist/customer-user/category/category-model';
|
|
14
|
+
export { categoryTypesDAO } from './dist/customer-user/category/category-dao';
|
|
15
|
+
export { ContentModel } from './dist/customer-user/content/content-model';
|
|
16
|
+
export { contentDeliveryDAO } from './dist/customer-user/content/content-delivery-dao';
|
|
17
|
+
export { CouponsModel } from './dist/customer-user/coupons/coupons-model';
|
|
18
|
+
export { couponDAO } from './dist/customer-user/coupons/coupons-dao';
|
|
19
|
+
export { DefaultPlatterModel } from './dist/customer-user/default-platter/default-platters-model';
|
|
20
|
+
export { defaultPlatterDAO } from './dist/customer-user/default-platter/default-platter-dao';
|
|
21
|
+
export { DefaultPlatterCategoriesModel } from './dist/customer-user/default-platter/default-platters-category-model';
|
|
22
|
+
export { defaultPlattersCategoriesDAO } from './dist/customer-user/default-platter/default-platter-categories-dao';
|
|
23
|
+
export { DefaultPlattersItems } from './dist/customer-user/default-platter/default_platters_items';
|
|
24
|
+
export { defaultPlatterItemsDAO } from './dist/customer-user/default-platter/default-platter-items-dao';
|
|
25
|
+
export { EventExecutivesModel } from './dist/customer-user/event-executives/event-executive-model';
|
|
26
|
+
export { eventExecutivesDAO } from './dist/customer-user/event-executives/event-executive-dao';
|
|
27
|
+
export { ItemsModel } from './dist/customer-user/items/items-model';
|
|
28
|
+
export { menuItemsDAO } from './dist/customer-user/items/items-dao';
|
|
29
|
+
export { LeadModel } from './dist/customer-user/lead/lead-model';
|
|
30
|
+
export { leadDao } from './dist/customer-user/lead/lead-dao';
|
|
31
|
+
export { OccasionModel } from './dist/customer-user/occastion/occasion-model';
|
|
32
|
+
export { occasionDao } from './dist/customer-user/occastion/occasion-dao';
|
|
33
|
+
export { AddressModel } from './dist/customer-user/order-module/address/address-model';
|
|
34
|
+
export { addressDao } from './dist/customer-user/order-module/address/address-dao';
|
|
35
|
+
export { OrderModel } from './dist/customer-user/order-module/order/order-model';
|
|
36
|
+
export { orderDao } from './dist/customer-user/order-module/order/order-dao';
|
|
37
|
+
export { AddressOrderModel } from './dist/customer-user/order-module/order-address/address-order-model';
|
|
38
|
+
export { addressOrderDao } from './dist/customer-user/order-module/order-address/address-order-dao';
|
|
39
|
+
export { OrderReviewModel } from './dist/customer-user/order-module/order-review/order-review-model';
|
|
40
|
+
export { orderReviewDAO } from './dist/customer-user/order-module/order-review/order-review-dao';
|
|
41
|
+
export { PaymentModel } from './dist/customer-user/order-module/payment/payment-model';
|
|
42
|
+
export { paymentDao } from './dist/customer-user/order-module/payment/paymet-dao';
|
|
43
|
+
export { PlateModel } from './dist/customer-user/order-module/plate-order/plate-order-model';
|
|
44
|
+
export { plateOrderDAO } from './dist/customer-user/order-module/plate-order/plateOrderDao';
|
|
45
|
+
export { TrackingModel } from './dist/customer-user/order-module/tracking/tracking-model';
|
|
46
|
+
export { trackingDao } from './dist/customer-user/order-module/tracking/tracking-dao';
|
|
47
|
+
export { ReferalContentModel } from './dist/customer-user/referal-content/referal-content-model';
|
|
48
|
+
export { referalContentDao } from './dist/customer-user/referal-content/referal-content-dao';
|
|
49
|
+
export { UserModel } from './dist/customer-user/user/user-model';
|
|
50
|
+
export { userDAO } from './dist/customer-user/user/user-dao';
|
|
51
|
+
export { WalletModel } from './dist/customer-user/wallet/wallet-model';
|
|
52
|
+
export { walletDao } from './dist/customer-user/wallet/wallet-dao';
|
|
53
|
+
export { WalletTransactionModel } from './dist/customer-user/wallet-transaction/wallet-transaction-model';
|
|
54
|
+
export { walletTransactionDao } from './dist/customer-user/wallet-transaction/wallet-transaction-dao';
|
|
55
|
+
export { WithdrawnModel } from './dist/customer-user/withdrawn/withdrawn-model';
|
|
56
|
+
export { withdrawnDao } from './dist/customer-user/withdrawn/withdrawn-dao';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cmp-aws-database",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"bin": {
|
|
5
5
|
"craft-my-plate-database": "bin/craft-my-plate-database.js"
|
|
6
6
|
},
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
},
|
|
27
27
|
"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.\"",
|
|
28
28
|
"main": "index.js",
|
|
29
|
-
"type": "
|
|
29
|
+
"type": "commonjs",
|
|
30
30
|
"directories": {
|
|
31
31
|
"lib": "lib",
|
|
32
32
|
"test": "test"
|