@phala/cloud 0.2.10 → 0.4.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 (81) hide show
  1. package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +100 -161
  2. package/dist/actions/apps/check_app_is_allowed.d.ts +14 -14
  3. package/dist/actions/apps/create_app_instance.d.ts +22 -22
  4. package/dist/actions/apps/get_app_attestation.d.ts +43 -33
  5. package/dist/actions/apps/get_app_device_allowlist.d.ts +51 -50
  6. package/dist/actions/apps/get_app_list.d.ts +2 -2
  7. package/dist/actions/cvms/check_cvm_is_allowed.d.ts +40 -102
  8. package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +12 -12
  9. package/dist/actions/cvms/commit_cvm_provision.d.ts +11 -135
  10. package/dist/actions/cvms/commit_cvm_update.d.ts +2 -2
  11. package/dist/actions/cvms/confirm_cvm_patch.d.ts +2 -2
  12. package/dist/actions/cvms/delete_cvm.d.ts +2 -2
  13. package/dist/actions/cvms/get_available_os_images.d.ts +2 -2
  14. package/dist/actions/cvms/get_cvm_attestation.d.ts +2 -2
  15. package/dist/actions/cvms/get_cvm_compose_file.d.ts +166 -22
  16. package/dist/actions/cvms/get_cvm_containers_stats.d.ts +10 -10
  17. package/dist/actions/cvms/get_cvm_docker_compose.d.ts +2 -2
  18. package/dist/actions/cvms/get_cvm_info.d.ts +2 -2
  19. package/dist/actions/cvms/get_cvm_list.d.ts +8 -10
  20. package/dist/actions/cvms/get_cvm_network.d.ts +2 -2
  21. package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +2 -2
  22. package/dist/actions/cvms/get_cvm_state.d.ts +6 -6
  23. package/dist/actions/cvms/get_cvm_stats.d.ts +2 -2
  24. package/dist/actions/cvms/get_cvm_status_batch.d.ts +253 -30
  25. package/dist/actions/cvms/get_cvm_user_config.d.ts +2 -2
  26. package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +2 -2
  27. package/dist/actions/cvms/patch_cvm.d.ts +34 -18
  28. package/dist/actions/cvms/provision_cvm.d.ts +900 -51
  29. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +253 -43
  30. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
  31. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
  32. package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
  33. package/dist/actions/cvms/restart_cvm.d.ts +7 -72
  34. package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
  35. package/dist/actions/cvms/start_cvm.d.ts +7 -72
  36. package/dist/actions/cvms/stop_cvm.d.ts +7 -72
  37. package/dist/actions/cvms/update_cvm_envs.d.ts +36 -20
  38. package/dist/actions/cvms/update_cvm_resources.d.ts +26 -4
  39. package/dist/actions/cvms/update_cvm_visibility.d.ts +26 -24
  40. package/dist/actions/cvms/update_docker_compose.d.ts +51 -20
  41. package/dist/actions/cvms/update_os_image.d.ts +2 -2
  42. package/dist/actions/cvms/update_prelaunch_script.d.ts +51 -20
  43. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +36 -20
  44. package/dist/actions/get_available_nodes.d.ts +259 -0
  45. package/dist/actions/get_cvm_create_resources.d.ts +351 -0
  46. package/dist/actions/index.d.ts +6 -2
  47. package/dist/actions/kms/get_kms_contract.d.ts +59 -0
  48. package/dist/actions/kms/get_kms_list.d.ts +25 -10
  49. package/dist/actions/kms/get_kms_onchain_detail.d.ts +54 -0
  50. package/dist/actions/kms/list_kms_contract_nodes.d.ts +98 -0
  51. package/dist/actions/kms/list_kms_contracts.d.ts +152 -0
  52. package/dist/actions/kms/next_app_ids.d.ts +6 -6
  53. package/dist/actions/list-instance-types.d.ts +12 -12
  54. package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
  55. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
  56. package/dist/actions/workspaces/get_workspace.d.ts +4 -0
  57. package/dist/actions/workspaces/get_workspace_nodes.d.ts +175 -14
  58. package/dist/actions/workspaces/list_workspaces.d.ts +126 -0
  59. package/dist/client.d.ts +4 -1
  60. package/dist/create-client.d.ts +48 -0
  61. package/dist/index.d.ts +1 -1
  62. package/dist/index.js +1779 -1250
  63. package/dist/index.mjs +1704 -1194
  64. package/dist/types/app_compose.d.ts +50 -5
  65. package/dist/types/app_info_v20251028.d.ts +172 -128
  66. package/dist/types/app_info_v20260121.d.ts +2814 -490
  67. package/dist/types/app_revision.d.ts +8 -8
  68. package/dist/types/client.d.ts +2 -2
  69. package/dist/types/cvm_id.d.ts +6 -6
  70. package/dist/types/cvm_info.d.ts +98 -98
  71. package/dist/types/cvm_info_v20251028.d.ts +70 -47
  72. package/dist/types/cvm_info_v20260121.d.ts +1125 -148
  73. package/dist/types/kms_contract.d.ts +64 -0
  74. package/dist/types/kms_info.d.ts +8 -0
  75. package/dist/types/version-mappings.d.ts +43 -6
  76. package/dist/utils/error_codes.d.ts +1 -0
  77. package/dist/utils/errors.d.ts +30 -1
  78. package/dist/utils/get_compose_hash.d.ts +24 -0
  79. package/dist/utils/get_mr_config_id.d.ts +55 -0
  80. package/dist/utils/index.d.ts +3 -2
  81. package/package.json +3 -3
@@ -35,29 +35,47 @@ export declare const UpdateCvmResourcesRequestSchema: z.ZodEffects<z.ZodObject<{
35
35
  }, "strip", z.ZodTypeAny, {
36
36
  name?: string | undefined;
37
37
  id?: string | undefined;
38
+ uuid?: string | undefined;
38
39
  app_id?: string | undefined;
39
40
  instance_id?: string | undefined;
40
41
  vcpu?: number | undefined;
41
42
  memory?: number | undefined;
42
43
  disk_size?: number | undefined;
43
44
  instance_type?: string | undefined;
44
- uuid?: string | undefined;
45
45
  allow_restart?: boolean | undefined;
46
46
  }, {
47
47
  name?: string | undefined;
48
48
  id?: string | undefined;
49
+ uuid?: string | undefined;
49
50
  app_id?: string | undefined;
50
51
  instance_id?: string | undefined;
51
52
  vcpu?: number | undefined;
52
53
  memory?: number | undefined;
53
54
  disk_size?: number | undefined;
54
55
  instance_type?: string | undefined;
55
- uuid?: string | undefined;
56
56
  allow_restart?: boolean | undefined;
57
57
  }>, any, any>;
58
58
  export type UpdateCvmResourcesRequest = z.infer<typeof UpdateCvmResourcesRequestSchema>;
59
+ declare const UpdateCvmResourcesResponseSchema: z.ZodObject<{
60
+ message: z.ZodString;
61
+ correlation_id: z.ZodString;
62
+ status: z.ZodString;
63
+ }, "strip", z.ZodTypeAny, {
64
+ status: string;
65
+ message: string;
66
+ correlation_id: string;
67
+ }, {
68
+ status: string;
69
+ message: string;
70
+ correlation_id: string;
71
+ }>;
72
+ export type UpdateCvmResourcesResponse = z.infer<typeof UpdateCvmResourcesResponseSchema>;
59
73
  declare const updateCvmResources: {
60
- (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<void>;
74
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<{
75
+ status: string;
76
+ message: string;
77
+ correlation_id: string;
78
+ }>;
61
79
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
62
80
  schema: T;
63
81
  } | undefined): Promise<z.TypeOf<T>>;
@@ -65,7 +83,11 @@ declare const updateCvmResources: {
65
83
  schema: false;
66
84
  } | undefined): Promise<unknown>;
67
85
  }, safeUpdateCvmResources: {
68
- (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<void>>;
86
+ (client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any): Promise<import("../..").SafeResult<{
87
+ status: string;
88
+ message: string;
89
+ correlation_id: string;
90
+ }>>;
69
91
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
70
92
  schema: T;
71
93
  } | undefined): Promise<import("../..").SafeResult<z.TypeOf<T>>>;
@@ -32,19 +32,19 @@ export declare const UpdateCvmVisibilityRequestSchema: z.ZodEffects<z.ZodObject<
32
32
  public_logs: boolean;
33
33
  name?: string | undefined;
34
34
  id?: string | undefined;
35
+ uuid?: string | undefined;
35
36
  app_id?: string | undefined;
36
37
  instance_id?: string | undefined;
37
38
  public_tcbinfo?: boolean | undefined;
38
- uuid?: string | undefined;
39
39
  }, {
40
40
  public_sysinfo: boolean;
41
41
  public_logs: boolean;
42
42
  name?: string | undefined;
43
43
  id?: string | undefined;
44
+ uuid?: string | undefined;
44
45
  app_id?: string | undefined;
45
46
  instance_id?: string | undefined;
46
47
  public_tcbinfo?: boolean | undefined;
47
- uuid?: string | undefined;
48
48
  }>, any, any>;
49
49
  export type UpdateCvmVisibilityRequest = z.infer<typeof UpdateCvmVisibilityRequestSchema>;
50
50
  declare const updateCvmVisibility: {
@@ -54,21 +54,28 @@ declare const updateCvmVisibility: {
54
54
  id: string | number;
55
55
  app_id: string;
56
56
  instance_id: string | null;
57
+ teepod_id: number | null;
58
+ vm_uuid: string | null;
59
+ base_image: string | null;
57
60
  vcpu: number;
58
61
  memory: number;
59
62
  disk_size: number;
63
+ encrypted_env_pubkey: string | null;
60
64
  listed: boolean;
61
65
  in_progress: boolean;
62
66
  public_urls: {
63
67
  app: string;
64
68
  instance: string;
65
69
  }[];
66
- teepod_id: number | null;
67
- vm_uuid: string | null;
68
- base_image: string | null;
69
- encrypted_env_pubkey: string | null;
70
70
  public_sysinfo: boolean;
71
71
  public_logs: boolean;
72
+ teepod?: {
73
+ name: string;
74
+ id: number;
75
+ region_identifier?: string | null | undefined;
76
+ } | null | undefined;
77
+ deployer_address?: string | null | undefined;
78
+ contract_address?: string | null | undefined;
72
79
  dapp_dashboard_url?: string | null | undefined;
73
80
  syslog_endpoint?: string | null | undefined;
74
81
  project_id?: string | null | undefined;
@@ -81,6 +88,7 @@ declare const updateCvmVisibility: {
81
88
  chain_id: z.ZodNullable<z.ZodNumber>;
82
89
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
83
90
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
91
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
84
92
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
85
93
  gateway_domain?: string | null | undefined;
86
94
  machine_info?: {
@@ -90,14 +98,7 @@ declare const updateCvmVisibility: {
90
98
  gpu_count: number;
91
99
  } | null | undefined;
92
100
  updated_at?: string | null | undefined;
93
- teepod?: {
94
- name: string;
95
- id: number;
96
- region_identifier?: string | null | undefined;
97
- } | null | undefined;
98
101
  instance_type?: string | null | undefined;
99
- contract_address?: string | null | undefined;
100
- deployer_address?: string | null | undefined;
101
102
  scheduled_delete_at?: string | null | undefined;
102
103
  }>;
103
104
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
@@ -113,21 +114,28 @@ declare const updateCvmVisibility: {
113
114
  id: string | number;
114
115
  app_id: string;
115
116
  instance_id: string | null;
117
+ teepod_id: number | null;
118
+ vm_uuid: string | null;
119
+ base_image: string | null;
116
120
  vcpu: number;
117
121
  memory: number;
118
122
  disk_size: number;
123
+ encrypted_env_pubkey: string | null;
119
124
  listed: boolean;
120
125
  in_progress: boolean;
121
126
  public_urls: {
122
127
  app: string;
123
128
  instance: string;
124
129
  }[];
125
- teepod_id: number | null;
126
- vm_uuid: string | null;
127
- base_image: string | null;
128
- encrypted_env_pubkey: string | null;
129
130
  public_sysinfo: boolean;
130
131
  public_logs: boolean;
132
+ teepod?: {
133
+ name: string;
134
+ id: number;
135
+ region_identifier?: string | null | undefined;
136
+ } | null | undefined;
137
+ deployer_address?: string | null | undefined;
138
+ contract_address?: string | null | undefined;
131
139
  dapp_dashboard_url?: string | null | undefined;
132
140
  syslog_endpoint?: string | null | undefined;
133
141
  project_id?: string | null | undefined;
@@ -140,6 +148,7 @@ declare const updateCvmVisibility: {
140
148
  chain_id: z.ZodNullable<z.ZodNumber>;
141
149
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
142
150
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
151
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
143
152
  }, z.ZodTypeAny, "passthrough"> | null | undefined;
144
153
  gateway_domain?: string | null | undefined;
145
154
  machine_info?: {
@@ -149,14 +158,7 @@ declare const updateCvmVisibility: {
149
158
  gpu_count: number;
150
159
  } | null | undefined;
151
160
  updated_at?: string | null | undefined;
152
- teepod?: {
153
- name: string;
154
- id: number;
155
- region_identifier?: string | null | undefined;
156
- } | null | undefined;
157
161
  instance_type?: string | null | undefined;
158
- contract_address?: string | null | undefined;
159
- deployer_address?: string | null | undefined;
160
162
  scheduled_delete_at?: string | null | undefined;
161
163
  }>>;
162
164
  <T extends z.ZodTypeAny>(client: import("../..").BaseClient<import("../..").ApiVersion>, params?: any, parameters?: {
@@ -134,19 +134,19 @@ export declare const UpdateDockerComposeRequestSchema: z.ZodEffects<z.ZodEffects
134
134
  docker_compose_file: string;
135
135
  name?: string | undefined;
136
136
  id?: string | undefined;
137
+ uuid?: string | undefined;
137
138
  app_id?: string | undefined;
138
139
  instance_id?: string | undefined;
139
140
  compose_hash?: string | undefined;
140
- uuid?: string | undefined;
141
141
  transaction_hash?: string | undefined;
142
142
  }, {
143
143
  docker_compose_file: string;
144
144
  name?: string | undefined;
145
145
  id?: string | undefined;
146
+ uuid?: string | undefined;
146
147
  app_id?: string | undefined;
147
148
  instance_id?: string | undefined;
148
149
  compose_hash?: string | undefined;
149
- uuid?: string | undefined;
150
150
  transaction_hash?: string | undefined;
151
151
  }>, any, any>, {
152
152
  cvmId: any;
@@ -184,6 +184,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
184
184
  chain_id: z.ZodNullable<z.ZodNumber>;
185
185
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
186
186
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
187
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
187
188
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
188
189
  id: z.ZodString;
189
190
  slug: z.ZodNullable<z.ZodString>;
@@ -192,6 +193,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
192
193
  chain_id: z.ZodNullable<z.ZodNumber>;
193
194
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
194
195
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
196
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
197
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
196
198
  id: z.ZodString;
197
199
  slug: z.ZodNullable<z.ZodString>;
@@ -200,6 +202,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
200
202
  chain_id: z.ZodNullable<z.ZodNumber>;
201
203
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
202
204
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
205
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
203
206
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
204
207
  id: z.ZodString;
205
208
  slug: z.ZodNullable<z.ZodString>;
@@ -208,6 +211,7 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
208
211
  chain_id: z.ZodNullable<z.ZodNumber>;
209
212
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
210
213
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
214
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
211
215
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
212
216
  id: z.ZodString;
213
217
  slug: z.ZodNullable<z.ZodString>;
@@ -216,41 +220,44 @@ declare const UpdateDockerComposePreconditionRequiredSchema: z.ZodObject<{
216
220
  chain_id: z.ZodNullable<z.ZodNumber>;
217
221
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
218
222
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
223
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
219
224
  }, z.ZodTypeAny, "passthrough">>;
220
225
  }, "strip", z.ZodTypeAny, {
221
226
  status: "precondition_required";
222
227
  message: string;
223
228
  app_id: string;
229
+ compose_hash: string;
230
+ device_id: string;
224
231
  kms_info: {
225
232
  version: string;
226
233
  id: string;
227
234
  slug: string | null;
228
- url: string;
229
235
  chain_id: number | null;
236
+ url: string;
230
237
  kms_contract_address: `0x${string}`;
231
238
  gateway_app_id: `0x${string}`;
239
+ k256_pubkey?: string | null | undefined;
232
240
  } & {
233
241
  [k: string]: unknown;
234
242
  };
235
- device_id: string;
236
- compose_hash: string;
237
243
  }, {
238
244
  status: "precondition_required";
239
245
  message: string;
240
246
  app_id: string;
247
+ compose_hash: string;
248
+ device_id: string;
241
249
  kms_info: {
242
250
  version: string;
243
251
  id: string;
244
252
  slug: string | null;
245
- url: string;
246
253
  chain_id: number | null;
254
+ url: string;
247
255
  kms_contract_address: string | null;
248
256
  gateway_app_id: string | null;
257
+ k256_pubkey?: string | null | undefined;
249
258
  } & {
250
259
  [k: string]: unknown;
251
260
  };
252
- device_id: string;
253
- compose_hash: string;
254
261
  }>;
255
262
  export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
256
263
  status: z.ZodLiteral<"in_progress">;
@@ -278,6 +285,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
278
285
  chain_id: z.ZodNullable<z.ZodNumber>;
279
286
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
280
287
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
288
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
289
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
282
290
  id: z.ZodString;
283
291
  slug: z.ZodNullable<z.ZodString>;
@@ -286,6 +294,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
286
294
  chain_id: z.ZodNullable<z.ZodNumber>;
287
295
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
288
296
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
297
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
298
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
290
299
  id: z.ZodString;
291
300
  slug: z.ZodNullable<z.ZodString>;
@@ -294,6 +303,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
294
303
  chain_id: z.ZodNullable<z.ZodNumber>;
295
304
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
296
305
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
306
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
297
307
  }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
298
308
  id: z.ZodString;
299
309
  slug: z.ZodNullable<z.ZodString>;
@@ -302,6 +312,7 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
302
312
  chain_id: z.ZodNullable<z.ZodNumber>;
303
313
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
304
314
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
315
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
316
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
306
317
  id: z.ZodString;
307
318
  slug: z.ZodNullable<z.ZodString>;
@@ -310,41 +321,53 @@ export declare const UpdateDockerComposeResultSchema: z.ZodUnion<[z.ZodObject<{
310
321
  chain_id: z.ZodNullable<z.ZodNumber>;
311
322
  kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
312
323
  gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
324
+ k256_pubkey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
325
  }, z.ZodTypeAny, "passthrough">>;
314
326
  }, "strip", z.ZodTypeAny, {
315
327
  status: "precondition_required";
316
328
  message: string;
317
329
  app_id: string;
330
+ compose_hash: string;
331
+ device_id: string;
318
332
  kms_info: {
319
333
  version: string;
320
334
  id: string;
321
335
  slug: string | null;
322
- url: string;
323
336
  chain_id: number | null;
337
+ url: string;
324
338
  kms_contract_address: `0x${string}`;
325
339
  gateway_app_id: `0x${string}`;
340
+ k256_pubkey?: string | null | undefined;
326
341
  } & {
327
342
  [k: string]: unknown;
328
343
  };
329
- device_id: string;
330
- compose_hash: string;
331
344
  }, {
332
345
  status: "precondition_required";
333
346
  message: string;
334
347
  app_id: string;
348
+ compose_hash: string;
349
+ device_id: string;
335
350
  kms_info: {
336
351
  version: string;
337
352
  id: string;
338
353
  slug: string | null;
339
- url: string;
340
354
  chain_id: number | null;
355
+ url: string;
341
356
  kms_contract_address: string | null;
342
357
  gateway_app_id: string | null;
358
+ k256_pubkey?: string | null | undefined;
343
359
  } & {
344
360
  [k: string]: unknown;
345
361
  };
346
- device_id: string;
347
- compose_hash: string;
362
+ }>, z.ZodObject<{
363
+ status: z.ZodLiteral<"no_change">;
364
+ message: z.ZodString;
365
+ }, "strip", z.ZodTypeAny, {
366
+ status: "no_change";
367
+ message: string;
368
+ }, {
369
+ status: "no_change";
370
+ message: string;
348
371
  }>]>;
349
372
  export type UpdateDockerComposeRequest = z.input<typeof UpdateDockerComposeRequestSchema>;
350
373
  export type UpdateDockerComposeResult = z.infer<typeof UpdateDockerComposeResultSchema>;
@@ -367,19 +390,23 @@ declare const updateDockerCompose: {
367
390
  status: "precondition_required";
368
391
  message: string;
369
392
  app_id: string;
393
+ compose_hash: string;
394
+ device_id: string;
370
395
  kms_info: {
371
396
  version: string;
372
397
  id: string;
373
398
  slug: string | null;
374
- url: string;
375
399
  chain_id: number | null;
400
+ url: string;
376
401
  kms_contract_address: `0x${string}`;
377
402
  gateway_app_id: `0x${string}`;
403
+ k256_pubkey?: string | null | undefined;
378
404
  } & {
379
405
  [k: string]: unknown;
380
406
  };
381
- device_id: string;
382
- compose_hash: string;
407
+ } | {
408
+ status: "no_change";
409
+ message: string;
383
410
  }>;
384
411
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
385
412
  schema: T;
@@ -396,19 +423,23 @@ declare const updateDockerCompose: {
396
423
  status: "precondition_required";
397
424
  message: string;
398
425
  app_id: string;
426
+ compose_hash: string;
427
+ device_id: string;
399
428
  kms_info: {
400
429
  version: string;
401
430
  id: string;
402
431
  slug: string | null;
403
- url: string;
404
432
  chain_id: number | null;
433
+ url: string;
405
434
  kms_contract_address: `0x${string}`;
406
435
  gateway_app_id: `0x${string}`;
436
+ k256_pubkey?: string | null | undefined;
407
437
  } & {
408
438
  [k: string]: unknown;
409
439
  };
410
- device_id: string;
411
- compose_hash: string;
440
+ } | {
441
+ status: "no_change";
442
+ message: string;
412
443
  }>>;
413
444
  <T extends z.ZodTypeAny>(client: Client<import("../..").ApiVersion>, params?: any, parameters?: {
414
445
  schema: T;
@@ -32,16 +32,16 @@ export declare const UpdateOsImageRequestSchema: z.ZodEffects<z.ZodObject<{
32
32
  os_image_name: string;
33
33
  name?: string | undefined;
34
34
  id?: string | undefined;
35
+ uuid?: string | undefined;
35
36
  app_id?: string | undefined;
36
37
  instance_id?: string | undefined;
37
- uuid?: string | undefined;
38
38
  }, {
39
39
  os_image_name: string;
40
40
  name?: string | undefined;
41
41
  id?: string | undefined;
42
+ uuid?: string | undefined;
42
43
  app_id?: string | undefined;
43
44
  instance_id?: string | undefined;
44
- uuid?: string | undefined;
45
45
  }>, any, any>;
46
46
  export type UpdateOsImageRequest = z.infer<typeof UpdateOsImageRequestSchema>;
47
47
  declare const updateOsImage: {