@deepraxis/sdk 0.1.1-dev.124112f → 0.1.1-dev.13afd32
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 +172 -1
- 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 +437 -21
- package/dist/generated/sdk.gen.js +1930 -705
- package/dist/generated/types.gen.d.ts +28510 -22109
- 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 +2067 -183
- package/dist/operations.generated.js +2545 -183
- package/dist/resources.generated.d.ts +185 -1
- package/dist/resources.generated.js +99 -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>;
|
|
@@ -4939,6 +5073,19 @@ export declare function createOrganization(transport: Transport): {
|
|
|
4939
5073
|
}>;
|
|
4940
5074
|
}>;
|
|
4941
5075
|
};
|
|
5076
|
+
members: {
|
|
5077
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
5078
|
+
data: Array<{
|
|
5079
|
+
id: string;
|
|
5080
|
+
name: string | null;
|
|
5081
|
+
email: string;
|
|
5082
|
+
role: "owner" | "admin" | "member";
|
|
5083
|
+
joined_at: string;
|
|
5084
|
+
}>;
|
|
5085
|
+
has_more: boolean;
|
|
5086
|
+
next_page: string | null;
|
|
5087
|
+
}>;
|
|
5088
|
+
};
|
|
4942
5089
|
usage: {
|
|
4943
5090
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
4944
5091
|
object: "page";
|
|
@@ -5055,7 +5202,43 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5055
5202
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
5056
5203
|
};
|
|
5057
5204
|
templates: {
|
|
5058
|
-
|
|
5205
|
+
aliases: {
|
|
5206
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5207
|
+
};
|
|
5208
|
+
builds: {
|
|
5209
|
+
status: {
|
|
5210
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5211
|
+
};
|
|
5212
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5213
|
+
};
|
|
5214
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5215
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5216
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5217
|
+
templateID: string;
|
|
5218
|
+
buildID: string;
|
|
5219
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5220
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5221
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5222
|
+
public: boolean;
|
|
5223
|
+
aliases: Array<string>;
|
|
5224
|
+
names: Array<string>;
|
|
5225
|
+
createdAt: string;
|
|
5226
|
+
updatedAt: string;
|
|
5227
|
+
createdBy: Types.SandboxTeamUser;
|
|
5228
|
+
lastSpawnedAt: string;
|
|
5229
|
+
spawnCount: number;
|
|
5230
|
+
buildCount: number;
|
|
5231
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5232
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5233
|
+
official: boolean;
|
|
5234
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5235
|
+
}[]>;
|
|
5236
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5237
|
+
tags: {
|
|
5238
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5239
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5240
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5241
|
+
};
|
|
5059
5242
|
};
|
|
5060
5243
|
volumes: {
|
|
5061
5244
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5318,6 +5501,7 @@ export declare const resourceFactories: {
|
|
|
5318
5501
|
automation: typeof createAutomation;
|
|
5319
5502
|
browser: typeof createBrowser;
|
|
5320
5503
|
canvas: typeof createCanvas;
|
|
5504
|
+
crm: typeof createCrm;
|
|
5321
5505
|
cut: typeof createCut;
|
|
5322
5506
|
database: typeof createDatabase;
|
|
5323
5507
|
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),
|
|
@@ -729,6 +806,9 @@ export function createOrganization(transport) {
|
|
|
729
806
|
},
|
|
730
807
|
retrieve: bind(transport, sdk.getOrganizationFeedback),
|
|
731
808
|
},
|
|
809
|
+
members: {
|
|
810
|
+
list: bind(transport, sdk.listOrganizationMembers),
|
|
811
|
+
},
|
|
732
812
|
usage: {
|
|
733
813
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
734
814
|
},
|
|
@@ -780,7 +860,24 @@ export function createSandbox(transport) {
|
|
|
780
860
|
list: bind(transport, sdk.getSandboxV1Snapshots),
|
|
781
861
|
},
|
|
782
862
|
templates: {
|
|
783
|
-
|
|
863
|
+
aliases: {
|
|
864
|
+
retrieve: bind(transport, sdk.resolveTemplateAlias),
|
|
865
|
+
},
|
|
866
|
+
builds: {
|
|
867
|
+
status: {
|
|
868
|
+
list: bind(transport, sdk.getTemplateBuildStatus),
|
|
869
|
+
},
|
|
870
|
+
update: bind(transport, sdk.startTemplateBuild),
|
|
871
|
+
},
|
|
872
|
+
create: bind(transport, sdk.requestTemplateBuild),
|
|
873
|
+
delete: bind(transport, sdk.deleteUserTemplate),
|
|
874
|
+
list: bind(transport, sdk.listSandboxTemplates),
|
|
875
|
+
retrieve: bind(transport, sdk.getTemplateWithBuilds),
|
|
876
|
+
tags: {
|
|
877
|
+
create: bind(transport, sdk.assignTemplateTags),
|
|
878
|
+
delete: bind(transport, sdk.deleteTemplateTags),
|
|
879
|
+
list: bind(transport, sdk.listTemplateTags),
|
|
880
|
+
},
|
|
784
881
|
},
|
|
785
882
|
volumes: {
|
|
786
883
|
create: bind(transport, sdk.postSandboxV1Volumes),
|
|
@@ -943,6 +1040,7 @@ export const resourceFactories = {
|
|
|
943
1040
|
automation: createAutomation,
|
|
944
1041
|
browser: createBrowser,
|
|
945
1042
|
canvas: createCanvas,
|
|
1043
|
+
crm: createCrm,
|
|
946
1044
|
cut: createCut,
|
|
947
1045
|
database: createDatabase,
|
|
948
1046
|
file: createFile,
|