@deepraxis/sdk 0.1.1-dev.de0a917 → 0.1.1-dev.e47a392

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.
@@ -4009,6 +4009,66 @@ export declare function createCanvas(transport: Transport): {
4009
4009
  update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
4010
4010
  };
4011
4011
  };
4012
+ export declare function createCrm(transport: Transport): {
4013
+ associations: {
4014
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
4015
+ createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
4016
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
4017
+ remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
4018
+ };
4019
+ changes: {
4020
+ revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
4021
+ };
4022
+ layouts: {
4023
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
4024
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
4025
+ };
4026
+ leads: {
4027
+ qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
4028
+ };
4029
+ objects: {
4030
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
4031
+ batch: {
4032
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
4033
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
4034
+ read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
4035
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
4036
+ upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
4037
+ };
4038
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
4039
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
4040
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
4041
+ search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
4042
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
4043
+ };
4044
+ pipelines: {
4045
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
4046
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
4047
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
4048
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
4049
+ stages: {
4050
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
4051
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
4052
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
4053
+ };
4054
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
4055
+ };
4056
+ properties: {
4057
+ archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
4058
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
4059
+ groups: {
4060
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
4061
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
4062
+ };
4063
+ list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
4064
+ retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
4065
+ update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
4066
+ };
4067
+ schemas: {
4068
+ create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
4069
+ list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
4070
+ };
4071
+ };
4012
4072
  export declare function createCut(transport: Transport): {
4013
4073
  exports: {
4014
4074
  cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
@@ -4175,6 +4235,9 @@ export declare function createMedia(transport: Transport): {
4175
4235
  batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
4176
4236
  create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
4177
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
+ };
4178
4241
  import: {
4179
4242
  create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
4180
4243
  };
@@ -4224,6 +4287,10 @@ export declare function createMedia(transport: Transport): {
4224
4287
  create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
4225
4288
  };
4226
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
+ };
4227
4294
  update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
4228
4295
  };
4229
4296
  };
@@ -4277,11 +4344,17 @@ export declare function createModel(transport: Transport): {
4277
4344
  start: number;
4278
4345
  end: number;
4279
4346
  text: string;
4347
+ speaker?: string;
4280
4348
  temperature?: number;
4281
4349
  avg_logprob?: number;
4282
4350
  compression_ratio?: number;
4283
4351
  no_speech_prob?: number;
4284
4352
  }>;
4353
+ words?: Array<{
4354
+ word: string;
4355
+ start: number;
4356
+ end: number;
4357
+ }>;
4285
4358
  }>;
4286
4359
  };
4287
4360
  };
@@ -5013,6 +5086,19 @@ export declare function createOrganization(transport: Transport): {
5013
5086
  }>;
5014
5087
  }>;
5015
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
+ };
5016
5102
  usage: {
5017
5103
  list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
5018
5104
  object: "page";
@@ -5428,6 +5514,7 @@ export declare const resourceFactories: {
5428
5514
  automation: typeof createAutomation;
5429
5515
  browser: typeof createBrowser;
5430
5516
  canvas: typeof createCanvas;
5517
+ crm: typeof createCrm;
5431
5518
  cut: typeof createCut;
5432
5519
  database: typeof createDatabase;
5433
5520
  file: typeof createFile;
@@ -411,6 +411,68 @@ export function createCanvas(transport) {
411
411
  },
412
412
  };
413
413
  }
414
+ export function createCrm(transport) {
415
+ return {
416
+ associations: {
417
+ create: bind(transport, sdk.crmAssociationsCreate),
418
+ createDefault: bind(transport, sdk.crmAssociationsCreateDefault),
419
+ list: bind(transport, sdk.crmAssociationsList),
420
+ remove: bind(transport, sdk.crmAssociationsRemove),
421
+ },
422
+ changes: {
423
+ revert: bind(transport, sdk.crmChangesRevert),
424
+ },
425
+ layouts: {
426
+ retrieve: bind(transport, sdk.crmLayoutsRetrieve),
427
+ update: bind(transport, sdk.crmLayoutsUpdate),
428
+ },
429
+ leads: {
430
+ qualify: bind(transport, sdk.crmLeadsQualify),
431
+ },
432
+ objects: {
433
+ archive: bind(transport, sdk.crmObjectsArchive),
434
+ batch: {
435
+ archive: bind(transport, sdk.crmObjectsBatchArchive),
436
+ create: bind(transport, sdk.crmObjectsBatchCreate),
437
+ read: bind(transport, sdk.crmObjectsBatchRead),
438
+ update: bind(transport, sdk.crmObjectsBatchUpdate),
439
+ upsert: bind(transport, sdk.crmObjectsBatchUpsert),
440
+ },
441
+ create: bind(transport, sdk.crmObjectsCreate),
442
+ list: bind(transport, sdk.crmObjectsList),
443
+ retrieve: bind(transport, sdk.crmObjectsRetrieve),
444
+ search: bind(transport, sdk.crmObjectsSearch),
445
+ update: bind(transport, sdk.crmObjectsUpdate),
446
+ },
447
+ pipelines: {
448
+ archive: bind(transport, sdk.crmPipelinesArchive),
449
+ create: bind(transport, sdk.crmPipelinesCreate),
450
+ list: bind(transport, sdk.crmPipelinesList),
451
+ retrieve: bind(transport, sdk.crmPipelinesRetrieve),
452
+ stages: {
453
+ archive: bind(transport, sdk.crmPipelinesStagesArchive),
454
+ create: bind(transport, sdk.crmPipelinesStagesCreate),
455
+ update: bind(transport, sdk.crmPipelinesStagesUpdate),
456
+ },
457
+ update: bind(transport, sdk.crmPipelinesUpdate),
458
+ },
459
+ properties: {
460
+ archive: bind(transport, sdk.crmPropertiesArchive),
461
+ create: bind(transport, sdk.crmPropertiesCreate),
462
+ groups: {
463
+ create: bind(transport, sdk.crmPropertiesGroupsCreate),
464
+ list: bind(transport, sdk.crmPropertiesGroupsList),
465
+ },
466
+ list: bind(transport, sdk.crmPropertiesList),
467
+ retrieve: bind(transport, sdk.crmPropertiesRetrieve),
468
+ update: bind(transport, sdk.crmPropertiesUpdate),
469
+ },
470
+ schemas: {
471
+ create: bind(transport, sdk.crmSchemasCreate),
472
+ list: bind(transport, sdk.crmSchemasList),
473
+ },
474
+ };
475
+ }
414
476
  export function createCut(transport) {
415
477
  return {
416
478
  exports: {
@@ -571,6 +633,9 @@ export function createMedia(transport) {
571
633
  batch: bind(transport, sdk.mediaBatchAssets),
572
634
  create: bind(transport, options => sdk.mediaUploadAsset({ ...options, bodySerializer: multipartBodySerializer, headers: { 'Content-Type': null, ...options.headers } })),
573
635
  delete: bind(transport, sdk.mediaDeleteAsset),
636
+ frames: {
637
+ create: bind(transport, sdk.mediaCreateFrameUrls),
638
+ },
574
639
  import: {
575
640
  create: bind(transport, sdk.mediaImportAsset),
576
641
  },
@@ -620,6 +685,10 @@ export function createMedia(transport) {
620
685
  create: bind(transport, sdk.mediaVisualSearch),
621
686
  },
622
687
  },
688
+ understandings: {
689
+ list: bindPage(transport, sdk.mediaListUnderstandingsByLibrary),
690
+ retrieveFailureSummary: bind(transport, sdk.mediaUnderstandingFailureSummary),
691
+ },
623
692
  update: bind(transport, sdk.mediaUpdateLibrary),
624
693
  },
625
694
  };
@@ -744,6 +813,9 @@ export function createOrganization(transport) {
744
813
  },
745
814
  retrieve: bind(transport, sdk.getOrganizationFeedback),
746
815
  },
816
+ members: {
817
+ list: bind(transport, sdk.listOrganizationMembers),
818
+ },
747
819
  usage: {
748
820
  list: bind(transport, sdk.listOrganizationUsage),
749
821
  },
@@ -975,6 +1047,7 @@ export const resourceFactories = {
975
1047
  automation: createAutomation,
976
1048
  browser: createBrowser,
977
1049
  canvas: createCanvas,
1050
+ crm: createCrm,
978
1051
  cut: createCut,
979
1052
  database: createDatabase,
980
1053
  file: createFile,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepraxis/sdk",
3
- "version": "0.1.1-dev.de0a917",
3
+ "version": "0.1.1-dev.e47a392",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "exports": {