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.
Files changed (84) hide show
  1. package/dist/config/table-names.d.ts +20 -0
  2. package/dist/config/table-names.js +21 -1
  3. package/dist/customer-user/accompaniments/accompaniments-model.d.ts +1 -0
  4. package/dist/customer-user/accompaniments/accompaniments-model.js +5 -1
  5. package/dist/customer-user/add-ons/add-ons-model.d.ts +3 -0
  6. package/dist/customer-user/add-ons/add-ons-model.js +13 -1
  7. package/dist/customer-user/browse-history/browse-history-dao.d.ts +122 -0
  8. package/dist/customer-user/browse-history/browse-history-dao.js +173 -0
  9. package/dist/customer-user/browse-history/browse-history-model.d.ts +31 -0
  10. package/dist/customer-user/browse-history/browse-history-model.js +118 -0
  11. package/dist/customer-user/cart/cart-categories-model.d.ts +6 -2
  12. package/dist/customer-user/cart/cart-categories-model.js +15 -3
  13. package/dist/customer-user/cart/cart-model.d.ts +43 -0
  14. package/dist/customer-user/cart/cart-model.js +119 -2
  15. package/dist/customer-user/category/category-dao.d.ts +29 -0
  16. package/dist/customer-user/category/category-dao.js +52 -1
  17. package/dist/customer-user/category/category-model.d.ts +1 -0
  18. package/dist/customer-user/category/category-model.js +5 -1
  19. package/dist/customer-user/coupons/coupon-redemptions-dao.d.ts +58 -0
  20. package/dist/customer-user/coupons/coupon-redemptions-dao.js +171 -0
  21. package/dist/customer-user/coupons/coupon-redemptions-model.d.ts +27 -0
  22. package/dist/customer-user/coupons/coupon-redemptions-model.js +76 -0
  23. package/dist/customer-user/coupons/coupon-targets-dao.d.ts +32 -0
  24. package/dist/customer-user/coupons/coupon-targets-dao.js +119 -0
  25. package/dist/customer-user/coupons/coupon-targets-keys.d.ts +32 -0
  26. package/dist/customer-user/coupons/coupon-targets-keys.js +86 -0
  27. package/dist/customer-user/coupons/coupon-targets-model.d.ts +25 -0
  28. package/dist/customer-user/coupons/coupon-targets-model.js +76 -0
  29. package/dist/customer-user/coupons/coupons-model.d.ts +17 -0
  30. package/dist/customer-user/coupons/coupons-model.js +34 -3
  31. package/dist/customer-user/cutlery/cutlery-model.d.ts +3 -0
  32. package/dist/customer-user/cutlery/cutlery-model.js +13 -1
  33. package/dist/customer-user/default-platter/default-platters-model.d.ts +2 -0
  34. package/dist/customer-user/default-platter/default-platters-model.js +9 -1
  35. package/dist/customer-user/default-platter/default_platters_items.d.ts +1 -0
  36. package/dist/customer-user/default-platter/default_platters_items.js +5 -1
  37. package/dist/customer-user/elphie/elphie-errors.d.ts +15 -0
  38. package/dist/customer-user/elphie/elphie-errors.js +31 -0
  39. package/dist/customer-user/elphie/elphie-message-dao.d.ts +51 -0
  40. package/dist/customer-user/elphie/elphie-message-dao.js +160 -0
  41. package/dist/customer-user/elphie/elphie-message-model.d.ts +25 -0
  42. package/dist/customer-user/elphie/elphie-message-model.js +78 -0
  43. package/dist/customer-user/elphie/elphie-session-dao.d.ts +46 -0
  44. package/dist/customer-user/elphie/elphie-session-dao.js +134 -0
  45. package/dist/customer-user/elphie/elphie-session-model.d.ts +26 -0
  46. package/dist/customer-user/elphie/elphie-session-model.js +55 -0
  47. package/dist/customer-user/fmpRequestCallback/fmp-request-callback-model.d.ts +1 -0
  48. package/dist/customer-user/fmpRequestCallback/fmp-request-callback-model.js +5 -1
  49. package/dist/customer-user/items/items-model.d.ts +2 -0
  50. package/dist/customer-user/items/items-model.js +9 -1
  51. package/dist/customer-user/items-bundle/items-bundle-dao.d.ts +72 -0
  52. package/dist/customer-user/items-bundle/items-bundle-dao.js +117 -0
  53. package/dist/customer-user/items-bundle/items-bundle-model.d.ts +23 -0
  54. package/dist/customer-user/items-bundle/items-bundle-model.js +62 -0
  55. package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-dao.d.ts +140 -0
  56. package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-dao.js +253 -0
  57. package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-model.d.ts +63 -0
  58. package/dist/customer-user/lsq-priority-updation/lsq-priority-updation-model.js +135 -0
  59. package/dist/customer-user/order-module/order-review/order-review-feedback-model.d.ts +11 -1
  60. package/dist/customer-user/order-module/order-review/order-review-feedback-model.js +1 -1
  61. package/dist/customer-user/order-module/plate-order/plate-order-model.d.ts +22 -0
  62. package/dist/customer-user/order-module/plate-order/plate-order-model.js +77 -2
  63. package/dist/customer-user/order-module/tracking/tracking-model.d.ts +9 -0
  64. package/dist/customer-user/order-module/tracking/tracking-model.js +33 -2
  65. package/dist/customer-user/replace-items/replace-items-model.d.ts +1 -0
  66. package/dist/customer-user/replace-items/replace-items-model.js +5 -1
  67. package/dist/customer-user/resume-journey/resume-journey-model.d.ts +11 -0
  68. package/dist/customer-user/resume-journey/resume-journey-model.js +41 -2
  69. package/dist/customer-user/testing-session/testing-session-dao.d.ts +86 -0
  70. package/dist/customer-user/testing-session/testing-session-dao.js +149 -0
  71. package/dist/customer-user/testing-session/testing-session-model.d.ts +30 -0
  72. package/dist/customer-user/testing-session/testing-session-model.js +104 -0
  73. package/dist/customer-user/user/user-specifics-model.d.ts +2 -0
  74. package/dist/customer-user/user/user-specifics-model.js +9 -1
  75. package/dist/customer-user/whatsapp-invite/whatsapp-invite-dao.d.ts +78 -0
  76. package/dist/customer-user/whatsapp-invite/whatsapp-invite-dao.js +179 -0
  77. package/dist/customer-user/whatsapp-invite/whatsapp-invite-model.d.ts +59 -0
  78. package/dist/customer-user/whatsapp-invite/whatsapp-invite-model.js +124 -0
  79. package/dist/patner-third-party/third-party-api-key/third-party-api-key-dao.d.ts +114 -0
  80. package/dist/patner-third-party/third-party-api-key/third-party-api-key-dao.js +225 -0
  81. package/dist/patner-third-party/third-party-api-key/third-party-api-key-model.d.ts +21 -0
  82. package/dist/patner-third-party/third-party-api-key/third-party-api-key-model.js +70 -0
  83. package/index.js +49 -1
  84. 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhpcmQtcGFydHktYXBpLWtleS1tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9wYXRuZXItdGhpcmQtcGFydHkvdGhpcmQtcGFydHktYXBpLWtleS90aGlyZC1wYXJ0eS1hcGkta2V5LW1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7OztBQUFBLDBEQUFrQztBQUNsQyxtQ0FBb0M7QUFDcEMscUVBQTZGO0FBQzdGLDBEQUF1RDtBQUUxQyxRQUFBLDBCQUEwQixHQUFHO0lBQ3RDLE1BQU0sRUFBRSxRQUFRO0lBQ2hCLFFBQVEsRUFBRSxVQUFVO0NBQ2QsQ0FBQztBQW9CWCxNQUFNLHNCQUFzQixHQUFHLElBQUksbUJBQVMsQ0FBQyxNQUFNLENBQy9DO0lBQ0ksU0FBUyxFQUFFO1FBQ1AsSUFBSSxFQUFFLE1BQU07UUFDWixPQUFPLEVBQUUsSUFBSTtRQUNiLFFBQVEsRUFBRSxJQUFJO0tBQ2pCO0lBQ0QsV0FBVyxFQUFFO1FBQ1QsSUFBSSxFQUFFLE1BQU07UUFDWixRQUFRLEVBQUUsSUFBSTtLQUNqQjtJQUNELFFBQVEsRUFBRTtRQUNOLElBQUksRUFBRSxNQUFNO1FBQ1osUUFBUSxFQUFFLElBQUk7UUFDZCxRQUFRLEVBQUUsSUFBSTtRQUNkLE9BQU8sRUFBRSxHQUFHLEVBQUUsQ0FBQyxJQUFBLG1CQUFVLEdBQUU7S0FDOUI7SUFDRCxVQUFVLEVBQUU7UUFDUixJQUFJLEVBQUUsTUFBTT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YXN0VXNlZEF0PzogbnVtYmVyO1xufVxuXG5leHBvcnQgdHlwZSBDcmVhdGVUaGlyZFBhcnR5QXBpS2V5SW5wdXQgPSBPbWl0PFRoaXJkUGFydHlBcGlLZXksIFwiYXBpS2V5SWRcIj4gJiB7XG4gICAgYXBpS2V5SWQ/OiBzdHJpbmc7XG59O1xuXG5jb25zdCB0aGlyZFBhcnR5QXBpS2V5U2NoZW1hID0gbmV3IGR5bmFtb29zZS5TY2hlbWEoXG4gICAge1xuICAgICAgICBwYXJ0bmVySWQ6IHtcbiAgICAgICAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgICAgICAgIGhhc2hLZXk6IHRydWUsXG4gICAgICAgICAgICByZXF1aXJlZDogdHJ1ZVxuICAgICAgICB9LFxuICAgICAgICBwYXJ0bmVyTmFtZToge1xuICAgICAgICAgICAgdHlwZTogU3RyaW5nLFxuICAgICAgICAgICAgcmVxdWlyZWQ6IHRydWVcbiAgICAgICAgfSxcbiAgICAgICAgYXBpS2V5SWQ6IHtcbiAgICAgICAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgICAgICAgIHJhbmdlS2V5OiB0cnVlLFxuICAgICAgICAgICAgcmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBkZWZhdWx0OiAoKSA9PiByYW5kb21VVUlEKClcbiAgICAgICAgfSxcbiAgICAgICAgYXBpS2V5SGFzaDoge1xuICAgICAgICAgICAgdHlwZTogU3RyaW5nLFxuICAgICAgICAgICAgcmVxdWlyZWQ6IHRydWUsXG4gICAgICAgICAgICBpbmRleDoge1xuICAgICAgICAgICAgICAgIG5hbWU6IFwiYXBpS2V5SGFzaEluZGV4XCIsXG4gICAgICAgICAgICAgICAgdHlwZTogXCJnbG9iYWxcIlxuICAgICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBzdGF0dXM6IHtcbiAgICAgICAgICAgIHR5cGU6IFN0cmluZyxcbiAgICAgICAgICAgIHJlcXVpcmVkOiB0cnVlLFxuICAg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GhpcmRQYXJ0eUFwaUtleU1vZGVsID0gKGlucHV0OiBDcmVhdGVUaGlyZFBhcnR5QXBpS2V5SW5wdXQgfCBUaGlyZFBhcnR5QXBpS2V5KSA9PiB7XG4gICAgcmV0dXJuIG5ldyBUaGlyZFBhcnR5QXBpS2V5TW9kZWwoaW5wdXQpO1xufTtcbiJdfQ==
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';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cmp-aws-database",
3
- "version": "2.1.2-dev.8",
3
+ "version": "2.1.2-dev.80",
4
4
  "bin": {
5
5
  "craft-my-plate-database": "bin/craft-my-plate-database.js"
6
6
  },