@phala/cloud 0.2.9 → 0.3.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.
Files changed (70) hide show
  1. package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +324 -75
  2. package/dist/actions/apps/check_app_is_allowed.d.ts +16 -16
  3. package/dist/actions/apps/create_app_instance.d.ts +33 -24
  4. package/dist/actions/apps/get_app_attestation.d.ts +82 -32
  5. package/dist/actions/apps/get_app_device_allowlist.d.ts +281 -11
  6. package/dist/actions/apps/get_app_filter_options.d.ts +2 -2
  7. package/dist/actions/apps/get_app_list.d.ts +2 -2
  8. package/dist/actions/cvms/check_cvm_is_allowed.d.ts +142 -74
  9. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
  10. package/dist/actions/cvms/commit_cvm_provision.d.ts +424 -277
  11. package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
  12. package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
  13. package/dist/actions/cvms/delete_cvm.d.ts +2 -2
  14. package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
  15. package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
  16. package/dist/actions/cvms/get_cvm_compose_file.d.ts +338 -10
  17. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
  18. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
  19. package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
  20. package/dist/actions/cvms/get_cvm_list.d.ts +4 -4
  21. package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
  22. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
  23. package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
  24. package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
  25. package/dist/actions/cvms/get_cvm_status_batch.d.ts +6 -6
  26. package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
  27. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +93 -0
  28. package/dist/actions/cvms/patch_cvm.d.ts +18 -18
  29. package/dist/actions/cvms/provision_cvm.d.ts +243 -225
  30. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +254 -38
  31. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +130 -43
  32. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +294 -110
  33. package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
  34. package/dist/actions/cvms/restart_cvm.d.ts +7 -72
  35. package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
  36. package/dist/actions/cvms/start_cvm.d.ts +7 -72
  37. package/dist/actions/cvms/stop_cvm.d.ts +7 -72
  38. package/dist/actions/cvms/update_cvm_envs.d.ts +20 -20
  39. package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
  40. package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -26
  41. package/dist/actions/cvms/update_docker_compose.d.ts +20 -20
  42. package/dist/actions/cvms/update_os_image.d.ts +2 -2
  43. package/dist/actions/cvms/update_prelaunch_script.d.ts +20 -20
  44. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +319 -0
  45. package/dist/actions/get_cvm_create_resources.d.ts +2412 -0
  46. package/dist/actions/index.d.ts +3 -0
  47. package/dist/actions/kms/get_kms_list.d.ts +10 -10
  48. package/dist/actions/kms/next_app_ids.d.ts +6 -6
  49. package/dist/actions/list-instance-types.d.ts +12 -12
  50. package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
  51. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
  52. package/dist/actions/workspaces/get_workspace.d.ts +2 -0
  53. package/dist/actions/workspaces/get_workspace_nodes.d.ts +14 -14
  54. package/dist/actions/workspaces/list_workspaces.d.ts +18 -0
  55. package/dist/client.d.ts +5 -2
  56. package/dist/create-client.d.ts +48 -0
  57. package/dist/index.js +1882 -1257
  58. package/dist/index.mjs +1850 -1255
  59. package/dist/types/app_compose.d.ts +125 -0
  60. package/dist/types/app_info_v20251028.d.ts +136 -259
  61. package/dist/types/app_info_v20260121.d.ts +4677 -345
  62. package/dist/types/app_revision.d.ts +8 -8
  63. package/dist/types/client.d.ts +2 -2
  64. package/dist/types/cvm_id.d.ts +6 -6
  65. package/dist/types/cvm_info.d.ts +536 -10
  66. package/dist/types/cvm_info_v20251028.d.ts +65 -65
  67. package/dist/types/cvm_info_v20260121.d.ts +1636 -85
  68. package/dist/types/version-mappings.d.ts +45 -8
  69. package/dist/utils/errors.d.ts +8 -1
  70. package/package.json +2 -2
@@ -1,5 +1,6 @@
1
1
  export { getCurrentUser, safeGetCurrentUser, CurrentUserSchema, type CurrentUser, } from "./get_current_user";
2
2
  export { getAvailableNodes, safeGetAvailableNodes, AvailableNodesSchema, type AvailableNodes, type AvailableOSImage, type TeepodCapacity, type ResourceThreshold, } from "./get_available_nodes";
3
+ export { getCvmCreateResources, safeGetCvmCreateResources, CvmCreateResourceGraphSchema, CvmCreateResourceGraphV20260121Schema, CvmCreateResourceGraphV20260522Schema, CvmCreateKmsResourceSchema, CvmCreateKmsResourceV20260121Schema, CvmCreateNodeKmsRelationSchema, CvmCreateNodeKmsRelationV20260121Schema, CvmCreateGatewayResourceSchema, CvmCreateGatewayResourceV20260121Schema, CvmCreateInstanceTypeResourceSchema, GpuAvailabilitySchema, type CvmCreateResourceGraph, type CvmCreateResourceGraphV20260121, type CvmCreateResourceGraphV20260522, type CvmCreateKmsResource, type CvmCreateKmsResourceV20260121, type CvmCreateNodeKmsRelation, type CvmCreateNodeKmsRelationV20260121, type CvmCreateGatewayResource, type CvmCreateGatewayResourceV20260121, type CvmCreateInstanceTypeResource, type GpuAvailability, } from "./get_cvm_create_resources";
3
4
  export { provisionCvm, safeProvisionCvm, ProvisionCvmSchema, type ProvisionCvm, ProvisionCvmRequestSchema, type ProvisionCvmRequest, } from "./cvms/provision_cvm";
4
5
  export { commitCvmProvision, safeCommitCvmProvision, CommitCvmProvisionSchema, type CommitCvmProvision, CommitCvmProvisionRequestSchema, type CommitCvmProvisionRequest, } from "./cvms/commit_cvm_provision";
5
6
  export { deployAppAuth, safeDeployAppAuth, type DeployAppAuthParameters, type DeployAppAuthReturnType, DeployAppAuthSchema, type DeployAppAuth, DeployAppAuthRequestSchema, type DeployAppAuthRequest, type SafeDeployAppAuthResult, } from "./blockchains/deploy_app_auth";
@@ -53,6 +54,8 @@ export { updateOsImage, safeUpdateOsImage, UpdateOsImageRequestSchema, type Upda
53
54
  export { updateDockerCompose, safeUpdateDockerCompose, UpdateDockerComposeRequestSchema, type UpdateDockerComposeRequest, UpdateDockerComposeResultSchema, type UpdateDockerComposeResult, type UpdateDockerComposeInProgress, type UpdateDockerComposePreconditionRequired, } from "./cvms/update_docker_compose";
54
55
  export { updatePreLaunchScript, safeUpdatePreLaunchScript, UpdatePreLaunchScriptRequestSchema, type UpdatePreLaunchScriptRequest, UpdatePreLaunchScriptResultSchema, type UpdatePreLaunchScriptResult, type UpdatePreLaunchScriptInProgress, type UpdatePreLaunchScriptPreconditionRequired, } from "./cvms/update_prelaunch_script";
55
56
  export { getCvmPreLaunchScript, safeGetCvmPreLaunchScript, GetCvmPreLaunchScriptRequestSchema, type GetCvmPreLaunchScriptRequest, } from "./cvms/get_cvm_prelaunch_script";
57
+ export { getPreLaunchScriptUpgradeStatus, safeGetPreLaunchScriptUpgradeStatus, GetPreLaunchScriptUpgradeStatusRequestSchema, type GetPreLaunchScriptUpgradeStatusRequest, PreLaunchScriptUpgradeStatusSchema, type PreLaunchScriptUpgradeStatus, } from "./cvms/get_prelaunch_script_upgrade_status";
58
+ export { upgradePreLaunchScript, safeUpgradePreLaunchScript, UpgradePreLaunchScriptRequestSchema, type UpgradePreLaunchScriptRequest, UpgradePreLaunchScriptResultSchema, type UpgradePreLaunchScriptResult, type UpgradePreLaunchScriptInProgress, type UpgradePreLaunchScriptPreconditionRequired, } from "./cvms/upgrade_prelaunch_script";
56
59
  export { getCvmStatusBatch, safeGetCvmStatusBatch, CvmStatusSchema, GetCvmStatusBatchResponseSchema, GetCvmStatusBatchRequestSchema, type CvmStatus, type GetCvmStatusBatchResponse, type GetCvmStatusBatchRequest, } from "./cvms/get_cvm_status_batch";
57
60
  export { getCvmUserConfig, safeGetCvmUserConfig, CvmUserConfigSchema, GetCvmUserConfigRequestSchema, type CvmUserConfig, type GetCvmUserConfigRequest, } from "./cvms/get_cvm_user_config";
58
61
  export { listSshKeys, safeListSshKeys, SshKeySchema, ListSshKeysResponseSchema, type SshKey, type ListSshKeysResponse, } from "./ssh_keys/list_ssh_keys";
@@ -6,13 +6,13 @@ export declare const GetKmsListRequestSchema: z.ZodObject<{
6
6
  page_size: z.ZodOptional<z.ZodNumber>;
7
7
  is_onchain: z.ZodOptional<z.ZodBoolean>;
8
8
  }, "strict", z.ZodTypeAny, {
9
+ is_onchain?: boolean | undefined;
9
10
  page?: number | undefined;
10
11
  page_size?: number | undefined;
11
- is_onchain?: boolean | undefined;
12
12
  }, {
13
+ is_onchain?: boolean | undefined;
13
14
  page?: number | undefined;
14
15
  page_size?: number | undefined;
15
- is_onchain?: boolean | undefined;
16
16
  }>;
17
17
  export declare const GetKmsListSchema: z.ZodObject<{
18
18
  items: z.ZodArray<z.ZodEffects<z.ZodObject<{
@@ -61,6 +61,7 @@ export declare const GetKmsListSchema: z.ZodObject<{
61
61
  page_size: z.ZodNumber;
62
62
  pages: z.ZodNumber;
63
63
  }, "strict", z.ZodTypeAny, {
64
+ total: number;
64
65
  items: z.objectOutputType<{
65
66
  id: z.ZodString;
66
67
  slug: z.ZodNullable<z.ZodString>;
@@ -70,11 +71,11 @@ export declare const GetKmsListSchema: z.ZodObject<{
70
71
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
71
72
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
72
73
  }, z.ZodTypeAny, "passthrough">[];
73
- total: number;
74
74
  page: number;
75
75
  page_size: number;
76
76
  pages: number;
77
77
  }, {
78
+ total: number;
78
79
  items: z.objectInputType<{
79
80
  id: z.ZodString;
80
81
  slug: z.ZodNullable<z.ZodString>;
@@ -84,7 +85,6 @@ export declare const GetKmsListSchema: z.ZodObject<{
84
85
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
85
86
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
86
87
  }, z.ZodTypeAny, "passthrough">[];
87
- total: number;
88
88
  page: number;
89
89
  page_size: number;
90
90
  pages: number;
@@ -95,41 +95,41 @@ export type GetKmsListResponse = z.infer<typeof GetKmsListSchema> & {
95
95
  };
96
96
  declare const getKmsList: {
97
97
  (client: Client<import("../..").ApiVersion>, params?: {
98
+ is_onchain?: boolean | undefined;
98
99
  page?: number | undefined;
99
100
  page_size?: number | undefined;
100
- is_onchain?: boolean | undefined;
101
101
  } | undefined): Promise<GetKmsListResponse>;
102
102
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: {
103
+ is_onchain?: boolean | undefined;
103
104
  page?: number | undefined;
104
105
  page_size?: number | undefined;
105
- is_onchain?: boolean | undefined;
106
106
  } | undefined, parameters?: {
107
107
  schema: T;
108
108
  } | undefined): Promise<z.TypeOf<T>>;
109
109
  (client: Client<import("../..").ApiVersion>, params?: {
110
+ is_onchain?: boolean | undefined;
110
111
  page?: number | undefined;
111
112
  page_size?: number | undefined;
112
- is_onchain?: boolean | undefined;
113
113
  } | undefined, parameters?: {
114
114
  schema: false;
115
115
  } | undefined): Promise<unknown>;
116
116
  }, safeGetKmsList: {
117
117
  (client: Client<import("../..").ApiVersion>, params?: {
118
+ is_onchain?: boolean | undefined;
118
119
  page?: number | undefined;
119
120
  page_size?: number | undefined;
120
- is_onchain?: boolean | undefined;
121
121
  } | undefined): Promise<import("../..").SafeResult<GetKmsListResponse>>;
122
122
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: {
123
+ is_onchain?: boolean | undefined;
123
124
  page?: number | undefined;
124
125
  page_size?: number | undefined;
125
- is_onchain?: boolean | undefined;
126
126
  } | undefined, parameters?: {
127
127
  schema: T;
128
128
  } | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
129
129
  (client: Client<import("../..").ApiVersion>, params?: {
130
+ is_onchain?: boolean | undefined;
130
131
  page?: number | undefined;
131
132
  page_size?: number | undefined;
132
- is_onchain?: boolean | undefined;
133
133
  } | undefined, parameters?: {
134
134
  schema: false;
135
135
  } | undefined): Promise<import("../..").SafeResult<unknown>>;
@@ -12,21 +12,21 @@ export declare const NextAppIdsSchema: z.ZodObject<{
12
12
  app_id: z.ZodString;
13
13
  nonce: z.ZodNumber;
14
14
  }, "strip", z.ZodTypeAny, {
15
- nonce: number;
16
15
  app_id: string;
17
- }, {
18
16
  nonce: number;
17
+ }, {
19
18
  app_id: string;
19
+ nonce: number;
20
20
  }>, "many">;
21
21
  }, "strict", z.ZodTypeAny, {
22
22
  app_ids: {
23
- nonce: number;
24
23
  app_id: string;
24
+ nonce: number;
25
25
  }[];
26
26
  }, {
27
27
  app_ids: {
28
- nonce: number;
29
28
  app_id: string;
29
+ nonce: number;
30
30
  }[];
31
31
  }>;
32
32
  export type NextAppIdsRequest = z.infer<typeof NextAppIdsRequestSchema>;
@@ -36,8 +36,8 @@ declare const nextAppIds: {
36
36
  counts: number;
37
37
  }): Promise<{
38
38
  app_ids: {
39
- nonce: number;
40
39
  app_id: string;
40
+ nonce: number;
41
41
  }[];
42
42
  }>;
43
43
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: {
@@ -55,8 +55,8 @@ declare const nextAppIds: {
55
55
  counts: number;
56
56
  }): Promise<import("../..").SafeResult<{
57
57
  app_ids: {
58
- nonce: number;
59
58
  app_id: string;
59
+ nonce: number;
60
60
  }[];
61
61
  }>>;
62
62
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params: {
@@ -67,6 +67,7 @@ export declare const FamilyGroupSchema: z.ZodObject<{
67
67
  total: z.ZodNumber;
68
68
  }, "strict", z.ZodTypeAny, {
69
69
  name: string;
70
+ total: number;
70
71
  items: z.objectOutputType<{
71
72
  id: z.ZodString;
72
73
  name: z.ZodString;
@@ -78,9 +79,9 @@ export declare const FamilyGroupSchema: z.ZodObject<{
78
79
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
79
80
  family: z.ZodNullable<z.ZodString>;
80
81
  }, z.ZodTypeAny, "passthrough">[];
81
- total: number;
82
82
  }, {
83
83
  name: string;
84
+ total: number;
84
85
  items: z.objectInputType<{
85
86
  id: z.ZodString;
86
87
  name: z.ZodString;
@@ -92,7 +93,6 @@ export declare const FamilyGroupSchema: z.ZodObject<{
92
93
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
93
94
  family: z.ZodNullable<z.ZodString>;
94
95
  }, z.ZodTypeAny, "passthrough">[];
95
- total: number;
96
96
  }>;
97
97
  export declare const AllFamiliesResponseSchema: z.ZodObject<{
98
98
  result: z.ZodArray<z.ZodObject<{
@@ -131,6 +131,7 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
131
131
  total: z.ZodNumber;
132
132
  }, "strict", z.ZodTypeAny, {
133
133
  name: string;
134
+ total: number;
134
135
  items: z.objectOutputType<{
135
136
  id: z.ZodString;
136
137
  name: z.ZodString;
@@ -142,9 +143,9 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
142
143
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
143
144
  family: z.ZodNullable<z.ZodString>;
144
145
  }, z.ZodTypeAny, "passthrough">[];
145
- total: number;
146
146
  }, {
147
147
  name: string;
148
+ total: number;
148
149
  items: z.objectInputType<{
149
150
  id: z.ZodString;
150
151
  name: z.ZodString;
@@ -156,11 +157,11 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
156
157
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
157
158
  family: z.ZodNullable<z.ZodString>;
158
159
  }, z.ZodTypeAny, "passthrough">[];
159
- total: number;
160
160
  }>, "many">;
161
161
  }, "strict", z.ZodTypeAny, {
162
162
  result: {
163
163
  name: string;
164
+ total: number;
164
165
  items: z.objectOutputType<{
165
166
  id: z.ZodString;
166
167
  name: z.ZodString;
@@ -172,11 +173,11 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
172
173
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
173
174
  family: z.ZodNullable<z.ZodString>;
174
175
  }, z.ZodTypeAny, "passthrough">[];
175
- total: number;
176
176
  }[];
177
177
  }, {
178
178
  result: {
179
179
  name: string;
180
+ total: number;
180
181
  items: z.objectInputType<{
181
182
  id: z.ZodString;
182
183
  name: z.ZodString;
@@ -188,7 +189,6 @@ export declare const AllFamiliesResponseSchema: z.ZodObject<{
188
189
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
189
190
  family: z.ZodNullable<z.ZodString>;
190
191
  }, z.ZodTypeAny, "passthrough">[];
191
- total: number;
192
192
  }[];
193
193
  }>;
194
194
  export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
@@ -226,6 +226,7 @@ export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
226
226
  total: z.ZodNumber;
227
227
  family: z.ZodString;
228
228
  }, "strict", z.ZodTypeAny, {
229
+ total: number;
229
230
  items: z.objectOutputType<{
230
231
  id: z.ZodString;
231
232
  name: z.ZodString;
@@ -237,9 +238,9 @@ export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
237
238
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
238
239
  family: z.ZodNullable<z.ZodString>;
239
240
  }, z.ZodTypeAny, "passthrough">[];
240
- total: number;
241
241
  family: string;
242
242
  }, {
243
+ total: number;
243
244
  items: z.objectInputType<{
244
245
  id: z.ZodString;
245
246
  name: z.ZodString;
@@ -251,7 +252,6 @@ export declare const FamilyInstanceTypesResponseSchema: z.ZodObject<{
251
252
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
252
253
  family: z.ZodNullable<z.ZodString>;
253
254
  }, z.ZodTypeAny, "passthrough">[];
254
- total: number;
255
255
  family: string;
256
256
  }>;
257
257
  export type InstanceType = z.infer<typeof InstanceTypeSchema>;
@@ -287,6 +287,7 @@ declare const listAllInstanceTypeFamilies: {
287
287
  (client: Client<import("..").ApiVersion>, params?: void | undefined): Promise<{
288
288
  result: {
289
289
  name: string;
290
+ total: number;
290
291
  items: z.objectOutputType<{
291
292
  id: z.ZodString;
292
293
  name: z.ZodString;
@@ -298,7 +299,6 @@ declare const listAllInstanceTypeFamilies: {
298
299
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
299
300
  family: z.ZodNullable<z.ZodString>;
300
301
  }, z.ZodTypeAny, "passthrough">[];
301
- total: number;
302
302
  }[];
303
303
  }>;
304
304
  <T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
@@ -311,6 +311,7 @@ declare const listAllInstanceTypeFamilies: {
311
311
  (client: Client<import("..").ApiVersion>, params?: void | undefined): Promise<import("..").SafeResult<{
312
312
  result: {
313
313
  name: string;
314
+ total: number;
314
315
  items: z.objectOutputType<{
315
316
  id: z.ZodString;
316
317
  name: z.ZodString;
@@ -322,7 +323,6 @@ declare const listAllInstanceTypeFamilies: {
322
323
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
323
324
  family: z.ZodNullable<z.ZodString>;
324
325
  }, z.ZodTypeAny, "passthrough">[];
325
- total: number;
326
326
  }[];
327
327
  }>>;
328
328
  <T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params?: void | undefined, parameters?: {
@@ -354,6 +354,7 @@ declare const listFamilyInstanceTypes: {
354
354
  (client: Client<import("..").ApiVersion>, params: {
355
355
  family: string;
356
356
  }): Promise<{
357
+ total: number;
357
358
  items: z.objectOutputType<{
358
359
  id: z.ZodString;
359
360
  name: z.ZodString;
@@ -365,7 +366,6 @@ declare const listFamilyInstanceTypes: {
365
366
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
366
367
  family: z.ZodNullable<z.ZodString>;
367
368
  }, z.ZodTypeAny, "passthrough">[];
368
- total: number;
369
369
  family: string;
370
370
  }>;
371
371
  <T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params: {
@@ -382,6 +382,7 @@ declare const listFamilyInstanceTypes: {
382
382
  (client: Client<import("..").ApiVersion>, params: {
383
383
  family: string;
384
384
  }): Promise<import("..").SafeResult<{
385
+ total: number;
385
386
  items: z.objectOutputType<{
386
387
  id: z.ZodString;
387
388
  name: z.ZodString;
@@ -393,7 +394,6 @@ declare const listFamilyInstanceTypes: {
393
394
  default_disk_size_gb: z.ZodDefault<z.ZodNumber>;
394
395
  family: z.ZodNullable<z.ZodString>;
395
396
  }, z.ZodTypeAny, "passthrough">[];
396
- total: number;
397
397
  family: string;
398
398
  }>>;
399
399
  <T extends z.ZodTypeAny>(client: Client<import("..").ApiVersion>, params: {
@@ -50,9 +50,9 @@ declare const createSshKey: {
50
50
  name: string;
51
51
  id: string;
52
52
  source: string;
53
- updated_at: string;
54
53
  created_at: string;
55
54
  user_id: string;
55
+ updated_at: string;
56
56
  public_key: string;
57
57
  fingerprint: string;
58
58
  key_type: string;
@@ -79,9 +79,9 @@ declare const createSshKey: {
79
79
  name: string;
80
80
  id: string;
81
81
  source: string;
82
- updated_at: string;
83
82
  created_at: string;
84
83
  user_id: string;
84
+ updated_at: string;
85
85
  public_key: string;
86
86
  fingerprint: string;
87
87
  key_type: string;
@@ -17,9 +17,9 @@ export declare const SshKeySchema: z.ZodObject<{
17
17
  name: string;
18
18
  id: string;
19
19
  source: string;
20
- updated_at: string;
21
20
  created_at: string;
22
21
  user_id: string;
22
+ updated_at: string;
23
23
  public_key: string;
24
24
  fingerprint: string;
25
25
  key_type: string;
@@ -29,9 +29,9 @@ export declare const SshKeySchema: z.ZodObject<{
29
29
  name: string;
30
30
  id: string;
31
31
  source: string;
32
- updated_at: string;
33
32
  created_at: string;
34
33
  user_id: string;
34
+ updated_at: string;
35
35
  public_key: string;
36
36
  fingerprint: string;
37
37
  key_type: string;
@@ -55,9 +55,9 @@ export declare const ListSshKeysResponseSchema: z.ZodArray<z.ZodObject<{
55
55
  name: string;
56
56
  id: string;
57
57
  source: string;
58
- updated_at: string;
59
58
  created_at: string;
60
59
  user_id: string;
60
+ updated_at: string;
61
61
  public_key: string;
62
62
  fingerprint: string;
63
63
  key_type: string;
@@ -67,9 +67,9 @@ export declare const ListSshKeysResponseSchema: z.ZodArray<z.ZodObject<{
67
67
  name: string;
68
68
  id: string;
69
69
  source: string;
70
- updated_at: string;
71
70
  created_at: string;
72
71
  user_id: string;
72
+ updated_at: string;
73
73
  public_key: string;
74
74
  fingerprint: string;
75
75
  key_type: string;
@@ -68,6 +68,7 @@ declare const getWorkspace: {
68
68
  id: z.ZodString;
69
69
  name: z.ZodString;
70
70
  slug: z.ZodNullable<z.ZodString>;
71
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
72
  tier: z.ZodString;
72
73
  role: z.ZodString;
73
74
  is_default: z.ZodBoolean;
@@ -85,6 +86,7 @@ declare const getWorkspace: {
85
86
  id: z.ZodString;
86
87
  name: z.ZodString;
87
88
  slug: z.ZodNullable<z.ZodString>;
89
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
88
90
  tier: z.ZodString;
89
91
  role: z.ZodString;
90
92
  is_default: z.ZodBoolean;
@@ -78,8 +78,8 @@ export declare const NodeRefSchema: z.ZodObject<{
78
78
  name?: string | null | undefined;
79
79
  version?: string | null | undefined;
80
80
  id?: number | null | undefined;
81
- region?: string | null | undefined;
82
81
  device_id?: string | null | undefined;
82
+ region?: string | null | undefined;
83
83
  ppid?: string | null | undefined;
84
84
  }, {
85
85
  object_type: "node";
@@ -87,8 +87,8 @@ export declare const NodeRefSchema: z.ZodObject<{
87
87
  name?: string | null | undefined;
88
88
  version?: string | null | undefined;
89
89
  id?: number | null | undefined;
90
- region?: string | null | undefined;
91
90
  device_id?: string | null | undefined;
91
+ region?: string | null | undefined;
92
92
  ppid?: string | null | undefined;
93
93
  }>;
94
94
  export declare const NodeInfoSchema: z.ZodObject<{
@@ -106,8 +106,8 @@ export declare const NodeInfoSchema: z.ZodObject<{
106
106
  name?: string | null | undefined;
107
107
  version?: string | null | undefined;
108
108
  id?: number | null | undefined;
109
- region?: string | null | undefined;
110
109
  device_id?: string | null | undefined;
110
+ region?: string | null | undefined;
111
111
  ppid?: string | null | undefined;
112
112
  }, {
113
113
  object_type: "node";
@@ -115,8 +115,8 @@ export declare const NodeInfoSchema: z.ZodObject<{
115
115
  name?: string | null | undefined;
116
116
  version?: string | null | undefined;
117
117
  id?: number | null | undefined;
118
- region?: string | null | undefined;
119
118
  device_id?: string | null | undefined;
119
+ region?: string | null | undefined;
120
120
  ppid?: string | null | undefined;
121
121
  }>;
122
122
  export declare const GetWorkspaceNodesSchema: z.ZodObject<{
@@ -135,8 +135,8 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
135
135
  name?: string | null | undefined;
136
136
  version?: string | null | undefined;
137
137
  id?: number | null | undefined;
138
- region?: string | null | undefined;
139
138
  device_id?: string | null | undefined;
139
+ region?: string | null | undefined;
140
140
  ppid?: string | null | undefined;
141
141
  }, {
142
142
  object_type: "node";
@@ -144,8 +144,8 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
144
144
  name?: string | null | undefined;
145
145
  version?: string | null | undefined;
146
146
  id?: number | null | undefined;
147
- region?: string | null | undefined;
148
147
  device_id?: string | null | undefined;
148
+ region?: string | null | undefined;
149
149
  ppid?: string | null | undefined;
150
150
  }>, "many">;
151
151
  total: z.ZodNumber;
@@ -168,8 +168,8 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
168
168
  name?: string | null | undefined;
169
169
  version?: string | null | undefined;
170
170
  id?: number | null | undefined;
171
- region?: string | null | undefined;
172
171
  device_id?: string | null | undefined;
172
+ region?: string | null | undefined;
173
173
  ppid?: string | null | undefined;
174
174
  }, {
175
175
  object_type: "node";
@@ -177,8 +177,8 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
177
177
  name?: string | null | undefined;
178
178
  version?: string | null | undefined;
179
179
  id?: number | null | undefined;
180
- region?: string | null | undefined;
181
180
  device_id?: string | null | undefined;
181
+ region?: string | null | undefined;
182
182
  ppid?: string | null | undefined;
183
183
  }>, "many">;
184
184
  total: z.ZodNumber;
@@ -201,8 +201,8 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
201
201
  name?: string | null | undefined;
202
202
  version?: string | null | undefined;
203
203
  id?: number | null | undefined;
204
- region?: string | null | undefined;
205
204
  device_id?: string | null | undefined;
205
+ region?: string | null | undefined;
206
206
  ppid?: string | null | undefined;
207
207
  }, {
208
208
  object_type: "node";
@@ -210,8 +210,8 @@ export declare const GetWorkspaceNodesSchema: z.ZodObject<{
210
210
  name?: string | null | undefined;
211
211
  version?: string | null | undefined;
212
212
  id?: number | null | undefined;
213
- region?: string | null | undefined;
214
213
  device_id?: string | null | undefined;
214
+ region?: string | null | undefined;
215
215
  ppid?: string | null | undefined;
216
216
  }>, "many">;
217
217
  total: z.ZodNumber;
@@ -244,8 +244,8 @@ declare const getWorkspaceNodes: {
244
244
  name?: string | null | undefined;
245
245
  version?: string | null | undefined;
246
246
  id?: number | null | undefined;
247
- region?: string | null | undefined;
248
247
  device_id?: string | null | undefined;
248
+ region?: string | null | undefined;
249
249
  ppid?: string | null | undefined;
250
250
  }, {
251
251
  object_type: "node";
@@ -253,8 +253,8 @@ declare const getWorkspaceNodes: {
253
253
  name?: string | null | undefined;
254
254
  version?: string | null | undefined;
255
255
  id?: number | null | undefined;
256
- region?: string | null | undefined;
257
256
  device_id?: string | null | undefined;
257
+ region?: string | null | undefined;
258
258
  ppid?: string | null | undefined;
259
259
  }>, "many">;
260
260
  total: z.ZodNumber;
@@ -285,8 +285,8 @@ declare const getWorkspaceNodes: {
285
285
  name?: string | null | undefined;
286
286
  version?: string | null | undefined;
287
287
  id?: number | null | undefined;
288
- region?: string | null | undefined;
289
288
  device_id?: string | null | undefined;
289
+ region?: string | null | undefined;
290
290
  ppid?: string | null | undefined;
291
291
  }, {
292
292
  object_type: "node";
@@ -294,8 +294,8 @@ declare const getWorkspaceNodes: {
294
294
  name?: string | null | undefined;
295
295
  version?: string | null | undefined;
296
296
  id?: number | null | undefined;
297
- region?: string | null | undefined;
298
297
  device_id?: string | null | undefined;
298
+ region?: string | null | undefined;
299
299
  ppid?: string | null | undefined;
300
300
  }>, "many">;
301
301
  total: z.ZodNumber;
@@ -65,6 +65,7 @@ export declare const WorkspaceResponseSchema: z.ZodObject<{
65
65
  id: z.ZodString;
66
66
  name: z.ZodString;
67
67
  slug: z.ZodNullable<z.ZodString>;
68
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
69
  tier: z.ZodString;
69
70
  role: z.ZodString;
70
71
  is_default: z.ZodBoolean;
@@ -74,6 +75,7 @@ export declare const WorkspaceResponseSchema: z.ZodObject<{
74
75
  id: z.ZodString;
75
76
  name: z.ZodString;
76
77
  slug: z.ZodNullable<z.ZodString>;
78
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
77
79
  tier: z.ZodString;
78
80
  role: z.ZodString;
79
81
  is_default: z.ZodBoolean;
@@ -83,6 +85,7 @@ export declare const WorkspaceResponseSchema: z.ZodObject<{
83
85
  id: z.ZodString;
84
86
  name: z.ZodString;
85
87
  slug: z.ZodNullable<z.ZodString>;
88
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
86
89
  tier: z.ZodString;
87
90
  role: z.ZodString;
88
91
  is_default: z.ZodBoolean;
@@ -107,6 +110,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
107
110
  id: z.ZodString;
108
111
  name: z.ZodString;
109
112
  slug: z.ZodNullable<z.ZodString>;
113
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
110
114
  tier: z.ZodString;
111
115
  role: z.ZodString;
112
116
  is_default: z.ZodBoolean;
@@ -116,6 +120,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
116
120
  id: z.ZodString;
117
121
  name: z.ZodString;
118
122
  slug: z.ZodNullable<z.ZodString>;
123
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
119
124
  tier: z.ZodString;
120
125
  role: z.ZodString;
121
126
  is_default: z.ZodBoolean;
@@ -125,6 +130,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
125
130
  id: z.ZodString;
126
131
  name: z.ZodString;
127
132
  slug: z.ZodNullable<z.ZodString>;
133
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
134
  tier: z.ZodString;
129
135
  role: z.ZodString;
130
136
  is_default: z.ZodBoolean;
@@ -149,6 +155,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
149
155
  id: z.ZodString;
150
156
  name: z.ZodString;
151
157
  slug: z.ZodNullable<z.ZodString>;
158
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
152
159
  tier: z.ZodString;
153
160
  role: z.ZodString;
154
161
  is_default: z.ZodBoolean;
@@ -158,6 +165,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
158
165
  id: z.ZodString;
159
166
  name: z.ZodString;
160
167
  slug: z.ZodNullable<z.ZodString>;
168
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
169
  tier: z.ZodString;
162
170
  role: z.ZodString;
163
171
  is_default: z.ZodBoolean;
@@ -167,6 +175,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
167
175
  id: z.ZodString;
168
176
  name: z.ZodString;
169
177
  slug: z.ZodNullable<z.ZodString>;
178
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
170
179
  tier: z.ZodString;
171
180
  role: z.ZodString;
172
181
  is_default: z.ZodBoolean;
@@ -191,6 +200,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
191
200
  id: z.ZodString;
192
201
  name: z.ZodString;
193
202
  slug: z.ZodNullable<z.ZodString>;
203
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
204
  tier: z.ZodString;
195
205
  role: z.ZodString;
196
206
  is_default: z.ZodBoolean;
@@ -200,6 +210,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
200
210
  id: z.ZodString;
201
211
  name: z.ZodString;
202
212
  slug: z.ZodNullable<z.ZodString>;
213
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
214
  tier: z.ZodString;
204
215
  role: z.ZodString;
205
216
  is_default: z.ZodBoolean;
@@ -209,6 +220,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
209
220
  id: z.ZodString;
210
221
  name: z.ZodString;
211
222
  slug: z.ZodNullable<z.ZodString>;
223
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
212
224
  tier: z.ZodString;
213
225
  role: z.ZodString;
214
226
  is_default: z.ZodBoolean;
@@ -242,6 +254,7 @@ declare const listWorkspaces: {
242
254
  id: z.ZodString;
243
255
  name: z.ZodString;
244
256
  slug: z.ZodNullable<z.ZodString>;
257
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
245
258
  tier: z.ZodString;
246
259
  role: z.ZodString;
247
260
  is_default: z.ZodBoolean;
@@ -251,6 +264,7 @@ declare const listWorkspaces: {
251
264
  id: z.ZodString;
252
265
  name: z.ZodString;
253
266
  slug: z.ZodNullable<z.ZodString>;
267
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
254
268
  tier: z.ZodString;
255
269
  role: z.ZodString;
256
270
  is_default: z.ZodBoolean;
@@ -260,6 +274,7 @@ declare const listWorkspaces: {
260
274
  id: z.ZodString;
261
275
  name: z.ZodString;
262
276
  slug: z.ZodNullable<z.ZodString>;
277
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
263
278
  tier: z.ZodString;
264
279
  role: z.ZodString;
265
280
  is_default: z.ZodBoolean;
@@ -292,6 +307,7 @@ declare const listWorkspaces: {
292
307
  id: z.ZodString;
293
308
  name: z.ZodString;
294
309
  slug: z.ZodNullable<z.ZodString>;
310
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
295
311
  tier: z.ZodString;
296
312
  role: z.ZodString;
297
313
  is_default: z.ZodBoolean;
@@ -301,6 +317,7 @@ declare const listWorkspaces: {
301
317
  id: z.ZodString;
302
318
  name: z.ZodString;
303
319
  slug: z.ZodNullable<z.ZodString>;
320
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
304
321
  tier: z.ZodString;
305
322
  role: z.ZodString;
306
323
  is_default: z.ZodBoolean;
@@ -310,6 +327,7 @@ declare const listWorkspaces: {
310
327
  id: z.ZodString;
311
328
  name: z.ZodString;
312
329
  slug: z.ZodNullable<z.ZodString>;
330
+ avatar_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
331
  tier: z.ZodString;
314
332
  role: z.ZodString;
315
333
  is_default: z.ZodBoolean;