squarecommonblhelper 8.0.1 → 9.0.1
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/README.md
CHANGED
|
@@ -15,6 +15,16 @@ helper for common bl for my projects.
|
|
|
15
15
|
|
|
16
16
|
## changelog
|
|
17
17
|
|
|
18
|
+
### v9.0.1
|
|
19
|
+
|
|
20
|
+
- AuthenticationCommonBL:
|
|
21
|
+
- add user_profile_phone_number_country_code and user_profile_email_verified in GetUserDetailsV0ResponseZ.
|
|
22
|
+
|
|
23
|
+
### v9.0.0
|
|
24
|
+
|
|
25
|
+
- AuthenticationCommonBL:
|
|
26
|
+
- **breaking change**: remove user_profile_username from GetUserDetailsV0ResponseZ.
|
|
27
|
+
|
|
18
28
|
### v8.0.1
|
|
19
29
|
|
|
20
30
|
- AuthenticationCommonBL:
|
package/dist/authentication.d.ts
CHANGED
|
@@ -27,10 +27,11 @@ declare class AuthenticationCommonBL {
|
|
|
27
27
|
user_profile_id: number;
|
|
28
28
|
user_profile_photo_storage_token: string | null;
|
|
29
29
|
user_profile_email: string | null;
|
|
30
|
+
user_profile_phone_number_country_code: string | null;
|
|
30
31
|
user_profile_phone_number: string | null;
|
|
31
32
|
user_profile_first_name: string | null;
|
|
32
33
|
user_profile_last_name: string | null;
|
|
33
|
-
|
|
34
|
+
user_profile_email_verified: string | null;
|
|
34
35
|
};
|
|
35
36
|
apps: string[];
|
|
36
37
|
sessions: {
|
|
@@ -75,10 +76,10 @@ declare class AuthenticationCommonBL {
|
|
|
75
76
|
user_profile_id: number;
|
|
76
77
|
user_profile_photo_storage_token: string | null;
|
|
77
78
|
user_profile_email: string | null;
|
|
79
|
+
user_profile_phone_number_country_code: string | null;
|
|
78
80
|
user_profile_phone_number: string | null;
|
|
79
81
|
user_profile_first_name: string | null;
|
|
80
82
|
user_profile_last_name: string | null;
|
|
81
|
-
user_profile_phone_number_country_code: string | null;
|
|
82
83
|
user_profile_email_verified: string | null;
|
|
83
84
|
}[];
|
|
84
85
|
affected_count: number;
|
|
@@ -59,26 +59,29 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
59
59
|
user_profile_id: z.ZodNumber;
|
|
60
60
|
user_profile_photo_storage_token: z.ZodNullable<z.ZodString>;
|
|
61
61
|
user_profile_email: z.ZodNullable<z.ZodString>;
|
|
62
|
+
user_profile_phone_number_country_code: z.ZodNullable<z.ZodString>;
|
|
62
63
|
user_profile_phone_number: z.ZodNullable<z.ZodString>;
|
|
63
64
|
user_profile_first_name: z.ZodNullable<z.ZodString>;
|
|
64
65
|
user_profile_last_name: z.ZodNullable<z.ZodString>;
|
|
65
|
-
|
|
66
|
+
user_profile_email_verified: z.ZodNullable<z.ZodString>;
|
|
66
67
|
}, "strict", z.ZodTypeAny, {
|
|
67
68
|
user_profile_id: number;
|
|
68
69
|
user_profile_photo_storage_token: string | null;
|
|
69
70
|
user_profile_email: string | null;
|
|
71
|
+
user_profile_phone_number_country_code: string | null;
|
|
70
72
|
user_profile_phone_number: string | null;
|
|
71
73
|
user_profile_first_name: string | null;
|
|
72
74
|
user_profile_last_name: string | null;
|
|
73
|
-
|
|
75
|
+
user_profile_email_verified: string | null;
|
|
74
76
|
}, {
|
|
75
77
|
user_profile_id: number;
|
|
76
78
|
user_profile_photo_storage_token: string | null;
|
|
77
79
|
user_profile_email: string | null;
|
|
80
|
+
user_profile_phone_number_country_code: string | null;
|
|
78
81
|
user_profile_phone_number: string | null;
|
|
79
82
|
user_profile_first_name: string | null;
|
|
80
83
|
user_profile_last_name: string | null;
|
|
81
|
-
|
|
84
|
+
user_profile_email_verified: string | null;
|
|
82
85
|
}>;
|
|
83
86
|
apps: z.ZodArray<z.ZodString, "many">;
|
|
84
87
|
sessions: z.ZodArray<z.ZodObject<{
|
|
@@ -98,10 +101,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
98
101
|
user_profile_id: number;
|
|
99
102
|
user_profile_photo_storage_token: string | null;
|
|
100
103
|
user_profile_email: string | null;
|
|
104
|
+
user_profile_phone_number_country_code: string | null;
|
|
101
105
|
user_profile_phone_number: string | null;
|
|
102
106
|
user_profile_first_name: string | null;
|
|
103
107
|
user_profile_last_name: string | null;
|
|
104
|
-
|
|
108
|
+
user_profile_email_verified: string | null;
|
|
105
109
|
};
|
|
106
110
|
apps: string[];
|
|
107
111
|
sessions: {
|
|
@@ -115,10 +119,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
115
119
|
user_profile_id: number;
|
|
116
120
|
user_profile_photo_storage_token: string | null;
|
|
117
121
|
user_profile_email: string | null;
|
|
122
|
+
user_profile_phone_number_country_code: string | null;
|
|
118
123
|
user_profile_phone_number: string | null;
|
|
119
124
|
user_profile_first_name: string | null;
|
|
120
125
|
user_profile_last_name: string | null;
|
|
121
|
-
|
|
126
|
+
user_profile_email_verified: string | null;
|
|
122
127
|
};
|
|
123
128
|
apps: string[];
|
|
124
129
|
sessions: {
|
|
@@ -134,10 +139,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
134
139
|
user_profile_id: number;
|
|
135
140
|
user_profile_photo_storage_token: string | null;
|
|
136
141
|
user_profile_email: string | null;
|
|
142
|
+
user_profile_phone_number_country_code: string | null;
|
|
137
143
|
user_profile_phone_number: string | null;
|
|
138
144
|
user_profile_first_name: string | null;
|
|
139
145
|
user_profile_last_name: string | null;
|
|
140
|
-
|
|
146
|
+
user_profile_email_verified: string | null;
|
|
141
147
|
};
|
|
142
148
|
apps: string[];
|
|
143
149
|
sessions: {
|
|
@@ -153,10 +159,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
153
159
|
user_profile_id: number;
|
|
154
160
|
user_profile_photo_storage_token: string | null;
|
|
155
161
|
user_profile_email: string | null;
|
|
162
|
+
user_profile_phone_number_country_code: string | null;
|
|
156
163
|
user_profile_phone_number: string | null;
|
|
157
164
|
user_profile_first_name: string | null;
|
|
158
165
|
user_profile_last_name: string | null;
|
|
159
|
-
|
|
166
|
+
user_profile_email_verified: string | null;
|
|
160
167
|
};
|
|
161
168
|
apps: string[];
|
|
162
169
|
sessions: {
|
|
@@ -175,10 +182,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
175
182
|
user_profile_id: number;
|
|
176
183
|
user_profile_photo_storage_token: string | null;
|
|
177
184
|
user_profile_email: string | null;
|
|
185
|
+
user_profile_phone_number_country_code: string | null;
|
|
178
186
|
user_profile_phone_number: string | null;
|
|
179
187
|
user_profile_first_name: string | null;
|
|
180
188
|
user_profile_last_name: string | null;
|
|
181
|
-
|
|
189
|
+
user_profile_email_verified: string | null;
|
|
182
190
|
};
|
|
183
191
|
apps: string[];
|
|
184
192
|
sessions: {
|
|
@@ -198,10 +206,11 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
198
206
|
user_profile_id: number;
|
|
199
207
|
user_profile_photo_storage_token: string | null;
|
|
200
208
|
user_profile_email: string | null;
|
|
209
|
+
user_profile_phone_number_country_code: string | null;
|
|
201
210
|
user_profile_phone_number: string | null;
|
|
202
211
|
user_profile_first_name: string | null;
|
|
203
212
|
user_profile_last_name: string | null;
|
|
204
|
-
|
|
213
|
+
user_profile_email_verified: string | null;
|
|
205
214
|
};
|
|
206
215
|
apps: string[];
|
|
207
216
|
sessions: {
|
|
@@ -329,20 +338,20 @@ declare const updateProfileDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendSh
|
|
|
329
338
|
user_profile_id: number;
|
|
330
339
|
user_profile_photo_storage_token: string | null;
|
|
331
340
|
user_profile_email: string | null;
|
|
341
|
+
user_profile_phone_number_country_code: string | null;
|
|
332
342
|
user_profile_phone_number: string | null;
|
|
333
343
|
user_profile_first_name: string | null;
|
|
334
344
|
user_profile_last_name: string | null;
|
|
335
|
-
user_profile_phone_number_country_code: string | null;
|
|
336
345
|
user_profile_email_verified: string | null;
|
|
337
346
|
}, {
|
|
338
347
|
user_id: string;
|
|
339
348
|
user_profile_id: number;
|
|
340
349
|
user_profile_photo_storage_token: string | null;
|
|
341
350
|
user_profile_email: string | null;
|
|
351
|
+
user_profile_phone_number_country_code: string | null;
|
|
342
352
|
user_profile_phone_number: string | null;
|
|
343
353
|
user_profile_first_name: string | null;
|
|
344
354
|
user_profile_last_name: string | null;
|
|
345
|
-
user_profile_phone_number_country_code: string | null;
|
|
346
355
|
user_profile_email_verified: string | null;
|
|
347
356
|
}>, "many">;
|
|
348
357
|
affected_count: z.ZodNumber;
|
|
@@ -352,10 +361,10 @@ declare const updateProfileDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendSh
|
|
|
352
361
|
user_profile_id: number;
|
|
353
362
|
user_profile_photo_storage_token: string | null;
|
|
354
363
|
user_profile_email: string | null;
|
|
364
|
+
user_profile_phone_number_country_code: string | null;
|
|
355
365
|
user_profile_phone_number: string | null;
|
|
356
366
|
user_profile_first_name: string | null;
|
|
357
367
|
user_profile_last_name: string | null;
|
|
358
|
-
user_profile_phone_number_country_code: string | null;
|
|
359
368
|
user_profile_email_verified: string | null;
|
|
360
369
|
}[];
|
|
361
370
|
affected_count: number;
|
|
@@ -365,10 +374,10 @@ declare const updateProfileDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendSh
|
|
|
365
374
|
user_profile_id: number;
|
|
366
375
|
user_profile_photo_storage_token: string | null;
|
|
367
376
|
user_profile_email: string | null;
|
|
377
|
+
user_profile_phone_number_country_code: string | null;
|
|
368
378
|
user_profile_phone_number: string | null;
|
|
369
379
|
user_profile_first_name: string | null;
|
|
370
380
|
user_profile_last_name: string | null;
|
|
371
|
-
user_profile_phone_number_country_code: string | null;
|
|
372
381
|
user_profile_email_verified: string | null;
|
|
373
382
|
}[];
|
|
374
383
|
affected_count: number;
|
|
@@ -381,10 +390,10 @@ declare const updateProfileDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendSh
|
|
|
381
390
|
user_profile_id: number;
|
|
382
391
|
user_profile_photo_storage_token: string | null;
|
|
383
392
|
user_profile_email: string | null;
|
|
393
|
+
user_profile_phone_number_country_code: string | null;
|
|
384
394
|
user_profile_phone_number: string | null;
|
|
385
395
|
user_profile_first_name: string | null;
|
|
386
396
|
user_profile_last_name: string | null;
|
|
387
|
-
user_profile_phone_number_country_code: string | null;
|
|
388
397
|
user_profile_email_verified: string | null;
|
|
389
398
|
}[];
|
|
390
399
|
affected_count: number;
|
|
@@ -398,10 +407,10 @@ declare const updateProfileDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendSh
|
|
|
398
407
|
user_profile_id: number;
|
|
399
408
|
user_profile_photo_storage_token: string | null;
|
|
400
409
|
user_profile_email: string | null;
|
|
410
|
+
user_profile_phone_number_country_code: string | null;
|
|
401
411
|
user_profile_phone_number: string | null;
|
|
402
412
|
user_profile_first_name: string | null;
|
|
403
413
|
user_profile_last_name: string | null;
|
|
404
|
-
user_profile_phone_number_country_code: string | null;
|
|
405
414
|
user_profile_email_verified: string | null;
|
|
406
415
|
}[];
|
|
407
416
|
affected_count: number;
|
|
@@ -17,10 +17,11 @@ const GetUserDetailsV0ResponseZ = APIOutputZ.extend({
|
|
|
17
17
|
user_profile_id: z.number(),
|
|
18
18
|
user_profile_photo_storage_token: z.string().nullable(),
|
|
19
19
|
user_profile_email: z.string().nullable(),
|
|
20
|
+
user_profile_phone_number_country_code: z.string().nullable(),
|
|
20
21
|
user_profile_phone_number: z.string().nullable(),
|
|
21
22
|
user_profile_first_name: z.string().nullable(),
|
|
22
23
|
user_profile_last_name: z.string().nullable(),
|
|
23
|
-
|
|
24
|
+
user_profile_email_verified: z.string().nullable(),
|
|
24
25
|
}),
|
|
25
26
|
apps: z.array(z.string()),
|
|
26
27
|
sessions: z.array(z.strictObject({
|