@medusajs/loyalty-plugin 2.22.1 → 2.22.2-preview-20261028132907
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/.medusa/server/src/admin/index.js +11313 -6404
- package/.medusa/server/src/admin/index.mjs +11324 -6415
- package/.medusa/server/src/api/admin/gift-cards/validators.d.ts +3 -3
- package/.medusa/server/src/api/admin/store-credit-accounts/validators.d.ts +6 -6
- package/.medusa/server/src/api/store/store-credit-accounts/validators.d.ts +3 -3
- package/package.json +20 -20
|
@@ -102,10 +102,10 @@ export declare const AdminGetGiftCardsParams: z.ZodObject<{
|
|
|
102
102
|
$lte: any;
|
|
103
103
|
}, z.core.$strip>]>>;
|
|
104
104
|
fields: z.ZodOptional<z.ZodString>;
|
|
105
|
-
offset: z.
|
|
106
|
-
limit: z.
|
|
105
|
+
offset: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
106
|
+
limit: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
107
107
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
108
|
-
with_deleted: z.
|
|
108
|
+
with_deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
109
109
|
}, z.core.$strict>;
|
|
110
110
|
export type AdminGetGiftCardOrdersParamsType = z.infer<typeof AdminGetGiftCardOrdersParams>;
|
|
111
111
|
export declare const AdminGetGiftCardOrdersParams: z.ZodObject<{
|
|
@@ -73,10 +73,10 @@ export declare const AdminGetStoreCreditAccountsParams: z.ZodObject<{
|
|
|
73
73
|
$lte: any;
|
|
74
74
|
}, z.core.$strip>]>>;
|
|
75
75
|
fields: z.ZodOptional<z.ZodString>;
|
|
76
|
-
offset: z.
|
|
77
|
-
limit: z.
|
|
76
|
+
offset: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
77
|
+
limit: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
78
78
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
79
|
-
with_deleted: z.
|
|
79
|
+
with_deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
80
80
|
}, z.core.$strict>;
|
|
81
81
|
export type AdminCreateStoreCreditAccountType = z.infer<typeof AdminCreateStoreCreditAccount>;
|
|
82
82
|
export declare const AdminCreateStoreCreditAccount: z.ZodObject<{
|
|
@@ -140,8 +140,8 @@ export declare const AdminGetStoreCreditAccountTransactionsParams: z.ZodObject<{
|
|
|
140
140
|
$lte: any;
|
|
141
141
|
}, z.core.$strip>]>>;
|
|
142
142
|
fields: z.ZodOptional<z.ZodString>;
|
|
143
|
-
offset: z.
|
|
144
|
-
limit: z.
|
|
143
|
+
offset: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
144
|
+
limit: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
145
145
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
146
|
-
with_deleted: z.
|
|
146
|
+
with_deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
147
147
|
}, z.core.$strict>;
|
|
@@ -37,8 +37,8 @@ export declare const StoreGetStoreCreditAccountsParams: z.ZodObject<{
|
|
|
37
37
|
$lte: any;
|
|
38
38
|
}, z.core.$strip>]>>;
|
|
39
39
|
fields: z.ZodOptional<z.ZodString>;
|
|
40
|
-
offset: z.
|
|
41
|
-
limit: z.
|
|
40
|
+
offset: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
41
|
+
limit: z.ZodPreprocess<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, unknown>;
|
|
42
42
|
order: z.ZodOptional<z.ZodString> | z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
43
|
-
with_deleted: z.
|
|
43
|
+
with_deleted: z.ZodPreprocess<z.ZodOptional<z.ZodBoolean>, unknown>;
|
|
44
44
|
}, z.core.$strict>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/loyalty-plugin",
|
|
3
|
-
"version": "2.22.
|
|
3
|
+
"version": "2.22.2-preview-20261028132907",
|
|
4
4
|
"description": "Medusa Plugin: Loyalty - Gift Cards",
|
|
5
5
|
"author": "Medusa (https://medusajs.com)",
|
|
6
6
|
"license": "MIT",
|
|
@@ -59,31 +59,31 @@
|
|
|
59
59
|
"watch": "medusa plugin:develop"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@medusajs/admin-sdk": "2.22.
|
|
63
|
-
"@medusajs/cli": "2.22.
|
|
64
|
-
"@medusajs/dashboard": "2.22.
|
|
65
|
-
"@medusajs/framework": "2.22.
|
|
66
|
-
"@medusajs/icons": "2.22.
|
|
67
|
-
"@medusajs/medusa": "2.22.
|
|
68
|
-
"@medusajs/test-utils": "2.22.
|
|
69
|
-
"@medusajs/types": "2.22.
|
|
70
|
-
"@medusajs/ui": "4.2.
|
|
71
|
-
"@medusajs/ui-preset": "2.22.
|
|
72
|
-
"@swc/core": "1.
|
|
62
|
+
"@medusajs/admin-sdk": "2.22.2-preview-20261028132907",
|
|
63
|
+
"@medusajs/cli": "2.22.2-preview-20261028132907",
|
|
64
|
+
"@medusajs/dashboard": "2.22.2-preview-20261028132907",
|
|
65
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907",
|
|
66
|
+
"@medusajs/icons": "2.22.2-preview-20261028132907",
|
|
67
|
+
"@medusajs/medusa": "2.22.2-preview-20261028132907",
|
|
68
|
+
"@medusajs/test-utils": "2.22.2-preview-20261028132907",
|
|
69
|
+
"@medusajs/types": "2.22.2-preview-20261028132907",
|
|
70
|
+
"@medusajs/ui": "4.2.9-preview-20261028132907",
|
|
71
|
+
"@medusajs/ui-preset": "2.22.2-preview-20261028132907",
|
|
72
|
+
"@swc/core": "^1.16.20",
|
|
73
73
|
"@types/node": "^20.0.0",
|
|
74
74
|
"cross-env": "^7.0.3",
|
|
75
75
|
"ts-node": "^10.9.2",
|
|
76
76
|
"typescript": "^5.7.3"
|
|
77
77
|
},
|
|
78
78
|
"peerDependencies": {
|
|
79
|
-
"@medusajs/admin-sdk": "2.22.
|
|
80
|
-
"@medusajs/cli": "2.22.
|
|
81
|
-
"@medusajs/dashboard": "2.22.
|
|
82
|
-
"@medusajs/framework": "2.22.
|
|
83
|
-
"@medusajs/icons": "2.22.
|
|
84
|
-
"@medusajs/medusa": "2.22.
|
|
85
|
-
"@medusajs/test-utils": "2.22.
|
|
86
|
-
"@medusajs/ui": "4.2.
|
|
79
|
+
"@medusajs/admin-sdk": "2.22.2-preview-20261028132907",
|
|
80
|
+
"@medusajs/cli": "2.22.2-preview-20261028132907",
|
|
81
|
+
"@medusajs/dashboard": "2.22.2-preview-20261028132907",
|
|
82
|
+
"@medusajs/framework": "2.22.2-preview-20261028132907",
|
|
83
|
+
"@medusajs/icons": "2.22.2-preview-20261028132907",
|
|
84
|
+
"@medusajs/medusa": "2.22.2-preview-20261028132907",
|
|
85
|
+
"@medusajs/test-utils": "2.22.2-preview-20261028132907",
|
|
86
|
+
"@medusajs/ui": "4.2.9-preview-20261028132907",
|
|
87
87
|
"react": "^18.3.1",
|
|
88
88
|
"react-dom": "^18.3.1",
|
|
89
89
|
"react-router-dom": "^6.30.4 || ^7.0.0"
|