cmp-aws-database 2.1.2-dev.8 → 2.1.2-dev.80
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/config/table-names.d.ts +20 -0
- package/dist/config/table-names.js +21 -1
- package/dist/customer-user/accompaniments/accompaniments-model.d.ts +1 -0
- package/dist/customer-user/accompaniments/accompaniments-model.js +5 -1
- package/dist/customer-user/add-ons/add-ons-model.d.ts +3 -0
- package/dist/customer-user/add-ons/add-ons-model.js +13 -1
- package/dist/customer-user/browse-history/browse-history-dao.d.ts +122 -0
- package/dist/customer-user/browse-history/browse-history-dao.js +173 -0
- package/dist/customer-user/browse-history/browse-history-model.d.ts +31 -0
- package/dist/customer-user/browse-history/browse-history-model.js +118 -0
- package/dist/customer-user/cart/cart-categories-model.d.ts +6 -2
- package/dist/customer-user/cart/cart-categories-model.js +15 -3
- package/dist/customer-user/cart/cart-model.d.ts +43 -0
- package/dist/customer-user/cart/cart-model.js +119 -2
- package/dist/customer-user/category/category-dao.d.ts +29 -0
- package/dist/customer-user/category/category-dao.js +52 -1
- package/dist/customer-user/category/category-model.d.ts +1 -0
- package/dist/customer-user/category/category-model.js +5 -1
- package/dist/customer-user/coupons/coupon-redemptions-dao.d.ts +58 -0
- package/dist/customer-user/coupons/coupon-redemptions-dao.js +171 -0
- package/dist/customer-user/coupons/coupon-redemptions-model.d.ts +27 -0
- package/dist/customer-user/coupons/coupon-redemptions-model.js +76 -0
- package/dist/customer-user/coupons/coupon-targets-dao.d.ts +32 -0
- package/dist/customer-user/coupons/coupon-targets-dao.js +119 -0
- package/dist/customer-user/coupons/coupon-targets-keys.d.ts +32 -0
- package/dist/customer-user/coupons/coupon-targets-keys.js +86 -0
- package/dist/customer-user/coupons/coupon-targets-model.d.ts +25 -0
- package/dist/customer-user/coupons/coupon-targets-model.js +76 -0
- package/dist/customer-user/coupons/coupons-model.d.ts +17 -0
- package/dist/customer-user/coupons/coupons-model.js +34 -3
- package/dist/customer-user/cutlery/cutlery-model.d.ts +3 -0
- package/dist/customer-user/cutlery/cutlery-model.js +13 -1
- package/dist/customer-user/default-platter/default-platters-model.d.ts +2 -0
- package/dist/customer-user/default-platter/default-platters-model.js +9 -1
- package/dist/customer-user/default-platter/default_platters_items.d.ts +1 -0
- package/dist/customer-user/default-platter/default_platters_items.js +5 -1
- package/dist/customer-user/elphie/elphie-errors.d.ts +15 -0
- package/dist/customer-user/elphie/elphie-errors.js +31 -0
- package/dist/customer-user/elphie/elphie-message-dao.d.ts +51 -0
- package/dist/customer-user/elphie/elphie-message-dao.js +160 -0
- package/dist/customer-user/elphie/elphie-message-model.d.ts +25 -0
- package/dist/customer-user/elphie/elphie-message-model.js +78 -0
- package/dist/customer-user/elphie/elphie-session-dao.d.ts +46 -0
- package/dist/customer-user/elphie/elphie-session-dao.js +134 -0
- package/dist/customer-user/elphie/elphie-session-model.d.ts +26 -0
- package/dist/customer-user/elphie/elphie-session-model.js +55 -0
- package/dist/customer-user/fmpRequestCallback/fmp-request-callback-model.d.ts +1 -0
- package/dist/customer-user/fmpRequestCallback/fmp-request-callback-model.js +5 -1
- package/dist/customer-user/items/items-model.d.ts +2 -0
- package/dist/customer-user/items/items-model.js +9 -1
- package/dist/customer-user/items-bundle/items-bundle-dao.d.ts +72 -0
- package/dist/customer-user/items-bundle/items-bundle-dao.js +117 -0
- package/dist/customer-user/items-bundle/items-bundle-model.d.ts +23 -0
- package/dist/customer-user/items-bundle/items-bundle-model.js +62 -0
- package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-dao.d.ts +140 -0
- package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-dao.js +253 -0
- package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-model.d.ts +63 -0
- package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-model.js +135 -0
- package/dist/customer-user/order-module/order-review/order-review-feedback-model.d.ts +11 -1
- package/dist/customer-user/order-module/order-review/order-review-feedback-model.js +1 -1
- package/dist/customer-user/order-module/plate-order/plate-order-model.d.ts +22 -0
- package/dist/customer-user/order-module/plate-order/plate-order-model.js +77 -2
- package/dist/customer-user/order-module/tracking/tracking-model.d.ts +9 -0
- package/dist/customer-user/order-module/tracking/tracking-model.js +33 -2
- package/dist/customer-user/replace-items/replace-items-model.d.ts +1 -0
- package/dist/customer-user/replace-items/replace-items-model.js +5 -1
- package/dist/customer-user/resume-journey/resume-journey-model.d.ts +11 -0
- package/dist/customer-user/resume-journey/resume-journey-model.js +41 -2
- package/dist/customer-user/testing-session/testing-session-dao.d.ts +86 -0
- package/dist/customer-user/testing-session/testing-session-dao.js +149 -0
- package/dist/customer-user/testing-session/testing-session-model.d.ts +30 -0
- package/dist/customer-user/testing-session/testing-session-model.js +104 -0
- package/dist/customer-user/user/user-specifics-model.d.ts +2 -0
- package/dist/customer-user/user/user-specifics-model.js +9 -1
- package/dist/customer-user/whatsapp-invite/whatsapp-invite-dao.d.ts +78 -0
- package/dist/customer-user/whatsapp-invite/whatsapp-invite-dao.js +179 -0
- package/dist/customer-user/whatsapp-invite/whatsapp-invite-model.d.ts +59 -0
- package/dist/customer-user/whatsapp-invite/whatsapp-invite-model.js +124 -0
- package/dist/patner-third-party/third-party-api-key/third-party-api-key-dao.d.ts +114 -0
- package/dist/patner-third-party/third-party-api-key/third-party-api-key-dao.js +225 -0
- package/dist/patner-third-party/third-party-api-key/third-party-api-key-model.d.ts +21 -0
- package/dist/patner-third-party/third-party-api-key/third-party-api-key-model.js +70 -0
- package/index.js +49 -1
- package/package.json +1 -1
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.convertToThirdPartyApiKeyModel = exports.ThirdPartyApiKeyModel = exports.THIRD_PARTY_API_KEY_STATUS = void 0;
|
|
7
|
+
const dynamoose_1 = __importDefault(require("dynamoose"));
|
|
8
|
+
const crypto_1 = require("crypto");
|
|
9
|
+
const base_dynamoose_model_1 = require("../../base-dynamoose-model");
|
|
10
|
+
const table_names_1 = require("../../config/table-names");
|
|
11
|
+
exports.THIRD_PARTY_API_KEY_STATUS = {
|
|
12
|
+
ACTIVE: "ACTIVE",
|
|
13
|
+
INACTIVE: "INACTIVE"
|
|
14
|
+
};
|
|
15
|
+
const thirdPartyApiKeySchema = new dynamoose_1.default.Schema({
|
|
16
|
+
partnerId: {
|
|
17
|
+
type: String,
|
|
18
|
+
hashKey: true,
|
|
19
|
+
required: true
|
|
20
|
+
},
|
|
21
|
+
partnerName: {
|
|
22
|
+
type: String,
|
|
23
|
+
required: true
|
|
24
|
+
},
|
|
25
|
+
apiKeyId: {
|
|
26
|
+
type: String,
|
|
27
|
+
rangeKey: true,
|
|
28
|
+
required: true,
|
|
29
|
+
default: () => (0, crypto_1.randomUUID)()
|
|
30
|
+
},
|
|
31
|
+
apiKeyHash: {
|
|
32
|
+
type: String,
|
|
33
|
+
required: true,
|
|
34
|
+
index: {
|
|
35
|
+
name: "apiKeyHashIndex",
|
|
36
|
+
type: "global"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
status: {
|
|
40
|
+
type: String,
|
|
41
|
+
required: true,
|
|
42
|
+
enum: [exports.THIRD_PARTY_API_KEY_STATUS.ACTIVE, exports.THIRD_PARTY_API_KEY_STATUS.INACTIVE],
|
|
43
|
+
default: exports.THIRD_PARTY_API_KEY_STATUS.ACTIVE,
|
|
44
|
+
index: {
|
|
45
|
+
name: "statusIndex",
|
|
46
|
+
type: "global"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
scopes: {
|
|
50
|
+
type: Array,
|
|
51
|
+
schema: [String],
|
|
52
|
+
required: true
|
|
53
|
+
},
|
|
54
|
+
expiresAt: {
|
|
55
|
+
type: Number
|
|
56
|
+
},
|
|
57
|
+
lastUsedAt: {
|
|
58
|
+
type: Number
|
|
59
|
+
},
|
|
60
|
+
...base_dynamoose_model_1.BASE_DYNAMOOSE_AUDIT_SCHEMA
|
|
61
|
+
}, {
|
|
62
|
+
saveUnknown: false,
|
|
63
|
+
timestamps: true
|
|
64
|
+
});
|
|
65
|
+
exports.ThirdPartyApiKeyModel = dynamoose_1.default.model(table_names_1.TABLE_NAMES.THIRD_PARTY_API_KEY, thirdPartyApiKeySchema, { create: false, waitForActive: false });
|
|
66
|
+
const convertToThirdPartyApiKeyModel = (input) => {
|
|
67
|
+
return new exports.ThirdPartyApiKeyModel(input);
|
|
68
|
+
};
|
|
69
|
+
exports.convertToThirdPartyApiKeyModel = convertToThirdPartyApiKeyModel;
|
|
70
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhpcmQtcGFydHktYXBpLWtleS1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYXRuZXItdGhpcmQtcGFydHkvdGhpcmQtcGFydHktYXBpLWtleS90aGlyZC1wYXJ0eS1hcGkta2V5LW1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDBEQUFrQztBQUNsQyxtQ0FBb0M7QUFDcEMscUVBQTZGO0FBQzdGLDBEQUF1RDtBQUUxQyxRQUFBLDBCQUEwQixHQUFHO0lBQ3RDLE1BQU0sRUFBRSxRQUFRO0lBQ2hCLFFBQVEsRUFBRSxVQUFVO0NBQ2QsQ0FBQztBQW9CWCxNQUFNLHNCQUFzQixHQUFHLElBQUksbUJBQVMsQ0FBQyxNQUFNLENBQy9DO0lBQ0ksU0FBUyxFQUFFO1FBQ1AsSUFBSSxFQUFFLE1BQU07UUFDWixPQUFPLEVBQUUsSUFBSTtRQUNiLFFBQVEsRUFBRSxJQUFJO0tBQ2pCO0lBQ0QsV0FBVyxFQUFFO1FBQ1QsSUFBSSxFQUFFLE1BQU07U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ydWUsXG4gICAgICAgICAgICBpbmRleDoge1xuICAgICAgICAgICAgICAgIG5hbWU6IFwiYXBpS2V5SGFzaEluZGV4XCIsXG4gICAgICAgICAgICAgICAgdHlwZTogXCJnbG9iYWxcIlxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBzdGF0dXM6IHtcbiAgICAgICAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgICAgICAgIHJlcXVpcmVkOiB0cnVlLFxuICAgICAgICAgICAgZW51bTogW1RISVJEX1BBUlRZX0FQSV9LRVlfU1RBVFVTLkFDVElWRSwgVEhJUkRfUEFSVFlfQVBJX0tFWV9TVEFUVVMuSU5BQ1RJVkVdLFxuICAgICAgICAgICAgZGVmYXVsdDogVEhJUkRfUEFSVFlfQVBJX0tFWV9TVEFUVVMuQUNUSVZFLFxuICAgICAgICAgICAgaW5kZXg6IHtcbiAgICAgICAgICAgICAgICBuYW1lOiBcInN0YXR1c0luZGV4XCIsXG4gICAgICAgICAgICAgICAgdHlwZTogXCJnbG9iYWxcIlxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBzY29wZXM6IHtcbiAgICAgICAgICAgIHR5cGU6IEFycmF5LFxuICAgICAgICAgICAgc2NoZW1hOiBbU3RyaW5nXSxcbiAgICAgICAgICAgIHJlcXVpcmVkOiB0cnVlXG4gICAgICAgIH0sXG4gICAgICAgIGV4cGlyZXNBdDoge1xuICAgICAgICAgICAgdHlwZTogTnVtYmVyXG4gICAgICAgIH0sXG4gICAgICAgIGxhc3RVc2VkQXQ6IHtcbiAgICAgICAgICAgIHR5cGU6IE51bWJlclxuICAgICAgICB9LFxuICAgICAgICAuLi5CQVNFX0RZTkFNT09TRV9BVURJVF9TQ0hFTUFcbiAgICB9LFxuICAgIHtcbiAgICAgICAgc2F2ZVVua25vd246IGZhbHNlLFxuICAgICAgICB0aW1lc3RhbXBzOiB0cnVlXG4gICAgfVxuKTtcblxuZXhwb3J0IGNvbnN0IFRoaXJkUGFydHlBcGlLZXlNb2RlbCA9IGR5bmFtb29zZS5tb2RlbDxUaGlyZFBhcnR5QXBpS2V5PihcbiAgICBUQUJMRV9OQU1FUy5USElSRF9QQVJUWV9BUElfS0VZLFxuICAgIHRoaXJkUGFydHlBcGlLZXlTY2hlbWEsXG4gICAgeyBjcmVhdGU6IGZhbHNlLCB3YWl0Rm9yQWN0aXZlOiBmYWxzZSB9XG4pO1xuXG5leHBvcnQgY29uc3QgY29udmVydFRvVGhpcmRQYXJ0eUFwaUtleU1vZGVsID0gKGlucHV0OiBDcmVhdGVUaGlyZFBhcnR5QXBpS2V5SW5wdXQgfCBUaGlyZFBhcnR5QXBpS2V5KSA9PiB7XG4gICAgcmV0dXJuIG5ldyBUaGlyZFBhcnR5QXBpS2V5TW9kZWwoaW5wdXQpO1xufTtcbiJdfQ==
|
package/index.js
CHANGED
|
@@ -22,6 +22,34 @@ export { ContentModel } from './dist/customer-user/content/content-model';
|
|
|
22
22
|
export { contentDeliveryDAO } from './dist/customer-user/content/content-delivery-dao';
|
|
23
23
|
export { CouponsModel } from './dist/customer-user/coupons/coupons-model';
|
|
24
24
|
export { couponDAO } from './dist/customer-user/coupons/coupons-dao';
|
|
25
|
+
export {
|
|
26
|
+
buildUserTargetKey,
|
|
27
|
+
buildPlatterTargetKey,
|
|
28
|
+
buildUserPlatterTargetKey,
|
|
29
|
+
buildEntityCouponKeys,
|
|
30
|
+
buildCouponUserKey,
|
|
31
|
+
buildCouponKey,
|
|
32
|
+
buildCouponPlatterKey,
|
|
33
|
+
COUPON_REDEMPTION_SUMMARY_ENTRY_KEY,
|
|
34
|
+
resolveEffectivePerUserLimit,
|
|
35
|
+
computeRemainingUses
|
|
36
|
+
} from './dist/customer-user/coupons/coupon-targets-keys';
|
|
37
|
+
export {
|
|
38
|
+
CouponTargetModel,
|
|
39
|
+
COUPON_TARGET_TYPE,
|
|
40
|
+
ENTITY_COUPON_INDEX,
|
|
41
|
+
convertToCouponTargetModel
|
|
42
|
+
} from './dist/customer-user/coupons/coupon-targets-model';
|
|
43
|
+
export {
|
|
44
|
+
couponTargetsDao,
|
|
45
|
+
buildCouponTargetItem
|
|
46
|
+
} from './dist/customer-user/coupons/coupon-targets-dao';
|
|
47
|
+
export {
|
|
48
|
+
CouponRedemptionModel,
|
|
49
|
+
COUPON_REDEMPTIONS_USER_INDEX,
|
|
50
|
+
convertToCouponRedemptionModel
|
|
51
|
+
} from './dist/customer-user/coupons/coupon-redemptions-model';
|
|
52
|
+
export { couponRedemptionsDao } from './dist/customer-user/coupons/coupon-redemptions-dao';
|
|
25
53
|
export { DefaultPlatterModel } from './dist/customer-user/default-platter/default-platters-model';
|
|
26
54
|
export { defaultPlatterDAO } from './dist/customer-user/default-platter/default-platter-dao';
|
|
27
55
|
export { DefaultPlatterCategoriesModel } from './dist/customer-user/default-platter/default-platters-category-model';
|
|
@@ -59,4 +87,24 @@ export { walletDao } from './dist/customer-user/wallet/wallet-dao';
|
|
|
59
87
|
export { WalletTransactionModel } from './dist/customer-user/wallet-transaction/wallet-transaction-model';
|
|
60
88
|
export { walletTransactionDao } from './dist/customer-user/wallet-transaction/wallet-transaction-dao';
|
|
61
89
|
export { WithdrawnModel } from './dist/customer-user/withdrawn/withdrawn-model';
|
|
62
|
-
export { withdrawnDao } from './dist/customer-user/withdrawn/withdrawn-dao';
|
|
90
|
+
export { withdrawnDao } from './dist/customer-user/withdrawn/withdrawn-dao';
|
|
91
|
+
export { ThirdPartyApiKeyModel } from './dist/patner-third-party/third-party-api-key/third-party-api-key-model';
|
|
92
|
+
export { thirdPartyApiKeyDao } from './dist/patner-third-party/third-party-api-key/third-party-api-key-dao';
|
|
93
|
+
// WhatsApp invite tracking (Dynamoose, provider-agnostic)
|
|
94
|
+
export {
|
|
95
|
+
WhatsAppInviteModel,
|
|
96
|
+
WHATSAPP_INVITE_STATUS,
|
|
97
|
+
WHATSAPP_INVITE_INDEX,
|
|
98
|
+
convertToWhatsAppInviteModel
|
|
99
|
+
} from './dist/customer-user/whatsapp-invite/whatsapp-invite-model';
|
|
100
|
+
export { whatsappInviteDao } from './dist/customer-user/whatsapp-invite/whatsapp-invite-dao';
|
|
101
|
+
// Elphie (Dynamoose)
|
|
102
|
+
export { ElphieSessionModel } from './dist/customer-user/elphie/elphie-session-model';
|
|
103
|
+
export { elphieSessionService } from './dist/customer-user/elphie/elphie-session-dao';
|
|
104
|
+
export { ElphieMessageModel, ELPHIE_MESSAGE_ROLE } from './dist/customer-user/elphie/elphie-message-model';
|
|
105
|
+
export { elphieMessageService } from './dist/customer-user/elphie/elphie-message-dao';
|
|
106
|
+
export {
|
|
107
|
+
SessionNotFoundError,
|
|
108
|
+
ConversationNotFoundError,
|
|
109
|
+
ElphieValidationError
|
|
110
|
+
} from './dist/customer-user/elphie/elphie-errors';
|