@phala/cloud 0.2.1 → 0.2.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.
@@ -63,123 +63,164 @@ import { type Client } from "../../client";
63
63
  * }
64
64
  * ```
65
65
  */
66
+ export declare const NodeRefSchema: z.ZodObject<{
67
+ object_type: z.ZodLiteral<"node">;
68
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
69
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
70
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
71
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
72
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
73
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
74
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
75
+ }, "strip", z.ZodTypeAny, {
76
+ object_type: "node";
77
+ status?: string | null | undefined;
78
+ name?: string | null | undefined;
79
+ version?: string | null | undefined;
80
+ id?: number | null | undefined;
81
+ region?: string | null | undefined;
82
+ device_id?: string | null | undefined;
83
+ ppid?: string | null | undefined;
84
+ }, {
85
+ object_type: "node";
86
+ status?: string | null | undefined;
87
+ name?: string | null | undefined;
88
+ version?: string | null | undefined;
89
+ id?: number | null | undefined;
90
+ region?: string | null | undefined;
91
+ device_id?: string | null | undefined;
92
+ ppid?: string | null | undefined;
93
+ }>;
66
94
  export declare const NodeInfoSchema: z.ZodObject<{
67
- id: z.ZodNullable<z.ZodNumber>;
68
- name: z.ZodNullable<z.ZodString>;
69
- region: z.ZodNullable<z.ZodString>;
70
- device_id: z.ZodNullable<z.ZodString>;
71
- ppid: z.ZodNullable<z.ZodString>;
72
- status: z.ZodNullable<z.ZodString>;
73
- version: z.ZodNullable<z.ZodString>;
74
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
75
- id: z.ZodNullable<z.ZodNumber>;
76
- name: z.ZodNullable<z.ZodString>;
77
- region: z.ZodNullable<z.ZodString>;
78
- device_id: z.ZodNullable<z.ZodString>;
79
- ppid: z.ZodNullable<z.ZodString>;
80
- status: z.ZodNullable<z.ZodString>;
81
- version: z.ZodNullable<z.ZodString>;
82
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
83
- id: z.ZodNullable<z.ZodNumber>;
84
- name: z.ZodNullable<z.ZodString>;
85
- region: z.ZodNullable<z.ZodString>;
86
- device_id: z.ZodNullable<z.ZodString>;
87
- ppid: z.ZodNullable<z.ZodString>;
88
- status: z.ZodNullable<z.ZodString>;
89
- version: z.ZodNullable<z.ZodString>;
90
- }, z.ZodTypeAny, "passthrough">>;
95
+ object_type: z.ZodLiteral<"node">;
96
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
97
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
98
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
99
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
100
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
102
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ object_type: "node";
105
+ status?: string | null | undefined;
106
+ name?: string | null | undefined;
107
+ version?: string | null | undefined;
108
+ id?: number | null | undefined;
109
+ region?: string | null | undefined;
110
+ device_id?: string | null | undefined;
111
+ ppid?: string | null | undefined;
112
+ }, {
113
+ object_type: "node";
114
+ status?: string | null | undefined;
115
+ name?: string | null | undefined;
116
+ version?: string | null | undefined;
117
+ id?: number | null | undefined;
118
+ region?: string | null | undefined;
119
+ device_id?: string | null | undefined;
120
+ ppid?: string | null | undefined;
121
+ }>;
91
122
  export declare const GetWorkspaceNodesSchema: z.ZodObject<{
92
123
  items: z.ZodArray<z.ZodObject<{
93
- id: z.ZodNullable<z.ZodNumber>;
94
- name: z.ZodNullable<z.ZodString>;
95
- region: z.ZodNullable<z.ZodString>;
96
- device_id: z.ZodNullable<z.ZodString>;
97
- ppid: z.ZodNullable<z.ZodString>;
98
- status: z.ZodNullable<z.ZodString>;
99
- version: z.ZodNullable<z.ZodString>;
100
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
101
- id: z.ZodNullable<z.ZodNumber>;
102
- name: z.ZodNullable<z.ZodString>;
103
- region: z.ZodNullable<z.ZodString>;
104
- device_id: z.ZodNullable<z.ZodString>;
105
- ppid: z.ZodNullable<z.ZodString>;
106
- status: z.ZodNullable<z.ZodString>;
107
- version: z.ZodNullable<z.ZodString>;
108
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
109
- id: z.ZodNullable<z.ZodNumber>;
110
- name: z.ZodNullable<z.ZodString>;
111
- region: z.ZodNullable<z.ZodString>;
112
- device_id: z.ZodNullable<z.ZodString>;
113
- ppid: z.ZodNullable<z.ZodString>;
114
- status: z.ZodNullable<z.ZodString>;
115
- version: z.ZodNullable<z.ZodString>;
116
- }, z.ZodTypeAny, "passthrough">>, "many">;
124
+ object_type: z.ZodLiteral<"node">;
125
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
126
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
127
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
128
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
129
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
130
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
131
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ }, "strip", z.ZodTypeAny, {
133
+ object_type: "node";
134
+ status?: string | null | undefined;
135
+ name?: string | null | undefined;
136
+ version?: string | null | undefined;
137
+ id?: number | null | undefined;
138
+ region?: string | null | undefined;
139
+ device_id?: string | null | undefined;
140
+ ppid?: string | null | undefined;
141
+ }, {
142
+ object_type: "node";
143
+ status?: string | null | undefined;
144
+ name?: string | null | undefined;
145
+ version?: string | null | undefined;
146
+ id?: number | null | undefined;
147
+ region?: string | null | undefined;
148
+ device_id?: string | null | undefined;
149
+ ppid?: string | null | undefined;
150
+ }>, "many">;
117
151
  total: z.ZodNumber;
118
152
  page: z.ZodNumber;
119
153
  page_size: z.ZodNumber;
120
154
  pages: z.ZodNumber;
121
155
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
122
156
  items: z.ZodArray<z.ZodObject<{
123
- id: z.ZodNullable<z.ZodNumber>;
124
- name: z.ZodNullable<z.ZodString>;
125
- region: z.ZodNullable<z.ZodString>;
126
- device_id: z.ZodNullable<z.ZodString>;
127
- ppid: z.ZodNullable<z.ZodString>;
128
- status: z.ZodNullable<z.ZodString>;
129
- version: z.ZodNullable<z.ZodString>;
130
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
131
- id: z.ZodNullable<z.ZodNumber>;
132
- name: z.ZodNullable<z.ZodString>;
133
- region: z.ZodNullable<z.ZodString>;
134
- device_id: z.ZodNullable<z.ZodString>;
135
- ppid: z.ZodNullable<z.ZodString>;
136
- status: z.ZodNullable<z.ZodString>;
137
- version: z.ZodNullable<z.ZodString>;
138
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
139
- id: z.ZodNullable<z.ZodNumber>;
140
- name: z.ZodNullable<z.ZodString>;
141
- region: z.ZodNullable<z.ZodString>;
142
- device_id: z.ZodNullable<z.ZodString>;
143
- ppid: z.ZodNullable<z.ZodString>;
144
- status: z.ZodNullable<z.ZodString>;
145
- version: z.ZodNullable<z.ZodString>;
146
- }, z.ZodTypeAny, "passthrough">>, "many">;
157
+ object_type: z.ZodLiteral<"node">;
158
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
159
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
160
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
161
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
162
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
163
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
165
+ }, "strip", z.ZodTypeAny, {
166
+ object_type: "node";
167
+ status?: string | null | undefined;
168
+ name?: string | null | undefined;
169
+ version?: string | null | undefined;
170
+ id?: number | null | undefined;
171
+ region?: string | null | undefined;
172
+ device_id?: string | null | undefined;
173
+ ppid?: string | null | undefined;
174
+ }, {
175
+ object_type: "node";
176
+ status?: string | null | undefined;
177
+ name?: string | null | undefined;
178
+ version?: string | null | undefined;
179
+ id?: number | null | undefined;
180
+ region?: string | null | undefined;
181
+ device_id?: string | null | undefined;
182
+ ppid?: string | null | undefined;
183
+ }>, "many">;
147
184
  total: z.ZodNumber;
148
185
  page: z.ZodNumber;
149
186
  page_size: z.ZodNumber;
150
187
  pages: z.ZodNumber;
151
188
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
152
189
  items: z.ZodArray<z.ZodObject<{
153
- id: z.ZodNullable<z.ZodNumber>;
154
- name: z.ZodNullable<z.ZodString>;
155
- region: z.ZodNullable<z.ZodString>;
156
- device_id: z.ZodNullable<z.ZodString>;
157
- ppid: z.ZodNullable<z.ZodString>;
158
- status: z.ZodNullable<z.ZodString>;
159
- version: z.ZodNullable<z.ZodString>;
160
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
161
- id: z.ZodNullable<z.ZodNumber>;
162
- name: z.ZodNullable<z.ZodString>;
163
- region: z.ZodNullable<z.ZodString>;
164
- device_id: z.ZodNullable<z.ZodString>;
165
- ppid: z.ZodNullable<z.ZodString>;
166
- status: z.ZodNullable<z.ZodString>;
167
- version: z.ZodNullable<z.ZodString>;
168
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
169
- id: z.ZodNullable<z.ZodNumber>;
170
- name: z.ZodNullable<z.ZodString>;
171
- region: z.ZodNullable<z.ZodString>;
172
- device_id: z.ZodNullable<z.ZodString>;
173
- ppid: z.ZodNullable<z.ZodString>;
174
- status: z.ZodNullable<z.ZodString>;
175
- version: z.ZodNullable<z.ZodString>;
176
- }, z.ZodTypeAny, "passthrough">>, "many">;
190
+ object_type: z.ZodLiteral<"node">;
191
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
192
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
193
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
195
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
196
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
197
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ object_type: "node";
200
+ status?: string | null | undefined;
201
+ name?: string | null | undefined;
202
+ version?: string | null | undefined;
203
+ id?: number | null | undefined;
204
+ region?: string | null | undefined;
205
+ device_id?: string | null | undefined;
206
+ ppid?: string | null | undefined;
207
+ }, {
208
+ object_type: "node";
209
+ status?: string | null | undefined;
210
+ name?: string | null | undefined;
211
+ version?: string | null | undefined;
212
+ id?: number | null | undefined;
213
+ region?: string | null | undefined;
214
+ device_id?: string | null | undefined;
215
+ ppid?: string | null | undefined;
216
+ }>, "many">;
177
217
  total: z.ZodNumber;
178
218
  page: z.ZodNumber;
179
219
  page_size: z.ZodNumber;
180
220
  pages: z.ZodNumber;
181
221
  }, z.ZodTypeAny, "passthrough">>;
182
- export type NodeInfo = z.infer<typeof NodeInfoSchema>;
222
+ export type NodeRef = z.infer<typeof NodeRefSchema>;
223
+ export type NodeInfo = NodeRef;
183
224
  export type GetWorkspaceNodes = z.infer<typeof GetWorkspaceNodesSchema>;
184
225
  export type GetWorkspaceNodesRequest = {
185
226
  teamSlug: string;
@@ -189,30 +230,33 @@ export type GetWorkspaceNodesRequest = {
189
230
  declare const getWorkspaceNodes: {
190
231
  (client: Client<import("../..").ApiVersion>, params: GetWorkspaceNodesRequest): Promise<z.objectOutputType<{
191
232
  items: z.ZodArray<z.ZodObject<{
192
- id: z.ZodNullable<z.ZodNumber>;
193
- name: z.ZodNullable<z.ZodString>;
194
- region: z.ZodNullable<z.ZodString>;
195
- device_id: z.ZodNullable<z.ZodString>;
196
- ppid: z.ZodNullable<z.ZodString>;
197
- status: z.ZodNullable<z.ZodString>;
198
- version: z.ZodNullable<z.ZodString>;
199
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
200
- id: z.ZodNullable<z.ZodNumber>;
201
- name: z.ZodNullable<z.ZodString>;
202
- region: z.ZodNullable<z.ZodString>;
203
- device_id: z.ZodNullable<z.ZodString>;
204
- ppid: z.ZodNullable<z.ZodString>;
205
- status: z.ZodNullable<z.ZodString>;
206
- version: z.ZodNullable<z.ZodString>;
207
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
208
- id: z.ZodNullable<z.ZodNumber>;
209
- name: z.ZodNullable<z.ZodString>;
210
- region: z.ZodNullable<z.ZodString>;
211
- device_id: z.ZodNullable<z.ZodString>;
212
- ppid: z.ZodNullable<z.ZodString>;
213
- status: z.ZodNullable<z.ZodString>;
214
- version: z.ZodNullable<z.ZodString>;
215
- }, z.ZodTypeAny, "passthrough">>, "many">;
233
+ object_type: z.ZodLiteral<"node">;
234
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
235
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
236
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
237
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
238
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
239
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
240
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
241
+ }, "strip", z.ZodTypeAny, {
242
+ object_type: "node";
243
+ status?: string | null | undefined;
244
+ name?: string | null | undefined;
245
+ version?: string | null | undefined;
246
+ id?: number | null | undefined;
247
+ region?: string | null | undefined;
248
+ device_id?: string | null | undefined;
249
+ ppid?: string | null | undefined;
250
+ }, {
251
+ object_type: "node";
252
+ status?: string | null | undefined;
253
+ name?: string | null | undefined;
254
+ version?: string | null | undefined;
255
+ id?: number | null | undefined;
256
+ region?: string | null | undefined;
257
+ device_id?: string | null | undefined;
258
+ ppid?: string | null | undefined;
259
+ }>, "many">;
216
260
  total: z.ZodNumber;
217
261
  page: z.ZodNumber;
218
262
  page_size: z.ZodNumber;
@@ -227,30 +271,33 @@ declare const getWorkspaceNodes: {
227
271
  }, safeGetWorkspaceNodes: {
228
272
  (client: Client<import("../..").ApiVersion>, params: GetWorkspaceNodesRequest): Promise<import("../..").SafeResult<z.objectOutputType<{
229
273
  items: z.ZodArray<z.ZodObject<{
230
- id: z.ZodNullable<z.ZodNumber>;
231
- name: z.ZodNullable<z.ZodString>;
232
- region: z.ZodNullable<z.ZodString>;
233
- device_id: z.ZodNullable<z.ZodString>;
234
- ppid: z.ZodNullable<z.ZodString>;
235
- status: z.ZodNullable<z.ZodString>;
236
- version: z.ZodNullable<z.ZodString>;
237
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
238
- id: z.ZodNullable<z.ZodNumber>;
239
- name: z.ZodNullable<z.ZodString>;
240
- region: z.ZodNullable<z.ZodString>;
241
- device_id: z.ZodNullable<z.ZodString>;
242
- ppid: z.ZodNullable<z.ZodString>;
243
- status: z.ZodNullable<z.ZodString>;
244
- version: z.ZodNullable<z.ZodString>;
245
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
246
- id: z.ZodNullable<z.ZodNumber>;
247
- name: z.ZodNullable<z.ZodString>;
248
- region: z.ZodNullable<z.ZodString>;
249
- device_id: z.ZodNullable<z.ZodString>;
250
- ppid: z.ZodNullable<z.ZodString>;
251
- status: z.ZodNullable<z.ZodString>;
252
- version: z.ZodNullable<z.ZodString>;
253
- }, z.ZodTypeAny, "passthrough">>, "many">;
274
+ object_type: z.ZodLiteral<"node">;
275
+ id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
276
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
277
+ region: z.ZodOptional<z.ZodNullable<z.ZodString>>;
278
+ device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
279
+ ppid: z.ZodOptional<z.ZodNullable<z.ZodString>>;
280
+ status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
281
+ version: z.ZodOptional<z.ZodNullable<z.ZodString>>;
282
+ }, "strip", z.ZodTypeAny, {
283
+ object_type: "node";
284
+ status?: string | null | undefined;
285
+ name?: string | null | undefined;
286
+ version?: string | null | undefined;
287
+ id?: number | null | undefined;
288
+ region?: string | null | undefined;
289
+ device_id?: string | null | undefined;
290
+ ppid?: string | null | undefined;
291
+ }, {
292
+ object_type: "node";
293
+ status?: string | null | undefined;
294
+ name?: string | null | undefined;
295
+ version?: string | null | undefined;
296
+ id?: number | null | undefined;
297
+ region?: string | null | undefined;
298
+ device_id?: string | null | undefined;
299
+ ppid?: string | null | undefined;
300
+ }>, "many">;
254
301
  total: z.ZodNumber;
255
302
  page: z.ZodNumber;
256
303
  page_size: z.ZodNumber;
@@ -67,6 +67,7 @@ export declare const WorkspaceResponseSchema: z.ZodObject<{
67
67
  slug: z.ZodNullable<z.ZodString>;
68
68
  tier: z.ZodString;
69
69
  role: z.ZodString;
70
+ is_default: z.ZodBoolean;
70
71
  created_at: z.ZodString;
71
72
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
72
73
  id: z.ZodString;
@@ -74,6 +75,7 @@ export declare const WorkspaceResponseSchema: z.ZodObject<{
74
75
  slug: z.ZodNullable<z.ZodString>;
75
76
  tier: z.ZodString;
76
77
  role: z.ZodString;
78
+ is_default: z.ZodBoolean;
77
79
  created_at: z.ZodString;
78
80
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
79
81
  id: z.ZodString;
@@ -81,6 +83,7 @@ export declare const WorkspaceResponseSchema: z.ZodObject<{
81
83
  slug: z.ZodNullable<z.ZodString>;
82
84
  tier: z.ZodString;
83
85
  role: z.ZodString;
86
+ is_default: z.ZodBoolean;
84
87
  created_at: z.ZodString;
85
88
  }, z.ZodTypeAny, "passthrough">>;
86
89
  export declare const PaginationMetadataSchema: z.ZodObject<{
@@ -103,6 +106,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
103
106
  slug: z.ZodNullable<z.ZodString>;
104
107
  tier: z.ZodString;
105
108
  role: z.ZodString;
109
+ is_default: z.ZodBoolean;
106
110
  created_at: z.ZodString;
107
111
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
108
112
  id: z.ZodString;
@@ -110,6 +114,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
110
114
  slug: z.ZodNullable<z.ZodString>;
111
115
  tier: z.ZodString;
112
116
  role: z.ZodString;
117
+ is_default: z.ZodBoolean;
113
118
  created_at: z.ZodString;
114
119
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
115
120
  id: z.ZodString;
@@ -117,6 +122,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
117
122
  slug: z.ZodNullable<z.ZodString>;
118
123
  tier: z.ZodString;
119
124
  role: z.ZodString;
125
+ is_default: z.ZodBoolean;
120
126
  created_at: z.ZodString;
121
127
  }, z.ZodTypeAny, "passthrough">>, "many">;
122
128
  pagination: z.ZodObject<{
@@ -139,6 +145,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
139
145
  slug: z.ZodNullable<z.ZodString>;
140
146
  tier: z.ZodString;
141
147
  role: z.ZodString;
148
+ is_default: z.ZodBoolean;
142
149
  created_at: z.ZodString;
143
150
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
144
151
  id: z.ZodString;
@@ -146,6 +153,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
146
153
  slug: z.ZodNullable<z.ZodString>;
147
154
  tier: z.ZodString;
148
155
  role: z.ZodString;
156
+ is_default: z.ZodBoolean;
149
157
  created_at: z.ZodString;
150
158
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
151
159
  id: z.ZodString;
@@ -153,6 +161,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
153
161
  slug: z.ZodNullable<z.ZodString>;
154
162
  tier: z.ZodString;
155
163
  role: z.ZodString;
164
+ is_default: z.ZodBoolean;
156
165
  created_at: z.ZodString;
157
166
  }, z.ZodTypeAny, "passthrough">>, "many">;
158
167
  pagination: z.ZodObject<{
@@ -175,6 +184,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
175
184
  slug: z.ZodNullable<z.ZodString>;
176
185
  tier: z.ZodString;
177
186
  role: z.ZodString;
187
+ is_default: z.ZodBoolean;
178
188
  created_at: z.ZodString;
179
189
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
180
190
  id: z.ZodString;
@@ -182,6 +192,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
182
192
  slug: z.ZodNullable<z.ZodString>;
183
193
  tier: z.ZodString;
184
194
  role: z.ZodString;
195
+ is_default: z.ZodBoolean;
185
196
  created_at: z.ZodString;
186
197
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
187
198
  id: z.ZodString;
@@ -189,6 +200,7 @@ export declare const ListWorkspacesSchema: z.ZodObject<{
189
200
  slug: z.ZodNullable<z.ZodString>;
190
201
  tier: z.ZodString;
191
202
  role: z.ZodString;
203
+ is_default: z.ZodBoolean;
192
204
  created_at: z.ZodString;
193
205
  }, z.ZodTypeAny, "passthrough">>, "many">;
194
206
  pagination: z.ZodObject<{
@@ -220,6 +232,7 @@ declare const listWorkspaces: {
220
232
  slug: z.ZodNullable<z.ZodString>;
221
233
  tier: z.ZodString;
222
234
  role: z.ZodString;
235
+ is_default: z.ZodBoolean;
223
236
  created_at: z.ZodString;
224
237
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
225
238
  id: z.ZodString;
@@ -227,6 +240,7 @@ declare const listWorkspaces: {
227
240
  slug: z.ZodNullable<z.ZodString>;
228
241
  tier: z.ZodString;
229
242
  role: z.ZodString;
243
+ is_default: z.ZodBoolean;
230
244
  created_at: z.ZodString;
231
245
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
232
246
  id: z.ZodString;
@@ -234,6 +248,7 @@ declare const listWorkspaces: {
234
248
  slug: z.ZodNullable<z.ZodString>;
235
249
  tier: z.ZodString;
236
250
  role: z.ZodString;
251
+ is_default: z.ZodBoolean;
237
252
  created_at: z.ZodString;
238
253
  }, z.ZodTypeAny, "passthrough">>, "many">;
239
254
  pagination: z.ZodObject<{
@@ -264,6 +279,7 @@ declare const listWorkspaces: {
264
279
  slug: z.ZodNullable<z.ZodString>;
265
280
  tier: z.ZodString;
266
281
  role: z.ZodString;
282
+ is_default: z.ZodBoolean;
267
283
  created_at: z.ZodString;
268
284
  }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
269
285
  id: z.ZodString;
@@ -271,6 +287,7 @@ declare const listWorkspaces: {
271
287
  slug: z.ZodNullable<z.ZodString>;
272
288
  tier: z.ZodString;
273
289
  role: z.ZodString;
290
+ is_default: z.ZodBoolean;
274
291
  created_at: z.ZodString;
275
292
  }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
276
293
  id: z.ZodString;
@@ -278,6 +295,7 @@ declare const listWorkspaces: {
278
295
  slug: z.ZodNullable<z.ZodString>;
279
296
  tier: z.ZodString;
280
297
  role: z.ZodString;
298
+ is_default: z.ZodBoolean;
281
299
  created_at: z.ZodString;
282
300
  }, z.ZodTypeAny, "passthrough">>, "many">;
283
301
  pagination: z.ZodObject<{