@timbro/invoices 0.7.0-next.30

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 (144) hide show
  1. package/README.md +308 -0
  2. package/dist/artifact-headers.d.ts +9 -0
  3. package/dist/artifact-headers.d.ts.map +1 -0
  4. package/dist/artifact-headers.js +43 -0
  5. package/dist/certificate-custody-import.d.ts +13 -0
  6. package/dist/certificate-custody-import.d.ts.map +1 -0
  7. package/dist/certificate-custody-import.js +30 -0
  8. package/dist/certificate-custody-readiness.d.ts +6 -0
  9. package/dist/certificate-custody-readiness.d.ts.map +1 -0
  10. package/dist/certificate-custody-readiness.js +13 -0
  11. package/dist/collection.d.ts +13 -0
  12. package/dist/collection.d.ts.map +1 -0
  13. package/dist/collection.js +21 -0
  14. package/dist/direct-connection.d.ts +74 -0
  15. package/dist/direct-connection.d.ts.map +1 -0
  16. package/dist/direct-connection.js +192 -0
  17. package/dist/document-node.d.ts +15 -0
  18. package/dist/document-node.d.ts.map +1 -0
  19. package/dist/document-node.js +67 -0
  20. package/dist/document-worker-protocol.d.ts +30 -0
  21. package/dist/document-worker-protocol.d.ts.map +1 -0
  22. package/dist/document-worker-protocol.js +103 -0
  23. package/dist/document-worker.d.ts +2 -0
  24. package/dist/document-worker.d.ts.map +1 -0
  25. package/dist/document-worker.js +71 -0
  26. package/dist/document.d.ts +38 -0
  27. package/dist/document.d.ts.map +1 -0
  28. package/dist/document.js +204 -0
  29. package/dist/fiscal-delivery.d.ts +12 -0
  30. package/dist/fiscal-delivery.d.ts.map +1 -0
  31. package/dist/fiscal-delivery.js +45 -0
  32. package/dist/fiscal-engine-runtime.manifest.json +637 -0
  33. package/dist/fiscal-engine-runtime.provenance.json +1010 -0
  34. package/dist/fiscal-error.d.ts +23 -0
  35. package/dist/fiscal-error.d.ts.map +1 -0
  36. package/dist/fiscal-error.js +36 -0
  37. package/dist/fiscal-numbering-readiness.d.ts +6 -0
  38. package/dist/fiscal-numbering-readiness.d.ts.map +1 -0
  39. package/dist/fiscal-numbering-readiness.js +13 -0
  40. package/dist/fiscal-operation-timing.d.ts +9 -0
  41. package/dist/fiscal-operation-timing.d.ts.map +1 -0
  42. package/dist/fiscal-operation-timing.js +22 -0
  43. package/dist/fiscal-operation.d.ts +112 -0
  44. package/dist/fiscal-operation.d.ts.map +1 -0
  45. package/dist/fiscal-operation.js +193 -0
  46. package/dist/fiscal-receipt.d.ts +19 -0
  47. package/dist/fiscal-receipt.d.ts.map +1 -0
  48. package/dist/fiscal-receipt.js +66 -0
  49. package/dist/generated/index.d.ts +5 -0
  50. package/dist/generated/index.d.ts.map +1 -0
  51. package/dist/generated/index.js +4 -0
  52. package/dist/generated/problem-catalog.d.ts +7 -0
  53. package/dist/generated/problem-catalog.d.ts.map +1 -0
  54. package/dist/generated/problem-catalog.js +198 -0
  55. package/dist/generated/sdk.gen.d.ts +240 -0
  56. package/dist/generated/sdk.gen.d.ts.map +1 -0
  57. package/dist/generated/sdk.gen.js +4486 -0
  58. package/dist/generated/types.gen.d.ts +6906 -0
  59. package/dist/generated/types.gen.d.ts.map +1 -0
  60. package/dist/generated/types.gen.js +2 -0
  61. package/dist/generated/zod.gen.d.ts +146666 -0
  62. package/dist/generated/zod.gen.d.ts.map +1 -0
  63. package/dist/generated/zod.gen.js +25077 -0
  64. package/dist/generated-operation-client.d.ts +47 -0
  65. package/dist/generated-operation-client.d.ts.map +1 -0
  66. package/dist/generated-operation-client.js +112 -0
  67. package/dist/generated-problem.d.ts +12 -0
  68. package/dist/generated-problem.d.ts.map +1 -0
  69. package/dist/generated-problem.js +37 -0
  70. package/dist/hosted-tenant.d.ts +38 -0
  71. package/dist/hosted-tenant.d.ts.map +1 -0
  72. package/dist/hosted-tenant.js +67 -0
  73. package/dist/hosted-workspace-transport.d.ts +15 -0
  74. package/dist/hosted-workspace-transport.d.ts.map +1 -0
  75. package/dist/hosted-workspace-transport.js +15 -0
  76. package/dist/idempotency-key.d.ts +3 -0
  77. package/dist/idempotency-key.d.ts.map +1 -0
  78. package/dist/idempotency-key.js +11 -0
  79. package/dist/index.d.ts +42 -0
  80. package/dist/index.d.ts.map +1 -0
  81. package/dist/index.js +14 -0
  82. package/dist/printed-representation.d.ts +23 -0
  83. package/dist/printed-representation.d.ts.map +1 -0
  84. package/dist/printed-representation.js +135 -0
  85. package/dist/problem-contract.d.ts +265 -0
  86. package/dist/problem-contract.d.ts.map +1 -0
  87. package/dist/problem-contract.js +25 -0
  88. package/dist/public-case.d.ts +15 -0
  89. package/dist/public-case.d.ts.map +1 -0
  90. package/dist/public-case.js +26 -0
  91. package/dist/received-documents.d.ts +35 -0
  92. package/dist/received-documents.d.ts.map +1 -0
  93. package/dist/received-documents.js +83 -0
  94. package/dist/sha256.d.ts +2 -0
  95. package/dist/sha256.d.ts.map +1 -0
  96. package/dist/sha256.js +6 -0
  97. package/dist/signed-document.d.ts +15 -0
  98. package/dist/signed-document.d.ts.map +1 -0
  99. package/dist/signed-document.js +57 -0
  100. package/dist/source-command-validation.d.ts +3 -0
  101. package/dist/source-command-validation.d.ts.map +1 -0
  102. package/dist/source-command-validation.js +14 -0
  103. package/dist/source-connection-activation.d.ts +18 -0
  104. package/dist/source-connection-activation.d.ts.map +1 -0
  105. package/dist/source-connection-activation.js +41 -0
  106. package/dist/source-connection-transport.d.ts +8 -0
  107. package/dist/source-connection-transport.d.ts.map +1 -0
  108. package/dist/source-connection-transport.js +8 -0
  109. package/dist/source-connection.d.ts +18 -0
  110. package/dist/source-connection.d.ts.map +1 -0
  111. package/dist/source-connection.js +35 -0
  112. package/dist/stamp-server-http-transport.d.ts +23 -0
  113. package/dist/stamp-server-http-transport.d.ts.map +1 -0
  114. package/dist/stamp-server-http-transport.js +179 -0
  115. package/dist/timbro-client.d.ts +124 -0
  116. package/dist/timbro-client.d.ts.map +1 -0
  117. package/dist/timbro-client.js +72 -0
  118. package/dist/timbro_fiscal_engine.js +239 -0
  119. package/dist/timbro_fiscal_engine_bg.wasm +0 -0
  120. package/dist/transport-contract.d.ts +16 -0
  121. package/dist/transport-contract.d.ts.map +1 -0
  122. package/dist/transport-contract.js +1 -0
  123. package/dist/webhook-delivery.d.ts +14 -0
  124. package/dist/webhook-delivery.d.ts.map +1 -0
  125. package/dist/webhook-delivery.js +32 -0
  126. package/dist/webhook-event.d.ts +2711 -0
  127. package/dist/webhook-event.d.ts.map +1 -0
  128. package/dist/webhook-event.js +15 -0
  129. package/dist/webhook-registration.d.ts +12 -0
  130. package/dist/webhook-registration.d.ts.map +1 -0
  131. package/dist/webhook-registration.js +37 -0
  132. package/dist/webhook-replay.d.ts +12 -0
  133. package/dist/webhook-replay.d.ts.map +1 -0
  134. package/dist/webhook-replay.js +27 -0
  135. package/dist/webhook-verification.d.ts +25 -0
  136. package/dist/webhook-verification.d.ts.map +1 -0
  137. package/dist/webhook-verification.js +53 -0
  138. package/dist/workspace-session-transport.d.ts +8 -0
  139. package/dist/workspace-session-transport.d.ts.map +1 -0
  140. package/dist/workspace-session-transport.js +11 -0
  141. package/dist/workspace.d.ts +74 -0
  142. package/dist/workspace.d.ts.map +1 -0
  143. package/dist/workspace.js +278 -0
  144. package/package.json +73 -0
@@ -0,0 +1,2711 @@
1
+ import { z } from "zod";
2
+ export declare const webhookEventSchema: z.ZodUnion<readonly [z.ZodObject<{
3
+ data: z.ZodObject<{
4
+ fiscal_operation_id: z.ZodUUID;
5
+ }, z.core.$strict>;
6
+ environment: z.ZodEnum<{
7
+ certification: "certification";
8
+ production: "production";
9
+ sandbox: "sandbox";
10
+ }>;
11
+ id: z.ZodUUID;
12
+ object: z.ZodEnum<{
13
+ event: "event";
14
+ }>;
15
+ occurred_at: z.ZodISODateTime;
16
+ organization_id: z.ZodUUID;
17
+ sequence: z.ZodString;
18
+ type: z.ZodEnum<{
19
+ "fiscal_document.artifacts_updated": "fiscal_document.artifacts_updated";
20
+ }>;
21
+ }, z.core.$strict>, z.ZodObject<{
22
+ data: z.ZodObject<{
23
+ fiscal_operation_id: z.ZodUUID;
24
+ }, z.core.$strict>;
25
+ environment: z.ZodEnum<{
26
+ certification: "certification";
27
+ production: "production";
28
+ sandbox: "sandbox";
29
+ }>;
30
+ id: z.ZodUUID;
31
+ object: z.ZodEnum<{
32
+ event: "event";
33
+ }>;
34
+ occurred_at: z.ZodISODateTime;
35
+ organization_id: z.ZodUUID;
36
+ sequence: z.ZodString;
37
+ type: z.ZodEnum<{
38
+ "fiscal_document.ready": "fiscal_document.ready";
39
+ }>;
40
+ }, z.core.$strict>, z.ZodObject<{
41
+ data: z.ZodObject<{
42
+ fiscal_operation_id: z.ZodUUID;
43
+ terminality: z.ZodEnum<{
44
+ terminal: "terminal";
45
+ }>;
46
+ }, z.core.$strict>;
47
+ environment: z.ZodEnum<{
48
+ certification: "certification";
49
+ production: "production";
50
+ sandbox: "sandbox";
51
+ }>;
52
+ id: z.ZodUUID;
53
+ object: z.ZodEnum<{
54
+ event: "event";
55
+ }>;
56
+ occurred_at: z.ZodISODateTime;
57
+ organization_id: z.ZodUUID;
58
+ sequence: z.ZodString;
59
+ type: z.ZodEnum<{
60
+ "fiscal_operation.rejected": "fiscal_operation.rejected";
61
+ }>;
62
+ }, z.core.$strict>, z.ZodObject<{
63
+ data: z.ZodObject<{
64
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
65
+ document_type: z.ZodEnum<{
66
+ 31: "31";
67
+ }>;
68
+ fiscal_number: z.ZodString;
69
+ }, z.core.$strict>, z.ZodObject<{
70
+ document_type: z.ZodEnum<{
71
+ 32: "32";
72
+ }>;
73
+ fiscal_number: z.ZodString;
74
+ }, z.core.$strict>, z.ZodObject<{
75
+ document_type: z.ZodEnum<{
76
+ 33: "33";
77
+ }>;
78
+ fiscal_number: z.ZodString;
79
+ }, z.core.$strict>, z.ZodObject<{
80
+ document_type: z.ZodEnum<{
81
+ 34: "34";
82
+ }>;
83
+ fiscal_number: z.ZodString;
84
+ }, z.core.$strict>, z.ZodObject<{
85
+ document_type: z.ZodEnum<{
86
+ 41: "41";
87
+ }>;
88
+ fiscal_number: z.ZodString;
89
+ }, z.core.$strict>, z.ZodObject<{
90
+ document_type: z.ZodEnum<{
91
+ 43: "43";
92
+ }>;
93
+ fiscal_number: z.ZodString;
94
+ }, z.core.$strict>, z.ZodObject<{
95
+ document_type: z.ZodEnum<{
96
+ 44: "44";
97
+ }>;
98
+ fiscal_number: z.ZodString;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ document_type: z.ZodEnum<{
101
+ 45: "45";
102
+ }>;
103
+ fiscal_number: z.ZodString;
104
+ }, z.core.$strict>, z.ZodObject<{
105
+ document_type: z.ZodEnum<{
106
+ 46: "46";
107
+ }>;
108
+ fiscal_number: z.ZodString;
109
+ }, z.core.$strict>, z.ZodObject<{
110
+ document_type: z.ZodEnum<{
111
+ 47: "47";
112
+ }>;
113
+ fiscal_number: z.ZodString;
114
+ }, z.core.$strict>]>;
115
+ fiscal_operation_id: z.ZodUUID;
116
+ stage: z.ZodEnum<{
117
+ admitted: "admitted";
118
+ authority_processing: "authority_processing";
119
+ consumer_summary_signed: "consumer_summary_signed";
120
+ signed: "signed";
121
+ submitted: "submitted";
122
+ }>;
123
+ terminality: z.ZodEnum<{
124
+ pending: "pending";
125
+ }>;
126
+ }, z.core.$strict>;
127
+ environment: z.ZodEnum<{
128
+ certification: "certification";
129
+ production: "production";
130
+ sandbox: "sandbox";
131
+ }>;
132
+ id: z.ZodUUID;
133
+ object: z.ZodEnum<{
134
+ event: "event";
135
+ }>;
136
+ occurred_at: z.ZodISODateTime;
137
+ organization_id: z.ZodUUID;
138
+ sequence: z.ZodString;
139
+ type: z.ZodEnum<{
140
+ "fiscal_operation.processing": "fiscal_operation.processing";
141
+ }>;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ data: z.ZodObject<{
144
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
145
+ document_type: z.ZodEnum<{
146
+ 31: "31";
147
+ }>;
148
+ fiscal_number: z.ZodString;
149
+ }, z.core.$strict>, z.ZodObject<{
150
+ document_type: z.ZodEnum<{
151
+ 32: "32";
152
+ }>;
153
+ fiscal_number: z.ZodString;
154
+ }, z.core.$strict>, z.ZodObject<{
155
+ document_type: z.ZodEnum<{
156
+ 33: "33";
157
+ }>;
158
+ fiscal_number: z.ZodString;
159
+ }, z.core.$strict>, z.ZodObject<{
160
+ document_type: z.ZodEnum<{
161
+ 34: "34";
162
+ }>;
163
+ fiscal_number: z.ZodString;
164
+ }, z.core.$strict>, z.ZodObject<{
165
+ document_type: z.ZodEnum<{
166
+ 41: "41";
167
+ }>;
168
+ fiscal_number: z.ZodString;
169
+ }, z.core.$strict>, z.ZodObject<{
170
+ document_type: z.ZodEnum<{
171
+ 43: "43";
172
+ }>;
173
+ fiscal_number: z.ZodString;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ document_type: z.ZodEnum<{
176
+ 44: "44";
177
+ }>;
178
+ fiscal_number: z.ZodString;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ document_type: z.ZodEnum<{
181
+ 45: "45";
182
+ }>;
183
+ fiscal_number: z.ZodString;
184
+ }, z.core.$strict>, z.ZodObject<{
185
+ document_type: z.ZodEnum<{
186
+ 46: "46";
187
+ }>;
188
+ fiscal_number: z.ZodString;
189
+ }, z.core.$strict>, z.ZodObject<{
190
+ document_type: z.ZodEnum<{
191
+ 47: "47";
192
+ }>;
193
+ fiscal_number: z.ZodString;
194
+ }, z.core.$strict>]>;
195
+ fiscal_operation_id: z.ZodUUID;
196
+ terminality: z.ZodEnum<{
197
+ operator_required: "operator_required";
198
+ pending: "pending";
199
+ }>;
200
+ }, z.core.$strict>;
201
+ environment: z.ZodEnum<{
202
+ certification: "certification";
203
+ production: "production";
204
+ sandbox: "sandbox";
205
+ }>;
206
+ id: z.ZodUUID;
207
+ object: z.ZodEnum<{
208
+ event: "event";
209
+ }>;
210
+ occurred_at: z.ZodISODateTime;
211
+ organization_id: z.ZodUUID;
212
+ sequence: z.ZodString;
213
+ type: z.ZodEnum<{
214
+ "fiscal_operation.submission_outcome_unknown": "fiscal_operation.submission_outcome_unknown";
215
+ }>;
216
+ }, z.core.$strict>, z.ZodObject<{
217
+ data: z.ZodObject<{
218
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
219
+ document_type: z.ZodEnum<{
220
+ 31: "31";
221
+ }>;
222
+ fiscal_number: z.ZodString;
223
+ }, z.core.$strict>, z.ZodObject<{
224
+ document_type: z.ZodEnum<{
225
+ 32: "32";
226
+ }>;
227
+ fiscal_number: z.ZodString;
228
+ }, z.core.$strict>, z.ZodObject<{
229
+ document_type: z.ZodEnum<{
230
+ 33: "33";
231
+ }>;
232
+ fiscal_number: z.ZodString;
233
+ }, z.core.$strict>, z.ZodObject<{
234
+ document_type: z.ZodEnum<{
235
+ 34: "34";
236
+ }>;
237
+ fiscal_number: z.ZodString;
238
+ }, z.core.$strict>, z.ZodObject<{
239
+ document_type: z.ZodEnum<{
240
+ 41: "41";
241
+ }>;
242
+ fiscal_number: z.ZodString;
243
+ }, z.core.$strict>, z.ZodObject<{
244
+ document_type: z.ZodEnum<{
245
+ 43: "43";
246
+ }>;
247
+ fiscal_number: z.ZodString;
248
+ }, z.core.$strict>, z.ZodObject<{
249
+ document_type: z.ZodEnum<{
250
+ 44: "44";
251
+ }>;
252
+ fiscal_number: z.ZodString;
253
+ }, z.core.$strict>, z.ZodObject<{
254
+ document_type: z.ZodEnum<{
255
+ 45: "45";
256
+ }>;
257
+ fiscal_number: z.ZodString;
258
+ }, z.core.$strict>, z.ZodObject<{
259
+ document_type: z.ZodEnum<{
260
+ 46: "46";
261
+ }>;
262
+ fiscal_number: z.ZodString;
263
+ }, z.core.$strict>, z.ZodObject<{
264
+ document_type: z.ZodEnum<{
265
+ 47: "47";
266
+ }>;
267
+ fiscal_number: z.ZodString;
268
+ }, z.core.$strict>]>;
269
+ fiscal_operation_id: z.ZodUUID;
270
+ terminality: z.ZodEnum<{
271
+ terminal: "terminal";
272
+ }>;
273
+ }, z.core.$strict>;
274
+ environment: z.ZodEnum<{
275
+ certification: "certification";
276
+ production: "production";
277
+ sandbox: "sandbox";
278
+ }>;
279
+ id: z.ZodUUID;
280
+ object: z.ZodEnum<{
281
+ event: "event";
282
+ }>;
283
+ occurred_at: z.ZodISODateTime;
284
+ organization_id: z.ZodUUID;
285
+ sequence: z.ZodString;
286
+ type: z.ZodEnum<{
287
+ "fiscal_operation.authority_accepted": "fiscal_operation.authority_accepted";
288
+ }>;
289
+ }, z.core.$strict>, z.ZodObject<{
290
+ data: z.ZodObject<{
291
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
292
+ document_type: z.ZodEnum<{
293
+ 31: "31";
294
+ }>;
295
+ fiscal_number: z.ZodString;
296
+ }, z.core.$strict>, z.ZodObject<{
297
+ document_type: z.ZodEnum<{
298
+ 32: "32";
299
+ }>;
300
+ fiscal_number: z.ZodString;
301
+ }, z.core.$strict>, z.ZodObject<{
302
+ document_type: z.ZodEnum<{
303
+ 33: "33";
304
+ }>;
305
+ fiscal_number: z.ZodString;
306
+ }, z.core.$strict>, z.ZodObject<{
307
+ document_type: z.ZodEnum<{
308
+ 34: "34";
309
+ }>;
310
+ fiscal_number: z.ZodString;
311
+ }, z.core.$strict>, z.ZodObject<{
312
+ document_type: z.ZodEnum<{
313
+ 41: "41";
314
+ }>;
315
+ fiscal_number: z.ZodString;
316
+ }, z.core.$strict>, z.ZodObject<{
317
+ document_type: z.ZodEnum<{
318
+ 43: "43";
319
+ }>;
320
+ fiscal_number: z.ZodString;
321
+ }, z.core.$strict>, z.ZodObject<{
322
+ document_type: z.ZodEnum<{
323
+ 44: "44";
324
+ }>;
325
+ fiscal_number: z.ZodString;
326
+ }, z.core.$strict>, z.ZodObject<{
327
+ document_type: z.ZodEnum<{
328
+ 45: "45";
329
+ }>;
330
+ fiscal_number: z.ZodString;
331
+ }, z.core.$strict>, z.ZodObject<{
332
+ document_type: z.ZodEnum<{
333
+ 46: "46";
334
+ }>;
335
+ fiscal_number: z.ZodString;
336
+ }, z.core.$strict>, z.ZodObject<{
337
+ document_type: z.ZodEnum<{
338
+ 47: "47";
339
+ }>;
340
+ fiscal_number: z.ZodString;
341
+ }, z.core.$strict>]>;
342
+ fiscal_operation_id: z.ZodUUID;
343
+ terminality: z.ZodEnum<{
344
+ terminal: "terminal";
345
+ }>;
346
+ }, z.core.$strict>;
347
+ environment: z.ZodEnum<{
348
+ certification: "certification";
349
+ production: "production";
350
+ sandbox: "sandbox";
351
+ }>;
352
+ id: z.ZodUUID;
353
+ object: z.ZodEnum<{
354
+ event: "event";
355
+ }>;
356
+ occurred_at: z.ZodISODateTime;
357
+ organization_id: z.ZodUUID;
358
+ sequence: z.ZodString;
359
+ type: z.ZodEnum<{
360
+ "fiscal_operation.authority_accepted_with_findings": "fiscal_operation.authority_accepted_with_findings";
361
+ }>;
362
+ }, z.core.$strict>, z.ZodObject<{
363
+ data: z.ZodObject<{
364
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
365
+ document_type: z.ZodEnum<{
366
+ 31: "31";
367
+ }>;
368
+ fiscal_number: z.ZodString;
369
+ }, z.core.$strict>, z.ZodObject<{
370
+ document_type: z.ZodEnum<{
371
+ 32: "32";
372
+ }>;
373
+ fiscal_number: z.ZodString;
374
+ }, z.core.$strict>, z.ZodObject<{
375
+ document_type: z.ZodEnum<{
376
+ 33: "33";
377
+ }>;
378
+ fiscal_number: z.ZodString;
379
+ }, z.core.$strict>, z.ZodObject<{
380
+ document_type: z.ZodEnum<{
381
+ 34: "34";
382
+ }>;
383
+ fiscal_number: z.ZodString;
384
+ }, z.core.$strict>, z.ZodObject<{
385
+ document_type: z.ZodEnum<{
386
+ 41: "41";
387
+ }>;
388
+ fiscal_number: z.ZodString;
389
+ }, z.core.$strict>, z.ZodObject<{
390
+ document_type: z.ZodEnum<{
391
+ 43: "43";
392
+ }>;
393
+ fiscal_number: z.ZodString;
394
+ }, z.core.$strict>, z.ZodObject<{
395
+ document_type: z.ZodEnum<{
396
+ 44: "44";
397
+ }>;
398
+ fiscal_number: z.ZodString;
399
+ }, z.core.$strict>, z.ZodObject<{
400
+ document_type: z.ZodEnum<{
401
+ 45: "45";
402
+ }>;
403
+ fiscal_number: z.ZodString;
404
+ }, z.core.$strict>, z.ZodObject<{
405
+ document_type: z.ZodEnum<{
406
+ 46: "46";
407
+ }>;
408
+ fiscal_number: z.ZodString;
409
+ }, z.core.$strict>, z.ZodObject<{
410
+ document_type: z.ZodEnum<{
411
+ 47: "47";
412
+ }>;
413
+ fiscal_number: z.ZodString;
414
+ }, z.core.$strict>]>;
415
+ fiscal_operation_id: z.ZodUUID;
416
+ terminality: z.ZodEnum<{
417
+ operator_required: "operator_required";
418
+ }>;
419
+ }, z.core.$strict>;
420
+ environment: z.ZodEnum<{
421
+ certification: "certification";
422
+ production: "production";
423
+ sandbox: "sandbox";
424
+ }>;
425
+ id: z.ZodUUID;
426
+ object: z.ZodEnum<{
427
+ event: "event";
428
+ }>;
429
+ occurred_at: z.ZodISODateTime;
430
+ organization_id: z.ZodUUID;
431
+ sequence: z.ZodString;
432
+ type: z.ZodEnum<{
433
+ "fiscal_operation.authority_rejected": "fiscal_operation.authority_rejected";
434
+ }>;
435
+ }, z.core.$strict>, z.ZodObject<{
436
+ data: z.ZodObject<{
437
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
438
+ document_type: z.ZodEnum<{
439
+ 31: "31";
440
+ }>;
441
+ fiscal_number: z.ZodString;
442
+ }, z.core.$strict>, z.ZodObject<{
443
+ document_type: z.ZodEnum<{
444
+ 32: "32";
445
+ }>;
446
+ fiscal_number: z.ZodString;
447
+ }, z.core.$strict>, z.ZodObject<{
448
+ document_type: z.ZodEnum<{
449
+ 33: "33";
450
+ }>;
451
+ fiscal_number: z.ZodString;
452
+ }, z.core.$strict>, z.ZodObject<{
453
+ document_type: z.ZodEnum<{
454
+ 34: "34";
455
+ }>;
456
+ fiscal_number: z.ZodString;
457
+ }, z.core.$strict>, z.ZodObject<{
458
+ document_type: z.ZodEnum<{
459
+ 41: "41";
460
+ }>;
461
+ fiscal_number: z.ZodString;
462
+ }, z.core.$strict>, z.ZodObject<{
463
+ document_type: z.ZodEnum<{
464
+ 43: "43";
465
+ }>;
466
+ fiscal_number: z.ZodString;
467
+ }, z.core.$strict>, z.ZodObject<{
468
+ document_type: z.ZodEnum<{
469
+ 44: "44";
470
+ }>;
471
+ fiscal_number: z.ZodString;
472
+ }, z.core.$strict>, z.ZodObject<{
473
+ document_type: z.ZodEnum<{
474
+ 45: "45";
475
+ }>;
476
+ fiscal_number: z.ZodString;
477
+ }, z.core.$strict>, z.ZodObject<{
478
+ document_type: z.ZodEnum<{
479
+ 46: "46";
480
+ }>;
481
+ fiscal_number: z.ZodString;
482
+ }, z.core.$strict>, z.ZodObject<{
483
+ document_type: z.ZodEnum<{
484
+ 47: "47";
485
+ }>;
486
+ fiscal_number: z.ZodString;
487
+ }, z.core.$strict>]>;
488
+ fiscal_operation_id: z.ZodUUID;
489
+ terminality: z.ZodEnum<{
490
+ operator_required: "operator_required";
491
+ }>;
492
+ }, z.core.$strict>;
493
+ environment: z.ZodEnum<{
494
+ certification: "certification";
495
+ production: "production";
496
+ sandbox: "sandbox";
497
+ }>;
498
+ id: z.ZodUUID;
499
+ object: z.ZodEnum<{
500
+ event: "event";
501
+ }>;
502
+ occurred_at: z.ZodISODateTime;
503
+ organization_id: z.ZodUUID;
504
+ sequence: z.ZodString;
505
+ type: z.ZodEnum<{
506
+ "fiscal_operation.intervention_required": "fiscal_operation.intervention_required";
507
+ }>;
508
+ }, z.core.$strict>, z.ZodObject<{
509
+ data: z.ZodObject<{
510
+ fiscal_operation_id: z.ZodUUID;
511
+ fiscal_operation_outcome: z.ZodUnion<readonly [z.ZodObject<{
512
+ outcome: z.ZodEnum<{
513
+ rejected: "rejected";
514
+ }>;
515
+ terminality: z.ZodEnum<{
516
+ terminal: "terminal";
517
+ }>;
518
+ }, z.core.$strict>, z.ZodObject<{
519
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
520
+ document_type: z.ZodEnum<{
521
+ 31: "31";
522
+ }>;
523
+ fiscal_number: z.ZodString;
524
+ }, z.core.$strict>, z.ZodObject<{
525
+ document_type: z.ZodEnum<{
526
+ 32: "32";
527
+ }>;
528
+ fiscal_number: z.ZodString;
529
+ }, z.core.$strict>, z.ZodObject<{
530
+ document_type: z.ZodEnum<{
531
+ 33: "33";
532
+ }>;
533
+ fiscal_number: z.ZodString;
534
+ }, z.core.$strict>, z.ZodObject<{
535
+ document_type: z.ZodEnum<{
536
+ 34: "34";
537
+ }>;
538
+ fiscal_number: z.ZodString;
539
+ }, z.core.$strict>, z.ZodObject<{
540
+ document_type: z.ZodEnum<{
541
+ 41: "41";
542
+ }>;
543
+ fiscal_number: z.ZodString;
544
+ }, z.core.$strict>, z.ZodObject<{
545
+ document_type: z.ZodEnum<{
546
+ 43: "43";
547
+ }>;
548
+ fiscal_number: z.ZodString;
549
+ }, z.core.$strict>, z.ZodObject<{
550
+ document_type: z.ZodEnum<{
551
+ 44: "44";
552
+ }>;
553
+ fiscal_number: z.ZodString;
554
+ }, z.core.$strict>, z.ZodObject<{
555
+ document_type: z.ZodEnum<{
556
+ 45: "45";
557
+ }>;
558
+ fiscal_number: z.ZodString;
559
+ }, z.core.$strict>, z.ZodObject<{
560
+ document_type: z.ZodEnum<{
561
+ 46: "46";
562
+ }>;
563
+ fiscal_number: z.ZodString;
564
+ }, z.core.$strict>, z.ZodObject<{
565
+ document_type: z.ZodEnum<{
566
+ 47: "47";
567
+ }>;
568
+ fiscal_number: z.ZodString;
569
+ }, z.core.$strict>]>;
570
+ outcome: z.ZodEnum<{
571
+ processing: "processing";
572
+ }>;
573
+ stage: z.ZodEnum<{
574
+ admitted: "admitted";
575
+ authority_processing: "authority_processing";
576
+ consumer_summary_signed: "consumer_summary_signed";
577
+ signed: "signed";
578
+ submitted: "submitted";
579
+ }>;
580
+ terminality: z.ZodEnum<{
581
+ pending: "pending";
582
+ }>;
583
+ }, z.core.$strict>, z.ZodObject<{
584
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
585
+ document_type: z.ZodEnum<{
586
+ 31: "31";
587
+ }>;
588
+ fiscal_number: z.ZodString;
589
+ }, z.core.$strict>, z.ZodObject<{
590
+ document_type: z.ZodEnum<{
591
+ 32: "32";
592
+ }>;
593
+ fiscal_number: z.ZodString;
594
+ }, z.core.$strict>, z.ZodObject<{
595
+ document_type: z.ZodEnum<{
596
+ 33: "33";
597
+ }>;
598
+ fiscal_number: z.ZodString;
599
+ }, z.core.$strict>, z.ZodObject<{
600
+ document_type: z.ZodEnum<{
601
+ 34: "34";
602
+ }>;
603
+ fiscal_number: z.ZodString;
604
+ }, z.core.$strict>, z.ZodObject<{
605
+ document_type: z.ZodEnum<{
606
+ 41: "41";
607
+ }>;
608
+ fiscal_number: z.ZodString;
609
+ }, z.core.$strict>, z.ZodObject<{
610
+ document_type: z.ZodEnum<{
611
+ 43: "43";
612
+ }>;
613
+ fiscal_number: z.ZodString;
614
+ }, z.core.$strict>, z.ZodObject<{
615
+ document_type: z.ZodEnum<{
616
+ 44: "44";
617
+ }>;
618
+ fiscal_number: z.ZodString;
619
+ }, z.core.$strict>, z.ZodObject<{
620
+ document_type: z.ZodEnum<{
621
+ 45: "45";
622
+ }>;
623
+ fiscal_number: z.ZodString;
624
+ }, z.core.$strict>, z.ZodObject<{
625
+ document_type: z.ZodEnum<{
626
+ 46: "46";
627
+ }>;
628
+ fiscal_number: z.ZodString;
629
+ }, z.core.$strict>, z.ZodObject<{
630
+ document_type: z.ZodEnum<{
631
+ 47: "47";
632
+ }>;
633
+ fiscal_number: z.ZodString;
634
+ }, z.core.$strict>]>;
635
+ outcome: z.ZodEnum<{
636
+ outcome_unknown: "outcome_unknown";
637
+ }>;
638
+ terminality: z.ZodEnum<{
639
+ operator_required: "operator_required";
640
+ pending: "pending";
641
+ }>;
642
+ }, z.core.$strict>, z.ZodObject<{
643
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
644
+ document_type: z.ZodEnum<{
645
+ 31: "31";
646
+ }>;
647
+ fiscal_number: z.ZodString;
648
+ }, z.core.$strict>, z.ZodObject<{
649
+ document_type: z.ZodEnum<{
650
+ 32: "32";
651
+ }>;
652
+ fiscal_number: z.ZodString;
653
+ }, z.core.$strict>, z.ZodObject<{
654
+ document_type: z.ZodEnum<{
655
+ 33: "33";
656
+ }>;
657
+ fiscal_number: z.ZodString;
658
+ }, z.core.$strict>, z.ZodObject<{
659
+ document_type: z.ZodEnum<{
660
+ 34: "34";
661
+ }>;
662
+ fiscal_number: z.ZodString;
663
+ }, z.core.$strict>, z.ZodObject<{
664
+ document_type: z.ZodEnum<{
665
+ 41: "41";
666
+ }>;
667
+ fiscal_number: z.ZodString;
668
+ }, z.core.$strict>, z.ZodObject<{
669
+ document_type: z.ZodEnum<{
670
+ 43: "43";
671
+ }>;
672
+ fiscal_number: z.ZodString;
673
+ }, z.core.$strict>, z.ZodObject<{
674
+ document_type: z.ZodEnum<{
675
+ 44: "44";
676
+ }>;
677
+ fiscal_number: z.ZodString;
678
+ }, z.core.$strict>, z.ZodObject<{
679
+ document_type: z.ZodEnum<{
680
+ 45: "45";
681
+ }>;
682
+ fiscal_number: z.ZodString;
683
+ }, z.core.$strict>, z.ZodObject<{
684
+ document_type: z.ZodEnum<{
685
+ 46: "46";
686
+ }>;
687
+ fiscal_number: z.ZodString;
688
+ }, z.core.$strict>, z.ZodObject<{
689
+ document_type: z.ZodEnum<{
690
+ 47: "47";
691
+ }>;
692
+ fiscal_number: z.ZodString;
693
+ }, z.core.$strict>]>;
694
+ outcome: z.ZodEnum<{
695
+ accepted: "accepted";
696
+ }>;
697
+ terminality: z.ZodEnum<{
698
+ terminal: "terminal";
699
+ }>;
700
+ }, z.core.$strict>, z.ZodObject<{
701
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
702
+ document_type: z.ZodEnum<{
703
+ 31: "31";
704
+ }>;
705
+ fiscal_number: z.ZodString;
706
+ }, z.core.$strict>, z.ZodObject<{
707
+ document_type: z.ZodEnum<{
708
+ 32: "32";
709
+ }>;
710
+ fiscal_number: z.ZodString;
711
+ }, z.core.$strict>, z.ZodObject<{
712
+ document_type: z.ZodEnum<{
713
+ 33: "33";
714
+ }>;
715
+ fiscal_number: z.ZodString;
716
+ }, z.core.$strict>, z.ZodObject<{
717
+ document_type: z.ZodEnum<{
718
+ 34: "34";
719
+ }>;
720
+ fiscal_number: z.ZodString;
721
+ }, z.core.$strict>, z.ZodObject<{
722
+ document_type: z.ZodEnum<{
723
+ 41: "41";
724
+ }>;
725
+ fiscal_number: z.ZodString;
726
+ }, z.core.$strict>, z.ZodObject<{
727
+ document_type: z.ZodEnum<{
728
+ 43: "43";
729
+ }>;
730
+ fiscal_number: z.ZodString;
731
+ }, z.core.$strict>, z.ZodObject<{
732
+ document_type: z.ZodEnum<{
733
+ 44: "44";
734
+ }>;
735
+ fiscal_number: z.ZodString;
736
+ }, z.core.$strict>, z.ZodObject<{
737
+ document_type: z.ZodEnum<{
738
+ 45: "45";
739
+ }>;
740
+ fiscal_number: z.ZodString;
741
+ }, z.core.$strict>, z.ZodObject<{
742
+ document_type: z.ZodEnum<{
743
+ 46: "46";
744
+ }>;
745
+ fiscal_number: z.ZodString;
746
+ }, z.core.$strict>, z.ZodObject<{
747
+ document_type: z.ZodEnum<{
748
+ 47: "47";
749
+ }>;
750
+ fiscal_number: z.ZodString;
751
+ }, z.core.$strict>]>;
752
+ outcome: z.ZodEnum<{
753
+ accepted_with_findings: "accepted_with_findings";
754
+ }>;
755
+ terminality: z.ZodEnum<{
756
+ terminal: "terminal";
757
+ }>;
758
+ }, z.core.$strict>, z.ZodObject<{
759
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
760
+ document_type: z.ZodEnum<{
761
+ 31: "31";
762
+ }>;
763
+ fiscal_number: z.ZodString;
764
+ }, z.core.$strict>, z.ZodObject<{
765
+ document_type: z.ZodEnum<{
766
+ 32: "32";
767
+ }>;
768
+ fiscal_number: z.ZodString;
769
+ }, z.core.$strict>, z.ZodObject<{
770
+ document_type: z.ZodEnum<{
771
+ 33: "33";
772
+ }>;
773
+ fiscal_number: z.ZodString;
774
+ }, z.core.$strict>, z.ZodObject<{
775
+ document_type: z.ZodEnum<{
776
+ 34: "34";
777
+ }>;
778
+ fiscal_number: z.ZodString;
779
+ }, z.core.$strict>, z.ZodObject<{
780
+ document_type: z.ZodEnum<{
781
+ 41: "41";
782
+ }>;
783
+ fiscal_number: z.ZodString;
784
+ }, z.core.$strict>, z.ZodObject<{
785
+ document_type: z.ZodEnum<{
786
+ 43: "43";
787
+ }>;
788
+ fiscal_number: z.ZodString;
789
+ }, z.core.$strict>, z.ZodObject<{
790
+ document_type: z.ZodEnum<{
791
+ 44: "44";
792
+ }>;
793
+ fiscal_number: z.ZodString;
794
+ }, z.core.$strict>, z.ZodObject<{
795
+ document_type: z.ZodEnum<{
796
+ 45: "45";
797
+ }>;
798
+ fiscal_number: z.ZodString;
799
+ }, z.core.$strict>, z.ZodObject<{
800
+ document_type: z.ZodEnum<{
801
+ 46: "46";
802
+ }>;
803
+ fiscal_number: z.ZodString;
804
+ }, z.core.$strict>, z.ZodObject<{
805
+ document_type: z.ZodEnum<{
806
+ 47: "47";
807
+ }>;
808
+ fiscal_number: z.ZodString;
809
+ }, z.core.$strict>]>;
810
+ outcome: z.ZodEnum<{
811
+ authority_rejected: "authority_rejected";
812
+ }>;
813
+ terminality: z.ZodEnum<{
814
+ operator_required: "operator_required";
815
+ }>;
816
+ }, z.core.$strict>, z.ZodObject<{
817
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
818
+ document_type: z.ZodEnum<{
819
+ 31: "31";
820
+ }>;
821
+ fiscal_number: z.ZodString;
822
+ }, z.core.$strict>, z.ZodObject<{
823
+ document_type: z.ZodEnum<{
824
+ 32: "32";
825
+ }>;
826
+ fiscal_number: z.ZodString;
827
+ }, z.core.$strict>, z.ZodObject<{
828
+ document_type: z.ZodEnum<{
829
+ 33: "33";
830
+ }>;
831
+ fiscal_number: z.ZodString;
832
+ }, z.core.$strict>, z.ZodObject<{
833
+ document_type: z.ZodEnum<{
834
+ 34: "34";
835
+ }>;
836
+ fiscal_number: z.ZodString;
837
+ }, z.core.$strict>, z.ZodObject<{
838
+ document_type: z.ZodEnum<{
839
+ 41: "41";
840
+ }>;
841
+ fiscal_number: z.ZodString;
842
+ }, z.core.$strict>, z.ZodObject<{
843
+ document_type: z.ZodEnum<{
844
+ 43: "43";
845
+ }>;
846
+ fiscal_number: z.ZodString;
847
+ }, z.core.$strict>, z.ZodObject<{
848
+ document_type: z.ZodEnum<{
849
+ 44: "44";
850
+ }>;
851
+ fiscal_number: z.ZodString;
852
+ }, z.core.$strict>, z.ZodObject<{
853
+ document_type: z.ZodEnum<{
854
+ 45: "45";
855
+ }>;
856
+ fiscal_number: z.ZodString;
857
+ }, z.core.$strict>, z.ZodObject<{
858
+ document_type: z.ZodEnum<{
859
+ 46: "46";
860
+ }>;
861
+ fiscal_number: z.ZodString;
862
+ }, z.core.$strict>, z.ZodObject<{
863
+ document_type: z.ZodEnum<{
864
+ 47: "47";
865
+ }>;
866
+ fiscal_number: z.ZodString;
867
+ }, z.core.$strict>]>;
868
+ outcome: z.ZodEnum<{
869
+ intervention_required: "intervention_required";
870
+ }>;
871
+ terminality: z.ZodEnum<{
872
+ operator_required: "operator_required";
873
+ }>;
874
+ }, z.core.$strict>]>;
875
+ }, z.core.$strict>;
876
+ environment: z.ZodEnum<{
877
+ certification: "certification";
878
+ production: "production";
879
+ sandbox: "sandbox";
880
+ }>;
881
+ id: z.ZodUUID;
882
+ object: z.ZodEnum<{
883
+ event: "event";
884
+ }>;
885
+ occurred_at: z.ZodISODateTime;
886
+ organization_id: z.ZodUUID;
887
+ sequence: z.ZodString;
888
+ type: z.ZodEnum<{
889
+ "fiscal_operation.commercially_accepted": "fiscal_operation.commercially_accepted";
890
+ }>;
891
+ }, z.core.$strict>, z.ZodObject<{
892
+ data: z.ZodObject<{
893
+ fiscal_operation_id: z.ZodUUID;
894
+ fiscal_operation_outcome: z.ZodUnion<readonly [z.ZodObject<{
895
+ outcome: z.ZodEnum<{
896
+ rejected: "rejected";
897
+ }>;
898
+ terminality: z.ZodEnum<{
899
+ terminal: "terminal";
900
+ }>;
901
+ }, z.core.$strict>, z.ZodObject<{
902
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
903
+ document_type: z.ZodEnum<{
904
+ 31: "31";
905
+ }>;
906
+ fiscal_number: z.ZodString;
907
+ }, z.core.$strict>, z.ZodObject<{
908
+ document_type: z.ZodEnum<{
909
+ 32: "32";
910
+ }>;
911
+ fiscal_number: z.ZodString;
912
+ }, z.core.$strict>, z.ZodObject<{
913
+ document_type: z.ZodEnum<{
914
+ 33: "33";
915
+ }>;
916
+ fiscal_number: z.ZodString;
917
+ }, z.core.$strict>, z.ZodObject<{
918
+ document_type: z.ZodEnum<{
919
+ 34: "34";
920
+ }>;
921
+ fiscal_number: z.ZodString;
922
+ }, z.core.$strict>, z.ZodObject<{
923
+ document_type: z.ZodEnum<{
924
+ 41: "41";
925
+ }>;
926
+ fiscal_number: z.ZodString;
927
+ }, z.core.$strict>, z.ZodObject<{
928
+ document_type: z.ZodEnum<{
929
+ 43: "43";
930
+ }>;
931
+ fiscal_number: z.ZodString;
932
+ }, z.core.$strict>, z.ZodObject<{
933
+ document_type: z.ZodEnum<{
934
+ 44: "44";
935
+ }>;
936
+ fiscal_number: z.ZodString;
937
+ }, z.core.$strict>, z.ZodObject<{
938
+ document_type: z.ZodEnum<{
939
+ 45: "45";
940
+ }>;
941
+ fiscal_number: z.ZodString;
942
+ }, z.core.$strict>, z.ZodObject<{
943
+ document_type: z.ZodEnum<{
944
+ 46: "46";
945
+ }>;
946
+ fiscal_number: z.ZodString;
947
+ }, z.core.$strict>, z.ZodObject<{
948
+ document_type: z.ZodEnum<{
949
+ 47: "47";
950
+ }>;
951
+ fiscal_number: z.ZodString;
952
+ }, z.core.$strict>]>;
953
+ outcome: z.ZodEnum<{
954
+ processing: "processing";
955
+ }>;
956
+ stage: z.ZodEnum<{
957
+ admitted: "admitted";
958
+ authority_processing: "authority_processing";
959
+ consumer_summary_signed: "consumer_summary_signed";
960
+ signed: "signed";
961
+ submitted: "submitted";
962
+ }>;
963
+ terminality: z.ZodEnum<{
964
+ pending: "pending";
965
+ }>;
966
+ }, z.core.$strict>, z.ZodObject<{
967
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
968
+ document_type: z.ZodEnum<{
969
+ 31: "31";
970
+ }>;
971
+ fiscal_number: z.ZodString;
972
+ }, z.core.$strict>, z.ZodObject<{
973
+ document_type: z.ZodEnum<{
974
+ 32: "32";
975
+ }>;
976
+ fiscal_number: z.ZodString;
977
+ }, z.core.$strict>, z.ZodObject<{
978
+ document_type: z.ZodEnum<{
979
+ 33: "33";
980
+ }>;
981
+ fiscal_number: z.ZodString;
982
+ }, z.core.$strict>, z.ZodObject<{
983
+ document_type: z.ZodEnum<{
984
+ 34: "34";
985
+ }>;
986
+ fiscal_number: z.ZodString;
987
+ }, z.core.$strict>, z.ZodObject<{
988
+ document_type: z.ZodEnum<{
989
+ 41: "41";
990
+ }>;
991
+ fiscal_number: z.ZodString;
992
+ }, z.core.$strict>, z.ZodObject<{
993
+ document_type: z.ZodEnum<{
994
+ 43: "43";
995
+ }>;
996
+ fiscal_number: z.ZodString;
997
+ }, z.core.$strict>, z.ZodObject<{
998
+ document_type: z.ZodEnum<{
999
+ 44: "44";
1000
+ }>;
1001
+ fiscal_number: z.ZodString;
1002
+ }, z.core.$strict>, z.ZodObject<{
1003
+ document_type: z.ZodEnum<{
1004
+ 45: "45";
1005
+ }>;
1006
+ fiscal_number: z.ZodString;
1007
+ }, z.core.$strict>, z.ZodObject<{
1008
+ document_type: z.ZodEnum<{
1009
+ 46: "46";
1010
+ }>;
1011
+ fiscal_number: z.ZodString;
1012
+ }, z.core.$strict>, z.ZodObject<{
1013
+ document_type: z.ZodEnum<{
1014
+ 47: "47";
1015
+ }>;
1016
+ fiscal_number: z.ZodString;
1017
+ }, z.core.$strict>]>;
1018
+ outcome: z.ZodEnum<{
1019
+ outcome_unknown: "outcome_unknown";
1020
+ }>;
1021
+ terminality: z.ZodEnum<{
1022
+ operator_required: "operator_required";
1023
+ pending: "pending";
1024
+ }>;
1025
+ }, z.core.$strict>, z.ZodObject<{
1026
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1027
+ document_type: z.ZodEnum<{
1028
+ 31: "31";
1029
+ }>;
1030
+ fiscal_number: z.ZodString;
1031
+ }, z.core.$strict>, z.ZodObject<{
1032
+ document_type: z.ZodEnum<{
1033
+ 32: "32";
1034
+ }>;
1035
+ fiscal_number: z.ZodString;
1036
+ }, z.core.$strict>, z.ZodObject<{
1037
+ document_type: z.ZodEnum<{
1038
+ 33: "33";
1039
+ }>;
1040
+ fiscal_number: z.ZodString;
1041
+ }, z.core.$strict>, z.ZodObject<{
1042
+ document_type: z.ZodEnum<{
1043
+ 34: "34";
1044
+ }>;
1045
+ fiscal_number: z.ZodString;
1046
+ }, z.core.$strict>, z.ZodObject<{
1047
+ document_type: z.ZodEnum<{
1048
+ 41: "41";
1049
+ }>;
1050
+ fiscal_number: z.ZodString;
1051
+ }, z.core.$strict>, z.ZodObject<{
1052
+ document_type: z.ZodEnum<{
1053
+ 43: "43";
1054
+ }>;
1055
+ fiscal_number: z.ZodString;
1056
+ }, z.core.$strict>, z.ZodObject<{
1057
+ document_type: z.ZodEnum<{
1058
+ 44: "44";
1059
+ }>;
1060
+ fiscal_number: z.ZodString;
1061
+ }, z.core.$strict>, z.ZodObject<{
1062
+ document_type: z.ZodEnum<{
1063
+ 45: "45";
1064
+ }>;
1065
+ fiscal_number: z.ZodString;
1066
+ }, z.core.$strict>, z.ZodObject<{
1067
+ document_type: z.ZodEnum<{
1068
+ 46: "46";
1069
+ }>;
1070
+ fiscal_number: z.ZodString;
1071
+ }, z.core.$strict>, z.ZodObject<{
1072
+ document_type: z.ZodEnum<{
1073
+ 47: "47";
1074
+ }>;
1075
+ fiscal_number: z.ZodString;
1076
+ }, z.core.$strict>]>;
1077
+ outcome: z.ZodEnum<{
1078
+ accepted: "accepted";
1079
+ }>;
1080
+ terminality: z.ZodEnum<{
1081
+ terminal: "terminal";
1082
+ }>;
1083
+ }, z.core.$strict>, z.ZodObject<{
1084
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1085
+ document_type: z.ZodEnum<{
1086
+ 31: "31";
1087
+ }>;
1088
+ fiscal_number: z.ZodString;
1089
+ }, z.core.$strict>, z.ZodObject<{
1090
+ document_type: z.ZodEnum<{
1091
+ 32: "32";
1092
+ }>;
1093
+ fiscal_number: z.ZodString;
1094
+ }, z.core.$strict>, z.ZodObject<{
1095
+ document_type: z.ZodEnum<{
1096
+ 33: "33";
1097
+ }>;
1098
+ fiscal_number: z.ZodString;
1099
+ }, z.core.$strict>, z.ZodObject<{
1100
+ document_type: z.ZodEnum<{
1101
+ 34: "34";
1102
+ }>;
1103
+ fiscal_number: z.ZodString;
1104
+ }, z.core.$strict>, z.ZodObject<{
1105
+ document_type: z.ZodEnum<{
1106
+ 41: "41";
1107
+ }>;
1108
+ fiscal_number: z.ZodString;
1109
+ }, z.core.$strict>, z.ZodObject<{
1110
+ document_type: z.ZodEnum<{
1111
+ 43: "43";
1112
+ }>;
1113
+ fiscal_number: z.ZodString;
1114
+ }, z.core.$strict>, z.ZodObject<{
1115
+ document_type: z.ZodEnum<{
1116
+ 44: "44";
1117
+ }>;
1118
+ fiscal_number: z.ZodString;
1119
+ }, z.core.$strict>, z.ZodObject<{
1120
+ document_type: z.ZodEnum<{
1121
+ 45: "45";
1122
+ }>;
1123
+ fiscal_number: z.ZodString;
1124
+ }, z.core.$strict>, z.ZodObject<{
1125
+ document_type: z.ZodEnum<{
1126
+ 46: "46";
1127
+ }>;
1128
+ fiscal_number: z.ZodString;
1129
+ }, z.core.$strict>, z.ZodObject<{
1130
+ document_type: z.ZodEnum<{
1131
+ 47: "47";
1132
+ }>;
1133
+ fiscal_number: z.ZodString;
1134
+ }, z.core.$strict>]>;
1135
+ outcome: z.ZodEnum<{
1136
+ accepted_with_findings: "accepted_with_findings";
1137
+ }>;
1138
+ terminality: z.ZodEnum<{
1139
+ terminal: "terminal";
1140
+ }>;
1141
+ }, z.core.$strict>, z.ZodObject<{
1142
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1143
+ document_type: z.ZodEnum<{
1144
+ 31: "31";
1145
+ }>;
1146
+ fiscal_number: z.ZodString;
1147
+ }, z.core.$strict>, z.ZodObject<{
1148
+ document_type: z.ZodEnum<{
1149
+ 32: "32";
1150
+ }>;
1151
+ fiscal_number: z.ZodString;
1152
+ }, z.core.$strict>, z.ZodObject<{
1153
+ document_type: z.ZodEnum<{
1154
+ 33: "33";
1155
+ }>;
1156
+ fiscal_number: z.ZodString;
1157
+ }, z.core.$strict>, z.ZodObject<{
1158
+ document_type: z.ZodEnum<{
1159
+ 34: "34";
1160
+ }>;
1161
+ fiscal_number: z.ZodString;
1162
+ }, z.core.$strict>, z.ZodObject<{
1163
+ document_type: z.ZodEnum<{
1164
+ 41: "41";
1165
+ }>;
1166
+ fiscal_number: z.ZodString;
1167
+ }, z.core.$strict>, z.ZodObject<{
1168
+ document_type: z.ZodEnum<{
1169
+ 43: "43";
1170
+ }>;
1171
+ fiscal_number: z.ZodString;
1172
+ }, z.core.$strict>, z.ZodObject<{
1173
+ document_type: z.ZodEnum<{
1174
+ 44: "44";
1175
+ }>;
1176
+ fiscal_number: z.ZodString;
1177
+ }, z.core.$strict>, z.ZodObject<{
1178
+ document_type: z.ZodEnum<{
1179
+ 45: "45";
1180
+ }>;
1181
+ fiscal_number: z.ZodString;
1182
+ }, z.core.$strict>, z.ZodObject<{
1183
+ document_type: z.ZodEnum<{
1184
+ 46: "46";
1185
+ }>;
1186
+ fiscal_number: z.ZodString;
1187
+ }, z.core.$strict>, z.ZodObject<{
1188
+ document_type: z.ZodEnum<{
1189
+ 47: "47";
1190
+ }>;
1191
+ fiscal_number: z.ZodString;
1192
+ }, z.core.$strict>]>;
1193
+ outcome: z.ZodEnum<{
1194
+ authority_rejected: "authority_rejected";
1195
+ }>;
1196
+ terminality: z.ZodEnum<{
1197
+ operator_required: "operator_required";
1198
+ }>;
1199
+ }, z.core.$strict>, z.ZodObject<{
1200
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1201
+ document_type: z.ZodEnum<{
1202
+ 31: "31";
1203
+ }>;
1204
+ fiscal_number: z.ZodString;
1205
+ }, z.core.$strict>, z.ZodObject<{
1206
+ document_type: z.ZodEnum<{
1207
+ 32: "32";
1208
+ }>;
1209
+ fiscal_number: z.ZodString;
1210
+ }, z.core.$strict>, z.ZodObject<{
1211
+ document_type: z.ZodEnum<{
1212
+ 33: "33";
1213
+ }>;
1214
+ fiscal_number: z.ZodString;
1215
+ }, z.core.$strict>, z.ZodObject<{
1216
+ document_type: z.ZodEnum<{
1217
+ 34: "34";
1218
+ }>;
1219
+ fiscal_number: z.ZodString;
1220
+ }, z.core.$strict>, z.ZodObject<{
1221
+ document_type: z.ZodEnum<{
1222
+ 41: "41";
1223
+ }>;
1224
+ fiscal_number: z.ZodString;
1225
+ }, z.core.$strict>, z.ZodObject<{
1226
+ document_type: z.ZodEnum<{
1227
+ 43: "43";
1228
+ }>;
1229
+ fiscal_number: z.ZodString;
1230
+ }, z.core.$strict>, z.ZodObject<{
1231
+ document_type: z.ZodEnum<{
1232
+ 44: "44";
1233
+ }>;
1234
+ fiscal_number: z.ZodString;
1235
+ }, z.core.$strict>, z.ZodObject<{
1236
+ document_type: z.ZodEnum<{
1237
+ 45: "45";
1238
+ }>;
1239
+ fiscal_number: z.ZodString;
1240
+ }, z.core.$strict>, z.ZodObject<{
1241
+ document_type: z.ZodEnum<{
1242
+ 46: "46";
1243
+ }>;
1244
+ fiscal_number: z.ZodString;
1245
+ }, z.core.$strict>, z.ZodObject<{
1246
+ document_type: z.ZodEnum<{
1247
+ 47: "47";
1248
+ }>;
1249
+ fiscal_number: z.ZodString;
1250
+ }, z.core.$strict>]>;
1251
+ outcome: z.ZodEnum<{
1252
+ intervention_required: "intervention_required";
1253
+ }>;
1254
+ terminality: z.ZodEnum<{
1255
+ operator_required: "operator_required";
1256
+ }>;
1257
+ }, z.core.$strict>]>;
1258
+ }, z.core.$strict>;
1259
+ environment: z.ZodEnum<{
1260
+ certification: "certification";
1261
+ production: "production";
1262
+ sandbox: "sandbox";
1263
+ }>;
1264
+ id: z.ZodUUID;
1265
+ object: z.ZodEnum<{
1266
+ event: "event";
1267
+ }>;
1268
+ occurred_at: z.ZodISODateTime;
1269
+ organization_id: z.ZodUUID;
1270
+ sequence: z.ZodString;
1271
+ type: z.ZodEnum<{
1272
+ "fiscal_operation.commercially_rejected": "fiscal_operation.commercially_rejected";
1273
+ }>;
1274
+ }, z.core.$strict>, z.ZodObject<{
1275
+ data: z.ZodObject<{
1276
+ activation_attempt_id: z.ZodUUID;
1277
+ challenge: z.ZodString;
1278
+ expires_at: z.ZodISODateTime;
1279
+ provider_deployment_id: z.ZodString;
1280
+ provider_target_id: z.ZodString;
1281
+ source_connection_id: z.ZodUUID;
1282
+ }, z.core.$strict>;
1283
+ environment: z.ZodEnum<{
1284
+ certification: "certification";
1285
+ production: "production";
1286
+ sandbox: "sandbox";
1287
+ }>;
1288
+ id: z.ZodUUID;
1289
+ object: z.ZodEnum<{
1290
+ event: "event";
1291
+ }>;
1292
+ occurred_at: z.ZodISODateTime;
1293
+ organization_id: z.ZodUUID;
1294
+ sequence: z.ZodString;
1295
+ type: z.ZodEnum<{
1296
+ "source_connection.verification_requested": "source_connection.verification_requested";
1297
+ }>;
1298
+ }, z.core.$strict>]>;
1299
+ export declare const receptionWebhookEventSchema: z.ZodUnion<readonly [z.ZodObject<{
1300
+ data: z.ZodObject<{
1301
+ e_ncf: z.ZodString;
1302
+ fiscal_reception_id: z.ZodUUID;
1303
+ received_at: z.ZodISODateTime;
1304
+ received_xml_sha256: z.ZodString;
1305
+ rnc_comprador: z.ZodString;
1306
+ rnc_emisor: z.ZodString;
1307
+ }, z.core.$strict>;
1308
+ environment: z.ZodEnum<{
1309
+ certification: "certification";
1310
+ production: "production";
1311
+ sandbox: "sandbox";
1312
+ }>;
1313
+ id: z.ZodUUID;
1314
+ object: z.ZodEnum<{
1315
+ event: "event";
1316
+ }>;
1317
+ occurred_at: z.ZodISODateTime;
1318
+ organization_id: z.ZodUUID;
1319
+ sequence: z.ZodString;
1320
+ type: z.ZodEnum<{
1321
+ "fiscal_reception.received": "fiscal_reception.received";
1322
+ }>;
1323
+ }, z.core.$strict>, z.ZodObject<{
1324
+ data: z.ZodObject<{
1325
+ e_ncf: z.ZodString;
1326
+ fiscal_reception_id: z.ZodUUID;
1327
+ not_received_reason: z.ZodEnum<{
1328
+ buyer_rnc_mismatch: "buyer_rnc_mismatch";
1329
+ duplicate_submission: "duplicate_submission";
1330
+ schema_error: "schema_error";
1331
+ signature_error: "signature_error";
1332
+ }>;
1333
+ received_at: z.ZodISODateTime;
1334
+ received_xml_sha256: z.ZodString;
1335
+ rnc_comprador: z.ZodString;
1336
+ rnc_emisor: z.ZodString;
1337
+ }, z.core.$strict>;
1338
+ environment: z.ZodEnum<{
1339
+ certification: "certification";
1340
+ production: "production";
1341
+ sandbox: "sandbox";
1342
+ }>;
1343
+ id: z.ZodUUID;
1344
+ object: z.ZodEnum<{
1345
+ event: "event";
1346
+ }>;
1347
+ occurred_at: z.ZodISODateTime;
1348
+ organization_id: z.ZodUUID;
1349
+ sequence: z.ZodString;
1350
+ type: z.ZodEnum<{
1351
+ "fiscal_reception.not_received": "fiscal_reception.not_received";
1352
+ }>;
1353
+ }, z.core.$strict>]>;
1354
+ export type WebhookEvent = z.infer<typeof webhookEventSchema>;
1355
+ export type ReceptionWebhookEvent = z.infer<typeof receptionWebhookEventSchema>;
1356
+ /** Every notification an endpoint is delivered, told apart by its event type. */
1357
+ export declare const deliveredWebhookEventSchema: z.ZodUnion<readonly [z.ZodUnion<readonly [z.ZodObject<{
1358
+ data: z.ZodObject<{
1359
+ fiscal_operation_id: z.ZodUUID;
1360
+ }, z.core.$strict>;
1361
+ environment: z.ZodEnum<{
1362
+ certification: "certification";
1363
+ production: "production";
1364
+ sandbox: "sandbox";
1365
+ }>;
1366
+ id: z.ZodUUID;
1367
+ object: z.ZodEnum<{
1368
+ event: "event";
1369
+ }>;
1370
+ occurred_at: z.ZodISODateTime;
1371
+ organization_id: z.ZodUUID;
1372
+ sequence: z.ZodString;
1373
+ type: z.ZodEnum<{
1374
+ "fiscal_document.artifacts_updated": "fiscal_document.artifacts_updated";
1375
+ }>;
1376
+ }, z.core.$strict>, z.ZodObject<{
1377
+ data: z.ZodObject<{
1378
+ fiscal_operation_id: z.ZodUUID;
1379
+ }, z.core.$strict>;
1380
+ environment: z.ZodEnum<{
1381
+ certification: "certification";
1382
+ production: "production";
1383
+ sandbox: "sandbox";
1384
+ }>;
1385
+ id: z.ZodUUID;
1386
+ object: z.ZodEnum<{
1387
+ event: "event";
1388
+ }>;
1389
+ occurred_at: z.ZodISODateTime;
1390
+ organization_id: z.ZodUUID;
1391
+ sequence: z.ZodString;
1392
+ type: z.ZodEnum<{
1393
+ "fiscal_document.ready": "fiscal_document.ready";
1394
+ }>;
1395
+ }, z.core.$strict>, z.ZodObject<{
1396
+ data: z.ZodObject<{
1397
+ fiscal_operation_id: z.ZodUUID;
1398
+ terminality: z.ZodEnum<{
1399
+ terminal: "terminal";
1400
+ }>;
1401
+ }, z.core.$strict>;
1402
+ environment: z.ZodEnum<{
1403
+ certification: "certification";
1404
+ production: "production";
1405
+ sandbox: "sandbox";
1406
+ }>;
1407
+ id: z.ZodUUID;
1408
+ object: z.ZodEnum<{
1409
+ event: "event";
1410
+ }>;
1411
+ occurred_at: z.ZodISODateTime;
1412
+ organization_id: z.ZodUUID;
1413
+ sequence: z.ZodString;
1414
+ type: z.ZodEnum<{
1415
+ "fiscal_operation.rejected": "fiscal_operation.rejected";
1416
+ }>;
1417
+ }, z.core.$strict>, z.ZodObject<{
1418
+ data: z.ZodObject<{
1419
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1420
+ document_type: z.ZodEnum<{
1421
+ 31: "31";
1422
+ }>;
1423
+ fiscal_number: z.ZodString;
1424
+ }, z.core.$strict>, z.ZodObject<{
1425
+ document_type: z.ZodEnum<{
1426
+ 32: "32";
1427
+ }>;
1428
+ fiscal_number: z.ZodString;
1429
+ }, z.core.$strict>, z.ZodObject<{
1430
+ document_type: z.ZodEnum<{
1431
+ 33: "33";
1432
+ }>;
1433
+ fiscal_number: z.ZodString;
1434
+ }, z.core.$strict>, z.ZodObject<{
1435
+ document_type: z.ZodEnum<{
1436
+ 34: "34";
1437
+ }>;
1438
+ fiscal_number: z.ZodString;
1439
+ }, z.core.$strict>, z.ZodObject<{
1440
+ document_type: z.ZodEnum<{
1441
+ 41: "41";
1442
+ }>;
1443
+ fiscal_number: z.ZodString;
1444
+ }, z.core.$strict>, z.ZodObject<{
1445
+ document_type: z.ZodEnum<{
1446
+ 43: "43";
1447
+ }>;
1448
+ fiscal_number: z.ZodString;
1449
+ }, z.core.$strict>, z.ZodObject<{
1450
+ document_type: z.ZodEnum<{
1451
+ 44: "44";
1452
+ }>;
1453
+ fiscal_number: z.ZodString;
1454
+ }, z.core.$strict>, z.ZodObject<{
1455
+ document_type: z.ZodEnum<{
1456
+ 45: "45";
1457
+ }>;
1458
+ fiscal_number: z.ZodString;
1459
+ }, z.core.$strict>, z.ZodObject<{
1460
+ document_type: z.ZodEnum<{
1461
+ 46: "46";
1462
+ }>;
1463
+ fiscal_number: z.ZodString;
1464
+ }, z.core.$strict>, z.ZodObject<{
1465
+ document_type: z.ZodEnum<{
1466
+ 47: "47";
1467
+ }>;
1468
+ fiscal_number: z.ZodString;
1469
+ }, z.core.$strict>]>;
1470
+ fiscal_operation_id: z.ZodUUID;
1471
+ stage: z.ZodEnum<{
1472
+ admitted: "admitted";
1473
+ authority_processing: "authority_processing";
1474
+ consumer_summary_signed: "consumer_summary_signed";
1475
+ signed: "signed";
1476
+ submitted: "submitted";
1477
+ }>;
1478
+ terminality: z.ZodEnum<{
1479
+ pending: "pending";
1480
+ }>;
1481
+ }, z.core.$strict>;
1482
+ environment: z.ZodEnum<{
1483
+ certification: "certification";
1484
+ production: "production";
1485
+ sandbox: "sandbox";
1486
+ }>;
1487
+ id: z.ZodUUID;
1488
+ object: z.ZodEnum<{
1489
+ event: "event";
1490
+ }>;
1491
+ occurred_at: z.ZodISODateTime;
1492
+ organization_id: z.ZodUUID;
1493
+ sequence: z.ZodString;
1494
+ type: z.ZodEnum<{
1495
+ "fiscal_operation.processing": "fiscal_operation.processing";
1496
+ }>;
1497
+ }, z.core.$strict>, z.ZodObject<{
1498
+ data: z.ZodObject<{
1499
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1500
+ document_type: z.ZodEnum<{
1501
+ 31: "31";
1502
+ }>;
1503
+ fiscal_number: z.ZodString;
1504
+ }, z.core.$strict>, z.ZodObject<{
1505
+ document_type: z.ZodEnum<{
1506
+ 32: "32";
1507
+ }>;
1508
+ fiscal_number: z.ZodString;
1509
+ }, z.core.$strict>, z.ZodObject<{
1510
+ document_type: z.ZodEnum<{
1511
+ 33: "33";
1512
+ }>;
1513
+ fiscal_number: z.ZodString;
1514
+ }, z.core.$strict>, z.ZodObject<{
1515
+ document_type: z.ZodEnum<{
1516
+ 34: "34";
1517
+ }>;
1518
+ fiscal_number: z.ZodString;
1519
+ }, z.core.$strict>, z.ZodObject<{
1520
+ document_type: z.ZodEnum<{
1521
+ 41: "41";
1522
+ }>;
1523
+ fiscal_number: z.ZodString;
1524
+ }, z.core.$strict>, z.ZodObject<{
1525
+ document_type: z.ZodEnum<{
1526
+ 43: "43";
1527
+ }>;
1528
+ fiscal_number: z.ZodString;
1529
+ }, z.core.$strict>, z.ZodObject<{
1530
+ document_type: z.ZodEnum<{
1531
+ 44: "44";
1532
+ }>;
1533
+ fiscal_number: z.ZodString;
1534
+ }, z.core.$strict>, z.ZodObject<{
1535
+ document_type: z.ZodEnum<{
1536
+ 45: "45";
1537
+ }>;
1538
+ fiscal_number: z.ZodString;
1539
+ }, z.core.$strict>, z.ZodObject<{
1540
+ document_type: z.ZodEnum<{
1541
+ 46: "46";
1542
+ }>;
1543
+ fiscal_number: z.ZodString;
1544
+ }, z.core.$strict>, z.ZodObject<{
1545
+ document_type: z.ZodEnum<{
1546
+ 47: "47";
1547
+ }>;
1548
+ fiscal_number: z.ZodString;
1549
+ }, z.core.$strict>]>;
1550
+ fiscal_operation_id: z.ZodUUID;
1551
+ terminality: z.ZodEnum<{
1552
+ operator_required: "operator_required";
1553
+ pending: "pending";
1554
+ }>;
1555
+ }, z.core.$strict>;
1556
+ environment: z.ZodEnum<{
1557
+ certification: "certification";
1558
+ production: "production";
1559
+ sandbox: "sandbox";
1560
+ }>;
1561
+ id: z.ZodUUID;
1562
+ object: z.ZodEnum<{
1563
+ event: "event";
1564
+ }>;
1565
+ occurred_at: z.ZodISODateTime;
1566
+ organization_id: z.ZodUUID;
1567
+ sequence: z.ZodString;
1568
+ type: z.ZodEnum<{
1569
+ "fiscal_operation.submission_outcome_unknown": "fiscal_operation.submission_outcome_unknown";
1570
+ }>;
1571
+ }, z.core.$strict>, z.ZodObject<{
1572
+ data: z.ZodObject<{
1573
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1574
+ document_type: z.ZodEnum<{
1575
+ 31: "31";
1576
+ }>;
1577
+ fiscal_number: z.ZodString;
1578
+ }, z.core.$strict>, z.ZodObject<{
1579
+ document_type: z.ZodEnum<{
1580
+ 32: "32";
1581
+ }>;
1582
+ fiscal_number: z.ZodString;
1583
+ }, z.core.$strict>, z.ZodObject<{
1584
+ document_type: z.ZodEnum<{
1585
+ 33: "33";
1586
+ }>;
1587
+ fiscal_number: z.ZodString;
1588
+ }, z.core.$strict>, z.ZodObject<{
1589
+ document_type: z.ZodEnum<{
1590
+ 34: "34";
1591
+ }>;
1592
+ fiscal_number: z.ZodString;
1593
+ }, z.core.$strict>, z.ZodObject<{
1594
+ document_type: z.ZodEnum<{
1595
+ 41: "41";
1596
+ }>;
1597
+ fiscal_number: z.ZodString;
1598
+ }, z.core.$strict>, z.ZodObject<{
1599
+ document_type: z.ZodEnum<{
1600
+ 43: "43";
1601
+ }>;
1602
+ fiscal_number: z.ZodString;
1603
+ }, z.core.$strict>, z.ZodObject<{
1604
+ document_type: z.ZodEnum<{
1605
+ 44: "44";
1606
+ }>;
1607
+ fiscal_number: z.ZodString;
1608
+ }, z.core.$strict>, z.ZodObject<{
1609
+ document_type: z.ZodEnum<{
1610
+ 45: "45";
1611
+ }>;
1612
+ fiscal_number: z.ZodString;
1613
+ }, z.core.$strict>, z.ZodObject<{
1614
+ document_type: z.ZodEnum<{
1615
+ 46: "46";
1616
+ }>;
1617
+ fiscal_number: z.ZodString;
1618
+ }, z.core.$strict>, z.ZodObject<{
1619
+ document_type: z.ZodEnum<{
1620
+ 47: "47";
1621
+ }>;
1622
+ fiscal_number: z.ZodString;
1623
+ }, z.core.$strict>]>;
1624
+ fiscal_operation_id: z.ZodUUID;
1625
+ terminality: z.ZodEnum<{
1626
+ terminal: "terminal";
1627
+ }>;
1628
+ }, z.core.$strict>;
1629
+ environment: z.ZodEnum<{
1630
+ certification: "certification";
1631
+ production: "production";
1632
+ sandbox: "sandbox";
1633
+ }>;
1634
+ id: z.ZodUUID;
1635
+ object: z.ZodEnum<{
1636
+ event: "event";
1637
+ }>;
1638
+ occurred_at: z.ZodISODateTime;
1639
+ organization_id: z.ZodUUID;
1640
+ sequence: z.ZodString;
1641
+ type: z.ZodEnum<{
1642
+ "fiscal_operation.authority_accepted": "fiscal_operation.authority_accepted";
1643
+ }>;
1644
+ }, z.core.$strict>, z.ZodObject<{
1645
+ data: z.ZodObject<{
1646
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1647
+ document_type: z.ZodEnum<{
1648
+ 31: "31";
1649
+ }>;
1650
+ fiscal_number: z.ZodString;
1651
+ }, z.core.$strict>, z.ZodObject<{
1652
+ document_type: z.ZodEnum<{
1653
+ 32: "32";
1654
+ }>;
1655
+ fiscal_number: z.ZodString;
1656
+ }, z.core.$strict>, z.ZodObject<{
1657
+ document_type: z.ZodEnum<{
1658
+ 33: "33";
1659
+ }>;
1660
+ fiscal_number: z.ZodString;
1661
+ }, z.core.$strict>, z.ZodObject<{
1662
+ document_type: z.ZodEnum<{
1663
+ 34: "34";
1664
+ }>;
1665
+ fiscal_number: z.ZodString;
1666
+ }, z.core.$strict>, z.ZodObject<{
1667
+ document_type: z.ZodEnum<{
1668
+ 41: "41";
1669
+ }>;
1670
+ fiscal_number: z.ZodString;
1671
+ }, z.core.$strict>, z.ZodObject<{
1672
+ document_type: z.ZodEnum<{
1673
+ 43: "43";
1674
+ }>;
1675
+ fiscal_number: z.ZodString;
1676
+ }, z.core.$strict>, z.ZodObject<{
1677
+ document_type: z.ZodEnum<{
1678
+ 44: "44";
1679
+ }>;
1680
+ fiscal_number: z.ZodString;
1681
+ }, z.core.$strict>, z.ZodObject<{
1682
+ document_type: z.ZodEnum<{
1683
+ 45: "45";
1684
+ }>;
1685
+ fiscal_number: z.ZodString;
1686
+ }, z.core.$strict>, z.ZodObject<{
1687
+ document_type: z.ZodEnum<{
1688
+ 46: "46";
1689
+ }>;
1690
+ fiscal_number: z.ZodString;
1691
+ }, z.core.$strict>, z.ZodObject<{
1692
+ document_type: z.ZodEnum<{
1693
+ 47: "47";
1694
+ }>;
1695
+ fiscal_number: z.ZodString;
1696
+ }, z.core.$strict>]>;
1697
+ fiscal_operation_id: z.ZodUUID;
1698
+ terminality: z.ZodEnum<{
1699
+ terminal: "terminal";
1700
+ }>;
1701
+ }, z.core.$strict>;
1702
+ environment: z.ZodEnum<{
1703
+ certification: "certification";
1704
+ production: "production";
1705
+ sandbox: "sandbox";
1706
+ }>;
1707
+ id: z.ZodUUID;
1708
+ object: z.ZodEnum<{
1709
+ event: "event";
1710
+ }>;
1711
+ occurred_at: z.ZodISODateTime;
1712
+ organization_id: z.ZodUUID;
1713
+ sequence: z.ZodString;
1714
+ type: z.ZodEnum<{
1715
+ "fiscal_operation.authority_accepted_with_findings": "fiscal_operation.authority_accepted_with_findings";
1716
+ }>;
1717
+ }, z.core.$strict>, z.ZodObject<{
1718
+ data: z.ZodObject<{
1719
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1720
+ document_type: z.ZodEnum<{
1721
+ 31: "31";
1722
+ }>;
1723
+ fiscal_number: z.ZodString;
1724
+ }, z.core.$strict>, z.ZodObject<{
1725
+ document_type: z.ZodEnum<{
1726
+ 32: "32";
1727
+ }>;
1728
+ fiscal_number: z.ZodString;
1729
+ }, z.core.$strict>, z.ZodObject<{
1730
+ document_type: z.ZodEnum<{
1731
+ 33: "33";
1732
+ }>;
1733
+ fiscal_number: z.ZodString;
1734
+ }, z.core.$strict>, z.ZodObject<{
1735
+ document_type: z.ZodEnum<{
1736
+ 34: "34";
1737
+ }>;
1738
+ fiscal_number: z.ZodString;
1739
+ }, z.core.$strict>, z.ZodObject<{
1740
+ document_type: z.ZodEnum<{
1741
+ 41: "41";
1742
+ }>;
1743
+ fiscal_number: z.ZodString;
1744
+ }, z.core.$strict>, z.ZodObject<{
1745
+ document_type: z.ZodEnum<{
1746
+ 43: "43";
1747
+ }>;
1748
+ fiscal_number: z.ZodString;
1749
+ }, z.core.$strict>, z.ZodObject<{
1750
+ document_type: z.ZodEnum<{
1751
+ 44: "44";
1752
+ }>;
1753
+ fiscal_number: z.ZodString;
1754
+ }, z.core.$strict>, z.ZodObject<{
1755
+ document_type: z.ZodEnum<{
1756
+ 45: "45";
1757
+ }>;
1758
+ fiscal_number: z.ZodString;
1759
+ }, z.core.$strict>, z.ZodObject<{
1760
+ document_type: z.ZodEnum<{
1761
+ 46: "46";
1762
+ }>;
1763
+ fiscal_number: z.ZodString;
1764
+ }, z.core.$strict>, z.ZodObject<{
1765
+ document_type: z.ZodEnum<{
1766
+ 47: "47";
1767
+ }>;
1768
+ fiscal_number: z.ZodString;
1769
+ }, z.core.$strict>]>;
1770
+ fiscal_operation_id: z.ZodUUID;
1771
+ terminality: z.ZodEnum<{
1772
+ operator_required: "operator_required";
1773
+ }>;
1774
+ }, z.core.$strict>;
1775
+ environment: z.ZodEnum<{
1776
+ certification: "certification";
1777
+ production: "production";
1778
+ sandbox: "sandbox";
1779
+ }>;
1780
+ id: z.ZodUUID;
1781
+ object: z.ZodEnum<{
1782
+ event: "event";
1783
+ }>;
1784
+ occurred_at: z.ZodISODateTime;
1785
+ organization_id: z.ZodUUID;
1786
+ sequence: z.ZodString;
1787
+ type: z.ZodEnum<{
1788
+ "fiscal_operation.authority_rejected": "fiscal_operation.authority_rejected";
1789
+ }>;
1790
+ }, z.core.$strict>, z.ZodObject<{
1791
+ data: z.ZodObject<{
1792
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1793
+ document_type: z.ZodEnum<{
1794
+ 31: "31";
1795
+ }>;
1796
+ fiscal_number: z.ZodString;
1797
+ }, z.core.$strict>, z.ZodObject<{
1798
+ document_type: z.ZodEnum<{
1799
+ 32: "32";
1800
+ }>;
1801
+ fiscal_number: z.ZodString;
1802
+ }, z.core.$strict>, z.ZodObject<{
1803
+ document_type: z.ZodEnum<{
1804
+ 33: "33";
1805
+ }>;
1806
+ fiscal_number: z.ZodString;
1807
+ }, z.core.$strict>, z.ZodObject<{
1808
+ document_type: z.ZodEnum<{
1809
+ 34: "34";
1810
+ }>;
1811
+ fiscal_number: z.ZodString;
1812
+ }, z.core.$strict>, z.ZodObject<{
1813
+ document_type: z.ZodEnum<{
1814
+ 41: "41";
1815
+ }>;
1816
+ fiscal_number: z.ZodString;
1817
+ }, z.core.$strict>, z.ZodObject<{
1818
+ document_type: z.ZodEnum<{
1819
+ 43: "43";
1820
+ }>;
1821
+ fiscal_number: z.ZodString;
1822
+ }, z.core.$strict>, z.ZodObject<{
1823
+ document_type: z.ZodEnum<{
1824
+ 44: "44";
1825
+ }>;
1826
+ fiscal_number: z.ZodString;
1827
+ }, z.core.$strict>, z.ZodObject<{
1828
+ document_type: z.ZodEnum<{
1829
+ 45: "45";
1830
+ }>;
1831
+ fiscal_number: z.ZodString;
1832
+ }, z.core.$strict>, z.ZodObject<{
1833
+ document_type: z.ZodEnum<{
1834
+ 46: "46";
1835
+ }>;
1836
+ fiscal_number: z.ZodString;
1837
+ }, z.core.$strict>, z.ZodObject<{
1838
+ document_type: z.ZodEnum<{
1839
+ 47: "47";
1840
+ }>;
1841
+ fiscal_number: z.ZodString;
1842
+ }, z.core.$strict>]>;
1843
+ fiscal_operation_id: z.ZodUUID;
1844
+ terminality: z.ZodEnum<{
1845
+ operator_required: "operator_required";
1846
+ }>;
1847
+ }, z.core.$strict>;
1848
+ environment: z.ZodEnum<{
1849
+ certification: "certification";
1850
+ production: "production";
1851
+ sandbox: "sandbox";
1852
+ }>;
1853
+ id: z.ZodUUID;
1854
+ object: z.ZodEnum<{
1855
+ event: "event";
1856
+ }>;
1857
+ occurred_at: z.ZodISODateTime;
1858
+ organization_id: z.ZodUUID;
1859
+ sequence: z.ZodString;
1860
+ type: z.ZodEnum<{
1861
+ "fiscal_operation.intervention_required": "fiscal_operation.intervention_required";
1862
+ }>;
1863
+ }, z.core.$strict>, z.ZodObject<{
1864
+ data: z.ZodObject<{
1865
+ fiscal_operation_id: z.ZodUUID;
1866
+ fiscal_operation_outcome: z.ZodUnion<readonly [z.ZodObject<{
1867
+ outcome: z.ZodEnum<{
1868
+ rejected: "rejected";
1869
+ }>;
1870
+ terminality: z.ZodEnum<{
1871
+ terminal: "terminal";
1872
+ }>;
1873
+ }, z.core.$strict>, z.ZodObject<{
1874
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1875
+ document_type: z.ZodEnum<{
1876
+ 31: "31";
1877
+ }>;
1878
+ fiscal_number: z.ZodString;
1879
+ }, z.core.$strict>, z.ZodObject<{
1880
+ document_type: z.ZodEnum<{
1881
+ 32: "32";
1882
+ }>;
1883
+ fiscal_number: z.ZodString;
1884
+ }, z.core.$strict>, z.ZodObject<{
1885
+ document_type: z.ZodEnum<{
1886
+ 33: "33";
1887
+ }>;
1888
+ fiscal_number: z.ZodString;
1889
+ }, z.core.$strict>, z.ZodObject<{
1890
+ document_type: z.ZodEnum<{
1891
+ 34: "34";
1892
+ }>;
1893
+ fiscal_number: z.ZodString;
1894
+ }, z.core.$strict>, z.ZodObject<{
1895
+ document_type: z.ZodEnum<{
1896
+ 41: "41";
1897
+ }>;
1898
+ fiscal_number: z.ZodString;
1899
+ }, z.core.$strict>, z.ZodObject<{
1900
+ document_type: z.ZodEnum<{
1901
+ 43: "43";
1902
+ }>;
1903
+ fiscal_number: z.ZodString;
1904
+ }, z.core.$strict>, z.ZodObject<{
1905
+ document_type: z.ZodEnum<{
1906
+ 44: "44";
1907
+ }>;
1908
+ fiscal_number: z.ZodString;
1909
+ }, z.core.$strict>, z.ZodObject<{
1910
+ document_type: z.ZodEnum<{
1911
+ 45: "45";
1912
+ }>;
1913
+ fiscal_number: z.ZodString;
1914
+ }, z.core.$strict>, z.ZodObject<{
1915
+ document_type: z.ZodEnum<{
1916
+ 46: "46";
1917
+ }>;
1918
+ fiscal_number: z.ZodString;
1919
+ }, z.core.$strict>, z.ZodObject<{
1920
+ document_type: z.ZodEnum<{
1921
+ 47: "47";
1922
+ }>;
1923
+ fiscal_number: z.ZodString;
1924
+ }, z.core.$strict>]>;
1925
+ outcome: z.ZodEnum<{
1926
+ processing: "processing";
1927
+ }>;
1928
+ stage: z.ZodEnum<{
1929
+ admitted: "admitted";
1930
+ authority_processing: "authority_processing";
1931
+ consumer_summary_signed: "consumer_summary_signed";
1932
+ signed: "signed";
1933
+ submitted: "submitted";
1934
+ }>;
1935
+ terminality: z.ZodEnum<{
1936
+ pending: "pending";
1937
+ }>;
1938
+ }, z.core.$strict>, z.ZodObject<{
1939
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1940
+ document_type: z.ZodEnum<{
1941
+ 31: "31";
1942
+ }>;
1943
+ fiscal_number: z.ZodString;
1944
+ }, z.core.$strict>, z.ZodObject<{
1945
+ document_type: z.ZodEnum<{
1946
+ 32: "32";
1947
+ }>;
1948
+ fiscal_number: z.ZodString;
1949
+ }, z.core.$strict>, z.ZodObject<{
1950
+ document_type: z.ZodEnum<{
1951
+ 33: "33";
1952
+ }>;
1953
+ fiscal_number: z.ZodString;
1954
+ }, z.core.$strict>, z.ZodObject<{
1955
+ document_type: z.ZodEnum<{
1956
+ 34: "34";
1957
+ }>;
1958
+ fiscal_number: z.ZodString;
1959
+ }, z.core.$strict>, z.ZodObject<{
1960
+ document_type: z.ZodEnum<{
1961
+ 41: "41";
1962
+ }>;
1963
+ fiscal_number: z.ZodString;
1964
+ }, z.core.$strict>, z.ZodObject<{
1965
+ document_type: z.ZodEnum<{
1966
+ 43: "43";
1967
+ }>;
1968
+ fiscal_number: z.ZodString;
1969
+ }, z.core.$strict>, z.ZodObject<{
1970
+ document_type: z.ZodEnum<{
1971
+ 44: "44";
1972
+ }>;
1973
+ fiscal_number: z.ZodString;
1974
+ }, z.core.$strict>, z.ZodObject<{
1975
+ document_type: z.ZodEnum<{
1976
+ 45: "45";
1977
+ }>;
1978
+ fiscal_number: z.ZodString;
1979
+ }, z.core.$strict>, z.ZodObject<{
1980
+ document_type: z.ZodEnum<{
1981
+ 46: "46";
1982
+ }>;
1983
+ fiscal_number: z.ZodString;
1984
+ }, z.core.$strict>, z.ZodObject<{
1985
+ document_type: z.ZodEnum<{
1986
+ 47: "47";
1987
+ }>;
1988
+ fiscal_number: z.ZodString;
1989
+ }, z.core.$strict>]>;
1990
+ outcome: z.ZodEnum<{
1991
+ outcome_unknown: "outcome_unknown";
1992
+ }>;
1993
+ terminality: z.ZodEnum<{
1994
+ operator_required: "operator_required";
1995
+ pending: "pending";
1996
+ }>;
1997
+ }, z.core.$strict>, z.ZodObject<{
1998
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
1999
+ document_type: z.ZodEnum<{
2000
+ 31: "31";
2001
+ }>;
2002
+ fiscal_number: z.ZodString;
2003
+ }, z.core.$strict>, z.ZodObject<{
2004
+ document_type: z.ZodEnum<{
2005
+ 32: "32";
2006
+ }>;
2007
+ fiscal_number: z.ZodString;
2008
+ }, z.core.$strict>, z.ZodObject<{
2009
+ document_type: z.ZodEnum<{
2010
+ 33: "33";
2011
+ }>;
2012
+ fiscal_number: z.ZodString;
2013
+ }, z.core.$strict>, z.ZodObject<{
2014
+ document_type: z.ZodEnum<{
2015
+ 34: "34";
2016
+ }>;
2017
+ fiscal_number: z.ZodString;
2018
+ }, z.core.$strict>, z.ZodObject<{
2019
+ document_type: z.ZodEnum<{
2020
+ 41: "41";
2021
+ }>;
2022
+ fiscal_number: z.ZodString;
2023
+ }, z.core.$strict>, z.ZodObject<{
2024
+ document_type: z.ZodEnum<{
2025
+ 43: "43";
2026
+ }>;
2027
+ fiscal_number: z.ZodString;
2028
+ }, z.core.$strict>, z.ZodObject<{
2029
+ document_type: z.ZodEnum<{
2030
+ 44: "44";
2031
+ }>;
2032
+ fiscal_number: z.ZodString;
2033
+ }, z.core.$strict>, z.ZodObject<{
2034
+ document_type: z.ZodEnum<{
2035
+ 45: "45";
2036
+ }>;
2037
+ fiscal_number: z.ZodString;
2038
+ }, z.core.$strict>, z.ZodObject<{
2039
+ document_type: z.ZodEnum<{
2040
+ 46: "46";
2041
+ }>;
2042
+ fiscal_number: z.ZodString;
2043
+ }, z.core.$strict>, z.ZodObject<{
2044
+ document_type: z.ZodEnum<{
2045
+ 47: "47";
2046
+ }>;
2047
+ fiscal_number: z.ZodString;
2048
+ }, z.core.$strict>]>;
2049
+ outcome: z.ZodEnum<{
2050
+ accepted: "accepted";
2051
+ }>;
2052
+ terminality: z.ZodEnum<{
2053
+ terminal: "terminal";
2054
+ }>;
2055
+ }, z.core.$strict>, z.ZodObject<{
2056
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2057
+ document_type: z.ZodEnum<{
2058
+ 31: "31";
2059
+ }>;
2060
+ fiscal_number: z.ZodString;
2061
+ }, z.core.$strict>, z.ZodObject<{
2062
+ document_type: z.ZodEnum<{
2063
+ 32: "32";
2064
+ }>;
2065
+ fiscal_number: z.ZodString;
2066
+ }, z.core.$strict>, z.ZodObject<{
2067
+ document_type: z.ZodEnum<{
2068
+ 33: "33";
2069
+ }>;
2070
+ fiscal_number: z.ZodString;
2071
+ }, z.core.$strict>, z.ZodObject<{
2072
+ document_type: z.ZodEnum<{
2073
+ 34: "34";
2074
+ }>;
2075
+ fiscal_number: z.ZodString;
2076
+ }, z.core.$strict>, z.ZodObject<{
2077
+ document_type: z.ZodEnum<{
2078
+ 41: "41";
2079
+ }>;
2080
+ fiscal_number: z.ZodString;
2081
+ }, z.core.$strict>, z.ZodObject<{
2082
+ document_type: z.ZodEnum<{
2083
+ 43: "43";
2084
+ }>;
2085
+ fiscal_number: z.ZodString;
2086
+ }, z.core.$strict>, z.ZodObject<{
2087
+ document_type: z.ZodEnum<{
2088
+ 44: "44";
2089
+ }>;
2090
+ fiscal_number: z.ZodString;
2091
+ }, z.core.$strict>, z.ZodObject<{
2092
+ document_type: z.ZodEnum<{
2093
+ 45: "45";
2094
+ }>;
2095
+ fiscal_number: z.ZodString;
2096
+ }, z.core.$strict>, z.ZodObject<{
2097
+ document_type: z.ZodEnum<{
2098
+ 46: "46";
2099
+ }>;
2100
+ fiscal_number: z.ZodString;
2101
+ }, z.core.$strict>, z.ZodObject<{
2102
+ document_type: z.ZodEnum<{
2103
+ 47: "47";
2104
+ }>;
2105
+ fiscal_number: z.ZodString;
2106
+ }, z.core.$strict>]>;
2107
+ outcome: z.ZodEnum<{
2108
+ accepted_with_findings: "accepted_with_findings";
2109
+ }>;
2110
+ terminality: z.ZodEnum<{
2111
+ terminal: "terminal";
2112
+ }>;
2113
+ }, z.core.$strict>, z.ZodObject<{
2114
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2115
+ document_type: z.ZodEnum<{
2116
+ 31: "31";
2117
+ }>;
2118
+ fiscal_number: z.ZodString;
2119
+ }, z.core.$strict>, z.ZodObject<{
2120
+ document_type: z.ZodEnum<{
2121
+ 32: "32";
2122
+ }>;
2123
+ fiscal_number: z.ZodString;
2124
+ }, z.core.$strict>, z.ZodObject<{
2125
+ document_type: z.ZodEnum<{
2126
+ 33: "33";
2127
+ }>;
2128
+ fiscal_number: z.ZodString;
2129
+ }, z.core.$strict>, z.ZodObject<{
2130
+ document_type: z.ZodEnum<{
2131
+ 34: "34";
2132
+ }>;
2133
+ fiscal_number: z.ZodString;
2134
+ }, z.core.$strict>, z.ZodObject<{
2135
+ document_type: z.ZodEnum<{
2136
+ 41: "41";
2137
+ }>;
2138
+ fiscal_number: z.ZodString;
2139
+ }, z.core.$strict>, z.ZodObject<{
2140
+ document_type: z.ZodEnum<{
2141
+ 43: "43";
2142
+ }>;
2143
+ fiscal_number: z.ZodString;
2144
+ }, z.core.$strict>, z.ZodObject<{
2145
+ document_type: z.ZodEnum<{
2146
+ 44: "44";
2147
+ }>;
2148
+ fiscal_number: z.ZodString;
2149
+ }, z.core.$strict>, z.ZodObject<{
2150
+ document_type: z.ZodEnum<{
2151
+ 45: "45";
2152
+ }>;
2153
+ fiscal_number: z.ZodString;
2154
+ }, z.core.$strict>, z.ZodObject<{
2155
+ document_type: z.ZodEnum<{
2156
+ 46: "46";
2157
+ }>;
2158
+ fiscal_number: z.ZodString;
2159
+ }, z.core.$strict>, z.ZodObject<{
2160
+ document_type: z.ZodEnum<{
2161
+ 47: "47";
2162
+ }>;
2163
+ fiscal_number: z.ZodString;
2164
+ }, z.core.$strict>]>;
2165
+ outcome: z.ZodEnum<{
2166
+ authority_rejected: "authority_rejected";
2167
+ }>;
2168
+ terminality: z.ZodEnum<{
2169
+ operator_required: "operator_required";
2170
+ }>;
2171
+ }, z.core.$strict>, z.ZodObject<{
2172
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2173
+ document_type: z.ZodEnum<{
2174
+ 31: "31";
2175
+ }>;
2176
+ fiscal_number: z.ZodString;
2177
+ }, z.core.$strict>, z.ZodObject<{
2178
+ document_type: z.ZodEnum<{
2179
+ 32: "32";
2180
+ }>;
2181
+ fiscal_number: z.ZodString;
2182
+ }, z.core.$strict>, z.ZodObject<{
2183
+ document_type: z.ZodEnum<{
2184
+ 33: "33";
2185
+ }>;
2186
+ fiscal_number: z.ZodString;
2187
+ }, z.core.$strict>, z.ZodObject<{
2188
+ document_type: z.ZodEnum<{
2189
+ 34: "34";
2190
+ }>;
2191
+ fiscal_number: z.ZodString;
2192
+ }, z.core.$strict>, z.ZodObject<{
2193
+ document_type: z.ZodEnum<{
2194
+ 41: "41";
2195
+ }>;
2196
+ fiscal_number: z.ZodString;
2197
+ }, z.core.$strict>, z.ZodObject<{
2198
+ document_type: z.ZodEnum<{
2199
+ 43: "43";
2200
+ }>;
2201
+ fiscal_number: z.ZodString;
2202
+ }, z.core.$strict>, z.ZodObject<{
2203
+ document_type: z.ZodEnum<{
2204
+ 44: "44";
2205
+ }>;
2206
+ fiscal_number: z.ZodString;
2207
+ }, z.core.$strict>, z.ZodObject<{
2208
+ document_type: z.ZodEnum<{
2209
+ 45: "45";
2210
+ }>;
2211
+ fiscal_number: z.ZodString;
2212
+ }, z.core.$strict>, z.ZodObject<{
2213
+ document_type: z.ZodEnum<{
2214
+ 46: "46";
2215
+ }>;
2216
+ fiscal_number: z.ZodString;
2217
+ }, z.core.$strict>, z.ZodObject<{
2218
+ document_type: z.ZodEnum<{
2219
+ 47: "47";
2220
+ }>;
2221
+ fiscal_number: z.ZodString;
2222
+ }, z.core.$strict>]>;
2223
+ outcome: z.ZodEnum<{
2224
+ intervention_required: "intervention_required";
2225
+ }>;
2226
+ terminality: z.ZodEnum<{
2227
+ operator_required: "operator_required";
2228
+ }>;
2229
+ }, z.core.$strict>]>;
2230
+ }, z.core.$strict>;
2231
+ environment: z.ZodEnum<{
2232
+ certification: "certification";
2233
+ production: "production";
2234
+ sandbox: "sandbox";
2235
+ }>;
2236
+ id: z.ZodUUID;
2237
+ object: z.ZodEnum<{
2238
+ event: "event";
2239
+ }>;
2240
+ occurred_at: z.ZodISODateTime;
2241
+ organization_id: z.ZodUUID;
2242
+ sequence: z.ZodString;
2243
+ type: z.ZodEnum<{
2244
+ "fiscal_operation.commercially_accepted": "fiscal_operation.commercially_accepted";
2245
+ }>;
2246
+ }, z.core.$strict>, z.ZodObject<{
2247
+ data: z.ZodObject<{
2248
+ fiscal_operation_id: z.ZodUUID;
2249
+ fiscal_operation_outcome: z.ZodUnion<readonly [z.ZodObject<{
2250
+ outcome: z.ZodEnum<{
2251
+ rejected: "rejected";
2252
+ }>;
2253
+ terminality: z.ZodEnum<{
2254
+ terminal: "terminal";
2255
+ }>;
2256
+ }, z.core.$strict>, z.ZodObject<{
2257
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2258
+ document_type: z.ZodEnum<{
2259
+ 31: "31";
2260
+ }>;
2261
+ fiscal_number: z.ZodString;
2262
+ }, z.core.$strict>, z.ZodObject<{
2263
+ document_type: z.ZodEnum<{
2264
+ 32: "32";
2265
+ }>;
2266
+ fiscal_number: z.ZodString;
2267
+ }, z.core.$strict>, z.ZodObject<{
2268
+ document_type: z.ZodEnum<{
2269
+ 33: "33";
2270
+ }>;
2271
+ fiscal_number: z.ZodString;
2272
+ }, z.core.$strict>, z.ZodObject<{
2273
+ document_type: z.ZodEnum<{
2274
+ 34: "34";
2275
+ }>;
2276
+ fiscal_number: z.ZodString;
2277
+ }, z.core.$strict>, z.ZodObject<{
2278
+ document_type: z.ZodEnum<{
2279
+ 41: "41";
2280
+ }>;
2281
+ fiscal_number: z.ZodString;
2282
+ }, z.core.$strict>, z.ZodObject<{
2283
+ document_type: z.ZodEnum<{
2284
+ 43: "43";
2285
+ }>;
2286
+ fiscal_number: z.ZodString;
2287
+ }, z.core.$strict>, z.ZodObject<{
2288
+ document_type: z.ZodEnum<{
2289
+ 44: "44";
2290
+ }>;
2291
+ fiscal_number: z.ZodString;
2292
+ }, z.core.$strict>, z.ZodObject<{
2293
+ document_type: z.ZodEnum<{
2294
+ 45: "45";
2295
+ }>;
2296
+ fiscal_number: z.ZodString;
2297
+ }, z.core.$strict>, z.ZodObject<{
2298
+ document_type: z.ZodEnum<{
2299
+ 46: "46";
2300
+ }>;
2301
+ fiscal_number: z.ZodString;
2302
+ }, z.core.$strict>, z.ZodObject<{
2303
+ document_type: z.ZodEnum<{
2304
+ 47: "47";
2305
+ }>;
2306
+ fiscal_number: z.ZodString;
2307
+ }, z.core.$strict>]>;
2308
+ outcome: z.ZodEnum<{
2309
+ processing: "processing";
2310
+ }>;
2311
+ stage: z.ZodEnum<{
2312
+ admitted: "admitted";
2313
+ authority_processing: "authority_processing";
2314
+ consumer_summary_signed: "consumer_summary_signed";
2315
+ signed: "signed";
2316
+ submitted: "submitted";
2317
+ }>;
2318
+ terminality: z.ZodEnum<{
2319
+ pending: "pending";
2320
+ }>;
2321
+ }, z.core.$strict>, z.ZodObject<{
2322
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2323
+ document_type: z.ZodEnum<{
2324
+ 31: "31";
2325
+ }>;
2326
+ fiscal_number: z.ZodString;
2327
+ }, z.core.$strict>, z.ZodObject<{
2328
+ document_type: z.ZodEnum<{
2329
+ 32: "32";
2330
+ }>;
2331
+ fiscal_number: z.ZodString;
2332
+ }, z.core.$strict>, z.ZodObject<{
2333
+ document_type: z.ZodEnum<{
2334
+ 33: "33";
2335
+ }>;
2336
+ fiscal_number: z.ZodString;
2337
+ }, z.core.$strict>, z.ZodObject<{
2338
+ document_type: z.ZodEnum<{
2339
+ 34: "34";
2340
+ }>;
2341
+ fiscal_number: z.ZodString;
2342
+ }, z.core.$strict>, z.ZodObject<{
2343
+ document_type: z.ZodEnum<{
2344
+ 41: "41";
2345
+ }>;
2346
+ fiscal_number: z.ZodString;
2347
+ }, z.core.$strict>, z.ZodObject<{
2348
+ document_type: z.ZodEnum<{
2349
+ 43: "43";
2350
+ }>;
2351
+ fiscal_number: z.ZodString;
2352
+ }, z.core.$strict>, z.ZodObject<{
2353
+ document_type: z.ZodEnum<{
2354
+ 44: "44";
2355
+ }>;
2356
+ fiscal_number: z.ZodString;
2357
+ }, z.core.$strict>, z.ZodObject<{
2358
+ document_type: z.ZodEnum<{
2359
+ 45: "45";
2360
+ }>;
2361
+ fiscal_number: z.ZodString;
2362
+ }, z.core.$strict>, z.ZodObject<{
2363
+ document_type: z.ZodEnum<{
2364
+ 46: "46";
2365
+ }>;
2366
+ fiscal_number: z.ZodString;
2367
+ }, z.core.$strict>, z.ZodObject<{
2368
+ document_type: z.ZodEnum<{
2369
+ 47: "47";
2370
+ }>;
2371
+ fiscal_number: z.ZodString;
2372
+ }, z.core.$strict>]>;
2373
+ outcome: z.ZodEnum<{
2374
+ outcome_unknown: "outcome_unknown";
2375
+ }>;
2376
+ terminality: z.ZodEnum<{
2377
+ operator_required: "operator_required";
2378
+ pending: "pending";
2379
+ }>;
2380
+ }, z.core.$strict>, z.ZodObject<{
2381
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2382
+ document_type: z.ZodEnum<{
2383
+ 31: "31";
2384
+ }>;
2385
+ fiscal_number: z.ZodString;
2386
+ }, z.core.$strict>, z.ZodObject<{
2387
+ document_type: z.ZodEnum<{
2388
+ 32: "32";
2389
+ }>;
2390
+ fiscal_number: z.ZodString;
2391
+ }, z.core.$strict>, z.ZodObject<{
2392
+ document_type: z.ZodEnum<{
2393
+ 33: "33";
2394
+ }>;
2395
+ fiscal_number: z.ZodString;
2396
+ }, z.core.$strict>, z.ZodObject<{
2397
+ document_type: z.ZodEnum<{
2398
+ 34: "34";
2399
+ }>;
2400
+ fiscal_number: z.ZodString;
2401
+ }, z.core.$strict>, z.ZodObject<{
2402
+ document_type: z.ZodEnum<{
2403
+ 41: "41";
2404
+ }>;
2405
+ fiscal_number: z.ZodString;
2406
+ }, z.core.$strict>, z.ZodObject<{
2407
+ document_type: z.ZodEnum<{
2408
+ 43: "43";
2409
+ }>;
2410
+ fiscal_number: z.ZodString;
2411
+ }, z.core.$strict>, z.ZodObject<{
2412
+ document_type: z.ZodEnum<{
2413
+ 44: "44";
2414
+ }>;
2415
+ fiscal_number: z.ZodString;
2416
+ }, z.core.$strict>, z.ZodObject<{
2417
+ document_type: z.ZodEnum<{
2418
+ 45: "45";
2419
+ }>;
2420
+ fiscal_number: z.ZodString;
2421
+ }, z.core.$strict>, z.ZodObject<{
2422
+ document_type: z.ZodEnum<{
2423
+ 46: "46";
2424
+ }>;
2425
+ fiscal_number: z.ZodString;
2426
+ }, z.core.$strict>, z.ZodObject<{
2427
+ document_type: z.ZodEnum<{
2428
+ 47: "47";
2429
+ }>;
2430
+ fiscal_number: z.ZodString;
2431
+ }, z.core.$strict>]>;
2432
+ outcome: z.ZodEnum<{
2433
+ accepted: "accepted";
2434
+ }>;
2435
+ terminality: z.ZodEnum<{
2436
+ terminal: "terminal";
2437
+ }>;
2438
+ }, z.core.$strict>, z.ZodObject<{
2439
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2440
+ document_type: z.ZodEnum<{
2441
+ 31: "31";
2442
+ }>;
2443
+ fiscal_number: z.ZodString;
2444
+ }, z.core.$strict>, z.ZodObject<{
2445
+ document_type: z.ZodEnum<{
2446
+ 32: "32";
2447
+ }>;
2448
+ fiscal_number: z.ZodString;
2449
+ }, z.core.$strict>, z.ZodObject<{
2450
+ document_type: z.ZodEnum<{
2451
+ 33: "33";
2452
+ }>;
2453
+ fiscal_number: z.ZodString;
2454
+ }, z.core.$strict>, z.ZodObject<{
2455
+ document_type: z.ZodEnum<{
2456
+ 34: "34";
2457
+ }>;
2458
+ fiscal_number: z.ZodString;
2459
+ }, z.core.$strict>, z.ZodObject<{
2460
+ document_type: z.ZodEnum<{
2461
+ 41: "41";
2462
+ }>;
2463
+ fiscal_number: z.ZodString;
2464
+ }, z.core.$strict>, z.ZodObject<{
2465
+ document_type: z.ZodEnum<{
2466
+ 43: "43";
2467
+ }>;
2468
+ fiscal_number: z.ZodString;
2469
+ }, z.core.$strict>, z.ZodObject<{
2470
+ document_type: z.ZodEnum<{
2471
+ 44: "44";
2472
+ }>;
2473
+ fiscal_number: z.ZodString;
2474
+ }, z.core.$strict>, z.ZodObject<{
2475
+ document_type: z.ZodEnum<{
2476
+ 45: "45";
2477
+ }>;
2478
+ fiscal_number: z.ZodString;
2479
+ }, z.core.$strict>, z.ZodObject<{
2480
+ document_type: z.ZodEnum<{
2481
+ 46: "46";
2482
+ }>;
2483
+ fiscal_number: z.ZodString;
2484
+ }, z.core.$strict>, z.ZodObject<{
2485
+ document_type: z.ZodEnum<{
2486
+ 47: "47";
2487
+ }>;
2488
+ fiscal_number: z.ZodString;
2489
+ }, z.core.$strict>]>;
2490
+ outcome: z.ZodEnum<{
2491
+ accepted_with_findings: "accepted_with_findings";
2492
+ }>;
2493
+ terminality: z.ZodEnum<{
2494
+ terminal: "terminal";
2495
+ }>;
2496
+ }, z.core.$strict>, z.ZodObject<{
2497
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2498
+ document_type: z.ZodEnum<{
2499
+ 31: "31";
2500
+ }>;
2501
+ fiscal_number: z.ZodString;
2502
+ }, z.core.$strict>, z.ZodObject<{
2503
+ document_type: z.ZodEnum<{
2504
+ 32: "32";
2505
+ }>;
2506
+ fiscal_number: z.ZodString;
2507
+ }, z.core.$strict>, z.ZodObject<{
2508
+ document_type: z.ZodEnum<{
2509
+ 33: "33";
2510
+ }>;
2511
+ fiscal_number: z.ZodString;
2512
+ }, z.core.$strict>, z.ZodObject<{
2513
+ document_type: z.ZodEnum<{
2514
+ 34: "34";
2515
+ }>;
2516
+ fiscal_number: z.ZodString;
2517
+ }, z.core.$strict>, z.ZodObject<{
2518
+ document_type: z.ZodEnum<{
2519
+ 41: "41";
2520
+ }>;
2521
+ fiscal_number: z.ZodString;
2522
+ }, z.core.$strict>, z.ZodObject<{
2523
+ document_type: z.ZodEnum<{
2524
+ 43: "43";
2525
+ }>;
2526
+ fiscal_number: z.ZodString;
2527
+ }, z.core.$strict>, z.ZodObject<{
2528
+ document_type: z.ZodEnum<{
2529
+ 44: "44";
2530
+ }>;
2531
+ fiscal_number: z.ZodString;
2532
+ }, z.core.$strict>, z.ZodObject<{
2533
+ document_type: z.ZodEnum<{
2534
+ 45: "45";
2535
+ }>;
2536
+ fiscal_number: z.ZodString;
2537
+ }, z.core.$strict>, z.ZodObject<{
2538
+ document_type: z.ZodEnum<{
2539
+ 46: "46";
2540
+ }>;
2541
+ fiscal_number: z.ZodString;
2542
+ }, z.core.$strict>, z.ZodObject<{
2543
+ document_type: z.ZodEnum<{
2544
+ 47: "47";
2545
+ }>;
2546
+ fiscal_number: z.ZodString;
2547
+ }, z.core.$strict>]>;
2548
+ outcome: z.ZodEnum<{
2549
+ authority_rejected: "authority_rejected";
2550
+ }>;
2551
+ terminality: z.ZodEnum<{
2552
+ operator_required: "operator_required";
2553
+ }>;
2554
+ }, z.core.$strict>, z.ZodObject<{
2555
+ fiscal_identity: z.ZodUnion<readonly [z.ZodObject<{
2556
+ document_type: z.ZodEnum<{
2557
+ 31: "31";
2558
+ }>;
2559
+ fiscal_number: z.ZodString;
2560
+ }, z.core.$strict>, z.ZodObject<{
2561
+ document_type: z.ZodEnum<{
2562
+ 32: "32";
2563
+ }>;
2564
+ fiscal_number: z.ZodString;
2565
+ }, z.core.$strict>, z.ZodObject<{
2566
+ document_type: z.ZodEnum<{
2567
+ 33: "33";
2568
+ }>;
2569
+ fiscal_number: z.ZodString;
2570
+ }, z.core.$strict>, z.ZodObject<{
2571
+ document_type: z.ZodEnum<{
2572
+ 34: "34";
2573
+ }>;
2574
+ fiscal_number: z.ZodString;
2575
+ }, z.core.$strict>, z.ZodObject<{
2576
+ document_type: z.ZodEnum<{
2577
+ 41: "41";
2578
+ }>;
2579
+ fiscal_number: z.ZodString;
2580
+ }, z.core.$strict>, z.ZodObject<{
2581
+ document_type: z.ZodEnum<{
2582
+ 43: "43";
2583
+ }>;
2584
+ fiscal_number: z.ZodString;
2585
+ }, z.core.$strict>, z.ZodObject<{
2586
+ document_type: z.ZodEnum<{
2587
+ 44: "44";
2588
+ }>;
2589
+ fiscal_number: z.ZodString;
2590
+ }, z.core.$strict>, z.ZodObject<{
2591
+ document_type: z.ZodEnum<{
2592
+ 45: "45";
2593
+ }>;
2594
+ fiscal_number: z.ZodString;
2595
+ }, z.core.$strict>, z.ZodObject<{
2596
+ document_type: z.ZodEnum<{
2597
+ 46: "46";
2598
+ }>;
2599
+ fiscal_number: z.ZodString;
2600
+ }, z.core.$strict>, z.ZodObject<{
2601
+ document_type: z.ZodEnum<{
2602
+ 47: "47";
2603
+ }>;
2604
+ fiscal_number: z.ZodString;
2605
+ }, z.core.$strict>]>;
2606
+ outcome: z.ZodEnum<{
2607
+ intervention_required: "intervention_required";
2608
+ }>;
2609
+ terminality: z.ZodEnum<{
2610
+ operator_required: "operator_required";
2611
+ }>;
2612
+ }, z.core.$strict>]>;
2613
+ }, z.core.$strict>;
2614
+ environment: z.ZodEnum<{
2615
+ certification: "certification";
2616
+ production: "production";
2617
+ sandbox: "sandbox";
2618
+ }>;
2619
+ id: z.ZodUUID;
2620
+ object: z.ZodEnum<{
2621
+ event: "event";
2622
+ }>;
2623
+ occurred_at: z.ZodISODateTime;
2624
+ organization_id: z.ZodUUID;
2625
+ sequence: z.ZodString;
2626
+ type: z.ZodEnum<{
2627
+ "fiscal_operation.commercially_rejected": "fiscal_operation.commercially_rejected";
2628
+ }>;
2629
+ }, z.core.$strict>, z.ZodObject<{
2630
+ data: z.ZodObject<{
2631
+ activation_attempt_id: z.ZodUUID;
2632
+ challenge: z.ZodString;
2633
+ expires_at: z.ZodISODateTime;
2634
+ provider_deployment_id: z.ZodString;
2635
+ provider_target_id: z.ZodString;
2636
+ source_connection_id: z.ZodUUID;
2637
+ }, z.core.$strict>;
2638
+ environment: z.ZodEnum<{
2639
+ certification: "certification";
2640
+ production: "production";
2641
+ sandbox: "sandbox";
2642
+ }>;
2643
+ id: z.ZodUUID;
2644
+ object: z.ZodEnum<{
2645
+ event: "event";
2646
+ }>;
2647
+ occurred_at: z.ZodISODateTime;
2648
+ organization_id: z.ZodUUID;
2649
+ sequence: z.ZodString;
2650
+ type: z.ZodEnum<{
2651
+ "source_connection.verification_requested": "source_connection.verification_requested";
2652
+ }>;
2653
+ }, z.core.$strict>]>, z.ZodUnion<readonly [z.ZodObject<{
2654
+ data: z.ZodObject<{
2655
+ e_ncf: z.ZodString;
2656
+ fiscal_reception_id: z.ZodUUID;
2657
+ received_at: z.ZodISODateTime;
2658
+ received_xml_sha256: z.ZodString;
2659
+ rnc_comprador: z.ZodString;
2660
+ rnc_emisor: z.ZodString;
2661
+ }, z.core.$strict>;
2662
+ environment: z.ZodEnum<{
2663
+ certification: "certification";
2664
+ production: "production";
2665
+ sandbox: "sandbox";
2666
+ }>;
2667
+ id: z.ZodUUID;
2668
+ object: z.ZodEnum<{
2669
+ event: "event";
2670
+ }>;
2671
+ occurred_at: z.ZodISODateTime;
2672
+ organization_id: z.ZodUUID;
2673
+ sequence: z.ZodString;
2674
+ type: z.ZodEnum<{
2675
+ "fiscal_reception.received": "fiscal_reception.received";
2676
+ }>;
2677
+ }, z.core.$strict>, z.ZodObject<{
2678
+ data: z.ZodObject<{
2679
+ e_ncf: z.ZodString;
2680
+ fiscal_reception_id: z.ZodUUID;
2681
+ not_received_reason: z.ZodEnum<{
2682
+ buyer_rnc_mismatch: "buyer_rnc_mismatch";
2683
+ duplicate_submission: "duplicate_submission";
2684
+ schema_error: "schema_error";
2685
+ signature_error: "signature_error";
2686
+ }>;
2687
+ received_at: z.ZodISODateTime;
2688
+ received_xml_sha256: z.ZodString;
2689
+ rnc_comprador: z.ZodString;
2690
+ rnc_emisor: z.ZodString;
2691
+ }, z.core.$strict>;
2692
+ environment: z.ZodEnum<{
2693
+ certification: "certification";
2694
+ production: "production";
2695
+ sandbox: "sandbox";
2696
+ }>;
2697
+ id: z.ZodUUID;
2698
+ object: z.ZodEnum<{
2699
+ event: "event";
2700
+ }>;
2701
+ occurred_at: z.ZodISODateTime;
2702
+ organization_id: z.ZodUUID;
2703
+ sequence: z.ZodString;
2704
+ type: z.ZodEnum<{
2705
+ "fiscal_reception.not_received": "fiscal_reception.not_received";
2706
+ }>;
2707
+ }, z.core.$strict>]>]>;
2708
+ export type DeliveredWebhookEvent = z.infer<typeof deliveredWebhookEventSchema>;
2709
+ export declare function parseWebhookEvent(payload: unknown): WebhookEvent;
2710
+ export declare function parseDeliveredWebhookEvent(payload: unknown): DeliveredWebhookEvent;
2711
+ //# sourceMappingURL=webhook-event.d.ts.map