@phala/cloud 0.3.0 → 0.5.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.
- package/README.md +20 -0
- package/dist/actions/api_tokens/revoke_current_api_token.d.ts +47 -0
- package/dist/actions/apps/app_launch_token.d.ts +121 -0
- package/dist/actions/apps/check_app_cvms_is_allowed.d.ts +17 -311
- package/dist/actions/apps/check_app_is_allowed.d.ts +20 -32
- package/dist/actions/apps/create_app_instance.d.ts +43 -63
- package/dist/actions/apps/get_app_attestation.d.ts +116 -772
- package/dist/actions/apps/get_app_cvms.d.ts +1 -5
- package/dist/actions/apps/get_app_device_allowlist.d.ts +26 -272
- package/dist/actions/apps/get_app_filter_options.d.ts +8 -24
- package/dist/actions/apps/get_app_info.d.ts +1 -5
- package/dist/actions/apps/get_app_list.d.ts +2 -26
- package/dist/actions/apps/get_app_revision_detail.d.ts +1 -9
- package/dist/actions/apps/get_app_revisions.d.ts +1 -9
- package/dist/actions/blockchains/add_compose_hash.d.ts +1 -13
- package/dist/actions/blockchains/add_device.d.ts +1 -13
- package/dist/actions/blockchains/deploy_app_auth.d.ts +3 -95
- package/dist/actions/blockchains/get_allowed_devices.d.ts +2 -12
- package/dist/actions/blockchains/remove_device.d.ts +1 -13
- package/dist/actions/blockchains/set_allow_any_device.d.ts +1 -13
- package/dist/actions/cvms/check_cvm_is_allowed.d.ts +13 -138
- package/dist/actions/cvms/commit_cvm_compose_file_update.d.ts +9 -45
- package/dist/actions/cvms/commit_cvm_provision.d.ts +32 -416
- package/dist/actions/cvms/commit_cvm_update.d.ts +70 -41
- package/dist/actions/cvms/confirm_cvm_patch.d.ts +62 -35
- package/dist/actions/cvms/cvm_annotations.d.ts +152 -0
- package/dist/actions/cvms/delete_cvm.d.ts +8 -14
- package/dist/actions/cvms/get_available_os_images.d.ts +70 -111
- package/dist/actions/cvms/get_cvm_attestation.d.ts +34 -392
- package/dist/actions/cvms/get_cvm_compose_file.d.ts +426 -512
- package/dist/actions/cvms/get_cvm_containers_stats.d.ts +25 -91
- package/dist/actions/cvms/get_cvm_docker_compose.d.ts +8 -14
- package/dist/actions/cvms/get_cvm_info.d.ts +6 -12
- package/dist/actions/cvms/get_cvm_init_scripts.d.ts +87 -0
- package/dist/actions/cvms/get_cvm_list.d.ts +9 -17
- package/dist/actions/cvms/get_cvm_network.d.ts +18 -50
- package/dist/actions/cvms/get_cvm_prelaunch_script.d.ts +8 -14
- package/dist/actions/cvms/get_cvm_state.d.ts +11 -37
- package/dist/actions/cvms/get_cvm_stats.d.ts +23 -149
- package/dist/actions/cvms/get_cvm_status_batch.d.ts +97 -64
- package/dist/actions/cvms/get_cvm_user_config.d.ts +13 -24
- package/dist/actions/cvms/get_prelaunch_script_upgrade_status.d.ts +9 -27
- package/dist/actions/cvms/patch_cvm.d.ts +666 -287
- package/dist/actions/cvms/provision_cvm.d.ts +339 -725
- package/dist/actions/cvms/provision_cvm_compose_file_update.d.ts +584 -777
- package/dist/actions/cvms/refresh_cvm_instance_id.d.ts +74 -131
- package/dist/actions/cvms/refresh_cvm_instance_ids.d.ts +77 -297
- package/dist/actions/cvms/replicate_cvm.d.ts +7 -21
- package/dist/actions/cvms/restart_cvm.d.ts +3 -18
- package/dist/actions/cvms/shutdown_cvm.d.ts +6 -12
- package/dist/actions/cvms/start_cvm.d.ts +6 -12
- package/dist/actions/cvms/stop_cvm.d.ts +6 -12
- package/dist/actions/cvms/update_cvm_envs.d.ts +144 -195
- package/dist/actions/cvms/update_cvm_resources.d.ts +93 -37
- package/dist/actions/cvms/update_cvm_visibility.d.ts +90 -130
- package/dist/actions/cvms/update_docker_compose.d.ts +143 -187
- package/dist/actions/cvms/update_os_image.d.ts +55 -28
- package/dist/actions/cvms/update_prelaunch_script.d.ts +143 -187
- package/dist/actions/cvms/upgrade_prelaunch_script.d.ts +126 -185
- package/dist/actions/cvms/watch_cvm_state.d.ts +5 -15
- package/dist/actions/get_available_nodes.d.ts +201 -823
- package/dist/actions/get_cvm_create_resources.d.ts +150 -2150
- package/dist/actions/index.d.ts +14 -4
- package/dist/actions/kms/get_app_env_encrypt_pubkey.d.ts +11 -23
- package/dist/actions/kms/get_kms_contract.d.ts +57 -0
- package/dist/actions/kms/get_kms_info.d.ts +3 -7
- package/dist/actions/kms/get_kms_list.d.ts +43 -82
- package/dist/actions/kms/get_kms_onchain_detail.d.ts +72 -616
- package/dist/actions/kms/list_kms_contract_nodes.d.ts +66 -0
- package/dist/actions/kms/list_kms_contracts.d.ts +98 -0
- package/dist/actions/kms/next_app_ids.d.ts +5 -25
- package/dist/actions/list-instance-types.d.ts +77 -257
- package/dist/actions/os_images/get_os_images.d.ts +38 -152
- package/dist/actions/ssh_keys/create_ssh_key.d.ts +11 -17
- package/dist/actions/ssh_keys/delete_ssh_key.d.ts +3 -7
- package/dist/actions/ssh_keys/get_cvm_ssh_keys.d.ts +113 -0
- package/dist/actions/ssh_keys/import_github_profile.d.ts +7 -21
- package/dist/actions/ssh_keys/list_ssh_keys.d.ts +2 -50
- package/dist/actions/ssh_keys/sync_github_ssh_keys.d.ts +8 -20
- package/dist/actions/ssh_keys/update_cvm_ssh_keys.d.ts +140 -0
- package/dist/actions/workspaces/get_workspace.d.ts +32 -24
- package/dist/actions/workspaces/get_workspace_nodes.d.ts +56 -182
- package/dist/actions/workspaces/get_workspace_quotas.d.ts +107 -1021
- package/dist/actions/workspaces/list_workspaces.d.ts +69 -245
- package/dist/client.d.ts +27 -5
- package/dist/create-client.d.ts +1820 -1
- package/dist/credentials/current_user_v20251028.d.ts +1 -17
- package/dist/credentials/current_user_v20260121.d.ts +22 -227
- package/dist/index.d.ts +1 -2
- package/dist/index.js +5454 -4389
- package/dist/index.mjs +5396 -4395
- package/dist/types/app_compose.d.ts +116 -184
- package/dist/types/app_info_v20251028.d.ts +29 -1030
- package/dist/types/app_info_v20260121.d.ts +686 -6832
- package/dist/types/app_revision.d.ts +15 -371
- package/dist/types/client.d.ts +18 -2
- package/dist/types/common.d.ts +6 -0
- package/dist/types/cvm_id.d.ts +12 -57
- package/dist/types/cvm_info.d.ts +33 -460
- package/dist/types/cvm_info_v20251028.d.ts +102 -800
- package/dist/types/cvm_info_v20260121.d.ts +411 -2347
- package/dist/types/kms_contract.d.ts +34 -0
- package/dist/types/kms_info.d.ts +34 -60
- package/dist/types/version-mappings.d.ts +6 -6
- package/dist/utils/define-action.d.ts +4 -4
- package/dist/utils/error_codes.d.ts +1 -0
- package/dist/utils/errors.d.ts +34 -37
- package/dist/utils/get_compose_hash.d.ts +59 -4
- package/dist/utils/get_mr_config_id.d.ts +146 -0
- package/dist/utils/index.d.ts +3 -2
- package/dist/utils/placement-request.d.ts +3 -0
- package/package.json +4 -4
|
@@ -4,11 +4,7 @@ import type { ApiVersion } from "../../types/client";
|
|
|
4
4
|
import type { GetAppCvmsResponse } from "../../types/version-mappings";
|
|
5
5
|
export declare const GetAppCvmsRequestSchema: z.ZodObject<{
|
|
6
6
|
appId: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
appId: string;
|
|
9
|
-
}, {
|
|
10
|
-
appId: string;
|
|
11
|
-
}>;
|
|
7
|
+
}, z.core.$strict>;
|
|
12
8
|
export type GetAppCvmsRequest = z.infer<typeof GetAppCvmsRequestSchema>;
|
|
13
9
|
/**
|
|
14
10
|
* Get a list of CVMs for a specific app
|
|
@@ -7,348 +7,102 @@ export declare const DeviceAllowlistItemV20260121Schema: z.ZodObject<{
|
|
|
7
7
|
node_name: z.ZodNullable<z.ZodString>;
|
|
8
8
|
allowed_onchain: z.ZodBoolean;
|
|
9
9
|
status: z.ZodString;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}, "strip", z.ZodTypeAny, {
|
|
13
|
-
status: string;
|
|
14
|
-
device_id: string;
|
|
15
|
-
node_name: string | null;
|
|
16
|
-
allowed_onchain: boolean;
|
|
17
|
-
cvm_ids: number[];
|
|
18
|
-
}, {
|
|
19
|
-
status: string;
|
|
20
|
-
device_id: string;
|
|
21
|
-
node_name: string | null;
|
|
22
|
-
allowed_onchain: boolean;
|
|
23
|
-
cvm_ids: number[];
|
|
24
|
-
}>;
|
|
10
|
+
cvm_ids: z.ZodArray<z.ZodNumber>;
|
|
11
|
+
}, z.core.$strip>;
|
|
25
12
|
export type DeviceAllowlistItemV20260121 = z.infer<typeof DeviceAllowlistItemV20260121Schema>;
|
|
26
13
|
export declare const DeviceAllowlistItemV20260522Schema: z.ZodObject<{
|
|
27
14
|
device_id: z.ZodString;
|
|
28
15
|
node_name: z.ZodNullable<z.ZodString>;
|
|
29
16
|
allowed_onchain: z.ZodBoolean;
|
|
30
17
|
status: z.ZodString;
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}, "strip", z.ZodTypeAny, {
|
|
34
|
-
status: string;
|
|
35
|
-
device_id: string;
|
|
36
|
-
node_name: string | null;
|
|
37
|
-
allowed_onchain: boolean;
|
|
38
|
-
cvm_ids: string[];
|
|
39
|
-
}, {
|
|
40
|
-
status: string;
|
|
41
|
-
device_id: string;
|
|
42
|
-
node_name: string | null;
|
|
43
|
-
allowed_onchain: boolean;
|
|
44
|
-
cvm_ids: string[];
|
|
45
|
-
}>;
|
|
18
|
+
cvm_ids: z.ZodArray<z.ZodString>;
|
|
19
|
+
}, z.core.$strip>;
|
|
46
20
|
export type DeviceAllowlistItemV20260522 = z.infer<typeof DeviceAllowlistItemV20260522Schema>;
|
|
47
21
|
export declare const DeviceAllowlistResponseV20260121Schema: z.ZodObject<{
|
|
48
22
|
is_onchain_kms: z.ZodBoolean;
|
|
49
23
|
allow_any_device: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
50
24
|
chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
25
|
app_contract_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
|
-
} & {
|
|
53
26
|
devices: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
54
27
|
device_id: z.ZodString;
|
|
55
28
|
node_name: z.ZodNullable<z.ZodString>;
|
|
56
29
|
allowed_onchain: z.ZodBoolean;
|
|
57
30
|
status: z.ZodString;
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
status: string;
|
|
62
|
-
device_id: string;
|
|
63
|
-
node_name: string | null;
|
|
64
|
-
allowed_onchain: boolean;
|
|
65
|
-
cvm_ids: number[];
|
|
66
|
-
}, {
|
|
67
|
-
status: string;
|
|
68
|
-
device_id: string;
|
|
69
|
-
node_name: string | null;
|
|
70
|
-
allowed_onchain: boolean;
|
|
71
|
-
cvm_ids: number[];
|
|
72
|
-
}>, "many">>>;
|
|
73
|
-
}, "strip", z.ZodTypeAny, {
|
|
74
|
-
is_onchain_kms: boolean;
|
|
75
|
-
devices: {
|
|
76
|
-
status: string;
|
|
77
|
-
device_id: string;
|
|
78
|
-
node_name: string | null;
|
|
79
|
-
allowed_onchain: boolean;
|
|
80
|
-
cvm_ids: number[];
|
|
81
|
-
}[];
|
|
82
|
-
app_contract_address?: string | null | undefined;
|
|
83
|
-
allow_any_device?: boolean | null | undefined;
|
|
84
|
-
chain_id?: number | null | undefined;
|
|
85
|
-
}, {
|
|
86
|
-
is_onchain_kms: boolean;
|
|
87
|
-
app_contract_address?: string | null | undefined;
|
|
88
|
-
allow_any_device?: boolean | null | undefined;
|
|
89
|
-
chain_id?: number | null | undefined;
|
|
90
|
-
devices?: {
|
|
91
|
-
status: string;
|
|
92
|
-
device_id: string;
|
|
93
|
-
node_name: string | null;
|
|
94
|
-
allowed_onchain: boolean;
|
|
95
|
-
cvm_ids: number[];
|
|
96
|
-
}[] | undefined;
|
|
97
|
-
}>;
|
|
31
|
+
cvm_ids: z.ZodArray<z.ZodNumber>;
|
|
32
|
+
}, z.core.$strip>>>>;
|
|
33
|
+
}, z.core.$strip>;
|
|
98
34
|
export type DeviceAllowlistResponseV20260121 = z.infer<typeof DeviceAllowlistResponseV20260121Schema>;
|
|
99
35
|
export declare const DeviceAllowlistResponseV20260522Schema: z.ZodObject<{
|
|
100
36
|
is_onchain_kms: z.ZodBoolean;
|
|
101
37
|
allow_any_device: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
102
38
|
chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
103
39
|
app_contract_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
104
|
-
} & {
|
|
105
40
|
devices: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
106
41
|
device_id: z.ZodString;
|
|
107
42
|
node_name: z.ZodNullable<z.ZodString>;
|
|
108
43
|
allowed_onchain: z.ZodBoolean;
|
|
109
44
|
status: z.ZodString;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
status: string;
|
|
114
|
-
device_id: string;
|
|
115
|
-
node_name: string | null;
|
|
116
|
-
allowed_onchain: boolean;
|
|
117
|
-
cvm_ids: string[];
|
|
118
|
-
}, {
|
|
119
|
-
status: string;
|
|
120
|
-
device_id: string;
|
|
121
|
-
node_name: string | null;
|
|
122
|
-
allowed_onchain: boolean;
|
|
123
|
-
cvm_ids: string[];
|
|
124
|
-
}>, "many">>>;
|
|
125
|
-
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
is_onchain_kms: boolean;
|
|
127
|
-
devices: {
|
|
128
|
-
status: string;
|
|
129
|
-
device_id: string;
|
|
130
|
-
node_name: string | null;
|
|
131
|
-
allowed_onchain: boolean;
|
|
132
|
-
cvm_ids: string[];
|
|
133
|
-
}[];
|
|
134
|
-
app_contract_address?: string | null | undefined;
|
|
135
|
-
allow_any_device?: boolean | null | undefined;
|
|
136
|
-
chain_id?: number | null | undefined;
|
|
137
|
-
}, {
|
|
138
|
-
is_onchain_kms: boolean;
|
|
139
|
-
app_contract_address?: string | null | undefined;
|
|
140
|
-
allow_any_device?: boolean | null | undefined;
|
|
141
|
-
chain_id?: number | null | undefined;
|
|
142
|
-
devices?: {
|
|
143
|
-
status: string;
|
|
144
|
-
device_id: string;
|
|
145
|
-
node_name: string | null;
|
|
146
|
-
allowed_onchain: boolean;
|
|
147
|
-
cvm_ids: string[];
|
|
148
|
-
}[] | undefined;
|
|
149
|
-
}>;
|
|
45
|
+
cvm_ids: z.ZodArray<z.ZodString>;
|
|
46
|
+
}, z.core.$strip>>>>;
|
|
47
|
+
}, z.core.$strip>;
|
|
150
48
|
export type DeviceAllowlistResponseV20260522 = z.infer<typeof DeviceAllowlistResponseV20260522Schema>;
|
|
151
|
-
declare const DeviceAllowlistItemAnySchema: z.ZodUnion<[z.ZodObject<{
|
|
49
|
+
declare const DeviceAllowlistItemAnySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
152
50
|
device_id: z.ZodString;
|
|
153
51
|
node_name: z.ZodNullable<z.ZodString>;
|
|
154
52
|
allowed_onchain: z.ZodBoolean;
|
|
155
53
|
status: z.ZodString;
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
}, "strip", z.ZodTypeAny, {
|
|
159
|
-
status: string;
|
|
160
|
-
device_id: string;
|
|
161
|
-
node_name: string | null;
|
|
162
|
-
allowed_onchain: boolean;
|
|
163
|
-
cvm_ids: number[];
|
|
164
|
-
}, {
|
|
165
|
-
status: string;
|
|
166
|
-
device_id: string;
|
|
167
|
-
node_name: string | null;
|
|
168
|
-
allowed_onchain: boolean;
|
|
169
|
-
cvm_ids: number[];
|
|
170
|
-
}>, z.ZodObject<{
|
|
54
|
+
cvm_ids: z.ZodArray<z.ZodNumber>;
|
|
55
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
171
56
|
device_id: z.ZodString;
|
|
172
57
|
node_name: z.ZodNullable<z.ZodString>;
|
|
173
58
|
allowed_onchain: z.ZodBoolean;
|
|
174
59
|
status: z.ZodString;
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
status: string;
|
|
179
|
-
device_id: string;
|
|
180
|
-
node_name: string | null;
|
|
181
|
-
allowed_onchain: boolean;
|
|
182
|
-
cvm_ids: string[];
|
|
183
|
-
}, {
|
|
184
|
-
status: string;
|
|
185
|
-
device_id: string;
|
|
186
|
-
node_name: string | null;
|
|
187
|
-
allowed_onchain: boolean;
|
|
188
|
-
cvm_ids: string[];
|
|
189
|
-
}>]>;
|
|
190
|
-
declare const DeviceAllowlistResponseAnySchema: z.ZodUnion<[z.ZodObject<{
|
|
60
|
+
cvm_ids: z.ZodArray<z.ZodString>;
|
|
61
|
+
}, z.core.$strip>]>;
|
|
62
|
+
declare const DeviceAllowlistResponseAnySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
191
63
|
is_onchain_kms: z.ZodBoolean;
|
|
192
64
|
allow_any_device: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
193
65
|
chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
194
66
|
app_contract_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
|
-
} & {
|
|
196
67
|
devices: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
197
68
|
device_id: z.ZodString;
|
|
198
69
|
node_name: z.ZodNullable<z.ZodString>;
|
|
199
70
|
allowed_onchain: z.ZodBoolean;
|
|
200
71
|
status: z.ZodString;
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
status: string;
|
|
205
|
-
device_id: string;
|
|
206
|
-
node_name: string | null;
|
|
207
|
-
allowed_onchain: boolean;
|
|
208
|
-
cvm_ids: number[];
|
|
209
|
-
}, {
|
|
210
|
-
status: string;
|
|
211
|
-
device_id: string;
|
|
212
|
-
node_name: string | null;
|
|
213
|
-
allowed_onchain: boolean;
|
|
214
|
-
cvm_ids: number[];
|
|
215
|
-
}>, "many">>>;
|
|
216
|
-
}, "strip", z.ZodTypeAny, {
|
|
217
|
-
is_onchain_kms: boolean;
|
|
218
|
-
devices: {
|
|
219
|
-
status: string;
|
|
220
|
-
device_id: string;
|
|
221
|
-
node_name: string | null;
|
|
222
|
-
allowed_onchain: boolean;
|
|
223
|
-
cvm_ids: number[];
|
|
224
|
-
}[];
|
|
225
|
-
app_contract_address?: string | null | undefined;
|
|
226
|
-
allow_any_device?: boolean | null | undefined;
|
|
227
|
-
chain_id?: number | null | undefined;
|
|
228
|
-
}, {
|
|
229
|
-
is_onchain_kms: boolean;
|
|
230
|
-
app_contract_address?: string | null | undefined;
|
|
231
|
-
allow_any_device?: boolean | null | undefined;
|
|
232
|
-
chain_id?: number | null | undefined;
|
|
233
|
-
devices?: {
|
|
234
|
-
status: string;
|
|
235
|
-
device_id: string;
|
|
236
|
-
node_name: string | null;
|
|
237
|
-
allowed_onchain: boolean;
|
|
238
|
-
cvm_ids: number[];
|
|
239
|
-
}[] | undefined;
|
|
240
|
-
}>, z.ZodObject<{
|
|
72
|
+
cvm_ids: z.ZodArray<z.ZodNumber>;
|
|
73
|
+
}, z.core.$strip>>>>;
|
|
74
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
241
75
|
is_onchain_kms: z.ZodBoolean;
|
|
242
76
|
allow_any_device: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
243
77
|
chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
244
78
|
app_contract_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
|
-
} & {
|
|
246
79
|
devices: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
247
80
|
device_id: z.ZodString;
|
|
248
81
|
node_name: z.ZodNullable<z.ZodString>;
|
|
249
82
|
allowed_onchain: z.ZodBoolean;
|
|
250
83
|
status: z.ZodString;
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
status: string;
|
|
255
|
-
device_id: string;
|
|
256
|
-
node_name: string | null;
|
|
257
|
-
allowed_onchain: boolean;
|
|
258
|
-
cvm_ids: string[];
|
|
259
|
-
}, {
|
|
260
|
-
status: string;
|
|
261
|
-
device_id: string;
|
|
262
|
-
node_name: string | null;
|
|
263
|
-
allowed_onchain: boolean;
|
|
264
|
-
cvm_ids: string[];
|
|
265
|
-
}>, "many">>>;
|
|
266
|
-
}, "strip", z.ZodTypeAny, {
|
|
267
|
-
is_onchain_kms: boolean;
|
|
268
|
-
devices: {
|
|
269
|
-
status: string;
|
|
270
|
-
device_id: string;
|
|
271
|
-
node_name: string | null;
|
|
272
|
-
allowed_onchain: boolean;
|
|
273
|
-
cvm_ids: string[];
|
|
274
|
-
}[];
|
|
275
|
-
app_contract_address?: string | null | undefined;
|
|
276
|
-
allow_any_device?: boolean | null | undefined;
|
|
277
|
-
chain_id?: number | null | undefined;
|
|
278
|
-
}, {
|
|
279
|
-
is_onchain_kms: boolean;
|
|
280
|
-
app_contract_address?: string | null | undefined;
|
|
281
|
-
allow_any_device?: boolean | null | undefined;
|
|
282
|
-
chain_id?: number | null | undefined;
|
|
283
|
-
devices?: {
|
|
284
|
-
status: string;
|
|
285
|
-
device_id: string;
|
|
286
|
-
node_name: string | null;
|
|
287
|
-
allowed_onchain: boolean;
|
|
288
|
-
cvm_ids: string[];
|
|
289
|
-
}[] | undefined;
|
|
290
|
-
}>]>;
|
|
84
|
+
cvm_ids: z.ZodArray<z.ZodString>;
|
|
85
|
+
}, z.core.$strip>>>>;
|
|
86
|
+
}, z.core.$strip>]>;
|
|
291
87
|
declare const DeviceAllowlistResponseSchema: z.ZodObject<{
|
|
292
88
|
is_onchain_kms: z.ZodBoolean;
|
|
293
89
|
allow_any_device: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
294
90
|
chain_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
295
91
|
app_contract_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
296
|
-
} & {
|
|
297
92
|
devices: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
93
|
device_id: z.ZodString;
|
|
299
94
|
node_name: z.ZodNullable<z.ZodString>;
|
|
300
95
|
allowed_onchain: z.ZodBoolean;
|
|
301
96
|
status: z.ZodString;
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
status: string;
|
|
306
|
-
device_id: string;
|
|
307
|
-
node_name: string | null;
|
|
308
|
-
allowed_onchain: boolean;
|
|
309
|
-
cvm_ids: string[];
|
|
310
|
-
}, {
|
|
311
|
-
status: string;
|
|
312
|
-
device_id: string;
|
|
313
|
-
node_name: string | null;
|
|
314
|
-
allowed_onchain: boolean;
|
|
315
|
-
cvm_ids: string[];
|
|
316
|
-
}>, "many">>>;
|
|
317
|
-
}, "strip", z.ZodTypeAny, {
|
|
318
|
-
is_onchain_kms: boolean;
|
|
319
|
-
devices: {
|
|
320
|
-
status: string;
|
|
321
|
-
device_id: string;
|
|
322
|
-
node_name: string | null;
|
|
323
|
-
allowed_onchain: boolean;
|
|
324
|
-
cvm_ids: string[];
|
|
325
|
-
}[];
|
|
326
|
-
app_contract_address?: string | null | undefined;
|
|
327
|
-
allow_any_device?: boolean | null | undefined;
|
|
328
|
-
chain_id?: number | null | undefined;
|
|
329
|
-
}, {
|
|
330
|
-
is_onchain_kms: boolean;
|
|
331
|
-
app_contract_address?: string | null | undefined;
|
|
332
|
-
allow_any_device?: boolean | null | undefined;
|
|
333
|
-
chain_id?: number | null | undefined;
|
|
334
|
-
devices?: {
|
|
335
|
-
status: string;
|
|
336
|
-
device_id: string;
|
|
337
|
-
node_name: string | null;
|
|
338
|
-
allowed_onchain: boolean;
|
|
339
|
-
cvm_ids: string[];
|
|
340
|
-
}[] | undefined;
|
|
341
|
-
}>;
|
|
97
|
+
cvm_ids: z.ZodArray<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>>>>;
|
|
99
|
+
}, z.core.$strip>;
|
|
342
100
|
export type DeviceAllowlistItem = z.infer<typeof DeviceAllowlistItemV20260522Schema>;
|
|
343
101
|
export type DeviceAllowlistResponse = z.infer<typeof DeviceAllowlistResponseSchema>;
|
|
344
102
|
export { DeviceAllowlistItemAnySchema, DeviceAllowlistResponseAnySchema };
|
|
345
103
|
export declare const GetAppDeviceAllowlistRequestSchema: z.ZodObject<{
|
|
346
104
|
appId: z.ZodString;
|
|
347
|
-
},
|
|
348
|
-
appId: string;
|
|
349
|
-
}, {
|
|
350
|
-
appId: string;
|
|
351
|
-
}>;
|
|
105
|
+
}, z.core.$strict>;
|
|
352
106
|
export type GetAppDeviceAllowlistRequest = z.infer<typeof GetAppDeviceAllowlistRequestSchema>;
|
|
353
107
|
/**
|
|
354
108
|
* Get device allowlist status for an app's CVMs
|
|
@@ -2,30 +2,14 @@ import { z } from "zod";
|
|
|
2
2
|
import { type Client, type SafeResult } from "../../client";
|
|
3
3
|
import type { ApiVersion } from "../../types/client";
|
|
4
4
|
export declare const AppFilterOptionsSchema: z.ZodObject<{
|
|
5
|
-
statuses: z.ZodArray<z.ZodString
|
|
6
|
-
image_versions: z.ZodArray<z.ZodString
|
|
7
|
-
instance_types: z.ZodArray<z.ZodString
|
|
8
|
-
kms_slugs: z.ZodArray<z.ZodString
|
|
9
|
-
kms_types: z.ZodArray<z.ZodString
|
|
10
|
-
regions: z.ZodArray<z.ZodString
|
|
11
|
-
nodes: z.ZodArray<z.ZodString
|
|
12
|
-
},
|
|
13
|
-
nodes: string[];
|
|
14
|
-
instance_types: string[];
|
|
15
|
-
statuses: string[];
|
|
16
|
-
image_versions: string[];
|
|
17
|
-
kms_slugs: string[];
|
|
18
|
-
kms_types: string[];
|
|
19
|
-
regions: string[];
|
|
20
|
-
}, {
|
|
21
|
-
nodes: string[];
|
|
22
|
-
instance_types: string[];
|
|
23
|
-
statuses: string[];
|
|
24
|
-
image_versions: string[];
|
|
25
|
-
kms_slugs: string[];
|
|
26
|
-
kms_types: string[];
|
|
27
|
-
regions: string[];
|
|
28
|
-
}>;
|
|
5
|
+
statuses: z.ZodArray<z.ZodString>;
|
|
6
|
+
image_versions: z.ZodArray<z.ZodString>;
|
|
7
|
+
instance_types: z.ZodArray<z.ZodString>;
|
|
8
|
+
kms_slugs: z.ZodArray<z.ZodString>;
|
|
9
|
+
kms_types: z.ZodArray<z.ZodString>;
|
|
10
|
+
regions: z.ZodArray<z.ZodString>;
|
|
11
|
+
nodes: z.ZodArray<z.ZodString>;
|
|
12
|
+
}, z.core.$strip>;
|
|
29
13
|
export type AppFilterOptions = z.infer<typeof AppFilterOptionsSchema>;
|
|
30
14
|
/**
|
|
31
15
|
* Get available filter options for apps
|
|
@@ -4,11 +4,7 @@ import type { ApiVersion } from "../../types/client";
|
|
|
4
4
|
import type { GetAppInfoResponse } from "../../types/version-mappings";
|
|
5
5
|
export declare const GetAppInfoRequestSchema: z.ZodObject<{
|
|
6
6
|
appId: z.ZodString;
|
|
7
|
-
},
|
|
8
|
-
appId: string;
|
|
9
|
-
}, {
|
|
10
|
-
appId: string;
|
|
11
|
-
}>;
|
|
7
|
+
}, z.core.$strict>;
|
|
12
8
|
export type GetAppInfoRequest = z.infer<typeof GetAppInfoRequestSchema>;
|
|
13
9
|
/**
|
|
14
10
|
* Get information about a specific app
|
|
@@ -6,7 +6,7 @@ export declare const GetAppListRequestSchema: z.ZodObject<{
|
|
|
6
6
|
page: z.ZodOptional<z.ZodNumber>;
|
|
7
7
|
page_size: z.ZodOptional<z.ZodNumber>;
|
|
8
8
|
search: z.ZodOptional<z.ZodString>;
|
|
9
|
-
status: z.ZodOptional<z.ZodArray<z.ZodString
|
|
9
|
+
status: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10
10
|
listed: z.ZodOptional<z.ZodBoolean>;
|
|
11
11
|
base_image: z.ZodOptional<z.ZodString>;
|
|
12
12
|
instance_type: z.ZodOptional<z.ZodString>;
|
|
@@ -14,31 +14,7 @@ export declare const GetAppListRequestSchema: z.ZodObject<{
|
|
|
14
14
|
kms_type: z.ZodOptional<z.ZodString>;
|
|
15
15
|
node: z.ZodOptional<z.ZodString>;
|
|
16
16
|
region: z.ZodOptional<z.ZodString>;
|
|
17
|
-
},
|
|
18
|
-
status?: string[] | undefined;
|
|
19
|
-
base_image?: string | undefined;
|
|
20
|
-
search?: string | undefined;
|
|
21
|
-
node?: string | undefined;
|
|
22
|
-
listed?: boolean | undefined;
|
|
23
|
-
instance_type?: string | undefined;
|
|
24
|
-
page?: number | undefined;
|
|
25
|
-
page_size?: number | undefined;
|
|
26
|
-
kms_type?: string | undefined;
|
|
27
|
-
kms_slug?: string | undefined;
|
|
28
|
-
region?: string | undefined;
|
|
29
|
-
}, {
|
|
30
|
-
status?: string[] | undefined;
|
|
31
|
-
base_image?: string | undefined;
|
|
32
|
-
search?: string | undefined;
|
|
33
|
-
node?: string | undefined;
|
|
34
|
-
listed?: boolean | undefined;
|
|
35
|
-
instance_type?: string | undefined;
|
|
36
|
-
page?: number | undefined;
|
|
37
|
-
page_size?: number | undefined;
|
|
38
|
-
kms_type?: string | undefined;
|
|
39
|
-
kms_slug?: string | undefined;
|
|
40
|
-
region?: string | undefined;
|
|
41
|
-
}>;
|
|
17
|
+
}, z.core.$strict>;
|
|
42
18
|
export type GetAppListRequest = z.infer<typeof GetAppListRequestSchema>;
|
|
43
19
|
/**
|
|
44
20
|
* Get a paginated list of apps
|
|
@@ -6,15 +6,7 @@ export declare const GetAppRevisionDetailRequestSchema: z.ZodObject<{
|
|
|
6
6
|
appId: z.ZodString;
|
|
7
7
|
revisionId: z.ZodString;
|
|
8
8
|
rawComposeFile: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
-
},
|
|
10
|
-
appId: string;
|
|
11
|
-
revisionId: string;
|
|
12
|
-
rawComposeFile?: boolean | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
appId: string;
|
|
15
|
-
revisionId: string;
|
|
16
|
-
rawComposeFile?: boolean | undefined;
|
|
17
|
-
}>;
|
|
9
|
+
}, z.core.$strict>;
|
|
18
10
|
export type GetAppRevisionDetailRequest = z.infer<typeof GetAppRevisionDetailRequestSchema>;
|
|
19
11
|
/**
|
|
20
12
|
* Get detailed information about a specific app revision
|
|
@@ -6,15 +6,7 @@ export declare const GetAppRevisionsRequestSchema: z.ZodObject<{
|
|
|
6
6
|
appId: z.ZodString;
|
|
7
7
|
page: z.ZodOptional<z.ZodNumber>;
|
|
8
8
|
page_size: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
},
|
|
10
|
-
appId: string;
|
|
11
|
-
page?: number | undefined;
|
|
12
|
-
page_size?: number | undefined;
|
|
13
|
-
}, {
|
|
14
|
-
appId: string;
|
|
15
|
-
page?: number | undefined;
|
|
16
|
-
page_size?: number | undefined;
|
|
17
|
-
}>;
|
|
9
|
+
}, z.core.$strict>;
|
|
18
10
|
export type GetAppRevisionsRequest = z.infer<typeof GetAppRevisionsRequestSchema>;
|
|
19
11
|
/**
|
|
20
12
|
* Get a paginated list of revisions for a specific app
|
|
@@ -24,19 +24,7 @@ export declare const AddComposeHashSchema: z.ZodObject<{
|
|
|
24
24
|
transactionHash: z.ZodString;
|
|
25
25
|
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
26
26
|
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
27
|
-
},
|
|
28
|
-
composeHash: z.ZodString;
|
|
29
|
-
appId: z.ZodString;
|
|
30
|
-
transactionHash: z.ZodString;
|
|
31
|
-
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
32
|
-
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
33
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
34
|
-
composeHash: z.ZodString;
|
|
35
|
-
appId: z.ZodString;
|
|
36
|
-
transactionHash: z.ZodString;
|
|
37
|
-
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
38
|
-
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
39
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
27
|
+
}, z.core.$loose>;
|
|
40
28
|
export type AddComposeHash = z.infer<typeof AddComposeHashSchema>;
|
|
41
29
|
export type AddComposeHashParameters<T = undefined> = T extends z.ZodTypeAny ? {
|
|
42
30
|
schema: T;
|
|
@@ -24,19 +24,7 @@ export declare const AddDeviceSchema: z.ZodObject<{
|
|
|
24
24
|
transactionHash: z.ZodString;
|
|
25
25
|
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
26
26
|
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
27
|
-
},
|
|
28
|
-
appAddress: z.ZodString;
|
|
29
|
-
deviceId: z.ZodString;
|
|
30
|
-
transactionHash: z.ZodString;
|
|
31
|
-
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
32
|
-
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
33
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
34
|
-
appAddress: z.ZodString;
|
|
35
|
-
deviceId: z.ZodString;
|
|
36
|
-
transactionHash: z.ZodString;
|
|
37
|
-
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
38
|
-
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
39
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
27
|
+
}, z.core.$loose>;
|
|
40
28
|
export type AddDevice = z.infer<typeof AddDeviceSchema>;
|
|
41
29
|
export type AddDeviceParameters<T = undefined> = T extends z.ZodTypeAny ? {
|
|
42
30
|
schema: T;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { type Chain, type Address, type Hash, type Hex, type TransactionReceipt, type PublicClient, type WalletClient } from "viem";
|
|
3
3
|
import { type TransactionTracker, type RetryOptions } from "../../utils";
|
|
4
|
-
export declare const DeployAppAuthRequestSchema: z.
|
|
4
|
+
export declare const DeployAppAuthRequestSchema: z.ZodObject<{
|
|
5
5
|
chain: z.ZodOptional<z.ZodUnknown>;
|
|
6
6
|
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
7
7
|
kmsContractAddress: z.ZodString;
|
|
@@ -14,85 +14,7 @@ export declare const DeployAppAuthRequestSchema: z.ZodEffects<z.ZodEffects<z.Zod
|
|
|
14
14
|
disableUpgrades: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
15
15
|
skipPrerequisiteChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
16
16
|
minBalance: z.ZodOptional<z.ZodString>;
|
|
17
|
-
},
|
|
18
|
-
chain: z.ZodOptional<z.ZodUnknown>;
|
|
19
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
20
|
-
kmsContractAddress: z.ZodString;
|
|
21
|
-
privateKey: z.ZodOptional<z.ZodString>;
|
|
22
|
-
walletClient: z.ZodOptional<z.ZodUnknown>;
|
|
23
|
-
publicClient: z.ZodOptional<z.ZodUnknown>;
|
|
24
|
-
allowAnyDevice: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
25
|
-
deviceId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
26
|
-
composeHash: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
27
|
-
disableUpgrades: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
28
|
-
skipPrerequisiteChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
29
|
-
minBalance: z.ZodOptional<z.ZodString>;
|
|
30
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
31
|
-
chain: z.ZodOptional<z.ZodUnknown>;
|
|
32
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
33
|
-
kmsContractAddress: z.ZodString;
|
|
34
|
-
privateKey: z.ZodOptional<z.ZodString>;
|
|
35
|
-
walletClient: z.ZodOptional<z.ZodUnknown>;
|
|
36
|
-
publicClient: z.ZodOptional<z.ZodUnknown>;
|
|
37
|
-
allowAnyDevice: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
38
|
-
deviceId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
39
|
-
composeHash: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
40
|
-
disableUpgrades: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
41
|
-
skipPrerequisiteChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
42
|
-
minBalance: z.ZodOptional<z.ZodString>;
|
|
43
|
-
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
44
|
-
chain: z.ZodOptional<z.ZodUnknown>;
|
|
45
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
46
|
-
kmsContractAddress: z.ZodString;
|
|
47
|
-
privateKey: z.ZodOptional<z.ZodString>;
|
|
48
|
-
walletClient: z.ZodOptional<z.ZodUnknown>;
|
|
49
|
-
publicClient: z.ZodOptional<z.ZodUnknown>;
|
|
50
|
-
allowAnyDevice: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
51
|
-
deviceId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
52
|
-
composeHash: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
53
|
-
disableUpgrades: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
54
|
-
skipPrerequisiteChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
55
|
-
minBalance: z.ZodOptional<z.ZodString>;
|
|
56
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
57
|
-
chain: z.ZodOptional<z.ZodUnknown>;
|
|
58
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
59
|
-
kmsContractAddress: z.ZodString;
|
|
60
|
-
privateKey: z.ZodOptional<z.ZodString>;
|
|
61
|
-
walletClient: z.ZodOptional<z.ZodUnknown>;
|
|
62
|
-
publicClient: z.ZodOptional<z.ZodUnknown>;
|
|
63
|
-
allowAnyDevice: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
64
|
-
deviceId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
65
|
-
composeHash: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
66
|
-
disableUpgrades: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
67
|
-
skipPrerequisiteChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
68
|
-
minBalance: z.ZodOptional<z.ZodString>;
|
|
69
|
-
}, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
|
|
70
|
-
chain: z.ZodOptional<z.ZodUnknown>;
|
|
71
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
72
|
-
kmsContractAddress: z.ZodString;
|
|
73
|
-
privateKey: z.ZodOptional<z.ZodString>;
|
|
74
|
-
walletClient: z.ZodOptional<z.ZodUnknown>;
|
|
75
|
-
publicClient: z.ZodOptional<z.ZodUnknown>;
|
|
76
|
-
allowAnyDevice: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
77
|
-
deviceId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
78
|
-
composeHash: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
79
|
-
disableUpgrades: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
80
|
-
skipPrerequisiteChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
81
|
-
minBalance: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
83
|
-
chain: z.ZodOptional<z.ZodUnknown>;
|
|
84
|
-
rpcUrl: z.ZodOptional<z.ZodString>;
|
|
85
|
-
kmsContractAddress: z.ZodString;
|
|
86
|
-
privateKey: z.ZodOptional<z.ZodString>;
|
|
87
|
-
walletClient: z.ZodOptional<z.ZodUnknown>;
|
|
88
|
-
publicClient: z.ZodOptional<z.ZodUnknown>;
|
|
89
|
-
allowAnyDevice: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
90
|
-
deviceId: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
91
|
-
composeHash: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
92
|
-
disableUpgrades: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
93
|
-
skipPrerequisiteChecks: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
94
|
-
minBalance: z.ZodOptional<z.ZodString>;
|
|
95
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
17
|
+
}, z.core.$loose>;
|
|
96
18
|
export type DeployAppAuthRequest = {
|
|
97
19
|
chain?: Chain;
|
|
98
20
|
rpcUrl?: string;
|
|
@@ -120,21 +42,7 @@ export declare const DeployAppAuthSchema: z.ZodObject<{
|
|
|
120
42
|
transactionHash: z.ZodString;
|
|
121
43
|
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
122
44
|
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
123
|
-
},
|
|
124
|
-
appId: z.ZodString;
|
|
125
|
-
appAuthAddress: z.ZodString;
|
|
126
|
-
deployer: z.ZodString;
|
|
127
|
-
transactionHash: z.ZodString;
|
|
128
|
-
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
129
|
-
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
130
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
131
|
-
appId: z.ZodString;
|
|
132
|
-
appAuthAddress: z.ZodString;
|
|
133
|
-
deployer: z.ZodString;
|
|
134
|
-
transactionHash: z.ZodString;
|
|
135
|
-
blockNumber: z.ZodOptional<z.ZodBigInt>;
|
|
136
|
-
gasUsed: z.ZodOptional<z.ZodBigInt>;
|
|
137
|
-
}, z.ZodTypeAny, "passthrough">>;
|
|
45
|
+
}, z.core.$loose>;
|
|
138
46
|
export type DeployAppAuth = z.infer<typeof DeployAppAuthSchema>;
|
|
139
47
|
export type DeployAppAuthParameters<T = undefined> = T extends z.ZodTypeAny ? {
|
|
140
48
|
schema: T;
|