@updraft-solutions/mcrit-sdk 0.18.2 → 0.18.4
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-SEJODI3S.js → chunk-BE4JVKF2.js} +6 -0
- package/dist/{chunk-CY7AQXVQ.cjs → chunk-FXEON5TR.cjs} +6 -0
- package/dist/{conversation-CTsrnpb0.d.cts → conversation-DHgnxj6f.d.cts} +27621 -19987
- package/dist/{conversation-CTsrnpb0.d.ts → conversation-DHgnxj6f.d.ts} +27621 -19987
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +6 -6
- 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 +6 -0
|
@@ -1281,6 +1281,8 @@ var billingProfileSchema = z4.object({
|
|
|
1281
1281
|
fax: z4.string().nullable(),
|
|
1282
1282
|
iso_country: z4.string().nullable(),
|
|
1283
1283
|
vat_id: z4.string().nullable(),
|
|
1284
|
+
// EN 16931 BT-10 — a public body's Leitweg-ID or any buyer-assigned routing code.
|
|
1285
|
+
buyer_reference: z4.string().nullable().optional(),
|
|
1284
1286
|
email: z4.string().nullable(),
|
|
1285
1287
|
archived_at: z4.string().nullable(),
|
|
1286
1288
|
source_billing_profile_id: z4.number().nullable(),
|
|
@@ -1396,6 +1398,7 @@ var invoiceSchema = z4.object({
|
|
|
1396
1398
|
recipient_state: z4.string().nullable().optional(),
|
|
1397
1399
|
recipient_country: z4.string().nullable().optional(),
|
|
1398
1400
|
recipient_vat_id: z4.string().nullable().optional(),
|
|
1401
|
+
recipient_buyer_reference: z4.string().nullable().optional(),
|
|
1399
1402
|
// Always computed by InvoiceResource (billingProfile email, else the
|
|
1400
1403
|
// membership's user email) — used by InvoiceDialog today but was missing.
|
|
1401
1404
|
recipient_email: z4.string().nullable().optional(),
|
|
@@ -1863,6 +1866,9 @@ var expenseItemSchema = z4.object({
|
|
|
1863
1866
|
invoice: z4.lazy(() => invoiceSchema).optional(),
|
|
1864
1867
|
membership: nestedMembershipSchema.optional(),
|
|
1865
1868
|
prePaidPackageAssignments: z4.array(prePaidPackageAssignmentSchema).optional(),
|
|
1869
|
+
// Audit trail (ExpenseItemResource `activities`): present on the show
|
|
1870
|
+
// payload for company admins; only manually entered items carry one.
|
|
1871
|
+
activities: z4.array(activitySchema).optional(),
|
|
1866
1872
|
// Loose record on purpose: gates are policy-reflected server-side and grow
|
|
1867
1873
|
// over time — same convention as companySchema/invoiceSchema.
|
|
1868
1874
|
can: z4.record(z4.string(), z4.boolean().nullable()).optional(),
|
|
@@ -1281,6 +1281,8 @@ var billingProfileSchema = _zod.z.object({
|
|
|
1281
1281
|
fax: _zod.z.string().nullable(),
|
|
1282
1282
|
iso_country: _zod.z.string().nullable(),
|
|
1283
1283
|
vat_id: _zod.z.string().nullable(),
|
|
1284
|
+
// EN 16931 BT-10 — a public body's Leitweg-ID or any buyer-assigned routing code.
|
|
1285
|
+
buyer_reference: _zod.z.string().nullable().optional(),
|
|
1284
1286
|
email: _zod.z.string().nullable(),
|
|
1285
1287
|
archived_at: _zod.z.string().nullable(),
|
|
1286
1288
|
source_billing_profile_id: _zod.z.number().nullable(),
|
|
@@ -1396,6 +1398,7 @@ var invoiceSchema = _zod.z.object({
|
|
|
1396
1398
|
recipient_state: _zod.z.string().nullable().optional(),
|
|
1397
1399
|
recipient_country: _zod.z.string().nullable().optional(),
|
|
1398
1400
|
recipient_vat_id: _zod.z.string().nullable().optional(),
|
|
1401
|
+
recipient_buyer_reference: _zod.z.string().nullable().optional(),
|
|
1399
1402
|
// Always computed by InvoiceResource (billingProfile email, else the
|
|
1400
1403
|
// membership's user email) — used by InvoiceDialog today but was missing.
|
|
1401
1404
|
recipient_email: _zod.z.string().nullable().optional(),
|
|
@@ -1863,6 +1866,9 @@ var expenseItemSchema = _zod.z.object({
|
|
|
1863
1866
|
invoice: _zod.z.lazy(() => invoiceSchema).optional(),
|
|
1864
1867
|
membership: nestedMembershipSchema.optional(),
|
|
1865
1868
|
prePaidPackageAssignments: _zod.z.array(prePaidPackageAssignmentSchema).optional(),
|
|
1869
|
+
// Audit trail (ExpenseItemResource `activities`): present on the show
|
|
1870
|
+
// payload for company admins; only manually entered items carry one.
|
|
1871
|
+
activities: _zod.z.array(activitySchema).optional(),
|
|
1866
1872
|
// Loose record on purpose: gates are policy-reflected server-side and grow
|
|
1867
1873
|
// over time — same convention as companySchema/invoiceSchema.
|
|
1868
1874
|
can: _zod.z.record(_zod.z.string(), _zod.z.boolean().nullable()).optional(),
|