@timbro/invoices 0.8.3 → 0.9.0-next.0

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 (102) hide show
  1. package/README.md +95 -258
  2. package/dist/admin.d.ts +44 -0
  3. package/dist/admin.d.ts.map +1 -0
  4. package/dist/admin.js +16 -0
  5. package/dist/certificate-custody-import.d.ts +4 -2
  6. package/dist/certificate-custody-import.d.ts.map +1 -1
  7. package/dist/certificate-custody-import.js +1 -1
  8. package/dist/collection.d.ts +1 -1
  9. package/dist/collection.js +4 -4
  10. package/dist/fiscal-engine-runtime.manifest.json +16 -16
  11. package/dist/fiscal-engine-runtime.provenance.json +17 -17
  12. package/dist/generated/hosted/index.d.ts +4 -0
  13. package/dist/generated/hosted/index.d.ts.map +1 -0
  14. package/dist/generated/hosted/index.js +3 -0
  15. package/dist/generated/hosted/sdk.gen.d.ts +106 -0
  16. package/dist/generated/hosted/sdk.gen.d.ts.map +1 -0
  17. package/dist/generated/hosted/sdk.gen.js +1049 -0
  18. package/dist/generated/hosted/types.gen.d.ts +2425 -0
  19. package/dist/generated/hosted/types.gen.d.ts.map +1 -0
  20. package/dist/generated/hosted/types.gen.js +2 -0
  21. package/dist/generated/hosted/zod.gen.d.ts +1772 -0
  22. package/dist/generated/hosted/zod.gen.d.ts.map +1 -0
  23. package/dist/generated/hosted/zod.gen.js +2269 -0
  24. package/dist/generated/index.d.ts +3 -3
  25. package/dist/generated/index.d.ts.map +1 -1
  26. package/dist/generated/index.js +2 -2
  27. package/dist/generated/invoice-api-contract.d.ts +6348 -0
  28. package/dist/generated/invoice-api-contract.d.ts.map +1 -0
  29. package/dist/generated/invoice-api-contract.js +11004 -0
  30. package/dist/generated/problem-catalog.d.ts.map +1 -1
  31. package/dist/generated/problem-catalog.js +6 -3
  32. package/dist/generated/sdk.gen.d.ts +70 -38
  33. package/dist/generated/sdk.gen.d.ts.map +1 -1
  34. package/dist/generated/sdk.gen.js +1261 -251
  35. package/dist/generated/types.gen.d.ts +4349 -2686
  36. package/dist/generated/types.gen.d.ts.map +1 -1
  37. package/dist/generated/zod.gen.d.ts +53875 -22747
  38. package/dist/generated/zod.gen.d.ts.map +1 -1
  39. package/dist/generated/zod.gen.js +5730 -665
  40. package/dist/generated-operation-client.d.ts +1 -0
  41. package/dist/generated-operation-client.d.ts.map +1 -1
  42. package/dist/generated-operation-client.js +3 -2
  43. package/dist/generated-problem.d.ts +1 -1
  44. package/dist/generated-problem.d.ts.map +1 -1
  45. package/dist/generated-problem.js +4 -4
  46. package/dist/index.d.ts +8 -37
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +2 -12
  49. package/dist/{fiscal-error.d.ts → invoice-error.d.ts} +10 -9
  50. package/dist/invoice-error.d.ts.map +1 -0
  51. package/dist/{fiscal-error.js → invoice-error.js} +7 -4
  52. package/dist/invoice-hosted-controls.d.ts +62 -0
  53. package/dist/invoice-hosted-controls.d.ts.map +1 -0
  54. package/dist/invoice-hosted-controls.js +188 -0
  55. package/dist/invoice-receipt.d.ts +10 -0
  56. package/dist/invoice-receipt.d.ts.map +1 -0
  57. package/dist/invoice-receipt.js +49 -0
  58. package/dist/invoice-replacement.d.ts +8 -0
  59. package/dist/invoice-replacement.d.ts.map +1 -0
  60. package/dist/invoice-replacement.js +18 -0
  61. package/dist/invoice.d.ts +94 -0
  62. package/dist/invoice.d.ts.map +1 -0
  63. package/dist/invoice.js +251 -0
  64. package/dist/printed-representation.d.ts +0 -1
  65. package/dist/printed-representation.d.ts.map +1 -1
  66. package/dist/printed-representation.js +3 -3
  67. package/dist/problem-contract.d.ts +14 -117
  68. package/dist/problem-contract.d.ts.map +1 -1
  69. package/dist/public-case.d.ts +1 -1
  70. package/dist/received-documents.d.ts +13 -12
  71. package/dist/received-documents.d.ts.map +1 -1
  72. package/dist/received-documents.js +26 -20
  73. package/dist/source-connection.d.ts +5 -5
  74. package/dist/source-connection.d.ts.map +1 -1
  75. package/dist/source-connection.js +8 -9
  76. package/dist/stamp-server-http-transport.js +6 -6
  77. package/dist/timbro-client.d.ts +5 -37
  78. package/dist/timbro-client.d.ts.map +1 -1
  79. package/dist/timbro-client.js +4 -20
  80. package/dist/timbro_fiscal_engine_bg.wasm +0 -0
  81. package/dist/transport-contract.d.ts +1 -1
  82. package/dist/transport-contract.d.ts.map +1 -1
  83. package/dist/webhook-delivery.js +1 -1
  84. package/dist/webhook-event.d.ts +124 -842
  85. package/dist/webhook-event.d.ts.map +1 -1
  86. package/dist/webhook-event.js +3 -1
  87. package/dist/webhook-registration.d.ts +1 -2
  88. package/dist/webhook-registration.d.ts.map +1 -1
  89. package/dist/webhook-registration.js +1 -2
  90. package/dist/webhook-replay.d.ts +1 -2
  91. package/dist/webhook-replay.d.ts.map +1 -1
  92. package/dist/webhook-replay.js +3 -4
  93. package/dist/workspace.d.ts.map +1 -1
  94. package/dist/workspace.js +2 -2
  95. package/package.json +26 -16
  96. package/dist/fiscal-delivery.d.ts +0 -12
  97. package/dist/fiscal-delivery.d.ts.map +0 -1
  98. package/dist/fiscal-delivery.js +0 -45
  99. package/dist/fiscal-error.d.ts.map +0 -1
  100. package/dist/fiscal-receipt.d.ts +0 -19
  101. package/dist/fiscal-receipt.d.ts.map +0 -1
  102. package/dist/fiscal-receipt.js +0 -66
@@ -0,0 +1,1772 @@
1
+ import * as z from "zod";
2
+ /**
3
+ * MerchantBusinessFiscalSetupUnavailable
4
+ */
5
+ export declare const zMerchantBusinessFiscalSetupUnavailable: z.ZodObject<{
6
+ status: z.ZodLiteral<"unavailable">;
7
+ cause: z.ZodLiteral<"timbro_unreachable">;
8
+ }, z.core.$strict>;
9
+ /**
10
+ * MerchantBusinessFiscalBinding
11
+ *
12
+ * The Timbro Organization, Legal issuer, Source connection, and webhook.
13
+ */
14
+ export declare const zMerchantBusinessFiscalBinding: z.ZodUnion<readonly [z.ZodObject<{
15
+ status: z.ZodLiteral<"unbound">;
16
+ }, z.core.$strict>, z.ZodObject<{
17
+ status: z.ZodLiteral<"provisioning">;
18
+ }, z.core.$strict>, z.ZodObject<{
19
+ status: z.ZodLiteral<"bound">;
20
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
21
+ }, z.core.$strict>, z.ZodObject<{
22
+ status: z.ZodLiteral<"failed">;
23
+ }, z.core.$strict>, z.ZodObject<{
24
+ status: z.ZodLiteral<"conflict">;
25
+ }, z.core.$strict>]>;
26
+ /**
27
+ * MerchantBusinessLegalIssuer
28
+ *
29
+ * Whether Timbro holds every profile field the hosted Legal issuer requires.
30
+ */
31
+ export declare const zMerchantBusinessLegalIssuer: z.ZodUnion<readonly [z.ZodObject<{
32
+ status: z.ZodLiteral<"missing">;
33
+ }, z.core.$strict>, z.ZodObject<{
34
+ status: z.ZodLiteral<"incomplete">;
35
+ }, z.core.$strict>, z.ZodObject<{
36
+ status: z.ZodLiteral<"complete">;
37
+ }, z.core.$strict>]>;
38
+ /**
39
+ * MerchantBusinessSigningCertificate
40
+ *
41
+ * The certificate Timbro's custody holds for the Legal issuer.
42
+ */
43
+ export declare const zMerchantBusinessSigningCertificate: z.ZodUnion<readonly [z.ZodObject<{
44
+ status: z.ZodLiteral<"missing">;
45
+ }, z.core.$strict>, z.ZodObject<{
46
+ status: z.ZodLiteral<"active">;
47
+ sha256: z.ZodString;
48
+ signerSerialNumber: z.ZodString;
49
+ notBefore: z.ZodISODateTime;
50
+ notAfter: z.ZodISODateTime;
51
+ }, z.core.$strict>]>;
52
+ /**
53
+ * MerchantBusinessFiscalSetupAvailable
54
+ */
55
+ export declare const zMerchantBusinessFiscalSetupAvailable: z.ZodObject<{
56
+ status: z.ZodLiteral<"available">;
57
+ binding: z.ZodUnion<readonly [z.ZodObject<{
58
+ status: z.ZodLiteral<"unbound">;
59
+ }, z.core.$strict>, z.ZodObject<{
60
+ status: z.ZodLiteral<"provisioning">;
61
+ }, z.core.$strict>, z.ZodObject<{
62
+ status: z.ZodLiteral<"bound">;
63
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
64
+ }, z.core.$strict>, z.ZodObject<{
65
+ status: z.ZodLiteral<"failed">;
66
+ }, z.core.$strict>, z.ZodObject<{
67
+ status: z.ZodLiteral<"conflict">;
68
+ }, z.core.$strict>]>;
69
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
70
+ status: z.ZodLiteral<"missing">;
71
+ }, z.core.$strict>, z.ZodObject<{
72
+ status: z.ZodLiteral<"incomplete">;
73
+ }, z.core.$strict>, z.ZodObject<{
74
+ status: z.ZodLiteral<"complete">;
75
+ }, z.core.$strict>]>;
76
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
77
+ status: z.ZodLiteral<"missing">;
78
+ }, z.core.$strict>, z.ZodObject<{
79
+ status: z.ZodLiteral<"active">;
80
+ sha256: z.ZodString;
81
+ signerSerialNumber: z.ZodString;
82
+ notBefore: z.ZodISODateTime;
83
+ notAfter: z.ZodISODateTime;
84
+ }, z.core.$strict>]>;
85
+ testFiscalDocument: z.ZodUnion<readonly [z.ZodObject<{
86
+ status: z.ZodLiteral<"not_sent">;
87
+ }, z.core.$strict>, z.ZodObject<{
88
+ status: z.ZodLiteral<"processing">;
89
+ id: z.ZodString;
90
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ status: z.ZodLiteral<"accepted">;
93
+ id: z.ZodString;
94
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ status: z.ZodLiteral<"rejected">;
97
+ id: z.ZodString;
98
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
99
+ reason: z.ZodUnion<readonly [z.ZodLiteral<"timbro_rejected">, z.ZodLiteral<"authority_rejected">]>;
100
+ messages: z.ZodArray<z.ZodString>;
101
+ }, z.core.$strict>, z.ZodObject<{
102
+ status: z.ZodLiteral<"operator_required">;
103
+ id: z.ZodString;
104
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
105
+ }, z.core.$strict>]>;
106
+ }, z.core.$strict>;
107
+ /**
108
+ * MerchantBusinessFiscalSetup
109
+ *
110
+ * Timbro's view of electronic invoicing provisioning, or why it cannot be read.
111
+ */
112
+ export declare const zMerchantBusinessFiscalSetup: z.ZodUnion<readonly [z.ZodObject<{
113
+ status: z.ZodLiteral<"unavailable">;
114
+ cause: z.ZodLiteral<"timbro_unreachable">;
115
+ }, z.core.$strict>, z.ZodObject<{
116
+ status: z.ZodLiteral<"available">;
117
+ binding: z.ZodUnion<readonly [z.ZodObject<{
118
+ status: z.ZodLiteral<"unbound">;
119
+ }, z.core.$strict>, z.ZodObject<{
120
+ status: z.ZodLiteral<"provisioning">;
121
+ }, z.core.$strict>, z.ZodObject<{
122
+ status: z.ZodLiteral<"bound">;
123
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
124
+ }, z.core.$strict>, z.ZodObject<{
125
+ status: z.ZodLiteral<"failed">;
126
+ }, z.core.$strict>, z.ZodObject<{
127
+ status: z.ZodLiteral<"conflict">;
128
+ }, z.core.$strict>]>;
129
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
130
+ status: z.ZodLiteral<"missing">;
131
+ }, z.core.$strict>, z.ZodObject<{
132
+ status: z.ZodLiteral<"incomplete">;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ status: z.ZodLiteral<"complete">;
135
+ }, z.core.$strict>]>;
136
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
137
+ status: z.ZodLiteral<"missing">;
138
+ }, z.core.$strict>, z.ZodObject<{
139
+ status: z.ZodLiteral<"active">;
140
+ sha256: z.ZodString;
141
+ signerSerialNumber: z.ZodString;
142
+ notBefore: z.ZodISODateTime;
143
+ notAfter: z.ZodISODateTime;
144
+ }, z.core.$strict>]>;
145
+ testFiscalDocument: z.ZodUnion<readonly [z.ZodObject<{
146
+ status: z.ZodLiteral<"not_sent">;
147
+ }, z.core.$strict>, z.ZodObject<{
148
+ status: z.ZodLiteral<"processing">;
149
+ id: z.ZodString;
150
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
151
+ }, z.core.$strict>, z.ZodObject<{
152
+ status: z.ZodLiteral<"accepted">;
153
+ id: z.ZodString;
154
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
155
+ }, z.core.$strict>, z.ZodObject<{
156
+ status: z.ZodLiteral<"rejected">;
157
+ id: z.ZodString;
158
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
159
+ reason: z.ZodUnion<readonly [z.ZodLiteral<"timbro_rejected">, z.ZodLiteral<"authority_rejected">]>;
160
+ messages: z.ZodArray<z.ZodString>;
161
+ }, z.core.$strict>, z.ZodObject<{
162
+ status: z.ZodLiteral<"operator_required">;
163
+ id: z.ZodString;
164
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
165
+ }, z.core.$strict>]>;
166
+ }, z.core.$strict>]>;
167
+ /**
168
+ * MerchantBusinessLiveFiscalSetupAvailable
169
+ */
170
+ export declare const zMerchantBusinessLiveFiscalSetupAvailable: z.ZodObject<{
171
+ status: z.ZodLiteral<"available">;
172
+ binding: z.ZodUnion<readonly [z.ZodObject<{
173
+ status: z.ZodLiteral<"unbound">;
174
+ }, z.core.$strict>, z.ZodObject<{
175
+ status: z.ZodLiteral<"provisioning">;
176
+ }, z.core.$strict>, z.ZodObject<{
177
+ status: z.ZodLiteral<"bound">;
178
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
179
+ }, z.core.$strict>, z.ZodObject<{
180
+ status: z.ZodLiteral<"failed">;
181
+ }, z.core.$strict>, z.ZodObject<{
182
+ status: z.ZodLiteral<"conflict">;
183
+ }, z.core.$strict>]>;
184
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
185
+ status: z.ZodLiteral<"missing">;
186
+ }, z.core.$strict>, z.ZodObject<{
187
+ status: z.ZodLiteral<"incomplete">;
188
+ }, z.core.$strict>, z.ZodObject<{
189
+ status: z.ZodLiteral<"complete">;
190
+ }, z.core.$strict>]>;
191
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
192
+ status: z.ZodLiteral<"missing">;
193
+ }, z.core.$strict>, z.ZodObject<{
194
+ status: z.ZodLiteral<"active">;
195
+ sha256: z.ZodString;
196
+ signerSerialNumber: z.ZodString;
197
+ notBefore: z.ZodISODateTime;
198
+ notAfter: z.ZodISODateTime;
199
+ }, z.core.$strict>]>;
200
+ }, z.core.$strict>;
201
+ /**
202
+ * MerchantBusinessLiveFiscalSetup
203
+ *
204
+ * Production binding and custody facts. These do not establish DGII production qualification.
205
+ */
206
+ export declare const zMerchantBusinessLiveFiscalSetup: z.ZodUnion<readonly [z.ZodObject<{
207
+ status: z.ZodLiteral<"unavailable">;
208
+ cause: z.ZodLiteral<"timbro_unreachable">;
209
+ }, z.core.$strict>, z.ZodObject<{
210
+ status: z.ZodLiteral<"available">;
211
+ binding: z.ZodUnion<readonly [z.ZodObject<{
212
+ status: z.ZodLiteral<"unbound">;
213
+ }, z.core.$strict>, z.ZodObject<{
214
+ status: z.ZodLiteral<"provisioning">;
215
+ }, z.core.$strict>, z.ZodObject<{
216
+ status: z.ZodLiteral<"bound">;
217
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
218
+ }, z.core.$strict>, z.ZodObject<{
219
+ status: z.ZodLiteral<"failed">;
220
+ }, z.core.$strict>, z.ZodObject<{
221
+ status: z.ZodLiteral<"conflict">;
222
+ }, z.core.$strict>]>;
223
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
224
+ status: z.ZodLiteral<"missing">;
225
+ }, z.core.$strict>, z.ZodObject<{
226
+ status: z.ZodLiteral<"incomplete">;
227
+ }, z.core.$strict>, z.ZodObject<{
228
+ status: z.ZodLiteral<"complete">;
229
+ }, z.core.$strict>]>;
230
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
231
+ status: z.ZodLiteral<"missing">;
232
+ }, z.core.$strict>, z.ZodObject<{
233
+ status: z.ZodLiteral<"active">;
234
+ sha256: z.ZodString;
235
+ signerSerialNumber: z.ZodString;
236
+ notBefore: z.ZodISODateTime;
237
+ notAfter: z.ZodISODateTime;
238
+ }, z.core.$strict>]>;
239
+ }, z.core.$strict>]>;
240
+ /**
241
+ * Problem
242
+ *
243
+ * RFC 9457 problem details. Every failure of this API is one of these, and each operation narrows `code` to the subset it can emit.
244
+ */
245
+ export declare const zProblem: z.ZodObject<{
246
+ code: z.ZodEnum<{
247
+ affected_fiscal_operation_unsupported: "affected_fiscal_operation_unsupported";
248
+ agent_client_not_found: "agent_client_not_found";
249
+ already_a_member: "already_a_member";
250
+ amount_above_maximum: "amount_above_maximum";
251
+ amount_below_minimum: "amount_below_minimum";
252
+ api_key_invalid: "api_key_invalid";
253
+ api_key_missing: "api_key_missing";
254
+ api_key_not_found: "api_key_not_found";
255
+ api_key_retired: "api_key_retired";
256
+ authority_rejected_replacement: "authority_rejected_replacement";
257
+ certificate_custody_binding_conflict: "certificate_custody_binding_conflict";
258
+ certificate_custody_binding_not_found: "certificate_custody_binding_not_found";
259
+ certificate_custody_certificate_version_not_active: "certificate_custody_certificate_version_not_active";
260
+ certificate_handoff_expired: "certificate_handoff_expired";
261
+ certificate_handoff_not_found: "certificate_handoff_not_found";
262
+ certificate_handoff_person_mismatch: "certificate_handoff_person_mismatch";
263
+ certificate_handoff_used: "certificate_handoff_used";
264
+ certificate_not_supported: "certificate_not_supported";
265
+ certificate_p12_password_invalid: "certificate_p12_password_invalid";
266
+ certificate_pkcs12_invalid: "certificate_pkcs12_invalid";
267
+ checkout_reference_expired: "checkout_reference_expired";
268
+ checkout_reference_invalid: "checkout_reference_invalid";
269
+ checkout_token_expired: "checkout_token_expired";
270
+ checkout_token_invalid: "checkout_token_invalid";
271
+ checkout_window_closed: "checkout_window_closed";
272
+ collection_cursor_invalid: "collection_cursor_invalid";
273
+ commercial_response_decision_conflict: "commercial_response_decision_conflict";
274
+ commercial_response_motive_invalid: "commercial_response_motive_invalid";
275
+ connected_agent_not_found: "connected_agent_not_found";
276
+ contact_request_delivery_unavailable: "contact_request_delivery_unavailable";
277
+ correction_target_unsettled: "correction_target_unsettled";
278
+ credential_revoked: "credential_revoked";
279
+ credential_storage_unavailable: "credential_storage_unavailable";
280
+ currency_not_supported: "currency_not_supported";
281
+ currency_not_supported_by_provider: "currency_not_supported_by_provider";
282
+ currency_not_supported_for_fiscal_document: "currency_not_supported_for_fiscal_document";
283
+ custody_certificate_chain_untrusted: "custody_certificate_chain_untrusted";
284
+ custody_certificate_expired: "custody_certificate_expired";
285
+ custody_certificate_malformed: "custody_certificate_malformed";
286
+ custody_certificate_not_yet_valid: "custody_certificate_not_yet_valid";
287
+ custody_certificate_purpose_unsupported: "custody_certificate_purpose_unsupported";
288
+ custody_certificate_trust_profile_unsupported: "custody_certificate_trust_profile_unsupported";
289
+ custody_p12_work_limit_exceeded: "custody_p12_work_limit_exceeded";
290
+ custody_signature_algorithm_unsupported: "custody_signature_algorithm_unsupported";
291
+ custody_unavailable: "custody_unavailable";
292
+ decline_not_retryable: "decline_not_retryable";
293
+ delegated_authorization_verifier_forbidden: "delegated_authorization_verifier_forbidden";
294
+ document_type_not_enabled: "document_type_not_enabled";
295
+ email_already_registered: "email_already_registered";
296
+ environment_not_active: "environment_not_active";
297
+ fiscal_artifact_not_found: "fiscal_artifact_not_found";
298
+ fiscal_artifact_not_ready: "fiscal_artifact_not_ready";
299
+ fiscal_artifact_retrieval_unavailable: "fiscal_artifact_retrieval_unavailable";
300
+ fiscal_artifact_unavailable: "fiscal_artifact_unavailable";
301
+ fiscal_artifact_unverified: "fiscal_artifact_unverified";
302
+ fiscal_buyer_required: "fiscal_buyer_required";
303
+ fiscal_buyer_tax_id_invalid: "fiscal_buyer_tax_id_invalid";
304
+ fiscal_delivery_not_found: "fiscal_delivery_not_found";
305
+ fiscal_delivery_not_ready: "fiscal_delivery_not_ready";
306
+ fiscal_delivery_outcome_conflict: "fiscal_delivery_outcome_conflict";
307
+ fiscal_delivery_unavailable: "fiscal_delivery_unavailable";
308
+ fiscal_document_kind_not_allowed: "fiscal_document_kind_not_allowed";
309
+ fiscal_document_kind_unsupported: "fiscal_document_kind_unsupported";
310
+ fiscal_document_not_found: "fiscal_document_not_found";
311
+ fiscal_government_eligibility_not_allowed: "fiscal_government_eligibility_not_allowed";
312
+ fiscal_government_eligibility_required: "fiscal_government_eligibility_required";
313
+ fiscal_intent_rejected: "fiscal_intent_rejected";
314
+ fiscal_issuance_blocked: "fiscal_issuance_blocked";
315
+ fiscal_line_legal_tip_invalid: "fiscal_line_legal_tip_invalid";
316
+ fiscal_line_total_invalid: "fiscal_line_total_invalid";
317
+ fiscal_lines_required: "fiscal_lines_required";
318
+ fiscal_number_already_used: "fiscal_number_already_used";
319
+ fiscal_number_authorization_changed: "fiscal_number_authorization_changed";
320
+ fiscal_number_authorization_source_record_conflict: "fiscal_number_authorization_source_record_conflict";
321
+ fiscal_operation_not_found: "fiscal_operation_not_found";
322
+ fiscal_total_mismatch: "fiscal_total_mismatch";
323
+ hosted_tenant_conflict: "hosted_tenant_conflict";
324
+ idempotency_key_conflict: "idempotency_key_conflict";
325
+ idempotency_key_expired: "idempotency_key_expired";
326
+ idempotency_key_reused: "idempotency_key_reused";
327
+ idempotency_request_in_progress: "idempotency_request_in_progress";
328
+ insufficient_role: "insufficient_role";
329
+ internal_error: "internal_error";
330
+ invalid_certificate_custody_signer_identity: "invalid_certificate_custody_signer_identity";
331
+ invalid_collection_cursor: "invalid_collection_cursor";
332
+ invalid_collection_query: "invalid_collection_query";
333
+ invalid_credential: "invalid_credential";
334
+ invalid_fiscal_identity: "invalid_fiscal_identity";
335
+ invalid_idempotency_key: "invalid_idempotency_key";
336
+ invalid_login: "invalid_login";
337
+ invalid_replay_scope: "invalid_replay_scope";
338
+ invalid_request: "invalid_request";
339
+ invitation_expired: "invitation_expired";
340
+ invitation_invalid: "invitation_invalid";
341
+ invoice_delivery_not_permitted: "invoice_delivery_not_permitted";
342
+ invoice_not_found: "invoice_not_found";
343
+ invoice_receipt_not_found: "invoice_receipt_not_found";
344
+ invoice_receipt_not_ready: "invoice_receipt_not_ready";
345
+ invoice_receipt_unavailable: "invoice_receipt_unavailable";
346
+ invoice_reference_conflict: "invoice_reference_conflict";
347
+ invoice_reference_stale: "invoice_reference_stale";
348
+ invoice_totals_mismatch: "invoice_totals_mismatch";
349
+ invoicing_locked: "invoicing_locked";
350
+ issuer_not_authorized: "issuer_not_authorized";
351
+ journey_marks_unavailable: "journey_marks_unavailable";
352
+ journey_report_timeout: "journey_report_timeout";
353
+ journey_scope_mismatch: "journey_scope_mismatch";
354
+ legal_issuer_already_registered: "legal_issuer_already_registered";
355
+ legal_issuer_not_found: "legal_issuer_not_found";
356
+ legal_issuer_profile_incomplete: "legal_issuer_profile_incomplete";
357
+ live_mode_not_enabled: "live_mode_not_enabled";
358
+ malformed_json: "malformed_json";
359
+ merchant_account_card_capability_not_found: "merchant_account_card_capability_not_found";
360
+ merchant_account_identity_mismatch: "merchant_account_identity_mismatch";
361
+ merchant_account_not_found: "merchant_account_not_found";
362
+ merchant_account_not_ready: "merchant_account_not_ready";
363
+ merchant_account_provider_mismatch: "merchant_account_provider_mismatch";
364
+ merchant_authentication_unavailable: "merchant_authentication_unavailable";
365
+ merchant_business_address_required: "merchant_business_address_required";
366
+ merchant_business_already_claimed: "merchant_business_already_claimed";
367
+ merchant_business_attachment_conflict: "merchant_business_attachment_conflict";
368
+ merchant_business_capabilities_required: "merchant_business_capabilities_required";
369
+ merchant_business_contact_required: "merchant_business_contact_required";
370
+ merchant_business_details_invalid: "merchant_business_details_invalid";
371
+ merchant_business_identity_required: "merchant_business_identity_required";
372
+ merchant_business_location_official_codes_required: "merchant_business_location_official_codes_required";
373
+ merchant_business_not_found: "merchant_business_not_found";
374
+ merchant_business_not_member: "merchant_business_not_member";
375
+ merchant_business_revision_conflict: "merchant_business_revision_conflict";
376
+ merchant_business_type_not_applicable: "merchant_business_type_not_applicable";
377
+ merchant_certificate_conflict: "merchant_certificate_conflict";
378
+ merchant_charge_timing_not_applicable: "merchant_charge_timing_not_applicable";
379
+ merchant_charge_timing_required: "merchant_charge_timing_required";
380
+ merchant_checkout_policy_invalid: "merchant_checkout_policy_invalid";
381
+ merchant_checkout_policy_revision_conflict: "merchant_checkout_policy_revision_conflict";
382
+ merchant_contact_email_confirmation_required: "merchant_contact_email_confirmation_required";
383
+ merchant_current_payment_methods_required: "merchant_current_payment_methods_required";
384
+ merchant_current_sales_channels_required: "merchant_current_sales_channels_required";
385
+ merchant_dgii_assistance_not_applicable: "merchant_dgii_assistance_not_applicable";
386
+ merchant_dgii_assistance_notes_invalid: "merchant_dgii_assistance_notes_invalid";
387
+ merchant_existing_card_service_not_applicable: "merchant_existing_card_service_not_applicable";
388
+ merchant_existing_card_service_other_provider_name_invalid: "merchant_existing_card_service_other_provider_name_invalid";
389
+ merchant_existing_card_service_other_provider_name_not_allowed: "merchant_existing_card_service_other_provider_name_not_allowed";
390
+ merchant_existing_card_service_other_provider_name_required: "merchant_existing_card_service_other_provider_name_required";
391
+ merchant_existing_card_service_providers_exclusive_choice: "merchant_existing_card_service_providers_exclusive_choice";
392
+ merchant_existing_card_service_providers_required: "merchant_existing_card_service_providers_required";
393
+ merchant_existing_card_service_required: "merchant_existing_card_service_required";
394
+ merchant_fiscal_binding_conflict: "merchant_fiscal_binding_conflict";
395
+ merchant_fiscal_binding_unavailable: "merchant_fiscal_binding_unavailable";
396
+ merchant_fiscal_setup_incomplete: "merchant_fiscal_setup_incomplete";
397
+ merchant_fiscal_setup_unavailable: "merchant_fiscal_setup_unavailable";
398
+ merchant_guest_notice_acceptance_required: "merchant_guest_notice_acceptance_required";
399
+ merchant_location_catalog_changed: "merchant_location_catalog_changed";
400
+ merchant_location_catalog_unavailable: "merchant_location_catalog_unavailable";
401
+ merchant_location_selection_invalid: "merchant_location_selection_invalid";
402
+ merchant_onboarding_revision_conflict: "merchant_onboarding_revision_conflict";
403
+ merchant_payment_methods_exclusive_choice: "merchant_payment_methods_exclusive_choice";
404
+ merchant_payment_methods_not_applicable: "merchant_payment_methods_not_applicable";
405
+ merchant_payment_setup_assessment_incomplete: "merchant_payment_setup_assessment_incomplete";
406
+ merchant_payments_api_paused: "merchant_payments_api_paused";
407
+ merchant_profile_incomplete: "merchant_profile_incomplete";
408
+ merchant_sales_channels_exclusive_choice: "merchant_sales_channels_exclusive_choice";
409
+ merchant_sales_channels_not_applicable: "merchant_sales_channels_not_applicable";
410
+ merchant_service_scope_required: "merchant_service_scope_required";
411
+ merchant_session_missing: "merchant_session_missing";
412
+ merchant_test_fiscal_document_blocked: "merchant_test_fiscal_document_blocked";
413
+ merchant_workspace_organization_required: "merchant_workspace_organization_required";
414
+ method_not_allowed: "method_not_allowed";
415
+ missing_idempotency_key: "missing_idempotency_key";
416
+ no_eligible_provider: "no_eligible_provider";
417
+ onboarding_legal_issuer_identity_conflict: "onboarding_legal_issuer_identity_conflict";
418
+ operation_not_permitted: "operation_not_permitted";
419
+ organization_not_found: "organization_not_found";
420
+ organization_slug_taken: "organization_slug_taken";
421
+ origin_not_allowed: "origin_not_allowed";
422
+ parameter_invalid: "parameter_invalid";
423
+ parameter_missing: "parameter_missing";
424
+ payer_claim_conflict: "payer_claim_conflict";
425
+ payer_claim_proof_invalid: "payer_claim_proof_invalid";
426
+ payer_claim_unavailable: "payer_claim_unavailable";
427
+ payer_credential_not_found: "payer_credential_not_found";
428
+ payer_delivery_address_unavailable: "payer_delivery_address_unavailable";
429
+ payer_enrollment_unavailable: "payer_enrollment_unavailable";
430
+ payer_fiscal_profile_invalid: "payer_fiscal_profile_invalid";
431
+ payer_fiscal_profile_not_found: "payer_fiscal_profile_not_found";
432
+ payer_fiscal_profile_unavailable: "payer_fiscal_profile_unavailable";
433
+ payer_not_found: "payer_not_found";
434
+ payer_purchase_not_found: "payer_purchase_not_found";
435
+ payer_session_missing: "payer_session_missing";
436
+ payer_step_up_required: "payer_step_up_required";
437
+ payment_attempt_invalid: "payment_attempt_invalid";
438
+ payment_attempt_mismatch: "payment_attempt_mismatch";
439
+ payment_attempt_stale: "payment_attempt_stale";
440
+ payment_awaiting_verification: "payment_awaiting_verification";
441
+ payment_cancel_not_allowed: "payment_cancel_not_allowed";
442
+ payment_cancellation_pending: "payment_cancellation_pending";
443
+ payment_description_required: "payment_description_required";
444
+ payment_invoice_item_fields_required: "payment_invoice_item_fields_required";
445
+ payment_invoice_not_allowed: "payment_invoice_not_allowed";
446
+ payment_invoice_not_ready: "payment_invoice_not_ready";
447
+ payment_items_invalid: "payment_items_invalid";
448
+ payment_method_already_in_progress: "payment_method_already_in_progress";
449
+ payment_method_mismatch: "payment_method_mismatch";
450
+ payment_not_editable: "payment_not_editable";
451
+ payment_not_found: "payment_not_found";
452
+ payment_not_payable: "payment_not_payable";
453
+ payment_part_not_found: "payment_part_not_found";
454
+ payment_part_not_payable: "payment_part_not_payable";
455
+ payment_reference_conflict: "payment_reference_conflict";
456
+ payment_reference_invalid: "payment_reference_invalid";
457
+ payment_split_complete: "payment_split_complete";
458
+ payment_split_exists: "payment_split_exists";
459
+ payment_split_invalid: "payment_split_invalid";
460
+ payment_split_locked: "payment_split_locked";
461
+ payment_split_not_allowed: "payment_split_not_allowed";
462
+ payment_split_not_capturable: "payment_split_not_capturable";
463
+ payment_split_not_expired: "payment_split_not_expired";
464
+ payment_split_not_found: "payment_split_not_found";
465
+ payment_split_not_renewable: "payment_split_not_renewable";
466
+ payment_split_part_required: "payment_split_part_required";
467
+ payment_tax_invalid: "payment_tax_invalid";
468
+ payment_tax_required: "payment_tax_required";
469
+ payment_totals_mismatch: "payment_totals_mismatch";
470
+ payments_contract_migration_required: "payments_contract_migration_required";
471
+ platform_test_profile_unavailable: "platform_test_profile_unavailable";
472
+ printed_representation_profile_conflict: "printed_representation_profile_conflict";
473
+ provider_not_available: "provider_not_available";
474
+ provider_not_eligible: "provider_not_eligible";
475
+ provider_rejected_request: "provider_rejected_request";
476
+ provider_response_invalid: "provider_response_invalid";
477
+ provider_unavailable: "provider_unavailable";
478
+ rate_limit_exceeded: "rate_limit_exceeded";
479
+ receipt_retention_elapsed: "receipt_retention_elapsed";
480
+ received_document_not_found: "received_document_not_found";
481
+ refund_allocation_conflict: "refund_allocation_conflict";
482
+ refund_allocation_ledger_unavailable: "refund_allocation_ledger_unavailable";
483
+ refund_allocation_not_found: "refund_allocation_not_found";
484
+ refund_already_exists: "refund_already_exists";
485
+ refund_amount_invalid: "refund_amount_invalid";
486
+ refund_credentials_unavailable: "refund_credentials_unavailable";
487
+ refund_currency_mismatch: "refund_currency_mismatch";
488
+ refund_exceeds_captured: "refund_exceeds_captured";
489
+ refund_invoice_conflict: "refund_invoice_conflict";
490
+ refund_invoice_mismatch: "refund_invoice_mismatch";
491
+ refund_invoice_not_accepted: "refund_invoice_not_accepted";
492
+ refund_invoice_not_ready: "refund_invoice_not_ready";
493
+ refund_not_allowed: "refund_not_allowed";
494
+ refund_not_found: "refund_not_found";
495
+ refund_payment_not_captured: "refund_payment_not_captured";
496
+ refund_provider_reference_unavailable: "refund_provider_reference_unavailable";
497
+ refund_provider_unavailable: "refund_provider_unavailable";
498
+ refund_reference_conflict: "refund_reference_conflict";
499
+ refund_reference_invalid: "refund_reference_invalid";
500
+ refund_source_identity_conflict: "refund_source_identity_conflict";
501
+ refund_tip_allocation_unknown: "refund_tip_allocation_unknown";
502
+ refund_tip_amount_invalid: "refund_tip_amount_invalid";
503
+ request_body_malformed: "request_body_malformed";
504
+ request_body_timeout: "request_body_timeout";
505
+ request_body_too_large: "request_body_too_large";
506
+ request_too_large: "request_too_large";
507
+ route_not_found: "route_not_found";
508
+ sale_amount_invalid: "sale_amount_invalid";
509
+ saved_card_not_found: "saved_card_not_found";
510
+ service_role_not_permitted: "service_role_not_permitted";
511
+ signed_document_schema_invalid: "signed_document_schema_invalid";
512
+ source_action_conflict: "source_action_conflict";
513
+ source_command_conflict: "source_command_conflict";
514
+ source_connection_activation_conflict: "source_connection_activation_conflict";
515
+ source_connection_activation_verification_rejected: "source_connection_activation_verification_rejected";
516
+ source_connection_creation_conflict: "source_connection_creation_conflict";
517
+ source_connection_not_connected: "source_connection_not_connected";
518
+ source_connection_not_found: "source_connection_not_found";
519
+ source_content_conflict: "source_content_conflict";
520
+ source_history_requires_reconciliation: "source_history_requires_reconciliation";
521
+ source_identity_conflict: "source_identity_conflict";
522
+ source_operation_pending: "source_operation_pending";
523
+ source_outcome_unknown: "source_outcome_unknown";
524
+ source_predecessor_conflict: "source_predecessor_conflict";
525
+ source_provider_authorization_conflict: "source_provider_authorization_conflict";
526
+ source_provider_authorization_not_found: "source_provider_authorization_not_found";
527
+ source_provider_authorization_required: "source_provider_authorization_required";
528
+ source_provider_installation_callback_replayed: "source_provider_installation_callback_replayed";
529
+ source_provider_installation_disabled: "source_provider_installation_disabled";
530
+ source_provider_installation_removed: "source_provider_installation_removed";
531
+ source_provider_installation_request_expired: "source_provider_installation_request_expired";
532
+ source_provider_installation_request_invalid: "source_provider_installation_request_invalid";
533
+ source_provider_outcome_unknown: "source_provider_outcome_unknown";
534
+ source_provider_scope_insufficient: "source_provider_scope_insufficient";
535
+ source_provider_target_access_removed: "source_provider_target_access_removed";
536
+ source_provider_throttled: "source_provider_throttled";
537
+ source_provider_unavailable: "source_provider_unavailable";
538
+ source_record_already_fiscalized: "source_record_already_fiscalized";
539
+ source_version_stale: "source_version_stale";
540
+ submission_token_expired: "submission_token_expired";
541
+ submission_token_invalid: "submission_token_invalid";
542
+ taxpayer_directory_unavailable: "taxpayer_directory_unavailable";
543
+ taxpayer_inactive: "taxpayer_inactive";
544
+ taxpayer_unregistered: "taxpayer_unregistered";
545
+ three_ds_binding_mismatch: "three_ds_binding_mismatch";
546
+ three_ds_not_found: "three_ds_not_found";
547
+ unauthenticated: "unauthenticated";
548
+ unsigned_document_schema_invalid: "unsigned_document_schema_invalid";
549
+ unsupported_media_type: "unsupported_media_type";
550
+ unsupported_printed_representation_profile: "unsupported_printed_representation_profile";
551
+ voluntary_tip_currency_mismatch: "voluntary_tip_currency_mismatch";
552
+ voluntary_tip_exceeds_maximum: "voluntary_tip_exceeds_maximum";
553
+ voluntary_tip_not_allowed_for_split: "voluntary_tip_not_allowed_for_split";
554
+ voluntary_tip_not_available: "voluntary_tip_not_available";
555
+ webhook_destination_not_allowed: "webhook_destination_not_allowed";
556
+ webhook_endpoint_deleted: "webhook_endpoint_deleted";
557
+ webhook_endpoint_not_found: "webhook_endpoint_not_found";
558
+ webhook_endpoint_registration_conflict: "webhook_endpoint_registration_conflict";
559
+ webhook_endpoint_suspended: "webhook_endpoint_suspended";
560
+ webhook_event_not_found: "webhook_event_not_found";
561
+ webhook_replay_scope_invalid: "webhook_replay_scope_invalid";
562
+ }>;
563
+ detail: z.ZodOptional<z.ZodString>;
564
+ invoiceId: z.ZodOptional<z.ZodString>;
565
+ issuanceBlockers: z.ZodOptional<z.ZodArray<z.ZodEnum<{
566
+ authorization_cancelled: "authorization_cancelled";
567
+ authorization_conflicting: "authorization_conflicting";
568
+ authorization_document_type_mismatch: "authorization_document_type_mismatch";
569
+ authorization_exhausted: "authorization_exhausted";
570
+ authorization_expired: "authorization_expired";
571
+ authorization_missing: "authorization_missing";
572
+ authorization_not_observed_on_effective_date: "authorization_not_observed_on_effective_date";
573
+ authorization_range_overlap: "authorization_range_overlap";
574
+ authorization_superseded: "authorization_superseded";
575
+ authorization_suspended: "authorization_suspended";
576
+ central_assignment_requires_verified_authorization: "central_assignment_requires_verified_authorization";
577
+ document_type_not_recognized: "document_type_not_recognized";
578
+ fiscal_number_before_verified_floor: "fiscal_number_before_verified_floor";
579
+ fiscal_number_capacity_exhausted: "fiscal_number_capacity_exhausted";
580
+ fiscal_number_outside_authorized_range: "fiscal_number_outside_authorized_range";
581
+ invalid_fiscal_number: "invalid_fiscal_number";
582
+ invalid_request: "invalid_request";
583
+ invalid_resolved_facts: "invalid_resolved_facts";
584
+ numbering_mode_not_enabled: "numbering_mode_not_enabled";
585
+ numbering_verifier_missing: "numbering_verifier_missing";
586
+ sequence_expiration_mismatch: "sequence_expiration_mismatch";
587
+ unsupported_protocol: "unsupported_protocol";
588
+ unsupported_rules_version: "unsupported_rules_version";
589
+ }>>>;
590
+ problems: z.ZodOptional<z.ZodArray<z.ZodObject<{
591
+ code: z.ZodString;
592
+ message: z.ZodString;
593
+ path: z.ZodString;
594
+ }, z.core.$strict>>>;
595
+ requestId: z.ZodString;
596
+ status: z.ZodInt;
597
+ title: z.ZodString;
598
+ type: z.ZodEnum<{
599
+ "about:blank": "about:blank";
600
+ }>;
601
+ }, z.core.$strict>;
602
+ /**
603
+ * MerchantBusiness
604
+ *
605
+ * The business the credential selects, its capabilities, and the requirements that remain.
606
+ */
607
+ export declare const zRetrieveBusinessResponse: z.ZodObject<{
608
+ object: z.ZodLiteral<"merchant_business">;
609
+ id: z.ZodString;
610
+ rnc: z.ZodString;
611
+ legalName: z.ZodString;
612
+ revision: z.ZodInt;
613
+ capabilities: z.ZodObject<{
614
+ payments: z.ZodObject<{
615
+ requested: z.ZodBoolean;
616
+ test: z.ZodObject<{
617
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
618
+ }, z.core.$strict>;
619
+ live: z.ZodObject<{
620
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
621
+ }, z.core.$strict>;
622
+ }, z.core.$strict>;
623
+ invoices: z.ZodObject<{
624
+ requested: z.ZodBoolean;
625
+ test: z.ZodObject<{
626
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
627
+ }, z.core.$strict>;
628
+ live: z.ZodObject<{
629
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
630
+ }, z.core.$strict>;
631
+ }, z.core.$strict>;
632
+ }, z.core.$strict>;
633
+ fiscalDetails: z.ZodObject<{
634
+ commercialName: z.ZodNullable<z.ZodString>;
635
+ address: z.ZodNullable<z.ZodString>;
636
+ location: z.ZodNullable<z.ZodObject<{
637
+ placeId: z.ZodString;
638
+ catalogReleaseId: z.ZodString;
639
+ municipalityCode: z.ZodNullable<z.ZodString>;
640
+ name: z.ZodString;
641
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
642
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
643
+ ancestors: z.ZodArray<z.ZodObject<{
644
+ placeId: z.ZodString;
645
+ name: z.ZodString;
646
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
647
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
648
+ }, z.core.$strict>>;
649
+ }, z.core.$strict>>;
650
+ phone: z.ZodNullable<z.ZodString>;
651
+ email: z.ZodNullable<z.ZodString>;
652
+ defaultIncomeType: z.ZodNullable<z.ZodString>;
653
+ }, z.core.$strict>;
654
+ paymentsProfile: z.ZodNullable<z.ZodObject<{
655
+ displayName: z.ZodString;
656
+ statementDescriptor: z.ZodString;
657
+ permanentAddress: z.ZodObject<{
658
+ line1: z.ZodString;
659
+ line2: z.ZodOptional<z.ZodString>;
660
+ city: z.ZodString;
661
+ province: z.ZodOptional<z.ZodString>;
662
+ postalCode: z.ZodOptional<z.ZodString>;
663
+ countryCode: z.ZodString;
664
+ }, z.core.$strict>;
665
+ supportEmail: z.ZodEmail;
666
+ supportPhone: z.ZodString;
667
+ deliveryPolicy: z.ZodUnion<readonly [z.ZodObject<{
668
+ kind: z.ZodLiteral<"not_offered">;
669
+ }, z.core.$strict>, z.ZodObject<{
670
+ kind: z.ZodLiteral<"merchant_managed">;
671
+ summary: z.ZodString;
672
+ url: z.ZodOptional<z.ZodURL>;
673
+ }, z.core.$strict>]>;
674
+ }, z.core.$strict>>;
675
+ invoicing: z.ZodObject<{
676
+ test: z.ZodUnion<readonly [z.ZodObject<{
677
+ status: z.ZodLiteral<"unavailable">;
678
+ cause: z.ZodLiteral<"timbro_unreachable">;
679
+ }, z.core.$strict>, z.ZodObject<{
680
+ status: z.ZodLiteral<"available">;
681
+ binding: z.ZodUnion<readonly [z.ZodObject<{
682
+ status: z.ZodLiteral<"unbound">;
683
+ }, z.core.$strict>, z.ZodObject<{
684
+ status: z.ZodLiteral<"provisioning">;
685
+ }, z.core.$strict>, z.ZodObject<{
686
+ status: z.ZodLiteral<"bound">;
687
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
688
+ }, z.core.$strict>, z.ZodObject<{
689
+ status: z.ZodLiteral<"failed">;
690
+ }, z.core.$strict>, z.ZodObject<{
691
+ status: z.ZodLiteral<"conflict">;
692
+ }, z.core.$strict>]>;
693
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
694
+ status: z.ZodLiteral<"missing">;
695
+ }, z.core.$strict>, z.ZodObject<{
696
+ status: z.ZodLiteral<"incomplete">;
697
+ }, z.core.$strict>, z.ZodObject<{
698
+ status: z.ZodLiteral<"complete">;
699
+ }, z.core.$strict>]>;
700
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
701
+ status: z.ZodLiteral<"missing">;
702
+ }, z.core.$strict>, z.ZodObject<{
703
+ status: z.ZodLiteral<"active">;
704
+ sha256: z.ZodString;
705
+ signerSerialNumber: z.ZodString;
706
+ notBefore: z.ZodISODateTime;
707
+ notAfter: z.ZodISODateTime;
708
+ }, z.core.$strict>]>;
709
+ testFiscalDocument: z.ZodUnion<readonly [z.ZodObject<{
710
+ status: z.ZodLiteral<"not_sent">;
711
+ }, z.core.$strict>, z.ZodObject<{
712
+ status: z.ZodLiteral<"processing">;
713
+ id: z.ZodString;
714
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
715
+ }, z.core.$strict>, z.ZodObject<{
716
+ status: z.ZodLiteral<"accepted">;
717
+ id: z.ZodString;
718
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
719
+ }, z.core.$strict>, z.ZodObject<{
720
+ status: z.ZodLiteral<"rejected">;
721
+ id: z.ZodString;
722
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
723
+ reason: z.ZodUnion<readonly [z.ZodLiteral<"timbro_rejected">, z.ZodLiteral<"authority_rejected">]>;
724
+ messages: z.ZodArray<z.ZodString>;
725
+ }, z.core.$strict>, z.ZodObject<{
726
+ status: z.ZodLiteral<"operator_required">;
727
+ id: z.ZodString;
728
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
729
+ }, z.core.$strict>]>;
730
+ }, z.core.$strict>]>;
731
+ live: z.ZodUnion<readonly [z.ZodObject<{
732
+ status: z.ZodLiteral<"unavailable">;
733
+ cause: z.ZodLiteral<"timbro_unreachable">;
734
+ }, z.core.$strict>, z.ZodObject<{
735
+ status: z.ZodLiteral<"available">;
736
+ binding: z.ZodUnion<readonly [z.ZodObject<{
737
+ status: z.ZodLiteral<"unbound">;
738
+ }, z.core.$strict>, z.ZodObject<{
739
+ status: z.ZodLiteral<"provisioning">;
740
+ }, z.core.$strict>, z.ZodObject<{
741
+ status: z.ZodLiteral<"bound">;
742
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
743
+ }, z.core.$strict>, z.ZodObject<{
744
+ status: z.ZodLiteral<"failed">;
745
+ }, z.core.$strict>, z.ZodObject<{
746
+ status: z.ZodLiteral<"conflict">;
747
+ }, z.core.$strict>]>;
748
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
749
+ status: z.ZodLiteral<"missing">;
750
+ }, z.core.$strict>, z.ZodObject<{
751
+ status: z.ZodLiteral<"incomplete">;
752
+ }, z.core.$strict>, z.ZodObject<{
753
+ status: z.ZodLiteral<"complete">;
754
+ }, z.core.$strict>]>;
755
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
756
+ status: z.ZodLiteral<"missing">;
757
+ }, z.core.$strict>, z.ZodObject<{
758
+ status: z.ZodLiteral<"active">;
759
+ sha256: z.ZodString;
760
+ signerSerialNumber: z.ZodString;
761
+ notBefore: z.ZodISODateTime;
762
+ notAfter: z.ZodISODateTime;
763
+ }, z.core.$strict>]>;
764
+ }, z.core.$strict>]>;
765
+ }, z.core.$strict>;
766
+ requirements: z.ZodArray<z.ZodObject<{
767
+ code: z.ZodUnion<readonly [z.ZodLiteral<"capabilities_required">, z.ZodLiteral<"commercial_name_required">, z.ZodLiteral<"address_required">, z.ZodLiteral<"location_required">, z.ZodLiteral<"phone_required">, z.ZodLiteral<"default_income_type_required">, z.ZodLiteral<"contact_email_verification_required">, z.ZodLiteral<"fiscal_details_rejected">, z.ZodLiteral<"taxpayer_registration_required">, z.ZodLiteral<"signing_certificate_required">, z.ZodLiteral<"signing_certificate_expiring">, z.ZodLiteral<"test_fiscal_document_rejected">, z.ZodLiteral<"test_fiscal_document_pending">, z.ZodLiteral<"test_fiscal_document_send_pending">, z.ZodLiteral<"fiscal_binding_pending">, z.ZodLiteral<"legal_issuer_sync_pending">, z.ZodLiteral<"fiscal_setup_unavailable">, z.ZodLiteral<"fiscal_binding_conflict">, z.ZodLiteral<"fiscal_issuer_rejected">, z.ZodLiteral<"test_fiscal_document_operator_required">, z.ZodLiteral<"payments_profile_required">, z.ZodLiteral<"test_payments_unavailable">, z.ZodLiteral<"merchant_account_required">, z.ZodLiteral<"merchant_account_disabled">, z.ZodLiteral<"active_credential_required">, z.ZodLiteral<"credential_material_invalid">, z.ZodLiteral<"test_live_mode_mismatch">, z.ZodLiteral<"callback_configuration_failed">, z.ZodLiteral<"callback_configuration_required">, z.ZodLiteral<"connectivity_check_failed">, z.ZodLiteral<"connectivity_check_required">, z.ZodLiteral<"provider_qualification_failed">, z.ZodLiteral<"provider_qualification_required">, z.ZodLiteral<"provider_adapter_unavailable">]>;
768
+ owner: z.ZodUnion<readonly [z.ZodLiteral<"merchant">, z.ZodLiteral<"dgii">, z.ZodLiteral<"timbro">, z.ZodLiteral<"provider">, z.ZodLiteral<"operator">]>;
769
+ blocks: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"payments">, z.ZodLiteral<"invoices">]>>;
770
+ mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>>;
771
+ field: z.ZodOptional<z.ZodString>;
772
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
773
+ code: z.ZodString;
774
+ message: z.ZodString;
775
+ }, z.core.$strict>>>;
776
+ }, z.core.$strict>>;
777
+ onboardingUrl: z.ZodURL;
778
+ }, z.core.$strict>;
779
+ /**
780
+ * MerchantBusinessUpdateRequest
781
+ *
782
+ * Each member the request carries replaces that member of the business.
783
+ */
784
+ export declare const zUpdateBusinessBody: z.ZodObject<{
785
+ expectedRevision: z.ZodOptional<z.ZodInt>;
786
+ capabilities: z.ZodOptional<z.ZodObject<{
787
+ payments: z.ZodOptional<z.ZodObject<{
788
+ requested: z.ZodBoolean;
789
+ }, z.core.$strict>>;
790
+ invoices: z.ZodOptional<z.ZodObject<{
791
+ requested: z.ZodBoolean;
792
+ }, z.core.$strict>>;
793
+ }, z.core.$strict>>;
794
+ fiscalDetails: z.ZodOptional<z.ZodObject<{
795
+ commercialName: z.ZodOptional<z.ZodString>;
796
+ address: z.ZodOptional<z.ZodString>;
797
+ location: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
798
+ placeId: z.ZodString;
799
+ catalogReleaseId: z.ZodString;
800
+ }, z.core.$strict>, z.ZodObject<{
801
+ municipalityCode: z.ZodString;
802
+ }, z.core.$strict>]>>;
803
+ phone: z.ZodOptional<z.ZodString>;
804
+ defaultIncomeType: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"01">, z.ZodLiteral<"02">, z.ZodLiteral<"03">, z.ZodLiteral<"04">, z.ZodLiteral<"05">, z.ZodLiteral<"06">]>>;
805
+ }, z.core.$strict>>;
806
+ paymentsProfile: z.ZodOptional<z.ZodObject<{
807
+ displayName: z.ZodString;
808
+ statementDescriptor: z.ZodString;
809
+ permanentAddress: z.ZodObject<{
810
+ line1: z.ZodString;
811
+ line2: z.ZodOptional<z.ZodString>;
812
+ city: z.ZodString;
813
+ province: z.ZodOptional<z.ZodString>;
814
+ postalCode: z.ZodOptional<z.ZodString>;
815
+ countryCode: z.ZodString;
816
+ }, z.core.$strict>;
817
+ supportEmail: z.ZodEmail;
818
+ supportPhone: z.ZodString;
819
+ deliveryPolicy: z.ZodUnion<readonly [z.ZodObject<{
820
+ kind: z.ZodLiteral<"not_offered">;
821
+ }, z.core.$strict>, z.ZodObject<{
822
+ kind: z.ZodLiteral<"merchant_managed">;
823
+ summary: z.ZodString;
824
+ url: z.ZodOptional<z.ZodURL>;
825
+ }, z.core.$strict>]>;
826
+ }, z.core.$strict>>;
827
+ }, z.core.$strict>;
828
+ /**
829
+ * MerchantBusiness
830
+ *
831
+ * The business the credential selects, its capabilities, and the requirements that remain.
832
+ */
833
+ export declare const zUpdateBusinessResponse: z.ZodObject<{
834
+ object: z.ZodLiteral<"merchant_business">;
835
+ id: z.ZodString;
836
+ rnc: z.ZodString;
837
+ legalName: z.ZodString;
838
+ revision: z.ZodInt;
839
+ capabilities: z.ZodObject<{
840
+ payments: z.ZodObject<{
841
+ requested: z.ZodBoolean;
842
+ test: z.ZodObject<{
843
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
844
+ }, z.core.$strict>;
845
+ live: z.ZodObject<{
846
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
847
+ }, z.core.$strict>;
848
+ }, z.core.$strict>;
849
+ invoices: z.ZodObject<{
850
+ requested: z.ZodBoolean;
851
+ test: z.ZodObject<{
852
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
853
+ }, z.core.$strict>;
854
+ live: z.ZodObject<{
855
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
856
+ }, z.core.$strict>;
857
+ }, z.core.$strict>;
858
+ }, z.core.$strict>;
859
+ fiscalDetails: z.ZodObject<{
860
+ commercialName: z.ZodNullable<z.ZodString>;
861
+ address: z.ZodNullable<z.ZodString>;
862
+ location: z.ZodNullable<z.ZodObject<{
863
+ placeId: z.ZodString;
864
+ catalogReleaseId: z.ZodString;
865
+ municipalityCode: z.ZodNullable<z.ZodString>;
866
+ name: z.ZodString;
867
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
868
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
869
+ ancestors: z.ZodArray<z.ZodObject<{
870
+ placeId: z.ZodString;
871
+ name: z.ZodString;
872
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
873
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
874
+ }, z.core.$strict>>;
875
+ }, z.core.$strict>>;
876
+ phone: z.ZodNullable<z.ZodString>;
877
+ email: z.ZodNullable<z.ZodString>;
878
+ defaultIncomeType: z.ZodNullable<z.ZodString>;
879
+ }, z.core.$strict>;
880
+ paymentsProfile: z.ZodNullable<z.ZodObject<{
881
+ displayName: z.ZodString;
882
+ statementDescriptor: z.ZodString;
883
+ permanentAddress: z.ZodObject<{
884
+ line1: z.ZodString;
885
+ line2: z.ZodOptional<z.ZodString>;
886
+ city: z.ZodString;
887
+ province: z.ZodOptional<z.ZodString>;
888
+ postalCode: z.ZodOptional<z.ZodString>;
889
+ countryCode: z.ZodString;
890
+ }, z.core.$strict>;
891
+ supportEmail: z.ZodEmail;
892
+ supportPhone: z.ZodString;
893
+ deliveryPolicy: z.ZodUnion<readonly [z.ZodObject<{
894
+ kind: z.ZodLiteral<"not_offered">;
895
+ }, z.core.$strict>, z.ZodObject<{
896
+ kind: z.ZodLiteral<"merchant_managed">;
897
+ summary: z.ZodString;
898
+ url: z.ZodOptional<z.ZodURL>;
899
+ }, z.core.$strict>]>;
900
+ }, z.core.$strict>>;
901
+ invoicing: z.ZodObject<{
902
+ test: z.ZodUnion<readonly [z.ZodObject<{
903
+ status: z.ZodLiteral<"unavailable">;
904
+ cause: z.ZodLiteral<"timbro_unreachable">;
905
+ }, z.core.$strict>, z.ZodObject<{
906
+ status: z.ZodLiteral<"available">;
907
+ binding: z.ZodUnion<readonly [z.ZodObject<{
908
+ status: z.ZodLiteral<"unbound">;
909
+ }, z.core.$strict>, z.ZodObject<{
910
+ status: z.ZodLiteral<"provisioning">;
911
+ }, z.core.$strict>, z.ZodObject<{
912
+ status: z.ZodLiteral<"bound">;
913
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
914
+ }, z.core.$strict>, z.ZodObject<{
915
+ status: z.ZodLiteral<"failed">;
916
+ }, z.core.$strict>, z.ZodObject<{
917
+ status: z.ZodLiteral<"conflict">;
918
+ }, z.core.$strict>]>;
919
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
920
+ status: z.ZodLiteral<"missing">;
921
+ }, z.core.$strict>, z.ZodObject<{
922
+ status: z.ZodLiteral<"incomplete">;
923
+ }, z.core.$strict>, z.ZodObject<{
924
+ status: z.ZodLiteral<"complete">;
925
+ }, z.core.$strict>]>;
926
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
927
+ status: z.ZodLiteral<"missing">;
928
+ }, z.core.$strict>, z.ZodObject<{
929
+ status: z.ZodLiteral<"active">;
930
+ sha256: z.ZodString;
931
+ signerSerialNumber: z.ZodString;
932
+ notBefore: z.ZodISODateTime;
933
+ notAfter: z.ZodISODateTime;
934
+ }, z.core.$strict>]>;
935
+ testFiscalDocument: z.ZodUnion<readonly [z.ZodObject<{
936
+ status: z.ZodLiteral<"not_sent">;
937
+ }, z.core.$strict>, z.ZodObject<{
938
+ status: z.ZodLiteral<"processing">;
939
+ id: z.ZodString;
940
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
941
+ }, z.core.$strict>, z.ZodObject<{
942
+ status: z.ZodLiteral<"accepted">;
943
+ id: z.ZodString;
944
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
945
+ }, z.core.$strict>, z.ZodObject<{
946
+ status: z.ZodLiteral<"rejected">;
947
+ id: z.ZodString;
948
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
949
+ reason: z.ZodUnion<readonly [z.ZodLiteral<"timbro_rejected">, z.ZodLiteral<"authority_rejected">]>;
950
+ messages: z.ZodArray<z.ZodString>;
951
+ }, z.core.$strict>, z.ZodObject<{
952
+ status: z.ZodLiteral<"operator_required">;
953
+ id: z.ZodString;
954
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
955
+ }, z.core.$strict>]>;
956
+ }, z.core.$strict>]>;
957
+ live: z.ZodUnion<readonly [z.ZodObject<{
958
+ status: z.ZodLiteral<"unavailable">;
959
+ cause: z.ZodLiteral<"timbro_unreachable">;
960
+ }, z.core.$strict>, z.ZodObject<{
961
+ status: z.ZodLiteral<"available">;
962
+ binding: z.ZodUnion<readonly [z.ZodObject<{
963
+ status: z.ZodLiteral<"unbound">;
964
+ }, z.core.$strict>, z.ZodObject<{
965
+ status: z.ZodLiteral<"provisioning">;
966
+ }, z.core.$strict>, z.ZodObject<{
967
+ status: z.ZodLiteral<"bound">;
968
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
969
+ }, z.core.$strict>, z.ZodObject<{
970
+ status: z.ZodLiteral<"failed">;
971
+ }, z.core.$strict>, z.ZodObject<{
972
+ status: z.ZodLiteral<"conflict">;
973
+ }, z.core.$strict>]>;
974
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
975
+ status: z.ZodLiteral<"missing">;
976
+ }, z.core.$strict>, z.ZodObject<{
977
+ status: z.ZodLiteral<"incomplete">;
978
+ }, z.core.$strict>, z.ZodObject<{
979
+ status: z.ZodLiteral<"complete">;
980
+ }, z.core.$strict>]>;
981
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
982
+ status: z.ZodLiteral<"missing">;
983
+ }, z.core.$strict>, z.ZodObject<{
984
+ status: z.ZodLiteral<"active">;
985
+ sha256: z.ZodString;
986
+ signerSerialNumber: z.ZodString;
987
+ notBefore: z.ZodISODateTime;
988
+ notAfter: z.ZodISODateTime;
989
+ }, z.core.$strict>]>;
990
+ }, z.core.$strict>]>;
991
+ }, z.core.$strict>;
992
+ requirements: z.ZodArray<z.ZodObject<{
993
+ code: z.ZodUnion<readonly [z.ZodLiteral<"capabilities_required">, z.ZodLiteral<"commercial_name_required">, z.ZodLiteral<"address_required">, z.ZodLiteral<"location_required">, z.ZodLiteral<"phone_required">, z.ZodLiteral<"default_income_type_required">, z.ZodLiteral<"contact_email_verification_required">, z.ZodLiteral<"fiscal_details_rejected">, z.ZodLiteral<"taxpayer_registration_required">, z.ZodLiteral<"signing_certificate_required">, z.ZodLiteral<"signing_certificate_expiring">, z.ZodLiteral<"test_fiscal_document_rejected">, z.ZodLiteral<"test_fiscal_document_pending">, z.ZodLiteral<"test_fiscal_document_send_pending">, z.ZodLiteral<"fiscal_binding_pending">, z.ZodLiteral<"legal_issuer_sync_pending">, z.ZodLiteral<"fiscal_setup_unavailable">, z.ZodLiteral<"fiscal_binding_conflict">, z.ZodLiteral<"fiscal_issuer_rejected">, z.ZodLiteral<"test_fiscal_document_operator_required">, z.ZodLiteral<"payments_profile_required">, z.ZodLiteral<"test_payments_unavailable">, z.ZodLiteral<"merchant_account_required">, z.ZodLiteral<"merchant_account_disabled">, z.ZodLiteral<"active_credential_required">, z.ZodLiteral<"credential_material_invalid">, z.ZodLiteral<"test_live_mode_mismatch">, z.ZodLiteral<"callback_configuration_failed">, z.ZodLiteral<"callback_configuration_required">, z.ZodLiteral<"connectivity_check_failed">, z.ZodLiteral<"connectivity_check_required">, z.ZodLiteral<"provider_qualification_failed">, z.ZodLiteral<"provider_qualification_required">, z.ZodLiteral<"provider_adapter_unavailable">]>;
994
+ owner: z.ZodUnion<readonly [z.ZodLiteral<"merchant">, z.ZodLiteral<"dgii">, z.ZodLiteral<"timbro">, z.ZodLiteral<"provider">, z.ZodLiteral<"operator">]>;
995
+ blocks: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"payments">, z.ZodLiteral<"invoices">]>>;
996
+ mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>>;
997
+ field: z.ZodOptional<z.ZodString>;
998
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
999
+ code: z.ZodString;
1000
+ message: z.ZodString;
1001
+ }, z.core.$strict>>>;
1002
+ }, z.core.$strict>>;
1003
+ onboardingUrl: z.ZodURL;
1004
+ }, z.core.$strict>;
1005
+ /**
1006
+ * MerchantBusinessConfigureInvoicingRequest
1007
+ */
1008
+ export declare const zConfigureInvoicingBody: z.ZodObject<{
1009
+ mode: z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>;
1010
+ }, z.core.$strict>;
1011
+ export declare const zConfigureInvoicingHeaders: z.ZodObject<{
1012
+ "idempotency-key": z.ZodString;
1013
+ }, z.core.$strip>;
1014
+ /**
1015
+ * MerchantBusinessConfigureInvoicingResponse
1016
+ *
1017
+ * Default Response
1018
+ */
1019
+ export declare const zConfigureInvoicingResponse: z.ZodObject<{
1020
+ object: z.ZodLiteral<"merchant_business_invoicing_setup">;
1021
+ mode: z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>;
1022
+ }, z.core.$strict>;
1023
+ /**
1024
+ * MerchantBusinessSigningCertificateRequest
1025
+ */
1026
+ export declare const zImportSigningCertificateBody: z.ZodObject<{
1027
+ mode: z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>;
1028
+ certificateP12Base64: z.ZodString;
1029
+ password: z.ZodString;
1030
+ }, z.core.$strict>;
1031
+ /**
1032
+ * MerchantBusiness
1033
+ *
1034
+ * The business the credential selects, its capabilities, and the requirements that remain.
1035
+ */
1036
+ export declare const zImportSigningCertificateResponse: z.ZodObject<{
1037
+ object: z.ZodLiteral<"merchant_business">;
1038
+ id: z.ZodString;
1039
+ rnc: z.ZodString;
1040
+ legalName: z.ZodString;
1041
+ revision: z.ZodInt;
1042
+ capabilities: z.ZodObject<{
1043
+ payments: z.ZodObject<{
1044
+ requested: z.ZodBoolean;
1045
+ test: z.ZodObject<{
1046
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1047
+ }, z.core.$strict>;
1048
+ live: z.ZodObject<{
1049
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1050
+ }, z.core.$strict>;
1051
+ }, z.core.$strict>;
1052
+ invoices: z.ZodObject<{
1053
+ requested: z.ZodBoolean;
1054
+ test: z.ZodObject<{
1055
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1056
+ }, z.core.$strict>;
1057
+ live: z.ZodObject<{
1058
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1059
+ }, z.core.$strict>;
1060
+ }, z.core.$strict>;
1061
+ }, z.core.$strict>;
1062
+ fiscalDetails: z.ZodObject<{
1063
+ commercialName: z.ZodNullable<z.ZodString>;
1064
+ address: z.ZodNullable<z.ZodString>;
1065
+ location: z.ZodNullable<z.ZodObject<{
1066
+ placeId: z.ZodString;
1067
+ catalogReleaseId: z.ZodString;
1068
+ municipalityCode: z.ZodNullable<z.ZodString>;
1069
+ name: z.ZodString;
1070
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
1071
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
1072
+ ancestors: z.ZodArray<z.ZodObject<{
1073
+ placeId: z.ZodString;
1074
+ name: z.ZodString;
1075
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
1076
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
1077
+ }, z.core.$strict>>;
1078
+ }, z.core.$strict>>;
1079
+ phone: z.ZodNullable<z.ZodString>;
1080
+ email: z.ZodNullable<z.ZodString>;
1081
+ defaultIncomeType: z.ZodNullable<z.ZodString>;
1082
+ }, z.core.$strict>;
1083
+ paymentsProfile: z.ZodNullable<z.ZodObject<{
1084
+ displayName: z.ZodString;
1085
+ statementDescriptor: z.ZodString;
1086
+ permanentAddress: z.ZodObject<{
1087
+ line1: z.ZodString;
1088
+ line2: z.ZodOptional<z.ZodString>;
1089
+ city: z.ZodString;
1090
+ province: z.ZodOptional<z.ZodString>;
1091
+ postalCode: z.ZodOptional<z.ZodString>;
1092
+ countryCode: z.ZodString;
1093
+ }, z.core.$strict>;
1094
+ supportEmail: z.ZodEmail;
1095
+ supportPhone: z.ZodString;
1096
+ deliveryPolicy: z.ZodUnion<readonly [z.ZodObject<{
1097
+ kind: z.ZodLiteral<"not_offered">;
1098
+ }, z.core.$strict>, z.ZodObject<{
1099
+ kind: z.ZodLiteral<"merchant_managed">;
1100
+ summary: z.ZodString;
1101
+ url: z.ZodOptional<z.ZodURL>;
1102
+ }, z.core.$strict>]>;
1103
+ }, z.core.$strict>>;
1104
+ invoicing: z.ZodObject<{
1105
+ test: z.ZodUnion<readonly [z.ZodObject<{
1106
+ status: z.ZodLiteral<"unavailable">;
1107
+ cause: z.ZodLiteral<"timbro_unreachable">;
1108
+ }, z.core.$strict>, z.ZodObject<{
1109
+ status: z.ZodLiteral<"available">;
1110
+ binding: z.ZodUnion<readonly [z.ZodObject<{
1111
+ status: z.ZodLiteral<"unbound">;
1112
+ }, z.core.$strict>, z.ZodObject<{
1113
+ status: z.ZodLiteral<"provisioning">;
1114
+ }, z.core.$strict>, z.ZodObject<{
1115
+ status: z.ZodLiteral<"bound">;
1116
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
1117
+ }, z.core.$strict>, z.ZodObject<{
1118
+ status: z.ZodLiteral<"failed">;
1119
+ }, z.core.$strict>, z.ZodObject<{
1120
+ status: z.ZodLiteral<"conflict">;
1121
+ }, z.core.$strict>]>;
1122
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
1123
+ status: z.ZodLiteral<"missing">;
1124
+ }, z.core.$strict>, z.ZodObject<{
1125
+ status: z.ZodLiteral<"incomplete">;
1126
+ }, z.core.$strict>, z.ZodObject<{
1127
+ status: z.ZodLiteral<"complete">;
1128
+ }, z.core.$strict>]>;
1129
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
1130
+ status: z.ZodLiteral<"missing">;
1131
+ }, z.core.$strict>, z.ZodObject<{
1132
+ status: z.ZodLiteral<"active">;
1133
+ sha256: z.ZodString;
1134
+ signerSerialNumber: z.ZodString;
1135
+ notBefore: z.ZodISODateTime;
1136
+ notAfter: z.ZodISODateTime;
1137
+ }, z.core.$strict>]>;
1138
+ testFiscalDocument: z.ZodUnion<readonly [z.ZodObject<{
1139
+ status: z.ZodLiteral<"not_sent">;
1140
+ }, z.core.$strict>, z.ZodObject<{
1141
+ status: z.ZodLiteral<"processing">;
1142
+ id: z.ZodString;
1143
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1144
+ }, z.core.$strict>, z.ZodObject<{
1145
+ status: z.ZodLiteral<"accepted">;
1146
+ id: z.ZodString;
1147
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1148
+ }, z.core.$strict>, z.ZodObject<{
1149
+ status: z.ZodLiteral<"rejected">;
1150
+ id: z.ZodString;
1151
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1152
+ reason: z.ZodUnion<readonly [z.ZodLiteral<"timbro_rejected">, z.ZodLiteral<"authority_rejected">]>;
1153
+ messages: z.ZodArray<z.ZodString>;
1154
+ }, z.core.$strict>, z.ZodObject<{
1155
+ status: z.ZodLiteral<"operator_required">;
1156
+ id: z.ZodString;
1157
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1158
+ }, z.core.$strict>]>;
1159
+ }, z.core.$strict>]>;
1160
+ live: z.ZodUnion<readonly [z.ZodObject<{
1161
+ status: z.ZodLiteral<"unavailable">;
1162
+ cause: z.ZodLiteral<"timbro_unreachable">;
1163
+ }, z.core.$strict>, z.ZodObject<{
1164
+ status: z.ZodLiteral<"available">;
1165
+ binding: z.ZodUnion<readonly [z.ZodObject<{
1166
+ status: z.ZodLiteral<"unbound">;
1167
+ }, z.core.$strict>, z.ZodObject<{
1168
+ status: z.ZodLiteral<"provisioning">;
1169
+ }, z.core.$strict>, z.ZodObject<{
1170
+ status: z.ZodLiteral<"bound">;
1171
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
1172
+ }, z.core.$strict>, z.ZodObject<{
1173
+ status: z.ZodLiteral<"failed">;
1174
+ }, z.core.$strict>, z.ZodObject<{
1175
+ status: z.ZodLiteral<"conflict">;
1176
+ }, z.core.$strict>]>;
1177
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
1178
+ status: z.ZodLiteral<"missing">;
1179
+ }, z.core.$strict>, z.ZodObject<{
1180
+ status: z.ZodLiteral<"incomplete">;
1181
+ }, z.core.$strict>, z.ZodObject<{
1182
+ status: z.ZodLiteral<"complete">;
1183
+ }, z.core.$strict>]>;
1184
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
1185
+ status: z.ZodLiteral<"missing">;
1186
+ }, z.core.$strict>, z.ZodObject<{
1187
+ status: z.ZodLiteral<"active">;
1188
+ sha256: z.ZodString;
1189
+ signerSerialNumber: z.ZodString;
1190
+ notBefore: z.ZodISODateTime;
1191
+ notAfter: z.ZodISODateTime;
1192
+ }, z.core.$strict>]>;
1193
+ }, z.core.$strict>]>;
1194
+ }, z.core.$strict>;
1195
+ requirements: z.ZodArray<z.ZodObject<{
1196
+ code: z.ZodUnion<readonly [z.ZodLiteral<"capabilities_required">, z.ZodLiteral<"commercial_name_required">, z.ZodLiteral<"address_required">, z.ZodLiteral<"location_required">, z.ZodLiteral<"phone_required">, z.ZodLiteral<"default_income_type_required">, z.ZodLiteral<"contact_email_verification_required">, z.ZodLiteral<"fiscal_details_rejected">, z.ZodLiteral<"taxpayer_registration_required">, z.ZodLiteral<"signing_certificate_required">, z.ZodLiteral<"signing_certificate_expiring">, z.ZodLiteral<"test_fiscal_document_rejected">, z.ZodLiteral<"test_fiscal_document_pending">, z.ZodLiteral<"test_fiscal_document_send_pending">, z.ZodLiteral<"fiscal_binding_pending">, z.ZodLiteral<"legal_issuer_sync_pending">, z.ZodLiteral<"fiscal_setup_unavailable">, z.ZodLiteral<"fiscal_binding_conflict">, z.ZodLiteral<"fiscal_issuer_rejected">, z.ZodLiteral<"test_fiscal_document_operator_required">, z.ZodLiteral<"payments_profile_required">, z.ZodLiteral<"test_payments_unavailable">, z.ZodLiteral<"merchant_account_required">, z.ZodLiteral<"merchant_account_disabled">, z.ZodLiteral<"active_credential_required">, z.ZodLiteral<"credential_material_invalid">, z.ZodLiteral<"test_live_mode_mismatch">, z.ZodLiteral<"callback_configuration_failed">, z.ZodLiteral<"callback_configuration_required">, z.ZodLiteral<"connectivity_check_failed">, z.ZodLiteral<"connectivity_check_required">, z.ZodLiteral<"provider_qualification_failed">, z.ZodLiteral<"provider_qualification_required">, z.ZodLiteral<"provider_adapter_unavailable">]>;
1197
+ owner: z.ZodUnion<readonly [z.ZodLiteral<"merchant">, z.ZodLiteral<"dgii">, z.ZodLiteral<"timbro">, z.ZodLiteral<"provider">, z.ZodLiteral<"operator">]>;
1198
+ blocks: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"payments">, z.ZodLiteral<"invoices">]>>;
1199
+ mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>>;
1200
+ field: z.ZodOptional<z.ZodString>;
1201
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1202
+ code: z.ZodString;
1203
+ message: z.ZodString;
1204
+ }, z.core.$strict>>>;
1205
+ }, z.core.$strict>>;
1206
+ onboardingUrl: z.ZodURL;
1207
+ }, z.core.$strict>;
1208
+ /**
1209
+ * MerchantBusinessTestFiscalDocumentRequest
1210
+ */
1211
+ export declare const zIssueTestInvoiceBody: z.ZodObject<{
1212
+ documentType: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>>;
1213
+ }, z.core.$strict>;
1214
+ export declare const zIssueTestInvoiceResponse: z.ZodUnion<readonly [z.ZodObject<{
1215
+ object: z.ZodLiteral<"merchant_business">;
1216
+ id: z.ZodString;
1217
+ rnc: z.ZodString;
1218
+ legalName: z.ZodString;
1219
+ revision: z.ZodInt;
1220
+ capabilities: z.ZodObject<{
1221
+ payments: z.ZodObject<{
1222
+ requested: z.ZodBoolean;
1223
+ test: z.ZodObject<{
1224
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1225
+ }, z.core.$strict>;
1226
+ live: z.ZodObject<{
1227
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1228
+ }, z.core.$strict>;
1229
+ }, z.core.$strict>;
1230
+ invoices: z.ZodObject<{
1231
+ requested: z.ZodBoolean;
1232
+ test: z.ZodObject<{
1233
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1234
+ }, z.core.$strict>;
1235
+ live: z.ZodObject<{
1236
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1237
+ }, z.core.$strict>;
1238
+ }, z.core.$strict>;
1239
+ }, z.core.$strict>;
1240
+ fiscalDetails: z.ZodObject<{
1241
+ commercialName: z.ZodNullable<z.ZodString>;
1242
+ address: z.ZodNullable<z.ZodString>;
1243
+ location: z.ZodNullable<z.ZodObject<{
1244
+ placeId: z.ZodString;
1245
+ catalogReleaseId: z.ZodString;
1246
+ municipalityCode: z.ZodNullable<z.ZodString>;
1247
+ name: z.ZodString;
1248
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
1249
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
1250
+ ancestors: z.ZodArray<z.ZodObject<{
1251
+ placeId: z.ZodString;
1252
+ name: z.ZodString;
1253
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
1254
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
1255
+ }, z.core.$strict>>;
1256
+ }, z.core.$strict>>;
1257
+ phone: z.ZodNullable<z.ZodString>;
1258
+ email: z.ZodNullable<z.ZodString>;
1259
+ defaultIncomeType: z.ZodNullable<z.ZodString>;
1260
+ }, z.core.$strict>;
1261
+ paymentsProfile: z.ZodNullable<z.ZodObject<{
1262
+ displayName: z.ZodString;
1263
+ statementDescriptor: z.ZodString;
1264
+ permanentAddress: z.ZodObject<{
1265
+ line1: z.ZodString;
1266
+ line2: z.ZodOptional<z.ZodString>;
1267
+ city: z.ZodString;
1268
+ province: z.ZodOptional<z.ZodString>;
1269
+ postalCode: z.ZodOptional<z.ZodString>;
1270
+ countryCode: z.ZodString;
1271
+ }, z.core.$strict>;
1272
+ supportEmail: z.ZodEmail;
1273
+ supportPhone: z.ZodString;
1274
+ deliveryPolicy: z.ZodUnion<readonly [z.ZodObject<{
1275
+ kind: z.ZodLiteral<"not_offered">;
1276
+ }, z.core.$strict>, z.ZodObject<{
1277
+ kind: z.ZodLiteral<"merchant_managed">;
1278
+ summary: z.ZodString;
1279
+ url: z.ZodOptional<z.ZodURL>;
1280
+ }, z.core.$strict>]>;
1281
+ }, z.core.$strict>>;
1282
+ invoicing: z.ZodObject<{
1283
+ test: z.ZodUnion<readonly [z.ZodObject<{
1284
+ status: z.ZodLiteral<"unavailable">;
1285
+ cause: z.ZodLiteral<"timbro_unreachable">;
1286
+ }, z.core.$strict>, z.ZodObject<{
1287
+ status: z.ZodLiteral<"available">;
1288
+ binding: z.ZodUnion<readonly [z.ZodObject<{
1289
+ status: z.ZodLiteral<"unbound">;
1290
+ }, z.core.$strict>, z.ZodObject<{
1291
+ status: z.ZodLiteral<"provisioning">;
1292
+ }, z.core.$strict>, z.ZodObject<{
1293
+ status: z.ZodLiteral<"bound">;
1294
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
1295
+ }, z.core.$strict>, z.ZodObject<{
1296
+ status: z.ZodLiteral<"failed">;
1297
+ }, z.core.$strict>, z.ZodObject<{
1298
+ status: z.ZodLiteral<"conflict">;
1299
+ }, z.core.$strict>]>;
1300
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
1301
+ status: z.ZodLiteral<"missing">;
1302
+ }, z.core.$strict>, z.ZodObject<{
1303
+ status: z.ZodLiteral<"incomplete">;
1304
+ }, z.core.$strict>, z.ZodObject<{
1305
+ status: z.ZodLiteral<"complete">;
1306
+ }, z.core.$strict>]>;
1307
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
1308
+ status: z.ZodLiteral<"missing">;
1309
+ }, z.core.$strict>, z.ZodObject<{
1310
+ status: z.ZodLiteral<"active">;
1311
+ sha256: z.ZodString;
1312
+ signerSerialNumber: z.ZodString;
1313
+ notBefore: z.ZodISODateTime;
1314
+ notAfter: z.ZodISODateTime;
1315
+ }, z.core.$strict>]>;
1316
+ testFiscalDocument: z.ZodUnion<readonly [z.ZodObject<{
1317
+ status: z.ZodLiteral<"not_sent">;
1318
+ }, z.core.$strict>, z.ZodObject<{
1319
+ status: z.ZodLiteral<"processing">;
1320
+ id: z.ZodString;
1321
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1322
+ }, z.core.$strict>, z.ZodObject<{
1323
+ status: z.ZodLiteral<"accepted">;
1324
+ id: z.ZodString;
1325
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1326
+ }, z.core.$strict>, z.ZodObject<{
1327
+ status: z.ZodLiteral<"rejected">;
1328
+ id: z.ZodString;
1329
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1330
+ reason: z.ZodUnion<readonly [z.ZodLiteral<"timbro_rejected">, z.ZodLiteral<"authority_rejected">]>;
1331
+ messages: z.ZodArray<z.ZodString>;
1332
+ }, z.core.$strict>, z.ZodObject<{
1333
+ status: z.ZodLiteral<"operator_required">;
1334
+ id: z.ZodString;
1335
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1336
+ }, z.core.$strict>]>;
1337
+ }, z.core.$strict>]>;
1338
+ live: z.ZodUnion<readonly [z.ZodObject<{
1339
+ status: z.ZodLiteral<"unavailable">;
1340
+ cause: z.ZodLiteral<"timbro_unreachable">;
1341
+ }, z.core.$strict>, z.ZodObject<{
1342
+ status: z.ZodLiteral<"available">;
1343
+ binding: z.ZodUnion<readonly [z.ZodObject<{
1344
+ status: z.ZodLiteral<"unbound">;
1345
+ }, z.core.$strict>, z.ZodObject<{
1346
+ status: z.ZodLiteral<"provisioning">;
1347
+ }, z.core.$strict>, z.ZodObject<{
1348
+ status: z.ZodLiteral<"bound">;
1349
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
1350
+ }, z.core.$strict>, z.ZodObject<{
1351
+ status: z.ZodLiteral<"failed">;
1352
+ }, z.core.$strict>, z.ZodObject<{
1353
+ status: z.ZodLiteral<"conflict">;
1354
+ }, z.core.$strict>]>;
1355
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
1356
+ status: z.ZodLiteral<"missing">;
1357
+ }, z.core.$strict>, z.ZodObject<{
1358
+ status: z.ZodLiteral<"incomplete">;
1359
+ }, z.core.$strict>, z.ZodObject<{
1360
+ status: z.ZodLiteral<"complete">;
1361
+ }, z.core.$strict>]>;
1362
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
1363
+ status: z.ZodLiteral<"missing">;
1364
+ }, z.core.$strict>, z.ZodObject<{
1365
+ status: z.ZodLiteral<"active">;
1366
+ sha256: z.ZodString;
1367
+ signerSerialNumber: z.ZodString;
1368
+ notBefore: z.ZodISODateTime;
1369
+ notAfter: z.ZodISODateTime;
1370
+ }, z.core.$strict>]>;
1371
+ }, z.core.$strict>]>;
1372
+ }, z.core.$strict>;
1373
+ requirements: z.ZodArray<z.ZodObject<{
1374
+ code: z.ZodUnion<readonly [z.ZodLiteral<"capabilities_required">, z.ZodLiteral<"commercial_name_required">, z.ZodLiteral<"address_required">, z.ZodLiteral<"location_required">, z.ZodLiteral<"phone_required">, z.ZodLiteral<"default_income_type_required">, z.ZodLiteral<"contact_email_verification_required">, z.ZodLiteral<"fiscal_details_rejected">, z.ZodLiteral<"taxpayer_registration_required">, z.ZodLiteral<"signing_certificate_required">, z.ZodLiteral<"signing_certificate_expiring">, z.ZodLiteral<"test_fiscal_document_rejected">, z.ZodLiteral<"test_fiscal_document_pending">, z.ZodLiteral<"test_fiscal_document_send_pending">, z.ZodLiteral<"fiscal_binding_pending">, z.ZodLiteral<"legal_issuer_sync_pending">, z.ZodLiteral<"fiscal_setup_unavailable">, z.ZodLiteral<"fiscal_binding_conflict">, z.ZodLiteral<"fiscal_issuer_rejected">, z.ZodLiteral<"test_fiscal_document_operator_required">, z.ZodLiteral<"payments_profile_required">, z.ZodLiteral<"test_payments_unavailable">, z.ZodLiteral<"merchant_account_required">, z.ZodLiteral<"merchant_account_disabled">, z.ZodLiteral<"active_credential_required">, z.ZodLiteral<"credential_material_invalid">, z.ZodLiteral<"test_live_mode_mismatch">, z.ZodLiteral<"callback_configuration_failed">, z.ZodLiteral<"callback_configuration_required">, z.ZodLiteral<"connectivity_check_failed">, z.ZodLiteral<"connectivity_check_required">, z.ZodLiteral<"provider_qualification_failed">, z.ZodLiteral<"provider_qualification_required">, z.ZodLiteral<"provider_adapter_unavailable">]>;
1375
+ owner: z.ZodUnion<readonly [z.ZodLiteral<"merchant">, z.ZodLiteral<"dgii">, z.ZodLiteral<"timbro">, z.ZodLiteral<"provider">, z.ZodLiteral<"operator">]>;
1376
+ blocks: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"payments">, z.ZodLiteral<"invoices">]>>;
1377
+ mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>>;
1378
+ field: z.ZodOptional<z.ZodString>;
1379
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1380
+ code: z.ZodString;
1381
+ message: z.ZodString;
1382
+ }, z.core.$strict>>>;
1383
+ }, z.core.$strict>>;
1384
+ onboardingUrl: z.ZodURL;
1385
+ }, z.core.$strict>, z.ZodObject<{
1386
+ object: z.ZodLiteral<"merchant_business">;
1387
+ id: z.ZodString;
1388
+ rnc: z.ZodString;
1389
+ legalName: z.ZodString;
1390
+ revision: z.ZodInt;
1391
+ capabilities: z.ZodObject<{
1392
+ payments: z.ZodObject<{
1393
+ requested: z.ZodBoolean;
1394
+ test: z.ZodObject<{
1395
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1396
+ }, z.core.$strict>;
1397
+ live: z.ZodObject<{
1398
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1399
+ }, z.core.$strict>;
1400
+ }, z.core.$strict>;
1401
+ invoices: z.ZodObject<{
1402
+ requested: z.ZodBoolean;
1403
+ test: z.ZodObject<{
1404
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1405
+ }, z.core.$strict>;
1406
+ live: z.ZodObject<{
1407
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"pending">, z.ZodLiteral<"inactive">, z.ZodLiteral<"unavailable">]>;
1408
+ }, z.core.$strict>;
1409
+ }, z.core.$strict>;
1410
+ }, z.core.$strict>;
1411
+ fiscalDetails: z.ZodObject<{
1412
+ commercialName: z.ZodNullable<z.ZodString>;
1413
+ address: z.ZodNullable<z.ZodString>;
1414
+ location: z.ZodNullable<z.ZodObject<{
1415
+ placeId: z.ZodString;
1416
+ catalogReleaseId: z.ZodString;
1417
+ municipalityCode: z.ZodNullable<z.ZodString>;
1418
+ name: z.ZodString;
1419
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
1420
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
1421
+ ancestors: z.ZodArray<z.ZodObject<{
1422
+ placeId: z.ZodString;
1423
+ name: z.ZodString;
1424
+ kind: z.ZodUnion<readonly [z.ZodLiteral<"country">, z.ZodLiteral<"region">, z.ZodLiteral<"national_district">, z.ZodLiteral<"province">, z.ZodLiteral<"municipality">, z.ZodLiteral<"municipal_district">, z.ZodLiteral<"urban_zone">, z.ZodLiteral<"section">, z.ZodLiteral<"barrio">, z.ZodLiteral<"paraje">, z.ZodLiteral<"subbarrio">]>;
1425
+ qualityStatus: z.ZodUnion<readonly [z.ZodLiteral<"verified">, z.ZodLiteral<"provisional">, z.ZodLiteral<"conflicted">]>;
1426
+ }, z.core.$strict>>;
1427
+ }, z.core.$strict>>;
1428
+ phone: z.ZodNullable<z.ZodString>;
1429
+ email: z.ZodNullable<z.ZodString>;
1430
+ defaultIncomeType: z.ZodNullable<z.ZodString>;
1431
+ }, z.core.$strict>;
1432
+ paymentsProfile: z.ZodNullable<z.ZodObject<{
1433
+ displayName: z.ZodString;
1434
+ statementDescriptor: z.ZodString;
1435
+ permanentAddress: z.ZodObject<{
1436
+ line1: z.ZodString;
1437
+ line2: z.ZodOptional<z.ZodString>;
1438
+ city: z.ZodString;
1439
+ province: z.ZodOptional<z.ZodString>;
1440
+ postalCode: z.ZodOptional<z.ZodString>;
1441
+ countryCode: z.ZodString;
1442
+ }, z.core.$strict>;
1443
+ supportEmail: z.ZodEmail;
1444
+ supportPhone: z.ZodString;
1445
+ deliveryPolicy: z.ZodUnion<readonly [z.ZodObject<{
1446
+ kind: z.ZodLiteral<"not_offered">;
1447
+ }, z.core.$strict>, z.ZodObject<{
1448
+ kind: z.ZodLiteral<"merchant_managed">;
1449
+ summary: z.ZodString;
1450
+ url: z.ZodOptional<z.ZodURL>;
1451
+ }, z.core.$strict>]>;
1452
+ }, z.core.$strict>>;
1453
+ invoicing: z.ZodObject<{
1454
+ test: z.ZodUnion<readonly [z.ZodObject<{
1455
+ status: z.ZodLiteral<"unavailable">;
1456
+ cause: z.ZodLiteral<"timbro_unreachable">;
1457
+ }, z.core.$strict>, z.ZodObject<{
1458
+ status: z.ZodLiteral<"available">;
1459
+ binding: z.ZodUnion<readonly [z.ZodObject<{
1460
+ status: z.ZodLiteral<"unbound">;
1461
+ }, z.core.$strict>, z.ZodObject<{
1462
+ status: z.ZodLiteral<"provisioning">;
1463
+ }, z.core.$strict>, z.ZodObject<{
1464
+ status: z.ZodLiteral<"bound">;
1465
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
1466
+ }, z.core.$strict>, z.ZodObject<{
1467
+ status: z.ZodLiteral<"failed">;
1468
+ }, z.core.$strict>, z.ZodObject<{
1469
+ status: z.ZodLiteral<"conflict">;
1470
+ }, z.core.$strict>]>;
1471
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
1472
+ status: z.ZodLiteral<"missing">;
1473
+ }, z.core.$strict>, z.ZodObject<{
1474
+ status: z.ZodLiteral<"incomplete">;
1475
+ }, z.core.$strict>, z.ZodObject<{
1476
+ status: z.ZodLiteral<"complete">;
1477
+ }, z.core.$strict>]>;
1478
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
1479
+ status: z.ZodLiteral<"missing">;
1480
+ }, z.core.$strict>, z.ZodObject<{
1481
+ status: z.ZodLiteral<"active">;
1482
+ sha256: z.ZodString;
1483
+ signerSerialNumber: z.ZodString;
1484
+ notBefore: z.ZodISODateTime;
1485
+ notAfter: z.ZodISODateTime;
1486
+ }, z.core.$strict>]>;
1487
+ testFiscalDocument: z.ZodUnion<readonly [z.ZodObject<{
1488
+ status: z.ZodLiteral<"not_sent">;
1489
+ }, z.core.$strict>, z.ZodObject<{
1490
+ status: z.ZodLiteral<"processing">;
1491
+ id: z.ZodString;
1492
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1493
+ }, z.core.$strict>, z.ZodObject<{
1494
+ status: z.ZodLiteral<"accepted">;
1495
+ id: z.ZodString;
1496
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1497
+ }, z.core.$strict>, z.ZodObject<{
1498
+ status: z.ZodLiteral<"rejected">;
1499
+ id: z.ZodString;
1500
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1501
+ reason: z.ZodUnion<readonly [z.ZodLiteral<"timbro_rejected">, z.ZodLiteral<"authority_rejected">]>;
1502
+ messages: z.ZodArray<z.ZodString>;
1503
+ }, z.core.$strict>, z.ZodObject<{
1504
+ status: z.ZodLiteral<"operator_required">;
1505
+ id: z.ZodString;
1506
+ documentType: z.ZodUnion<readonly [z.ZodLiteral<"31">, z.ZodLiteral<"32">, z.ZodLiteral<"33">, z.ZodLiteral<"34">, z.ZodLiteral<"41">, z.ZodLiteral<"43">, z.ZodLiteral<"44">, z.ZodLiteral<"45">, z.ZodLiteral<"46">, z.ZodLiteral<"47">]>;
1507
+ }, z.core.$strict>]>;
1508
+ }, z.core.$strict>]>;
1509
+ live: z.ZodUnion<readonly [z.ZodObject<{
1510
+ status: z.ZodLiteral<"unavailable">;
1511
+ cause: z.ZodLiteral<"timbro_unreachable">;
1512
+ }, z.core.$strict>, z.ZodObject<{
1513
+ status: z.ZodLiteral<"available">;
1514
+ binding: z.ZodUnion<readonly [z.ZodObject<{
1515
+ status: z.ZodLiteral<"unbound">;
1516
+ }, z.core.$strict>, z.ZodObject<{
1517
+ status: z.ZodLiteral<"provisioning">;
1518
+ }, z.core.$strict>, z.ZodObject<{
1519
+ status: z.ZodLiteral<"bound">;
1520
+ webhookSecret: z.ZodUnion<readonly [z.ZodLiteral<"sealed">, z.ZodLiteral<"pending">]>;
1521
+ }, z.core.$strict>, z.ZodObject<{
1522
+ status: z.ZodLiteral<"failed">;
1523
+ }, z.core.$strict>, z.ZodObject<{
1524
+ status: z.ZodLiteral<"conflict">;
1525
+ }, z.core.$strict>]>;
1526
+ legalIssuer: z.ZodUnion<readonly [z.ZodObject<{
1527
+ status: z.ZodLiteral<"missing">;
1528
+ }, z.core.$strict>, z.ZodObject<{
1529
+ status: z.ZodLiteral<"incomplete">;
1530
+ }, z.core.$strict>, z.ZodObject<{
1531
+ status: z.ZodLiteral<"complete">;
1532
+ }, z.core.$strict>]>;
1533
+ signingCertificate: z.ZodUnion<readonly [z.ZodObject<{
1534
+ status: z.ZodLiteral<"missing">;
1535
+ }, z.core.$strict>, z.ZodObject<{
1536
+ status: z.ZodLiteral<"active">;
1537
+ sha256: z.ZodString;
1538
+ signerSerialNumber: z.ZodString;
1539
+ notBefore: z.ZodISODateTime;
1540
+ notAfter: z.ZodISODateTime;
1541
+ }, z.core.$strict>]>;
1542
+ }, z.core.$strict>]>;
1543
+ }, z.core.$strict>;
1544
+ requirements: z.ZodArray<z.ZodObject<{
1545
+ code: z.ZodUnion<readonly [z.ZodLiteral<"capabilities_required">, z.ZodLiteral<"commercial_name_required">, z.ZodLiteral<"address_required">, z.ZodLiteral<"location_required">, z.ZodLiteral<"phone_required">, z.ZodLiteral<"default_income_type_required">, z.ZodLiteral<"contact_email_verification_required">, z.ZodLiteral<"fiscal_details_rejected">, z.ZodLiteral<"taxpayer_registration_required">, z.ZodLiteral<"signing_certificate_required">, z.ZodLiteral<"signing_certificate_expiring">, z.ZodLiteral<"test_fiscal_document_rejected">, z.ZodLiteral<"test_fiscal_document_pending">, z.ZodLiteral<"test_fiscal_document_send_pending">, z.ZodLiteral<"fiscal_binding_pending">, z.ZodLiteral<"legal_issuer_sync_pending">, z.ZodLiteral<"fiscal_setup_unavailable">, z.ZodLiteral<"fiscal_binding_conflict">, z.ZodLiteral<"fiscal_issuer_rejected">, z.ZodLiteral<"test_fiscal_document_operator_required">, z.ZodLiteral<"payments_profile_required">, z.ZodLiteral<"test_payments_unavailable">, z.ZodLiteral<"merchant_account_required">, z.ZodLiteral<"merchant_account_disabled">, z.ZodLiteral<"active_credential_required">, z.ZodLiteral<"credential_material_invalid">, z.ZodLiteral<"test_live_mode_mismatch">, z.ZodLiteral<"callback_configuration_failed">, z.ZodLiteral<"callback_configuration_required">, z.ZodLiteral<"connectivity_check_failed">, z.ZodLiteral<"connectivity_check_required">, z.ZodLiteral<"provider_qualification_failed">, z.ZodLiteral<"provider_qualification_required">, z.ZodLiteral<"provider_adapter_unavailable">]>;
1546
+ owner: z.ZodUnion<readonly [z.ZodLiteral<"merchant">, z.ZodLiteral<"dgii">, z.ZodLiteral<"timbro">, z.ZodLiteral<"provider">, z.ZodLiteral<"operator">]>;
1547
+ blocks: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"payments">, z.ZodLiteral<"invoices">]>>;
1548
+ mode: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>>;
1549
+ field: z.ZodOptional<z.ZodString>;
1550
+ errors: z.ZodOptional<z.ZodArray<z.ZodObject<{
1551
+ code: z.ZodString;
1552
+ message: z.ZodString;
1553
+ }, z.core.$strict>>>;
1554
+ }, z.core.$strict>>;
1555
+ onboardingUrl: z.ZodURL;
1556
+ }, z.core.$strict>]>;
1557
+ /**
1558
+ * MerchantBusinessInvoiceKeyRequest
1559
+ */
1560
+ export declare const zIssueInvoiceKeyBody: z.ZodObject<{
1561
+ mode: z.ZodUnion<readonly [z.ZodLiteral<"test">, z.ZodLiteral<"live">]>;
1562
+ }, z.core.$strict>;
1563
+ export declare const zIssueInvoiceKeyHeaders: z.ZodObject<{
1564
+ "idempotency-key": z.ZodString;
1565
+ }, z.core.$strip>;
1566
+ /**
1567
+ * MerchantBusinessInvoiceKey
1568
+ *
1569
+ * The ERP Source key, returned once and replayed only through the same idempotency key.
1570
+ */
1571
+ export declare const zIssueInvoiceKeyResponse: z.ZodObject<{
1572
+ object: z.ZodLiteral<"merchant_business_invoice_key">;
1573
+ key: z.ZodString;
1574
+ invoiceOrigin: z.ZodURL;
1575
+ }, z.core.$strict>;
1576
+ export declare const zListWebhookEndpointsQuery: z.ZodObject<{
1577
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
1578
+ cursor: z.ZodOptional<z.ZodString>;
1579
+ }, z.core.$strip>;
1580
+ /**
1581
+ * WebhookEndpointListPage
1582
+ *
1583
+ * One page of webhook endpoints, newest first.
1584
+ */
1585
+ export declare const zListWebhookEndpointsResponse: z.ZodObject<{
1586
+ object: z.ZodLiteral<"list">;
1587
+ data: z.ZodArray<z.ZodObject<{
1588
+ id: z.ZodString;
1589
+ object: z.ZodLiteral<"webhook_endpoint">;
1590
+ url: z.ZodURL;
1591
+ enabledEvents: z.ZodArray<z.ZodString>;
1592
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"suspended">, z.ZodLiteral<"deleted">]>;
1593
+ secretCreatedAt: z.ZodISODateTime;
1594
+ previousSecretExpiresAt: z.ZodNullable<z.ZodISODateTime>;
1595
+ createdAt: z.ZodISODateTime;
1596
+ }, z.core.$strict>>;
1597
+ hasMore: z.ZodBoolean;
1598
+ nextCursor: z.ZodNullable<z.ZodString>;
1599
+ }, z.core.$strict>;
1600
+ /**
1601
+ * CreateWebhookEndpointRequest
1602
+ */
1603
+ export declare const zCreateWebhookEndpointBody: z.ZodObject<{
1604
+ url: z.ZodURL;
1605
+ enabledEvents: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"payment.succeeded">, z.ZodLiteral<"payment.canceled">, z.ZodLiteral<"payment.expired">, z.ZodLiteral<"payment.operator_required">, z.ZodLiteral<"refund.operator_required">, z.ZodLiteral<"refund.invoiceAttached">, z.ZodLiteral<"invoice.accepted">, z.ZodLiteral<"invoice.rejected">, z.ZodLiteral<"invoice.operatorRequired">, z.ZodLiteral<"invoice.ready">]>>;
1606
+ }, z.core.$strict>;
1607
+ export declare const zCreateWebhookEndpointHeaders: z.ZodObject<{
1608
+ "idempotency-key": z.ZodString;
1609
+ }, z.core.$strip>;
1610
+ /**
1611
+ * WebhookEndpointWithSecret
1612
+ *
1613
+ * The endpoint and its new signing secret. Store the secret securely.
1614
+ */
1615
+ export declare const zCreateWebhookEndpointResponse: z.ZodObject<{
1616
+ id: z.ZodString;
1617
+ object: z.ZodLiteral<"webhook_endpoint">;
1618
+ url: z.ZodURL;
1619
+ enabledEvents: z.ZodArray<z.ZodString>;
1620
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"suspended">, z.ZodLiteral<"deleted">]>;
1621
+ secretCreatedAt: z.ZodISODateTime;
1622
+ previousSecretExpiresAt: z.ZodNullable<z.ZodISODateTime>;
1623
+ createdAt: z.ZodISODateTime;
1624
+ secret: z.ZodString;
1625
+ }, z.core.$strict>;
1626
+ export declare const zDeleteWebhookEndpointPath: z.ZodObject<{
1627
+ webhookEndpointId: z.ZodString;
1628
+ }, z.core.$strip>;
1629
+ /**
1630
+ * Default Response
1631
+ */
1632
+ export declare const zDeleteWebhookEndpointResponse: z.ZodVoid;
1633
+ export declare const zRetrieveWebhookEndpointPath: z.ZodObject<{
1634
+ webhookEndpointId: z.ZodString;
1635
+ }, z.core.$strip>;
1636
+ /**
1637
+ * WebhookEndpoint
1638
+ *
1639
+ * A merchant endpoint configured to receive authenticated domain events.
1640
+ */
1641
+ export declare const zRetrieveWebhookEndpointResponse: z.ZodObject<{
1642
+ id: z.ZodString;
1643
+ object: z.ZodLiteral<"webhook_endpoint">;
1644
+ url: z.ZodURL;
1645
+ enabledEvents: z.ZodArray<z.ZodString>;
1646
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"suspended">, z.ZodLiteral<"deleted">]>;
1647
+ secretCreatedAt: z.ZodISODateTime;
1648
+ previousSecretExpiresAt: z.ZodNullable<z.ZodISODateTime>;
1649
+ createdAt: z.ZodISODateTime;
1650
+ }, z.core.$strict>;
1651
+ export declare const zListWebhookDeliveriesPath: z.ZodObject<{
1652
+ webhookEndpointId: z.ZodString;
1653
+ }, z.core.$strip>;
1654
+ export declare const zListWebhookDeliveriesQuery: z.ZodObject<{
1655
+ limit: z.ZodDefault<z.ZodOptional<z.ZodInt>>;
1656
+ cursor: z.ZodOptional<z.ZodString>;
1657
+ state: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"processing">, z.ZodLiteral<"delivered">, z.ZodLiteral<"dead_lettered">]>>>;
1658
+ occurredAfter: z.ZodOptional<z.ZodISODateTime>;
1659
+ occurredBefore: z.ZodOptional<z.ZodISODateTime>;
1660
+ }, z.core.$strip>;
1661
+ /**
1662
+ * WebhookDeliveryListPage
1663
+ *
1664
+ * One page of deliveries for one webhook endpoint, newest first.
1665
+ */
1666
+ export declare const zListWebhookDeliveriesResponse: z.ZodObject<{
1667
+ object: z.ZodLiteral<"list">;
1668
+ data: z.ZodArray<z.ZodObject<{
1669
+ id: z.ZodString;
1670
+ object: z.ZodLiteral<"webhook_delivery">;
1671
+ eventId: z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>;
1672
+ eventType: z.ZodString;
1673
+ state: z.ZodUnion<readonly [z.ZodLiteral<"pending">, z.ZodLiteral<"processing">, z.ZodLiteral<"delivered">, z.ZodLiteral<"dead_lettered">]>;
1674
+ attemptCount: z.ZodInt;
1675
+ nextAttemptAt: z.ZodISODateTime;
1676
+ lastStatusCode: z.ZodNullable<z.ZodInt>;
1677
+ resultCode: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<"delivered">, z.ZodLiteral<"attempt_budget_exhausted">, z.ZodLiteral<"delivery_deadline_exceeded">]>>;
1678
+ lastResponseExcerpt: z.ZodNullable<z.ZodString>;
1679
+ replayId: z.ZodNullable<z.ZodString>;
1680
+ occurredAt: z.ZodISODateTime;
1681
+ createdAt: z.ZodISODateTime;
1682
+ }, z.core.$strict>>;
1683
+ hasMore: z.ZodBoolean;
1684
+ nextCursor: z.ZodNullable<z.ZodString>;
1685
+ }, z.core.$strict>;
1686
+ /**
1687
+ * ReplayWebhookEventsRequest
1688
+ *
1689
+ * The events to send again: either up to 100 event ids, or an occurredAfter and occurredBefore window of at most seven days that selects at most 100 events. A body naming both, or an incomplete window, answers webhook_replay_scope_invalid with a pointer at the property at fault.
1690
+ */
1691
+ export declare const zReplayWebhookEventsBody: z.ZodObject<{
1692
+ eventIds: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodUUID]>>>;
1693
+ occurredAfter: z.ZodOptional<z.ZodISODateTime>;
1694
+ occurredBefore: z.ZodOptional<z.ZodISODateTime>;
1695
+ }, z.core.$strict>;
1696
+ export declare const zReplayWebhookEventsHeaders: z.ZodObject<{
1697
+ "idempotency-key": z.ZodString;
1698
+ }, z.core.$strip>;
1699
+ export declare const zReplayWebhookEventsPath: z.ZodObject<{
1700
+ webhookEndpointId: z.ZodString;
1701
+ }, z.core.$strip>;
1702
+ /**
1703
+ * WebhookReplay
1704
+ *
1705
+ * A request to send stored events to one endpoint again. Each queued delivery repeats the original event id and is signed with a fresh webhook-timestamp.
1706
+ */
1707
+ export declare const zReplayWebhookEventsResponse: z.ZodObject<{
1708
+ id: z.ZodString;
1709
+ object: z.ZodLiteral<"webhook_replay">;
1710
+ webhookEndpointId: z.ZodString;
1711
+ deliveryCount: z.ZodInt;
1712
+ createdAt: z.ZodISODateTime;
1713
+ }, z.core.$strict>;
1714
+ export declare const zRotateWebhookEndpointSecretHeaders: z.ZodObject<{
1715
+ "idempotency-key": z.ZodString;
1716
+ }, z.core.$strip>;
1717
+ export declare const zRotateWebhookEndpointSecretPath: z.ZodObject<{
1718
+ webhookEndpointId: z.ZodString;
1719
+ }, z.core.$strip>;
1720
+ /**
1721
+ * WebhookEndpointWithSecret
1722
+ *
1723
+ * The endpoint and its new signing secret. Store the secret securely.
1724
+ */
1725
+ export declare const zRotateWebhookEndpointSecretResponse: z.ZodObject<{
1726
+ id: z.ZodString;
1727
+ object: z.ZodLiteral<"webhook_endpoint">;
1728
+ url: z.ZodURL;
1729
+ enabledEvents: z.ZodArray<z.ZodString>;
1730
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"suspended">, z.ZodLiteral<"deleted">]>;
1731
+ secretCreatedAt: z.ZodISODateTime;
1732
+ previousSecretExpiresAt: z.ZodNullable<z.ZodISODateTime>;
1733
+ createdAt: z.ZodISODateTime;
1734
+ secret: z.ZodString;
1735
+ }, z.core.$strict>;
1736
+ export declare const zSuspendWebhookEndpointPath: z.ZodObject<{
1737
+ webhookEndpointId: z.ZodString;
1738
+ }, z.core.$strip>;
1739
+ /**
1740
+ * WebhookEndpoint
1741
+ *
1742
+ * A merchant endpoint configured to receive authenticated domain events.
1743
+ */
1744
+ export declare const zSuspendWebhookEndpointResponse: z.ZodObject<{
1745
+ id: z.ZodString;
1746
+ object: z.ZodLiteral<"webhook_endpoint">;
1747
+ url: z.ZodURL;
1748
+ enabledEvents: z.ZodArray<z.ZodString>;
1749
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"suspended">, z.ZodLiteral<"deleted">]>;
1750
+ secretCreatedAt: z.ZodISODateTime;
1751
+ previousSecretExpiresAt: z.ZodNullable<z.ZodISODateTime>;
1752
+ createdAt: z.ZodISODateTime;
1753
+ }, z.core.$strict>;
1754
+ export declare const zReactivateWebhookEndpointPath: z.ZodObject<{
1755
+ webhookEndpointId: z.ZodString;
1756
+ }, z.core.$strip>;
1757
+ /**
1758
+ * WebhookEndpoint
1759
+ *
1760
+ * A merchant endpoint configured to receive authenticated domain events.
1761
+ */
1762
+ export declare const zReactivateWebhookEndpointResponse: z.ZodObject<{
1763
+ id: z.ZodString;
1764
+ object: z.ZodLiteral<"webhook_endpoint">;
1765
+ url: z.ZodURL;
1766
+ enabledEvents: z.ZodArray<z.ZodString>;
1767
+ status: z.ZodUnion<readonly [z.ZodLiteral<"active">, z.ZodLiteral<"suspended">, z.ZodLiteral<"deleted">]>;
1768
+ secretCreatedAt: z.ZodISODateTime;
1769
+ previousSecretExpiresAt: z.ZodNullable<z.ZodISODateTime>;
1770
+ createdAt: z.ZodISODateTime;
1771
+ }, z.core.$strict>;
1772
+ //# sourceMappingURL=zod.gen.d.ts.map