@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.
@@ -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(),