@leaflow/sdk 0.0.0-dev.441.gdbb8c45 → 0.0.0-dev.445.gdb652b7

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.
Files changed (66) hide show
  1. package/dist/assistant/v1/generated/models.d.ts +90 -3
  2. package/dist/assistant/v1/generated/models.js +3 -0
  3. package/dist/assistant/v1/generated/schemas.zod.d.ts +14 -0
  4. package/dist/assistant/v1/generated/validators/createTaskRequestBody.zod.d.ts +7 -0
  5. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.d.ts +1 -0
  6. package/dist/assistant/v1/generated/validators/searchTasksRequestBody.zod.js +1 -1
  7. package/dist/assistant/v1/generated/validators/taskListResponseBody.zod.d.ts +20 -0
  8. package/dist/assistant/v1/generated/validators/taskResource.zod.d.ts +20 -0
  9. package/dist/assistant/v1/generated/validators/taskResource.zod.js +7 -0
  10. package/dist/assistant/v1/generated/validators/taskRunEvent.zod.d.ts +37 -0
  11. package/dist/assistant/v1/generated/validators/taskRunEvent.zod.js +40 -0
  12. package/dist/assistant/v1/generated/validators/taskRunListResponseBody.zod.d.ts +11 -0
  13. package/dist/assistant/v1/generated/validators/taskRunResource.zod.d.ts +11 -0
  14. package/dist/assistant/v1/generated/validators/taskRunResource.zod.js +10 -2
  15. package/dist/assistant/v1/generated/validators/taskTrigger.zod.d.ts +12 -0
  16. package/dist/assistant/v1/generated/validators/taskTrigger.zod.js +36 -2
  17. package/dist/assistant/v1/generated/validators/updateTaskRequestBody.zod.d.ts +7 -0
  18. package/dist/compute/v2/generated/models.d.ts +37 -0
  19. package/dist/compute/v2/generated/models.js +5 -0
  20. package/dist/compute/v2/generated/validators/createElasticIPResponseBody.zod.d.ts +9 -0
  21. package/dist/compute/v2/generated/validators/createInstanceResponseBody.zod.d.ts +9 -0
  22. package/dist/compute/v2/generated/validators/createPrivateImageResponseBody.zod.d.ts +9 -0
  23. package/dist/compute/v2/generated/validators/createVolumeBackupResponseBody.zod.d.ts +9 -0
  24. package/dist/compute/v2/generated/validators/createVolumeResponseBody.zod.d.ts +9 -0
  25. package/dist/compute/v2/generated/validators/createVolumeSnapshotResponseBody.zod.d.ts +9 -0
  26. package/dist/compute/v2/generated/validators/deleteElasticIPResponseBody.zod.d.ts +9 -0
  27. package/dist/compute/v2/generated/validators/deleteInstanceResponseBody.zod.d.ts +9 -0
  28. package/dist/compute/v2/generated/validators/deletePrivateImageResponseBody.zod.d.ts +9 -0
  29. package/dist/compute/v2/generated/validators/deleteVolumeBackupResponseBody.zod.d.ts +9 -0
  30. package/dist/compute/v2/generated/validators/deleteVolumeResponseBody.zod.d.ts +9 -0
  31. package/dist/compute/v2/generated/validators/deleteVolumeSnapshotResponseBody.zod.d.ts +9 -0
  32. package/dist/compute/v2/generated/validators/elasticIP.zod.d.ts +9 -0
  33. package/dist/compute/v2/generated/validators/elasticIP.zod.js +4 -0
  34. package/dist/compute/v2/generated/validators/elasticIPListResponseBody.zod.d.ts +9 -0
  35. package/dist/compute/v2/generated/validators/instance.zod.d.ts +9 -0
  36. package/dist/compute/v2/generated/validators/instance.zod.js +4 -0
  37. package/dist/compute/v2/generated/validators/instanceListResponseBody.zod.d.ts +9 -0
  38. package/dist/compute/v2/generated/validators/latestOperation.zod.d.ts +46 -0
  39. package/dist/compute/v2/generated/validators/latestOperation.zod.js +46 -0
  40. package/dist/compute/v2/generated/validators/networkInterface.zod.d.ts +9 -0
  41. package/dist/compute/v2/generated/validators/networkInterface.zod.js +4 -0
  42. package/dist/compute/v2/generated/validators/networkInterfaceListResponseBody.zod.d.ts +9 -0
  43. package/dist/compute/v2/generated/validators/privateImageListResponseBody.zod.d.ts +9 -0
  44. package/dist/compute/v2/generated/validators/privateImageResource.zod.d.ts +9 -0
  45. package/dist/compute/v2/generated/validators/privateImageResource.zod.js +4 -0
  46. package/dist/compute/v2/generated/validators/rebuildInstanceResponseBody.zod.d.ts +9 -0
  47. package/dist/compute/v2/generated/validators/rescueInstanceResponseBody.zod.d.ts +9 -0
  48. package/dist/compute/v2/generated/validators/updateElasticIPResponseBody.zod.d.ts +9 -0
  49. package/dist/compute/v2/generated/validators/updateInstanceResponseBody.zod.d.ts +9 -0
  50. package/dist/compute/v2/generated/validators/updateVolumeResponseBody.zod.d.ts +9 -0
  51. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.d.ts +9 -0
  52. package/dist/compute/v2/generated/validators/virtualPrivateCloud.zod.js +4 -0
  53. package/dist/compute/v2/generated/validators/virtualPrivateCloudListResponseBody.zod.d.ts +9 -0
  54. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringListResponseBody.zod.d.ts +9 -0
  55. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.d.ts +9 -0
  56. package/dist/compute/v2/generated/validators/virtualPrivateCloudPeeringResource.zod.js +4 -0
  57. package/dist/compute/v2/generated/validators/volumeBackupListResponseBody.zod.d.ts +9 -0
  58. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.d.ts +9 -0
  59. package/dist/compute/v2/generated/validators/volumeBackupResource.zod.js +4 -0
  60. package/dist/compute/v2/generated/validators/volumeListResponseBody.zod.d.ts +9 -0
  61. package/dist/compute/v2/generated/validators/volumeResource.zod.d.ts +9 -0
  62. package/dist/compute/v2/generated/validators/volumeResource.zod.js +4 -0
  63. package/dist/compute/v2/generated/validators/volumeSnapshotListResponseBody.zod.d.ts +9 -0
  64. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.d.ts +9 -0
  65. package/dist/compute/v2/generated/validators/volumeSnapshotResource.zod.js +4 -0
  66. package/package.json +1 -1
@@ -35,6 +35,7 @@
35
35
  import * as zod from "zod";
36
36
  import { ImageID } from "./imageID.zod.js";
37
37
  import { InstanceID } from "./instanceID.zod.js";
38
+ import { LatestOperation } from "./latestOperation.zod.js";
38
39
  import { RegionID } from "./regionID.zod.js";
39
40
  import { ReleaseSetItem } from "./releaseSetItem.zod.js";
40
41
  export const privateImageResourceLoginUsernameMax = 32;
@@ -111,5 +112,8 @@ export const PrivateImageResource = zod
111
112
  release_set: zod
112
113
  .array(ReleaseSetItem)
113
114
  .describe("The subscription that pays for this private image, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription pays for it, and once it is released."),
115
+ latest_operation: zod
116
+ .union([LatestOperation, zod.null()])
117
+ .describe("The most recent operation started on the image; null when none has been recorded."),
114
118
  })
115
119
  .describe("An image this project captured from one of its instances, used to install instances of this project. Its storage is billed only to this project. Reclaimed for non-payment while instances installed from it remain, it is kept, unusable and no longer charged, and deleted once the last of them is released.");
@@ -144,6 +144,15 @@ export declare const RebuildInstanceResponseBody: zod.ZodObject<{
144
144
  source_volume_id: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
145
145
  launch_template_id: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
146
146
  launch_template_version_number: zod.ZodNullable<zod.ZodInt>;
147
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
148
+ name: zod.ZodString;
149
+ state: zod.ZodEnum<{
150
+ failed: "failed";
151
+ succeeded: "succeeded";
152
+ operating: "operating";
153
+ }>;
154
+ started_at: zod.z.ZodISODateTime;
155
+ }, zod.z.core.$strict>, zod.ZodNull]>;
147
156
  }, zod.z.core.$strict>;
148
157
  password: zod.ZodNullable<zod.ZodString>;
149
158
  }, zod.z.core.$strict>;
@@ -145,6 +145,15 @@ export declare const RescueInstanceResponseBody: zod.ZodObject<{
145
145
  source_volume_id: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
146
146
  launch_template_id: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
147
147
  launch_template_version_number: zod.ZodNullable<zod.ZodInt>;
148
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
149
+ name: zod.ZodString;
150
+ state: zod.ZodEnum<{
151
+ failed: "failed";
152
+ succeeded: "succeeded";
153
+ operating: "operating";
154
+ }>;
155
+ started_at: zod.z.ZodISODateTime;
156
+ }, zod.z.core.$strict>, zod.ZodNull]>;
148
157
  }, zod.z.core.$strict>;
149
158
  }, zod.z.core.$strict>;
150
159
  export type RescueInstanceResponseBody = zod.input<typeof RescueInstanceResponseBody>;
@@ -124,6 +124,15 @@ export declare const UpdateElasticIPResponseBody: zod.ZodObject<{
124
124
  disassociated_at: zod.ZodNullable<zod.z.ZodISODateTime>;
125
125
  released_at: zod.ZodNullable<zod.z.ZodISODateTime>;
126
126
  }, zod.z.core.$strict>, zod.ZodNull]>;
127
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
128
+ name: zod.ZodString;
129
+ state: zod.ZodEnum<{
130
+ failed: "failed";
131
+ succeeded: "succeeded";
132
+ operating: "operating";
133
+ }>;
134
+ started_at: zod.z.ZodISODateTime;
135
+ }, zod.z.core.$strict>, zod.ZodNull]>;
127
136
  }, zod.z.core.$strict>;
128
137
  checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
129
138
  order_id: zod.ZodNullable<zod.ZodUUID>;
@@ -144,6 +144,15 @@ export declare const UpdateInstanceResponseBody: zod.ZodObject<{
144
144
  source_volume_id: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
145
145
  launch_template_id: zod.ZodUnion<readonly [zod.ZodString, zod.ZodNull]>;
146
146
  launch_template_version_number: zod.ZodNullable<zod.ZodInt>;
147
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
148
+ name: zod.ZodString;
149
+ state: zod.ZodEnum<{
150
+ failed: "failed";
151
+ succeeded: "succeeded";
152
+ operating: "operating";
153
+ }>;
154
+ started_at: zod.z.ZodISODateTime;
155
+ }, zod.z.core.$strict>, zod.ZodNull]>;
147
156
  }, zod.z.core.$strict>;
148
157
  checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
149
158
  order_id: zod.ZodNullable<zod.ZodUUID>;
@@ -135,6 +135,15 @@ export declare const UpdateVolumeResponseBody: zod.ZodObject<{
135
135
  throughput_bytes_per_second: zod.ZodInt;
136
136
  }, zod.z.core.$strict>, zod.ZodNull]>;
137
137
  }, zod.z.core.$strict>, zod.ZodNull]>;
138
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
139
+ name: zod.ZodString;
140
+ state: zod.ZodEnum<{
141
+ failed: "failed";
142
+ succeeded: "succeeded";
143
+ operating: "operating";
144
+ }>;
145
+ started_at: zod.z.ZodISODateTime;
146
+ }, zod.z.core.$strict>, zod.ZodNull]>;
138
147
  }, zod.z.core.$strict>;
139
148
  checkout_session_id: zod.ZodNullable<zod.ZodUUID>;
140
149
  order_id: zod.ZodNullable<zod.ZodUUID>;
@@ -49,6 +49,15 @@ export declare const VirtualPrivateCloud: zod.ZodObject<{
49
49
  }>;
50
50
  created_at: zod.z.ZodISODateTime;
51
51
  updated_at: zod.z.ZodISODateTime;
52
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
53
+ name: zod.ZodString;
54
+ state: zod.ZodEnum<{
55
+ failed: "failed";
56
+ succeeded: "succeeded";
57
+ operating: "operating";
58
+ }>;
59
+ started_at: zod.z.ZodISODateTime;
60
+ }, zod.z.core.$strict>, zod.ZodNull]>;
52
61
  }, zod.z.core.$strict>;
53
62
  export type VirtualPrivateCloud = zod.input<typeof VirtualPrivateCloud>;
54
63
  export type VirtualPrivateCloudOutput = zod.output<typeof VirtualPrivateCloud>;
@@ -33,6 +33,7 @@
33
33
  * OpenAPI spec version: 2.0.0
34
34
  */
35
35
  import * as zod from "zod";
36
+ import { LatestOperation } from "./latestOperation.zod.js";
36
37
  import { RegionID } from "./regionID.zod.js";
37
38
  import { VirtualPrivateCloudID } from "./virtualPrivateCloudID.zod.js";
38
39
  export const VirtualPrivateCloud = zod.strictObject({
@@ -49,4 +50,7 @@ export const VirtualPrivateCloud = zod.strictObject({
49
50
  .describe("`available` from creation: the network and router are created in the backend by the first member that needs them, so a virtual private cloud nothing uses holds no capacity there. `failed` means the cloud reports the network broken; instances cannot be created in it then and are refused with `VIRTUAL_PRIVATE_CLOUD_UNAVAILABLE`. `deleting` from the moment its deletion began until it is gone: subnets, security groups and routes in it can no longer be created, changed or deleted, and are refused with `VIRTUAL_PRIVATE_CLOUD_DELETING`. A deletion that stopped before the end leaves it `deleting`, and deleting it again resumes from where it stopped. `creating`, `enabling_ipv6` and `disabling_ipv6` name operations in progress; the network refuses another operation until they end."),
50
51
  created_at: zod.iso.datetime({ offset: true }),
51
52
  updated_at: zod.iso.datetime({ offset: true }),
53
+ latest_operation: zod
54
+ .union([LatestOperation, zod.null()])
55
+ .describe("The most recent operation started on the virtual private cloud; null when none has been recorded."),
52
56
  });
@@ -50,6 +50,15 @@ export declare const VirtualPrivateCloudListResponseBody: zod.ZodObject<{
50
50
  }>;
51
51
  created_at: zod.z.ZodISODateTime;
52
52
  updated_at: zod.z.ZodISODateTime;
53
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
54
+ name: zod.ZodString;
55
+ state: zod.ZodEnum<{
56
+ failed: "failed";
57
+ succeeded: "succeeded";
58
+ operating: "operating";
59
+ }>;
60
+ started_at: zod.z.ZodISODateTime;
61
+ }, zod.z.core.$strict>, zod.ZodNull]>;
53
62
  }, zod.z.core.$strict>>;
54
63
  pagination: zod.ZodObject<{
55
64
  page: zod.ZodInt;
@@ -57,6 +57,15 @@ export declare const VirtualPrivateCloudPeeringListResponseBody: zod.ZodObject<{
57
57
  }>;
58
58
  created_at: zod.z.ZodISODateTime;
59
59
  failure_reason: zod.ZodNullable<zod.ZodString>;
60
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
61
+ name: zod.ZodString;
62
+ state: zod.ZodEnum<{
63
+ failed: "failed";
64
+ succeeded: "succeeded";
65
+ operating: "operating";
66
+ }>;
67
+ started_at: zod.z.ZodISODateTime;
68
+ }, zod.z.core.$strict>, zod.ZodNull]>;
60
69
  }, zod.z.core.$strict>>;
61
70
  pagination: zod.ZodObject<{
62
71
  page: zod.ZodInt;
@@ -56,6 +56,15 @@ export declare const VirtualPrivateCloudPeeringResource: zod.ZodObject<{
56
56
  }>;
57
57
  created_at: zod.z.ZodISODateTime;
58
58
  failure_reason: zod.ZodNullable<zod.ZodString>;
59
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
60
+ name: zod.ZodString;
61
+ state: zod.ZodEnum<{
62
+ failed: "failed";
63
+ succeeded: "succeeded";
64
+ operating: "operating";
65
+ }>;
66
+ started_at: zod.z.ZodISODateTime;
67
+ }, zod.z.core.$strict>, zod.ZodNull]>;
59
68
  }, zod.z.core.$strict>;
60
69
  export type VirtualPrivateCloudPeeringResource = zod.input<typeof VirtualPrivateCloudPeeringResource>;
61
70
  export type VirtualPrivateCloudPeeringResourceOutput = zod.output<typeof VirtualPrivateCloudPeeringResource>;
@@ -33,6 +33,7 @@
33
33
  * OpenAPI spec version: 2.0.0
34
34
  */
35
35
  import * as zod from "zod";
36
+ import { LatestOperation } from "./latestOperation.zod.js";
36
37
  import { RegionID } from "./regionID.zod.js";
37
38
  import { VirtualPrivateCloudID } from "./virtualPrivateCloudID.zod.js";
38
39
  import { VirtualPrivateCloudPeeringID } from "./virtualPrivateCloudPeeringID.zod.js";
@@ -55,4 +56,7 @@ export const VirtualPrivateCloudPeeringResource = zod.strictObject({
55
56
  .string()
56
57
  .nullable()
57
58
  .describe("Why provisioning failed; null unless `status` is `failed`."),
59
+ latest_operation: zod
60
+ .union([LatestOperation, zod.null()])
61
+ .describe("The most recent operation started on the peering; null when none has been recorded."),
58
62
  });
@@ -98,6 +98,15 @@ export declare const VolumeBackupListResponseBody: zod.ZodObject<{
98
98
  name: zod.ZodString;
99
99
  }, zod.z.core.$strict>], "type">;
100
100
  }, zod.z.core.$strict>>;
101
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
102
+ name: zod.ZodString;
103
+ state: zod.ZodEnum<{
104
+ failed: "failed";
105
+ succeeded: "succeeded";
106
+ operating: "operating";
107
+ }>;
108
+ started_at: zod.z.ZodISODateTime;
109
+ }, zod.z.core.$strict>, zod.ZodNull]>;
101
110
  }, zod.z.core.$strict>>>;
102
111
  pagination: zod.ZodObject<{
103
112
  page: zod.ZodInt;
@@ -97,6 +97,15 @@ export declare const VolumeBackupResource: zod.ZodObject<{
97
97
  name: zod.ZodString;
98
98
  }, zod.z.core.$strict>], "type">;
99
99
  }, zod.z.core.$strict>>;
100
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
101
+ name: zod.ZodString;
102
+ state: zod.ZodEnum<{
103
+ failed: "failed";
104
+ succeeded: "succeeded";
105
+ operating: "operating";
106
+ }>;
107
+ started_at: zod.z.ZodISODateTime;
108
+ }, zod.z.core.$strict>, zod.ZodNull]>;
100
109
  }, zod.z.core.$strict>;
101
110
  export type VolumeBackupResource = zod.input<typeof VolumeBackupResource>;
102
111
  export type VolumeBackupResourceOutput = zod.output<typeof VolumeBackupResource>;
@@ -34,6 +34,7 @@
34
34
  */
35
35
  import * as zod from "zod";
36
36
  import { AvailabilityZoneID } from "./availabilityZoneID.zod.js";
37
+ import { LatestOperation } from "./latestOperation.zod.js";
37
38
  import { RegionID } from "./regionID.zod.js";
38
39
  import { ReleaseSetItem } from "./releaseSetItem.zod.js";
39
40
  import { VolumeBackupID } from "./volumeBackupID.zod.js";
@@ -82,5 +83,8 @@ export const VolumeBackupResource = zod
82
83
  release_set: zod
83
84
  .array(ReleaseSetItem)
84
85
  .describe("The subscription that pays for this volume backup, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription pays for it, and once it is released."),
86
+ latest_operation: zod
87
+ .union([LatestOperation, zod.null()])
88
+ .describe("The most recent operation started on the backup; null when none has been recorded."),
85
89
  })
86
90
  .describe("A retained copy of a volume, restorable after its source volume is deleted. Compute project quotas constrain its count; retained storage is metered independently.");
@@ -135,6 +135,15 @@ export declare const VolumeListResponseBody: zod.ZodObject<{
135
135
  throughput_bytes_per_second: zod.ZodInt;
136
136
  }, zod.z.core.$strict>, zod.ZodNull]>;
137
137
  }, zod.z.core.$strict>, zod.ZodNull]>;
138
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
139
+ name: zod.ZodString;
140
+ state: zod.ZodEnum<{
141
+ failed: "failed";
142
+ succeeded: "succeeded";
143
+ operating: "operating";
144
+ }>;
145
+ started_at: zod.z.ZodISODateTime;
146
+ }, zod.z.core.$strict>, zod.ZodNull]>;
138
147
  }, zod.z.core.$strict>>>;
139
148
  pagination: zod.ZodObject<{
140
149
  page: zod.ZodInt;
@@ -134,6 +134,15 @@ export declare const VolumeResource: zod.ZodObject<{
134
134
  throughput_bytes_per_second: zod.ZodInt;
135
135
  }, zod.z.core.$strict>, zod.ZodNull]>;
136
136
  }, zod.z.core.$strict>, zod.ZodNull]>;
137
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
138
+ name: zod.ZodString;
139
+ state: zod.ZodEnum<{
140
+ failed: "failed";
141
+ succeeded: "succeeded";
142
+ operating: "operating";
143
+ }>;
144
+ started_at: zod.z.ZodISODateTime;
145
+ }, zod.z.core.$strict>, zod.ZodNull]>;
137
146
  }, zod.z.core.$strict>;
138
147
  export type VolumeResource = zod.input<typeof VolumeResource>;
139
148
  export type VolumeResourceOutput = zod.output<typeof VolumeResource>;
@@ -34,6 +34,7 @@
34
34
  */
35
35
  import * as zod from "zod";
36
36
  import { AvailabilityZoneID } from "./availabilityZoneID.zod.js";
37
+ import { LatestOperation } from "./latestOperation.zod.js";
37
38
  import { RegionID } from "./regionID.zod.js";
38
39
  import { ReleaseSetItem } from "./releaseSetItem.zod.js";
39
40
  import { VolumeAttachment } from "./volumeAttachment.zod.js";
@@ -101,4 +102,7 @@ export const VolumeResource = zod.strictObject({
101
102
  .nullable()
102
103
  .describe("Why creation failed; null unless `status` is `failed`. `checkout_expired` means checkout was not completed before its Checkout Session expired. `provisioning_failed` means creation failed after the order was accepted, and the charge for this volume is refunded."),
103
104
  attachment: zod.union([VolumeAttachment, zod.null()]),
105
+ latest_operation: zod
106
+ .union([LatestOperation, zod.null()])
107
+ .describe("The most recent operation started on the volume; null when none has been recorded."),
104
108
  });
@@ -97,6 +97,15 @@ export declare const VolumeSnapshotListResponseBody: zod.ZodObject<{
97
97
  name: zod.ZodString;
98
98
  }, zod.z.core.$strict>], "type">;
99
99
  }, zod.z.core.$strict>>;
100
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
101
+ name: zod.ZodString;
102
+ state: zod.ZodEnum<{
103
+ failed: "failed";
104
+ succeeded: "succeeded";
105
+ operating: "operating";
106
+ }>;
107
+ started_at: zod.z.ZodISODateTime;
108
+ }, zod.z.core.$strict>, zod.ZodNull]>;
100
109
  }, zod.z.core.$strict>>>;
101
110
  pagination: zod.ZodObject<{
102
111
  page: zod.ZodInt;
@@ -96,6 +96,15 @@ export declare const VolumeSnapshotResource: zod.ZodObject<{
96
96
  name: zod.ZodString;
97
97
  }, zod.z.core.$strict>], "type">;
98
98
  }, zod.z.core.$strict>>;
99
+ latest_operation: zod.ZodUnion<readonly [zod.ZodObject<{
100
+ name: zod.ZodString;
101
+ state: zod.ZodEnum<{
102
+ failed: "failed";
103
+ succeeded: "succeeded";
104
+ operating: "operating";
105
+ }>;
106
+ started_at: zod.z.ZodISODateTime;
107
+ }, zod.z.core.$strict>, zod.ZodNull]>;
99
108
  }, zod.z.core.$strict>;
100
109
  export type VolumeSnapshotResource = zod.input<typeof VolumeSnapshotResource>;
101
110
  export type VolumeSnapshotResourceOutput = zod.output<typeof VolumeSnapshotResource>;
@@ -34,6 +34,7 @@
34
34
  */
35
35
  import * as zod from "zod";
36
36
  import { AvailabilityZoneID } from "./availabilityZoneID.zod.js";
37
+ import { LatestOperation } from "./latestOperation.zod.js";
37
38
  import { RegionID } from "./regionID.zod.js";
38
39
  import { ReleaseSetItem } from "./releaseSetItem.zod.js";
39
40
  import { VolumeID } from "./volumeID.zod.js";
@@ -79,5 +80,8 @@ export const VolumeSnapshotResource = zod
79
80
  release_set: zod
80
81
  .array(ReleaseSetItem)
81
82
  .describe("The subscription that pays for this snapshot, with the resource it pays for, so that a cancellation through Billing can name what it releases. Empty when no subscription pays for it, and once it is released."),
83
+ latest_operation: zod
84
+ .union([LatestOperation, zod.null()])
85
+ .describe("The most recent operation started on the snapshot; null when none has been recorded."),
82
86
  })
83
87
  .describe("A snapshot of a volume. Compute project quotas constrain its count; retained storage is metered independently of that quota.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leaflow/sdk",
3
- "version": "0.0.0-dev.441.gdbb8c45",
3
+ "version": "0.0.0-dev.445.gdb652b7",
4
4
  "description": "Leaflow 平台 API 的 TypeScript SDK",
5
5
  "license": "MIT",
6
6
  "repository": {