@deepraxis/sdk 0.1.1-dev.1852173 → 0.1.1-dev.22816e2
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 +155 -1
- package/dist/automation.d.ts +54 -0
- package/dist/core/client.d.ts +7 -1
- package/dist/core/client.js +3 -0
- package/dist/core/transport.d.ts +9 -0
- package/dist/core/transport.js +12 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +325 -14
- package/dist/generated/sdk.gen.js +1655 -501
- package/dist/generated/types.gen.d.ts +5352 -737
- package/dist/helpers/sandbox-templates.d.ts +121 -0
- package/dist/helpers/sandbox-templates.js +60 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +1445 -114
- package/dist/operations.generated.js +1668 -44
- package/dist/resources.generated.d.ts +217 -1
- package/dist/resources.generated.js +95 -1
- package/package.json +1 -1
|
@@ -152,6 +152,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
152
152
|
hooks?: Array<string>;
|
|
153
153
|
};
|
|
154
154
|
idleCompaction?: boolean;
|
|
155
|
+
outputStyle?: string;
|
|
155
156
|
} | null;
|
|
156
157
|
models?: {
|
|
157
158
|
allowed: Array<string>;
|
|
@@ -162,6 +163,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
162
163
|
environment_id?: string | null;
|
|
163
164
|
vault_ids?: Array<string>;
|
|
164
165
|
status: "active" | "archived";
|
|
166
|
+
output_styles?: Array<{
|
|
167
|
+
name: string;
|
|
168
|
+
description?: string;
|
|
169
|
+
prompt: string;
|
|
170
|
+
keep_coding_instructions?: boolean;
|
|
171
|
+
}> | null;
|
|
165
172
|
}>;
|
|
166
173
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
167
174
|
id: string;
|
|
@@ -312,6 +319,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
312
319
|
hooks?: Array<string>;
|
|
313
320
|
};
|
|
314
321
|
idleCompaction?: boolean;
|
|
322
|
+
outputStyle?: string;
|
|
315
323
|
} | null;
|
|
316
324
|
models?: {
|
|
317
325
|
allowed: Array<string>;
|
|
@@ -322,6 +330,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
322
330
|
environment_id?: string | null;
|
|
323
331
|
vault_ids?: Array<string>;
|
|
324
332
|
status: "active" | "archived";
|
|
333
|
+
output_styles?: Array<{
|
|
334
|
+
name: string;
|
|
335
|
+
description?: string;
|
|
336
|
+
prompt: string;
|
|
337
|
+
keep_coding_instructions?: boolean;
|
|
338
|
+
}> | null;
|
|
325
339
|
}>;
|
|
326
340
|
customers: {
|
|
327
341
|
auth: {
|
|
@@ -601,6 +615,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
601
615
|
hooks?: Array<string>;
|
|
602
616
|
};
|
|
603
617
|
idleCompaction?: boolean;
|
|
618
|
+
outputStyle?: string;
|
|
604
619
|
} | null;
|
|
605
620
|
models?: {
|
|
606
621
|
allowed: Array<string>;
|
|
@@ -611,6 +626,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
611
626
|
environment_id?: string | null;
|
|
612
627
|
vault_ids?: Array<string>;
|
|
613
628
|
status: "active" | "archived";
|
|
629
|
+
output_styles?: Array<{
|
|
630
|
+
name: string;
|
|
631
|
+
description?: string;
|
|
632
|
+
prompt: string;
|
|
633
|
+
keep_coding_instructions?: boolean;
|
|
634
|
+
}> | null;
|
|
614
635
|
}>;
|
|
615
636
|
next_page: string | null;
|
|
616
637
|
}>;
|
|
@@ -764,6 +785,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
764
785
|
hooks?: Array<string>;
|
|
765
786
|
};
|
|
766
787
|
idleCompaction?: boolean;
|
|
788
|
+
outputStyle?: string;
|
|
767
789
|
} | null;
|
|
768
790
|
models?: {
|
|
769
791
|
allowed: Array<string>;
|
|
@@ -774,6 +796,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
774
796
|
environment_id?: string | null;
|
|
775
797
|
vault_ids?: Array<string>;
|
|
776
798
|
status: "active" | "archived";
|
|
799
|
+
output_styles?: Array<{
|
|
800
|
+
name: string;
|
|
801
|
+
description?: string;
|
|
802
|
+
prompt: string;
|
|
803
|
+
keep_coding_instructions?: boolean;
|
|
804
|
+
}> | null;
|
|
777
805
|
}>;
|
|
778
806
|
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
779
807
|
agent?: {
|
|
@@ -1186,6 +1214,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1186
1214
|
hooks?: Array<string>;
|
|
1187
1215
|
};
|
|
1188
1216
|
idleCompaction?: boolean;
|
|
1217
|
+
outputStyle?: string;
|
|
1189
1218
|
} | null;
|
|
1190
1219
|
models?: {
|
|
1191
1220
|
allowed: Array<string>;
|
|
@@ -1196,6 +1225,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1196
1225
|
environment_id?: string | null;
|
|
1197
1226
|
vault_ids?: Array<string>;
|
|
1198
1227
|
status: "active" | "archived";
|
|
1228
|
+
output_styles?: Array<{
|
|
1229
|
+
name: string;
|
|
1230
|
+
description?: string;
|
|
1231
|
+
prompt: string;
|
|
1232
|
+
keep_coding_instructions?: boolean;
|
|
1233
|
+
}> | null;
|
|
1199
1234
|
}>;
|
|
1200
1235
|
};
|
|
1201
1236
|
update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
|
|
@@ -1348,6 +1383,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1348
1383
|
hooks?: Array<string>;
|
|
1349
1384
|
};
|
|
1350
1385
|
idleCompaction?: boolean;
|
|
1386
|
+
outputStyle?: string;
|
|
1351
1387
|
} | null;
|
|
1352
1388
|
models?: {
|
|
1353
1389
|
allowed: Array<string>;
|
|
@@ -1358,6 +1394,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1358
1394
|
environment_id?: string | null;
|
|
1359
1395
|
vault_ids?: Array<string>;
|
|
1360
1396
|
status: "active" | "archived";
|
|
1397
|
+
output_styles?: Array<{
|
|
1398
|
+
name: string;
|
|
1399
|
+
description?: string;
|
|
1400
|
+
prompt: string;
|
|
1401
|
+
keep_coding_instructions?: boolean;
|
|
1402
|
+
}> | null;
|
|
1361
1403
|
}>;
|
|
1362
1404
|
versions: {
|
|
1363
1405
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
@@ -1510,6 +1552,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1510
1552
|
hooks?: Array<string>;
|
|
1511
1553
|
};
|
|
1512
1554
|
idleCompaction?: boolean;
|
|
1555
|
+
outputStyle?: string;
|
|
1513
1556
|
} | null;
|
|
1514
1557
|
models?: {
|
|
1515
1558
|
allowed: Array<string>;
|
|
@@ -1520,6 +1563,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1520
1563
|
environment_id?: string | null;
|
|
1521
1564
|
vault_ids?: Array<string>;
|
|
1522
1565
|
status: "active" | "archived";
|
|
1566
|
+
output_styles?: Array<{
|
|
1567
|
+
name: string;
|
|
1568
|
+
description?: string;
|
|
1569
|
+
prompt: string;
|
|
1570
|
+
keep_coding_instructions?: boolean;
|
|
1571
|
+
}> | null;
|
|
1523
1572
|
}>;
|
|
1524
1573
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1525
1574
|
data: Array<{
|
|
@@ -1672,6 +1721,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1672
1721
|
hooks?: Array<string>;
|
|
1673
1722
|
};
|
|
1674
1723
|
idleCompaction?: boolean;
|
|
1724
|
+
outputStyle?: string;
|
|
1675
1725
|
} | null;
|
|
1676
1726
|
models?: {
|
|
1677
1727
|
allowed: Array<string>;
|
|
@@ -1682,6 +1732,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1682
1732
|
environment_id?: string | null;
|
|
1683
1733
|
vault_ids?: Array<string>;
|
|
1684
1734
|
status: "active" | "archived";
|
|
1735
|
+
output_styles?: Array<{
|
|
1736
|
+
name: string;
|
|
1737
|
+
description?: string;
|
|
1738
|
+
prompt: string;
|
|
1739
|
+
keep_coding_instructions?: boolean;
|
|
1740
|
+
}> | null;
|
|
1685
1741
|
}>;
|
|
1686
1742
|
next_page: string | null;
|
|
1687
1743
|
}>;
|
|
@@ -3767,6 +3823,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3767
3823
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3768
3824
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3769
3825
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3826
|
+
vaults: {
|
|
3827
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
|
|
3828
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
|
|
3829
|
+
data: Array<{
|
|
3830
|
+
alias: string;
|
|
3831
|
+
vault: {
|
|
3832
|
+
id: string;
|
|
3833
|
+
name: string;
|
|
3834
|
+
};
|
|
3835
|
+
secrets: Array<{
|
|
3836
|
+
name: string;
|
|
3837
|
+
}>;
|
|
3838
|
+
secrets_unavailable?: true;
|
|
3839
|
+
}>;
|
|
3840
|
+
}>;
|
|
3841
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
|
|
3842
|
+
alias: string;
|
|
3843
|
+
vault: {
|
|
3844
|
+
id: string;
|
|
3845
|
+
name: string;
|
|
3846
|
+
};
|
|
3847
|
+
secrets: Array<{
|
|
3848
|
+
name: string;
|
|
3849
|
+
}>;
|
|
3850
|
+
secrets_unavailable?: true;
|
|
3851
|
+
}>;
|
|
3852
|
+
};
|
|
3770
3853
|
versions: {
|
|
3771
3854
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3772
3855
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3814,6 +3897,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3814
3897
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3815
3898
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3816
3899
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3900
|
+
vaults: {
|
|
3901
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
|
|
3902
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
|
|
3903
|
+
data: Array<{
|
|
3904
|
+
alias: string;
|
|
3905
|
+
vault: {
|
|
3906
|
+
id: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
};
|
|
3909
|
+
secrets: Array<{
|
|
3910
|
+
name: string;
|
|
3911
|
+
}>;
|
|
3912
|
+
secrets_unavailable?: true;
|
|
3913
|
+
}>;
|
|
3914
|
+
}>;
|
|
3915
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
|
|
3916
|
+
alias: string;
|
|
3917
|
+
vault: {
|
|
3918
|
+
id: string;
|
|
3919
|
+
name: string;
|
|
3920
|
+
};
|
|
3921
|
+
secrets: Array<{
|
|
3922
|
+
name: string;
|
|
3923
|
+
}>;
|
|
3924
|
+
secrets_unavailable?: true;
|
|
3925
|
+
}>;
|
|
3926
|
+
};
|
|
3817
3927
|
versions: {
|
|
3818
3928
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3819
3929
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3884,7 +3994,61 @@ export declare function createCanvas(transport: Transport): {
|
|
|
3884
3994
|
nodes: {
|
|
3885
3995
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3886
3996
|
};
|
|
3997
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
3887
3998
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3999
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
4000
|
+
versions: {
|
|
4001
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
collections: {
|
|
4005
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4006
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
|
|
4007
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
|
|
4008
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4009
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4010
|
+
};
|
|
4011
|
+
};
|
|
4012
|
+
export declare function createCut(transport: Transport): {
|
|
4013
|
+
exports: {
|
|
4014
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
4015
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
|
|
4016
|
+
};
|
|
4017
|
+
projects: {
|
|
4018
|
+
analysis: {
|
|
4019
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
|
|
4020
|
+
};
|
|
4021
|
+
bindings: {
|
|
4022
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
|
|
4023
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
|
|
4024
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
|
|
4025
|
+
};
|
|
4026
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
|
|
4027
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
|
|
4028
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
|
|
4029
|
+
exports: {
|
|
4030
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
|
|
4031
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
|
|
4032
|
+
};
|
|
4033
|
+
frames: {
|
|
4034
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
|
|
4035
|
+
};
|
|
4036
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
|
|
4037
|
+
media: {
|
|
4038
|
+
import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
|
|
4039
|
+
};
|
|
4040
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
|
|
4041
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
|
|
4042
|
+
retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
|
|
4043
|
+
undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
|
|
4044
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
|
|
4045
|
+
versions: {
|
|
4046
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
|
|
4047
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
|
|
4048
|
+
};
|
|
4049
|
+
};
|
|
4050
|
+
versions: {
|
|
4051
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
|
|
3888
4052
|
};
|
|
3889
4053
|
};
|
|
3890
4054
|
export declare function createDatabase(transport: Transport): {
|
|
@@ -3934,6 +4098,17 @@ export declare function createDatabase(transport: Transport): {
|
|
|
3934
4098
|
};
|
|
3935
4099
|
export declare function createFile(transport: Transport): {
|
|
3936
4100
|
files: {
|
|
4101
|
+
contentLinks: {
|
|
4102
|
+
revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
|
|
4103
|
+
revoked: true;
|
|
4104
|
+
}>;
|
|
4105
|
+
};
|
|
4106
|
+
contentUrl: {
|
|
4107
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
|
|
4108
|
+
url: string;
|
|
4109
|
+
expires_at: string;
|
|
4110
|
+
}>;
|
|
4111
|
+
};
|
|
3937
4112
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
3938
4113
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
3939
4114
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -3944,6 +4119,7 @@ export declare function createFile(transport: Transport): {
|
|
|
3944
4119
|
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3945
4120
|
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3946
4121
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4122
|
+
createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
|
|
3947
4123
|
parts: {
|
|
3948
4124
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
3949
4125
|
};
|
|
@@ -4018,6 +4194,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4018
4194
|
};
|
|
4019
4195
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4020
4196
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4197
|
+
deliveryTokens: {
|
|
4198
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
|
|
4199
|
+
};
|
|
4021
4200
|
events: {
|
|
4022
4201
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
4023
4202
|
};
|
|
@@ -4950,7 +5129,43 @@ export declare function createSandbox(transport: Transport): {
|
|
|
4950
5129
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
4951
5130
|
};
|
|
4952
5131
|
templates: {
|
|
4953
|
-
|
|
5132
|
+
aliases: {
|
|
5133
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5134
|
+
};
|
|
5135
|
+
builds: {
|
|
5136
|
+
status: {
|
|
5137
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5138
|
+
};
|
|
5139
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5140
|
+
};
|
|
5141
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5142
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5143
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5144
|
+
templateID: string;
|
|
5145
|
+
buildID: string;
|
|
5146
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5147
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5148
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5149
|
+
public: boolean;
|
|
5150
|
+
aliases: Array<string>;
|
|
5151
|
+
names: Array<string>;
|
|
5152
|
+
createdAt: string;
|
|
5153
|
+
updatedAt: string;
|
|
5154
|
+
createdBy: Types.SandboxTeamUser;
|
|
5155
|
+
lastSpawnedAt: string;
|
|
5156
|
+
spawnCount: number;
|
|
5157
|
+
buildCount: number;
|
|
5158
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5159
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5160
|
+
official: boolean;
|
|
5161
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5162
|
+
}[]>;
|
|
5163
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5164
|
+
tags: {
|
|
5165
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5166
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5167
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5168
|
+
};
|
|
4954
5169
|
};
|
|
4955
5170
|
volumes: {
|
|
4956
5171
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5213,6 +5428,7 @@ export declare const resourceFactories: {
|
|
|
5213
5428
|
automation: typeof createAutomation;
|
|
5214
5429
|
browser: typeof createBrowser;
|
|
5215
5430
|
canvas: typeof createCanvas;
|
|
5431
|
+
cut: typeof createCut;
|
|
5216
5432
|
database: typeof createDatabase;
|
|
5217
5433
|
file: typeof createFile;
|
|
5218
5434
|
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),
|
|
@@ -385,7 +395,63 @@ export function createCanvas(transport) {
|
|
|
385
395
|
nodes: {
|
|
386
396
|
list: bind(transport, sdk.canvasListNodes),
|
|
387
397
|
},
|
|
398
|
+
restore: bind(transport, sdk.canvasRestoreCanvas),
|
|
388
399
|
retrieve: bind(transport, sdk.canvasRetrieveCanvas),
|
|
400
|
+
update: bind(transport, sdk.canvasUpdateCanvas),
|
|
401
|
+
versions: {
|
|
402
|
+
list: bind(transport, sdk.canvasListVersions),
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
collections: {
|
|
406
|
+
create: bind(transport, sdk.canvasCreateCollection),
|
|
407
|
+
delete: bind(transport, sdk.canvasDeleteCollection),
|
|
408
|
+
list: bind(transport, sdk.canvasListCollections),
|
|
409
|
+
retrieve: bind(transport, sdk.canvasRetrieveCollection),
|
|
410
|
+
update: bind(transport, sdk.canvasUpdateCollection),
|
|
411
|
+
},
|
|
412
|
+
};
|
|
413
|
+
}
|
|
414
|
+
export function createCut(transport) {
|
|
415
|
+
return {
|
|
416
|
+
exports: {
|
|
417
|
+
cancel: bind(transport, sdk.cutCancelExport),
|
|
418
|
+
retrieve: bind(transport, sdk.cutRetrieveExport),
|
|
419
|
+
},
|
|
420
|
+
projects: {
|
|
421
|
+
analysis: {
|
|
422
|
+
create: bind(transport, sdk.cutCreateAnalysis),
|
|
423
|
+
},
|
|
424
|
+
bindings: {
|
|
425
|
+
create: bind(transport, sdk.cutCreateBinding),
|
|
426
|
+
delete: bind(transport, sdk.cutDeleteBinding),
|
|
427
|
+
list: bind(transport, sdk.cutListBindings),
|
|
428
|
+
},
|
|
429
|
+
create: bind(transport, sdk.cutCreateProject),
|
|
430
|
+
delete: bind(transport, sdk.cutDeleteProject),
|
|
431
|
+
execute: bind(transport, sdk.cutExecute),
|
|
432
|
+
exports: {
|
|
433
|
+
create: bind(transport, sdk.cutCreateExport),
|
|
434
|
+
list: bind(transport, sdk.cutListExports),
|
|
435
|
+
},
|
|
436
|
+
frames: {
|
|
437
|
+
list: bind(transport, sdk.cutListFrames),
|
|
438
|
+
},
|
|
439
|
+
list: bind(transport, sdk.cutListProjects),
|
|
440
|
+
media: {
|
|
441
|
+
import: bind(transport, sdk.cutImportMedia),
|
|
442
|
+
},
|
|
443
|
+
retrieve: bind(transport, sdk.cutRetrieveProject),
|
|
444
|
+
retrieveState: bind(transport, sdk.cutRetrieveState),
|
|
445
|
+
retrieveTimeline: bind(transport, sdk.cutRetrieveTimeline),
|
|
446
|
+
undelete: bind(transport, sdk.cutUndeleteProject),
|
|
447
|
+
update: bind(transport, sdk.cutUpdateProject),
|
|
448
|
+
versions: {
|
|
449
|
+
create: bind(transport, sdk.cutCreateVersion),
|
|
450
|
+
list: bind(transport, sdk.cutListVersions),
|
|
451
|
+
},
|
|
452
|
+
},
|
|
453
|
+
versions: {
|
|
454
|
+
restore: bind(transport, sdk.cutRestoreVersion),
|
|
389
455
|
},
|
|
390
456
|
};
|
|
391
457
|
}
|
|
@@ -429,6 +495,12 @@ export function createDatabase(transport) {
|
|
|
429
495
|
export function createFile(transport) {
|
|
430
496
|
return {
|
|
431
497
|
files: {
|
|
498
|
+
contentLinks: {
|
|
499
|
+
revoke: bind(transport, sdk.fileRevokeContentLink),
|
|
500
|
+
},
|
|
501
|
+
contentUrl: {
|
|
502
|
+
create: bind(transport, sdk.fileCreateContentUrl),
|
|
503
|
+
},
|
|
432
504
|
create: bind(transport, options => sdk.fileCreateFile({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
433
505
|
delete: bind(transport, sdk.fileDeleteFile),
|
|
434
506
|
list: bind(transport, sdk.fileListFiles),
|
|
@@ -439,6 +511,7 @@ export function createFile(transport) {
|
|
|
439
511
|
cancel: bind(transport, sdk.fileCancelUpload),
|
|
440
512
|
complete: bind(transport, sdk.fileCompleteUpload),
|
|
441
513
|
create: bind(transport, sdk.fileCreateUpload),
|
|
514
|
+
createSigned: bind(transport, sdk.fileCreateSignedUpload),
|
|
442
515
|
parts: {
|
|
443
516
|
create: bind(transport, options => sdk.fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
444
517
|
},
|
|
@@ -517,6 +590,9 @@ export function createMedia(transport) {
|
|
|
517
590
|
},
|
|
518
591
|
create: bind(transport, sdk.mediaCreateLibrary),
|
|
519
592
|
delete: bind(transport, sdk.mediaDeleteLibrary),
|
|
593
|
+
deliveryTokens: {
|
|
594
|
+
create: bind(transport, sdk.mediaCreateDeliveryToken),
|
|
595
|
+
},
|
|
520
596
|
events: {
|
|
521
597
|
list: bind(transport, sdk.mediaListEvents),
|
|
522
598
|
},
|
|
@@ -719,7 +795,24 @@ export function createSandbox(transport) {
|
|
|
719
795
|
list: bind(transport, sdk.getSandboxV1Snapshots),
|
|
720
796
|
},
|
|
721
797
|
templates: {
|
|
722
|
-
|
|
798
|
+
aliases: {
|
|
799
|
+
retrieve: bind(transport, sdk.resolveTemplateAlias),
|
|
800
|
+
},
|
|
801
|
+
builds: {
|
|
802
|
+
status: {
|
|
803
|
+
list: bind(transport, sdk.getTemplateBuildStatus),
|
|
804
|
+
},
|
|
805
|
+
update: bind(transport, sdk.startTemplateBuild),
|
|
806
|
+
},
|
|
807
|
+
create: bind(transport, sdk.requestTemplateBuild),
|
|
808
|
+
delete: bind(transport, sdk.deleteUserTemplate),
|
|
809
|
+
list: bind(transport, sdk.listSandboxTemplates),
|
|
810
|
+
retrieve: bind(transport, sdk.getTemplateWithBuilds),
|
|
811
|
+
tags: {
|
|
812
|
+
create: bind(transport, sdk.assignTemplateTags),
|
|
813
|
+
delete: bind(transport, sdk.deleteTemplateTags),
|
|
814
|
+
list: bind(transport, sdk.listTemplateTags),
|
|
815
|
+
},
|
|
723
816
|
},
|
|
724
817
|
volumes: {
|
|
725
818
|
create: bind(transport, sdk.postSandboxV1Volumes),
|
|
@@ -882,6 +975,7 @@ export const resourceFactories = {
|
|
|
882
975
|
automation: createAutomation,
|
|
883
976
|
browser: createBrowser,
|
|
884
977
|
canvas: createCanvas,
|
|
978
|
+
cut: createCut,
|
|
885
979
|
database: createDatabase,
|
|
886
980
|
file: createFile,
|
|
887
981
|
knowledge: createKnowledge,
|