@updraft-solutions/mcrit-sdk 0.18.5 → 0.18.7
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/{chunk-MGLQBVNH.js → chunk-Q3UDPXPZ.js} +11 -4
- package/dist/{chunk-2EE42RYO.cjs → chunk-SAOBEPQN.cjs} +11 -4
- package/dist/{conversation-BD3Fqaoh.d.cts → conversation-WwfMCoZ6.d.cts} +20417 -20365
- package/dist/{conversation-BD3Fqaoh.d.ts → conversation-WwfMCoZ6.d.ts} +20417 -20365
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +10 -10
- package/dist/schemas/index.cjs +2 -2
- package/dist/schemas/index.d.cts +196 -196
- package/dist/schemas/index.d.ts +196 -196
- package/dist/schemas/index.js +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/src/schemas/models.ts +11 -4
|
@@ -1292,8 +1292,13 @@ var billingProfileSchema = z4.object({
|
|
|
1292
1292
|
fax: z4.string().nullable(),
|
|
1293
1293
|
iso_country: z4.string().nullable(),
|
|
1294
1294
|
vat_id: z4.string().nullable(),
|
|
1295
|
-
// EN 16931 BT-10 —
|
|
1295
|
+
// EN 16931 BT-10 — the Leitweg-ID of a public body (`is_public_body`,
|
|
1296
|
+
// validated with check digits, routes the invoice as XRechnung) or any
|
|
1297
|
+
// buyer-assigned free-text reference otherwise.
|
|
1296
1298
|
buyer_reference: z4.string().nullable().optional(),
|
|
1299
|
+
is_public_body: z4.boolean().optional(),
|
|
1300
|
+
// EN 16931 BT-19 — the buyer's cost centre (accounting reference).
|
|
1301
|
+
cost_centre: z4.string().nullable().optional(),
|
|
1297
1302
|
email: z4.string().nullable(),
|
|
1298
1303
|
archived_at: z4.string().nullable(),
|
|
1299
1304
|
source_billing_profile_id: z4.number().nullable(),
|
|
@@ -1410,9 +1415,11 @@ var invoiceSchema = z4.object({
|
|
|
1410
1415
|
recipient_country: z4.string().nullable().optional(),
|
|
1411
1416
|
recipient_vat_id: z4.string().nullable().optional(),
|
|
1412
1417
|
recipient_buyer_reference: z4.string().nullable().optional(),
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
//
|
|
1418
|
+
recipient_is_public_body: z4.boolean().optional(),
|
|
1419
|
+
recipient_cost_centre: z4.string().nullable().optional(),
|
|
1420
|
+
// XRechnung routing: true when the recipient was frozen as a public body
|
|
1421
|
+
// (the e-invoice is built as XRechnung); `xrechnung_missing` lists the
|
|
1422
|
+
// BR-DE fields that still block a draft's release, keyed by invoice column.
|
|
1416
1423
|
is_xrechnung: z4.boolean().optional(),
|
|
1417
1424
|
xrechnung_missing: z4.record(z4.string(), z4.string()).optional(),
|
|
1418
1425
|
issuer_contact_name: z4.string().nullable().optional(),
|
|
@@ -1292,8 +1292,13 @@ var billingProfileSchema = _zod.z.object({
|
|
|
1292
1292
|
fax: _zod.z.string().nullable(),
|
|
1293
1293
|
iso_country: _zod.z.string().nullable(),
|
|
1294
1294
|
vat_id: _zod.z.string().nullable(),
|
|
1295
|
-
// EN 16931 BT-10 —
|
|
1295
|
+
// EN 16931 BT-10 — the Leitweg-ID of a public body (`is_public_body`,
|
|
1296
|
+
// validated with check digits, routes the invoice as XRechnung) or any
|
|
1297
|
+
// buyer-assigned free-text reference otherwise.
|
|
1296
1298
|
buyer_reference: _zod.z.string().nullable().optional(),
|
|
1299
|
+
is_public_body: _zod.z.boolean().optional(),
|
|
1300
|
+
// EN 16931 BT-19 — the buyer's cost centre (accounting reference).
|
|
1301
|
+
cost_centre: _zod.z.string().nullable().optional(),
|
|
1297
1302
|
email: _zod.z.string().nullable(),
|
|
1298
1303
|
archived_at: _zod.z.string().nullable(),
|
|
1299
1304
|
source_billing_profile_id: _zod.z.number().nullable(),
|
|
@@ -1410,9 +1415,11 @@ var invoiceSchema = _zod.z.object({
|
|
|
1410
1415
|
recipient_country: _zod.z.string().nullable().optional(),
|
|
1411
1416
|
recipient_vat_id: _zod.z.string().nullable().optional(),
|
|
1412
1417
|
recipient_buyer_reference: _zod.z.string().nullable().optional(),
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
//
|
|
1418
|
+
recipient_is_public_body: _zod.z.boolean().optional(),
|
|
1419
|
+
recipient_cost_centre: _zod.z.string().nullable().optional(),
|
|
1420
|
+
// XRechnung routing: true when the recipient was frozen as a public body
|
|
1421
|
+
// (the e-invoice is built as XRechnung); `xrechnung_missing` lists the
|
|
1422
|
+
// BR-DE fields that still block a draft's release, keyed by invoice column.
|
|
1416
1423
|
is_xrechnung: _zod.z.boolean().optional(),
|
|
1417
1424
|
xrechnung_missing: _zod.z.record(_zod.z.string(), _zod.z.string()).optional(),
|
|
1418
1425
|
issuer_contact_name: _zod.z.string().nullable().optional(),
|