@leaflow/sdk 0.137.0 → 0.138.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.
@@ -82,14 +82,6 @@ export interface QuoteItem {
82
82
  */
83
83
  export interface Quote {
84
84
  funds: Funds;
85
- /**
86
- * Whether the account's current balance and eligible credits cover immediate charges
87
- * and the currency's minimum top-up for every new postpaid item. False preserves this
88
- * complete price preview. Nothing is reserved; checkout rechecks funds. Prepaid
89
- * purchases may also use an online payment method.
90
- * @deprecated
91
- */
92
- funds_sufficient: boolean;
93
85
  /** One line for each item the purchase would order, in the order it would order them. */
94
86
  items: QuoteItem[];
95
87
  /**
@@ -15,7 +15,6 @@ export declare const Quote: zod.ZodObject<{
15
15
  balance_shortfall_amount: zod.ZodString;
16
16
  required_top_up_amount: zod.ZodString;
17
17
  }, zod.z.core.$strict>;
18
- funds_sufficient: zod.ZodBoolean;
19
18
  items: zod.ZodArray<zod.ZodObject<{
20
19
  plan_name: zod.ZodString;
21
20
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -12,9 +12,6 @@ import { QuoteItem } from "./quoteItem.zod.js";
12
12
  export const Quote = zod
13
13
  .strictObject({
14
14
  funds: Funds,
15
- funds_sufficient: zod
16
- .boolean()
17
- .describe("Whether the account's current balance and eligible credits cover immediate charges\nand the currency's minimum top-up for every new postpaid item. False preserves this\ncomplete price preview. Nothing is reserved; checkout rechecks funds. Prepaid\npurchases may also use an online payment method."),
18
15
  items: zod
19
16
  .array(QuoteItem)
20
17
  .describe("One line for each item the purchase would order, in the order it would order them."),
@@ -556,14 +556,6 @@ export interface QuoteItemDc1fddb {
556
556
  */
557
557
  export interface Quote {
558
558
  funds: Funds;
559
- /**
560
- * Whether the account's current balance and eligible credits cover immediate charges
561
- * and the currency's minimum top-up for every new postpaid item. False preserves this
562
- * complete price preview. Nothing is reserved; checkout rechecks funds. Prepaid
563
- * purchases may also use an online payment method.
564
- * @deprecated
565
- */
566
- funds_sufficient: boolean;
567
559
  /** One line for each item the purchase would order, in the order it would order them. */
568
560
  items: QuoteItemDc1fddb[];
569
561
  /**
@@ -38,7 +38,6 @@ export declare const Quote: zod.ZodObject<{
38
38
  balance_shortfall_amount: zod.ZodString;
39
39
  required_top_up_amount: zod.ZodString;
40
40
  }, zod.z.core.$strict>;
41
- funds_sufficient: zod.ZodBoolean;
42
41
  items: zod.ZodArray<zod.ZodObject<{
43
42
  plan_name: zod.ZodString;
44
43
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -35,9 +35,6 @@ import { QuoteItemDc1fddb } from "./quoteItemDc1fddb.zod.js";
35
35
  export const Quote = zod
36
36
  .strictObject({
37
37
  funds: Funds,
38
- funds_sufficient: zod
39
- .boolean()
40
- .describe("Whether the account's current balance and eligible credits cover immediate charges\nand the currency's minimum top-up for every new postpaid item. False preserves this\ncomplete price preview. Nothing is reserved; checkout rechecks funds. Prepaid\npurchases may also use an online payment method."),
41
38
  items: zod
42
39
  .array(QuoteItemDc1fddb)
43
40
  .describe("One line for each item the purchase would order, in the order it would order them."),
@@ -2367,14 +2367,6 @@ export interface QuoteItem {
2367
2367
  */
2368
2368
  export interface Quote {
2369
2369
  funds: Funds;
2370
- /**
2371
- * Whether the account's current balance and eligible credits cover immediate charges
2372
- * and the currency's minimum top-up for every new postpaid item. False preserves this
2373
- * complete price preview. Nothing is reserved; checkout rechecks funds. Prepaid
2374
- * purchases may also use an online payment method.
2375
- * @deprecated
2376
- */
2377
- funds_sufficient: boolean;
2378
2370
  /** One line for each item the purchase would order, in the order it would order them. */
2379
2371
  items: QuoteItem[];
2380
2372
  /**
@@ -31,7 +31,6 @@ export declare const Quote: zod.ZodObject<{
31
31
  balance_shortfall_amount: zod.ZodString;
32
32
  required_top_up_amount: zod.ZodString;
33
33
  }, zod.z.core.$strict>;
34
- funds_sufficient: zod.ZodBoolean;
35
34
  items: zod.ZodArray<zod.ZodObject<{
36
35
  plan_name: zod.ZodString;
37
36
  unit_amount: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
@@ -28,9 +28,6 @@ import { QuoteItem } from "./quoteItem.zod.js";
28
28
  export const Quote = zod
29
29
  .strictObject({
30
30
  funds: Funds,
31
- funds_sufficient: zod
32
- .boolean()
33
- .describe("Whether the account's current balance and eligible credits cover immediate charges\nand the currency's minimum top-up for every new postpaid item. False preserves this\ncomplete price preview. Nothing is reserved; checkout rechecks funds. Prepaid\npurchases may also use an online payment method."),
34
31
  items: zod
35
32
  .array(QuoteItem)
36
33
  .describe("One line for each item the purchase would order, in the order it would order them."),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.137.0",
3
+ "version": "0.138.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {