@leaflow/sdk 0.0.0-dev.546.gd7d0a9b → 0.0.0-dev.548.ga512fa1

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.
Files changed (28) hide show
  1. package/dist/billing/v1/generated/models.d.ts +13 -0
  2. package/dist/billing/v1/generated/validators/checkoutSession.zod.d.ts +2 -0
  3. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.d.ts +1 -0
  4. package/dist/billing/v1/generated/validators/checkoutSessionItem.zod.js +4 -0
  5. package/dist/billing/v1/generated/validators/checkoutSessionList.zod.d.ts +2 -0
  6. package/dist/billing/v1/generated/validators/checkoutSessionResult.zod.d.ts +3 -0
  7. package/dist/billing/v1/generated/validators/checkoutSessionSubscription.zod.d.ts +1 -0
  8. package/dist/billing/v1/generated/validators/invoiceItem.zod.js +4 -1
  9. package/dist/billing/v1/generated/validators/order.zod.d.ts +1 -0
  10. package/dist/billing/v1/generated/validators/orderItem.zod.d.ts +1 -0
  11. package/dist/billing/v1/generated/validators/orderItem.zod.js +4 -0
  12. package/dist/billing/v1/generated/validators/orderItemList.zod.d.ts +1 -0
  13. package/dist/billing/v1/generated/validators/orderList.zod.d.ts +1 -0
  14. package/dist/billing/v1/generated/validators/plan.zod.d.ts +1 -0
  15. package/dist/billing/v1/generated/validators/plan.zod.js +4 -0
  16. package/dist/billing/v1/generated/validators/planList.zod.d.ts +1 -0
  17. package/dist/billing/v1/generated/validators/scheduledChange.zod.d.ts +1 -0
  18. package/dist/billing/v1/generated/validators/scheduledChange.zod.js +4 -0
  19. package/dist/billing/v1/generated/validators/subscription.zod.d.ts +2 -0
  20. package/dist/billing/v1/generated/validators/subscriptionItem.zod.d.ts +2 -0
  21. package/dist/billing/v1/generated/validators/subscriptionItem.zod.js +4 -0
  22. package/dist/billing/v1/generated/validators/subscriptionList.zod.d.ts +2 -0
  23. package/dist/billing/v1/generated/validators/trialGrant.zod.d.ts +1 -0
  24. package/dist/billing/v1/generated/validators/trialGrantList.zod.d.ts +1 -0
  25. package/dist/billing/v1/generated/validators/trialOffer.zod.d.ts +1 -0
  26. package/dist/billing/v1/generated/validators/trialOfferItem.zod.d.ts +1 -0
  27. package/dist/billing/v1/generated/validators/trialOfferItem.zod.js +4 -0
  28. package/package.json +1 -1
@@ -1147,6 +1147,7 @@ export interface InvoiceItem {
1147
1147
  resource_id?: string;
1148
1148
  /** The line's wording as recorded when the invoice was issued. */
1149
1149
  description: string;
1150
+ /** What `quantity` counts: the plan's unit label for a licensed purchase line, such as GiB, or the meter's unit for a usage line. Empty when there is none. */
1150
1151
  unit?: string;
1151
1152
  quantity?: string;
1152
1153
  /** The part covered by an included allowance, and therefore not charged. */
@@ -1510,6 +1511,8 @@ export interface ScheduledChange {
1510
1511
  plan_name: string;
1511
1512
  price_id: string;
1512
1513
  quantity: string;
1514
+ /** The plan's unit label when the change was placed, which a licensed quantity counts, such as GiB or Mbps. Absent for a metered item and when the plan had none. */
1515
+ unit_label?: string;
1513
1516
  /** The target licensed renewal amount before tax. */
1514
1517
  recurring_amount: string;
1515
1518
  currency: string;
@@ -1537,6 +1540,8 @@ export interface SubscriptionItem {
1537
1540
  /** The dimension values of what was bought, such as region and instance type. Empty when the purchase gave none. */
1538
1541
  dimensions: SubscriptionItemDimensions;
1539
1542
  quantity: string;
1543
+ /** The plan's current unit label, which a licensed item's quantity counts, such as GiB or Mbps. Absent for a metered item and when the plan has none. */
1544
+ unit_label?: string;
1540
1545
  /** This item's renewal amount, after continuing discounts and before tax. A pending item shows base terms until paying the order fixes any new discount. Absent for metered and one-time items. */
1541
1546
  recurring_amount?: string;
1542
1547
  /** Whether new account discounts may apply to this item in future renewals. A fixed operator renewal agreement disables automatic discounts; catalog repricing or a newly selected purchase agreement enables them. */
@@ -1903,6 +1908,8 @@ export interface TrialOfferItem {
1903
1908
  plan: ObjectIdentity;
1904
1909
  /** The most the subscription's licensed items of this plan may hold together, in the plan's quantity unit, such as gibibytes of storage or megabits per second of bandwidth. Metered items of the plan are charged as usual and do not count towards it. */
1905
1910
  max_quantity: string;
1911
+ /** The plan's unit label, which `max_quantity` counts, such as GiB or Mbps. Absent when the plan has none. */
1912
+ unit_label?: string;
1906
1913
  }
1907
1914
  /**
1908
1915
  * The terms of a free trial. The licensed items of the subscription it is used for are free for `trial_period_days`, while metered usage is charged as usual. The subscription holds only the listed plans and no more of each than its `max_quantity`, both when it is bought and while the trial lasts. When the trial ends it converts to paid if automatic renewal is on; otherwise `trial_settings` applies.
@@ -2061,6 +2068,8 @@ export interface CheckoutSessionItem {
2061
2068
  */
2062
2069
  interval_count: number | null;
2063
2070
  quantity: string;
2071
+ /** The plan's unit label, which a licensed line's quantity counts, such as GiB or Mbps. A completed session shows the label its order was placed with. Absent for a metered line and when the plan has none. */
2072
+ unit_label?: string;
2064
2073
  /** The dimension values of what is bought, such as region and instance type. */
2065
2074
  dimensions: CheckoutSessionItemDimensions;
2066
2075
  /**
@@ -2661,6 +2670,8 @@ export interface OrderItem {
2661
2670
  /** The name when bought. */
2662
2671
  plan_name: string;
2663
2672
  quantity: string;
2673
+ /** The plan's unit label when the line was placed, which a licensed line's quantity counts, such as GiB or Mbps. Absent for a metered line and when the plan had none. */
2674
+ unit_label?: string;
2664
2675
  /** The unit amount of the price the line is charged under. Absent for a tiered price, and for an immediate change, which is charged as `gross_amount` describes. */
2665
2676
  unit_amount?: Money;
2666
2677
  /**
@@ -2941,6 +2952,8 @@ export interface Plan {
2941
2952
  product_id: ProductId;
2942
2953
  name: string;
2943
2954
  description?: string;
2955
+ /** What a licensed quantity of the plan counts, as shown next to it, such as GiB or Mbps. Absent when the plan has none. Metered usage is measured in its meter's unit instead. */
2956
+ unit_label?: string;
2944
2957
  }
2945
2958
  export interface PlanList {
2946
2959
  items: Plan[];
@@ -107,6 +107,7 @@ export declare const CheckoutSession: zod.ZodObject<{
107
107
  name: zod.ZodString;
108
108
  }, zod.z.core.$strict>;
109
109
  max_quantity: zod.ZodString;
110
+ unit_label: zod.ZodOptional<zod.ZodString>;
110
111
  }, zod.z.core.$strict>>;
111
112
  }, zod.z.core.$strict>;
112
113
  status: zod.ZodEnum<{
@@ -195,6 +196,7 @@ export declare const CheckoutSession: zod.ZodObject<{
195
196
  }>;
196
197
  interval_count: zod.ZodNullable<zod.ZodInt>;
197
198
  quantity: zod.ZodString;
199
+ unit_label: zod.ZodOptional<zod.ZodString>;
198
200
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
199
201
  periods: zod.ZodNullable<zod.ZodInt>;
200
202
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -30,6 +30,7 @@ export declare const CheckoutSessionItem: zod.ZodObject<{
30
30
  }>;
31
31
  interval_count: zod.ZodNullable<zod.ZodInt>;
32
32
  quantity: zod.ZodString;
33
+ unit_label: zod.ZodOptional<zod.ZodString>;
33
34
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
34
35
  periods: zod.ZodNullable<zod.ZodInt>;
35
36
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -43,6 +43,10 @@ export const CheckoutSessionItem = zod
43
43
  .nullable()
44
44
  .describe("Periods per billing cycle of a recurring licensed price; null otherwise."),
45
45
  quantity: zod.string(),
46
+ unit_label: zod
47
+ .string()
48
+ .optional()
49
+ .describe("The plan's unit label, which a licensed line's quantity counts, such as GiB or Mbps. A completed session shows the label its order was placed with. Absent for a metered line and when the plan has none."),
46
50
  dimensions: zod
47
51
  .record(zod.string(), zod.string())
48
52
  .describe("The dimension values of what is bought, such as region and instance type."),
@@ -108,6 +108,7 @@ export declare const CheckoutSessionList: zod.ZodObject<{
108
108
  name: zod.ZodString;
109
109
  }, zod.z.core.$strict>;
110
110
  max_quantity: zod.ZodString;
111
+ unit_label: zod.ZodOptional<zod.ZodString>;
111
112
  }, zod.z.core.$strict>>;
112
113
  }, zod.z.core.$strict>;
113
114
  status: zod.ZodEnum<{
@@ -196,6 +197,7 @@ export declare const CheckoutSessionList: zod.ZodObject<{
196
197
  }>;
197
198
  interval_count: zod.ZodNullable<zod.ZodInt>;
198
199
  quantity: zod.ZodString;
200
+ unit_label: zod.ZodOptional<zod.ZodString>;
199
201
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
200
202
  periods: zod.ZodNullable<zod.ZodInt>;
201
203
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -108,6 +108,7 @@ export declare const CheckoutSessionResult: zod.ZodObject<{
108
108
  name: zod.ZodString;
109
109
  }, zod.z.core.$strict>;
110
110
  max_quantity: zod.ZodString;
111
+ unit_label: zod.ZodOptional<zod.ZodString>;
111
112
  }, zod.z.core.$strict>>;
112
113
  }, zod.z.core.$strict>;
113
114
  status: zod.ZodEnum<{
@@ -196,6 +197,7 @@ export declare const CheckoutSessionResult: zod.ZodObject<{
196
197
  }>;
197
198
  interval_count: zod.ZodNullable<zod.ZodInt>;
198
199
  quantity: zod.ZodString;
200
+ unit_label: zod.ZodOptional<zod.ZodString>;
199
201
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
200
202
  periods: zod.ZodNullable<zod.ZodInt>;
201
203
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -343,6 +345,7 @@ export declare const CheckoutSessionResult: zod.ZodObject<{
343
345
  plan_id: zod.ZodUUID;
344
346
  plan_name: zod.ZodString;
345
347
  quantity: zod.ZodString;
348
+ unit_label: zod.ZodOptional<zod.ZodString>;
346
349
  unit_amount: zod.ZodOptional<zod.ZodString>;
347
350
  gross_amount: zod.ZodOptional<zod.ZodString>;
348
351
  discount_amount: zod.ZodOptional<zod.ZodString>;
@@ -73,6 +73,7 @@ export declare const CheckoutSessionSubscription: zod.ZodObject<{
73
73
  }>;
74
74
  interval_count: zod.ZodNullable<zod.ZodInt>;
75
75
  quantity: zod.ZodString;
76
+ unit_label: zod.ZodOptional<zod.ZodString>;
76
77
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
77
78
  periods: zod.ZodNullable<zod.ZodInt>;
78
79
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -33,7 +33,10 @@ export const InvoiceItem = zod.strictObject({
33
33
  .describe("The project the charge was for and its current name. Absent when the line has no project or the project cannot be read; `project_id` still identifies it."),
34
34
  resource_id: zod.string().optional(),
35
35
  description: zod.string().describe("The line's wording as recorded when the invoice was issued."),
36
- unit: zod.string().optional(),
36
+ unit: zod
37
+ .string()
38
+ .optional()
39
+ .describe("What `quantity` counts: the plan's unit label for a licensed purchase line, such as GiB, or the meter's unit for a usage line. Empty when there is none."),
37
40
  quantity: zod.string().optional(),
38
41
  deducted_quantity: zod
39
42
  .string()
@@ -129,6 +129,7 @@ export declare const Order: zod.ZodObject<{
129
129
  plan_id: zod.ZodUUID;
130
130
  plan_name: zod.ZodString;
131
131
  quantity: zod.ZodString;
132
+ unit_label: zod.ZodOptional<zod.ZodString>;
132
133
  unit_amount: zod.ZodOptional<zod.ZodString>;
133
134
  gross_amount: zod.ZodOptional<zod.ZodString>;
134
135
  discount_amount: zod.ZodOptional<zod.ZodString>;
@@ -58,6 +58,7 @@ export declare const OrderItem: zod.ZodObject<{
58
58
  plan_id: zod.ZodUUID;
59
59
  plan_name: zod.ZodString;
60
60
  quantity: zod.ZodString;
61
+ unit_label: zod.ZodOptional<zod.ZodString>;
61
62
  unit_amount: zod.ZodOptional<zod.ZodString>;
62
63
  gross_amount: zod.ZodOptional<zod.ZodString>;
63
64
  discount_amount: zod.ZodOptional<zod.ZodString>;
@@ -74,6 +74,10 @@ export const OrderItem = zod
74
74
  plan_id: zod.uuid().describe("Which plan was bought."),
75
75
  plan_name: zod.string().describe("The name when bought."),
76
76
  quantity: zod.string(),
77
+ unit_label: zod
78
+ .string()
79
+ .optional()
80
+ .describe("The plan's unit label when the line was placed, which a licensed line's quantity counts, such as GiB or Mbps. Absent for a metered line and when the plan had none."),
77
81
  unit_amount: Money.optional().describe("The unit amount of the price the line is charged under. Absent for a tiered price, and for an immediate change, which is charged as `gross_amount` describes."),
78
82
  gross_amount: Money.optional().describe("Before discounts and setup fees: the price applied to the quantity, `unit_amount` times `quantity` for a per-\nunit price, raised by any minimum charge. For an immediate upgrade it is the new price for the rest of the\npaid period minus the amount paid for that time; a downgrade, or a change between equal period prices, charges\nnothing.\n\nUnder an inclusive tax rate it includes tax, shown in `tax_included_amount`, except for a renewal at agreed\nterms, whose amount excludes tax."),
79
83
  discount_amount: Money.optional().describe("The reduction on this line, from the order's coupon and, for a renewal at agreed terms, from the subscription's carried discount. With a carried discount, `gross_amount` is `unit_amount` times `quantity`, except when the renewal order also uses an account coupon or the tax rate is inclusive: then `gross_amount` is the agreed amount, which already reflects the carried discount."),
@@ -58,6 +58,7 @@ export declare const OrderItemList: zod.ZodObject<{
58
58
  plan_id: zod.ZodUUID;
59
59
  plan_name: zod.ZodString;
60
60
  quantity: zod.ZodString;
61
+ unit_label: zod.ZodOptional<zod.ZodString>;
61
62
  unit_amount: zod.ZodOptional<zod.ZodString>;
62
63
  gross_amount: zod.ZodOptional<zod.ZodString>;
63
64
  discount_amount: zod.ZodOptional<zod.ZodString>;
@@ -130,6 +130,7 @@ export declare const OrderList: zod.ZodObject<{
130
130
  plan_id: zod.ZodUUID;
131
131
  plan_name: zod.ZodString;
132
132
  quantity: zod.ZodString;
133
+ unit_label: zod.ZodOptional<zod.ZodString>;
133
134
  unit_amount: zod.ZodOptional<zod.ZodString>;
134
135
  gross_amount: zod.ZodOptional<zod.ZodString>;
135
136
  discount_amount: zod.ZodOptional<zod.ZodString>;
@@ -26,6 +26,7 @@ export declare const Plan: zod.ZodObject<{
26
26
  product_id: zod.ZodString;
27
27
  name: zod.ZodString;
28
28
  description: zod.ZodOptional<zod.ZodString>;
29
+ unit_label: zod.ZodOptional<zod.ZodString>;
29
30
  }, zod.z.core.$strict>;
30
31
  export type Plan = zod.input<typeof Plan>;
31
32
  export type PlanOutput = zod.output<typeof Plan>;
@@ -20,4 +20,8 @@ export const Plan = zod.strictObject({
20
20
  product_id: ProductId,
21
21
  name: zod.string(),
22
22
  description: zod.string().optional(),
23
+ unit_label: zod
24
+ .string()
25
+ .optional()
26
+ .describe("What a licensed quantity of the plan counts, as shown next to it, such as GiB or Mbps. Absent when the plan has none. Metered usage is measured in its meter's unit instead."),
23
27
  });
@@ -27,6 +27,7 @@ export declare const PlanList: zod.ZodObject<{
27
27
  product_id: zod.ZodString;
28
28
  name: zod.ZodString;
29
29
  description: zod.ZodOptional<zod.ZodString>;
30
+ unit_label: zod.ZodOptional<zod.ZodString>;
30
31
  }, zod.z.core.$strict>>;
31
32
  pagination: zod.ZodObject<{
32
33
  page: zod.ZodInt;
@@ -21,6 +21,7 @@ export declare const ScheduledChange: zod.ZodObject<{
21
21
  plan_name: zod.ZodString;
22
22
  price_id: zod.ZodUUID;
23
23
  quantity: zod.ZodString;
24
+ unit_label: zod.ZodOptional<zod.ZodString>;
24
25
  recurring_amount: zod.ZodString;
25
26
  currency: zod.ZodString;
26
27
  interval: zod.ZodEnum<{
@@ -18,6 +18,10 @@ export const ScheduledChange = zod
18
18
  plan_name: zod.string(),
19
19
  price_id: zod.uuid(),
20
20
  quantity: zod.string(),
21
+ unit_label: zod
22
+ .string()
23
+ .optional()
24
+ .describe("The plan's unit label when the change was placed, which a licensed quantity counts, such as GiB or Mbps. Absent for a metered item and when the plan had none."),
21
25
  recurring_amount: zod.string().describe("The target licensed renewal amount before tax."),
22
26
  currency: zod.string(),
23
27
  interval: zod.enum(["day", "month", "year"]),
@@ -83,6 +83,7 @@ export declare const Subscription: zod.ZodObject<{
83
83
  }>;
84
84
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
85
85
  quantity: zod.ZodString;
86
+ unit_label: zod.ZodOptional<zod.ZodString>;
86
87
  recurring_amount: zod.ZodOptional<zod.ZodString>;
87
88
  renewal_discounts_enabled: zod.ZodOptional<zod.ZodBoolean>;
88
89
  cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
@@ -147,6 +148,7 @@ export declare const Subscription: zod.ZodObject<{
147
148
  plan_name: zod.ZodString;
148
149
  price_id: zod.ZodUUID;
149
150
  quantity: zod.ZodString;
151
+ unit_label: zod.ZodOptional<zod.ZodString>;
150
152
  recurring_amount: zod.ZodString;
151
153
  currency: zod.ZodString;
152
154
  interval: zod.ZodEnum<{
@@ -23,6 +23,7 @@ export declare const SubscriptionItem: zod.ZodObject<{
23
23
  }>;
24
24
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
25
25
  quantity: zod.ZodString;
26
+ unit_label: zod.ZodOptional<zod.ZodString>;
26
27
  recurring_amount: zod.ZodOptional<zod.ZodString>;
27
28
  renewal_discounts_enabled: zod.ZodOptional<zod.ZodBoolean>;
28
29
  cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
@@ -87,6 +88,7 @@ export declare const SubscriptionItem: zod.ZodObject<{
87
88
  plan_name: zod.ZodString;
88
89
  price_id: zod.ZodUUID;
89
90
  quantity: zod.ZodString;
91
+ unit_label: zod.ZodOptional<zod.ZodString>;
90
92
  recurring_amount: zod.ZodString;
91
93
  currency: zod.ZodString;
92
94
  interval: zod.ZodEnum<{
@@ -27,6 +27,10 @@ export const SubscriptionItem = zod
27
27
  .record(zod.string(), zod.string())
28
28
  .describe("The dimension values of what was bought, such as region and instance type. Empty when the purchase gave none."),
29
29
  quantity: zod.string(),
30
+ unit_label: zod
31
+ .string()
32
+ .optional()
33
+ .describe("The plan's current unit label, which a licensed item's quantity counts, such as GiB or Mbps. Absent for a metered item and when the plan has none."),
30
34
  recurring_amount: zod
31
35
  .string()
32
36
  .optional()
@@ -84,6 +84,7 @@ export declare const SubscriptionList: zod.ZodObject<{
84
84
  }>;
85
85
  dimensions: zod.ZodRecord<zod.ZodString, zod.ZodString>;
86
86
  quantity: zod.ZodString;
87
+ unit_label: zod.ZodOptional<zod.ZodString>;
87
88
  recurring_amount: zod.ZodOptional<zod.ZodString>;
88
89
  renewal_discounts_enabled: zod.ZodOptional<zod.ZodBoolean>;
89
90
  cancellation_policy: zod.ZodOptional<zod.ZodEnum<{
@@ -148,6 +149,7 @@ export declare const SubscriptionList: zod.ZodObject<{
148
149
  plan_name: zod.ZodString;
149
150
  price_id: zod.ZodUUID;
150
151
  quantity: zod.ZodString;
152
+ unit_label: zod.ZodOptional<zod.ZodString>;
151
153
  recurring_amount: zod.ZodString;
152
154
  currency: zod.ZodString;
153
155
  interval: zod.ZodEnum<{
@@ -31,6 +31,7 @@ export declare const TrialGrant: zod.ZodObject<{
31
31
  name: zod.ZodString;
32
32
  }, zod.z.core.$strict>;
33
33
  max_quantity: zod.ZodString;
34
+ unit_label: zod.ZodOptional<zod.ZodString>;
34
35
  }, zod.z.core.$strict>>;
35
36
  }, zod.z.core.$strict>;
36
37
  status: zod.ZodEnum<{
@@ -32,6 +32,7 @@ export declare const TrialGrantList: zod.ZodObject<{
32
32
  name: zod.ZodString;
33
33
  }, zod.z.core.$strict>;
34
34
  max_quantity: zod.ZodString;
35
+ unit_label: zod.ZodOptional<zod.ZodString>;
35
36
  }, zod.z.core.$strict>>;
36
37
  }, zod.z.core.$strict>;
37
38
  status: zod.ZodEnum<{
@@ -29,6 +29,7 @@ export declare const TrialOffer: zod.ZodObject<{
29
29
  name: zod.ZodString;
30
30
  }, zod.z.core.$strict>;
31
31
  max_quantity: zod.ZodString;
32
+ unit_label: zod.ZodOptional<zod.ZodString>;
32
33
  }, zod.z.core.$strict>>;
33
34
  }, zod.z.core.$strict>;
34
35
  export type TrialOffer = zod.input<typeof TrialOffer>;
@@ -13,6 +13,7 @@ export declare const TrialOfferItem: zod.ZodObject<{
13
13
  name: zod.ZodString;
14
14
  }, zod.z.core.$strict>;
15
15
  max_quantity: zod.ZodString;
16
+ unit_label: zod.ZodOptional<zod.ZodString>;
16
17
  }, zod.z.core.$strict>;
17
18
  export type TrialOfferItem = zod.input<typeof TrialOfferItem>;
18
19
  export type TrialOfferItemOutput = zod.output<typeof TrialOfferItem>;
@@ -13,5 +13,9 @@ export const TrialOfferItem = zod
13
13
  max_quantity: zod
14
14
  .string()
15
15
  .describe("The most the subscription's licensed items of this plan may hold together, in the plan's quantity unit, such as gibibytes of storage or megabits per second of bandwidth. Metered items of the plan are charged as usual and do not count towards it."),
16
+ unit_label: zod
17
+ .string()
18
+ .optional()
19
+ .describe("The plan's unit label, which `max_quantity` counts, such as GiB or Mbps. Absent when the plan has none."),
16
20
  })
17
21
  .describe("A plan a subscription on the trial may hold, and how much of it.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.546.gd7d0a9b",
3
+ "version": "0.0.0-dev.548.ga512fa1",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {