@lyxa.ai/marketing 1.0.9 → 1.0.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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"individual-store-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/individual-store-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"individual-store-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/individual-store-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAY,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAEN,qBAAqB,IAAI,KAAK,EAC9B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACN,yBAAyB,EACzB,8BAA8B,IAAI,SAAS,EAC3C,8BAA8B,IAAI,SAAS,EAC3C,iBAAiB,EACjB,MAAM,6BAA6B,CAAC;AAIrC,qBACa,4BAA4B;IACxC,OAAO,CAAC,KAAK,CAAC;;IAMd;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAMlE;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAuBjE,cAAc,CAC1B,IAAI,EAAE,iBAAiB,EACvB,cAAc,EAAE,YAAY,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,yBAAyB,CAAC;CA6BrC;AAED,eAAO,MAAM,4BAA4B,8BAA8C,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"individual-user-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/individual-user-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,
|
|
1
|
+
{"version":3,"file":"individual-user-coupon.service.d.ts","sourceRoot":"/","sources":["modules/coupon/services/individual-user-coupon.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAY,MAAM,sBAAsB,CAAC;AAC9D,OAAO,EAEN,oBAAoB,IAAI,KAAK,EAC7B,MAAM,4CAA4C,CAAC;AACpD,OAAO,EACN,yBAAyB,EACzB,6BAA6B,IAAI,SAAS,EAC1C,6BAA6B,IAAI,SAAS,EAC1C,iBAAiB,EACjB,MAAM,6BAA6B,CAAC;AAIrC,qBACa,2BAA2B;IACvC,OAAO,CAAC,KAAK,CAAC;;IAMd;;;OAGG;IACU,MAAM,CAAC,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IAMlE;;;;OAIG;IACU,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,OAAO,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;IA2BjE,cAAc,CAC1B,IAAI,EAAE,iBAAiB,EACvB,cAAc,EAAE,YAAY,CAAC,KAAK,CAAC,GACjC,OAAO,CAAC,yBAAyB,CAAC;CA6BrC;AAED,eAAO,MAAM,2BAA2B,6BAA6C,CAAC"}
|
|
@@ -828,14 +828,14 @@ export declare const GetUserCouponSchema: z.ZodObject<{
|
|
|
828
828
|
* Schema for validating coupons
|
|
829
829
|
*/
|
|
830
830
|
export declare const ValidateCouponSchema: z.ZodObject<{
|
|
831
|
-
user: z.
|
|
832
|
-
shop: z.
|
|
831
|
+
user: z.ZodType<string | import("mongoose").Types.ObjectId, z.ZodTypeDef, string | import("mongoose").Types.ObjectId>;
|
|
832
|
+
shop: z.ZodType<string | import("mongoose").Types.ObjectId, z.ZodTypeDef, string | import("mongoose").Types.ObjectId>;
|
|
833
833
|
coupon: z.ZodOptional<z.ZodString> | z.ZodOptional<z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, string, string>>;
|
|
834
834
|
amountBeforeCoupon: z.ZodNumber;
|
|
835
835
|
secondaryAmountBeforeCoupon: z.ZodNumber;
|
|
836
836
|
}, "strip", z.ZodTypeAny, {
|
|
837
|
-
shop: import("mongoose").Types.ObjectId;
|
|
838
|
-
user: import("mongoose").Types.ObjectId;
|
|
837
|
+
shop: string | import("mongoose").Types.ObjectId;
|
|
838
|
+
user: string | import("mongoose").Types.ObjectId;
|
|
839
839
|
amountBeforeCoupon: number;
|
|
840
840
|
secondaryAmountBeforeCoupon: number;
|
|
841
841
|
coupon?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lyxa.ai/marketing",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"description": "The Lyxa Marketing microservice",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/lib/index.js",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"test:watch": "jest --watch"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@lyxa.ai/core": "
|
|
24
|
-
"@trpc/server": "^11.4.3",
|
|
25
|
-
"@trpc/client": "^11.4.3",
|
|
23
|
+
"@lyxa.ai/core": "1.0.281",
|
|
26
24
|
"@lyxa.ai/notification": "1.0.5",
|
|
27
|
-
"
|
|
25
|
+
"@trpc/client": "^11.4.3",
|
|
26
|
+
"@trpc/server": "^11.4.3",
|
|
28
27
|
"@typegoose/typegoose": "^12.9.1",
|
|
29
28
|
"@types/bcryptjs": "^2.4.6",
|
|
30
29
|
"@types/node": "^22.10.1",
|
|
31
30
|
"bcrypt": "^5.1.1",
|
|
32
31
|
"bcryptjs": "^2.4.3",
|
|
32
|
+
"dayjs": "^1.11.13",
|
|
33
|
+
"dotenv": "^16.4.7",
|
|
33
34
|
"nanoid": "^5.1.0",
|
|
34
35
|
"reflect-metadata": "^0.2.2",
|
|
35
|
-
"dotenv": "^16.4.7",
|
|
36
36
|
"typedi": "^0.10.0",
|
|
37
37
|
"typescript": "^5.7.2"
|
|
38
38
|
},
|