@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
|
@@ -2933,6 +2933,25 @@ export declare const zBuyerDeliveryReadinessResource: z.ZodUnion<readonly [z.Zod
|
|
|
2933
2933
|
consumer_summary_rejected: "consumer_summary_rejected";
|
|
2934
2934
|
}>;
|
|
2935
2935
|
}, z.core.$strict>]>;
|
|
2936
|
+
/**
|
|
2937
|
+
* The identified party a fiscal document names opposite its issuer: the buyer of a sale, the
|
|
2938
|
+
* supplier of a Type 41 purchase, or the payee of a Type 47 payment abroad.
|
|
2939
|
+
*
|
|
2940
|
+
* An anonymous consumer and a Type 43 minor expense name no counterparty.
|
|
2941
|
+
*/
|
|
2942
|
+
export declare const zFiscalCounterparty: z.ZodUnion<readonly [z.ZodObject<{
|
|
2943
|
+
identity_kind: z.ZodEnum<{
|
|
2944
|
+
domestic: "domestic";
|
|
2945
|
+
}>;
|
|
2946
|
+
legal_name: z.ZodString;
|
|
2947
|
+
tax_id: z.ZodString;
|
|
2948
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2949
|
+
foreign_identifier: z.ZodString;
|
|
2950
|
+
identity_kind: z.ZodEnum<{
|
|
2951
|
+
foreign: "foreign";
|
|
2952
|
+
}>;
|
|
2953
|
+
legal_name: z.ZodString;
|
|
2954
|
+
}, z.core.$strict>]>;
|
|
2936
2955
|
/**
|
|
2937
2956
|
* Counterparty class that selects the legal e-CF type set.
|
|
2938
2957
|
*/
|
|
@@ -4201,6 +4220,9 @@ export declare const zInvoiceExpectedTotals: z.ZodObject<{
|
|
|
4201
4220
|
tax: z.ZodString;
|
|
4202
4221
|
total: z.ZodString;
|
|
4203
4222
|
}, z.core.$strict>;
|
|
4223
|
+
/**
|
|
4224
|
+
* ForeignBuyer
|
|
4225
|
+
*/
|
|
4204
4226
|
export declare const zInvoiceExportBuyer: z.ZodObject<{
|
|
4205
4227
|
foreignId: z.ZodString;
|
|
4206
4228
|
kind: z.ZodEnum<{
|
|
@@ -7268,6 +7290,7 @@ export declare const zReceivedDocumentResource: z.ZodObject<{
|
|
|
7268
7290
|
sandbox: "sandbox";
|
|
7269
7291
|
}>;
|
|
7270
7292
|
id: z.ZodUUID;
|
|
7293
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
7271
7294
|
issuerTaxId: z.ZodString;
|
|
7272
7295
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
7273
7296
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -7335,6 +7358,7 @@ export declare const zReceivedDocumentSummary: z.ZodObject<{
|
|
|
7335
7358
|
sandbox: "sandbox";
|
|
7336
7359
|
}>;
|
|
7337
7360
|
id: z.ZodUUID;
|
|
7361
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
7338
7362
|
issuerTaxId: z.ZodString;
|
|
7339
7363
|
receivedAt: z.ZodISODateTime;
|
|
7340
7364
|
state: z.ZodEnum<{
|
|
@@ -7396,6 +7420,7 @@ export declare const zReceivedDocumentPage: z.ZodObject<{
|
|
|
7396
7420
|
sandbox: "sandbox";
|
|
7397
7421
|
}>;
|
|
7398
7422
|
id: z.ZodUUID;
|
|
7423
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
7399
7424
|
issuerTaxId: z.ZodString;
|
|
7400
7425
|
receivedAt: z.ZodISODateTime;
|
|
7401
7426
|
state: z.ZodEnum<{
|
|
@@ -125723,6 +125748,19 @@ export declare const zWorkspaceFiscalOperationSummary: z.ZodObject<{
|
|
|
125723
125748
|
debit_note: "debit_note";
|
|
125724
125749
|
issue: "issue";
|
|
125725
125750
|
}>;
|
|
125751
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
125752
|
+
identity_kind: z.ZodEnum<{
|
|
125753
|
+
domestic: "domestic";
|
|
125754
|
+
}>;
|
|
125755
|
+
legal_name: z.ZodString;
|
|
125756
|
+
tax_id: z.ZodString;
|
|
125757
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
125758
|
+
foreign_identifier: z.ZodString;
|
|
125759
|
+
identity_kind: z.ZodEnum<{
|
|
125760
|
+
foreign: "foreign";
|
|
125761
|
+
}>;
|
|
125762
|
+
legal_name: z.ZodString;
|
|
125763
|
+
}, z.core.$strict>]>>;
|
|
125726
125764
|
created_at: z.ZodISODateTime;
|
|
125727
125765
|
environment: z.ZodEnum<{
|
|
125728
125766
|
certification: "certification";
|
|
@@ -126098,6 +126136,12 @@ export declare const zWorkspaceFiscalOperationSummary: z.ZodObject<{
|
|
|
126098
126136
|
id: z.ZodString;
|
|
126099
126137
|
version: z.ZodString;
|
|
126100
126138
|
}, z.core.$strict>;
|
|
126139
|
+
totals: z.ZodNullable<z.ZodObject<{
|
|
126140
|
+
net: z.ZodString;
|
|
126141
|
+
non_billable: z.ZodString;
|
|
126142
|
+
tax: z.ZodString;
|
|
126143
|
+
total: z.ZodString;
|
|
126144
|
+
}, z.core.$strict>>;
|
|
126101
126145
|
updated_at: z.ZodISODateTime;
|
|
126102
126146
|
}, z.core.$strict>;
|
|
126103
126147
|
export declare const zWorkspaceFiscalOperationPage: z.ZodObject<{
|
|
@@ -126107,6 +126151,19 @@ export declare const zWorkspaceFiscalOperationPage: z.ZodObject<{
|
|
|
126107
126151
|
debit_note: "debit_note";
|
|
126108
126152
|
issue: "issue";
|
|
126109
126153
|
}>;
|
|
126154
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
126155
|
+
identity_kind: z.ZodEnum<{
|
|
126156
|
+
domestic: "domestic";
|
|
126157
|
+
}>;
|
|
126158
|
+
legal_name: z.ZodString;
|
|
126159
|
+
tax_id: z.ZodString;
|
|
126160
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
126161
|
+
foreign_identifier: z.ZodString;
|
|
126162
|
+
identity_kind: z.ZodEnum<{
|
|
126163
|
+
foreign: "foreign";
|
|
126164
|
+
}>;
|
|
126165
|
+
legal_name: z.ZodString;
|
|
126166
|
+
}, z.core.$strict>]>>;
|
|
126110
126167
|
created_at: z.ZodISODateTime;
|
|
126111
126168
|
environment: z.ZodEnum<{
|
|
126112
126169
|
certification: "certification";
|
|
@@ -126482,6 +126539,12 @@ export declare const zWorkspaceFiscalOperationPage: z.ZodObject<{
|
|
|
126482
126539
|
id: z.ZodString;
|
|
126483
126540
|
version: z.ZodString;
|
|
126484
126541
|
}, z.core.$strict>;
|
|
126542
|
+
totals: z.ZodNullable<z.ZodObject<{
|
|
126543
|
+
net: z.ZodString;
|
|
126544
|
+
non_billable: z.ZodString;
|
|
126545
|
+
tax: z.ZodString;
|
|
126546
|
+
total: z.ZodString;
|
|
126547
|
+
}, z.core.$strict>>;
|
|
126485
126548
|
updated_at: z.ZodISODateTime;
|
|
126486
126549
|
}, z.core.$strict>>;
|
|
126487
126550
|
hasMore: z.ZodBoolean;
|
|
@@ -127143,6 +127206,19 @@ export declare const zWorkspaceFiscalOperationResource: z.ZodObject<{
|
|
|
127143
127206
|
recorded_at: z.ZodISODateTime;
|
|
127144
127207
|
responded_at: z.ZodISODateTime;
|
|
127145
127208
|
}, z.core.$strict>]>>;
|
|
127209
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
127210
|
+
identity_kind: z.ZodEnum<{
|
|
127211
|
+
domestic: "domestic";
|
|
127212
|
+
}>;
|
|
127213
|
+
legal_name: z.ZodString;
|
|
127214
|
+
tax_id: z.ZodString;
|
|
127215
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
127216
|
+
foreign_identifier: z.ZodString;
|
|
127217
|
+
identity_kind: z.ZodEnum<{
|
|
127218
|
+
foreign: "foreign";
|
|
127219
|
+
}>;
|
|
127220
|
+
legal_name: z.ZodString;
|
|
127221
|
+
}, z.core.$strict>]>>;
|
|
127146
127222
|
operation: z.ZodObject<{
|
|
127147
127223
|
accepted_at: z.ZodNullable<z.ZodISODateTime>;
|
|
127148
127224
|
action: z.ZodEnum<{
|
|
@@ -174100,6 +174176,19 @@ export declare const zListOrganizationFiscalOperationsResponse: z.ZodObject<{
|
|
|
174100
174176
|
debit_note: "debit_note";
|
|
174101
174177
|
issue: "issue";
|
|
174102
174178
|
}>;
|
|
174179
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
174180
|
+
identity_kind: z.ZodEnum<{
|
|
174181
|
+
domestic: "domestic";
|
|
174182
|
+
}>;
|
|
174183
|
+
legal_name: z.ZodString;
|
|
174184
|
+
tax_id: z.ZodString;
|
|
174185
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
174186
|
+
foreign_identifier: z.ZodString;
|
|
174187
|
+
identity_kind: z.ZodEnum<{
|
|
174188
|
+
foreign: "foreign";
|
|
174189
|
+
}>;
|
|
174190
|
+
legal_name: z.ZodString;
|
|
174191
|
+
}, z.core.$strict>]>>;
|
|
174103
174192
|
created_at: z.ZodISODateTime;
|
|
174104
174193
|
environment: z.ZodEnum<{
|
|
174105
174194
|
certification: "certification";
|
|
@@ -174475,6 +174564,12 @@ export declare const zListOrganizationFiscalOperationsResponse: z.ZodObject<{
|
|
|
174475
174564
|
id: z.ZodString;
|
|
174476
174565
|
version: z.ZodString;
|
|
174477
174566
|
}, z.core.$strict>;
|
|
174567
|
+
totals: z.ZodNullable<z.ZodObject<{
|
|
174568
|
+
net: z.ZodString;
|
|
174569
|
+
non_billable: z.ZodString;
|
|
174570
|
+
tax: z.ZodString;
|
|
174571
|
+
total: z.ZodString;
|
|
174572
|
+
}, z.core.$strict>>;
|
|
174478
174573
|
updated_at: z.ZodISODateTime;
|
|
174479
174574
|
}, z.core.$strict>>;
|
|
174480
174575
|
hasMore: z.ZodBoolean;
|
|
@@ -174509,6 +174604,19 @@ export declare const zReadOrganizationFiscalOperationResponse: z.ZodObject<{
|
|
|
174509
174604
|
recorded_at: z.ZodISODateTime;
|
|
174510
174605
|
responded_at: z.ZodISODateTime;
|
|
174511
174606
|
}, z.core.$strict>]>>;
|
|
174607
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
174608
|
+
identity_kind: z.ZodEnum<{
|
|
174609
|
+
domestic: "domestic";
|
|
174610
|
+
}>;
|
|
174611
|
+
legal_name: z.ZodString;
|
|
174612
|
+
tax_id: z.ZodString;
|
|
174613
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
174614
|
+
foreign_identifier: z.ZodString;
|
|
174615
|
+
identity_kind: z.ZodEnum<{
|
|
174616
|
+
foreign: "foreign";
|
|
174617
|
+
}>;
|
|
174618
|
+
legal_name: z.ZodString;
|
|
174619
|
+
}, z.core.$strict>]>>;
|
|
174512
174620
|
operation: z.ZodObject<{
|
|
174513
174621
|
accepted_at: z.ZodNullable<z.ZodISODateTime>;
|
|
174514
174622
|
action: z.ZodEnum<{
|
|
@@ -175885,6 +175993,7 @@ export declare const zListReceivedDocumentsResponse: z.ZodObject<{
|
|
|
175885
175993
|
sandbox: "sandbox";
|
|
175886
175994
|
}>;
|
|
175887
175995
|
id: z.ZodUUID;
|
|
175996
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
175888
175997
|
issuerTaxId: z.ZodString;
|
|
175889
175998
|
receivedAt: z.ZodISODateTime;
|
|
175890
175999
|
state: z.ZodEnum<{
|
|
@@ -175958,6 +176067,7 @@ export declare const zReadReceivedDocumentResponse: z.ZodObject<{
|
|
|
175958
176067
|
sandbox: "sandbox";
|
|
175959
176068
|
}>;
|
|
175960
176069
|
id: z.ZodUUID;
|
|
176070
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
175961
176071
|
issuerTaxId: z.ZodString;
|
|
175962
176072
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
175963
176073
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -176042,6 +176152,7 @@ export declare const zRecordCommercialResponseResponse: z.ZodObject<{
|
|
|
176042
176152
|
sandbox: "sandbox";
|
|
176043
176153
|
}>;
|
|
176044
176154
|
id: z.ZodUUID;
|
|
176155
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176045
176156
|
issuerTaxId: z.ZodString;
|
|
176046
176157
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
176047
176158
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -176742,6 +176853,7 @@ export declare const zListSourceReceivedDocumentsResponse: z.ZodObject<{
|
|
|
176742
176853
|
sandbox: "sandbox";
|
|
176743
176854
|
}>;
|
|
176744
176855
|
id: z.ZodUUID;
|
|
176856
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176745
176857
|
issuerTaxId: z.ZodString;
|
|
176746
176858
|
receivedAt: z.ZodISODateTime;
|
|
176747
176859
|
state: z.ZodEnum<{
|
|
@@ -176822,6 +176934,7 @@ export declare const zGetSourceReceivedDocumentResponse: z.ZodObject<{
|
|
|
176822
176934
|
sandbox: "sandbox";
|
|
176823
176935
|
}>;
|
|
176824
176936
|
id: z.ZodUUID;
|
|
176937
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176825
176938
|
issuerTaxId: z.ZodString;
|
|
176826
176939
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
176827
176940
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -176913,6 +177026,7 @@ export declare const zRespondToReceivedDocumentResponse: z.ZodObject<{
|
|
|
176913
177026
|
sandbox: "sandbox";
|
|
176914
177027
|
}>;
|
|
176915
177028
|
id: z.ZodUUID;
|
|
177029
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176916
177030
|
issuerTaxId: z.ZodString;
|
|
176917
177031
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
176918
177032
|
buyerRncMismatch: "buyerRncMismatch";
|