@leaflow/sdk 0.0.0-dev.238.g68f98cb → 0.0.0-dev.240.gecb1b07

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.
@@ -2890,9 +2890,33 @@ export interface components {
2890
2890
  */
2891
2891
  plan_name: string;
2892
2892
  quantity: string;
2893
+ /**
2894
+ * @description The unit amount of the price this line is charged under. Absent for a tiered price, which has no
2895
+ * single unit amount, and for a change that takes effect at once, which is charged the prorated
2896
+ * difference.
2897
+ */
2893
2898
  unit_amount?: components["schemas"]["Money"];
2899
+ /**
2900
+ * @description Before discounts: the price applied to the quantity, which for a per-unit price is `unit_amount`
2901
+ * times `quantity`; a minimum charge can make it higher. For a change that takes effect at once it is
2902
+ * the prorated difference. The setup fee is not part of it; see `setup_amount`.
2903
+ *
2904
+ * Under an inclusive tax rate it includes tax, as the price does, and the included part is
2905
+ * `tax_included_amount`. A renewal at the agreed terms is the exception: the agreed amount excludes
2906
+ * tax, and tax is added to it.
2907
+ */
2894
2908
  gross_amount?: components["schemas"]["Money"];
2909
+ /**
2910
+ * @description The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,
2911
+ * from the discount the subscription carries.
2912
+ *
2913
+ * A carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then
2914
+ * `unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and
2915
+ * the carried discount is already reflected in it: the renewal order also uses a coupon the account
2916
+ * holds, or the account's tax rate is inclusive.
2917
+ */
2895
2918
  discount_amount?: components["schemas"]["Money"];
2919
+ /** @description `gross_amount` less `discount_amount`. */
2896
2920
  amount?: components["schemas"]["Money"];
2897
2921
  currency: string;
2898
2922
  /** Format: date-time */
@@ -1198,9 +1198,33 @@ export interface components {
1198
1198
  */
1199
1199
  plan_name: string;
1200
1200
  quantity: string;
1201
+ /**
1202
+ * @description The unit amount of the price this line is charged under. Absent for a tiered price, which has no
1203
+ * single unit amount, and for a change that takes effect at once, which is charged the prorated
1204
+ * difference.
1205
+ */
1201
1206
  unit_amount?: components["schemas"]["Money"];
1207
+ /**
1208
+ * @description Before discounts: the price applied to the quantity, which for a per-unit price is `unit_amount`
1209
+ * times `quantity`; a minimum charge can make it higher. For a change that takes effect at once it is
1210
+ * the prorated difference. The setup fee is not part of it; see `setup_amount`.
1211
+ *
1212
+ * Under an inclusive tax rate it includes tax, as the price does, and the included part is
1213
+ * `tax_included_amount`. A renewal at the agreed terms is the exception: the agreed amount excludes
1214
+ * tax, and tax is added to it.
1215
+ */
1202
1216
  gross_amount?: components["schemas"]["Money"];
1217
+ /**
1218
+ * @description The reduction on this line: from the coupon the order uses and, for a renewal at the agreed terms,
1219
+ * from the discount the subscription carries.
1220
+ *
1221
+ * A carried discount is part of the agreed amount. It is listed here, and `gross_amount` is then
1222
+ * `unit_amount` times `quantity`, except in two cases where `gross_amount` is the agreed amount and
1223
+ * the carried discount is already reflected in it: the renewal order also uses a coupon the account
1224
+ * holds, or the account's tax rate is inclusive.
1225
+ */
1203
1226
  discount_amount?: components["schemas"]["Money"];
1227
+ /** @description `gross_amount` less `discount_amount`. */
1204
1228
  amount?: components["schemas"]["Money"];
1205
1229
  currency: string;
1206
1230
  /** Format: date-time */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.238.g68f98cb",
3
+ "version": "0.0.0-dev.240.gecb1b07",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {