@coveo/platform-client 35.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/LICENSE +201 -0
- package/README.md +245 -0
- package/dist/APICore.js +266 -0
- package/dist/APICore.js.map +1 -0
- package/dist/ConfigurationInterfaces.js +3 -0
- package/dist/ConfigurationInterfaces.js.map +1 -0
- package/dist/Endpoints.js +41 -0
- package/dist/Endpoints.js.map +1 -0
- package/dist/Entry.js +13 -0
- package/dist/Entry.js.map +1 -0
- package/dist/PlatformClient.js +45 -0
- package/dist/PlatformClient.js.map +1 -0
- package/dist/definitions/APICore.d.ts +31 -0
- package/dist/definitions/ConfigurationInterfaces.d.ts +14 -0
- package/dist/definitions/Endpoints.d.ts +13 -0
- package/dist/definitions/Entry.d.ts +9 -0
- package/dist/definitions/PlatformClient.d.ts +18 -0
- package/dist/definitions/handlers/ResponseHandlerInterfaces.d.ts +4 -0
- package/dist/definitions/handlers/ResponseHandlers.d.ts +10 -0
- package/dist/definitions/handlers/index.d.ts +2 -0
- package/dist/definitions/resources/AWS/AWS.d.ts +9 -0
- package/dist/definitions/resources/AWS/AWSInterfaces.d.ts +18 -0
- package/dist/definitions/resources/AWS/index.d.ts +2 -0
- package/dist/definitions/resources/ApiKeys/ApiKeys.d.ts +12 -0
- package/dist/definitions/resources/ApiKeys/ApiKeysInterfaces.d.ts +133 -0
- package/dist/definitions/resources/ApiKeys/index.d.ts +2 -0
- package/dist/definitions/resources/BaseInterfaces.d.ts +51 -0
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfig.d.ts +16 -0
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.d.ts +59 -0
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.d.ts +27 -0
- package/dist/definitions/resources/CaseAssistConfigs/index.d.ts +3 -0
- package/dist/definitions/resources/Catalogs/Catalog.d.ts +21 -0
- package/dist/definitions/resources/Catalogs/CatalogConfiguration.d.ts +11 -0
- package/dist/definitions/resources/Catalogs/CatalogInterfaces.d.ts +338 -0
- package/dist/definitions/resources/Catalogs/ProductListing.d.ts +14 -0
- package/dist/definitions/resources/Catalogs/ProductListingInterfaces.d.ts +76 -0
- package/dist/definitions/resources/Catalogs/index.d.ts +5 -0
- package/dist/definitions/resources/Clusters/Agents/ClusterAgent.d.ts +9 -0
- package/dist/definitions/resources/Clusters/Agents/ClusterAgentInterfaces.d.ts +9 -0
- package/dist/definitions/resources/Clusters/Agents/index.d.ts +2 -0
- package/dist/definitions/resources/Clusters/Cluster.d.ts +18 -0
- package/dist/definitions/resources/Clusters/ClusterInterfaces.d.ts +92 -0
- package/dist/definitions/resources/Clusters/Nodes/ClusterNode.d.ts +12 -0
- package/dist/definitions/resources/Clusters/Nodes/ClusterNodeInterfaces.d.ts +20 -0
- package/dist/definitions/resources/Clusters/Nodes/index.d.ts +2 -0
- package/dist/definitions/resources/Clusters/index.d.ts +4 -0
- package/dist/definitions/resources/Connectivity/Connectivity.d.ts +7 -0
- package/dist/definitions/resources/Connectivity/ConnectivityInterface.d.ts +16 -0
- package/dist/definitions/resources/Connectivity/index.d.ts +2 -0
- package/dist/definitions/resources/CrawlingModule/CrawlingModule.d.ts +11 -0
- package/dist/definitions/resources/CrawlingModule/CrawlingModuleInterfaces.d.ts +28 -0
- package/dist/definitions/resources/CrawlingModule/index.d.ts +2 -0
- package/dist/definitions/resources/Enums.d.ts +976 -0
- package/dist/definitions/resources/Extensions/Extensions.d.ts +12 -0
- package/dist/definitions/resources/Extensions/ExtensionsInterfaces.d.ts +55 -0
- package/dist/definitions/resources/Extensions/index.d.ts +2 -0
- package/dist/definitions/resources/Fields/Fields.d.ts +19 -0
- package/dist/definitions/resources/Fields/FieldsInterfaces.d.ts +70 -0
- package/dist/definitions/resources/Fields/index.d.ts +2 -0
- package/dist/definitions/resources/Global/Global.d.ts +11 -0
- package/dist/definitions/resources/Global/OrganizationConfigurations/OrganizationConfiguration.d.ts +8 -0
- package/dist/definitions/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.d.ts +6 -0
- package/dist/definitions/resources/Global/OrganizationConfigurations/index.d.ts +2 -0
- package/dist/definitions/resources/Global/RegionConfigurations/RegionConfiguration.d.ts +7 -0
- package/dist/definitions/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.d.ts +10 -0
- package/dist/definitions/resources/Global/RegionConfigurations/index.d.ts +2 -0
- package/dist/definitions/resources/Global/index.d.ts +3 -0
- package/dist/definitions/resources/GlobalGroups/GlobalGroup.d.ts +13 -0
- package/dist/definitions/resources/GlobalGroups/GlobalGroupInterfaces.d.ts +18 -0
- package/dist/definitions/resources/GlobalGroups/index.d.ts +2 -0
- package/dist/definitions/resources/Groups/Groups.d.ts +24 -0
- package/dist/definitions/resources/Groups/GroupsInterfaces.d.ts +21 -0
- package/dist/definitions/resources/Groups/Invites/GroupInvite.d.ts +11 -0
- package/dist/definitions/resources/Groups/Invites/GroupInviteInterfaces.d.ts +35 -0
- package/dist/definitions/resources/Groups/Invites/index.d.ts +2 -0
- package/dist/definitions/resources/Groups/Members/GroupMember.d.ts +9 -0
- package/dist/definitions/resources/Groups/Members/GroupMemberInterfaces.d.ts +13 -0
- package/dist/definitions/resources/Groups/Members/index.d.ts +2 -0
- package/dist/definitions/resources/Groups/Realms/GroupRealm.d.ts +9 -0
- package/dist/definitions/resources/Groups/Realms/GroupRealmInterfaces.d.ts +7 -0
- package/dist/definitions/resources/Groups/Realms/index.d.ts +2 -0
- package/dist/definitions/resources/Groups/index.d.ts +5 -0
- package/dist/definitions/resources/InProductExperiences/InProductExperiences.d.ts +31 -0
- package/dist/definitions/resources/InProductExperiences/InProductExperiencesInterfaces.d.ts +327 -0
- package/dist/definitions/resources/InProductExperiences/index.d.ts +2 -0
- package/dist/definitions/resources/Indexes/Indexes.d.ts +26 -0
- package/dist/definitions/resources/Indexes/IndexesInterface.d.ts +198 -0
- package/dist/definitions/resources/Indexes/index.d.ts +2 -0
- package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfig.d.ts +11 -0
- package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.d.ts +158 -0
- package/dist/definitions/resources/InsightPanelConfigs/index.d.ts +2 -0
- package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.d.ts +11 -0
- package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.model.d.ts +240 -0
- package/dist/definitions/resources/InsightPanelInterfaces/index.d.ts +2 -0
- package/dist/definitions/resources/InternalBaseInterface.d.ts +12 -0
- package/dist/definitions/resources/License/License.d.ts +12 -0
- package/dist/definitions/resources/License/LicenseInterfaces.d.ts +194 -0
- package/dist/definitions/resources/License/index.d.ts +2 -0
- package/dist/definitions/resources/Limits/Limits.d.ts +12 -0
- package/dist/definitions/resources/Limits/LimitsInterfaces.d.ts +38 -0
- package/dist/definitions/resources/Limits/index.d.ts +2 -0
- package/dist/definitions/resources/Links/Links.d.ts +5 -0
- package/dist/definitions/resources/Links/index.d.ts +1 -0
- package/dist/definitions/resources/Logs/Logs.d.ts +8 -0
- package/dist/definitions/resources/Logs/LogsInterfaces.d.ts +47 -0
- package/dist/definitions/resources/Logs/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.d.ts +15 -0
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.d.ts +147 -0
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfiguration.d.ts +15 -0
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.d.ts +41 -0
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/FilterConditions.d.ts +18 -0
- package/dist/definitions/resources/MachineLearning/MachineLearning.d.ts +26 -0
- package/dist/definitions/resources/MachineLearning/MachineLearningInterfaces.d.ts +65 -0
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/ModelConfiguration.d.ts +7 -0
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.d.ts +10 -0
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/ModelInformation/ModelInformation.d.ts +10 -0
- package/dist/definitions/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.d.ts +252 -0
- package/dist/definitions/resources/MachineLearning/ModelInformation/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/Models/Models.d.ts +13 -0
- package/dist/definitions/resources/MachineLearning/Models/ModelsInterfaces.d.ts +49 -0
- package/dist/definitions/resources/MachineLearning/Models/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfiguration.d.ts +6 -0
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.d.ts +40 -0
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.d.ts +17 -0
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.d.ts +131 -0
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/index.d.ts +2 -0
- package/dist/definitions/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.d.ts +7 -0
- package/dist/definitions/resources/MachineLearning/UserActionHistoryConfiguration/index.d.ts +1 -0
- package/dist/definitions/resources/MachineLearning/index.d.ts +11 -0
- package/dist/definitions/resources/ModifierTemplates/ModifierTemplateInterfaces.d.ts +71 -0
- package/dist/definitions/resources/ModifierTemplates/ModifierTemplates.d.ts +7 -0
- package/dist/definitions/resources/ModifierTemplates/index.d.ts +2 -0
- package/dist/definitions/resources/Notification/Subscription/Subscription.d.ts +21 -0
- package/dist/definitions/resources/Notification/Subscription/SubscriptionInterfaces.d.ts +41 -0
- package/dist/definitions/resources/Notification/Subscription/index.d.ts +2 -0
- package/dist/definitions/resources/Notification/index.d.ts +2 -0
- package/dist/definitions/resources/Notification/notification.d.ts +9 -0
- package/dist/definitions/resources/OrganizationAccess/Access.d.ts +7 -0
- package/dist/definitions/resources/OrganizationAccess/AccessInterfaces.d.ts +13 -0
- package/dist/definitions/resources/OrganizationAccess/index.d.ts +2 -0
- package/dist/definitions/resources/Organizations/Members/Members.d.ts +8 -0
- package/dist/definitions/resources/Organizations/Members/MembersInterface.d.ts +37 -0
- package/dist/definitions/resources/Organizations/Members/index.d.ts +2 -0
- package/dist/definitions/resources/Organizations/Organization.d.ts +42 -0
- package/dist/definitions/resources/Organizations/OrganizationInterfaces.d.ts +176 -0
- package/dist/definitions/resources/Organizations/index.d.ts +3 -0
- package/dist/definitions/resources/Pipelines/Conditions/Condition.d.ts +11 -0
- package/dist/definitions/resources/Pipelines/Conditions/ConditionInterfaces.d.ts +25 -0
- package/dist/definitions/resources/Pipelines/Conditions/index.d.ts +2 -0
- package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRules.d.ts +11 -0
- package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.d.ts +45 -0
- package/dist/definitions/resources/Pipelines/FacetStateRules/index.d.ts +2 -0
- package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociations.d.ts +13 -0
- package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.d.ts +57 -0
- package/dist/definitions/resources/Pipelines/MLAssociations/index.d.ts +2 -0
- package/dist/definitions/resources/Pipelines/Pipelines.d.ts +30 -0
- package/dist/definitions/resources/Pipelines/PipelinesInterfaces.d.ts +183 -0
- package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankings.d.ts +15 -0
- package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.d.ts +266 -0
- package/dist/definitions/resources/Pipelines/ResultRankings/index.d.ts +2 -0
- package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroups.d.ts +13 -0
- package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.d.ts +230 -0
- package/dist/definitions/resources/Pipelines/StatementGroups/index.d.ts +2 -0
- package/dist/definitions/resources/Pipelines/Statements/Statements.d.ts +16 -0
- package/dist/definitions/resources/Pipelines/Statements/StatementsInterfaces.d.ts +139 -0
- package/dist/definitions/resources/Pipelines/Statements/index.d.ts +2 -0
- package/dist/definitions/resources/Pipelines/index.d.ts +8 -0
- package/dist/definitions/resources/PlatformResources.d.ts +95 -0
- package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluator.d.ts +11 -0
- package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.d.ts +29 -0
- package/dist/definitions/resources/PrivilegeEvaluator/index.d.ts +2 -0
- package/dist/definitions/resources/Products/Product.d.ts +7 -0
- package/dist/definitions/resources/Products/ProductInterfaces.d.ts +209 -0
- package/dist/definitions/resources/Products/index.d.ts +2 -0
- package/dist/definitions/resources/PushApi/PushApi.d.ts +10 -0
- package/dist/definitions/resources/PushApi/PushApiInterfaces.d.ts +37 -0
- package/dist/definitions/resources/PushApi/index.d.ts +2 -0
- package/dist/definitions/resources/Resource.d.ts +10 -0
- package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshots.d.ts +61 -0
- package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.d.ts +309 -0
- package/dist/definitions/resources/ResourceSnapshots/index.d.ts +2 -0
- package/dist/definitions/resources/Saml/Saml.d.ts +14 -0
- package/dist/definitions/resources/Saml/SamlInterfaces.d.ts +13 -0
- package/dist/definitions/resources/Saml/index.d.ts +2 -0
- package/dist/definitions/resources/SchemaService/SchemaService.d.ts +60 -0
- package/dist/definitions/resources/SchemaService/SchemaServiceInterfaces.d.ts +155 -0
- package/dist/definitions/resources/SchemaService/index.d.ts +2 -0
- package/dist/definitions/resources/Search/Search.d.ts +10 -0
- package/dist/definitions/resources/Search/SearchInterfaces.d.ts +2140 -0
- package/dist/definitions/resources/Search/index.d.ts +2 -0
- package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.d.ts +17 -0
- package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.model.d.ts +179 -0
- package/dist/definitions/resources/SearchInterfaces/index.d.ts +2 -0
- package/dist/definitions/resources/SearchPages/SearchPages.d.ts +20 -0
- package/dist/definitions/resources/SearchPages/SearchPagesInterfaces.d.ts +42 -0
- package/dist/definitions/resources/SearchPages/index.d.ts +2 -0
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.d.ts +7 -0
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.d.ts +49 -0
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/index.d.ts +2 -0
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetrics.d.ts +10 -0
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.d.ts +127 -0
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/index.d.ts +2 -0
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubs.d.ts +11 -0
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.d.ts +64 -0
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/index.d.ts +2 -0
- package/dist/definitions/resources/SearchUsageMetrics/SearchUsageMetrics.d.ts +13 -0
- package/dist/definitions/resources/SearchUsageMetrics/index.d.ts +4 -0
- package/dist/definitions/resources/SecurityCache/SecurityCache.d.ts +26 -0
- package/dist/definitions/resources/SecurityCache/SecurityCacheInterfaces.d.ts +137 -0
- package/dist/definitions/resources/SecurityCache/index.d.ts +2 -0
- package/dist/definitions/resources/Sources/Sources.d.ts +67 -0
- package/dist/definitions/resources/Sources/SourcesDatasets/SourcesDatasets.d.ts +8 -0
- package/dist/definitions/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.d.ts +24 -0
- package/dist/definitions/resources/Sources/SourcesDatasets/index.d.ts +2 -0
- package/dist/definitions/resources/Sources/SourcesFields/SourcesFields.d.ts +10 -0
- package/dist/definitions/resources/Sources/SourcesFields/SourcesFieldsInterfaces.d.ts +15 -0
- package/dist/definitions/resources/Sources/SourcesFields/index.d.ts +2 -0
- package/dist/definitions/resources/Sources/SourcesInterfaces.d.ts +114 -0
- package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappings.d.ts +7 -0
- package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.d.ts +72 -0
- package/dist/definitions/resources/Sources/SourcesMappings/index.d.ts +2 -0
- package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadata.d.ts +9 -0
- package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.d.ts +55 -0
- package/dist/definitions/resources/Sources/SourcesMetadata/index.d.ts +2 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Address.d.ts +6 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Authentification.d.ts +37 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Document.d.ts +104 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Error.d.ts +4 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.d.ts +5 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Extension.d.ts +9 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Information.d.ts +59 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Parameter.d.ts +4 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Permission.d.ts +42 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Url.d.ts +6 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/User.d.ts +5 -0
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/index.d.ts +11 -0
- package/dist/definitions/resources/Sources/index.d.ts +6 -0
- package/dist/definitions/resources/TableauService/ContentQuery/ContentQuery.d.ts +8 -0
- package/dist/definitions/resources/TableauService/ContentQuery/ContentQueryInterfaces.d.ts +58 -0
- package/dist/definitions/resources/TableauService/ContentQuery/index.d.ts +2 -0
- package/dist/definitions/resources/TableauService/TableauService.d.ts +9 -0
- package/dist/definitions/resources/TableauService/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/Administration.d.ts +10 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.d.ts +21 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShare.d.ts +9 -0
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.d.ts +43 -0
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/Dimensions.d.ts +21 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.d.ts +101 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/Exports.d.ts +20 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.d.ts +101 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/Filters.d.ts +71 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.d.ts +67 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/Reports.d.ts +58 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.d.ts +99 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/Snowflake.d.ts +16 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.d.ts +49 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/Statistics.d.ts +18 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.d.ts +186 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Users/Users.d.ts +12 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Users/UsersInterfaces.d.ts +113 -0
- package/dist/definitions/resources/UsageAnalytics/Read/Users/index.d.ts +2 -0
- package/dist/definitions/resources/UsageAnalytics/Read/index.d.ts +9 -0
- package/dist/definitions/resources/UsageAnalytics/UsageAnalytics.d.ts +23 -0
- package/dist/definitions/resources/UsageAnalytics/index.d.ts +2 -0
- package/dist/definitions/resources/Users/User.d.ts +9 -0
- package/dist/definitions/resources/Users/UserInterfaces.d.ts +29 -0
- package/dist/definitions/resources/Users/index.d.ts +2 -0
- package/dist/definitions/resources/Vaults/Vaults.d.ts +33 -0
- package/dist/definitions/resources/Vaults/VaultsInterfaces.d.ts +29 -0
- package/dist/definitions/resources/Vaults/index.d.ts +2 -0
- package/dist/definitions/resources/index.d.ts +44 -0
- package/dist/definitions/utils/FormData.d.ts +1 -0
- package/dist/definitions/utils/Retriever.d.ts +3 -0
- package/dist/definitions/utils/WithRequired.d.ts +3 -0
- package/dist/definitions/utils/index.d.ts +2 -0
- package/dist/definitions/utils/normalizePaginatedOptions.d.ts +3 -0
- package/dist/handlers/ResponseHandlerInterfaces.js +3 -0
- package/dist/handlers/ResponseHandlerInterfaces.js.map +1 -0
- package/dist/handlers/ResponseHandlers.js +46 -0
- package/dist/handlers/ResponseHandlers.js.map +1 -0
- package/dist/handlers/index.js +6 -0
- package/dist/handlers/index.js.map +1 -0
- package/dist/resources/AWS/AWS.js +18 -0
- package/dist/resources/AWS/AWS.js.map +1 -0
- package/dist/resources/AWS/AWSInterfaces.js +3 -0
- package/dist/resources/AWS/AWSInterfaces.js.map +1 -0
- package/dist/resources/AWS/index.js +6 -0
- package/dist/resources/AWS/index.js.map +1 -0
- package/dist/resources/ApiKeys/ApiKeys.js +34 -0
- package/dist/resources/ApiKeys/ApiKeys.js.map +1 -0
- package/dist/resources/ApiKeys/ApiKeysInterfaces.js +3 -0
- package/dist/resources/ApiKeys/ApiKeysInterfaces.js.map +1 -0
- package/dist/resources/ApiKeys/index.js +6 -0
- package/dist/resources/ApiKeys/index.js.map +1 -0
- package/dist/resources/BaseInterfaces.js +3 -0
- package/dist/resources/BaseInterfaces.js.map +1 -0
- package/dist/resources/CaseAssistConfigs/CaseAssistConfig.js +42 -0
- package/dist/resources/CaseAssistConfigs/CaseAssistConfig.js.map +1 -0
- package/dist/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.js +18 -0
- package/dist/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.js.map +1 -0
- package/dist/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.js +3 -0
- package/dist/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.js.map +1 -0
- package/dist/resources/CaseAssistConfigs/index.js +7 -0
- package/dist/resources/CaseAssistConfigs/index.js.map +1 -0
- package/dist/resources/Catalogs/Catalog.js +43 -0
- package/dist/resources/Catalogs/Catalog.js.map +1 -0
- package/dist/resources/Catalogs/CatalogConfiguration.js +30 -0
- package/dist/resources/Catalogs/CatalogConfiguration.js.map +1 -0
- package/dist/resources/Catalogs/CatalogInterfaces.js +3 -0
- package/dist/resources/Catalogs/CatalogInterfaces.js.map +1 -0
- package/dist/resources/Catalogs/ProductListing.js +39 -0
- package/dist/resources/Catalogs/ProductListing.js.map +1 -0
- package/dist/resources/Catalogs/ProductListingInterfaces.js +3 -0
- package/dist/resources/Catalogs/ProductListingInterfaces.js.map +1 -0
- package/dist/resources/Catalogs/index.js +9 -0
- package/dist/resources/Catalogs/index.js.map +1 -0
- package/dist/resources/Clusters/Agents/ClusterAgent.js +21 -0
- package/dist/resources/Clusters/Agents/ClusterAgent.js.map +1 -0
- package/dist/resources/Clusters/Agents/ClusterAgentInterfaces.js +3 -0
- package/dist/resources/Clusters/Agents/ClusterAgentInterfaces.js.map +1 -0
- package/dist/resources/Clusters/Agents/index.js +6 -0
- package/dist/resources/Clusters/Agents/index.js.map +1 -0
- package/dist/resources/Clusters/Cluster.js +38 -0
- package/dist/resources/Clusters/Cluster.js.map +1 -0
- package/dist/resources/Clusters/ClusterInterfaces.js +3 -0
- package/dist/resources/Clusters/ClusterInterfaces.js.map +1 -0
- package/dist/resources/Clusters/Nodes/ClusterNode.js +33 -0
- package/dist/resources/Clusters/Nodes/ClusterNode.js.map +1 -0
- package/dist/resources/Clusters/Nodes/ClusterNodeInterfaces.js +3 -0
- package/dist/resources/Clusters/Nodes/ClusterNodeInterfaces.js.map +1 -0
- package/dist/resources/Clusters/Nodes/index.js +6 -0
- package/dist/resources/Clusters/Nodes/index.js.map +1 -0
- package/dist/resources/Clusters/index.js +8 -0
- package/dist/resources/Clusters/index.js.map +1 -0
- package/dist/resources/Connectivity/Connectivity.js +23 -0
- package/dist/resources/Connectivity/Connectivity.js.map +1 -0
- package/dist/resources/Connectivity/ConnectivityInterface.js +9 -0
- package/dist/resources/Connectivity/ConnectivityInterface.js.map +1 -0
- package/dist/resources/Connectivity/index.js +6 -0
- package/dist/resources/Connectivity/index.js.map +1 -0
- package/dist/resources/CrawlingModule/CrawlingModule.js +33 -0
- package/dist/resources/CrawlingModule/CrawlingModule.js.map +1 -0
- package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js +3 -0
- package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js.map +1 -0
- package/dist/resources/CrawlingModule/index.js +6 -0
- package/dist/resources/CrawlingModule/index.js.map +1 -0
- package/dist/resources/Enums.js +1090 -0
- package/dist/resources/Enums.js.map +1 -0
- package/dist/resources/Extensions/Extensions.js +36 -0
- package/dist/resources/Extensions/Extensions.js.map +1 -0
- package/dist/resources/Extensions/ExtensionsInterfaces.js +3 -0
- package/dist/resources/Extensions/ExtensionsInterfaces.js.map +1 -0
- package/dist/resources/Extensions/index.js +6 -0
- package/dist/resources/Extensions/index.js.map +1 -0
- package/dist/resources/Fields/Fields.js +49 -0
- package/dist/resources/Fields/Fields.js.map +1 -0
- package/dist/resources/Fields/FieldsInterfaces.js +3 -0
- package/dist/resources/Fields/FieldsInterfaces.js.map +1 -0
- package/dist/resources/Fields/index.js +6 -0
- package/dist/resources/Fields/index.js.map +1 -0
- package/dist/resources/Global/Global.js +20 -0
- package/dist/resources/Global/Global.js.map +1 -0
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfiguration.js +20 -0
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfiguration.js.map +1 -0
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.js +3 -0
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.js.map +1 -0
- package/dist/resources/Global/OrganizationConfigurations/index.js +6 -0
- package/dist/resources/Global/OrganizationConfigurations/index.js.map +1 -0
- package/dist/resources/Global/RegionConfigurations/RegionConfiguration.js +20 -0
- package/dist/resources/Global/RegionConfigurations/RegionConfiguration.js.map +1 -0
- package/dist/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.js +3 -0
- package/dist/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.js.map +1 -0
- package/dist/resources/Global/RegionConfigurations/index.js +6 -0
- package/dist/resources/Global/RegionConfigurations/index.js.map +1 -0
- package/dist/resources/Global/index.js +7 -0
- package/dist/resources/Global/index.js.map +1 -0
- package/dist/resources/GlobalGroups/GlobalGroup.js +29 -0
- package/dist/resources/GlobalGroups/GlobalGroup.js.map +1 -0
- package/dist/resources/GlobalGroups/GlobalGroupInterfaces.js +3 -0
- package/dist/resources/GlobalGroups/GlobalGroupInterfaces.js.map +1 -0
- package/dist/resources/GlobalGroups/index.js +6 -0
- package/dist/resources/GlobalGroups/index.js.map +1 -0
- package/dist/resources/Groups/Groups.js +42 -0
- package/dist/resources/Groups/Groups.js.map +1 -0
- package/dist/resources/Groups/GroupsInterfaces.js +3 -0
- package/dist/resources/Groups/GroupsInterfaces.js.map +1 -0
- package/dist/resources/Groups/Invites/GroupInvite.js +31 -0
- package/dist/resources/Groups/Invites/GroupInvite.js.map +1 -0
- package/dist/resources/Groups/Invites/GroupInviteInterfaces.js +3 -0
- package/dist/resources/Groups/Invites/GroupInviteInterfaces.js.map +1 -0
- package/dist/resources/Groups/Invites/index.js +6 -0
- package/dist/resources/Groups/Invites/index.js.map +1 -0
- package/dist/resources/Groups/Members/GroupMember.js +28 -0
- package/dist/resources/Groups/Members/GroupMember.js.map +1 -0
- package/dist/resources/Groups/Members/GroupMemberInterfaces.js +3 -0
- package/dist/resources/Groups/Members/GroupMemberInterfaces.js.map +1 -0
- package/dist/resources/Groups/Members/index.js +6 -0
- package/dist/resources/Groups/Members/index.js.map +1 -0
- package/dist/resources/Groups/Realms/GroupRealm.js +27 -0
- package/dist/resources/Groups/Realms/GroupRealm.js.map +1 -0
- package/dist/resources/Groups/Realms/GroupRealmInterfaces.js +3 -0
- package/dist/resources/Groups/Realms/GroupRealmInterfaces.js.map +1 -0
- package/dist/resources/Groups/Realms/index.js +6 -0
- package/dist/resources/Groups/Realms/index.js.map +1 -0
- package/dist/resources/Groups/index.js +9 -0
- package/dist/resources/Groups/index.js.map +1 -0
- package/dist/resources/InProductExperiences/InProductExperiences.js +45 -0
- package/dist/resources/InProductExperiences/InProductExperiences.js.map +1 -0
- package/dist/resources/InProductExperiences/InProductExperiencesInterfaces.js +31 -0
- package/dist/resources/InProductExperiences/InProductExperiencesInterfaces.js.map +1 -0
- package/dist/resources/InProductExperiences/index.js +6 -0
- package/dist/resources/InProductExperiences/index.js.map +1 -0
- package/dist/resources/Indexes/Indexes.js +62 -0
- package/dist/resources/Indexes/Indexes.js.map +1 -0
- package/dist/resources/Indexes/IndexesInterface.js +3 -0
- package/dist/resources/Indexes/IndexesInterface.js.map +1 -0
- package/dist/resources/Indexes/index.js +6 -0
- package/dist/resources/Indexes/index.js.map +1 -0
- package/dist/resources/InsightPanelConfigs/InsightPanelConfig.js +31 -0
- package/dist/resources/InsightPanelConfigs/InsightPanelConfig.js.map +1 -0
- package/dist/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.js +3 -0
- package/dist/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.js.map +1 -0
- package/dist/resources/InsightPanelConfigs/index.js +6 -0
- package/dist/resources/InsightPanelConfigs/index.js.map +1 -0
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.js +31 -0
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.js.map +1 -0
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.model.js +16 -0
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.model.js.map +1 -0
- package/dist/resources/InsightPanelInterfaces/index.js +6 -0
- package/dist/resources/InsightPanelInterfaces/index.js.map +1 -0
- package/dist/resources/InternalBaseInterface.js +3 -0
- package/dist/resources/InternalBaseInterface.js.map +1 -0
- package/dist/resources/License/License.js +33 -0
- package/dist/resources/License/License.js.map +1 -0
- package/dist/resources/License/LicenseInterfaces.js +79 -0
- package/dist/resources/License/LicenseInterfaces.js.map +1 -0
- package/dist/resources/License/index.js +6 -0
- package/dist/resources/License/index.js.map +1 -0
- package/dist/resources/Limits/Limits.js +31 -0
- package/dist/resources/Limits/Limits.js.map +1 -0
- package/dist/resources/Limits/LimitsInterfaces.js +9 -0
- package/dist/resources/Limits/LimitsInterfaces.js.map +1 -0
- package/dist/resources/Limits/index.js +6 -0
- package/dist/resources/Limits/index.js.map +1 -0
- package/dist/resources/Links/Links.js +18 -0
- package/dist/resources/Links/Links.js.map +1 -0
- package/dist/resources/Links/index.js +5 -0
- package/dist/resources/Links/index.js.map +1 -0
- package/dist/resources/Logs/Logs.js +24 -0
- package/dist/resources/Logs/Logs.js.map +1 -0
- package/dist/resources/Logs/LogsInterfaces.js +3 -0
- package/dist/resources/Logs/LogsInterfaces.js.map +1 -0
- package/dist/resources/Logs/index.js +6 -0
- package/dist/resources/Logs/index.js.map +1 -0
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +36 -0
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js.map +1 -0
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.js +9 -0
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/index.js +6 -0
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/index.js.map +1 -0
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfiguration.js +52 -0
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfiguration.js.map +1 -0
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.js +3 -0
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/DNEConfiguration/index.js +6 -0
- package/dist/resources/MachineLearning/DNEConfiguration/index.js.map +1 -0
- package/dist/resources/MachineLearning/FilterConditions.js +3 -0
- package/dist/resources/MachineLearning/FilterConditions.js.map +1 -0
- package/dist/resources/MachineLearning/MachineLearning.js +37 -0
- package/dist/resources/MachineLearning/MachineLearning.js.map +1 -0
- package/dist/resources/MachineLearning/MachineLearningInterfaces.js +3 -0
- package/dist/resources/MachineLearning/MachineLearningInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfiguration.js +23 -0
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfiguration.js.map +1 -0
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.js +3 -0
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/ModelConfiguration/index.js +6 -0
- package/dist/resources/MachineLearning/ModelConfiguration/index.js.map +1 -0
- package/dist/resources/MachineLearning/ModelInformation/ModelInformation.js +26 -0
- package/dist/resources/MachineLearning/ModelInformation/ModelInformation.js.map +1 -0
- package/dist/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.js +3 -0
- package/dist/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/ModelInformation/index.js +6 -0
- package/dist/resources/MachineLearning/ModelInformation/index.js.map +1 -0
- package/dist/resources/MachineLearning/Models/Models.js +36 -0
- package/dist/resources/MachineLearning/Models/Models.js.map +1 -0
- package/dist/resources/MachineLearning/Models/ModelsInterfaces.js +3 -0
- package/dist/resources/MachineLearning/Models/ModelsInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/Models/index.js +6 -0
- package/dist/resources/MachineLearning/Models/index.js.map +1 -0
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfiguration.js +18 -0
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfiguration.js.map +1 -0
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.js +3 -0
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/PQSConfiguration/index.js +6 -0
- package/dist/resources/MachineLearning/PQSConfiguration/index.js.map +1 -0
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.js +40 -0
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.js.map +1 -0
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.js +3 -0
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.js.map +1 -0
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/index.js +6 -0
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/index.js.map +1 -0
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.js +24 -0
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.js.map +1 -0
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/index.js +5 -0
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/index.js.map +1 -0
- package/dist/resources/MachineLearning/index.js +15 -0
- package/dist/resources/MachineLearning/index.js.map +1 -0
- package/dist/resources/ModifierTemplates/ModifierTemplateInterfaces.js +27 -0
- package/dist/resources/ModifierTemplates/ModifierTemplateInterfaces.js.map +1 -0
- package/dist/resources/ModifierTemplates/ModifierTemplates.js +20 -0
- package/dist/resources/ModifierTemplates/ModifierTemplates.js.map +1 -0
- package/dist/resources/ModifierTemplates/index.js +6 -0
- package/dist/resources/ModifierTemplates/index.js.map +1 -0
- package/dist/resources/Notification/Subscription/Subscription.js +62 -0
- package/dist/resources/Notification/Subscription/Subscription.js.map +1 -0
- package/dist/resources/Notification/Subscription/SubscriptionInterfaces.js +3 -0
- package/dist/resources/Notification/Subscription/SubscriptionInterfaces.js.map +1 -0
- package/dist/resources/Notification/Subscription/index.js +6 -0
- package/dist/resources/Notification/Subscription/index.js.map +1 -0
- package/dist/resources/Notification/index.js +6 -0
- package/dist/resources/Notification/index.js.map +1 -0
- package/dist/resources/Notification/notification.js +18 -0
- package/dist/resources/Notification/notification.js.map +1 -0
- package/dist/resources/OrganizationAccess/Access.js +21 -0
- package/dist/resources/OrganizationAccess/Access.js.map +1 -0
- package/dist/resources/OrganizationAccess/AccessInterfaces.js +3 -0
- package/dist/resources/OrganizationAccess/AccessInterfaces.js.map +1 -0
- package/dist/resources/OrganizationAccess/index.js +6 -0
- package/dist/resources/OrganizationAccess/index.js.map +1 -0
- package/dist/resources/Organizations/Members/Members.js +24 -0
- package/dist/resources/Organizations/Members/Members.js.map +1 -0
- package/dist/resources/Organizations/Members/MembersInterface.js +3 -0
- package/dist/resources/Organizations/Members/MembersInterface.js.map +1 -0
- package/dist/resources/Organizations/Members/index.js +6 -0
- package/dist/resources/Organizations/Members/index.js.map +1 -0
- package/dist/resources/Organizations/Organization.js +92 -0
- package/dist/resources/Organizations/Organization.js.map +1 -0
- package/dist/resources/Organizations/OrganizationInterfaces.js +58 -0
- package/dist/resources/Organizations/OrganizationInterfaces.js.map +1 -0
- package/dist/resources/Organizations/index.js +7 -0
- package/dist/resources/Organizations/index.js.map +1 -0
- package/dist/resources/Pipelines/Conditions/Condition.js +30 -0
- package/dist/resources/Pipelines/Conditions/Condition.js.map +1 -0
- package/dist/resources/Pipelines/Conditions/ConditionInterfaces.js +3 -0
- package/dist/resources/Pipelines/Conditions/ConditionInterfaces.js.map +1 -0
- package/dist/resources/Pipelines/Conditions/index.js +6 -0
- package/dist/resources/Pipelines/Conditions/index.js.map +1 -0
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRules.js +40 -0
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRules.js.map +1 -0
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.js +3 -0
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.js.map +1 -0
- package/dist/resources/Pipelines/FacetStateRules/index.js +6 -0
- package/dist/resources/Pipelines/FacetStateRules/index.js.map +1 -0
- package/dist/resources/Pipelines/MLAssociations/MLAssociations.js +46 -0
- package/dist/resources/Pipelines/MLAssociations/MLAssociations.js.map +1 -0
- package/dist/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.js +3 -0
- package/dist/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.js.map +1 -0
- package/dist/resources/Pipelines/MLAssociations/index.js +6 -0
- package/dist/resources/Pipelines/MLAssociations/index.js.map +1 -0
- package/dist/resources/Pipelines/Pipelines.js +61 -0
- package/dist/resources/Pipelines/Pipelines.js.map +1 -0
- package/dist/resources/Pipelines/PipelinesInterfaces.js +3 -0
- package/dist/resources/Pipelines/PipelinesInterfaces.js.map +1 -0
- package/dist/resources/Pipelines/ResultRankings/ResultRankings.js +60 -0
- package/dist/resources/Pipelines/ResultRankings/ResultRankings.js.map +1 -0
- package/dist/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.js +3 -0
- package/dist/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.js.map +1 -0
- package/dist/resources/Pipelines/ResultRankings/index.js +6 -0
- package/dist/resources/Pipelines/ResultRankings/index.js.map +1 -0
- package/dist/resources/Pipelines/StatementGroups/StatementGroups.js +48 -0
- package/dist/resources/Pipelines/StatementGroups/StatementGroups.js.map +1 -0
- package/dist/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js +8 -0
- package/dist/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js.map +1 -0
- package/dist/resources/Pipelines/StatementGroups/index.js +6 -0
- package/dist/resources/Pipelines/StatementGroups/index.js.map +1 -0
- package/dist/resources/Pipelines/Statements/Statements.js +56 -0
- package/dist/resources/Pipelines/Statements/Statements.js.map +1 -0
- package/dist/resources/Pipelines/Statements/StatementsInterfaces.js +3 -0
- package/dist/resources/Pipelines/Statements/StatementsInterfaces.js.map +1 -0
- package/dist/resources/Pipelines/Statements/index.js +6 -0
- package/dist/resources/Pipelines/Statements/index.js.map +1 -0
- package/dist/resources/Pipelines/index.js +12 -0
- package/dist/resources/Pipelines/index.js.map +1 -0
- package/dist/resources/PlatformResources.js +109 -0
- package/dist/resources/PlatformResources.js.map +1 -0
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +23 -0
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluator.js.map +1 -0
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.js +15 -0
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.js.map +1 -0
- package/dist/resources/PrivilegeEvaluator/index.js +6 -0
- package/dist/resources/PrivilegeEvaluator/index.js.map +1 -0
- package/dist/resources/Products/Product.js +18 -0
- package/dist/resources/Products/Product.js.map +1 -0
- package/dist/resources/Products/ProductInterfaces.js +3 -0
- package/dist/resources/Products/ProductInterfaces.js.map +1 -0
- package/dist/resources/Products/index.js +6 -0
- package/dist/resources/Products/index.js.map +1 -0
- package/dist/resources/PushApi/PushApi.js +34 -0
- package/dist/resources/PushApi/PushApi.js.map +1 -0
- package/dist/resources/PushApi/PushApiInterfaces.js +3 -0
- package/dist/resources/PushApi/PushApiInterfaces.js.map +1 -0
- package/dist/resources/PushApi/index.js +6 -0
- package/dist/resources/PushApi/index.js.map +1 -0
- package/dist/resources/Resource.js +25 -0
- package/dist/resources/Resource.js.map +1 -0
- package/dist/resources/ResourceSnapshots/ResourceSnapshots.js +145 -0
- package/dist/resources/ResourceSnapshots/ResourceSnapshots.js.map +1 -0
- package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js +87 -0
- package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js.map +1 -0
- package/dist/resources/ResourceSnapshots/index.js +6 -0
- package/dist/resources/ResourceSnapshots/index.js.map +1 -0
- package/dist/resources/Saml/Saml.js +36 -0
- package/dist/resources/Saml/Saml.js.map +1 -0
- package/dist/resources/Saml/SamlInterfaces.js +3 -0
- package/dist/resources/Saml/SamlInterfaces.js.map +1 -0
- package/dist/resources/Saml/index.js +6 -0
- package/dist/resources/Saml/index.js.map +1 -0
- package/dist/resources/SchemaService/SchemaService.js +85 -0
- package/dist/resources/SchemaService/SchemaService.js.map +1 -0
- package/dist/resources/SchemaService/SchemaServiceInterfaces.js +3 -0
- package/dist/resources/SchemaService/SchemaServiceInterfaces.js.map +1 -0
- package/dist/resources/SchemaService/index.js +6 -0
- package/dist/resources/SchemaService/index.js.map +1 -0
- package/dist/resources/Search/Search.js +37 -0
- package/dist/resources/Search/Search.js.map +1 -0
- package/dist/resources/Search/SearchInterfaces.js +3 -0
- package/dist/resources/Search/SearchInterfaces.js.map +1 -0
- package/dist/resources/Search/index.js +6 -0
- package/dist/resources/Search/index.js.map +1 -0
- package/dist/resources/SearchInterfaces/SearchInterfaces.js +49 -0
- package/dist/resources/SearchInterfaces/SearchInterfaces.js.map +1 -0
- package/dist/resources/SearchInterfaces/SearchInterfaces.model.js +3 -0
- package/dist/resources/SearchInterfaces/SearchInterfaces.model.js.map +1 -0
- package/dist/resources/SearchInterfaces/index.js +6 -0
- package/dist/resources/SearchInterfaces/index.js.map +1 -0
- package/dist/resources/SearchPages/SearchPages.js +60 -0
- package/dist/resources/SearchPages/SearchPages.js.map +1 -0
- package/dist/resources/SearchPages/SearchPagesInterfaces.js +3 -0
- package/dist/resources/SearchPages/SearchPagesInterfaces.js.map +1 -0
- package/dist/resources/SearchPages/index.js +6 -0
- package/dist/resources/SearchPages/index.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js +21 -0
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.js +3 -0
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/index.js +6 -0
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/index.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetrics.js +45 -0
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetrics.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.js +3 -0
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/RawMetrics/index.js +6 -0
- package/dist/resources/SearchUsageMetrics/RawMetrics/index.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubs.js +39 -0
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubs.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.js +3 -0
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/SearchHubs/index.js +6 -0
- package/dist/resources/SearchUsageMetrics/SearchHubs/index.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/SearchUsageMetrics.js +22 -0
- package/dist/resources/SearchUsageMetrics/SearchUsageMetrics.js.map +1 -0
- package/dist/resources/SearchUsageMetrics/index.js +8 -0
- package/dist/resources/SearchUsageMetrics/index.js.map +1 -0
- package/dist/resources/SecurityCache/SecurityCache.js +80 -0
- package/dist/resources/SecurityCache/SecurityCache.js.map +1 -0
- package/dist/resources/SecurityCache/SecurityCacheInterfaces.js +3 -0
- package/dist/resources/SecurityCache/SecurityCacheInterfaces.js.map +1 -0
- package/dist/resources/SecurityCache/index.js +6 -0
- package/dist/resources/SecurityCache/index.js.map +1 -0
- package/dist/resources/Sources/Sources.js +123 -0
- package/dist/resources/Sources/Sources.js.map +1 -0
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasets.js +30 -0
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasets.js.map +1 -0
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.js +35 -0
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.js.map +1 -0
- package/dist/resources/Sources/SourcesDatasets/index.js +6 -0
- package/dist/resources/Sources/SourcesDatasets/index.js.map +1 -0
- package/dist/resources/Sources/SourcesFields/SourcesFields.js +28 -0
- package/dist/resources/Sources/SourcesFields/SourcesFields.js.map +1 -0
- package/dist/resources/Sources/SourcesFields/SourcesFieldsInterfaces.js +3 -0
- package/dist/resources/Sources/SourcesFields/SourcesFieldsInterfaces.js.map +1 -0
- package/dist/resources/Sources/SourcesFields/index.js +6 -0
- package/dist/resources/Sources/SourcesFields/index.js.map +1 -0
- package/dist/resources/Sources/SourcesInterfaces.js +5 -0
- package/dist/resources/Sources/SourcesInterfaces.js.map +1 -0
- package/dist/resources/Sources/SourcesMappings/SourcesMappings.js +22 -0
- package/dist/resources/Sources/SourcesMappings/SourcesMappings.js.map +1 -0
- package/dist/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.js +3 -0
- package/dist/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.js.map +1 -0
- package/dist/resources/Sources/SourcesMappings/index.js +6 -0
- package/dist/resources/Sources/SourcesMappings/index.js.map +1 -0
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadata.js +24 -0
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadata.js.map +1 -0
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.js +3 -0
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.js.map +1 -0
- package/dist/resources/Sources/SourcesMetadata/index.js +6 -0
- package/dist/resources/Sources/SourcesMetadata/index.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Address.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Address.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Authentification.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Authentification.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Document.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Document.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Error.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Error.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Extension.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Extension.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Information.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Information.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Parameter.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Parameter.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Permission.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Permission.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Url.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/Url.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/User.js +3 -0
- package/dist/resources/Sources/SourcesSubInterfaces/User.js.map +1 -0
- package/dist/resources/Sources/SourcesSubInterfaces/index.js +15 -0
- package/dist/resources/Sources/SourcesSubInterfaces/index.js.map +1 -0
- package/dist/resources/Sources/index.js +10 -0
- package/dist/resources/Sources/index.js.map +1 -0
- package/dist/resources/TableauService/ContentQuery/ContentQuery.js +23 -0
- package/dist/resources/TableauService/ContentQuery/ContentQuery.js.map +1 -0
- package/dist/resources/TableauService/ContentQuery/ContentQueryInterfaces.js +3 -0
- package/dist/resources/TableauService/ContentQuery/ContentQueryInterfaces.js.map +1 -0
- package/dist/resources/TableauService/ContentQuery/index.js +6 -0
- package/dist/resources/TableauService/ContentQuery/index.js.map +1 -0
- package/dist/resources/TableauService/TableauService.js +18 -0
- package/dist/resources/TableauService/TableauService.js.map +1 -0
- package/dist/resources/TableauService/index.js +6 -0
- package/dist/resources/TableauService/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Administration/Administration.js +26 -0
- package/dist/resources/UsageAnalytics/Read/Administration/Administration.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Administration/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Administration/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShare.js +26 -0
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShare.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/DataShare/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/DataShare/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +61 -0
- package/dist/resources/UsageAnalytics/Read/Dimensions/Dimensions.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Dimensions/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Dimensions/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Exports/Exports.js +60 -0
- package/dist/resources/UsageAnalytics/Read/Exports/Exports.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Exports/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Exports/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Filters/Filters.js +112 -0
- package/dist/resources/UsageAnalytics/Read/Filters/Filters.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Filters/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Filters/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Reports/Reports.js +100 -0
- package/dist/resources/UsageAnalytics/Read/Reports/Reports.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.js +9 -0
- package/dist/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Reports/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Reports/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +47 -0
- package/dist/resources/UsageAnalytics/Read/Snowflake/Snowflake.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Snowflake/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Snowflake/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Statistics/Statistics.js +53 -0
- package/dist/resources/UsageAnalytics/Read/Statistics/Statistics.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Statistics/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Statistics/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Users/Users.js +35 -0
- package/dist/resources/UsageAnalytics/Read/Users/Users.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Users/UsersInterfaces.js +3 -0
- package/dist/resources/UsageAnalytics/Read/Users/UsersInterfaces.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/Users/index.js +6 -0
- package/dist/resources/UsageAnalytics/Read/Users/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/Read/index.js +13 -0
- package/dist/resources/UsageAnalytics/Read/index.js.map +1 -0
- package/dist/resources/UsageAnalytics/UsageAnalytics.js +32 -0
- package/dist/resources/UsageAnalytics/UsageAnalytics.js.map +1 -0
- package/dist/resources/UsageAnalytics/index.js +6 -0
- package/dist/resources/UsageAnalytics/index.js.map +1 -0
- package/dist/resources/Users/User.js +26 -0
- package/dist/resources/Users/User.js.map +1 -0
- package/dist/resources/Users/UserInterfaces.js +3 -0
- package/dist/resources/Users/UserInterfaces.js.map +1 -0
- package/dist/resources/Users/index.js +6 -0
- package/dist/resources/Users/index.js.map +1 -0
- package/dist/resources/Vaults/Vaults.js +55 -0
- package/dist/resources/Vaults/Vaults.js.map +1 -0
- package/dist/resources/Vaults/VaultsInterfaces.js +3 -0
- package/dist/resources/Vaults/VaultsInterfaces.js.map +1 -0
- package/dist/resources/Vaults/index.js +6 -0
- package/dist/resources/Vaults/index.js.map +1 -0
- package/dist/resources/index.js +48 -0
- package/dist/resources/index.js.map +1 -0
- package/dist/utils/FormData.js +17 -0
- package/dist/utils/FormData.js.map +1 -0
- package/dist/utils/Retriever.js +5 -0
- package/dist/utils/Retriever.js.map +1 -0
- package/dist/utils/WithRequired.js +3 -0
- package/dist/utils/WithRequired.js.map +1 -0
- package/dist/utils/index.js +6 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/normalizePaginatedOptions.js +25 -0
- package/dist/utils/normalizePaginatedOptions.js.map +1 -0
- package/package.json +84 -0
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { GranularResource, PrivilegeModel } from '../BaseInterfaces';
|
|
2
|
+
export interface ApiKeyModel extends GranularResource {
|
|
3
|
+
/**
|
|
4
|
+
* The unique identifier of the [organization](https://docs.coveo.com/en/222/) the API key was created for.
|
|
5
|
+
*/
|
|
6
|
+
organizationId?: string;
|
|
7
|
+
/**
|
|
8
|
+
* The unique identifier of the API key.
|
|
9
|
+
*
|
|
10
|
+
* **Example:** t4hk287bfj5sg6wskg64ckk5a
|
|
11
|
+
*/
|
|
12
|
+
id?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Whether the API key is enabled.
|
|
15
|
+
*/
|
|
16
|
+
enabled?: boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The value of the API key.
|
|
19
|
+
*
|
|
20
|
+
* **Example:** xx65151ec3-7b30-4772-a99a-09b4c0f71343
|
|
21
|
+
*/
|
|
22
|
+
value?: string;
|
|
23
|
+
/**
|
|
24
|
+
* The display name for the API key.
|
|
25
|
+
*
|
|
26
|
+
* **Example:** PushApiKey
|
|
27
|
+
*/
|
|
28
|
+
displayName?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A brief description of the API key.
|
|
31
|
+
*
|
|
32
|
+
* **Example:** API key used for managing sources.
|
|
33
|
+
*/
|
|
34
|
+
description?: string;
|
|
35
|
+
/**
|
|
36
|
+
* The username or the email address that was used to create this API key.
|
|
37
|
+
*/
|
|
38
|
+
createdBy?: any;
|
|
39
|
+
/**
|
|
40
|
+
* The API key creation date in Unix timestamp in milliseconds.
|
|
41
|
+
*
|
|
42
|
+
* **Example:** 1614969486000
|
|
43
|
+
*/
|
|
44
|
+
createdDate?: number;
|
|
45
|
+
/**
|
|
46
|
+
* The approximate API key last used date in Unix timestamp in milliseconds.
|
|
47
|
+
*
|
|
48
|
+
* **Example:** 1624575600000
|
|
49
|
+
*/
|
|
50
|
+
lastUsedDate?: number;
|
|
51
|
+
/**
|
|
52
|
+
* A set of IP addresses allowed to use the API key.
|
|
53
|
+
*
|
|
54
|
+
* **Notes:**
|
|
55
|
+
* - IP ranges using CIDR notation are also supported.
|
|
56
|
+
* - If an IP address is included in both the `allowedIps` as well as the `deniedIps`, the IP address will be denied.
|
|
57
|
+
*
|
|
58
|
+
* **Example:** [`"192.168.0.0/16"`, `"29.186.225.13"`]
|
|
59
|
+
*/
|
|
60
|
+
allowedIps?: string[];
|
|
61
|
+
/**
|
|
62
|
+
* A set of IP addresses that will be denied access when attempting to use the API key.
|
|
63
|
+
*
|
|
64
|
+
* **Notes:**
|
|
65
|
+
* - IP ranges using CIDR notation are also supported.
|
|
66
|
+
* - If an IP address is included in both the `allowedIps` as well as the `deniedIps`, the IP address will be denied.
|
|
67
|
+
*
|
|
68
|
+
* **Example:** [`"192.168.0.0/16"`, `"29.186.225.13"`]
|
|
69
|
+
*/
|
|
70
|
+
deniedIps?: string[];
|
|
71
|
+
/**
|
|
72
|
+
* A set of privileges.
|
|
73
|
+
*/
|
|
74
|
+
privileges?: PrivilegeModel[];
|
|
75
|
+
/**
|
|
76
|
+
* The unique identifier of the API key.
|
|
77
|
+
*
|
|
78
|
+
* **Example:** t4hk287bfj5sg6wskg64ckk5a
|
|
79
|
+
*/
|
|
80
|
+
resourceId?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Additional configuration to be included in an API key. [to be revised]
|
|
83
|
+
*/
|
|
84
|
+
additionalConfiguration?: AdditionalConfigurationModel;
|
|
85
|
+
}
|
|
86
|
+
export interface CreateApiKeyOptions {
|
|
87
|
+
/**
|
|
88
|
+
* The unique identifier of the template on which to base the API key.
|
|
89
|
+
*/
|
|
90
|
+
apiKeyTemplateId?: string;
|
|
91
|
+
}
|
|
92
|
+
interface AdditionalConfigurationModel {
|
|
93
|
+
/**
|
|
94
|
+
* Configuration specific to commerce organization. [to be revised]
|
|
95
|
+
*/
|
|
96
|
+
commerce?: CommerceConfigurationModel;
|
|
97
|
+
search?: SearchConfigurationModel;
|
|
98
|
+
}
|
|
99
|
+
interface CommerceConfigurationModel {
|
|
100
|
+
/**
|
|
101
|
+
* The catalog identifier to be linked to an API key. [to be revised]
|
|
102
|
+
*/
|
|
103
|
+
catalogId: string;
|
|
104
|
+
}
|
|
105
|
+
interface SearchConfigurationModel {
|
|
106
|
+
apiKeyQueryAuthentication?: QueryAuthenticationModel[];
|
|
107
|
+
enforcedQueryPipelineConfiguration?: EnforceQueryPipelineConfigurationModel;
|
|
108
|
+
impersonationRestriction?: ImpersonationRestrictionsModel;
|
|
109
|
+
}
|
|
110
|
+
interface QueryAuthenticationModel {
|
|
111
|
+
/**
|
|
112
|
+
* Authentication name. [to be revised]
|
|
113
|
+
*/
|
|
114
|
+
name: string;
|
|
115
|
+
/**
|
|
116
|
+
* Authentication provider. [to be revised]
|
|
117
|
+
*/
|
|
118
|
+
provider: string;
|
|
119
|
+
/**
|
|
120
|
+
* Authentication type. [to be revised]
|
|
121
|
+
*/
|
|
122
|
+
type: string;
|
|
123
|
+
}
|
|
124
|
+
interface EnforceQueryPipelineConfigurationModel {
|
|
125
|
+
/**
|
|
126
|
+
* Search hub name to be linked to an API key. [to be revised]
|
|
127
|
+
*/
|
|
128
|
+
searchHub: string;
|
|
129
|
+
}
|
|
130
|
+
interface ImpersonationRestrictionsModel {
|
|
131
|
+
allowedUserIds: QueryAuthenticationModel[];
|
|
132
|
+
}
|
|
133
|
+
export {};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export declare type PageModel<T = any, TItemsKey extends string = 'items'> = {
|
|
2
|
+
[key in TItemsKey]: T[];
|
|
3
|
+
} & {
|
|
4
|
+
totalEntries: number;
|
|
5
|
+
totalPages: number;
|
|
6
|
+
};
|
|
7
|
+
export declare type New<T, K extends string | number | symbol = null> = Omit<T, 'id' | K>;
|
|
8
|
+
export interface IdAndDisplayNameModel {
|
|
9
|
+
id: string;
|
|
10
|
+
displayName?: string;
|
|
11
|
+
}
|
|
12
|
+
export interface PrivilegeModel {
|
|
13
|
+
/**
|
|
14
|
+
* The owner of the privilege.
|
|
15
|
+
* See [Valid Privilege owner, targetDomain, and type Combinations](https://docs.coveo.com/en/159/).
|
|
16
|
+
*/
|
|
17
|
+
owner: string;
|
|
18
|
+
/**
|
|
19
|
+
* The target domain of the privilege.
|
|
20
|
+
* See [Valid Privilege owner, targetDomain, and type Combinations](https://docs.coveo.com/en/159/).
|
|
21
|
+
*/
|
|
22
|
+
targetDomain: string;
|
|
23
|
+
/**
|
|
24
|
+
* The `displayName` of the source targeted by the privilege.
|
|
25
|
+
* Note: The wildcard character (`*`) will include all sources.
|
|
26
|
+
*/
|
|
27
|
+
targetId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The type of the privilege.
|
|
30
|
+
* See [Valid Privilege owner, targetDomain, and type Combinations](https://docs.coveo.com/en/159/).
|
|
31
|
+
*/
|
|
32
|
+
type?: string;
|
|
33
|
+
/**
|
|
34
|
+
* The access level of the global privileges.
|
|
35
|
+
*/
|
|
36
|
+
level?: string;
|
|
37
|
+
}
|
|
38
|
+
export interface GranularResource {
|
|
39
|
+
apiKeysThatCanEdit?: IdAndDisplayNameModel[];
|
|
40
|
+
groupsThatCanEdit?: IdAndDisplayNameModel[];
|
|
41
|
+
}
|
|
42
|
+
export interface Paginated {
|
|
43
|
+
/**
|
|
44
|
+
* The 0-based index number of the page of elements to retrieve.
|
|
45
|
+
*/
|
|
46
|
+
page?: number;
|
|
47
|
+
/**
|
|
48
|
+
* The number of elements to list per page.
|
|
49
|
+
*/
|
|
50
|
+
perPage?: number;
|
|
51
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { New, PageModel } from '../BaseInterfaces';
|
|
2
|
+
import Resource from '../Resource';
|
|
3
|
+
import { CaseAssistConfigListOptions, CaseAssistConfigModel, SuggestionRequestBody } from './CaseAssistConfigInterfaces';
|
|
4
|
+
import { PreviewRequestBody, DocumentSuggestions, CaseClassifications } from './CaseAssistPreviewInterfaces';
|
|
5
|
+
export default class CaseAssistConfig extends Resource {
|
|
6
|
+
static baseUrl: string;
|
|
7
|
+
list(options?: CaseAssistConfigListOptions): Promise<PageModel<CaseAssistConfigModel, "configurations">>;
|
|
8
|
+
create(caseAssistConfig: New<CaseAssistConfigModel>): Promise<CaseAssistConfigModel>;
|
|
9
|
+
delete(caseAssistConfigId: string): Promise<Record<string, unknown>>;
|
|
10
|
+
get(caseAssistConfigId: string): Promise<CaseAssistConfigModel>;
|
|
11
|
+
update(caseAssistConfig: CaseAssistConfigModel): Promise<CaseAssistConfigModel>;
|
|
12
|
+
classify(caseAssistConfigId: string, body: SuggestionRequestBody): Promise<CaseClassifications>;
|
|
13
|
+
suggestDocuments(caseAssistConfigId: string, body: SuggestionRequestBody): Promise<DocumentSuggestions>;
|
|
14
|
+
previewDocumentSuggestion(body: PreviewRequestBody): Promise<DocumentSuggestions>;
|
|
15
|
+
previewCaseClassication(body: PreviewRequestBody): Promise<CaseClassifications>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { Paginated } from '../BaseInterfaces';
|
|
2
|
+
export declare enum DocumentSuggestionsStrategies {
|
|
3
|
+
ITD = "ITD"
|
|
4
|
+
}
|
|
5
|
+
export declare enum TypingAidsStrategies {
|
|
6
|
+
StaticValues = "StaticValues",
|
|
7
|
+
ValuesFromIndex = "ValuesFromIndex"
|
|
8
|
+
}
|
|
9
|
+
export declare enum CaseClassificationStrategies {
|
|
10
|
+
Some = "Some",
|
|
11
|
+
Axon = "Axon"
|
|
12
|
+
}
|
|
13
|
+
export interface CaseAssistConfigListOptions extends Paginated {
|
|
14
|
+
}
|
|
15
|
+
export interface ITDConfigurationModel {
|
|
16
|
+
pipeline?: string;
|
|
17
|
+
filter?: string;
|
|
18
|
+
strategy: DocumentSuggestionsStrategies;
|
|
19
|
+
}
|
|
20
|
+
export interface StaticValuesConfigurationModel {
|
|
21
|
+
values: string[];
|
|
22
|
+
strategy: TypingAidsStrategies;
|
|
23
|
+
}
|
|
24
|
+
export interface ValuesFromIndexConfigurationModel {
|
|
25
|
+
filter: string;
|
|
26
|
+
field: string;
|
|
27
|
+
strategy: TypingAidsStrategies;
|
|
28
|
+
}
|
|
29
|
+
export interface FieldToPredict {
|
|
30
|
+
name: string;
|
|
31
|
+
}
|
|
32
|
+
export interface CaseClassificationSomeConfigurationModel {
|
|
33
|
+
filter?: string;
|
|
34
|
+
fieldsToPredict?: FieldToPredict[];
|
|
35
|
+
strategy: CaseClassificationStrategies;
|
|
36
|
+
}
|
|
37
|
+
export interface CaseClassificationAxonConfigurationModel {
|
|
38
|
+
modelId: string;
|
|
39
|
+
strategy: CaseClassificationStrategies;
|
|
40
|
+
}
|
|
41
|
+
export declare type TypingAidsConfigurations = StaticValuesConfigurationModel | ValuesFromIndexConfigurationModel;
|
|
42
|
+
export declare type DocumentSuggestionsConfigurations = ITDConfigurationModel;
|
|
43
|
+
export declare type CaseClassificationConfiguration = CaseClassificationSomeConfigurationModel | CaseClassificationAxonConfigurationModel;
|
|
44
|
+
export interface CaseAssistConfigModel {
|
|
45
|
+
id: string;
|
|
46
|
+
name: string;
|
|
47
|
+
documentSuggestionConfiguration?: DocumentSuggestionsConfigurations;
|
|
48
|
+
typingAidsConfiguration?: TypingAidsConfigurations;
|
|
49
|
+
classificationConfigurations?: CaseClassificationConfiguration[];
|
|
50
|
+
}
|
|
51
|
+
export interface ContextField {
|
|
52
|
+
value: string;
|
|
53
|
+
}
|
|
54
|
+
export declare type ContextFields = Record<string, ContextField>;
|
|
55
|
+
export interface SuggestionRequestBody {
|
|
56
|
+
visitorId: string;
|
|
57
|
+
locale: string;
|
|
58
|
+
fields: ContextFields;
|
|
59
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { New } from '../BaseInterfaces';
|
|
2
|
+
import { CaseAssistConfigModel, ContextFields } from './CaseAssistConfigInterfaces';
|
|
3
|
+
export interface Document {
|
|
4
|
+
title: string;
|
|
5
|
+
clickUri: string;
|
|
6
|
+
excerpt: string;
|
|
7
|
+
fields: Record<string, number | string>;
|
|
8
|
+
}
|
|
9
|
+
export interface DocumentSuggestions {
|
|
10
|
+
documents: Document[];
|
|
11
|
+
totalCount: number;
|
|
12
|
+
}
|
|
13
|
+
export interface FieldValueSuggestion {
|
|
14
|
+
predictions: Array<{
|
|
15
|
+
value: string;
|
|
16
|
+
confidence: number;
|
|
17
|
+
}>;
|
|
18
|
+
}
|
|
19
|
+
export interface CaseClassifications {
|
|
20
|
+
fields: Record<string, FieldValueSuggestion>;
|
|
21
|
+
}
|
|
22
|
+
export interface PreviewRequestBody {
|
|
23
|
+
visitorId: string;
|
|
24
|
+
locale: string;
|
|
25
|
+
fields: ContextFields;
|
|
26
|
+
configuration: New<CaseAssistConfigModel>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { New, PageModel } from '../BaseInterfaces';
|
|
2
|
+
import Resource from '../Resource';
|
|
3
|
+
import { CachedCatalogFieldsModel, CachedCatalogFieldStatsModel, CatalogFieldsOptions, CatalogFieldStatsOptions, CatalogModel, CatalogsListOptions, CreateCatalogModel, FieldsSuggestionsModel, FieldsSuggestionsQueryModel } from './CatalogInterfaces';
|
|
4
|
+
export default class Catalog extends Resource {
|
|
5
|
+
static baseUrl: string;
|
|
6
|
+
list(options?: CatalogsListOptions): Promise<PageModel<CatalogModel, "items">>;
|
|
7
|
+
create(catalog: New<CreateCatalogModel>): Promise<CreateCatalogModel>;
|
|
8
|
+
delete(catalogId: string): Promise<Record<string, unknown>>;
|
|
9
|
+
get(catalogId: string): Promise<CatalogModel>;
|
|
10
|
+
/**
|
|
11
|
+
* @deprecated getFields(catalogId: string, options?: CatalogFieldsOptions) is kept for backward compatibility, you should now use `getFieldStats(catalogId: string, options?: CatalogFieldStatsOptions)`.
|
|
12
|
+
*/
|
|
13
|
+
getFields(catalogId: string, options?: CatalogFieldsOptions): Promise<CachedCatalogFieldsModel>;
|
|
14
|
+
update(catalog: CreateCatalogModel): any;
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated `update(catalog: CatalogModel) is kept for backward compatibility, you should now use `update(catalog: CreateCatalogModel)`.
|
|
17
|
+
*/
|
|
18
|
+
update(catalog: CatalogModel): any;
|
|
19
|
+
getFieldsSuggestions(query: FieldsSuggestionsQueryModel): Promise<FieldsSuggestionsModel>;
|
|
20
|
+
getFieldStats(catalogId: string, options?: CatalogFieldStatsOptions): Promise<CachedCatalogFieldStatsModel>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { New, PageModel } from '../BaseInterfaces';
|
|
2
|
+
import Resource from '../Resource';
|
|
3
|
+
import { CatalogConfigurationModel, CreateCatalogConfigurationModel, CatalogConfigurationsListOptions } from './CatalogInterfaces';
|
|
4
|
+
export default class CatalogConfiguration extends Resource {
|
|
5
|
+
static baseUrl: string;
|
|
6
|
+
list(options?: CatalogConfigurationsListOptions): Promise<PageModel<CatalogConfigurationModel, "items">>;
|
|
7
|
+
create(configuration: New<CreateCatalogConfigurationModel>): Promise<CatalogConfigurationModel>;
|
|
8
|
+
delete(configurationId: string): Promise<Record<string, unknown>>;
|
|
9
|
+
get(configurationId: string): Promise<CatalogConfigurationModel>;
|
|
10
|
+
update(configuration: CreateCatalogConfigurationModel): Promise<CatalogConfigurationModel>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
export interface CatalogsListOptions {
|
|
2
|
+
/**
|
|
3
|
+
* Filter that will be matched against the catalog name, description and its configuration name.
|
|
4
|
+
*/
|
|
5
|
+
filter?: string;
|
|
6
|
+
/**
|
|
7
|
+
* The 0-based index number of the page of catalogs to retrieve.
|
|
8
|
+
*/
|
|
9
|
+
page?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The number of catalogs to list per page.
|
|
12
|
+
*/
|
|
13
|
+
pageSize?: number;
|
|
14
|
+
}
|
|
15
|
+
export declare type CatalogConfigurationsListOptions = Omit<CatalogsListOptions, 'filter'>;
|
|
16
|
+
export interface CatalogFieldsOptions {
|
|
17
|
+
/**
|
|
18
|
+
* If true, the database cache will be bypassed. This will resolve your fields once, and save them into the database.
|
|
19
|
+
*/
|
|
20
|
+
bypassCache?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface CatalogFieldsMapping {
|
|
23
|
+
/**
|
|
24
|
+
* Mapping of index fields to standard commerce fields
|
|
25
|
+
*/
|
|
26
|
+
[name: string]: string;
|
|
27
|
+
}
|
|
28
|
+
export interface CreateCatalogConfigurationModel {
|
|
29
|
+
/**
|
|
30
|
+
* The unique identifier of the catalog configuration.
|
|
31
|
+
*/
|
|
32
|
+
id: string;
|
|
33
|
+
/**
|
|
34
|
+
* The name of the catalog configuration.
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
* The configuration product structure
|
|
39
|
+
*/
|
|
40
|
+
product: Omit<CreateProductHierarchyModel, 'fields'>;
|
|
41
|
+
/**
|
|
42
|
+
* The configuration variant structure
|
|
43
|
+
*/
|
|
44
|
+
variant?: Omit<CreateVariantHierarchyModel, 'fields'>;
|
|
45
|
+
/**
|
|
46
|
+
* The configuration availability structure
|
|
47
|
+
*/
|
|
48
|
+
availability?: Omit<CreateAvailabilityHierarchyModel, 'fields'>;
|
|
49
|
+
/**
|
|
50
|
+
* The configuration mapping of index fields to standard commerce fields
|
|
51
|
+
*/
|
|
52
|
+
fieldsMapping: CatalogFieldsMapping;
|
|
53
|
+
}
|
|
54
|
+
export interface CatalogConfigurationModel {
|
|
55
|
+
/**
|
|
56
|
+
* The unique identifier of the catalog configuration.
|
|
57
|
+
*/
|
|
58
|
+
id: string;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the catalog configuration.
|
|
61
|
+
*/
|
|
62
|
+
name: string;
|
|
63
|
+
/**
|
|
64
|
+
* The configuration product structure
|
|
65
|
+
*/
|
|
66
|
+
product: HierarchyWithFields<ProductHierarchyModel>;
|
|
67
|
+
/**
|
|
68
|
+
* The configuration variant structure
|
|
69
|
+
*/
|
|
70
|
+
variant?: HierarchyWithFields<VariantHierarchyModel>;
|
|
71
|
+
/**
|
|
72
|
+
* The configuration availability structure
|
|
73
|
+
*/
|
|
74
|
+
availability?: HierarchyWithFields<AvailabilityHierarchyModel>;
|
|
75
|
+
/**
|
|
76
|
+
* The configuration mapping of index fields to standard commerce fields
|
|
77
|
+
*/
|
|
78
|
+
fieldsMapping: CatalogFieldsMapping;
|
|
79
|
+
/**
|
|
80
|
+
* Catalogs associated to the configuration
|
|
81
|
+
*/
|
|
82
|
+
associatedCatalogs: IAssociatedCatalogModel[];
|
|
83
|
+
}
|
|
84
|
+
export interface IAssociatedCatalogModel {
|
|
85
|
+
/**
|
|
86
|
+
* The unique identifier of the catalog
|
|
87
|
+
*/
|
|
88
|
+
id: string;
|
|
89
|
+
/**
|
|
90
|
+
* The name of the catalog
|
|
91
|
+
*/
|
|
92
|
+
name: string;
|
|
93
|
+
/**
|
|
94
|
+
* The source containing catalog products
|
|
95
|
+
*/
|
|
96
|
+
sourceId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* The source containing catalog availabilities
|
|
99
|
+
*/
|
|
100
|
+
availabilitySourceId?: string;
|
|
101
|
+
}
|
|
102
|
+
export interface BaseCatalogModel {
|
|
103
|
+
/**
|
|
104
|
+
* The unique identifier of the catalog
|
|
105
|
+
*/
|
|
106
|
+
id: string;
|
|
107
|
+
/**
|
|
108
|
+
* The name of the catalog
|
|
109
|
+
*/
|
|
110
|
+
name: string;
|
|
111
|
+
/**
|
|
112
|
+
* The description of the catalog
|
|
113
|
+
*/
|
|
114
|
+
description?: string;
|
|
115
|
+
/**
|
|
116
|
+
* The source containing catalog products
|
|
117
|
+
*/
|
|
118
|
+
sourceId?: string;
|
|
119
|
+
/**
|
|
120
|
+
* The source containing catalog availabilities
|
|
121
|
+
*/
|
|
122
|
+
availabilitySourceId?: string;
|
|
123
|
+
/**
|
|
124
|
+
* @deprecated use `sourceId` and `availabilitySourceId` instead.
|
|
125
|
+
*/
|
|
126
|
+
scope?: ScopeModel;
|
|
127
|
+
}
|
|
128
|
+
export declare type HierarchyWithFields<T extends {
|
|
129
|
+
fields?: string[];
|
|
130
|
+
}> = Omit<T, 'fields'> & {
|
|
131
|
+
/**
|
|
132
|
+
* Fields for a specific object type
|
|
133
|
+
*/
|
|
134
|
+
fields: string[];
|
|
135
|
+
};
|
|
136
|
+
interface Updated {
|
|
137
|
+
/**
|
|
138
|
+
* Cache last updated timestamp
|
|
139
|
+
*/
|
|
140
|
+
lastUpdated: number;
|
|
141
|
+
/**
|
|
142
|
+
* Cache next update timestamp
|
|
143
|
+
*/
|
|
144
|
+
nextUpdate: number;
|
|
145
|
+
}
|
|
146
|
+
interface Cached<T> extends Updated {
|
|
147
|
+
/**
|
|
148
|
+
* Cached items
|
|
149
|
+
*/
|
|
150
|
+
item: T;
|
|
151
|
+
}
|
|
152
|
+
interface CatalogFieldsModel {
|
|
153
|
+
/**
|
|
154
|
+
* Fields for the product object type
|
|
155
|
+
*/
|
|
156
|
+
productFields: string[];
|
|
157
|
+
/**
|
|
158
|
+
* Fields for the variant object type
|
|
159
|
+
*/
|
|
160
|
+
variantFields: string[];
|
|
161
|
+
/**
|
|
162
|
+
* Fields for the availability object type
|
|
163
|
+
*/
|
|
164
|
+
availabilityFields: string[];
|
|
165
|
+
}
|
|
166
|
+
export declare type CachedCatalogFieldsModel = Cached<CatalogFieldsModel>;
|
|
167
|
+
export interface CatalogModel extends BaseCatalogModel {
|
|
168
|
+
/**
|
|
169
|
+
* @deprecated use `configuration.product` instead.
|
|
170
|
+
*/
|
|
171
|
+
product: ProductHierarchyModel;
|
|
172
|
+
/**
|
|
173
|
+
* @deprecated use `configuration.variant` instead.
|
|
174
|
+
*/
|
|
175
|
+
variant?: HierarchyWithFields<VariantHierarchyModel>;
|
|
176
|
+
/**
|
|
177
|
+
* @deprecated use `configuration.availability` instead.
|
|
178
|
+
*/
|
|
179
|
+
availability?: HierarchyWithFields<AvailabilityHierarchyModel>;
|
|
180
|
+
/**
|
|
181
|
+
* The related catalog configuration id
|
|
182
|
+
*/
|
|
183
|
+
catalogConfigurationId?: string;
|
|
184
|
+
/**
|
|
185
|
+
* The catalog configuration
|
|
186
|
+
*/
|
|
187
|
+
configuration?: CatalogConfigurationModel;
|
|
188
|
+
}
|
|
189
|
+
export declare type CreateCatalogModel = BaseCatalogModel & ({
|
|
190
|
+
product?: CreateProductHierarchyModel;
|
|
191
|
+
variant?: CreateVariantHierarchyModel;
|
|
192
|
+
availability?: CreateAvailabilityHierarchyModel;
|
|
193
|
+
catalogConfigurationId?: never;
|
|
194
|
+
} | {
|
|
195
|
+
product?: never;
|
|
196
|
+
variant?: never;
|
|
197
|
+
availability?: never;
|
|
198
|
+
catalogConfigurationId: string;
|
|
199
|
+
});
|
|
200
|
+
export interface FieldsSuggestionsQueryModel {
|
|
201
|
+
/**
|
|
202
|
+
* Source names for which to retrieve product and variant field suggestions
|
|
203
|
+
*/
|
|
204
|
+
sourceNames: string[];
|
|
205
|
+
/**
|
|
206
|
+
* Source names for which to retrievee availability field suggestions
|
|
207
|
+
*/
|
|
208
|
+
availabilitySourceNames?: string[];
|
|
209
|
+
/**
|
|
210
|
+
* The product object type
|
|
211
|
+
*/
|
|
212
|
+
productObjectType: string;
|
|
213
|
+
/**
|
|
214
|
+
* The variant object type
|
|
215
|
+
*/
|
|
216
|
+
variantObjectType?: string;
|
|
217
|
+
/**
|
|
218
|
+
* The availability object type
|
|
219
|
+
*/
|
|
220
|
+
availabilityObjectType?: string;
|
|
221
|
+
}
|
|
222
|
+
export interface FieldsSuggestionsModel {
|
|
223
|
+
/**
|
|
224
|
+
* List of field suggestions
|
|
225
|
+
*/
|
|
226
|
+
fields: FieldSuggestions[];
|
|
227
|
+
}
|
|
228
|
+
export interface FieldSuggestions {
|
|
229
|
+
/**
|
|
230
|
+
* Suggested field name
|
|
231
|
+
*/
|
|
232
|
+
name: string;
|
|
233
|
+
/**
|
|
234
|
+
* Example values for the field
|
|
235
|
+
*/
|
|
236
|
+
examples: string[];
|
|
237
|
+
}
|
|
238
|
+
export interface ProductHierarchyModel {
|
|
239
|
+
/**
|
|
240
|
+
* @deprecated `fields` will be ignored by the service on creation or update, but is kept for backward compatibility.
|
|
241
|
+
*/
|
|
242
|
+
fields?: string[];
|
|
243
|
+
/**
|
|
244
|
+
* Field used as the unique product identifier
|
|
245
|
+
*/
|
|
246
|
+
idField: string;
|
|
247
|
+
/**
|
|
248
|
+
* Product object type
|
|
249
|
+
*/
|
|
250
|
+
objectType: string;
|
|
251
|
+
}
|
|
252
|
+
export declare type CreateProductHierarchyModel = ProductHierarchyModel;
|
|
253
|
+
export interface VariantHierarchyModel {
|
|
254
|
+
/**
|
|
255
|
+
* @deprecated `fields` will be ignored by the service on creation or update, but is kept for backward compatibility.
|
|
256
|
+
*/
|
|
257
|
+
fields: string[];
|
|
258
|
+
/**
|
|
259
|
+
* Field used as the unique variant identifier
|
|
260
|
+
*/
|
|
261
|
+
idField: string;
|
|
262
|
+
/**
|
|
263
|
+
* Variant object type
|
|
264
|
+
*/
|
|
265
|
+
objectType: string;
|
|
266
|
+
}
|
|
267
|
+
export declare type CreateVariantHierarchyModel = VariantHierarchyModel;
|
|
268
|
+
export interface AvailabilityHierarchyModel {
|
|
269
|
+
/**
|
|
270
|
+
* Field used to contain the list of SKUs for an availability
|
|
271
|
+
*/
|
|
272
|
+
availableSkusField: string;
|
|
273
|
+
/**
|
|
274
|
+
* @deprecated `fields` will be ignored by the service on creation or update, but is kept for backward compatibility.
|
|
275
|
+
*/
|
|
276
|
+
fields: string[];
|
|
277
|
+
/**
|
|
278
|
+
* Field used as the unique availability identifier
|
|
279
|
+
*/
|
|
280
|
+
idField?: string;
|
|
281
|
+
/**
|
|
282
|
+
* Availability object type
|
|
283
|
+
*/
|
|
284
|
+
objectType: string;
|
|
285
|
+
}
|
|
286
|
+
export declare type CreateAvailabilityHierarchyModel = AvailabilityHierarchyModel & {
|
|
287
|
+
/**
|
|
288
|
+
* Field used as the unique availability identifier
|
|
289
|
+
*/
|
|
290
|
+
idField: string;
|
|
291
|
+
};
|
|
292
|
+
export declare type ScopeModel = {
|
|
293
|
+
query: string;
|
|
294
|
+
} | {
|
|
295
|
+
query?: string;
|
|
296
|
+
sourceIds: string[];
|
|
297
|
+
};
|
|
298
|
+
export interface CachedCatalogFieldStatsModel extends Updated {
|
|
299
|
+
/**
|
|
300
|
+
* List of field statistics
|
|
301
|
+
*/
|
|
302
|
+
fieldStats: FieldStatsModel[];
|
|
303
|
+
}
|
|
304
|
+
export interface FieldStatsItemModel {
|
|
305
|
+
/**
|
|
306
|
+
* Number of objects in the catalog with this field
|
|
307
|
+
*/
|
|
308
|
+
objectsWithField: number;
|
|
309
|
+
/**
|
|
310
|
+
* Number of objects in the catalog with this type
|
|
311
|
+
*/
|
|
312
|
+
objectsWithType: number;
|
|
313
|
+
}
|
|
314
|
+
export interface FieldStatsModel {
|
|
315
|
+
/**
|
|
316
|
+
* Field name
|
|
317
|
+
*/
|
|
318
|
+
fieldName: string;
|
|
319
|
+
/**
|
|
320
|
+
* The field stats for product structure
|
|
321
|
+
*/
|
|
322
|
+
product: FieldStatsItemModel;
|
|
323
|
+
/**
|
|
324
|
+
* The field stats for variant structure
|
|
325
|
+
*/
|
|
326
|
+
variant: FieldStatsItemModel;
|
|
327
|
+
/**
|
|
328
|
+
* The field stats for availability structure
|
|
329
|
+
*/
|
|
330
|
+
availability: FieldStatsItemModel;
|
|
331
|
+
}
|
|
332
|
+
export interface CatalogFieldStatsOptions {
|
|
333
|
+
/**
|
|
334
|
+
* Wether we need to force a refresh of field statistics. Field statistics are cached and computed on a regular interval.
|
|
335
|
+
*/
|
|
336
|
+
forceRefresh?: boolean;
|
|
337
|
+
}
|
|
338
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { New, PageModel } from '../BaseInterfaces';
|
|
2
|
+
import Resource from '../Resource';
|
|
3
|
+
import { ProductListingsListOptions, ProductListingModel, CatalogProductListingsGroupModel } from './ProductListingInterfaces';
|
|
4
|
+
export default class ProductListing extends Resource {
|
|
5
|
+
static baseCatalogsUrl: string;
|
|
6
|
+
static baseProductListingsUrl: string;
|
|
7
|
+
list(catalogId: string, options?: ProductListingsListOptions): Promise<PageModel<ProductListingModel, "items">>;
|
|
8
|
+
create(catalogId: string, model: New<ProductListingModel>): Promise<ProductListingModel>;
|
|
9
|
+
delete(catalogId: string, productListingId: string): Promise<Record<string, unknown>>;
|
|
10
|
+
get(catalogId: string, productListingId: string): Promise<ProductListingModel>;
|
|
11
|
+
update(catalogId: string, model: ProductListingModel): Promise<ProductListingModel>;
|
|
12
|
+
getByCatalog(): Promise<PageModel<CatalogProductListingsGroupModel, "items">>;
|
|
13
|
+
getUrls(): Promise<string[]>;
|
|
14
|
+
}
|