@leaflow/sdk 0.0.0-dev.188.g82e96c7 → 0.0.0-dev.190.gdc509eb

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.
@@ -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.
@@ -1505,7 +1505,6 @@ export interface components {
1505
1505
  CatalogProduct: {
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;
@@ -1521,7 +1520,6 @@ export interface components {
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;
@@ -1535,8 +1533,6 @@ export interface components {
1535
1533
  CatalogPrice: {
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 */
@@ -1632,12 +1628,16 @@ export interface components {
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. */
@@ -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
  };
@@ -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
  };
@@ -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
  };
@@ -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
  };
@@ -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.0.0-dev.188.g82e96c7",
3
+ "version": "0.0.0-dev.190.gdc509eb",
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
- }
@@ -1,115 +0,0 @@
1
- export type { paths, components, operations, webhooks } from "./schema.js";
2
- export { client } from "./client.js";
3
- import type { operations } from "./schema.js";
4
- /** The success response body of `GET /api/v1/floating-ips`. */
5
- export type ListFloatingIpsResult = operations["list-floating-ips"]["responses"][200]["content"]["application/json"];
6
- /** The query parameters of `GET /api/v1/floating-ips`. */
7
- export type ListFloatingIpsQuery = operations["list-floating-ips"]["parameters"]["query"];
8
- /** The success response body of `POST /api/v1/floating-ips`. */
9
- export type AllocateFloatingIpResult = operations["allocate-floating-ip"]["responses"][202]["content"]["application/json"];
10
- /** The request body of `POST /api/v1/floating-ips`. */
11
- export type AllocateFloatingIpBody = NonNullable<operations["allocate-floating-ip"]["requestBody"]>["content"]["application/json"];
12
- /** The success response body of `GET /api/v1/floating-ips/{floatingIpId}`. */
13
- export type GetFloatingIpResult = operations["get-floating-ip"]["responses"][200]["content"]["application/json"];
14
- /** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
15
- export type SetFloatingIpBandwidthResult = operations["set-floating-ip-bandwidth"]["responses"][202]["content"]["application/json"];
16
- /** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/bandwidth`. */
17
- export type SetFloatingIpBandwidthBody = NonNullable<operations["set-floating-ip-bandwidth"]["requestBody"]>["content"]["application/json"];
18
- /** The success response body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
19
- export type BindFloatingIpResult = operations["bind-floating-ip"]["responses"][200]["content"]["application/json"];
20
- /** The request body of `PUT /api/v1/floating-ips/{floatingIpId}/binding`. */
21
- export type BindFloatingIpBody = NonNullable<operations["bind-floating-ip"]["requestBody"]>["content"]["application/json"];
22
- /** The success response body of `DELETE /api/v1/floating-ips/{floatingIpId}/binding`. */
23
- export type UnbindFloatingIpResult = operations["unbind-floating-ip"]["responses"][200]["content"]["application/json"];
24
- /** The success response body of `GET /api/v1/operation-logs`. */
25
- export type ListOperationLogsResult = operations["list-operation-logs"]["responses"][200]["content"]["application/json"];
26
- /** The query parameters of `GET /api/v1/operation-logs`. */
27
- export type ListOperationLogsQuery = operations["list-operation-logs"]["parameters"]["query"];
28
- /** The success response body of `GET /api/v1/ports`. */
29
- export type ListPortsResult = operations["list-ports"]["responses"][200]["content"]["application/json"];
30
- /** The query parameters of `GET /api/v1/ports`. */
31
- export type ListPortsQuery = operations["list-ports"]["parameters"]["query"];
32
- /** The success response body of `POST /api/v1/ports`. */
33
- export type CreatePortResult = operations["create-port"]["responses"][201]["content"]["application/json"];
34
- /** The request body of `POST /api/v1/ports`. */
35
- export type CreatePortBody = NonNullable<operations["create-port"]["requestBody"]>["content"]["application/json"];
36
- /** The success response body of `GET /api/v1/ports/{portId}`. */
37
- export type GetPortResult = operations["get-port"]["responses"][200]["content"]["application/json"];
38
- /** The success response body of `GET /api/v1/private-networks`. */
39
- export type ListPrivateNetworksResult = operations["list-private-networks"]["responses"][200]["content"]["application/json"];
40
- /** The query parameters of `GET /api/v1/private-networks`. */
41
- export type ListPrivateNetworksQuery = operations["list-private-networks"]["parameters"]["query"];
42
- /** The success response body of `POST /api/v1/private-networks`. */
43
- export type CreatePrivateNetworkResult = operations["create-private-network"]["responses"][201]["content"]["application/json"];
44
- /** The request body of `POST /api/v1/private-networks`. */
45
- export type CreatePrivateNetworkBody = NonNullable<operations["create-private-network"]["requestBody"]>["content"]["application/json"];
46
- /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}`. */
47
- export type GetPrivateNetworkResult = operations["get-private-network"]["responses"][200]["content"]["application/json"];
48
- /** The success response body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
49
- export type RenamePrivateNetworkResult = operations["rename-private-network"]["responses"][200]["content"]["application/json"];
50
- /** The request body of `PATCH /api/v1/private-networks/{privateNetworkId}`. */
51
- export type RenamePrivateNetworkBody = NonNullable<operations["rename-private-network"]["requestBody"]>["content"]["application/json"];
52
- /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/ipv6`. */
53
- export type GetPrivateNetworkIpv6Result = operations["get-private-network-ipv6"]["responses"][200]["content"]["application/json"];
54
- /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/ipv6`. */
55
- export type EnablePrivateNetworkIpv6Result = operations["enable-private-network-ipv6"]["responses"][200]["content"]["application/json"];
56
- /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
57
- export type ListRoutesResult = operations["list-routes"]["responses"][200]["content"]["application/json"];
58
- /** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/routes`. */
59
- export type ListRoutesQuery = operations["list-routes"]["parameters"]["query"];
60
- /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
61
- export type CreateRouteResult = operations["create-route"]["responses"][201]["content"]["application/json"];
62
- /** The request body of `POST /api/v1/private-networks/{privateNetworkId}/routes`. */
63
- export type CreateRouteBody = NonNullable<operations["create-route"]["requestBody"]>["content"]["application/json"];
64
- /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
65
- export type ListSubnetsResult = operations["list-subnets"]["responses"][200]["content"]["application/json"];
66
- /** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets`. */
67
- export type ListSubnetsQuery = operations["list-subnets"]["parameters"]["query"];
68
- /** The success response body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
69
- export type CreateSubnetResult = operations["create-subnet"]["responses"][201]["content"]["application/json"];
70
- /** The request body of `POST /api/v1/private-networks/{privateNetworkId}/subnets`. */
71
- export type CreateSubnetBody = NonNullable<operations["create-subnet"]["requestBody"]>["content"]["application/json"];
72
- /** The success response body of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
73
- export type SuggestSubnetCidrResult = operations["suggest-subnet-cidr"]["responses"][200]["content"]["application/json"];
74
- /** The query parameters of `GET /api/v1/private-networks/{privateNetworkId}/subnets/next-free-cidr`. */
75
- export type SuggestSubnetCidrQuery = operations["suggest-subnet-cidr"]["parameters"]["query"];
76
- /** The success response body of `GET /api/v1/security-groups`. */
77
- export type ListSecurityGroupsResult = operations["list-security-groups"]["responses"][200]["content"]["application/json"];
78
- /** The query parameters of `GET /api/v1/security-groups`. */
79
- export type ListSecurityGroupsQuery = operations["list-security-groups"]["parameters"]["query"];
80
- /** The success response body of `POST /api/v1/security-groups`. */
81
- export type CreateSecurityGroupResult = operations["create-security-group"]["responses"][201]["content"]["application/json"];
82
- /** The request body of `POST /api/v1/security-groups`. */
83
- export type CreateSecurityGroupBody = NonNullable<operations["create-security-group"]["requestBody"]>["content"]["application/json"];
84
- /** The success response body of `GET /api/v1/security-groups/{securityGroupId}`. */
85
- export type GetSecurityGroupResult = operations["get-security-group"]["responses"][200]["content"]["application/json"];
86
- /** The success response body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
87
- export type RenameSecurityGroupResult = operations["rename-security-group"]["responses"][200]["content"]["application/json"];
88
- /** The request body of `PATCH /api/v1/security-groups/{securityGroupId}`. */
89
- export type RenameSecurityGroupBody = NonNullable<operations["rename-security-group"]["requestBody"]>["content"]["application/json"];
90
- /** The success response body of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
91
- export type ListSecurityGroupRulesResult = operations["list-security-group-rules"]["responses"][200]["content"]["application/json"];
92
- /** The query parameters of `GET /api/v1/security-groups/{securityGroupId}/rules`. */
93
- export type ListSecurityGroupRulesQuery = operations["list-security-group-rules"]["parameters"]["query"];
94
- /** The success response body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
95
- export type CreateSecurityGroupRuleResult = operations["create-security-group-rule"]["responses"][201]["content"]["application/json"];
96
- /** The request body of `POST /api/v1/security-groups/{securityGroupId}/rules`. */
97
- export type CreateSecurityGroupRuleBody = NonNullable<operations["create-security-group-rule"]["requestBody"]>["content"]["application/json"];
98
- /** The success response body of `GET /api/v1/resource-usages`. */
99
- export type ListResourceUsagesResult = operations["list-resource-usages"]["responses"][200]["content"]["application/json"];
100
- /** The query parameters of `GET /api/v1/resource-usages`. */
101
- export type ListResourceUsagesQuery = operations["list-resource-usages"]["parameters"]["query"];
102
- /** The success response body of `GET /api/v1/resource-usages/{usageId}`. */
103
- export type GetResourceUsageResult = operations["get-resource-usage"]["responses"][200]["content"]["application/json"];
104
- /** The success response body of `GET /api/v1/resources/{resourceType}/{resourceId}/reclamation`. */
105
- export type GetResourceReclamationResult = operations["get-resource-reclamation"]["responses"][200]["content"]["application/json"];
106
- /** The success response body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
107
- export type SetResourceIdlePolicyResult = operations["set-resource-idle-policy"]["responses"][200]["content"]["application/json"];
108
- /** The request body of `PUT /api/v1/resources/{resourceType}/{resourceId}/idle-policy`. */
109
- export type SetResourceIdlePolicyBody = NonNullable<operations["set-resource-idle-policy"]["requestBody"]>["content"]["application/json"];
110
- /** The success response body of `GET /api/v1/ports/{resourceId}/attachments`. */
111
- export type ListPortAttachmentsResult = operations["list-port-attachments"]["responses"][200]["content"]["application/json"];
112
- /** The query parameters of `GET /api/v1/ports/{resourceId}/attachments`. */
113
- export type ListPortAttachmentsQuery = operations["list-port-attachments"]["parameters"]["query"];
114
- /** The success response body of `GET /api/v1/attachments/{attachmentId}`. */
115
- export type GetAttachmentResult = operations["get-attachment"]["responses"][200]["content"]["application/json"];
@@ -1,5 +0,0 @@
1
- // Code generated by scripts/generate.mjs. DO NOT EDIT.
2
- //
3
- // The aliases replace the operations[...] subscript chain with a name. The raw paths /
4
- // components / operations are exported as well: paths is what createClient<paths>() takes.
5
- export { client } from "./client.js";