@leaflow/sdk 0.65.0 → 0.67.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 Creates a ready-to-use private network. The response is returned only after the network is ready for use. If the client loses the response, repeat this request with the same idempotency key to obtain its final result.
168
168
  */
169
169
  post: operations["create-private-network"];
170
170
  delete?: never;
@@ -674,8 +674,6 @@ export interface components {
674
674
  name: string;
675
675
  /** Format: uuid */
676
676
  region_id: string;
677
- /** @enum {string} */
678
- status: "available" | "error";
679
677
  /** Format: date-time */
680
678
  updated_at: string;
681
679
  };
@@ -692,6 +690,8 @@ export interface components {
692
690
  /** @description Must be an RFC 1918 private CIDR with a prefix length between /8 and /24, for example `10.0.0.0/16` */
693
691
  cidr: string;
694
692
  name: string;
693
+ /** @description Reuse this key only when retrying the same private network request. */
694
+ idempotency_key: string;
695
695
  /** Format: uuid */
696
696
  region_id: string;
697
697
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.65.0",
3
+ "version": "0.67.0",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {