@deepraxis/sdk 0.1.1-dev.c636c4e → 0.1.1-dev.cc34a92
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 +198 -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 +403 -14
- package/dist/generated/sdk.gen.js +1984 -674
- package/dist/generated/types.gen.d.ts +27703 -21683
- 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 +2230 -124
- package/dist/operations.generated.js +2686 -50
- package/dist/resources.generated.d.ts +235 -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
|
}>;
|
|
@@ -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,79 @@ 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 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>;
|
|
3888
4070
|
};
|
|
3889
4071
|
};
|
|
3890
4072
|
export declare function createCut(transport: Transport): {
|
|
@@ -3976,6 +4158,17 @@ export declare function createDatabase(transport: Transport): {
|
|
|
3976
4158
|
};
|
|
3977
4159
|
export declare function createFile(transport: Transport): {
|
|
3978
4160
|
files: {
|
|
4161
|
+
contentLinks: {
|
|
4162
|
+
revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
|
|
4163
|
+
revoked: true;
|
|
4164
|
+
}>;
|
|
4165
|
+
};
|
|
4166
|
+
contentUrl: {
|
|
4167
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
|
|
4168
|
+
url: string;
|
|
4169
|
+
expires_at: string;
|
|
4170
|
+
}>;
|
|
4171
|
+
};
|
|
3979
4172
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
3980
4173
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
3981
4174
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -3986,6 +4179,7 @@ export declare function createFile(transport: Transport): {
|
|
|
3986
4179
|
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3987
4180
|
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3988
4181
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4182
|
+
createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
|
|
3989
4183
|
parts: {
|
|
3990
4184
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
3991
4185
|
};
|
|
@@ -4060,6 +4254,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4060
4254
|
};
|
|
4061
4255
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4062
4256
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4257
|
+
deliveryTokens: {
|
|
4258
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
|
|
4259
|
+
};
|
|
4063
4260
|
events: {
|
|
4064
4261
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
4065
4262
|
};
|
|
@@ -4992,7 +5189,43 @@ export declare function createSandbox(transport: Transport): {
|
|
|
4992
5189
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
4993
5190
|
};
|
|
4994
5191
|
templates: {
|
|
4995
|
-
|
|
5192
|
+
aliases: {
|
|
5193
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5194
|
+
};
|
|
5195
|
+
builds: {
|
|
5196
|
+
status: {
|
|
5197
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5198
|
+
};
|
|
5199
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5200
|
+
};
|
|
5201
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5202
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5203
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5204
|
+
templateID: string;
|
|
5205
|
+
buildID: string;
|
|
5206
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5207
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5208
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5209
|
+
public: boolean;
|
|
5210
|
+
aliases: Array<string>;
|
|
5211
|
+
names: Array<string>;
|
|
5212
|
+
createdAt: string;
|
|
5213
|
+
updatedAt: string;
|
|
5214
|
+
createdBy: Types.SandboxTeamUser;
|
|
5215
|
+
lastSpawnedAt: string;
|
|
5216
|
+
spawnCount: number;
|
|
5217
|
+
buildCount: number;
|
|
5218
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5219
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5220
|
+
official: boolean;
|
|
5221
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5222
|
+
}[]>;
|
|
5223
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5224
|
+
tags: {
|
|
5225
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5226
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5227
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5228
|
+
};
|
|
4996
5229
|
};
|
|
4997
5230
|
volumes: {
|
|
4998
5231
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5255,6 +5488,7 @@ export declare const resourceFactories: {
|
|
|
5255
5488
|
automation: typeof createAutomation;
|
|
5256
5489
|
browser: typeof createBrowser;
|
|
5257
5490
|
canvas: typeof createCanvas;
|
|
5491
|
+
crm: typeof createCrm;
|
|
5258
5492
|
cut: typeof createCut;
|
|
5259
5493
|
database: typeof createDatabase;
|
|
5260
5494
|
file: typeof createFile;
|
|
@@ -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,81 @@ 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 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),
|
|
389
473
|
},
|
|
390
474
|
};
|
|
391
475
|
}
|
|
@@ -473,6 +557,12 @@ export function createDatabase(transport) {
|
|
|
473
557
|
export function createFile(transport) {
|
|
474
558
|
return {
|
|
475
559
|
files: {
|
|
560
|
+
contentLinks: {
|
|
561
|
+
revoke: bind(transport, sdk.fileRevokeContentLink),
|
|
562
|
+
},
|
|
563
|
+
contentUrl: {
|
|
564
|
+
create: bind(transport, sdk.fileCreateContentUrl),
|
|
565
|
+
},
|
|
476
566
|
create: bind(transport, options => sdk.fileCreateFile({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
477
567
|
delete: bind(transport, sdk.fileDeleteFile),
|
|
478
568
|
list: bind(transport, sdk.fileListFiles),
|
|
@@ -483,6 +573,7 @@ export function createFile(transport) {
|
|
|
483
573
|
cancel: bind(transport, sdk.fileCancelUpload),
|
|
484
574
|
complete: bind(transport, sdk.fileCompleteUpload),
|
|
485
575
|
create: bind(transport, sdk.fileCreateUpload),
|
|
576
|
+
createSigned: bind(transport, sdk.fileCreateSignedUpload),
|
|
486
577
|
parts: {
|
|
487
578
|
create: bind(transport, options => sdk.fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
488
579
|
},
|
|
@@ -561,6 +652,9 @@ export function createMedia(transport) {
|
|
|
561
652
|
},
|
|
562
653
|
create: bind(transport, sdk.mediaCreateLibrary),
|
|
563
654
|
delete: bind(transport, sdk.mediaDeleteLibrary),
|
|
655
|
+
deliveryTokens: {
|
|
656
|
+
create: bind(transport, sdk.mediaCreateDeliveryToken),
|
|
657
|
+
},
|
|
564
658
|
events: {
|
|
565
659
|
list: bind(transport, sdk.mediaListEvents),
|
|
566
660
|
},
|
|
@@ -763,7 +857,24 @@ export function createSandbox(transport) {
|
|
|
763
857
|
list: bind(transport, sdk.getSandboxV1Snapshots),
|
|
764
858
|
},
|
|
765
859
|
templates: {
|
|
766
|
-
|
|
860
|
+
aliases: {
|
|
861
|
+
retrieve: bind(transport, sdk.resolveTemplateAlias),
|
|
862
|
+
},
|
|
863
|
+
builds: {
|
|
864
|
+
status: {
|
|
865
|
+
list: bind(transport, sdk.getTemplateBuildStatus),
|
|
866
|
+
},
|
|
867
|
+
update: bind(transport, sdk.startTemplateBuild),
|
|
868
|
+
},
|
|
869
|
+
create: bind(transport, sdk.requestTemplateBuild),
|
|
870
|
+
delete: bind(transport, sdk.deleteUserTemplate),
|
|
871
|
+
list: bind(transport, sdk.listSandboxTemplates),
|
|
872
|
+
retrieve: bind(transport, sdk.getTemplateWithBuilds),
|
|
873
|
+
tags: {
|
|
874
|
+
create: bind(transport, sdk.assignTemplateTags),
|
|
875
|
+
delete: bind(transport, sdk.deleteTemplateTags),
|
|
876
|
+
list: bind(transport, sdk.listTemplateTags),
|
|
877
|
+
},
|
|
767
878
|
},
|
|
768
879
|
volumes: {
|
|
769
880
|
create: bind(transport, sdk.postSandboxV1Volumes),
|
|
@@ -926,6 +1037,7 @@ export const resourceFactories = {
|
|
|
926
1037
|
automation: createAutomation,
|
|
927
1038
|
browser: createBrowser,
|
|
928
1039
|
canvas: createCanvas,
|
|
1040
|
+
crm: createCrm,
|
|
929
1041
|
cut: createCut,
|
|
930
1042
|
database: createDatabase,
|
|
931
1043
|
file: createFile,
|