@deepraxis/sdk 0.1.1-dev.7f17950 → 0.1.1-dev.7fcfb44
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 +185 -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 +502 -44
- package/dist/generated/sdk.gen.js +1996 -701
- package/dist/generated/types.gen.d.ts +29007 -22135
- 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 +2203 -224
- package/dist/operations.generated.js +2709 -223
- package/dist/resources.generated.d.ts +198 -1
- package/dist/resources.generated.js +106 -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,7 +3994,79 @@ 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>;
|
|
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 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>;
|
|
3942
4070
|
};
|
|
3943
4071
|
};
|
|
3944
4072
|
export declare function createCut(transport: Transport): {
|
|
@@ -4035,6 +4163,12 @@ export declare function createFile(transport: Transport): {
|
|
|
4035
4163
|
revoked: true;
|
|
4036
4164
|
}>;
|
|
4037
4165
|
};
|
|
4166
|
+
contentUrl: {
|
|
4167
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
|
|
4168
|
+
url: string;
|
|
4169
|
+
expires_at: string;
|
|
4170
|
+
}>;
|
|
4171
|
+
};
|
|
4038
4172
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
4039
4173
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
4040
4174
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -4101,6 +4235,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4101
4235
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4102
4236
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4103
4237
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4238
|
+
frames: {
|
|
4239
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4240
|
+
};
|
|
4104
4241
|
import: {
|
|
4105
4242
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4106
4243
|
};
|
|
@@ -4150,6 +4287,10 @@ export declare function createMedia(transport: Transport): {
|
|
|
4150
4287
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
4151
4288
|
};
|
|
4152
4289
|
};
|
|
4290
|
+
understandings: {
|
|
4291
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
4292
|
+
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4293
|
+
};
|
|
4153
4294
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4154
4295
|
};
|
|
4155
4296
|
};
|
|
@@ -4203,11 +4344,17 @@ export declare function createModel(transport: Transport): {
|
|
|
4203
4344
|
start: number;
|
|
4204
4345
|
end: number;
|
|
4205
4346
|
text: string;
|
|
4347
|
+
speaker?: string;
|
|
4206
4348
|
temperature?: number;
|
|
4207
4349
|
avg_logprob?: number;
|
|
4208
4350
|
compression_ratio?: number;
|
|
4209
4351
|
no_speech_prob?: number;
|
|
4210
4352
|
}>;
|
|
4353
|
+
words?: Array<{
|
|
4354
|
+
word: string;
|
|
4355
|
+
start: number;
|
|
4356
|
+
end: number;
|
|
4357
|
+
}>;
|
|
4211
4358
|
}>;
|
|
4212
4359
|
};
|
|
4213
4360
|
};
|
|
@@ -4939,6 +5086,19 @@ export declare function createOrganization(transport: Transport): {
|
|
|
4939
5086
|
}>;
|
|
4940
5087
|
}>;
|
|
4941
5088
|
};
|
|
5089
|
+
members: {
|
|
5090
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
5091
|
+
data: Array<{
|
|
5092
|
+
id: string;
|
|
5093
|
+
name: string | null;
|
|
5094
|
+
email: string;
|
|
5095
|
+
role: "owner" | "admin" | "member";
|
|
5096
|
+
joined_at: string;
|
|
5097
|
+
}>;
|
|
5098
|
+
has_more: boolean;
|
|
5099
|
+
next_page: string | null;
|
|
5100
|
+
}>;
|
|
5101
|
+
};
|
|
4942
5102
|
usage: {
|
|
4943
5103
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
4944
5104
|
object: "page";
|
|
@@ -5055,7 +5215,43 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5055
5215
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
5056
5216
|
};
|
|
5057
5217
|
templates: {
|
|
5058
|
-
|
|
5218
|
+
aliases: {
|
|
5219
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5220
|
+
};
|
|
5221
|
+
builds: {
|
|
5222
|
+
status: {
|
|
5223
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5224
|
+
};
|
|
5225
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5226
|
+
};
|
|
5227
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5228
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5229
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5230
|
+
templateID: string;
|
|
5231
|
+
buildID: string;
|
|
5232
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5233
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5234
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5235
|
+
public: boolean;
|
|
5236
|
+
aliases: Array<string>;
|
|
5237
|
+
names: Array<string>;
|
|
5238
|
+
createdAt: string;
|
|
5239
|
+
updatedAt: string;
|
|
5240
|
+
createdBy: Types.SandboxTeamUser;
|
|
5241
|
+
lastSpawnedAt: string;
|
|
5242
|
+
spawnCount: number;
|
|
5243
|
+
buildCount: number;
|
|
5244
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5245
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5246
|
+
official: boolean;
|
|
5247
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5248
|
+
}[]>;
|
|
5249
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5250
|
+
tags: {
|
|
5251
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5252
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5253
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5254
|
+
};
|
|
5059
5255
|
};
|
|
5060
5256
|
volumes: {
|
|
5061
5257
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5318,6 +5514,7 @@ export declare const resourceFactories: {
|
|
|
5318
5514
|
automation: typeof createAutomation;
|
|
5319
5515
|
browser: typeof createBrowser;
|
|
5320
5516
|
canvas: typeof createCanvas;
|
|
5517
|
+
crm: typeof createCrm;
|
|
5321
5518
|
cut: typeof createCut;
|
|
5322
5519
|
database: typeof createDatabase;
|
|
5323
5520
|
file: typeof createFile;
|
|
@@ -395,7 +395,81 @@ 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),
|
|
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 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),
|
|
399
473
|
},
|
|
400
474
|
};
|
|
401
475
|
}
|
|
@@ -486,6 +560,9 @@ export function createFile(transport) {
|
|
|
486
560
|
contentLinks: {
|
|
487
561
|
revoke: bind(transport, sdk.fileRevokeContentLink),
|
|
488
562
|
},
|
|
563
|
+
contentUrl: {
|
|
564
|
+
create: bind(transport, sdk.fileCreateContentUrl),
|
|
565
|
+
},
|
|
489
566
|
create: bind(transport, options => sdk.fileCreateFile({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
490
567
|
delete: bind(transport, sdk.fileDeleteFile),
|
|
491
568
|
list: bind(transport, sdk.fileListFiles),
|
|
@@ -556,6 +633,9 @@ export function createMedia(transport) {
|
|
|
556
633
|
batch: bind(transport, sdk.mediaBatchAssets),
|
|
557
634
|
create: bind(transport, options => sdk.mediaUploadAsset({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
558
635
|
delete: bind(transport, sdk.mediaDeleteAsset),
|
|
636
|
+
frames: {
|
|
637
|
+
create: bind(transport, sdk.mediaCreateFrameUrls),
|
|
638
|
+
},
|
|
559
639
|
import: {
|
|
560
640
|
create: bind(transport, sdk.mediaImportAsset),
|
|
561
641
|
},
|
|
@@ -605,6 +685,10 @@ export function createMedia(transport) {
|
|
|
605
685
|
create: bind(transport, sdk.mediaVisualSearch),
|
|
606
686
|
},
|
|
607
687
|
},
|
|
688
|
+
understandings: {
|
|
689
|
+
list: bindPage(transport, sdk.mediaListUnderstandingsByLibrary),
|
|
690
|
+
retrieveFailureSummary: bind(transport, sdk.mediaUnderstandingFailureSummary),
|
|
691
|
+
},
|
|
608
692
|
update: bind(transport, sdk.mediaUpdateLibrary),
|
|
609
693
|
},
|
|
610
694
|
};
|
|
@@ -729,6 +813,9 @@ export function createOrganization(transport) {
|
|
|
729
813
|
},
|
|
730
814
|
retrieve: bind(transport, sdk.getOrganizationFeedback),
|
|
731
815
|
},
|
|
816
|
+
members: {
|
|
817
|
+
list: bind(transport, sdk.listOrganizationMembers),
|
|
818
|
+
},
|
|
732
819
|
usage: {
|
|
733
820
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
734
821
|
},
|
|
@@ -780,7 +867,24 @@ export function createSandbox(transport) {
|
|
|
780
867
|
list: bind(transport, sdk.getSandboxV1Snapshots),
|
|
781
868
|
},
|
|
782
869
|
templates: {
|
|
783
|
-
|
|
870
|
+
aliases: {
|
|
871
|
+
retrieve: bind(transport, sdk.resolveTemplateAlias),
|
|
872
|
+
},
|
|
873
|
+
builds: {
|
|
874
|
+
status: {
|
|
875
|
+
list: bind(transport, sdk.getTemplateBuildStatus),
|
|
876
|
+
},
|
|
877
|
+
update: bind(transport, sdk.startTemplateBuild),
|
|
878
|
+
},
|
|
879
|
+
create: bind(transport, sdk.requestTemplateBuild),
|
|
880
|
+
delete: bind(transport, sdk.deleteUserTemplate),
|
|
881
|
+
list: bind(transport, sdk.listSandboxTemplates),
|
|
882
|
+
retrieve: bind(transport, sdk.getTemplateWithBuilds),
|
|
883
|
+
tags: {
|
|
884
|
+
create: bind(transport, sdk.assignTemplateTags),
|
|
885
|
+
delete: bind(transport, sdk.deleteTemplateTags),
|
|
886
|
+
list: bind(transport, sdk.listTemplateTags),
|
|
887
|
+
},
|
|
784
888
|
},
|
|
785
889
|
volumes: {
|
|
786
890
|
create: bind(transport, sdk.postSandboxV1Volumes),
|
|
@@ -943,6 +1047,7 @@ export const resourceFactories = {
|
|
|
943
1047
|
automation: createAutomation,
|
|
944
1048
|
browser: createBrowser,
|
|
945
1049
|
canvas: createCanvas,
|
|
1050
|
+
crm: createCrm,
|
|
946
1051
|
cut: createCut,
|
|
947
1052
|
database: createDatabase,
|
|
948
1053
|
file: createFile,
|