@leaflow/sdk 0.58.0 → 0.59.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.
@@ -1527,6 +1527,10 @@ export interface components {
1527
1527
  lines: components["schemas"]["QuoteLine"][];
1528
1528
  };
1529
1529
  QuoteLineResult: {
1530
+ /** @description Tax included in the account quote. Absent in public catalogue estimates. */
1531
+ tax_amount?: components["schemas"]["Money"];
1532
+ /** @description Tax already included in the displayed price. */
1533
+ tax_included_amount?: components["schemas"]["Money"];
1530
1534
  /** @description Which line of the request this answers. */
1531
1535
  index: number;
1532
1536
  /**
@@ -1564,6 +1568,10 @@ export interface components {
1564
1568
  currency: string;
1565
1569
  };
1566
1570
  QuoteChangeResult: {
1571
+ /** @description Tax included in the account quote. Absent in public catalogue estimates. */
1572
+ tax_amount?: components["schemas"]["Money"];
1573
+ /** @description Tax already included in the displayed price. */
1574
+ tax_included_amount?: components["schemas"]["Money"];
1567
1575
  index: number;
1568
1576
  /** Format: uuid */
1569
1577
  subscription_item_id: string;
@@ -1985,6 +1993,11 @@ export interface components {
1985
1993
  /** @enum {string} */
1986
1994
  InvoiceStatus: "draft" | "open" | "paid" | "void" | "uncollectible";
1987
1995
  Invoice: {
1996
+ /**
1997
+ * Format: uuid
1998
+ * @description The purchase that produced this invoice. Absent on usage invoices.
1999
+ */
2000
+ order_id?: string;
1988
2001
  /** Format: uuid */
1989
2002
  id: string;
1990
2003
  /** Format: int64 */
@@ -2035,6 +2048,17 @@ export interface components {
2035
2048
  total_count?: number;
2036
2049
  };
2037
2050
  InvoiceItem: {
2051
+ /** @description Discount applied to this line before tax. */
2052
+ discount_amount?: string;
2053
+ /** @description Tax on the discounted line, including tax already included in the price. */
2054
+ tax_amount?: string;
2055
+ /** @description The part of tax_amount already included in amount. */
2056
+ tax_included_amount?: string;
2057
+ /**
2058
+ * Format: uuid
2059
+ * @description The original order line. Refunds follow that line's original payment sources.
2060
+ */
2061
+ order_item_id?: string;
2038
2062
  /** Format: uuid */
2039
2063
  id: string;
2040
2064
  /** @enum {string} */
@@ -2444,6 +2468,10 @@ export interface components {
2444
2468
  /** @enum {string} */
2445
2469
  OrderState: "pending" | "paid" | "fulfilled" | "failed" | "canceled";
2446
2470
  Order: {
2471
+ /** @description Total tax after discounts, including any tax already included in the price. */
2472
+ tax_amount?: string;
2473
+ /** @description The part of tax_amount already included in gross_amount; it is not charged again. */
2474
+ tax_included_amount?: string;
2447
2475
  /** Format: uuid */
2448
2476
  id: string;
2449
2477
  /**
@@ -2652,6 +2680,10 @@ export interface components {
2652
2680
  flat_amount?: components["schemas"]["Money"];
2653
2681
  };
2654
2682
  OrderItem: {
2683
+ /** @description Total tax after discounts, including any tax already included in the price. */
2684
+ tax_amount?: string;
2685
+ /** @description The part of tax_amount already included in gross_amount; it is not charged again. */
2686
+ tax_included_amount?: string;
2655
2687
  /** Format: uuid */
2656
2688
  id: string;
2657
2689
  /** Format: uuid */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.58.0",
3
+ "version": "0.59.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {