@deepraxis/sdk 0.1.1-dev.de0a917 → 0.1.1-dev.df9eeaa
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 +210 -1
- package/README.md +2 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +560 -47
- package/dist/generated/sdk.gen.js +1775 -632
- package/dist/generated/types.gen.d.ts +38429 -30541
- package/dist/operations.generated.d.ts +2943 -788
- package/dist/operations.generated.js +3874 -1165
- package/dist/resources.generated.d.ts +157 -8
- package/dist/resources.generated.js +125 -0
- package/package.json +2 -2
|
@@ -45,7 +45,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
45
45
|
readonly verified?: boolean;
|
|
46
46
|
enabled?: boolean;
|
|
47
47
|
} | {
|
|
48
|
-
type: "search" | "browser";
|
|
48
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
49
49
|
readonly verified?: boolean;
|
|
50
50
|
enabled?: boolean;
|
|
51
51
|
}>;
|
|
@@ -212,7 +212,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
212
212
|
readonly verified?: boolean;
|
|
213
213
|
enabled?: boolean;
|
|
214
214
|
} | {
|
|
215
|
-
type: "search" | "browser";
|
|
215
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
216
216
|
readonly verified?: boolean;
|
|
217
217
|
enabled?: boolean;
|
|
218
218
|
}>;
|
|
@@ -508,7 +508,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
508
508
|
readonly verified?: boolean;
|
|
509
509
|
enabled?: boolean;
|
|
510
510
|
} | {
|
|
511
|
-
type: "search" | "browser";
|
|
511
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
512
512
|
readonly verified?: boolean;
|
|
513
513
|
enabled?: boolean;
|
|
514
514
|
}>;
|
|
@@ -678,7 +678,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
678
678
|
readonly verified?: boolean;
|
|
679
679
|
enabled?: boolean;
|
|
680
680
|
} | {
|
|
681
|
-
type: "search" | "browser";
|
|
681
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
682
682
|
readonly verified?: boolean;
|
|
683
683
|
enabled?: boolean;
|
|
684
684
|
}>;
|
|
@@ -1107,7 +1107,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1107
1107
|
readonly verified?: boolean;
|
|
1108
1108
|
enabled?: boolean;
|
|
1109
1109
|
} | {
|
|
1110
|
-
type: "search" | "browser";
|
|
1110
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1111
1111
|
readonly verified?: boolean;
|
|
1112
1112
|
enabled?: boolean;
|
|
1113
1113
|
}>;
|
|
@@ -1276,7 +1276,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1276
1276
|
readonly verified?: boolean;
|
|
1277
1277
|
enabled?: boolean;
|
|
1278
1278
|
} | {
|
|
1279
|
-
type: "search" | "browser";
|
|
1279
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1280
1280
|
readonly verified?: boolean;
|
|
1281
1281
|
enabled?: boolean;
|
|
1282
1282
|
}>;
|
|
@@ -1445,7 +1445,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1445
1445
|
readonly verified?: boolean;
|
|
1446
1446
|
enabled?: boolean;
|
|
1447
1447
|
} | {
|
|
1448
|
-
type: "search" | "browser";
|
|
1448
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1449
1449
|
readonly verified?: boolean;
|
|
1450
1450
|
enabled?: boolean;
|
|
1451
1451
|
}>;
|
|
@@ -1614,7 +1614,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1614
1614
|
readonly verified?: boolean;
|
|
1615
1615
|
enabled?: boolean;
|
|
1616
1616
|
} | {
|
|
1617
|
-
type: "search" | "browser";
|
|
1617
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1618
1618
|
readonly verified?: boolean;
|
|
1619
1619
|
enabled?: boolean;
|
|
1620
1620
|
}>;
|
|
@@ -1793,6 +1793,20 @@ export declare function createAgent(transport: Transport): {
|
|
|
1793
1793
|
type: "computer_deleted";
|
|
1794
1794
|
}>;
|
|
1795
1795
|
files: {
|
|
1796
|
+
convert: {
|
|
1797
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
|
|
1798
|
+
type: "computer";
|
|
1799
|
+
id: string;
|
|
1800
|
+
name: string;
|
|
1801
|
+
sandbox_id: string | null;
|
|
1802
|
+
machine_state: "not_started" | "provisioned";
|
|
1803
|
+
environment_id: string | null;
|
|
1804
|
+
status: "active" | "archived";
|
|
1805
|
+
created_at: string;
|
|
1806
|
+
updated_at: string;
|
|
1807
|
+
archived_at: string | null;
|
|
1808
|
+
}>;
|
|
1809
|
+
};
|
|
1796
1810
|
list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
|
|
1797
1811
|
data: Array<{
|
|
1798
1812
|
path: string;
|
|
@@ -4009,6 +4023,66 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4009
4023
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4010
4024
|
};
|
|
4011
4025
|
};
|
|
4026
|
+
export declare function createCrm(transport: Transport): {
|
|
4027
|
+
associations: {
|
|
4028
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
4029
|
+
createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
|
|
4030
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
|
|
4031
|
+
remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
|
|
4032
|
+
};
|
|
4033
|
+
changes: {
|
|
4034
|
+
revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
|
|
4035
|
+
};
|
|
4036
|
+
layouts: {
|
|
4037
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
|
|
4038
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
|
|
4039
|
+
};
|
|
4040
|
+
leads: {
|
|
4041
|
+
qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
|
|
4042
|
+
};
|
|
4043
|
+
objects: {
|
|
4044
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4045
|
+
batch: {
|
|
4046
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4047
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4048
|
+
read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
|
|
4049
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4050
|
+
upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
|
|
4051
|
+
};
|
|
4052
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4053
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
|
|
4054
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
|
|
4055
|
+
search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
|
|
4056
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4057
|
+
};
|
|
4058
|
+
pipelines: {
|
|
4059
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4060
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4061
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
|
|
4062
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
|
|
4063
|
+
stages: {
|
|
4064
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4065
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4066
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4067
|
+
};
|
|
4068
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4069
|
+
};
|
|
4070
|
+
properties: {
|
|
4071
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4072
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4073
|
+
groups: {
|
|
4074
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
|
|
4075
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
|
|
4076
|
+
};
|
|
4077
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
|
|
4078
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
|
|
4079
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4080
|
+
};
|
|
4081
|
+
schemas: {
|
|
4082
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
|
|
4083
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4084
|
+
};
|
|
4085
|
+
};
|
|
4012
4086
|
export declare function createCut(transport: Transport): {
|
|
4013
4087
|
exports: {
|
|
4014
4088
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4123,6 +4197,7 @@ export declare function createFile(transport: Transport): {
|
|
|
4123
4197
|
parts: {
|
|
4124
4198
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
4125
4199
|
};
|
|
4200
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4126
4201
|
};
|
|
4127
4202
|
};
|
|
4128
4203
|
export declare function createKnowledge(transport: Transport): {
|
|
@@ -4170,11 +4245,19 @@ export declare function createKnowledge(transport: Transport): {
|
|
|
4170
4245
|
};
|
|
4171
4246
|
};
|
|
4172
4247
|
export declare function createMedia(transport: Transport): {
|
|
4248
|
+
generation: {
|
|
4249
|
+
capabilities: {
|
|
4250
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
|
|
4251
|
+
};
|
|
4252
|
+
};
|
|
4173
4253
|
libraries: {
|
|
4174
4254
|
assets: {
|
|
4175
4255
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4176
4256
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4177
4257
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4258
|
+
frames: {
|
|
4259
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4260
|
+
};
|
|
4178
4261
|
import: {
|
|
4179
4262
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4180
4263
|
};
|
|
@@ -4203,7 +4286,17 @@ export declare function createMedia(transport: Transport): {
|
|
|
4203
4286
|
folders: {
|
|
4204
4287
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
|
|
4205
4288
|
};
|
|
4289
|
+
generations: {
|
|
4290
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
|
|
4291
|
+
};
|
|
4206
4292
|
jobs: {
|
|
4293
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
|
|
4294
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
|
|
4295
|
+
outputs: {
|
|
4296
|
+
save: {
|
|
4297
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
|
|
4298
|
+
};
|
|
4299
|
+
};
|
|
4207
4300
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
|
|
4208
4301
|
};
|
|
4209
4302
|
list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
|
|
@@ -4224,6 +4317,10 @@ export declare function createMedia(transport: Transport): {
|
|
|
4224
4317
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
4225
4318
|
};
|
|
4226
4319
|
};
|
|
4320
|
+
understandings: {
|
|
4321
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
4322
|
+
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4323
|
+
};
|
|
4227
4324
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4228
4325
|
};
|
|
4229
4326
|
};
|
|
@@ -4277,11 +4374,17 @@ export declare function createModel(transport: Transport): {
|
|
|
4277
4374
|
start: number;
|
|
4278
4375
|
end: number;
|
|
4279
4376
|
text: string;
|
|
4377
|
+
speaker?: string;
|
|
4280
4378
|
temperature?: number;
|
|
4281
4379
|
avg_logprob?: number;
|
|
4282
4380
|
compression_ratio?: number;
|
|
4283
4381
|
no_speech_prob?: number;
|
|
4284
4382
|
}>;
|
|
4383
|
+
words?: Array<{
|
|
4384
|
+
word: string;
|
|
4385
|
+
start: number;
|
|
4386
|
+
end: number;
|
|
4387
|
+
}>;
|
|
4285
4388
|
}>;
|
|
4286
4389
|
};
|
|
4287
4390
|
};
|
|
@@ -4769,6 +4872,36 @@ export declare function createModel(transport: Transport): {
|
|
|
4769
4872
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
4770
4873
|
};
|
|
4771
4874
|
};
|
|
4875
|
+
export declare function createOntology(transport: Transport): {
|
|
4876
|
+
changesets: {
|
|
4877
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
|
|
4878
|
+
};
|
|
4879
|
+
nodes: {
|
|
4880
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
|
|
4881
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
|
|
4882
|
+
merge: {
|
|
4883
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
|
|
4884
|
+
};
|
|
4885
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
|
|
4886
|
+
update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
|
|
4887
|
+
};
|
|
4888
|
+
relations: {
|
|
4889
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
|
|
4890
|
+
invalidate: {
|
|
4891
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
|
|
4892
|
+
};
|
|
4893
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
|
|
4894
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
|
|
4895
|
+
};
|
|
4896
|
+
search: {
|
|
4897
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
|
|
4898
|
+
};
|
|
4899
|
+
types: {
|
|
4900
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
|
|
4901
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
|
|
4902
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
|
|
4903
|
+
};
|
|
4904
|
+
};
|
|
4772
4905
|
export declare function createOrganization(transport: Transport): {
|
|
4773
4906
|
charges: {
|
|
4774
4907
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
@@ -5013,6 +5146,19 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5013
5146
|
}>;
|
|
5014
5147
|
}>;
|
|
5015
5148
|
};
|
|
5149
|
+
members: {
|
|
5150
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
5151
|
+
data: Array<{
|
|
5152
|
+
id: string;
|
|
5153
|
+
name: string | null;
|
|
5154
|
+
email: string;
|
|
5155
|
+
role: "owner" | "admin" | "member";
|
|
5156
|
+
joined_at: string;
|
|
5157
|
+
}>;
|
|
5158
|
+
has_more: boolean;
|
|
5159
|
+
next_page: string | null;
|
|
5160
|
+
}>;
|
|
5161
|
+
};
|
|
5016
5162
|
usage: {
|
|
5017
5163
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
5018
5164
|
object: "page";
|
|
@@ -5157,6 +5303,7 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5157
5303
|
buildCount: number;
|
|
5158
5304
|
envdVersion: Types.SandboxEnvdVersion;
|
|
5159
5305
|
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5306
|
+
lifecycles?: Array<"ephemeral" | "persistent">;
|
|
5160
5307
|
official: boolean;
|
|
5161
5308
|
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5162
5309
|
}[]>;
|
|
@@ -5428,6 +5575,7 @@ export declare const resourceFactories: {
|
|
|
5428
5575
|
automation: typeof createAutomation;
|
|
5429
5576
|
browser: typeof createBrowser;
|
|
5430
5577
|
canvas: typeof createCanvas;
|
|
5578
|
+
crm: typeof createCrm;
|
|
5431
5579
|
cut: typeof createCut;
|
|
5432
5580
|
database: typeof createDatabase;
|
|
5433
5581
|
file: typeof createFile;
|
|
@@ -5435,6 +5583,7 @@ export declare const resourceFactories: {
|
|
|
5435
5583
|
media: typeof createMedia;
|
|
5436
5584
|
meta: typeof createMeta;
|
|
5437
5585
|
model: typeof createModel;
|
|
5586
|
+
ontology: typeof createOntology;
|
|
5438
5587
|
organization: typeof createOrganization;
|
|
5439
5588
|
sandbox: typeof createSandbox;
|
|
5440
5589
|
search: typeof createSearch;
|
|
@@ -55,6 +55,9 @@ export function createAgent(transport) {
|
|
|
55
55
|
create: bind(transport, sdk.computersCreate),
|
|
56
56
|
delete: bind(transport, sdk.computersDelete),
|
|
57
57
|
files: {
|
|
58
|
+
convert: {
|
|
59
|
+
create: bind(transport, sdk.computersFilesConvert),
|
|
60
|
+
},
|
|
58
61
|
list: bind(transport, sdk.computersFilesList),
|
|
59
62
|
retrieveContent: bind(transport, sdk.computersFilesContent),
|
|
60
63
|
},
|
|
@@ -411,6 +414,68 @@ export function createCanvas(transport) {
|
|
|
411
414
|
},
|
|
412
415
|
};
|
|
413
416
|
}
|
|
417
|
+
export function createCrm(transport) {
|
|
418
|
+
return {
|
|
419
|
+
associations: {
|
|
420
|
+
create: bind(transport, sdk.crmAssociationsCreate),
|
|
421
|
+
createDefault: bind(transport, sdk.crmAssociationsCreateDefault),
|
|
422
|
+
list: bind(transport, sdk.crmAssociationsList),
|
|
423
|
+
remove: bind(transport, sdk.crmAssociationsRemove),
|
|
424
|
+
},
|
|
425
|
+
changes: {
|
|
426
|
+
revert: bind(transport, sdk.crmChangesRevert),
|
|
427
|
+
},
|
|
428
|
+
layouts: {
|
|
429
|
+
retrieve: bind(transport, sdk.crmLayoutsRetrieve),
|
|
430
|
+
update: bind(transport, sdk.crmLayoutsUpdate),
|
|
431
|
+
},
|
|
432
|
+
leads: {
|
|
433
|
+
qualify: bind(transport, sdk.crmLeadsQualify),
|
|
434
|
+
},
|
|
435
|
+
objects: {
|
|
436
|
+
archive: bind(transport, sdk.crmObjectsArchive),
|
|
437
|
+
batch: {
|
|
438
|
+
archive: bind(transport, sdk.crmObjectsBatchArchive),
|
|
439
|
+
create: bind(transport, sdk.crmObjectsBatchCreate),
|
|
440
|
+
read: bind(transport, sdk.crmObjectsBatchRead),
|
|
441
|
+
update: bind(transport, sdk.crmObjectsBatchUpdate),
|
|
442
|
+
upsert: bind(transport, sdk.crmObjectsBatchUpsert),
|
|
443
|
+
},
|
|
444
|
+
create: bind(transport, sdk.crmObjectsCreate),
|
|
445
|
+
list: bind(transport, sdk.crmObjectsList),
|
|
446
|
+
retrieve: bind(transport, sdk.crmObjectsRetrieve),
|
|
447
|
+
search: bind(transport, sdk.crmObjectsSearch),
|
|
448
|
+
update: bind(transport, sdk.crmObjectsUpdate),
|
|
449
|
+
},
|
|
450
|
+
pipelines: {
|
|
451
|
+
archive: bind(transport, sdk.crmPipelinesArchive),
|
|
452
|
+
create: bind(transport, sdk.crmPipelinesCreate),
|
|
453
|
+
list: bind(transport, sdk.crmPipelinesList),
|
|
454
|
+
retrieve: bind(transport, sdk.crmPipelinesRetrieve),
|
|
455
|
+
stages: {
|
|
456
|
+
archive: bind(transport, sdk.crmPipelinesStagesArchive),
|
|
457
|
+
create: bind(transport, sdk.crmPipelinesStagesCreate),
|
|
458
|
+
update: bind(transport, sdk.crmPipelinesStagesUpdate),
|
|
459
|
+
},
|
|
460
|
+
update: bind(transport, sdk.crmPipelinesUpdate),
|
|
461
|
+
},
|
|
462
|
+
properties: {
|
|
463
|
+
archive: bind(transport, sdk.crmPropertiesArchive),
|
|
464
|
+
create: bind(transport, sdk.crmPropertiesCreate),
|
|
465
|
+
groups: {
|
|
466
|
+
create: bind(transport, sdk.crmPropertiesGroupsCreate),
|
|
467
|
+
list: bind(transport, sdk.crmPropertiesGroupsList),
|
|
468
|
+
},
|
|
469
|
+
list: bind(transport, sdk.crmPropertiesList),
|
|
470
|
+
retrieve: bind(transport, sdk.crmPropertiesRetrieve),
|
|
471
|
+
update: bind(transport, sdk.crmPropertiesUpdate),
|
|
472
|
+
},
|
|
473
|
+
schemas: {
|
|
474
|
+
create: bind(transport, sdk.crmSchemasCreate),
|
|
475
|
+
list: bind(transport, sdk.crmSchemasList),
|
|
476
|
+
},
|
|
477
|
+
};
|
|
478
|
+
}
|
|
414
479
|
export function createCut(transport) {
|
|
415
480
|
return {
|
|
416
481
|
exports: {
|
|
@@ -515,6 +580,7 @@ export function createFile(transport) {
|
|
|
515
580
|
parts: {
|
|
516
581
|
create: bind(transport, options => sdk.fileAddUploadPart({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
517
582
|
},
|
|
583
|
+
retrieve: bind(transport, sdk.fileRetrieveUpload),
|
|
518
584
|
},
|
|
519
585
|
};
|
|
520
586
|
}
|
|
@@ -566,11 +632,19 @@ export function createKnowledge(transport) {
|
|
|
566
632
|
}
|
|
567
633
|
export function createMedia(transport) {
|
|
568
634
|
return {
|
|
635
|
+
generation: {
|
|
636
|
+
capabilities: {
|
|
637
|
+
list: bind(transport, sdk.mediaGetGenerationCapabilities),
|
|
638
|
+
},
|
|
639
|
+
},
|
|
569
640
|
libraries: {
|
|
570
641
|
assets: {
|
|
571
642
|
batch: bind(transport, sdk.mediaBatchAssets),
|
|
572
643
|
create: bind(transport, options => sdk.mediaUploadAsset({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
|
|
573
644
|
delete: bind(transport, sdk.mediaDeleteAsset),
|
|
645
|
+
frames: {
|
|
646
|
+
create: bind(transport, sdk.mediaCreateFrameUrls),
|
|
647
|
+
},
|
|
574
648
|
import: {
|
|
575
649
|
create: bind(transport, sdk.mediaImportAsset),
|
|
576
650
|
},
|
|
@@ -599,7 +673,17 @@ export function createMedia(transport) {
|
|
|
599
673
|
folders: {
|
|
600
674
|
list: bind(transport, sdk.mediaListFolders),
|
|
601
675
|
},
|
|
676
|
+
generations: {
|
|
677
|
+
create: bind(transport, sdk.mediaCreateGeneration),
|
|
678
|
+
},
|
|
602
679
|
jobs: {
|
|
680
|
+
cancel: bind(transport, sdk.mediaCancelJob),
|
|
681
|
+
list: bindPage(transport, sdk.mediaListJobs),
|
|
682
|
+
outputs: {
|
|
683
|
+
save: {
|
|
684
|
+
create: bind(transport, sdk.mediaSaveGenerationOutput),
|
|
685
|
+
},
|
|
686
|
+
},
|
|
603
687
|
retrieve: bind(transport, sdk.mediaGetJob),
|
|
604
688
|
},
|
|
605
689
|
list: bindPage(transport, sdk.mediaListLibraries),
|
|
@@ -620,6 +704,10 @@ export function createMedia(transport) {
|
|
|
620
704
|
create: bind(transport, sdk.mediaVisualSearch),
|
|
621
705
|
},
|
|
622
706
|
},
|
|
707
|
+
understandings: {
|
|
708
|
+
list: bindPage(transport, sdk.mediaListUnderstandingsByLibrary),
|
|
709
|
+
retrieveFailureSummary: bind(transport, sdk.mediaUnderstandingFailureSummary),
|
|
710
|
+
},
|
|
623
711
|
update: bind(transport, sdk.mediaUpdateLibrary),
|
|
624
712
|
},
|
|
625
713
|
};
|
|
@@ -720,6 +808,38 @@ export function createModel(transport) {
|
|
|
720
808
|
},
|
|
721
809
|
};
|
|
722
810
|
}
|
|
811
|
+
export function createOntology(transport) {
|
|
812
|
+
return {
|
|
813
|
+
changesets: {
|
|
814
|
+
create: bind(transport, sdk.ontologyApplyChangeset),
|
|
815
|
+
},
|
|
816
|
+
nodes: {
|
|
817
|
+
create: bind(transport, sdk.ontologyCreateNode),
|
|
818
|
+
list: bindPage(transport, sdk.ontologyListNodes),
|
|
819
|
+
merge: {
|
|
820
|
+
create: bind(transport, sdk.ontologyMergeNode),
|
|
821
|
+
},
|
|
822
|
+
retrieve: bind(transport, sdk.ontologyRetrieveNode),
|
|
823
|
+
update: bind(transport, sdk.ontologyUpdateNode),
|
|
824
|
+
},
|
|
825
|
+
relations: {
|
|
826
|
+
create: bind(transport, sdk.ontologyCreateRelation),
|
|
827
|
+
invalidate: {
|
|
828
|
+
create: bind(transport, sdk.ontologyInvalidateRelation),
|
|
829
|
+
},
|
|
830
|
+
list: bindPage(transport, sdk.ontologyListRelations),
|
|
831
|
+
retrieve: bind(transport, sdk.ontologyRetrieveRelation),
|
|
832
|
+
},
|
|
833
|
+
search: {
|
|
834
|
+
create: bind(transport, sdk.ontologySearch),
|
|
835
|
+
},
|
|
836
|
+
types: {
|
|
837
|
+
create: bind(transport, sdk.ontologyRegisterType),
|
|
838
|
+
list: bind(transport, sdk.ontologyListTypes),
|
|
839
|
+
retrieve: bind(transport, sdk.ontologyRetrieveType),
|
|
840
|
+
},
|
|
841
|
+
};
|
|
842
|
+
}
|
|
723
843
|
export function createOrganization(transport) {
|
|
724
844
|
return {
|
|
725
845
|
charges: {
|
|
@@ -744,6 +864,9 @@ export function createOrganization(transport) {
|
|
|
744
864
|
},
|
|
745
865
|
retrieve: bind(transport, sdk.getOrganizationFeedback),
|
|
746
866
|
},
|
|
867
|
+
members: {
|
|
868
|
+
list: bind(transport, sdk.listOrganizationMembers),
|
|
869
|
+
},
|
|
747
870
|
usage: {
|
|
748
871
|
list: bind(transport, sdk.listOrganizationUsage),
|
|
749
872
|
},
|
|
@@ -975,6 +1098,7 @@ export const resourceFactories = {
|
|
|
975
1098
|
automation: createAutomation,
|
|
976
1099
|
browser: createBrowser,
|
|
977
1100
|
canvas: createCanvas,
|
|
1101
|
+
crm: createCrm,
|
|
978
1102
|
cut: createCut,
|
|
979
1103
|
database: createDatabase,
|
|
980
1104
|
file: createFile,
|
|
@@ -982,6 +1106,7 @@ export const resourceFactories = {
|
|
|
982
1106
|
media: createMedia,
|
|
983
1107
|
meta: createMeta,
|
|
984
1108
|
model: createModel,
|
|
1109
|
+
ontology: createOntology,
|
|
985
1110
|
organization: createOrganization,
|
|
986
1111
|
sandbox: createSandbox,
|
|
987
1112
|
search: createSearch,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepraxis/sdk",
|
|
3
|
-
"version": "0.1.1-dev.
|
|
3
|
+
"version": "0.1.1-dev.df9eeaa",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"LICENSE",
|
|
28
28
|
"METHODS.md"
|
|
29
29
|
],
|
|
30
|
-
"description": "TypeScript SDK for the Praxis
|
|
30
|
+
"description": "TypeScript SDK for the Praxis API: models, agents, sandboxes, search, data and automation.",
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"homepage": "https://deepraxis.com",
|
|
33
33
|
"keywords": [
|