@deepraxis/sdk 0.1.1-dev.1046919 → 0.1.1-dev.124112f
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/METHODS.md +132 -1
- package/dist/automation.d.ts +54 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +266 -15
- package/dist/generated/sdk.gen.js +882 -131
- package/dist/generated/types.gen.d.ts +10705 -6843
- package/dist/operations.generated.d.ts +1173 -136
- package/dist/operations.generated.js +1403 -126
- package/dist/resources.generated.d.ts +189 -26
- package/dist/resources.generated.js +83 -0
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
10
10
|
description: null | string;
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
|
-
model
|
|
13
|
+
model?: {
|
|
14
14
|
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
@@ -19,7 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
multiagent
|
|
22
|
+
multiagent?: null | Types.AgentManaged39;
|
|
23
23
|
name: string;
|
|
24
24
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
25
25
|
system: null | string;
|
|
@@ -49,7 +49,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
49
49
|
readonly verified?: boolean;
|
|
50
50
|
enabled?: boolean;
|
|
51
51
|
}>;
|
|
52
|
-
kind: "personal" | "service";
|
|
52
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
53
53
|
computer_id?: string;
|
|
54
54
|
subagent_model?: string | null;
|
|
55
55
|
image_model?: string | null;
|
|
@@ -151,6 +151,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
151
151
|
mcpServers?: Array<string>;
|
|
152
152
|
hooks?: Array<string>;
|
|
153
153
|
};
|
|
154
|
+
idleCompaction?: boolean;
|
|
154
155
|
} | null;
|
|
155
156
|
models?: {
|
|
156
157
|
allowed: Array<string>;
|
|
@@ -169,7 +170,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
169
170
|
description: null | string;
|
|
170
171
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
171
172
|
metadata: Types.AgentManaged37;
|
|
172
|
-
model
|
|
173
|
+
model?: {
|
|
173
174
|
id: string;
|
|
174
175
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
175
176
|
inference_geo?: string;
|
|
@@ -178,7 +179,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
178
179
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
179
180
|
};
|
|
180
181
|
};
|
|
181
|
-
multiagent
|
|
182
|
+
multiagent?: null | Types.AgentManaged39;
|
|
182
183
|
name: string;
|
|
183
184
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
184
185
|
system: null | string;
|
|
@@ -208,7 +209,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
208
209
|
readonly verified?: boolean;
|
|
209
210
|
enabled?: boolean;
|
|
210
211
|
}>;
|
|
211
|
-
kind: "personal" | "service";
|
|
212
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
212
213
|
computer_id?: string;
|
|
213
214
|
subagent_model?: string | null;
|
|
214
215
|
image_model?: string | null;
|
|
@@ -310,6 +311,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
310
311
|
mcpServers?: Array<string>;
|
|
311
312
|
hooks?: Array<string>;
|
|
312
313
|
};
|
|
314
|
+
idleCompaction?: boolean;
|
|
313
315
|
} | null;
|
|
314
316
|
models?: {
|
|
315
317
|
allowed: Array<string>;
|
|
@@ -457,7 +459,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
457
459
|
description: null | string;
|
|
458
460
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
459
461
|
metadata: Types.AgentManaged37;
|
|
460
|
-
model
|
|
462
|
+
model?: {
|
|
461
463
|
id: string;
|
|
462
464
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
463
465
|
inference_geo?: string;
|
|
@@ -466,7 +468,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
466
468
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
467
469
|
};
|
|
468
470
|
};
|
|
469
|
-
multiagent
|
|
471
|
+
multiagent?: null | Types.AgentManaged39;
|
|
470
472
|
name: string;
|
|
471
473
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
472
474
|
system: null | string;
|
|
@@ -496,7 +498,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
496
498
|
readonly verified?: boolean;
|
|
497
499
|
enabled?: boolean;
|
|
498
500
|
}>;
|
|
499
|
-
kind: "personal" | "service";
|
|
501
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
500
502
|
computer_id?: string;
|
|
501
503
|
subagent_model?: string | null;
|
|
502
504
|
image_model?: string | null;
|
|
@@ -598,6 +600,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
598
600
|
mcpServers?: Array<string>;
|
|
599
601
|
hooks?: Array<string>;
|
|
600
602
|
};
|
|
603
|
+
idleCompaction?: boolean;
|
|
601
604
|
} | null;
|
|
602
605
|
models?: {
|
|
603
606
|
allowed: Array<string>;
|
|
@@ -618,7 +621,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
618
621
|
description: null | string;
|
|
619
622
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
620
623
|
metadata: Types.AgentManaged37;
|
|
621
|
-
model
|
|
624
|
+
model?: {
|
|
622
625
|
id: string;
|
|
623
626
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
624
627
|
inference_geo?: string;
|
|
@@ -627,7 +630,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
627
630
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
628
631
|
};
|
|
629
632
|
};
|
|
630
|
-
multiagent
|
|
633
|
+
multiagent?: null | Types.AgentManaged39;
|
|
631
634
|
name: string;
|
|
632
635
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
633
636
|
system: null | string;
|
|
@@ -658,7 +661,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
658
661
|
readonly verified?: boolean;
|
|
659
662
|
enabled?: boolean;
|
|
660
663
|
}>;
|
|
661
|
-
kind: "personal" | "service";
|
|
664
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
662
665
|
computer_id?: string;
|
|
663
666
|
subagent_model?: string | null;
|
|
664
667
|
image_model?: string | null;
|
|
@@ -760,6 +763,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
760
763
|
mcpServers?: Array<string>;
|
|
761
764
|
hooks?: Array<string>;
|
|
762
765
|
};
|
|
766
|
+
idleCompaction?: boolean;
|
|
763
767
|
} | null;
|
|
764
768
|
models?: {
|
|
765
769
|
allowed: Array<string>;
|
|
@@ -864,7 +868,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
864
868
|
metadata: {
|
|
865
869
|
[key: string]: string;
|
|
866
870
|
};
|
|
867
|
-
model
|
|
871
|
+
model?: {
|
|
868
872
|
id: string;
|
|
869
873
|
effort?: {
|
|
870
874
|
type: "low";
|
|
@@ -883,7 +887,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
883
887
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
884
888
|
};
|
|
885
889
|
};
|
|
886
|
-
multiagent
|
|
890
|
+
multiagent?: null | {
|
|
887
891
|
agents: Array<{
|
|
888
892
|
id: string;
|
|
889
893
|
type: "agent";
|
|
@@ -1079,7 +1083,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1079
1083
|
readonly verified?: boolean;
|
|
1080
1084
|
enabled?: boolean;
|
|
1081
1085
|
}>;
|
|
1082
|
-
kind: "personal" | "service";
|
|
1086
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1083
1087
|
computer_id?: string;
|
|
1084
1088
|
subagent_model?: string | null;
|
|
1085
1089
|
image_model?: string | null;
|
|
@@ -1181,6 +1185,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1181
1185
|
mcpServers?: Array<string>;
|
|
1182
1186
|
hooks?: Array<string>;
|
|
1183
1187
|
};
|
|
1188
|
+
idleCompaction?: boolean;
|
|
1184
1189
|
} | null;
|
|
1185
1190
|
models?: {
|
|
1186
1191
|
allowed: Array<string>;
|
|
@@ -1200,7 +1205,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1200
1205
|
description: null | string;
|
|
1201
1206
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1202
1207
|
metadata: Types.AgentManaged37;
|
|
1203
|
-
model
|
|
1208
|
+
model?: {
|
|
1204
1209
|
id: string;
|
|
1205
1210
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1206
1211
|
inference_geo?: string;
|
|
@@ -1209,7 +1214,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1209
1214
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1210
1215
|
};
|
|
1211
1216
|
};
|
|
1212
|
-
multiagent
|
|
1217
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1213
1218
|
name: string;
|
|
1214
1219
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1215
1220
|
system: null | string;
|
|
@@ -1240,7 +1245,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1240
1245
|
readonly verified?: boolean;
|
|
1241
1246
|
enabled?: boolean;
|
|
1242
1247
|
}>;
|
|
1243
|
-
kind: "personal" | "service";
|
|
1248
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1244
1249
|
computer_id?: string;
|
|
1245
1250
|
subagent_model?: string | null;
|
|
1246
1251
|
image_model?: string | null;
|
|
@@ -1342,6 +1347,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1342
1347
|
mcpServers?: Array<string>;
|
|
1343
1348
|
hooks?: Array<string>;
|
|
1344
1349
|
};
|
|
1350
|
+
idleCompaction?: boolean;
|
|
1345
1351
|
} | null;
|
|
1346
1352
|
models?: {
|
|
1347
1353
|
allowed: Array<string>;
|
|
@@ -1361,7 +1367,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1361
1367
|
description: null | string;
|
|
1362
1368
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1363
1369
|
metadata: Types.AgentManaged37;
|
|
1364
|
-
model
|
|
1370
|
+
model?: {
|
|
1365
1371
|
id: string;
|
|
1366
1372
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1367
1373
|
inference_geo?: string;
|
|
@@ -1370,7 +1376,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1370
1376
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1371
1377
|
};
|
|
1372
1378
|
};
|
|
1373
|
-
multiagent
|
|
1379
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1374
1380
|
name: string;
|
|
1375
1381
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1376
1382
|
system: null | string;
|
|
@@ -1401,7 +1407,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1401
1407
|
readonly verified?: boolean;
|
|
1402
1408
|
enabled?: boolean;
|
|
1403
1409
|
}>;
|
|
1404
|
-
kind: "personal" | "service";
|
|
1410
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1405
1411
|
computer_id?: string;
|
|
1406
1412
|
subagent_model?: string | null;
|
|
1407
1413
|
image_model?: string | null;
|
|
@@ -1503,6 +1509,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1503
1509
|
mcpServers?: Array<string>;
|
|
1504
1510
|
hooks?: Array<string>;
|
|
1505
1511
|
};
|
|
1512
|
+
idleCompaction?: boolean;
|
|
1506
1513
|
} | null;
|
|
1507
1514
|
models?: {
|
|
1508
1515
|
allowed: Array<string>;
|
|
@@ -1522,7 +1529,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1522
1529
|
description: null | string;
|
|
1523
1530
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1524
1531
|
metadata: Types.AgentManaged37;
|
|
1525
|
-
model
|
|
1532
|
+
model?: {
|
|
1526
1533
|
id: string;
|
|
1527
1534
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1528
1535
|
inference_geo?: string;
|
|
@@ -1531,7 +1538,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1531
1538
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1532
1539
|
};
|
|
1533
1540
|
};
|
|
1534
|
-
multiagent
|
|
1541
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1535
1542
|
name: string;
|
|
1536
1543
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1537
1544
|
system: null | string;
|
|
@@ -1562,7 +1569,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1562
1569
|
readonly verified?: boolean;
|
|
1563
1570
|
enabled?: boolean;
|
|
1564
1571
|
}>;
|
|
1565
|
-
kind: "personal" | "service";
|
|
1572
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1566
1573
|
computer_id?: string;
|
|
1567
1574
|
subagent_model?: string | null;
|
|
1568
1575
|
image_model?: string | null;
|
|
@@ -1664,6 +1671,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1664
1671
|
mcpServers?: Array<string>;
|
|
1665
1672
|
hooks?: Array<string>;
|
|
1666
1673
|
};
|
|
1674
|
+
idleCompaction?: boolean;
|
|
1667
1675
|
} | null;
|
|
1668
1676
|
models?: {
|
|
1669
1677
|
allowed: Array<string>;
|
|
@@ -2198,13 +2206,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2198
2206
|
type: "session_compaction";
|
|
2199
2207
|
id: string;
|
|
2200
2208
|
status: "queued" | "running";
|
|
2201
|
-
trigger: "manual" | "auto";
|
|
2209
|
+
trigger: "manual" | "auto" | "idle";
|
|
2202
2210
|
} | null;
|
|
2203
2211
|
data: Array<{
|
|
2204
2212
|
type: "context_compaction";
|
|
2205
2213
|
id: string;
|
|
2206
2214
|
event_id: string | null;
|
|
2207
|
-
trigger: "auto" | "manual" | "model_downshift";
|
|
2215
|
+
trigger: "auto" | "manual" | "model_downshift" | "idle";
|
|
2208
2216
|
status: "succeeded" | "failed";
|
|
2209
2217
|
model: string;
|
|
2210
2218
|
compacted_message_count: number;
|
|
@@ -3759,6 +3767,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3759
3767
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3760
3768
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3761
3769
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3770
|
+
vaults: {
|
|
3771
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
|
|
3772
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
|
|
3773
|
+
data: Array<{
|
|
3774
|
+
alias: string;
|
|
3775
|
+
vault: {
|
|
3776
|
+
id: string;
|
|
3777
|
+
name: string;
|
|
3778
|
+
};
|
|
3779
|
+
secrets: Array<{
|
|
3780
|
+
name: string;
|
|
3781
|
+
}>;
|
|
3782
|
+
secrets_unavailable?: true;
|
|
3783
|
+
}>;
|
|
3784
|
+
}>;
|
|
3785
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
|
|
3786
|
+
alias: string;
|
|
3787
|
+
vault: {
|
|
3788
|
+
id: string;
|
|
3789
|
+
name: string;
|
|
3790
|
+
};
|
|
3791
|
+
secrets: Array<{
|
|
3792
|
+
name: string;
|
|
3793
|
+
}>;
|
|
3794
|
+
secrets_unavailable?: true;
|
|
3795
|
+
}>;
|
|
3796
|
+
};
|
|
3762
3797
|
versions: {
|
|
3763
3798
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3764
3799
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3806,6 +3841,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3806
3841
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3807
3842
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3808
3843
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3844
|
+
vaults: {
|
|
3845
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
|
|
3846
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
|
|
3847
|
+
data: Array<{
|
|
3848
|
+
alias: string;
|
|
3849
|
+
vault: {
|
|
3850
|
+
id: string;
|
|
3851
|
+
name: string;
|
|
3852
|
+
};
|
|
3853
|
+
secrets: Array<{
|
|
3854
|
+
name: string;
|
|
3855
|
+
}>;
|
|
3856
|
+
secrets_unavailable?: true;
|
|
3857
|
+
}>;
|
|
3858
|
+
}>;
|
|
3859
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
|
|
3860
|
+
alias: string;
|
|
3861
|
+
vault: {
|
|
3862
|
+
id: string;
|
|
3863
|
+
name: string;
|
|
3864
|
+
};
|
|
3865
|
+
secrets: Array<{
|
|
3866
|
+
name: string;
|
|
3867
|
+
}>;
|
|
3868
|
+
secrets_unavailable?: true;
|
|
3869
|
+
}>;
|
|
3870
|
+
};
|
|
3809
3871
|
versions: {
|
|
3810
3872
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3811
3873
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3864,6 +3926,63 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3864
3926
|
};
|
|
3865
3927
|
};
|
|
3866
3928
|
};
|
|
3929
|
+
export declare function createCanvas(transport: Transport): {
|
|
3930
|
+
canvases: {
|
|
3931
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
|
|
3932
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
|
|
3933
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
|
|
3934
|
+
images: {
|
|
3935
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
3936
|
+
};
|
|
3937
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
3938
|
+
nodes: {
|
|
3939
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3940
|
+
};
|
|
3941
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3942
|
+
};
|
|
3943
|
+
};
|
|
3944
|
+
export declare function createCut(transport: Transport): {
|
|
3945
|
+
exports: {
|
|
3946
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
3947
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
|
|
3948
|
+
};
|
|
3949
|
+
projects: {
|
|
3950
|
+
analysis: {
|
|
3951
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
|
|
3952
|
+
};
|
|
3953
|
+
bindings: {
|
|
3954
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
|
|
3955
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
|
|
3956
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
|
|
3957
|
+
};
|
|
3958
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
|
|
3959
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
|
|
3960
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
|
|
3961
|
+
exports: {
|
|
3962
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
|
|
3963
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
|
|
3964
|
+
};
|
|
3965
|
+
frames: {
|
|
3966
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
|
|
3967
|
+
};
|
|
3968
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
|
|
3969
|
+
media: {
|
|
3970
|
+
import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
|
|
3971
|
+
};
|
|
3972
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
|
|
3973
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
|
|
3974
|
+
retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
|
|
3975
|
+
undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
|
|
3976
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
|
|
3977
|
+
versions: {
|
|
3978
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
|
|
3979
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
|
|
3980
|
+
};
|
|
3981
|
+
};
|
|
3982
|
+
versions: {
|
|
3983
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
|
|
3984
|
+
};
|
|
3985
|
+
};
|
|
3867
3986
|
export declare function createDatabase(transport: Transport): {
|
|
3868
3987
|
databases: {
|
|
3869
3988
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
@@ -3911,6 +4030,11 @@ export declare function createDatabase(transport: Transport): {
|
|
|
3911
4030
|
};
|
|
3912
4031
|
export declare function createFile(transport: Transport): {
|
|
3913
4032
|
files: {
|
|
4033
|
+
contentLinks: {
|
|
4034
|
+
revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
|
|
4035
|
+
revoked: true;
|
|
4036
|
+
}>;
|
|
4037
|
+
};
|
|
3914
4038
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
3915
4039
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
3916
4040
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -3921,6 +4045,7 @@ export declare function createFile(transport: Transport): {
|
|
|
3921
4045
|
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3922
4046
|
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3923
4047
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4048
|
+
createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
|
|
3924
4049
|
parts: {
|
|
3925
4050
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
3926
4051
|
};
|
|
@@ -3995,6 +4120,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
3995
4120
|
};
|
|
3996
4121
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
3997
4122
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4123
|
+
deliveryTokens: {
|
|
4124
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
|
|
4125
|
+
};
|
|
3998
4126
|
events: {
|
|
3999
4127
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
4000
4128
|
};
|
|
@@ -4449,6 +4577,39 @@ export declare function createModel(transport: Transport): {
|
|
|
4449
4577
|
[key: string]: unknown;
|
|
4450
4578
|
}>;
|
|
4451
4579
|
};
|
|
4580
|
+
systemone: {
|
|
4581
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
|
|
4582
|
+
model: string;
|
|
4583
|
+
answers: {
|
|
4584
|
+
[key: string]: {
|
|
4585
|
+
type: "noul";
|
|
4586
|
+
noul: number;
|
|
4587
|
+
} | {
|
|
4588
|
+
type: "choice";
|
|
4589
|
+
choice: string;
|
|
4590
|
+
confidence: number;
|
|
4591
|
+
probabilities: {
|
|
4592
|
+
[key: string]: number;
|
|
4593
|
+
};
|
|
4594
|
+
} | {
|
|
4595
|
+
type: "score";
|
|
4596
|
+
score: number;
|
|
4597
|
+
confidence: number;
|
|
4598
|
+
legend: {
|
|
4599
|
+
[key: string]: unknown;
|
|
4600
|
+
};
|
|
4601
|
+
probabilities: {
|
|
4602
|
+
[key: string]: number;
|
|
4603
|
+
};
|
|
4604
|
+
};
|
|
4605
|
+
};
|
|
4606
|
+
usage: {
|
|
4607
|
+
input_tokens: number;
|
|
4608
|
+
output_tokens: number;
|
|
4609
|
+
cost: number;
|
|
4610
|
+
};
|
|
4611
|
+
}>;
|
|
4612
|
+
};
|
|
4452
4613
|
videos: {
|
|
4453
4614
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
|
|
4454
4615
|
id: string;
|
|
@@ -5156,6 +5317,8 @@ export declare const resourceFactories: {
|
|
|
5156
5317
|
application: typeof createApplication;
|
|
5157
5318
|
automation: typeof createAutomation;
|
|
5158
5319
|
browser: typeof createBrowser;
|
|
5320
|
+
canvas: typeof createCanvas;
|
|
5321
|
+
cut: typeof createCut;
|
|
5159
5322
|
database: typeof createDatabase;
|
|
5160
5323
|
file: typeof createFile;
|
|
5161
5324
|
knowledge: typeof createKnowledge;
|
|
@@ -283,6 +283,11 @@ export function createAutomation(transport) {
|
|
|
283
283
|
restore: bind(transport, sdk.automationScriptsRestore),
|
|
284
284
|
retrieve: bind(transport, sdk.automationScriptsGet),
|
|
285
285
|
update: bind(transport, sdk.automationScriptsPatch),
|
|
286
|
+
vaults: {
|
|
287
|
+
delete: bind(transport, sdk.automationScriptsVaultsDelete),
|
|
288
|
+
list: bind(transport, sdk.automationScriptsVaultsList),
|
|
289
|
+
set: bind(transport, sdk.automationScriptsVaultsSet),
|
|
290
|
+
},
|
|
286
291
|
versions: {
|
|
287
292
|
create: boundAutomationScriptsPublish,
|
|
288
293
|
deprecate: bind(transport, sdk.automationScriptsDeprecate),
|
|
@@ -324,6 +329,11 @@ export function createAutomation(transport) {
|
|
|
324
329
|
restore: bind(transport, sdk.automationWorkflowsRestore),
|
|
325
330
|
retrieve: bind(transport, sdk.automationWorkflowsGet),
|
|
326
331
|
update: bind(transport, sdk.automationWorkflowsPatch),
|
|
332
|
+
vaults: {
|
|
333
|
+
delete: bind(transport, sdk.automationWorkflowsVaultsDelete),
|
|
334
|
+
list: bind(transport, sdk.automationWorkflowsVaultsList),
|
|
335
|
+
set: bind(transport, sdk.automationWorkflowsVaultsSet),
|
|
336
|
+
},
|
|
327
337
|
versions: {
|
|
328
338
|
create: boundAutomationWorkflowsPublish,
|
|
329
339
|
deprecate: bind(transport, sdk.automationWorkflowsDeprecate),
|
|
@@ -372,6 +382,67 @@ export function createBrowser(transport) {
|
|
|
372
382
|
},
|
|
373
383
|
};
|
|
374
384
|
}
|
|
385
|
+
export function createCanvas(transport) {
|
|
386
|
+
return {
|
|
387
|
+
canvases: {
|
|
388
|
+
create: bind(transport, sdk.canvasCreateCanvas),
|
|
389
|
+
delete: bind(transport, sdk.canvasDeleteCanvas),
|
|
390
|
+
execute: bind(transport, sdk.canvasExecute),
|
|
391
|
+
images: {
|
|
392
|
+
list: bind(transport, sdk.canvasListImages),
|
|
393
|
+
},
|
|
394
|
+
list: bindPage(transport, sdk.canvasListCanvases),
|
|
395
|
+
nodes: {
|
|
396
|
+
list: bind(transport, sdk.canvasListNodes),
|
|
397
|
+
},
|
|
398
|
+
retrieve: bind(transport, sdk.canvasRetrieveCanvas),
|
|
399
|
+
},
|
|
400
|
+
};
|
|
401
|
+
}
|
|
402
|
+
export function createCut(transport) {
|
|
403
|
+
return {
|
|
404
|
+
exports: {
|
|
405
|
+
cancel: bind(transport, sdk.cutCancelExport),
|
|
406
|
+
retrieve: bind(transport, sdk.cutRetrieveExport),
|
|
407
|
+
},
|
|
408
|
+
projects: {
|
|
409
|
+
analysis: {
|
|
410
|
+
create: bind(transport, sdk.cutCreateAnalysis),
|
|
411
|
+
},
|
|
412
|
+
bindings: {
|
|
413
|
+
create: bind(transport, sdk.cutCreateBinding),
|
|
414
|
+
delete: bind(transport, sdk.cutDeleteBinding),
|
|
415
|
+
list: bind(transport, sdk.cutListBindings),
|
|
416
|
+
},
|
|
417
|
+
create: bind(transport, sdk.cutCreateProject),
|
|
418
|
+
delete: bind(transport, sdk.cutDeleteProject),
|
|
419
|
+
execute: bind(transport, sdk.cutExecute),
|
|
420
|
+
exports: {
|
|
421
|
+
create: bind(transport, sdk.cutCreateExport),
|
|
422
|
+
list: bind(transport, sdk.cutListExports),
|
|
423
|
+
},
|
|
424
|
+
frames: {
|
|
425
|
+
list: bind(transport, sdk.cutListFrames),
|
|
426
|
+
},
|
|
427
|
+
list: bind(transport, sdk.cutListProjects),
|
|
428
|
+
media: {
|
|
429
|
+
import: bind(transport, sdk.cutImportMedia),
|
|
430
|
+
},
|
|
431
|
+
retrieve: bind(transport, sdk.cutRetrieveProject),
|
|
432
|
+
retrieveState: bind(transport, sdk.cutRetrieveState),
|
|
433
|
+
retrieveTimeline: bind(transport, sdk.cutRetrieveTimeline),
|
|
434
|
+
undelete: bind(transport, sdk.cutUndeleteProject),
|
|
435
|
+
update: bind(transport, sdk.cutUpdateProject),
|
|
436
|
+
versions: {
|
|
437
|
+
create: bind(transport, sdk.cutCreateVersion),
|
|
438
|
+
list: bind(transport, sdk.cutListVersions),
|
|
439
|
+
},
|
|
440
|
+
},
|
|
441
|
+
versions: {
|
|
442
|
+
restore: bind(transport, sdk.cutRestoreVersion),
|
|
443
|
+
},
|
|
444
|
+
};
|
|
445
|
+
}
|
|
375
446
|
export function createDatabase(transport) {
|
|
376
447
|
return {
|
|
377
448
|
databases: {
|
|
@@ -412,6 +483,9 @@ export function createDatabase(transport) {
|
|
|
412
483
|
export function createFile(transport) {
|
|
413
484
|
return {
|
|
414
485
|
files: {
|
|
486
|
+
contentLinks: {
|
|
487
|
+
revoke: bind(transport, sdk.fileRevokeContentLink),
|
|
488
|
+
},
|
|
415
489
|
create: bind(transport, options => sdk.fileCreateFile({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
416
490
|
delete: bind(transport, sdk.fileDeleteFile),
|
|
417
491
|
list: bind(transport, sdk.fileListFiles),
|
|
@@ -422,6 +496,7 @@ export function createFile(transport) {
|
|
|
422
496
|
cancel: bind(transport, sdk.fileCancelUpload),
|
|
423
497
|
complete: bind(transport, sdk.fileCompleteUpload),
|
|
424
498
|
create: bind(transport, sdk.fileCreateUpload),
|
|
499
|
+
createSigned: bind(transport, sdk.fileCreateSignedUpload),
|
|
425
500
|
parts: {
|
|
426
501
|
create: bind(transport, options => sdk.fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
427
502
|
},
|
|
@@ -500,6 +575,9 @@ export function createMedia(transport) {
|
|
|
500
575
|
},
|
|
501
576
|
create: bind(transport, sdk.mediaCreateLibrary),
|
|
502
577
|
delete: bind(transport, sdk.mediaDeleteLibrary),
|
|
578
|
+
deliveryTokens: {
|
|
579
|
+
create: bind(transport, sdk.mediaCreateDeliveryToken),
|
|
580
|
+
},
|
|
503
581
|
events: {
|
|
504
582
|
list: bind(transport, sdk.mediaListEvents),
|
|
505
583
|
},
|
|
@@ -614,6 +692,9 @@ export function createModel(transport) {
|
|
|
614
692
|
},
|
|
615
693
|
retrieve: bind(transport, sdk.retrieveResponse),
|
|
616
694
|
},
|
|
695
|
+
systemone: {
|
|
696
|
+
create: bind(transport, sdk.createSystemone),
|
|
697
|
+
},
|
|
617
698
|
videos: {
|
|
618
699
|
create: bind(transport, options => sdk.createVideo({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
619
700
|
delete: bind(transport, sdk.deleteVideo),
|
|
@@ -861,6 +942,8 @@ export const resourceFactories = {
|
|
|
861
942
|
application: createApplication,
|
|
862
943
|
automation: createAutomation,
|
|
863
944
|
browser: createBrowser,
|
|
945
|
+
canvas: createCanvas,
|
|
946
|
+
cut: createCut,
|
|
864
947
|
database: createDatabase,
|
|
865
948
|
file: createFile,
|
|
866
949
|
knowledge: createKnowledge,
|