@vulog/aima-user 1.1.61 → 1.1.62
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/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +4 -4
- package/src/createUser.ts +2 -0
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -119,7 +119,8 @@ var createUserSchema = import_zod4.z.object({
|
|
|
119
119
|
email: import_zod4.z.string().min(1).email(),
|
|
120
120
|
dataPrivacyConsent: import_zod4.z.boolean().optional(),
|
|
121
121
|
profilingConsent: import_zod4.z.boolean().optional(),
|
|
122
|
-
marketingConsent: import_zod4.z.boolean().optional()
|
|
122
|
+
marketingConsent: import_zod4.z.boolean().optional(),
|
|
123
|
+
phoneNumber: import_zod4.z.string().optional()
|
|
123
124
|
});
|
|
124
125
|
var createUserOptionsSchema = import_zod4.z.object({
|
|
125
126
|
tcApproval: import_zod4.z.boolean().default(true),
|
package/dist/index.mjs
CHANGED
|
@@ -72,7 +72,8 @@ var createUserSchema = z4.object({
|
|
|
72
72
|
email: z4.string().min(1).email(),
|
|
73
73
|
dataPrivacyConsent: z4.boolean().optional(),
|
|
74
74
|
profilingConsent: z4.boolean().optional(),
|
|
75
|
-
marketingConsent: z4.boolean().optional()
|
|
75
|
+
marketingConsent: z4.boolean().optional(),
|
|
76
|
+
phoneNumber: z4.string().optional()
|
|
76
77
|
});
|
|
77
78
|
var createUserOptionsSchema = z4.object({
|
|
78
79
|
tcApproval: z4.boolean().default(true),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vulog/aima-user",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.62",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.mjs",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"author": "Vulog",
|
|
20
20
|
"license": "ISC",
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@vulog/aima-client": "1.1.
|
|
23
|
-
"@vulog/aima-config": "1.1.
|
|
24
|
-
"@vulog/aima-core": "1.1.
|
|
22
|
+
"@vulog/aima-client": "1.1.62",
|
|
23
|
+
"@vulog/aima-config": "1.1.62",
|
|
24
|
+
"@vulog/aima-core": "1.1.62"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"zod": "^3.24.2"
|
package/src/createUser.ts
CHANGED
|
@@ -11,6 +11,7 @@ export type CreateUser = {
|
|
|
11
11
|
dataPrivacyConsent?: boolean;
|
|
12
12
|
profilingConsent?: boolean;
|
|
13
13
|
marketingConsent?: boolean;
|
|
14
|
+
phoneNumber?: string;
|
|
14
15
|
};
|
|
15
16
|
|
|
16
17
|
export type CreateUserOptions = {
|
|
@@ -26,6 +27,7 @@ const createUserSchema = z.object({
|
|
|
26
27
|
dataPrivacyConsent: z.boolean().optional(),
|
|
27
28
|
profilingConsent: z.boolean().optional(),
|
|
28
29
|
marketingConsent: z.boolean().optional(),
|
|
30
|
+
phoneNumber: z.string().optional(),
|
|
29
31
|
});
|
|
30
32
|
|
|
31
33
|
const createUserOptionsSchema = z
|