@timbro/invoices 0.10.1 → 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/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 +16 -2
- package/dist/generated/invoice-api-contract.d.ts.map +1 -1
- package/dist/generated/invoice-api-contract.js +16 -0
- package/dist/generated/types.gen.d.ts +28 -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 +111 -0
- package/dist/generated/zod.gen.d.ts.map +1 -1
- package/dist/generated/zod.gen.js +45 -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
|
*/
|
|
@@ -7268,6 +7287,7 @@ export declare const zReceivedDocumentResource: z.ZodObject<{
|
|
|
7268
7287
|
sandbox: "sandbox";
|
|
7269
7288
|
}>;
|
|
7270
7289
|
id: z.ZodUUID;
|
|
7290
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
7271
7291
|
issuerTaxId: z.ZodString;
|
|
7272
7292
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
7273
7293
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -7335,6 +7355,7 @@ export declare const zReceivedDocumentSummary: z.ZodObject<{
|
|
|
7335
7355
|
sandbox: "sandbox";
|
|
7336
7356
|
}>;
|
|
7337
7357
|
id: z.ZodUUID;
|
|
7358
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
7338
7359
|
issuerTaxId: z.ZodString;
|
|
7339
7360
|
receivedAt: z.ZodISODateTime;
|
|
7340
7361
|
state: z.ZodEnum<{
|
|
@@ -7396,6 +7417,7 @@ export declare const zReceivedDocumentPage: z.ZodObject<{
|
|
|
7396
7417
|
sandbox: "sandbox";
|
|
7397
7418
|
}>;
|
|
7398
7419
|
id: z.ZodUUID;
|
|
7420
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
7399
7421
|
issuerTaxId: z.ZodString;
|
|
7400
7422
|
receivedAt: z.ZodISODateTime;
|
|
7401
7423
|
state: z.ZodEnum<{
|
|
@@ -125723,6 +125745,19 @@ export declare const zWorkspaceFiscalOperationSummary: z.ZodObject<{
|
|
|
125723
125745
|
debit_note: "debit_note";
|
|
125724
125746
|
issue: "issue";
|
|
125725
125747
|
}>;
|
|
125748
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
125749
|
+
identity_kind: z.ZodEnum<{
|
|
125750
|
+
domestic: "domestic";
|
|
125751
|
+
}>;
|
|
125752
|
+
legal_name: z.ZodString;
|
|
125753
|
+
tax_id: z.ZodString;
|
|
125754
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
125755
|
+
foreign_identifier: z.ZodString;
|
|
125756
|
+
identity_kind: z.ZodEnum<{
|
|
125757
|
+
foreign: "foreign";
|
|
125758
|
+
}>;
|
|
125759
|
+
legal_name: z.ZodString;
|
|
125760
|
+
}, z.core.$strict>]>>;
|
|
125726
125761
|
created_at: z.ZodISODateTime;
|
|
125727
125762
|
environment: z.ZodEnum<{
|
|
125728
125763
|
certification: "certification";
|
|
@@ -126098,6 +126133,12 @@ export declare const zWorkspaceFiscalOperationSummary: z.ZodObject<{
|
|
|
126098
126133
|
id: z.ZodString;
|
|
126099
126134
|
version: z.ZodString;
|
|
126100
126135
|
}, z.core.$strict>;
|
|
126136
|
+
totals: z.ZodNullable<z.ZodObject<{
|
|
126137
|
+
net: z.ZodString;
|
|
126138
|
+
non_billable: z.ZodString;
|
|
126139
|
+
tax: z.ZodString;
|
|
126140
|
+
total: z.ZodString;
|
|
126141
|
+
}, z.core.$strict>>;
|
|
126101
126142
|
updated_at: z.ZodISODateTime;
|
|
126102
126143
|
}, z.core.$strict>;
|
|
126103
126144
|
export declare const zWorkspaceFiscalOperationPage: z.ZodObject<{
|
|
@@ -126107,6 +126148,19 @@ export declare const zWorkspaceFiscalOperationPage: z.ZodObject<{
|
|
|
126107
126148
|
debit_note: "debit_note";
|
|
126108
126149
|
issue: "issue";
|
|
126109
126150
|
}>;
|
|
126151
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
126152
|
+
identity_kind: z.ZodEnum<{
|
|
126153
|
+
domestic: "domestic";
|
|
126154
|
+
}>;
|
|
126155
|
+
legal_name: z.ZodString;
|
|
126156
|
+
tax_id: z.ZodString;
|
|
126157
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
126158
|
+
foreign_identifier: z.ZodString;
|
|
126159
|
+
identity_kind: z.ZodEnum<{
|
|
126160
|
+
foreign: "foreign";
|
|
126161
|
+
}>;
|
|
126162
|
+
legal_name: z.ZodString;
|
|
126163
|
+
}, z.core.$strict>]>>;
|
|
126110
126164
|
created_at: z.ZodISODateTime;
|
|
126111
126165
|
environment: z.ZodEnum<{
|
|
126112
126166
|
certification: "certification";
|
|
@@ -126482,6 +126536,12 @@ export declare const zWorkspaceFiscalOperationPage: z.ZodObject<{
|
|
|
126482
126536
|
id: z.ZodString;
|
|
126483
126537
|
version: z.ZodString;
|
|
126484
126538
|
}, z.core.$strict>;
|
|
126539
|
+
totals: z.ZodNullable<z.ZodObject<{
|
|
126540
|
+
net: z.ZodString;
|
|
126541
|
+
non_billable: z.ZodString;
|
|
126542
|
+
tax: z.ZodString;
|
|
126543
|
+
total: z.ZodString;
|
|
126544
|
+
}, z.core.$strict>>;
|
|
126485
126545
|
updated_at: z.ZodISODateTime;
|
|
126486
126546
|
}, z.core.$strict>>;
|
|
126487
126547
|
hasMore: z.ZodBoolean;
|
|
@@ -127143,6 +127203,19 @@ export declare const zWorkspaceFiscalOperationResource: z.ZodObject<{
|
|
|
127143
127203
|
recorded_at: z.ZodISODateTime;
|
|
127144
127204
|
responded_at: z.ZodISODateTime;
|
|
127145
127205
|
}, z.core.$strict>]>>;
|
|
127206
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
127207
|
+
identity_kind: z.ZodEnum<{
|
|
127208
|
+
domestic: "domestic";
|
|
127209
|
+
}>;
|
|
127210
|
+
legal_name: z.ZodString;
|
|
127211
|
+
tax_id: z.ZodString;
|
|
127212
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
127213
|
+
foreign_identifier: z.ZodString;
|
|
127214
|
+
identity_kind: z.ZodEnum<{
|
|
127215
|
+
foreign: "foreign";
|
|
127216
|
+
}>;
|
|
127217
|
+
legal_name: z.ZodString;
|
|
127218
|
+
}, z.core.$strict>]>>;
|
|
127146
127219
|
operation: z.ZodObject<{
|
|
127147
127220
|
accepted_at: z.ZodNullable<z.ZodISODateTime>;
|
|
127148
127221
|
action: z.ZodEnum<{
|
|
@@ -174100,6 +174173,19 @@ export declare const zListOrganizationFiscalOperationsResponse: z.ZodObject<{
|
|
|
174100
174173
|
debit_note: "debit_note";
|
|
174101
174174
|
issue: "issue";
|
|
174102
174175
|
}>;
|
|
174176
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
174177
|
+
identity_kind: z.ZodEnum<{
|
|
174178
|
+
domestic: "domestic";
|
|
174179
|
+
}>;
|
|
174180
|
+
legal_name: z.ZodString;
|
|
174181
|
+
tax_id: z.ZodString;
|
|
174182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
174183
|
+
foreign_identifier: z.ZodString;
|
|
174184
|
+
identity_kind: z.ZodEnum<{
|
|
174185
|
+
foreign: "foreign";
|
|
174186
|
+
}>;
|
|
174187
|
+
legal_name: z.ZodString;
|
|
174188
|
+
}, z.core.$strict>]>>;
|
|
174103
174189
|
created_at: z.ZodISODateTime;
|
|
174104
174190
|
environment: z.ZodEnum<{
|
|
174105
174191
|
certification: "certification";
|
|
@@ -174475,6 +174561,12 @@ export declare const zListOrganizationFiscalOperationsResponse: z.ZodObject<{
|
|
|
174475
174561
|
id: z.ZodString;
|
|
174476
174562
|
version: z.ZodString;
|
|
174477
174563
|
}, z.core.$strict>;
|
|
174564
|
+
totals: z.ZodNullable<z.ZodObject<{
|
|
174565
|
+
net: z.ZodString;
|
|
174566
|
+
non_billable: z.ZodString;
|
|
174567
|
+
tax: z.ZodString;
|
|
174568
|
+
total: z.ZodString;
|
|
174569
|
+
}, z.core.$strict>>;
|
|
174478
174570
|
updated_at: z.ZodISODateTime;
|
|
174479
174571
|
}, z.core.$strict>>;
|
|
174480
174572
|
hasMore: z.ZodBoolean;
|
|
@@ -174509,6 +174601,19 @@ export declare const zReadOrganizationFiscalOperationResponse: z.ZodObject<{
|
|
|
174509
174601
|
recorded_at: z.ZodISODateTime;
|
|
174510
174602
|
responded_at: z.ZodISODateTime;
|
|
174511
174603
|
}, z.core.$strict>]>>;
|
|
174604
|
+
counterparty: z.ZodNullable<z.ZodUnion<readonly [z.ZodObject<{
|
|
174605
|
+
identity_kind: z.ZodEnum<{
|
|
174606
|
+
domestic: "domestic";
|
|
174607
|
+
}>;
|
|
174608
|
+
legal_name: z.ZodString;
|
|
174609
|
+
tax_id: z.ZodString;
|
|
174610
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
174611
|
+
foreign_identifier: z.ZodString;
|
|
174612
|
+
identity_kind: z.ZodEnum<{
|
|
174613
|
+
foreign: "foreign";
|
|
174614
|
+
}>;
|
|
174615
|
+
legal_name: z.ZodString;
|
|
174616
|
+
}, z.core.$strict>]>>;
|
|
174512
174617
|
operation: z.ZodObject<{
|
|
174513
174618
|
accepted_at: z.ZodNullable<z.ZodISODateTime>;
|
|
174514
174619
|
action: z.ZodEnum<{
|
|
@@ -175885,6 +175990,7 @@ export declare const zListReceivedDocumentsResponse: z.ZodObject<{
|
|
|
175885
175990
|
sandbox: "sandbox";
|
|
175886
175991
|
}>;
|
|
175887
175992
|
id: z.ZodUUID;
|
|
175993
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
175888
175994
|
issuerTaxId: z.ZodString;
|
|
175889
175995
|
receivedAt: z.ZodISODateTime;
|
|
175890
175996
|
state: z.ZodEnum<{
|
|
@@ -175958,6 +176064,7 @@ export declare const zReadReceivedDocumentResponse: z.ZodObject<{
|
|
|
175958
176064
|
sandbox: "sandbox";
|
|
175959
176065
|
}>;
|
|
175960
176066
|
id: z.ZodUUID;
|
|
176067
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
175961
176068
|
issuerTaxId: z.ZodString;
|
|
175962
176069
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
175963
176070
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -176042,6 +176149,7 @@ export declare const zRecordCommercialResponseResponse: z.ZodObject<{
|
|
|
176042
176149
|
sandbox: "sandbox";
|
|
176043
176150
|
}>;
|
|
176044
176151
|
id: z.ZodUUID;
|
|
176152
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176045
176153
|
issuerTaxId: z.ZodString;
|
|
176046
176154
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
176047
176155
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -176742,6 +176850,7 @@ export declare const zListSourceReceivedDocumentsResponse: z.ZodObject<{
|
|
|
176742
176850
|
sandbox: "sandbox";
|
|
176743
176851
|
}>;
|
|
176744
176852
|
id: z.ZodUUID;
|
|
176853
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176745
176854
|
issuerTaxId: z.ZodString;
|
|
176746
176855
|
receivedAt: z.ZodISODateTime;
|
|
176747
176856
|
state: z.ZodEnum<{
|
|
@@ -176822,6 +176931,7 @@ export declare const zGetSourceReceivedDocumentResponse: z.ZodObject<{
|
|
|
176822
176931
|
sandbox: "sandbox";
|
|
176823
176932
|
}>;
|
|
176824
176933
|
id: z.ZodUUID;
|
|
176934
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176825
176935
|
issuerTaxId: z.ZodString;
|
|
176826
176936
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
176827
176937
|
buyerRncMismatch: "buyerRncMismatch";
|
|
@@ -176913,6 +177023,7 @@ export declare const zRespondToReceivedDocumentResponse: z.ZodObject<{
|
|
|
176913
177023
|
sandbox: "sandbox";
|
|
176914
177024
|
}>;
|
|
176915
177025
|
id: z.ZodUUID;
|
|
177026
|
+
issuerLegalName: z.ZodNullable<z.ZodString>;
|
|
176916
177027
|
issuerTaxId: z.ZodString;
|
|
176917
177028
|
notReceivedReason: z.ZodNullable<z.ZodEnum<{
|
|
176918
177029
|
buyerRncMismatch: "buyerRncMismatch";
|