@coveo/platform-client 55.13.2 → 56.0.0
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/dist/cjs/APICore.js +17 -4
- package/dist/cjs/APICore.js.map +1 -1
- package/dist/cjs/handlers/request/RequestHandlers.js +2 -1
- package/dist/cjs/handlers/request/RequestHandlers.js.map +1 -1
- package/dist/cjs/handlers/response/ResponseHandlers.js +14 -8
- package/dist/cjs/handlers/response/ResponseHandlers.js.map +1 -1
- package/dist/cjs/resources/Activities/Activities.js +4 -5
- package/dist/cjs/resources/Activities/Activities.js.map +1 -1
- package/dist/cjs/resources/AnalyticsAdmin/Properties/Properties.js +7 -6
- package/dist/cjs/resources/AnalyticsAdmin/Properties/Properties.js.map +1 -1
- package/dist/cjs/resources/ApiKeys/ApiKeys.js.map +1 -1
- package/dist/cjs/resources/Catalogs/Catalog.js +2 -1
- package/dist/cjs/resources/Catalogs/Catalog.js.map +1 -1
- package/dist/cjs/resources/Catalogs/ProductListing.js +10 -0
- package/dist/cjs/resources/Catalogs/ProductListing.js.map +1 -1
- package/dist/cjs/resources/Catalogs/ProductListingConfiguration.js +16 -0
- package/dist/cjs/resources/Catalogs/ProductListingConfiguration.js.map +1 -1
- package/dist/cjs/resources/Enums.js.map +1 -1
- package/dist/cjs/resources/Extensions/Extensions.js +4 -2
- package/dist/cjs/resources/Extensions/Extensions.js.map +1 -1
- package/dist/cjs/resources/Fields/Fields.js +1 -0
- package/dist/cjs/resources/Fields/Fields.js.map +1 -1
- package/dist/cjs/resources/InProductExperiences/InProductExperiences.js +1 -0
- package/dist/cjs/resources/InProductExperiences/InProductExperiences.js.map +1 -1
- package/dist/cjs/resources/InProductExperiences/InProductExperiencesInterfaces.js +0 -2
- package/dist/cjs/resources/InProductExperiences/InProductExperiencesInterfaces.js.map +1 -1
- package/dist/cjs/resources/Indexes/Documents/Documents.js +5 -8
- package/dist/cjs/resources/Indexes/Documents/Documents.js.map +1 -1
- package/dist/cjs/resources/License/LicenseInterfaces.js.map +1 -1
- package/dist/cjs/resources/Limits/Limits.js +0 -1
- package/dist/cjs/resources/Limits/Limits.js.map +1 -1
- package/dist/cjs/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +4 -0
- package/dist/cjs/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js.map +1 -1
- package/dist/cjs/resources/Organizations/Members/Members.js +3 -5
- package/dist/cjs/resources/Organizations/Members/Members.js.map +1 -1
- package/dist/cjs/resources/Organizations/Organization.js +2 -0
- package/dist/cjs/resources/Organizations/Organization.js.map +1 -1
- package/dist/cjs/resources/Organizations/OrganizationInterfaces.js.map +1 -1
- package/dist/cjs/resources/Pipelines/Conditions/Condition.js +6 -12
- package/dist/cjs/resources/Pipelines/Conditions/Condition.js.map +1 -1
- package/dist/cjs/resources/Pipelines/ResultRankings/ResultRankings.js +0 -1
- package/dist/cjs/resources/Pipelines/ResultRankings/ResultRankings.js.map +1 -1
- package/dist/cjs/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js.map +1 -1
- package/dist/cjs/resources/Pipelines/Statements/Statements.js +34 -44
- package/dist/cjs/resources/Pipelines/Statements/Statements.js.map +1 -1
- package/dist/cjs/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +1 -2
- package/dist/cjs/resources/PrivilegeEvaluator/PrivilegeEvaluator.js.map +1 -1
- package/dist/cjs/resources/Products/Product.js +2 -0
- package/dist/cjs/resources/Products/Product.js.map +1 -1
- package/dist/cjs/resources/Projects/Project.js +19 -27
- package/dist/cjs/resources/Projects/Project.js.map +1 -1
- package/dist/cjs/resources/Projects/ProjectInterfaces.js +0 -2
- package/dist/cjs/resources/Projects/ProjectInterfaces.js.map +1 -1
- package/dist/cjs/resources/Resource.js +1 -1
- package/dist/cjs/resources/Resource.js.map +1 -1
- package/dist/cjs/resources/ResourceSnapshots/ResourceSnapshots.js +10 -11
- package/dist/cjs/resources/ResourceSnapshots/ResourceSnapshots.js.map +1 -1
- package/dist/cjs/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js.map +1 -1
- package/dist/cjs/resources/Resources/Resources.js +2 -3
- package/dist/cjs/resources/Resources/Resources.js.map +1 -1
- package/dist/cjs/resources/SchemaService/SchemaService.js +15 -21
- package/dist/cjs/resources/SchemaService/SchemaService.js.map +1 -1
- package/dist/cjs/resources/Search/Search.js +12 -1
- package/dist/cjs/resources/Search/Search.js.map +1 -1
- package/dist/cjs/resources/SearchAnalysis/SearchAnalysis.js +0 -1
- package/dist/cjs/resources/SearchAnalysis/SearchAnalysis.js.map +1 -1
- package/dist/cjs/resources/Sources/Sources.js +1 -0
- package/dist/cjs/resources/Sources/Sources.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Administration/Administration.js +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Administration/Administration.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/DataHealth/DataHealth.js +8 -2
- package/dist/cjs/resources/UsageAnalytics/Read/DataHealth/DataHealth.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/DataShare/DataShare.js +2 -0
- package/dist/cjs/resources/UsageAnalytics/Read/DataShare/DataShare.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +8 -8
- package/dist/cjs/resources/UsageAnalytics/Read/Dimensions/Dimensions.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Exports/Exports.js +3 -13
- package/dist/cjs/resources/UsageAnalytics/Read/Exports/Exports.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Filters/Filters.js +7 -9
- package/dist/cjs/resources/UsageAnalytics/Read/Filters/Filters.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/ReadServiceResource.js +0 -1
- package/dist/cjs/resources/UsageAnalytics/Read/ReadServiceResource.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Reports/Reports.js +8 -9
- package/dist/cjs/resources/UsageAnalytics/Read/Reports/Reports.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +0 -7
- package/dist/cjs/resources/UsageAnalytics/Read/Snowflake/Snowflake.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Statistics/Statistics.js +10 -1
- package/dist/cjs/resources/UsageAnalytics/Read/Statistics/Statistics.js.map +1 -1
- package/dist/cjs/resources/UsageAnalytics/Read/UAUsers/UAUsers.js +4 -5
- package/dist/cjs/resources/UsageAnalytics/Read/UAUsers/UAUsers.js.map +1 -1
- package/dist/cjs/resources/Vaults/Vaults.js +6 -10
- package/dist/cjs/resources/Vaults/Vaults.js.map +1 -1
- package/dist/cjs/utils/createFetcher.js +0 -1
- package/dist/cjs/utils/createFetcher.js.map +1 -1
- package/dist/cjs/utils/normalizePaginatedOptions.js +3 -0
- package/dist/cjs/utils/normalizePaginatedOptions.js.map +1 -1
- package/dist/cjs/utils/stringifyNestedObjects.js.map +1 -1
- package/dist/esm/APICore.js +17 -4
- package/dist/esm/APICore.js.map +1 -1
- package/dist/esm/handlers/request/RequestHandlers.js +2 -1
- package/dist/esm/handlers/request/RequestHandlers.js.map +1 -1
- package/dist/esm/handlers/response/ResponseHandlers.js +14 -8
- package/dist/esm/handlers/response/ResponseHandlers.js.map +1 -1
- package/dist/esm/resources/Activities/Activities.js +4 -5
- package/dist/esm/resources/Activities/Activities.js.map +1 -1
- package/dist/esm/resources/AnalyticsAdmin/Properties/Properties.js +7 -6
- package/dist/esm/resources/AnalyticsAdmin/Properties/Properties.js.map +1 -1
- package/dist/esm/resources/ApiKeys/ApiKeys.js.map +1 -1
- package/dist/esm/resources/Catalogs/Catalog.js +2 -1
- package/dist/esm/resources/Catalogs/Catalog.js.map +1 -1
- package/dist/esm/resources/Catalogs/ProductListing.js +10 -0
- package/dist/esm/resources/Catalogs/ProductListing.js.map +1 -1
- package/dist/esm/resources/Catalogs/ProductListingConfiguration.js +16 -0
- package/dist/esm/resources/Catalogs/ProductListingConfiguration.js.map +1 -1
- package/dist/esm/resources/Enums.js.map +1 -1
- package/dist/esm/resources/Extensions/Extensions.js +4 -2
- package/dist/esm/resources/Extensions/Extensions.js.map +1 -1
- package/dist/esm/resources/Fields/Fields.js +1 -0
- package/dist/esm/resources/Fields/Fields.js.map +1 -1
- package/dist/esm/resources/InProductExperiences/InProductExperiences.js +1 -0
- package/dist/esm/resources/InProductExperiences/InProductExperiences.js.map +1 -1
- package/dist/esm/resources/InProductExperiences/InProductExperiencesInterfaces.js +0 -2
- package/dist/esm/resources/InProductExperiences/InProductExperiencesInterfaces.js.map +1 -1
- package/dist/esm/resources/Indexes/Documents/Documents.js +5 -8
- package/dist/esm/resources/Indexes/Documents/Documents.js.map +1 -1
- package/dist/esm/resources/License/LicenseInterfaces.js.map +1 -1
- package/dist/esm/resources/Limits/Limits.js +0 -1
- package/dist/esm/resources/Limits/Limits.js.map +1 -1
- package/dist/esm/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +4 -0
- package/dist/esm/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js.map +1 -1
- package/dist/esm/resources/Organizations/Members/Members.js +3 -5
- package/dist/esm/resources/Organizations/Members/Members.js.map +1 -1
- package/dist/esm/resources/Organizations/Organization.js +2 -0
- package/dist/esm/resources/Organizations/Organization.js.map +1 -1
- package/dist/esm/resources/Organizations/OrganizationInterfaces.js.map +1 -1
- package/dist/esm/resources/Pipelines/Conditions/Condition.js +6 -12
- package/dist/esm/resources/Pipelines/Conditions/Condition.js.map +1 -1
- package/dist/esm/resources/Pipelines/ResultRankings/ResultRankings.js +0 -1
- package/dist/esm/resources/Pipelines/ResultRankings/ResultRankings.js.map +1 -1
- package/dist/esm/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js.map +1 -1
- package/dist/esm/resources/Pipelines/Statements/Statements.js +34 -44
- package/dist/esm/resources/Pipelines/Statements/Statements.js.map +1 -1
- package/dist/esm/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +1 -2
- package/dist/esm/resources/PrivilegeEvaluator/PrivilegeEvaluator.js.map +1 -1
- package/dist/esm/resources/Products/Product.js +2 -0
- package/dist/esm/resources/Products/Product.js.map +1 -1
- package/dist/esm/resources/Projects/Project.js +19 -27
- package/dist/esm/resources/Projects/Project.js.map +1 -1
- package/dist/esm/resources/Projects/ProjectInterfaces.js +0 -2
- package/dist/esm/resources/Projects/ProjectInterfaces.js.map +1 -1
- package/dist/esm/resources/Resource.js +1 -1
- package/dist/esm/resources/Resource.js.map +1 -1
- package/dist/esm/resources/ResourceSnapshots/ResourceSnapshots.js +10 -11
- package/dist/esm/resources/ResourceSnapshots/ResourceSnapshots.js.map +1 -1
- package/dist/esm/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js.map +1 -1
- package/dist/esm/resources/Resources/Resources.js +2 -3
- package/dist/esm/resources/Resources/Resources.js.map +1 -1
- package/dist/esm/resources/SchemaService/SchemaService.js +15 -21
- package/dist/esm/resources/SchemaService/SchemaService.js.map +1 -1
- package/dist/esm/resources/Search/Search.js +12 -1
- package/dist/esm/resources/Search/Search.js.map +1 -1
- package/dist/esm/resources/SearchAnalysis/SearchAnalysis.js +0 -1
- package/dist/esm/resources/SearchAnalysis/SearchAnalysis.js.map +1 -1
- package/dist/esm/resources/Sources/Sources.js +1 -0
- package/dist/esm/resources/Sources/Sources.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Administration/Administration.js +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Administration/Administration.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/DataHealth/DataHealth.js +8 -2
- package/dist/esm/resources/UsageAnalytics/Read/DataHealth/DataHealth.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/DataShare/DataShare.js +2 -0
- package/dist/esm/resources/UsageAnalytics/Read/DataShare/DataShare.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +8 -8
- package/dist/esm/resources/UsageAnalytics/Read/Dimensions/Dimensions.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Exports/Exports.js +3 -13
- package/dist/esm/resources/UsageAnalytics/Read/Exports/Exports.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Filters/Filters.js +7 -9
- package/dist/esm/resources/UsageAnalytics/Read/Filters/Filters.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/ReadServiceResource.js +0 -1
- package/dist/esm/resources/UsageAnalytics/Read/ReadServiceResource.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Reports/Reports.js +8 -9
- package/dist/esm/resources/UsageAnalytics/Read/Reports/Reports.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +0 -7
- package/dist/esm/resources/UsageAnalytics/Read/Snowflake/Snowflake.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/Statistics/Statistics.js +10 -1
- package/dist/esm/resources/UsageAnalytics/Read/Statistics/Statistics.js.map +1 -1
- package/dist/esm/resources/UsageAnalytics/Read/UAUsers/UAUsers.js +4 -5
- package/dist/esm/resources/UsageAnalytics/Read/UAUsers/UAUsers.js.map +1 -1
- package/dist/esm/resources/Vaults/Vaults.js +6 -10
- package/dist/esm/resources/Vaults/Vaults.js.map +1 -1
- package/dist/esm/utils/createFetcher.js +0 -1
- package/dist/esm/utils/createFetcher.js.map +1 -1
- package/dist/esm/utils/normalizePaginatedOptions.js +3 -0
- package/dist/esm/utils/normalizePaginatedOptions.js.map +1 -1
- package/dist/esm/utils/stringifyNestedObjects.js.map +1 -1
- package/dist/types/APICore.d.ts +3 -3
- package/dist/types/handlers/request/RequestHandlerInterfaces.d.ts +0 -1
- package/dist/types/handlers/response/ResponseHandlers.d.ts +8 -2
- package/dist/types/resources/Activities/Activities.d.ts +2 -3
- package/dist/types/resources/AnalyticsAdmin/Properties/Properties.d.ts +8 -7
- package/dist/types/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.d.ts +1 -2
- package/dist/types/resources/Catalogs/Catalog.d.ts +2 -0
- package/dist/types/resources/Catalogs/ProductListing.d.ts +10 -0
- package/dist/types/resources/Catalogs/ProductListingConfiguration.d.ts +16 -0
- package/dist/types/resources/CrawlingModule/CrawlingModuleInterfaces.d.ts +0 -4
- package/dist/types/resources/Extensions/Extensions.d.ts +4 -2
- package/dist/types/resources/Extensions/ExtensionsInterfaces.d.ts +0 -2
- package/dist/types/resources/Fields/Fields.d.ts +1 -0
- package/dist/types/resources/HostedInterfacesCore/HostedInterfaceVersionsCore.d.ts +0 -5
- package/dist/types/resources/IPXInterfaces/IPXInterface.model.d.ts +4 -8
- package/dist/types/resources/InProductExperiences/InProductExperiences.d.ts +1 -0
- package/dist/types/resources/InProductExperiences/InProductExperiencesInterfaces.d.ts +0 -1
- package/dist/types/resources/Indexes/Documents/Documents.d.ts +5 -8
- package/dist/types/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.d.ts +0 -5
- package/dist/types/resources/InsightPanelInterfaces/InsightPanelInterface.model.d.ts +7 -14
- package/dist/types/resources/InternalBaseInterface.d.ts +0 -1
- package/dist/types/resources/Limits/Limits.d.ts +0 -1
- package/dist/types/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.d.ts +4 -0
- package/dist/types/resources/MachineLearning/DocumentInterfaces.d.ts +0 -1
- package/dist/types/resources/MachineLearning/IAPRConfiguration/IAPRConfigurationInterfaces.d.ts +0 -1
- package/dist/types/resources/MachineLearning/ModelListing/ModelListingInterfaces.d.ts +1 -14
- package/dist/types/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.d.ts +0 -1
- package/dist/types/resources/MachineLearning/RGAConfiguration/RelevanceGenerativeAnsweringConfigurationInterface.d.ts +0 -2
- package/dist/types/resources/MachineLearning/SemanticEncoderConfiguration/SemanticEncoderConfigurationInterfaces.d.ts +0 -2
- package/dist/types/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.d.ts +0 -2
- package/dist/types/resources/Organizations/Members/Members.d.ts +3 -5
- package/dist/types/resources/Organizations/Organization.d.ts +3 -1
- package/dist/types/resources/Organizations/OrganizationInterfaces.d.ts +1 -7
- package/dist/types/resources/Pipelines/Conditions/Condition.d.ts +6 -12
- package/dist/types/resources/Pipelines/Conditions/ConditionInterfaces.d.ts +0 -2
- package/dist/types/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.d.ts +1 -2
- package/dist/types/resources/Pipelines/PipelinesInterfaces.d.ts +0 -15
- package/dist/types/resources/Pipelines/ResultRankings/ResultRankings.d.ts +0 -1
- package/dist/types/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.d.ts +0 -1
- package/dist/types/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.d.ts +2 -12
- package/dist/types/resources/Pipelines/Statements/Statements.d.ts +34 -44
- package/dist/types/resources/PrivilegeEvaluator/PrivilegeEvaluator.d.ts +1 -2
- package/dist/types/resources/Products/Product.d.ts +2 -0
- package/dist/types/resources/Projects/Project.d.ts +19 -27
- package/dist/types/resources/Projects/ProjectInterfaces.d.ts +0 -9
- package/dist/types/resources/Resource.d.ts +1 -1
- package/dist/types/resources/ResourceSnapshots/ResourceSnapshots.d.ts +10 -11
- package/dist/types/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.d.ts +0 -5
- package/dist/types/resources/Resources/Resources.d.ts +2 -3
- package/dist/types/resources/SchemaService/SchemaService.d.ts +16 -24
- package/dist/types/resources/SchemaService/SchemaServiceInterfaces.d.ts +1 -2
- package/dist/types/resources/Search/Search.d.ts +11 -1
- package/dist/types/resources/Search/SearchInterfaces.d.ts +2 -196
- package/dist/types/resources/SearchAnalysis/SearchAnalysis.d.ts +0 -1
- package/dist/types/resources/SearchPages/SearchPagesInterfaces.d.ts +2 -4
- package/dist/types/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.d.ts +0 -3
- package/dist/types/resources/Sources/Sources.d.ts +1 -0
- package/dist/types/resources/UsageAnalytics/Read/Administration/Administration.d.ts +1 -1
- package/dist/types/resources/UsageAnalytics/Read/DataHealth/DataHealth.d.ts +9 -3
- package/dist/types/resources/UsageAnalytics/Read/DataShare/DataShare.d.ts +2 -0
- package/dist/types/resources/UsageAnalytics/Read/Dimensions/Dimensions.d.ts +8 -8
- package/dist/types/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.d.ts +0 -1
- package/dist/types/resources/UsageAnalytics/Read/Exports/Exports.d.ts +3 -13
- package/dist/types/resources/UsageAnalytics/Read/Filters/Filters.d.ts +7 -9
- package/dist/types/resources/UsageAnalytics/Read/ReadServiceResource.d.ts +1 -2
- package/dist/types/resources/UsageAnalytics/Read/Reports/Reports.d.ts +8 -9
- package/dist/types/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.d.ts +1 -2
- package/dist/types/resources/UsageAnalytics/Read/Snowflake/Snowflake.d.ts +0 -7
- package/dist/types/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.d.ts +1 -2
- package/dist/types/resources/UsageAnalytics/Read/Statistics/Statistics.d.ts +10 -1
- package/dist/types/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.d.ts +2 -4
- package/dist/types/resources/UsageAnalytics/Read/UAUsers/UAUsers.d.ts +4 -5
- package/dist/types/resources/Users/UserInterfaces.d.ts +1 -1
- package/dist/types/resources/Vaults/Vaults.d.ts +6 -10
- package/dist/types/utils/createFetcher.d.ts +0 -1
- package/dist/types/utils/stringifyNestedObjects.d.ts +1 -1
- package/package.json +10 -12
|
@@ -327,7 +327,6 @@ export interface IPXButtonModel {
|
|
|
327
327
|
/**
|
|
328
328
|
* The button host's CSS selector, which defines where the button is rendered.
|
|
329
329
|
* If unset, it defaults to "" and renders a floating button in the `<body>`.
|
|
330
|
-
*
|
|
331
330
|
* @default `""`
|
|
332
331
|
*/
|
|
333
332
|
buttonTargetSelector: string;
|
|
@@ -5,18 +5,15 @@ export default class Documents extends Resource {
|
|
|
5
5
|
static baseUrl: string;
|
|
6
6
|
/**
|
|
7
7
|
* Lists the [permissions](https://docs.coveo.com/en/223/glossary/permission) of an [item](https://docs.coveo.com/en/210/glossary/item) in a Coveo Cloud organization index.
|
|
8
|
-
*
|
|
9
|
-
* @param
|
|
10
|
-
* @param {string} documentId The unique identifier of the item whose permissions to list.
|
|
11
|
-
*
|
|
8
|
+
* @param indexId The unique identifier of the target index.
|
|
9
|
+
* @param documentId The unique identifier of the item whose permissions to list.
|
|
12
10
|
*/
|
|
13
11
|
listPermissions(indexId: string, documentId: string): Promise<DocumentPermissionModel>;
|
|
14
12
|
/**
|
|
15
13
|
* Lists the [effective permissions](https://docs.coveo.com/en/194/glossary/effective-permissions) of an [item](https://docs.coveo.com/en/210/glossary/item) in a Coveo Cloud organization index.
|
|
16
|
-
*
|
|
17
|
-
* @param
|
|
18
|
-
* @param
|
|
19
|
-
* @param {ListEffectivePermissionsOptions} options
|
|
14
|
+
* @param indexId The unique identifier of the target index.
|
|
15
|
+
* @param documentId The unique identifier of the item whose permissions to list.
|
|
16
|
+
* @param options
|
|
20
17
|
*/
|
|
21
18
|
listEffectivePermissions(indexId: string, documentId: string, options?: ListEffectivePermissionsOptions): Promise<SinglePermissionPageModel>;
|
|
22
19
|
}
|
|
@@ -5,13 +5,11 @@ import { Paginated, WithRequired } from '../BaseInterfaces.js';
|
|
|
5
5
|
export interface InsightPanelConfigListOptions extends Paginated {
|
|
6
6
|
/**
|
|
7
7
|
* The zero-based page to retrieve.
|
|
8
|
-
*
|
|
9
8
|
* @default `0`
|
|
10
9
|
*/
|
|
11
10
|
page?: number;
|
|
12
11
|
/**
|
|
13
12
|
* The number of configurations to return per page.
|
|
14
|
-
*
|
|
15
13
|
* @default `10`
|
|
16
14
|
*/
|
|
17
15
|
perPage?: number;
|
|
@@ -26,7 +24,6 @@ export interface InsightPanelConfigListOptions extends Paginated {
|
|
|
26
24
|
* - `undefined`: Configurations are returned in no specific order.
|
|
27
25
|
* - `asc`: Sort configurations by name in ascending order.
|
|
28
26
|
* - `desc`: Sort configurations by name in descending order.
|
|
29
|
-
*
|
|
30
27
|
* @default `undefined`
|
|
31
28
|
*/
|
|
32
29
|
order?: 'asc' | 'desc';
|
|
@@ -53,7 +50,6 @@ export interface InsightPanelConfigCreationParams {
|
|
|
53
50
|
* The key is the context information such as `subject` or `description`.
|
|
54
51
|
*
|
|
55
52
|
* The value is a CRM reference allowing the Insight Panel integration to retrieve the context information from the CRM.
|
|
56
|
-
*
|
|
57
53
|
* @example
|
|
58
54
|
* ```json
|
|
59
55
|
* {
|
|
@@ -153,7 +149,6 @@ export interface InsightPanelConfigModel {
|
|
|
153
149
|
* The key is the context information such as `subject` or `description`.
|
|
154
150
|
*
|
|
155
151
|
* The value is a CRM reference allowing the Insight Panel integration to retrieve the context information from the CRM.
|
|
156
|
-
*
|
|
157
152
|
* @example
|
|
158
153
|
* ```json
|
|
159
154
|
* {
|
|
@@ -4,18 +4,14 @@ export declare enum InsightPanelResultTemplateLayout {
|
|
|
4
4
|
Default = "default",
|
|
5
5
|
Thumbnail = "thumbnail"
|
|
6
6
|
}
|
|
7
|
-
|
|
8
|
-
}
|
|
7
|
+
type InsightPanelOption = HostedInterfaceOption;
|
|
9
8
|
interface InsightPanelResultTagOptions {
|
|
10
9
|
enabled: boolean;
|
|
11
10
|
color: string;
|
|
12
11
|
}
|
|
13
|
-
export
|
|
14
|
-
|
|
15
|
-
export
|
|
16
|
-
}
|
|
17
|
-
export interface InsightPanelResultTemplateDetail extends HostedInterfaceResultTemplateDetail {
|
|
18
|
-
}
|
|
12
|
+
export type InsightPanelResultTemplateBadge = HostedInterfaceResultTemplateBadge;
|
|
13
|
+
export type InsightPanelCondition = HostedInterfaceCondition;
|
|
14
|
+
export type InsightPanelResultTemplateDetail = HostedInterfaceResultTemplateDetail;
|
|
19
15
|
export interface InsightPanelResultActions {
|
|
20
16
|
/**
|
|
21
17
|
* An option enabling the ability to attach a given result to a case record.
|
|
@@ -81,8 +77,7 @@ export interface InsightPanelResultTemplate extends HostedInterfaceResultTemplat
|
|
|
81
77
|
*/
|
|
82
78
|
tags: InsightPanelResultTags;
|
|
83
79
|
}
|
|
84
|
-
export
|
|
85
|
-
}
|
|
80
|
+
export type InsightPanelFacet = HostedInterfaceFacet;
|
|
86
81
|
export interface InsightPanelTab extends HostedInterfaceTab {
|
|
87
82
|
/**
|
|
88
83
|
* A constant query expression or filter that the Tab should add to any outgoing query.
|
|
@@ -156,14 +151,12 @@ export interface InsightPanelInterfaceConfiguration extends HostedInterfaceConfi
|
|
|
156
151
|
*/
|
|
157
152
|
publishedVersion?: number;
|
|
158
153
|
}
|
|
159
|
-
export
|
|
160
|
-
}
|
|
154
|
+
export type IListInsightPanelInterfacesParameters = ListHostedInterfacesParams;
|
|
161
155
|
export interface InsightPanelInterfaceConfigurationUpdateParams extends Omit<InsightPanelInterfaceConfiguration, 'settings' | 'publishedVersion'>, UpdateVersionedHostedInterfaceExtraParams {
|
|
162
156
|
/**
|
|
163
157
|
* The insight panel settings.
|
|
164
158
|
*/
|
|
165
159
|
settings: WithOptional<InsightPanelSettings, 'smartSnippets' | 'disableDynamicNavigation'>;
|
|
166
160
|
}
|
|
167
|
-
export
|
|
168
|
-
}
|
|
161
|
+
export type InsightPanelInterfaceVersion = HostedInterfaceVersion<InsightPanelInterfaceConfiguration>;
|
|
169
162
|
export {};
|
|
@@ -11,7 +11,6 @@ export default class Limits extends Resource {
|
|
|
11
11
|
getAllPerLimitType(limitType: LimitType): Promise<AllLimitsModel>;
|
|
12
12
|
/**
|
|
13
13
|
* Shows the status of a specific limit in an organization
|
|
14
|
-
*
|
|
15
14
|
* @param sectionName The name of the target license section
|
|
16
15
|
* @param limitKey The unique identifier of the target limit status to show
|
|
17
16
|
*/
|
|
@@ -7,18 +7,22 @@ export default class CaseClassificationConfiguration extends Resource {
|
|
|
7
7
|
static fieldsUrl: string;
|
|
8
8
|
static previewUrl: string;
|
|
9
9
|
/**
|
|
10
|
+
* @param configModel
|
|
10
11
|
* @deprecated create(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use MachineLearning `register(registration: RegistrationModel)` instead.
|
|
11
12
|
*/
|
|
12
13
|
create(configModel: New<CaseClassificationConfigurationModel, 'modelId'>): Promise<CaseClassificationConfigurationModel>;
|
|
13
14
|
/**
|
|
15
|
+
* @param modelId
|
|
14
16
|
* @deprecated delete(modelId: string) is kept for backward compatibility. You should now use Models `delete(modelId: string)` instead.
|
|
15
17
|
*/
|
|
16
18
|
delete(modelId: string): Promise<Record<string, unknown>>;
|
|
17
19
|
/**
|
|
20
|
+
* @param modelId
|
|
18
21
|
* @deprecated get(modelId: string) is kept for backward compatibility. You should now use Models `get(modelId: string)` instead.
|
|
19
22
|
*/
|
|
20
23
|
get(modelId: string): Promise<CaseClassificationConfigurationModel>;
|
|
21
24
|
/**
|
|
25
|
+
* @param configModel
|
|
22
26
|
* @deprecated update(configModel: CaseClassificationConfigurationModel) is kept for backward compatibility. You should now use Models `update(modelId: string, update: RegistrationModel)` instead.
|
|
23
27
|
*/
|
|
24
28
|
update(configModel: CaseClassificationConfigurationModel): Promise<CaseClassificationConfigurationModel>;
|
|
@@ -5,7 +5,6 @@ export interface DocumentPreviewParamsAdvanced {
|
|
|
5
5
|
filterConditions?: never;
|
|
6
6
|
/**
|
|
7
7
|
* The query that determines the documents to extract. Cannot be used with other document extraction parameters, e.g. sources, filter conditions, etc.
|
|
8
|
-
*
|
|
9
8
|
* @Example @source==("My source") AND @permanentid AND @language="English";
|
|
10
9
|
*/
|
|
11
10
|
advancedQuery: string;
|
package/dist/types/resources/MachineLearning/IAPRConfiguration/IAPRConfigurationInterfaces.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export interface IAPRConfigurationModel {
|
|
|
10
10
|
modelDisplayName: string;
|
|
11
11
|
/**
|
|
12
12
|
* The trackingIds that usage analytics events must contain for the model to use those events in its learning process. The model will use an event if it contains at least one of the specified IDs
|
|
13
|
-
*
|
|
14
13
|
* @Example: [ "sport" ]
|
|
15
14
|
*/
|
|
16
15
|
trackingIds: string[];
|
|
@@ -1,43 +1,36 @@
|
|
|
1
1
|
export interface MLListingModel {
|
|
2
2
|
/**
|
|
3
3
|
* The model display name in the Coveo Administration console.
|
|
4
|
-
*
|
|
5
4
|
* @Example `MyModelDisplayName`
|
|
6
5
|
*/
|
|
7
6
|
modelDisplayName: string;
|
|
8
7
|
/**
|
|
9
8
|
* The unique identifier of the target machine learning model.
|
|
10
|
-
*
|
|
11
9
|
* @Example `My_Model_ID`
|
|
12
10
|
*/
|
|
13
11
|
modelId: string;
|
|
14
12
|
/**
|
|
15
13
|
* The id of the engine.
|
|
16
|
-
*
|
|
17
14
|
* @Example `topclicks`
|
|
18
15
|
*/
|
|
19
16
|
engineId: string;
|
|
20
17
|
/**
|
|
21
18
|
* The date and time the model was last updated.
|
|
22
|
-
*
|
|
23
19
|
* @Example `1691762520000`
|
|
24
|
-
|
|
20
|
+
*/
|
|
25
21
|
estimatedPreviousModelUpdateTime: number;
|
|
26
22
|
/**
|
|
27
23
|
* The date and time the model is scheduled to start its next update.
|
|
28
|
-
*
|
|
29
24
|
* @Example `1691762520000`
|
|
30
25
|
*/
|
|
31
26
|
nextModelUpdateTime: number;
|
|
32
27
|
/**
|
|
33
28
|
* Version of the platform.
|
|
34
|
-
*
|
|
35
29
|
* @Example `2`
|
|
36
30
|
*/
|
|
37
31
|
platformVersion: 1 | 2;
|
|
38
32
|
/**
|
|
39
33
|
* The model size statistic. Depending on the model type, this value represents the number of items or queries on which the model was built.
|
|
40
|
-
*
|
|
41
34
|
* @Example `5`
|
|
42
35
|
*/
|
|
43
36
|
modelSizeStatistic: number;
|
|
@@ -55,13 +48,11 @@ export interface MLListingModel {
|
|
|
55
48
|
export interface MLModelStatusInfo {
|
|
56
49
|
/**
|
|
57
50
|
* The status of the model.
|
|
58
|
-
*
|
|
59
51
|
* @Example `ACTIVE`
|
|
60
52
|
*/
|
|
61
53
|
modelStatus: 'ARCHIVED' | 'SOON_TO_BE_ARCHIVED' | 'BUILD_IN_PROGRESS' | 'ERROR' | 'ERROR_INTERNAL' | 'LIMITED' | 'NOT_ASSOCIATED' | 'ACTIVE' | 'INACTIVE';
|
|
62
54
|
/**
|
|
63
55
|
* The remaining days until the model is archived.
|
|
64
|
-
*
|
|
65
56
|
* @Example `4`
|
|
66
57
|
*/
|
|
67
58
|
daysUntilArchival?: number;
|
|
@@ -69,25 +60,21 @@ export interface MLModelStatusInfo {
|
|
|
69
60
|
export interface MLModelAssociation {
|
|
70
61
|
/**
|
|
71
62
|
* The unique identifier of the query pipeline to which the model is associated.
|
|
72
|
-
*
|
|
73
63
|
* @Example `38b08160-d7d4-4626-8e03-53587c23415d`
|
|
74
64
|
*/
|
|
75
65
|
parentId: string;
|
|
76
66
|
/**
|
|
77
67
|
* The unique identifier of the model association.
|
|
78
|
-
*
|
|
79
68
|
* @Example `917af358-13fd-4c8e-94af-7cf649bddc48`
|
|
80
69
|
*/
|
|
81
70
|
id: string;
|
|
82
71
|
/**
|
|
83
72
|
* The name of the query pipeline or case assist configuration the model is associated with.
|
|
84
|
-
*
|
|
85
73
|
* @Example `association name`
|
|
86
74
|
*/
|
|
87
75
|
name: string;
|
|
88
76
|
/**
|
|
89
77
|
* The type of the association.
|
|
90
|
-
*
|
|
91
78
|
* @Example `QUERY_PIPELINE`
|
|
92
79
|
*/
|
|
93
80
|
associationType: 'QUERY_PIPELINE' | 'CASE_ASSIST';
|
package/dist/types/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.d.ts
CHANGED
|
@@ -39,7 +39,6 @@ export interface PQSConfigurationModel {
|
|
|
39
39
|
searchEventFilter?: string;
|
|
40
40
|
/**
|
|
41
41
|
* The trackingIds that usage analytics events must contain for the model to use those events in its learning process. The model will use an event if it contains at least one of the specified IDs
|
|
42
|
-
*
|
|
43
42
|
* @Example: [ "sport" ]
|
|
44
43
|
*/
|
|
45
44
|
trackingIds: string[];
|
|
@@ -2,7 +2,6 @@ import { DocumentRequirementStatus } from '../DocumentInterfaces.js';
|
|
|
2
2
|
export interface RelevanceGenerativeAnsweringDocumentGroupPreview {
|
|
3
3
|
/**
|
|
4
4
|
* The query that was used to fetch document information.
|
|
5
|
-
*
|
|
6
5
|
* @Example @source==("Salesforce Notifier")
|
|
7
6
|
*/
|
|
8
7
|
query: string;
|
|
@@ -28,7 +27,6 @@ export interface RelevanceGenerativeAnsweringDocumentGroupPreview {
|
|
|
28
27
|
documentLimit: number;
|
|
29
28
|
/**
|
|
30
29
|
* Status for the number of required documents to build the model.
|
|
31
|
-
*
|
|
32
30
|
* @Example OK
|
|
33
31
|
*/
|
|
34
32
|
documentRequirementStatus: DocumentRequirementStatus;
|
|
@@ -2,7 +2,6 @@ import { DocumentRequirementStatus } from '../DocumentInterfaces.js';
|
|
|
2
2
|
export interface SemanticEncoderDocumentGroupPreview {
|
|
3
3
|
/**
|
|
4
4
|
* The query that was used to fetch document information.
|
|
5
|
-
*
|
|
6
5
|
* @Example @source==("Salesforce Notifier")
|
|
7
6
|
*/
|
|
8
7
|
query: string;
|
|
@@ -28,7 +27,6 @@ export interface SemanticEncoderDocumentGroupPreview {
|
|
|
28
27
|
documentLimit: number;
|
|
29
28
|
/**
|
|
30
29
|
* Status for the number of required documents to build the model.
|
|
31
|
-
*
|
|
32
30
|
* @Example OK
|
|
33
31
|
*/
|
|
34
32
|
documentRequirementStatus: DocumentRequirementStatus;
|
|
@@ -13,7 +13,6 @@ export interface DocumentType {
|
|
|
13
13
|
export interface SmartSnippetsDocumentGroupPreview {
|
|
14
14
|
/**
|
|
15
15
|
* The query that was used to fetch document information.
|
|
16
|
-
*
|
|
17
16
|
* @Example @source==("Salesforce Notifier")
|
|
18
17
|
*/
|
|
19
18
|
query: string;
|
|
@@ -47,7 +46,6 @@ export interface SmartSnippetsDocumentGroupPreview {
|
|
|
47
46
|
numberOfDocumentsInSourcesMatchingFiltersWithPermanentId: number;
|
|
48
47
|
/**
|
|
49
48
|
* Status for the number of required documents to build the model.
|
|
50
|
-
*
|
|
51
49
|
* @Example OK
|
|
52
50
|
*/
|
|
53
51
|
documentRequirementStatus: DocumentRequirementStatus;
|
|
@@ -11,13 +11,11 @@ export default class Members extends Resource {
|
|
|
11
11
|
/**
|
|
12
12
|
* deletes the member from all groups of an organization.
|
|
13
13
|
* Note: Deleted users can still be included by domain.
|
|
14
|
-
*
|
|
15
14
|
* @param username The username of the member to delete.
|
|
16
15
|
*/
|
|
17
16
|
delete(username: string): Promise<void>;
|
|
18
17
|
/**
|
|
19
18
|
* Shows a member of an organization.
|
|
20
|
-
*
|
|
21
19
|
* @param username The username of the member to show.
|
|
22
20
|
*/
|
|
23
21
|
get(username: string): Promise<OrganizationMemberModel>;
|
|
@@ -27,19 +25,19 @@ export default class Members extends Resource {
|
|
|
27
25
|
getPrivileges(): Promise<GlobalPrivilegeModel[]>;
|
|
28
26
|
/**
|
|
29
27
|
* Updates the members of an organization.
|
|
30
|
-
*
|
|
31
28
|
* @param sendEmailToInvitedUsers Whether to send an invitation email alongside the invite(s). Default to true.
|
|
29
|
+
* @param model
|
|
30
|
+
* @param options
|
|
32
31
|
*/
|
|
33
32
|
updateOrganizationMembers(model: OrganizationMemberModel[], options?: UpdateGroupOptions): Promise<OrganizationMemberModel[]>;
|
|
34
33
|
/**
|
|
35
34
|
* Updates a member of an organization.
|
|
36
|
-
*
|
|
37
35
|
* @param username The username of the member to update.
|
|
36
|
+
* @param model
|
|
38
37
|
*/
|
|
39
38
|
updateMember(username: string, model: OrganizationMemberModel): Promise<OrganizationMemberModel>;
|
|
40
39
|
/**
|
|
41
40
|
* Lists the groups to which an organization member belongs.
|
|
42
|
-
*
|
|
43
41
|
* @param username The username of the user for which to list groups.
|
|
44
42
|
*/
|
|
45
43
|
getGroups(username: string): Promise<GroupModel[]>;
|
|
@@ -22,15 +22,17 @@ export default class Organization extends Resource {
|
|
|
22
22
|
/**
|
|
23
23
|
* Pauses an [organization](https://docs.coveo.com/en/222/).
|
|
24
24
|
* Required privilege: Organization - Edit
|
|
25
|
+
* @param organizationId
|
|
25
26
|
*/
|
|
26
27
|
pause(organizationId?: string): Promise<Record<string, unknown>>;
|
|
27
28
|
/**
|
|
28
29
|
* Resumes a paused [organization](https://docs.coveo.com/en/222/).
|
|
29
30
|
* Required privilege: Organization - Edit
|
|
31
|
+
* @param organizationId
|
|
30
32
|
*/
|
|
31
33
|
resume(organizationId?: string): Promise<Record<string, unknown>>;
|
|
32
34
|
updateAdditionalInformation(additionalInformationObj: Record<string, unknown>): Promise<Record<string, unknown>>;
|
|
33
|
-
getAdditionalInformation(organizationId?: string): Promise<
|
|
35
|
+
getAdditionalInformation(organizationId?: string): Promise<Record<string, unknown>>;
|
|
34
36
|
updateExperimentalStatus(allowed?: boolean): Promise<boolean>;
|
|
35
37
|
listPrivileges(): Promise<PrivilegeModel[]>;
|
|
36
38
|
listMyPrivileges(): Promise<PrivilegeModel[]>;
|
|
@@ -21,7 +21,6 @@ export interface OrganizationsStatusModel {
|
|
|
21
21
|
* - `ACTIVE`: The organization is healthy and fully functional.
|
|
22
22
|
* - `PAUSED`: The organization is currently inactive.
|
|
23
23
|
* - `DELETING`: The organization is currently in the process of being deleted.
|
|
24
|
-
*
|
|
25
24
|
* @example `PAUSED`
|
|
26
25
|
*/
|
|
27
26
|
lifeCycleState: string;
|
|
@@ -36,7 +35,6 @@ export interface OrganizationsStatusModel {
|
|
|
36
35
|
* - `RESUMING`: The organization is transitioning to `ACTIVE`.
|
|
37
36
|
* - `PAUSING_FAILED`: The organization threw an error while transitioning to `PAUSED`.
|
|
38
37
|
* - `RESUMING_FAILED`: The organization threw an error while transitioning to `ACTIVE`.
|
|
39
|
-
*
|
|
40
38
|
* @example `PAUSED`
|
|
41
39
|
*/
|
|
42
40
|
pauseState: string;
|
|
@@ -50,7 +48,6 @@ export interface OrganizationsStatusModel {
|
|
|
50
48
|
provisioningStatus: {
|
|
51
49
|
/**
|
|
52
50
|
* The progress, in percentage, of the ongoing provisioning.
|
|
53
|
-
*
|
|
54
51
|
* @example `100`
|
|
55
52
|
*/
|
|
56
53
|
currentProvisioningProgress: number;
|
|
@@ -60,7 +57,6 @@ export interface OrganizationsStatusModel {
|
|
|
60
57
|
initialProvisioningDone: boolean;
|
|
61
58
|
/**
|
|
62
59
|
* The last time provisioning was successfully completed in number of milliseconds since UNIX epoch.
|
|
63
|
-
*
|
|
64
60
|
* @example `1556722921779`
|
|
65
61
|
*/
|
|
66
62
|
lastProvisioningCompletedDate: number;
|
|
@@ -81,7 +77,6 @@ export interface OrganizationsStatusModel {
|
|
|
81
77
|
* Whether the organization enforces all of its resources (e.g., query pipelines, sources, etc.) to be read-only.
|
|
82
78
|
*
|
|
83
79
|
* **Note:** This parameter is typically only updated when an organization is inactive.
|
|
84
|
-
*
|
|
85
80
|
* @default `false`
|
|
86
81
|
*/
|
|
87
82
|
readOnly: boolean;
|
|
@@ -91,7 +86,6 @@ export interface OrganizationsStatusModel {
|
|
|
91
86
|
* **Allowed values:**
|
|
92
87
|
* - `HEALTHY`: The organization is healthy and fully functional.
|
|
93
88
|
* - `ERROR`: The organization has thrown an error and is currently inactive.
|
|
94
|
-
*
|
|
95
89
|
* @example `ERROR`
|
|
96
90
|
*/
|
|
97
91
|
status: string;
|
|
@@ -117,7 +111,7 @@ export interface OrganizationModel {
|
|
|
117
111
|
servingExperimentAllowed: boolean;
|
|
118
112
|
};
|
|
119
113
|
}
|
|
120
|
-
export type AdditionalOrganizationField = 'status' | 'license' | string;
|
|
114
|
+
export type AdditionalOrganizationField = 'status' | 'license' | (string & {});
|
|
121
115
|
export interface GetOrganizationOptions {
|
|
122
116
|
additionalFields?: AdditionalOrganizationField | AdditionalOrganizationField[];
|
|
123
117
|
}
|
|
@@ -5,38 +5,32 @@ export default class Condition extends Resource {
|
|
|
5
5
|
static baseUrl: string;
|
|
6
6
|
/**
|
|
7
7
|
* Returns a paginated list of condition models.
|
|
8
|
-
*
|
|
9
|
-
* @param {ListConditionsOptions} options
|
|
8
|
+
* @param options
|
|
10
9
|
*/
|
|
11
10
|
list(options?: ListConditionsOptions): Promise<PageModel<ConditionModel, "statements">>;
|
|
12
11
|
/**
|
|
13
12
|
* Creates and returns a new condition model.
|
|
14
|
-
*
|
|
15
|
-
* @param {NewConditionModel} conditionModel
|
|
13
|
+
* @param conditionModel
|
|
16
14
|
*/
|
|
17
15
|
create(conditionModel: NewConditionModel): Promise<ConditionModel>;
|
|
18
16
|
/**
|
|
19
17
|
* Delete a condition model.
|
|
20
|
-
*
|
|
21
|
-
* @param {string} conditionId The unique identifier of the condition to be deleted.
|
|
18
|
+
* @param conditionId The unique identifier of the condition to be deleted.
|
|
22
19
|
*/
|
|
23
20
|
delete(conditionId: string): Promise<Record<string, unknown>>;
|
|
24
21
|
/**
|
|
25
22
|
* Returns a condition model.
|
|
26
|
-
*
|
|
27
|
-
* @param {string} conditionId The unique identifier of the condition to be fetched.
|
|
23
|
+
* @param conditionId The unique identifier of the condition to be fetched.
|
|
28
24
|
*/
|
|
29
25
|
get(conditionId: string): Promise<ConditionModel>;
|
|
30
26
|
/**
|
|
31
27
|
* Update a condition model with the model sent and returns the updated condition model.
|
|
32
|
-
*
|
|
33
|
-
* @param
|
|
34
|
-
* @param {ConditionModel | NewConditionModel} conditionModel
|
|
28
|
+
* @param conditionId The unique identifier of the condition to be updated.
|
|
29
|
+
* @param conditionModel
|
|
35
30
|
*/
|
|
36
31
|
update(conditionId: string, conditionModel: ConditionModel | NewConditionModel): Promise<ConditionModel>;
|
|
37
32
|
/**
|
|
38
33
|
* Bulk get a list of conditions corresponding of the ids sent.
|
|
39
|
-
*
|
|
40
34
|
* @param {string[]} conditionIds The list of condition's ids to be fetched. Limit of 1000 incoming ids.
|
|
41
35
|
* @param {ListConditionsOptions} params
|
|
42
36
|
*/
|
|
@@ -65,7 +65,6 @@ export interface NewConditionModel {
|
|
|
65
65
|
export interface ListConditionsOptions extends Paginated {
|
|
66
66
|
/**
|
|
67
67
|
* Whether to sort the results in ascending order.
|
|
68
|
-
*
|
|
69
68
|
* @default true
|
|
70
69
|
*/
|
|
71
70
|
isOrderAscending?: boolean;
|
|
@@ -77,7 +76,6 @@ export interface ListConditionsOptions extends Paginated {
|
|
|
77
76
|
filter?: string;
|
|
78
77
|
/**
|
|
79
78
|
* The sort criteria to apply on the results.
|
|
80
|
-
*
|
|
81
79
|
* @default ListStatementSortBy.Position
|
|
82
80
|
*/
|
|
83
81
|
sortBy?: ListStatementSortBy;
|
|
@@ -28,8 +28,7 @@ export interface MLAssociationModel {
|
|
|
28
28
|
rankingModifier?: number;
|
|
29
29
|
useAdvancedConfiguration?: boolean;
|
|
30
30
|
}
|
|
31
|
-
export
|
|
32
|
-
}
|
|
31
|
+
export type ListAssociationsParams = Paginated;
|
|
33
32
|
export interface BulkGetAssociationsParams extends Paginated {
|
|
34
33
|
ids: string[];
|
|
35
34
|
}
|
|
@@ -5,7 +5,6 @@ interface PipelineInterfaceUrl {
|
|
|
5
5
|
* Url of the pages affected by this query pipeline.
|
|
6
6
|
*
|
|
7
7
|
* string
|
|
8
|
-
*
|
|
9
8
|
* @example: 'www.acme.com'
|
|
10
9
|
*/
|
|
11
10
|
url: string;
|
|
@@ -29,7 +28,6 @@ interface PipelineShared {
|
|
|
29
28
|
* The name of this query pipeline.
|
|
30
29
|
*
|
|
31
30
|
* string
|
|
32
|
-
*
|
|
33
31
|
* @example: 'Community'
|
|
34
32
|
*/
|
|
35
33
|
name: string;
|
|
@@ -37,9 +35,7 @@ interface PipelineShared {
|
|
|
37
35
|
* The intended purpose of this query pipeline.
|
|
38
36
|
*
|
|
39
37
|
* string
|
|
40
|
-
*
|
|
41
38
|
* @example: 'Provide contextually relevant query recommendations/results to Community site users.'
|
|
42
|
-
|
|
43
39
|
*/
|
|
44
40
|
description?: string;
|
|
45
41
|
/**
|
|
@@ -51,7 +47,6 @@ interface PipelineShared {
|
|
|
51
47
|
* (assuming, of course, that this query pipeline is not the current default query pipeline).
|
|
52
48
|
*
|
|
53
49
|
* boolean
|
|
54
|
-
*
|
|
55
50
|
* @example: false
|
|
56
51
|
*/
|
|
57
52
|
isDefault?: boolean;
|
|
@@ -73,7 +68,6 @@ interface PipelineShared {
|
|
|
73
68
|
* See also the `splitTestTarget`, `splitTestRatio`, and `splitTestEnabled` properties.
|
|
74
69
|
*
|
|
75
70
|
* string
|
|
76
|
-
*
|
|
77
71
|
* @example: 'Community VS default'
|
|
78
72
|
*/
|
|
79
73
|
splitTestName?: string;
|
|
@@ -86,7 +80,6 @@ interface PipelineShared {
|
|
|
86
80
|
* double
|
|
87
81
|
* maximum: 1
|
|
88
82
|
* minimum: 0
|
|
89
|
-
*
|
|
90
83
|
* @example: 0.5
|
|
91
84
|
*/
|
|
92
85
|
splitTestRatio?: number;
|
|
@@ -96,7 +89,6 @@ interface PipelineShared {
|
|
|
96
89
|
* See also the `splitTestName`, `splitTestRatio`, and `splitTestEnabled` properties.
|
|
97
90
|
*
|
|
98
91
|
* string
|
|
99
|
-
*
|
|
100
92
|
* @example: '22a3860e-fa6f-4e64-a9f1-ef738af0786e'
|
|
101
93
|
*/
|
|
102
94
|
splitTestTarget?: string;
|
|
@@ -110,7 +102,6 @@ interface PipelineShared {
|
|
|
110
102
|
* otherwise you risk filling up the cache with useless data.
|
|
111
103
|
*
|
|
112
104
|
* string
|
|
113
|
-
*
|
|
114
105
|
* @example: '@source==CommunityForum OR @source==CommunityDocumentation'
|
|
115
106
|
*/
|
|
116
107
|
filter?: string;
|
|
@@ -120,7 +111,6 @@ interface PipelineShared {
|
|
|
120
111
|
* to provide better support and improve the tools we provide.
|
|
121
112
|
*
|
|
122
113
|
* string
|
|
123
|
-
*
|
|
124
114
|
* @example: 'Service & Support'
|
|
125
115
|
*/
|
|
126
116
|
useCase?: string;
|
|
@@ -132,7 +122,6 @@ export interface PipelineModel extends PipelineShared {
|
|
|
132
122
|
* The unique identifier of this query pipeline.
|
|
133
123
|
*
|
|
134
124
|
* string
|
|
135
|
-
*
|
|
136
125
|
* @example: '120deecf-7822-4d7b-885f-53f184a3a76c'
|
|
137
126
|
*/
|
|
138
127
|
id: string;
|
|
@@ -141,7 +130,6 @@ export interface PipelineModel extends PipelineShared {
|
|
|
141
130
|
* in this Coveo Cloud organization.
|
|
142
131
|
*
|
|
143
132
|
* integer
|
|
144
|
-
*
|
|
145
133
|
* @example: 3
|
|
146
134
|
*/
|
|
147
135
|
position?: number;
|
|
@@ -149,7 +137,6 @@ export interface PipelineModel extends PipelineShared {
|
|
|
149
137
|
* The identifier of the Coveo Cloud platform user who originally created this query pipeline.
|
|
150
138
|
*
|
|
151
139
|
* string
|
|
152
|
-
*
|
|
153
140
|
* @example: 'asmith@coveo.com'
|
|
154
141
|
*/
|
|
155
142
|
created_by?: string;
|
|
@@ -157,7 +144,6 @@ export interface PipelineModel extends PipelineShared {
|
|
|
157
144
|
* The identifier of the Coveo Cloud platform user who last modified this query pipeline.
|
|
158
145
|
*
|
|
159
146
|
* string
|
|
160
|
-
*
|
|
161
147
|
* @example: 'bjones@coveo.com'
|
|
162
148
|
*/
|
|
163
149
|
last_modified_by?: string;
|
|
@@ -171,7 +157,6 @@ export interface PipelineDetailedModel extends PipelineModel {
|
|
|
171
157
|
* The unique identifier of query pipeline A in the A/B test.
|
|
172
158
|
*
|
|
173
159
|
* See also the splitTestName, splitTestRatio, and splitTestEnabled properties
|
|
174
|
-
*
|
|
175
160
|
* @example: '22a3860e-fa6f-4e64-a9f1-ef738af0786e'
|
|
176
161
|
*/
|
|
177
162
|
splitTestOriginalPipeline?: string;
|
|
@@ -15,7 +15,6 @@ export default class ResultRankings extends Resource {
|
|
|
15
15
|
bulkGet(pipelineId: string, { ids, ...allQueryStringOptions }: BulkGetResultRankingsParams): Promise<ListResultRankingResponse>;
|
|
16
16
|
/**
|
|
17
17
|
* Delete multiple result rankings rules in batch for a specific pipeline.
|
|
18
|
-
*
|
|
19
18
|
* @param pipelineId The unique identifier of the target query pipeline.
|
|
20
19
|
* @param ids A list of result ranking rule identifiers to delete. A maximum of 100 can be sent.
|
|
21
20
|
*/
|
|
@@ -232,7 +232,6 @@ export interface ListResultRankingParams extends CoreGetResultRankingParams {
|
|
|
232
232
|
/**
|
|
233
233
|
* Similar to `kind`, the _ruleTypes_ parameter allows to filter by result ranking rule type.
|
|
234
234
|
* This new parameter should be preferred over `kind` as it may eventually support other rule types.
|
|
235
|
-
*
|
|
236
235
|
* @see kind
|
|
237
236
|
*/
|
|
238
237
|
ruleTypes?: ResultRankingsRuleTypes[];
|