@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.
- package/dist/{chunk-GQE6KHZG.cjs → chunk-D6PL3IJU.cjs} +4 -0
- package/dist/{chunk-2TZ63XWR.js → chunk-RJZJYRDQ.js} +4 -0
- package/dist/{fbo-3nV_Rerj.d.cts → fbo-FkVII67X.d.cts} +17997 -17840
- package/dist/{fbo-3nV_Rerj.d.ts → fbo-FkVII67X.d.ts} +17997 -17840
- 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 +135 -135
- package/dist/schemas/index.d.ts +135 -135
- 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 +4 -0
|
@@ -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(),
|