evo360-types 1.3.358 → 1.3.359

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.
@@ -241,6 +241,10 @@ export declare const zNexusModuleChatPermissionsSchema: z.ZodObject<{
241
241
  management?: boolean | undefined;
242
242
  supervision?: boolean | undefined;
243
243
  }>;
244
+ /**
245
+ * Schema for INexusReports
246
+ */
247
+ export declare const zNexusReportsSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
244
248
  /**
245
249
  * Schema for INexusModules
246
250
  */
@@ -259,6 +263,7 @@ export declare const zNexusModulesSchema: z.ZodObject<{
259
263
  finance: z.ZodOptional<z.ZodBoolean>;
260
264
  notifications: z.ZodOptional<z.ZodBoolean>;
261
265
  waba: z.ZodOptional<z.ZodBoolean>;
266
+ reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
262
267
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
263
268
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
264
269
  management: z.ZodOptional<z.ZodBoolean>;
@@ -274,6 +279,7 @@ export declare const zNexusModulesSchema: z.ZodObject<{
274
279
  finance: z.ZodOptional<z.ZodBoolean>;
275
280
  notifications: z.ZodOptional<z.ZodBoolean>;
276
281
  waba: z.ZodOptional<z.ZodBoolean>;
282
+ reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
277
283
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
278
284
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
279
285
  management: z.ZodOptional<z.ZodBoolean>;
@@ -289,6 +295,7 @@ export declare const zNexusModulesSchema: z.ZodObject<{
289
295
  finance: z.ZodOptional<z.ZodBoolean>;
290
296
  notifications: z.ZodOptional<z.ZodBoolean>;
291
297
  waba: z.ZodOptional<z.ZodBoolean>;
298
+ reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
292
299
  }, z.ZodTypeAny, "passthrough">>;
293
300
  /**
294
301
  * Schema for INexusClaims
@@ -310,6 +317,7 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
310
317
  finance: z.ZodOptional<z.ZodBoolean>;
311
318
  notifications: z.ZodOptional<z.ZodBoolean>;
312
319
  waba: z.ZodOptional<z.ZodBoolean>;
320
+ reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
313
321
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
314
322
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
315
323
  management: z.ZodOptional<z.ZodBoolean>;
@@ -325,6 +333,7 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
325
333
  finance: z.ZodOptional<z.ZodBoolean>;
326
334
  notifications: z.ZodOptional<z.ZodBoolean>;
327
335
  waba: z.ZodOptional<z.ZodBoolean>;
336
+ reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
328
337
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
329
338
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
330
339
  management: z.ZodOptional<z.ZodBoolean>;
@@ -340,6 +349,7 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
340
349
  finance: z.ZodOptional<z.ZodBoolean>;
341
350
  notifications: z.ZodOptional<z.ZodBoolean>;
342
351
  waba: z.ZodOptional<z.ZodBoolean>;
352
+ reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
343
353
  }, z.ZodTypeAny, "passthrough">>;
344
354
  }, "strip", z.ZodTypeAny, {
345
355
  nexus_access: boolean;
@@ -352,6 +362,7 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
352
362
  finance?: boolean | undefined;
353
363
  notifications?: boolean | undefined;
354
364
  waba?: boolean | undefined;
365
+ reports?: boolean | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
355
366
  } & {
356
367
  [k: string]: unknown;
357
368
  };
@@ -366,6 +377,7 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
366
377
  finance?: boolean | undefined;
367
378
  notifications?: boolean | undefined;
368
379
  waba?: boolean | undefined;
380
+ reports?: boolean | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
369
381
  } & {
370
382
  [k: string]: unknown;
371
383
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zNexusClaimsSchema = exports.zNexusModulesSchema = exports.zNexusModuleChatPermissionsSchema = exports.zRbacGroupSchema = exports.zRbacPermissionMetadataSchema = exports.zRbacRoleSchema = exports.zRbacRolePermsSchema = exports.zUserTenantIndexSchema = exports.zTenantUserSchema = exports.zUserTenantIndexStatusSchema = exports.zTenantUserStatusSchema = exports.zRbacPermValueSchema = exports.zActionArgsSchema = void 0;
3
+ exports.zNexusClaimsSchema = exports.zNexusModulesSchema = exports.zNexusReportsSchema = exports.zNexusModuleChatPermissionsSchema = exports.zRbacGroupSchema = exports.zRbacPermissionMetadataSchema = exports.zRbacRoleSchema = exports.zRbacRolePermsSchema = exports.zUserTenantIndexSchema = exports.zTenantUserSchema = exports.zUserTenantIndexStatusSchema = exports.zTenantUserStatusSchema = exports.zRbacPermValueSchema = exports.zActionArgsSchema = void 0;
4
4
  const zod_1 = require("zod");
5
5
  const zod_schemas_1 = require("../shared/zod-schemas");
6
6
  const zod_schemas_2 = require("../evo-tenant/zod-schemas");
@@ -99,6 +99,10 @@ exports.zNexusModuleChatPermissionsSchema = zod_1.z.object({
99
99
  management: zod_1.z.boolean().optional(),
100
100
  supervision: zod_1.z.boolean().optional(),
101
101
  });
102
+ /**
103
+ * Schema for INexusReports
104
+ */
105
+ exports.zNexusReportsSchema = zod_1.z.object({}).passthrough();
102
106
  /**
103
107
  * Schema for INexusModules
104
108
  */
@@ -109,6 +113,7 @@ exports.zNexusModulesSchema = zod_1.z
109
113
  finance: zod_1.z.boolean().optional(),
110
114
  notifications: zod_1.z.boolean().optional(),
111
115
  waba: zod_1.z.boolean().optional(),
116
+ reports: zod_1.z.union([exports.zNexusReportsSchema, zod_1.z.boolean()]).optional(),
112
117
  })
113
118
  .passthrough();
114
119
  /**
@@ -110,6 +110,11 @@ export const zNexusModuleChatPermissionsSchema = z.object({
110
110
  supervision: z.boolean().optional(),
111
111
  });
112
112
 
113
+ /**
114
+ * Schema for INexusReports
115
+ */
116
+ export const zNexusReportsSchema = z.object({}).passthrough();
117
+
113
118
  /**
114
119
  * Schema for INexusModules
115
120
  */
@@ -120,6 +125,7 @@ export const zNexusModulesSchema = z
120
125
  finance: z.boolean().optional(),
121
126
  notifications: z.boolean().optional(),
122
127
  waba: z.boolean().optional(),
128
+ reports: z.union([zNexusReportsSchema, z.boolean()]).optional(),
123
129
  })
124
130
  .passthrough();
125
131
 
@@ -50,13 +50,16 @@ export interface INexusModuleChatPermissions {
50
50
  management?: boolean;
51
51
  supervision?: boolean;
52
52
  }
53
+ export interface INexusReports {
54
+ }
53
55
  export interface INexusModules {
54
56
  chat?: INexusModuleChatPermissions | boolean;
55
57
  tenants?: boolean;
56
58
  finance?: boolean;
57
59
  notifications?: boolean;
58
60
  waba?: boolean;
59
- [key: string]: INexusModuleChatPermissions | boolean | undefined;
61
+ reports?: INexusReports | boolean;
62
+ [key: string]: INexusModuleChatPermissions | INexusReports | boolean | undefined;
60
63
  }
61
64
  export interface INexusClaims {
62
65
  nexus_access: boolean;
@@ -62,13 +62,16 @@ export interface INexusModuleChatPermissions {
62
62
  supervision?: boolean;
63
63
  }
64
64
 
65
+ export interface INexusReports {}
66
+
65
67
  export interface INexusModules {
66
68
  chat?: INexusModuleChatPermissions | boolean;
67
69
  tenants?: boolean;
68
70
  finance?: boolean;
69
71
  notifications?: boolean;
70
72
  waba?: boolean;
71
- [key: string]: INexusModuleChatPermissions | boolean | undefined;
73
+ reports?: INexusReports | boolean;
74
+ [key: string]: INexusModuleChatPermissions | INexusReports | boolean | undefined;
72
75
  }
73
76
 
74
77
  export interface INexusClaims {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.358",
3
+ "version": "1.3.359",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",