@coveo/platform-client 55.13.2 → 56.1.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/MachineLearning/MachineLearning.js +7 -4
- package/dist/cjs/resources/MachineLearning/MachineLearning.js.map +1 -1
- package/dist/cjs/resources/MachineLearning/MachineLearningInterfaces.js +13 -0
- package/dist/cjs/resources/MachineLearning/MachineLearningInterfaces.js.map +1 -1
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js +13 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js +3 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/index.js +10 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/details/index.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/index.js +7 -0
- package/dist/cjs/resources/MachineLearning/ModelDetailedInfo/index.js.map +1 -0
- package/dist/cjs/resources/MachineLearning/index.js +9 -8
- package/dist/cjs/resources/MachineLearning/index.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/MachineLearning/MachineLearning.js +7 -4
- package/dist/esm/resources/MachineLearning/MachineLearning.js.map +1 -1
- package/dist/esm/resources/MachineLearning/MachineLearningInterfaces.js +12 -1
- package/dist/esm/resources/MachineLearning/MachineLearningInterfaces.js.map +1 -1
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js +9 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js +2 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/index.js +7 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/details/index.js.map +1 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/index.js +4 -0
- package/dist/esm/resources/MachineLearning/ModelDetailedInfo/index.js.map +1 -0
- package/dist/esm/resources/MachineLearning/index.js +9 -8
- package/dist/esm/resources/MachineLearning/index.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/MachineLearning.d.ts +6 -4
- package/dist/types/resources/MachineLearning/MachineLearningInterfaces.d.ts +11 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfo.d.ts +6 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/ModelDetailedInfoInterfaces.d.ts +95 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetails.d.ts +21 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsBuildingStats.d.ts +30 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsCommerceEvents.d.ts +6 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsLanguages.d.ts +8 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsStatsPerSource.d.ts +7 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/ModelDetailsSubModels.d.ts +5 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/details/index.d.ts +6 -0
- package/dist/types/resources/MachineLearning/ModelDetailedInfo/index.d.ts +3 -0
- package/dist/types/resources/MachineLearning/ModelListing/ModelListingInterfaces.d.ts +3 -15
- 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/MachineLearning/index.d.ts +9 -8
- 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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringifyNestedObjects.js","sourceRoot":"","sources":["../../../src/utils/stringifyNestedObjects.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG,
|
|
1
|
+
{"version":3,"file":"stringifyNestedObjects.js","sourceRoot":"","sources":["../../../src/utils/stringifyNestedObjects.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAmB,GAAM,EAAK,EAAE;IAClE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,CAAC,GAAG,EAAE,EAAE;QAC7B,MAAM,KAAK,GAAG,GAAG,CAAC,GAAc,CAAC,CAAC;QAClC,IAAI,KAAK,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9D,GAAG,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC;QAC9C,CAAC;IACL,CAAC,CAAC,CAAC;IACH,OAAO,GAAG,CAAC;AACf,CAAC,CAAC"}
|
package/dist/types/APICore.d.ts
CHANGED
|
@@ -11,12 +11,12 @@ export default class API {
|
|
|
11
11
|
get organizationId(): string;
|
|
12
12
|
get<T = Record<string, unknown>>(url: string, args?: CoveoPlatformClientRequestInit): Promise<T>;
|
|
13
13
|
post<T = Record<string, unknown>>(url: string, body: undefined, args?: CoveoPlatformClientRequestInit): Promise<T>;
|
|
14
|
-
post<T = Record<string, unknown>>(url: string, body?:
|
|
14
|
+
post<T = Record<string, unknown>>(url: string, body?: object, args?: Omit<CoveoPlatformClientRequestInit, 'body'>): Promise<T>;
|
|
15
15
|
postForm<T = Record<string, unknown>>(url: string, body: FormData, args?: Omit<CoveoPlatformClientRequestInit, 'body'>): Promise<T>;
|
|
16
16
|
put<T = Record<string, unknown>>(url: string, body: undefined, args?: CoveoPlatformClientRequestInit): Promise<T>;
|
|
17
|
-
put<T = Record<string, unknown>>(url: string, body?:
|
|
17
|
+
put<T = Record<string, unknown>>(url: string, body?: object, args?: Omit<CoveoPlatformClientRequestInit, 'body'>): Promise<T>;
|
|
18
18
|
patch<T = Record<string, unknown>>(url: string, body: undefined, args?: CoveoPlatformClientRequestInit): Promise<T>;
|
|
19
|
-
patch<T = Record<string, unknown>>(url: string, body?:
|
|
19
|
+
patch<T = Record<string, unknown>>(url: string, body?: object, args?: Omit<CoveoPlatformClientRequestInit, 'body'>): Promise<T>;
|
|
20
20
|
delete<T = Record<string, unknown>>(url: string, args?: CoveoPlatformClientRequestInit): Promise<T>;
|
|
21
21
|
abortGetRequests(): void;
|
|
22
22
|
checkToken(): Promise<void>;
|
|
@@ -9,7 +9,6 @@ export interface RequestHandler {
|
|
|
9
9
|
canProcess: Predicate<EnrichedRequestInit>;
|
|
10
10
|
/**
|
|
11
11
|
* How to process the requests.
|
|
12
|
-
*
|
|
13
12
|
* @param request The [request object](https://developer.mozilla.org/en-US/docs/Web/API/Request).
|
|
14
13
|
*/
|
|
15
14
|
process(request: EnrichedRequestInit): EnrichedRequestInit;
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
import 'core-js/actual/json/parse.js';
|
|
2
2
|
import { Predicate } from '../../utils/types.js';
|
|
3
3
|
import { ResponseBodyFormat, ResponseHandler } from './ResponseHandlerInterfaces.js';
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* Check whether the response status is `204 No Content`.
|
|
6
|
+
* @param response
|
|
7
|
+
*/
|
|
5
8
|
export declare const isNoContent: Predicate<Response>;
|
|
6
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Check whether the response is considered to have any "ok" status code (not just 200).
|
|
11
|
+
* @param response
|
|
12
|
+
*/
|
|
7
13
|
export declare const isAnyOkStatus: Predicate<Response>;
|
|
8
14
|
export declare const ResponseHandlers: Readonly<{
|
|
9
15
|
noContent: ResponseHandler;
|
|
@@ -9,9 +9,8 @@ export default class Activity extends Resource {
|
|
|
9
9
|
getResourceTypes(): Promise<string[]>;
|
|
10
10
|
/**
|
|
11
11
|
* Retrieves a list of ActivityOperation for a given organization.
|
|
12
|
-
*
|
|
13
|
-
* @
|
|
14
|
-
* @returns {Promise<ActivityOperation[]>} A list of activity operations.
|
|
12
|
+
* @param includeInternal Whether or not to include internal operations.
|
|
13
|
+
* @returns A list of activity operations.
|
|
15
14
|
*/
|
|
16
15
|
getOperationTypes(includeInternal?: boolean): Promise<ActivityOperation[]>;
|
|
17
16
|
getListOfResourcesAndOperations(): Promise<ActivitiesResourceAndOperations>;
|
|
@@ -5,40 +5,41 @@ export default class Properties extends Resource {
|
|
|
5
5
|
static baseUrl: string;
|
|
6
6
|
/**
|
|
7
7
|
* Build the request path, handling the optional `org` query parameter.
|
|
8
|
-
*
|
|
9
8
|
* @param route The path part of the request.
|
|
10
9
|
* @param queryParams Optional query parameters object.
|
|
11
10
|
* If this object contains an `org` property, it will override the value from the configuration.
|
|
12
11
|
* @returns The request path including formatted query parameters.
|
|
13
12
|
*/
|
|
14
|
-
protected buildPathWithOrg(route: string, queryParams?:
|
|
13
|
+
protected buildPathWithOrg(route: string, queryParams?: object): string;
|
|
15
14
|
/**
|
|
16
15
|
* List all properties
|
|
17
|
-
*
|
|
16
|
+
* @param params
|
|
18
17
|
* @returns Promise<PageModel<PropertyModel>>
|
|
19
18
|
*/
|
|
20
19
|
list(params?: ListPropertiesParams): Promise<PageModel<PropertyModel>>;
|
|
21
20
|
/**
|
|
22
21
|
* Get a property
|
|
23
|
-
*
|
|
22
|
+
* @param trackingId
|
|
24
23
|
* @returns Promise<PropertyModel>
|
|
25
24
|
*/
|
|
26
25
|
get(trackingId: string): Promise<PropertyModel>;
|
|
27
26
|
/**
|
|
28
27
|
* Create a property
|
|
29
|
-
*
|
|
28
|
+
* @param trackingId
|
|
29
|
+
* @param displayName
|
|
30
30
|
* @returns Promise<PropertiesResponseMessage>
|
|
31
31
|
*/
|
|
32
32
|
create(trackingId: string, displayName: string): Promise<PropertiesResponseMessage>;
|
|
33
33
|
/**
|
|
34
34
|
* Edit a property
|
|
35
|
-
*
|
|
35
|
+
* @param trackingId
|
|
36
|
+
* @param displayName
|
|
36
37
|
* @returns Promise<PropertiesResponseMessage>
|
|
37
38
|
*/
|
|
38
39
|
update(trackingId: string, displayName: string): Promise<PropertiesResponseMessage>;
|
|
39
40
|
/**
|
|
40
41
|
* Delete a property
|
|
41
|
-
*
|
|
42
|
+
* @param trackingId
|
|
42
43
|
* @returns Promise<PropertiesResponseMessage>
|
|
43
44
|
*/
|
|
44
45
|
delete(trackingId: string): Promise<PropertiesResponseMessage>;
|
|
@@ -10,8 +10,7 @@ export declare enum CaseClassificationStrategies {
|
|
|
10
10
|
Some = "Some",
|
|
11
11
|
Axon = "Axon"
|
|
12
12
|
}
|
|
13
|
-
export
|
|
14
|
-
}
|
|
13
|
+
export type CaseAssistConfigListOptions = Paginated;
|
|
15
14
|
export interface ITDConfigurationModel {
|
|
16
15
|
pipeline?: string;
|
|
17
16
|
filter?: string;
|
|
@@ -8,6 +8,8 @@ export default class Catalog extends Resource {
|
|
|
8
8
|
delete(catalogId: string): Promise<Record<string, unknown>>;
|
|
9
9
|
get(catalogId: string): Promise<CatalogModel>;
|
|
10
10
|
/**
|
|
11
|
+
* @param catalogId
|
|
12
|
+
* @param options
|
|
11
13
|
* @deprecated getFields(catalogId: string, options?: CatalogFieldsOptions) is kept for backward compatibility, you should now use `getFieldStats(catalogId: string, options?: CatalogFieldStatsOptions)`.
|
|
12
14
|
*/
|
|
13
15
|
getFields(catalogId: string, options?: CatalogFieldsOptions): Promise<CachedCatalogFieldsModel>;
|
|
@@ -8,22 +8,32 @@ export default class ProductListing extends Resource {
|
|
|
8
8
|
static baseCatalogsUrl: string;
|
|
9
9
|
static baseProductListingsUrl: string;
|
|
10
10
|
/**
|
|
11
|
+
* @param catalogId
|
|
12
|
+
* @param options
|
|
11
13
|
* @deprecated
|
|
12
14
|
*/
|
|
13
15
|
list(catalogId: string, options?: ProductListingsListOptions): Promise<PageModel<ProductListingModel>>;
|
|
14
16
|
/**
|
|
17
|
+
* @param catalogId
|
|
18
|
+
* @param model
|
|
15
19
|
* @deprecated
|
|
16
20
|
*/
|
|
17
21
|
create(catalogId: string, model: New<ProductListingModel>): Promise<ProductListingModel>;
|
|
18
22
|
/**
|
|
23
|
+
* @param catalogId
|
|
24
|
+
* @param productListingId
|
|
19
25
|
* @deprecated
|
|
20
26
|
*/
|
|
21
27
|
delete(catalogId: string, productListingId: string): Promise<Record<string, unknown>>;
|
|
22
28
|
/**
|
|
29
|
+
* @param catalogId
|
|
30
|
+
* @param productListingId
|
|
23
31
|
* @deprecated
|
|
24
32
|
*/
|
|
25
33
|
get(catalogId: string, productListingId: string): Promise<ProductListingModel>;
|
|
26
34
|
/**
|
|
35
|
+
* @param catalogId
|
|
36
|
+
* @param model
|
|
27
37
|
* @deprecated
|
|
28
38
|
*/
|
|
29
39
|
update(catalogId: string, model: ProductListingModel): Promise<ProductListingModel>;
|
|
@@ -7,22 +7,38 @@ import { ProductListingConfigurationModel, ProductListingConfigurationOptions }
|
|
|
7
7
|
export default class ProductListingConfiguration extends Resource {
|
|
8
8
|
static baseUrl: string;
|
|
9
9
|
/**
|
|
10
|
+
* @param catalogId
|
|
11
|
+
* @param productListingId
|
|
12
|
+
* @param options
|
|
10
13
|
* @deprecated
|
|
11
14
|
*/
|
|
12
15
|
list(catalogId: string, productListingId: string, options?: ProductListingConfigurationOptions): Promise<PageModel<ProductListingConfigurationModel>>;
|
|
13
16
|
/**
|
|
17
|
+
* @param catalogId
|
|
18
|
+
* @param productListingId
|
|
19
|
+
* @param rankingConfiguration
|
|
14
20
|
* @deprecated
|
|
15
21
|
*/
|
|
16
22
|
create(catalogId: string, productListingId: string, rankingConfiguration: New<ProductListingConfigurationModel>): Promise<Record<string, unknown>>;
|
|
17
23
|
/**
|
|
24
|
+
* @param catalogId
|
|
25
|
+
* @param productListingId
|
|
26
|
+
* @param productListingConfigurationId
|
|
18
27
|
* @deprecated
|
|
19
28
|
*/
|
|
20
29
|
delete(catalogId: string, productListingId: string, productListingConfigurationId: string): Promise<Record<string, unknown>>;
|
|
21
30
|
/**
|
|
31
|
+
* @param catalogId
|
|
32
|
+
* @param productListingId
|
|
33
|
+
* @param productListingConfigurationId
|
|
22
34
|
* @deprecated
|
|
23
35
|
*/
|
|
24
36
|
get(catalogId: string, productListingId: string, productListingConfigurationId: string): Promise<ProductListingConfigurationModel>;
|
|
25
37
|
/**
|
|
38
|
+
* @param catalogId
|
|
39
|
+
* @param productListingId
|
|
40
|
+
* @param productListingConfigurationId
|
|
41
|
+
* @param rankingConfiguration
|
|
26
42
|
* @deprecated
|
|
27
43
|
*/
|
|
28
44
|
update(catalogId: string, productListingId: string, productListingConfigurationId: string, rankingConfiguration: New<ProductListingConfigurationModel>): Promise<Record<string, unknown>>;
|
|
@@ -186,14 +186,10 @@ export interface CrawlingModuleDeployment {
|
|
|
186
186
|
name: string;
|
|
187
187
|
/**
|
|
188
188
|
* The status of the Crawling Module
|
|
189
|
-
*
|
|
190
|
-
* @type {CrawlingModuleStatus}
|
|
191
189
|
*/
|
|
192
190
|
status?: CrawlingModuleStatus;
|
|
193
191
|
/**
|
|
194
192
|
* The component versions of the Crawling Module
|
|
195
|
-
*
|
|
196
|
-
* @type {ComponentVersion}.
|
|
197
193
|
*/
|
|
198
194
|
versions: ComponentVersion;
|
|
199
195
|
}
|
|
@@ -11,16 +11,18 @@ export default class Extension extends Resource {
|
|
|
11
11
|
list(): Promise<ExtensionModel[]>;
|
|
12
12
|
/**
|
|
13
13
|
* Lists all versions of an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).
|
|
14
|
+
* @param extensionId
|
|
14
15
|
*/
|
|
15
16
|
listVersions(extensionId: string): Promise<ExtensionContentVersionModel[]>;
|
|
16
17
|
/**
|
|
17
18
|
* Shows a specific version of an [extension](https://docs.coveo.com/en/206/) in a [Coveo Cloud organization](https://docs.coveo.com/en/185/).
|
|
19
|
+
* @param extensionId
|
|
20
|
+
* @param versionId
|
|
18
21
|
*/
|
|
19
22
|
getVersion(extensionId: string, versionId: string): Promise<ExtensionModel>;
|
|
20
23
|
/**
|
|
21
24
|
* Validates the extension's script
|
|
22
|
-
*
|
|
23
|
-
* @param {ExtensionCompileCode} extensionCode The code to compile
|
|
25
|
+
* @param extensionCode The code to compile
|
|
24
26
|
*/
|
|
25
27
|
validateCode(extensionCode: ExtensionCompileCode): Promise<ExtensionCompileResult>;
|
|
26
28
|
}
|
|
@@ -93,13 +93,11 @@ export interface ExtensionCompileError {
|
|
|
93
93
|
export interface ExtensionContentVersionModel {
|
|
94
94
|
/**
|
|
95
95
|
* The date at which the extension version was created (in number of milliseconds since UNIX epoch), i.e., the date of the modification of the extension when this extension version was created.
|
|
96
|
-
*
|
|
97
96
|
* @example 1556308241000
|
|
98
97
|
*/
|
|
99
98
|
lastModified: number;
|
|
100
99
|
/**
|
|
101
100
|
* The unique identifier of the extension target version.
|
|
102
|
-
*
|
|
103
101
|
* @example hdJSDb4hTkdnsCynNtF.d657FgLSDydcj
|
|
104
102
|
*/
|
|
105
103
|
id: string;
|
|
@@ -12,6 +12,7 @@ export default class Field extends Resource {
|
|
|
12
12
|
get(fieldId: string): Promise<FieldModel>;
|
|
13
13
|
update(fieldId: string, options: FieldModel): Promise<Record<string, unknown>>;
|
|
14
14
|
/**
|
|
15
|
+
* @param params
|
|
15
16
|
* @deprecated list(params?: ListFieldsParams) is kept for backward compatibility, you should now use `search(params?: FieldListingOptions)`.
|
|
16
17
|
*/
|
|
17
18
|
list(params?: ListFieldsParams): Promise<PageModel<FieldModel>>;
|
|
@@ -76,13 +76,11 @@ export interface HostedInterfaceVersion<T> {
|
|
|
76
76
|
export interface ListHostedInterfaceVersionsParams extends Paginated {
|
|
77
77
|
/**
|
|
78
78
|
* The zero-based page to retrieve.
|
|
79
|
-
*
|
|
80
79
|
* @default `0`
|
|
81
80
|
*/
|
|
82
81
|
page?: number;
|
|
83
82
|
/**
|
|
84
83
|
* The number of versions to return per page.
|
|
85
|
-
*
|
|
86
84
|
* @default `10`
|
|
87
85
|
*/
|
|
88
86
|
perPage?: number;
|
|
@@ -97,7 +95,6 @@ export interface ListHostedInterfaceVersionsParams extends Paginated {
|
|
|
97
95
|
* - `undefined`: Configurations are returned in no specific order.
|
|
98
96
|
* - `asc`: Sort version by number in ascending order.
|
|
99
97
|
* - `desc`: Sort version by number in descending order.
|
|
100
|
-
*
|
|
101
98
|
* @default `undefined`
|
|
102
99
|
*/
|
|
103
100
|
order?: 'asc' | 'desc';
|
|
@@ -135,13 +132,11 @@ export interface IAccesses {
|
|
|
135
132
|
domains: string[];
|
|
136
133
|
/**
|
|
137
134
|
* When set to true, all users can share and see the search page.
|
|
138
|
-
*
|
|
139
135
|
* @default false
|
|
140
136
|
*/
|
|
141
137
|
sharingLinkEnabled?: boolean;
|
|
142
138
|
/**
|
|
143
139
|
* When set to true, the domain sharing is enabled. Otherwise, only users that have explicitly access to the search page can access it.
|
|
144
|
-
*
|
|
145
140
|
* @default false
|
|
146
141
|
*/
|
|
147
142
|
sharingDomainEnabled?: boolean;
|
|
@@ -3,10 +3,8 @@ export declare enum IPXResultTemplateLayout {
|
|
|
3
3
|
Default = "default",
|
|
4
4
|
Thumbnail = "thumbnail"
|
|
5
5
|
}
|
|
6
|
-
export
|
|
7
|
-
|
|
8
|
-
export interface IPXCondition extends HostedInterfaceCondition {
|
|
9
|
-
}
|
|
6
|
+
export type IPXFacet = HostedInterfaceFacet;
|
|
7
|
+
export type IPXCondition = HostedInterfaceCondition;
|
|
10
8
|
export interface IPXTab extends HostedInterfaceTab {
|
|
11
9
|
/**
|
|
12
10
|
* A constant query expression or filter that the Tab should add to any outgoing query.
|
|
@@ -17,10 +15,8 @@ export interface IPXTab extends HostedInterfaceTab {
|
|
|
17
15
|
*/
|
|
18
16
|
conditions: IPXCondition[];
|
|
19
17
|
}
|
|
20
|
-
export
|
|
21
|
-
|
|
22
|
-
export interface IPXResultTemplateDetail extends HostedInterfaceResultTemplateDetail {
|
|
23
|
-
}
|
|
18
|
+
export type IPXResultTemplateBadge = HostedInterfaceResultTemplateBadge;
|
|
19
|
+
export type IPXResultTemplateDetail = HostedInterfaceResultTemplateDetail;
|
|
24
20
|
export interface IPXResultTemplate extends HostedInterfaceResultTemplate {
|
|
25
21
|
layout: IPXResultTemplateLayout;
|
|
26
22
|
/**
|
|
@@ -26,6 +26,7 @@ export default class InProductExperiences extends Resource {
|
|
|
26
26
|
/**
|
|
27
27
|
* `delete` is a helper method based on observed behavior of the Coveo UI where deletion logic calls out to the
|
|
28
28
|
* Search Pages endpoint to delete an IPX.
|
|
29
|
+
* @param ipxId
|
|
29
30
|
*/
|
|
30
31
|
delete(ipxId: string): Promise<Record<string, unknown>>;
|
|
31
32
|
}
|
|
@@ -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[];
|
|
@@ -2,15 +2,16 @@ import API from '../../APICore.js';
|
|
|
2
2
|
import Resource from '../Resource.js';
|
|
3
3
|
import CaseClassificationConfiguration from './CaseClassificationConfiguration/CaseClassificationConfiguration.js';
|
|
4
4
|
import DNEConfiguration from './DNEConfiguration/DNEConfiguration.js';
|
|
5
|
-
import
|
|
5
|
+
import IAPRConfiguration from './IAPRConfiguration/IAPRConfiguration.js';
|
|
6
6
|
import { MLModelCreated, RegistrationModel } from './MachineLearningInterfaces.js';
|
|
7
|
+
import ModelDetailedInfo from './ModelDetailedInfo/ModelDetailedInfo.js';
|
|
8
|
+
import ModelListing from './ModelListing/ModelListing.js';
|
|
7
9
|
import Models from './Models/Models.js';
|
|
8
10
|
import PQSConfiguration from './PQSConfiguration/PQSConfiguration.js';
|
|
9
|
-
import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
|
|
10
|
-
import IAPRConfiguration from './IAPRConfiguration/IAPRConfiguration.js';
|
|
11
|
-
import ModelListing from './ModelListing/ModelListing.js';
|
|
12
11
|
import RelevanceGenerativeAnsweringConfiguration from './RGAConfiguration/RelevanceGenerativeAnsweringConfiguration.js';
|
|
13
12
|
import SemanticEncoderConfiguration from './SemanticEncoderConfiguration/SemanticEncoderConfiguration.js';
|
|
13
|
+
import SmartSnippetsConfiguration from './SmartSnippetsConfiguration/SmartSnippetsConfiguration.js';
|
|
14
|
+
import UserActionHistoryConfiguration from './UserActionHistoryConfiguration/UserActionHistoryConfiguration.js';
|
|
14
15
|
export default class MachineLearning extends Resource {
|
|
15
16
|
protected api: API;
|
|
16
17
|
protected serverlessApi: API;
|
|
@@ -25,6 +26,7 @@ export default class MachineLearning extends Resource {
|
|
|
25
26
|
modelListing: ModelListing;
|
|
26
27
|
relevanceGenerativeAnsweringConfig: RelevanceGenerativeAnsweringConfiguration;
|
|
27
28
|
semanticEncoderConfig: SemanticEncoderConfiguration;
|
|
29
|
+
modelDetailedInfo: ModelDetailedInfo;
|
|
28
30
|
constructor(api: API, serverlessApi: API);
|
|
29
31
|
register(registration: RegistrationModel): Promise<MLModelCreated>;
|
|
30
32
|
}
|
|
@@ -85,3 +85,14 @@ export interface MLModelCreated extends New<MLModel> {
|
|
|
85
85
|
startTime?: number;
|
|
86
86
|
resourceId?: string;
|
|
87
87
|
}
|
|
88
|
+
export declare enum MLModelStatus {
|
|
89
|
+
ARCHIVED = "ARCHIVED",
|
|
90
|
+
SOON_TO_BE_ARCHIVED = "SOON_TO_BE_ARCHIVED",
|
|
91
|
+
BUILD_IN_PROGRESS = "BUILD_IN_PROGRESS",
|
|
92
|
+
ERROR = "ERROR",
|
|
93
|
+
ERROR_INTERNAL = "ERROR_INTERNAL",
|
|
94
|
+
LIMITED = "LIMITED",
|
|
95
|
+
NOT_ASSOCIATED = "NOT_ASSOCIATED",
|
|
96
|
+
ACTIVE = "ACTIVE",
|
|
97
|
+
INACTIVE = "INACTIVE"
|
|
98
|
+
}
|