@leaflow/sdk 0.76.0 → 0.77.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.
@@ -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;
@@ -871,9 +871,9 @@ export interface paths {
871
871
  };
872
872
  /**
873
873
  * Get project billing account
874
- * @description A deliberately narrow view: the payer's identity, its currency, and how much can still
875
- * be spent. Cards, invoices and transaction history are not included; they belong to the
876
- * account owner and are reached through `/account/v1/`.
874
+ * @description Returns the payer's identity, its currency, and how much can still be spent. Cards,
875
+ * invoices and transaction history are not included; they belong to the account owner
876
+ * and are reached through `/account/v1/`.
877
877
  *
878
878
  * Returns 404 when no account pays for this project. Resources cannot be created in that
879
879
  * state.
@@ -1502,41 +1502,37 @@ 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
- lookup_key: string;
1509
1508
  name: string;
1510
1509
  name_translations?: components["schemas"]["Translations"];
1511
1510
  description?: string;
1512
1511
  description_translations?: components["schemas"]["Translations"];
1513
1512
  };
1514
- CatalogProductList: {
1515
- items: components["schemas"]["CatalogProduct"][];
1513
+ ProductList: {
1514
+ items: components["schemas"]["Product"][];
1516
1515
  /** Format: int64 */
1517
1516
  total_count?: number;
1518
1517
  };
1519
- CatalogPlan: {
1518
+ Plan: {
1520
1519
  /** Format: uuid */
1521
1520
  id: string;
1522
1521
  /** Format: uuid */
1523
1522
  product_id: string;
1524
- lookup_key: string;
1525
1523
  name: string;
1526
1524
  name_translations?: components["schemas"]["Translations"];
1527
1525
  description?: string;
1528
1526
  description_translations?: components["schemas"]["Translations"];
1529
1527
  };
1530
- CatalogPlanList: {
1531
- items: components["schemas"]["CatalogPlan"][];
1528
+ PlanList: {
1529
+ items: components["schemas"]["Plan"][];
1532
1530
  /** Format: int64 */
1533
1531
  total_count?: number;
1534
1532
  };
1535
- CatalogPrice: {
1533
+ Price: {
1536
1534
  termination_policy?: components["schemas"]["TerminationPolicy"];
1537
1535
  refund_policy?: components["schemas"]["RefundPolicy"];
1538
- /** @description External lookup alias within the service. Existing references use the price ID. */
1539
- lookup_key?: string;
1540
1536
  /** Format: uuid */
1541
1537
  product_id?: string;
1542
1538
  /** Format: uuid */
@@ -1597,12 +1593,12 @@ export interface components {
1597
1593
  period?: "none" | "day" | "month" | "year";
1598
1594
  setup_fee?: components["schemas"]["Money"];
1599
1595
  };
1600
- CatalogPriceList: {
1601
- items: components["schemas"]["CatalogPrice"][];
1596
+ PriceList: {
1597
+ items: components["schemas"]["Price"][];
1602
1598
  /** Format: int64 */
1603
1599
  total_count?: number;
1604
1600
  };
1605
- CatalogRate: {
1601
+ Rate: {
1606
1602
  meter: components["schemas"]["ObjectIdentity"];
1607
1603
  /** @description The unit readings arrive in, such as `core-second`. */
1608
1604
  unit?: string;
@@ -1627,17 +1623,21 @@ export interface components {
1627
1623
  /** Format: date-time */
1628
1624
  effective_to?: string | null;
1629
1625
  };
1630
- CatalogRateList: {
1631
- items: components["schemas"]["CatalogRate"][];
1626
+ RateList: {
1627
+ items: components["schemas"]["Rate"][];
1632
1628
  /** Format: int64 */
1633
1629
  total_count?: number;
1634
1630
  };
1635
- /** @description Identify a price directly, or select a price for a plan. Lookup keys are scoped to the product. Account quotes apply applicable contract prices. */
1631
+ /** @description Identify a price directly, or select a price for a plan. Account quotes apply applicable contract prices. */
1636
1632
  QuoteLine: {
1637
- price?: components["schemas"]["ObjectReference"];
1638
- product?: components["schemas"]["ObjectReference"];
1639
- plan?: components["schemas"]["ObjectReference"];
1640
- meter?: components["schemas"]["ObjectReference"];
1633
+ /** Format: uuid */
1634
+ price_id?: string;
1635
+ /** Format: uuid */
1636
+ product_id?: string;
1637
+ /** Format: uuid */
1638
+ plan_id?: string;
1639
+ /** Format: uuid */
1640
+ meter_id?: string;
1641
1641
  /**
1642
1642
  * @description The attributes the price depends on — region, instance type, token class.
1643
1643
  *
@@ -1676,8 +1676,10 @@ export interface components {
1676
1676
  * @description What is being changed.
1677
1677
  */
1678
1678
  subscription_item_id: string;
1679
- price?: components["schemas"]["ObjectReference"];
1680
- plan?: components["schemas"]["ObjectReference"];
1679
+ /** Format: uuid */
1680
+ price_id?: string;
1681
+ /** Format: uuid */
1682
+ plan_id?: string;
1681
1683
  /** @description The new quantity. The current one is kept when omitted. */
1682
1684
  quantity?: string;
1683
1685
  /**
@@ -3027,11 +3029,8 @@ export interface components {
3027
3029
  * @description How much is left, as a decimal string. Meaningful only when `metered` is true.
3028
3030
  * `"0"` once exhausted, never negative.
3029
3031
  *
3030
- * This is the figure at the moment of the reply, and quantities are drawn down at
3031
- * settlement rather than on each call. It is suitable for display and for a soft
3032
- * warning, but it cannot enforce a strict limit: concurrent requests all see the same
3033
- * figure. A hard limit has to be counted by the service that owns the capability, in
3034
- * the same transaction as the operation it is limiting.
3032
+ * The figure is accurate as of the reply. It is suitable for display and for a soft
3033
+ * warning, and must not be used to enforce a strict limit.
3035
3034
  */
3036
3035
  remaining_quantity?: string;
3037
3036
  unit?: string;
@@ -3047,16 +3046,12 @@ export interface components {
3047
3046
  /** Format: int64 */
3048
3047
  total_count?: number;
3049
3048
  };
3050
- /** @description Identify an object by ID or lookup key, exactly one. A lookup key requires the owning product. */
3051
- ObjectReference: {
3052
- /** Format: uuid */
3053
- id?: string;
3054
- lookup_key?: string;
3055
- };
3049
+ /** @description A catalog object inlined for display. */
3056
3050
  ObjectIdentity: {
3057
3051
  /** Format: uuid */
3058
3052
  id: string;
3059
- lookup_key?: string;
3053
+ name: string;
3054
+ name_translations?: components["schemas"]["Translations"];
3060
3055
  };
3061
3056
  /**
3062
3057
  * @description Text in other languages, keyed by BCP 47 language tag (`zh-Hans`, `en`, `ja`).
@@ -3114,8 +3109,7 @@ export interface components {
3114
3109
  * @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
3115
3110
  * answer is `304` with no body.
3116
3111
  *
3117
- * Worth sending on every catalogue read: the listings are public, unauthenticated and
3118
- * cached at the edge, so a repeat read costs one round trip and no transfer.
3112
+ * Send it on every catalogue read. An unchanged catalogue is answered without a body.
3119
3113
  */
3120
3114
  IfNoneMatch: string;
3121
3115
  /** @description 1-based page number; the first page when omitted. */
@@ -3223,7 +3217,7 @@ export interface operations {
3223
3217
  default: components["responses"]["Error"];
3224
3218
  };
3225
3219
  };
3226
- "list-catalog-products": {
3220
+ "list-products": {
3227
3221
  parameters: {
3228
3222
  query?: {
3229
3223
  /** @description 1-based page number; the first page when omitted. */
@@ -3236,8 +3230,7 @@ export interface operations {
3236
3230
  * @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
3237
3231
  * answer is `304` with no body.
3238
3232
  *
3239
- * Worth sending on every catalogue read: the listings are public, unauthenticated and
3240
- * cached at the edge, so a repeat read costs one round trip and no transfer.
3233
+ * Send it on every catalogue read. An unchanged catalogue is answered without a body.
3241
3234
  */
3242
3235
  "If-None-Match"?: components["parameters"]["IfNoneMatch"];
3243
3236
  };
@@ -3257,14 +3250,14 @@ export interface operations {
3257
3250
  [name: string]: unknown;
3258
3251
  };
3259
3252
  content: {
3260
- "application/json": components["schemas"]["CatalogProductList"];
3253
+ "application/json": components["schemas"]["ProductList"];
3261
3254
  };
3262
3255
  };
3263
3256
  304: components["responses"]["NotModified"];
3264
3257
  default: components["responses"]["Error"];
3265
3258
  };
3266
3259
  };
3267
- "list-catalog-plans": {
3260
+ "list-plans": {
3268
3261
  parameters: {
3269
3262
  query?: {
3270
3263
  /** @description 1-based page number; the first page when omitted. */
@@ -3277,8 +3270,7 @@ export interface operations {
3277
3270
  * @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
3278
3271
  * answer is `304` with no body.
3279
3272
  *
3280
- * Worth sending on every catalogue read: the listings are public, unauthenticated and
3281
- * cached at the edge, so a repeat read costs one round trip and no transfer.
3273
+ * Send it on every catalogue read. An unchanged catalogue is answered without a body.
3282
3274
  */
3283
3275
  "If-None-Match"?: components["parameters"]["IfNoneMatch"];
3284
3276
  };
@@ -3300,14 +3292,14 @@ export interface operations {
3300
3292
  [name: string]: unknown;
3301
3293
  };
3302
3294
  content: {
3303
- "application/json": components["schemas"]["CatalogPlanList"];
3295
+ "application/json": components["schemas"]["PlanList"];
3304
3296
  };
3305
3297
  };
3306
3298
  304: components["responses"]["NotModified"];
3307
3299
  default: components["responses"]["Error"];
3308
3300
  };
3309
3301
  };
3310
- "list-catalog-prices": {
3302
+ "list-prices": {
3311
3303
  parameters: {
3312
3304
  query?: {
3313
3305
  /** @description 1-based page number; the first page when omitted. */
@@ -3321,8 +3313,7 @@ export interface operations {
3321
3313
  * @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
3322
3314
  * answer is `304` with no body.
3323
3315
  *
3324
- * Worth sending on every catalogue read: the listings are public, unauthenticated and
3325
- * cached at the edge, so a repeat read costs one round trip and no transfer.
3316
+ * Send it on every catalogue read. An unchanged catalogue is answered without a body.
3326
3317
  */
3327
3318
  "If-None-Match"?: components["parameters"]["IfNoneMatch"];
3328
3319
  };
@@ -3344,14 +3335,14 @@ export interface operations {
3344
3335
  [name: string]: unknown;
3345
3336
  };
3346
3337
  content: {
3347
- "application/json": components["schemas"]["CatalogPriceList"];
3338
+ "application/json": components["schemas"]["PriceList"];
3348
3339
  };
3349
3340
  };
3350
3341
  304: components["responses"]["NotModified"];
3351
3342
  default: components["responses"]["Error"];
3352
3343
  };
3353
3344
  };
3354
- "list-catalog-rates": {
3345
+ "list-rates": {
3355
3346
  parameters: {
3356
3347
  query?: {
3357
3348
  /** @description 1-based page number; the first page when omitted. */
@@ -3359,7 +3350,7 @@ export interface operations {
3359
3350
  /** @description How many per page, 100 at most. */
3360
3351
  page_size?: components["parameters"]["PageSize"];
3361
3352
  /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
3362
- meter?: components["schemas"]["ObjectReference"];
3353
+ meter_id?: string;
3363
3354
  /** @description Return the rates in effect at this moment. Defaults to now. */
3364
3355
  at?: string;
3365
3356
  };
@@ -3368,8 +3359,7 @@ export interface operations {
3368
3359
  * @description The `ETag` from an earlier reply. When the catalogue has not changed since, the
3369
3360
  * answer is `304` with no body.
3370
3361
  *
3371
- * Worth sending on every catalogue read: the listings are public, unauthenticated and
3372
- * cached at the edge, so a repeat read costs one round trip and no transfer.
3362
+ * Send it on every catalogue read. An unchanged catalogue is answered without a body.
3373
3363
  */
3374
3364
  "If-None-Match"?: components["parameters"]["IfNoneMatch"];
3375
3365
  };
@@ -3391,7 +3381,7 @@ export interface operations {
3391
3381
  [name: string]: unknown;
3392
3382
  };
3393
3383
  content: {
3394
- "application/json": components["schemas"]["CatalogRateList"];
3384
+ "application/json": components["schemas"]["RateList"];
3395
3385
  };
3396
3386
  };
3397
3387
  304: components["responses"]["NotModified"];
@@ -4181,8 +4171,7 @@ export interface operations {
4181
4171
  /** @description Restrict to one of your accounts. All of them when omitted. */
4182
4172
  billing_account_id?: components["parameters"]["AccountIdQuery"];
4183
4173
  project_id?: string;
4184
- /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4185
- product?: components["schemas"]["ObjectReference"];
4174
+ product_id?: string;
4186
4175
  resource_id?: string;
4187
4176
  from?: components["parameters"]["From"];
4188
4177
  /** @description Exclusive. */
@@ -4406,7 +4395,7 @@ export interface operations {
4406
4395
  */
4407
4396
  group_by?: "product" | "plan" | "resource";
4408
4397
  /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4409
- product?: components["schemas"]["ObjectReference"];
4398
+ product_id?: string;
4410
4399
  /** @description 1-based page number; the first page when omitted. */
4411
4400
  page?: components["parameters"]["Page"];
4412
4401
  /** @description How many per page, 100 at most. */
@@ -4440,10 +4429,9 @@ export interface operations {
4440
4429
  /** @description How many per page, 100 at most. */
4441
4430
  page_size?: components["parameters"]["PageSize"];
4442
4431
  resource_id?: string;
4432
+ product_id?: string;
4443
4433
  /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4444
- product?: components["schemas"]["ObjectReference"];
4445
- /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4446
- meter?: components["schemas"]["ObjectReference"];
4434
+ meter_id?: string;
4447
4435
  from?: components["parameters"]["From"];
4448
4436
  /** @description Exclusive. */
4449
4437
  to?: components["parameters"]["To"];
@@ -4675,10 +4663,9 @@ export interface operations {
4675
4663
  /** @description Restrict to one of your accounts. All of them when omitted. */
4676
4664
  billing_account_id?: components["parameters"]["AccountIdQuery"];
4677
4665
  /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4678
- meter?: components["schemas"]["ObjectReference"];
4666
+ meter_id?: string;
4679
4667
  status?: "active" | "depleted" | "expired" | "voided";
4680
- /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4681
- product?: components["schemas"]["ObjectReference"];
4668
+ product_id?: string;
4682
4669
  };
4683
4670
  header?: never;
4684
4671
  path?: never;
@@ -4893,9 +4880,8 @@ export interface operations {
4893
4880
  /** @description How many per page, 100 at most. */
4894
4881
  page_size?: components["parameters"]["PageSize"];
4895
4882
  /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4896
- meter?: components["schemas"]["ObjectReference"];
4897
- /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4898
- product?: components["schemas"]["ObjectReference"];
4883
+ meter_id?: string;
4884
+ product_id?: string;
4899
4885
  };
4900
4886
  header?: never;
4901
4887
  path: {
@@ -4958,7 +4944,7 @@ export interface operations {
4958
4944
  /** @description How many per page, 100 at most. */
4959
4945
  page_size?: components["parameters"]["PageSize"];
4960
4946
  /** @description Filter by ID or lookup key. A lookup key is scoped to the product. */
4961
- product?: components["schemas"]["ObjectReference"];
4947
+ product_id?: string;
4962
4948
  };
4963
4949
  header?: never;
4964
4950
  path: {
@@ -488,7 +488,7 @@ export interface paths {
488
488
  * Open a remote console
489
489
  * @description Operates the instance directly from a browser and does not require the instance to be reachable over the network, which makes it usable when a network misconfiguration prevents login.
490
490
  *
491
- * The returned address is single-use and expires within minutes. **Do not cache it**; request a new one before each use.
491
+ * The returned address is single-use and expires within minutes. Request a new one before each use.
492
492
  */
493
493
  post: operations["open-instance-console"];
494
494
  delete?: never;
@@ -1382,7 +1382,8 @@ export interface components {
1382
1382
  /** Format: uuid */
1383
1383
  disk_id: string;
1384
1384
  name: string;
1385
- price: components["schemas"]["CatalogReference"];
1385
+ /** Format: uuid */
1386
+ price_id: string;
1386
1387
  order: components["schemas"]["OrderOptions"];
1387
1388
  };
1388
1389
  RenameBackupRequestBody: {
@@ -1400,7 +1401,8 @@ export interface components {
1400
1401
  * @description Matches the size of the backup when omitted. When given, it must not be smaller than the backup
1401
1402
  */
1402
1403
  size_gb?: number;
1403
- price: components["schemas"]["CatalogReference"];
1404
+ /** Format: uuid */
1405
+ price_id: string;
1404
1406
  order: components["schemas"]["OrderOptions"];
1405
1407
  };
1406
1408
  DiskResource: {
@@ -1600,7 +1602,7 @@ export interface components {
1600
1602
  country_code: string;
1601
1603
  /** @description Display name for this place, shown to tenants (Hong Kong). It is the translatable one; the stable handle is code. */
1602
1604
  name: string;
1603
- /** @description The region's code, the way the outside world names this place (hk-1). Stable and human-written; it is not an identifier for addressing — every endpoint takes ids. */
1605
+ /** @description The region's code, the way the outside world names this place (hk-1). Stable and human-written; addressing is by id. */
1604
1606
  code: string;
1605
1607
  /** Format: uuid */
1606
1608
  id: string;
@@ -1609,7 +1611,7 @@ export interface components {
1609
1611
  items: components["schemas"]["RegionResource"][] | null;
1610
1612
  };
1611
1613
  ZoneResource: {
1612
- /** @description Display name for this zone, shown to tenants (Hong Kong A). It is the translatable one; the stable handle is code. AWS has no equivalent — what it calls an Availability Zone name is our code. */
1614
+ /** @description Display name for this zone, shown to tenants (Hong Kong A). It is the translatable one; the stable handle is code. */
1613
1615
  name: string;
1614
1616
  /** @description The zone's code within its region (hk-1-a). Stable and human-written; addressing is by id. */
1615
1617
  code: string;
@@ -1636,7 +1638,8 @@ export interface components {
1636
1638
  * @description Restore from this snapshot. When given, the capacity need only be no smaller than the snapshot
1637
1639
  */
1638
1640
  snapshot_id?: string;
1639
- price: components["schemas"]["CatalogReference"];
1641
+ /** Format: uuid */
1642
+ price_id: string;
1640
1643
  order: components["schemas"]["OrderOptions"];
1641
1644
  };
1642
1645
  RenameDiskRequestBody: {
@@ -1648,7 +1651,8 @@ export interface components {
1648
1651
  * @description Must be larger than the current capacity
1649
1652
  */
1650
1653
  size_gb: number;
1651
- price: components["schemas"]["CatalogReference"];
1654
+ /** Format: uuid */
1655
+ price_id: string;
1652
1656
  order: components["schemas"]["OrderOptions"];
1653
1657
  };
1654
1658
  RevertDiskRequestBody: {
@@ -1715,8 +1719,10 @@ export interface components {
1715
1719
  private_network_id: string;
1716
1720
  /** Format: uuid */
1717
1721
  ipv4_pool_id: string;
1718
- price: components["schemas"]["CatalogReference"];
1719
- bandwidth_price: components["schemas"]["CatalogReference"];
1722
+ /** Format: uuid */
1723
+ price_id: string;
1724
+ /** Format: uuid */
1725
+ bandwidth_price_id: string;
1720
1726
  order: components["schemas"]["OrderOptions"];
1721
1727
  };
1722
1728
  SetBandwidthRequestBody: {
@@ -1725,7 +1731,8 @@ export interface components {
1725
1731
  * @description Applied to both directions
1726
1732
  */
1727
1733
  mbps: number;
1728
- price: components["schemas"]["CatalogReference"];
1734
+ /** Format: uuid */
1735
+ price_id: string;
1729
1736
  order: components["schemas"]["OrderOptions"];
1730
1737
  };
1731
1738
  BindFloatingIPRequestBody: {
@@ -1878,7 +1885,8 @@ export interface components {
1878
1885
  */
1879
1886
  subnet_id?: string;
1880
1887
  order: components["schemas"]["OrderOptions"];
1881
- price: components["schemas"]["CatalogReference"];
1888
+ /** Format: uuid */
1889
+ price_id: string;
1882
1890
  boot_disk?: components["schemas"]["NewBootDisk"];
1883
1891
  floating_ip?: components["schemas"]["NewFloatingIP"];
1884
1892
  };
@@ -1965,7 +1973,8 @@ export interface components {
1965
1973
  */
1966
1974
  instance_type_id: string;
1967
1975
  order: components["schemas"]["OrderOptions"];
1968
- price: components["schemas"]["CatalogReference"];
1976
+ /** Format: uuid */
1977
+ price_id: string;
1969
1978
  };
1970
1979
  AttachDiskRequestBody: {
1971
1980
  /** Format: uuid */
@@ -2117,7 +2126,8 @@ export interface components {
2117
2126
  */
2118
2127
  instance_id: string;
2119
2128
  name: string;
2120
- price: components["schemas"]["CatalogReference"];
2129
+ /** Format: uuid */
2130
+ price_id: string;
2121
2131
  order: components["schemas"]["OrderOptions"];
2122
2132
  };
2123
2133
  RenamePrivateImageRequestBody: {
@@ -2317,7 +2327,8 @@ export interface components {
2317
2327
  /** Format: uuid */
2318
2328
  disk_id: string;
2319
2329
  name: string;
2320
- price: components["schemas"]["CatalogReference"];
2330
+ /** Format: uuid */
2331
+ price_id: string;
2321
2332
  order: components["schemas"]["OrderOptions"];
2322
2333
  };
2323
2334
  RenameSecurityGroupRequestBody: {
@@ -2333,12 +2344,6 @@ export interface components {
2333
2344
  expected_amount?: string;
2334
2345
  redemption_code?: string;
2335
2346
  };
2336
- /** @description Specify exactly one of id or lookup_key. A lookup key is scoped to the product of the resource service. */
2337
- CatalogReference: {
2338
- /** Format: uuid */
2339
- id?: string;
2340
- lookup_key?: string;
2341
- };
2342
2347
  /**
2343
2348
  * @description A billable order has been created. Read it from the billing API to find out what is
2344
2349
  * owed and whether payment is still required.
@@ -2364,14 +2369,17 @@ export interface components {
2364
2369
  disk_type_id: string;
2365
2370
  /** Format: int64 */
2366
2371
  size_gb: number;
2367
- price: components["schemas"]["CatalogReference"];
2372
+ /** Format: uuid */
2373
+ price_id: string;
2368
2374
  /** @default true */
2369
2375
  delete_with_instance?: boolean;
2370
2376
  };
2371
2377
  /** @description An address and bandwidth purchased in the same order. Mutually exclusive with floating_ip_id. */
2372
2378
  NewFloatingIP: {
2373
- price: components["schemas"]["CatalogReference"];
2374
- bandwidth_price: components["schemas"]["CatalogReference"];
2379
+ /** Format: uuid */
2380
+ price_id: string;
2381
+ /** Format: uuid */
2382
+ bandwidth_price_id: string;
2375
2383
  /** Format: int64 */
2376
2384
  bandwidth_mbps: number;
2377
2385
  /** Format: uuid */
package/dist/index.d.ts CHANGED
@@ -4,11 +4,8 @@ export * as billing from "./billing/v1/index.js";
4
4
  export * as canopy from "./canopy/v1/index.js";
5
5
  export * as compute from "./compute/v1/index.js";
6
6
  export * as dns from "./dns/v1/index.js";
7
- export * as fabric from "./fabric/v1/index.js";
8
- export * as fleet from "./fleet/v1/index.js";
9
7
  export * as iam from "./iam/v1/index.js";
10
8
  export * as monitoring from "./monitoring/v1/index.js";
11
9
  export * as notification from "./notification/v1/index.js";
12
- export * as storage from "./storage/v1/index.js";
13
10
  export * as support from "./support/v1/index.js";
14
11
  export * as tunnel from "./tunnel/v1/index.js";
package/dist/index.js CHANGED
@@ -13,11 +13,8 @@ export * as billing from "./billing/v1/index.js";
13
13
  export * as canopy from "./canopy/v1/index.js";
14
14
  export * as compute from "./compute/v1/index.js";
15
15
  export * as dns from "./dns/v1/index.js";
16
- export * as fabric from "./fabric/v1/index.js";
17
- export * as fleet from "./fleet/v1/index.js";
18
16
  export * as iam from "./iam/v1/index.js";
19
17
  export * as monitoring from "./monitoring/v1/index.js";
20
18
  export * as notification from "./notification/v1/index.js";
21
- export * as storage from "./storage/v1/index.js";
22
19
  export * as support from "./support/v1/index.js";
23
20
  export * as tunnel from "./tunnel/v1/index.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.76.0",
3
+ "version": "0.77.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -39,14 +39,6 @@
39
39
  "types": "./dist/dns/v1/index.d.ts",
40
40
  "default": "./dist/dns/v1/index.js"
41
41
  },
42
- "./fabric/v1": {
43
- "types": "./dist/fabric/v1/index.d.ts",
44
- "default": "./dist/fabric/v1/index.js"
45
- },
46
- "./fleet/v1": {
47
- "types": "./dist/fleet/v1/index.d.ts",
48
- "default": "./dist/fleet/v1/index.js"
49
- },
50
42
  "./iam/v1": {
51
43
  "types": "./dist/iam/v1/index.d.ts",
52
44
  "default": "./dist/iam/v1/index.js"
@@ -59,10 +51,6 @@
59
51
  "types": "./dist/notification/v1/index.d.ts",
60
52
  "default": "./dist/notification/v1/index.js"
61
53
  },
62
- "./storage/v1": {
63
- "types": "./dist/storage/v1/index.d.ts",
64
- "default": "./dist/storage/v1/index.js"
65
- },
66
54
  "./support/v1": {
67
55
  "types": "./dist/support/v1/index.d.ts",
68
56
  "default": "./dist/support/v1/index.js"
@@ -1,4 +0,0 @@
1
- import { type ClientOptions } from "openapi-fetch";
2
- import type { paths } from "./schema.js";
3
- /** A client for the fabric service. Pass baseUrl to override the address. */
4
- export declare function client(options?: ClientOptions): import("openapi-fetch").Client<paths, `${string}/${string}`>;
@@ -1,7 +0,0 @@
1
- // Code generated from the contract's servers[0]. DO NOT EDIT.
2
- import createClient, {} from "openapi-fetch";
3
- const defaultBaseUrl = "https://fabric.leaflow.cloud";
4
- /** A client for the fabric service. Pass baseUrl to override the address. */
5
- export function client(options = {}) {
6
- return createClient({ baseUrl: defaultBaseUrl, ...options });
7
- }