@updraft-solutions/mcrit-sdk 0.14.18 → 0.14.19

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.
@@ -1422,6 +1422,9 @@ var courseEnrollmentSchema = _zod.z.object({
1422
1422
  membership_id: _zod.z.number(),
1423
1423
  company_id: _zod.z.number(),
1424
1424
  mentor_id: _zod.z.number().nullable().optional(),
1425
+ // Default billing profile of the enrollment (null = the member's default);
1426
+ // the initial-fee items are billed to it.
1427
+ billing_profile_id: _zod.z.number().nullable().optional(),
1425
1428
  status: _zod.z.enum(["enrolled", "completed", "cancelled", "suspended"]),
1426
1429
  enrollment_date: _zod.z.string(),
1427
1430
  completion_date: _zod.z.string().nullable().optional(),
@@ -1439,6 +1442,7 @@ var courseEnrollmentSchema = _zod.z.object({
1439
1442
  course: courseSchema.optional(),
1440
1443
  membership: nestedMembershipSchema.optional(),
1441
1444
  mentor: userSchema.optional(),
1445
+ billingProfile: billingProfileSchema.nullable().optional(),
1442
1446
  // Present when eager-loaded (BaseCourseEnrollmentResource). Lazy: both
1443
1447
  // schemas are declared later in this file; there is no true cycle.
1444
1448
  expense_items: _zod.z.array(_zod.z.lazy(() => expenseItemSchema)).optional(),
@@ -1422,6 +1422,9 @@ var courseEnrollmentSchema = z4.object({
1422
1422
  membership_id: z4.number(),
1423
1423
  company_id: z4.number(),
1424
1424
  mentor_id: z4.number().nullable().optional(),
1425
+ // Default billing profile of the enrollment (null = the member's default);
1426
+ // the initial-fee items are billed to it.
1427
+ billing_profile_id: z4.number().nullable().optional(),
1425
1428
  status: z4.enum(["enrolled", "completed", "cancelled", "suspended"]),
1426
1429
  enrollment_date: z4.string(),
1427
1430
  completion_date: z4.string().nullable().optional(),
@@ -1439,6 +1442,7 @@ var courseEnrollmentSchema = z4.object({
1439
1442
  course: courseSchema.optional(),
1440
1443
  membership: nestedMembershipSchema.optional(),
1441
1444
  mentor: userSchema.optional(),
1445
+ billingProfile: billingProfileSchema.nullable().optional(),
1442
1446
  // Present when eager-loaded (BaseCourseEnrollmentResource). Lazy: both
1443
1447
  // schemas are declared later in this file; there is no true cycle.
1444
1448
  expense_items: z4.array(z4.lazy(() => expenseItemSchema)).optional(),