@timbro/invoices 0.12.0 → 0.13.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 (56) hide show
  1. package/README.md +26 -0
  2. package/dist/admin.d.ts +1 -0
  3. package/dist/admin.d.ts.map +1 -1
  4. package/dist/admin.js +1 -0
  5. package/dist/certification-workbook.d.ts +9 -0
  6. package/dist/certification-workbook.d.ts.map +1 -0
  7. package/dist/certification-workbook.js +13 -0
  8. package/dist/fiscal-engine-runtime.manifest.json +117 -112
  9. package/dist/fiscal-engine-runtime.provenance.json +194 -189
  10. package/dist/generated/certification-api-contract.d.ts +430 -0
  11. package/dist/generated/certification-api-contract.d.ts.map +1 -0
  12. package/dist/generated/certification-api-contract.js +483 -0
  13. package/dist/generated/hosted/index.d.ts +3 -3
  14. package/dist/generated/hosted/index.d.ts.map +1 -1
  15. package/dist/generated/hosted/index.js +2 -2
  16. package/dist/generated/hosted/sdk.gen.d.ts +13 -1
  17. package/dist/generated/hosted/sdk.gen.d.ts.map +1 -1
  18. package/dist/generated/hosted/sdk.gen.js +165 -1
  19. package/dist/generated/hosted/types.gen.d.ts +308 -6
  20. package/dist/generated/hosted/types.gen.d.ts.map +1 -1
  21. package/dist/generated/hosted/zod-response.gen.d.ts +322 -20
  22. package/dist/generated/hosted/zod-response.gen.d.ts.map +1 -1
  23. package/dist/generated/hosted/zod-response.gen.js +113 -5
  24. package/dist/generated/hosted/zod.gen.d.ts +221 -5
  25. package/dist/generated/hosted/zod.gen.d.ts.map +1 -1
  26. package/dist/generated/hosted/zod.gen.js +133 -5
  27. package/dist/generated/index.d.ts +3 -3
  28. package/dist/generated/index.d.ts.map +1 -1
  29. package/dist/generated/index.js +2 -2
  30. package/dist/generated/invoice-api-contract.d.ts +1345 -105
  31. package/dist/generated/invoice-api-contract.d.ts.map +1 -1
  32. package/dist/generated/invoice-api-contract.js +1755 -163
  33. package/dist/generated/problem-catalog.d.ts.map +1 -1
  34. package/dist/generated/problem-catalog.js +2 -0
  35. package/dist/generated/sdk.gen.d.ts +5 -1
  36. package/dist/generated/sdk.gen.d.ts.map +1 -1
  37. package/dist/generated/sdk.gen.js +109 -1
  38. package/dist/generated/types.gen.d.ts +523 -49
  39. package/dist/generated/types.gen.d.ts.map +1 -1
  40. package/dist/generated/zod-response.gen.d.ts +22877 -5753
  41. package/dist/generated/zod-response.gen.d.ts.map +1 -1
  42. package/dist/generated/zod-response.gen.js +219 -3
  43. package/dist/generated/zod.gen.d.ts +17435 -2747
  44. package/dist/generated/zod.gen.d.ts.map +1 -1
  45. package/dist/generated/zod.gen.js +2317 -1439
  46. package/dist/generated-operation-client.d.ts +2 -2
  47. package/dist/generated-operation-client.d.ts.map +1 -1
  48. package/dist/index.d.ts +2 -1
  49. package/dist/index.d.ts.map +1 -1
  50. package/dist/invoice-hosted-controls.d.ts +11 -2
  51. package/dist/invoice-hosted-controls.d.ts.map +1 -1
  52. package/dist/invoice-hosted-controls.js +26 -1
  53. package/dist/problem-contract.d.ts +2 -0
  54. package/dist/problem-contract.d.ts.map +1 -1
  55. package/dist/timbro_fiscal_engine_bg.wasm +0 -0
  56. package/package.json +2 -2
@@ -0,0 +1,483 @@
1
+ // Generated from the Rust certification API.
2
+ export const certificationApiContract = {
3
+ paths: {
4
+ "/internal/hosted/certification/{attemptReference}/test-sets": {
5
+ post: {
6
+ tags: ["certification"],
7
+ operationId: "uploadHostedCertificationTestSet",
8
+ parameters: [
9
+ {
10
+ name: "attemptReference",
11
+ in: "path",
12
+ required: true,
13
+ schema: {
14
+ type: "string",
15
+ pattern: "^cert_[a-z0-9]{24,100}$",
16
+ },
17
+ },
18
+ {
19
+ name: "Idempotency-Key",
20
+ in: "header",
21
+ required: true,
22
+ schema: {
23
+ type: "string",
24
+ maxLength: 255,
25
+ minLength: 16,
26
+ pattern: "^[A-Za-z0-9._:-]+$",
27
+ },
28
+ },
29
+ {
30
+ name: "checkout_tenant_id",
31
+ in: "query",
32
+ description: "Hosted tenant selected by a service credential. Source credentials omit this parameter.",
33
+ required: false,
34
+ schema: {
35
+ type: "string",
36
+ minLength: 1,
37
+ },
38
+ },
39
+ {
40
+ name: "environment",
41
+ in: "query",
42
+ description: "Required with hosted tenant coordinates; must be certification.",
43
+ required: false,
44
+ schema: {
45
+ $ref: "#/components/schemas/FiscalEnvironment",
46
+ },
47
+ },
48
+ ],
49
+ requestBody: {
50
+ content: {
51
+ "application/json": {
52
+ schema: {
53
+ $ref: "#/components/schemas/CertificationTestSetUploadRequest",
54
+ },
55
+ },
56
+ },
57
+ required: true,
58
+ },
59
+ responses: {
60
+ "200": {
61
+ description: "The original upload recovered by its idempotency key.",
62
+ content: {
63
+ "application/json": {
64
+ schema: {
65
+ $ref: "#/components/schemas/CertificationTestSetResource",
66
+ },
67
+ },
68
+ },
69
+ },
70
+ "201": {
71
+ description: "The original workbook is retained for review. Uploading never submits fiscal documents.",
72
+ content: {
73
+ "application/json": {
74
+ schema: {
75
+ $ref: "#/components/schemas/CertificationTestSetResource",
76
+ },
77
+ },
78
+ },
79
+ },
80
+ "401": {
81
+ $ref: "#/components/responses/StampServerProblem",
82
+ },
83
+ "409": {
84
+ description: "The environment or idempotency precondition conflicts.",
85
+ content: {
86
+ "application/problem+json": {
87
+ schema: {
88
+ $ref: "#/components/schemas/ProblemBody",
89
+ },
90
+ },
91
+ },
92
+ },
93
+ "413": {
94
+ $ref: "#/components/responses/StampServerProblem",
95
+ },
96
+ "415": {
97
+ $ref: "#/components/responses/StampServerProblem",
98
+ },
99
+ "422": {
100
+ description: "The workbook cannot be safely interpreted for this issuer.",
101
+ content: {
102
+ "application/problem+json": {
103
+ schema: {
104
+ $ref: "#/components/schemas/ProblemBody",
105
+ },
106
+ },
107
+ },
108
+ },
109
+ "500": {
110
+ $ref: "#/components/responses/StampServerProblem",
111
+ },
112
+ },
113
+ security: [
114
+ {
115
+ sourceConnectionCredential: ["fiscal:submit"],
116
+ },
117
+ {
118
+ firstPartyBearer: [],
119
+ },
120
+ ],
121
+ "x-timbro-authorization": {
122
+ service_allowed: true,
123
+ },
124
+ },
125
+ },
126
+ "/internal/hosted/certification/{attemptReference}/test-sets/current": {
127
+ get: {
128
+ tags: ["certification"],
129
+ operationId: "retrieveHostedCertificationTestSet",
130
+ parameters: [
131
+ {
132
+ name: "attemptReference",
133
+ in: "path",
134
+ required: true,
135
+ schema: {
136
+ type: "string",
137
+ pattern: "^cert_[a-z0-9]{24,100}$",
138
+ },
139
+ },
140
+ {
141
+ name: "checkout_tenant_id",
142
+ in: "query",
143
+ description: "Hosted tenant selected by a service credential. Source credentials omit this parameter.",
144
+ required: false,
145
+ schema: {
146
+ type: "string",
147
+ minLength: 1,
148
+ },
149
+ },
150
+ {
151
+ name: "environment",
152
+ in: "query",
153
+ description: "Required with hosted tenant coordinates; must be certification.",
154
+ required: false,
155
+ schema: {
156
+ $ref: "#/components/schemas/FiscalEnvironment",
157
+ },
158
+ },
159
+ ],
160
+ responses: {
161
+ "200": {
162
+ description: "The latest retained workbook, or null when no set was uploaded.",
163
+ content: {
164
+ "application/json": {
165
+ schema: {
166
+ $ref: "#/components/schemas/CurrentCertificationTestSet",
167
+ },
168
+ },
169
+ },
170
+ },
171
+ "401": {
172
+ $ref: "#/components/responses/StampServerProblem",
173
+ },
174
+ "409": {
175
+ $ref: "#/components/responses/StampServerProblem",
176
+ },
177
+ "500": {
178
+ $ref: "#/components/responses/StampServerProblem",
179
+ },
180
+ },
181
+ security: [
182
+ {
183
+ sourceConnectionCredential: ["fiscal:read"],
184
+ },
185
+ {
186
+ firstPartyBearer: [],
187
+ },
188
+ ],
189
+ "x-timbro-authorization": {
190
+ service_allowed: true,
191
+ },
192
+ },
193
+ },
194
+ },
195
+ components: {
196
+ schemas: {
197
+ FiscalEnvironment: {
198
+ type: "string",
199
+ description: "DGII execution environment selected before lifecycle admission.",
200
+ enum: ["sandbox", "certification", "production"],
201
+ },
202
+ CertificationTestSetUploadRequest: {
203
+ type: "object",
204
+ required: ["kind", "file"],
205
+ properties: {
206
+ file: {
207
+ $ref: "#/components/schemas/CertificationWorkbookFile",
208
+ },
209
+ kind: {
210
+ $ref: "#/components/schemas/CertificationTestSetKind",
211
+ },
212
+ },
213
+ additionalProperties: false,
214
+ },
215
+ CertificationWorkbookFile: {
216
+ type: "object",
217
+ required: ["name", "contentBase64"],
218
+ properties: {
219
+ contentBase64: {
220
+ type: "string",
221
+ maxLength: 4194304,
222
+ minLength: 1,
223
+ },
224
+ name: {
225
+ type: "string",
226
+ maxLength: 128,
227
+ minLength: 1,
228
+ },
229
+ },
230
+ additionalProperties: false,
231
+ },
232
+ CertificationTestSetKind: {
233
+ type: "string",
234
+ enum: ["ecf"],
235
+ },
236
+ CertificationTestSetResource: {
237
+ type: "object",
238
+ required: [
239
+ "object",
240
+ "id",
241
+ "attemptReference",
242
+ "kind",
243
+ "generation",
244
+ "file",
245
+ "review",
246
+ "createdAt",
247
+ ],
248
+ properties: {
249
+ attemptReference: {
250
+ type: "string",
251
+ },
252
+ createdAt: {
253
+ type: "string",
254
+ format: "date-time",
255
+ },
256
+ file: {
257
+ $ref: "#/components/schemas/RetainedCertificationWorkbook",
258
+ },
259
+ generation: {
260
+ type: "string",
261
+ pattern: "^[1-9][0-9]*$",
262
+ },
263
+ id: {
264
+ type: "string",
265
+ format: "uuid",
266
+ },
267
+ kind: {
268
+ $ref: "#/components/schemas/CertificationTestSetKind",
269
+ },
270
+ object: {
271
+ $ref: "#/components/schemas/CertificationTestSetObject",
272
+ },
273
+ review: {
274
+ $ref: "#/components/schemas/CertificationTestSetReview",
275
+ },
276
+ },
277
+ additionalProperties: false,
278
+ },
279
+ RetainedCertificationWorkbook: {
280
+ type: "object",
281
+ required: ["name", "sizeBytes", "sha256"],
282
+ properties: {
283
+ name: {
284
+ type: "string",
285
+ },
286
+ sha256: {
287
+ type: "string",
288
+ pattern: "^[0-9a-f]{64}$",
289
+ },
290
+ sizeBytes: {
291
+ type: "integer",
292
+ format: "int32",
293
+ maximum: 3145728,
294
+ minimum: 1,
295
+ },
296
+ },
297
+ additionalProperties: false,
298
+ },
299
+ CertificationTestSetObject: {
300
+ type: "string",
301
+ enum: ["certification_test_set"],
302
+ },
303
+ CertificationTestSetReview: {
304
+ oneOf: [
305
+ {
306
+ type: "object",
307
+ required: ["worksheets", "requirements", "status"],
308
+ properties: {
309
+ requirements: {
310
+ type: "array",
311
+ items: {
312
+ $ref: "#/components/schemas/CertificationTestSetRequirement",
313
+ },
314
+ },
315
+ status: {
316
+ type: "string",
317
+ enum: ["review_required"],
318
+ },
319
+ worksheets: {
320
+ type: "array",
321
+ items: {
322
+ $ref: "#/components/schemas/CertificationWorksheetSummary",
323
+ },
324
+ },
325
+ },
326
+ additionalProperties: false,
327
+ },
328
+ ],
329
+ },
330
+ CertificationTestSetRequirement: {
331
+ type: "string",
332
+ enum: ["case_mapping_pending"],
333
+ },
334
+ CertificationWorksheetSummary: {
335
+ type: "object",
336
+ required: ["name", "caseCount"],
337
+ properties: {
338
+ caseCount: {
339
+ type: "integer",
340
+ format: "int32",
341
+ maximum: 1000,
342
+ minimum: 1,
343
+ },
344
+ name: {
345
+ $ref: "#/components/schemas/CertificationWorksheetName",
346
+ },
347
+ },
348
+ additionalProperties: false,
349
+ },
350
+ CertificationWorksheetName: {
351
+ type: "string",
352
+ enum: ["ECF", "RFCE"],
353
+ },
354
+ ProblemBody: {
355
+ type: "object",
356
+ description: "One RFC 9457 problem body returned on the `/v1` surface.",
357
+ required: ["type", "title", "status", "code", "requestId"],
358
+ properties: {
359
+ code: {
360
+ type: "string",
361
+ minLength: 1,
362
+ },
363
+ detail: {
364
+ type: "string",
365
+ },
366
+ invoiceId: {
367
+ type: "string",
368
+ description: "Present only when the rejected request produced a Fiscal operation.",
369
+ },
370
+ issuanceBlockers: {
371
+ type: "array",
372
+ items: {
373
+ $ref: "#/components/schemas/IssuanceBlocker",
374
+ },
375
+ description: "Present only when the authoritative issuance rules refused to issue.",
376
+ },
377
+ problems: {
378
+ type: "array",
379
+ items: {
380
+ $ref: "#/components/schemas/FiscalAdmissionProblem",
381
+ },
382
+ description: "Present only when the rejection points at a value the request carried.",
383
+ },
384
+ requestId: {
385
+ type: "string",
386
+ },
387
+ status: {
388
+ type: "integer",
389
+ format: "int32",
390
+ maximum: 599,
391
+ minimum: 400,
392
+ },
393
+ title: {
394
+ type: "string",
395
+ },
396
+ type: {
397
+ $ref: "#/components/schemas/ProblemType",
398
+ },
399
+ },
400
+ additionalProperties: false,
401
+ },
402
+ IssuanceBlocker: {
403
+ type: "string",
404
+ description: "One stable reason the authoritative rules refuse to issue.",
405
+ enum: [
406
+ "invalid_request",
407
+ "unsupported_protocol",
408
+ "unsupported_rules_version",
409
+ "invalid_resolved_facts",
410
+ "numbering_verifier_missing",
411
+ "numbering_mode_not_enabled",
412
+ "document_type_not_recognized",
413
+ "authorization_missing",
414
+ "authorization_not_observed_on_effective_date",
415
+ "authorization_suspended",
416
+ "authorization_cancelled",
417
+ "authorization_superseded",
418
+ "authorization_exhausted",
419
+ "authorization_conflicting",
420
+ "authorization_document_type_mismatch",
421
+ "central_assignment_requires_verified_authorization",
422
+ "authorization_expired",
423
+ "authorization_range_overlap",
424
+ "fiscal_number_capacity_exhausted",
425
+ "invalid_fiscal_number",
426
+ "fiscal_number_outside_authorized_range",
427
+ "fiscal_number_before_verified_floor",
428
+ "sequence_expiration_mismatch",
429
+ ],
430
+ },
431
+ FiscalAdmissionProblem: {
432
+ type: "object",
433
+ description: "One stable public document problem retained for a rejected admission.",
434
+ required: ["path", "code", "message"],
435
+ properties: {
436
+ code: {
437
+ type: "string",
438
+ },
439
+ message: {
440
+ type: "string",
441
+ },
442
+ path: {
443
+ type: "string",
444
+ },
445
+ },
446
+ additionalProperties: false,
447
+ },
448
+ ProblemType: {
449
+ type: "string",
450
+ enum: ["about:blank"],
451
+ },
452
+ CurrentCertificationTestSet: {
453
+ type: "object",
454
+ required: ["current"],
455
+ properties: {
456
+ current: {
457
+ oneOf: [
458
+ {
459
+ type: "null",
460
+ },
461
+ {
462
+ $ref: "#/components/schemas/CertificationTestSetResource",
463
+ },
464
+ ],
465
+ },
466
+ },
467
+ additionalProperties: false,
468
+ },
469
+ },
470
+ responses: {
471
+ StampServerProblem: {
472
+ description: "The native stamp server returned a typed Problem.",
473
+ content: {
474
+ "application/problem+json": {
475
+ schema: {
476
+ $ref: "#/components/schemas/ProblemBody",
477
+ },
478
+ },
479
+ },
480
+ },
481
+ },
482
+ },
483
+ };
@@ -1,4 +1,4 @@
1
- export { configureInvoicing, createWebhookEndpoint, deleteWebhookEndpoint, importSigningCertificate, issueInvoiceKey, issueTestInvoice, listWebhookDeliveries, listWebhookEndpoints, type Options, reactivateWebhookEndpoint, replayWebhookEvents, retrieveBusiness, retrieveMerchantBusinessCertification, retrieveWebhookEndpoint, rotateWebhookEndpointSecret, startMerchantBusinessCertification, submitMerchantBusinessCertificationEvidence, suspendWebhookEndpoint, updateBusiness, } from "./sdk.gen.ts";
2
- export type { ClientOptions, ConfigureInvoicingData, ConfigureInvoicingError, ConfigureInvoicingErrors, ConfigureInvoicingResponse, ConfigureInvoicingResponses, CreateWebhookEndpointData, CreateWebhookEndpointError, CreateWebhookEndpointErrors, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, DeleteWebhookEndpointData, DeleteWebhookEndpointError, DeleteWebhookEndpointErrors, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DocumentTypeIssuanceReadiness, ImportSigningCertificateData, ImportSigningCertificateError, ImportSigningCertificateErrors, ImportSigningCertificateResponse, ImportSigningCertificateResponses, IssueInvoiceKeyData, IssueInvoiceKeyError, IssueInvoiceKeyErrors, IssueInvoiceKeyResponse, IssueInvoiceKeyResponses, IssueTestInvoiceData, IssueTestInvoiceError, IssueTestInvoiceErrors, IssueTestInvoiceResponse, IssueTestInvoiceResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesError, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhookEndpointsData, ListWebhookEndpointsError, ListWebhookEndpointsErrors, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, MerchantBusinessCertificationEvidence, MerchantBusinessCertificationRequirement, MerchantBusinessCertificationStep, MerchantBusinessFiscalBinding, MerchantBusinessFiscalSetup, MerchantBusinessFiscalSetupAvailable, MerchantBusinessFiscalSetupUnavailable, MerchantBusinessLegalIssuer, MerchantBusinessLiveFiscalSetup, MerchantBusinessLiveFiscalSetupAvailable, MerchantBusinessSigningCertificate, NumberingRange, Problem, ReactivateWebhookEndpointData, ReactivateWebhookEndpointError, ReactivateWebhookEndpointErrors, ReactivateWebhookEndpointResponse, ReactivateWebhookEndpointResponses, ReplayWebhookEventsData, ReplayWebhookEventsError, ReplayWebhookEventsErrors, ReplayWebhookEventsResponse, ReplayWebhookEventsResponses, RetrieveBusinessData, RetrieveBusinessError, RetrieveBusinessErrors, RetrieveBusinessResponse, RetrieveBusinessResponses, RetrieveMerchantBusinessCertificationData, RetrieveMerchantBusinessCertificationError, RetrieveMerchantBusinessCertificationErrors, RetrieveMerchantBusinessCertificationResponse, RetrieveMerchantBusinessCertificationResponses, RetrieveWebhookEndpointData, RetrieveWebhookEndpointError, RetrieveWebhookEndpointErrors, RetrieveWebhookEndpointResponse, RetrieveWebhookEndpointResponses, RotateWebhookEndpointSecretData, RotateWebhookEndpointSecretError, RotateWebhookEndpointSecretErrors, RotateWebhookEndpointSecretResponse, RotateWebhookEndpointSecretResponses, StartMerchantBusinessCertificationData, StartMerchantBusinessCertificationError, StartMerchantBusinessCertificationErrors, StartMerchantBusinessCertificationResponse, StartMerchantBusinessCertificationResponses, SubmitMerchantBusinessCertificationEvidenceData, SubmitMerchantBusinessCertificationEvidenceError, SubmitMerchantBusinessCertificationEvidenceErrors, SubmitMerchantBusinessCertificationEvidenceResponse, SubmitMerchantBusinessCertificationEvidenceResponses, SuspendWebhookEndpointData, SuspendWebhookEndpointError, SuspendWebhookEndpointErrors, SuspendWebhookEndpointResponse, SuspendWebhookEndpointResponses, UpdateBusinessData, UpdateBusinessError, UpdateBusinessErrors, UpdateBusinessResponse, UpdateBusinessResponses, } from "./types.gen.ts";
3
- export { zConfigureInvoicingBody, zConfigureInvoicingHeaders, zConfigureInvoicingResponse, zCreateWebhookEndpointBody, zCreateWebhookEndpointHeaders, zCreateWebhookEndpointResponse, zDeleteWebhookEndpointPath, zDeleteWebhookEndpointResponse, zDocumentTypeIssuanceReadiness, zImportSigningCertificateBody, zImportSigningCertificateResponse, zIssueInvoiceKeyBody, zIssueInvoiceKeyHeaders, zIssueInvoiceKeyResponse, zIssueTestInvoiceBody, zIssueTestInvoiceResponse, zListWebhookDeliveriesPath, zListWebhookDeliveriesQuery, zListWebhookDeliveriesResponse, zListWebhookEndpointsQuery, zListWebhookEndpointsResponse, zMerchantBusinessCertificationEvidence, zMerchantBusinessCertificationRequirement, zMerchantBusinessCertificationStep, zMerchantBusinessFiscalBinding, zMerchantBusinessFiscalSetup, zMerchantBusinessFiscalSetupAvailable, zMerchantBusinessFiscalSetupUnavailable, zMerchantBusinessLegalIssuer, zMerchantBusinessLiveFiscalSetup, zMerchantBusinessLiveFiscalSetupAvailable, zMerchantBusinessSigningCertificate, zNumberingRange, zProblem, zReactivateWebhookEndpointPath, zReactivateWebhookEndpointResponse, zReplayWebhookEventsBody, zReplayWebhookEventsHeaders, zReplayWebhookEventsPath, zReplayWebhookEventsResponse, zRetrieveBusinessResponse, zRetrieveMerchantBusinessCertificationResponse, zRetrieveWebhookEndpointPath, zRetrieveWebhookEndpointResponse, zRotateWebhookEndpointSecretHeaders, zRotateWebhookEndpointSecretPath, zRotateWebhookEndpointSecretResponse, zStartMerchantBusinessCertificationBody, zStartMerchantBusinessCertificationHeaders, zStartMerchantBusinessCertificationResponse, zSubmitMerchantBusinessCertificationEvidenceBody, zSubmitMerchantBusinessCertificationEvidenceHeaders, zSubmitMerchantBusinessCertificationEvidenceResponse, zSuspendWebhookEndpointPath, zSuspendWebhookEndpointResponse, zUpdateBusinessBody, zUpdateBusinessResponse, } from "./zod.gen.ts";
1
+ export { configureInvoicing, createWebhookEndpoint, deleteWebhookEndpoint, importSigningCertificate, issueInvoiceKey, issueTestInvoice, listWebhookDeliveries, listWebhookEndpoints, type Options, reactivateWebhookEndpoint, replayWebhookEvents, retrieveBusiness, retrieveMerchantBusinessCertification, retrieveMerchantBusinessCertificationTestSet, retrieveWebhookEndpoint, rotateWebhookEndpointSecret, startMerchantBusinessCertification, submitMerchantBusinessCertificationEvidence, suspendWebhookEndpoint, updateBusiness, uploadMerchantBusinessCertificationTestSet, } from "./sdk.gen.ts";
2
+ export type { CertificationTestSetKind, CertificationTestSetObject, CertificationTestSetRequirement, CertificationTestSetResource, CertificationTestSetReview, CertificationWorksheetName, CertificationWorksheetSummary, ClientOptions, ConfigureInvoicingData, ConfigureInvoicingError, ConfigureInvoicingErrors, ConfigureInvoicingResponse, ConfigureInvoicingResponses, CreateWebhookEndpointData, CreateWebhookEndpointError, CreateWebhookEndpointErrors, CreateWebhookEndpointResponse, CreateWebhookEndpointResponses, DeleteWebhookEndpointData, DeleteWebhookEndpointError, DeleteWebhookEndpointErrors, DeleteWebhookEndpointResponse, DeleteWebhookEndpointResponses, DocumentTypeIssuanceReadiness, ImportSigningCertificateData, ImportSigningCertificateError, ImportSigningCertificateErrors, ImportSigningCertificateResponse, ImportSigningCertificateResponses, IssueInvoiceKeyData, IssueInvoiceKeyError, IssueInvoiceKeyErrors, IssueInvoiceKeyResponse, IssueInvoiceKeyResponses, IssueTestInvoiceData, IssueTestInvoiceError, IssueTestInvoiceErrors, IssueTestInvoiceResponse, IssueTestInvoiceResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesError, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponse, ListWebhookDeliveriesResponses, ListWebhookEndpointsData, ListWebhookEndpointsError, ListWebhookEndpointsErrors, ListWebhookEndpointsResponse, ListWebhookEndpointsResponses, MerchantBusinessCertificationEvidence, MerchantBusinessCertificationRequirement, MerchantBusinessCertificationStep, MerchantBusinessFiscalBinding, MerchantBusinessFiscalSetup, MerchantBusinessFiscalSetupAvailable, MerchantBusinessFiscalSetupUnavailable, MerchantBusinessLegalIssuer, MerchantBusinessLiveFiscalSetup, MerchantBusinessLiveFiscalSetupAvailable, MerchantBusinessSigningCertificate, NumberingRange, Problem, ReactivateWebhookEndpointData, ReactivateWebhookEndpointError, ReactivateWebhookEndpointErrors, ReactivateWebhookEndpointResponse, ReactivateWebhookEndpointResponses, ReplayWebhookEventsData, ReplayWebhookEventsError, ReplayWebhookEventsErrors, ReplayWebhookEventsResponse, ReplayWebhookEventsResponses, RetainedCertificationWorkbook, RetrieveBusinessData, RetrieveBusinessError, RetrieveBusinessErrors, RetrieveBusinessResponse, RetrieveBusinessResponses, RetrieveMerchantBusinessCertificationData, RetrieveMerchantBusinessCertificationError, RetrieveMerchantBusinessCertificationErrors, RetrieveMerchantBusinessCertificationResponse, RetrieveMerchantBusinessCertificationResponses, RetrieveMerchantBusinessCertificationTestSetData, RetrieveMerchantBusinessCertificationTestSetError, RetrieveMerchantBusinessCertificationTestSetErrors, RetrieveMerchantBusinessCertificationTestSetResponse, RetrieveMerchantBusinessCertificationTestSetResponses, RetrieveWebhookEndpointData, RetrieveWebhookEndpointError, RetrieveWebhookEndpointErrors, RetrieveWebhookEndpointResponse, RetrieveWebhookEndpointResponses, RotateWebhookEndpointSecretData, RotateWebhookEndpointSecretError, RotateWebhookEndpointSecretErrors, RotateWebhookEndpointSecretResponse, RotateWebhookEndpointSecretResponses, StartMerchantBusinessCertificationData, StartMerchantBusinessCertificationError, StartMerchantBusinessCertificationErrors, StartMerchantBusinessCertificationResponse, StartMerchantBusinessCertificationResponses, SubmitMerchantBusinessCertificationEvidenceData, SubmitMerchantBusinessCertificationEvidenceError, SubmitMerchantBusinessCertificationEvidenceErrors, SubmitMerchantBusinessCertificationEvidenceResponse, SubmitMerchantBusinessCertificationEvidenceResponses, SuspendWebhookEndpointData, SuspendWebhookEndpointError, SuspendWebhookEndpointErrors, SuspendWebhookEndpointResponse, SuspendWebhookEndpointResponses, UpdateBusinessData, UpdateBusinessError, UpdateBusinessErrors, UpdateBusinessResponse, UpdateBusinessResponses, UploadMerchantBusinessCertificationTestSetData, UploadMerchantBusinessCertificationTestSetError, UploadMerchantBusinessCertificationTestSetErrors, UploadMerchantBusinessCertificationTestSetResponse, UploadMerchantBusinessCertificationTestSetResponses, } from "./types.gen.ts";
3
+ export { zCertificationTestSetKind, zCertificationTestSetObject, zCertificationTestSetRequirement, zCertificationTestSetResource, zCertificationTestSetReview, zCertificationWorksheetName, zCertificationWorksheetSummary, zConfigureInvoicingBody, zConfigureInvoicingHeaders, zConfigureInvoicingResponse, zCreateWebhookEndpointBody, zCreateWebhookEndpointHeaders, zCreateWebhookEndpointResponse, zDeleteWebhookEndpointPath, zDeleteWebhookEndpointResponse, zDocumentTypeIssuanceReadiness, zImportSigningCertificateBody, zImportSigningCertificateResponse, zIssueInvoiceKeyBody, zIssueInvoiceKeyHeaders, zIssueInvoiceKeyResponse, zIssueTestInvoiceBody, zIssueTestInvoiceResponse, zListWebhookDeliveriesPath, zListWebhookDeliveriesQuery, zListWebhookDeliveriesResponse, zListWebhookEndpointsQuery, zListWebhookEndpointsResponse, zMerchantBusinessCertificationEvidence, zMerchantBusinessCertificationRequirement, zMerchantBusinessCertificationStep, zMerchantBusinessFiscalBinding, zMerchantBusinessFiscalSetup, zMerchantBusinessFiscalSetupAvailable, zMerchantBusinessFiscalSetupUnavailable, zMerchantBusinessLegalIssuer, zMerchantBusinessLiveFiscalSetup, zMerchantBusinessLiveFiscalSetupAvailable, zMerchantBusinessSigningCertificate, zNumberingRange, zProblem, zReactivateWebhookEndpointPath, zReactivateWebhookEndpointResponse, zReplayWebhookEventsBody, zReplayWebhookEventsHeaders, zReplayWebhookEventsPath, zReplayWebhookEventsResponse, zRetainedCertificationWorkbook, zRetrieveBusinessResponse, zRetrieveMerchantBusinessCertificationResponse, zRetrieveMerchantBusinessCertificationTestSetResponse, zRetrieveWebhookEndpointPath, zRetrieveWebhookEndpointResponse, zRotateWebhookEndpointSecretHeaders, zRotateWebhookEndpointSecretPath, zRotateWebhookEndpointSecretResponse, zStartMerchantBusinessCertificationBody, zStartMerchantBusinessCertificationHeaders, zStartMerchantBusinessCertificationResponse, zSubmitMerchantBusinessCertificationEvidenceBody, zSubmitMerchantBusinessCertificationEvidenceHeaders, zSubmitMerchantBusinessCertificationEvidenceResponse, zSuspendWebhookEndpointPath, zSuspendWebhookEndpointResponse, zUpdateBusinessBody, zUpdateBusinessResponse, zUploadMerchantBusinessCertificationTestSetBody, zUploadMerchantBusinessCertificationTestSetHeaders, zUploadMerchantBusinessCertificationTestSetResponse, } from "./zod.gen.ts";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/hosted/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,KAAK,OAAO,EACZ,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,qCAAqC,EACrC,uBAAuB,EACvB,2BAA2B,EAC3B,kCAAkC,EAClC,2CAA2C,EAC3C,sBAAsB,EACtB,cAAc,GACf,MAAM,cAAc,CAAC;AACtB,YAAY,EACV,aAAa,EACb,sBAAsB,EACtB,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC3B,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,6BAA6B,EAC7B,8BAA8B,EAC9B,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,6BAA6B,EAC7B,8BAA8B,EAC9B,6BAA6B,EAC7B,4BAA4B,EAC5B,6BAA6B,EAC7B,8BAA8B,EAC9B,gCAAgC,EAChC,iCAAiC,EACjC,mBAAmB,EACnB,oBAAoB,EAC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OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC3B,0BAA0B,EAC1B,6BAA6B,EAC7B,8BAA8B,EAC9B,0BAA0B,EAC1B,8BAA8B,EAC9B,8BAA8B,EAC9B,6BAA6B,EAC7B,iCAAiC,EACjC,oBAAoB,EACpB,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,yBAAyB,EACzB,0BAA0B,EAC1B,2BAA2B,EAC3B,8BAA8B,EAC9B,0BAA0B,EAC1B,6BAA6B,EAC7B,sCAAsC,EACtC,yCAAyC,EACzC,kCAAkC,EAClC,8BAA8B,EAC9B,4BAA4B,EAC5B,qCAAqC,EACrC,uCAAuC,EACvC,4BAA4B,EAC5B,gCAAgC,EAChC,yCAAyC,EACzC,mCAAmC,EACnC,eAAe,EACf,QAAQ,EACR,8BAA8B,EAC9B,kCAAkC,EAClC,wBAAwB,EACxB,2BAA2B,EAC3B,wBAAwB,EACxB,4BAA4B,EAC5B,yBAAyB,EACzB,8CAA8C,EAC9C,4BAA4B,EAC5B,gCAAgC,EAChC,mCAAmC,EACnC,gCAAgC,EAChC,oCAAoC,EACpC,uCAAuC,EACvC,0CAA0C,EAC1C,2CAA2C,EAC3C,gDAAgD,EAChD,mDAAmD,EACnD,oDAAoD,EACpD,2BAA2B,EAC3B,+BAA+B,EAC/B,mBAAmB,EACnB,uBAAuB,GACxB,MAAM,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/generated/hosted/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,qBAAqB,EACrB,qBAAqB,EACrB,wBAAwB,EACxB,eAAe,EACf,gBAAgB,EAChB,qBAAqB,EACrB,oBAAoB,EACpB,KAAK,OAAO,EACZ,yBAAyB,EACzB,mBAAmB,EACnB,gBAAgB,EAChB,qCAAqC,EACrC,4CAA4C,EAC5C,uBAAuB,EACvB,2BAA2B,EAC3B,kCAAkC,EAClC,2CAA2C,EAC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,uCAAuC,EACvC,4BAA4B,EAC5B,gCAAgC,EAChC,yCAAyC,EACzC,mCAAmC,EACnC,eAAe,EACf,QAAQ,EACR,8BAA8B,EAC9B,kCAAkC,EAClC,wBAAwB,EACxB,2BAA2B,EAC3B,wBAAwB,EACxB,4BAA4B,EAC5B,8BAA8B,EAC9B,yBAAyB,EACzB,8CAA8C,EAC9C,qDAAqD,EACrD,4BAA4B,EAC5B,gCAAgC,EAChC,mCAAmC,EACnC,gCAAgC,EAChC,oCAAoC,EACpC,uCAAuC,EACvC,0CAA0C,EAC1C,2CAA2C,EAC3C,gDAAgD,EAChD,mDAAmD,EACnD,oDAAoD,EACpD,2BAA2B,EAC3B,+BAA+B,EAC/B,mBAAmB,EACnB,uBAAuB,EACvB,+CAA+C,EAC/C,kDAAkD,EAClD,mDAAmD,GACpD,MAAM,cAAc,CAAC"}
@@ -1,3 +1,3 @@
1
1
  // This file is auto-generated by @hey-api/openapi-ts
2
- export { configureInvoicing, createWebhookEndpoint, deleteWebhookEndpoint, importSigningCertificate, issueInvoiceKey, issueTestInvoice, listWebhookDeliveries, listWebhookEndpoints, reactivateWebhookEndpoint, replayWebhookEvents, retrieveBusiness, retrieveMerchantBusinessCertification, retrieveWebhookEndpoint, rotateWebhookEndpointSecret, startMerchantBusinessCertification, submitMerchantBusinessCertificationEvidence, suspendWebhookEndpoint, updateBusiness, } from "./sdk.gen.js";
3
- export { zConfigureInvoicingBody, zConfigureInvoicingHeaders, zConfigureInvoicingResponse, zCreateWebhookEndpointBody, zCreateWebhookEndpointHeaders, zCreateWebhookEndpointResponse, zDeleteWebhookEndpointPath, zDeleteWebhookEndpointResponse, zDocumentTypeIssuanceReadiness, zImportSigningCertificateBody, zImportSigningCertificateResponse, zIssueInvoiceKeyBody, zIssueInvoiceKeyHeaders, zIssueInvoiceKeyResponse, zIssueTestInvoiceBody, zIssueTestInvoiceResponse, zListWebhookDeliveriesPath, zListWebhookDeliveriesQuery, zListWebhookDeliveriesResponse, zListWebhookEndpointsQuery, zListWebhookEndpointsResponse, zMerchantBusinessCertificationEvidence, zMerchantBusinessCertificationRequirement, zMerchantBusinessCertificationStep, zMerchantBusinessFiscalBinding, zMerchantBusinessFiscalSetup, zMerchantBusinessFiscalSetupAvailable, zMerchantBusinessFiscalSetupUnavailable, zMerchantBusinessLegalIssuer, zMerchantBusinessLiveFiscalSetup, zMerchantBusinessLiveFiscalSetupAvailable, zMerchantBusinessSigningCertificate, zNumberingRange, zProblem, zReactivateWebhookEndpointPath, zReactivateWebhookEndpointResponse, zReplayWebhookEventsBody, zReplayWebhookEventsHeaders, zReplayWebhookEventsPath, zReplayWebhookEventsResponse, zRetrieveBusinessResponse, zRetrieveMerchantBusinessCertificationResponse, zRetrieveWebhookEndpointPath, zRetrieveWebhookEndpointResponse, zRotateWebhookEndpointSecretHeaders, zRotateWebhookEndpointSecretPath, zRotateWebhookEndpointSecretResponse, zStartMerchantBusinessCertificationBody, zStartMerchantBusinessCertificationHeaders, zStartMerchantBusinessCertificationResponse, zSubmitMerchantBusinessCertificationEvidenceBody, zSubmitMerchantBusinessCertificationEvidenceHeaders, zSubmitMerchantBusinessCertificationEvidenceResponse, zSuspendWebhookEndpointPath, zSuspendWebhookEndpointResponse, zUpdateBusinessBody, zUpdateBusinessResponse, } from "./zod.gen.js";
2
+ export { configureInvoicing, createWebhookEndpoint, deleteWebhookEndpoint, importSigningCertificate, issueInvoiceKey, issueTestInvoice, listWebhookDeliveries, listWebhookEndpoints, reactivateWebhookEndpoint, replayWebhookEvents, retrieveBusiness, retrieveMerchantBusinessCertification, retrieveMerchantBusinessCertificationTestSet, retrieveWebhookEndpoint, rotateWebhookEndpointSecret, startMerchantBusinessCertification, submitMerchantBusinessCertificationEvidence, suspendWebhookEndpoint, updateBusiness, uploadMerchantBusinessCertificationTestSet, } from "./sdk.gen.js";
3
+ export { zCertificationTestSetKind, zCertificationTestSetObject, zCertificationTestSetRequirement, zCertificationTestSetResource, zCertificationTestSetReview, zCertificationWorksheetName, zCertificationWorksheetSummary, zConfigureInvoicingBody, zConfigureInvoicingHeaders, zConfigureInvoicingResponse, zCreateWebhookEndpointBody, zCreateWebhookEndpointHeaders, zCreateWebhookEndpointResponse, zDeleteWebhookEndpointPath, zDeleteWebhookEndpointResponse, zDocumentTypeIssuanceReadiness, zImportSigningCertificateBody, zImportSigningCertificateResponse, zIssueInvoiceKeyBody, zIssueInvoiceKeyHeaders, zIssueInvoiceKeyResponse, zIssueTestInvoiceBody, zIssueTestInvoiceResponse, zListWebhookDeliveriesPath, zListWebhookDeliveriesQuery, zListWebhookDeliveriesResponse, zListWebhookEndpointsQuery, zListWebhookEndpointsResponse, zMerchantBusinessCertificationEvidence, zMerchantBusinessCertificationRequirement, zMerchantBusinessCertificationStep, zMerchantBusinessFiscalBinding, zMerchantBusinessFiscalSetup, zMerchantBusinessFiscalSetupAvailable, zMerchantBusinessFiscalSetupUnavailable, zMerchantBusinessLegalIssuer, zMerchantBusinessLiveFiscalSetup, zMerchantBusinessLiveFiscalSetupAvailable, zMerchantBusinessSigningCertificate, zNumberingRange, zProblem, zReactivateWebhookEndpointPath, zReactivateWebhookEndpointResponse, zReplayWebhookEventsBody, zReplayWebhookEventsHeaders, zReplayWebhookEventsPath, zReplayWebhookEventsResponse, zRetainedCertificationWorkbook, zRetrieveBusinessResponse, zRetrieveMerchantBusinessCertificationResponse, zRetrieveMerchantBusinessCertificationTestSetResponse, zRetrieveWebhookEndpointPath, zRetrieveWebhookEndpointResponse, zRotateWebhookEndpointSecretHeaders, zRotateWebhookEndpointSecretPath, zRotateWebhookEndpointSecretResponse, zStartMerchantBusinessCertificationBody, zStartMerchantBusinessCertificationHeaders, zStartMerchantBusinessCertificationResponse, zSubmitMerchantBusinessCertificationEvidenceBody, zSubmitMerchantBusinessCertificationEvidenceHeaders, zSubmitMerchantBusinessCertificationEvidenceResponse, zSuspendWebhookEndpointPath, zSuspendWebhookEndpointResponse, zUpdateBusinessBody, zUpdateBusinessResponse, zUploadMerchantBusinessCertificationTestSetBody, zUploadMerchantBusinessCertificationTestSetHeaders, zUploadMerchantBusinessCertificationTestSetResponse, } from "./zod.gen.js";
@@ -1,5 +1,5 @@
1
1
  import type { Client, ClientMeta, Options as Options2, RequestResult, TDataShape } from "../../generated-operation-client.ts";
2
- import type { ConfigureInvoicingData, ConfigureInvoicingErrors, ConfigureInvoicingResponses, CreateWebhookEndpointData, CreateWebhookEndpointErrors, CreateWebhookEndpointResponses, DeleteWebhookEndpointData, DeleteWebhookEndpointErrors, DeleteWebhookEndpointResponses, ImportSigningCertificateData, ImportSigningCertificateErrors, ImportSigningCertificateResponses, IssueInvoiceKeyData, IssueInvoiceKeyErrors, IssueInvoiceKeyResponses, IssueTestInvoiceData, IssueTestInvoiceErrors, IssueTestInvoiceResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponses, ListWebhookEndpointsData, ListWebhookEndpointsErrors, ListWebhookEndpointsResponses, ReactivateWebhookEndpointData, ReactivateWebhookEndpointErrors, ReactivateWebhookEndpointResponses, ReplayWebhookEventsData, ReplayWebhookEventsErrors, ReplayWebhookEventsResponses, RetrieveBusinessData, RetrieveBusinessErrors, RetrieveBusinessResponses, RetrieveMerchantBusinessCertificationData, RetrieveMerchantBusinessCertificationErrors, RetrieveMerchantBusinessCertificationResponses, RetrieveWebhookEndpointData, RetrieveWebhookEndpointErrors, RetrieveWebhookEndpointResponses, RotateWebhookEndpointSecretData, RotateWebhookEndpointSecretErrors, RotateWebhookEndpointSecretResponses, StartMerchantBusinessCertificationData, StartMerchantBusinessCertificationErrors, StartMerchantBusinessCertificationResponses, SubmitMerchantBusinessCertificationEvidenceData, SubmitMerchantBusinessCertificationEvidenceErrors, SubmitMerchantBusinessCertificationEvidenceResponses, SuspendWebhookEndpointData, SuspendWebhookEndpointErrors, SuspendWebhookEndpointResponses, UpdateBusinessData, UpdateBusinessErrors, UpdateBusinessResponses } from "./types.gen.ts";
2
+ import type { ConfigureInvoicingData, ConfigureInvoicingErrors, ConfigureInvoicingResponses, CreateWebhookEndpointData, CreateWebhookEndpointErrors, CreateWebhookEndpointResponses, DeleteWebhookEndpointData, DeleteWebhookEndpointErrors, DeleteWebhookEndpointResponses, ImportSigningCertificateData, ImportSigningCertificateErrors, ImportSigningCertificateResponses, IssueInvoiceKeyData, IssueInvoiceKeyErrors, IssueInvoiceKeyResponses, IssueTestInvoiceData, IssueTestInvoiceErrors, IssueTestInvoiceResponses, ListWebhookDeliveriesData, ListWebhookDeliveriesErrors, ListWebhookDeliveriesResponses, ListWebhookEndpointsData, ListWebhookEndpointsErrors, ListWebhookEndpointsResponses, ReactivateWebhookEndpointData, ReactivateWebhookEndpointErrors, ReactivateWebhookEndpointResponses, ReplayWebhookEventsData, ReplayWebhookEventsErrors, ReplayWebhookEventsResponses, RetrieveBusinessData, RetrieveBusinessErrors, RetrieveBusinessResponses, RetrieveMerchantBusinessCertificationData, RetrieveMerchantBusinessCertificationErrors, RetrieveMerchantBusinessCertificationResponses, RetrieveMerchantBusinessCertificationTestSetData, RetrieveMerchantBusinessCertificationTestSetErrors, RetrieveMerchantBusinessCertificationTestSetResponses, RetrieveWebhookEndpointData, RetrieveWebhookEndpointErrors, RetrieveWebhookEndpointResponses, RotateWebhookEndpointSecretData, RotateWebhookEndpointSecretErrors, RotateWebhookEndpointSecretResponses, StartMerchantBusinessCertificationData, StartMerchantBusinessCertificationErrors, StartMerchantBusinessCertificationResponses, SubmitMerchantBusinessCertificationEvidenceData, SubmitMerchantBusinessCertificationEvidenceErrors, SubmitMerchantBusinessCertificationEvidenceResponses, SuspendWebhookEndpointData, SuspendWebhookEndpointErrors, SuspendWebhookEndpointResponses, UpdateBusinessData, UpdateBusinessErrors, UpdateBusinessResponses, UploadMerchantBusinessCertificationTestSetData, UploadMerchantBusinessCertificationTestSetErrors, UploadMerchantBusinessCertificationTestSetResponses } from "./types.gen.ts";
3
3
  export type Options<TData extends TDataShape = TDataShape, TResponse = unknown> = Options2<TData, TResponse> & {
4
4
  /**
5
5
  * You can provide a client instance returned by `createClient()` instead of
@@ -43,6 +43,18 @@ export declare const startMerchantBusinessCertification: (options: Options<Start
43
43
  * Appends a user-reported outcome for the current step. A reported approval remains unverified and cannot advance the process until an operator reviews the supporting evidence.
44
44
  */
45
45
  export declare const submitMerchantBusinessCertificationEvidence: (options: Options<SubmitMerchantBusinessCertificationEvidenceData>) => RequestResult<SubmitMerchantBusinessCertificationEvidenceResponses, SubmitMerchantBusinessCertificationEvidenceErrors>;
46
+ /**
47
+ * Upload a certification workbook
48
+ *
49
+ * Retains the original workbook for review in the current DGII certification attempt. Uploading does not execute test cases, submit fiscal documents, or advance certification.
50
+ */
51
+ export declare const uploadMerchantBusinessCertificationTestSet: (options: Options<UploadMerchantBusinessCertificationTestSetData>) => RequestResult<UploadMerchantBusinessCertificationTestSetResponses, UploadMerchantBusinessCertificationTestSetErrors>;
52
+ /**
53
+ * Retrieve the current certification workbook
54
+ *
55
+ * Returns the latest workbook retained for the authenticated business's current DGII certification attempt, or null before an upload. Retention is inert and does not run cases or advance DGII progress.
56
+ */
57
+ export declare const retrieveMerchantBusinessCertificationTestSet: (options: Options<RetrieveMerchantBusinessCertificationTestSetData>) => RequestResult<RetrieveMerchantBusinessCertificationTestSetResponses, RetrieveMerchantBusinessCertificationTestSetErrors>;
46
58
  /**
47
59
  * Configure a Timbro invoice environment
48
60
  *
@@ -1 +1 @@
1
- {"version":3,"file":"sdk.gen.d.ts","sourceRoot":"","sources":["../../../src/generated/hosted/sdk.gen.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,MAAM,EACN,UAAU,EACV,OAAO,IAAI,QAAQ,EACnB,aAAa,EACb,UAAU,EACX,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,2BAA2B,EAC3B,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,2BAA2B,EAC3B,8BAA8B,EAC9B,4BAA4B,EAC5B,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