evo360-types 1.3.755 → 1.3.757

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.
@@ -232,7 +232,6 @@ export declare const zRbacGroupSchema: z.ZodObject<{
232
232
  * Schema for INexusModuleChatPermissions
233
233
  */
234
234
  export declare const zNexusModuleChatPermissionsSchema: z.ZodObject<{
235
- management: z.ZodOptional<z.ZodBoolean>;
236
235
  supervision: z.ZodOptional<z.ZodBoolean>;
237
236
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
238
237
  csq: z.ZodOptional<z.ZodBoolean>;
@@ -240,12 +239,10 @@ export declare const zNexusModuleChatPermissionsSchema: z.ZodObject<{
240
239
  csq_admin: z.ZodOptional<z.ZodBoolean>;
241
240
  }, "strip", z.ZodTypeAny, {
242
241
  csq?: boolean | undefined;
243
- management?: boolean | undefined;
244
242
  supervision?: boolean | undefined;
245
243
  csq_admin?: boolean | undefined;
246
244
  }, {
247
245
  csq?: boolean | undefined;
248
- management?: boolean | undefined;
249
246
  supervision?: boolean | undefined;
250
247
  csq_admin?: boolean | undefined;
251
248
  }>;
@@ -260,28 +257,33 @@ export declare const zNexusModuleFinancePermissionsSchema: z.ZodObject<{
260
257
  /** feat-264 — reembolso da taxa de NFS-e. */
261
258
  reimbursements: z.ZodOptional<z.ZodBoolean>;
262
259
  }, "strip", z.ZodTypeAny, {
263
- reports?: boolean | undefined;
264
260
  customers?: boolean | undefined;
265
261
  contracts?: boolean | undefined;
266
262
  billing?: boolean | undefined;
263
+ reports?: boolean | undefined;
267
264
  reimbursements?: boolean | undefined;
268
265
  }, {
269
- reports?: boolean | undefined;
270
266
  customers?: boolean | undefined;
271
267
  contracts?: boolean | undefined;
272
268
  billing?: boolean | undefined;
269
+ reports?: boolean | undefined;
273
270
  reimbursements?: boolean | undefined;
274
271
  }>;
275
272
  /**
276
- * Schema for INexusReports
273
+ * Schema for INexusModuleToolsPermissions
277
274
  */
278
- export declare const zNexusReportsSchema: z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>;
275
+ export declare const zNexusModuleToolsPermissionsSchema: z.ZodObject<{
276
+ forms: z.ZodOptional<z.ZodBoolean>;
277
+ }, "strip", z.ZodTypeAny, {
278
+ forms?: boolean | undefined;
279
+ }, {
280
+ forms?: boolean | undefined;
281
+ }>;
279
282
  /**
280
283
  * Schema for INexusModules
281
284
  */
282
285
  export declare const zNexusModulesSchema: z.ZodObject<{
283
286
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
284
- management: z.ZodOptional<z.ZodBoolean>;
285
287
  supervision: z.ZodOptional<z.ZodBoolean>;
286
288
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
287
289
  csq: z.ZodOptional<z.ZodBoolean>;
@@ -289,12 +291,10 @@ export declare const zNexusModulesSchema: z.ZodObject<{
289
291
  csq_admin: z.ZodOptional<z.ZodBoolean>;
290
292
  }, "strip", z.ZodTypeAny, {
291
293
  csq?: boolean | undefined;
292
- management?: boolean | undefined;
293
294
  supervision?: boolean | undefined;
294
295
  csq_admin?: boolean | undefined;
295
296
  }, {
296
297
  csq?: boolean | undefined;
297
- management?: boolean | undefined;
298
298
  supervision?: boolean | undefined;
299
299
  csq_admin?: boolean | undefined;
300
300
  }>, z.ZodBoolean]>>;
@@ -307,24 +307,32 @@ export declare const zNexusModulesSchema: z.ZodObject<{
307
307
  /** feat-264 — reembolso da taxa de NFS-e. */
308
308
  reimbursements: z.ZodOptional<z.ZodBoolean>;
309
309
  }, "strip", z.ZodTypeAny, {
310
- reports?: boolean | undefined;
311
310
  customers?: boolean | undefined;
312
311
  contracts?: boolean | undefined;
313
312
  billing?: boolean | undefined;
313
+ reports?: boolean | undefined;
314
314
  reimbursements?: boolean | undefined;
315
315
  }, {
316
- reports?: boolean | undefined;
317
316
  customers?: boolean | undefined;
318
317
  contracts?: boolean | undefined;
319
318
  billing?: boolean | undefined;
319
+ reports?: boolean | undefined;
320
320
  reimbursements?: boolean | undefined;
321
321
  }>, z.ZodBoolean]>>;
322
322
  notifications: z.ZodOptional<z.ZodBoolean>;
323
323
  waba: z.ZodOptional<z.ZodBoolean>;
324
- reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
324
+ task_runner: z.ZodOptional<z.ZodBoolean>;
325
+ webhooks: z.ZodOptional<z.ZodBoolean>;
326
+ integrations: z.ZodOptional<z.ZodBoolean>;
327
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
328
+ forms: z.ZodOptional<z.ZodBoolean>;
329
+ }, "strip", z.ZodTypeAny, {
330
+ forms?: boolean | undefined;
331
+ }, {
332
+ forms?: boolean | undefined;
333
+ }>, z.ZodBoolean]>>;
325
334
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
326
335
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
327
- management: z.ZodOptional<z.ZodBoolean>;
328
336
  supervision: z.ZodOptional<z.ZodBoolean>;
329
337
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
330
338
  csq: z.ZodOptional<z.ZodBoolean>;
@@ -332,12 +340,10 @@ export declare const zNexusModulesSchema: z.ZodObject<{
332
340
  csq_admin: z.ZodOptional<z.ZodBoolean>;
333
341
  }, "strip", z.ZodTypeAny, {
334
342
  csq?: boolean | undefined;
335
- management?: boolean | undefined;
336
343
  supervision?: boolean | undefined;
337
344
  csq_admin?: boolean | undefined;
338
345
  }, {
339
346
  csq?: boolean | undefined;
340
- management?: boolean | undefined;
341
347
  supervision?: boolean | undefined;
342
348
  csq_admin?: boolean | undefined;
343
349
  }>, z.ZodBoolean]>>;
@@ -350,24 +356,32 @@ export declare const zNexusModulesSchema: z.ZodObject<{
350
356
  /** feat-264 — reembolso da taxa de NFS-e. */
351
357
  reimbursements: z.ZodOptional<z.ZodBoolean>;
352
358
  }, "strip", z.ZodTypeAny, {
353
- reports?: boolean | undefined;
354
359
  customers?: boolean | undefined;
355
360
  contracts?: boolean | undefined;
356
361
  billing?: boolean | undefined;
362
+ reports?: boolean | undefined;
357
363
  reimbursements?: boolean | undefined;
358
364
  }, {
359
- reports?: boolean | undefined;
360
365
  customers?: boolean | undefined;
361
366
  contracts?: boolean | undefined;
362
367
  billing?: boolean | undefined;
368
+ reports?: boolean | undefined;
363
369
  reimbursements?: boolean | undefined;
364
370
  }>, z.ZodBoolean]>>;
365
371
  notifications: z.ZodOptional<z.ZodBoolean>;
366
372
  waba: z.ZodOptional<z.ZodBoolean>;
367
- reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
373
+ task_runner: z.ZodOptional<z.ZodBoolean>;
374
+ webhooks: z.ZodOptional<z.ZodBoolean>;
375
+ integrations: z.ZodOptional<z.ZodBoolean>;
376
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
377
+ forms: z.ZodOptional<z.ZodBoolean>;
378
+ }, "strip", z.ZodTypeAny, {
379
+ forms?: boolean | undefined;
380
+ }, {
381
+ forms?: boolean | undefined;
382
+ }>, z.ZodBoolean]>>;
368
383
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
369
384
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
370
- management: z.ZodOptional<z.ZodBoolean>;
371
385
  supervision: z.ZodOptional<z.ZodBoolean>;
372
386
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
373
387
  csq: z.ZodOptional<z.ZodBoolean>;
@@ -375,12 +389,10 @@ export declare const zNexusModulesSchema: z.ZodObject<{
375
389
  csq_admin: z.ZodOptional<z.ZodBoolean>;
376
390
  }, "strip", z.ZodTypeAny, {
377
391
  csq?: boolean | undefined;
378
- management?: boolean | undefined;
379
392
  supervision?: boolean | undefined;
380
393
  csq_admin?: boolean | undefined;
381
394
  }, {
382
395
  csq?: boolean | undefined;
383
- management?: boolean | undefined;
384
396
  supervision?: boolean | undefined;
385
397
  csq_admin?: boolean | undefined;
386
398
  }>, z.ZodBoolean]>>;
@@ -393,21 +405,30 @@ export declare const zNexusModulesSchema: z.ZodObject<{
393
405
  /** feat-264 — reembolso da taxa de NFS-e. */
394
406
  reimbursements: z.ZodOptional<z.ZodBoolean>;
395
407
  }, "strip", z.ZodTypeAny, {
396
- reports?: boolean | undefined;
397
408
  customers?: boolean | undefined;
398
409
  contracts?: boolean | undefined;
399
410
  billing?: boolean | undefined;
411
+ reports?: boolean | undefined;
400
412
  reimbursements?: boolean | undefined;
401
413
  }, {
402
- reports?: boolean | undefined;
403
414
  customers?: boolean | undefined;
404
415
  contracts?: boolean | undefined;
405
416
  billing?: boolean | undefined;
417
+ reports?: boolean | undefined;
406
418
  reimbursements?: boolean | undefined;
407
419
  }>, z.ZodBoolean]>>;
408
420
  notifications: z.ZodOptional<z.ZodBoolean>;
409
421
  waba: z.ZodOptional<z.ZodBoolean>;
410
- reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
422
+ task_runner: z.ZodOptional<z.ZodBoolean>;
423
+ webhooks: z.ZodOptional<z.ZodBoolean>;
424
+ integrations: z.ZodOptional<z.ZodBoolean>;
425
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
426
+ forms: z.ZodOptional<z.ZodBoolean>;
427
+ }, "strip", z.ZodTypeAny, {
428
+ forms?: boolean | undefined;
429
+ }, {
430
+ forms?: boolean | undefined;
431
+ }>, z.ZodBoolean]>>;
411
432
  }, z.ZodTypeAny, "passthrough">>;
412
433
  /**
413
434
  * Schema for INexusClaims
@@ -416,7 +437,6 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
416
437
  nexus_access: z.ZodBoolean;
417
438
  nexus_modules: z.ZodObject<{
418
439
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
419
- management: z.ZodOptional<z.ZodBoolean>;
420
440
  supervision: z.ZodOptional<z.ZodBoolean>;
421
441
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
422
442
  csq: z.ZodOptional<z.ZodBoolean>;
@@ -424,12 +444,10 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
424
444
  csq_admin: z.ZodOptional<z.ZodBoolean>;
425
445
  }, "strip", z.ZodTypeAny, {
426
446
  csq?: boolean | undefined;
427
- management?: boolean | undefined;
428
447
  supervision?: boolean | undefined;
429
448
  csq_admin?: boolean | undefined;
430
449
  }, {
431
450
  csq?: boolean | undefined;
432
- management?: boolean | undefined;
433
451
  supervision?: boolean | undefined;
434
452
  csq_admin?: boolean | undefined;
435
453
  }>, z.ZodBoolean]>>;
@@ -442,24 +460,32 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
442
460
  /** feat-264 — reembolso da taxa de NFS-e. */
443
461
  reimbursements: z.ZodOptional<z.ZodBoolean>;
444
462
  }, "strip", z.ZodTypeAny, {
445
- reports?: boolean | undefined;
446
463
  customers?: boolean | undefined;
447
464
  contracts?: boolean | undefined;
448
465
  billing?: boolean | undefined;
466
+ reports?: boolean | undefined;
449
467
  reimbursements?: boolean | undefined;
450
468
  }, {
451
- reports?: boolean | undefined;
452
469
  customers?: boolean | undefined;
453
470
  contracts?: boolean | undefined;
454
471
  billing?: boolean | undefined;
472
+ reports?: boolean | undefined;
455
473
  reimbursements?: boolean | undefined;
456
474
  }>, z.ZodBoolean]>>;
457
475
  notifications: z.ZodOptional<z.ZodBoolean>;
458
476
  waba: z.ZodOptional<z.ZodBoolean>;
459
- reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
477
+ task_runner: z.ZodOptional<z.ZodBoolean>;
478
+ webhooks: z.ZodOptional<z.ZodBoolean>;
479
+ integrations: z.ZodOptional<z.ZodBoolean>;
480
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
481
+ forms: z.ZodOptional<z.ZodBoolean>;
482
+ }, "strip", z.ZodTypeAny, {
483
+ forms?: boolean | undefined;
484
+ }, {
485
+ forms?: boolean | undefined;
486
+ }>, z.ZodBoolean]>>;
460
487
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
461
488
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
462
- management: z.ZodOptional<z.ZodBoolean>;
463
489
  supervision: z.ZodOptional<z.ZodBoolean>;
464
490
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
465
491
  csq: z.ZodOptional<z.ZodBoolean>;
@@ -467,12 +493,10 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
467
493
  csq_admin: z.ZodOptional<z.ZodBoolean>;
468
494
  }, "strip", z.ZodTypeAny, {
469
495
  csq?: boolean | undefined;
470
- management?: boolean | undefined;
471
496
  supervision?: boolean | undefined;
472
497
  csq_admin?: boolean | undefined;
473
498
  }, {
474
499
  csq?: boolean | undefined;
475
- management?: boolean | undefined;
476
500
  supervision?: boolean | undefined;
477
501
  csq_admin?: boolean | undefined;
478
502
  }>, z.ZodBoolean]>>;
@@ -485,24 +509,32 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
485
509
  /** feat-264 — reembolso da taxa de NFS-e. */
486
510
  reimbursements: z.ZodOptional<z.ZodBoolean>;
487
511
  }, "strip", z.ZodTypeAny, {
488
- reports?: boolean | undefined;
489
512
  customers?: boolean | undefined;
490
513
  contracts?: boolean | undefined;
491
514
  billing?: boolean | undefined;
515
+ reports?: boolean | undefined;
492
516
  reimbursements?: boolean | undefined;
493
517
  }, {
494
- reports?: boolean | undefined;
495
518
  customers?: boolean | undefined;
496
519
  contracts?: boolean | undefined;
497
520
  billing?: boolean | undefined;
521
+ reports?: boolean | undefined;
498
522
  reimbursements?: boolean | undefined;
499
523
  }>, z.ZodBoolean]>>;
500
524
  notifications: z.ZodOptional<z.ZodBoolean>;
501
525
  waba: z.ZodOptional<z.ZodBoolean>;
502
- reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
526
+ task_runner: z.ZodOptional<z.ZodBoolean>;
527
+ webhooks: z.ZodOptional<z.ZodBoolean>;
528
+ integrations: z.ZodOptional<z.ZodBoolean>;
529
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
530
+ forms: z.ZodOptional<z.ZodBoolean>;
531
+ }, "strip", z.ZodTypeAny, {
532
+ forms?: boolean | undefined;
533
+ }, {
534
+ forms?: boolean | undefined;
535
+ }>, z.ZodBoolean]>>;
503
536
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
504
537
  chat: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
505
- management: z.ZodOptional<z.ZodBoolean>;
506
538
  supervision: z.ZodOptional<z.ZodBoolean>;
507
539
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
508
540
  csq: z.ZodOptional<z.ZodBoolean>;
@@ -510,12 +542,10 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
510
542
  csq_admin: z.ZodOptional<z.ZodBoolean>;
511
543
  }, "strip", z.ZodTypeAny, {
512
544
  csq?: boolean | undefined;
513
- management?: boolean | undefined;
514
545
  supervision?: boolean | undefined;
515
546
  csq_admin?: boolean | undefined;
516
547
  }, {
517
548
  csq?: boolean | undefined;
518
- management?: boolean | undefined;
519
549
  supervision?: boolean | undefined;
520
550
  csq_admin?: boolean | undefined;
521
551
  }>, z.ZodBoolean]>>;
@@ -528,42 +558,55 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
528
558
  /** feat-264 — reembolso da taxa de NFS-e. */
529
559
  reimbursements: z.ZodOptional<z.ZodBoolean>;
530
560
  }, "strip", z.ZodTypeAny, {
531
- reports?: boolean | undefined;
532
561
  customers?: boolean | undefined;
533
562
  contracts?: boolean | undefined;
534
563
  billing?: boolean | undefined;
564
+ reports?: boolean | undefined;
535
565
  reimbursements?: boolean | undefined;
536
566
  }, {
537
- reports?: boolean | undefined;
538
567
  customers?: boolean | undefined;
539
568
  contracts?: boolean | undefined;
540
569
  billing?: boolean | undefined;
570
+ reports?: boolean | undefined;
541
571
  reimbursements?: boolean | undefined;
542
572
  }>, z.ZodBoolean]>>;
543
573
  notifications: z.ZodOptional<z.ZodBoolean>;
544
574
  waba: z.ZodOptional<z.ZodBoolean>;
545
- reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
575
+ task_runner: z.ZodOptional<z.ZodBoolean>;
576
+ webhooks: z.ZodOptional<z.ZodBoolean>;
577
+ integrations: z.ZodOptional<z.ZodBoolean>;
578
+ tools: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
579
+ forms: z.ZodOptional<z.ZodBoolean>;
580
+ }, "strip", z.ZodTypeAny, {
581
+ forms?: boolean | undefined;
582
+ }, {
583
+ forms?: boolean | undefined;
584
+ }>, z.ZodBoolean]>>;
546
585
  }, z.ZodTypeAny, "passthrough">>;
547
586
  }, "strip", z.ZodTypeAny, {
548
587
  nexus_access: boolean;
549
588
  nexus_modules: {
550
589
  tenants?: boolean | undefined;
590
+ integrations?: boolean | undefined;
551
591
  chat?: boolean | {
552
592
  csq?: boolean | undefined;
553
- management?: boolean | undefined;
554
593
  supervision?: boolean | undefined;
555
594
  csq_admin?: boolean | undefined;
556
595
  } | undefined;
557
596
  finance?: boolean | {
558
- reports?: boolean | undefined;
559
597
  customers?: boolean | undefined;
560
598
  contracts?: boolean | undefined;
561
599
  billing?: boolean | undefined;
600
+ reports?: boolean | undefined;
562
601
  reimbursements?: boolean | undefined;
563
602
  } | undefined;
564
603
  notifications?: boolean | undefined;
565
604
  waba?: boolean | undefined;
566
- reports?: boolean | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
605
+ task_runner?: boolean | undefined;
606
+ webhooks?: boolean | undefined;
607
+ tools?: boolean | {
608
+ forms?: boolean | undefined;
609
+ } | undefined;
567
610
  } & {
568
611
  [k: string]: unknown;
569
612
  };
@@ -571,22 +614,26 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
571
614
  nexus_access: boolean;
572
615
  nexus_modules: {
573
616
  tenants?: boolean | undefined;
617
+ integrations?: boolean | undefined;
574
618
  chat?: boolean | {
575
619
  csq?: boolean | undefined;
576
- management?: boolean | undefined;
577
620
  supervision?: boolean | undefined;
578
621
  csq_admin?: boolean | undefined;
579
622
  } | undefined;
580
623
  finance?: boolean | {
581
- reports?: boolean | undefined;
582
624
  customers?: boolean | undefined;
583
625
  contracts?: boolean | undefined;
584
626
  billing?: boolean | undefined;
627
+ reports?: boolean | undefined;
585
628
  reimbursements?: boolean | undefined;
586
629
  } | undefined;
587
630
  notifications?: boolean | undefined;
588
631
  waba?: boolean | undefined;
589
- reports?: boolean | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
632
+ task_runner?: boolean | undefined;
633
+ webhooks?: boolean | undefined;
634
+ tools?: boolean | {
635
+ forms?: boolean | undefined;
636
+ } | undefined;
590
637
  } & {
591
638
  [k: string]: unknown;
592
639
  };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.zNexusClaimsSchema = exports.zNexusModulesSchema = exports.zNexusReportsSchema = exports.zNexusModuleFinancePermissionsSchema = 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.zNexusModuleToolsPermissionsSchema = exports.zNexusModuleFinancePermissionsSchema = 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");
@@ -96,7 +96,6 @@ exports.zRbacGroupSchema = zod_1.z
96
96
  * Schema for INexusModuleChatPermissions
97
97
  */
98
98
  exports.zNexusModuleChatPermissionsSchema = zod_1.z.object({
99
- management: zod_1.z.boolean().optional(),
100
99
  supervision: zod_1.z.boolean().optional(),
101
100
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
102
101
  csq: zod_1.z.boolean().optional(),
@@ -115,9 +114,11 @@ exports.zNexusModuleFinancePermissionsSchema = zod_1.z.object({
115
114
  reimbursements: zod_1.z.boolean().optional(),
116
115
  });
117
116
  /**
118
- * Schema for INexusReports
117
+ * Schema for INexusModuleToolsPermissions
119
118
  */
120
- exports.zNexusReportsSchema = zod_1.z.object({}).passthrough();
119
+ exports.zNexusModuleToolsPermissionsSchema = zod_1.z.object({
120
+ forms: zod_1.z.boolean().optional(),
121
+ });
121
122
  /**
122
123
  * Schema for INexusModules
123
124
  */
@@ -130,7 +131,12 @@ exports.zNexusModulesSchema = zod_1.z
130
131
  .optional(),
131
132
  notifications: zod_1.z.boolean().optional(),
132
133
  waba: zod_1.z.boolean().optional(),
133
- reports: zod_1.z.union([exports.zNexusReportsSchema, zod_1.z.boolean()]).optional(),
134
+ task_runner: zod_1.z.boolean().optional(),
135
+ webhooks: zod_1.z.boolean().optional(),
136
+ integrations: zod_1.z.boolean().optional(),
137
+ tools: zod_1.z
138
+ .union([exports.zNexusModuleToolsPermissionsSchema, zod_1.z.boolean()])
139
+ .optional(),
134
140
  })
135
141
  .passthrough();
136
142
  /**
@@ -106,7 +106,6 @@ export const zRbacGroupSchema = z
106
106
  * Schema for INexusModuleChatPermissions
107
107
  */
108
108
  export const zNexusModuleChatPermissionsSchema = z.object({
109
- management: z.boolean().optional(),
110
109
  supervision: z.boolean().optional(),
111
110
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
112
111
  csq: z.boolean().optional(),
@@ -127,9 +126,11 @@ export const zNexusModuleFinancePermissionsSchema = z.object({
127
126
  });
128
127
 
129
128
  /**
130
- * Schema for INexusReports
129
+ * Schema for INexusModuleToolsPermissions
131
130
  */
132
- export const zNexusReportsSchema = z.object({}).passthrough();
131
+ export const zNexusModuleToolsPermissionsSchema = z.object({
132
+ forms: z.boolean().optional(),
133
+ });
133
134
 
134
135
  /**
135
136
  * Schema for INexusModules
@@ -143,7 +144,12 @@ export const zNexusModulesSchema = z
143
144
  .optional(),
144
145
  notifications: z.boolean().optional(),
145
146
  waba: z.boolean().optional(),
146
- reports: z.union([zNexusReportsSchema, z.boolean()]).optional(),
147
+ task_runner: z.boolean().optional(),
148
+ webhooks: z.boolean().optional(),
149
+ integrations: z.boolean().optional(),
150
+ tools: z
151
+ .union([zNexusModuleToolsPermissionsSchema, z.boolean()])
152
+ .optional(),
147
153
  })
148
154
  .passthrough();
149
155
 
@@ -47,7 +47,6 @@ export interface IActionArgs {
47
47
  deleted_at?: Date;
48
48
  }
49
49
  export interface INexusModuleChatPermissions {
50
- management?: boolean;
51
50
  supervision?: boolean;
52
51
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
53
52
  csq?: boolean;
@@ -55,8 +54,6 @@ export interface INexusModuleChatPermissions {
55
54
  * reavaliação sob demanda). Só reconhecida pelo MCP do Nexus. */
56
55
  csq_admin?: boolean;
57
56
  }
58
- export interface INexusReports {
59
- }
60
57
  /**
61
58
  * Sub-claims do módulo financeiro do Nexus. `finance === true` é o formato
62
59
  * legado; não herda `reimbursements` (feat-264: movimenta dinheiro, exige TOTP).
@@ -69,14 +66,25 @@ export interface INexusModuleFinancePermissions {
69
66
  /** feat-264 — reembolso da taxa de NFS-e. Sem bypass de admin. */
70
67
  reimbursements?: boolean;
71
68
  }
69
+ /** feat-310 — ferramentas que só existem no Nexus (grupo `tools`). */
70
+ export interface INexusModuleToolsPermissions {
71
+ forms?: boolean;
72
+ }
72
73
  export interface INexusModules {
73
74
  chat?: INexusModuleChatPermissions | boolean;
74
75
  tenants?: boolean;
75
76
  finance?: INexusModuleFinancePermissions | boolean;
76
77
  notifications?: boolean;
77
78
  waba?: boolean;
78
- reports?: INexusReports | boolean;
79
- [key: string]: INexusModuleChatPermissions | INexusModuleFinancePermissions | INexusReports | boolean | undefined;
79
+ /** feat-310 — Task Runner e Falhas de notificação. */
80
+ task_runner?: boolean;
81
+ /** feat-310 — Subscriptions e Log de entregas. */
82
+ webhooks?: boolean;
83
+ /** feat-310 — Adapters, Monitor de Sync e Bateria de testes. */
84
+ integrations?: boolean;
85
+ /** feat-310 — só o formato objeto concede `tools.forms` (como `finance`). */
86
+ tools?: INexusModuleToolsPermissions | boolean;
87
+ [key: string]: INexusModuleChatPermissions | INexusModuleFinancePermissions | INexusModuleToolsPermissions | boolean | undefined;
80
88
  }
81
89
  export interface INexusClaims {
82
90
  nexus_access: boolean;
@@ -58,7 +58,6 @@ export interface IActionArgs {
58
58
 
59
59
  // Nexus Claims Types
60
60
  export interface INexusModuleChatPermissions {
61
- management?: boolean;
62
61
  supervision?: boolean;
63
62
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
64
63
  csq?: boolean;
@@ -67,8 +66,6 @@ export interface INexusModuleChatPermissions {
67
66
  csq_admin?: boolean;
68
67
  }
69
68
 
70
- export interface INexusReports {}
71
-
72
69
  /**
73
70
  * Sub-claims do módulo financeiro do Nexus. `finance === true` é o formato
74
71
  * legado; não herda `reimbursements` (feat-264: movimenta dinheiro, exige TOTP).
@@ -82,17 +79,29 @@ export interface INexusModuleFinancePermissions {
82
79
  reimbursements?: boolean;
83
80
  }
84
81
 
82
+ /** feat-310 — ferramentas que só existem no Nexus (grupo `tools`). */
83
+ export interface INexusModuleToolsPermissions {
84
+ forms?: boolean;
85
+ }
86
+
85
87
  export interface INexusModules {
86
88
  chat?: INexusModuleChatPermissions | boolean;
87
89
  tenants?: boolean;
88
90
  finance?: INexusModuleFinancePermissions | boolean;
89
91
  notifications?: boolean;
90
92
  waba?: boolean;
91
- reports?: INexusReports | boolean;
93
+ /** feat-310 — Task Runner e Falhas de notificação. */
94
+ task_runner?: boolean;
95
+ /** feat-310 — Subscriptions e Log de entregas. */
96
+ webhooks?: boolean;
97
+ /** feat-310 — Adapters, Monitor de Sync e Bateria de testes. */
98
+ integrations?: boolean;
99
+ /** feat-310 — só o formato objeto concede `tools.forms` (como `finance`). */
100
+ tools?: INexusModuleToolsPermissions | boolean;
92
101
  [key: string]:
93
102
  | INexusModuleChatPermissions
94
103
  | INexusModuleFinancePermissions
95
- | INexusReports
104
+ | INexusModuleToolsPermissions
96
105
  | boolean
97
106
  | undefined;
98
107
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "evo360-types",
3
- "version": "1.3.755",
3
+ "version": "1.3.757",
4
4
  "description": "HREVO360 Shared Types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",