import { Base } from "../../../../"; import { Microsoft } from "../../../../"; import { SP } from "../../../../"; /********************************************* * CDSMetadata **********************************************/ export interface CDSMetadata { FriendlyName?: string; InstanceUrl?: string; ResourceId?: string; } /********************************************* * CDSMetadataCollections **********************************************/ export interface CDSMetadataCollections { } /********************************************* * DefaultContentCenterSiteInfo **********************************************/ export interface DefaultContentCenterSiteInfo { SiteId?: any; SiteName?: string; Url?: string; WebId?: any; } /********************************************* * DefaultContentCenterSiteInfoCollections **********************************************/ export interface DefaultContentCenterSiteInfoCollections { } /********************************************* * SPMachineLearningEnabled **********************************************/ export interface SPMachineLearningEnabled { IsCopilotLicenseEnabled?: boolean; IsSyntexPAYGEnabled?: boolean; MachineLearningCaptureEnabled?: boolean; MachineLearningExperienceEnabled?: boolean; TenantSyntexEnabled?: boolean; TenantSyntexV2Enabled?: boolean; UserSyntexEnabled?: boolean; UserSyntexV2Enabled?: boolean; } /********************************************* * SPMachineLearningEnabledCollections **********************************************/ export interface SPMachineLearningEnabledCollections { } /********************************************* * ISPMachineLearningHub **********************************************/ export interface ISPMachineLearningHub extends SPMachineLearningHubCollections, SPMachineLearningHubMethods, Base.IBaseQuery { } /********************************************* * ISPMachineLearningHubCollection **********************************************/ export interface ISPMachineLearningHubCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningHubQueryCollection **********************************************/ export interface ISPMachineLearningHubQueryCollection extends Base.IBaseResults { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningHubQuery **********************************************/ export interface ISPMachineLearningHubQuery extends SPMachineLearningHubOData, SPMachineLearningHubMethods { } /********************************************* * SPMachineLearningHub **********************************************/ export interface SPMachineLearningHub extends Base.IBaseResult, SPMachineLearningHubProps, SPMachineLearningHubCollections, SPMachineLearningHubMethods { } /********************************************* * SPMachineLearningHubProps **********************************************/ export interface SPMachineLearningHubProps { IsDefaultContentCenter?: boolean; MachineLearningCaptureEnabled?: boolean; } /********************************************* * SPMachineLearningHubPropMethods **********************************************/ export interface SPMachineLearningHubPropMethods { DefaultContentCenter(): Base.IBaseExecution & Microsoft.Office.Server.ContentCenter.DefaultContentCenterSiteInfoCollections; MachineLearningEnabled(): Base.IBaseExecution & Microsoft.Office.Server.ContentCenter.SPMachineLearningEnabledCollections; SyntexContext(): Base.IBaseExecution & Microsoft.Office.Server.ContentCenter.SyntexContextCollections; } /********************************************* * SPMachineLearningHubCollections **********************************************/ export interface SPMachineLearningHubCollections extends SPMachineLearningHubPropMethods { AgreementWorkItems(): Base.IBaseCollection & Microsoft.Office.Server.ContentCenter.SPMachineLearningWorkItemCollectionMethods; AgreementWorkItems(id: string | number): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningWorkItemCollections; Models(): Base.IBaseCollection & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelCollectionMethods; Models(id: string | number): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelMethods; Publications(): Base.IBaseCollection & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationCollectionMethods; Publications(id: string | number): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationMethods; Samples(): Base.IBaseCollection & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleCollectionMethods; Samples(id: string | number): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleMethods; WorkItems(): Base.IBaseCollection & Microsoft.Office.Server.ContentCenter.SPMachineLearningWorkItemCollectionMethods; WorkItems(id: string | number): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningWorkItemCollections; } /********************************************* * SPMachineLearningHubOData **********************************************/ export interface SPMachineLearningHubOData extends Base.IBaseResult, SPMachineLearningHubProps, SPMachineLearningHubMethods { AgreementWorkItems: Base.IBaseResults & Microsoft.Office.Server.ContentCenter.SPMachineLearningWorkItemCollectionMethods; DefaultContentCenter: Microsoft.Office.Server.ContentCenter.DefaultContentCenterSiteInfo & Microsoft.Office.Server.ContentCenter.DefaultContentCenterSiteInfoCollections; MachineLearningEnabled: Microsoft.Office.Server.ContentCenter.SPMachineLearningEnabled & Microsoft.Office.Server.ContentCenter.SPMachineLearningEnabledCollections; Models: Base.IBaseResults & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelCollectionMethods; Publications: Base.IBaseResults & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationCollectionMethods; Samples: Base.IBaseResults & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleCollectionMethods; SyntexContext: Microsoft.Office.Server.ContentCenter.SyntexContext & Microsoft.Office.Server.ContentCenter.SyntexContextCollections; WorkItems: Base.IBaseResults & Microsoft.Office.Server.ContentCenter.SPMachineLearningWorkItemCollectionMethods; } /********************************************* * SPMachineLearningHubMethods **********************************************/ export interface SPMachineLearningHubMethods { checkAIBuilderAccess(environmentName?: string, isTestEnvironment?: boolean, userId?: string): Base.IBaseExecution; getAutofillColumnSettings(docLibId?: any): Base.IBaseExecution; getAutofillCustomModelDefaultParameters(customModelId?: string, keepTokenCountLimit?: boolean): Base.IBaseExecution; getAutofillCustomModels(): Base.IBaseCollection; getAutofillCustomModelSettings(): Base.IBaseCollection; getByContentTypeId(contentTypeId?: string): Base.IBaseExecution; getCDSMetadata(environmentName?: string, isTestEnvironment?: boolean): Base.IBaseExecution; getColumnLLMInfo(docLibId?: any, columnId?: any): Base.IBaseExecution; getLibraryLLMInfo(docLibId?: any): Base.IBaseCollection; getMachineLearningFlags(docLibId?: any): Base.IBaseExecution; getModelIdForContentType(contentTypeName?: string): Base.IBaseExecution; getModels(listId?: any, modelTypes?: number, publicationTypes?: number, includeManagementNotAllowedModels?: boolean): Base.IBaseCollection & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelCollectionMethods; getRetentionLabel(retentionLabelId?: any): Base.IBaseExecution; getRetentionLabels(): Base.IBaseCollection; getSyntexPoweredColumnPrompts(docLibId?: any): Base.IBaseExecution; invokeDataverseQuery(): Base.IBaseExecution; setAutofillColumnSettings(docLibId?: any, autofillColumnSettings?: string): Base.IBaseExecution; setColumnLLMInfo(docLibId?: any, columnId?: any, autofillPrompt?: string, isEnabled?: boolean, customModelId?: string, customParametersJson?: string, analyzeImageWithVision?: boolean, analyzeImageDetailLevel?: string, autofillColumnType?: string): Base.IBaseExecution; setMachineLearningFlags(docLibId?: any, machineLearningFlags?: number): Base.IBaseExecution; setSyntexPoweredColumnPrompts(docLibId?: any, syntexPoweredColumnPrompts?: string): Base.IBaseExecution; verifyModelUrls(urls?: Array): Base.IBaseExecution; verifyModelUrlsAndGrantPAC(urls?: Array): Base.IBaseExecution; } /********************************************* * SPMachineLearningWorkItem **********************************************/ export interface SPMachineLearningWorkItem { Created?: any; DeliverDate?: any; ErrorMessage?: string; ID?: any; Status?: string; StatusCode?: number; TargetServerRelativeUrl?: string; TargetSiteId?: any; TargetSiteUrl?: string; TargetUniqueId?: any; TargetWebId?: any; TargetWebServerRelativeUrl?: string; Type?: any; } /********************************************* * SPMachineLearningWorkItemCollections **********************************************/ export interface SPMachineLearningWorkItemCollections extends SPMachineLearningWorkItemCollectionMethods { } /********************************************* * SPMachineLearningWorkItemCollectionMethods **********************************************/ export interface SPMachineLearningWorkItemCollectionMethods { getByIdentifier(identifier?: string): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningWorkItemCollections; } /********************************************* * ISPMachineLearningModel **********************************************/ export interface ISPMachineLearningModel extends SPMachineLearningModelCollections, SPMachineLearningModelMethods, Base.IBaseQuery { } /********************************************* * ISPMachineLearningModelCollection **********************************************/ export interface ISPMachineLearningModelCollection extends Base.IBaseResults, SPMachineLearningModelCollectionMethods { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningModelQueryCollection **********************************************/ export interface ISPMachineLearningModelQueryCollection extends Base.IBaseResults, SPMachineLearningModelCollectionMethods { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningModelQuery **********************************************/ export interface ISPMachineLearningModelQuery extends SPMachineLearningModelOData, SPMachineLearningModelMethods { } /********************************************* * SPMachineLearningModel **********************************************/ export interface SPMachineLearningModel extends Base.IBaseResult, SPMachineLearningModelProps, SPMachineLearningModelCollections, SPMachineLearningModelMethods { } /********************************************* * SPMachineLearningModelProps **********************************************/ export interface SPMachineLearningModelProps { AIBuilderHybridModelType?: string; AzureCognitivePrebuiltModelName?: string; BaseContentTypeName?: string; ConfidenceScore?: string; ContentTypeGroup?: string; ContentTypeId?: string; ContentTypeName?: string; Created?: any; CreatedBy?: string; ModelDependencies?: Microsoft.Office.Server.ContentCenter.SPModelDependencies; DriveId?: string; Explanations?: string; ExtractorFieldMapping?: string; ID?: number; LastTrained?: any; ListID?: any; ManagementAllowed?: boolean; ModelName?: string; ModelPublishConfig?: Microsoft.Office.Server.ContentCenter.SPModelPublishConfig; ModelRules?: string; ModelSettings?: string; ModelType?: number; ModelTypeAsString?: string; ModelTypeInternalName?: string; Modified?: any; ModifiedBy?: string; ObjectId?: string; PublicationType?: number; Schemas?: string; SourceSiteUrl?: string; SourceUrl?: string; SourceWebServerRelativeUrl?: string; UniqueId?: any; } /********************************************* * SPMachineLearningModelPropMethods **********************************************/ export interface SPMachineLearningModelPropMethods { } /********************************************* * SPMachineLearningModelCollections **********************************************/ export interface SPMachineLearningModelCollections extends SPMachineLearningModelPropMethods { } /********************************************* * SPMachineLearningModelCollectionMethods **********************************************/ export interface SPMachineLearningModelCollectionMethods { getByTitle(title?: string): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelMethods; getByUniqueId(uniqueId?: any): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningModelMethods; getExtractorNames(packageName?: string): Base.IBaseExecution>; import(packageName?: string): Base.IBaseExecution; setupPrimedLibrary(primedLibraryName?: string, packageName?: string, isTileViewEnabled?: boolean, serverRelativeLibraryPath?: string): Base.IBaseExecution; unbindModelFromContentType(contentTypeId?: string): Base.IBaseExecution; } /********************************************* * SPMachineLearningModelOData **********************************************/ export interface SPMachineLearningModelOData extends Base.IBaseResult, SPMachineLearningModelProps, SPMachineLearningModelMethods { } /********************************************* * SPMachineLearningModelMethods **********************************************/ export interface SPMachineLearningModelMethods { addModelDependency(modelId?: string, updateExisting?: boolean): Base.IBaseExecution; copy(copyTo?: string): Base.IBaseExecution; delete(): Base.IBaseExecution; importMeta(): Base.IBaseExecution; invokeConnectorQuery(): Base.IBaseExecution; removeModelDependency(modelId?: string): Base.IBaseExecution; rename(renameTo?: string): Base.IBaseExecution; renameExtractor(fromExtractorName?: string, toExtractorName?: string, toColumnType?: string): Base.IBaseExecution; setAsModelAuthor(): Base.IBaseExecution; update(): Base.IBaseExecution; updateModelSettings(ModelSettings?: string): Base.IBaseExecution; updateModelTypeSpecificSettings(Settings?: Array): Base.IBaseExecution; } /********************************************* * ISPMachineLearningPublication **********************************************/ export interface ISPMachineLearningPublication extends SPMachineLearningPublicationCollections, SPMachineLearningPublicationMethods, Base.IBaseQuery { } /********************************************* * ISPMachineLearningPublicationCollection **********************************************/ export interface ISPMachineLearningPublicationCollection extends Base.IBaseResults, SPMachineLearningPublicationCollectionMethods { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningPublicationQueryCollection **********************************************/ export interface ISPMachineLearningPublicationQueryCollection extends Base.IBaseResults, SPMachineLearningPublicationCollectionMethods { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningPublicationQuery **********************************************/ export interface ISPMachineLearningPublicationQuery extends SPMachineLearningPublicationOData, SPMachineLearningPublicationMethods { } /********************************************* * SPMachineLearningPublication **********************************************/ export interface SPMachineLearningPublication extends Base.IBaseResult, SPMachineLearningPublicationProps, SPMachineLearningPublicationCollections, SPMachineLearningPublicationMethods { } /********************************************* * SPMachineLearningPublicationProps **********************************************/ export interface SPMachineLearningPublicationProps { Created?: any; CreatedBy?: string; DriveId?: string; HasTargetSitePermission?: boolean; ID?: number; ModelId?: number; ModelName?: string; ModelType?: number; ModelUniqueId?: any; ModelVersion?: string; Modified?: any; ModifiedBy?: string; ObjectId?: string; PublicationType?: number; TargetLibraryId?: any; TargetLibraryName?: string; TargetLibraryRemoved?: boolean; TargetLibraryServerRelativeUrl?: string; TargetLibraryUrl?: string; TargetSiteId?: any; TargetSiteUrl?: string; TargetTableListId?: any; TargetTableListName?: string; TargetTableListRemoved?: boolean; TargetTableListServerRelativeUrl?: string; TargetTableListUrl?: string; TargetWebId?: any; TargetWebName?: string; TargetWebServerRelativeUrl?: string; UniqueId?: any; ViewOption?: string; } /********************************************* * SPMachineLearningPublicationPropMethods **********************************************/ export interface SPMachineLearningPublicationPropMethods { } /********************************************* * SPMachineLearningPublicationCollections **********************************************/ export interface SPMachineLearningPublicationCollections extends SPMachineLearningPublicationPropMethods { } /********************************************* * SPMachineLearningPublicationCollectionMethods **********************************************/ export interface SPMachineLearningPublicationCollectionMethods { batchDelete(publications?: Array): Base.IBaseExecution; batchRemove(modelSiteUrl?: string, modelWebServerRelativeUrl?: string, publications?: Array): Base.IBaseExecution; batchUnpromote(promotions?: Array): Base.IBaseExecution; checkTenantPublishPermissions(): Base.IBaseExecution; getByModelUniqueId(modelUniqueId?: any): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationMethods; getByModelUniqueIdAndPublicationType(modelUniqueId?: any, publicationType?: number): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationMethods; getByUniqueId(uniqueId?: any): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningPublicationMethods; } /********************************************* * SPMachineLearningPublicationOData **********************************************/ export interface SPMachineLearningPublicationOData extends Base.IBaseResult, SPMachineLearningPublicationProps, SPMachineLearningPublicationMethods { } /********************************************* * SPMachineLearningPublicationMethods **********************************************/ export interface SPMachineLearningPublicationMethods { delete(): Base.IBaseExecution; update(): Base.IBaseExecution; } /********************************************* * ISPMachineLearningSample **********************************************/ export interface ISPMachineLearningSample extends SPMachineLearningSampleCollections, SPMachineLearningSampleMethods, Base.IBaseQuery { } /********************************************* * ISPMachineLearningSampleCollection **********************************************/ export interface ISPMachineLearningSampleCollection extends Base.IBaseResults, SPMachineLearningSampleCollectionMethods { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningSampleQueryCollection **********************************************/ export interface ISPMachineLearningSampleQueryCollection extends Base.IBaseResults, SPMachineLearningSampleCollectionMethods { done?: (resolve: (value?: Array) => void) => void; } /********************************************* * ISPMachineLearningSampleQuery **********************************************/ export interface ISPMachineLearningSampleQuery extends SPMachineLearningSampleOData, SPMachineLearningSampleMethods { } /********************************************* * SPMachineLearningSample **********************************************/ export interface SPMachineLearningSample extends Base.IBaseResult, SPMachineLearningSampleProps, SPMachineLearningSampleCollections, SPMachineLearningSampleMethods { } /********************************************* * SPMachineLearningSampleProps **********************************************/ export interface SPMachineLearningSampleProps { Created?: any; CreatedBy?: string; CreatedByName?: string; DriveId?: string; Etag?: string; ExtractedText?: string; FileLeafRef?: string; FileRef?: string; FileType?: string; FSObjType?: number; ID?: number; ListID?: any; Markups?: string; ModelIds?: { results: Array }; Modified?: any; ModifiedBy?: string; ModifiedByName?: string; ObjectId?: string; ServerRedirectedEmbedUri?: string; Title?: string; TokenEndPosition?: { results: Array }; TokenStartPosition?: { results: Array }; UniqueId?: any; } /********************************************* * SPMachineLearningSamplePropMethods **********************************************/ export interface SPMachineLearningSamplePropMethods { } /********************************************* * SPMachineLearningSampleCollections **********************************************/ export interface SPMachineLearningSampleCollections extends SPMachineLearningSamplePropMethods { } /********************************************* * SPMachineLearningSampleCollectionMethods **********************************************/ export interface SPMachineLearningSampleCollectionMethods { getByModelId(modelID?: number): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleMethods; getByTitle(title?: string): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleMethods; getByUniqueId(uniqueId?: any): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleMethods; getByUniqueIdWithTokenization(uniqueId?: any): Base.IBaseQuery & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleCollections & Microsoft.Office.Server.ContentCenter.SPMachineLearningSampleMethods; getTemplateByModelId(modelID?: number): Base.IBaseExecution>; } /********************************************* * SPMachineLearningSampleOData **********************************************/ export interface SPMachineLearningSampleOData extends Base.IBaseResult, SPMachineLearningSampleProps, SPMachineLearningSampleMethods { } /********************************************* * SPMachineLearningSampleMethods **********************************************/ export interface SPMachineLearningSampleMethods { update(): Base.IBaseExecution; } /********************************************* * SyntexContext **********************************************/ export interface SyntexContext { SyntexAIBuilderEnabled?: boolean; SyntexDocumentUnderstandingEnabled?: boolean; SyntexPrebuiltEnabled?: boolean; } /********************************************* * SyntexContextCollections **********************************************/ export interface SyntexContextCollections { } /********************************************* * SPMachineLearningModelEntityData **********************************************/ export interface SPMachineLearningModelEntityData { Accuracy?: any; AIBuilderHybridModelEnvironment?: string; AIBuilderHybridModelHostName?: string; AIBuilderHybridModelInTestEnvironment?: boolean; AzureCognitivePrebuiltModelName?: string; BaseContentTypeName?: string; AIBuilderHybridModelType?: string; ColumnId?: string; ColumnName?: string; Columns?: { results: Array }; ColumnType?: string; ContentTypeGroup?: string; ContentTypeId?: string; ContentTypeName?: string; Explanations?: string; LastTrained?: any; Locale?: string; ModelName?: string; ModelSettings?: string; ModelType?: string; SampleFileUniqueIds?: { results: Array }; Schemas?: string; TableLinkColumns?: { results: Array }; } /********************************************* * SPMachineLearningModelEntityDataCollections **********************************************/ export interface SPMachineLearningModelEntityDataCollections { } /********************************************* * SPMachineLearningPublicationsEntityData **********************************************/ export interface SPMachineLearningPublicationsEntityData { Comment?: string; isTileViewEnabled?: boolean; ModelSiteUrl?: string; ModelWebServerRelativeUrl?: string; Promote?: boolean; Publications?: { results: Array }; PublicationType?: number; } /********************************************* * SPMachineLearningPublicationsEntityDataCollections **********************************************/ export interface SPMachineLearningPublicationsEntityDataCollections { } /********************************************* * SPMachineLearningPublicationsResult **********************************************/ export interface SPMachineLearningPublicationsResult { Details?: { results: Array }; TotalFailures?: number; TotalSuccesses?: number; } /********************************************* * SPMachineLearningPublicationsResultCollections **********************************************/ export interface SPMachineLearningPublicationsResultCollections { } /********************************************* * SPMachineLearningSampleEntityData **********************************************/ export interface SPMachineLearningSampleEntityData { ExtractedText?: string; Markups?: string; } /********************************************* * SPMachineLearningSampleEntityDataCollections **********************************************/ export interface SPMachineLearningSampleEntityDataCollections { } /********************************************* * SPMachineLearningWorkItemEntityData **********************************************/ export interface SPMachineLearningWorkItemEntityData { ExtraPropertyList?: string; IsFolder?: boolean; ParentJobId?: any; ProfileName?: string; TargetServerRelativeUrl?: string; TargetSiteId?: any; TargetSiteUrl?: string; TargetUniqueId?: any; TargetWebId?: any; TargetWebServerRelativeUrl?: string; Type?: any; } /********************************************* * SPMachineLearningWorkItemEntityDataCollections **********************************************/ export interface SPMachineLearningWorkItemEntityDataCollections { } /********************************************* * SyntexModelsLandingInfo **********************************************/ export interface SyntexModelsLandingInfo { DocumentUnderstandingModelDisplayName?: string; DocumentUnderstandingModelLandingUrl?: string; FormProcessingModelDisplayName?: string; FormProcessingModelLandingUrl?: string; } /********************************************* * SyntexModelsLandingInfoCollections **********************************************/ export interface SyntexModelsLandingInfoCollections { }