@leaflow/sdk 0.65.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.
@@ -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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.65.0",
3
+ "version": "0.66.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {