@go-mondo/identity-sdk 0.0.2-beta.65 → 0.0.2-beta.67
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/.release-please-manifest.json +1 -1
- package/.tsbuildinfo/cjs.json +1 -1
- package/.tsbuildinfo/esm.json +1 -1
- package/CHANGELOG.md +14 -0
- package/dist/cjs/action/schema/operations/sign-up.d.ts +2 -2
- package/dist/cjs/association/schema.d.ts +4 -4
- package/dist/cjs/authentication/settings/schema.test.js +2 -4
- package/dist/cjs/customer/users/schema.d.ts +121 -27
- package/dist/cjs/customer/users/schema.d.ts.map +1 -1
- package/dist/cjs/customer/users/schema.js +23 -8
- package/dist/cjs/customer/users/schema.test.js +520 -39
- package/dist/esm/action/schema/operations/sign-up.d.ts +2 -2
- package/dist/esm/association/schema.d.ts +4 -4
- package/dist/esm/authentication/settings/schema.test.js +2 -4
- package/dist/esm/customer/users/schema.d.ts +121 -27
- package/dist/esm/customer/users/schema.d.ts.map +1 -1
- package/dist/esm/customer/users/schema.js +22 -7
- package/dist/esm/customer/users/schema.test.js +521 -40
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.2-beta.67](https://github.com/go-mondo/identity-node-sdk/compare/identity-sdk-v0.0.2-beta.66...identity-sdk-v0.0.2-beta.67) (2026-03-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* format phone numbers to e164 ([c28dce7](https://github.com/go-mondo/identity-node-sdk/commit/c28dce7cd79b2e300cef50a39d7cde7f9ed005c3))
|
|
9
|
+
|
|
10
|
+
## [0.0.2-beta.66](https://github.com/go-mondo/identity-node-sdk/compare/identity-sdk-v0.0.2-beta.65...identity-sdk-v0.0.2-beta.66) (2026-03-05)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* user verified attribute changes ([45943da](https://github.com/go-mondo/identity-node-sdk/commit/45943da44efc0442f8f71029ffca0c73bc518b2a))
|
|
16
|
+
|
|
3
17
|
## [0.0.2-beta.65](https://github.com/go-mondo/identity-node-sdk/compare/identity-sdk-v0.0.2-beta.64...identity-sdk-v0.0.2-beta.65) (2026-03-05)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -20,7 +20,7 @@ export declare const SignUpActionPayloadSchema: z.ZodObject<{
|
|
|
20
20
|
export type SignUpActionPayload = z.output<typeof SignUpActionPayloadSchema>;
|
|
21
21
|
export declare const SignUpActionRequestSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
22
22
|
email: z.ZodEmail;
|
|
23
|
-
phoneNumber: z.ZodOptional<z.
|
|
23
|
+
phoneNumber: z.ZodOptional<z.ZodE164>;
|
|
24
24
|
id: z.ZodOptional<z.ZodString>;
|
|
25
25
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
26
26
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -28,7 +28,7 @@ export declare const SignUpActionRequestSchema: z.ZodUnion<readonly [z.ZodObject
|
|
|
28
28
|
honorificPrefix: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
29
29
|
honorificSuffix: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
30
30
|
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
phoneNumber: z.
|
|
31
|
+
phoneNumber: z.ZodE164;
|
|
32
32
|
email: z.ZodOptional<z.ZodEmail>;
|
|
33
33
|
id: z.ZodOptional<z.ZodString>;
|
|
34
34
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -16,7 +16,7 @@ export declare const AssociationObjectSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
16
16
|
}>>;
|
|
17
17
|
model: z.ZodLiteral<"User">;
|
|
18
18
|
email: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
19
|
-
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
19
|
+
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
20
20
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
21
21
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
22
22
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -75,7 +75,7 @@ export declare const ObjectPropertySchema: z.ZodObject<{
|
|
|
75
75
|
}>>;
|
|
76
76
|
model: z.ZodLiteral<"User">;
|
|
77
77
|
email: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
78
|
-
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
78
|
+
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
79
79
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
80
80
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
81
81
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -139,7 +139,7 @@ export declare const AssociationSchema: z.ZodObject<{
|
|
|
139
139
|
}>>;
|
|
140
140
|
model: z.ZodLiteral<"User">;
|
|
141
141
|
email: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
142
|
-
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
142
|
+
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
143
143
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
144
144
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
145
145
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -225,7 +225,7 @@ export declare const AssociationPayloadSchema: z.ZodObject<{
|
|
|
225
225
|
}>>;
|
|
226
226
|
model: z.ZodLiteral<"User">;
|
|
227
227
|
email: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
228
|
-
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
228
|
+
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
229
229
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
230
230
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
231
231
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -7,7 +7,6 @@ const schema_js_1 = require("./schema.js");
|
|
|
7
7
|
(0, vitest_1.describe)('SettingsSchema', () => {
|
|
8
8
|
(0, vitest_1.test)('should accept minimal settings object', () => {
|
|
9
9
|
const settings = {
|
|
10
|
-
createdAt: new Date(),
|
|
11
10
|
updatedAt: new Date(),
|
|
12
11
|
metadata: {},
|
|
13
12
|
};
|
|
@@ -15,13 +14,12 @@ const schema_js_1 = require("./schema.js");
|
|
|
15
14
|
// Parse succeeds for valid data
|
|
16
15
|
(0, vitest_1.expect)(result.success).toBe(true);
|
|
17
16
|
});
|
|
18
|
-
(0, vitest_1.test)('should
|
|
17
|
+
(0, vitest_1.test)('should accept settings without dates (all dates are optional)', () => {
|
|
19
18
|
const settings = {
|
|
20
19
|
metadata: {},
|
|
21
|
-
// missing createdAt, updatedAt
|
|
22
20
|
};
|
|
23
21
|
const result = schema_js_1.SettingsSchema.safeParse(settings);
|
|
24
|
-
(0, vitest_1.expect)(result.success).toBe(
|
|
22
|
+
(0, vitest_1.expect)(result.success).toBe(true);
|
|
25
23
|
});
|
|
26
24
|
(0, vitest_1.test)('should accept settings with factors', () => {
|
|
27
25
|
const settings = {
|
|
@@ -34,22 +34,24 @@ export declare const UserIdPropertySchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
export type UserIdProperty = z.output<typeof UserIdPropertySchema>;
|
|
36
36
|
export declare const RequiredEmailSchema: z.ZodEmail;
|
|
37
|
-
export declare const RequiredPhoneNumberSchema: z.
|
|
37
|
+
export declare const RequiredPhoneNumberSchema: z.ZodE164;
|
|
38
38
|
export declare const VerifiedEmailOrPhonePropertiesSchema: z.ZodObject<{
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
verifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
40
|
+
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
41
|
+
}, z.core.$strip>;
|
|
42
|
+
export declare const UnverifiedEmailOrPhonePropertiesSchema: z.ZodObject<{
|
|
43
|
+
unverifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
44
|
+
unverifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
43
45
|
}, z.core.$strip>;
|
|
44
46
|
export declare const EmailOrPhonePropertiesSchema: z.ZodObject<{
|
|
45
47
|
email: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
46
|
-
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
48
|
+
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
47
49
|
}, z.core.$strip>;
|
|
48
50
|
export declare const UserAssociationsSchema: z.ZodObject<{
|
|
49
51
|
roles: z.ZodOptional<z.ZodUnion<readonly [z.ZodUndefined, z.ZodArray<z.ZodString>]>>;
|
|
50
52
|
}, z.core.$strip>;
|
|
51
53
|
export type UserAssociations = z.output<typeof UserAssociationsSchema>;
|
|
52
|
-
export declare const UserSchema: z.ZodObject<{
|
|
54
|
+
export declare const UserSchema: z.ZodPipe<z.ZodObject<{
|
|
53
55
|
metadata: z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Map<string, string | number | boolean>, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>;
|
|
54
56
|
deactivatedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
55
57
|
deletedAt: z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>;
|
|
@@ -65,20 +67,66 @@ export declare const UserSchema: z.ZodObject<{
|
|
|
65
67
|
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
66
68
|
count: z.ZodOptional<z.ZodNumber>;
|
|
67
69
|
}, z.core.$strip>, z.ZodUndefined]>>;
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
70
|
+
unverifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
71
|
+
unverifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
72
|
+
verifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
73
|
+
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
72
74
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
73
75
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
74
76
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
75
77
|
honorificPrefix: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
76
78
|
honorificSuffix: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
77
79
|
id: z.ZodString;
|
|
78
|
-
}, z.core.$strip
|
|
80
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
81
|
+
email: string | undefined;
|
|
82
|
+
phoneNumber: string | undefined;
|
|
83
|
+
metadata: Map<string, string | number | boolean>;
|
|
84
|
+
updatedAt: Date;
|
|
85
|
+
createdAt: Date;
|
|
86
|
+
status: "active" | "suspended" | "unverified";
|
|
87
|
+
id: string;
|
|
88
|
+
deactivatedAt?: Date | undefined;
|
|
89
|
+
deletedAt?: Date | undefined;
|
|
90
|
+
lastLogin?: Date | undefined;
|
|
91
|
+
roles?: {
|
|
92
|
+
ids?: string[] | undefined;
|
|
93
|
+
count?: number | undefined;
|
|
94
|
+
} | undefined;
|
|
95
|
+
unverifiedEmail?: string | undefined;
|
|
96
|
+
unverifiedPhoneNumber?: string | undefined;
|
|
97
|
+
verifiedEmail?: string | undefined;
|
|
98
|
+
verifiedPhoneNumber?: string | undefined;
|
|
99
|
+
givenName?: string | undefined;
|
|
100
|
+
middleName?: string | undefined;
|
|
101
|
+
familyName?: string | undefined;
|
|
102
|
+
honorificPrefix?: string | undefined;
|
|
103
|
+
honorificSuffix?: string | undefined;
|
|
104
|
+
}, {
|
|
105
|
+
metadata: Map<string, string | number | boolean>;
|
|
106
|
+
updatedAt: Date;
|
|
107
|
+
createdAt: Date;
|
|
108
|
+
status: "active" | "suspended" | "unverified";
|
|
109
|
+
id: string;
|
|
110
|
+
deactivatedAt?: Date | undefined;
|
|
111
|
+
deletedAt?: Date | undefined;
|
|
112
|
+
lastLogin?: Date | undefined;
|
|
113
|
+
roles?: {
|
|
114
|
+
ids?: string[] | undefined;
|
|
115
|
+
count?: number | undefined;
|
|
116
|
+
} | undefined;
|
|
117
|
+
unverifiedEmail?: string | undefined;
|
|
118
|
+
unverifiedPhoneNumber?: string | undefined;
|
|
119
|
+
verifiedEmail?: string | undefined;
|
|
120
|
+
verifiedPhoneNumber?: string | undefined;
|
|
121
|
+
givenName?: string | undefined;
|
|
122
|
+
middleName?: string | undefined;
|
|
123
|
+
familyName?: string | undefined;
|
|
124
|
+
honorificPrefix?: string | undefined;
|
|
125
|
+
honorificSuffix?: string | undefined;
|
|
126
|
+
}>>;
|
|
79
127
|
export type UserProperties = z.input<typeof UserSchema>;
|
|
80
128
|
export type User = z.output<typeof UserSchema>;
|
|
81
|
-
export declare const UserPayloadSchema: z.ZodObject<{
|
|
129
|
+
export declare const UserPayloadSchema: z.ZodPipe<z.ZodObject<{
|
|
82
130
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
|
|
83
131
|
deactivatedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
84
132
|
deletedAt: z.ZodOptional<z.ZodPipe<z.ZodOptional<z.ZodUnion<readonly [z.ZodDate, z.ZodPipe<z.ZodString, z.ZodTransform<Date, string>>]>>, z.ZodTransform<string | undefined, Date | undefined>>>;
|
|
@@ -94,25 +142,71 @@ export declare const UserPayloadSchema: z.ZodObject<{
|
|
|
94
142
|
ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
95
143
|
count: z.ZodOptional<z.ZodNumber>;
|
|
96
144
|
}, z.core.$strip>, z.ZodUndefined]>>;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
145
|
+
unverifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
146
|
+
unverifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
147
|
+
verifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
148
|
+
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
101
149
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
102
150
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
103
151
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
104
152
|
honorificPrefix: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
105
153
|
honorificSuffix: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
106
154
|
id: z.ZodString;
|
|
107
|
-
}, z.core.$strip
|
|
155
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
156
|
+
email: string | undefined;
|
|
157
|
+
phoneNumber: string | undefined;
|
|
158
|
+
updatedAt: string;
|
|
159
|
+
createdAt: string;
|
|
160
|
+
status: "active" | "suspended" | "unverified";
|
|
161
|
+
id: string;
|
|
162
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
163
|
+
deactivatedAt?: string | undefined;
|
|
164
|
+
deletedAt?: string | undefined;
|
|
165
|
+
lastLogin?: string | undefined;
|
|
166
|
+
roles?: {
|
|
167
|
+
ids?: string[] | undefined;
|
|
168
|
+
count?: number | undefined;
|
|
169
|
+
} | undefined;
|
|
170
|
+
unverifiedEmail?: string | undefined;
|
|
171
|
+
unverifiedPhoneNumber?: string | undefined;
|
|
172
|
+
verifiedEmail?: string | undefined;
|
|
173
|
+
verifiedPhoneNumber?: string | undefined;
|
|
174
|
+
givenName?: string | undefined;
|
|
175
|
+
middleName?: string | undefined;
|
|
176
|
+
familyName?: string | undefined;
|
|
177
|
+
honorificPrefix?: string | undefined;
|
|
178
|
+
honorificSuffix?: string | undefined;
|
|
179
|
+
}, {
|
|
180
|
+
updatedAt: string;
|
|
181
|
+
createdAt: string;
|
|
182
|
+
status: "active" | "suspended" | "unverified";
|
|
183
|
+
id: string;
|
|
184
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
185
|
+
deactivatedAt?: string | undefined;
|
|
186
|
+
deletedAt?: string | undefined;
|
|
187
|
+
lastLogin?: string | undefined;
|
|
188
|
+
roles?: {
|
|
189
|
+
ids?: string[] | undefined;
|
|
190
|
+
count?: number | undefined;
|
|
191
|
+
} | undefined;
|
|
192
|
+
unverifiedEmail?: string | undefined;
|
|
193
|
+
unverifiedPhoneNumber?: string | undefined;
|
|
194
|
+
verifiedEmail?: string | undefined;
|
|
195
|
+
verifiedPhoneNumber?: string | undefined;
|
|
196
|
+
givenName?: string | undefined;
|
|
197
|
+
middleName?: string | undefined;
|
|
198
|
+
familyName?: string | undefined;
|
|
199
|
+
honorificPrefix?: string | undefined;
|
|
200
|
+
honorificSuffix?: string | undefined;
|
|
201
|
+
}>>;
|
|
108
202
|
export type UserPayload = z.output<typeof UserPayloadSchema>;
|
|
109
203
|
export declare const InsertUserPayloadSchema: z.ZodObject<{
|
|
110
204
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | null | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
|
|
111
205
|
roles: z.ZodOptional<z.ZodUnion<readonly [z.ZodUndefined, z.ZodArray<z.ZodString>]>>;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
206
|
+
unverifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
207
|
+
unverifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
208
|
+
verifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
209
|
+
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
116
210
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
117
211
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
118
212
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -129,10 +223,10 @@ export type InsertUserInput = z.input<typeof InsertUserPayloadSchema>;
|
|
|
129
223
|
export type InsertUserPayload = z.output<typeof InsertUserPayloadSchema>;
|
|
130
224
|
export declare const UpdateUserPayloadSchema: z.ZodObject<{
|
|
131
225
|
metadata: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodUndefined, z.ZodNull, z.ZodCustom<Map<string, string | number | boolean>, Map<string, string | number | boolean>>, z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>]>, z.ZodTransform<Record<string, string | number | boolean> | null | undefined, Record<string, string | number | boolean> | Map<string, string | number | boolean> | null | undefined>>>;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
226
|
+
unverifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
227
|
+
unverifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
228
|
+
verifiedEmail: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
229
|
+
verifiedPhoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
136
230
|
givenName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>>;
|
|
137
231
|
middleName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>>;
|
|
138
232
|
familyName: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>>;
|
|
@@ -153,7 +247,7 @@ export declare const UserAssociationReferenceSchema: z.ZodObject<{
|
|
|
153
247
|
}>>;
|
|
154
248
|
model: z.ZodLiteral<"User">;
|
|
155
249
|
email: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodEmail, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
156
|
-
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.
|
|
250
|
+
phoneNumber: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodE164, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
157
251
|
givenName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
158
252
|
middleName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
159
253
|
familyName: z.ZodOptional<z.ZodPipe<z.ZodUnion<readonly [z.ZodString, z.ZodNull, z.ZodUndefined]>, z.ZodTransform<string | undefined, string | null | undefined>>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/customer/users/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AA2B5B,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,eAAO,MAAM,UAAU;;;;CAIb,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,eAAO,MAAM,gBAAgB;;;;EAAoC,CAAC;AAElE,eAAO,MAAM,wBAAwB;;;;;;iBAMnC,CAAC;AAGH,eAAO,MAAM,8BAA8B;;;;;;iBAMzC,CAAC;AAGH,eAAO,MAAM,oBAAoB;;iBAE/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnE,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAC7C,eAAO,MAAM,yBAAyB,
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/customer/users/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AA2B5B,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,MAAM,MAAM,sBAAsB,GAChC,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,eAAO,MAAM,UAAU;;;;CAIb,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,UAAU,CAAC,CAAC,MAAM,OAAO,UAAU,CAAC,CAAC;AAEzE,eAAO,MAAM,gBAAgB;;;;EAAoC,CAAC;AAElE,eAAO,MAAM,wBAAwB;;;;;;iBAMnC,CAAC;AAGH,eAAO,MAAM,8BAA8B;;;;;;iBAMzC,CAAC;AAGH,eAAO,MAAM,oBAAoB;;iBAE/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAEnE,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAC7C,eAAO,MAAM,yBAAyB,WAAW,CAAC;AAElD,eAAO,MAAM,oCAAoC;;;iBAG/C,CAAC;AAEH,eAAO,MAAM,sCAAsC;;;iBAKjD,CAAC;AAEH,eAAO,MAAM,4BAA4B;;;iBAGvC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;iBAEjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAqBvE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAIpB,CAAC;AACJ,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAC;AACxD,MAAM,MAAM,IAAI,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,UAAU,CAAC,CAAC;AAY/C,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAI3B,CAAC;AACJ,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE7D,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;iBAQlC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEzE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;iBAMlC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACtE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAEzE;;GAEG;AACH,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;iBAMzC,CAAC;AACH,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAC7C,OAAO,8BAA8B,CACtC,CAAC"}
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.UserAssociationReferenceSchema = exports.UpdateUserPayloadSchema = exports.InsertUserPayloadSchema = exports.UserPayloadSchema = exports.UserSchema = exports.UserAssociationsSchema = exports.EmailOrPhonePropertiesSchema = exports.VerifiedEmailOrPhonePropertiesSchema = exports.RequiredPhoneNumberSchema = exports.RequiredEmailSchema = exports.UserIdPropertySchema = exports.UpdateUserNamePropertiesSchema = exports.UserNamePropertiesSchema = exports.UserStatusSchema = exports.UserStatus = exports.VerifiableAttribute = void 0;
|
|
36
|
+
exports.UserAssociationReferenceSchema = exports.UpdateUserPayloadSchema = exports.InsertUserPayloadSchema = exports.UserPayloadSchema = exports.UserSchema = exports.UserAssociationsSchema = exports.EmailOrPhonePropertiesSchema = exports.UnverifiedEmailOrPhonePropertiesSchema = exports.VerifiedEmailOrPhonePropertiesSchema = exports.RequiredPhoneNumberSchema = exports.RequiredEmailSchema = exports.UserIdPropertySchema = exports.UpdateUserNamePropertiesSchema = exports.UserNamePropertiesSchema = exports.UserStatusSchema = exports.UserStatus = exports.VerifiableAttribute = void 0;
|
|
37
37
|
const z = __importStar(require("zod/v4"));
|
|
38
38
|
const schema_js_1 = require("../../authorization/schema.js");
|
|
39
39
|
const aggregate_js_1 = require("../../common/schema/aggregate.js");
|
|
@@ -71,12 +71,14 @@ exports.UserIdPropertySchema = z.object({
|
|
|
71
71
|
id: schema_js_3.UserIdSchema,
|
|
72
72
|
});
|
|
73
73
|
exports.RequiredEmailSchema = z.email();
|
|
74
|
-
exports.RequiredPhoneNumberSchema = z.
|
|
74
|
+
exports.RequiredPhoneNumberSchema = z.e164();
|
|
75
75
|
exports.VerifiedEmailOrPhonePropertiesSchema = z.object({
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
verifiedEmail: (0, schema_js_2.optionallyNullishToUndefined)(exports.RequiredEmailSchema),
|
|
77
|
+
verifiedPhoneNumber: (0, schema_js_2.optionallyNullishToUndefined)(exports.RequiredPhoneNumberSchema),
|
|
78
|
+
});
|
|
79
|
+
exports.UnverifiedEmailOrPhonePropertiesSchema = z.object({
|
|
80
|
+
unverifiedEmail: (0, schema_js_2.optionallyNullishToUndefined)(exports.RequiredEmailSchema),
|
|
81
|
+
unverifiedPhoneNumber: (0, schema_js_2.optionallyNullishToUndefined)(exports.RequiredPhoneNumberSchema),
|
|
80
82
|
});
|
|
81
83
|
exports.EmailOrPhonePropertiesSchema = z.object({
|
|
82
84
|
email: (0, schema_js_2.optionallyNullishToUndefined)(exports.RequiredEmailSchema),
|
|
@@ -89,10 +91,11 @@ const BaseSchema = z.object({
|
|
|
89
91
|
...exports.UserIdPropertySchema.shape,
|
|
90
92
|
...exports.UserNamePropertiesSchema.shape,
|
|
91
93
|
...exports.VerifiedEmailOrPhonePropertiesSchema.shape,
|
|
94
|
+
...exports.UnverifiedEmailOrPhonePropertiesSchema.shape,
|
|
92
95
|
status: exports.UserStatusSchema,
|
|
93
96
|
roles: (0, schema_js_2.optionallyUndefined)(aggregate_js_1.AggregateSchema),
|
|
94
97
|
});
|
|
95
|
-
|
|
98
|
+
const UserSchemaBase = z.object({
|
|
96
99
|
...BaseSchema.shape,
|
|
97
100
|
lastLogin: dates_js_1.OptionalDateSchema,
|
|
98
101
|
...dates_js_1.CreatedAtPropertySchema.shape,
|
|
@@ -101,7 +104,12 @@ exports.UserSchema = z.object({
|
|
|
101
104
|
...dates_js_1.DeactivatedAtPropertySchema.shape,
|
|
102
105
|
...metadata_js_1.MetadataMapPropertySchema.shape,
|
|
103
106
|
});
|
|
104
|
-
exports.
|
|
107
|
+
exports.UserSchema = UserSchemaBase.transform((user) => ({
|
|
108
|
+
...user,
|
|
109
|
+
email: user.verifiedEmail,
|
|
110
|
+
phoneNumber: user.verifiedPhoneNumber,
|
|
111
|
+
}));
|
|
112
|
+
const UserPayloadSchemaBase = z.object({
|
|
105
113
|
...BaseSchema.shape,
|
|
106
114
|
lastLogin: dates_js_1.OptionalDatePayloadSchema,
|
|
107
115
|
...dates_js_1.CreatedAtPropertyPayloadSchema.shape,
|
|
@@ -110,11 +118,17 @@ exports.UserPayloadSchema = z.object({
|
|
|
110
118
|
...dates_js_1.DeactivatedAtPropertyPayloadSchema.shape,
|
|
111
119
|
...metadata_js_1.MetadataPayloadPropertySchema.shape,
|
|
112
120
|
});
|
|
121
|
+
exports.UserPayloadSchema = UserPayloadSchemaBase.transform((user) => ({
|
|
122
|
+
...user,
|
|
123
|
+
email: user.verifiedEmail,
|
|
124
|
+
phoneNumber: user.verifiedPhoneNumber,
|
|
125
|
+
}));
|
|
113
126
|
exports.InsertUserPayloadSchema = z.object({
|
|
114
127
|
id: schema_js_3.UserIdSchema.optional(),
|
|
115
128
|
status: exports.UserStatusSchema.optional(),
|
|
116
129
|
...exports.UserNamePropertiesSchema.shape,
|
|
117
130
|
...exports.VerifiedEmailOrPhonePropertiesSchema.shape,
|
|
131
|
+
...exports.UnverifiedEmailOrPhonePropertiesSchema.shape,
|
|
118
132
|
...exports.UserAssociationsSchema.shape,
|
|
119
133
|
...metadata_js_1.UpsertMetadataPropertyPayloadSchema.shape,
|
|
120
134
|
});
|
|
@@ -122,6 +136,7 @@ exports.UpdateUserPayloadSchema = z.object({
|
|
|
122
136
|
suspended: z.boolean().optional(),
|
|
123
137
|
...exports.UpdateUserNamePropertiesSchema.shape,
|
|
124
138
|
...exports.VerifiedEmailOrPhonePropertiesSchema.shape,
|
|
139
|
+
...exports.UnverifiedEmailOrPhonePropertiesSchema.shape,
|
|
125
140
|
...metadata_js_1.UpsertMetadataPropertyPayloadSchema.shape,
|
|
126
141
|
});
|
|
127
142
|
/**
|