@timbro/invoices 0.10.2 → 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/generated/invoice-api-contract.d.ts +33 -0
- package/dist/generated/invoice-api-contract.d.ts.map +1 -1
- package/dist/generated/invoice-api-contract.js +33 -0
- package/dist/generated/types.gen.d.ts +27 -0
- package/dist/generated/types.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.d.ts +3 -0
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +3 -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: {
|
|
@@ -5977,6 +6001,7 @@ export declare const invoiceApiContract: {
|
|
|
5977
6001
|
readonly additionalProperties: false;
|
|
5978
6002
|
}, {
|
|
5979
6003
|
readonly type: "object";
|
|
6004
|
+
readonly title: "PendingStatus";
|
|
5980
6005
|
readonly description: "Received and awaiting the administrator's review.";
|
|
5981
6006
|
readonly required: readonly ["status"];
|
|
5982
6007
|
readonly properties: {
|
|
@@ -6130,6 +6155,7 @@ export declare const invoiceApiContract: {
|
|
|
6130
6155
|
readonly InvoiceWebhookEventEnvelope: {
|
|
6131
6156
|
readonly oneOf: readonly [{
|
|
6132
6157
|
readonly type: "object";
|
|
6158
|
+
readonly title: "InvoiceAcceptedEvent";
|
|
6133
6159
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6134
6160
|
readonly properties: {
|
|
6135
6161
|
readonly apiVersion: {
|
|
@@ -6138,6 +6164,7 @@ export declare const invoiceApiContract: {
|
|
|
6138
6164
|
};
|
|
6139
6165
|
readonly data: {
|
|
6140
6166
|
readonly type: "object";
|
|
6167
|
+
readonly title: "InvoiceEventData";
|
|
6141
6168
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6142
6169
|
readonly properties: {
|
|
6143
6170
|
readonly id: {
|
|
@@ -6181,6 +6208,7 @@ export declare const invoiceApiContract: {
|
|
|
6181
6208
|
readonly additionalProperties: false;
|
|
6182
6209
|
}, {
|
|
6183
6210
|
readonly type: "object";
|
|
6211
|
+
readonly title: "InvoiceRejectedEvent";
|
|
6184
6212
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6185
6213
|
readonly properties: {
|
|
6186
6214
|
readonly apiVersion: {
|
|
@@ -6189,6 +6217,7 @@ export declare const invoiceApiContract: {
|
|
|
6189
6217
|
};
|
|
6190
6218
|
readonly data: {
|
|
6191
6219
|
readonly type: "object";
|
|
6220
|
+
readonly title: "InvoiceEventData";
|
|
6192
6221
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6193
6222
|
readonly properties: {
|
|
6194
6223
|
readonly id: {
|
|
@@ -6232,6 +6261,7 @@ export declare const invoiceApiContract: {
|
|
|
6232
6261
|
readonly additionalProperties: false;
|
|
6233
6262
|
}, {
|
|
6234
6263
|
readonly type: "object";
|
|
6264
|
+
readonly title: "InvoiceOperatorRequiredEvent";
|
|
6235
6265
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6236
6266
|
readonly properties: {
|
|
6237
6267
|
readonly apiVersion: {
|
|
@@ -6240,6 +6270,7 @@ export declare const invoiceApiContract: {
|
|
|
6240
6270
|
};
|
|
6241
6271
|
readonly data: {
|
|
6242
6272
|
readonly type: "object";
|
|
6273
|
+
readonly title: "InvoiceEventData";
|
|
6243
6274
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6244
6275
|
readonly properties: {
|
|
6245
6276
|
readonly id: {
|
|
@@ -6283,6 +6314,7 @@ export declare const invoiceApiContract: {
|
|
|
6283
6314
|
readonly additionalProperties: false;
|
|
6284
6315
|
}, {
|
|
6285
6316
|
readonly type: "object";
|
|
6317
|
+
readonly title: "InvoiceReadyEvent";
|
|
6286
6318
|
readonly required: readonly ["data", "type", "apiVersion", "object", "id", "sequence", "occurredAt", "organizationId", "environment"];
|
|
6287
6319
|
readonly properties: {
|
|
6288
6320
|
readonly apiVersion: {
|
|
@@ -6291,6 +6323,7 @@ export declare const invoiceApiContract: {
|
|
|
6291
6323
|
};
|
|
6292
6324
|
readonly data: {
|
|
6293
6325
|
readonly type: "object";
|
|
6326
|
+
readonly title: "InvoiceEventData";
|
|
6294
6327
|
readonly required: readonly ["id", "sourceConnectionId"];
|
|
6295
6328
|
readonly properties: {
|
|
6296
6329
|
readonly id: {
|