@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,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var APICore_1 = tslib_1.__importDefault(require("../../APICore"));
|
|
5
|
+
var Resource_1 = tslib_1.__importDefault(require("../Resource"));
|
|
6
|
+
var PushApi = /** @class */ (function (_super) {
|
|
7
|
+
tslib_1.__extends(PushApi, _super);
|
|
8
|
+
function PushApi() {
|
|
9
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
PushApi.prototype.createOrUpdateSecurityIdentityAlias = function (securityProviderId, alias, options) {
|
|
12
|
+
return this.serverlessApi.put(this.buildPath("".concat(PushApi.baseUrl, "/").concat(securityProviderId, "/mappings"), options), alias);
|
|
13
|
+
};
|
|
14
|
+
PushApi.prototype.deleteSecurityIdentity = function (securityProviderId, securityIdentity, options) {
|
|
15
|
+
return this.serverlessApi.delete(this.buildPath("".concat(PushApi.baseUrl, "/").concat(securityProviderId, "/permissions"), options), {
|
|
16
|
+
method: 'delete',
|
|
17
|
+
body: JSON.stringify(securityIdentity),
|
|
18
|
+
headers: { 'Content-Type': 'application/json' },
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
PushApi.prototype.createOrUpdateSecurityIdentity = function (securityProviderId, securityIdentity, options) {
|
|
22
|
+
return this.serverlessApi.put(this.buildPath("".concat(PushApi.baseUrl, "/").concat(securityProviderId, "/permissions"), options), securityIdentity);
|
|
23
|
+
};
|
|
24
|
+
PushApi.prototype.manageSecurityIdentities = function (securityProviderId, batchConfig) {
|
|
25
|
+
return this.serverlessApi.put(this.buildPath("".concat(PushApi.baseUrl, "/").concat(securityProviderId, "/permissions/batch"), batchConfig));
|
|
26
|
+
};
|
|
27
|
+
PushApi.prototype.deleteOldSecurityIdentities = function (securityProviderId, batchDelete) {
|
|
28
|
+
return this.serverlessApi.delete(this.buildPath("".concat(PushApi.baseUrl, "/").concat(securityProviderId, "/permissions/olderthan"), batchDelete));
|
|
29
|
+
};
|
|
30
|
+
PushApi.baseUrl = "/push/v1/organizations/".concat(APICore_1.default.orgPlaceholder, "/providers");
|
|
31
|
+
return PushApi;
|
|
32
|
+
}(Resource_1.default));
|
|
33
|
+
exports.default = PushApi;
|
|
34
|
+
//# sourceMappingURL=PushApi.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PushApi.js","sourceRoot":"","sources":["../../../src/resources/PushApi/PushApi.ts"],"names":[],"mappings":";;;AAAA,kEAAgC;AAChC,iEAAmC;AAUnC;IAAqC,mCAAQ;IAA7C;;IAmDA,CAAC;IAhDG,qDAAmC,GAAnC,UACI,kBAA0B,EAC1B,KAAiC,EACjC,OAAiC;QAEjC,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CACzB,IAAI,CAAC,SAAS,CAAC,UAAG,OAAO,CAAC,OAAO,cAAI,kBAAkB,cAAW,EAAE,OAAO,CAAC,EAC5E,KAAK,CACR,CA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js","sourceRoot":"","sources":["../../../src/resources/PushApi/PushApiInterfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/PushApi/index.ts"],"names":[],"mappings":";;;AAAA,oDAA0B;AAC1B,8DAAoC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var queryString = tslib_1.__importStar(require("query-string"));
|
|
5
|
+
var Resource = /** @class */ (function () {
|
|
6
|
+
function Resource(api, serverlessApi) {
|
|
7
|
+
this.api = api;
|
|
8
|
+
this.serverlessApi = serverlessApi;
|
|
9
|
+
}
|
|
10
|
+
Resource.prototype.buildPath = function (route, parameters) {
|
|
11
|
+
return route + this.convertObjectToQueryString(parameters);
|
|
12
|
+
};
|
|
13
|
+
Resource.prototype.convertObjectToQueryString = function (parameters) {
|
|
14
|
+
if (!parameters) {
|
|
15
|
+
return '';
|
|
16
|
+
}
|
|
17
|
+
else {
|
|
18
|
+
var requestURL = queryString.stringify(parameters, { skipEmptyString: true, skipNull: true, sort: false });
|
|
19
|
+
return requestURL.length ? "?".concat(requestURL) : '';
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
return Resource;
|
|
23
|
+
}());
|
|
24
|
+
exports.default = Resource;
|
|
25
|
+
//# sourceMappingURL=Resource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../src/resources/Resource.ts"],"names":[],"mappings":";;;AAAA,gEAA4C;AAI5C;IAGI,kBAAsB,GAAQ,EAAY,aAAkB;QAAtC,QAAG,GAAH,GAAG,CAAK;QAAY,kBAAa,GAAb,aAAa,CAAK;IAAG,CAAC;IAEtD,4BAAS,GAAnB,UAAoB,KAAa,EAAE,UAAe;QAC9C,OAAO,KAAK,GAAG,IAAI,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC/D,CAAC;IAEO,6CAA0B,GAAlC,UAAmC,UAAe;QAC9C,IAAI,CAAC,UAAU,EAAE;YACb,OAAO,EAAE,CAAC;SACb;aAAM;YACH,IAAM,UAAU,GAAG,WAAW,CAAC,SAAS,CAAC,UAAU,EAAE,EAAC,eAAe,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAC,CAAC,CAAC;YAC3G,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,WAAI,UAAU,CAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACpD;IACL,CAAC;IACL,eAAC;AAAD,CAAC,AAjBD,IAiBC;AAED,kBAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var APICore_1 = tslib_1.__importDefault(require("../../APICore"));
|
|
5
|
+
var FormData_1 = require("../../utils/FormData");
|
|
6
|
+
var Resource_1 = tslib_1.__importDefault(require("../Resource"));
|
|
7
|
+
var ResourceSnapshotsInterfaces_1 = require("./ResourceSnapshotsInterfaces");
|
|
8
|
+
var ResourceSnapshots = /** @class */ (function (_super) {
|
|
9
|
+
tslib_1.__extends(ResourceSnapshots, _super);
|
|
10
|
+
function ResourceSnapshots() {
|
|
11
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
12
|
+
}
|
|
13
|
+
ResourceSnapshots.prototype.list = function (params) {
|
|
14
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl), params));
|
|
15
|
+
};
|
|
16
|
+
ResourceSnapshots.prototype.get = function (snapshotId, options) {
|
|
17
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId), options));
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Lists the resources that the authenticated user can leverage in snapshots in the target organization.
|
|
21
|
+
*/
|
|
22
|
+
ResourceSnapshots.prototype.listResourceAccess = function () {
|
|
23
|
+
return this.api.get("".concat(ResourceSnapshots.baseUrl, "/access/resource"));
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Shows whether the authenticated user has the specified access level (i.e., read or write) to the content of the target snapshot.
|
|
27
|
+
*/
|
|
28
|
+
ResourceSnapshots.prototype.validateAccess = function (snapshotId, options) {
|
|
29
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/access"), options));
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Retrieves a ZIP file holding the content of the target snapshot, in the target format.
|
|
33
|
+
*
|
|
34
|
+
* @param {string} snapshotId The unique identifier of the target snapshot.
|
|
35
|
+
* @param {ExportSnapshotContentOptions} [options]
|
|
36
|
+
* @returns {Promise<Blob>} A newly created Blob object which contains the zipped snapshot
|
|
37
|
+
*/
|
|
38
|
+
ResourceSnapshots.prototype.export = function (snapshotId, options) {
|
|
39
|
+
return this.api.getFile(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/content"), options), {
|
|
40
|
+
headers: { accept: 'application/zip' },
|
|
41
|
+
});
|
|
42
|
+
};
|
|
43
|
+
ResourceSnapshots.prototype.getContent = function (snapshotId, options) {
|
|
44
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
45
|
+
var url;
|
|
46
|
+
return tslib_1.__generator(this, function (_a) {
|
|
47
|
+
switch (_a.label) {
|
|
48
|
+
case 0: return [4 /*yield*/, this.generateUrl(snapshotId, options)];
|
|
49
|
+
case 1:
|
|
50
|
+
url = (_a.sent()).url;
|
|
51
|
+
return [2 /*return*/, fetch(url, { method: 'get' })];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Creates a snapshot from a file containing the configuration.
|
|
58
|
+
*
|
|
59
|
+
* @param {File} file The file containing the configuration.
|
|
60
|
+
* @param {CreateFromFileOptions} options
|
|
61
|
+
*/
|
|
62
|
+
ResourceSnapshots.prototype.createFromFile = function (file, options) {
|
|
63
|
+
var computedOptions = {
|
|
64
|
+
developerNotes: options.developerNotes,
|
|
65
|
+
snapshotFileType: this.getSnapshotFileType(file),
|
|
66
|
+
};
|
|
67
|
+
var form = (0, FormData_1.getFormData)();
|
|
68
|
+
form.append('file', file);
|
|
69
|
+
return this.api.postForm(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/file"), computedOptions), form);
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Creates a snapshot from a buffer containing the configuration.
|
|
73
|
+
*
|
|
74
|
+
* @param {Buffer} file The buffer containing the configuration.
|
|
75
|
+
* @param {ResourceSnapshotSupportedFileTypes} fileType The type of the file containing the configuration.
|
|
76
|
+
* @param {CreateFromFileOptions} options
|
|
77
|
+
*/
|
|
78
|
+
ResourceSnapshots.prototype.createFromBuffer = function (file, fileType, options) {
|
|
79
|
+
var computedOptions = { developerNotes: options.developerNotes, snapshotFileType: fileType };
|
|
80
|
+
var form = (0, FormData_1.getFormData)();
|
|
81
|
+
form.append('file', file, "snapshot.".concat(fileType.toString().toLowerCase()));
|
|
82
|
+
return this.api.postForm(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/file"), computedOptions), form);
|
|
83
|
+
};
|
|
84
|
+
ResourceSnapshots.prototype.createFromOrganization = function (exportConfigurationModel, options) {
|
|
85
|
+
return this.api.post(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/self"), options), exportConfigurationModel);
|
|
86
|
+
};
|
|
87
|
+
ResourceSnapshots.prototype.generateUrl = function (snapshotId, options) {
|
|
88
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/url"), options));
|
|
89
|
+
};
|
|
90
|
+
ResourceSnapshots.prototype.dryRun = function (snapshotId, options) {
|
|
91
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/dryrun"), options));
|
|
92
|
+
};
|
|
93
|
+
ResourceSnapshots.prototype.apply = function (snapshotId, options) {
|
|
94
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/apply"), options));
|
|
95
|
+
};
|
|
96
|
+
ResourceSnapshots.prototype.push = function (snapshotId, options) {
|
|
97
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/push"), options));
|
|
98
|
+
};
|
|
99
|
+
ResourceSnapshots.prototype.delete = function (snapshotId) {
|
|
100
|
+
return this.api.delete("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId));
|
|
101
|
+
};
|
|
102
|
+
ResourceSnapshots.prototype.createSynchronizationPlan = function (snapshotId) {
|
|
103
|
+
return this.api.post("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization"));
|
|
104
|
+
};
|
|
105
|
+
ResourceSnapshots.prototype.getSynchronizationPlan = function (snapshotId, synchronizationPlanId) {
|
|
106
|
+
return this.api.get("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId));
|
|
107
|
+
};
|
|
108
|
+
ResourceSnapshots.prototype.updateSynchronizationPlan = function (snapshotId, synchronizationPlanId, synchronizationPlanModel) {
|
|
109
|
+
return this.api.put("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId), synchronizationPlanModel);
|
|
110
|
+
};
|
|
111
|
+
ResourceSnapshots.prototype.applySynchronizationPlan = function (snapshotId, synchronizationPlanId) {
|
|
112
|
+
return this.api.put("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId, "/apply"));
|
|
113
|
+
};
|
|
114
|
+
ResourceSnapshots.prototype.updateSynchronizationPlanForChildren = function (snapshotId, synchronizationPlanId, options) {
|
|
115
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId, "/children"), options));
|
|
116
|
+
};
|
|
117
|
+
ResourceSnapshots.prototype.getSnapshotFileType = function (file) {
|
|
118
|
+
switch (file.type) {
|
|
119
|
+
case 'application/zip':
|
|
120
|
+
return ResourceSnapshotsInterfaces_1.ResourceSnapshotSupportedFileTypes.ZIP;
|
|
121
|
+
case 'application/json':
|
|
122
|
+
return ResourceSnapshotsInterfaces_1.ResourceSnapshotSupportedFileTypes.JSON;
|
|
123
|
+
default:
|
|
124
|
+
throw new Error('The uploaded file must be either a ZIP or a JSON file.');
|
|
125
|
+
}
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* @description Shows the diff report for the target snapshot and dry-run report
|
|
129
|
+
* @experimental
|
|
130
|
+
*
|
|
131
|
+
* @param {string} snapshotId - The unique identifier of the target snapshot.
|
|
132
|
+
* @param {string} relativeReportId - The unique identifier of the dry-run operation report associated with the target diff report.
|
|
133
|
+
* @param {(number|undefined)} [numberOfLinesMax=undefined] - Maximum number of lines before the diff is downloaded to a file.
|
|
134
|
+
*/
|
|
135
|
+
ResourceSnapshots.prototype.diff = function (snapshotId, relativeReportId, numberOfLinesMax) {
|
|
136
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/diff"), {
|
|
137
|
+
relativeReportId: relativeReportId,
|
|
138
|
+
numberOfLinesMax: numberOfLinesMax,
|
|
139
|
+
}));
|
|
140
|
+
};
|
|
141
|
+
ResourceSnapshots.baseUrl = "/rest/organizations/".concat(APICore_1.default.orgPlaceholder, "/snapshots");
|
|
142
|
+
return ResourceSnapshots;
|
|
143
|
+
}(Resource_1.default));
|
|
144
|
+
exports.default = ResourceSnapshots;
|
|
145
|
+
//# sourceMappingURL=ResourceSnapshots.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResourceSnapshots.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C,GAAG,CAAC,GAAG,CACf,IAAI,CAAC,SAAS,CAAC,UAAG,iBAAiB,CAAC,OAAO,cAAI,UAAU,UAAO,EAAE;YAC9D,gBAAgB,kBAAA;YAChB,gBAAgB,kBAAA;SACnB,CAAC,CACL,CAAC;IACN,CAAC;IA5LM,yBAAO,GAAG,8BAAuB,iBAAG,CAAC,cAAc,eAAY,CAAC;IA6L3E,wBAAC;CAAA,AA9LD,CAA+C,kBAAQ,GA8LtD;kBA9LoB,iBAAiB"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplyOptionsDeletionScope = exports.ResourceSnapshotContentType = exports.ResourceSnapshotSupportedFileTypes = exports.ResourceSnapshotsReportType = exports.ResourceSnapshotsSynchronizationPlanStatus = exports.ResourceSnapshotsReportStatus = exports.ResourceSnapshotsReportResultCode = exports.SnapshotExportContentFormat = exports.SnapshotAccessType = exports.ResourceSnapshotType = void 0;
|
|
4
|
+
/*
|
|
5
|
+
* 'Resource' is defined as anything uniquely identified on the platform's domain that can be created, updated or deleted
|
|
6
|
+
*/
|
|
7
|
+
var ResourceSnapshotType;
|
|
8
|
+
(function (ResourceSnapshotType) {
|
|
9
|
+
ResourceSnapshotType["extension"] = "EXTENSION";
|
|
10
|
+
ResourceSnapshotType["featuredResult"] = "FEATURED_RESULT";
|
|
11
|
+
ResourceSnapshotType["field"] = "FIELD";
|
|
12
|
+
ResourceSnapshotType["filter"] = "FILTER";
|
|
13
|
+
ResourceSnapshotType["mapping"] = "MAPPING";
|
|
14
|
+
ResourceSnapshotType["mlModel"] = "ML_MODEL";
|
|
15
|
+
ResourceSnapshotType["mlModelAssociation"] = "ML_MODEL_ASSOCIATION";
|
|
16
|
+
ResourceSnapshotType["queryParameter"] = "QUERY_PARAMETER";
|
|
17
|
+
ResourceSnapshotType["queryPipeline"] = "QUERY_PIPELINE";
|
|
18
|
+
ResourceSnapshotType["queryPipelineCondition"] = "QUERY_PIPELINE_CONDITION";
|
|
19
|
+
ResourceSnapshotType["rankingExpression"] = "RANKING_EXPRESSION";
|
|
20
|
+
ResourceSnapshotType["rankingWeight"] = "RANKING_WEIGHT";
|
|
21
|
+
ResourceSnapshotType["searchPage"] = "SEARCH_PAGE";
|
|
22
|
+
ResourceSnapshotType["securityProvider"] = "SECURITY_PROVIDER";
|
|
23
|
+
ResourceSnapshotType["source"] = "SOURCE";
|
|
24
|
+
ResourceSnapshotType["stopWord"] = "STOP_WORD";
|
|
25
|
+
ResourceSnapshotType["subscription"] = "SUBSCRIPTION";
|
|
26
|
+
ResourceSnapshotType["thesaurus"] = "THESAURUS";
|
|
27
|
+
ResourceSnapshotType["trigger"] = "TRIGGER";
|
|
28
|
+
})(ResourceSnapshotType = exports.ResourceSnapshotType || (exports.ResourceSnapshotType = {}));
|
|
29
|
+
var SnapshotAccessType;
|
|
30
|
+
(function (SnapshotAccessType) {
|
|
31
|
+
SnapshotAccessType["Read"] = "READ";
|
|
32
|
+
SnapshotAccessType["Write"] = "WRITE";
|
|
33
|
+
})(SnapshotAccessType = exports.SnapshotAccessType || (exports.SnapshotAccessType = {}));
|
|
34
|
+
var SnapshotExportContentFormat;
|
|
35
|
+
(function (SnapshotExportContentFormat) {
|
|
36
|
+
SnapshotExportContentFormat["Flat"] = "FLAT";
|
|
37
|
+
SnapshotExportContentFormat["SplitPerType"] = "SPLIT_PER_TYPE";
|
|
38
|
+
})(SnapshotExportContentFormat = exports.SnapshotExportContentFormat || (exports.SnapshotExportContentFormat = {}));
|
|
39
|
+
var ResourceSnapshotsReportResultCode;
|
|
40
|
+
(function (ResourceSnapshotsReportResultCode) {
|
|
41
|
+
ResourceSnapshotsReportResultCode["AccessDenied"] = "ACCESS_DENIED";
|
|
42
|
+
ResourceSnapshotsReportResultCode["ResourcesInError"] = "RESOURCES_IN_ERROR";
|
|
43
|
+
ResourceSnapshotsReportResultCode["Success"] = "SUCCESS";
|
|
44
|
+
ResourceSnapshotsReportResultCode["UnexpectedError"] = "UNEXPECTED_ERROR";
|
|
45
|
+
ResourceSnapshotsReportResultCode["UnableToPushToOrganization"] = "UNABLE_TO_PUSH_TO_ORGANIZATION";
|
|
46
|
+
ResourceSnapshotsReportResultCode["NoResourceRetrieved"] = "NO_RESOURCE_RETRIEVED";
|
|
47
|
+
ResourceSnapshotsReportResultCode["UnableToRetrieveResources"] = "UNABLE_TO_RETRIEVE_RESOURCES";
|
|
48
|
+
ResourceSnapshotsReportResultCode["ResourceDependencyCyle"] = "RESOURCE_DEPENDENCY_CYCLE";
|
|
49
|
+
ResourceSnapshotsReportResultCode["ExternalServiceCommunicationError"] = "EXTERNAL_SERVICE_COMMUNICATION_ERROR";
|
|
50
|
+
})(ResourceSnapshotsReportResultCode = exports.ResourceSnapshotsReportResultCode || (exports.ResourceSnapshotsReportResultCode = {}));
|
|
51
|
+
var ResourceSnapshotsReportStatus;
|
|
52
|
+
(function (ResourceSnapshotsReportStatus) {
|
|
53
|
+
ResourceSnapshotsReportStatus["Pending"] = "PENDING";
|
|
54
|
+
ResourceSnapshotsReportStatus["InProgress"] = "IN_PROGRESS";
|
|
55
|
+
ResourceSnapshotsReportStatus["Completed"] = "COMPLETED";
|
|
56
|
+
ResourceSnapshotsReportStatus["Aborted"] = "ABORTED";
|
|
57
|
+
})(ResourceSnapshotsReportStatus = exports.ResourceSnapshotsReportStatus || (exports.ResourceSnapshotsReportStatus = {}));
|
|
58
|
+
var ResourceSnapshotsSynchronizationPlanStatus;
|
|
59
|
+
(function (ResourceSnapshotsSynchronizationPlanStatus) {
|
|
60
|
+
ResourceSnapshotsSynchronizationPlanStatus["Creating"] = "CREATING";
|
|
61
|
+
ResourceSnapshotsSynchronizationPlanStatus["Created"] = "CREATED";
|
|
62
|
+
ResourceSnapshotsSynchronizationPlanStatus["InError"] = "IN_ERROR";
|
|
63
|
+
})(ResourceSnapshotsSynchronizationPlanStatus = exports.ResourceSnapshotsSynchronizationPlanStatus || (exports.ResourceSnapshotsSynchronizationPlanStatus = {}));
|
|
64
|
+
var ResourceSnapshotsReportType;
|
|
65
|
+
(function (ResourceSnapshotsReportType) {
|
|
66
|
+
ResourceSnapshotsReportType["CreateSnapshot"] = "CREATE_SNAPSHOT";
|
|
67
|
+
ResourceSnapshotsReportType["DryRun"] = "DRY_RUN";
|
|
68
|
+
ResourceSnapshotsReportType["Apply"] = "APPLY";
|
|
69
|
+
ResourceSnapshotsReportType["CreateSynchronizationPlan"] = "CREATE_SYNCHRONIZATION_PLAN";
|
|
70
|
+
ResourceSnapshotsReportType["ApplySynchronizationPlan"] = "APPLY_SYNCHRONIZATION_PLAN";
|
|
71
|
+
})(ResourceSnapshotsReportType = exports.ResourceSnapshotsReportType || (exports.ResourceSnapshotsReportType = {}));
|
|
72
|
+
var ResourceSnapshotSupportedFileTypes;
|
|
73
|
+
(function (ResourceSnapshotSupportedFileTypes) {
|
|
74
|
+
ResourceSnapshotSupportedFileTypes["ZIP"] = "ZIP";
|
|
75
|
+
ResourceSnapshotSupportedFileTypes["JSON"] = "JSON";
|
|
76
|
+
})(ResourceSnapshotSupportedFileTypes = exports.ResourceSnapshotSupportedFileTypes || (exports.ResourceSnapshotSupportedFileTypes = {}));
|
|
77
|
+
var ResourceSnapshotContentType;
|
|
78
|
+
(function (ResourceSnapshotContentType) {
|
|
79
|
+
ResourceSnapshotContentType["PRIMARY"] = "PRIMARY";
|
|
80
|
+
ResourceSnapshotContentType["CURRENT_STATE"] = "CURRENT_STATE";
|
|
81
|
+
})(ResourceSnapshotContentType = exports.ResourceSnapshotContentType || (exports.ResourceSnapshotContentType = {}));
|
|
82
|
+
var ApplyOptionsDeletionScope;
|
|
83
|
+
(function (ApplyOptionsDeletionScope) {
|
|
84
|
+
ApplyOptionsDeletionScope["AllManagedResources"] = "ALL_MANAGED_RESOURCES";
|
|
85
|
+
ApplyOptionsDeletionScope["OnlyTypesFromSnapshot"] = "ONLY_TYPES_FROM_SNAPSHOT";
|
|
86
|
+
})(ApplyOptionsDeletionScope = exports.ApplyOptionsDeletionScope || (exports.ApplyOptionsDeletionScope = {}));
|
|
87
|
+
//# sourceMappingURL=ResourceSnapshotsInterfaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResourceSnapshotsInterfaces.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.ts"],"names":[],"mappings":";;;AA6CA;;GAEG;AACH,IAAY,oBAoBX;AApBD,WAAY,oBAAoB;IAC5B,+CAAuB,CAAA;IACvB,0DAAkC,CAAA;IAClC,uCAAe,CAAA;IACf,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IACnB,4CAAoB,CAAA;IACpB,mEAA2C,CAAA;IAC3C,0DAAkC,CAAA;IAClC,wDAAgC,CAAA;IAChC,2EAAmD,CAAA;IACnD,gEAAwC,CAAA;IACxC,wDAAgC,CAAA;IAChC,kDAA0B,CAAA;IAC1B,8DAAsC,CAAA;IACtC,yCAAiB,CAAA;IACjB,8CAAsB,CAAA;IACtB,qDAA6B,CAAA;IAC7B,+CAAuB,CAAA;IACvB,2CAAmB,CAAA;AACvB,CAAC,EApBW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAoB/B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC1B,mCAAa,CAAA;IACb,qCAAe,CAAA;AACnB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACnC,4CAAa,CAAA;IACb,8DAA+B,CAAA;AACnC,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC;AAED,IAAY,iCAUX;AAVD,WAAY,iCAAiC;IACzC,mEAA8B,CAAA;IAC9B,4EAAuC,CAAA;IACvC,wDAAmB,CAAA;IACnB,yEAAoC,CAAA;IACpC,kGAA6D,CAAA;IAC7D,kFAA6C,CAAA;IAC7C,+FAA0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
tslib_1.__exportStar(require("./ResourceSnapshots"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ResourceSnapshotsInterfaces"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/index.ts"],"names":[],"mappings":";;;AAAA,8DAAoC;AACpC,wEAA8C"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var APICore_1 = tslib_1.__importDefault(require("../../APICore"));
|
|
5
|
+
var Resource_1 = tslib_1.__importDefault(require("../Resource"));
|
|
6
|
+
var Saml = /** @class */ (function (_super) {
|
|
7
|
+
tslib_1.__extends(Saml, _super);
|
|
8
|
+
function Saml() {
|
|
9
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
Saml.prototype.isEnabled = function () {
|
|
12
|
+
return this.api.get("".concat(Saml.baseUrl, "/enabled"));
|
|
13
|
+
};
|
|
14
|
+
Saml.prototype.listAvailableProviders = function () {
|
|
15
|
+
return this.api.get("".concat(Saml.baseUrl, "/availables"));
|
|
16
|
+
};
|
|
17
|
+
Saml.prototype.deleteProvider = function () {
|
|
18
|
+
return this.api.delete("".concat(Saml.baseUrl, "/identityprovider"));
|
|
19
|
+
};
|
|
20
|
+
Saml.prototype.getProvider = function () {
|
|
21
|
+
return this.api.get("".concat(Saml.baseUrl, "/identityprovider"));
|
|
22
|
+
};
|
|
23
|
+
Saml.prototype.create = function (identityProvider) {
|
|
24
|
+
return this.api.post("".concat(Saml.baseUrl, "/identityprovider"), identityProvider);
|
|
25
|
+
};
|
|
26
|
+
Saml.prototype.update = function (identityProvider) {
|
|
27
|
+
return this.api.put("".concat(Saml.baseUrl, "/identityprovider"), identityProvider);
|
|
28
|
+
};
|
|
29
|
+
Saml.prototype.listRealms = function () {
|
|
30
|
+
return this.api.get("".concat(Saml.baseUrl, "/identityprovider/realms"));
|
|
31
|
+
};
|
|
32
|
+
Saml.baseUrl = "/rest/organizations/".concat(APICore_1.default.orgPlaceholder, "/saml");
|
|
33
|
+
return Saml;
|
|
34
|
+
}(Resource_1.default));
|
|
35
|
+
exports.default = Saml;
|
|
36
|
+
//# sourceMappingURL=Saml.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Saml.js","sourceRoot":"","sources":["../../../src/resources/Saml/Saml.ts"],"names":[],"mappings":";;;AAAA,kEAAgC;AAGhC,iEAAmC;AAGnC;IAAkC,gCAAQ;IAA1C;;IA8BA,CAAC;IA3BG,wBAAS,GAAT;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAmC,UAAG,IAAI,CAAC,OAAO,aAAU,CAAC,CAAC;IACrF,CAAC;IAED,qCAAsB,GAAtB;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAA8B,UAAG,IAAI,CAAC,OAAO,gBAAa,CAAC,CAAC;IACnF,CAAC;IAED,6BAAc,GAAd;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,UAAG,IAAI,CAAC,OAAO,sBAAmB,CAAC,CAAC;IAC/D,CAAC;IAED,0BAAW,GAAX;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAA4B,UAAG,IAAI,CAAC,OAAO,sBAAmB,CAAC,CAAC;IACvF,CAAC;IAED,qBAAM,GAAN,UAAO,gBAAgD;QACnD,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAA4B,UAAG,IAAI,CAAC,OAAO,sBAAmB,EAAE,gBAAgB,CAAC,CAAC;IAC1G,CAAC;IAED,qBAAM,GAAN,UAAO,gBAA2C;QAC9C,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAA4B,UAAG,IAAI,CAAC,OAAO,sBAAmB,EAAE,gBAAgB,CAAC,CAAC;IACzG,CAAC;IAED,yBAAU,GAAV;QACI,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAAe,UAAG,IAAI,CAAC,OAAO,6BAA0B,CAAC,CAAC;IACjF,CAAC;IA5BM,YAAO,GAAG,8BAAuB,iBAAG,CAAC,cAAc,UAAO,CAAC;IA6BtE,WAAC;CAAA,AA9BD,CAAkC,kBAAQ,GA8BzC;kBA9BoB,IAAI"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SamlInterfaces.js","sourceRoot":"","sources":["../../../src/resources/Saml/SamlInterfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Saml/index.ts"],"names":[],"mappings":";;;AAAA,iDAAuB;AACvB,2DAAiC"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var APICore_1 = tslib_1.__importDefault(require("../../APICore"));
|
|
5
|
+
var Resource_1 = tslib_1.__importDefault(require("../Resource"));
|
|
6
|
+
var SchemaService = /** @class */ (function (_super) {
|
|
7
|
+
tslib_1.__extends(SchemaService, _super);
|
|
8
|
+
function SchemaService(api, serverlessApi) {
|
|
9
|
+
var _this = _super.call(this, api, serverlessApi) || this;
|
|
10
|
+
_this.api = api;
|
|
11
|
+
_this.serverlessApi = serverlessApi;
|
|
12
|
+
return _this;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Retrieve entities from the targeted instance
|
|
16
|
+
* (can be matches of a given query)
|
|
17
|
+
*
|
|
18
|
+
* @param {SourceType} sourceType
|
|
19
|
+
* @param {GetEntitiesQueryParams} [parameters]
|
|
20
|
+
* @return {SchemaEntities} schemaEntities
|
|
21
|
+
* @memberof SchemaService
|
|
22
|
+
*/
|
|
23
|
+
SchemaService.prototype.getEntities = function (sourceType, parameters) {
|
|
24
|
+
return this.api.get(this.buildPath("".concat(SchemaService.baseUrl, "/").concat(sourceType, "/entities"), parameters));
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Retrieve the entity of matching ID from the targeted instance
|
|
28
|
+
*
|
|
29
|
+
* @param {SourceType} sourceType
|
|
30
|
+
* @param {string} entityId
|
|
31
|
+
* @param {GetEntityQueryParams} [parameters]
|
|
32
|
+
* @return {SimpleSchemaEntity} simpleSchemaEntity
|
|
33
|
+
* @memberof SchemaService
|
|
34
|
+
*/
|
|
35
|
+
SchemaService.prototype.getEntity = function (sourceType, entityId, parameters) {
|
|
36
|
+
return this.api.get(this.buildPath("".concat(SchemaService.baseUrl, "/").concat(sourceType, "/entities/").concat(entityId), parameters));
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Retrieve the fields of the given entity from the targeted instance
|
|
40
|
+
*
|
|
41
|
+
* @param {SourceType} sourceType
|
|
42
|
+
* @param {string} entityId
|
|
43
|
+
* @param {SchemaServiceQueryParams} [parameters]
|
|
44
|
+
* @return {SchemaEntityFields} schemaEntityFields
|
|
45
|
+
* @memberof SchemaService
|
|
46
|
+
*/
|
|
47
|
+
SchemaService.prototype.getFields = function (sourceType, entityId, parameters) {
|
|
48
|
+
return this.api.get(this.buildPath("".concat(SchemaService.baseUrl, "/").concat(sourceType, "/entities/").concat(entityId, "/fields"), parameters));
|
|
49
|
+
};
|
|
50
|
+
SchemaService.prototype.delete = function (sourceId) {
|
|
51
|
+
return this.api.delete("".concat(SchemaService.baseUrl, "/").concat(sourceId));
|
|
52
|
+
};
|
|
53
|
+
SchemaService.prototype.get = function (sourceId) {
|
|
54
|
+
return this.api.get("".concat(SchemaService.baseUrl, "/").concat(sourceId));
|
|
55
|
+
};
|
|
56
|
+
SchemaService.prototype.update = function (sourceId, source, options) {
|
|
57
|
+
return this.api.put(this.buildPath("".concat(SchemaService.baseUrl, "/").concat(sourceId), options), source);
|
|
58
|
+
};
|
|
59
|
+
SchemaService.prototype.create = function (source, options) {
|
|
60
|
+
return this.api.post(this.buildPath(SchemaService.baseUrl, options), source);
|
|
61
|
+
};
|
|
62
|
+
SchemaService.prototype.translateToSpecificObjectsToGet = function (sourceType, genericObjectsToGet) {
|
|
63
|
+
return this.api.post("".concat(SchemaService.baseUrl, "/").concat(sourceType, "/translate/specific"), genericObjectsToGet);
|
|
64
|
+
};
|
|
65
|
+
SchemaService.prototype.translateToSpecificObjectsToGetWithFields = function (sourceType, genericObjectsToGet, parameters) {
|
|
66
|
+
return this.api.post(this.buildPath("".concat(SchemaService.baseUrl, "/").concat(sourceType, "/translate/specificWithFields"), parameters), genericObjectsToGet);
|
|
67
|
+
};
|
|
68
|
+
SchemaService.prototype.translateToGenericObjectsToGet = function (sourceType, specificObjectsToGet) {
|
|
69
|
+
return this.api.post("".concat(SchemaService.baseUrl, "/").concat(sourceType, "/translate/generic"), specificObjectsToGet);
|
|
70
|
+
};
|
|
71
|
+
/**
|
|
72
|
+
* Retrieve the default objectsToGet of the given sourceType
|
|
73
|
+
*
|
|
74
|
+
* @param {string} sourceType
|
|
75
|
+
* @return {ObjectsToGet} ObjectsToGet
|
|
76
|
+
* @memberof SchemaService
|
|
77
|
+
*/
|
|
78
|
+
SchemaService.prototype.getDefaultObjectsToGet = function (sourceType) {
|
|
79
|
+
return this.api.get("".concat(SchemaService.baseUrl, "/").concat(sourceType, "/defaultObjectsToGet"));
|
|
80
|
+
};
|
|
81
|
+
SchemaService.baseUrl = "/rest/organizations/".concat(APICore_1.default.orgPlaceholder, "/schema/sources");
|
|
82
|
+
return SchemaService;
|
|
83
|
+
}(Resource_1.default));
|
|
84
|
+
exports.default = SchemaService;
|
|
85
|
+
//# sourceMappingURL=SchemaService.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemaService.js","sourceRoot":"","sources":["../../../src/resources/SchemaService/SchemaService.ts"],"names":[],"mappings":";;;AAAA,kEAAgC;AAChC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AA,AApGD,CAA2C,kBAAS,GAoGnD;kBApGoB,aAAa"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SchemaServiceInterfaces.js","sourceRoot":"","sources":["../../../src/resources/SchemaService/SchemaServiceInterfaces.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./SchemaService"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./SchemaServiceInterfaces"), exports);
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/SchemaService/index.ts"],"names":[],"mappings":";;;AAAA,0DAAgC;AAChC,oEAA0C"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
var APICore_1 = tslib_1.__importDefault(require("../../APICore"));
|
|
5
|
+
var Resource_1 = tslib_1.__importDefault(require("../Resource"));
|
|
6
|
+
var Search = /** @class */ (function (_super) {
|
|
7
|
+
tslib_1.__extends(Search, _super);
|
|
8
|
+
function Search() {
|
|
9
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
10
|
+
}
|
|
11
|
+
Search.prototype.createToken = function (tokenParams) {
|
|
12
|
+
return this.api.post("".concat(Search.baseUrl, "/token?organizationId=").concat(APICore_1.default.orgPlaceholder), tokenParams);
|
|
13
|
+
};
|
|
14
|
+
Search.prototype.getFieldValues = function (fieldName, params) {
|
|
15
|
+
var _a;
|
|
16
|
+
return this.api.get(this.buildPath("".concat(Search.baseUrl, "/values"), tslib_1.__assign(tslib_1.__assign({ field: encodeURI("".concat(fieldName)) }, params), { organizationId: (_a = params === null || params === void 0 ? void 0 : params.organizationId) !== null && _a !== void 0 ? _a : this.api.organizationId })));
|
|
17
|
+
};
|
|
18
|
+
// For more info about restQueryParameters values available
|
|
19
|
+
// See: https://platform.cloud.coveo.com/docs?api=SearchApi#!/Search/post_rest_search_v2
|
|
20
|
+
// or : https://docs.coveo.com/en/13/cloud-v2-api-reference/search-api#operation/searchUsingGet
|
|
21
|
+
Search.prototype.query = function (restQueryParameters) {
|
|
22
|
+
var viewAllContent = restQueryParameters.viewAllContent, bodyParameters = tslib_1.__rest(restQueryParameters, ["viewAllContent"]);
|
|
23
|
+
return this.api.post(this.buildPath(Search.baseUrl, {
|
|
24
|
+
organizationId: this.api.organizationId,
|
|
25
|
+
viewAllContent: viewAllContent ? 1 : undefined,
|
|
26
|
+
}), bodyParameters);
|
|
27
|
+
};
|
|
28
|
+
Search.prototype.querySuggestPost = function (restQuerySuggestParameters) {
|
|
29
|
+
return this.api.post(this.buildPath("".concat(Search.baseUrl, "/querySuggest"), {
|
|
30
|
+
organizationId: this.api.organizationId,
|
|
31
|
+
}), restQuerySuggestParameters);
|
|
32
|
+
};
|
|
33
|
+
Search.baseUrl = "/rest/search/v2";
|
|
34
|
+
return Search;
|
|
35
|
+
}(Resource_1.default));
|
|
36
|
+
exports.default = Search;
|
|
37
|
+
//# sourceMappingURL=Search.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Search.js","sourceRoot":"","sources":["../../../src/resources/Search/Search.ts"],"names":[],"mappings":";;;AACA,kEAAgC;AAChC,iEAAoC;AAGpC;IAAoC,kCAAS;IAA7C;;IAwCA,CAAC;IArCG,4BAAW,GAAX,UAAY,WAA4B;QACpC,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAAa,UAAG,MAAM,CAAC,OAAO,mCAAyB,iBAAG,CAAC,cAAc,CAAE,EAAE,WAAW,CAAC,CAAC;IAClH,CAAC;IAED,+BAAc,GAAd,UAAe,SAAiB,EAAE,MAAuC;;QACrE,OAAO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
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Search/index.ts"],"names":[],"mappings":";;;AAAA,mDAAyB;AACzB,6DAAmC"}
|