@famgia/omnify-react-sso 2.2.1 → 2.2.3

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.
@@ -1,32 +1,34 @@
1
1
  export { DateString, DateTimeString, Locale, LocaleMap, ValidationRule } from '@omnify-base/schemas/common';
2
2
  export { defaultLocale, fallbackLocale, getMessage, getMessages, supportedLocales, validationMessages } from '@omnify-base/schemas/i18n';
3
3
  import { z } from 'zod';
4
- import { Branch as Branch$1 } from '@omnify-base/schemas/Branch';
5
- export { branchI18n, getBranchFieldLabel, getBranchFieldPlaceholder, getBranchLabel } from '@omnify-base/schemas/Branch';
4
+ import { BranchCache as BranchCache$1 } from '@omnify-base/schemas/BranchCache';
5
+ export { branchCacheI18n, getBranchCacheFieldLabel, getBranchCacheFieldPlaceholder, getBranchCacheLabel } from '@omnify-base/schemas/BranchCache';
6
+ import { OrganizationCache as OrganizationCache$1 } from '@omnify-base/schemas/OrganizationCache';
7
+ export { getOrganizationCacheFieldLabel, getOrganizationCacheFieldPlaceholder, getOrganizationCacheLabel, organizationCacheI18n } from '@omnify-base/schemas/OrganizationCache';
6
8
  import { Permission as Permission$1 } from '@omnify-base/schemas/Permission';
7
9
  export { getPermissionFieldLabel, getPermissionFieldPlaceholder, getPermissionLabel, permissionI18n } from '@omnify-base/schemas/Permission';
8
10
  import { Role as Role$1 } from '@omnify-base/schemas/Role';
9
11
  export { getRoleFieldLabel, getRoleFieldPlaceholder, getRoleLabel, roleI18n } from '@omnify-base/schemas/Role';
10
12
  import { RolePermission as RolePermission$1 } from '@omnify-base/schemas/RolePermission';
11
13
  export { getRolePermissionFieldLabel, getRolePermissionFieldPlaceholder, getRolePermissionLabel, rolePermissionI18n } from '@omnify-base/schemas/RolePermission';
12
- import { Team as Team$1 } from '@omnify-base/schemas/Team';
13
- export { getTeamFieldLabel, getTeamFieldPlaceholder, getTeamLabel, teamI18n } from '@omnify-base/schemas/Team';
14
+ import { TeamCache as TeamCache$1 } from '@omnify-base/schemas/TeamCache';
15
+ export { getTeamCacheFieldLabel, getTeamCacheFieldPlaceholder, getTeamCacheLabel, teamCacheI18n } from '@omnify-base/schemas/TeamCache';
14
16
  import { TeamPermission as TeamPermission$1 } from '@omnify-base/schemas/TeamPermission';
15
17
  export { getTeamPermissionFieldLabel, getTeamPermissionFieldPlaceholder, getTeamPermissionLabel, teamPermissionI18n } from '@omnify-base/schemas/TeamPermission';
16
- import { User as User$1 } from '@omnify-base/schemas/User';
17
- export { getUserFieldLabel, getUserFieldPlaceholder, getUserLabel, userI18n } from '@omnify-base/schemas/User';
18
+ import { UserCache as UserCache$1 } from '@omnify-base/schemas/UserCache';
19
+ export { getUserCacheFieldLabel, getUserCacheFieldPlaceholder, getUserCacheLabel, userCacheI18n } from '@omnify-base/schemas/UserCache';
18
20
 
19
21
  /**
20
- * Branch Model
22
+ * BranchCache Model
21
23
  *
22
24
  * This file extends the auto-generated base interface.
23
25
  * You can add custom methods, computed properties, or override types/schemas here.
24
26
  * This file will NOT be overwritten by the generator.
25
27
  */
26
28
 
27
- interface Branch extends Branch$1 {
29
+ interface BranchCache extends BranchCache$1 {
28
30
  }
29
- declare const branchSchemas: {
31
+ declare const branchCacheSchemas: {
30
32
  console_branch_id: z.ZodString;
31
33
  console_org_id: z.ZodString;
32
34
  code: z.ZodString;
@@ -34,7 +36,7 @@ declare const branchSchemas: {
34
36
  is_headquarters: z.ZodBoolean;
35
37
  is_active: z.ZodBoolean;
36
38
  };
37
- declare const branchCreateSchema: z.ZodObject<{
39
+ declare const branchCacheCreateSchema: z.ZodObject<{
38
40
  console_branch_id: z.ZodString;
39
41
  console_org_id: z.ZodString;
40
42
  code: z.ZodString;
@@ -42,7 +44,7 @@ declare const branchCreateSchema: z.ZodObject<{
42
44
  is_headquarters: z.ZodBoolean;
43
45
  is_active: z.ZodBoolean;
44
46
  }, z.core.$strip>;
45
- declare const branchUpdateSchema: z.ZodObject<{
47
+ declare const branchCacheUpdateSchema: z.ZodObject<{
46
48
  console_branch_id: z.ZodOptional<z.ZodString>;
47
49
  console_org_id: z.ZodOptional<z.ZodString>;
48
50
  code: z.ZodOptional<z.ZodString>;
@@ -50,8 +52,39 @@ declare const branchUpdateSchema: z.ZodObject<{
50
52
  is_headquarters: z.ZodOptional<z.ZodBoolean>;
51
53
  is_active: z.ZodOptional<z.ZodBoolean>;
52
54
  }, z.core.$strip>;
53
- type BranchCreate = z.infer<typeof branchCreateSchema>;
54
- type BranchUpdate = z.infer<typeof branchUpdateSchema>;
55
+ type BranchCacheCreate = z.infer<typeof branchCacheCreateSchema>;
56
+ type BranchCacheUpdate = z.infer<typeof branchCacheUpdateSchema>;
57
+
58
+ /**
59
+ * OrganizationCache Model
60
+ *
61
+ * This file extends the auto-generated base interface.
62
+ * You can add custom methods, computed properties, or override types/schemas here.
63
+ * This file will NOT be overwritten by the generator.
64
+ */
65
+
66
+ interface OrganizationCache extends OrganizationCache$1 {
67
+ }
68
+ declare const organizationCacheSchemas: {
69
+ console_org_id: z.ZodString;
70
+ name: z.ZodString;
71
+ code: z.ZodString;
72
+ is_active: z.ZodBoolean;
73
+ };
74
+ declare const organizationCacheCreateSchema: z.ZodObject<{
75
+ console_org_id: z.ZodString;
76
+ name: z.ZodString;
77
+ code: z.ZodString;
78
+ is_active: z.ZodBoolean;
79
+ }, z.core.$strip>;
80
+ declare const organizationCacheUpdateSchema: z.ZodObject<{
81
+ console_org_id: z.ZodOptional<z.ZodString>;
82
+ name: z.ZodOptional<z.ZodString>;
83
+ code: z.ZodOptional<z.ZodString>;
84
+ is_active: z.ZodOptional<z.ZodBoolean>;
85
+ }, z.core.$strip>;
86
+ type OrganizationCacheCreate = z.infer<typeof organizationCacheCreateSchema>;
87
+ type OrganizationCacheUpdate = z.infer<typeof organizationCacheUpdateSchema>;
55
88
 
56
89
  /**
57
90
  * Permission Model
@@ -92,18 +125,21 @@ type PermissionUpdate = z.infer<typeof permissionUpdateSchema>;
92
125
  interface Role extends Role$1 {
93
126
  }
94
127
  declare const roleSchemas: {
128
+ console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
95
129
  name: z.ZodString;
96
130
  slug: z.ZodString;
97
131
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
98
132
  level: z.ZodNumber;
99
133
  };
100
134
  declare const roleCreateSchema: z.ZodObject<{
135
+ console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
101
136
  name: z.ZodString;
102
137
  slug: z.ZodString;
103
138
  description: z.ZodNullable<z.ZodOptional<z.ZodString>>;
104
139
  level: z.ZodNumber;
105
140
  }, z.core.$strip>;
106
141
  declare const roleUpdateSchema: z.ZodObject<{
142
+ console_org_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
107
143
  name: z.ZodOptional<z.ZodString>;
108
144
  slug: z.ZodOptional<z.ZodString>;
109
145
  description: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
@@ -129,32 +165,32 @@ type RolePermissionCreate = z.infer<typeof rolePermissionCreateSchema>;
129
165
  type RolePermissionUpdate = z.infer<typeof rolePermissionUpdateSchema>;
130
166
 
131
167
  /**
132
- * Team Model
168
+ * TeamCache Model
133
169
  *
134
170
  * This file extends the auto-generated base interface.
135
171
  * You can add custom methods, computed properties, or override types/schemas here.
136
172
  * This file will NOT be overwritten by the generator.
137
173
  */
138
174
 
139
- interface Team extends Team$1 {
175
+ interface TeamCache extends TeamCache$1 {
140
176
  }
141
- declare const teamSchemas: {
177
+ declare const teamCacheSchemas: {
142
178
  console_team_id: z.ZodString;
143
179
  console_org_id: z.ZodString;
144
180
  name: z.ZodString;
145
181
  };
146
- declare const teamCreateSchema: z.ZodObject<{
182
+ declare const teamCacheCreateSchema: z.ZodObject<{
147
183
  console_team_id: z.ZodString;
148
184
  console_org_id: z.ZodString;
149
185
  name: z.ZodString;
150
186
  }, z.core.$strip>;
151
- declare const teamUpdateSchema: z.ZodObject<{
187
+ declare const teamCacheUpdateSchema: z.ZodObject<{
152
188
  console_team_id: z.ZodOptional<z.ZodString>;
153
189
  console_org_id: z.ZodOptional<z.ZodString>;
154
190
  name: z.ZodOptional<z.ZodString>;
155
191
  }, z.core.$strip>;
156
- type TeamCreate = z.infer<typeof teamCreateSchema>;
157
- type TeamUpdate = z.infer<typeof teamUpdateSchema>;
192
+ type TeamCacheCreate = z.infer<typeof teamCacheCreateSchema>;
193
+ type TeamCacheUpdate = z.infer<typeof teamCacheUpdateSchema>;
158
194
 
159
195
  /**
160
196
  * TeamPermission Model
@@ -182,40 +218,43 @@ type TeamPermissionCreate = z.infer<typeof teamPermissionCreateSchema>;
182
218
  type TeamPermissionUpdate = z.infer<typeof teamPermissionUpdateSchema>;
183
219
 
184
220
  /**
185
- * User Model
221
+ * UserCache Model
186
222
  *
187
223
  * This file extends the auto-generated base interface.
188
224
  * You can add custom methods, computed properties, or override types/schemas here.
189
225
  * This file will NOT be overwritten by the generator.
190
226
  */
191
227
 
192
- interface User extends User$1 {
228
+ interface UserCache extends UserCache$1 {
193
229
  }
194
- declare const userSchemas: {
230
+ declare const userCacheSchemas: {
195
231
  name: z.ZodString;
196
232
  email: z.ZodString;
197
233
  console_user_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
234
+ console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
198
235
  console_access_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
199
236
  console_refresh_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
200
237
  console_token_expires_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
201
238
  };
202
- declare const userCreateSchema: z.ZodObject<{
239
+ declare const userCacheCreateSchema: z.ZodObject<{
203
240
  name: z.ZodString;
204
241
  email: z.ZodString;
205
242
  console_user_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
243
+ console_org_id: z.ZodNullable<z.ZodOptional<z.ZodString>>;
206
244
  console_access_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
207
245
  console_refresh_token: z.ZodNullable<z.ZodOptional<z.ZodString>>;
208
246
  console_token_expires_at: z.ZodNullable<z.ZodOptional<z.ZodString>>;
209
247
  }, z.core.$strip>;
210
- declare const userUpdateSchema: z.ZodObject<{
248
+ declare const userCacheUpdateSchema: z.ZodObject<{
211
249
  name: z.ZodOptional<z.ZodString>;
212
250
  email: z.ZodOptional<z.ZodString>;
213
251
  console_user_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
252
+ console_org_id: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
214
253
  console_access_token: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
215
254
  console_refresh_token: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
216
255
  console_token_expires_at: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
217
256
  }, z.core.$strip>;
218
- type UserCreate = z.infer<typeof userCreateSchema>;
219
- type UserUpdate = z.infer<typeof userUpdateSchema>;
257
+ type UserCacheCreate = z.infer<typeof userCacheCreateSchema>;
258
+ type UserCacheUpdate = z.infer<typeof userCacheUpdateSchema>;
220
259
 
221
- export { type Branch, type BranchCreate, type BranchUpdate, type Permission, type PermissionCreate, type PermissionUpdate, type Role, type RoleCreate, type RolePermission, type RolePermissionCreate, type RolePermissionUpdate, type RoleUpdate, type Team, type TeamCreate, type TeamPermission, type TeamPermissionCreate, type TeamPermissionUpdate, type TeamUpdate, type User, type UserCreate, type UserUpdate, branchCreateSchema, branchSchemas, branchUpdateSchema, permissionCreateSchema, permissionSchemas, permissionUpdateSchema, roleCreateSchema, rolePermissionCreateSchema, rolePermissionSchemas, rolePermissionUpdateSchema, roleSchemas, roleUpdateSchema, teamCreateSchema, teamPermissionCreateSchema, teamPermissionSchemas, teamPermissionUpdateSchema, teamSchemas, teamUpdateSchema, userCreateSchema, userSchemas, userUpdateSchema };
260
+ export { type BranchCache, type BranchCacheCreate, type BranchCacheUpdate, type OrganizationCache, type OrganizationCacheCreate, type OrganizationCacheUpdate, type Permission, type PermissionCreate, type PermissionUpdate, type Role, type RoleCreate, type RolePermission, type RolePermissionCreate, type RolePermissionUpdate, type RoleUpdate, type TeamCache, type TeamCacheCreate, type TeamCacheUpdate, type TeamPermission, type TeamPermissionCreate, type TeamPermissionUpdate, type UserCache, type UserCacheCreate, type UserCacheUpdate, branchCacheCreateSchema, branchCacheSchemas, branchCacheUpdateSchema, organizationCacheCreateSchema, organizationCacheSchemas, organizationCacheUpdateSchema, permissionCreateSchema, permissionSchemas, permissionUpdateSchema, roleCreateSchema, rolePermissionCreateSchema, rolePermissionSchemas, rolePermissionUpdateSchema, roleSchemas, roleUpdateSchema, teamCacheCreateSchema, teamCacheSchemas, teamCacheUpdateSchema, teamPermissionCreateSchema, teamPermissionSchemas, teamPermissionUpdateSchema, userCacheCreateSchema, userCacheSchemas, userCacheUpdateSchema };