@coveo/platform-client 37.3.0 → 37.5.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/APICore.js +276 -264
- package/dist/APICore.js.map +1 -1
- package/dist/ConfigurationInterfaces.js +2 -2
- package/dist/Endpoints.js +40 -40
- package/dist/Entry.js +14 -14
- package/dist/PlatformClient.js +44 -44
- package/dist/definitions/APICore.d.ts +32 -31
- package/dist/definitions/ConfigurationInterfaces.d.ts +14 -14
- package/dist/definitions/Endpoints.d.ts +13 -13
- package/dist/definitions/Entry.d.ts +9 -9
- package/dist/definitions/PlatformClient.d.ts +18 -18
- package/dist/definitions/handlers/ResponseHandlerInterfaces.d.ts +4 -4
- package/dist/definitions/handlers/ResponseHandlers.d.ts +10 -10
- package/dist/definitions/handlers/index.d.ts +2 -2
- package/dist/definitions/resources/AWS/AWS.d.ts +9 -9
- package/dist/definitions/resources/AWS/AWSInterfaces.d.ts +18 -18
- package/dist/definitions/resources/AWS/index.d.ts +2 -2
- package/dist/definitions/resources/Activities/Activities.d.ts +13 -13
- package/dist/definitions/resources/Activities/ActivitiesInterfaces.d.ts +64 -64
- package/dist/definitions/resources/Activities/index.d.ts +2 -2
- package/dist/definitions/resources/ApiKeys/ApiKeys.d.ts +12 -12
- package/dist/definitions/resources/ApiKeys/ApiKeysInterfaces.d.ts +133 -133
- package/dist/definitions/resources/ApiKeys/index.d.ts +2 -2
- package/dist/definitions/resources/BaseInterfaces.d.ts +51 -51
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfig.d.ts +16 -16
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.d.ts +59 -59
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.d.ts +27 -27
- package/dist/definitions/resources/CaseAssistConfigs/index.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/Catalog.d.ts +21 -21
- package/dist/definitions/resources/Catalogs/CatalogConfiguration.d.ts +11 -11
- package/dist/definitions/resources/Catalogs/CatalogInterfaces.d.ts +338 -338
- package/dist/definitions/resources/Catalogs/ProductListing.d.ts +14 -14
- package/dist/definitions/resources/Catalogs/ProductListingConfiguration.d.ts +11 -11
- package/dist/definitions/resources/Catalogs/ProductListingConfigurationInterfaces.d.ts +41 -41
- package/dist/definitions/resources/Catalogs/ProductListingInterfaces.d.ts +81 -81
- package/dist/definitions/resources/Catalogs/index.d.ts +7 -7
- package/dist/definitions/resources/Clusters/Agents/ClusterAgent.d.ts +9 -9
- package/dist/definitions/resources/Clusters/Agents/ClusterAgentInterfaces.d.ts +9 -9
- package/dist/definitions/resources/Clusters/Agents/index.d.ts +2 -2
- package/dist/definitions/resources/Clusters/Cluster.d.ts +18 -18
- package/dist/definitions/resources/Clusters/ClusterInterfaces.d.ts +92 -92
- package/dist/definitions/resources/Clusters/Nodes/ClusterNode.d.ts +12 -12
- package/dist/definitions/resources/Clusters/Nodes/ClusterNodeInterfaces.d.ts +20 -20
- package/dist/definitions/resources/Clusters/Nodes/index.d.ts +2 -2
- package/dist/definitions/resources/Clusters/index.d.ts +4 -4
- package/dist/definitions/resources/Connectivity/Connectivity.d.ts +7 -7
- package/dist/definitions/resources/Connectivity/ConnectivityInterface.d.ts +16 -16
- package/dist/definitions/resources/Connectivity/index.d.ts +2 -2
- package/dist/definitions/resources/CrawlingModule/CrawlingModule.d.ts +16 -16
- package/dist/definitions/resources/CrawlingModule/CrawlingModuleInterfaces.d.ts +180 -57
- package/dist/definitions/resources/CrawlingModule/index.d.ts +2 -2
- package/dist/definitions/resources/Enums.d.ts +981 -981
- package/dist/definitions/resources/Extensions/Extensions.d.ts +12 -12
- package/dist/definitions/resources/Extensions/ExtensionsInterfaces.d.ts +55 -55
- package/dist/definitions/resources/Extensions/index.d.ts +2 -2
- package/dist/definitions/resources/Fields/Fields.d.ts +19 -19
- package/dist/definitions/resources/Fields/FieldsInterfaces.d.ts +70 -70
- package/dist/definitions/resources/Fields/index.d.ts +2 -2
- package/dist/definitions/resources/Global/Global.d.ts +11 -11
- package/dist/definitions/resources/Global/OrganizationConfigurations/OrganizationConfiguration.d.ts +8 -8
- package/dist/definitions/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.d.ts +6 -6
- package/dist/definitions/resources/Global/OrganizationConfigurations/index.d.ts +2 -2
- package/dist/definitions/resources/Global/RegionConfigurations/RegionConfiguration.d.ts +7 -7
- package/dist/definitions/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.d.ts +10 -10
- package/dist/definitions/resources/Global/RegionConfigurations/index.d.ts +2 -2
- package/dist/definitions/resources/Global/index.d.ts +3 -3
- package/dist/definitions/resources/GlobalGroups/GlobalGroup.d.ts +13 -13
- package/dist/definitions/resources/GlobalGroups/GlobalGroupInterfaces.d.ts +18 -18
- package/dist/definitions/resources/GlobalGroups/index.d.ts +2 -2
- package/dist/definitions/resources/Groups/Groups.d.ts +24 -24
- package/dist/definitions/resources/Groups/GroupsInterfaces.d.ts +21 -21
- package/dist/definitions/resources/Groups/Invites/GroupInvite.d.ts +11 -11
- package/dist/definitions/resources/Groups/Invites/GroupInviteInterfaces.d.ts +35 -35
- package/dist/definitions/resources/Groups/Invites/index.d.ts +2 -2
- package/dist/definitions/resources/Groups/Members/GroupMember.d.ts +9 -9
- package/dist/definitions/resources/Groups/Members/GroupMemberInterfaces.d.ts +13 -13
- package/dist/definitions/resources/Groups/Members/index.d.ts +2 -2
- package/dist/definitions/resources/Groups/Realms/GroupRealm.d.ts +9 -9
- package/dist/definitions/resources/Groups/Realms/GroupRealmInterfaces.d.ts +7 -7
- package/dist/definitions/resources/Groups/Realms/index.d.ts +2 -2
- package/dist/definitions/resources/Groups/index.d.ts +5 -5
- package/dist/definitions/resources/InProductExperiences/InProductExperiences.d.ts +31 -31
- package/dist/definitions/resources/InProductExperiences/InProductExperiencesInterfaces.d.ts +327 -327
- package/dist/definitions/resources/InProductExperiences/index.d.ts +2 -2
- package/dist/definitions/resources/Indexes/Indexes.d.ts +26 -26
- package/dist/definitions/resources/Indexes/IndexesInterface.d.ts +198 -198
- package/dist/definitions/resources/Indexes/index.d.ts +2 -2
- package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfig.d.ts +11 -11
- package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.d.ts +158 -158
- package/dist/definitions/resources/InsightPanelConfigs/index.d.ts +2 -2
- package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.d.ts +11 -11
- package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.model.d.ts +240 -240
- package/dist/definitions/resources/InsightPanelInterfaces/index.d.ts +2 -2
- package/dist/definitions/resources/InternalBaseInterface.d.ts +12 -12
- package/dist/definitions/resources/License/License.d.ts +12 -12
- package/dist/definitions/resources/License/LicenseInterfaces.d.ts +194 -194
- package/dist/definitions/resources/License/index.d.ts +2 -2
- package/dist/definitions/resources/Limits/Limits.d.ts +12 -12
- package/dist/definitions/resources/Limits/LimitsInterfaces.d.ts +38 -38
- package/dist/definitions/resources/Limits/index.d.ts +2 -2
- package/dist/definitions/resources/Links/Links.d.ts +5 -5
- package/dist/definitions/resources/Links/index.d.ts +1 -1
- package/dist/definitions/resources/Logs/Logs.d.ts +8 -8
- package/dist/definitions/resources/Logs/LogsInterfaces.d.ts +47 -47
- package/dist/definitions/resources/Logs/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.d.ts +15 -15
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.d.ts +147 -147
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfiguration.d.ts +15 -15
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.d.ts +41 -41
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/FilterConditions.d.ts +18 -18
- package/dist/definitions/resources/MachineLearning/MachineLearning.d.ts +26 -26
- package/dist/definitions/resources/MachineLearning/MachineLearningInterfaces.d.ts +65 -65
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/ModelConfiguration.d.ts +7 -7
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.d.ts +10 -10
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/ModelInformation/ModelInformation.d.ts +10 -10
- package/dist/definitions/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.d.ts +252 -252
- package/dist/definitions/resources/MachineLearning/ModelInformation/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/Models/Models.d.ts +13 -13
- package/dist/definitions/resources/MachineLearning/Models/ModelsInterfaces.d.ts +49 -49
- package/dist/definitions/resources/MachineLearning/Models/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfiguration.d.ts +6 -6
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.d.ts +40 -40
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.d.ts +17 -17
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.d.ts +131 -131
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.d.ts +7 -7
- package/dist/definitions/resources/MachineLearning/UserActionHistoryConfiguration/index.d.ts +1 -1
- package/dist/definitions/resources/MachineLearning/index.d.ts +11 -11
- package/dist/definitions/resources/ModifierTemplates/ModifierTemplateInterfaces.d.ts +71 -71
- package/dist/definitions/resources/ModifierTemplates/ModifierTemplates.d.ts +7 -7
- package/dist/definitions/resources/ModifierTemplates/index.d.ts +2 -2
- package/dist/definitions/resources/Notification/Subscription/Subscription.d.ts +21 -21
- package/dist/definitions/resources/Notification/Subscription/SubscriptionInterfaces.d.ts +41 -41
- package/dist/definitions/resources/Notification/Subscription/index.d.ts +2 -2
- package/dist/definitions/resources/Notification/index.d.ts +2 -2
- package/dist/definitions/resources/Notification/notification.d.ts +9 -9
- package/dist/definitions/resources/OrganizationAccess/Access.d.ts +7 -7
- package/dist/definitions/resources/OrganizationAccess/AccessInterfaces.d.ts +13 -13
- package/dist/definitions/resources/OrganizationAccess/index.d.ts +2 -2
- package/dist/definitions/resources/Organizations/Members/Members.d.ts +8 -8
- package/dist/definitions/resources/Organizations/Members/MembersInterface.d.ts +37 -37
- package/dist/definitions/resources/Organizations/Members/index.d.ts +2 -2
- package/dist/definitions/resources/Organizations/Organization.d.ts +42 -42
- package/dist/definitions/resources/Organizations/OrganizationInterfaces.d.ts +176 -176
- package/dist/definitions/resources/Organizations/index.d.ts +3 -3
- package/dist/definitions/resources/Pipelines/Conditions/Condition.d.ts +11 -11
- package/dist/definitions/resources/Pipelines/Conditions/ConditionInterfaces.d.ts +25 -25
- package/dist/definitions/resources/Pipelines/Conditions/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRules.d.ts +11 -11
- package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.d.ts +45 -45
- package/dist/definitions/resources/Pipelines/FacetStateRules/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociations.d.ts +13 -13
- package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.d.ts +57 -57
- package/dist/definitions/resources/Pipelines/MLAssociations/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/Pipelines.d.ts +30 -30
- package/dist/definitions/resources/Pipelines/PipelinesInterfaces.d.ts +213 -213
- package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankings.d.ts +15 -15
- package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.d.ts +266 -266
- package/dist/definitions/resources/Pipelines/ResultRankings/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroups.d.ts +13 -13
- package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.d.ts +230 -230
- package/dist/definitions/resources/Pipelines/StatementGroups/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/Statements/Statements.d.ts +17 -17
- package/dist/definitions/resources/Pipelines/Statements/StatementsInterfaces.d.ts +142 -142
- package/dist/definitions/resources/Pipelines/Statements/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/index.d.ts +8 -8
- package/dist/definitions/resources/PlatformResources.d.ts +99 -99
- package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluator.d.ts +11 -11
- package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.d.ts +29 -29
- package/dist/definitions/resources/PrivilegeEvaluator/index.d.ts +2 -2
- package/dist/definitions/resources/Products/Product.d.ts +7 -7
- package/dist/definitions/resources/Products/ProductInterfaces.d.ts +209 -209
- package/dist/definitions/resources/Products/index.d.ts +2 -2
- package/dist/definitions/resources/PushApi/PushApi.d.ts +10 -10
- package/dist/definitions/resources/PushApi/PushApiInterfaces.d.ts +37 -37
- package/dist/definitions/resources/PushApi/index.d.ts +2 -2
- package/dist/definitions/resources/Resource.d.ts +10 -10
- package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshots.d.ts +52 -52
- package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.d.ts +344 -344
- package/dist/definitions/resources/ResourceSnapshots/index.d.ts +2 -2
- package/dist/definitions/resources/Saml/Saml.d.ts +14 -14
- package/dist/definitions/resources/Saml/SamlInterfaces.d.ts +13 -13
- package/dist/definitions/resources/Saml/index.d.ts +2 -2
- package/dist/definitions/resources/SchemaService/SchemaService.d.ts +60 -60
- package/dist/definitions/resources/SchemaService/SchemaServiceInterfaces.d.ts +155 -155
- package/dist/definitions/resources/SchemaService/index.d.ts +2 -2
- package/dist/definitions/resources/Search/Search.d.ts +10 -10
- package/dist/definitions/resources/Search/SearchInterfaces.d.ts +2140 -2140
- package/dist/definitions/resources/Search/index.d.ts +2 -2
- package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.d.ts +17 -17
- package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.model.d.ts +179 -179
- package/dist/definitions/resources/SearchInterfaces/index.d.ts +2 -2
- package/dist/definitions/resources/SearchPages/SearchPages.d.ts +20 -20
- package/dist/definitions/resources/SearchPages/SearchPagesInterfaces.d.ts +42 -42
- package/dist/definitions/resources/SearchPages/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.d.ts +8 -7
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.d.ts +49 -49
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetrics.d.ts +10 -10
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.d.ts +127 -127
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubs.d.ts +11 -11
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.d.ts +64 -64
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/SearchUsageMetrics.d.ts +13 -13
- package/dist/definitions/resources/SearchUsageMetrics/index.d.ts +4 -4
- package/dist/definitions/resources/SecurityCache/SecurityCache.d.ts +26 -26
- package/dist/definitions/resources/SecurityCache/SecurityCacheInterfaces.d.ts +137 -137
- package/dist/definitions/resources/SecurityCache/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/Sources.d.ts +67 -67
- package/dist/definitions/resources/Sources/SourcesDatasets/SourcesDatasets.d.ts +8 -8
- package/dist/definitions/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.d.ts +24 -24
- package/dist/definitions/resources/Sources/SourcesDatasets/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesFields/SourcesFields.d.ts +10 -10
- package/dist/definitions/resources/Sources/SourcesFields/SourcesFieldsInterfaces.d.ts +15 -15
- package/dist/definitions/resources/Sources/SourcesFields/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesInterfaces.d.ts +114 -114
- package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappings.d.ts +7 -7
- package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.d.ts +72 -72
- package/dist/definitions/resources/Sources/SourcesMappings/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadata.d.ts +9 -9
- package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.d.ts +55 -55
- package/dist/definitions/resources/Sources/SourcesMetadata/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Address.d.ts +6 -6
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Authentification.d.ts +37 -37
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Document.d.ts +104 -104
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Error.d.ts +4 -4
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.d.ts +5 -5
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Extension.d.ts +9 -9
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Information.d.ts +59 -59
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Parameter.d.ts +4 -4
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Permission.d.ts +42 -42
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Url.d.ts +6 -6
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/User.d.ts +5 -5
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/index.d.ts +11 -11
- package/dist/definitions/resources/Sources/index.d.ts +6 -6
- package/dist/definitions/resources/TableauService/ContentQuery/ContentQuery.d.ts +8 -8
- package/dist/definitions/resources/TableauService/ContentQuery/ContentQueryInterfaces.d.ts +58 -58
- package/dist/definitions/resources/TableauService/ContentQuery/index.d.ts +2 -2
- package/dist/definitions/resources/TableauService/TableauService.d.ts +9 -9
- package/dist/definitions/resources/TableauService/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/Administration.d.ts +10 -10
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.d.ts +21 -21
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShare.d.ts +9 -9
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.d.ts +43 -43
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/Dimensions.d.ts +21 -21
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.d.ts +101 -101
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/Exports.d.ts +20 -20
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.d.ts +101 -101
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/Filters.d.ts +71 -71
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.d.ts +67 -67
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/Reports.d.ts +58 -58
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.d.ts +99 -99
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/Snowflake.d.ts +16 -16
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.d.ts +49 -49
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/Statistics.d.ts +18 -18
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.d.ts +186 -186
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Users/Users.d.ts +12 -12
- package/dist/definitions/resources/UsageAnalytics/Read/Users/UsersInterfaces.d.ts +113 -113
- package/dist/definitions/resources/UsageAnalytics/Read/Users/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/index.d.ts +9 -9
- package/dist/definitions/resources/UsageAnalytics/UsageAnalytics.d.ts +23 -23
- package/dist/definitions/resources/UsageAnalytics/index.d.ts +2 -2
- package/dist/definitions/resources/Users/User.d.ts +9 -9
- package/dist/definitions/resources/Users/UserInterfaces.d.ts +29 -29
- package/dist/definitions/resources/Users/index.d.ts +2 -2
- package/dist/definitions/resources/Vaults/Vaults.d.ts +33 -33
- package/dist/definitions/resources/Vaults/VaultsInterfaces.d.ts +29 -29
- package/dist/definitions/resources/Vaults/index.d.ts +2 -2
- package/dist/definitions/resources/index.d.ts +46 -46
- package/dist/definitions/utils/FormData.d.ts +1 -0
- package/dist/definitions/utils/Retriever.d.ts +3 -3
- package/dist/definitions/utils/WithRequired.d.ts +3 -3
- package/dist/definitions/utils/index.d.ts +2 -2
- package/dist/definitions/utils/normalizePaginatedOptions.d.ts +3 -3
- package/dist/handlers/ResponseHandlerInterfaces.js +2 -2
- package/dist/handlers/ResponseHandlers.js +45 -45
- package/dist/handlers/index.js +5 -5
- package/dist/resources/AWS/AWS.js +17 -17
- package/dist/resources/AWS/AWSInterfaces.js +2 -2
- package/dist/resources/AWS/index.js +5 -5
- package/dist/resources/Activities/Activities.js +37 -37
- package/dist/resources/Activities/ActivitiesInterfaces.js +2 -2
- package/dist/resources/Activities/index.js +5 -5
- package/dist/resources/ApiKeys/ApiKeys.js +33 -33
- package/dist/resources/ApiKeys/ApiKeysInterfaces.js +2 -2
- package/dist/resources/ApiKeys/index.js +5 -5
- package/dist/resources/BaseInterfaces.js +2 -2
- package/dist/resources/CaseAssistConfigs/CaseAssistConfig.js +41 -41
- package/dist/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.js +17 -17
- package/dist/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.js +2 -2
- package/dist/resources/CaseAssistConfigs/index.js +6 -6
- package/dist/resources/Catalogs/Catalog.js +42 -42
- package/dist/resources/Catalogs/CatalogConfiguration.js +29 -29
- package/dist/resources/Catalogs/CatalogInterfaces.js +2 -2
- package/dist/resources/Catalogs/ProductListing.js +38 -38
- package/dist/resources/Catalogs/ProductListingConfiguration.js +31 -31
- package/dist/resources/Catalogs/ProductListingConfigurationInterfaces.js +9 -9
- package/dist/resources/Catalogs/ProductListingInterfaces.js +3 -3
- package/dist/resources/Catalogs/index.js +10 -10
- package/dist/resources/Clusters/Agents/ClusterAgent.js +20 -20
- package/dist/resources/Clusters/Agents/ClusterAgentInterfaces.js +2 -2
- package/dist/resources/Clusters/Agents/index.js +5 -5
- package/dist/resources/Clusters/Cluster.js +37 -37
- package/dist/resources/Clusters/ClusterInterfaces.js +2 -2
- package/dist/resources/Clusters/Nodes/ClusterNode.js +32 -32
- package/dist/resources/Clusters/Nodes/ClusterNodeInterfaces.js +2 -2
- package/dist/resources/Clusters/Nodes/index.js +5 -5
- package/dist/resources/Clusters/index.js +7 -7
- package/dist/resources/Connectivity/Connectivity.js +22 -22
- package/dist/resources/Connectivity/ConnectivityInterface.js +8 -8
- package/dist/resources/Connectivity/index.js +5 -5
- package/dist/resources/CrawlingModule/CrawlingModule.js +44 -44
- package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js +16 -16
- package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js.map +1 -1
- package/dist/resources/CrawlingModule/index.js +5 -5
- package/dist/resources/Enums.js +1094 -1094
- package/dist/resources/Extensions/Extensions.js +35 -35
- package/dist/resources/Extensions/ExtensionsInterfaces.js +2 -2
- package/dist/resources/Extensions/index.js +5 -5
- package/dist/resources/Fields/Fields.js +48 -48
- package/dist/resources/Fields/FieldsInterfaces.js +2 -2
- package/dist/resources/Fields/index.js +5 -5
- package/dist/resources/Global/Global.js +19 -19
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfiguration.js +19 -19
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.js +2 -2
- package/dist/resources/Global/OrganizationConfigurations/index.js +5 -5
- package/dist/resources/Global/RegionConfigurations/RegionConfiguration.js +19 -19
- package/dist/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.js +2 -2
- package/dist/resources/Global/RegionConfigurations/index.js +5 -5
- package/dist/resources/Global/index.js +6 -6
- package/dist/resources/GlobalGroups/GlobalGroup.js +28 -28
- package/dist/resources/GlobalGroups/GlobalGroupInterfaces.js +2 -2
- package/dist/resources/GlobalGroups/index.js +5 -5
- package/dist/resources/Groups/Groups.js +41 -41
- package/dist/resources/Groups/GroupsInterfaces.js +2 -2
- package/dist/resources/Groups/Invites/GroupInvite.js +30 -30
- package/dist/resources/Groups/Invites/GroupInviteInterfaces.js +2 -2
- package/dist/resources/Groups/Invites/index.js +5 -5
- package/dist/resources/Groups/Members/GroupMember.js +27 -27
- package/dist/resources/Groups/Members/GroupMemberInterfaces.js +2 -2
- package/dist/resources/Groups/Members/index.js +5 -5
- package/dist/resources/Groups/Realms/GroupRealm.js +26 -26
- package/dist/resources/Groups/Realms/GroupRealmInterfaces.js +2 -2
- package/dist/resources/Groups/Realms/index.js +5 -5
- package/dist/resources/Groups/index.js +8 -8
- package/dist/resources/InProductExperiences/InProductExperiences.js +44 -44
- package/dist/resources/InProductExperiences/InProductExperiencesInterfaces.js +30 -30
- package/dist/resources/InProductExperiences/index.js +5 -5
- package/dist/resources/Indexes/Indexes.js +61 -61
- package/dist/resources/Indexes/IndexesInterface.js +2 -2
- package/dist/resources/Indexes/index.js +5 -5
- package/dist/resources/InsightPanelConfigs/InsightPanelConfig.js +30 -30
- package/dist/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.js +2 -2
- package/dist/resources/InsightPanelConfigs/index.js +5 -5
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.js +30 -30
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.model.js +15 -15
- package/dist/resources/InsightPanelInterfaces/index.js +5 -5
- package/dist/resources/InternalBaseInterface.js +2 -2
- package/dist/resources/License/License.js +32 -32
- package/dist/resources/License/LicenseInterfaces.js +78 -78
- package/dist/resources/License/index.js +5 -5
- package/dist/resources/Limits/Limits.js +30 -30
- package/dist/resources/Limits/LimitsInterfaces.js +8 -8
- package/dist/resources/Limits/index.js +5 -5
- package/dist/resources/Links/Links.js +17 -17
- package/dist/resources/Links/index.js +4 -4
- package/dist/resources/Logs/Logs.js +23 -23
- package/dist/resources/Logs/LogsInterfaces.js +2 -2
- package/dist/resources/Logs/index.js +5 -5
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +35 -35
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.js +8 -8
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/index.js +5 -5
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfiguration.js +51 -51
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.js +2 -2
- package/dist/resources/MachineLearning/DNEConfiguration/index.js +5 -5
- package/dist/resources/MachineLearning/FilterConditions.js +2 -2
- package/dist/resources/MachineLearning/MachineLearning.js +36 -36
- package/dist/resources/MachineLearning/MachineLearningInterfaces.js +2 -2
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfiguration.js +22 -22
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.js +2 -2
- package/dist/resources/MachineLearning/ModelConfiguration/index.js +5 -5
- package/dist/resources/MachineLearning/ModelInformation/ModelInformation.js +25 -25
- package/dist/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.js +2 -2
- package/dist/resources/MachineLearning/ModelInformation/index.js +5 -5
- package/dist/resources/MachineLearning/Models/Models.js +35 -35
- package/dist/resources/MachineLearning/Models/ModelsInterfaces.js +2 -2
- package/dist/resources/MachineLearning/Models/index.js +5 -5
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfiguration.js +17 -17
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.js +2 -2
- package/dist/resources/MachineLearning/PQSConfiguration/index.js +5 -5
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.js +39 -39
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.js +2 -2
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/index.js +5 -5
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.js +23 -23
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/index.js +4 -4
- package/dist/resources/MachineLearning/index.js +14 -14
- package/dist/resources/ModifierTemplates/ModifierTemplateInterfaces.js +26 -26
- package/dist/resources/ModifierTemplates/ModifierTemplates.js +19 -19
- package/dist/resources/ModifierTemplates/index.js +5 -5
- package/dist/resources/Notification/Subscription/Subscription.js +61 -61
- package/dist/resources/Notification/Subscription/SubscriptionInterfaces.js +2 -2
- package/dist/resources/Notification/Subscription/index.js +5 -5
- package/dist/resources/Notification/index.js +5 -5
- package/dist/resources/Notification/notification.js +17 -17
- package/dist/resources/OrganizationAccess/Access.js +20 -20
- package/dist/resources/OrganizationAccess/AccessInterfaces.js +2 -2
- package/dist/resources/OrganizationAccess/index.js +5 -5
- package/dist/resources/Organizations/Members/Members.js +23 -23
- package/dist/resources/Organizations/Members/MembersInterface.js +2 -2
- package/dist/resources/Organizations/Members/index.js +5 -5
- package/dist/resources/Organizations/Organization.js +91 -91
- package/dist/resources/Organizations/OrganizationInterfaces.js +57 -57
- package/dist/resources/Organizations/index.js +6 -6
- package/dist/resources/Pipelines/Conditions/Condition.js +29 -29
- package/dist/resources/Pipelines/Conditions/ConditionInterfaces.js +2 -2
- package/dist/resources/Pipelines/Conditions/index.js +5 -5
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRules.js +39 -39
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.js +2 -2
- package/dist/resources/Pipelines/FacetStateRules/index.js +5 -5
- package/dist/resources/Pipelines/MLAssociations/MLAssociations.js +45 -45
- package/dist/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.js +2 -2
- package/dist/resources/Pipelines/MLAssociations/index.js +5 -5
- package/dist/resources/Pipelines/Pipelines.js +60 -60
- package/dist/resources/Pipelines/PipelinesInterfaces.js +2 -2
- package/dist/resources/Pipelines/ResultRankings/ResultRankings.js +59 -59
- package/dist/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.js +2 -2
- package/dist/resources/Pipelines/ResultRankings/index.js +5 -5
- package/dist/resources/Pipelines/StatementGroups/StatementGroups.js +47 -47
- package/dist/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js +7 -7
- package/dist/resources/Pipelines/StatementGroups/index.js +5 -5
- package/dist/resources/Pipelines/Statements/Statements.js +58 -58
- package/dist/resources/Pipelines/Statements/StatementsInterfaces.js +2 -2
- package/dist/resources/Pipelines/Statements/index.js +5 -5
- package/dist/resources/Pipelines/index.js +11 -11
- package/dist/resources/PlatformResources.js +112 -112
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +22 -22
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.js +14 -14
- package/dist/resources/PrivilegeEvaluator/index.js +5 -5
- package/dist/resources/Products/Product.js +18 -18
- package/dist/resources/Products/ProductInterfaces.js +2 -2
- package/dist/resources/Products/index.js +5 -5
- package/dist/resources/PushApi/PushApi.js +33 -33
- package/dist/resources/PushApi/PushApiInterfaces.js +2 -2
- package/dist/resources/PushApi/index.js +5 -5
- package/dist/resources/Resource.js +24 -24
- package/dist/resources/ResourceSnapshots/ResourceSnapshots.js +130 -130
- package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js +96 -96
- package/dist/resources/ResourceSnapshots/index.js +5 -5
- package/dist/resources/Saml/Saml.js +35 -35
- package/dist/resources/Saml/SamlInterfaces.js +2 -2
- package/dist/resources/Saml/index.js +5 -5
- package/dist/resources/SchemaService/SchemaService.js +84 -84
- package/dist/resources/SchemaService/SchemaServiceInterfaces.js +2 -2
- package/dist/resources/SchemaService/index.js +5 -5
- package/dist/resources/Search/Search.js +36 -36
- package/dist/resources/Search/SearchInterfaces.js +2 -2
- package/dist/resources/Search/index.js +5 -5
- package/dist/resources/SearchInterfaces/SearchInterfaces.js +48 -48
- package/dist/resources/SearchInterfaces/SearchInterfaces.model.js +2 -2
- package/dist/resources/SearchInterfaces/index.js +5 -5
- package/dist/resources/SearchPages/SearchPages.js +59 -59
- package/dist/resources/SearchPages/SearchPagesInterfaces.js +2 -2
- package/dist/resources/SearchPages/index.js +5 -5
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js +23 -20
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.js +2 -2
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/index.js +5 -5
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetrics.js +44 -44
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.js +2 -2
- package/dist/resources/SearchUsageMetrics/RawMetrics/index.js +5 -5
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubs.js +38 -38
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.js +2 -2
- package/dist/resources/SearchUsageMetrics/SearchHubs/index.js +5 -5
- package/dist/resources/SearchUsageMetrics/SearchUsageMetrics.js +21 -21
- package/dist/resources/SearchUsageMetrics/index.js +7 -7
- package/dist/resources/SecurityCache/SecurityCache.js +79 -79
- package/dist/resources/SecurityCache/SecurityCacheInterfaces.js +2 -2
- package/dist/resources/SecurityCache/index.js +5 -5
- package/dist/resources/Sources/Sources.js +122 -122
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasets.js +29 -29
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.js +34 -34
- package/dist/resources/Sources/SourcesDatasets/index.js +5 -5
- package/dist/resources/Sources/SourcesFields/SourcesFields.js +27 -27
- package/dist/resources/Sources/SourcesFields/SourcesFieldsInterfaces.js +2 -2
- package/dist/resources/Sources/SourcesFields/index.js +5 -5
- package/dist/resources/Sources/SourcesInterfaces.js +4 -4
- package/dist/resources/Sources/SourcesMappings/SourcesMappings.js +21 -21
- package/dist/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.js +2 -2
- package/dist/resources/Sources/SourcesMappings/index.js +5 -5
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadata.js +23 -23
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.js +2 -2
- package/dist/resources/Sources/SourcesMetadata/index.js +5 -5
- package/dist/resources/Sources/SourcesSubInterfaces/Address.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Authentification.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Document.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Error.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Extension.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Information.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Parameter.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Permission.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Url.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/User.js +2 -2
- package/dist/resources/Sources/SourcesSubInterfaces/index.js +14 -14
- package/dist/resources/Sources/index.js +9 -9
- package/dist/resources/TableauService/ContentQuery/ContentQuery.js +22 -22
- package/dist/resources/TableauService/ContentQuery/ContentQueryInterfaces.js +2 -2
- package/dist/resources/TableauService/ContentQuery/index.js +5 -5
- package/dist/resources/TableauService/TableauService.js +17 -17
- package/dist/resources/TableauService/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Administration/Administration.js +25 -25
- package/dist/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/Administration/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShare.js +25 -25
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/DataShare/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +60 -60
- package/dist/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/Dimensions/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Exports/Exports.js +59 -59
- package/dist/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/Exports/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Filters/Filters.js +111 -111
- package/dist/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/Filters/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Reports/Reports.js +99 -99
- package/dist/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.js +8 -8
- package/dist/resources/UsageAnalytics/Read/Reports/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +46 -46
- package/dist/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/Snowflake/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Statistics/Statistics.js +52 -52
- package/dist/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/Statistics/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/Users/Users.js +34 -34
- package/dist/resources/UsageAnalytics/Read/Users/UsersInterfaces.js +2 -2
- package/dist/resources/UsageAnalytics/Read/Users/index.js +5 -5
- package/dist/resources/UsageAnalytics/Read/index.js +12 -12
- package/dist/resources/UsageAnalytics/UsageAnalytics.js +31 -31
- package/dist/resources/UsageAnalytics/index.js +5 -5
- package/dist/resources/Users/User.js +25 -25
- package/dist/resources/Users/UserInterfaces.js +2 -2
- package/dist/resources/Users/index.js +5 -5
- package/dist/resources/Vaults/Vaults.js +54 -54
- package/dist/resources/Vaults/VaultsInterfaces.js +2 -2
- package/dist/resources/Vaults/index.js +5 -5
- package/dist/resources/index.js +51 -51
- package/dist/utils/FormData.js +14 -0
- package/dist/utils/FormData.js.map +1 -0
- package/dist/utils/Retriever.js +4 -4
- package/dist/utils/WithRequired.js +2 -2
- package/dist/utils/index.js +5 -5
- package/dist/utils/normalizePaginatedOptions.js +24 -24
- package/package.json +7 -7
|
@@ -1,131 +1,131 @@
|
|
|
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 ResourceSnapshotsInterfaces_1 = require("./ResourceSnapshotsInterfaces");
|
|
7
|
-
var ResourceSnapshots = /** @class */ (function (_super) {
|
|
8
|
-
tslib_1.__extends(ResourceSnapshots, _super);
|
|
9
|
-
function ResourceSnapshots() {
|
|
10
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
11
|
-
}
|
|
12
|
-
ResourceSnapshots.prototype.list = function (params) {
|
|
13
|
-
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl), params));
|
|
14
|
-
};
|
|
15
|
-
ResourceSnapshots.prototype.get = function (snapshotId, options) {
|
|
16
|
-
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId), options));
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Lists the resources that the authenticated user can leverage in snapshots in the target organization.
|
|
20
|
-
*/
|
|
21
|
-
ResourceSnapshots.prototype.listResourceAccess = function () {
|
|
22
|
-
return this.api.get("".concat(ResourceSnapshots.baseUrl, "/access/resource"));
|
|
23
|
-
};
|
|
24
|
-
/**
|
|
25
|
-
* Shows whether the authenticated user has the specified access level (i.e., read or write) to the content of the target snapshot.
|
|
26
|
-
*/
|
|
27
|
-
ResourceSnapshots.prototype.validateAccess = function (snapshotId, options) {
|
|
28
|
-
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/access"), options));
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Retrieves a ZIP file holding the content of the target snapshot, in the target format.
|
|
32
|
-
*
|
|
33
|
-
* @param {string} snapshotId The unique identifier of the target snapshot.
|
|
34
|
-
* @param {ExportSnapshotContentOptions} [options]
|
|
35
|
-
* @returns {Promise<Blob>} A newly created Blob object which contains the zipped snapshot
|
|
36
|
-
*/
|
|
37
|
-
ResourceSnapshots.prototype.export = function (snapshotId, options) {
|
|
38
|
-
return this.api.getFile(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/content"), options), {
|
|
39
|
-
headers: { accept: 'application/zip' },
|
|
40
|
-
});
|
|
41
|
-
};
|
|
42
|
-
ResourceSnapshots.prototype.getContent = function (snapshotId, options) {
|
|
43
|
-
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
44
|
-
var url;
|
|
45
|
-
return tslib_1.__generator(this, function (_a) {
|
|
46
|
-
switch (_a.label) {
|
|
47
|
-
case 0: return [4 /*yield*/, this.generateUrl(snapshotId, options)];
|
|
48
|
-
case 1:
|
|
49
|
-
url = (_a.sent()).url;
|
|
50
|
-
return [2 /*return*/, fetch(url, { method: 'get' })];
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
});
|
|
54
|
-
};
|
|
55
|
-
/**
|
|
56
|
-
* Creates a snapshot from a file containing the configuration.
|
|
57
|
-
*
|
|
58
|
-
* @param {File} file The file containing the configuration.
|
|
59
|
-
* @param {CreateFromFileOptions} options
|
|
60
|
-
*/
|
|
61
|
-
ResourceSnapshots.prototype.createFromFile = function (file, options) {
|
|
62
|
-
var computedOptions = {
|
|
63
|
-
developerNotes: options.developerNotes,
|
|
64
|
-
snapshotFileType: this.getSnapshotFileType(file),
|
|
65
|
-
};
|
|
66
|
-
var form = new FormData();
|
|
67
|
-
form.append('file', file);
|
|
68
|
-
return this.api.postForm(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/file"), computedOptions), form);
|
|
69
|
-
};
|
|
70
|
-
ResourceSnapshots.prototype.createFromOrganization = function (exportConfigurationModel, options) {
|
|
71
|
-
return this.api.post(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/self"), options), exportConfigurationModel);
|
|
72
|
-
};
|
|
73
|
-
ResourceSnapshots.prototype.generateUrl = function (snapshotId, options) {
|
|
74
|
-
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/url"), options));
|
|
75
|
-
};
|
|
76
|
-
ResourceSnapshots.prototype.dryRun = function (snapshotId, options) {
|
|
77
|
-
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/dryrun"), options));
|
|
78
|
-
};
|
|
79
|
-
ResourceSnapshots.prototype.apply = function (snapshotId, options) {
|
|
80
|
-
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/apply"), options));
|
|
81
|
-
};
|
|
82
|
-
ResourceSnapshots.prototype.push = function (snapshotId, options) {
|
|
83
|
-
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/push"), options));
|
|
84
|
-
};
|
|
85
|
-
ResourceSnapshots.prototype.delete = function (snapshotId) {
|
|
86
|
-
return this.api.delete("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId));
|
|
87
|
-
};
|
|
88
|
-
ResourceSnapshots.prototype.createSynchronizationPlan = function (snapshotId) {
|
|
89
|
-
return this.api.post("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization"));
|
|
90
|
-
};
|
|
91
|
-
ResourceSnapshots.prototype.getSynchronizationPlan = function (snapshotId, synchronizationPlanId) {
|
|
92
|
-
return this.api.get("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId));
|
|
93
|
-
};
|
|
94
|
-
ResourceSnapshots.prototype.updateSynchronizationPlan = function (snapshotId, synchronizationPlanId, synchronizationPlanModel) {
|
|
95
|
-
return this.api.put("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId), synchronizationPlanModel);
|
|
96
|
-
};
|
|
97
|
-
ResourceSnapshots.prototype.applySynchronizationPlan = function (snapshotId, synchronizationPlanId) {
|
|
98
|
-
return this.api.put("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId, "/apply"));
|
|
99
|
-
};
|
|
100
|
-
ResourceSnapshots.prototype.updateSynchronizationPlanForChildren = function (snapshotId, synchronizationPlanId, options) {
|
|
101
|
-
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId, "/children"), options));
|
|
102
|
-
};
|
|
103
|
-
ResourceSnapshots.prototype.getSnapshotFileType = function (file) {
|
|
104
|
-
switch (file.type) {
|
|
105
|
-
case 'application/zip':
|
|
106
|
-
return ResourceSnapshotsInterfaces_1.ResourceSnapshotSupportedFileTypes.ZIP;
|
|
107
|
-
case 'application/json':
|
|
108
|
-
return ResourceSnapshotsInterfaces_1.ResourceSnapshotSupportedFileTypes.JSON;
|
|
109
|
-
default:
|
|
110
|
-
throw new Error('The uploaded file must be either a ZIP or a JSON file.');
|
|
111
|
-
}
|
|
112
|
-
};
|
|
113
|
-
/**
|
|
114
|
-
* @description Shows the diff report for the target snapshot and dry-run report
|
|
115
|
-
* @experimental
|
|
116
|
-
*
|
|
117
|
-
* @param {string} snapshotId - The unique identifier of the target snapshot.
|
|
118
|
-
* @param {string} relativeReportId - The unique identifier of the dry-run operation report associated with the target diff report.
|
|
119
|
-
* @param {(number|undefined)} [numberOfLinesMax=undefined] - Maximum number of lines before the diff is downloaded to a file.
|
|
120
|
-
*/
|
|
121
|
-
ResourceSnapshots.prototype.diff = function (snapshotId, relativeReportId, numberOfLinesMax) {
|
|
122
|
-
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/diff"), {
|
|
123
|
-
relativeReportId: relativeReportId,
|
|
124
|
-
numberOfLinesMax: numberOfLinesMax,
|
|
125
|
-
}));
|
|
126
|
-
};
|
|
127
|
-
ResourceSnapshots.baseUrl = "/rest/organizations/".concat(APICore_1.default.orgPlaceholder, "/snapshots");
|
|
128
|
-
return ResourceSnapshots;
|
|
129
|
-
}(Resource_1.default));
|
|
130
|
-
exports.default = ResourceSnapshots;
|
|
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 ResourceSnapshotsInterfaces_1 = require("./ResourceSnapshotsInterfaces");
|
|
7
|
+
var ResourceSnapshots = /** @class */ (function (_super) {
|
|
8
|
+
tslib_1.__extends(ResourceSnapshots, _super);
|
|
9
|
+
function ResourceSnapshots() {
|
|
10
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
11
|
+
}
|
|
12
|
+
ResourceSnapshots.prototype.list = function (params) {
|
|
13
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl), params));
|
|
14
|
+
};
|
|
15
|
+
ResourceSnapshots.prototype.get = function (snapshotId, options) {
|
|
16
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId), options));
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* Lists the resources that the authenticated user can leverage in snapshots in the target organization.
|
|
20
|
+
*/
|
|
21
|
+
ResourceSnapshots.prototype.listResourceAccess = function () {
|
|
22
|
+
return this.api.get("".concat(ResourceSnapshots.baseUrl, "/access/resource"));
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Shows whether the authenticated user has the specified access level (i.e., read or write) to the content of the target snapshot.
|
|
26
|
+
*/
|
|
27
|
+
ResourceSnapshots.prototype.validateAccess = function (snapshotId, options) {
|
|
28
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/access"), options));
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Retrieves a ZIP file holding the content of the target snapshot, in the target format.
|
|
32
|
+
*
|
|
33
|
+
* @param {string} snapshotId The unique identifier of the target snapshot.
|
|
34
|
+
* @param {ExportSnapshotContentOptions} [options]
|
|
35
|
+
* @returns {Promise<Blob>} A newly created Blob object which contains the zipped snapshot
|
|
36
|
+
*/
|
|
37
|
+
ResourceSnapshots.prototype.export = function (snapshotId, options) {
|
|
38
|
+
return this.api.getFile(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/content"), options), {
|
|
39
|
+
headers: { accept: 'application/zip' },
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
ResourceSnapshots.prototype.getContent = function (snapshotId, options) {
|
|
43
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
44
|
+
var url;
|
|
45
|
+
return tslib_1.__generator(this, function (_a) {
|
|
46
|
+
switch (_a.label) {
|
|
47
|
+
case 0: return [4 /*yield*/, this.generateUrl(snapshotId, options)];
|
|
48
|
+
case 1:
|
|
49
|
+
url = (_a.sent()).url;
|
|
50
|
+
return [2 /*return*/, fetch(url, { method: 'get' })];
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
});
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Creates a snapshot from a file containing the configuration.
|
|
57
|
+
*
|
|
58
|
+
* @param {File} file The file containing the configuration.
|
|
59
|
+
* @param {CreateFromFileOptions} options
|
|
60
|
+
*/
|
|
61
|
+
ResourceSnapshots.prototype.createFromFile = function (file, options) {
|
|
62
|
+
var computedOptions = {
|
|
63
|
+
developerNotes: options.developerNotes,
|
|
64
|
+
snapshotFileType: this.getSnapshotFileType(file),
|
|
65
|
+
};
|
|
66
|
+
var form = new FormData();
|
|
67
|
+
form.append('file', file);
|
|
68
|
+
return this.api.postForm(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/file"), computedOptions), form);
|
|
69
|
+
};
|
|
70
|
+
ResourceSnapshots.prototype.createFromOrganization = function (exportConfigurationModel, options) {
|
|
71
|
+
return this.api.post(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/self"), options), exportConfigurationModel);
|
|
72
|
+
};
|
|
73
|
+
ResourceSnapshots.prototype.generateUrl = function (snapshotId, options) {
|
|
74
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/url"), options));
|
|
75
|
+
};
|
|
76
|
+
ResourceSnapshots.prototype.dryRun = function (snapshotId, options) {
|
|
77
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/dryrun"), options));
|
|
78
|
+
};
|
|
79
|
+
ResourceSnapshots.prototype.apply = function (snapshotId, options) {
|
|
80
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/apply"), options));
|
|
81
|
+
};
|
|
82
|
+
ResourceSnapshots.prototype.push = function (snapshotId, options) {
|
|
83
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/push"), options));
|
|
84
|
+
};
|
|
85
|
+
ResourceSnapshots.prototype.delete = function (snapshotId) {
|
|
86
|
+
return this.api.delete("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId));
|
|
87
|
+
};
|
|
88
|
+
ResourceSnapshots.prototype.createSynchronizationPlan = function (snapshotId) {
|
|
89
|
+
return this.api.post("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization"));
|
|
90
|
+
};
|
|
91
|
+
ResourceSnapshots.prototype.getSynchronizationPlan = function (snapshotId, synchronizationPlanId) {
|
|
92
|
+
return this.api.get("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId));
|
|
93
|
+
};
|
|
94
|
+
ResourceSnapshots.prototype.updateSynchronizationPlan = function (snapshotId, synchronizationPlanId, synchronizationPlanModel) {
|
|
95
|
+
return this.api.put("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId), synchronizationPlanModel);
|
|
96
|
+
};
|
|
97
|
+
ResourceSnapshots.prototype.applySynchronizationPlan = function (snapshotId, synchronizationPlanId) {
|
|
98
|
+
return this.api.put("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId, "/apply"));
|
|
99
|
+
};
|
|
100
|
+
ResourceSnapshots.prototype.updateSynchronizationPlanForChildren = function (snapshotId, synchronizationPlanId, options) {
|
|
101
|
+
return this.api.put(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/synchronization/").concat(synchronizationPlanId, "/children"), options));
|
|
102
|
+
};
|
|
103
|
+
ResourceSnapshots.prototype.getSnapshotFileType = function (file) {
|
|
104
|
+
switch (file.type) {
|
|
105
|
+
case 'application/zip':
|
|
106
|
+
return ResourceSnapshotsInterfaces_1.ResourceSnapshotSupportedFileTypes.ZIP;
|
|
107
|
+
case 'application/json':
|
|
108
|
+
return ResourceSnapshotsInterfaces_1.ResourceSnapshotSupportedFileTypes.JSON;
|
|
109
|
+
default:
|
|
110
|
+
throw new Error('The uploaded file must be either a ZIP or a JSON file.');
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
/**
|
|
114
|
+
* @description Shows the diff report for the target snapshot and dry-run report
|
|
115
|
+
* @experimental
|
|
116
|
+
*
|
|
117
|
+
* @param {string} snapshotId - The unique identifier of the target snapshot.
|
|
118
|
+
* @param {string} relativeReportId - The unique identifier of the dry-run operation report associated with the target diff report.
|
|
119
|
+
* @param {(number|undefined)} [numberOfLinesMax=undefined] - Maximum number of lines before the diff is downloaded to a file.
|
|
120
|
+
*/
|
|
121
|
+
ResourceSnapshots.prototype.diff = function (snapshotId, relativeReportId, numberOfLinesMax) {
|
|
122
|
+
return this.api.get(this.buildPath("".concat(ResourceSnapshots.baseUrl, "/").concat(snapshotId, "/diff"), {
|
|
123
|
+
relativeReportId: relativeReportId,
|
|
124
|
+
numberOfLinesMax: numberOfLinesMax,
|
|
125
|
+
}));
|
|
126
|
+
};
|
|
127
|
+
ResourceSnapshots.baseUrl = "/rest/organizations/".concat(APICore_1.default.orgPlaceholder, "/snapshots");
|
|
128
|
+
return ResourceSnapshots;
|
|
129
|
+
}(Resource_1.default));
|
|
130
|
+
exports.default = ResourceSnapshots;
|
|
131
131
|
//# sourceMappingURL=ResourceSnapshots.js.map
|
|
@@ -1,97 +1,97 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ApplyOptionsDeletionScope = exports.SnapshotsReportStages = 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["AutoSynchronizationFailure"] = "AUTO_SYNCHRONIZATION_FAILURE";
|
|
51
|
-
})(ResourceSnapshotsReportResultCode = exports.ResourceSnapshotsReportResultCode || (exports.ResourceSnapshotsReportResultCode = {}));
|
|
52
|
-
var ResourceSnapshotsReportStatus;
|
|
53
|
-
(function (ResourceSnapshotsReportStatus) {
|
|
54
|
-
ResourceSnapshotsReportStatus["Pending"] = "PENDING";
|
|
55
|
-
ResourceSnapshotsReportStatus["InProgress"] = "IN_PROGRESS";
|
|
56
|
-
ResourceSnapshotsReportStatus["Completed"] = "COMPLETED";
|
|
57
|
-
ResourceSnapshotsReportStatus["Aborted"] = "ABORTED";
|
|
58
|
-
})(ResourceSnapshotsReportStatus = exports.ResourceSnapshotsReportStatus || (exports.ResourceSnapshotsReportStatus = {}));
|
|
59
|
-
var ResourceSnapshotsSynchronizationPlanStatus;
|
|
60
|
-
(function (ResourceSnapshotsSynchronizationPlanStatus) {
|
|
61
|
-
ResourceSnapshotsSynchronizationPlanStatus["Creating"] = "CREATING";
|
|
62
|
-
ResourceSnapshotsSynchronizationPlanStatus["Created"] = "CREATED";
|
|
63
|
-
ResourceSnapshotsSynchronizationPlanStatus["InError"] = "IN_ERROR";
|
|
64
|
-
})(ResourceSnapshotsSynchronizationPlanStatus = exports.ResourceSnapshotsSynchronizationPlanStatus || (exports.ResourceSnapshotsSynchronizationPlanStatus = {}));
|
|
65
|
-
var ResourceSnapshotsReportType;
|
|
66
|
-
(function (ResourceSnapshotsReportType) {
|
|
67
|
-
ResourceSnapshotsReportType["CreateSnapshot"] = "CREATE_SNAPSHOT";
|
|
68
|
-
ResourceSnapshotsReportType["DryRun"] = "DRY_RUN";
|
|
69
|
-
ResourceSnapshotsReportType["Apply"] = "APPLY";
|
|
70
|
-
ResourceSnapshotsReportType["CreateSynchronizationPlan"] = "CREATE_SYNCHRONIZATION_PLAN";
|
|
71
|
-
ResourceSnapshotsReportType["ApplySynchronizationPlan"] = "APPLY_SYNCHRONIZATION_PLAN";
|
|
72
|
-
})(ResourceSnapshotsReportType = exports.ResourceSnapshotsReportType || (exports.ResourceSnapshotsReportType = {}));
|
|
73
|
-
var ResourceSnapshotSupportedFileTypes;
|
|
74
|
-
(function (ResourceSnapshotSupportedFileTypes) {
|
|
75
|
-
ResourceSnapshotSupportedFileTypes["ZIP"] = "ZIP";
|
|
76
|
-
ResourceSnapshotSupportedFileTypes["JSON"] = "JSON";
|
|
77
|
-
})(ResourceSnapshotSupportedFileTypes = exports.ResourceSnapshotSupportedFileTypes || (exports.ResourceSnapshotSupportedFileTypes = {}));
|
|
78
|
-
var ResourceSnapshotContentType;
|
|
79
|
-
(function (ResourceSnapshotContentType) {
|
|
80
|
-
ResourceSnapshotContentType["PRIMARY"] = "PRIMARY";
|
|
81
|
-
ResourceSnapshotContentType["CURRENT_STATE"] = "CURRENT_STATE";
|
|
82
|
-
})(ResourceSnapshotContentType = exports.ResourceSnapshotContentType || (exports.ResourceSnapshotContentType = {}));
|
|
83
|
-
var SnapshotsReportStages;
|
|
84
|
-
(function (SnapshotsReportStages) {
|
|
85
|
-
SnapshotsReportStages["COMPUTING_OPERATIONS"] = "COMPUTING_OPERATIONS";
|
|
86
|
-
SnapshotsReportStages["CREATING_SNAPSHOT"] = "CREATING_SNAPSHOT";
|
|
87
|
-
SnapshotsReportStages["INITIAL_PROCESSING"] = "INITIAL_PROCESSING";
|
|
88
|
-
SnapshotsReportStages["PERFORMING_OPERATIONS"] = "PERFORMING_OPERATIONS";
|
|
89
|
-
SnapshotsReportStages["SYNCHRONIZING"] = "SYNCHRONIZING";
|
|
90
|
-
SnapshotsReportStages["VALIDATING_OPERATIONS"] = "VALIDATING_OPERATIONS";
|
|
91
|
-
})(SnapshotsReportStages = exports.SnapshotsReportStages || (exports.SnapshotsReportStages = {}));
|
|
92
|
-
var ApplyOptionsDeletionScope;
|
|
93
|
-
(function (ApplyOptionsDeletionScope) {
|
|
94
|
-
ApplyOptionsDeletionScope["AllManagedResources"] = "ALL_MANAGED_RESOURCES";
|
|
95
|
-
ApplyOptionsDeletionScope["OnlyTypesFromSnapshot"] = "ONLY_TYPES_FROM_SNAPSHOT";
|
|
96
|
-
})(ApplyOptionsDeletionScope = exports.ApplyOptionsDeletionScope || (exports.ApplyOptionsDeletionScope = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ApplyOptionsDeletionScope = exports.SnapshotsReportStages = 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["AutoSynchronizationFailure"] = "AUTO_SYNCHRONIZATION_FAILURE";
|
|
51
|
+
})(ResourceSnapshotsReportResultCode = exports.ResourceSnapshotsReportResultCode || (exports.ResourceSnapshotsReportResultCode = {}));
|
|
52
|
+
var ResourceSnapshotsReportStatus;
|
|
53
|
+
(function (ResourceSnapshotsReportStatus) {
|
|
54
|
+
ResourceSnapshotsReportStatus["Pending"] = "PENDING";
|
|
55
|
+
ResourceSnapshotsReportStatus["InProgress"] = "IN_PROGRESS";
|
|
56
|
+
ResourceSnapshotsReportStatus["Completed"] = "COMPLETED";
|
|
57
|
+
ResourceSnapshotsReportStatus["Aborted"] = "ABORTED";
|
|
58
|
+
})(ResourceSnapshotsReportStatus = exports.ResourceSnapshotsReportStatus || (exports.ResourceSnapshotsReportStatus = {}));
|
|
59
|
+
var ResourceSnapshotsSynchronizationPlanStatus;
|
|
60
|
+
(function (ResourceSnapshotsSynchronizationPlanStatus) {
|
|
61
|
+
ResourceSnapshotsSynchronizationPlanStatus["Creating"] = "CREATING";
|
|
62
|
+
ResourceSnapshotsSynchronizationPlanStatus["Created"] = "CREATED";
|
|
63
|
+
ResourceSnapshotsSynchronizationPlanStatus["InError"] = "IN_ERROR";
|
|
64
|
+
})(ResourceSnapshotsSynchronizationPlanStatus = exports.ResourceSnapshotsSynchronizationPlanStatus || (exports.ResourceSnapshotsSynchronizationPlanStatus = {}));
|
|
65
|
+
var ResourceSnapshotsReportType;
|
|
66
|
+
(function (ResourceSnapshotsReportType) {
|
|
67
|
+
ResourceSnapshotsReportType["CreateSnapshot"] = "CREATE_SNAPSHOT";
|
|
68
|
+
ResourceSnapshotsReportType["DryRun"] = "DRY_RUN";
|
|
69
|
+
ResourceSnapshotsReportType["Apply"] = "APPLY";
|
|
70
|
+
ResourceSnapshotsReportType["CreateSynchronizationPlan"] = "CREATE_SYNCHRONIZATION_PLAN";
|
|
71
|
+
ResourceSnapshotsReportType["ApplySynchronizationPlan"] = "APPLY_SYNCHRONIZATION_PLAN";
|
|
72
|
+
})(ResourceSnapshotsReportType = exports.ResourceSnapshotsReportType || (exports.ResourceSnapshotsReportType = {}));
|
|
73
|
+
var ResourceSnapshotSupportedFileTypes;
|
|
74
|
+
(function (ResourceSnapshotSupportedFileTypes) {
|
|
75
|
+
ResourceSnapshotSupportedFileTypes["ZIP"] = "ZIP";
|
|
76
|
+
ResourceSnapshotSupportedFileTypes["JSON"] = "JSON";
|
|
77
|
+
})(ResourceSnapshotSupportedFileTypes = exports.ResourceSnapshotSupportedFileTypes || (exports.ResourceSnapshotSupportedFileTypes = {}));
|
|
78
|
+
var ResourceSnapshotContentType;
|
|
79
|
+
(function (ResourceSnapshotContentType) {
|
|
80
|
+
ResourceSnapshotContentType["PRIMARY"] = "PRIMARY";
|
|
81
|
+
ResourceSnapshotContentType["CURRENT_STATE"] = "CURRENT_STATE";
|
|
82
|
+
})(ResourceSnapshotContentType = exports.ResourceSnapshotContentType || (exports.ResourceSnapshotContentType = {}));
|
|
83
|
+
var SnapshotsReportStages;
|
|
84
|
+
(function (SnapshotsReportStages) {
|
|
85
|
+
SnapshotsReportStages["COMPUTING_OPERATIONS"] = "COMPUTING_OPERATIONS";
|
|
86
|
+
SnapshotsReportStages["CREATING_SNAPSHOT"] = "CREATING_SNAPSHOT";
|
|
87
|
+
SnapshotsReportStages["INITIAL_PROCESSING"] = "INITIAL_PROCESSING";
|
|
88
|
+
SnapshotsReportStages["PERFORMING_OPERATIONS"] = "PERFORMING_OPERATIONS";
|
|
89
|
+
SnapshotsReportStages["SYNCHRONIZING"] = "SYNCHRONIZING";
|
|
90
|
+
SnapshotsReportStages["VALIDATING_OPERATIONS"] = "VALIDATING_OPERATIONS";
|
|
91
|
+
})(SnapshotsReportStages = exports.SnapshotsReportStages || (exports.SnapshotsReportStages = {}));
|
|
92
|
+
var ApplyOptionsDeletionScope;
|
|
93
|
+
(function (ApplyOptionsDeletionScope) {
|
|
94
|
+
ApplyOptionsDeletionScope["AllManagedResources"] = "ALL_MANAGED_RESOURCES";
|
|
95
|
+
ApplyOptionsDeletionScope["OnlyTypesFromSnapshot"] = "ONLY_TYPES_FROM_SNAPSHOT";
|
|
96
|
+
})(ApplyOptionsDeletionScope = exports.ApplyOptionsDeletionScope || (exports.ApplyOptionsDeletionScope = {}));
|
|
97
97
|
//# sourceMappingURL=ResourceSnapshotsInterfaces.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ResourceSnapshots"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ResourceSnapshotsInterfaces"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ResourceSnapshots"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./ResourceSnapshotsInterfaces"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,36 +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;
|
|
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
36
|
//# sourceMappingURL=Saml.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=SamlInterfaces.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Saml"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./SamlInterfaces"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Saml"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./SamlInterfaces"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|