squarecommonblhelper 4.2.0 → 5.0.0
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
package/dist/authentication.d.ts
CHANGED
|
@@ -26,8 +26,14 @@ declare class AuthenticationCommonBL {
|
|
|
26
26
|
data: {
|
|
27
27
|
main: {
|
|
28
28
|
user_id: string;
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
profile: {
|
|
30
|
+
user_profile_id: number;
|
|
31
|
+
user_profile_photo_storage_token: string | null;
|
|
32
|
+
user_profile_email: string | null;
|
|
33
|
+
user_profile_phone_number: string | null;
|
|
34
|
+
user_profile_first_name: string | null;
|
|
35
|
+
user_profile_last_name: string | null;
|
|
36
|
+
user_profile_username: string;
|
|
31
37
|
};
|
|
32
38
|
apps: string[];
|
|
33
39
|
sessions: {
|
|
@@ -70,12 +70,30 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
70
70
|
data: z.ZodObject<{
|
|
71
71
|
main: z.ZodObject<{
|
|
72
72
|
user_id: z.ZodString;
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
profile: z.ZodObject<{
|
|
74
|
+
user_profile_id: z.ZodNumber;
|
|
75
|
+
user_profile_photo_storage_token: z.ZodNullable<z.ZodString>;
|
|
76
|
+
user_profile_email: z.ZodNullable<z.ZodString>;
|
|
77
|
+
user_profile_phone_number: z.ZodNullable<z.ZodString>;
|
|
78
|
+
user_profile_first_name: z.ZodNullable<z.ZodString>;
|
|
79
|
+
user_profile_last_name: z.ZodNullable<z.ZodString>;
|
|
80
|
+
user_profile_username: z.ZodString;
|
|
75
81
|
}, "strict", z.ZodTypeAny, {
|
|
76
|
-
|
|
82
|
+
user_profile_id: number;
|
|
83
|
+
user_profile_photo_storage_token: string | null;
|
|
84
|
+
user_profile_email: string | null;
|
|
85
|
+
user_profile_phone_number: string | null;
|
|
86
|
+
user_profile_first_name: string | null;
|
|
87
|
+
user_profile_last_name: string | null;
|
|
88
|
+
user_profile_username: string;
|
|
77
89
|
}, {
|
|
78
|
-
|
|
90
|
+
user_profile_id: number;
|
|
91
|
+
user_profile_photo_storage_token: string | null;
|
|
92
|
+
user_profile_email: string | null;
|
|
93
|
+
user_profile_phone_number: string | null;
|
|
94
|
+
user_profile_first_name: string | null;
|
|
95
|
+
user_profile_last_name: string | null;
|
|
96
|
+
user_profile_username: string;
|
|
79
97
|
}>;
|
|
80
98
|
apps: z.ZodArray<z.ZodString, "many">;
|
|
81
99
|
sessions: z.ZodArray<z.ZodObject<{
|
|
@@ -90,8 +108,14 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
90
108
|
}>, "many">;
|
|
91
109
|
}, "strict", z.ZodTypeAny, {
|
|
92
110
|
user_id: string;
|
|
93
|
-
|
|
94
|
-
|
|
111
|
+
profile: {
|
|
112
|
+
user_profile_id: number;
|
|
113
|
+
user_profile_photo_storage_token: string | null;
|
|
114
|
+
user_profile_email: string | null;
|
|
115
|
+
user_profile_phone_number: string | null;
|
|
116
|
+
user_profile_first_name: string | null;
|
|
117
|
+
user_profile_last_name: string | null;
|
|
118
|
+
user_profile_username: string;
|
|
95
119
|
};
|
|
96
120
|
apps: string[];
|
|
97
121
|
sessions: {
|
|
@@ -100,8 +124,14 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
100
124
|
}[];
|
|
101
125
|
}, {
|
|
102
126
|
user_id: string;
|
|
103
|
-
|
|
104
|
-
|
|
127
|
+
profile: {
|
|
128
|
+
user_profile_id: number;
|
|
129
|
+
user_profile_photo_storage_token: string | null;
|
|
130
|
+
user_profile_email: string | null;
|
|
131
|
+
user_profile_phone_number: string | null;
|
|
132
|
+
user_profile_first_name: string | null;
|
|
133
|
+
user_profile_last_name: string | null;
|
|
134
|
+
user_profile_username: string;
|
|
105
135
|
};
|
|
106
136
|
apps: string[];
|
|
107
137
|
sessions: {
|
|
@@ -112,8 +142,14 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
112
142
|
}, "strict", z.ZodTypeAny, {
|
|
113
143
|
main: {
|
|
114
144
|
user_id: string;
|
|
115
|
-
|
|
116
|
-
|
|
145
|
+
profile: {
|
|
146
|
+
user_profile_id: number;
|
|
147
|
+
user_profile_photo_storage_token: string | null;
|
|
148
|
+
user_profile_email: string | null;
|
|
149
|
+
user_profile_phone_number: string | null;
|
|
150
|
+
user_profile_first_name: string | null;
|
|
151
|
+
user_profile_last_name: string | null;
|
|
152
|
+
user_profile_username: string;
|
|
117
153
|
};
|
|
118
154
|
apps: string[];
|
|
119
155
|
sessions: {
|
|
@@ -124,8 +160,14 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
124
160
|
}, {
|
|
125
161
|
main: {
|
|
126
162
|
user_id: string;
|
|
127
|
-
|
|
128
|
-
|
|
163
|
+
profile: {
|
|
164
|
+
user_profile_id: number;
|
|
165
|
+
user_profile_photo_storage_token: string | null;
|
|
166
|
+
user_profile_email: string | null;
|
|
167
|
+
user_profile_phone_number: string | null;
|
|
168
|
+
user_profile_first_name: string | null;
|
|
169
|
+
user_profile_last_name: string | null;
|
|
170
|
+
user_profile_username: string;
|
|
129
171
|
};
|
|
130
172
|
apps: string[];
|
|
131
173
|
sessions: {
|
|
@@ -139,8 +181,14 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
139
181
|
data: {
|
|
140
182
|
main: {
|
|
141
183
|
user_id: string;
|
|
142
|
-
|
|
143
|
-
|
|
184
|
+
profile: {
|
|
185
|
+
user_profile_id: number;
|
|
186
|
+
user_profile_photo_storage_token: string | null;
|
|
187
|
+
user_profile_email: string | null;
|
|
188
|
+
user_profile_phone_number: string | null;
|
|
189
|
+
user_profile_first_name: string | null;
|
|
190
|
+
user_profile_last_name: string | null;
|
|
191
|
+
user_profile_username: string;
|
|
144
192
|
};
|
|
145
193
|
apps: string[];
|
|
146
194
|
sessions: {
|
|
@@ -155,8 +203,14 @@ declare const GetUserDetailsV0ResponseZ: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
155
203
|
data: {
|
|
156
204
|
main: {
|
|
157
205
|
user_id: string;
|
|
158
|
-
|
|
159
|
-
|
|
206
|
+
profile: {
|
|
207
|
+
user_profile_id: number;
|
|
208
|
+
user_profile_photo_storage_token: string | null;
|
|
209
|
+
user_profile_email: string | null;
|
|
210
|
+
user_profile_phone_number: string | null;
|
|
211
|
+
user_profile_first_name: string | null;
|
|
212
|
+
user_profile_last_name: string | null;
|
|
213
|
+
user_profile_username: string;
|
|
160
214
|
};
|
|
161
215
|
apps: string[];
|
|
162
216
|
sessions: {
|
|
@@ -15,8 +15,14 @@ const GetUserDetailsV0ResponseZ = APIOutputZ.extend({
|
|
|
15
15
|
data: z.strictObject({
|
|
16
16
|
main: z.strictObject({
|
|
17
17
|
user_id: z.string(),
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
profile: z.strictObject({
|
|
19
|
+
user_profile_id: z.number(),
|
|
20
|
+
user_profile_photo_storage_token: z.string().nullable(),
|
|
21
|
+
user_profile_email: z.string().nullable(),
|
|
22
|
+
user_profile_phone_number: z.string().nullable(),
|
|
23
|
+
user_profile_first_name: z.string().nullable(),
|
|
24
|
+
user_profile_last_name: z.string().nullable(),
|
|
25
|
+
user_profile_username: z.string(),
|
|
20
26
|
}),
|
|
21
27
|
apps: z.array(z.string()),
|
|
22
28
|
sessions: z.array(z.strictObject({
|