@leaflow/sdk 0.64.0 → 0.66.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.
@@ -1196,7 +1196,6 @@ export interface components {
1196
1196
  state: "reserved" | "active" | "releasing" | "released";
1197
1197
  /** Format: int64 */
1198
1198
  generation: number;
1199
- /** Format: uuid */
1200
1199
  operation_id: string;
1201
1200
  /** Format: date-time */
1202
1201
  created_at: string;
@@ -164,7 +164,7 @@ export interface paths {
164
164
  put?: never;
165
165
  /**
166
166
  * Create a private network
167
- * @description Creates a network, a router and a default security group in one call. The default security group denies all inbound traffic and permits all outbound traffic.
167
+ * @description Starts creation of a network, router and default security group. The returned resource is `provisioning` until all three are ready. Reuse the same idempotency key after an uncertain response.
168
168
  */
169
169
  post: operations["create-private-network"];
170
170
  delete?: never;
@@ -674,8 +674,11 @@ export interface components {
674
674
  name: string;
675
675
  /** Format: uuid */
676
676
  region_id: string;
677
- /** @enum {string} */
678
- status: "available" | "error";
677
+ /**
678
+ * @description `provisioning` means provider resources are still being created.
679
+ * @enum {string}
680
+ */
681
+ status: "provisioning" | "available" | "error";
679
682
  /** Format: date-time */
680
683
  updated_at: string;
681
684
  };
@@ -692,6 +695,8 @@ export interface components {
692
695
  /** @description Must be an RFC 1918 private CIDR with a prefix length between /8 and /24, for example `10.0.0.0/16` */
693
696
  cidr: string;
694
697
  name: string;
698
+ /** @description Reuse this key only when retrying the same private network request. */
699
+ idempotency_key: string;
695
700
  /** Format: uuid */
696
701
  region_id: string;
697
702
  };
@@ -893,7 +898,6 @@ export interface components {
893
898
  state: "reserved" | "active" | "releasing" | "released";
894
899
  /** Format: int64 */
895
900
  generation: number;
896
- /** Format: uuid */
897
901
  operation_id: string;
898
902
  /** Format: date-time */
899
903
  created_at: string;
@@ -333,7 +333,6 @@ export interface components {
333
333
  state: "reserved" | "active" | "releasing" | "released";
334
334
  /** Format: int64 */
335
335
  generation: number;
336
- /** Format: uuid */
337
336
  operation_id: string;
338
337
  /** Format: date-time */
339
338
  created_at: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.64.0",
3
+ "version": "0.66.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {