@timbro/invoices 0.11.0 → 0.12.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 (37) hide show
  1. package/README.md +20 -0
  2. package/dist/admin.d.ts +1 -1
  3. package/dist/admin.d.ts.map +1 -1
  4. package/dist/generated/hosted/index.d.ts +3 -3
  5. package/dist/generated/hosted/index.d.ts.map +1 -1
  6. package/dist/generated/hosted/index.js +2 -2
  7. package/dist/generated/hosted/sdk.gen.d.ts +19 -1
  8. package/dist/generated/hosted/sdk.gen.d.ts.map +1 -1
  9. package/dist/generated/hosted/sdk.gen.js +225 -1
  10. package/dist/generated/hosted/types.gen.d.ts +544 -4
  11. package/dist/generated/hosted/types.gen.d.ts.map +1 -1
  12. package/dist/generated/hosted/zod-response.gen.d.ts +5734 -223
  13. package/dist/generated/hosted/zod-response.gen.d.ts.map +1 -1
  14. package/dist/generated/hosted/zod-response.gen.js +628 -201
  15. package/dist/generated/hosted/zod.gen.d.ts +1406 -7
  16. package/dist/generated/hosted/zod.gen.d.ts.map +1 -1
  17. package/dist/generated/hosted/zod.gen.js +724 -237
  18. package/dist/generated/index.d.ts +2 -2
  19. package/dist/generated/index.d.ts.map +1 -1
  20. package/dist/generated/index.js +1 -1
  21. package/dist/generated/types.gen.d.ts +11 -2
  22. package/dist/generated/types.gen.d.ts.map +1 -1
  23. package/dist/generated/zod-response.gen.d.ts +18 -0
  24. package/dist/generated/zod-response.gen.d.ts.map +1 -1
  25. package/dist/generated/zod-response.gen.js +11 -1
  26. package/dist/generated/zod.gen.d.ts +23 -0
  27. package/dist/generated/zod.gen.d.ts.map +1 -1
  28. package/dist/generated/zod.gen.js +16 -2
  29. package/dist/hosted-tenant.d.ts +9 -0
  30. package/dist/hosted-tenant.d.ts.map +1 -1
  31. package/dist/hosted-tenant.js +7 -0
  32. package/dist/index.d.ts +1 -1
  33. package/dist/index.d.ts.map +1 -1
  34. package/dist/invoice-hosted-controls.d.ts +22 -3
  35. package/dist/invoice-hosted-controls.d.ts.map +1 -1
  36. package/dist/invoice-hosted-controls.js +48 -12
  37. package/package.json +2 -2
@@ -3901,6 +3901,7 @@ export declare const zHealthReadyResponse: z.ZodObject<{
3901
3901
  }>;
3902
3902
  }, z.core.$strict>;
3903
3903
  export declare const zHostedCertificateImportEnvironment: z.ZodEnum<{
3904
+ certification: "certification";
3904
3905
  production: "production";
3905
3906
  sandbox: "sandbox";
3906
3907
  }>;
@@ -3908,6 +3909,7 @@ export declare const zHostedImportRequest: z.ZodObject<{
3908
3909
  certificate_p12_base64: z.ZodString;
3909
3910
  checkout_tenant_id: z.ZodString;
3910
3911
  environment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
3912
+ certification: "certification";
3911
3913
  production: "production";
3912
3914
  sandbox: "sandbox";
3913
3915
  }>>>;
@@ -3919,12 +3921,14 @@ export declare const zHostedImportResponse: z.ZodObject<{
3919
3921
  signer_subject_serial_number: z.ZodString;
3920
3922
  }, z.core.$strict>;
3921
3923
  export declare const zHostedInvoiceCredentialEnvironment: z.ZodEnum<{
3924
+ certification: "certification";
3922
3925
  production: "production";
3923
3926
  sandbox: "sandbox";
3924
3927
  }>;
3925
3928
  export declare const zHostedInvoiceCredentialRequest: z.ZodObject<{
3926
3929
  checkout_tenant_id: z.ZodString;
3927
3930
  environment: z.ZodEnum<{
3931
+ certification: "certification";
3928
3932
  production: "production";
3929
3933
  sandbox: "sandbox";
3930
3934
  }>;
@@ -3932,16 +3936,27 @@ export declare const zHostedInvoiceCredentialRequest: z.ZodObject<{
3932
3936
  export declare const zHostedInvoiceCredentialResponse: z.ZodObject<{
3933
3937
  credential: z.ZodString;
3934
3938
  environment: z.ZodEnum<{
3939
+ certification: "certification";
3935
3940
  production: "production";
3936
3941
  sandbox: "sandbox";
3937
3942
  }>;
3938
3943
  object: z.ZodString;
3939
3944
  source_connection_id: z.ZodUUID;
3940
3945
  }, z.core.$strict>;
3946
+ export declare const zHostedReceiverUrls: z.ZodObject<{
3947
+ base_url: z.ZodString;
3948
+ commercial_approval_url: z.ZodString;
3949
+ reception_url: z.ZodString;
3950
+ }, z.core.$strict>;
3941
3951
  export declare const zHostedTenantResource: z.ZodObject<{
3942
3952
  hosted_tenant_binding_id: z.ZodUUID;
3943
3953
  legal_issuer_id: z.ZodUUID;
3944
3954
  organization_id: z.ZodUUID;
3955
+ receiver_urls: z.ZodObject<{
3956
+ base_url: z.ZodString;
3957
+ commercial_approval_url: z.ZodString;
3958
+ reception_url: z.ZodString;
3959
+ }, z.core.$strict>;
3945
3960
  source_connection_id: z.ZodUUID;
3946
3961
  webhook_endpoint_id: z.ZodUUID;
3947
3962
  webhook_signing_secret: z.ZodNullable<z.ZodString>;
@@ -127326,6 +127341,11 @@ export declare const zCreateHostedTenantResponse: z.ZodObject<{
127326
127341
  hosted_tenant_binding_id: z.ZodUUID;
127327
127342
  legal_issuer_id: z.ZodUUID;
127328
127343
  organization_id: z.ZodUUID;
127344
+ receiver_urls: z.ZodObject<{
127345
+ base_url: z.ZodString;
127346
+ commercial_approval_url: z.ZodString;
127347
+ reception_url: z.ZodString;
127348
+ }, z.core.$strict>;
127329
127349
  source_connection_id: z.ZodUUID;
127330
127350
  webhook_endpoint_id: z.ZodUUID;
127331
127351
  webhook_signing_secret: z.ZodNullable<z.ZodString>;
@@ -158743,6 +158763,7 @@ export declare const zImportHostedCertificateCustodyBody: z.ZodObject<{
158743
158763
  certificate_p12_base64: z.ZodString;
158744
158764
  checkout_tenant_id: z.ZodString;
158745
158765
  environment: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
158766
+ certification: "certification";
158746
158767
  production: "production";
158747
158768
  sandbox: "sandbox";
158748
158769
  }>>>;
@@ -158756,6 +158777,7 @@ export declare const zImportHostedCertificateCustodyResponse: z.ZodObject<{
158756
158777
  export declare const zIssueHostedInvoiceCredentialBody: z.ZodObject<{
158757
158778
  checkout_tenant_id: z.ZodString;
158758
158779
  environment: z.ZodEnum<{
158780
+ certification: "certification";
158759
158781
  production: "production";
158760
158782
  sandbox: "sandbox";
158761
158783
  }>;
@@ -158763,6 +158785,7 @@ export declare const zIssueHostedInvoiceCredentialBody: z.ZodObject<{
158763
158785
  export declare const zIssueHostedInvoiceCredentialResponse: z.ZodObject<{
158764
158786
  credential: z.ZodString;
158765
158787
  environment: z.ZodEnum<{
158788
+ certification: "certification";
158766
158789
  production: "production";
158767
158790
  sandbox: "sandbox";
158768
158791
  }>;