evo360-types 1.3.659 → 1.3.664

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.
Files changed (30) hide show
  1. package/dist/apps/evo-core/zod-schemas.d.ts +157 -8
  2. package/dist/apps/evo-core/zod-schemas.js +15 -2
  3. package/dist/apps/evo-core/zod-schemas.ts +15 -1
  4. package/dist/apps/evo-crm/lead/zod-schemas.d.ts +6 -6
  5. package/dist/apps/evo-csq/zod-schemas.d.ts +8 -8
  6. package/dist/apps/evo-finops/zod-schemas.d.ts +67 -24
  7. package/dist/apps/evo-finops/zod-schemas.js +23 -1
  8. package/dist/apps/evo-finops/zod-schemas.ts +25 -0
  9. package/dist/apps/evo-med/insurance/zod-schemas.d.ts +6 -6
  10. package/dist/apps/evo-med/people/zod-schemas.d.ts +12 -12
  11. package/dist/apps/evo-task/zod-schemas.d.ts +201 -4
  12. package/dist/apps/evo-task/zod-schemas.js +22 -2
  13. package/dist/apps/evo-task/zod-schemas.ts +23 -1
  14. package/dist/apps/shared/zod-schemas.d.ts +2 -2
  15. package/dist/types/evo-core/index.d.ts +14 -2
  16. package/dist/types/evo-core/index.ts +20 -2
  17. package/dist/types/evo-finops/common/contract.d.ts +2 -0
  18. package/dist/types/evo-finops/common/contract.ts +3 -0
  19. package/dist/types/evo-finops/common/nfse-fee-reimbursement.d.ts +105 -0
  20. package/dist/types/evo-finops/common/nfse-fee-reimbursement.js +34 -0
  21. package/dist/types/evo-finops/common/nfse-fee-reimbursement.ts +134 -0
  22. package/dist/types/evo-finops/index.d.ts +1 -0
  23. package/dist/types/evo-finops/index.js +1 -0
  24. package/dist/types/evo-finops/index.ts +1 -0
  25. package/dist/types/evo-task/index.d.ts +14 -0
  26. package/dist/types/evo-task/index.js +3 -0
  27. package/dist/types/evo-task/index.ts +25 -0
  28. package/dist/types/evo-task-runner/index.d.ts +2 -1
  29. package/dist/types/evo-task-runner/index.ts +5 -1
  30. package/package.json +1 -1
@@ -245,6 +245,29 @@ export declare const zNexusModuleChatPermissionsSchema: z.ZodObject<{
245
245
  management?: boolean | undefined;
246
246
  supervision?: boolean | undefined;
247
247
  }>;
248
+ /**
249
+ * Schema for INexusModuleFinancePermissions
250
+ */
251
+ export declare const zNexusModuleFinancePermissionsSchema: z.ZodObject<{
252
+ customers: z.ZodOptional<z.ZodBoolean>;
253
+ contracts: z.ZodOptional<z.ZodBoolean>;
254
+ billing: z.ZodOptional<z.ZodBoolean>;
255
+ reports: z.ZodOptional<z.ZodBoolean>;
256
+ /** feat-264 — reembolso da taxa de NFS-e. */
257
+ reimbursements: z.ZodOptional<z.ZodBoolean>;
258
+ }, "strip", z.ZodTypeAny, {
259
+ reports?: boolean | undefined;
260
+ customers?: boolean | undefined;
261
+ contracts?: boolean | undefined;
262
+ billing?: boolean | undefined;
263
+ reimbursements?: boolean | undefined;
264
+ }, {
265
+ reports?: boolean | undefined;
266
+ customers?: boolean | undefined;
267
+ contracts?: boolean | undefined;
268
+ billing?: boolean | undefined;
269
+ reimbursements?: boolean | undefined;
270
+ }>;
248
271
  /**
249
272
  * Schema for INexusReports
250
273
  */
@@ -268,7 +291,26 @@ export declare const zNexusModulesSchema: z.ZodObject<{
268
291
  supervision?: boolean | undefined;
269
292
  }>, z.ZodBoolean]>>;
270
293
  tenants: z.ZodOptional<z.ZodBoolean>;
271
- finance: z.ZodOptional<z.ZodBoolean>;
294
+ finance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
295
+ customers: z.ZodOptional<z.ZodBoolean>;
296
+ contracts: z.ZodOptional<z.ZodBoolean>;
297
+ billing: z.ZodOptional<z.ZodBoolean>;
298
+ reports: z.ZodOptional<z.ZodBoolean>;
299
+ /** feat-264 — reembolso da taxa de NFS-e. */
300
+ reimbursements: z.ZodOptional<z.ZodBoolean>;
301
+ }, "strip", z.ZodTypeAny, {
302
+ reports?: boolean | undefined;
303
+ customers?: boolean | undefined;
304
+ contracts?: boolean | undefined;
305
+ billing?: boolean | undefined;
306
+ reimbursements?: boolean | undefined;
307
+ }, {
308
+ reports?: boolean | undefined;
309
+ customers?: boolean | undefined;
310
+ contracts?: boolean | undefined;
311
+ billing?: boolean | undefined;
312
+ reimbursements?: boolean | undefined;
313
+ }>, z.ZodBoolean]>>;
272
314
  notifications: z.ZodOptional<z.ZodBoolean>;
273
315
  waba: z.ZodOptional<z.ZodBoolean>;
274
316
  reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
@@ -288,7 +330,26 @@ export declare const zNexusModulesSchema: z.ZodObject<{
288
330
  supervision?: boolean | undefined;
289
331
  }>, z.ZodBoolean]>>;
290
332
  tenants: z.ZodOptional<z.ZodBoolean>;
291
- finance: z.ZodOptional<z.ZodBoolean>;
333
+ finance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
334
+ customers: z.ZodOptional<z.ZodBoolean>;
335
+ contracts: z.ZodOptional<z.ZodBoolean>;
336
+ billing: z.ZodOptional<z.ZodBoolean>;
337
+ reports: z.ZodOptional<z.ZodBoolean>;
338
+ /** feat-264 — reembolso da taxa de NFS-e. */
339
+ reimbursements: z.ZodOptional<z.ZodBoolean>;
340
+ }, "strip", z.ZodTypeAny, {
341
+ reports?: boolean | undefined;
342
+ customers?: boolean | undefined;
343
+ contracts?: boolean | undefined;
344
+ billing?: boolean | undefined;
345
+ reimbursements?: boolean | undefined;
346
+ }, {
347
+ reports?: boolean | undefined;
348
+ customers?: boolean | undefined;
349
+ contracts?: boolean | undefined;
350
+ billing?: boolean | undefined;
351
+ reimbursements?: boolean | undefined;
352
+ }>, z.ZodBoolean]>>;
292
353
  notifications: z.ZodOptional<z.ZodBoolean>;
293
354
  waba: z.ZodOptional<z.ZodBoolean>;
294
355
  reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
@@ -308,7 +369,26 @@ export declare const zNexusModulesSchema: z.ZodObject<{
308
369
  supervision?: boolean | undefined;
309
370
  }>, z.ZodBoolean]>>;
310
371
  tenants: z.ZodOptional<z.ZodBoolean>;
311
- finance: z.ZodOptional<z.ZodBoolean>;
372
+ finance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
373
+ customers: z.ZodOptional<z.ZodBoolean>;
374
+ contracts: z.ZodOptional<z.ZodBoolean>;
375
+ billing: z.ZodOptional<z.ZodBoolean>;
376
+ reports: z.ZodOptional<z.ZodBoolean>;
377
+ /** feat-264 — reembolso da taxa de NFS-e. */
378
+ reimbursements: z.ZodOptional<z.ZodBoolean>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ reports?: boolean | undefined;
381
+ customers?: boolean | undefined;
382
+ contracts?: boolean | undefined;
383
+ billing?: boolean | undefined;
384
+ reimbursements?: boolean | undefined;
385
+ }, {
386
+ reports?: boolean | undefined;
387
+ customers?: boolean | undefined;
388
+ contracts?: boolean | undefined;
389
+ billing?: boolean | undefined;
390
+ reimbursements?: boolean | undefined;
391
+ }>, z.ZodBoolean]>>;
312
392
  notifications: z.ZodOptional<z.ZodBoolean>;
313
393
  waba: z.ZodOptional<z.ZodBoolean>;
314
394
  reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
@@ -334,7 +414,26 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
334
414
  supervision?: boolean | undefined;
335
415
  }>, z.ZodBoolean]>>;
336
416
  tenants: z.ZodOptional<z.ZodBoolean>;
337
- finance: z.ZodOptional<z.ZodBoolean>;
417
+ finance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
418
+ customers: z.ZodOptional<z.ZodBoolean>;
419
+ contracts: z.ZodOptional<z.ZodBoolean>;
420
+ billing: z.ZodOptional<z.ZodBoolean>;
421
+ reports: z.ZodOptional<z.ZodBoolean>;
422
+ /** feat-264 — reembolso da taxa de NFS-e. */
423
+ reimbursements: z.ZodOptional<z.ZodBoolean>;
424
+ }, "strip", z.ZodTypeAny, {
425
+ reports?: boolean | undefined;
426
+ customers?: boolean | undefined;
427
+ contracts?: boolean | undefined;
428
+ billing?: boolean | undefined;
429
+ reimbursements?: boolean | undefined;
430
+ }, {
431
+ reports?: boolean | undefined;
432
+ customers?: boolean | undefined;
433
+ contracts?: boolean | undefined;
434
+ billing?: boolean | undefined;
435
+ reimbursements?: boolean | undefined;
436
+ }>, z.ZodBoolean]>>;
338
437
  notifications: z.ZodOptional<z.ZodBoolean>;
339
438
  waba: z.ZodOptional<z.ZodBoolean>;
340
439
  reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
@@ -354,7 +453,26 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
354
453
  supervision?: boolean | undefined;
355
454
  }>, z.ZodBoolean]>>;
356
455
  tenants: z.ZodOptional<z.ZodBoolean>;
357
- finance: z.ZodOptional<z.ZodBoolean>;
456
+ finance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
457
+ customers: z.ZodOptional<z.ZodBoolean>;
458
+ contracts: z.ZodOptional<z.ZodBoolean>;
459
+ billing: z.ZodOptional<z.ZodBoolean>;
460
+ reports: z.ZodOptional<z.ZodBoolean>;
461
+ /** feat-264 — reembolso da taxa de NFS-e. */
462
+ reimbursements: z.ZodOptional<z.ZodBoolean>;
463
+ }, "strip", z.ZodTypeAny, {
464
+ reports?: boolean | undefined;
465
+ customers?: boolean | undefined;
466
+ contracts?: boolean | undefined;
467
+ billing?: boolean | undefined;
468
+ reimbursements?: boolean | undefined;
469
+ }, {
470
+ reports?: boolean | undefined;
471
+ customers?: boolean | undefined;
472
+ contracts?: boolean | undefined;
473
+ billing?: boolean | undefined;
474
+ reimbursements?: boolean | undefined;
475
+ }>, z.ZodBoolean]>>;
358
476
  notifications: z.ZodOptional<z.ZodBoolean>;
359
477
  waba: z.ZodOptional<z.ZodBoolean>;
360
478
  reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
@@ -374,7 +492,26 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
374
492
  supervision?: boolean | undefined;
375
493
  }>, z.ZodBoolean]>>;
376
494
  tenants: z.ZodOptional<z.ZodBoolean>;
377
- finance: z.ZodOptional<z.ZodBoolean>;
495
+ finance: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
496
+ customers: z.ZodOptional<z.ZodBoolean>;
497
+ contracts: z.ZodOptional<z.ZodBoolean>;
498
+ billing: z.ZodOptional<z.ZodBoolean>;
499
+ reports: z.ZodOptional<z.ZodBoolean>;
500
+ /** feat-264 — reembolso da taxa de NFS-e. */
501
+ reimbursements: z.ZodOptional<z.ZodBoolean>;
502
+ }, "strip", z.ZodTypeAny, {
503
+ reports?: boolean | undefined;
504
+ customers?: boolean | undefined;
505
+ contracts?: boolean | undefined;
506
+ billing?: boolean | undefined;
507
+ reimbursements?: boolean | undefined;
508
+ }, {
509
+ reports?: boolean | undefined;
510
+ customers?: boolean | undefined;
511
+ contracts?: boolean | undefined;
512
+ billing?: boolean | undefined;
513
+ reimbursements?: boolean | undefined;
514
+ }>, z.ZodBoolean]>>;
378
515
  notifications: z.ZodOptional<z.ZodBoolean>;
379
516
  waba: z.ZodOptional<z.ZodBoolean>;
380
517
  reports: z.ZodOptional<z.ZodUnion<[z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>, z.ZodBoolean]>>;
@@ -388,7 +525,13 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
388
525
  management?: boolean | undefined;
389
526
  supervision?: boolean | undefined;
390
527
  } | undefined;
391
- finance?: boolean | undefined;
528
+ finance?: boolean | {
529
+ reports?: boolean | undefined;
530
+ customers?: boolean | undefined;
531
+ contracts?: boolean | undefined;
532
+ billing?: boolean | undefined;
533
+ reimbursements?: boolean | undefined;
534
+ } | undefined;
392
535
  notifications?: boolean | undefined;
393
536
  waba?: boolean | undefined;
394
537
  reports?: boolean | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
@@ -404,7 +547,13 @@ export declare const zNexusClaimsSchema: z.ZodObject<{
404
547
  management?: boolean | undefined;
405
548
  supervision?: boolean | undefined;
406
549
  } | undefined;
407
- finance?: boolean | undefined;
550
+ finance?: boolean | {
551
+ reports?: boolean | undefined;
552
+ customers?: boolean | undefined;
553
+ contracts?: boolean | undefined;
554
+ billing?: boolean | undefined;
555
+ reimbursements?: boolean | undefined;
556
+ } | undefined;
408
557
  notifications?: boolean | undefined;
409
558
  waba?: boolean | undefined;
410
559
  reports?: boolean | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
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;
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;
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");
@@ -101,6 +101,17 @@ exports.zNexusModuleChatPermissionsSchema = zod_1.z.object({
101
101
  /** Supervisão 2.0 (CSQ). Gate da fila e do laudo do evo-csq no Nexus. */
102
102
  csq: zod_1.z.boolean().optional(),
103
103
  });
104
+ /**
105
+ * Schema for INexusModuleFinancePermissions
106
+ */
107
+ exports.zNexusModuleFinancePermissionsSchema = zod_1.z.object({
108
+ customers: zod_1.z.boolean().optional(),
109
+ contracts: zod_1.z.boolean().optional(),
110
+ billing: zod_1.z.boolean().optional(),
111
+ reports: zod_1.z.boolean().optional(),
112
+ /** feat-264 — reembolso da taxa de NFS-e. */
113
+ reimbursements: zod_1.z.boolean().optional(),
114
+ });
104
115
  /**
105
116
  * Schema for INexusReports
106
117
  */
@@ -112,7 +123,9 @@ exports.zNexusModulesSchema = zod_1.z
112
123
  .object({
113
124
  chat: zod_1.z.union([exports.zNexusModuleChatPermissionsSchema, zod_1.z.boolean()]).optional(),
114
125
  tenants: zod_1.z.boolean().optional(),
115
- finance: zod_1.z.boolean().optional(),
126
+ finance: zod_1.z
127
+ .union([exports.zNexusModuleFinancePermissionsSchema, zod_1.z.boolean()])
128
+ .optional(),
116
129
  notifications: zod_1.z.boolean().optional(),
117
130
  waba: zod_1.z.boolean().optional(),
118
131
  reports: zod_1.z.union([exports.zNexusReportsSchema, zod_1.z.boolean()]).optional(),
@@ -112,6 +112,18 @@ export const zNexusModuleChatPermissionsSchema = z.object({
112
112
  csq: z.boolean().optional(),
113
113
  });
114
114
 
115
+ /**
116
+ * Schema for INexusModuleFinancePermissions
117
+ */
118
+ export const zNexusModuleFinancePermissionsSchema = z.object({
119
+ customers: z.boolean().optional(),
120
+ contracts: z.boolean().optional(),
121
+ billing: z.boolean().optional(),
122
+ reports: z.boolean().optional(),
123
+ /** feat-264 — reembolso da taxa de NFS-e. */
124
+ reimbursements: z.boolean().optional(),
125
+ });
126
+
115
127
  /**
116
128
  * Schema for INexusReports
117
129
  */
@@ -124,7 +136,9 @@ export const zNexusModulesSchema = z
124
136
  .object({
125
137
  chat: z.union([zNexusModuleChatPermissionsSchema, z.boolean()]).optional(),
126
138
  tenants: z.boolean().optional(),
127
- finance: z.boolean().optional(),
139
+ finance: z
140
+ .union([zNexusModuleFinancePermissionsSchema, z.boolean()])
141
+ .optional(),
128
142
  notifications: z.boolean().optional(),
129
143
  waba: z.boolean().optional(),
130
144
  reports: z.union([zNexusReportsSchema, z.boolean()]).optional(),
@@ -118,8 +118,8 @@ export declare const zLeadSchema: z.ZodObject<{
118
118
  name: string;
119
119
  kind: string;
120
120
  country: string;
121
- city: string;
122
121
  state: string;
122
+ city: string;
123
123
  line1: string;
124
124
  line2: string;
125
125
  neighborhood: string;
@@ -129,8 +129,8 @@ export declare const zLeadSchema: z.ZodObject<{
129
129
  name?: string | undefined;
130
130
  kind?: string | undefined;
131
131
  country?: string | undefined;
132
- city?: string | undefined;
133
132
  state?: string | undefined;
133
+ city?: string | undefined;
134
134
  line1?: string | undefined;
135
135
  line2?: string | undefined;
136
136
  neighborhood?: string | undefined;
@@ -374,8 +374,8 @@ export declare const zLeadSchema: z.ZodObject<{
374
374
  name: string;
375
375
  kind: string;
376
376
  country: string;
377
- city: string;
378
377
  state: string;
378
+ city: string;
379
379
  line1: string;
380
380
  line2: string;
381
381
  neighborhood: string;
@@ -385,8 +385,8 @@ export declare const zLeadSchema: z.ZodObject<{
385
385
  name?: string | undefined;
386
386
  kind?: string | undefined;
387
387
  country?: string | undefined;
388
- city?: string | undefined;
389
388
  state?: string | undefined;
389
+ city?: string | undefined;
390
390
  line1?: string | undefined;
391
391
  line2?: string | undefined;
392
392
  neighborhood?: string | undefined;
@@ -630,8 +630,8 @@ export declare const zLeadSchema: z.ZodObject<{
630
630
  name: string;
631
631
  kind: string;
632
632
  country: string;
633
- city: string;
634
633
  state: string;
634
+ city: string;
635
635
  line1: string;
636
636
  line2: string;
637
637
  neighborhood: string;
@@ -641,8 +641,8 @@ export declare const zLeadSchema: z.ZodObject<{
641
641
  name?: string | undefined;
642
642
  kind?: string | undefined;
643
643
  country?: string | undefined;
644
- city?: string | undefined;
645
644
  state?: string | undefined;
645
+ city?: string | undefined;
646
646
  line1?: string | undefined;
647
647
  line2?: string | undefined;
648
648
  neighborhood?: string | undefined;
@@ -1964,7 +1964,7 @@ export declare const zCsqCrossCheckSchema: z.ZodObject<{
1964
1964
  }, "strip", z.ZodTypeAny, {
1965
1965
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
1966
1966
  expected: string;
1967
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
1967
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
1968
1968
  found: string | null;
1969
1969
  calendar_id?: string | undefined;
1970
1970
  note?: string | undefined;
@@ -1974,7 +1974,7 @@ export declare const zCsqCrossCheckSchema: z.ZodObject<{
1974
1974
  }, {
1975
1975
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
1976
1976
  expected: string;
1977
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
1977
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
1978
1978
  found: string | null;
1979
1979
  calendar_id?: string | undefined;
1980
1980
  note?: string | undefined;
@@ -7042,7 +7042,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
7042
7042
  }, "strip", z.ZodTypeAny, {
7043
7043
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
7044
7044
  expected: string;
7045
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
7045
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
7046
7046
  found: string | null;
7047
7047
  calendar_id?: string | undefined;
7048
7048
  note?: string | undefined;
@@ -7052,7 +7052,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
7052
7052
  }, {
7053
7053
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
7054
7054
  expected: string;
7055
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
7055
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
7056
7056
  found: string | null;
7057
7057
  calendar_id?: string | undefined;
7058
7058
  note?: string | undefined;
@@ -9499,7 +9499,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
9499
9499
  }, "strip", z.ZodTypeAny, {
9500
9500
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
9501
9501
  expected: string;
9502
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
9502
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
9503
9503
  found: string | null;
9504
9504
  calendar_id?: string | undefined;
9505
9505
  note?: string | undefined;
@@ -9509,7 +9509,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
9509
9509
  }, {
9510
9510
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
9511
9511
  expected: string;
9512
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
9512
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
9513
9513
  found: string | null;
9514
9514
  calendar_id?: string | undefined;
9515
9515
  note?: string | undefined;
@@ -11956,7 +11956,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
11956
11956
  }, "strip", z.ZodTypeAny, {
11957
11957
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
11958
11958
  expected: string;
11959
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
11959
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
11960
11960
  found: string | null;
11961
11961
  calendar_id?: string | undefined;
11962
11962
  note?: string | undefined;
@@ -11966,7 +11966,7 @@ export declare const zCsqLeadReportSchema: z.ZodObject<{
11966
11966
  }, {
11967
11967
  result: "match" | "inconclusive" | "mismatch" | "missing" | "cancelled_after";
11968
11968
  expected: string;
11969
- claim_type: "promise" | "appointment_informed" | "data_collected" | "required_data" | "outcome" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
11969
+ claim_type: "outcome" | "promise" | "appointment_informed" | "data_collected" | "required_data" | "question_requires_answer" | "first_concrete_offer" | "patient_status" | "price_informed";
11970
11970
  found: string | null;
11971
11971
  calendar_id?: string | undefined;
11972
11972
  note?: string | undefined;
@@ -8896,12 +8896,12 @@ export declare const zIssuerNfseConfigSchema: z.ZodObject<{
8896
8896
  code: z.ZodOptional<z.ZodString>;
8897
8897
  }, "strip", z.ZodTypeAny, {
8898
8898
  code?: string | undefined;
8899
- city?: string | undefined;
8900
8899
  state?: string | undefined;
8900
+ city?: string | undefined;
8901
8901
  }, {
8902
8902
  code?: string | undefined;
8903
- city?: string | undefined;
8904
8903
  state?: string | undefined;
8904
+ city?: string | undefined;
8905
8905
  }>>;
8906
8906
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
8907
8907
  rps_series: z.ZodOptional<z.ZodString>;
@@ -8929,12 +8929,12 @@ export declare const zIssuerNfseConfigSchema: z.ZodObject<{
8929
8929
  code: z.ZodOptional<z.ZodString>;
8930
8930
  }, "strip", z.ZodTypeAny, {
8931
8931
  code?: string | undefined;
8932
- city?: string | undefined;
8933
8932
  state?: string | undefined;
8933
+ city?: string | undefined;
8934
8934
  }, {
8935
8935
  code?: string | undefined;
8936
- city?: string | undefined;
8937
8936
  state?: string | undefined;
8937
+ city?: string | undefined;
8938
8938
  }>>;
8939
8939
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
8940
8940
  rps_series: z.ZodOptional<z.ZodString>;
@@ -8962,12 +8962,12 @@ export declare const zIssuerNfseConfigSchema: z.ZodObject<{
8962
8962
  code: z.ZodOptional<z.ZodString>;
8963
8963
  }, "strip", z.ZodTypeAny, {
8964
8964
  code?: string | undefined;
8965
- city?: string | undefined;
8966
8965
  state?: string | undefined;
8966
+ city?: string | undefined;
8967
8967
  }, {
8968
8968
  code?: string | undefined;
8969
- city?: string | undefined;
8970
8969
  state?: string | undefined;
8970
+ city?: string | undefined;
8971
8971
  }>>;
8972
8972
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
8973
8973
  rps_series: z.ZodOptional<z.ZodString>;
@@ -9075,12 +9075,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
9075
9075
  code: z.ZodOptional<z.ZodString>;
9076
9076
  }, "strip", z.ZodTypeAny, {
9077
9077
  code?: string | undefined;
9078
- city?: string | undefined;
9079
9078
  state?: string | undefined;
9079
+ city?: string | undefined;
9080
9080
  }, {
9081
9081
  code?: string | undefined;
9082
- city?: string | undefined;
9083
9082
  state?: string | undefined;
9083
+ city?: string | undefined;
9084
9084
  }>>;
9085
9085
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
9086
9086
  rps_series: z.ZodOptional<z.ZodString>;
@@ -9108,12 +9108,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
9108
9108
  code: z.ZodOptional<z.ZodString>;
9109
9109
  }, "strip", z.ZodTypeAny, {
9110
9110
  code?: string | undefined;
9111
- city?: string | undefined;
9112
9111
  state?: string | undefined;
9112
+ city?: string | undefined;
9113
9113
  }, {
9114
9114
  code?: string | undefined;
9115
- city?: string | undefined;
9116
9115
  state?: string | undefined;
9116
+ city?: string | undefined;
9117
9117
  }>>;
9118
9118
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
9119
9119
  rps_series: z.ZodOptional<z.ZodString>;
@@ -9141,12 +9141,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
9141
9141
  code: z.ZodOptional<z.ZodString>;
9142
9142
  }, "strip", z.ZodTypeAny, {
9143
9143
  code?: string | undefined;
9144
- city?: string | undefined;
9145
9144
  state?: string | undefined;
9145
+ city?: string | undefined;
9146
9146
  }, {
9147
9147
  code?: string | undefined;
9148
- city?: string | undefined;
9149
9148
  state?: string | undefined;
9149
+ city?: string | undefined;
9150
9150
  }>>;
9151
9151
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
9152
9152
  rps_series: z.ZodOptional<z.ZodString>;
@@ -9689,12 +9689,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
9689
9689
  code: z.ZodOptional<z.ZodString>;
9690
9690
  }, "strip", z.ZodTypeAny, {
9691
9691
  code?: string | undefined;
9692
- city?: string | undefined;
9693
9692
  state?: string | undefined;
9693
+ city?: string | undefined;
9694
9694
  }, {
9695
9695
  code?: string | undefined;
9696
- city?: string | undefined;
9697
9696
  state?: string | undefined;
9697
+ city?: string | undefined;
9698
9698
  }>>;
9699
9699
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
9700
9700
  rps_series: z.ZodOptional<z.ZodString>;
@@ -9722,12 +9722,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
9722
9722
  code: z.ZodOptional<z.ZodString>;
9723
9723
  }, "strip", z.ZodTypeAny, {
9724
9724
  code?: string | undefined;
9725
- city?: string | undefined;
9726
9725
  state?: string | undefined;
9726
+ city?: string | undefined;
9727
9727
  }, {
9728
9728
  code?: string | undefined;
9729
- city?: string | undefined;
9730
9729
  state?: string | undefined;
9730
+ city?: string | undefined;
9731
9731
  }>>;
9732
9732
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
9733
9733
  rps_series: z.ZodOptional<z.ZodString>;
@@ -9755,12 +9755,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
9755
9755
  code: z.ZodOptional<z.ZodString>;
9756
9756
  }, "strip", z.ZodTypeAny, {
9757
9757
  code?: string | undefined;
9758
- city?: string | undefined;
9759
9758
  state?: string | undefined;
9759
+ city?: string | undefined;
9760
9760
  }, {
9761
9761
  code?: string | undefined;
9762
- city?: string | undefined;
9763
9762
  state?: string | undefined;
9763
+ city?: string | undefined;
9764
9764
  }>>;
9765
9765
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
9766
9766
  rps_series: z.ZodOptional<z.ZodString>;
@@ -10303,12 +10303,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
10303
10303
  code: z.ZodOptional<z.ZodString>;
10304
10304
  }, "strip", z.ZodTypeAny, {
10305
10305
  code?: string | undefined;
10306
- city?: string | undefined;
10307
10306
  state?: string | undefined;
10307
+ city?: string | undefined;
10308
10308
  }, {
10309
10309
  code?: string | undefined;
10310
- city?: string | undefined;
10311
10310
  state?: string | undefined;
10311
+ city?: string | undefined;
10312
10312
  }>>;
10313
10313
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
10314
10314
  rps_series: z.ZodOptional<z.ZodString>;
@@ -10336,12 +10336,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
10336
10336
  code: z.ZodOptional<z.ZodString>;
10337
10337
  }, "strip", z.ZodTypeAny, {
10338
10338
  code?: string | undefined;
10339
- city?: string | undefined;
10340
10339
  state?: string | undefined;
10340
+ city?: string | undefined;
10341
10341
  }, {
10342
10342
  code?: string | undefined;
10343
- city?: string | undefined;
10344
10343
  state?: string | undefined;
10344
+ city?: string | undefined;
10345
10345
  }>>;
10346
10346
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
10347
10347
  rps_series: z.ZodOptional<z.ZodString>;
@@ -10369,12 +10369,12 @@ export declare const zIssuerTaxProfileSchema: z.ZodObject<{
10369
10369
  code: z.ZodOptional<z.ZodString>;
10370
10370
  }, "strip", z.ZodTypeAny, {
10371
10371
  code?: string | undefined;
10372
- city?: string | undefined;
10373
10372
  state?: string | undefined;
10373
+ city?: string | undefined;
10374
10374
  }, {
10375
10375
  code?: string | undefined;
10376
- city?: string | undefined;
10377
10376
  state?: string | undefined;
10377
+ city?: string | undefined;
10378
10378
  }>>;
10379
10379
  tax_regime: z.ZodOptional<z.ZodEnum<["simples_nacional", "lucro_presumido", "lucro_real", "mei", "unknown"]>>;
10380
10380
  rps_series: z.ZodOptional<z.ZodString>;
@@ -14704,6 +14704,8 @@ export declare const zNexFinopsContractAllowancesWriteSchema: z.ZodObject<{
14704
14704
  }>>>>;
14705
14705
  alerts_enabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
14706
14706
  alert_thresholds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
14707
+ /** feat-264 D4 — ausente/null = TRUE (reembolsa). */
14708
+ nfse_fee_reimbursement: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
14707
14709
  }, "strip", z.ZodTypeAny, {
14708
14710
  allowances?: Record<string, {
14709
14711
  included: number;
@@ -14711,6 +14713,7 @@ export declare const zNexFinopsContractAllowancesWriteSchema: z.ZodObject<{
14711
14713
  }> | null | undefined;
14712
14714
  alerts_enabled?: boolean | null | undefined;
14713
14715
  alert_thresholds?: number[] | null | undefined;
14716
+ nfse_fee_reimbursement?: boolean | null | undefined;
14714
14717
  }, {
14715
14718
  allowances?: Record<string, {
14716
14719
  included: number;
@@ -14718,6 +14721,7 @@ export declare const zNexFinopsContractAllowancesWriteSchema: z.ZodObject<{
14718
14721
  }> | null | undefined;
14719
14722
  alerts_enabled?: boolean | null | undefined;
14720
14723
  alert_thresholds?: number[] | null | undefined;
14724
+ nfse_fee_reimbursement?: boolean | null | undefined;
14721
14725
  }>;
14722
14726
  export declare const zNexFinopsPaymentMethodKindSchema: z.ZodEnum<["asaas_subscription", "asaas_card_token"]>;
14723
14727
  export declare const zNexFinopsPaymentMethodStatusSchema: z.ZodEnum<["active", "failing", "inactive", "revoked"]>;
@@ -14821,3 +14825,42 @@ export declare const zNexFinopsPaymentMethodsDiscoverSchema: z.ZodObject<{
14821
14825
  } | undefined;
14822
14826
  customer_id?: string | undefined;
14823
14827
  }>;
14828
+ /** Competência `"YYYY-MM"`. */
14829
+ export declare const zNfseFeeReimbursementCompetenciaSchema: z.ZodString;
14830
+ /**
14831
+ * `POST /nfse-fee-reimbursements/execute`. `expected` é o que o operador viu
14832
+ * na prévia; o backend recalcula e recusa se divergir.
14833
+ */
14834
+ export declare const zNfseFeeReimbursementExecuteSchema: z.ZodObject<{
14835
+ tenant: z.ZodString;
14836
+ competencia: z.ZodString;
14837
+ expected: z.ZodObject<{
14838
+ invoice_count: z.ZodNumber;
14839
+ fee_value: z.ZodNumber;
14840
+ amount: z.ZodNumber;
14841
+ }, "strip", z.ZodTypeAny, {
14842
+ amount: number;
14843
+ invoice_count: number;
14844
+ fee_value: number;
14845
+ }, {
14846
+ amount: number;
14847
+ invoice_count: number;
14848
+ fee_value: number;
14849
+ }>;
14850
+ }, "strict", z.ZodTypeAny, {
14851
+ tenant: string;
14852
+ expected: {
14853
+ amount: number;
14854
+ invoice_count: number;
14855
+ fee_value: number;
14856
+ };
14857
+ competencia: string;
14858
+ }, {
14859
+ tenant: string;
14860
+ expected: {
14861
+ amount: number;
14862
+ invoice_count: number;
14863
+ fee_value: number;
14864
+ };
14865
+ competencia: string;
14866
+ }>;