@timbro/invoices 0.10.1-next.0 → 0.10.2
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/README.md +2 -2
- package/dist/document-worker-protocol.js +1 -1
- package/dist/fiscal-engine-runtime.manifest.json +89 -69
- package/dist/fiscal-engine-runtime.provenance.json +145 -115
- 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 +16 -35
- package/dist/generated/invoice-api-contract.d.ts.map +1 -1
- package/dist/generated/invoice-api-contract.js +16 -33
- package/dist/generated/types.gen.d.ts +38 -27
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.d.ts +239 -0
- package/dist/generated/zod-response.gen.d.ts.map +1 -1
- package/dist/generated/zod-response.gen.js +46 -0
- package/dist/generated/zod.gen.d.ts +284 -3
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +47 -3
- package/dist/timbro_fiscal_engine_bg.wasm +0 -0
- package/package.json +1 -1
|
@@ -1688,7 +1688,6 @@ export declare const invoiceApiContract: {
|
|
|
1688
1688
|
readonly InvoiceBuyerIdentity: {
|
|
1689
1689
|
readonly oneOf: readonly [{
|
|
1690
1690
|
readonly type: "object";
|
|
1691
|
-
readonly title: "AnonymousBuyer";
|
|
1692
1691
|
readonly required: readonly ["kind"];
|
|
1693
1692
|
readonly properties: {
|
|
1694
1693
|
readonly kind: {
|
|
@@ -1699,7 +1698,6 @@ export declare const invoiceApiContract: {
|
|
|
1699
1698
|
readonly additionalProperties: false;
|
|
1700
1699
|
}, {
|
|
1701
1700
|
readonly type: "object";
|
|
1702
|
-
readonly title: "DomesticBuyer";
|
|
1703
1701
|
readonly required: readonly ["taxId", "legalName", "kind"];
|
|
1704
1702
|
readonly properties: {
|
|
1705
1703
|
readonly kind: {
|
|
@@ -1722,7 +1720,6 @@ export declare const invoiceApiContract: {
|
|
|
1722
1720
|
readonly additionalProperties: false;
|
|
1723
1721
|
}, {
|
|
1724
1722
|
readonly type: "object";
|
|
1725
|
-
readonly title: "ForeignBuyer";
|
|
1726
1723
|
readonly required: readonly ["foreignId", "legalName", "kind"];
|
|
1727
1724
|
readonly properties: {
|
|
1728
1725
|
readonly foreignId: {
|
|
@@ -1772,7 +1769,6 @@ export declare const invoiceApiContract: {
|
|
|
1772
1769
|
readonly InvoicePdfReadiness: {
|
|
1773
1770
|
readonly oneOf: readonly [{
|
|
1774
1771
|
readonly type: "object";
|
|
1775
|
-
readonly title: "NotApplicableReadiness";
|
|
1776
1772
|
readonly required: readonly ["status"];
|
|
1777
1773
|
readonly properties: {
|
|
1778
1774
|
readonly status: {
|
|
@@ -2140,7 +2136,6 @@ export declare const invoiceApiContract: {
|
|
|
2140
2136
|
readonly additionalProperties: false;
|
|
2141
2137
|
}, {
|
|
2142
2138
|
readonly type: "object";
|
|
2143
|
-
readonly title: "ZeroRatedTax";
|
|
2144
2139
|
readonly required: readonly ["kind"];
|
|
2145
2140
|
readonly properties: {
|
|
2146
2141
|
readonly kind: {
|
|
@@ -2151,7 +2146,6 @@ export declare const invoiceApiContract: {
|
|
|
2151
2146
|
readonly additionalProperties: false;
|
|
2152
2147
|
}, {
|
|
2153
2148
|
readonly type: "object";
|
|
2154
|
-
readonly title: "ExemptTax";
|
|
2155
2149
|
readonly required: readonly ["kind"];
|
|
2156
2150
|
readonly properties: {
|
|
2157
2151
|
readonly kind: {
|
|
@@ -2244,7 +2238,6 @@ export declare const invoiceApiContract: {
|
|
|
2244
2238
|
readonly additionalProperties: false;
|
|
2245
2239
|
}, {
|
|
2246
2240
|
readonly type: "object";
|
|
2247
|
-
readonly title: "CreditPaymentTerms";
|
|
2248
2241
|
readonly required: readonly ["dueOn", "type"];
|
|
2249
2242
|
readonly properties: {
|
|
2250
2243
|
readonly dueOn: {
|
|
@@ -2261,7 +2254,6 @@ export declare const invoiceApiContract: {
|
|
|
2261
2254
|
readonly additionalProperties: false;
|
|
2262
2255
|
}, {
|
|
2263
2256
|
readonly type: "object";
|
|
2264
|
-
readonly title: "FreePaymentTerms";
|
|
2265
2257
|
readonly required: readonly ["type"];
|
|
2266
2258
|
readonly properties: {
|
|
2267
2259
|
readonly type: {
|
|
@@ -3506,7 +3498,6 @@ export declare const invoiceApiContract: {
|
|
|
3506
3498
|
readonly InvoiceBuyerDeliveryReadiness: {
|
|
3507
3499
|
readonly oneOf: readonly [{
|
|
3508
3500
|
readonly type: "object";
|
|
3509
|
-
readonly title: "NotApplicableReadiness";
|
|
3510
3501
|
readonly required: readonly ["status"];
|
|
3511
3502
|
readonly properties: {
|
|
3512
3503
|
readonly status: {
|
|
@@ -3688,7 +3679,6 @@ export declare const invoiceApiContract: {
|
|
|
3688
3679
|
readonly InvoiceXmlReadiness: {
|
|
3689
3680
|
readonly oneOf: readonly [{
|
|
3690
3681
|
readonly type: "object";
|
|
3691
|
-
readonly title: "NotApplicableReadiness";
|
|
3692
3682
|
readonly required: readonly ["status"];
|
|
3693
3683
|
readonly properties: {
|
|
3694
3684
|
readonly status: {
|
|
@@ -3699,7 +3689,6 @@ export declare const invoiceApiContract: {
|
|
|
3699
3689
|
readonly additionalProperties: false;
|
|
3700
3690
|
}, {
|
|
3701
3691
|
readonly type: "object";
|
|
3702
|
-
readonly title: "PendingStatus";
|
|
3703
3692
|
readonly required: readonly ["status"];
|
|
3704
3693
|
readonly properties: {
|
|
3705
3694
|
readonly status: {
|
|
@@ -4953,7 +4942,6 @@ export declare const invoiceApiContract: {
|
|
|
4953
4942
|
readonly additionalProperties: false;
|
|
4954
4943
|
}, {
|
|
4955
4944
|
readonly type: "object";
|
|
4956
|
-
readonly title: "CreditPaymentTerms";
|
|
4957
4945
|
readonly required: readonly ["dueOn", "type"];
|
|
4958
4946
|
readonly properties: {
|
|
4959
4947
|
readonly dueOn: {
|
|
@@ -4970,7 +4958,6 @@ export declare const invoiceApiContract: {
|
|
|
4970
4958
|
readonly additionalProperties: false;
|
|
4971
4959
|
}, {
|
|
4972
4960
|
readonly type: "object";
|
|
4973
|
-
readonly title: "FreePaymentTerms";
|
|
4974
4961
|
readonly required: readonly ["type"];
|
|
4975
4962
|
readonly properties: {
|
|
4976
4963
|
readonly type: {
|
|
@@ -5009,7 +4996,6 @@ export declare const invoiceApiContract: {
|
|
|
5009
4996
|
readonly InvoiceConsumerBuyer: {
|
|
5010
4997
|
readonly oneOf: readonly [{
|
|
5011
4998
|
readonly type: "object";
|
|
5012
|
-
readonly title: "DomesticBuyer";
|
|
5013
4999
|
readonly required: readonly ["taxId", "legalName", "kind"];
|
|
5014
5000
|
readonly properties: {
|
|
5015
5001
|
readonly kind: {
|
|
@@ -5032,7 +5018,6 @@ export declare const invoiceApiContract: {
|
|
|
5032
5018
|
readonly additionalProperties: false;
|
|
5033
5019
|
}, {
|
|
5034
5020
|
readonly type: "object";
|
|
5035
|
-
readonly title: "ForeignBuyer";
|
|
5036
5021
|
readonly required: readonly ["foreignId", "legalName", "kind"];
|
|
5037
5022
|
readonly properties: {
|
|
5038
5023
|
readonly foreignId: {
|
|
@@ -5147,7 +5132,6 @@ export declare const invoiceApiContract: {
|
|
|
5147
5132
|
readonly additionalProperties: false;
|
|
5148
5133
|
}, {
|
|
5149
5134
|
readonly type: "object";
|
|
5150
|
-
readonly title: "ZeroRatedTax";
|
|
5151
5135
|
readonly required: readonly ["kind"];
|
|
5152
5136
|
readonly properties: {
|
|
5153
5137
|
readonly kind: {
|
|
@@ -5158,7 +5142,6 @@ export declare const invoiceApiContract: {
|
|
|
5158
5142
|
readonly additionalProperties: false;
|
|
5159
5143
|
}, {
|
|
5160
5144
|
readonly type: "object";
|
|
5161
|
-
readonly title: "ExemptTax";
|
|
5162
5145
|
readonly required: readonly ["kind"];
|
|
5163
5146
|
readonly properties: {
|
|
5164
5147
|
readonly kind: {
|
|
@@ -5330,7 +5313,6 @@ export declare const invoiceApiContract: {
|
|
|
5330
5313
|
readonly InvoiceMinorExpensePaymentTerms: {
|
|
5331
5314
|
readonly oneOf: readonly [{
|
|
5332
5315
|
readonly type: "object";
|
|
5333
|
-
readonly title: "ImmediatePaymentTerms";
|
|
5334
5316
|
readonly required: readonly ["type"];
|
|
5335
5317
|
readonly properties: {
|
|
5336
5318
|
readonly type: {
|
|
@@ -5341,7 +5323,6 @@ export declare const invoiceApiContract: {
|
|
|
5341
5323
|
readonly additionalProperties: false;
|
|
5342
5324
|
}, {
|
|
5343
5325
|
readonly type: "object";
|
|
5344
|
-
readonly title: "FreePaymentTerms";
|
|
5345
5326
|
readonly required: readonly ["type"];
|
|
5346
5327
|
readonly properties: {
|
|
5347
5328
|
readonly type: {
|
|
@@ -5439,7 +5420,6 @@ export declare const invoiceApiContract: {
|
|
|
5439
5420
|
readonly InvoiceSpecialRegimeBuyer: {
|
|
5440
5421
|
readonly oneOf: readonly [{
|
|
5441
5422
|
readonly type: "object";
|
|
5442
|
-
readonly title: "DomesticBuyer";
|
|
5443
5423
|
readonly required: readonly ["taxId", "legalName", "kind"];
|
|
5444
5424
|
readonly properties: {
|
|
5445
5425
|
readonly kind: {
|
|
@@ -5615,7 +5595,6 @@ export declare const invoiceApiContract: {
|
|
|
5615
5595
|
readonly InvoiceExportBuyer: {
|
|
5616
5596
|
readonly oneOf: readonly [{
|
|
5617
5597
|
readonly type: "object";
|
|
5618
|
-
readonly title: "ForeignBuyer";
|
|
5619
5598
|
readonly required: readonly ["foreignId", "legalName", "kind"];
|
|
5620
5599
|
readonly properties: {
|
|
5621
5600
|
readonly foreignId: {
|
|
@@ -5746,7 +5725,6 @@ export declare const invoiceApiContract: {
|
|
|
5746
5725
|
readonly InvoiceCreditNotePaymentTerms: {
|
|
5747
5726
|
readonly oneOf: readonly [{
|
|
5748
5727
|
readonly type: "object";
|
|
5749
|
-
readonly title: "ImmediatePaymentTerms";
|
|
5750
5728
|
readonly required: readonly ["type"];
|
|
5751
5729
|
readonly properties: {
|
|
5752
5730
|
readonly type: {
|
|
@@ -5757,7 +5735,6 @@ export declare const invoiceApiContract: {
|
|
|
5757
5735
|
readonly additionalProperties: false;
|
|
5758
5736
|
}, {
|
|
5759
5737
|
readonly type: "object";
|
|
5760
|
-
readonly title: "CreditPaymentTerms";
|
|
5761
5738
|
readonly required: readonly ["dueOn", "type"];
|
|
5762
5739
|
readonly properties: {
|
|
5763
5740
|
readonly dueOn: {
|
|
@@ -5774,7 +5751,6 @@ export declare const invoiceApiContract: {
|
|
|
5774
5751
|
readonly additionalProperties: false;
|
|
5775
5752
|
}, {
|
|
5776
5753
|
readonly type: "object";
|
|
5777
|
-
readonly title: "FreePaymentTerms";
|
|
5778
5754
|
readonly required: readonly ["type"];
|
|
5779
5755
|
readonly properties: {
|
|
5780
5756
|
readonly type: {
|
|
@@ -5949,7 +5925,7 @@ export declare const invoiceApiContract: {
|
|
|
5949
5925
|
};
|
|
5950
5926
|
readonly ReceivedDocumentSummary: {
|
|
5951
5927
|
readonly type: "object";
|
|
5952
|
-
readonly required: readonly ["id", "environment", "issuerTaxId", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse"];
|
|
5928
|
+
readonly required: readonly ["id", "environment", "issuerTaxId", "issuerLegalName", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse"];
|
|
5953
5929
|
readonly properties: {
|
|
5954
5930
|
readonly buyerTaxId: {
|
|
5955
5931
|
readonly type: "string";
|
|
@@ -5967,6 +5943,13 @@ export declare const invoiceApiContract: {
|
|
|
5967
5943
|
readonly type: "string";
|
|
5968
5944
|
readonly format: "uuid";
|
|
5969
5945
|
};
|
|
5946
|
+
readonly issuerLegalName: {
|
|
5947
|
+
readonly type: readonly ["string", "null"];
|
|
5948
|
+
readonly description: "The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the\ndelivery carried no readable name.";
|
|
5949
|
+
readonly maxLength: 150;
|
|
5950
|
+
readonly minLength: 1;
|
|
5951
|
+
readonly pattern: "\\S";
|
|
5952
|
+
};
|
|
5970
5953
|
readonly issuerTaxId: {
|
|
5971
5954
|
readonly type: "string";
|
|
5972
5955
|
};
|
|
@@ -5994,7 +5977,6 @@ export declare const invoiceApiContract: {
|
|
|
5994
5977
|
readonly additionalProperties: false;
|
|
5995
5978
|
}, {
|
|
5996
5979
|
readonly type: "object";
|
|
5997
|
-
readonly title: "PendingStatus";
|
|
5998
5980
|
readonly description: "Received and awaiting the administrator's review.";
|
|
5999
5981
|
readonly required: readonly ["status"];
|
|
6000
5982
|
readonly properties: {
|
|
@@ -6059,7 +6041,7 @@ export declare const invoiceApiContract: {
|
|
|
6059
6041
|
};
|
|
6060
6042
|
readonly ReceivedDocumentResource: {
|
|
6061
6043
|
readonly type: "object";
|
|
6062
|
-
readonly required: readonly ["id", "environment", "issuerTaxId", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse", "notReceivedReason", "receivedXmlSha256"];
|
|
6044
|
+
readonly required: readonly ["id", "environment", "issuerTaxId", "issuerLegalName", "buyerTaxId", "eNcf", "state", "receivedAt", "commercialResponse", "notReceivedReason", "receivedXmlSha256"];
|
|
6063
6045
|
readonly properties: {
|
|
6064
6046
|
readonly buyerTaxId: {
|
|
6065
6047
|
readonly type: "string";
|
|
@@ -6077,6 +6059,13 @@ export declare const invoiceApiContract: {
|
|
|
6077
6059
|
readonly type: "string";
|
|
6078
6060
|
readonly format: "uuid";
|
|
6079
6061
|
};
|
|
6062
|
+
readonly issuerLegalName: {
|
|
6063
|
+
readonly type: readonly ["string", "null"];
|
|
6064
|
+
readonly description: "The issuer's `RazonSocialEmisor` as the delivered e-CF states it, or `null` when the\ndelivery carried no readable name.";
|
|
6065
|
+
readonly maxLength: 150;
|
|
6066
|
+
readonly minLength: 1;
|
|
6067
|
+
readonly pattern: "\\S";
|
|
6068
|
+
};
|
|
6080
6069
|
readonly issuerTaxId: {
|
|
6081
6070
|
readonly type: "string";
|
|
6082
6071
|
};
|
|
@@ -6141,7 +6130,6 @@ export declare const invoiceApiContract: {
|
|
|
6141
6130
|
readonly InvoiceWebhookEventEnvelope: {
|
|
6142
6131
|
readonly oneOf: readonly [{
|
|
6143
6132
|
readonly type: "object";
|
|
6144
|
-
readonly title: "InvoiceAcceptedEvent";
|
|
6145
6133
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6146
6134
|
readonly properties: {
|
|
6147
6135
|
readonly apiVersion: {
|
|
@@ -6150,7 +6138,6 @@ export declare const invoiceApiContract: {
|
|
|
6150
6138
|
};
|
|
6151
6139
|
readonly data: {
|
|
6152
6140
|
readonly type: "object";
|
|
6153
|
-
readonly title: "InvoiceEventData";
|
|
6154
6141
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6155
6142
|
readonly properties: {
|
|
6156
6143
|
readonly id: {
|
|
@@ -6194,7 +6181,6 @@ export declare const invoiceApiContract: {
|
|
|
6194
6181
|
readonly additionalProperties: false;
|
|
6195
6182
|
}, {
|
|
6196
6183
|
readonly type: "object";
|
|
6197
|
-
readonly title: "InvoiceRejectedEvent";
|
|
6198
6184
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6199
6185
|
readonly properties: {
|
|
6200
6186
|
readonly apiVersion: {
|
|
@@ -6203,7 +6189,6 @@ export declare const invoiceApiContract: {
|
|
|
6203
6189
|
};
|
|
6204
6190
|
readonly data: {
|
|
6205
6191
|
readonly type: "object";
|
|
6206
|
-
readonly title: "InvoiceEventData";
|
|
6207
6192
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6208
6193
|
readonly properties: {
|
|
6209
6194
|
readonly id: {
|
|
@@ -6247,7 +6232,6 @@ export declare const invoiceApiContract: {
|
|
|
6247
6232
|
readonly additionalProperties: false;
|
|
6248
6233
|
}, {
|
|
6249
6234
|
readonly type: "object";
|
|
6250
|
-
readonly title: "InvoiceOperatorRequiredEvent";
|
|
6251
6235
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6252
6236
|
readonly properties: {
|
|
6253
6237
|
readonly apiVersion: {
|
|
@@ -6256,7 +6240,6 @@ export declare const invoiceApiContract: {
|
|
|
6256
6240
|
};
|
|
6257
6241
|
readonly data: {
|
|
6258
6242
|
readonly type: "object";
|
|
6259
|
-
readonly title: "InvoiceEventData";
|
|
6260
6243
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6261
6244
|
readonly properties: {
|
|
6262
6245
|
readonly id: {
|
|
@@ -6300,7 +6283,6 @@ export declare const invoiceApiContract: {
|
|
|
6300
6283
|
readonly additionalProperties: false;
|
|
6301
6284
|
}, {
|
|
6302
6285
|
readonly type: "object";
|
|
6303
|
-
readonly title: "InvoiceReadyEvent";
|
|
6304
6286
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6305
6287
|
readonly properties: {
|
|
6306
6288
|
readonly apiVersion: {
|
|
@@ -6309,7 +6291,6 @@ export declare const invoiceApiContract: {
|
|
|
6309
6291
|
};
|
|
6310
6292
|
readonly data: {
|
|
6311
6293
|
readonly type: "object";
|
|
6312
|
-
readonly title: "InvoiceEventData";
|
|
6313
6294
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6314
6295
|
readonly properties: {
|
|
6315
6296
|
readonly id: {
|