@leaflow/sdk 0.0.0-dev.228.g03b4230 → 0.0.0-dev.230.g6609f68

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.
@@ -20,8 +20,6 @@ export interface paths {
20
20
  * Disks attached to a running instance, including system disks, can be backed up.
21
21
  *
22
22
  * The duration depends on the amount of data. The backup is not complete when this endpoint returns; track the returned task.
23
- *
24
- * Replays return HTTP 201 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
25
23
  */
26
24
  post: operations["create-backup"];
27
25
  delete?: never;
@@ -49,8 +47,6 @@ export interface paths {
49
47
  * @description Independent of the source disk: deletion succeeds whether or not that disk still exists.
50
48
  *
51
49
  * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the backup, including a pay-as-you-go subscription. `meta.resource_id` names the backup. It is released when its subscription ends.
52
- *
53
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
54
50
  */
55
51
  delete: operations["delete-backup"];
56
52
  options?: never;
@@ -73,8 +69,6 @@ export interface paths {
73
69
  * @description Restores onto a **newly created** disk. The source disk is unaffected and need not still exist.
74
70
  *
75
71
  * The target disk type may belong to another availability zone of the same region, and its capacity must not be smaller than the backup. The disk cannot be attached until the restore completes; track the returned task.
76
- *
77
- * Replays return HTTP 201 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
78
72
  */
79
73
  post: operations["restore-backup"];
80
74
  delete?: never;
@@ -220,8 +214,6 @@ export interface paths {
220
214
  * @description The disk is created in the availability zone of the selected disk type, and an instance must reside in the same zone to attach it. Choosing the disk type therefore determines the zone.
221
215
  *
222
216
  * A disk type that is off sale is rejected with `DISK_TYPE_OFF_SALE`, even though its identifier still resolves. Types that are off sale do not appear in the disk type listing; disks already bought on one keep working and can still be resized.
223
- *
224
- * Replays return HTTP 201 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
225
217
  */
226
218
  post: operations["create-disk"];
227
219
  delete?: never;
@@ -249,8 +241,6 @@ export interface paths {
249
241
  * @description Deletion is rejected while the disk is attached, or while snapshots created from it still exist.
250
242
  *
251
243
  * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the disk, including a pay-as-you-go subscription. `meta.resource_id` names the disk. It is released when its subscription ends.
252
- *
253
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
254
244
  */
255
245
  delete: operations["delete-disk"];
256
246
  options?: never;
@@ -280,8 +270,6 @@ export interface paths {
280
270
  * The request is refused only when the new size has a different performance level. A disk whose type has no QoS level, or whose performance has already reached the maximum of its type, can be resized while attached.
281
271
  *
282
272
  * **A system disk can be resized while attached**, because a system disk cannot be detached. System disk types use a performance level that does not scale with size, so resizing a system disk does not change its performance.
283
- *
284
- * Replays return HTTP 200 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
285
273
  */
286
274
  post: operations["resize-disk"];
287
275
  delete?: never;
@@ -306,8 +294,6 @@ export interface paths {
306
294
  * Three restrictions apply: only the most recent snapshot of the disk can be reverted to; the disk must be detached from its instance first; and a disk resized since the snapshot was taken cannot be reverted. To return to an earlier point in time, or to keep the existing disk, create a new disk from the snapshot instead.
307
295
  *
308
296
  * The revert is not complete when this endpoint returns; poll the retrieve endpoint.
309
- *
310
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
311
297
  */
312
298
  post: operations["revert-disk"];
313
299
  delete?: never;
@@ -333,8 +319,6 @@ export interface paths {
333
319
  * IPv6 is not requested through this endpoint. IPv6 addresses are assigned to instances by the private network; enable IPv6 on that network instead.
334
320
  *
335
321
  * Refused with `PRIVATE_NETWORK_UNAVAILABLE`, before any order is created, when the private network's `status` is not `available`. `meta.private_network_id` names it.
336
- *
337
- * Replays return HTTP 201 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
338
322
  */
339
323
  post: operations["allocate-floating-ip"];
340
324
  delete?: never;
@@ -359,8 +343,6 @@ export interface paths {
359
343
  * @description Releases the floating IP after unbinding it. Completion is reported by the returned task.
360
344
  *
361
345
  * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the address or for its bandwidth, including a pay-as-you-go subscription. `meta.resource_id` names the floating IP. It is released when its subscriptions end.
362
- *
363
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
364
346
  */
365
347
  delete: operations["release-floating-ip"];
366
348
  options?: never;
@@ -381,8 +363,6 @@ export interface paths {
381
363
  * @description The limit applies to inbound and outbound traffic alike. The new limit is not in effect when this endpoint returns; track the returned task.
382
364
  *
383
365
  * While the address is bound to an instance, the limit must not exceed the `max_bandwidth_mbps` of that instance's type; a higher limit is refused with `INSTANCE_BANDWIDTH_CEILING`. The limit of an address that is not bound is checked when the address is bound to an instance.
384
- *
385
- * Replays return HTTP 200 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
386
366
  */
387
367
  put: operations["set-floating-ip-bandwidth"];
388
368
  post?: never;
@@ -428,15 +408,13 @@ export interface paths {
428
408
  put?: never;
429
409
  /**
430
410
  * Create instances
431
- * @description Creates a Billing order, including for metered pricing. The price must belong to the resource’s Billing Plan; applicable contract pricing is resolved by Billing. The instances are created after the order's invoice is paid, or without waiting when the order has no immediate invoice. Do not submit a new purchase after paying, and reuse the original idempotency key after an uncertain response.
411
+ * @description Creates a Billing order, including for metered pricing. The price must belong to the resource’s Billing Plan; applicable contract pricing is resolved by Billing. The instances are created after the order's invoice is paid, or without waiting when the order has no immediate invoice. Do not submit a new purchase after paying. After an uncertain response, look the order up before submitting again.
432
412
  *
433
413
  * Exactly one of image_id, private_image_id or boot_disk_id is required, and exactly one of port_id or subnet_id. Existing ports, boot disks or floating IPs require count=1. Image boots require boot_disk; existing disks retain their own subscription. Instances, disks and public IPs keep their own subscription items on the same order.
434
414
  *
435
415
  * A request for several instances is all or nothing: if any instance cannot be created, every instance of that request is released, the order fails, and any payment for it is refunded. Each instance is named after this request with a number appended, and each has its own task.
436
416
  *
437
417
  * The network is checked before the order is created, and a request it refuses orders and charges nothing. It is refused with `PRIVATE_NETWORK_UNAVAILABLE` when the private network's `status` is not `available`, `SUBNET_UNAVAILABLE` or `SECURITY_GROUP_UNAVAILABLE` when the subnet or a security group is not ready, `SECURITY_GROUP_OTHER_PRIVATE_NETWORK` when a security group belongs to another private network, and `PORT_UNAVAILABLE` when the port's `status` is not `available`. `meta` names the resource.
438
- *
439
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
440
418
  */
441
419
  post: operations["launch-instance"];
442
420
  delete?: never;
@@ -466,8 +444,6 @@ export interface paths {
466
444
  * An instance being captured as a private image cannot be released. Wait for the capture to finish, or delete that image first.
467
445
  *
468
446
  * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the instance, or for a disk that is deleted with it, including a pay-as-you-go subscription. `meta.resource_id` names that resource. It is released when its subscription ends.
469
- *
470
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
471
447
  */
472
448
  delete: operations["delete-instance"];
473
449
  options?: never;
@@ -651,8 +627,6 @@ export interface paths {
651
627
  * An instance suspended by the platform must be unsuspended first.
652
628
  *
653
629
  * This endpoint returns immediately and the `status` it returns is the transient `rebooting`. Poll the instance until it settles at `running`.
654
- *
655
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
656
630
  */
657
631
  post: operations["reboot-instance"];
658
632
  delete?: never;
@@ -694,11 +668,9 @@ export interface paths {
694
668
  put?: never;
695
669
  /**
696
670
  * Resize an instance
697
- * @description Creates a Billing change order, including for metered pricing. The price must belong to the Billing Plan of the target instance type; applicable contract pricing is resolved by Billing. The resize is applied after the order's invoice is paid, or without waiting when the order has no immediate invoice. Do not submit a new purchase after paying, and reuse the original idempotency key after an uncertain response.
671
+ * @description Creates a Billing change order, including for metered pricing. The price must belong to the Billing Plan of the target instance type; applicable contract pricing is resolved by Billing. The resize is applied after the order's invoice is paid, or without waiting when the order has no immediate invoice. Do not submit a new purchase after paying. After an uncertain response, look the order up before submitting again.
698
672
  *
699
673
  * The new instance type takes effect, and is billed from then on, when the returned task succeeds. A completed resize is final and cannot be reverted; to return to the previous type, submit another resize.
700
- *
701
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
702
674
  */
703
675
  post: operations["resize-instance"];
704
676
  delete?: never;
@@ -719,8 +691,6 @@ export interface paths {
719
691
  /**
720
692
  * Start an instance
721
693
  * @description Records the desired power state. An in-flight shutdown is allowed to finish before a subsequent start. Outstanding restrictions can prevent starting. A stopped instance keeps its disks, network attachments and sellable quota. Inspect operation, task_state, power_state and observed_at to determine completion.
722
- *
723
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
724
694
  */
725
695
  post: operations["start-instance"];
726
696
  delete?: never;
@@ -741,8 +711,6 @@ export interface paths {
741
711
  /**
742
712
  * Stop an instance
743
713
  * @description Records the desired power state. An in-flight shutdown is allowed to finish before a subsequent start. Outstanding restrictions can prevent starting. A stopped instance keeps its disks, network attachments and sellable quota. Inspect operation, task_state, power_state and observed_at to determine completion.
744
- *
745
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
746
714
  */
747
715
  post: operations["stop-instance"];
748
716
  delete?: never;
@@ -764,8 +732,6 @@ export interface paths {
764
732
  /**
765
733
  * Attach a disk
766
734
  * @description The disk must be in the same region and availability zone as the instance. Partition it and mount the file system inside the instance once it is attached.
767
- *
768
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
769
735
  */
770
736
  post: operations["attach-disk"];
771
737
  delete?: never;
@@ -787,8 +753,6 @@ export interface paths {
787
753
  /**
788
754
  * Detach a disk
789
755
  * @description Unmount the device inside the instance before calling this endpoint. Forcibly detaching a file system that is being written to corrupts data.
790
- *
791
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
792
756
  */
793
757
  delete: operations["detach-disk"];
794
758
  options?: never;
@@ -846,10 +810,7 @@ export interface paths {
846
810
  /** List the network interfaces of an instance */
847
811
  get: operations["list-instance-ports"];
848
812
  put?: never;
849
- /**
850
- * Attach a network interface
851
- * @description Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
852
- */
813
+ /** Attach a network interface */
853
814
  post: operations["attach-port"];
854
815
  delete?: never;
855
816
  options?: never;
@@ -870,8 +831,6 @@ export interface paths {
870
831
  /**
871
832
  * Detach a network interface
872
833
  * @description The primary network interface cannot be detached; the instance would lose its network address.
873
- *
874
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
875
834
  */
876
835
  delete: operations["detach-port"];
877
836
  options?: never;
@@ -968,8 +927,6 @@ export interface paths {
968
927
  * The file system of a running instance may be captured mid-write, in which case the image is equivalent to the disk contents after a power loss. Where consistency matters, stop the instance before starting the capture and start it again once the status becomes `uploading`.
969
928
  *
970
929
  * The instance can be started, stopped and used normally during the capture, but cannot be released.
971
- *
972
- * Replays return HTTP 201 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
973
930
  */
974
931
  post: operations["create-private-image"];
975
932
  delete?: never;
@@ -999,8 +956,6 @@ export interface paths {
999
956
  * An image whose capture has not finished can be deleted; the capture is aborted.
1000
957
  *
1001
958
  * Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the image, including a pay-as-you-go subscription. `meta.resource_id` names the image. It is released when its subscription ends.
1002
- *
1003
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
1004
959
  */
1005
960
  delete: operations["delete-private-image"];
1006
961
  options?: never;
@@ -1280,8 +1235,6 @@ export interface paths {
1280
1235
  * @description Disks attached to a running instance can be snapshotted. A snapshot records the state of the block device at a point in time and may be inconsistent at the file-system level, so run `sync` inside the instance first where the data matters.
1281
1236
  *
1282
1237
  * **A snapshot of a system disk cannot be used to revert that system disk**: reverting requires the disk to be detached, and a system disk cannot be detached. It can be used to create a new data disk. To preserve and restore an entire system, use a private image; for a copy that crosses availability zones and survives deletion of the disk, use a backup.
1283
- *
1284
- * Replays return HTTP 201 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
1285
1238
  */
1286
1239
  post: operations["create-snapshot"];
1287
1240
  delete?: never;
@@ -1304,8 +1257,6 @@ export interface paths {
1304
1257
  /**
1305
1258
  * Delete a snapshot
1306
1259
  * @description Refused with `COMPUTE_RESOURCE_SUBSCRIBED` while a subscription pays for the snapshot, including a pay-as-you-go subscription. `meta.resource_id` names the snapshot. It is released when its subscription ends.
1307
- *
1308
- * Replays return HTTP 202 for the original operation. See the idempotency conventions for conflicts and terminal outcomes.
1309
1260
  */
1310
1261
  delete: operations["delete-snapshot"];
1311
1262
  options?: never;
@@ -2480,27 +2431,26 @@ export interface components {
2480
2431
  RenameSnapshotRequestBody: {
2481
2432
  name: string;
2482
2433
  };
2483
- /** @description Purchase options. Reuse idempotency_key for retries of the same purchase, including resource creation. Different parameters with the same key return HTTP 409. Replays identify the original purchase and do not create another order. */
2434
+ /** @description Purchase options. Every request places an order of its own. */
2484
2435
  OrderOptions: {
2485
- idempotency_key: string;
2486
2436
  /**
2487
- * @description Defaults to true. When true, the purchase is paid from available account funds and applicable grants when it is placed. If they do not cover the amount due, the request fails with HTTP 422 and code BILLING_INSUFFICIENT_FUNDS; no order is created and nothing is charged. The idempotency key remains bound to the refused request. Retrying with the same key returns HTTP 409 with code ORDER_CLOSED, and purchasing again requires a new idempotency key. When false, the order is created without payment, and its invoice, if any, is paid through Billing.
2437
+ * @description Defaults to true. When true, the purchase is paid from available account funds and applicable grants when it is placed. If they do not cover the amount due, the request fails with HTTP 422 and code BILLING_INSUFFICIENT_FUNDS; no order is created and nothing is charged. When false, the order is created without payment, and its invoice, if any, is paid through Billing.
2488
2438
  * @default true
2489
2439
  */
2490
2440
  auto_pay?: boolean;
2491
2441
  expected_amount?: string;
2492
2442
  redemption_code?: string;
2493
2443
  };
2494
- /** @description Identifies the original purchase. Replays retain these identifiers. Read the order for purchase progress and its invoice for amounts and payment status. */
2444
+ /** @description Identifies the purchase. Read the order for purchase progress and its invoice for amounts and payment status. */
2495
2445
  PlacedOrder: {
2496
2446
  /**
2497
2447
  * Format: uuid
2498
- * @description The invoice for this purchase. Null when there is no immediate invoice. Replays retain this identifier; read the invoice for its current payment state.
2448
+ * @description The invoice for this purchase. Null when there is no immediate invoice. Read the invoice for its current payment state.
2499
2449
  */
2500
2450
  invoice_id: string | null;
2501
2451
  /**
2502
2452
  * Format: uuid
2503
- * @description The original order, including for purchases without an immediate charge. Payment alone does not imply that the service has completed delivery.
2453
+ * @description The order, including for purchases without an immediate charge. Payment alone does not imply that the service has completed delivery.
2504
2454
  */
2505
2455
  order_id: string;
2506
2456
  };
@@ -2508,7 +2458,7 @@ export interface components {
2508
2458
  PurchaseResult: {
2509
2459
  /**
2510
2460
  * Format: uuid
2511
- * @description The original Compute task. Replays retain this identifier, including after failure or cancellation.
2461
+ * @description The Compute task that carries out the purchase.
2512
2462
  */
2513
2463
  task_id: string;
2514
2464
  order: components["schemas"]["PlacedOrder"];
@@ -2642,15 +2592,15 @@ export interface components {
2642
2592
  total_count: number;
2643
2593
  };
2644
2594
  LaunchInstanceResponseBody: {
2645
- /** @description Instances created by this operation. Empty before resource creation starts; a replay may include identifiers produced since the first response. Historical identifiers do not imply that the instances still exist. */
2595
+ /** @description Instances created by this operation. Empty before resource creation starts. */
2646
2596
  instance_ids: string[];
2647
2597
  /**
2648
2598
  * Format: uuid
2649
- * @description The original Compute task. Replays retain this identifier, including after failure or cancellation.
2599
+ * @description The Compute task that carries out the purchase.
2650
2600
  */
2651
2601
  task_id: string;
2652
2602
  order: components["schemas"]["PlacedOrder"];
2653
- /** @description Generated login password, returned only by the initial response. Null on replay or when no password was generated. A retry never generates or resets a password. */
2603
+ /** @description Generated login password, returned only by this response. Null when no password was generated. */
2654
2604
  password: string | null;
2655
2605
  };
2656
2606
  IPv4PoolResource: {
@@ -2754,15 +2704,6 @@ export interface operations {
2754
2704
  "application/json": components["schemas"]["PurchaseResult"];
2755
2705
  };
2756
2706
  };
2757
- /** @description The idempotency key was already used with different parameters in this scope. */
2758
- 409: {
2759
- headers: {
2760
- [name: string]: unknown;
2761
- };
2762
- content: {
2763
- "application/json": components["schemas"]["Error"];
2764
- };
2765
- };
2766
2707
  /** @description Error */
2767
2708
  default: {
2768
2709
  headers: {
@@ -2808,10 +2749,7 @@ export interface operations {
2808
2749
  "delete-backup": {
2809
2750
  parameters: {
2810
2751
  query?: never;
2811
- header: {
2812
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
2813
- "Idempotency-Key": string;
2814
- };
2752
+ header?: never;
2815
2753
  path: {
2816
2754
  backupId: string;
2817
2755
  };
@@ -2828,7 +2766,7 @@ export interface operations {
2828
2766
  "application/json": components["schemas"]["Task"];
2829
2767
  };
2830
2768
  };
2831
- /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
2769
+ /** @description The deletion was refused. */
2832
2770
  409: {
2833
2771
  headers: {
2834
2772
  [name: string]: unknown;
@@ -2907,15 +2845,6 @@ export interface operations {
2907
2845
  "application/json": components["schemas"]["PurchaseResult"];
2908
2846
  };
2909
2847
  };
2910
- /** @description The idempotency key was already used with different parameters in this scope. */
2911
- 409: {
2912
- headers: {
2913
- [name: string]: unknown;
2914
- };
2915
- content: {
2916
- "application/json": components["schemas"]["Error"];
2917
- };
2918
- };
2919
2848
  /** @description Error */
2920
2849
  default: {
2921
2850
  headers: {
@@ -3172,15 +3101,6 @@ export interface operations {
3172
3101
  "application/json": components["schemas"]["PurchaseResult"];
3173
3102
  };
3174
3103
  };
3175
- /** @description The idempotency key was already used with different parameters in this scope. */
3176
- 409: {
3177
- headers: {
3178
- [name: string]: unknown;
3179
- };
3180
- content: {
3181
- "application/json": components["schemas"]["Error"];
3182
- };
3183
- };
3184
3104
  /** @description Error */
3185
3105
  default: {
3186
3106
  headers: {
@@ -3226,10 +3146,7 @@ export interface operations {
3226
3146
  "delete-disk": {
3227
3147
  parameters: {
3228
3148
  query?: never;
3229
- header: {
3230
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
3231
- "Idempotency-Key": string;
3232
- };
3149
+ header?: never;
3233
3150
  path: {
3234
3151
  diskId: string;
3235
3152
  };
@@ -3246,7 +3163,7 @@ export interface operations {
3246
3163
  "application/json": components["schemas"]["Task"];
3247
3164
  };
3248
3165
  };
3249
- /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
3166
+ /** @description The deletion was refused. */
3250
3167
  409: {
3251
3168
  headers: {
3252
3169
  [name: string]: unknown;
@@ -3325,15 +3242,6 @@ export interface operations {
3325
3242
  "application/json": components["schemas"]["PurchaseResult"];
3326
3243
  };
3327
3244
  };
3328
- /** @description The idempotency key was already used with different parameters in this scope. */
3329
- 409: {
3330
- headers: {
3331
- [name: string]: unknown;
3332
- };
3333
- content: {
3334
- "application/json": components["schemas"]["Error"];
3335
- };
3336
- };
3337
3245
  /** @description Error */
3338
3246
  default: {
3339
3247
  headers: {
@@ -3348,10 +3256,7 @@ export interface operations {
3348
3256
  "revert-disk": {
3349
3257
  parameters: {
3350
3258
  query?: never;
3351
- header: {
3352
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
3353
- "Idempotency-Key": string;
3354
- };
3259
+ header?: never;
3355
3260
  path: {
3356
3261
  diskId: string;
3357
3262
  };
@@ -3372,15 +3277,6 @@ export interface operations {
3372
3277
  "application/json": components["schemas"]["Task"];
3373
3278
  };
3374
3279
  };
3375
- /** @description The idempotency key was already used with different parameters in this scope. */
3376
- 409: {
3377
- headers: {
3378
- [name: string]: unknown;
3379
- };
3380
- content: {
3381
- "application/json": components["schemas"]["Error"];
3382
- };
3383
- };
3384
3280
  /** @description Error */
3385
3281
  default: {
3386
3282
  headers: {
@@ -3443,15 +3339,6 @@ export interface operations {
3443
3339
  "application/json": components["schemas"]["PurchaseResult"];
3444
3340
  };
3445
3341
  };
3446
- /** @description The idempotency key was already used with different parameters in this scope. */
3447
- 409: {
3448
- headers: {
3449
- [name: string]: unknown;
3450
- };
3451
- content: {
3452
- "application/json": components["schemas"]["Error"];
3453
- };
3454
- };
3455
3342
  /** @description Error */
3456
3343
  default: {
3457
3344
  headers: {
@@ -3497,10 +3384,7 @@ export interface operations {
3497
3384
  "release-floating-ip": {
3498
3385
  parameters: {
3499
3386
  query?: never;
3500
- header: {
3501
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
3502
- "Idempotency-Key": string;
3503
- };
3387
+ header?: never;
3504
3388
  path: {
3505
3389
  floatingIpId: string;
3506
3390
  };
@@ -3517,7 +3401,7 @@ export interface operations {
3517
3401
  "application/json": components["schemas"]["Task"];
3518
3402
  };
3519
3403
  };
3520
- /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
3404
+ /** @description The deletion was refused. */
3521
3405
  409: {
3522
3406
  headers: {
3523
3407
  [name: string]: unknown;
@@ -3561,15 +3445,6 @@ export interface operations {
3561
3445
  "application/json": components["schemas"]["PurchaseResult"];
3562
3446
  };
3563
3447
  };
3564
- /** @description The idempotency key was already used with different parameters in this scope. */
3565
- 409: {
3566
- headers: {
3567
- [name: string]: unknown;
3568
- };
3569
- content: {
3570
- "application/json": components["schemas"]["Error"];
3571
- };
3572
- };
3573
3448
  /** @description Error */
3574
3449
  default: {
3575
3450
  headers: {
@@ -3703,15 +3578,6 @@ export interface operations {
3703
3578
  "application/json": components["schemas"]["LaunchInstanceResponseBody"];
3704
3579
  };
3705
3580
  };
3706
- /** @description The idempotency key was already used with different parameters in this scope. */
3707
- 409: {
3708
- headers: {
3709
- [name: string]: unknown;
3710
- };
3711
- content: {
3712
- "application/json": components["schemas"]["Error"];
3713
- };
3714
- };
3715
3581
  /** @description Error */
3716
3582
  default: {
3717
3583
  headers: {
@@ -3757,10 +3623,7 @@ export interface operations {
3757
3623
  "delete-instance": {
3758
3624
  parameters: {
3759
3625
  query?: never;
3760
- header: {
3761
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
3762
- "Idempotency-Key": string;
3763
- };
3626
+ header?: never;
3764
3627
  path: {
3765
3628
  instanceId: string;
3766
3629
  };
@@ -3777,7 +3640,7 @@ export interface operations {
3777
3640
  "application/json": components["schemas"]["Task"];
3778
3641
  };
3779
3642
  };
3780
- /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
3643
+ /** @description The deletion was refused. */
3781
3644
  409: {
3782
3645
  headers: {
3783
3646
  [name: string]: unknown;
@@ -4040,10 +3903,7 @@ export interface operations {
4040
3903
  "reboot-instance": {
4041
3904
  parameters: {
4042
3905
  query?: never;
4043
- header: {
4044
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4045
- "Idempotency-Key": string;
4046
- };
3906
+ header?: never;
4047
3907
  path: {
4048
3908
  instanceId: string;
4049
3909
  };
@@ -4064,15 +3924,6 @@ export interface operations {
4064
3924
  "application/json": components["schemas"]["Task"];
4065
3925
  };
4066
3926
  };
4067
- /** @description The idempotency key was already used with different parameters in this scope. */
4068
- 409: {
4069
- headers: {
4070
- [name: string]: unknown;
4071
- };
4072
- content: {
4073
- "application/json": components["schemas"]["Error"];
4074
- };
4075
- };
4076
3927
  /** @description Error */
4077
3928
  default: {
4078
3929
  headers: {
@@ -4143,15 +3994,6 @@ export interface operations {
4143
3994
  "application/json": components["schemas"]["PurchaseResult"];
4144
3995
  };
4145
3996
  };
4146
- /** @description The idempotency key was already used with different parameters in this scope. */
4147
- 409: {
4148
- headers: {
4149
- [name: string]: unknown;
4150
- };
4151
- content: {
4152
- "application/json": components["schemas"]["Error"];
4153
- };
4154
- };
4155
3997
  /** @description Error */
4156
3998
  default: {
4157
3999
  headers: {
@@ -4166,10 +4008,7 @@ export interface operations {
4166
4008
  "start-instance": {
4167
4009
  parameters: {
4168
4010
  query?: never;
4169
- header: {
4170
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4171
- "Idempotency-Key": string;
4172
- };
4011
+ header?: never;
4173
4012
  path: {
4174
4013
  instanceId: string;
4175
4014
  };
@@ -4190,15 +4029,6 @@ export interface operations {
4190
4029
  "application/json": components["schemas"]["Task"];
4191
4030
  };
4192
4031
  };
4193
- /** @description The idempotency key was already used with different parameters in this scope. */
4194
- 409: {
4195
- headers: {
4196
- [name: string]: unknown;
4197
- };
4198
- content: {
4199
- "application/json": components["schemas"]["Error"];
4200
- };
4201
- };
4202
4032
  /** @description Error */
4203
4033
  default: {
4204
4034
  headers: {
@@ -4213,10 +4043,7 @@ export interface operations {
4213
4043
  "stop-instance": {
4214
4044
  parameters: {
4215
4045
  query?: never;
4216
- header: {
4217
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4218
- "Idempotency-Key": string;
4219
- };
4046
+ header?: never;
4220
4047
  path: {
4221
4048
  instanceId: string;
4222
4049
  };
@@ -4237,15 +4064,6 @@ export interface operations {
4237
4064
  "application/json": components["schemas"]["Task"];
4238
4065
  };
4239
4066
  };
4240
- /** @description The idempotency key was already used with different parameters in this scope. */
4241
- 409: {
4242
- headers: {
4243
- [name: string]: unknown;
4244
- };
4245
- content: {
4246
- "application/json": components["schemas"]["Error"];
4247
- };
4248
- };
4249
4067
  /** @description Error */
4250
4068
  default: {
4251
4069
  headers: {
@@ -4294,10 +4112,7 @@ export interface operations {
4294
4112
  "attach-disk": {
4295
4113
  parameters: {
4296
4114
  query?: never;
4297
- header: {
4298
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4299
- "Idempotency-Key": string;
4300
- };
4115
+ header?: never;
4301
4116
  path: {
4302
4117
  instanceId: string;
4303
4118
  };
@@ -4318,15 +4133,6 @@ export interface operations {
4318
4133
  "application/json": components["schemas"]["Task"];
4319
4134
  };
4320
4135
  };
4321
- /** @description The idempotency key was already used with different parameters in this scope. */
4322
- 409: {
4323
- headers: {
4324
- [name: string]: unknown;
4325
- };
4326
- content: {
4327
- "application/json": components["schemas"]["Error"];
4328
- };
4329
- };
4330
4136
  /** @description Error */
4331
4137
  default: {
4332
4138
  headers: {
@@ -4341,10 +4147,7 @@ export interface operations {
4341
4147
  "detach-disk": {
4342
4148
  parameters: {
4343
4149
  query?: never;
4344
- header: {
4345
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4346
- "Idempotency-Key": string;
4347
- };
4150
+ header?: never;
4348
4151
  path: {
4349
4152
  instanceId: string;
4350
4153
  diskId: string;
@@ -4362,15 +4165,6 @@ export interface operations {
4362
4165
  "application/json": components["schemas"]["Task"];
4363
4166
  };
4364
4167
  };
4365
- /** @description The idempotency key was already used with different parameters in this scope. */
4366
- 409: {
4367
- headers: {
4368
- [name: string]: unknown;
4369
- };
4370
- content: {
4371
- "application/json": components["schemas"]["Error"];
4372
- };
4373
- };
4374
4168
  /** @description Error */
4375
4169
  default: {
4376
4170
  headers: {
@@ -4486,10 +4280,7 @@ export interface operations {
4486
4280
  "attach-port": {
4487
4281
  parameters: {
4488
4282
  query?: never;
4489
- header: {
4490
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4491
- "Idempotency-Key": string;
4492
- };
4283
+ header?: never;
4493
4284
  path: {
4494
4285
  instanceId: string;
4495
4286
  };
@@ -4510,15 +4301,6 @@ export interface operations {
4510
4301
  "application/json": components["schemas"]["Task"];
4511
4302
  };
4512
4303
  };
4513
- /** @description The idempotency key was already used with different parameters in this scope. */
4514
- 409: {
4515
- headers: {
4516
- [name: string]: unknown;
4517
- };
4518
- content: {
4519
- "application/json": components["schemas"]["Error"];
4520
- };
4521
- };
4522
4304
  /** @description Error */
4523
4305
  default: {
4524
4306
  headers: {
@@ -4533,10 +4315,7 @@ export interface operations {
4533
4315
  "detach-port": {
4534
4316
  parameters: {
4535
4317
  query?: never;
4536
- header: {
4537
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4538
- "Idempotency-Key": string;
4539
- };
4318
+ header?: never;
4540
4319
  path: {
4541
4320
  instanceId: string;
4542
4321
  portId: string;
@@ -4554,15 +4333,6 @@ export interface operations {
4554
4333
  "application/json": components["schemas"]["Task"];
4555
4334
  };
4556
4335
  };
4557
- /** @description The idempotency key was already used with different parameters in this scope. */
4558
- 409: {
4559
- headers: {
4560
- [name: string]: unknown;
4561
- };
4562
- content: {
4563
- "application/json": components["schemas"]["Error"];
4564
- };
4565
- };
4566
4336
  /** @description Error */
4567
4337
  default: {
4568
4338
  headers: {
@@ -4755,15 +4525,6 @@ export interface operations {
4755
4525
  "application/json": components["schemas"]["PurchaseResult"];
4756
4526
  };
4757
4527
  };
4758
- /** @description The idempotency key was already used with different parameters in this scope. */
4759
- 409: {
4760
- headers: {
4761
- [name: string]: unknown;
4762
- };
4763
- content: {
4764
- "application/json": components["schemas"]["Error"];
4765
- };
4766
- };
4767
4528
  /** @description Error */
4768
4529
  default: {
4769
4530
  headers: {
@@ -4809,10 +4570,7 @@ export interface operations {
4809
4570
  "delete-private-image": {
4810
4571
  parameters: {
4811
4572
  query?: never;
4812
- header: {
4813
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
4814
- "Idempotency-Key": string;
4815
- };
4573
+ header?: never;
4816
4574
  path: {
4817
4575
  privateImageId: string;
4818
4576
  };
@@ -4829,7 +4587,7 @@ export interface operations {
4829
4587
  "application/json": components["schemas"]["Task"];
4830
4588
  };
4831
4589
  };
4832
- /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
4590
+ /** @description The deletion was refused. */
4833
4591
  409: {
4834
4592
  headers: {
4835
4593
  [name: string]: unknown;
@@ -5671,15 +5429,6 @@ export interface operations {
5671
5429
  "application/json": components["schemas"]["PurchaseResult"];
5672
5430
  };
5673
5431
  };
5674
- /** @description The idempotency key was already used with different parameters in this scope. */
5675
- 409: {
5676
- headers: {
5677
- [name: string]: unknown;
5678
- };
5679
- content: {
5680
- "application/json": components["schemas"]["Error"];
5681
- };
5682
- };
5683
5432
  /** @description Error */
5684
5433
  default: {
5685
5434
  headers: {
@@ -5725,10 +5474,7 @@ export interface operations {
5725
5474
  "delete-snapshot": {
5726
5475
  parameters: {
5727
5476
  query?: never;
5728
- header: {
5729
- /** @description Reuse the same key for retries of the same action. A different request with the same key is rejected. */
5730
- "Idempotency-Key": string;
5731
- };
5477
+ header?: never;
5732
5478
  path: {
5733
5479
  snapshotId: string;
5734
5480
  };
@@ -5745,7 +5491,7 @@ export interface operations {
5745
5491
  "application/json": components["schemas"]["Task"];
5746
5492
  };
5747
5493
  };
5748
- /** @description The idempotency key was already used with different parameters in this scope, or the deletion was refused. */
5494
+ /** @description The deletion was refused. */
5749
5495
  409: {
5750
5496
  headers: {
5751
5497
  [name: string]: unknown;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.228.g03b4230",
3
+ "version": "0.0.0-dev.230.g6609f68",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {