@leaflow/sdk 0.0.0-dev.234.gce19274 → 0.0.0-dev.236.gebd337c

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.
@@ -1453,6 +1453,8 @@ export interface components {
1453
1453
  subscription_item_id: string | null;
1454
1454
  /** @description The subscriptions a cancellation through Billing has to cover to release this backup: its own. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
1455
1455
  release_subscription_ids: string[];
1456
+ /** @description The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
1457
+ release_set: components["schemas"]["ReleaseSetItem"][];
1456
1458
  /** @enum {string|null} */
1457
1459
  access_state: "pending" | "enabled" | "suspended" | "reclaimed" | null;
1458
1460
  task: components["schemas"]["Task"] | null;
@@ -1537,6 +1539,8 @@ export interface components {
1537
1539
  subscription_item_id: string | null;
1538
1540
  /** @description The subscriptions a cancellation through Billing has to cover to release this disk: its own and those of its snapshots. A system disk is released only with its instance, so for a system disk the list is that of the instance. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
1539
1541
  release_subscription_ids: string[];
1542
+ /** @description The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
1543
+ release_set: components["schemas"]["ReleaseSetItem"][];
1540
1544
  /** @enum {string|null} */
1541
1545
  access_state: "pending" | "enabled" | "suspended" | "reclaimed" | null;
1542
1546
  task: components["schemas"]["Task"] | null;
@@ -1771,6 +1775,8 @@ export interface components {
1771
1775
  subscription_item_id: string | null;
1772
1776
  /** @description The subscriptions a cancellation through Billing has to cover to release this address: the subscriptions of the address and of its bandwidth. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
1773
1777
  release_subscription_ids: string[];
1778
+ /** @description The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
1779
+ release_set: components["schemas"]["ReleaseSetItem"][];
1774
1780
  /** @enum {string|null} */
1775
1781
  access_state: "pending" | "enabled" | "suspended" | "reclaimed" | null;
1776
1782
  task: components["schemas"]["Task"] | null;
@@ -1899,6 +1905,8 @@ export interface components {
1899
1905
  subscription_item_id: string | null;
1900
1906
  /** @description The subscriptions a cancellation through Billing has to cover to release this instance: its own, those of the disks deleted with it, and those of the snapshots of those disks. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
1901
1907
  release_subscription_ids: string[];
1908
+ /** @description The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
1909
+ release_set: components["schemas"]["ReleaseSetItem"][];
1902
1910
  /** @enum {string|null} */
1903
1911
  access_state: "pending" | "enabled" | "suspended" | "reclaimed" | null;
1904
1912
  /**
@@ -2197,6 +2205,8 @@ export interface components {
2197
2205
  subscription_item_id: string | null;
2198
2206
  /** @description The subscriptions a cancellation through Billing has to cover to release this private image: its own. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
2199
2207
  release_subscription_ids: string[];
2208
+ /** @description The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
2209
+ release_set: components["schemas"]["ReleaseSetItem"][];
2200
2210
  /** @enum {string|null} */
2201
2211
  access_state: "pending" | "enabled" | "suspended" | "reclaimed" | null;
2202
2212
  task: components["schemas"]["Task"] | null;
@@ -2418,6 +2428,8 @@ export interface components {
2418
2428
  subscription_item_id: string | null;
2419
2429
  /** @description The subscriptions a cancellation through Billing has to cover to release this snapshot: its own. Subscriptions that have ended are not listed, and the list is empty when no subscription pays for any of them. */
2420
2430
  release_subscription_ids: string[];
2431
+ /** @description The subscriptions of `release_subscription_ids`, in the same order, each with the resource it pays for, so that each line of a cancellation can name what it releases. */
2432
+ release_set: components["schemas"]["ReleaseSetItem"][];
2421
2433
  /** @enum {string|null} */
2422
2434
  access_state: "pending" | "enabled" | "suspended" | "reclaimed" | null;
2423
2435
  task: components["schemas"]["Task"] | null;
@@ -2653,6 +2665,21 @@ export interface components {
2653
2665
  /** Format: date-time */
2654
2666
  released_at: string | null;
2655
2667
  };
2668
+ /** @description One subscription of a release set and the resource it pays for. An address and its bandwidth are two subscriptions of the same floating IP. */
2669
+ ReleaseSetItem: {
2670
+ /** Format: uuid */
2671
+ subscription_id: string;
2672
+ resource: components["schemas"]["ReleaseResource"];
2673
+ };
2674
+ /** @description A resource a release set releases. */
2675
+ ReleaseResource: {
2676
+ /** @enum {string} */
2677
+ type: "instance" | "disk" | "snapshot" | "backup" | "private_image" | "floating_ip";
2678
+ /** Format: uuid */
2679
+ id: string;
2680
+ /** @description The resource's name. A floating IP is named by its address. */
2681
+ name: string;
2682
+ };
2656
2683
  };
2657
2684
  responses: never;
2658
2685
  parameters: never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.234.gce19274",
3
+ "version": "0.0.0-dev.236.gebd337c",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {