@leaflow/sdk 0.0.0-dev.190.gdc509eb → 0.0.0-dev.191.g39f21ec

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.
@@ -14,17 +14,17 @@ export type GetAccountProjectClosurePreviewResult = operations["get-account-proj
14
14
  /** The query parameters of `GET /account/v1/projects/{projectId}/closure-preview`. */
15
15
  export type GetAccountProjectClosurePreviewQuery = operations["get-account-project-closure-preview"]["parameters"]["query"];
16
16
  /** The success response body of `GET /catalog/v1/products`. */
17
- export type ListCatalogProductsResult = operations["list-catalog-products"]["responses"][200]["content"]["application/json"];
17
+ export type ListProductsResult = operations["list-products"]["responses"][200]["content"]["application/json"];
18
18
  /** The success response body of `GET /catalog/v1/products/{productId}/plans`. */
19
- export type ListCatalogPlansResult = operations["list-catalog-plans"]["responses"][200]["content"]["application/json"];
19
+ export type ListPlansResult = operations["list-plans"]["responses"][200]["content"]["application/json"];
20
20
  /** The success response body of `GET /catalog/v1/plans/{planId}/prices`. */
21
- export type ListCatalogPricesResult = operations["list-catalog-prices"]["responses"][200]["content"]["application/json"];
21
+ export type ListPricesResult = operations["list-prices"]["responses"][200]["content"]["application/json"];
22
22
  /** The query parameters of `GET /catalog/v1/plans/{planId}/prices`. */
23
- export type ListCatalogPricesQuery = operations["list-catalog-prices"]["parameters"]["query"];
23
+ export type ListPricesQuery = operations["list-prices"]["parameters"]["query"];
24
24
  /** The success response body of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
25
- export type ListCatalogRatesResult = operations["list-catalog-rates"]["responses"][200]["content"]["application/json"];
25
+ export type ListRatesResult = operations["list-rates"]["responses"][200]["content"]["application/json"];
26
26
  /** The query parameters of `GET /catalog/v1/rate-cards/{rateCardId}/rules`. */
27
- export type ListCatalogRatesQuery = operations["list-catalog-rates"]["parameters"]["query"];
27
+ export type ListRatesQuery = operations["list-rates"]["parameters"]["query"];
28
28
  /** The success response body of `POST /catalog/v1/estimates`. */
29
29
  export type CreateEstimateResult = operations["create-estimate"]["responses"][200]["content"]["application/json"];
30
30
  /** The request body of `POST /catalog/v1/estimates`. */
@@ -68,7 +68,7 @@ export interface paths {
68
68
  cookie?: never;
69
69
  };
70
70
  /** List catalog products */
71
- get: operations["list-catalog-products"];
71
+ get: operations["list-products"];
72
72
  put?: never;
73
73
  post?: never;
74
74
  delete?: never;
@@ -87,7 +87,7 @@ export interface paths {
87
87
  cookie?: never;
88
88
  };
89
89
  /** List catalog plans */
90
- get: operations["list-catalog-plans"];
90
+ get: operations["list-plans"];
91
91
  put?: never;
92
92
  post?: never;
93
93
  delete?: never;
@@ -110,7 +110,7 @@ export interface paths {
110
110
  * @description Public list prices only. An account holding a negotiated agreement may be charged less;
111
111
  * it is never charged more.
112
112
  */
113
- get: operations["list-catalog-prices"];
113
+ get: operations["list-prices"];
114
114
  put?: never;
115
115
  post?: never;
116
116
  delete?: never;
@@ -133,7 +133,7 @@ export interface paths {
133
133
  * @description Only public price lists are readable here. A list written for a single agreement is not,
134
134
  * and its identifier cannot be used to reach it.
135
135
  */
136
- get: operations["list-catalog-rates"];
136
+ get: operations["list-rates"];
137
137
  put?: never;
138
138
  post?: never;
139
139
  delete?: never;
@@ -1502,7 +1502,7 @@ export interface components {
1502
1502
  /** Format: int64 */
1503
1503
  status: number;
1504
1504
  };
1505
- CatalogProduct: {
1505
+ Product: {
1506
1506
  /** Format: uuid */
1507
1507
  id: string;
1508
1508
  name: string;
@@ -1510,12 +1510,12 @@ export interface components {
1510
1510
  description?: string;
1511
1511
  description_translations?: components["schemas"]["Translations"];
1512
1512
  };
1513
- CatalogProductList: {
1514
- items: components["schemas"]["CatalogProduct"][];
1513
+ ProductList: {
1514
+ items: components["schemas"]["Product"][];
1515
1515
  /** Format: int64 */
1516
1516
  total_count?: number;
1517
1517
  };
1518
- CatalogPlan: {
1518
+ Plan: {
1519
1519
  /** Format: uuid */
1520
1520
  id: string;
1521
1521
  /** Format: uuid */
@@ -1525,12 +1525,12 @@ export interface components {
1525
1525
  description?: string;
1526
1526
  description_translations?: components["schemas"]["Translations"];
1527
1527
  };
1528
- CatalogPlanList: {
1529
- items: components["schemas"]["CatalogPlan"][];
1528
+ PlanList: {
1529
+ items: components["schemas"]["Plan"][];
1530
1530
  /** Format: int64 */
1531
1531
  total_count?: number;
1532
1532
  };
1533
- CatalogPrice: {
1533
+ Price: {
1534
1534
  termination_policy?: components["schemas"]["TerminationPolicy"];
1535
1535
  refund_policy?: components["schemas"]["RefundPolicy"];
1536
1536
  /** Format: uuid */
@@ -1593,12 +1593,12 @@ export interface components {
1593
1593
  period?: "none" | "day" | "month" | "year";
1594
1594
  setup_fee?: components["schemas"]["Money"];
1595
1595
  };
1596
- CatalogPriceList: {
1597
- items: components["schemas"]["CatalogPrice"][];
1596
+ PriceList: {
1597
+ items: components["schemas"]["Price"][];
1598
1598
  /** Format: int64 */
1599
1599
  total_count?: number;
1600
1600
  };
1601
- CatalogRate: {
1601
+ Rate: {
1602
1602
  meter: components["schemas"]["ObjectIdentity"];
1603
1603
  /** @description The unit readings arrive in, such as `core-second`. */
1604
1604
  unit?: string;
@@ -1623,8 +1623,8 @@ export interface components {
1623
1623
  /** Format: date-time */
1624
1624
  effective_to?: string | null;
1625
1625
  };
1626
- CatalogRateList: {
1627
- items: components["schemas"]["CatalogRate"][];
1626
+ RateList: {
1627
+ items: components["schemas"]["Rate"][];
1628
1628
  /** Format: int64 */
1629
1629
  total_count?: number;
1630
1630
  };
@@ -3217,7 +3217,7 @@ export interface operations {
3217
3217
  default: components["responses"]["Error"];
3218
3218
  };
3219
3219
  };
3220
- "list-catalog-products": {
3220
+ "list-products": {
3221
3221
  parameters: {
3222
3222
  query?: {
3223
3223
  /** @description 1-based page number; the first page when omitted. */
@@ -3250,14 +3250,14 @@ export interface operations {
3250
3250
  [name: string]: unknown;
3251
3251
  };
3252
3252
  content: {
3253
- "application/json": components["schemas"]["CatalogProductList"];
3253
+ "application/json": components["schemas"]["ProductList"];
3254
3254
  };
3255
3255
  };
3256
3256
  304: components["responses"]["NotModified"];
3257
3257
  default: components["responses"]["Error"];
3258
3258
  };
3259
3259
  };
3260
- "list-catalog-plans": {
3260
+ "list-plans": {
3261
3261
  parameters: {
3262
3262
  query?: {
3263
3263
  /** @description 1-based page number; the first page when omitted. */
@@ -3292,14 +3292,14 @@ export interface operations {
3292
3292
  [name: string]: unknown;
3293
3293
  };
3294
3294
  content: {
3295
- "application/json": components["schemas"]["CatalogPlanList"];
3295
+ "application/json": components["schemas"]["PlanList"];
3296
3296
  };
3297
3297
  };
3298
3298
  304: components["responses"]["NotModified"];
3299
3299
  default: components["responses"]["Error"];
3300
3300
  };
3301
3301
  };
3302
- "list-catalog-prices": {
3302
+ "list-prices": {
3303
3303
  parameters: {
3304
3304
  query?: {
3305
3305
  /** @description 1-based page number; the first page when omitted. */
@@ -3335,14 +3335,14 @@ export interface operations {
3335
3335
  [name: string]: unknown;
3336
3336
  };
3337
3337
  content: {
3338
- "application/json": components["schemas"]["CatalogPriceList"];
3338
+ "application/json": components["schemas"]["PriceList"];
3339
3339
  };
3340
3340
  };
3341
3341
  304: components["responses"]["NotModified"];
3342
3342
  default: components["responses"]["Error"];
3343
3343
  };
3344
3344
  };
3345
- "list-catalog-rates": {
3345
+ "list-rates": {
3346
3346
  parameters: {
3347
3347
  query?: {
3348
3348
  /** @description 1-based page number; the first page when omitted. */
@@ -3381,7 +3381,7 @@ export interface operations {
3381
3381
  [name: string]: unknown;
3382
3382
  };
3383
3383
  content: {
3384
- "application/json": components["schemas"]["CatalogRateList"];
3384
+ "application/json": components["schemas"]["RateList"];
3385
3385
  };
3386
3386
  };
3387
3387
  304: components["responses"]["NotModified"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.190.gdc509eb",
3
+ "version": "0.0.0-dev.191.g39f21ec",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {