@leaflow/sdk 0.129.1 → 0.129.2
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/membership/v1/generated/models.d.ts +6 -0
- package/dist/membership/v1/generated/validators/grant.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/grant.zod.js +5 -0
- package/dist/membership/v1/generated/validators/membership.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/membershipList.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/membershipPurchase.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/period.zod.d.ts +2 -0
- package/dist/membership/v1/generated/validators/periodList.zod.d.ts +2 -0
- package/package.json +1 -1
|
@@ -227,6 +227,12 @@ export interface Grant {
|
|
|
227
227
|
allowance_id: string | null;
|
|
228
228
|
/** @nullable */
|
|
229
229
|
feature_grant_id: string | null;
|
|
230
|
+
valid_from: string;
|
|
231
|
+
/**
|
|
232
|
+
* Exclusive expiry; null means no expiry.
|
|
233
|
+
* @nullable
|
|
234
|
+
*/
|
|
235
|
+
valid_until: string | null;
|
|
230
236
|
issued_at: string;
|
|
231
237
|
}
|
|
232
238
|
/**
|
|
@@ -65,6 +65,8 @@ export declare const Grant: zod.ZodObject<{
|
|
|
65
65
|
discount_id: zod.ZodNullable<zod.ZodUUID>;
|
|
66
66
|
allowance_id: zod.ZodNullable<zod.ZodUUID>;
|
|
67
67
|
feature_grant_id: zod.ZodNullable<zod.ZodUUID>;
|
|
68
|
+
valid_from: zod.z.ZodISODateTime;
|
|
69
|
+
valid_until: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
68
70
|
issued_at: zod.z.ZodISODateTime;
|
|
69
71
|
}, zod.z.core.$strict>;
|
|
70
72
|
export type Grant = zod.input<typeof Grant>;
|
|
@@ -24,6 +24,11 @@ export const Grant = zod
|
|
|
24
24
|
discount_id: zod.uuid().nullable(),
|
|
25
25
|
allowance_id: zod.uuid().nullable(),
|
|
26
26
|
feature_grant_id: zod.uuid().nullable(),
|
|
27
|
+
valid_from: zod.iso.datetime({ offset: true }),
|
|
28
|
+
valid_until: zod.iso
|
|
29
|
+
.datetime({ offset: true })
|
|
30
|
+
.nullable()
|
|
31
|
+
.describe("Exclusive expiry; null means no expiry."),
|
|
27
32
|
issued_at: zod.iso.datetime({ offset: true }),
|
|
28
33
|
})
|
|
29
34
|
.describe("A benefit grant with frozen terms and Billing resource identifiers.");
|
|
@@ -92,6 +92,8 @@ export declare const Membership: zod.ZodObject<{
|
|
|
92
92
|
discount_id: zod.ZodNullable<zod.ZodUUID>;
|
|
93
93
|
allowance_id: zod.ZodNullable<zod.ZodUUID>;
|
|
94
94
|
feature_grant_id: zod.ZodNullable<zod.ZodUUID>;
|
|
95
|
+
valid_from: zod.z.ZodISODateTime;
|
|
96
|
+
valid_until: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
95
97
|
issued_at: zod.z.ZodISODateTime;
|
|
96
98
|
}, zod.z.core.$strict>>;
|
|
97
99
|
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
@@ -93,6 +93,8 @@ export declare const MembershipList: zod.ZodObject<{
|
|
|
93
93
|
discount_id: zod.ZodNullable<zod.ZodUUID>;
|
|
94
94
|
allowance_id: zod.ZodNullable<zod.ZodUUID>;
|
|
95
95
|
feature_grant_id: zod.ZodNullable<zod.ZodUUID>;
|
|
96
|
+
valid_from: zod.z.ZodISODateTime;
|
|
97
|
+
valid_until: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
96
98
|
issued_at: zod.z.ZodISODateTime;
|
|
97
99
|
}, zod.z.core.$strict>>;
|
|
98
100
|
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
@@ -93,6 +93,8 @@ export declare const MembershipPurchase: zod.ZodObject<{
|
|
|
93
93
|
discount_id: zod.ZodNullable<zod.ZodUUID>;
|
|
94
94
|
allowance_id: zod.ZodNullable<zod.ZodUUID>;
|
|
95
95
|
feature_grant_id: zod.ZodNullable<zod.ZodUUID>;
|
|
96
|
+
valid_from: zod.z.ZodISODateTime;
|
|
97
|
+
valid_until: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
96
98
|
issued_at: zod.z.ZodISODateTime;
|
|
97
99
|
}, zod.z.core.$strict>>;
|
|
98
100
|
}, zod.z.core.$strict>, zod.ZodNull]>;
|
|
@@ -76,6 +76,8 @@ export declare const Period: zod.ZodObject<{
|
|
|
76
76
|
discount_id: zod.ZodNullable<zod.ZodUUID>;
|
|
77
77
|
allowance_id: zod.ZodNullable<zod.ZodUUID>;
|
|
78
78
|
feature_grant_id: zod.ZodNullable<zod.ZodUUID>;
|
|
79
|
+
valid_from: zod.z.ZodISODateTime;
|
|
80
|
+
valid_until: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
79
81
|
issued_at: zod.z.ZodISODateTime;
|
|
80
82
|
}, zod.z.core.$strict>>;
|
|
81
83
|
}, zod.z.core.$strict>;
|
|
@@ -77,6 +77,8 @@ export declare const PeriodList: zod.ZodObject<{
|
|
|
77
77
|
discount_id: zod.ZodNullable<zod.ZodUUID>;
|
|
78
78
|
allowance_id: zod.ZodNullable<zod.ZodUUID>;
|
|
79
79
|
feature_grant_id: zod.ZodNullable<zod.ZodUUID>;
|
|
80
|
+
valid_from: zod.z.ZodISODateTime;
|
|
81
|
+
valid_until: zod.ZodNullable<zod.z.ZodISODateTime>;
|
|
80
82
|
issued_at: zod.z.ZodISODateTime;
|
|
81
83
|
}, zod.z.core.$strict>>;
|
|
82
84
|
}, zod.z.core.$strict>>;
|