@deepraxis/sdk 0.1.1-dev.33a7e79 → 0.1.1-dev.37a71c8
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 +194 -1
- package/dist/core/client.d.ts +7 -1
- package/dist/core/client.js +3 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +518 -45
- package/dist/generated/sdk.gen.js +2028 -754
- package/dist/generated/types.gen.d.ts +23570 -16104
- 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 +2261 -213
- package/dist/operations.generated.js +2818 -232
- package/dist/resources.generated.d.ts +205 -1
- package/dist/resources.generated.js +113 -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
|
}>;
|
|
@@ -3938,8 +3994,12 @@ export declare function createCanvas(transport: Transport): {
|
|
|
3938
3994
|
nodes: {
|
|
3939
3995
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3940
3996
|
};
|
|
3997
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
3941
3998
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3942
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
|
+
};
|
|
3943
4003
|
};
|
|
3944
4004
|
collections: {
|
|
3945
4005
|
create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
@@ -3949,6 +4009,66 @@ export declare function createCanvas(transport: Transport): {
|
|
|
3949
4009
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
3950
4010
|
};
|
|
3951
4011
|
};
|
|
4012
|
+
export declare function createCrm(transport: Transport): {
|
|
4013
|
+
associations: {
|
|
4014
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
4015
|
+
createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
|
|
4016
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
|
|
4017
|
+
remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
|
|
4018
|
+
};
|
|
4019
|
+
changes: {
|
|
4020
|
+
revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
|
|
4021
|
+
};
|
|
4022
|
+
layouts: {
|
|
4023
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
|
|
4024
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
|
|
4025
|
+
};
|
|
4026
|
+
leads: {
|
|
4027
|
+
qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
|
|
4028
|
+
};
|
|
4029
|
+
objects: {
|
|
4030
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4031
|
+
batch: {
|
|
4032
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4033
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4034
|
+
read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
|
|
4035
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4036
|
+
upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
|
|
4037
|
+
};
|
|
4038
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4039
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
|
|
4040
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
|
|
4041
|
+
search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
|
|
4042
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4043
|
+
};
|
|
4044
|
+
pipelines: {
|
|
4045
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4046
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4047
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
|
|
4048
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
|
|
4049
|
+
stages: {
|
|
4050
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4051
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4052
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4053
|
+
};
|
|
4054
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4055
|
+
};
|
|
4056
|
+
properties: {
|
|
4057
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4059
|
+
groups: {
|
|
4060
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
|
|
4061
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
|
|
4062
|
+
};
|
|
4063
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
|
|
4064
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
|
|
4065
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4066
|
+
};
|
|
4067
|
+
schemas: {
|
|
4068
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
|
|
4069
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4070
|
+
};
|
|
4071
|
+
};
|
|
3952
4072
|
export declare function createCut(transport: Transport): {
|
|
3953
4073
|
exports: {
|
|
3954
4074
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4043,6 +4163,12 @@ export declare function createFile(transport: Transport): {
|
|
|
4043
4163
|
revoked: true;
|
|
4044
4164
|
}>;
|
|
4045
4165
|
};
|
|
4166
|
+
contentUrl: {
|
|
4167
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
|
|
4168
|
+
url: string;
|
|
4169
|
+
expires_at: string;
|
|
4170
|
+
}>;
|
|
4171
|
+
};
|
|
4046
4172
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
4047
4173
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
4048
4174
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -4104,11 +4230,19 @@ export declare function createKnowledge(transport: Transport): {
|
|
|
4104
4230
|
};
|
|
4105
4231
|
};
|
|
4106
4232
|
export declare function createMedia(transport: Transport): {
|
|
4233
|
+
generation: {
|
|
4234
|
+
capabilities: {
|
|
4235
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
|
|
4236
|
+
};
|
|
4237
|
+
};
|
|
4107
4238
|
libraries: {
|
|
4108
4239
|
assets: {
|
|
4109
4240
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4110
4241
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4111
4242
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4243
|
+
frames: {
|
|
4244
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4245
|
+
};
|
|
4112
4246
|
import: {
|
|
4113
4247
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4114
4248
|
};
|
|
@@ -4137,7 +4271,17 @@ export declare function createMedia(transport: Transport): {
|
|
|
4137
4271
|
folders: {
|
|
4138
4272
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
|
|
4139
4273
|
};
|
|
4274
|
+
generations: {
|
|
4275
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
|
|
4276
|
+
};
|
|
4140
4277
|
jobs: {
|
|
4278
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
|
|
4279
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
|
|
4280
|
+
outputs: {
|
|
4281
|
+
save: {
|
|
4282
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
|
|
4283
|
+
};
|
|
4284
|
+
};
|
|
4141
4285
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
|
|
4142
4286
|
};
|
|
4143
4287
|
list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
|
|
@@ -4158,6 +4302,10 @@ export declare function createMedia(transport: Transport): {
|
|
|
4158
4302
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
4159
4303
|
};
|
|
4160
4304
|
};
|
|
4305
|
+
understandings: {
|
|
4306
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
4307
|
+
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4308
|
+
};
|
|
4161
4309
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4162
4310
|
};
|
|
4163
4311
|
};
|
|
@@ -4211,11 +4359,17 @@ export declare function createModel(transport: Transport): {
|
|
|
4211
4359
|
start: number;
|
|
4212
4360
|
end: number;
|
|
4213
4361
|
text: string;
|
|
4362
|
+
speaker?: string;
|
|
4214
4363
|
temperature?: number;
|
|
4215
4364
|
avg_logprob?: number;
|
|
4216
4365
|
compression_ratio?: number;
|
|
4217
4366
|
no_speech_prob?: number;
|
|
4218
4367
|
}>;
|
|
4368
|
+
words?: Array<{
|
|
4369
|
+
word: string;
|
|
4370
|
+
start: number;
|
|
4371
|
+
end: number;
|
|
4372
|
+
}>;
|
|
4219
4373
|
}>;
|
|
4220
4374
|
};
|
|
4221
4375
|
};
|
|
@@ -4947,6 +5101,19 @@ export declare function createOrganization(transport: Transport): {
|
|
|
4947
5101
|
}>;
|
|
4948
5102
|
}>;
|
|
4949
5103
|
};
|
|
5104
|
+
members: {
|
|
5105
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
5106
|
+
data: Array<{
|
|
5107
|
+
id: string;
|
|
5108
|
+
name: string | null;
|
|
5109
|
+
email: string;
|
|
5110
|
+
role: "owner" | "admin" | "member";
|
|
5111
|
+
joined_at: string;
|
|
5112
|
+
}>;
|
|
5113
|
+
has_more: boolean;
|
|
5114
|
+
next_page: string | null;
|
|
5115
|
+
}>;
|
|
5116
|
+
};
|
|
4950
5117
|
usage: {
|
|
4951
5118
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
4952
5119
|
object: "page";
|
|
@@ -5063,7 +5230,43 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5063
5230
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
5064
5231
|
};
|
|
5065
5232
|
templates: {
|
|
5066
|
-
|
|
5233
|
+
aliases: {
|
|
5234
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5235
|
+
};
|
|
5236
|
+
builds: {
|
|
5237
|
+
status: {
|
|
5238
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5239
|
+
};
|
|
5240
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5241
|
+
};
|
|
5242
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5243
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5244
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5245
|
+
templateID: string;
|
|
5246
|
+
buildID: string;
|
|
5247
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5248
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5249
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5250
|
+
public: boolean;
|
|
5251
|
+
aliases: Array<string>;
|
|
5252
|
+
names: Array<string>;
|
|
5253
|
+
createdAt: string;
|
|
5254
|
+
updatedAt: string;
|
|
5255
|
+
createdBy: Types.SandboxTeamUser;
|
|
5256
|
+
lastSpawnedAt: string;
|
|
5257
|
+
spawnCount: number;
|
|
5258
|
+
buildCount: number;
|
|
5259
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5260
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5261
|
+
official: boolean;
|
|
5262
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5263
|
+
}[]>;
|
|
5264
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5265
|
+
tags: {
|
|
5266
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5267
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5268
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5269
|
+
};
|
|
5067
5270
|
};
|
|
5068
5271
|
volumes: {
|
|
5069
5272
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5326,6 +5529,7 @@ export declare const resourceFactories: {
|
|
|
5326
5529
|
automation: typeof createAutomation;
|
|
5327
5530
|
browser: typeof createBrowser;
|
|
5328
5531
|
canvas: typeof createCanvas;
|
|
5532
|
+
crm: typeof createCrm;
|
|
5329
5533
|
cut: typeof createCut;
|
|
5330
5534
|
database: typeof createDatabase;
|
|
5331
5535
|
file: typeof createFile;
|
|
@@ -395,8 +395,12 @@ export function createCanvas(transport) {
|
|
|
395
395
|
nodes: {
|
|
396
396
|
list: bind(transport, sdk.canvasListNodes),
|
|
397
397
|
},
|
|
398
|
+
restore: bind(transport, sdk.canvasRestoreCanvas),
|
|
398
399
|
retrieve: bind(transport, sdk.canvasRetrieveCanvas),
|
|
399
400
|
update: bind(transport, sdk.canvasUpdateCanvas),
|
|
401
|
+
versions: {
|
|
402
|
+
list: bind(transport, sdk.canvasListVersions),
|
|
403
|
+
},
|
|
400
404
|
},
|
|
401
405
|
collections: {
|
|
402
406
|
create: bind(transport, sdk.canvasCreateCollection),
|
|
@@ -407,6 +411,68 @@ export function createCanvas(transport) {
|
|
|
407
411
|
},
|
|
408
412
|
};
|
|
409
413
|
}
|
|
414
|
+
export function createCrm(transport) {
|
|
415
|
+
return {
|
|
416
|
+
associations: {
|
|
417
|
+
create: bind(transport, sdk.crmAssociationsCreate),
|
|
418
|
+
createDefault: bind(transport, sdk.crmAssociationsCreateDefault),
|
|
419
|
+
list: bind(transport, sdk.crmAssociationsList),
|
|
420
|
+
remove: bind(transport, sdk.crmAssociationsRemove),
|
|
421
|
+
},
|
|
422
|
+
changes: {
|
|
423
|
+
revert: bind(transport, sdk.crmChangesRevert),
|
|
424
|
+
},
|
|
425
|
+
layouts: {
|
|
426
|
+
retrieve: bind(transport, sdk.crmLayoutsRetrieve),
|
|
427
|
+
update: bind(transport, sdk.crmLayoutsUpdate),
|
|
428
|
+
},
|
|
429
|
+
leads: {
|
|
430
|
+
qualify: bind(transport, sdk.crmLeadsQualify),
|
|
431
|
+
},
|
|
432
|
+
objects: {
|
|
433
|
+
archive: bind(transport, sdk.crmObjectsArchive),
|
|
434
|
+
batch: {
|
|
435
|
+
archive: bind(transport, sdk.crmObjectsBatchArchive),
|
|
436
|
+
create: bind(transport, sdk.crmObjectsBatchCreate),
|
|
437
|
+
read: bind(transport, sdk.crmObjectsBatchRead),
|
|
438
|
+
update: bind(transport, sdk.crmObjectsBatchUpdate),
|
|
439
|
+
upsert: bind(transport, sdk.crmObjectsBatchUpsert),
|
|
440
|
+
},
|
|
441
|
+
create: bind(transport, sdk.crmObjectsCreate),
|
|
442
|
+
list: bind(transport, sdk.crmObjectsList),
|
|
443
|
+
retrieve: bind(transport, sdk.crmObjectsRetrieve),
|
|
444
|
+
search: bind(transport, sdk.crmObjectsSearch),
|
|
445
|
+
update: bind(transport, sdk.crmObjectsUpdate),
|
|
446
|
+
},
|
|
447
|
+
pipelines: {
|
|
448
|
+
archive: bind(transport, sdk.crmPipelinesArchive),
|
|
449
|
+
create: bind(transport, sdk.crmPipelinesCreate),
|
|
450
|
+
list: bind(transport, sdk.crmPipelinesList),
|
|
451
|
+
retrieve: bind(transport, sdk.crmPipelinesRetrieve),
|
|
452
|
+
stages: {
|
|
453
|
+
archive: bind(transport, sdk.crmPipelinesStagesArchive),
|
|
454
|
+
create: bind(transport, sdk.crmPipelinesStagesCreate),
|
|
455
|
+
update: bind(transport, sdk.crmPipelinesStagesUpdate),
|
|
456
|
+
},
|
|
457
|
+
update: bind(transport, sdk.crmPipelinesUpdate),
|
|
458
|
+
},
|
|
459
|
+
properties: {
|
|
460
|
+
archive: bind(transport, sdk.crmPropertiesArchive),
|
|
461
|
+
create: bind(transport, sdk.crmPropertiesCreate),
|
|
462
|
+
groups: {
|
|
463
|
+
create: bind(transport, sdk.crmPropertiesGroupsCreate),
|
|
464
|
+
list: bind(transport, sdk.crmPropertiesGroupsList),
|
|
465
|
+
},
|
|
466
|
+
list: bind(transport, sdk.crmPropertiesList),
|
|
467
|
+
retrieve: bind(transport, sdk.crmPropertiesRetrieve),
|
|
468
|
+
update: bind(transport, sdk.crmPropertiesUpdate),
|
|
469
|
+
},
|
|
470
|
+
schemas: {
|
|
471
|
+
create: bind(transport, sdk.crmSchemasCreate),
|
|
472
|
+
list: bind(transport, sdk.crmSchemasList),
|
|
473
|
+
},
|
|
474
|
+
};
|
|
475
|
+
}
|
|
410
476
|
export function createCut(transport) {
|
|
411
477
|
return {
|
|
412
478
|
exports: {
|
|
@@ -494,6 +560,9 @@ export function createFile(transport) {
|
|
|
494
560
|
contentLinks: {
|
|
495
561
|
revoke: bind(transport, sdk.fileRevokeContentLink),
|
|
496
562
|
},
|
|
563
|
+
contentUrl: {
|
|
564
|
+
create: bind(transport, sdk.fileCreateContentUrl),
|
|
565
|
+
},
|
|
497
566
|
create: bind(transport, options => sdk.fileCreateFile({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
498
567
|
delete: bind(transport, sdk.fileDeleteFile),
|
|
499
568
|
list: bind(transport, sdk.fileListFiles),
|
|
@@ -559,11 +628,19 @@ export function createKnowledge(transport) {
|
|
|
559
628
|
}
|
|
560
629
|
export function createMedia(transport) {
|
|
561
630
|
return {
|
|
631
|
+
generation: {
|
|
632
|
+
capabilities: {
|
|
633
|
+
list: bind(transport, sdk.mediaGetGenerationCapabilities),
|
|
634
|
+
},
|
|
635
|
+
},
|
|
562
636
|
libraries: {
|
|
563
637
|
assets: {
|
|
564
638
|
batch: bind(transport, sdk.mediaBatchAssets),
|
|
565
639
|
create: bind(transport, options => sdk.mediaUploadAsset({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
566
640
|
delete: bind(transport, sdk.mediaDeleteAsset),
|
|
641
|
+
frames: {
|
|
642
|
+
create: bind(transport, sdk.mediaCreateFrameUrls),
|
|
643
|
+
},
|
|
567
644
|
import: {
|
|
568
645
|
create: bind(transport, sdk.mediaImportAsset),
|
|
569
646
|
},
|
|
@@ -592,7 +669,17 @@ export function createMedia(transport) {
|
|
|
592
669
|
folders: {
|
|
593
670
|
list: bind(transport, sdk.mediaListFolders),
|
|
594
671
|
},
|
|
672
|
+
generations: {
|
|
673
|
+
create: bind(transport, sdk.mediaCreateGeneration),
|
|
674
|
+
},
|
|
595
675
|
jobs: {
|
|
676
|
+
cancel: bind(transport, sdk.mediaCancelJob),
|
|
677
|
+
list: bindPage(transport, sdk.mediaListJobs),
|
|
678
|
+
outputs: {
|
|
679
|
+
save: {
|
|
680
|
+
create: bind(transport, sdk.mediaSaveGenerationOutput),
|
|
681
|
+
},
|
|
682
|
+
},
|
|
596
683
|
retrieve: bind(transport, sdk.mediaGetJob),
|
|
597
684
|
},
|
|
598
685
|
list: bindPage(transport, sdk.mediaListLibraries),
|
|
@@ -613,6 +700,10 @@ export function createMedia(transport) {
|
|
|
613
700
|
create: bind(transport, sdk.mediaVisualSearch),
|
|
614
701
|
},
|
|
615
702
|
},
|
|
703
|
+
understandings: {
|
|
704
|
+
list: bindPage(transport, sdk.mediaListUnderstandingsByLibrary),
|
|
705
|
+
retrieveFailureSummary: bind(transport, sdk.mediaUnderstandingFailureSummary),
|
|
706
|
+
},
|
|
616
707
|
update: bind(transport, sdk.mediaUpdateLibrary),
|
|
617
708
|
},
|
|
618
709
|
};
|
|
@@ -737,6 +828,9 @@ export function createOrganization(transport) {
|
|
|
737
828
|
},
|
|
738
829
|
retrieve: bind(transport, sdk.getOrganizationFeedback),
|
|
739
830
|
},
|
|
831
|
+
members: {
|
|
832
|
+
list: bind(transport, sdk.listOrganizationMembers),
|
|
833
|
+
},
|
|
740
834
|
usage: {
|
|
741
835
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
742
836
|
},
|
|
@@ -788,7 +882,24 @@ export function createSandbox(transport) {
|
|
|
788
882
|
list: bind(transport, sdk.getSandboxV1Snapshots),
|
|
789
883
|
},
|
|
790
884
|
templates: {
|
|
791
|
-
|
|
885
|
+
aliases: {
|
|
886
|
+
retrieve: bind(transport, sdk.resolveTemplateAlias),
|
|
887
|
+
},
|
|
888
|
+
builds: {
|
|
889
|
+
status: {
|
|
890
|
+
list: bind(transport, sdk.getTemplateBuildStatus),
|
|
891
|
+
},
|
|
892
|
+
update: bind(transport, sdk.startTemplateBuild),
|
|
893
|
+
},
|
|
894
|
+
create: bind(transport, sdk.requestTemplateBuild),
|
|
895
|
+
delete: bind(transport, sdk.deleteUserTemplate),
|
|
896
|
+
list: bind(transport, sdk.listSandboxTemplates),
|
|
897
|
+
retrieve: bind(transport, sdk.getTemplateWithBuilds),
|
|
898
|
+
tags: {
|
|
899
|
+
create: bind(transport, sdk.assignTemplateTags),
|
|
900
|
+
delete: bind(transport, sdk.deleteTemplateTags),
|
|
901
|
+
list: bind(transport, sdk.listTemplateTags),
|
|
902
|
+
},
|
|
792
903
|
},
|
|
793
904
|
volumes: {
|
|
794
905
|
create: bind(transport, sdk.postSandboxV1Volumes),
|
|
@@ -951,6 +1062,7 @@ export const resourceFactories = {
|
|
|
951
1062
|
automation: createAutomation,
|
|
952
1063
|
browser: createBrowser,
|
|
953
1064
|
canvas: createCanvas,
|
|
1065
|
+
crm: createCrm,
|
|
954
1066
|
cut: createCut,
|
|
955
1067
|
database: createDatabase,
|
|
956
1068
|
file: createFile,
|