cyberdesk 2.2.37 → 2.2.39
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/client/client/client.gen.d.ts +2 -0
- package/dist/client/client/client.gen.js +217 -0
- package/dist/client/client/index.d.ts +8 -0
- package/dist/client/client/index.js +17 -0
- package/dist/client/client/types.gen.d.ts +117 -0
- package/dist/client/client/types.gen.js +3 -0
- package/dist/client/client/utils.gen.d.ts +33 -0
- package/dist/client/client/utils.gen.js +247 -0
- package/dist/client/client.gen.d.ts +4 -4
- package/dist/client/client.gen.js +2 -4
- package/dist/client/core/auth.gen.d.ts +18 -0
- package/dist/client/core/auth.gen.js +27 -0
- package/dist/client/core/bodySerializer.gen.d.ts +25 -0
- package/dist/client/core/bodySerializer.gen.js +60 -0
- package/dist/client/core/params.gen.d.ts +43 -0
- package/dist/client/core/params.gen.js +104 -0
- package/dist/client/core/pathSerializer.gen.d.ts +33 -0
- package/dist/client/core/pathSerializer.gen.js +115 -0
- package/dist/client/core/queryKeySerializer.gen.d.ts +18 -0
- package/dist/client/core/queryKeySerializer.gen.js +98 -0
- package/dist/client/core/serverSentEvents.gen.d.ts +71 -0
- package/dist/client/core/serverSentEvents.gen.js +160 -0
- package/dist/client/core/types.gen.d.ts +78 -0
- package/dist/client/core/types.gen.js +3 -0
- package/dist/client/core/utils.gen.d.ts +19 -0
- package/dist/client/core/utils.gen.js +93 -0
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.js +113 -17
- package/dist/client/sdk.gen.d.ts +214 -129
- package/dist/client/sdk.gen.js +212 -635
- package/dist/client/types.gen.d.ts +2329 -5
- package/dist/index.d.ts +207 -207
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -159,11 +159,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
159
159
|
* @returns Created machine details
|
|
160
160
|
*/
|
|
161
161
|
create: (data: MachineCreate) => Promise<({
|
|
162
|
-
data: undefined;
|
|
163
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
164
|
-
} | {
|
|
165
162
|
data: MachineResponse;
|
|
166
163
|
error: undefined;
|
|
164
|
+
} | {
|
|
165
|
+
data: undefined;
|
|
166
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
167
167
|
}) & {
|
|
168
168
|
request: Request;
|
|
169
169
|
response: Response;
|
|
@@ -186,11 +186,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
186
186
|
get: (machineId: string, params?: {
|
|
187
187
|
include?: string[];
|
|
188
188
|
}) => Promise<({
|
|
189
|
-
data: undefined;
|
|
190
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
191
|
-
} | {
|
|
192
189
|
data: import("./client/types.gen").MachineResponseWithIncludes;
|
|
193
190
|
error: undefined;
|
|
191
|
+
} | {
|
|
192
|
+
data: undefined;
|
|
193
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
194
194
|
}) & {
|
|
195
195
|
request: Request;
|
|
196
196
|
response: Response;
|
|
@@ -249,11 +249,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
249
249
|
* @param machineId - The ID of the machine
|
|
250
250
|
*/
|
|
251
251
|
clearSession: (machineId: string) => Promise<({
|
|
252
|
-
data: undefined;
|
|
253
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
254
|
-
} | {
|
|
255
252
|
data: MachineResponse;
|
|
256
253
|
error: undefined;
|
|
254
|
+
} | {
|
|
255
|
+
data: undefined;
|
|
256
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
257
257
|
}) & {
|
|
258
258
|
request: Request;
|
|
259
259
|
response: Response;
|
|
@@ -270,11 +270,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
270
270
|
* @param machineId - The ID of the machine to delete
|
|
271
271
|
*/
|
|
272
272
|
delete: (machineId: string) => Promise<({
|
|
273
|
-
data: undefined;
|
|
274
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
275
|
-
} | {
|
|
276
273
|
data: void;
|
|
277
274
|
error: undefined;
|
|
275
|
+
} | {
|
|
276
|
+
data: undefined;
|
|
277
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
278
278
|
}) & {
|
|
279
279
|
request: Request;
|
|
280
280
|
response: Response;
|
|
@@ -286,11 +286,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
286
286
|
* @returns List of pools the machine belongs to
|
|
287
287
|
*/
|
|
288
288
|
getPools: (machineId: string) => Promise<({
|
|
289
|
-
data: undefined;
|
|
290
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
291
|
-
} | {
|
|
292
289
|
data: PoolResponse[];
|
|
293
290
|
error: undefined;
|
|
291
|
+
} | {
|
|
292
|
+
data: undefined;
|
|
293
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
294
294
|
}) & {
|
|
295
295
|
request: Request;
|
|
296
296
|
response: Response;
|
|
@@ -305,11 +305,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
305
305
|
* @returns Updated machine details
|
|
306
306
|
*/
|
|
307
307
|
updatePools: (machineId: string, data: MachinePoolUpdate) => Promise<({
|
|
308
|
-
data: undefined;
|
|
309
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
310
|
-
} | {
|
|
311
308
|
data: MachineResponse;
|
|
312
309
|
error: undefined;
|
|
310
|
+
} | {
|
|
311
|
+
data: undefined;
|
|
312
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
313
313
|
}) & {
|
|
314
314
|
request: Request;
|
|
315
315
|
response: Response;
|
|
@@ -331,11 +331,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
331
331
|
limit?: number;
|
|
332
332
|
include?: string[];
|
|
333
333
|
}) => Promise<({
|
|
334
|
-
data: undefined;
|
|
335
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
336
|
-
} | {
|
|
337
334
|
data: PaginatedResponseWithIncludesPoolResponse;
|
|
338
335
|
error: undefined;
|
|
336
|
+
} | {
|
|
337
|
+
data: undefined;
|
|
338
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
339
339
|
}) & {
|
|
340
340
|
request: Request;
|
|
341
341
|
response: Response;
|
|
@@ -355,11 +355,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
355
355
|
* ```
|
|
356
356
|
*/
|
|
357
357
|
create: (data: PoolCreate) => Promise<({
|
|
358
|
-
data: undefined;
|
|
359
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
360
|
-
} | {
|
|
361
358
|
data: PoolResponse;
|
|
362
359
|
error: undefined;
|
|
360
|
+
} | {
|
|
361
|
+
data: undefined;
|
|
362
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
363
363
|
}) & {
|
|
364
364
|
request: Request;
|
|
365
365
|
response: Response;
|
|
@@ -385,11 +385,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
385
385
|
includeMachines?: boolean;
|
|
386
386
|
include?: string[];
|
|
387
387
|
}) => Promise<({
|
|
388
|
-
data: undefined;
|
|
389
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
390
|
-
} | {
|
|
391
388
|
data: import("./client/types.gen").PoolResponseWithIncludes;
|
|
392
389
|
error: undefined;
|
|
390
|
+
} | {
|
|
391
|
+
data: undefined;
|
|
392
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
393
393
|
}) & {
|
|
394
394
|
request: Request;
|
|
395
395
|
response: Response;
|
|
@@ -402,11 +402,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
402
402
|
* @returns Updated pool details
|
|
403
403
|
*/
|
|
404
404
|
update: (poolId: string, data: PoolUpdate) => Promise<({
|
|
405
|
-
data: undefined;
|
|
406
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
407
|
-
} | {
|
|
408
405
|
data: PoolResponse;
|
|
409
406
|
error: undefined;
|
|
407
|
+
} | {
|
|
408
|
+
data: undefined;
|
|
409
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
410
410
|
}) & {
|
|
411
411
|
request: Request;
|
|
412
412
|
response: Response;
|
|
@@ -419,11 +419,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
419
419
|
* @param poolId - The ID of the pool to delete
|
|
420
420
|
*/
|
|
421
421
|
delete: (poolId: string) => Promise<({
|
|
422
|
-
data: undefined;
|
|
423
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
424
|
-
} | {
|
|
425
422
|
data: void;
|
|
426
423
|
error: undefined;
|
|
424
|
+
} | {
|
|
425
|
+
data: undefined;
|
|
426
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
427
427
|
}) & {
|
|
428
428
|
request: Request;
|
|
429
429
|
response: Response;
|
|
@@ -443,11 +443,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
443
443
|
* ```
|
|
444
444
|
*/
|
|
445
445
|
addMachines: (poolId: string, data: MachinePoolAssignment) => Promise<({
|
|
446
|
-
data: undefined;
|
|
447
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
448
|
-
} | {
|
|
449
446
|
data: PoolWithMachines;
|
|
450
447
|
error: undefined;
|
|
448
|
+
} | {
|
|
449
|
+
data: undefined;
|
|
450
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
451
451
|
}) & {
|
|
452
452
|
request: Request;
|
|
453
453
|
response: Response;
|
|
@@ -466,11 +466,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
466
466
|
* ```
|
|
467
467
|
*/
|
|
468
468
|
removeMachines: (poolId: string, data: MachinePoolAssignment) => Promise<({
|
|
469
|
-
data: undefined;
|
|
470
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
471
|
-
} | {
|
|
472
469
|
data: void;
|
|
473
470
|
error: undefined;
|
|
471
|
+
} | {
|
|
472
|
+
data: undefined;
|
|
473
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
474
474
|
}) & {
|
|
475
475
|
request: Request;
|
|
476
476
|
response: Response;
|
|
@@ -502,11 +502,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
502
502
|
include_tags?: boolean;
|
|
503
503
|
include?: string[];
|
|
504
504
|
}) => Promise<({
|
|
505
|
-
data: undefined;
|
|
506
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
507
|
-
} | {
|
|
508
505
|
data: PaginatedResponseWorkflowResponse;
|
|
509
506
|
error: undefined;
|
|
507
|
+
} | {
|
|
508
|
+
data: undefined;
|
|
509
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
510
510
|
}) & {
|
|
511
511
|
request: Request;
|
|
512
512
|
response: Response;
|
|
@@ -527,11 +527,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
527
527
|
* ```
|
|
528
528
|
*/
|
|
529
529
|
create: (data: WorkflowCreate) => Promise<({
|
|
530
|
-
data: undefined;
|
|
531
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
532
|
-
} | {
|
|
533
530
|
data: WorkflowResponse;
|
|
534
531
|
error: undefined;
|
|
532
|
+
} | {
|
|
533
|
+
data: undefined;
|
|
534
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
535
535
|
}) & {
|
|
536
536
|
request: Request;
|
|
537
537
|
response: Response;
|
|
@@ -549,11 +549,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
549
549
|
get: (workflowId: string, params?: {
|
|
550
550
|
include?: string[];
|
|
551
551
|
}) => Promise<({
|
|
552
|
-
data: undefined;
|
|
553
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
554
|
-
} | {
|
|
555
552
|
data: import("./client/types.gen").WorkflowResponseWithIncludes;
|
|
556
553
|
error: undefined;
|
|
554
|
+
} | {
|
|
555
|
+
data: undefined;
|
|
556
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
557
557
|
}) & {
|
|
558
558
|
request: Request;
|
|
559
559
|
response: Response;
|
|
@@ -566,11 +566,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
566
566
|
* @returns Updated workflow details
|
|
567
567
|
*/
|
|
568
568
|
update: (workflowId: string, data: WorkflowUpdate) => Promise<({
|
|
569
|
-
data: undefined;
|
|
570
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
571
|
-
} | {
|
|
572
569
|
data: WorkflowResponse;
|
|
573
570
|
error: undefined;
|
|
571
|
+
} | {
|
|
572
|
+
data: undefined;
|
|
573
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
574
574
|
}) & {
|
|
575
575
|
request: Request;
|
|
576
576
|
response: Response;
|
|
@@ -581,11 +581,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
581
581
|
* @param workflowId - The ID of the workflow to delete
|
|
582
582
|
*/
|
|
583
583
|
delete: (workflowId: string) => Promise<({
|
|
584
|
-
data: undefined;
|
|
585
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
586
|
-
} | {
|
|
587
584
|
data: void;
|
|
588
585
|
error: undefined;
|
|
586
|
+
} | {
|
|
587
|
+
data: undefined;
|
|
588
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
589
589
|
}) & {
|
|
590
590
|
request: Request;
|
|
591
591
|
response: Response;
|
|
@@ -598,11 +598,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
598
598
|
* @returns Duplicated workflow details
|
|
599
599
|
*/
|
|
600
600
|
duplicate: (workflowId: string, data?: WorkflowDuplicateRequest) => Promise<({
|
|
601
|
-
data: undefined;
|
|
602
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
603
|
-
} | {
|
|
604
601
|
data: WorkflowResponse;
|
|
605
602
|
error: undefined;
|
|
603
|
+
} | {
|
|
604
|
+
data: undefined;
|
|
605
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
606
606
|
}) & {
|
|
607
607
|
request: Request;
|
|
608
608
|
response: Response;
|
|
@@ -618,11 +618,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
618
618
|
target_workflow_id: string;
|
|
619
619
|
copy_trajectories?: boolean;
|
|
620
620
|
}) => Promise<({
|
|
621
|
-
data: undefined;
|
|
622
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
623
|
-
} | {
|
|
624
621
|
data: WorkflowResponse;
|
|
625
622
|
error: undefined;
|
|
623
|
+
} | {
|
|
624
|
+
data: undefined;
|
|
625
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
626
626
|
}) & {
|
|
627
627
|
request: Request;
|
|
628
628
|
response: Response;
|
|
@@ -643,11 +643,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
643
643
|
* ```
|
|
644
644
|
*/
|
|
645
645
|
list: () => Promise<({
|
|
646
|
-
data: WorkflowTagGroupResponse[];
|
|
647
|
-
error: undefined;
|
|
648
|
-
} | {
|
|
649
646
|
data: undefined;
|
|
650
647
|
error: unknown;
|
|
648
|
+
} | {
|
|
649
|
+
data: WorkflowTagGroupResponse[];
|
|
650
|
+
error: undefined;
|
|
651
651
|
}) & {
|
|
652
652
|
request: Request;
|
|
653
653
|
response: Response;
|
|
@@ -672,11 +672,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
672
672
|
* ```
|
|
673
673
|
*/
|
|
674
674
|
create: (data: WorkflowTagGroupCreate) => Promise<({
|
|
675
|
-
data: undefined;
|
|
676
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
677
|
-
} | {
|
|
678
675
|
data: WorkflowTagGroupResponse;
|
|
679
676
|
error: undefined;
|
|
677
|
+
} | {
|
|
678
|
+
data: undefined;
|
|
679
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
680
680
|
}) & {
|
|
681
681
|
request: Request;
|
|
682
682
|
response: Response;
|
|
@@ -688,11 +688,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
688
688
|
* @returns WorkflowTagGroupResponse
|
|
689
689
|
*/
|
|
690
690
|
get: (groupId: string) => Promise<({
|
|
691
|
-
data: undefined;
|
|
692
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
693
|
-
} | {
|
|
694
691
|
data: WorkflowTagGroupResponse;
|
|
695
692
|
error: undefined;
|
|
693
|
+
} | {
|
|
694
|
+
data: undefined;
|
|
695
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
696
696
|
}) & {
|
|
697
697
|
request: Request;
|
|
698
698
|
response: Response;
|
|
@@ -705,11 +705,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
705
705
|
* @returns Updated WorkflowTagGroupResponse
|
|
706
706
|
*/
|
|
707
707
|
update: (groupId: string, data: WorkflowTagGroupUpdate) => Promise<({
|
|
708
|
-
data: undefined;
|
|
709
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
710
|
-
} | {
|
|
711
708
|
data: WorkflowTagGroupResponse;
|
|
712
709
|
error: undefined;
|
|
710
|
+
} | {
|
|
711
|
+
data: undefined;
|
|
712
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
713
713
|
}) & {
|
|
714
714
|
request: Request;
|
|
715
715
|
response: Response;
|
|
@@ -722,11 +722,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
722
722
|
* @param groupId - The group ID to delete
|
|
723
723
|
*/
|
|
724
724
|
delete: (groupId: string) => Promise<({
|
|
725
|
-
data: undefined;
|
|
726
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
727
|
-
} | {
|
|
728
725
|
data: void;
|
|
729
726
|
error: undefined;
|
|
727
|
+
} | {
|
|
728
|
+
data: undefined;
|
|
729
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
730
730
|
}) & {
|
|
731
731
|
request: Request;
|
|
732
732
|
response: Response;
|
|
@@ -742,11 +742,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
742
742
|
* ```
|
|
743
743
|
*/
|
|
744
744
|
reorder: (groupIds: string[]) => Promise<({
|
|
745
|
-
data: undefined;
|
|
746
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
747
|
-
} | {
|
|
748
745
|
data: void;
|
|
749
746
|
error: undefined;
|
|
747
|
+
} | {
|
|
748
|
+
data: undefined;
|
|
749
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
750
750
|
}) & {
|
|
751
751
|
request: Request;
|
|
752
752
|
response: Response;
|
|
@@ -769,11 +769,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
769
769
|
list: (params?: {
|
|
770
770
|
include_archived?: boolean;
|
|
771
771
|
}) => Promise<({
|
|
772
|
-
data: undefined;
|
|
773
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
774
|
-
} | {
|
|
775
772
|
data: WorkflowTagResponse[];
|
|
776
773
|
error: undefined;
|
|
774
|
+
} | {
|
|
775
|
+
data: undefined;
|
|
776
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
777
777
|
}) & {
|
|
778
778
|
request: Request;
|
|
779
779
|
response: Response;
|
|
@@ -807,11 +807,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
807
807
|
* ```
|
|
808
808
|
*/
|
|
809
809
|
create: (data: WorkflowTagCreate) => Promise<({
|
|
810
|
-
data: undefined;
|
|
811
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
812
|
-
} | {
|
|
813
810
|
data: WorkflowTagResponse;
|
|
814
811
|
error: undefined;
|
|
812
|
+
} | {
|
|
813
|
+
data: undefined;
|
|
814
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
815
815
|
}) & {
|
|
816
816
|
request: Request;
|
|
817
817
|
response: Response;
|
|
@@ -823,11 +823,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
823
823
|
* @returns WorkflowTagResponse
|
|
824
824
|
*/
|
|
825
825
|
get: (tagId: string) => Promise<({
|
|
826
|
-
data: undefined;
|
|
827
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
828
|
-
} | {
|
|
829
826
|
data: WorkflowTagResponse;
|
|
830
827
|
error: undefined;
|
|
828
|
+
} | {
|
|
829
|
+
data: undefined;
|
|
830
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
831
831
|
}) & {
|
|
832
832
|
request: Request;
|
|
833
833
|
response: Response;
|
|
@@ -840,11 +840,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
840
840
|
* @returns Updated WorkflowTagResponse
|
|
841
841
|
*/
|
|
842
842
|
update: (tagId: string, data: WorkflowTagUpdate) => Promise<({
|
|
843
|
-
data: undefined;
|
|
844
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
845
|
-
} | {
|
|
846
843
|
data: WorkflowTagResponse;
|
|
847
844
|
error: undefined;
|
|
845
|
+
} | {
|
|
846
|
+
data: undefined;
|
|
847
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
848
848
|
}) & {
|
|
849
849
|
request: Request;
|
|
850
850
|
response: Response;
|
|
@@ -858,11 +858,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
858
858
|
* @param tagId - The tag ID to delete
|
|
859
859
|
*/
|
|
860
860
|
delete: (tagId: string) => Promise<({
|
|
861
|
-
data: undefined;
|
|
862
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
863
|
-
} | {
|
|
864
861
|
data: void;
|
|
865
862
|
error: undefined;
|
|
863
|
+
} | {
|
|
864
|
+
data: undefined;
|
|
865
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
866
866
|
}) & {
|
|
867
867
|
request: Request;
|
|
868
868
|
response: Response;
|
|
@@ -877,11 +877,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
877
877
|
* @returns Archived WorkflowTagResponse
|
|
878
878
|
*/
|
|
879
879
|
archive: (tagId: string) => Promise<({
|
|
880
|
-
data: undefined;
|
|
881
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
882
|
-
} | {
|
|
883
880
|
data: WorkflowTagResponse;
|
|
884
881
|
error: undefined;
|
|
882
|
+
} | {
|
|
883
|
+
data: undefined;
|
|
884
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
885
885
|
}) & {
|
|
886
886
|
request: Request;
|
|
887
887
|
response: Response;
|
|
@@ -895,11 +895,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
895
895
|
* @returns Unarchived WorkflowTagResponse
|
|
896
896
|
*/
|
|
897
897
|
unarchive: (tagId: string) => Promise<({
|
|
898
|
-
data: undefined;
|
|
899
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
900
|
-
} | {
|
|
901
898
|
data: WorkflowTagResponse;
|
|
902
899
|
error: undefined;
|
|
900
|
+
} | {
|
|
901
|
+
data: undefined;
|
|
902
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
903
903
|
}) & {
|
|
904
904
|
request: Request;
|
|
905
905
|
response: Response;
|
|
@@ -915,11 +915,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
915
915
|
* ```
|
|
916
916
|
*/
|
|
917
917
|
reorder: (tagIds: string[]) => Promise<({
|
|
918
|
-
data: undefined;
|
|
919
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
920
|
-
} | {
|
|
921
918
|
data: void;
|
|
922
919
|
error: undefined;
|
|
920
|
+
} | {
|
|
921
|
+
data: undefined;
|
|
922
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
923
923
|
}) & {
|
|
924
924
|
request: Request;
|
|
925
925
|
response: Response;
|
|
@@ -943,11 +943,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
943
943
|
* ```
|
|
944
944
|
*/
|
|
945
945
|
addToWorkflow: (workflowId: string, tagIds: string[]) => Promise<({
|
|
946
|
-
data: undefined;
|
|
947
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
948
|
-
} | {
|
|
949
946
|
data: WorkflowTagResponse[];
|
|
950
947
|
error: undefined;
|
|
948
|
+
} | {
|
|
949
|
+
data: undefined;
|
|
950
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
951
951
|
}) & {
|
|
952
952
|
request: Request;
|
|
953
953
|
response: Response;
|
|
@@ -959,11 +959,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
959
959
|
* @param tagId - The tag ID to remove
|
|
960
960
|
*/
|
|
961
961
|
removeFromWorkflow: (workflowId: string, tagId: string) => Promise<({
|
|
962
|
-
data: undefined;
|
|
963
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
964
|
-
} | {
|
|
965
962
|
data: void;
|
|
966
963
|
error: undefined;
|
|
964
|
+
} | {
|
|
965
|
+
data: undefined;
|
|
966
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
967
967
|
}) & {
|
|
968
968
|
request: Request;
|
|
969
969
|
response: Response;
|
|
@@ -975,11 +975,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
975
975
|
* @returns List of WorkflowTagResponse objects
|
|
976
976
|
*/
|
|
977
977
|
getForWorkflow: (workflowId: string) => Promise<({
|
|
978
|
-
data: undefined;
|
|
979
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
980
|
-
} | {
|
|
981
978
|
data: WorkflowTagResponse[];
|
|
982
979
|
error: undefined;
|
|
980
|
+
} | {
|
|
981
|
+
data: undefined;
|
|
982
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
983
983
|
}) & {
|
|
984
984
|
request: Request;
|
|
985
985
|
response: Response;
|
|
@@ -1001,11 +1001,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1001
1001
|
* ```
|
|
1002
1002
|
*/
|
|
1003
1003
|
bulkAddToWorkflows: (workflowIds: string[], tagIds: string[]) => Promise<({
|
|
1004
|
-
data: undefined;
|
|
1005
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1006
|
-
} | {
|
|
1007
1004
|
data: void;
|
|
1008
1005
|
error: undefined;
|
|
1006
|
+
} | {
|
|
1007
|
+
data: undefined;
|
|
1008
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1009
1009
|
}) & {
|
|
1010
1010
|
request: Request;
|
|
1011
1011
|
response: Response;
|
|
@@ -1053,11 +1053,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1053
1053
|
fields?: RunField[];
|
|
1054
1054
|
include?: string[];
|
|
1055
1055
|
}) => Promise<({
|
|
1056
|
-
data: undefined;
|
|
1057
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1058
|
-
} | {
|
|
1059
1056
|
data: PaginatedResponseWithIncludesRunResponse;
|
|
1060
1057
|
error: undefined;
|
|
1058
|
+
} | {
|
|
1059
|
+
data: undefined;
|
|
1060
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1061
1061
|
}) & {
|
|
1062
1062
|
request: Request;
|
|
1063
1063
|
response: Response;
|
|
@@ -1094,11 +1094,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1094
1094
|
* ```
|
|
1095
1095
|
*/
|
|
1096
1096
|
create: (data: RunCreate) => Promise<({
|
|
1097
|
-
data: undefined;
|
|
1098
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1099
|
-
} | {
|
|
1100
1097
|
data: RunResponse;
|
|
1101
1098
|
error: undefined;
|
|
1099
|
+
} | {
|
|
1100
|
+
data: undefined;
|
|
1101
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1102
1102
|
}) & {
|
|
1103
1103
|
request: Request;
|
|
1104
1104
|
response: Response;
|
|
@@ -1145,11 +1145,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1145
1145
|
* ```
|
|
1146
1146
|
*/
|
|
1147
1147
|
bulkCreate: (data: RunBulkCreate) => Promise<({
|
|
1148
|
-
data: undefined;
|
|
1149
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1150
|
-
} | {
|
|
1151
1148
|
data: RunBulkCreateResponse;
|
|
1152
1149
|
error: undefined;
|
|
1150
|
+
} | {
|
|
1151
|
+
data: undefined;
|
|
1152
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1153
1153
|
}) & {
|
|
1154
1154
|
request: Request;
|
|
1155
1155
|
response: Response;
|
|
@@ -1163,11 +1163,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1163
1163
|
* @returns WorkflowChainResponse containing session_id and run_ids
|
|
1164
1164
|
*/
|
|
1165
1165
|
chain: (data: WorkflowChainCreate) => Promise<({
|
|
1166
|
-
data: undefined;
|
|
1167
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1168
|
-
} | {
|
|
1169
1166
|
data: WorkflowChainResponse;
|
|
1170
1167
|
error: undefined;
|
|
1168
|
+
} | {
|
|
1169
|
+
data: undefined;
|
|
1170
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1171
1171
|
}) & {
|
|
1172
1172
|
request: Request;
|
|
1173
1173
|
response: Response;
|
|
@@ -1188,11 +1188,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1188
1188
|
get: (runId: string, params?: {
|
|
1189
1189
|
include?: string[];
|
|
1190
1190
|
}) => Promise<({
|
|
1191
|
-
data: undefined;
|
|
1192
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1193
|
-
} | {
|
|
1194
1191
|
data: import("./client/types.gen").RunResponseWithIncludes;
|
|
1195
1192
|
error: undefined;
|
|
1193
|
+
} | {
|
|
1194
|
+
data: undefined;
|
|
1195
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1196
1196
|
}) & {
|
|
1197
1197
|
request: Request;
|
|
1198
1198
|
response: Response;
|
|
@@ -1206,11 +1206,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1206
1206
|
* @param runId - The ID of the run
|
|
1207
1207
|
*/
|
|
1208
1208
|
getTrajectory: (runId: string) => Promise<({
|
|
1209
|
-
data: undefined;
|
|
1210
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1211
|
-
} | {
|
|
1212
1209
|
data: TrajectoryResponse;
|
|
1213
1210
|
error: undefined;
|
|
1211
|
+
} | {
|
|
1212
|
+
data: undefined;
|
|
1213
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1214
1214
|
}) & {
|
|
1215
1215
|
request: Request;
|
|
1216
1216
|
response: Response;
|
|
@@ -1224,11 +1224,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1224
1224
|
generateTrajectory: (runId: string, params?: {
|
|
1225
1225
|
idempotencyKey?: string;
|
|
1226
1226
|
}) => Promise<({
|
|
1227
|
-
data: undefined;
|
|
1228
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1229
|
-
} | {
|
|
1230
1227
|
data: TrajectoryResponse;
|
|
1231
1228
|
error: undefined;
|
|
1229
|
+
} | {
|
|
1230
|
+
data: undefined;
|
|
1231
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1232
1232
|
}) & {
|
|
1233
1233
|
request: Request;
|
|
1234
1234
|
response: Response;
|
|
@@ -1241,11 +1241,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1241
1241
|
* @returns Updated run details
|
|
1242
1242
|
*/
|
|
1243
1243
|
update: (runId: string, data: RunUpdate) => Promise<({
|
|
1244
|
-
data: undefined;
|
|
1245
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1246
|
-
} | {
|
|
1247
1244
|
data: RunResponse;
|
|
1248
1245
|
error: undefined;
|
|
1246
|
+
} | {
|
|
1247
|
+
data: undefined;
|
|
1248
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1249
1249
|
}) & {
|
|
1250
1250
|
request: Request;
|
|
1251
1251
|
response: Response;
|
|
@@ -1256,11 +1256,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1256
1256
|
* @param runId - The ID of the run to delete
|
|
1257
1257
|
*/
|
|
1258
1258
|
delete: (runId: string) => Promise<({
|
|
1259
|
-
data: undefined;
|
|
1260
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1261
|
-
} | {
|
|
1262
1259
|
data: void;
|
|
1263
1260
|
error: undefined;
|
|
1261
|
+
} | {
|
|
1262
|
+
data: undefined;
|
|
1263
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1264
1264
|
}) & {
|
|
1265
1265
|
request: Request;
|
|
1266
1266
|
response: Response;
|
|
@@ -1275,11 +1275,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1275
1275
|
* @param data - Retry options (input overrides, sensitive inputs, file inputs, etc.)
|
|
1276
1276
|
*/
|
|
1277
1277
|
retry: (runId: string, data: RunRetry) => Promise<({
|
|
1278
|
-
data: undefined;
|
|
1279
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1280
|
-
} | {
|
|
1281
1278
|
data: RunResponse;
|
|
1282
1279
|
error: undefined;
|
|
1280
|
+
} | {
|
|
1281
|
+
data: undefined;
|
|
1282
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1283
1283
|
}) & {
|
|
1284
1284
|
request: Request;
|
|
1285
1285
|
response: Response;
|
|
@@ -1302,11 +1302,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1302
1302
|
machine_id?: string;
|
|
1303
1303
|
status?: ConnectionStatus;
|
|
1304
1304
|
}) => Promise<({
|
|
1305
|
-
data: undefined;
|
|
1306
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1307
|
-
} | {
|
|
1308
1305
|
data: PaginatedResponseConnectionResponse;
|
|
1309
1306
|
error: undefined;
|
|
1307
|
+
} | {
|
|
1308
|
+
data: undefined;
|
|
1309
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1310
1310
|
}) & {
|
|
1311
1311
|
request: Request;
|
|
1312
1312
|
response: Response;
|
|
@@ -1318,11 +1318,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1318
1318
|
* @returns Created connection details
|
|
1319
1319
|
*/
|
|
1320
1320
|
create: (data: ConnectionCreate) => Promise<({
|
|
1321
|
-
data: undefined;
|
|
1322
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1323
|
-
} | {
|
|
1324
1321
|
data: ConnectionResponse;
|
|
1325
1322
|
error: undefined;
|
|
1323
|
+
} | {
|
|
1324
|
+
data: undefined;
|
|
1325
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1326
1326
|
}) & {
|
|
1327
1327
|
request: Request;
|
|
1328
1328
|
response: Response;
|
|
@@ -1367,11 +1367,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1367
1367
|
updated_at_to?: string | Date;
|
|
1368
1368
|
include?: string[];
|
|
1369
1369
|
}) => Promise<({
|
|
1370
|
-
data: undefined;
|
|
1371
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1372
|
-
} | {
|
|
1373
1370
|
data: PaginatedResponseWithIncludesTrajectoryResponse;
|
|
1374
1371
|
error: undefined;
|
|
1372
|
+
} | {
|
|
1373
|
+
data: undefined;
|
|
1374
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1375
1375
|
}) & {
|
|
1376
1376
|
request: Request;
|
|
1377
1377
|
response: Response;
|
|
@@ -1393,11 +1393,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1393
1393
|
* You must explicitly approve them before they can be used during workflow execution.
|
|
1394
1394
|
*/
|
|
1395
1395
|
create: (data: TrajectoryCreate) => Promise<({
|
|
1396
|
-
data: undefined;
|
|
1397
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1398
|
-
} | {
|
|
1399
1396
|
data: TrajectoryResponse;
|
|
1400
1397
|
error: undefined;
|
|
1398
|
+
} | {
|
|
1399
|
+
data: undefined;
|
|
1400
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1401
1401
|
}) & {
|
|
1402
1402
|
request: Request;
|
|
1403
1403
|
response: Response;
|
|
@@ -1414,11 +1414,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1414
1414
|
get: (trajectoryId: string, params?: {
|
|
1415
1415
|
include?: string[];
|
|
1416
1416
|
}) => Promise<({
|
|
1417
|
-
data: undefined;
|
|
1418
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1419
|
-
} | {
|
|
1420
1417
|
data: import("./client/types.gen").TrajectoryResponseWithIncludes;
|
|
1421
1418
|
error: undefined;
|
|
1419
|
+
} | {
|
|
1420
|
+
data: undefined;
|
|
1421
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1422
1422
|
}) & {
|
|
1423
1423
|
request: Request;
|
|
1424
1424
|
response: Response;
|
|
@@ -1435,11 +1435,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1435
1435
|
* Only approved trajectories are used during workflow execution.
|
|
1436
1436
|
*/
|
|
1437
1437
|
update: (trajectoryId: string, data: TrajectoryUpdate) => Promise<({
|
|
1438
|
-
data: undefined;
|
|
1439
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1440
|
-
} | {
|
|
1441
1438
|
data: TrajectoryResponse;
|
|
1442
1439
|
error: undefined;
|
|
1440
|
+
} | {
|
|
1441
|
+
data: undefined;
|
|
1442
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1443
1443
|
}) & {
|
|
1444
1444
|
request: Request;
|
|
1445
1445
|
response: Response;
|
|
@@ -1450,11 +1450,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1450
1450
|
* @param trajectoryId - The ID of the trajectory to delete
|
|
1451
1451
|
*/
|
|
1452
1452
|
delete: (trajectoryId: string) => Promise<({
|
|
1453
|
-
data: undefined;
|
|
1454
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1455
|
-
} | {
|
|
1456
1453
|
data: void;
|
|
1457
1454
|
error: undefined;
|
|
1455
|
+
} | {
|
|
1456
|
+
data: undefined;
|
|
1457
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1458
1458
|
}) & {
|
|
1459
1459
|
request: Request;
|
|
1460
1460
|
response: Response;
|
|
@@ -1469,11 +1469,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1469
1469
|
* @returns Latest trajectory for the workflow, or null if none exists
|
|
1470
1470
|
*/
|
|
1471
1471
|
getLatestForWorkflow: (workflowId: string) => Promise<({
|
|
1472
|
-
data: undefined;
|
|
1473
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1474
|
-
} | {
|
|
1475
1472
|
data: TrajectoryResponse;
|
|
1476
1473
|
error: undefined;
|
|
1474
|
+
} | {
|
|
1475
|
+
data: undefined;
|
|
1476
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1477
1477
|
}) & {
|
|
1478
1478
|
request: Request;
|
|
1479
1479
|
response: Response;
|
|
@@ -1489,11 +1489,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1489
1489
|
* @returns Duplicated trajectory details
|
|
1490
1490
|
*/
|
|
1491
1491
|
duplicate: (trajectoryId: string) => Promise<({
|
|
1492
|
-
data: undefined;
|
|
1493
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1494
|
-
} | {
|
|
1495
1492
|
data: TrajectoryResponse;
|
|
1496
1493
|
error: undefined;
|
|
1494
|
+
} | {
|
|
1495
|
+
data: undefined;
|
|
1496
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1497
1497
|
}) & {
|
|
1498
1498
|
request: Request;
|
|
1499
1499
|
response: Response;
|
|
@@ -1516,11 +1516,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1516
1516
|
run_id?: string;
|
|
1517
1517
|
attachment_type?: AttachmentType;
|
|
1518
1518
|
}) => Promise<({
|
|
1519
|
-
data: undefined;
|
|
1520
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1521
|
-
} | {
|
|
1522
1519
|
data: PaginatedResponseRunAttachmentResponse;
|
|
1523
1520
|
error: undefined;
|
|
1521
|
+
} | {
|
|
1522
|
+
data: undefined;
|
|
1523
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1524
1524
|
}) & {
|
|
1525
1525
|
request: Request;
|
|
1526
1526
|
response: Response;
|
|
@@ -1532,11 +1532,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1532
1532
|
* @returns Created attachment details
|
|
1533
1533
|
*/
|
|
1534
1534
|
create: (data: RunAttachmentCreate) => Promise<({
|
|
1535
|
-
data: undefined;
|
|
1536
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1537
|
-
} | {
|
|
1538
1535
|
data: RunAttachmentResponse;
|
|
1539
1536
|
error: undefined;
|
|
1537
|
+
} | {
|
|
1538
|
+
data: undefined;
|
|
1539
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1540
1540
|
}) & {
|
|
1541
1541
|
request: Request;
|
|
1542
1542
|
response: Response;
|
|
@@ -1548,11 +1548,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1548
1548
|
* @returns Attachment metadata
|
|
1549
1549
|
*/
|
|
1550
1550
|
get: (attachmentId: string) => Promise<({
|
|
1551
|
-
data: undefined;
|
|
1552
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1553
|
-
} | {
|
|
1554
1551
|
data: RunAttachmentResponse;
|
|
1555
1552
|
error: undefined;
|
|
1553
|
+
} | {
|
|
1554
|
+
data: undefined;
|
|
1555
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1556
1556
|
}) & {
|
|
1557
1557
|
request: Request;
|
|
1558
1558
|
response: Response;
|
|
@@ -1576,11 +1576,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1576
1576
|
* ```
|
|
1577
1577
|
*/
|
|
1578
1578
|
getDownloadUrl: (attachmentId: string, expiresIn?: number) => Promise<({
|
|
1579
|
-
data: undefined;
|
|
1580
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1581
|
-
} | {
|
|
1582
1579
|
data: RunAttachmentDownloadUrlResponse;
|
|
1583
1580
|
error: undefined;
|
|
1581
|
+
} | {
|
|
1582
|
+
data: undefined;
|
|
1583
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1584
1584
|
}) & {
|
|
1585
1585
|
request: Request;
|
|
1586
1586
|
response: Response;
|
|
@@ -1604,11 +1604,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1604
1604
|
* ```
|
|
1605
1605
|
*/
|
|
1606
1606
|
download: (attachmentId: string) => Promise<({
|
|
1607
|
-
data: undefined;
|
|
1608
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1609
|
-
} | {
|
|
1610
1607
|
data: Blob | File;
|
|
1611
1608
|
error: undefined;
|
|
1609
|
+
} | {
|
|
1610
|
+
data: undefined;
|
|
1611
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1612
1612
|
}) & {
|
|
1613
1613
|
request: Request;
|
|
1614
1614
|
response: Response;
|
|
@@ -1621,11 +1621,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1621
1621
|
* @returns Updated attachment details
|
|
1622
1622
|
*/
|
|
1623
1623
|
update: (attachmentId: string, data: RunAttachmentUpdate) => Promise<({
|
|
1624
|
-
data: undefined;
|
|
1625
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1626
|
-
} | {
|
|
1627
1624
|
data: RunAttachmentResponse;
|
|
1628
1625
|
error: undefined;
|
|
1626
|
+
} | {
|
|
1627
|
+
data: undefined;
|
|
1628
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1629
1629
|
}) & {
|
|
1630
1630
|
request: Request;
|
|
1631
1631
|
response: Response;
|
|
@@ -1636,11 +1636,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1636
1636
|
* @param attachmentId - The ID of the attachment to delete
|
|
1637
1637
|
*/
|
|
1638
1638
|
delete: (attachmentId: string) => Promise<({
|
|
1639
|
-
data: undefined;
|
|
1640
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1641
|
-
} | {
|
|
1642
1639
|
data: void;
|
|
1643
1640
|
error: undefined;
|
|
1641
|
+
} | {
|
|
1642
|
+
data: undefined;
|
|
1643
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1644
1644
|
}) & {
|
|
1645
1645
|
request: Request;
|
|
1646
1646
|
response: Response;
|
|
@@ -1678,11 +1678,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1678
1678
|
* @returns Created model configuration
|
|
1679
1679
|
*/
|
|
1680
1680
|
create: (data: ModelConfigurationCreate) => Promise<({
|
|
1681
|
-
data: undefined;
|
|
1682
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1683
|
-
} | {
|
|
1684
1681
|
data: ModelConfigurationResponse;
|
|
1685
1682
|
error: undefined;
|
|
1683
|
+
} | {
|
|
1684
|
+
data: undefined;
|
|
1685
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1686
1686
|
}) & {
|
|
1687
1687
|
request: Request;
|
|
1688
1688
|
response: Response;
|
|
@@ -1694,11 +1694,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1694
1694
|
* @returns Model configuration details
|
|
1695
1695
|
*/
|
|
1696
1696
|
get: (modelConfigurationId: string) => Promise<({
|
|
1697
|
-
data: undefined;
|
|
1698
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1699
|
-
} | {
|
|
1700
1697
|
data: ModelConfigurationResponse;
|
|
1701
1698
|
error: undefined;
|
|
1699
|
+
} | {
|
|
1700
|
+
data: undefined;
|
|
1701
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1702
1702
|
}) & {
|
|
1703
1703
|
request: Request;
|
|
1704
1704
|
response: Response;
|
|
@@ -1714,11 +1714,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1714
1714
|
* @returns Updated model configuration
|
|
1715
1715
|
*/
|
|
1716
1716
|
update: (modelConfigurationId: string, data: ModelConfigurationUpdate) => Promise<({
|
|
1717
|
-
data: undefined;
|
|
1718
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1719
|
-
} | {
|
|
1720
1717
|
data: ModelConfigurationResponse;
|
|
1721
1718
|
error: undefined;
|
|
1719
|
+
} | {
|
|
1720
|
+
data: undefined;
|
|
1721
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1722
1722
|
}) & {
|
|
1723
1723
|
request: Request;
|
|
1724
1724
|
response: Response;
|
|
@@ -1731,11 +1731,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1731
1731
|
* @param modelConfigurationId - The ID of the model configuration to delete
|
|
1732
1732
|
*/
|
|
1733
1733
|
delete: (modelConfigurationId: string) => Promise<({
|
|
1734
|
-
data: undefined;
|
|
1735
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1736
|
-
} | {
|
|
1737
1734
|
data: void;
|
|
1738
1735
|
error: undefined;
|
|
1736
|
+
} | {
|
|
1737
|
+
data: undefined;
|
|
1738
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1739
1739
|
}) & {
|
|
1740
1740
|
request: Request;
|
|
1741
1741
|
response: Response;
|
|
@@ -1784,11 +1784,11 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string,
|
|
|
1784
1784
|
to_date: string | Date;
|
|
1785
1785
|
mode?: UsageMode;
|
|
1786
1786
|
}) => Promise<({
|
|
1787
|
-
data: undefined;
|
|
1788
|
-
error: import("./client/types.gen").HttpValidationError;
|
|
1789
|
-
} | {
|
|
1790
1787
|
data: UsageAggregateResponse;
|
|
1791
1788
|
error: undefined;
|
|
1789
|
+
} | {
|
|
1790
|
+
data: undefined;
|
|
1791
|
+
error: import("./client/types.gen").HttpValidationError;
|
|
1792
1792
|
}) & {
|
|
1793
1793
|
request: Request;
|
|
1794
1794
|
response: Response;
|