@timbro/invoices 0.10.1 → 0.10.3-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.
- package/dist/fiscal-engine-runtime.manifest.json +16 -16
- package/dist/fiscal-engine-runtime.provenance.json +17 -17
- package/dist/generated/hosted/types.gen.d.ts +100 -1
- package/dist/generated/hosted/types.gen.d.ts.map +1 -1
- package/dist/generated/hosted/zod.gen.d.ts +1 -1
- package/dist/generated/hosted/zod.gen.d.ts.map +1 -1
- package/dist/generated/hosted/zod.gen.js +3 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.d.ts.map +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/generated/invoice-api-contract.d.ts +49 -2
- package/dist/generated/invoice-api-contract.d.ts.map +1 -1
- package/dist/generated/invoice-api-contract.js +49 -0
- package/dist/generated/types.gen.d.ts +55 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.d.ts +231 -0
- package/dist/generated/zod-response.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.js +45 -0
- package/dist/generated/zod.gen.d.ts +114 -0
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +48 -0
- package/dist/timbro_fiscal_engine_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -1688,6 +1688,7 @@ export declare const invoiceApiContract: {
|
|
|
1688
1688
|
readonly InvoiceBuyerIdentity: {
|
|
1689
1689
|
readonly oneOf: readonly [{
|
|
1690
1690
|
readonly type: "object";
|
|
1691
|
+
readonly title: "AnonymousBuyer";
|
|
1691
1692
|
readonly required: readonly ["kind"];
|
|
1692
1693
|
readonly properties: {
|
|
1693
1694
|
readonly kind: {
|
|
@@ -1698,6 +1699,7 @@ export declare const invoiceApiContract: {
|
|
|
1698
1699
|
readonly additionalProperties: false;
|
|
1699
1700
|
}, {
|
|
1700
1701
|
readonly type: "object";
|
|
1702
|
+
readonly title: "DomesticBuyer";
|
|
1701
1703
|
readonly required: readonly ["taxId", "legalName", "kind"];
|
|
1702
1704
|
readonly properties: {
|
|
1703
1705
|
readonly kind: {
|
|
@@ -1720,6 +1722,7 @@ export declare const invoiceApiContract: {
|
|
|
1720
1722
|
readonly additionalProperties: false;
|
|
1721
1723
|
}, {
|
|
1722
1724
|
readonly type: "object";
|
|
1725
|
+
readonly title: "ForeignBuyer";
|
|
1723
1726
|
readonly required: readonly ["foreignId", "legalName", "kind"];
|
|
1724
1727
|
readonly properties: {
|
|
1725
1728
|
readonly foreignId: {
|
|
@@ -1769,6 +1772,7 @@ export declare const invoiceApiContract: {
|
|
|
1769
1772
|
readonly InvoicePdfReadiness: {
|
|
1770
1773
|
readonly oneOf: readonly [{
|
|
1771
1774
|
readonly type: "object";
|
|
1775
|
+
readonly title: "NotApplicableReadiness";
|
|
1772
1776
|
readonly required: readonly ["status"];
|
|
1773
1777
|
readonly properties: {
|
|
1774
1778
|
readonly status: {
|
|
@@ -2136,6 +2140,7 @@ export declare const invoiceApiContract: {
|
|
|
2136
2140
|
readonly additionalProperties: false;
|
|
2137
2141
|
}, {
|
|
2138
2142
|
readonly type: "object";
|
|
2143
|
+
readonly title: "ZeroRatedTax";
|
|
2139
2144
|
readonly required: readonly ["kind"];
|
|
2140
2145
|
readonly properties: {
|
|
2141
2146
|
readonly kind: {
|
|
@@ -2146,6 +2151,7 @@ export declare const invoiceApiContract: {
|
|
|
2146
2151
|
readonly additionalProperties: false;
|
|
2147
2152
|
}, {
|
|
2148
2153
|
readonly type: "object";
|
|
2154
|
+
readonly title: "ExemptTax";
|
|
2149
2155
|
readonly required: readonly ["kind"];
|
|
2150
2156
|
readonly properties: {
|
|
2151
2157
|
readonly kind: {
|
|
@@ -2238,6 +2244,7 @@ export declare const invoiceApiContract: {
|
|
|
2238
2244
|
readonly additionalProperties: false;
|
|
2239
2245
|
}, {
|
|
2240
2246
|
readonly type: "object";
|
|
2247
|
+
readonly title: "CreditPaymentTerms";
|
|
2241
2248
|
readonly required: readonly ["dueOn", "type"];
|
|
2242
2249
|
readonly properties: {
|
|
2243
2250
|
readonly dueOn: {
|
|
@@ -2254,6 +2261,7 @@ export declare const invoiceApiContract: {
|
|
|
2254
2261
|
readonly additionalProperties: false;
|
|
2255
2262
|
}, {
|
|
2256
2263
|
readonly type: "object";
|
|
2264
|
+
readonly title: "FreePaymentTerms";
|
|
2257
2265
|
readonly required: readonly ["type"];
|
|
2258
2266
|
readonly properties: {
|
|
2259
2267
|
readonly type: {
|
|
@@ -3498,6 +3506,7 @@ export declare const invoiceApiContract: {
|
|
|
3498
3506
|
readonly InvoiceBuyerDeliveryReadiness: {
|
|
3499
3507
|
readonly oneOf: readonly [{
|
|
3500
3508
|
readonly type: "object";
|
|
3509
|
+
readonly title: "NotApplicableReadiness";
|
|
3501
3510
|
readonly required: readonly ["status"];
|
|
3502
3511
|
readonly properties: {
|
|
3503
3512
|
readonly status: {
|
|
@@ -3679,6 +3688,7 @@ export declare const invoiceApiContract: {
|
|
|
3679
3688
|
readonly InvoiceXmlReadiness: {
|
|
3680
3689
|
readonly oneOf: readonly [{
|
|
3681
3690
|
readonly type: "object";
|
|
3691
|
+
readonly title: "NotApplicableReadiness";
|
|
3682
3692
|
readonly required: readonly ["status"];
|
|
3683
3693
|
readonly properties: {
|
|
3684
3694
|
readonly status: {
|
|
@@ -3689,6 +3699,7 @@ export declare const invoiceApiContract: {
|
|
|
3689
3699
|
readonly additionalProperties: false;
|
|
3690
3700
|
}, {
|
|
3691
3701
|
readonly type: "object";
|
|
3702
|
+
readonly title: "PendingStatus";
|
|
3692
3703
|
readonly required: readonly ["status"];
|
|
3693
3704
|
readonly properties: {
|
|
3694
3705
|
readonly status: {
|
|
@@ -4942,6 +4953,7 @@ export declare const invoiceApiContract: {
|
|
|
4942
4953
|
readonly additionalProperties: false;
|
|
4943
4954
|
}, {
|
|
4944
4955
|
readonly type: "object";
|
|
4956
|
+
readonly title: "CreditPaymentTerms";
|
|
4945
4957
|
readonly required: readonly ["dueOn", "type"];
|
|
4946
4958
|
readonly properties: {
|
|
4947
4959
|
readonly dueOn: {
|
|
@@ -4958,6 +4970,7 @@ export declare const invoiceApiContract: {
|
|
|
4958
4970
|
readonly additionalProperties: false;
|
|
4959
4971
|
}, {
|
|
4960
4972
|
readonly type: "object";
|
|
4973
|
+
readonly title: "FreePaymentTerms";
|
|
4961
4974
|
readonly required: readonly ["type"];
|
|
4962
4975
|
readonly properties: {
|
|
4963
4976
|
readonly type: {
|
|
@@ -4996,6 +5009,7 @@ export declare const invoiceApiContract: {
|
|
|
4996
5009
|
readonly InvoiceConsumerBuyer: {
|
|
4997
5010
|
readonly oneOf: readonly [{
|
|
4998
5011
|
readonly type: "object";
|
|
5012
|
+
readonly title: "DomesticBuyer";
|
|
4999
5013
|
readonly required: readonly ["taxId", "legalName", "kind"];
|
|
5000
5014
|
readonly properties: {
|
|
5001
5015
|
readonly kind: {
|
|
@@ -5018,6 +5032,7 @@ export declare const invoiceApiContract: {
|
|
|
5018
5032
|
readonly additionalProperties: false;
|
|
5019
5033
|
}, {
|
|
5020
5034
|
readonly type: "object";
|
|
5035
|
+
readonly title: "ForeignBuyer";
|
|
5021
5036
|
readonly required: readonly ["foreignId", "legalName", "kind"];
|
|
5022
5037
|
readonly properties: {
|
|
5023
5038
|
readonly foreignId: {
|
|
@@ -5132,6 +5147,7 @@ export declare const invoiceApiContract: {
|
|
|
5132
5147
|
readonly additionalProperties: false;
|
|
5133
5148
|
}, {
|
|
5134
5149
|
readonly type: "object";
|
|
5150
|
+
readonly title: "ZeroRatedTax";
|
|
5135
5151
|
readonly required: readonly ["kind"];
|
|
5136
5152
|
readonly properties: {
|
|
5137
5153
|
readonly kind: {
|
|
@@ -5142,6 +5158,7 @@ export declare const invoiceApiContract: {
|
|
|
5142
5158
|
readonly additionalProperties: false;
|
|
5143
5159
|
}, {
|
|
5144
5160
|
readonly type: "object";
|
|
5161
|
+
readonly title: "ExemptTax";
|
|
5145
5162
|
readonly required: readonly ["kind"];
|
|
5146
5163
|
readonly properties: {
|
|
5147
5164
|
readonly kind: {
|
|
@@ -5313,6 +5330,7 @@ export declare const invoiceApiContract: {
|
|
|
5313
5330
|
readonly InvoiceMinorExpensePaymentTerms: {
|
|
5314
5331
|
readonly oneOf: readonly [{
|
|
5315
5332
|
readonly type: "object";
|
|
5333
|
+
readonly title: "ImmediatePaymentTerms";
|
|
5316
5334
|
readonly required: readonly ["type"];
|
|
5317
5335
|
readonly properties: {
|
|
5318
5336
|
readonly type: {
|
|
@@ -5323,6 +5341,7 @@ export declare const invoiceApiContract: {
|
|
|
5323
5341
|
readonly additionalProperties: false;
|
|
5324
5342
|
}, {
|
|
5325
5343
|
readonly type: "object";
|
|
5344
|
+
readonly title: "FreePaymentTerms";
|
|
5326
5345
|
readonly required: readonly ["type"];
|
|
5327
5346
|
readonly properties: {
|
|
5328
5347
|
readonly type: {
|
|
@@ -5420,6 +5439,7 @@ export declare const invoiceApiContract: {
|
|
|
5420
5439
|
readonly InvoiceSpecialRegimeBuyer: {
|
|
5421
5440
|
readonly oneOf: readonly [{
|
|
5422
5441
|
readonly type: "object";
|
|
5442
|
+
readonly title: "DomesticBuyer";
|
|
5423
5443
|
readonly required: readonly ["taxId", "legalName", "kind"];
|
|
5424
5444
|
readonly properties: {
|
|
5425
5445
|
readonly kind: {
|
|
@@ -5595,6 +5615,7 @@ export declare const invoiceApiContract: {
|
|
|
5595
5615
|
readonly InvoiceExportBuyer: {
|
|
5596
5616
|
readonly oneOf: readonly [{
|
|
5597
5617
|
readonly type: "object";
|
|
5618
|
+
readonly title: "ForeignBuyer";
|
|
5598
5619
|
readonly required: readonly ["foreignId", "legalName", "kind"];
|
|
5599
5620
|
readonly properties: {
|
|
5600
5621
|
readonly foreignId: {
|
|
@@ -5725,6 +5746,7 @@ export declare const invoiceApiContract: {
|
|
|
5725
5746
|
readonly InvoiceCreditNotePaymentTerms: {
|
|
5726
5747
|
readonly oneOf: readonly [{
|
|
5727
5748
|
readonly type: "object";
|
|
5749
|
+
readonly title: "ImmediatePaymentTerms";
|
|
5728
5750
|
readonly required: readonly ["type"];
|
|
5729
5751
|
readonly properties: {
|
|
5730
5752
|
readonly type: {
|
|
@@ -5735,6 +5757,7 @@ export declare const invoiceApiContract: {
|
|
|
5735
5757
|
readonly additionalProperties: false;
|
|
5736
5758
|
}, {
|
|
5737
5759
|
readonly type: "object";
|
|
5760
|
+
readonly title: "CreditPaymentTerms";
|
|
5738
5761
|
readonly required: readonly ["dueOn", "type"];
|
|
5739
5762
|
readonly properties: {
|
|
5740
5763
|
readonly dueOn: {
|
|
@@ -5751,6 +5774,7 @@ export declare const invoiceApiContract: {
|
|
|
5751
5774
|
readonly additionalProperties: false;
|
|
5752
5775
|
}, {
|
|
5753
5776
|
readonly type: "object";
|
|
5777
|
+
readonly title: "FreePaymentTerms";
|
|
5754
5778
|
readonly required: readonly ["type"];
|
|
5755
5779
|
readonly properties: {
|
|
5756
5780
|
readonly type: {
|
|
@@ -5925,7 +5949,7 @@ export declare const invoiceApiContract: {
|
|
|
5925
5949
|
};
|
|
5926
5950
|
readonly ReceivedDocumentSummary: {
|
|
5927
5951
|
readonly type: "object";
|
|
5928
|
-
readonly required: readonly ["id", "environment", "issuerTaxId", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse"];
|
|
5952
|
+
readonly required: readonly ["id", "environment", "issuerTaxId", "issuerLegalName", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse"];
|
|
5929
5953
|
readonly properties: {
|
|
5930
5954
|
readonly buyerTaxId: {
|
|
5931
5955
|
readonly type: "string";
|
|
@@ -5943,6 +5967,13 @@ export declare const invoiceApiContract: {
|
|
|
5943
5967
|
readonly type: "string";
|
|
5944
5968
|
readonly format: "uuid";
|
|
5945
5969
|
};
|
|
5970
|
+
readonly issuerLegalName: {
|
|
5971
|
+
readonly type: readonly ["string", "null"];
|
|
5972
|
+
readonly description: "The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the\ndelivery carried no readable name.";
|
|
5973
|
+
readonly maxLength: 150;
|
|
5974
|
+
readonly minLength: 1;
|
|
5975
|
+
readonly pattern: "\\S";
|
|
5976
|
+
};
|
|
5946
5977
|
readonly issuerTaxId: {
|
|
5947
5978
|
readonly type: "string";
|
|
5948
5979
|
};
|
|
@@ -5970,6 +6001,7 @@ export declare const invoiceApiContract: {
|
|
|
5970
6001
|
readonly additionalProperties: false;
|
|
5971
6002
|
}, {
|
|
5972
6003
|
readonly type: "object";
|
|
6004
|
+
readonly title: "PendingStatus";
|
|
5973
6005
|
readonly description: "Received and awaiting the administrator's review.";
|
|
5974
6006
|
readonly required: readonly ["status"];
|
|
5975
6007
|
readonly properties: {
|
|
@@ -6034,7 +6066,7 @@ export declare const invoiceApiContract: {
|
|
|
6034
6066
|
};
|
|
6035
6067
|
readonly ReceivedDocumentResource: {
|
|
6036
6068
|
readonly type: "object";
|
|
6037
|
-
readonly required: readonly ["id", "environment", "issuerTaxId", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse", "notReceivedReason", "receivedXmlSha256"];
|
|
6069
|
+
readonly required: readonly ["id", "environment", "issuerTaxId", "issuerLegalName", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse", "notReceivedReason", "receivedXmlSha256"];
|
|
6038
6070
|
readonly properties: {
|
|
6039
6071
|
readonly buyerTaxId: {
|
|
6040
6072
|
readonly type: "string";
|
|
@@ -6052,6 +6084,13 @@ export declare const invoiceApiContract: {
|
|
|
6052
6084
|
readonly type: "string";
|
|
6053
6085
|
readonly format: "uuid";
|
|
6054
6086
|
};
|
|
6087
|
+
readonly issuerLegalName: {
|
|
6088
|
+
readonly type: readonly ["string", "null"];
|
|
6089
|
+
readonly description: "The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the\ndelivery carried no readable name.";
|
|
6090
|
+
readonly maxLength: 150;
|
|
6091
|
+
readonly minLength: 1;
|
|
6092
|
+
readonly pattern: "\\S";
|
|
6093
|
+
};
|
|
6055
6094
|
readonly issuerTaxId: {
|
|
6056
6095
|
readonly type: "string";
|
|
6057
6096
|
};
|
|
@@ -6116,6 +6155,7 @@ export declare const invoiceApiContract: {
|
|
|
6116
6155
|
readonly InvoiceWebhookEventEnvelope: {
|
|
6117
6156
|
readonly oneOf: readonly [{
|
|
6118
6157
|
readonly type: "object";
|
|
6158
|
+
readonly title: "InvoiceAcceptedEvent";
|
|
6119
6159
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6120
6160
|
readonly properties: {
|
|
6121
6161
|
readonly apiVersion: {
|
|
@@ -6124,6 +6164,7 @@ export declare const invoiceApiContract: {
|
|
|
6124
6164
|
};
|
|
6125
6165
|
readonly data: {
|
|
6126
6166
|
readonly type: "object";
|
|
6167
|
+
readonly title: "InvoiceEventData";
|
|
6127
6168
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6128
6169
|
readonly properties: {
|
|
6129
6170
|
readonly id: {
|
|
@@ -6167,6 +6208,7 @@ export declare const invoiceApiContract: {
|
|
|
6167
6208
|
readonly additionalProperties: false;
|
|
6168
6209
|
}, {
|
|
6169
6210
|
readonly type: "object";
|
|
6211
|
+
readonly title: "InvoiceRejectedEvent";
|
|
6170
6212
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6171
6213
|
readonly properties: {
|
|
6172
6214
|
readonly apiVersion: {
|
|
@@ -6175,6 +6217,7 @@ export declare const invoiceApiContract: {
|
|
|
6175
6217
|
};
|
|
6176
6218
|
readonly data: {
|
|
6177
6219
|
readonly type: "object";
|
|
6220
|
+
readonly title: "InvoiceEventData";
|
|
6178
6221
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6179
6222
|
readonly properties: {
|
|
6180
6223
|
readonly id: {
|
|
@@ -6218,6 +6261,7 @@ export declare const invoiceApiContract: {
|
|
|
6218
6261
|
readonly additionalProperties: false;
|
|
6219
6262
|
}, {
|
|
6220
6263
|
readonly type: "object";
|
|
6264
|
+
readonly title: "InvoiceOperatorRequiredEvent";
|
|
6221
6265
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6222
6266
|
readonly properties: {
|
|
6223
6267
|
readonly apiVersion: {
|
|
@@ -6226,6 +6270,7 @@ export declare const invoiceApiContract: {
|
|
|
6226
6270
|
};
|
|
6227
6271
|
readonly data: {
|
|
6228
6272
|
readonly type: "object";
|
|
6273
|
+
readonly title: "InvoiceEventData";
|
|
6229
6274
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6230
6275
|
readonly properties: {
|
|
6231
6276
|
readonly id: {
|
|
@@ -6269,6 +6314,7 @@ export declare const invoiceApiContract: {
|
|
|
6269
6314
|
readonly additionalProperties: false;
|
|
6270
6315
|
}, {
|
|
6271
6316
|
readonly type: "object";
|
|
6317
|
+
readonly title: "InvoiceReadyEvent";
|
|
6272
6318
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6273
6319
|
readonly properties: {
|
|
6274
6320
|
readonly apiVersion: {
|
|
@@ -6277,6 +6323,7 @@ export declare const invoiceApiContract: {
|
|
|
6277
6323
|
};
|
|
6278
6324
|
readonly data: {
|
|
6279
6325
|
readonly type: "object";
|
|
6326
|
+
readonly title: "InvoiceEventData";
|
|
6280
6327
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6281
6328
|
readonly properties: {
|
|
6282
6329
|
readonly id: {
|