@phala/cloud 0.0.1 → 0.0.3
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/dist/actions/add_compose_hash.d.ts +63 -0
- package/dist/actions/add_compose_hash.d.ts.map +1 -0
- package/dist/actions/commit_cvm_compose_file_update.d.ts +143 -0
- package/dist/actions/commit_cvm_compose_file_update.d.ts.map +1 -0
- package/dist/actions/commit_cvm_provision.d.ts +209 -0
- package/dist/actions/commit_cvm_provision.d.ts.map +1 -0
- package/dist/actions/deploy_app_auth.d.ts +164 -0
- package/dist/actions/deploy_app_auth.d.ts.map +1 -0
- package/dist/actions/get_app_env_encrypt_pubkey.d.ts +30 -0
- package/dist/actions/get_app_env_encrypt_pubkey.d.ts.map +1 -0
- package/dist/actions/get_available_nodes.d.ts +572 -0
- package/dist/actions/get_available_nodes.d.ts.map +1 -0
- package/dist/actions/get_current_user.d.ts +92 -0
- package/dist/actions/get_current_user.d.ts.map +1 -0
- package/dist/actions/get_cvm_compose_file.d.ts +190 -0
- package/dist/actions/get_cvm_compose_file.d.ts.map +1 -0
- package/dist/actions/get_cvm_info.d.ts +73 -0
- package/dist/actions/get_cvm_info.d.ts.map +1 -0
- package/dist/actions/get_cvm_list.d.ts +392 -0
- package/dist/actions/get_cvm_list.d.ts.map +1 -0
- package/dist/actions/get_kms_info.d.ts +34 -0
- package/dist/actions/get_kms_info.d.ts.map +1 -0
- package/dist/actions/get_kms_list.d.ts +82 -0
- package/dist/actions/get_kms_list.d.ts.map +1 -0
- package/dist/actions/index.d.ts +15 -0
- package/dist/actions/index.d.ts.map +1 -0
- package/dist/actions/provision_cvm.d.ts +228 -0
- package/dist/actions/provision_cvm.d.ts.map +1 -0
- package/dist/actions/provision_cvm_compose_file_update.d.ts +313 -0
- package/dist/actions/provision_cvm_compose_file_update.d.ts.map +1 -0
- package/dist/client.d.ts +80 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/index.d.ts +9 -2978
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +91 -20
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +89 -18
- package/dist/index.mjs.map +1 -0
- package/dist/parse_dotenv.d.ts +14 -0
- package/dist/parse_dotenv.d.ts.map +1 -0
- package/dist/types/client.d.ts +126 -0
- package/dist/types/client.d.ts.map +1 -0
- package/dist/types/common.d.ts +17 -0
- package/dist/types/common.d.ts.map +1 -0
- package/dist/types/cvm_info.d.ts +486 -0
- package/dist/types/cvm_info.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/kms_info.d.ts +28 -0
- package/dist/types/kms_info.d.ts.map +1 -0
- package/dist/utils/as-hex.d.ts +17 -0
- package/dist/utils/as-hex.d.ts.map +1 -0
- package/dist/utils/client-factories.d.ts +44 -0
- package/dist/utils/client-factories.d.ts.map +1 -0
- package/dist/utils/get_compose_hash.d.ts +15 -0
- package/dist/utils/get_compose_hash.d.ts.map +1 -0
- package/dist/utils/get_error_message.d.ts +3 -0
- package/dist/utils/get_error_message.d.ts.map +1 -0
- package/dist/utils/index.d.ts +9 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/network.d.ts +101 -0
- package/dist/utils/network.d.ts.map +1 -0
- package/dist/utils/transaction.d.ts +81 -0
- package/dist/utils/transaction.d.ts.map +1 -0
- package/dist/utils/validate-parameters.d.ts +20 -0
- package/dist/utils/validate-parameters.d.ts.map +1 -0
- package/package.json +10 -4
- package/dist/index.d.mts +0 -2978
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import type { FetchError, FetchOptions, FetchRequest } from "ofetch";
|
|
3
|
+
/**
|
|
4
|
+
* API Error Response Schema
|
|
5
|
+
*/
|
|
6
|
+
export declare const ApiErrorSchema: z.ZodObject<{
|
|
7
|
+
detail: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
8
|
+
msg: z.ZodString;
|
|
9
|
+
type: z.ZodOptional<z.ZodString>;
|
|
10
|
+
ctx: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
11
|
+
}, "strip", z.ZodTypeAny, {
|
|
12
|
+
msg: string;
|
|
13
|
+
type?: string | undefined;
|
|
14
|
+
ctx?: Record<string, unknown> | undefined;
|
|
15
|
+
}, {
|
|
16
|
+
msg: string;
|
|
17
|
+
type?: string | undefined;
|
|
18
|
+
ctx?: Record<string, unknown> | undefined;
|
|
19
|
+
}>, "many">, z.ZodRecord<z.ZodString, z.ZodUnknown>]>;
|
|
20
|
+
type: z.ZodOptional<z.ZodString>;
|
|
21
|
+
code: z.ZodOptional<z.ZodString>;
|
|
22
|
+
}, "strip", z.ZodTypeAny, {
|
|
23
|
+
detail: string | Record<string, unknown> | {
|
|
24
|
+
msg: string;
|
|
25
|
+
type?: string | undefined;
|
|
26
|
+
ctx?: Record<string, unknown> | undefined;
|
|
27
|
+
}[];
|
|
28
|
+
code?: string | undefined;
|
|
29
|
+
type?: string | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
detail: string | Record<string, unknown> | {
|
|
32
|
+
msg: string;
|
|
33
|
+
type?: string | undefined;
|
|
34
|
+
ctx?: Record<string, unknown> | undefined;
|
|
35
|
+
}[];
|
|
36
|
+
code?: string | undefined;
|
|
37
|
+
type?: string | undefined;
|
|
38
|
+
}>;
|
|
39
|
+
export type ApiError = z.infer<typeof ApiErrorSchema>;
|
|
40
|
+
/**
|
|
41
|
+
* Enhanced error type that includes both HTTP and validation errors
|
|
42
|
+
*/
|
|
43
|
+
export type SafeError = RequestError | z.ZodError;
|
|
44
|
+
/**
|
|
45
|
+
* Result type for safe operations, similar to zod's SafeParseResult
|
|
46
|
+
* Enhanced to handle both HTTP and validation errors by default
|
|
47
|
+
*/
|
|
48
|
+
export type SafeResult<T, E = SafeError> = {
|
|
49
|
+
success: true;
|
|
50
|
+
data: T;
|
|
51
|
+
error?: never;
|
|
52
|
+
} | {
|
|
53
|
+
success: false;
|
|
54
|
+
data?: never;
|
|
55
|
+
error: E;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Base error class for HTTP requests
|
|
59
|
+
* Compatible with ApiError interface for Result type compatibility
|
|
60
|
+
*/
|
|
61
|
+
export declare class RequestError extends Error implements ApiError {
|
|
62
|
+
readonly name = "RequestError";
|
|
63
|
+
readonly isRequestError: true;
|
|
64
|
+
readonly status?: number | undefined;
|
|
65
|
+
readonly statusText?: string | undefined;
|
|
66
|
+
readonly data?: unknown;
|
|
67
|
+
readonly request?: FetchRequest | undefined;
|
|
68
|
+
readonly response?: Response | undefined;
|
|
69
|
+
readonly detail: string | Record<string, unknown> | Array<{
|
|
70
|
+
msg: string;
|
|
71
|
+
type?: string;
|
|
72
|
+
ctx?: Record<string, unknown>;
|
|
73
|
+
}>;
|
|
74
|
+
readonly code?: string | undefined;
|
|
75
|
+
readonly type?: string | undefined;
|
|
76
|
+
constructor(message: string, options?: {
|
|
77
|
+
status?: number | undefined;
|
|
78
|
+
statusText?: string | undefined;
|
|
79
|
+
data?: unknown;
|
|
80
|
+
request?: FetchRequest | undefined;
|
|
81
|
+
response?: Response | undefined;
|
|
82
|
+
cause?: unknown;
|
|
83
|
+
detail?: string | Record<string, unknown> | Array<{
|
|
84
|
+
msg: string;
|
|
85
|
+
type?: string;
|
|
86
|
+
ctx?: Record<string, unknown>;
|
|
87
|
+
}>;
|
|
88
|
+
code?: string | undefined;
|
|
89
|
+
type?: string | undefined;
|
|
90
|
+
});
|
|
91
|
+
/**
|
|
92
|
+
* Create RequestError from FetchError
|
|
93
|
+
*/
|
|
94
|
+
static fromFetchError(error: FetchError): RequestError;
|
|
95
|
+
/**
|
|
96
|
+
* Create RequestError from generic Error
|
|
97
|
+
*/
|
|
98
|
+
static fromError(error: Error, request?: FetchRequest): RequestError;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Client configuration - extends FetchOptions and adds predefined API-specific options
|
|
102
|
+
*
|
|
103
|
+
* Environment Variables:
|
|
104
|
+
* - PHALA_CLOUD_API_KEY: API key for authentication
|
|
105
|
+
* - PHALA_CLOUD_API_PREFIX: Base URL prefix for the API
|
|
106
|
+
*/
|
|
107
|
+
export interface ClientConfig extends FetchOptions {
|
|
108
|
+
/**
|
|
109
|
+
* API key for authentication
|
|
110
|
+
* If not provided, will read from PHALA_CLOUD_API_KEY environment variable
|
|
111
|
+
*/
|
|
112
|
+
apiKey?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Base URL for the API (overrides FetchOptions baseURL)
|
|
115
|
+
* If not provided, will read from PHALA_CLOUD_API_PREFIX environment variable
|
|
116
|
+
* Defaults to "https://cloud-api.phala.network/v1"
|
|
117
|
+
*/
|
|
118
|
+
baseURL?: string;
|
|
119
|
+
/** Default timeout in milliseconds (overrides FetchOptions timeout) */
|
|
120
|
+
timeout?: number;
|
|
121
|
+
/**
|
|
122
|
+
* API version to use
|
|
123
|
+
*/
|
|
124
|
+
version?: string;
|
|
125
|
+
}
|
|
126
|
+
//# sourceMappingURL=client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/types/client.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* Common type for action parameters that control behavior (e.g., schema validation)
|
|
4
|
+
*/
|
|
5
|
+
export type ActionParameters<T = undefined> = T extends z.ZodSchema ? {
|
|
6
|
+
schema: T;
|
|
7
|
+
} : T extends false ? {
|
|
8
|
+
schema: false;
|
|
9
|
+
} : {
|
|
10
|
+
schema?: z.ZodSchema | false;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Common type for action return values with schema validation support
|
|
14
|
+
*/
|
|
15
|
+
export type ActionReturnType<DefaultType, T = undefined> = T extends z.ZodSchema ? z.infer<T> : T extends false ? unknown : DefaultType;
|
|
16
|
+
export type { z };
|
|
17
|
+
//# sourceMappingURL=common.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../src/types/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,GAAG,SAAS,IAAI,CAAC,SAAS,CAAC,CAAC,SAAS,GAC/D;IAAE,MAAM,EAAE,CAAC,CAAA;CAAE,GACb,CAAC,SAAS,KAAK,GACb;IAAE,MAAM,EAAE,KAAK,CAAA;CAAE,GACjB;IAAE,MAAM,CAAC,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAA;CAAE,CAAC;AAEvC;;GAEG;AACH,MAAM,MAAM,gBAAgB,CAAC,WAAW,EAAE,CAAC,GAAG,SAAS,IAAI,CAAC,SAAS,CAAC,CAAC,SAAS,GAC5E,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,GACV,CAAC,SAAS,KAAK,GACb,OAAO,GACP,WAAW,CAAC;AAGlB,YAAY,EAAE,CAAC,EAAE,CAAC"}
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const VmInfoSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
status: z.ZodString;
|
|
6
|
+
uptime: z.ZodString;
|
|
7
|
+
app_url: z.ZodNullable<z.ZodString>;
|
|
8
|
+
app_id: z.ZodString;
|
|
9
|
+
instance_id: z.ZodNullable<z.ZodString>;
|
|
10
|
+
configuration: z.ZodOptional<z.ZodAny>;
|
|
11
|
+
exited_at: z.ZodNullable<z.ZodString>;
|
|
12
|
+
boot_progress: z.ZodNullable<z.ZodString>;
|
|
13
|
+
boot_error: z.ZodNullable<z.ZodString>;
|
|
14
|
+
shutdown_progress: z.ZodNullable<z.ZodString>;
|
|
15
|
+
image_version: z.ZodNullable<z.ZodString>;
|
|
16
|
+
}, "strip", z.ZodTypeAny, {
|
|
17
|
+
status: string;
|
|
18
|
+
name: string;
|
|
19
|
+
id: string;
|
|
20
|
+
app_id: string;
|
|
21
|
+
instance_id: string | null;
|
|
22
|
+
app_url: string | null;
|
|
23
|
+
uptime: string;
|
|
24
|
+
exited_at: string | null;
|
|
25
|
+
boot_progress: string | null;
|
|
26
|
+
boot_error: string | null;
|
|
27
|
+
shutdown_progress: string | null;
|
|
28
|
+
image_version: string | null;
|
|
29
|
+
configuration?: any;
|
|
30
|
+
}, {
|
|
31
|
+
status: string;
|
|
32
|
+
name: string;
|
|
33
|
+
id: string;
|
|
34
|
+
app_id: string;
|
|
35
|
+
instance_id: string | null;
|
|
36
|
+
app_url: string | null;
|
|
37
|
+
uptime: string;
|
|
38
|
+
exited_at: string | null;
|
|
39
|
+
boot_progress: string | null;
|
|
40
|
+
boot_error: string | null;
|
|
41
|
+
shutdown_progress: string | null;
|
|
42
|
+
image_version: string | null;
|
|
43
|
+
configuration?: any;
|
|
44
|
+
}>;
|
|
45
|
+
export declare const ManagedUserSchema: z.ZodObject<{
|
|
46
|
+
id: z.ZodNumber;
|
|
47
|
+
username: z.ZodString;
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
49
|
+
id: number;
|
|
50
|
+
username: string;
|
|
51
|
+
}, {
|
|
52
|
+
id: number;
|
|
53
|
+
username: string;
|
|
54
|
+
}>;
|
|
55
|
+
export declare const CvmNodeSchema: z.ZodObject<{
|
|
56
|
+
id: z.ZodNumber;
|
|
57
|
+
name: z.ZodString;
|
|
58
|
+
region_identifier: z.ZodOptional<z.ZodString>;
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
60
|
+
name: string;
|
|
61
|
+
id: number;
|
|
62
|
+
region_identifier?: string | undefined;
|
|
63
|
+
}, {
|
|
64
|
+
name: string;
|
|
65
|
+
id: number;
|
|
66
|
+
region_identifier?: string | undefined;
|
|
67
|
+
}>;
|
|
68
|
+
export declare const CvmNetworkUrlsSchema: z.ZodObject<{
|
|
69
|
+
app: z.ZodString;
|
|
70
|
+
instance: z.ZodString;
|
|
71
|
+
}, "strip", z.ZodTypeAny, {
|
|
72
|
+
app: string;
|
|
73
|
+
instance: string;
|
|
74
|
+
}, {
|
|
75
|
+
app: string;
|
|
76
|
+
instance: string;
|
|
77
|
+
}>;
|
|
78
|
+
export declare const KMSInfoSchema: z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
slug: z.ZodString;
|
|
81
|
+
url: z.ZodString;
|
|
82
|
+
version: z.ZodString;
|
|
83
|
+
chain_id: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
kms_contract_address: z.ZodOptional<z.ZodString>;
|
|
85
|
+
gateway_app_id: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
version: string;
|
|
88
|
+
id: string;
|
|
89
|
+
slug: string;
|
|
90
|
+
url: string;
|
|
91
|
+
chain_id?: number | undefined;
|
|
92
|
+
kms_contract_address?: string | undefined;
|
|
93
|
+
gateway_app_id?: string | undefined;
|
|
94
|
+
}, {
|
|
95
|
+
version: string;
|
|
96
|
+
id: string;
|
|
97
|
+
slug: string;
|
|
98
|
+
url: string;
|
|
99
|
+
chain_id?: number | undefined;
|
|
100
|
+
kms_contract_address?: string | undefined;
|
|
101
|
+
gateway_app_id?: string | undefined;
|
|
102
|
+
}>;
|
|
103
|
+
export declare const CvmInfoSchema: z.ZodObject<{
|
|
104
|
+
hosted: z.ZodOptional<z.ZodObject<{
|
|
105
|
+
id: z.ZodString;
|
|
106
|
+
name: z.ZodString;
|
|
107
|
+
status: z.ZodString;
|
|
108
|
+
uptime: z.ZodString;
|
|
109
|
+
app_url: z.ZodNullable<z.ZodString>;
|
|
110
|
+
app_id: z.ZodString;
|
|
111
|
+
instance_id: z.ZodNullable<z.ZodString>;
|
|
112
|
+
configuration: z.ZodOptional<z.ZodAny>;
|
|
113
|
+
exited_at: z.ZodNullable<z.ZodString>;
|
|
114
|
+
boot_progress: z.ZodNullable<z.ZodString>;
|
|
115
|
+
boot_error: z.ZodNullable<z.ZodString>;
|
|
116
|
+
shutdown_progress: z.ZodNullable<z.ZodString>;
|
|
117
|
+
image_version: z.ZodNullable<z.ZodString>;
|
|
118
|
+
}, "strip", z.ZodTypeAny, {
|
|
119
|
+
status: string;
|
|
120
|
+
name: string;
|
|
121
|
+
id: string;
|
|
122
|
+
app_id: string;
|
|
123
|
+
instance_id: string | null;
|
|
124
|
+
app_url: string | null;
|
|
125
|
+
uptime: string;
|
|
126
|
+
exited_at: string | null;
|
|
127
|
+
boot_progress: string | null;
|
|
128
|
+
boot_error: string | null;
|
|
129
|
+
shutdown_progress: string | null;
|
|
130
|
+
image_version: string | null;
|
|
131
|
+
configuration?: any;
|
|
132
|
+
}, {
|
|
133
|
+
status: string;
|
|
134
|
+
name: string;
|
|
135
|
+
id: string;
|
|
136
|
+
app_id: string;
|
|
137
|
+
instance_id: string | null;
|
|
138
|
+
app_url: string | null;
|
|
139
|
+
uptime: string;
|
|
140
|
+
exited_at: string | null;
|
|
141
|
+
boot_progress: string | null;
|
|
142
|
+
boot_error: string | null;
|
|
143
|
+
shutdown_progress: string | null;
|
|
144
|
+
image_version: string | null;
|
|
145
|
+
configuration?: any;
|
|
146
|
+
}>>;
|
|
147
|
+
name: z.ZodOptional<z.ZodString>;
|
|
148
|
+
managed_user: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
149
|
+
id: z.ZodNumber;
|
|
150
|
+
username: z.ZodString;
|
|
151
|
+
}, "strip", z.ZodTypeAny, {
|
|
152
|
+
id: number;
|
|
153
|
+
username: string;
|
|
154
|
+
}, {
|
|
155
|
+
id: number;
|
|
156
|
+
username: string;
|
|
157
|
+
}>>>>;
|
|
158
|
+
node: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
159
|
+
id: z.ZodNumber;
|
|
160
|
+
name: z.ZodString;
|
|
161
|
+
region_identifier: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, "strip", z.ZodTypeAny, {
|
|
163
|
+
name: string;
|
|
164
|
+
id: number;
|
|
165
|
+
region_identifier?: string | undefined;
|
|
166
|
+
}, {
|
|
167
|
+
name: string;
|
|
168
|
+
id: number;
|
|
169
|
+
region_identifier?: string | undefined;
|
|
170
|
+
}>>>>;
|
|
171
|
+
listed: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
172
|
+
status: z.ZodOptional<z.ZodString>;
|
|
173
|
+
in_progress: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
174
|
+
dapp_dashboard_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
175
|
+
syslog_endpoint: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
|
+
allow_upgrade: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
177
|
+
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
project_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
|
+
billing_period: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
180
|
+
kms_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
181
|
+
id: z.ZodString;
|
|
182
|
+
slug: z.ZodString;
|
|
183
|
+
url: z.ZodString;
|
|
184
|
+
version: z.ZodString;
|
|
185
|
+
chain_id: z.ZodOptional<z.ZodNumber>;
|
|
186
|
+
kms_contract_address: z.ZodOptional<z.ZodString>;
|
|
187
|
+
gateway_app_id: z.ZodOptional<z.ZodString>;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
version: string;
|
|
190
|
+
id: string;
|
|
191
|
+
slug: string;
|
|
192
|
+
url: string;
|
|
193
|
+
chain_id?: number | undefined;
|
|
194
|
+
kms_contract_address?: string | undefined;
|
|
195
|
+
gateway_app_id?: string | undefined;
|
|
196
|
+
}, {
|
|
197
|
+
version: string;
|
|
198
|
+
id: string;
|
|
199
|
+
slug: string;
|
|
200
|
+
url: string;
|
|
201
|
+
chain_id?: number | undefined;
|
|
202
|
+
kms_contract_address?: string | undefined;
|
|
203
|
+
gateway_app_id?: string | undefined;
|
|
204
|
+
}>>>;
|
|
205
|
+
vcpu: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
206
|
+
memory: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
207
|
+
disk_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
208
|
+
gateway_domain: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
209
|
+
public_urls: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
+
app: z.ZodString;
|
|
211
|
+
instance: z.ZodString;
|
|
212
|
+
}, "strip", z.ZodTypeAny, {
|
|
213
|
+
app: string;
|
|
214
|
+
instance: string;
|
|
215
|
+
}, {
|
|
216
|
+
app: string;
|
|
217
|
+
instance: string;
|
|
218
|
+
}>, "many">>;
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
220
|
+
status?: string | undefined;
|
|
221
|
+
name?: string | undefined;
|
|
222
|
+
listed?: boolean | undefined;
|
|
223
|
+
vcpu?: number | null | undefined;
|
|
224
|
+
memory?: number | null | undefined;
|
|
225
|
+
disk_size?: number | null | undefined;
|
|
226
|
+
kms_info?: {
|
|
227
|
+
version: string;
|
|
228
|
+
id: string;
|
|
229
|
+
slug: string;
|
|
230
|
+
url: string;
|
|
231
|
+
chain_id?: number | undefined;
|
|
232
|
+
kms_contract_address?: string | undefined;
|
|
233
|
+
gateway_app_id?: string | undefined;
|
|
234
|
+
} | null | undefined;
|
|
235
|
+
hosted?: {
|
|
236
|
+
status: string;
|
|
237
|
+
name: string;
|
|
238
|
+
id: string;
|
|
239
|
+
app_id: string;
|
|
240
|
+
instance_id: string | null;
|
|
241
|
+
app_url: string | null;
|
|
242
|
+
uptime: string;
|
|
243
|
+
exited_at: string | null;
|
|
244
|
+
boot_progress: string | null;
|
|
245
|
+
boot_error: string | null;
|
|
246
|
+
shutdown_progress: string | null;
|
|
247
|
+
image_version: string | null;
|
|
248
|
+
configuration?: any;
|
|
249
|
+
} | undefined;
|
|
250
|
+
managed_user?: {
|
|
251
|
+
id: number;
|
|
252
|
+
username: string;
|
|
253
|
+
} | null | undefined;
|
|
254
|
+
node?: {
|
|
255
|
+
name: string;
|
|
256
|
+
id: number;
|
|
257
|
+
region_identifier?: string | undefined;
|
|
258
|
+
} | null | undefined;
|
|
259
|
+
in_progress?: boolean | undefined;
|
|
260
|
+
dapp_dashboard_url?: string | null | undefined;
|
|
261
|
+
syslog_endpoint?: string | null | undefined;
|
|
262
|
+
allow_upgrade?: boolean | undefined;
|
|
263
|
+
project_id?: string | null | undefined;
|
|
264
|
+
project_type?: string | null | undefined;
|
|
265
|
+
billing_period?: string | null | undefined;
|
|
266
|
+
gateway_domain?: string | null | undefined;
|
|
267
|
+
public_urls?: {
|
|
268
|
+
app: string;
|
|
269
|
+
instance: string;
|
|
270
|
+
}[] | undefined;
|
|
271
|
+
}, {
|
|
272
|
+
status?: string | undefined;
|
|
273
|
+
name?: string | undefined;
|
|
274
|
+
listed?: boolean | undefined;
|
|
275
|
+
vcpu?: number | null | undefined;
|
|
276
|
+
memory?: number | null | undefined;
|
|
277
|
+
disk_size?: number | null | undefined;
|
|
278
|
+
kms_info?: {
|
|
279
|
+
version: string;
|
|
280
|
+
id: string;
|
|
281
|
+
slug: string;
|
|
282
|
+
url: string;
|
|
283
|
+
chain_id?: number | undefined;
|
|
284
|
+
kms_contract_address?: string | undefined;
|
|
285
|
+
gateway_app_id?: string | undefined;
|
|
286
|
+
} | null | undefined;
|
|
287
|
+
hosted?: {
|
|
288
|
+
status: string;
|
|
289
|
+
name: string;
|
|
290
|
+
id: string;
|
|
291
|
+
app_id: string;
|
|
292
|
+
instance_id: string | null;
|
|
293
|
+
app_url: string | null;
|
|
294
|
+
uptime: string;
|
|
295
|
+
exited_at: string | null;
|
|
296
|
+
boot_progress: string | null;
|
|
297
|
+
boot_error: string | null;
|
|
298
|
+
shutdown_progress: string | null;
|
|
299
|
+
image_version: string | null;
|
|
300
|
+
configuration?: any;
|
|
301
|
+
} | undefined;
|
|
302
|
+
managed_user?: {
|
|
303
|
+
id: number;
|
|
304
|
+
username: string;
|
|
305
|
+
} | null | undefined;
|
|
306
|
+
node?: {
|
|
307
|
+
name: string;
|
|
308
|
+
id: number;
|
|
309
|
+
region_identifier?: string | undefined;
|
|
310
|
+
} | null | undefined;
|
|
311
|
+
in_progress?: boolean | undefined;
|
|
312
|
+
dapp_dashboard_url?: string | null | undefined;
|
|
313
|
+
syslog_endpoint?: string | null | undefined;
|
|
314
|
+
allow_upgrade?: boolean | undefined;
|
|
315
|
+
project_id?: string | null | undefined;
|
|
316
|
+
project_type?: string | null | undefined;
|
|
317
|
+
billing_period?: string | null | undefined;
|
|
318
|
+
gateway_domain?: string | null | undefined;
|
|
319
|
+
public_urls?: {
|
|
320
|
+
app: string;
|
|
321
|
+
instance: string;
|
|
322
|
+
}[] | undefined;
|
|
323
|
+
}>;
|
|
324
|
+
export type CvmInfo = z.infer<typeof CvmInfoSchema>;
|
|
325
|
+
export declare const CvmLegacyDetailSchema: z.ZodObject<{
|
|
326
|
+
id: z.ZodNumber;
|
|
327
|
+
name: z.ZodString;
|
|
328
|
+
status: z.ZodString;
|
|
329
|
+
in_progress: z.ZodBoolean;
|
|
330
|
+
teepod_id: z.ZodNullable<z.ZodNumber>;
|
|
331
|
+
teepod: z.ZodObject<{
|
|
332
|
+
id: z.ZodNumber;
|
|
333
|
+
name: z.ZodString;
|
|
334
|
+
region_identifier: z.ZodOptional<z.ZodString>;
|
|
335
|
+
}, "strip", z.ZodTypeAny, {
|
|
336
|
+
name: string;
|
|
337
|
+
id: number;
|
|
338
|
+
region_identifier?: string | undefined;
|
|
339
|
+
}, {
|
|
340
|
+
name: string;
|
|
341
|
+
id: number;
|
|
342
|
+
region_identifier?: string | undefined;
|
|
343
|
+
}>;
|
|
344
|
+
app_id: z.ZodString;
|
|
345
|
+
vm_uuid: z.ZodNullable<z.ZodString>;
|
|
346
|
+
instance_id: z.ZodNullable<z.ZodString>;
|
|
347
|
+
vcpu: z.ZodNullable<z.ZodNumber>;
|
|
348
|
+
memory: z.ZodNullable<z.ZodNumber>;
|
|
349
|
+
disk_size: z.ZodNullable<z.ZodNumber>;
|
|
350
|
+
base_image: z.ZodString;
|
|
351
|
+
encrypted_env_pubkey: z.ZodNullable<z.ZodString>;
|
|
352
|
+
listed: z.ZodBoolean;
|
|
353
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
354
|
+
project_type: z.ZodNullable<z.ZodString>;
|
|
355
|
+
public_sysinfo: z.ZodBoolean;
|
|
356
|
+
public_logs: z.ZodBoolean;
|
|
357
|
+
dapp_dashboard_url: z.ZodNullable<z.ZodString>;
|
|
358
|
+
syslog_endpoint: z.ZodNullable<z.ZodString>;
|
|
359
|
+
kms_info: z.ZodNullable<z.ZodObject<{
|
|
360
|
+
id: z.ZodString;
|
|
361
|
+
slug: z.ZodString;
|
|
362
|
+
url: z.ZodString;
|
|
363
|
+
version: z.ZodString;
|
|
364
|
+
chain_id: z.ZodOptional<z.ZodNumber>;
|
|
365
|
+
kms_contract_address: z.ZodOptional<z.ZodString>;
|
|
366
|
+
gateway_app_id: z.ZodOptional<z.ZodString>;
|
|
367
|
+
}, "strip", z.ZodTypeAny, {
|
|
368
|
+
version: string;
|
|
369
|
+
id: string;
|
|
370
|
+
slug: string;
|
|
371
|
+
url: string;
|
|
372
|
+
chain_id?: number | undefined;
|
|
373
|
+
kms_contract_address?: string | undefined;
|
|
374
|
+
gateway_app_id?: string | undefined;
|
|
375
|
+
}, {
|
|
376
|
+
version: string;
|
|
377
|
+
id: string;
|
|
378
|
+
slug: string;
|
|
379
|
+
url: string;
|
|
380
|
+
chain_id?: number | undefined;
|
|
381
|
+
kms_contract_address?: string | undefined;
|
|
382
|
+
gateway_app_id?: string | undefined;
|
|
383
|
+
}>>;
|
|
384
|
+
contract_address: z.ZodNullable<z.ZodString>;
|
|
385
|
+
deployer_address: z.ZodNullable<z.ZodString>;
|
|
386
|
+
scheduled_delete_at: z.ZodNullable<z.ZodString>;
|
|
387
|
+
public_urls: z.ZodArray<z.ZodObject<{
|
|
388
|
+
app: z.ZodString;
|
|
389
|
+
instance: z.ZodString;
|
|
390
|
+
}, "strip", z.ZodTypeAny, {
|
|
391
|
+
app: string;
|
|
392
|
+
instance: string;
|
|
393
|
+
}, {
|
|
394
|
+
app: string;
|
|
395
|
+
instance: string;
|
|
396
|
+
}>, "many">;
|
|
397
|
+
gateway_domain: z.ZodNullable<z.ZodString>;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
status: string;
|
|
400
|
+
name: string;
|
|
401
|
+
id: number;
|
|
402
|
+
teepod_id: number | null;
|
|
403
|
+
listed: boolean;
|
|
404
|
+
app_id: string;
|
|
405
|
+
vcpu: number | null;
|
|
406
|
+
memory: number | null;
|
|
407
|
+
disk_size: number | null;
|
|
408
|
+
public_logs: boolean;
|
|
409
|
+
public_sysinfo: boolean;
|
|
410
|
+
teepod: {
|
|
411
|
+
name: string;
|
|
412
|
+
id: number;
|
|
413
|
+
region_identifier?: string | undefined;
|
|
414
|
+
};
|
|
415
|
+
vm_uuid: string | null;
|
|
416
|
+
instance_id: string | null;
|
|
417
|
+
base_image: string;
|
|
418
|
+
encrypted_env_pubkey: string | null;
|
|
419
|
+
deployer_address: string | null;
|
|
420
|
+
contract_address: string | null;
|
|
421
|
+
kms_info: {
|
|
422
|
+
version: string;
|
|
423
|
+
id: string;
|
|
424
|
+
slug: string;
|
|
425
|
+
url: string;
|
|
426
|
+
chain_id?: number | undefined;
|
|
427
|
+
kms_contract_address?: string | undefined;
|
|
428
|
+
gateway_app_id?: string | undefined;
|
|
429
|
+
} | null;
|
|
430
|
+
in_progress: boolean;
|
|
431
|
+
dapp_dashboard_url: string | null;
|
|
432
|
+
syslog_endpoint: string | null;
|
|
433
|
+
project_id: string | null;
|
|
434
|
+
project_type: string | null;
|
|
435
|
+
gateway_domain: string | null;
|
|
436
|
+
public_urls: {
|
|
437
|
+
app: string;
|
|
438
|
+
instance: string;
|
|
439
|
+
}[];
|
|
440
|
+
scheduled_delete_at: string | null;
|
|
441
|
+
}, {
|
|
442
|
+
status: string;
|
|
443
|
+
name: string;
|
|
444
|
+
id: number;
|
|
445
|
+
teepod_id: number | null;
|
|
446
|
+
listed: boolean;
|
|
447
|
+
app_id: string;
|
|
448
|
+
vcpu: number | null;
|
|
449
|
+
memory: number | null;
|
|
450
|
+
disk_size: number | null;
|
|
451
|
+
public_logs: boolean;
|
|
452
|
+
public_sysinfo: boolean;
|
|
453
|
+
teepod: {
|
|
454
|
+
name: string;
|
|
455
|
+
id: number;
|
|
456
|
+
region_identifier?: string | undefined;
|
|
457
|
+
};
|
|
458
|
+
vm_uuid: string | null;
|
|
459
|
+
instance_id: string | null;
|
|
460
|
+
base_image: string;
|
|
461
|
+
encrypted_env_pubkey: string | null;
|
|
462
|
+
deployer_address: string | null;
|
|
463
|
+
contract_address: string | null;
|
|
464
|
+
kms_info: {
|
|
465
|
+
version: string;
|
|
466
|
+
id: string;
|
|
467
|
+
slug: string;
|
|
468
|
+
url: string;
|
|
469
|
+
chain_id?: number | undefined;
|
|
470
|
+
kms_contract_address?: string | undefined;
|
|
471
|
+
gateway_app_id?: string | undefined;
|
|
472
|
+
} | null;
|
|
473
|
+
in_progress: boolean;
|
|
474
|
+
dapp_dashboard_url: string | null;
|
|
475
|
+
syslog_endpoint: string | null;
|
|
476
|
+
project_id: string | null;
|
|
477
|
+
project_type: string | null;
|
|
478
|
+
gateway_domain: string | null;
|
|
479
|
+
public_urls: {
|
|
480
|
+
app: string;
|
|
481
|
+
instance: string;
|
|
482
|
+
}[];
|
|
483
|
+
scheduled_delete_at: string | null;
|
|
484
|
+
}>;
|
|
485
|
+
export type CvmLegacyDetail = z.infer<typeof CvmLegacyDetailSchema>;
|
|
486
|
+
//# sourceMappingURL=cvm_info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cvm_info.d.ts","sourceRoot":"","sources":["../../src/types/cvm_info.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAcvB,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;;;;;EAG5B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;EAIxB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;EAQxB,CAAC;AAGH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBd,CAAC;AAEb,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAGpD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA4BhC,CAAC;AAEH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const KmsInfoSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
5
|
+
url: z.ZodString;
|
|
6
|
+
version: z.ZodString;
|
|
7
|
+
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
8
|
+
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
9
|
+
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
10
|
+
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
11
|
+
id: z.ZodString;
|
|
12
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
13
|
+
url: z.ZodString;
|
|
14
|
+
version: z.ZodString;
|
|
15
|
+
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
16
|
+
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
17
|
+
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
18
|
+
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
19
|
+
id: z.ZodString;
|
|
20
|
+
slug: z.ZodNullable<z.ZodString>;
|
|
21
|
+
url: z.ZodString;
|
|
22
|
+
version: z.ZodString;
|
|
23
|
+
chain_id: z.ZodNullable<z.ZodNumber>;
|
|
24
|
+
kms_contract_address: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
25
|
+
gateway_app_id: z.ZodEffects<z.ZodNullable<z.ZodString>, `0x${string}`, string | null>;
|
|
26
|
+
}, z.ZodTypeAny, "passthrough">>;
|
|
27
|
+
export type KmsInfo = z.infer<typeof KmsInfoSchema>;
|
|
28
|
+
//# sourceMappingURL=kms_info.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"kms_info.d.ts","sourceRoot":"","sources":["../../src/types/kms_info.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;gCAgBV,CAAC;AAEjB,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
|