@leaflow/sdk 0.127.1 → 0.128.0
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/billing/type/order/v1/generated/models.d.ts +8 -2
- package/dist/billing/type/order/v1/generated/validators/orderItem.zod.js +8 -2
- package/dist/billing/v1/generated/models.d.ts +8 -2
- package/dist/billing/v1/generated/validators/orderItem.zod.js +8 -2
- package/dist/canopy/v1/generated/models.d.ts +8 -2
- package/dist/canopy/v1/generated/validators/orderItem.zod.js +8 -2
- package/dist/compute/v1/generated/models.d.ts +8 -2
- package/dist/compute/v1/generated/validators/orderItem.zod.js +8 -2
- package/dist/membership/v1/generated/models.d.ts +8 -2
- package/dist/membership/v1/generated/validators/orderItem.zod.js +8 -2
- package/package.json +1 -1
|
@@ -2220,9 +2220,15 @@ export interface OrderItem {
|
|
|
2220
2220
|
/** `gross_amount` less `discount_amount`. */
|
|
2221
2221
|
amount?: Money;
|
|
2222
2222
|
currency: string;
|
|
2223
|
-
/**
|
|
2223
|
+
/**
|
|
2224
|
+
* The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines.
|
|
2225
|
+
* @nullable
|
|
2226
|
+
*/
|
|
2224
2227
|
period_start?: string | null;
|
|
2225
|
-
/**
|
|
2228
|
+
/**
|
|
2229
|
+
* The end of that service period, exclusive.
|
|
2230
|
+
* @nullable
|
|
2231
|
+
*/
|
|
2226
2232
|
period_end?: string | null;
|
|
2227
2233
|
status: OrderItemStatus;
|
|
2228
2234
|
}
|
|
@@ -65,8 +65,14 @@ export const OrderItem = zod
|
|
|
65
65
|
discount_amount: Money.optional().describe("The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,\nfrom the discount the subscription carries.\n\nA carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then\n`unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and\nthe carried discount is already reflected in it: the renewal order also uses a coupon the account\nholds, or the account's tax rate is inclusive."),
|
|
66
66
|
amount: Money.optional().describe("`gross_amount` less `discount_amount`."),
|
|
67
67
|
currency: zod.string(),
|
|
68
|
-
period_start: zod.iso
|
|
69
|
-
|
|
68
|
+
period_start: zod.iso
|
|
69
|
+
.datetime({ offset: true })
|
|
70
|
+
.nullish()
|
|
71
|
+
.describe("The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines."),
|
|
72
|
+
period_end: zod.iso
|
|
73
|
+
.datetime({ offset: true })
|
|
74
|
+
.nullish()
|
|
75
|
+
.describe("The end of that service period, exclusive."),
|
|
70
76
|
status: OrderItemStatus,
|
|
71
77
|
})
|
|
72
78
|
.describe("Frozen purchase terms. Monetary fields come from related invoice-line snapshots and are zero\nfor a line with no immediate charge, such as postpaid admission. Later catalog changes do not reprice this line. A new service\npurchase creates its pending subscription when this item is recorded, not when payment succeeds.");
|
|
@@ -2091,9 +2091,15 @@ export interface OrderItem {
|
|
|
2091
2091
|
/** `gross_amount` less `discount_amount`. */
|
|
2092
2092
|
amount?: Money;
|
|
2093
2093
|
currency: string;
|
|
2094
|
-
/**
|
|
2094
|
+
/**
|
|
2095
|
+
* The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines.
|
|
2096
|
+
* @nullable
|
|
2097
|
+
*/
|
|
2095
2098
|
period_start?: string | null;
|
|
2096
|
-
/**
|
|
2099
|
+
/**
|
|
2100
|
+
* The end of that service period, exclusive.
|
|
2101
|
+
* @nullable
|
|
2102
|
+
*/
|
|
2097
2103
|
period_end?: string | null;
|
|
2098
2104
|
status: OrderItemStatus;
|
|
2099
2105
|
}
|
|
@@ -65,8 +65,14 @@ export const OrderItem = zod
|
|
|
65
65
|
discount_amount: Money.optional().describe("The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,\nfrom the discount the subscription carries.\n\nA carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then\n`unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and\nthe carried discount is already reflected in it: the renewal order also uses a coupon the account\nholds, or the account's tax rate is inclusive."),
|
|
66
66
|
amount: Money.optional().describe("`gross_amount` less `discount_amount`."),
|
|
67
67
|
currency: zod.string(),
|
|
68
|
-
period_start: zod.iso
|
|
69
|
-
|
|
68
|
+
period_start: zod.iso
|
|
69
|
+
.datetime({ offset: true })
|
|
70
|
+
.nullish()
|
|
71
|
+
.describe("The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines."),
|
|
72
|
+
period_end: zod.iso
|
|
73
|
+
.datetime({ offset: true })
|
|
74
|
+
.nullish()
|
|
75
|
+
.describe("The end of that service period, exclusive."),
|
|
70
76
|
status: OrderItemStatus,
|
|
71
77
|
})
|
|
72
78
|
.describe("Frozen purchase terms. Monetary fields come from related invoice-line snapshots and are zero\nfor a line with no immediate charge, such as postpaid admission. Later catalog changes do not reprice this line. A new service\npurchase creates its pending subscription when this item is recorded, not when payment succeeds.");
|
|
@@ -2688,9 +2688,15 @@ export interface OrderItem {
|
|
|
2688
2688
|
/** `gross_amount` less `discount_amount`. */
|
|
2689
2689
|
amount?: Money;
|
|
2690
2690
|
currency: string;
|
|
2691
|
-
/**
|
|
2691
|
+
/**
|
|
2692
|
+
* The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines.
|
|
2693
|
+
* @nullable
|
|
2694
|
+
*/
|
|
2692
2695
|
period_start?: string | null;
|
|
2693
|
-
/**
|
|
2696
|
+
/**
|
|
2697
|
+
* The end of that service period, exclusive.
|
|
2698
|
+
* @nullable
|
|
2699
|
+
*/
|
|
2694
2700
|
period_end?: string | null;
|
|
2695
2701
|
status: OrderItemStatus;
|
|
2696
2702
|
}
|
|
@@ -88,8 +88,14 @@ export const OrderItem = zod
|
|
|
88
88
|
discount_amount: Money.optional().describe("The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,\nfrom the discount the subscription carries.\n\nA carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then\n`unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and\nthe carried discount is already reflected in it: the renewal order also uses a coupon the account\nholds, or the account's tax rate is inclusive."),
|
|
89
89
|
amount: Money.optional().describe("`gross_amount` less `discount_amount`."),
|
|
90
90
|
currency: zod.string(),
|
|
91
|
-
period_start: zod.iso
|
|
92
|
-
|
|
91
|
+
period_start: zod.iso
|
|
92
|
+
.datetime({ offset: true })
|
|
93
|
+
.nullish()
|
|
94
|
+
.describe("The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines."),
|
|
95
|
+
period_end: zod.iso
|
|
96
|
+
.datetime({ offset: true })
|
|
97
|
+
.nullish()
|
|
98
|
+
.describe("The end of that service period, exclusive."),
|
|
93
99
|
status: OrderItemStatus,
|
|
94
100
|
})
|
|
95
101
|
.describe("Frozen purchase terms. Monetary fields come from related invoice-line snapshots and are zero\nfor a line with no immediate charge, such as postpaid admission. Later catalog changes do not reprice this line. A new service\npurchase creates its pending subscription when this item is recorded, not when payment succeeds.");
|
|
@@ -4634,9 +4634,15 @@ export interface OrderItem {
|
|
|
4634
4634
|
/** `gross_amount` less `discount_amount`. */
|
|
4635
4635
|
amount?: Money;
|
|
4636
4636
|
currency: string;
|
|
4637
|
-
/**
|
|
4637
|
+
/**
|
|
4638
|
+
* The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines.
|
|
4639
|
+
* @nullable
|
|
4640
|
+
*/
|
|
4638
4641
|
period_start?: string | null;
|
|
4639
|
-
/**
|
|
4642
|
+
/**
|
|
4643
|
+
* The end of that service period, exclusive.
|
|
4644
|
+
* @nullable
|
|
4645
|
+
*/
|
|
4640
4646
|
period_end?: string | null;
|
|
4641
4647
|
status: OrderItemStatus;
|
|
4642
4648
|
}
|
|
@@ -81,8 +81,14 @@ export const OrderItem = zod
|
|
|
81
81
|
discount_amount: Money.optional().describe("The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,\nfrom the discount the subscription carries.\n\nA carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then\n`unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and\nthe carried discount is already reflected in it: the renewal order also uses a coupon the account\nholds, or the account's tax rate is inclusive."),
|
|
82
82
|
amount: Money.optional().describe("`gross_amount` less `discount_amount`."),
|
|
83
83
|
currency: zod.string(),
|
|
84
|
-
period_start: zod.iso
|
|
85
|
-
|
|
84
|
+
period_start: zod.iso
|
|
85
|
+
.datetime({ offset: true })
|
|
86
|
+
.nullish()
|
|
87
|
+
.describe("The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines."),
|
|
88
|
+
period_end: zod.iso
|
|
89
|
+
.datetime({ offset: true })
|
|
90
|
+
.nullish()
|
|
91
|
+
.describe("The end of that service period, exclusive."),
|
|
86
92
|
status: OrderItemStatus,
|
|
87
93
|
})
|
|
88
94
|
.describe("Frozen purchase terms. Monetary fields come from related invoice-line snapshots and are zero\nfor a line with no immediate charge, such as postpaid admission. Later catalog changes do not reprice this line. A new service\npurchase creates its pending subscription when this item is recorded, not when payment succeeds.");
|
|
@@ -2509,9 +2509,15 @@ export interface OrderItem {
|
|
|
2509
2509
|
/** `gross_amount` less `discount_amount`. */
|
|
2510
2510
|
amount?: Money;
|
|
2511
2511
|
currency: string;
|
|
2512
|
-
/**
|
|
2512
|
+
/**
|
|
2513
|
+
* The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines.
|
|
2514
|
+
* @nullable
|
|
2515
|
+
*/
|
|
2513
2516
|
period_start?: string | null;
|
|
2514
|
-
/**
|
|
2517
|
+
/**
|
|
2518
|
+
* The end of that service period, exclusive.
|
|
2519
|
+
* @nullable
|
|
2520
|
+
*/
|
|
2515
2521
|
period_end?: string | null;
|
|
2516
2522
|
status: OrderItemStatus;
|
|
2517
2523
|
}
|
|
@@ -65,8 +65,14 @@ export const OrderItem = zod
|
|
|
65
65
|
discount_amount: Money.optional().describe("The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,\nfrom the discount the subscription carries.\n\nA carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then\n`unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and\nthe carried discount is already reflected in it: the renewal order also uses a coupon the account\nholds, or the account's tax rate is inclusive."),
|
|
66
66
|
amount: Money.optional().describe("`gross_amount` less `discount_amount`."),
|
|
67
67
|
currency: zod.string(),
|
|
68
|
-
period_start: zod.iso
|
|
69
|
-
|
|
68
|
+
period_start: zod.iso
|
|
69
|
+
.datetime({ offset: true })
|
|
70
|
+
.nullish()
|
|
71
|
+
.describe("The start of the service period this line paid for. Frozen at placement for renewals and period-end changes; for a prepaid line of a new purchase, fixed from the second its invoice is paid and kept when delivery is confirmed. Absent for postpaid and one-time lines."),
|
|
72
|
+
period_end: zod.iso
|
|
73
|
+
.datetime({ offset: true })
|
|
74
|
+
.nullish()
|
|
75
|
+
.describe("The end of that service period, exclusive."),
|
|
70
76
|
status: OrderItemStatus,
|
|
71
77
|
})
|
|
72
78
|
.describe("Frozen purchase terms. Monetary fields come from related invoice-line snapshots and are zero\nfor a line with no immediate charge, such as postpaid admission. Later catalog changes do not reprice this line. A new service\npurchase creates its pending subscription when this item is recorded, not when payment succeeds.");
|