@phala/cloud 0.2.10 → 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 (59) 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 +32 -32
  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 +5 -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 +10 -10
  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 +4 -4
  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 +6 -6
  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 +18 -18
  28. package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +38 -38
  29. package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +27 -58
  30. package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +120 -165
  31. package/dist/actions/cvms/replicate_cvm.d.ts +7 -72
  32. package/dist/actions/cvms/restart_cvm.d.ts +7 -72
  33. package/dist/actions/cvms/shutdown_cvm.d.ts +9 -72
  34. package/dist/actions/cvms/start_cvm.d.ts +7 -72
  35. package/dist/actions/cvms/stop_cvm.d.ts +7 -72
  36. package/dist/actions/cvms/update_cvm_envs.d.ts +20 -20
  37. package/dist/actions/cvms/update_cvm_resources.d.ts +2 -2
  38. package/dist/actions/cvms/update_cvm_visibility.d.ts +24 -24
  39. package/dist/actions/cvms/update_docker_compose.d.ts +20 -20
  40. package/dist/actions/cvms/update_os_image.d.ts +2 -2
  41. package/dist/actions/cvms/update_prelaunch_script.d.ts +20 -20
  42. package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +20 -20
  43. package/dist/actions/kms/get_kms_list.d.ts +10 -10
  44. package/dist/actions/kms/next_app_ids.d.ts +6 -6
  45. package/dist/actions/list-instance-types.d.ts +12 -12
  46. package/dist/actions/ssh_keys/create_ssh_key.d.ts +2 -2
  47. package/dist/actions/ssh_keys/list_ssh_keys.d.ts +4 -4
  48. package/dist/actions/workspaces/get_workspace_nodes.d.ts +14 -14
  49. package/dist/index.js +254 -45
  50. package/dist/index.mjs +254 -45
  51. package/dist/types/app_info_v20251028.d.ts +128 -128
  52. package/dist/types/app_info_v20260121.d.ts +490 -490
  53. package/dist/types/app_revision.d.ts +8 -8
  54. package/dist/types/cvm_id.d.ts +6 -6
  55. package/dist/types/cvm_info.d.ts +98 -98
  56. package/dist/types/cvm_info_v20251028.d.ts +47 -47
  57. package/dist/types/cvm_info_v20260121.d.ts +148 -148
  58. package/dist/types/version-mappings.d.ts +37 -0
  59. package/package.json +1 -1
@@ -43,10 +43,10 @@ export declare const CvmContainersStatsSchema: z.ZodObject<{
43
43
  }, "strip", z.ZodTypeAny, {
44
44
  error: string | null;
45
45
  version: string | null;
46
- docker_compose_file: string | null;
47
- features: string[] | null;
48
46
  manifest_version: number | null;
49
47
  runner: string | null;
48
+ docker_compose_file: string | null;
49
+ features: string[] | null;
50
50
  is_online: boolean;
51
51
  is_public: boolean;
52
52
  containers: {
@@ -63,10 +63,10 @@ export declare const CvmContainersStatsSchema: z.ZodObject<{
63
63
  }, {
64
64
  error: string | null;
65
65
  version: string | null;
66
- docker_compose_file: string | null;
67
- features: string[] | null;
68
66
  manifest_version: number | null;
69
67
  runner: string | null;
68
+ docker_compose_file: string | null;
69
+ features: string[] | null;
70
70
  is_online: boolean;
71
71
  containers: {
72
72
  status: string;
@@ -91,15 +91,15 @@ export declare const GetCvmContainersStatsRequestSchema: z.ZodEffects<z.ZodEffec
91
91
  }, "strip", z.ZodTypeAny, {
92
92
  name?: string | undefined;
93
93
  id?: string | undefined;
94
+ uuid?: string | undefined;
94
95
  app_id?: string | undefined;
95
96
  instance_id?: string | undefined;
96
- uuid?: string | undefined;
97
97
  }, {
98
98
  name?: string | undefined;
99
99
  id?: string | undefined;
100
+ uuid?: string | undefined;
100
101
  app_id?: string | undefined;
101
102
  instance_id?: string | undefined;
102
- uuid?: string | undefined;
103
103
  }>, any, any>, {
104
104
  cvmId: any;
105
105
  }, any>;
@@ -108,10 +108,10 @@ declare const getCvmContainersStats: {
108
108
  (client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<{
109
109
  error: string | null;
110
110
  version: string | null;
111
- docker_compose_file: string | null;
112
- features: string[] | null;
113
111
  manifest_version: number | null;
114
112
  runner: string | null;
113
+ docker_compose_file: string | null;
114
+ features: string[] | null;
115
115
  is_online: boolean;
116
116
  is_public: boolean;
117
117
  containers: {
@@ -136,10 +136,10 @@ declare const getCvmContainersStats: {
136
136
  (client: import("../..").BaseClient<import("../..").ApiVersion>, params: CvmIdInput): Promise<import("../..").SafeResult<{
137
137
  error: string | null;
138
138
  version: string | null;
139
- docker_compose_file: string | null;
140
- features: string[] | null;
141
139
  manifest_version: number | null;
142
140
  runner: string | null;
141
+ docker_compose_file: string | null;
142
+ features: string[] | null;
143
143
  is_online: boolean;
144
144
  is_public: boolean;
145
145
  containers: {
@@ -9,15 +9,15 @@ export declare const GetCvmDockerComposeRequestSchema: z.ZodEffects<z.ZodEffects
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  name?: string | undefined;
11
11
  id?: string | undefined;
12
+ uuid?: string | undefined;
12
13
  app_id?: string | undefined;
13
14
  instance_id?: string | undefined;
14
- uuid?: string | undefined;
15
15
  }, {
16
16
  name?: string | undefined;
17
17
  id?: string | undefined;
18
+ uuid?: string | undefined;
18
19
  app_id?: string | undefined;
19
20
  instance_id?: string | undefined;
20
- uuid?: string | undefined;
21
21
  }>, any, any>, {
22
22
  cvmId: any;
23
23
  }, any>;
@@ -11,15 +11,15 @@ export declare const GetCvmInfoRequestSchema: import("zod").ZodEffects<import("z
11
11
  }, "strip", import("zod").ZodTypeAny, {
12
12
  name?: string | undefined;
13
13
  id?: string | undefined;
14
+ uuid?: string | undefined;
14
15
  app_id?: string | undefined;
15
16
  instance_id?: string | undefined;
16
- uuid?: string | undefined;
17
17
  }, {
18
18
  name?: string | undefined;
19
19
  id?: string | undefined;
20
+ uuid?: string | undefined;
20
21
  app_id?: string | undefined;
21
22
  instance_id?: string | undefined;
22
- uuid?: string | undefined;
23
23
  }>, any, any>, {
24
24
  cvmId: any;
25
25
  }, any>;
@@ -9,17 +9,17 @@ export declare const GetCvmListRequestSchema: z.ZodObject<{
9
9
  teepod_id: z.ZodOptional<z.ZodNumber>;
10
10
  user_id: z.ZodOptional<z.ZodString>;
11
11
  }, "strict", z.ZodTypeAny, {
12
+ node_id?: number | undefined;
12
13
  teepod_id?: number | undefined;
14
+ user_id?: string | undefined;
13
15
  page?: number | undefined;
14
16
  page_size?: number | undefined;
15
- node_id?: number | undefined;
16
- user_id?: string | undefined;
17
17
  }, {
18
+ node_id?: number | undefined;
18
19
  teepod_id?: number | undefined;
20
+ user_id?: string | undefined;
19
21
  page?: number | undefined;
20
22
  page_size?: number | undefined;
21
- node_id?: number | undefined;
22
- user_id?: string | undefined;
23
23
  }>;
24
24
  export type GetCvmListRequest = z.infer<typeof GetCvmListRequestSchema>;
25
25
  /**
@@ -47,15 +47,15 @@ export declare const GetCvmNetworkRequestSchema: z.ZodEffects<z.ZodEffects<z.Zod
47
47
  }, "strip", z.ZodTypeAny, {
48
48
  name?: string | undefined;
49
49
  id?: string | undefined;
50
+ uuid?: string | undefined;
50
51
  app_id?: string | undefined;
51
52
  instance_id?: string | undefined;
52
- uuid?: string | undefined;
53
53
  }, {
54
54
  name?: string | undefined;
55
55
  id?: string | undefined;
56
+ uuid?: string | undefined;
56
57
  app_id?: string | undefined;
57
58
  instance_id?: string | undefined;
58
- uuid?: string | undefined;
59
59
  }>, any, any>, {
60
60
  cvmId: any;
61
61
  }, any>;
@@ -9,15 +9,15 @@ export declare const GetCvmPreLaunchScriptRequestSchema: z.ZodEffects<z.ZodEffec
9
9
  }, "strip", z.ZodTypeAny, {
10
10
  name?: string | undefined;
11
11
  id?: string | undefined;
12
+ uuid?: string | undefined;
12
13
  app_id?: string | undefined;
13
14
  instance_id?: string | undefined;
14
- uuid?: string | undefined;
15
15
  }, {
16
16
  name?: string | undefined;
17
17
  id?: string | undefined;
18
+ uuid?: string | undefined;
18
19
  app_id?: string | undefined;
19
20
  instance_id?: string | undefined;
20
- uuid?: string | undefined;
21
21
  }>, any, any>, {
22
22
  cvmId: any;
23
23
  }, any>;
@@ -18,8 +18,8 @@ export declare const CvmStateSchema: z.ZodObject<{
18
18
  status: string;
19
19
  name: string;
20
20
  id?: string | undefined;
21
- uptime?: string | undefined;
22
21
  instance_id?: string | undefined;
22
+ uptime?: string | undefined;
23
23
  exited_at?: string | undefined;
24
24
  boot_progress?: string | undefined;
25
25
  boot_error?: string | undefined;
@@ -28,8 +28,8 @@ export declare const CvmStateSchema: z.ZodObject<{
28
28
  status: string;
29
29
  name: string;
30
30
  id?: string | undefined;
31
- uptime?: string | undefined;
32
31
  instance_id?: string | undefined;
32
+ uptime?: string | undefined;
33
33
  exited_at?: string | undefined;
34
34
  boot_progress?: string | undefined;
35
35
  boot_error?: string | undefined;
@@ -45,15 +45,15 @@ export declare const GetCvmStateRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
45
45
  }, "strip", z.ZodTypeAny, {
46
46
  name?: string | undefined;
47
47
  id?: string | undefined;
48
+ uuid?: string | undefined;
48
49
  app_id?: string | undefined;
49
50
  instance_id?: string | undefined;
50
- uuid?: string | undefined;
51
51
  }, {
52
52
  name?: string | undefined;
53
53
  id?: string | undefined;
54
+ uuid?: string | undefined;
54
55
  app_id?: string | undefined;
55
56
  instance_id?: string | undefined;
56
- uuid?: string | undefined;
57
57
  }>, any, any>, {
58
58
  cvmId: any;
59
59
  }, any>;
@@ -81,8 +81,8 @@ declare const getCvmState: {
81
81
  status: string;
82
82
  name: string;
83
83
  id?: string | undefined;
84
- uptime?: string | undefined;
85
84
  instance_id?: string | undefined;
85
+ uptime?: string | undefined;
86
86
  exited_at?: string | undefined;
87
87
  boot_progress?: string | undefined;
88
88
  boot_error?: string | undefined;
@@ -99,8 +99,8 @@ declare const getCvmState: {
99
99
  status: string;
100
100
  name: string;
101
101
  id?: string | undefined;
102
- uptime?: string | undefined;
103
102
  instance_id?: string | undefined;
103
+ uptime?: string | undefined;
104
104
  exited_at?: string | undefined;
105
105
  boot_progress?: string | undefined;
106
106
  boot_error?: string | undefined;
@@ -163,15 +163,15 @@ export declare const GetCvmStatsRequestSchema: z.ZodEffects<z.ZodEffects<z.ZodOb
163
163
  }, "strip", z.ZodTypeAny, {
164
164
  name?: string | undefined;
165
165
  id?: string | undefined;
166
+ uuid?: string | undefined;
166
167
  app_id?: string | undefined;
167
168
  instance_id?: string | undefined;
168
- uuid?: string | undefined;
169
169
  }, {
170
170
  name?: string | undefined;
171
171
  id?: string | undefined;
172
+ uuid?: string | undefined;
172
173
  app_id?: string | undefined;
173
174
  instance_id?: string | undefined;
174
- uuid?: string | undefined;
175
175
  }>, any, any>, {
176
176
  cvmId: any;
177
177
  }, any>;
@@ -18,8 +18,8 @@ export declare const CvmStatusSchema: z.ZodObject<{
18
18
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
19
  }, "strip", z.ZodTypeAny, {
20
20
  status: string;
21
- in_progress: boolean;
22
21
  vm_uuid: string;
22
+ in_progress: boolean;
23
23
  uptime?: string | null | undefined;
24
24
  boot_progress?: string | null | undefined;
25
25
  boot_error?: string | null | undefined;
@@ -28,8 +28,8 @@ export declare const CvmStatusSchema: z.ZodObject<{
28
28
  operation_started_at?: string | null | undefined;
29
29
  }, {
30
30
  status: string;
31
- in_progress: boolean;
32
31
  vm_uuid: string;
32
+ in_progress: boolean;
33
33
  uptime?: string | null | undefined;
34
34
  boot_progress?: string | null | undefined;
35
35
  boot_error?: string | null | undefined;
@@ -53,8 +53,8 @@ export declare const GetCvmStatusBatchResponseSchema: z.ZodRecord<z.ZodString, z
53
53
  correlation_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
54
54
  }, "strip", z.ZodTypeAny, {
55
55
  status: string;
56
- in_progress: boolean;
57
56
  vm_uuid: string;
57
+ in_progress: boolean;
58
58
  uptime?: string | null | undefined;
59
59
  boot_progress?: string | null | undefined;
60
60
  boot_error?: string | null | undefined;
@@ -63,8 +63,8 @@ export declare const GetCvmStatusBatchResponseSchema: z.ZodRecord<z.ZodString, z
63
63
  operation_started_at?: string | null | undefined;
64
64
  }, {
65
65
  status: string;
66
- in_progress: boolean;
67
66
  vm_uuid: string;
67
+ in_progress: boolean;
68
68
  uptime?: string | null | undefined;
69
69
  boot_progress?: string | null | undefined;
70
70
  boot_error?: string | null | undefined;
@@ -120,8 +120,8 @@ declare const getCvmStatusBatch: {
120
120
  vmUuids: string[];
121
121
  }): Promise<Record<string, {
122
122
  status: string;
123
- in_progress: boolean;
124
123
  vm_uuid: string;
124
+ in_progress: boolean;
125
125
  uptime?: string | null | undefined;
126
126
  boot_progress?: string | null | undefined;
127
127
  boot_error?: string | null | undefined;
@@ -144,8 +144,8 @@ declare const getCvmStatusBatch: {
144
144
  vmUuids: string[];
145
145
  }): Promise<import("../..").SafeResult<Record<string, {
146
146
  status: string;
147
- in_progress: boolean;
148
147
  vm_uuid: string;
148
+ in_progress: boolean;
149
149
  uptime?: string | null | undefined;
150
150
  boot_progress?: string | null | undefined;
151
151
  boot_error?: string | null | undefined;
@@ -23,15 +23,15 @@ export declare const GetCvmUserConfigRequestSchema: z.ZodEffects<z.ZodEffects<z.
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  name?: string | undefined;
25
25
  id?: string | undefined;
26
+ uuid?: string | undefined;
26
27
  app_id?: string | undefined;
27
28
  instance_id?: string | undefined;
28
- uuid?: string | undefined;
29
29
  }, {
30
30
  name?: string | undefined;
31
31
  id?: string | undefined;
32
+ uuid?: string | undefined;
32
33
  app_id?: string | undefined;
33
34
  instance_id?: string | undefined;
34
- uuid?: string | undefined;
35
35
  }>, any, any>, {
36
36
  cvmId: any;
37
37
  }, any>;
@@ -28,15 +28,15 @@ export declare const GetPreLaunchScriptUpgradeStatusRequestSchema: z.ZodEffects<
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  name?: string | undefined;
30
30
  id?: string | undefined;
31
+ uuid?: string | undefined;
31
32
  app_id?: string | undefined;
32
33
  instance_id?: string | undefined;
33
- uuid?: string | undefined;
34
34
  }, {
35
35
  name?: string | undefined;
36
36
  id?: string | undefined;
37
+ uuid?: string | undefined;
37
38
  app_id?: string | undefined;
38
39
  instance_id?: string | undefined;
39
- uuid?: string | undefined;
40
40
  }>, any, any>, {
41
41
  cvmId: any;
42
42
  }, any>;
@@ -81,11 +81,14 @@ export declare const PatchCvmRequestSchema: z.ZodEffects<z.ZodObject<{
81
81
  name?: string | undefined;
82
82
  image?: string | undefined;
83
83
  id?: string | undefined;
84
+ uuid?: string | undefined;
84
85
  app_id?: string | undefined;
85
86
  instance_id?: string | undefined;
86
87
  vcpu?: number | undefined;
87
88
  memory?: number | undefined;
88
89
  disk_size?: number | undefined;
90
+ docker_compose_file?: string | undefined;
91
+ encrypted_env?: string | undefined;
89
92
  public_sysinfo?: boolean | undefined;
90
93
  public_logs?: boolean | undefined;
91
94
  gpus?: {
@@ -93,11 +96,8 @@ export declare const PatchCvmRequestSchema: z.ZodEffects<z.ZodObject<{
93
96
  product_name?: string | undefined;
94
97
  } | undefined;
95
98
  public_tcbinfo?: boolean | undefined;
96
- uuid?: string | undefined;
97
99
  allowed_envs?: string[] | undefined;
98
- docker_compose_file?: string | undefined;
99
100
  pre_launch_script?: string | undefined;
100
- encrypted_env?: string | undefined;
101
101
  user_config?: string | undefined;
102
102
  shutdown_timeout?: number | undefined;
103
103
  allow_force_stop?: boolean | undefined;
@@ -106,11 +106,14 @@ export declare const PatchCvmRequestSchema: z.ZodEffects<z.ZodObject<{
106
106
  name?: string | undefined;
107
107
  image?: string | undefined;
108
108
  id?: string | undefined;
109
+ uuid?: string | undefined;
109
110
  app_id?: string | undefined;
110
111
  instance_id?: string | undefined;
111
112
  vcpu?: number | undefined;
112
113
  memory?: number | undefined;
113
114
  disk_size?: number | undefined;
115
+ docker_compose_file?: string | undefined;
116
+ encrypted_env?: string | undefined;
114
117
  public_sysinfo?: boolean | undefined;
115
118
  public_logs?: boolean | undefined;
116
119
  gpus?: {
@@ -118,11 +121,8 @@ export declare const PatchCvmRequestSchema: z.ZodEffects<z.ZodObject<{
118
121
  product_name?: string | undefined;
119
122
  } | undefined;
120
123
  public_tcbinfo?: boolean | undefined;
121
- uuid?: string | undefined;
122
124
  allowed_envs?: string[] | undefined;
123
- docker_compose_file?: string | undefined;
124
125
  pre_launch_script?: string | undefined;
125
- encrypted_env?: string | undefined;
126
126
  user_config?: string | undefined;
127
127
  shutdown_timeout?: number | undefined;
128
128
  allow_force_stop?: boolean | undefined;
@@ -202,16 +202,16 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
202
202
  is_allowed: boolean;
203
203
  }>>;
204
204
  }, "strip", z.ZodTypeAny, {
205
+ appId: string;
205
206
  deviceId: string;
206
207
  composeHash: string;
207
- appId: string;
208
208
  requiresOnChainHash: true;
209
209
  kmsInfo: {
210
210
  version: string;
211
211
  id: string;
212
212
  slug: string | null;
213
- url: string;
214
213
  chain_id: number | null;
214
+ url: string;
215
215
  kms_contract_address: `0x${string}`;
216
216
  gateway_app_id: `0x${string}`;
217
217
  } & {
@@ -226,16 +226,16 @@ declare const PatchCvmHashRequiredSchema: z.ZodObject<{
226
226
  is_allowed: boolean;
227
227
  } | undefined;
228
228
  }, {
229
+ appId: string;
229
230
  deviceId: string;
230
231
  composeHash: string;
231
- appId: string;
232
232
  requiresOnChainHash: true;
233
233
  kmsInfo: {
234
234
  version: string;
235
235
  id: string;
236
236
  slug: string | null;
237
- url: string;
238
237
  chain_id: number | null;
238
+ url: string;
239
239
  kms_contract_address: string | null;
240
240
  gateway_app_id: string | null;
241
241
  } & {
@@ -322,16 +322,16 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
322
322
  is_allowed: boolean;
323
323
  }>>;
324
324
  }, "strip", z.ZodTypeAny, {
325
+ appId: string;
325
326
  deviceId: string;
326
327
  composeHash: string;
327
- appId: string;
328
328
  requiresOnChainHash: true;
329
329
  kmsInfo: {
330
330
  version: string;
331
331
  id: string;
332
332
  slug: string | null;
333
- url: string;
334
333
  chain_id: number | null;
334
+ url: string;
335
335
  kms_contract_address: `0x${string}`;
336
336
  gateway_app_id: `0x${string}`;
337
337
  } & {
@@ -346,16 +346,16 @@ export declare const PatchCvmResultSchema: z.ZodDiscriminatedUnion<"requiresOnCh
346
346
  is_allowed: boolean;
347
347
  } | undefined;
348
348
  }, {
349
+ appId: string;
349
350
  deviceId: string;
350
351
  composeHash: string;
351
- appId: string;
352
352
  requiresOnChainHash: true;
353
353
  kmsInfo: {
354
354
  version: string;
355
355
  id: string;
356
356
  slug: string | null;
357
- url: string;
358
357
  chain_id: number | null;
358
+ url: string;
359
359
  kms_contract_address: string | null;
360
360
  gateway_app_id: string | null;
361
361
  } & {
@@ -378,16 +378,16 @@ declare const patchCvm: {
378
378
  requiresOnChainHash: false;
379
379
  correlationId: string;
380
380
  } | {
381
+ appId: string;
381
382
  deviceId: string;
382
383
  composeHash: string;
383
- appId: string;
384
384
  requiresOnChainHash: true;
385
385
  kmsInfo: {
386
386
  version: string;
387
387
  id: string;
388
388
  slug: string | null;
389
- url: string;
390
389
  chain_id: number | null;
390
+ url: string;
391
391
  kms_contract_address: `0x${string}`;
392
392
  gateway_app_id: `0x${string}`;
393
393
  } & {
@@ -413,16 +413,16 @@ declare const patchCvm: {
413
413
  requiresOnChainHash: false;
414
414
  correlationId: string;
415
415
  } | {
416
+ appId: string;
416
417
  deviceId: string;
417
418
  composeHash: string;
418
- appId: string;
419
419
  requiresOnChainHash: true;
420
420
  kmsInfo: {
421
421
  version: string;
422
422
  id: string;
423
423
  slug: string | null;
424
- url: string;
425
424
  chain_id: number | null;
425
+ url: string;
426
426
  kms_contract_address: `0x${string}`;
427
427
  gateway_app_id: `0x${string}`;
428
428
  } & {