@cmdop/core 0.1.1 → 0.1.2

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/index.d.ts CHANGED
@@ -23,34 +23,6 @@ declare enum MachineStatus {
23
23
  ONLINE = "online",
24
24
  OFFLINE = "offline"
25
25
  }
26
- /**
27
- * * `macos` - macOS
28
- * * `windows` - Windows
29
- * * `linux` - Linux
30
- * * `ios` - iOS
31
- * * `android` - Android
32
- */
33
- declare enum MachineCreateOs {
34
- MACOS = "macos",
35
- WINDOWS = "windows",
36
- LINUX = "linux",
37
- IOS = "ios",
38
- ANDROID = "android"
39
- }
40
- /**
41
- * * `macos` - macOS
42
- * * `windows` - Windows
43
- * * `linux` - Linux
44
- * * `ios` - iOS
45
- * * `android` - Android
46
- */
47
- declare enum MachineCreateRequestOs {
48
- MACOS = "macos",
49
- WINDOWS = "windows",
50
- LINUX = "linux",
51
- IOS = "ios",
52
- ANDROID = "android"
53
- }
54
26
  /**
55
27
  * * `info` - Info
56
28
  * * `warning` - Warning
@@ -61,105 +33,29 @@ declare enum MachineLogLevel {
61
33
  WARNING = "warning",
62
34
  ERROR = "error"
63
35
  }
64
- /**
65
- * * `info` - Info
66
- * * `warning` - Warning
67
- * * `error` - Error
68
- */
69
- declare enum MachineLogRequestLevel {
70
- INFO = "info",
71
- WARNING = "warning",
72
- ERROR = "error"
73
- }
74
- /**
75
- * * `macos` - macOS
76
- * * `windows` - Windows
77
- * * `linux` - Linux
78
- * * `ios` - iOS
79
- * * `android` - Android
80
- */
81
- declare enum MachineRequestOs {
82
- MACOS = "macos",
83
- WINDOWS = "windows",
84
- LINUX = "linux",
85
- IOS = "ios",
86
- ANDROID = "android"
87
- }
88
- /**
89
- * * `online` - Online
90
- * * `offline` - Offline
91
- */
92
- declare enum MachineRequestStatus {
93
- ONLINE = "online",
94
- OFFLINE = "offline"
95
- }
96
- /**
97
- * * `macos` - macOS
98
- * * `windows` - Windows
99
- * * `linux` - Linux
100
- * * `ios` - iOS
101
- * * `android` - Android
102
- */
103
- declare enum PatchedMachineRequestOs {
104
- MACOS = "macos",
105
- WINDOWS = "windows",
106
- LINUX = "linux",
107
- IOS = "ios",
108
- ANDROID = "android"
109
- }
110
- /**
111
- * * `online` - Online
112
- * * `offline` - Offline
113
- */
114
- declare enum PatchedMachineRequestStatus {
115
- ONLINE = "online",
116
- OFFLINE = "offline"
117
- }
118
36
  /**
119
37
  * * `read_only` - Read Only
120
38
  */
121
39
  declare enum SharedMachinePermission {
122
40
  READ_ONLY = "read_only"
123
41
  }
124
- /**
125
- * * `read_only` - Read Only
126
- */
127
- declare enum SharedMachineListPermission {
128
- READ_ONLY = "read_only"
129
- }
130
42
  declare enum MachinesMachinesUpdateMetricsCreateRequestStatus {
131
43
  ONLINE = "online",
132
44
  OFFLINE = "offline"
133
45
  }
134
46
 
135
- type enums$2_MachineCreateOs = MachineCreateOs;
136
- declare const enums$2_MachineCreateOs: typeof MachineCreateOs;
137
- type enums$2_MachineCreateRequestOs = MachineCreateRequestOs;
138
- declare const enums$2_MachineCreateRequestOs: typeof MachineCreateRequestOs;
139
47
  type enums$2_MachineLogLevel = MachineLogLevel;
140
48
  declare const enums$2_MachineLogLevel: typeof MachineLogLevel;
141
- type enums$2_MachineLogRequestLevel = MachineLogRequestLevel;
142
- declare const enums$2_MachineLogRequestLevel: typeof MachineLogRequestLevel;
143
49
  type enums$2_MachineOs = MachineOs;
144
50
  declare const enums$2_MachineOs: typeof MachineOs;
145
- type enums$2_MachineRequestOs = MachineRequestOs;
146
- declare const enums$2_MachineRequestOs: typeof MachineRequestOs;
147
- type enums$2_MachineRequestStatus = MachineRequestStatus;
148
- declare const enums$2_MachineRequestStatus: typeof MachineRequestStatus;
149
51
  type enums$2_MachineStatus = MachineStatus;
150
52
  declare const enums$2_MachineStatus: typeof MachineStatus;
151
53
  type enums$2_MachinesMachinesUpdateMetricsCreateRequestStatus = MachinesMachinesUpdateMetricsCreateRequestStatus;
152
54
  declare const enums$2_MachinesMachinesUpdateMetricsCreateRequestStatus: typeof MachinesMachinesUpdateMetricsCreateRequestStatus;
153
- type enums$2_PatchedMachineRequestOs = PatchedMachineRequestOs;
154
- declare const enums$2_PatchedMachineRequestOs: typeof PatchedMachineRequestOs;
155
- type enums$2_PatchedMachineRequestStatus = PatchedMachineRequestStatus;
156
- declare const enums$2_PatchedMachineRequestStatus: typeof PatchedMachineRequestStatus;
157
- type enums$2_SharedMachineListPermission = SharedMachineListPermission;
158
- declare const enums$2_SharedMachineListPermission: typeof SharedMachineListPermission;
159
55
  type enums$2_SharedMachinePermission = SharedMachinePermission;
160
56
  declare const enums$2_SharedMachinePermission: typeof SharedMachinePermission;
161
57
  declare namespace enums$2 {
162
- export { enums$2_MachineCreateOs as MachineCreateOs, enums$2_MachineCreateRequestOs as MachineCreateRequestOs, enums$2_MachineLogLevel as MachineLogLevel, enums$2_MachineLogRequestLevel as MachineLogRequestLevel, enums$2_MachineOs as MachineOs, enums$2_MachineRequestOs as MachineRequestOs, enums$2_MachineRequestStatus as MachineRequestStatus, enums$2_MachineStatus as MachineStatus, enums$2_MachinesMachinesUpdateMetricsCreateRequestStatus as MachinesMachinesUpdateMetricsCreateRequestStatus, enums$2_PatchedMachineRequestOs as PatchedMachineRequestOs, enums$2_PatchedMachineRequestStatus as PatchedMachineRequestStatus, enums$2_SharedMachineListPermission as SharedMachineListPermission, enums$2_SharedMachinePermission as SharedMachinePermission };
58
+ export { enums$2_MachineLogLevel as MachineLogLevel, enums$2_MachineOs as MachineOs, enums$2_MachineStatus as MachineStatus, enums$2_MachinesMachinesUpdateMetricsCreateRequestStatus as MachinesMachinesUpdateMetricsCreateRequestStatus, enums$2_SharedMachinePermission as SharedMachinePermission };
163
59
  }
164
60
 
165
61
  /**
@@ -235,7 +131,7 @@ interface SharedMachineList$1 {
235
131
  /** Unique token for public access */
236
132
  share_token: string;
237
133
  /** * `read_only` - Read Only */
238
- permission?: SharedMachineListPermission;
134
+ permission?: SharedMachinePermission;
239
135
  machine: string;
240
136
  machine_name: string;
241
137
  /** When this share expires (null = never) */
@@ -265,10 +161,12 @@ declare class MachinesMachineSharing {
265
161
  * workspace owner or admin can create shares.
266
162
  */
267
163
  machinesMachinesShareCreate(id: string, data: SharedMachineCreateRequest$1): Promise<SharedMachine$1>;
268
- machinesMachinesSharesList(id: string, page?: number, page_size?: number): Promise<PaginatedSharedMachineListList$1>;
164
+ machinesMachinesSharesList(id: string, ordering?: string, page?: number, page_size?: number, search?: string): Promise<PaginatedSharedMachineListList$1>;
269
165
  machinesMachinesSharesList(id: string, params?: {
166
+ ordering?: string;
270
167
  page?: number;
271
168
  page_size?: number;
169
+ search?: string;
272
170
  }): Promise<PaginatedSharedMachineListList$1>;
273
171
  /**
274
172
  * Remove all shares for machine
@@ -313,7 +211,7 @@ interface MachineLogRequest$1 {
313
211
  /** * `info` - Info
314
212
  * `warning` - Warning
315
213
  * `error` - Error */
316
- level: MachineLogRequestLevel;
214
+ level: MachineLogLevel;
317
215
  message: string;
318
216
  source?: string;
319
217
  }
@@ -372,7 +270,7 @@ interface MachineCreateRequest$1 {
372
270
  * `linux` - Linux
373
271
  * `ios` - iOS
374
272
  * `android` - Android */
375
- os: MachineCreateRequestOs;
273
+ os: MachineOs;
376
274
  os_version?: string;
377
275
  }
378
276
  /**
@@ -389,7 +287,7 @@ interface MachineCreate$1 {
389
287
  * `linux` - Linux
390
288
  * `ios` - iOS
391
289
  * `android` - Android */
392
- os: MachineCreateOs;
290
+ os: MachineOs;
393
291
  os_version?: string;
394
292
  }
395
293
  /**
@@ -471,12 +369,12 @@ interface MachineRequest$1 {
471
369
  * `linux` - Linux
472
370
  * `ios` - iOS
473
371
  * `android` - Android */
474
- os: MachineRequestOs;
372
+ os: MachineOs;
475
373
  os_version?: string;
476
374
  kernel_version?: string;
477
375
  /** * `online` - Online
478
376
  * `offline` - Offline */
479
- status?: MachineRequestStatus;
377
+ status?: MachineStatus;
480
378
  /** Device type: desktop, ios, android */
481
379
  device_type?: string;
482
380
  /** Unique device identifier (UDID for iOS, Android ID for Android) */
@@ -525,12 +423,12 @@ interface PatchedMachineRequest$1 {
525
423
  * `linux` - Linux
526
424
  * `ios` - iOS
527
425
  * `android` - Android */
528
- os?: PatchedMachineRequestOs;
426
+ os?: MachineOs;
529
427
  os_version?: string;
530
428
  kernel_version?: string;
531
429
  /** * `online` - Online
532
430
  * `offline` - Offline */
533
- status?: PatchedMachineRequestStatus;
431
+ status?: MachineStatus;
534
432
  /** Device type: desktop, ios, android */
535
433
  device_type?: string;
536
434
  /** Unique device identifier (UDID for iOS, Android ID for Android) */
@@ -593,10 +491,12 @@ declare namespace models$3 {
593
491
  declare class MachinesMachines {
594
492
  private client;
595
493
  constructor(client: any);
596
- logsList(page?: number, page_size?: number): Promise<PaginatedMachineLogList$1>;
494
+ logsList(ordering?: string, page?: number, page_size?: number, search?: string): Promise<PaginatedMachineLogList$1>;
597
495
  logsList(params?: {
496
+ ordering?: string;
598
497
  page?: number;
599
498
  page_size?: number;
499
+ search?: string;
600
500
  }): Promise<PaginatedMachineLogList$1>;
601
501
  /**
602
502
  * ViewSet for MachineLog operations. Read-only except for creation. Logs
@@ -608,10 +508,12 @@ declare class MachinesMachines {
608
508
  * are created by agents.
609
509
  */
610
510
  logsRetrieve(id: string): Promise<MachineLog$1>;
611
- machinesList(page?: number, page_size?: number): Promise<PaginatedMachineList$1>;
511
+ machinesList(ordering?: string, page?: number, page_size?: number, search?: string): Promise<PaginatedMachineList$1>;
612
512
  machinesList(params?: {
513
+ ordering?: string;
613
514
  page?: number;
614
515
  page_size?: number;
516
+ search?: string;
615
517
  }): Promise<PaginatedMachineList$1>;
616
518
  /**
617
519
  * ViewSet for Machine operations. Provides CRUD operations for remote
@@ -638,12 +540,14 @@ declare class MachinesMachines {
638
540
  * machines with monitoring capabilities.
639
541
  */
640
542
  machinesDestroy(id: string): Promise<void>;
641
- machinesLogsList(id: string, level?: string, limit?: number, page?: number, page_size?: number): Promise<PaginatedMachineLogList$1>;
543
+ machinesLogsList(id: string, level?: string, limit?: number, ordering?: string, page?: number, page_size?: number, search?: string): Promise<PaginatedMachineLogList$1>;
642
544
  machinesLogsList(id: string, params?: {
643
545
  level?: string;
644
546
  limit?: number;
547
+ ordering?: string;
645
548
  page?: number;
646
549
  page_size?: number;
550
+ search?: string;
647
551
  }): Promise<PaginatedMachineLogList$1>;
648
552
  /**
649
553
  * Regenerate agent token
@@ -1042,7 +946,7 @@ declare class MemoryStorageAdapter$2 implements StorageAdapter$2 {
1042
946
  */
1043
947
  declare const ActiveTerminalSessionSchema: z.ZodObject<{
1044
948
  session_id: z.ZodString;
1045
- created_at: z.ZodISODateTime;
949
+ created_at: z.ZodString;
1046
950
  }, z.core.$strip>;
1047
951
  /**
1048
952
  * Infer TypeScript type from Zod schema
@@ -1102,11 +1006,11 @@ declare const MachineSchema: z.ZodObject<{
1102
1006
  uptime_seconds: z.ZodOptional<z.ZodInt>;
1103
1007
  process_count: z.ZodOptional<z.ZodInt>;
1104
1008
  agent_version: z.ZodOptional<z.ZodString>;
1105
- last_seen: z.ZodNullable<z.ZodISODateTime>;
1106
- created_at: z.ZodISODateTime;
1009
+ last_seen: z.ZodNullable<z.ZodString>;
1010
+ created_at: z.ZodString;
1107
1011
  active_terminal_session: z.ZodNullable<z.ZodObject<{
1108
1012
  session_id: z.ZodString;
1109
- created_at: z.ZodISODateTime;
1013
+ created_at: z.ZodString;
1110
1014
  }, z.core.$strip>>;
1111
1015
  }, z.core.$strip>;
1112
1016
  /**
@@ -1128,7 +1032,7 @@ declare const MachineCreateSchema: z.ZodObject<{
1128
1032
  workspace: z.ZodString;
1129
1033
  name: z.ZodString;
1130
1034
  hostname: z.ZodString;
1131
- os: z.ZodEnum<typeof MachineCreateOs>;
1035
+ os: z.ZodEnum<typeof MachineOs>;
1132
1036
  os_version: z.ZodOptional<z.ZodString>;
1133
1037
  }, z.core.$strip>;
1134
1038
  /**
@@ -1150,7 +1054,7 @@ declare const MachineCreateRequestSchema: z.ZodObject<{
1150
1054
  workspace: z.ZodString;
1151
1055
  name: z.ZodString;
1152
1056
  hostname: z.ZodString;
1153
- os: z.ZodEnum<typeof MachineCreateRequestOs>;
1057
+ os: z.ZodEnum<typeof MachineOs>;
1154
1058
  os_version: z.ZodOptional<z.ZodString>;
1155
1059
  }, z.core.$strip>;
1156
1060
  /**
@@ -1175,7 +1079,7 @@ declare const MachineLogSchema: z.ZodObject<{
1175
1079
  level: z.ZodEnum<typeof MachineLogLevel>;
1176
1080
  message: z.ZodString;
1177
1081
  source: z.ZodOptional<z.ZodString>;
1178
- created_at: z.ZodISODateTime;
1082
+ created_at: z.ZodString;
1179
1083
  }, z.core.$strip>;
1180
1084
  /**
1181
1085
  * Infer TypeScript type from Zod schema
@@ -1194,7 +1098,7 @@ type MachineLog = z.infer<typeof MachineLogSchema>;
1194
1098
  */
1195
1099
  declare const MachineLogRequestSchema: z.ZodObject<{
1196
1100
  machine: z.ZodString;
1197
- level: z.ZodEnum<typeof MachineLogRequestLevel>;
1101
+ level: z.ZodEnum<typeof MachineLogLevel>;
1198
1102
  message: z.ZodString;
1199
1103
  source: z.ZodOptional<z.ZodString>;
1200
1104
  }, z.core.$strip>;
@@ -1223,10 +1127,10 @@ declare const MachineRequestSchema: z.ZodObject<{
1223
1127
  workspace: z.ZodString;
1224
1128
  name: z.ZodString;
1225
1129
  hostname: z.ZodString;
1226
- os: z.ZodEnum<typeof MachineRequestOs>;
1130
+ os: z.ZodEnum<typeof MachineOs>;
1227
1131
  os_version: z.ZodOptional<z.ZodString>;
1228
1132
  kernel_version: z.ZodOptional<z.ZodString>;
1229
- status: z.ZodOptional<z.ZodEnum<typeof MachineRequestStatus>>;
1133
+ status: z.ZodOptional<z.ZodEnum<typeof MachineStatus>>;
1230
1134
  device_type: z.ZodOptional<z.ZodString>;
1231
1135
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1232
1136
  architecture: z.ZodOptional<z.ZodString>;
@@ -1319,11 +1223,11 @@ declare const PaginatedMachineListSchema: z.ZodObject<{
1319
1223
  uptime_seconds: z.ZodOptional<z.ZodInt>;
1320
1224
  process_count: z.ZodOptional<z.ZodInt>;
1321
1225
  agent_version: z.ZodOptional<z.ZodString>;
1322
- last_seen: z.ZodNullable<z.ZodISODateTime>;
1323
- created_at: z.ZodISODateTime;
1226
+ last_seen: z.ZodNullable<z.ZodString>;
1227
+ created_at: z.ZodString;
1324
1228
  active_terminal_session: z.ZodNullable<z.ZodObject<{
1325
1229
  session_id: z.ZodString;
1326
- created_at: z.ZodISODateTime;
1230
+ created_at: z.ZodString;
1327
1231
  }, z.core.$strip>>;
1328
1232
  }, z.core.$strip>>;
1329
1233
  }, z.core.$strip>;
@@ -1348,7 +1252,7 @@ declare const PaginatedMachineLogListSchema: z.ZodObject<{
1348
1252
  level: z.ZodEnum<typeof MachineLogLevel>;
1349
1253
  message: z.ZodString;
1350
1254
  source: z.ZodOptional<z.ZodString>;
1351
- created_at: z.ZodISODateTime;
1255
+ created_at: z.ZodString;
1352
1256
  }, z.core.$strip>>;
1353
1257
  }, z.core.$strip>;
1354
1258
  /**
@@ -1368,15 +1272,15 @@ declare const PaginatedSharedMachineListListSchema: z.ZodObject<{
1368
1272
  results: z.ZodArray<z.ZodObject<{
1369
1273
  id: z.ZodString;
1370
1274
  share_token: z.ZodString;
1371
- permission: z.ZodOptional<z.ZodEnum<typeof SharedMachineListPermission>>;
1275
+ permission: z.ZodOptional<z.ZodEnum<typeof SharedMachinePermission>>;
1372
1276
  machine: z.ZodString;
1373
1277
  machine_name: z.ZodString;
1374
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1278
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1375
1279
  views_count: z.ZodOptional<z.ZodInt>;
1376
1280
  is_active: z.ZodOptional<z.ZodBoolean>;
1377
1281
  is_expired: z.ZodBoolean;
1378
1282
  is_valid: z.ZodBoolean;
1379
- created_at: z.ZodISODateTime;
1283
+ created_at: z.ZodString;
1380
1284
  }, z.core.$strip>>;
1381
1285
  }, z.core.$strip>;
1382
1286
  /**
@@ -1404,10 +1308,10 @@ declare const PatchedMachineRequestSchema: z.ZodObject<{
1404
1308
  workspace: z.ZodOptional<z.ZodString>;
1405
1309
  name: z.ZodOptional<z.ZodString>;
1406
1310
  hostname: z.ZodOptional<z.ZodString>;
1407
- os: z.ZodOptional<z.ZodEnum<typeof PatchedMachineRequestOs>>;
1311
+ os: z.ZodOptional<z.ZodEnum<typeof MachineOs>>;
1408
1312
  os_version: z.ZodOptional<z.ZodString>;
1409
1313
  kernel_version: z.ZodOptional<z.ZodString>;
1410
- status: z.ZodOptional<z.ZodEnum<typeof PatchedMachineRequestStatus>>;
1314
+ status: z.ZodOptional<z.ZodEnum<typeof MachineStatus>>;
1411
1315
  device_type: z.ZodOptional<z.ZodString>;
1412
1316
  device_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1413
1317
  architecture: z.ZodOptional<z.ZodString>;
@@ -1457,15 +1361,15 @@ declare const SharedMachineSchema: z.ZodObject<{
1457
1361
  machine_name: z.ZodString;
1458
1362
  machine_hostname: z.ZodString;
1459
1363
  machine_status: z.ZodString;
1460
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1364
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1461
1365
  views_count: z.ZodInt;
1462
- last_viewed_at: z.ZodNullable<z.ZodISODateTime>;
1366
+ last_viewed_at: z.ZodNullable<z.ZodString>;
1463
1367
  is_active: z.ZodOptional<z.ZodBoolean>;
1464
1368
  is_expired: z.ZodBoolean;
1465
1369
  is_valid: z.ZodBoolean;
1466
1370
  active_sessions_count: z.ZodInt;
1467
1371
  created_by: z.ZodInt;
1468
- created_at: z.ZodISODateTime;
1372
+ created_at: z.ZodString;
1469
1373
  }, z.core.$strip>;
1470
1374
  /**
1471
1375
  * Infer TypeScript type from Zod schema
@@ -1503,15 +1407,15 @@ type SharedMachineCreateRequest = z.infer<typeof SharedMachineCreateRequestSchem
1503
1407
  declare const SharedMachineListSchema: z.ZodObject<{
1504
1408
  id: z.ZodString;
1505
1409
  share_token: z.ZodString;
1506
- permission: z.ZodOptional<z.ZodEnum<typeof SharedMachineListPermission>>;
1410
+ permission: z.ZodOptional<z.ZodEnum<typeof SharedMachinePermission>>;
1507
1411
  machine: z.ZodString;
1508
1412
  machine_name: z.ZodString;
1509
- expires_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
1413
+ expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1510
1414
  views_count: z.ZodOptional<z.ZodInt>;
1511
1415
  is_active: z.ZodOptional<z.ZodBoolean>;
1512
1416
  is_expired: z.ZodBoolean;
1513
1417
  is_valid: z.ZodBoolean;
1514
- created_at: z.ZodISODateTime;
1418
+ created_at: z.ZodString;
1515
1419
  }, z.core.$strip>;
1516
1420
  /**
1517
1421
  * Infer TypeScript type from Zod schema
@@ -1657,8 +1561,10 @@ declare function createMachinesMachinesShareCreate(id: string, data: SharedMachi
1657
1561
  * @path /api/machines/machines/{id}/shares/
1658
1562
  */
1659
1563
  declare function getMachinesMachinesSharesList(id: string, params?: {
1564
+ ordering?: string;
1660
1565
  page?: number;
1661
1566
  page_size?: number;
1567
+ search?: string;
1662
1568
  }, client?: any): Promise<PaginatedSharedMachineListList>;
1663
1569
  /**
1664
1570
  * Remove all shares for machine
@@ -1675,8 +1581,10 @@ declare function deleteMachinesMachinesUnshareDestroy(id: string, client?: any):
1675
1581
  * @path /api/machines/logs/
1676
1582
  */
1677
1583
  declare function getMachinesLogsList(params?: {
1584
+ ordering?: string;
1678
1585
  page?: number;
1679
1586
  page_size?: number;
1587
+ search?: string;
1680
1588
  }, client?: any): Promise<PaginatedMachineLogList>;
1681
1589
  /**
1682
1590
  * API operation
@@ -1699,8 +1607,10 @@ declare function getMachinesLogsRetrieve(id: string, client?: any): Promise<Mach
1699
1607
  * @path /api/machines/machines/
1700
1608
  */
1701
1609
  declare function getMachinesMachinesList(params?: {
1610
+ ordering?: string;
1702
1611
  page?: number;
1703
1612
  page_size?: number;
1613
+ search?: string;
1704
1614
  }, client?: any): Promise<PaginatedMachineList>;
1705
1615
  /**
1706
1616
  * API operation
@@ -1746,8 +1656,10 @@ declare function deleteMachinesMachinesDestroy(id: string, client?: any): Promis
1746
1656
  declare function getMachinesMachinesLogsList(id: string, params?: {
1747
1657
  level?: string;
1748
1658
  limit?: number;
1659
+ ordering?: string;
1749
1660
  page?: number;
1750
1661
  page_size?: number;
1662
+ search?: string;
1751
1663
  }, client?: any): Promise<PaginatedMachineLogList>;
1752
1664
  /**
1753
1665
  * Regenerate agent token
@@ -2149,42 +2061,6 @@ declare enum PatchedWorkspaceRequestPlan {
2149
2061
  PRO = "pro",
2150
2062
  ENTERPRISE = "enterprise"
2151
2063
  }
2152
- /**
2153
- * * `personal` - Personal
2154
- * * `team` - Team
2155
- */
2156
- declare enum WorkspaceType {
2157
- PERSONAL = "personal",
2158
- TEAM = "team"
2159
- }
2160
- /**
2161
- * * `free` - Free
2162
- * * `pro` - Pro
2163
- * * `enterprise` - Enterprise
2164
- */
2165
- declare enum WorkspacePlan {
2166
- FREE = "free",
2167
- PRO = "pro",
2168
- ENTERPRISE = "enterprise"
2169
- }
2170
- /**
2171
- * * `personal` - Personal
2172
- * * `team` - Team
2173
- */
2174
- declare enum WorkspaceCreateRequestType {
2175
- PERSONAL = "personal",
2176
- TEAM = "team"
2177
- }
2178
- /**
2179
- * * `free` - Free
2180
- * * `pro` - Pro
2181
- * * `enterprise` - Enterprise
2182
- */
2183
- declare enum WorkspaceCreateRequestPlan {
2184
- FREE = "free",
2185
- PRO = "pro",
2186
- ENTERPRISE = "enterprise"
2187
- }
2188
2064
  /**
2189
2065
  * * `admin` - Admin
2190
2066
  * * `member` - Member
@@ -2215,74 +2091,6 @@ declare enum WorkspaceInvitationCreateRequestRole {
2215
2091
  ADMIN = "admin",
2216
2092
  MEMBER = "member"
2217
2093
  }
2218
- /**
2219
- * * `admin` - Admin
2220
- * * `member` - Member
2221
- */
2222
- declare enum WorkspaceInvitationPublicRole {
2223
- ADMIN = "admin",
2224
- MEMBER = "member"
2225
- }
2226
- /**
2227
- * * `pending` - Pending
2228
- * * `accepted` - Accepted
2229
- * * `declined` - Declined
2230
- * * `expired` - Expired
2231
- * * `cancelled` - Cancelled
2232
- */
2233
- declare enum WorkspaceInvitationPublicStatus {
2234
- PENDING = "pending",
2235
- ACCEPTED = "accepted",
2236
- DECLINED = "declined",
2237
- EXPIRED = "expired",
2238
- CANCELLED = "cancelled"
2239
- }
2240
- /**
2241
- * * `admin` - Admin
2242
- * * `member` - Member
2243
- */
2244
- declare enum WorkspaceInvitationRequestRole {
2245
- ADMIN = "admin",
2246
- MEMBER = "member"
2247
- }
2248
- /**
2249
- * * `owner` - Owner
2250
- * * `admin` - Admin
2251
- * * `member` - Member
2252
- */
2253
- declare enum WorkspaceMemberRole {
2254
- OWNER = "owner",
2255
- ADMIN = "admin",
2256
- MEMBER = "member"
2257
- }
2258
- /**
2259
- * * `owner` - Owner
2260
- * * `admin` - Admin
2261
- * * `member` - Member
2262
- */
2263
- declare enum WorkspaceMemberRequestRole {
2264
- OWNER = "owner",
2265
- ADMIN = "admin",
2266
- MEMBER = "member"
2267
- }
2268
- /**
2269
- * * `personal` - Personal
2270
- * * `team` - Team
2271
- */
2272
- declare enum WorkspaceRequestType {
2273
- PERSONAL = "personal",
2274
- TEAM = "team"
2275
- }
2276
- /**
2277
- * * `free` - Free
2278
- * * `pro` - Pro
2279
- * * `enterprise` - Enterprise
2280
- */
2281
- declare enum WorkspaceRequestPlan {
2282
- FREE = "free",
2283
- PRO = "pro",
2284
- ENTERPRISE = "enterprise"
2285
- }
2286
2094
 
2287
2095
  type enums$1_PatchedWorkspaceMemberRequestRole = PatchedWorkspaceMemberRequestRole;
2288
2096
  declare const enums$1_PatchedWorkspaceMemberRequestRole: typeof PatchedWorkspaceMemberRequestRole;
@@ -2290,36 +2098,14 @@ type enums$1_PatchedWorkspaceRequestPlan = PatchedWorkspaceRequestPlan;
2290
2098
  declare const enums$1_PatchedWorkspaceRequestPlan: typeof PatchedWorkspaceRequestPlan;
2291
2099
  type enums$1_PatchedWorkspaceRequestType = PatchedWorkspaceRequestType;
2292
2100
  declare const enums$1_PatchedWorkspaceRequestType: typeof PatchedWorkspaceRequestType;
2293
- type enums$1_WorkspaceCreateRequestPlan = WorkspaceCreateRequestPlan;
2294
- declare const enums$1_WorkspaceCreateRequestPlan: typeof WorkspaceCreateRequestPlan;
2295
- type enums$1_WorkspaceCreateRequestType = WorkspaceCreateRequestType;
2296
- declare const enums$1_WorkspaceCreateRequestType: typeof WorkspaceCreateRequestType;
2297
2101
  type enums$1_WorkspaceInvitationCreateRequestRole = WorkspaceInvitationCreateRequestRole;
2298
2102
  declare const enums$1_WorkspaceInvitationCreateRequestRole: typeof WorkspaceInvitationCreateRequestRole;
2299
- type enums$1_WorkspaceInvitationPublicRole = WorkspaceInvitationPublicRole;
2300
- declare const enums$1_WorkspaceInvitationPublicRole: typeof WorkspaceInvitationPublicRole;
2301
- type enums$1_WorkspaceInvitationPublicStatus = WorkspaceInvitationPublicStatus;
2302
- declare const enums$1_WorkspaceInvitationPublicStatus: typeof WorkspaceInvitationPublicStatus;
2303
- type enums$1_WorkspaceInvitationRequestRole = WorkspaceInvitationRequestRole;
2304
- declare const enums$1_WorkspaceInvitationRequestRole: typeof WorkspaceInvitationRequestRole;
2305
2103
  type enums$1_WorkspaceInvitationRole = WorkspaceInvitationRole;
2306
2104
  declare const enums$1_WorkspaceInvitationRole: typeof WorkspaceInvitationRole;
2307
2105
  type enums$1_WorkspaceInvitationStatus = WorkspaceInvitationStatus;
2308
2106
  declare const enums$1_WorkspaceInvitationStatus: typeof WorkspaceInvitationStatus;
2309
- type enums$1_WorkspaceMemberRequestRole = WorkspaceMemberRequestRole;
2310
- declare const enums$1_WorkspaceMemberRequestRole: typeof WorkspaceMemberRequestRole;
2311
- type enums$1_WorkspaceMemberRole = WorkspaceMemberRole;
2312
- declare const enums$1_WorkspaceMemberRole: typeof WorkspaceMemberRole;
2313
- type enums$1_WorkspacePlan = WorkspacePlan;
2314
- declare const enums$1_WorkspacePlan: typeof WorkspacePlan;
2315
- type enums$1_WorkspaceRequestPlan = WorkspaceRequestPlan;
2316
- declare const enums$1_WorkspaceRequestPlan: typeof WorkspaceRequestPlan;
2317
- type enums$1_WorkspaceRequestType = WorkspaceRequestType;
2318
- declare const enums$1_WorkspaceRequestType: typeof WorkspaceRequestType;
2319
- type enums$1_WorkspaceType = WorkspaceType;
2320
- declare const enums$1_WorkspaceType: typeof WorkspaceType;
2321
2107
  declare namespace enums$1 {
2322
- export { enums$1_PatchedWorkspaceMemberRequestRole as PatchedWorkspaceMemberRequestRole, enums$1_PatchedWorkspaceRequestPlan as PatchedWorkspaceRequestPlan, enums$1_PatchedWorkspaceRequestType as PatchedWorkspaceRequestType, enums$1_WorkspaceCreateRequestPlan as WorkspaceCreateRequestPlan, enums$1_WorkspaceCreateRequestType as WorkspaceCreateRequestType, enums$1_WorkspaceInvitationCreateRequestRole as WorkspaceInvitationCreateRequestRole, enums$1_WorkspaceInvitationPublicRole as WorkspaceInvitationPublicRole, enums$1_WorkspaceInvitationPublicStatus as WorkspaceInvitationPublicStatus, enums$1_WorkspaceInvitationRequestRole as WorkspaceInvitationRequestRole, enums$1_WorkspaceInvitationRole as WorkspaceInvitationRole, enums$1_WorkspaceInvitationStatus as WorkspaceInvitationStatus, enums$1_WorkspaceMemberRequestRole as WorkspaceMemberRequestRole, enums$1_WorkspaceMemberRole as WorkspaceMemberRole, enums$1_WorkspacePlan as WorkspacePlan, enums$1_WorkspaceRequestPlan as WorkspaceRequestPlan, enums$1_WorkspaceRequestType as WorkspaceRequestType, enums$1_WorkspaceType as WorkspaceType };
2108
+ export { enums$1_PatchedWorkspaceMemberRequestRole as PatchedWorkspaceMemberRequestRole, enums$1_PatchedWorkspaceRequestPlan as PatchedWorkspaceRequestPlan, enums$1_PatchedWorkspaceRequestType as PatchedWorkspaceRequestType, enums$1_WorkspaceInvitationCreateRequestRole as WorkspaceInvitationCreateRequestRole, enums$1_WorkspaceInvitationRole as WorkspaceInvitationRole, enums$1_WorkspaceInvitationStatus as WorkspaceInvitationStatus };
2323
2109
  }
2324
2110
 
2325
2111
  /**
@@ -2393,7 +2179,7 @@ interface WorkspaceInvitationRequest$1 {
2393
2179
  email: string;
2394
2180
  /** * `admin` - Admin
2395
2181
  * `member` - Member */
2396
- role?: WorkspaceInvitationRequestRole;
2182
+ role?: WorkspaceInvitationRole;
2397
2183
  }
2398
2184
  /**
2399
2185
  * Serializer for accepting workspace invitation.
@@ -2414,13 +2200,13 @@ interface WorkspaceInvitationPublic$1 {
2414
2200
  email: string;
2415
2201
  /** * `admin` - Admin
2416
2202
  * `member` - Member */
2417
- role?: WorkspaceInvitationPublicRole;
2203
+ role?: WorkspaceInvitationRole;
2418
2204
  /** * `pending` - Pending
2419
2205
  * `accepted` - Accepted
2420
2206
  * `declined` - Declined
2421
2207
  * `expired` - Expired
2422
2208
  * `cancelled` - Cancelled */
2423
- status?: WorkspaceInvitationPublicStatus;
2209
+ status?: WorkspaceInvitationStatus;
2424
2210
  invited_by_name: string;
2425
2211
  created_at: string;
2426
2212
  expires_at?: string;
@@ -2462,7 +2248,7 @@ interface WorkspaceMemberRequest$1 {
2462
2248
  /** * `owner` - Owner
2463
2249
  * `admin` - Admin
2464
2250
  * `member` - Member */
2465
- role?: WorkspaceMemberRequestRole;
2251
+ role?: PatchedWorkspaceMemberRequestRole;
2466
2252
  }
2467
2253
  /**
2468
2254
  * Serializer for WorkspaceMember model.
@@ -2477,7 +2263,7 @@ interface WorkspaceMember$1 {
2477
2263
  /** * `owner` - Owner
2478
2264
  * `admin` - Admin
2479
2265
  * `member` - Member */
2480
- role?: WorkspaceMemberRole;
2266
+ role?: PatchedWorkspaceMemberRequestRole;
2481
2267
  joined_at: string;
2482
2268
  }
2483
2269
  /**
@@ -2502,11 +2288,11 @@ interface WorkspaceCreateRequest$1 {
2502
2288
  name: string;
2503
2289
  /** * `personal` - Personal
2504
2290
  * `team` - Team */
2505
- type?: WorkspaceCreateRequestType;
2291
+ type?: PatchedWorkspaceRequestType;
2506
2292
  /** * `free` - Free
2507
2293
  * `pro` - Pro
2508
2294
  * `enterprise` - Enterprise */
2509
- plan?: WorkspaceCreateRequestPlan;
2295
+ plan?: PatchedWorkspaceRequestPlan;
2510
2296
  }
2511
2297
  /**
2512
2298
  * Serializer for Workspace model. All fields are always present in responses
@@ -2520,11 +2306,11 @@ interface Workspace$1 {
2520
2306
  slug: string;
2521
2307
  /** * `personal` - Personal
2522
2308
  * `team` - Team */
2523
- type?: WorkspaceType;
2309
+ type?: PatchedWorkspaceRequestType;
2524
2310
  /** * `free` - Free
2525
2311
  * `pro` - Pro
2526
2312
  * `enterprise` - Enterprise */
2527
- plan?: WorkspacePlan;
2313
+ plan?: PatchedWorkspaceRequestPlan;
2528
2314
  created_at: string;
2529
2315
  member_count: number;
2530
2316
  machine_count: number;
@@ -2540,11 +2326,11 @@ interface WorkspaceRequest$1 {
2540
2326
  slug: string;
2541
2327
  /** * `personal` - Personal
2542
2328
  * `team` - Team */
2543
- type?: WorkspaceRequestType;
2329
+ type?: PatchedWorkspaceRequestType;
2544
2330
  /** * `free` - Free
2545
2331
  * `pro` - Pro
2546
2332
  * `enterprise` - Enterprise */
2547
- plan?: WorkspaceRequestPlan;
2333
+ plan?: PatchedWorkspaceRequestPlan;
2548
2334
  }
2549
2335
  /**
2550
2336
  * Serializer for Workspace model. All fields are always present in responses
@@ -2598,10 +2384,12 @@ declare namespace models$2 {
2598
2384
  declare class WorkspacesWorkspaces {
2599
2385
  private client;
2600
2386
  constructor(client: any);
2601
- invitationsList(page?: number, page_size?: number): Promise<PaginatedWorkspaceInvitationList$1>;
2387
+ invitationsList(ordering?: string, page?: number, page_size?: number, search?: string): Promise<PaginatedWorkspaceInvitationList$1>;
2602
2388
  invitationsList(params?: {
2389
+ ordering?: string;
2603
2390
  page?: number;
2604
2391
  page_size?: number;
2392
+ search?: string;
2605
2393
  }): Promise<PaginatedWorkspaceInvitationList$1>;
2606
2394
  /**
2607
2395
  * Create invitation
@@ -2645,8 +2433,9 @@ declare class WorkspacesWorkspaces {
2645
2433
  * Get public invitation details for accept page (no auth required)
2646
2434
  */
2647
2435
  invitationsDetailsRetrieve(token: string): Promise<WorkspaceInvitationPublic$1>;
2648
- membersList(page?: number, page_size?: number, role?: string, search?: string): Promise<PaginatedWorkspaceMemberList$1>;
2436
+ membersList(ordering?: string, page?: number, page_size?: number, role?: string, search?: string): Promise<PaginatedWorkspaceMemberList$1>;
2649
2437
  membersList(params?: {
2438
+ ordering?: string;
2650
2439
  page?: number;
2651
2440
  page_size?: number;
2652
2441
  role?: string;
@@ -2683,11 +2472,11 @@ declare class WorkspacesWorkspaces {
2683
2472
  * Update workspace member role.
2684
2473
  */
2685
2474
  membersUpdateRoleCreate(id: string, data: WorkspaceMemberRequest$1): Promise<WorkspaceMember$1>;
2686
- /**
2687
- * ViewSet for Workspace operations. Provides CRUD operations for
2688
- * workspaces with team/personal modes.
2689
- */
2690
- workspacesList(): Promise<any>;
2475
+ workspacesList(ordering?: string, search?: string): Promise<any>;
2476
+ workspacesList(params?: {
2477
+ ordering?: string;
2478
+ search?: string;
2479
+ }): Promise<any>;
2691
2480
  /**
2692
2481
  * Create new workspace
2693
2482
  *
@@ -3135,9 +2924,9 @@ declare const PaginatedWorkspaceInvitationListSchema: z.ZodObject<{
3135
2924
  first_name: z.ZodString;
3136
2925
  last_name: z.ZodString;
3137
2926
  }, z.core.$strip>;
3138
- created_at: z.ZodISODateTime;
3139
- expires_at: z.ZodISODateTime;
3140
- accepted_at: z.ZodNullable<z.ZodISODateTime>;
2927
+ created_at: z.ZodString;
2928
+ expires_at: z.ZodString;
2929
+ accepted_at: z.ZodNullable<z.ZodString>;
3141
2930
  is_expired: z.ZodBoolean;
3142
2931
  is_valid: z.ZodBoolean;
3143
2932
  }, z.core.$strip>>;
@@ -3167,8 +2956,8 @@ declare const PaginatedWorkspaceMemberListSchema: z.ZodObject<{
3167
2956
  last_name: z.ZodString;
3168
2957
  username: z.ZodString;
3169
2958
  }, z.core.$strip>;
3170
- role: z.ZodOptional<z.ZodEnum<typeof WorkspaceMemberRole>>;
3171
- joined_at: z.ZodISODateTime;
2959
+ role: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceMemberRequestRole>>;
2960
+ joined_at: z.ZodString;
3172
2961
  }, z.core.$strip>>;
3173
2962
  }, z.core.$strip>;
3174
2963
  /**
@@ -3261,9 +3050,9 @@ declare const WorkspaceSchema: z.ZodObject<{
3261
3050
  id: z.ZodString;
3262
3051
  name: z.ZodString;
3263
3052
  slug: z.ZodString;
3264
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceType>>;
3265
- plan: z.ZodOptional<z.ZodEnum<typeof WorkspacePlan>>;
3266
- created_at: z.ZodISODateTime;
3053
+ type: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceRequestType>>;
3054
+ plan: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceRequestPlan>>;
3055
+ created_at: z.ZodString;
3267
3056
  member_count: z.ZodInt;
3268
3057
  machine_count: z.ZodInt;
3269
3058
  }, z.core.$strip>;
@@ -3284,8 +3073,8 @@ type Workspace = z.infer<typeof WorkspaceSchema>;
3284
3073
  */
3285
3074
  declare const WorkspaceCreateRequestSchema: z.ZodObject<{
3286
3075
  name: z.ZodString;
3287
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceCreateRequestType>>;
3288
- plan: z.ZodOptional<z.ZodEnum<typeof WorkspaceCreateRequestPlan>>;
3076
+ type: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceRequestType>>;
3077
+ plan: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceRequestPlan>>;
3289
3078
  }, z.core.$strip>;
3290
3079
  /**
3291
3080
  * Infer TypeScript type from Zod schema
@@ -3315,9 +3104,9 @@ declare const WorkspaceInvitationSchema: z.ZodObject<{
3315
3104
  first_name: z.ZodString;
3316
3105
  last_name: z.ZodString;
3317
3106
  }, z.core.$strip>;
3318
- created_at: z.ZodISODateTime;
3319
- expires_at: z.ZodISODateTime;
3320
- accepted_at: z.ZodNullable<z.ZodISODateTime>;
3107
+ created_at: z.ZodString;
3108
+ expires_at: z.ZodString;
3109
+ accepted_at: z.ZodNullable<z.ZodString>;
3321
3110
  is_expired: z.ZodBoolean;
3322
3111
  is_valid: z.ZodBoolean;
3323
3112
  }, z.core.$strip>;
@@ -3377,11 +3166,11 @@ declare const WorkspaceInvitationPublicSchema: z.ZodObject<{
3377
3166
  id: z.ZodString;
3378
3167
  workspace_name: z.ZodString;
3379
3168
  email: z.ZodEmail;
3380
- role: z.ZodOptional<z.ZodEnum<typeof WorkspaceInvitationPublicRole>>;
3381
- status: z.ZodOptional<z.ZodEnum<typeof WorkspaceInvitationPublicStatus>>;
3169
+ role: z.ZodOptional<z.ZodEnum<typeof WorkspaceInvitationRole>>;
3170
+ status: z.ZodOptional<z.ZodEnum<typeof WorkspaceInvitationStatus>>;
3382
3171
  invited_by_name: z.ZodString;
3383
- created_at: z.ZodISODateTime;
3384
- expires_at: z.ZodOptional<z.ZodISODateTime>;
3172
+ created_at: z.ZodString;
3173
+ expires_at: z.ZodOptional<z.ZodString>;
3385
3174
  is_expired: z.ZodBoolean;
3386
3175
  is_valid: z.ZodBoolean;
3387
3176
  }, z.core.$strip>;
@@ -3403,7 +3192,7 @@ type WorkspaceInvitationPublic = z.infer<typeof WorkspaceInvitationPublicSchema>
3403
3192
  declare const WorkspaceInvitationRequestSchema: z.ZodObject<{
3404
3193
  workspace: z.ZodString;
3405
3194
  email: z.ZodEmail;
3406
- role: z.ZodOptional<z.ZodEnum<typeof WorkspaceInvitationRequestRole>>;
3195
+ role: z.ZodOptional<z.ZodEnum<typeof WorkspaceInvitationRole>>;
3407
3196
  }, z.core.$strip>;
3408
3197
  /**
3409
3198
  * Infer TypeScript type from Zod schema
@@ -3431,8 +3220,8 @@ declare const WorkspaceMemberSchema: z.ZodObject<{
3431
3220
  last_name: z.ZodString;
3432
3221
  username: z.ZodString;
3433
3222
  }, z.core.$strip>;
3434
- role: z.ZodOptional<z.ZodEnum<typeof WorkspaceMemberRole>>;
3435
- joined_at: z.ZodISODateTime;
3223
+ role: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceMemberRequestRole>>;
3224
+ joined_at: z.ZodString;
3436
3225
  }, z.core.$strip>;
3437
3226
  /**
3438
3227
  * Infer TypeScript type from Zod schema
@@ -3452,7 +3241,7 @@ type WorkspaceMember = z.infer<typeof WorkspaceMemberSchema>;
3452
3241
  declare const WorkspaceMemberRequestSchema: z.ZodObject<{
3453
3242
  workspace: z.ZodString;
3454
3243
  user_id: z.ZodOptional<z.ZodString>;
3455
- role: z.ZodOptional<z.ZodEnum<typeof WorkspaceMemberRequestRole>>;
3244
+ role: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceMemberRequestRole>>;
3456
3245
  }, z.core.$strip>;
3457
3246
  /**
3458
3247
  * Infer TypeScript type from Zod schema
@@ -3476,8 +3265,8 @@ All fields are always present in responses (even read_only ones).
3476
3265
  declare const WorkspaceRequestSchema: z.ZodObject<{
3477
3266
  name: z.ZodString;
3478
3267
  slug: z.ZodString;
3479
- type: z.ZodOptional<z.ZodEnum<typeof WorkspaceRequestType>>;
3480
- plan: z.ZodOptional<z.ZodEnum<typeof WorkspaceRequestPlan>>;
3268
+ type: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceRequestType>>;
3269
+ plan: z.ZodOptional<z.ZodEnum<typeof PatchedWorkspaceRequestPlan>>;
3481
3270
  }, z.core.$strip>;
3482
3271
  /**
3483
3272
  * Infer TypeScript type from Zod schema
@@ -3618,8 +3407,10 @@ declare function formatZodError$1(error: ZodError): string;
3618
3407
  * @path /api/workspaces/invitations/
3619
3408
  */
3620
3409
  declare function getWorkspacesInvitationsList(params?: {
3410
+ ordering?: string;
3621
3411
  page?: number;
3622
3412
  page_size?: number;
3413
+ search?: string;
3623
3414
  }, client?: any): Promise<PaginatedWorkspaceInvitationList>;
3624
3415
  /**
3625
3416
  * Create invitation
@@ -3677,6 +3468,7 @@ declare function getWorkspacesInvitationsDetailsRetrieve(token: string, client?:
3677
3468
  * @path /api/workspaces/members/
3678
3469
  */
3679
3470
  declare function getWorkspacesMembersList(params?: {
3471
+ ordering?: string;
3680
3472
  page?: number;
3681
3473
  page_size?: number;
3682
3474
  role?: string;
@@ -3730,7 +3522,10 @@ declare function createWorkspacesMembersUpdateRoleCreate(id: string, data: Works
3730
3522
  * @method GET
3731
3523
  * @path /api/workspaces/workspaces/
3732
3524
  */
3733
- declare function getWorkspacesWorkspacesList(client?: any): Promise<any>;
3525
+ declare function getWorkspacesWorkspacesList(params?: {
3526
+ ordering?: string;
3527
+ search?: string;
3528
+ }, client?: any): Promise<any>;
3734
3529
  /**
3735
3530
  * Create new workspace
3736
3531
  *
@@ -4156,36 +3951,6 @@ declare enum AlertType {
4156
3951
  TASK_FAILED = "task_failed",
4157
3952
  SCHEDULE_ERROR = "schedule_error"
4158
3953
  }
4159
- /**
4160
- * * `machine_offline` - Machine Offline
4161
- * * `task_failed` - Task Failed
4162
- * * `schedule_error` - Schedule Error
4163
- */
4164
- declare enum AlertCreateType {
4165
- MACHINE_OFFLINE = "machine_offline",
4166
- TASK_FAILED = "task_failed",
4167
- SCHEDULE_ERROR = "schedule_error"
4168
- }
4169
- /**
4170
- * * `machine_offline` - Machine Offline
4171
- * * `task_failed` - Task Failed
4172
- * * `schedule_error` - Schedule Error
4173
- */
4174
- declare enum AlertCreateRequestType {
4175
- MACHINE_OFFLINE = "machine_offline",
4176
- TASK_FAILED = "task_failed",
4177
- SCHEDULE_ERROR = "schedule_error"
4178
- }
4179
- /**
4180
- * * `machine_offline` - Machine Offline
4181
- * * `task_failed` - Task Failed
4182
- * * `schedule_error` - Schedule Error
4183
- */
4184
- declare enum AlertRequestType {
4185
- MACHINE_OFFLINE = "machine_offline",
4186
- TASK_FAILED = "task_failed",
4187
- SCHEDULE_ERROR = "schedule_error"
4188
- }
4189
3954
  /**
4190
3955
  * User decision: approve or deny
4191
3956
  * * `approve` - approve
@@ -4195,16 +3960,6 @@ declare enum DeviceAuthorizeRequestAction {
4195
3960
  APPROVE = "approve",
4196
3961
  DENY = "deny"
4197
3962
  }
4198
- /**
4199
- * * `machine_offline` - Machine Offline
4200
- * * `task_failed` - Task Failed
4201
- * * `schedule_error` - Schedule Error
4202
- */
4203
- declare enum PatchedAlertRequestType {
4204
- MACHINE_OFFLINE = "machine_offline",
4205
- TASK_FAILED = "task_failed",
4206
- SCHEDULE_ERROR = "schedule_error"
4207
- }
4208
3963
  /**
4209
3964
  * OAuth error code
4210
3965
  * * `authorization_pending` - authorization_pending
@@ -4239,18 +3994,10 @@ declare enum TokenRevokeRequestTokenTypeHint {
4239
3994
  REFRESH_TOKEN = "refresh_token"
4240
3995
  }
4241
3996
 
4242
- type enums_AlertCreateRequestType = AlertCreateRequestType;
4243
- declare const enums_AlertCreateRequestType: typeof AlertCreateRequestType;
4244
- type enums_AlertCreateType = AlertCreateType;
4245
- declare const enums_AlertCreateType: typeof AlertCreateType;
4246
- type enums_AlertRequestType = AlertRequestType;
4247
- declare const enums_AlertRequestType: typeof AlertRequestType;
4248
3997
  type enums_AlertType = AlertType;
4249
3998
  declare const enums_AlertType: typeof AlertType;
4250
3999
  type enums_DeviceAuthorizeRequestAction = DeviceAuthorizeRequestAction;
4251
4000
  declare const enums_DeviceAuthorizeRequestAction: typeof DeviceAuthorizeRequestAction;
4252
- type enums_PatchedAlertRequestType = PatchedAlertRequestType;
4253
- declare const enums_PatchedAlertRequestType: typeof PatchedAlertRequestType;
4254
4001
  type enums_TokenErrorError = TokenErrorError;
4255
4002
  declare const enums_TokenErrorError: typeof TokenErrorError;
4256
4003
  type enums_TokenRequestRequestGrantType = TokenRequestRequestGrantType;
@@ -4258,7 +4005,7 @@ declare const enums_TokenRequestRequestGrantType: typeof TokenRequestRequestGran
4258
4005
  type enums_TokenRevokeRequestTokenTypeHint = TokenRevokeRequestTokenTypeHint;
4259
4006
  declare const enums_TokenRevokeRequestTokenTypeHint: typeof TokenRevokeRequestTokenTypeHint;
4260
4007
  declare namespace enums {
4261
- export { enums_AlertCreateRequestType as AlertCreateRequestType, enums_AlertCreateType as AlertCreateType, enums_AlertRequestType as AlertRequestType, enums_AlertType as AlertType, enums_DeviceAuthorizeRequestAction as DeviceAuthorizeRequestAction, enums_PatchedAlertRequestType as PatchedAlertRequestType, enums_TokenErrorError as TokenErrorError, enums_TokenRequestRequestGrantType as TokenRequestRequestGrantType, enums_TokenRevokeRequestTokenTypeHint as TokenRevokeRequestTokenTypeHint };
4008
+ export { enums_AlertType as AlertType, enums_DeviceAuthorizeRequestAction as DeviceAuthorizeRequestAction, enums_TokenErrorError as TokenErrorError, enums_TokenRequestRequestGrantType as TokenRequestRequestGrantType, enums_TokenRevokeRequestTokenTypeHint as TokenRevokeRequestTokenTypeHint };
4262
4009
  }
4263
4010
 
4264
4011
  /**
@@ -4361,7 +4108,7 @@ interface TokenRequestRequest$1 {
4361
4108
  * Response model (includes read-only fields).
4362
4109
  */
4363
4110
  interface TokenResponse$1 {
4364
- /** Access token (clit_...) */
4111
+ /** Access token (cmdop_...) */
4365
4112
  access_token: string;
4366
4113
  /** Refresh token (clitr_...) */
4367
4114
  refresh_token: string;
@@ -4375,6 +4122,8 @@ interface TokenResponse$1 {
4375
4122
  workspace_id: string;
4376
4123
  /** Workspace name */
4377
4124
  workspace_name: string;
4125
+ /** User ID */
4126
+ user_id: string;
4378
4127
  /** User email (optional) */
4379
4128
  user_email?: string;
4380
4129
  }
@@ -4508,10 +4257,12 @@ declare class SystemOauth {
4508
4257
  * Get information about current access token (requires authentication).
4509
4258
  */
4510
4259
  systemOauthTokenInfoRetrieve(): Promise<TokenInfo$1>;
4511
- systemOauthTokensList(page?: number, page_size?: number): Promise<PaginatedTokenListList$1>;
4260
+ systemOauthTokensList(ordering?: string, page?: number, page_size?: number, search?: string): Promise<PaginatedTokenListList$1>;
4512
4261
  systemOauthTokensList(params?: {
4262
+ ordering?: string;
4513
4263
  page?: number;
4514
4264
  page_size?: number;
4265
+ search?: string;
4515
4266
  }): Promise<PaginatedTokenListList$1>;
4516
4267
  }
4517
4268
 
@@ -4549,7 +4300,7 @@ interface AlertCreateRequest$1 {
4549
4300
  /** * `machine_offline` - Machine Offline
4550
4301
  * `task_failed` - Task Failed
4551
4302
  * `schedule_error` - Schedule Error */
4552
- type: AlertCreateRequestType;
4303
+ type: AlertType;
4553
4304
  title: string;
4554
4305
  message: string;
4555
4306
  machine?: string | null;
@@ -4564,7 +4315,7 @@ interface AlertCreate$1 {
4564
4315
  /** * `machine_offline` - Machine Offline
4565
4316
  * `task_failed` - Task Failed
4566
4317
  * `schedule_error` - Schedule Error */
4567
- type: AlertCreateType;
4318
+ type: AlertType;
4568
4319
  title: string;
4569
4320
  message: string;
4570
4321
  machine?: string | null;
@@ -4600,7 +4351,7 @@ interface AlertRequest$1 {
4600
4351
  /** * `machine_offline` - Machine Offline
4601
4352
  * `task_failed` - Task Failed
4602
4353
  * `schedule_error` - Schedule Error */
4603
- type: AlertRequestType;
4354
+ type: AlertType;
4604
4355
  title: string;
4605
4356
  message: string;
4606
4357
  machine?: string | null;
@@ -4616,7 +4367,7 @@ interface PatchedAlertRequest$1 {
4616
4367
  /** * `machine_offline` - Machine Offline
4617
4368
  * `task_failed` - Task Failed
4618
4369
  * `schedule_error` - Schedule Error */
4619
- type?: PatchedAlertRequestType;
4370
+ type?: AlertType;
4620
4371
  title?: string;
4621
4372
  message?: string;
4622
4373
  machine?: string | null;
@@ -4702,11 +4453,13 @@ declare namespace models {
4702
4453
  declare class SystemSystem {
4703
4454
  private client;
4704
4455
  constructor(client: any);
4705
- alertsList(page?: number, page_size?: number, read?: boolean, type?: string, workspace?: string): Promise<PaginatedAlertList$1>;
4456
+ alertsList(ordering?: string, page?: number, page_size?: number, read?: boolean, search?: string, type?: string, workspace?: string): Promise<PaginatedAlertList$1>;
4706
4457
  alertsList(params?: {
4458
+ ordering?: string;
4707
4459
  page?: number;
4708
4460
  page_size?: number;
4709
4461
  read?: boolean;
4462
+ search?: string;
4710
4463
  type?: string;
4711
4464
  workspace?: string;
4712
4465
  }): Promise<PaginatedAlertList$1>;
@@ -4738,10 +4491,12 @@ declare class SystemSystem {
4738
4491
  * Mark all unread alerts as read for current workspace
4739
4492
  */
4740
4493
  alertsMarkAllAsReadCreate(): Promise<any>;
4741
- apiKeysList(page?: number, page_size?: number, workspace?: string): Promise<PaginatedApiKeyList$1>;
4494
+ apiKeysList(ordering?: string, page?: number, page_size?: number, search?: string, workspace?: string): Promise<PaginatedApiKeyList$1>;
4742
4495
  apiKeysList(params?: {
4496
+ ordering?: string;
4743
4497
  page?: number;
4744
4498
  page_size?: number;
4499
+ search?: string;
4745
4500
  workspace?: string;
4746
4501
  }): Promise<PaginatedApiKeyList$1>;
4747
4502
  /**
@@ -5159,7 +4914,7 @@ declare const AlertSchema: z.ZodObject<{
5159
4914
  machine_name: z.ZodNullable<z.ZodString>;
5160
4915
  read: z.ZodOptional<z.ZodBoolean>;
5161
4916
  is_unread: z.ZodBoolean;
5162
- created_at: z.ZodISODateTime;
4917
+ created_at: z.ZodString;
5163
4918
  }, z.core.$strip>;
5164
4919
  /**
5165
4920
  * Infer TypeScript type from Zod schema
@@ -5178,7 +4933,7 @@ type Alert = z.infer<typeof AlertSchema>;
5178
4933
  */
5179
4934
  declare const AlertCreateSchema: z.ZodObject<{
5180
4935
  workspace: z.ZodString;
5181
- type: z.ZodEnum<typeof AlertCreateType>;
4936
+ type: z.ZodEnum<typeof AlertType>;
5182
4937
  title: z.ZodString;
5183
4938
  message: z.ZodString;
5184
4939
  machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5200,7 +4955,7 @@ type AlertCreate = z.infer<typeof AlertCreateSchema>;
5200
4955
  */
5201
4956
  declare const AlertCreateRequestSchema: z.ZodObject<{
5202
4957
  workspace: z.ZodString;
5203
- type: z.ZodEnum<typeof AlertCreateRequestType>;
4958
+ type: z.ZodEnum<typeof AlertType>;
5204
4959
  title: z.ZodString;
5205
4960
  message: z.ZodString;
5206
4961
  machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5222,7 +4977,7 @@ type AlertCreateRequest = z.infer<typeof AlertCreateRequestSchema>;
5222
4977
  */
5223
4978
  declare const AlertRequestSchema: z.ZodObject<{
5224
4979
  workspace: z.ZodString;
5225
- type: z.ZodEnum<typeof AlertRequestType>;
4980
+ type: z.ZodEnum<typeof AlertType>;
5226
4981
  title: z.ZodString;
5227
4982
  message: z.ZodString;
5228
4983
  machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5248,10 +5003,10 @@ declare const ApiKeySchema: z.ZodObject<{
5248
5003
  workspace: z.ZodString;
5249
5004
  name: z.ZodString;
5250
5005
  key_prefix: z.ZodString;
5251
- last_used: z.ZodNullable<z.ZodISODateTime>;
5006
+ last_used: z.ZodNullable<z.ZodString>;
5252
5007
  created_by: z.ZodNullable<z.ZodInt>;
5253
5008
  created_by_email: z.ZodString;
5254
- created_at: z.ZodISODateTime;
5009
+ created_at: z.ZodString;
5255
5010
  }, z.core.$strip>;
5256
5011
  /**
5257
5012
  * Infer TypeScript type from Zod schema
@@ -5295,7 +5050,7 @@ declare const ApiKeyResponseSchema: z.ZodObject<{
5295
5050
  raw_key: z.ZodString;
5296
5051
  created_by: z.ZodNullable<z.ZodInt>;
5297
5052
  created_by_email: z.ZodString;
5298
- created_at: z.ZodISODateTime;
5053
+ created_at: z.ZodString;
5299
5054
  }, z.core.$strip>;
5300
5055
  /**
5301
5056
  * Infer TypeScript type from Zod schema
@@ -5417,7 +5172,7 @@ declare const PaginatedAlertListSchema: z.ZodObject<{
5417
5172
  machine_name: z.ZodNullable<z.ZodString>;
5418
5173
  read: z.ZodOptional<z.ZodBoolean>;
5419
5174
  is_unread: z.ZodBoolean;
5420
- created_at: z.ZodISODateTime;
5175
+ created_at: z.ZodString;
5421
5176
  }, z.core.$strip>>;
5422
5177
  }, z.core.$strip>;
5423
5178
  /**
@@ -5445,10 +5200,10 @@ declare const PaginatedApiKeyListSchema: z.ZodObject<{
5445
5200
  workspace: z.ZodString;
5446
5201
  name: z.ZodString;
5447
5202
  key_prefix: z.ZodString;
5448
- last_used: z.ZodNullable<z.ZodISODateTime>;
5203
+ last_used: z.ZodNullable<z.ZodString>;
5449
5204
  created_by: z.ZodNullable<z.ZodInt>;
5450
5205
  created_by_email: z.ZodString;
5451
- created_at: z.ZodISODateTime;
5206
+ created_at: z.ZodString;
5452
5207
  }, z.core.$strip>>;
5453
5208
  }, z.core.$strip>;
5454
5209
  /**
@@ -5478,9 +5233,9 @@ declare const PaginatedTokenListListSchema: z.ZodObject<{
5478
5233
  client_name: z.ZodOptional<z.ZodString>;
5479
5234
  client_hostname: z.ZodOptional<z.ZodString>;
5480
5235
  client_platform: z.ZodOptional<z.ZodString>;
5481
- created_at: z.ZodISODateTime;
5482
- last_used_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5483
- revoked_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5236
+ created_at: z.ZodString;
5237
+ last_used_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5238
+ revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5484
5239
  is_active: z.ZodString;
5485
5240
  }, z.core.$strip>>;
5486
5241
  }, z.core.$strip>;
@@ -5501,7 +5256,7 @@ type PaginatedTokenListList = z.infer<typeof PaginatedTokenListListSchema>;
5501
5256
  */
5502
5257
  declare const PatchedAlertRequestSchema: z.ZodObject<{
5503
5258
  workspace: z.ZodOptional<z.ZodString>;
5504
- type: z.ZodOptional<z.ZodEnum<typeof PatchedAlertRequestType>>;
5259
+ type: z.ZodOptional<z.ZodEnum<typeof AlertType>>;
5505
5260
  title: z.ZodOptional<z.ZodString>;
5506
5261
  message: z.ZodOptional<z.ZodString>;
5507
5262
  machine: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5560,10 +5315,10 @@ declare const TokenInfoSchema: z.ZodObject<{
5560
5315
  client_version: z.ZodOptional<z.ZodString>;
5561
5316
  client_hostname: z.ZodOptional<z.ZodString>;
5562
5317
  client_platform: z.ZodOptional<z.ZodString>;
5563
- created_at: z.ZodISODateTime;
5564
- access_token_expires_at: z.ZodISODateTime;
5565
- refresh_token_expires_at: z.ZodISODateTime;
5566
- last_used_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5318
+ created_at: z.ZodString;
5319
+ access_token_expires_at: z.ZodString;
5320
+ refresh_token_expires_at: z.ZodString;
5321
+ last_used_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5567
5322
  is_expired: z.ZodString;
5568
5323
  is_refresh_expired: z.ZodString;
5569
5324
  }, z.core.$strip>;
@@ -5589,9 +5344,9 @@ declare const TokenListSchema: z.ZodObject<{
5589
5344
  client_name: z.ZodOptional<z.ZodString>;
5590
5345
  client_hostname: z.ZodOptional<z.ZodString>;
5591
5346
  client_platform: z.ZodOptional<z.ZodString>;
5592
- created_at: z.ZodISODateTime;
5593
- last_used_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5594
- revoked_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
5347
+ created_at: z.ZodString;
5348
+ last_used_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5349
+ revoked_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5595
5350
  is_active: z.ZodString;
5596
5351
  }, z.core.$strip>;
5597
5352
  /**
@@ -5645,6 +5400,7 @@ declare const TokenResponseSchema: z.ZodObject<{
5645
5400
  scope: z.ZodOptional<z.ZodString>;
5646
5401
  workspace_id: z.ZodString;
5647
5402
  workspace_name: z.ZodString;
5403
+ user_id: z.ZodString;
5648
5404
  user_email: z.ZodOptional<z.ZodEmail>;
5649
5405
  }, z.core.$strip>;
5650
5406
  /**
@@ -5854,8 +5610,10 @@ declare function getSystemOauthTokenInfoRetrieve(client?: any): Promise<TokenInf
5854
5610
  * @path /api/system/oauth/tokens/
5855
5611
  */
5856
5612
  declare function getSystemOauthTokensList(params?: {
5613
+ ordering?: string;
5857
5614
  page?: number;
5858
5615
  page_size?: number;
5616
+ search?: string;
5859
5617
  }, client?: any): Promise<PaginatedTokenListList>;
5860
5618
 
5861
5619
  /**
@@ -5865,9 +5623,11 @@ declare function getSystemOauthTokensList(params?: {
5865
5623
  * @path /api/system/alerts/
5866
5624
  */
5867
5625
  declare function getSystemAlertsList(params?: {
5626
+ ordering?: string;
5868
5627
  page?: number;
5869
5628
  page_size?: number;
5870
5629
  read?: boolean;
5630
+ search?: string;
5871
5631
  type?: string;
5872
5632
  workspace?: string;
5873
5633
  }, client?: any): Promise<PaginatedAlertList>;
@@ -5927,8 +5687,10 @@ declare function createSystemAlertsMarkAllAsReadCreate(client?: any): Promise<an
5927
5687
  * @path /api/system/api-keys/
5928
5688
  */
5929
5689
  declare function getSystemApiKeysList(params?: {
5690
+ ordering?: string;
5930
5691
  page?: number;
5931
5692
  page_size?: number;
5693
+ search?: string;
5932
5694
  workspace?: string;
5933
5695
  }, client?: any): Promise<PaginatedApiKeyList>;
5934
5696
  /**