@coveo/platform-client 38.1.0 → 40.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/README.md +5 -3
- package/dist/APICore.js +133 -260
- package/dist/APICore.js.map +1 -1
- package/dist/ConfigurationInterfaces.js +1 -2
- package/dist/Endpoints.js +23 -31
- package/dist/Endpoints.js.map +1 -1
- package/dist/Entry.js +9 -14
- package/dist/Entry.js.map +1 -1
- package/dist/PlatformClient.js +25 -40
- package/dist/PlatformClient.js.map +1 -1
- package/dist/definitions/APICore.d.ts +2 -2
- package/dist/definitions/ConfigurationInterfaces.d.ts +3 -3
- package/dist/definitions/Entry.d.ts +8 -8
- package/dist/definitions/PlatformClient.d.ts +7 -7
- package/dist/definitions/handlers/ResponseHandlers.d.ts +1 -1
- package/dist/definitions/handlers/index.d.ts +2 -2
- package/dist/definitions/resources/AWS/AWS.d.ts +2 -2
- package/dist/definitions/resources/AWS/index.d.ts +2 -2
- package/dist/definitions/resources/Activities/Activities.d.ts +3 -3
- package/dist/definitions/resources/Activities/ActivitiesInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Activities/index.d.ts +2 -2
- package/dist/definitions/resources/ApiKeys/ApiKeys.d.ts +3 -3
- package/dist/definitions/resources/ApiKeys/ApiKeysInterfaces.d.ts +1 -1
- package/dist/definitions/resources/ApiKeys/index.d.ts +2 -2
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfig.d.ts +4 -4
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.d.ts +1 -1
- package/dist/definitions/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.d.ts +2 -2
- package/dist/definitions/resources/CaseAssistConfigs/index.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/Catalog.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/CatalogConfiguration.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/ProductListing.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/ProductListingConfiguration.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/ProductListingConfigurationInterfaces.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/ProductListingInterfaces.d.ts +3 -3
- package/dist/definitions/resources/Catalogs/index.d.ts +7 -7
- package/dist/definitions/resources/Clusters/Agents/ClusterAgent.d.ts +4 -4
- package/dist/definitions/resources/Clusters/Agents/ClusterAgentInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Clusters/Agents/index.d.ts +2 -2
- package/dist/definitions/resources/Clusters/Cluster.d.ts +6 -6
- package/dist/definitions/resources/Clusters/Nodes/ClusterNode.d.ts +3 -3
- package/dist/definitions/resources/Clusters/Nodes/ClusterNodeInterfaces.d.ts +1 -1
- 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 +2 -2
- package/dist/definitions/resources/Connectivity/index.d.ts +2 -2
- package/dist/definitions/resources/CrawlingModule/CrawlingModule.d.ts +3 -3
- package/dist/definitions/resources/CrawlingModule/CrawlingModuleInterfaces.d.ts +1 -1
- package/dist/definitions/resources/CrawlingModule/index.d.ts +2 -2
- package/dist/definitions/resources/Extensions/Extensions.d.ts +2 -2
- package/dist/definitions/resources/Extensions/ExtensionsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Extensions/index.d.ts +2 -2
- package/dist/definitions/resources/Fields/Fields.d.ts +3 -3
- package/dist/definitions/resources/Fields/FieldsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Fields/index.d.ts +2 -2
- package/dist/definitions/resources/Global/Global.d.ts +4 -4
- package/dist/definitions/resources/Global/OrganizationConfigurations/OrganizationConfiguration.d.ts +3 -3
- package/dist/definitions/resources/Global/OrganizationConfigurations/index.d.ts +2 -2
- package/dist/definitions/resources/Global/RegionConfigurations/RegionConfiguration.d.ts +2 -2
- package/dist/definitions/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.d.ts +1 -1
- 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 +3 -3
- package/dist/definitions/resources/GlobalGroups/GlobalGroupInterfaces.d.ts +2 -2
- package/dist/definitions/resources/GlobalGroups/index.d.ts +2 -2
- package/dist/definitions/resources/Groups/Groups.d.ts +7 -7
- package/dist/definitions/resources/Groups/GroupsInterfaces.d.ts +4 -4
- package/dist/definitions/resources/Groups/Invites/GroupInvite.d.ts +3 -3
- package/dist/definitions/resources/Groups/Invites/GroupInviteInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Groups/Invites/index.d.ts +2 -2
- package/dist/definitions/resources/Groups/Members/GroupMember.d.ts +2 -2
- package/dist/definitions/resources/Groups/Members/GroupMemberInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Groups/Members/index.d.ts +2 -2
- package/dist/definitions/resources/Groups/Realms/GroupRealm.d.ts +2 -2
- package/dist/definitions/resources/Groups/Realms/GroupRealmInterfaces.d.ts +1 -1
- 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/HostedInterfacesCore/HostedInterfaceCoreConfig.model.d.ts +141 -0
- package/dist/definitions/resources/HostedInterfacesCore/index.d.ts +1 -0
- package/dist/definitions/resources/IPXInterfaces/IPXInterface.model.d.ts +62 -0
- package/dist/definitions/resources/IPXInterfaces/index.d.ts +1 -0
- package/dist/definitions/resources/InProductExperiences/InProductExperiences.d.ts +4 -4
- package/dist/definitions/resources/InProductExperiences/InProductExperiencesInterfaces.d.ts +2 -2
- package/dist/definitions/resources/InProductExperiences/index.d.ts +2 -2
- package/dist/definitions/resources/Indexes/Indexes.d.ts +3 -3
- package/dist/definitions/resources/Indexes/IndexesInterface.d.ts +1 -1
- package/dist/definitions/resources/Indexes/index.d.ts +2 -2
- package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfig.d.ts +3 -3
- package/dist/definitions/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.d.ts +2 -2
- package/dist/definitions/resources/InsightPanelConfigs/index.d.ts +2 -2
- package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.d.ts +5 -4
- package/dist/definitions/resources/InsightPanelInterfaces/InsightPanelInterface.model.d.ts +9 -105
- package/dist/definitions/resources/InsightPanelInterfaces/index.d.ts +2 -2
- package/dist/definitions/resources/License/License.d.ts +3 -3
- package/dist/definitions/resources/License/LicenseInterfaces.d.ts +1 -1
- package/dist/definitions/resources/License/index.d.ts +2 -2
- package/dist/definitions/resources/Limits/Limits.d.ts +3 -3
- package/dist/definitions/resources/Limits/index.d.ts +2 -2
- package/dist/definitions/resources/Links/Links.d.ts +1 -1
- package/dist/definitions/resources/Links/index.d.ts +1 -1
- package/dist/definitions/resources/Logs/Logs.d.ts +2 -2
- package/dist/definitions/resources/Logs/LogsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Logs/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.d.ts +3 -3
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.d.ts +1 -1
- package/dist/definitions/resources/MachineLearning/CaseClassificationConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfiguration.d.ts +3 -3
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/DNEConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/FilterConditions.d.ts +1 -1
- package/dist/definitions/resources/MachineLearning/MachineLearning.d.ts +11 -11
- package/dist/definitions/resources/MachineLearning/MachineLearningInterfaces.d.ts +3 -3
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/ModelConfiguration.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/ModelConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/ModelInformation/ModelInformation.d.ts +4 -4
- package/dist/definitions/resources/MachineLearning/ModelInformation/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/Models/Models.d.ts +4 -4
- package/dist/definitions/resources/MachineLearning/Models/ModelsInterfaces.d.ts +4 -4
- package/dist/definitions/resources/MachineLearning/Models/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfiguration.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.d.ts +1 -1
- package/dist/definitions/resources/MachineLearning/PQSConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.d.ts +3 -3
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.d.ts +1 -1
- package/dist/definitions/resources/MachineLearning/SmartSnippetsConfiguration/index.d.ts +2 -2
- package/dist/definitions/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.d.ts +1 -1
- 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/ModifierTemplates.d.ts +2 -2
- package/dist/definitions/resources/ModifierTemplates/index.d.ts +2 -2
- package/dist/definitions/resources/Notification/Subscription/Subscription.d.ts +2 -2
- package/dist/definitions/resources/Notification/Subscription/SubscriptionInterfaces.d.ts +1 -1
- 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 +3 -3
- package/dist/definitions/resources/OrganizationAccess/Access.d.ts +2 -2
- package/dist/definitions/resources/OrganizationAccess/AccessInterfaces.d.ts +1 -1
- package/dist/definitions/resources/OrganizationAccess/index.d.ts +2 -2
- package/dist/definitions/resources/Organizations/Members/Members.d.ts +2 -2
- package/dist/definitions/resources/Organizations/Members/MembersInterface.d.ts +1 -1
- package/dist/definitions/resources/Organizations/Members/index.d.ts +2 -2
- package/dist/definitions/resources/Organizations/Organization.d.ts +6 -6
- package/dist/definitions/resources/Organizations/OrganizationInterfaces.d.ts +3 -3
- package/dist/definitions/resources/Organizations/index.d.ts +3 -3
- package/dist/definitions/resources/Pipelines/Conditions/Condition.d.ts +9 -3
- package/dist/definitions/resources/Pipelines/Conditions/ConditionInterfaces.d.ts +4 -2
- package/dist/definitions/resources/Pipelines/Conditions/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRules.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/FacetStateRules/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociations.d.ts +3 -3
- package/dist/definitions/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/MLAssociations/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/Pipelines.d.ts +10 -10
- package/dist/definitions/resources/Pipelines/PipelinesInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankings.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/ResultRankings/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroups.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/StatementGroups/index.d.ts +2 -2
- package/dist/definitions/resources/Pipelines/Statements/Statements.d.ts +3 -3
- package/dist/definitions/resources/Pipelines/Statements/StatementsInterfaces.d.ts +3 -3
- 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 +47 -47
- package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluator.d.ts +2 -2
- package/dist/definitions/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.d.ts +1 -1
- package/dist/definitions/resources/PrivilegeEvaluator/index.d.ts +2 -2
- package/dist/definitions/resources/Products/Product.d.ts +3 -3
- package/dist/definitions/resources/Products/ProductInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Products/index.d.ts +2 -2
- package/dist/definitions/resources/PushApi/PushApi.d.ts +2 -2
- package/dist/definitions/resources/PushApi/PushApiInterfaces.d.ts +1 -1
- package/dist/definitions/resources/PushApi/index.d.ts +2 -2
- package/dist/definitions/resources/Resource.d.ts +1 -1
- package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshots.d.ts +2 -2
- package/dist/definitions/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.d.ts +1 -1
- package/dist/definitions/resources/ResourceSnapshots/index.d.ts +2 -2
- package/dist/definitions/resources/Saml/Saml.d.ts +4 -4
- package/dist/definitions/resources/Saml/SamlInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Saml/index.d.ts +2 -2
- package/dist/definitions/resources/SchemaService/SchemaService.d.ts +5 -5
- package/dist/definitions/resources/SchemaService/SchemaServiceInterfaces.d.ts +1 -1
- package/dist/definitions/resources/SchemaService/index.d.ts +2 -2
- package/dist/definitions/resources/Search/Search.d.ts +3 -3
- package/dist/definitions/resources/Search/SearchInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Search/index.d.ts +2 -2
- package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.d.ts +3 -3
- package/dist/definitions/resources/SearchInterfaces/SearchInterfaces.model.d.ts +2 -2
- package/dist/definitions/resources/SearchInterfaces/index.d.ts +2 -2
- package/dist/definitions/resources/SearchPages/SearchPages.d.ts +2 -2
- package/dist/definitions/resources/SearchPages/SearchPagesInterfaces.d.ts +1 -1
- package/dist/definitions/resources/SearchPages/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/LicenseMetrics/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetrics.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.d.ts +1 -1
- package/dist/definitions/resources/SearchUsageMetrics/RawMetrics/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubs.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.d.ts +1 -1
- package/dist/definitions/resources/SearchUsageMetrics/SearchHubs/index.d.ts +2 -2
- package/dist/definitions/resources/SearchUsageMetrics/SearchUsageMetrics.d.ts +5 -5
- package/dist/definitions/resources/SearchUsageMetrics/index.d.ts +4 -4
- package/dist/definitions/resources/SecurityCache/SecurityCache.d.ts +3 -3
- package/dist/definitions/resources/SecurityCache/SecurityCacheInterfaces.d.ts +3 -3
- package/dist/definitions/resources/SecurityCache/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/Sources.d.ts +10 -10
- package/dist/definitions/resources/Sources/SourcesDatasets/SourcesDatasets.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesDatasets/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesFields/SourcesFields.d.ts +3 -3
- package/dist/definitions/resources/Sources/SourcesFields/SourcesFieldsInterfaces.d.ts +3 -3
- package/dist/definitions/resources/Sources/SourcesFields/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesInterfaces.d.ts +6 -6
- package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappings.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesMappings/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadata.d.ts +3 -3
- package/dist/definitions/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesMetadata/index.d.ts +2 -2
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Address.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Authentification.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Document.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Extension.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Information.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Permission.d.ts +1 -1
- package/dist/definitions/resources/Sources/SourcesSubInterfaces/Url.d.ts +1 -1
- 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 +2 -2
- package/dist/definitions/resources/TableauService/ContentQuery/index.d.ts +2 -2
- package/dist/definitions/resources/TableauService/TableauService.d.ts +3 -3
- package/dist/definitions/resources/TableauService/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/Administration.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Administration/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/CommonParamParts.d.ts +1 -1
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShare.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.d.ts +1 -1
- package/dist/definitions/resources/UsageAnalytics/Read/DataShare/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/Dimensions.d.ts +4 -4
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Dimensions/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/Exports.d.ts +3 -3
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Exports/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/Filters.d.ts +3 -3
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.d.ts +1 -1
- package/dist/definitions/resources/UsageAnalytics/Read/Filters/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/ReadServiceResource.d.ts +1 -1
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/Reports.d.ts +4 -4
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Reports/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/Snowflake.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Snowflake/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/Statistics.d.ts +3 -3
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.d.ts +1 -1
- package/dist/definitions/resources/UsageAnalytics/Read/Statistics/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/Users/Users.d.ts +3 -3
- package/dist/definitions/resources/UsageAnalytics/Read/Users/UsersInterfaces.d.ts +1 -1
- package/dist/definitions/resources/UsageAnalytics/Read/Users/index.d.ts +2 -2
- package/dist/definitions/resources/UsageAnalytics/Read/index.d.ts +11 -11
- package/dist/definitions/resources/UsageAnalytics/UsageAnalytics.d.ts +10 -10
- package/dist/definitions/resources/UsageAnalytics/index.d.ts +2 -2
- package/dist/definitions/resources/Users/User.d.ts +3 -3
- package/dist/definitions/resources/Users/UserInterfaces.d.ts +2 -2
- package/dist/definitions/resources/Users/index.d.ts +2 -2
- package/dist/definitions/resources/Vaults/Vaults.d.ts +4 -4
- package/dist/definitions/resources/Vaults/VaultsInterfaces.d.ts +4 -4
- package/dist/definitions/resources/Vaults/index.d.ts +2 -2
- package/dist/definitions/resources/index.d.ts +48 -46
- package/dist/definitions/utils/index.d.ts +2 -2
- package/dist/definitions/utils/normalizePaginatedOptions.d.ts +2 -2
- package/dist/handlers/ResponseHandlerInterfaces.js +1 -2
- package/dist/handlers/ResponseHandlers.js +17 -41
- package/dist/handlers/ResponseHandlers.js.map +1 -1
- package/dist/handlers/index.js +2 -5
- package/dist/handlers/index.js.map +1 -1
- package/dist/resources/AWS/AWS.js +6 -16
- package/dist/resources/AWS/AWS.js.map +1 -1
- package/dist/resources/AWS/AWSInterfaces.js +1 -2
- package/dist/resources/AWS/index.js +2 -5
- package/dist/resources/AWS/index.js.map +1 -1
- package/dist/resources/Activities/Activities.js +24 -35
- package/dist/resources/Activities/Activities.js.map +1 -1
- package/dist/resources/Activities/ActivitiesInterfaces.js +1 -2
- package/dist/resources/Activities/index.js +2 -5
- package/dist/resources/Activities/index.js.map +1 -1
- package/dist/resources/ApiKeys/ApiKeys.js +21 -30
- package/dist/resources/ApiKeys/ApiKeys.js.map +1 -1
- package/dist/resources/ApiKeys/ApiKeysInterfaces.js +1 -2
- package/dist/resources/ApiKeys/index.js +2 -5
- package/dist/resources/ApiKeys/index.js.map +1 -1
- package/dist/resources/BaseInterfaces.js +1 -2
- package/dist/resources/CaseAssistConfigs/CaseAssistConfig.js +30 -39
- package/dist/resources/CaseAssistConfigs/CaseAssistConfig.js.map +1 -1
- package/dist/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.js +6 -9
- package/dist/resources/CaseAssistConfigs/CaseAssistConfigInterfaces.js.map +1 -1
- package/dist/resources/CaseAssistConfigs/CaseAssistPreviewInterfaces.js +1 -2
- package/dist/resources/CaseAssistConfigs/index.js +3 -6
- package/dist/resources/CaseAssistConfigs/index.js.map +1 -1
- package/dist/resources/Catalogs/Catalog.js +27 -36
- package/dist/resources/Catalogs/Catalog.js.map +1 -1
- package/dist/resources/Catalogs/CatalogConfiguration.js +18 -27
- package/dist/resources/Catalogs/CatalogConfiguration.js.map +1 -1
- package/dist/resources/Catalogs/CatalogInterfaces.js +1 -2
- package/dist/resources/Catalogs/ProductListing.js +28 -37
- package/dist/resources/Catalogs/ProductListing.js.map +1 -1
- package/dist/resources/Catalogs/ProductListingConfiguration.js +21 -30
- package/dist/resources/Catalogs/ProductListingConfiguration.js.map +1 -1
- package/dist/resources/Catalogs/ProductListingConfigurationInterfaces.js +2 -5
- package/dist/resources/Catalogs/ProductListingConfigurationInterfaces.js.map +1 -1
- package/dist/resources/Catalogs/ProductListingInterfaces.js +1 -3
- package/dist/resources/Catalogs/ProductListingInterfaces.js.map +1 -1
- package/dist/resources/Catalogs/index.js +7 -10
- package/dist/resources/Catalogs/index.js.map +1 -1
- package/dist/resources/Clusters/Agents/ClusterAgent.js +10 -19
- package/dist/resources/Clusters/Agents/ClusterAgent.js.map +1 -1
- package/dist/resources/Clusters/Agents/ClusterAgentInterfaces.js +1 -2
- package/dist/resources/Clusters/Agents/index.js +2 -5
- package/dist/resources/Clusters/Agents/index.js.map +1 -1
- package/dist/resources/Clusters/Cluster.js +30 -33
- package/dist/resources/Clusters/Cluster.js.map +1 -1
- package/dist/resources/Clusters/ClusterInterfaces.js +1 -2
- package/dist/resources/Clusters/Nodes/ClusterNode.js +22 -31
- package/dist/resources/Clusters/Nodes/ClusterNode.js.map +1 -1
- package/dist/resources/Clusters/Nodes/ClusterNodeInterfaces.js +1 -2
- package/dist/resources/Clusters/Nodes/index.js +2 -5
- package/dist/resources/Clusters/Nodes/index.js.map +1 -1
- package/dist/resources/Clusters/index.js +4 -7
- package/dist/resources/Clusters/index.js.map +1 -1
- package/dist/resources/Connectivity/Connectivity.js +11 -21
- package/dist/resources/Connectivity/Connectivity.js.map +1 -1
- package/dist/resources/Connectivity/ConnectivityInterface.js +2 -5
- package/dist/resources/Connectivity/ConnectivityInterface.js.map +1 -1
- package/dist/resources/Connectivity/index.js +2 -5
- package/dist/resources/Connectivity/index.js.map +1 -1
- package/dist/resources/CrawlingModule/CrawlingModule.js +32 -41
- package/dist/resources/CrawlingModule/CrawlingModule.js.map +1 -1
- package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js +4 -7
- package/dist/resources/CrawlingModule/CrawlingModuleInterfaces.js.map +1 -1
- package/dist/resources/CrawlingModule/index.js +2 -5
- package/dist/resources/CrawlingModule/index.js.map +1 -1
- package/dist/resources/Enums.js +214 -219
- package/dist/resources/Enums.js.map +1 -1
- package/dist/resources/Extensions/Extensions.js +24 -33
- package/dist/resources/Extensions/Extensions.js.map +1 -1
- package/dist/resources/Extensions/ExtensionsInterfaces.js +1 -2
- package/dist/resources/Extensions/index.js +2 -5
- package/dist/resources/Extensions/index.js.map +1 -1
- package/dist/resources/Fields/Fields.js +35 -44
- package/dist/resources/Fields/Fields.js.map +1 -1
- package/dist/resources/Fields/FieldsInterfaces.js +1 -2
- package/dist/resources/Fields/index.js +2 -5
- package/dist/resources/Fields/index.js.map +1 -1
- package/dist/resources/Global/Global.js +15 -18
- package/dist/resources/Global/Global.js.map +1 -1
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfiguration.js +9 -18
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfiguration.js.map +1 -1
- package/dist/resources/Global/OrganizationConfigurations/OrganizationConfigurationInterfaces.js +1 -2
- package/dist/resources/Global/OrganizationConfigurations/index.js +2 -5
- package/dist/resources/Global/OrganizationConfigurations/index.js.map +1 -1
- package/dist/resources/Global/RegionConfigurations/RegionConfiguration.js +9 -18
- package/dist/resources/Global/RegionConfigurations/RegionConfiguration.js.map +1 -1
- package/dist/resources/Global/RegionConfigurations/RegionConfigurationInterfaces.js +1 -2
- package/dist/resources/Global/RegionConfigurations/index.js +2 -5
- package/dist/resources/Global/RegionConfigurations/index.js.map +1 -1
- package/dist/resources/Global/index.js +3 -6
- package/dist/resources/Global/index.js.map +1 -1
- package/dist/resources/GlobalGroups/GlobalGroup.js +17 -26
- package/dist/resources/GlobalGroups/GlobalGroup.js.map +1 -1
- package/dist/resources/GlobalGroups/GlobalGroupInterfaces.js +1 -2
- package/dist/resources/GlobalGroups/index.js +2 -5
- package/dist/resources/GlobalGroups/index.js.map +1 -1
- package/dist/resources/Groups/Groups.js +36 -38
- package/dist/resources/Groups/Groups.js.map +1 -1
- package/dist/resources/Groups/GroupsInterfaces.js +1 -2
- package/dist/resources/Groups/Invites/GroupInvite.js +18 -28
- package/dist/resources/Groups/Invites/GroupInvite.js.map +1 -1
- package/dist/resources/Groups/Invites/GroupInviteInterfaces.js +1 -2
- package/dist/resources/Groups/Invites/index.js +2 -5
- package/dist/resources/Groups/Invites/index.js.map +1 -1
- package/dist/resources/Groups/Members/GroupMember.js +15 -25
- package/dist/resources/Groups/Members/GroupMember.js.map +1 -1
- package/dist/resources/Groups/Members/GroupMemberInterfaces.js +1 -2
- package/dist/resources/Groups/Members/index.js +2 -5
- package/dist/resources/Groups/Members/index.js.map +1 -1
- package/dist/resources/Groups/Realms/GroupRealm.js +15 -24
- package/dist/resources/Groups/Realms/GroupRealm.js.map +1 -1
- package/dist/resources/Groups/Realms/GroupRealmInterfaces.js +1 -2
- package/dist/resources/Groups/Realms/index.js +2 -5
- package/dist/resources/Groups/Realms/index.js.map +1 -1
- package/dist/resources/Groups/index.js +5 -8
- package/dist/resources/Groups/index.js.map +1 -1
- package/dist/resources/HostedInterfacesCore/HostedInterfaceCoreConfig.model.js +8 -0
- package/dist/resources/HostedInterfacesCore/HostedInterfaceCoreConfig.model.js.map +1 -0
- package/dist/resources/HostedInterfacesCore/index.js +2 -0
- package/dist/resources/HostedInterfacesCore/index.js.map +1 -0
- package/dist/resources/IPXInterfaces/IPXInterface.model.js +6 -0
- package/dist/resources/IPXInterfaces/IPXInterface.model.js.map +1 -0
- package/dist/resources/IPXInterfaces/index.js +2 -0
- package/dist/resources/IPXInterfaces/index.js.map +1 -0
- package/dist/resources/InProductExperiences/InProductExperiences.js +29 -30
- package/dist/resources/InProductExperiences/InProductExperiences.js.map +1 -1
- package/dist/resources/InProductExperiences/InProductExperiencesInterfaces.js +10 -12
- package/dist/resources/InProductExperiences/InProductExperiencesInterfaces.js.map +1 -1
- package/dist/resources/InProductExperiences/index.js +2 -5
- package/dist/resources/InProductExperiences/index.js.map +1 -1
- package/dist/resources/Indexes/Indexes.js +49 -58
- package/dist/resources/Indexes/Indexes.js.map +1 -1
- package/dist/resources/Indexes/IndexesInterface.js +1 -2
- package/dist/resources/Indexes/index.js +2 -5
- package/dist/resources/Indexes/index.js.map +1 -1
- package/dist/resources/InsightPanelConfigs/InsightPanelConfig.js +19 -28
- package/dist/resources/InsightPanelConfigs/InsightPanelConfig.js.map +1 -1
- package/dist/resources/InsightPanelConfigs/InsightPanelConfigInterfaces.js +1 -2
- package/dist/resources/InsightPanelConfigs/index.js +2 -5
- package/dist/resources/InsightPanelConfigs/index.js.map +1 -1
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.js +19 -28
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.js.map +1 -1
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.model.js +2 -12
- package/dist/resources/InsightPanelInterfaces/InsightPanelInterface.model.js.map +1 -1
- package/dist/resources/InsightPanelInterfaces/index.js +2 -5
- package/dist/resources/InsightPanelInterfaces/index.js.map +1 -1
- package/dist/resources/InternalBaseInterface.js +1 -2
- package/dist/resources/License/License.js +20 -29
- package/dist/resources/License/License.js.map +1 -1
- package/dist/resources/License/LicenseInterfaces.js +8 -11
- package/dist/resources/License/LicenseInterfaces.js.map +1 -1
- package/dist/resources/License/index.js +2 -5
- package/dist/resources/License/index.js.map +1 -1
- package/dist/resources/Limits/Limits.js +15 -26
- package/dist/resources/Limits/Limits.js.map +1 -1
- package/dist/resources/Limits/LimitsInterfaces.js +2 -5
- package/dist/resources/Limits/LimitsInterfaces.js.map +1 -1
- package/dist/resources/Limits/index.js +2 -5
- package/dist/resources/Limits/index.js.map +1 -1
- package/dist/resources/Links/Links.js +7 -16
- package/dist/resources/Links/Links.js.map +1 -1
- package/dist/resources/Links/index.js +1 -4
- package/dist/resources/Links/index.js.map +1 -1
- package/dist/resources/Logs/Logs.js +13 -22
- package/dist/resources/Logs/Logs.js.map +1 -1
- package/dist/resources/Logs/LogsInterfaces.js +1 -2
- package/dist/resources/Logs/index.js +2 -5
- package/dist/resources/Logs/index.js.map +1 -1
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js +23 -32
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfiguration.js.map +1 -1
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.js +2 -5
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/CaseClassificationConfigurationInterfaces.js.map +1 -1
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/index.js +2 -5
- package/dist/resources/MachineLearning/CaseClassificationConfiguration/index.js.map +1 -1
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfiguration.js +35 -50
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfiguration.js.map +1 -1
- package/dist/resources/MachineLearning/DNEConfiguration/DNEConfigurationInterfaces.js +1 -2
- package/dist/resources/MachineLearning/DNEConfiguration/index.js +2 -5
- package/dist/resources/MachineLearning/DNEConfiguration/index.js.map +1 -1
- package/dist/resources/MachineLearning/FilterConditions.js +1 -2
- package/dist/resources/MachineLearning/MachineLearning.js +38 -35
- package/dist/resources/MachineLearning/MachineLearning.js.map +1 -1
- package/dist/resources/MachineLearning/MachineLearningInterfaces.js +1 -2
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfiguration.js +10 -21
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfiguration.js.map +1 -1
- package/dist/resources/MachineLearning/ModelConfiguration/ModelConfigurationInterfaces.js +1 -2
- package/dist/resources/MachineLearning/ModelConfiguration/index.js +2 -5
- package/dist/resources/MachineLearning/ModelConfiguration/index.js.map +1 -1
- package/dist/resources/MachineLearning/ModelInformation/ModelInformation.js +11 -22
- package/dist/resources/MachineLearning/ModelInformation/ModelInformation.js.map +1 -1
- package/dist/resources/MachineLearning/ModelInformation/ModelInformationInterfaces.js +1 -2
- package/dist/resources/MachineLearning/ModelInformation/index.js +2 -5
- package/dist/resources/MachineLearning/ModelInformation/index.js.map +1 -1
- package/dist/resources/MachineLearning/Models/Models.js +24 -33
- package/dist/resources/MachineLearning/Models/Models.js.map +1 -1
- package/dist/resources/MachineLearning/Models/ModelsInterfaces.js +1 -2
- package/dist/resources/MachineLearning/Models/index.js +2 -5
- package/dist/resources/MachineLearning/Models/index.js.map +1 -1
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfiguration.js +7 -16
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfiguration.js.map +1 -1
- package/dist/resources/MachineLearning/PQSConfiguration/PQSConfigurationInterfaces.js +1 -2
- package/dist/resources/MachineLearning/PQSConfiguration/index.js +2 -5
- package/dist/resources/MachineLearning/PQSConfiguration/index.js.map +1 -1
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.js +26 -35
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfiguration.js.map +1 -1
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/SmartSnippetsConfigurationInterfaces.js +1 -2
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/index.js +2 -5
- package/dist/resources/MachineLearning/SmartSnippetsConfiguration/index.js.map +1 -1
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.js +11 -20
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/UserActionHistoryConfiguration.js.map +1 -1
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/index.js +1 -4
- package/dist/resources/MachineLearning/UserActionHistoryConfiguration/index.js.map +1 -1
- package/dist/resources/MachineLearning/index.js +11 -14
- package/dist/resources/MachineLearning/index.js.map +1 -1
- package/dist/resources/ModifierTemplates/ModifierTemplateInterfaces.js +6 -9
- package/dist/resources/ModifierTemplates/ModifierTemplateInterfaces.js.map +1 -1
- package/dist/resources/ModifierTemplates/ModifierTemplates.js +9 -18
- package/dist/resources/ModifierTemplates/ModifierTemplates.js.map +1 -1
- package/dist/resources/ModifierTemplates/index.js +2 -5
- package/dist/resources/ModifierTemplates/index.js.map +1 -1
- package/dist/resources/Notification/Subscription/Subscription.js +51 -60
- package/dist/resources/Notification/Subscription/Subscription.js.map +1 -1
- package/dist/resources/Notification/Subscription/SubscriptionInterfaces.js +1 -2
- package/dist/resources/Notification/Subscription/index.js +2 -5
- package/dist/resources/Notification/Subscription/index.js.map +1 -1
- package/dist/resources/Notification/index.js +2 -5
- package/dist/resources/Notification/index.js.map +1 -1
- package/dist/resources/Notification/notification.js +12 -16
- package/dist/resources/Notification/notification.js.map +1 -1
- package/dist/resources/OrganizationAccess/Access.js +10 -19
- package/dist/resources/OrganizationAccess/Access.js.map +1 -1
- package/dist/resources/OrganizationAccess/AccessInterfaces.js +1 -2
- package/dist/resources/OrganizationAccess/index.js +2 -5
- package/dist/resources/OrganizationAccess/index.js.map +1 -1
- package/dist/resources/Organizations/Members/Members.js +13 -22
- package/dist/resources/Organizations/Members/Members.js.map +1 -1
- package/dist/resources/Organizations/Members/MembersInterface.js +1 -2
- package/dist/resources/Organizations/Members/index.js +2 -5
- package/dist/resources/Organizations/Members/index.js.map +1 -1
- package/dist/resources/Organizations/Organization.js +70 -81
- package/dist/resources/Organizations/Organization.js.map +1 -1
- package/dist/resources/Organizations/OrganizationInterfaces.js +2 -5
- package/dist/resources/Organizations/OrganizationInterfaces.js.map +1 -1
- package/dist/resources/Organizations/index.js +3 -6
- package/dist/resources/Organizations/index.js.map +1 -1
- package/dist/resources/Pipelines/Conditions/Condition.js +30 -32
- package/dist/resources/Pipelines/Conditions/Condition.js.map +1 -1
- package/dist/resources/Pipelines/Conditions/ConditionInterfaces.js +1 -2
- package/dist/resources/Pipelines/Conditions/index.js +2 -5
- package/dist/resources/Pipelines/Conditions/index.js.map +1 -1
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRules.js +21 -30
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRules.js.map +1 -1
- package/dist/resources/Pipelines/FacetStateRules/FacetStateRulesInterface.js +1 -2
- package/dist/resources/Pipelines/FacetStateRules/index.js +2 -5
- package/dist/resources/Pipelines/FacetStateRules/index.js.map +1 -1
- package/dist/resources/Pipelines/MLAssociations/MLAssociations.js +30 -37
- package/dist/resources/Pipelines/MLAssociations/MLAssociations.js.map +1 -1
- package/dist/resources/Pipelines/MLAssociations/MLAssociationsInterfaces.js +1 -2
- package/dist/resources/Pipelines/MLAssociations/index.js +2 -5
- package/dist/resources/Pipelines/MLAssociations/index.js.map +1 -1
- package/dist/resources/Pipelines/Pipelines.js +50 -49
- package/dist/resources/Pipelines/Pipelines.js.map +1 -1
- package/dist/resources/Pipelines/PipelinesInterfaces.js +1 -2
- package/dist/resources/Pipelines/ResultRankings/ResultRankings.js +38 -41
- package/dist/resources/Pipelines/ResultRankings/ResultRankings.js.map +1 -1
- package/dist/resources/Pipelines/ResultRankings/ResultRankingsInterfaces.js +1 -2
- package/dist/resources/Pipelines/ResultRankings/index.js +2 -5
- package/dist/resources/Pipelines/ResultRankings/index.js.map +1 -1
- package/dist/resources/Pipelines/StatementGroups/StatementGroups.js +26 -32
- package/dist/resources/Pipelines/StatementGroups/StatementGroups.js.map +1 -1
- package/dist/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js +2 -5
- package/dist/resources/Pipelines/StatementGroups/StatementGroupsInterfaces.js.map +1 -1
- package/dist/resources/Pipelines/StatementGroups/index.js +2 -5
- package/dist/resources/Pipelines/StatementGroups/index.js.map +1 -1
- package/dist/resources/Pipelines/Statements/Statements.js +43 -45
- package/dist/resources/Pipelines/Statements/Statements.js.map +1 -1
- package/dist/resources/Pipelines/Statements/StatementsInterfaces.js +1 -2
- package/dist/resources/Pipelines/Statements/index.js +2 -5
- package/dist/resources/Pipelines/Statements/index.js.map +1 -1
- package/dist/resources/Pipelines/index.js +8 -11
- package/dist/resources/Pipelines/index.js.map +1 -1
- package/dist/resources/PlatformResources.js +150 -110
- package/dist/resources/PlatformResources.js.map +1 -1
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluator.js +11 -17
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluator.js.map +1 -1
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.js +2 -5
- package/dist/resources/PrivilegeEvaluator/PrivilegeEvaluatorInterfaces.js.map +1 -1
- package/dist/resources/PrivilegeEvaluator/index.js +2 -5
- package/dist/resources/PrivilegeEvaluator/index.js.map +1 -1
- package/dist/resources/Products/Product.js +7 -17
- package/dist/resources/Products/Product.js.map +1 -1
- package/dist/resources/Products/ProductInterfaces.js +1 -2
- package/dist/resources/Products/index.js +2 -5
- package/dist/resources/Products/index.js.map +1 -1
- package/dist/resources/PushApi/PushApi.js +19 -28
- package/dist/resources/PushApi/PushApi.js.map +1 -1
- package/dist/resources/PushApi/PushApiInterfaces.js +1 -2
- package/dist/resources/PushApi/index.js +2 -5
- package/dist/resources/PushApi/index.js.map +1 -1
- package/dist/resources/Resource.js +14 -15
- package/dist/resources/Resource.js.map +1 -1
- package/dist/resources/ResourceSnapshots/ResourceSnapshots.js +73 -91
- package/dist/resources/ResourceSnapshots/ResourceSnapshots.js.map +1 -1
- package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js +22 -25
- package/dist/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.js.map +1 -1
- package/dist/resources/ResourceSnapshots/index.js +2 -5
- package/dist/resources/ResourceSnapshots/index.js.map +1 -1
- package/dist/resources/Saml/Saml.js +25 -34
- package/dist/resources/Saml/Saml.js.map +1 -1
- package/dist/resources/Saml/SamlInterfaces.js +1 -2
- package/dist/resources/Saml/index.js +2 -5
- package/dist/resources/Saml/index.js.map +1 -1
- package/dist/resources/SchemaService/SchemaService.js +46 -51
- package/dist/resources/SchemaService/SchemaService.js.map +1 -1
- package/dist/resources/SchemaService/SchemaServiceInterfaces.js +1 -2
- package/dist/resources/SchemaService/index.js +2 -5
- package/dist/resources/SchemaService/index.js.map +1 -1
- package/dist/resources/Search/Search.js +20 -26
- package/dist/resources/Search/Search.js.map +1 -1
- package/dist/resources/Search/SearchInterfaces.js +1 -2
- package/dist/resources/Search/index.js +2 -5
- package/dist/resources/Search/index.js.map +1 -1
- package/dist/resources/SearchInterfaces/SearchInterfaces.js +37 -46
- package/dist/resources/SearchInterfaces/SearchInterfaces.js.map +1 -1
- package/dist/resources/SearchInterfaces/SearchInterfaces.model.js +1 -2
- package/dist/resources/SearchInterfaces/index.js +2 -5
- package/dist/resources/SearchInterfaces/index.js.map +1 -1
- package/dist/resources/SearchPages/SearchPages.js +48 -57
- package/dist/resources/SearchPages/SearchPages.js.map +1 -1
- package/dist/resources/SearchPages/SearchPagesInterfaces.js +1 -2
- package/dist/resources/SearchPages/index.js +2 -5
- package/dist/resources/SearchPages/index.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js +13 -22
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetrics.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/LicenseMetricsInterface.js +1 -2
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/index.js +2 -5
- package/dist/resources/SearchUsageMetrics/LicenseMetrics/index.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetrics.js +22 -37
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetrics.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/RawMetrics/RawMetricsInterface.js +1 -2
- package/dist/resources/SearchUsageMetrics/RawMetrics/index.js +2 -5
- package/dist/resources/SearchUsageMetrics/RawMetrics/index.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubs.js +22 -35
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubs.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/SearchHubs/SearchHubsInterface.js +1 -2
- package/dist/resources/SearchUsageMetrics/SearchHubs/index.js +2 -5
- package/dist/resources/SearchUsageMetrics/SearchHubs/index.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/SearchUsageMetrics.js +18 -20
- package/dist/resources/SearchUsageMetrics/SearchUsageMetrics.js.map +1 -1
- package/dist/resources/SearchUsageMetrics/index.js +4 -7
- package/dist/resources/SearchUsageMetrics/index.js.map +1 -1
- package/dist/resources/SecurityCache/SecurityCache.js +61 -73
- package/dist/resources/SecurityCache/SecurityCache.js.map +1 -1
- package/dist/resources/SecurityCache/SecurityCacheInterfaces.js +1 -2
- package/dist/resources/SecurityCache/index.js +2 -5
- package/dist/resources/SecurityCache/index.js.map +1 -1
- package/dist/resources/Sources/Sources.js +116 -117
- package/dist/resources/Sources/Sources.js.map +1 -1
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasets.js +16 -26
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasets.js.map +1 -1
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.js +6 -9
- package/dist/resources/Sources/SourcesDatasets/SourcesDatasetsInterfaces.js.map +1 -1
- package/dist/resources/Sources/SourcesDatasets/index.js +2 -5
- package/dist/resources/Sources/SourcesDatasets/index.js.map +1 -1
- package/dist/resources/Sources/SourcesFields/SourcesFields.js +16 -26
- package/dist/resources/Sources/SourcesFields/SourcesFields.js.map +1 -1
- package/dist/resources/Sources/SourcesFields/SourcesFieldsInterfaces.js +1 -2
- package/dist/resources/Sources/SourcesFields/index.js +2 -5
- package/dist/resources/Sources/SourcesFields/index.js.map +1 -1
- package/dist/resources/Sources/SourcesInterfaces.js +1 -4
- package/dist/resources/Sources/SourcesInterfaces.js.map +1 -1
- package/dist/resources/Sources/SourcesMappings/SourcesMappings.js +10 -20
- package/dist/resources/Sources/SourcesMappings/SourcesMappings.js.map +1 -1
- package/dist/resources/Sources/SourcesMappings/SourcesMappingsInterfaces.js +1 -2
- package/dist/resources/Sources/SourcesMappings/index.js +2 -5
- package/dist/resources/Sources/SourcesMappings/index.js.map +1 -1
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadata.js +13 -22
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadata.js.map +1 -1
- package/dist/resources/Sources/SourcesMetadata/SourcesMetadataInterfaces.js +1 -2
- package/dist/resources/Sources/SourcesMetadata/index.js +2 -5
- package/dist/resources/Sources/SourcesMetadata/index.js.map +1 -1
- package/dist/resources/Sources/SourcesSubInterfaces/Address.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Authentification.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Document.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Error.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/ExtendedDataFile.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Extension.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Information.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Parameter.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Permission.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/Url.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/User.js +1 -2
- package/dist/resources/Sources/SourcesSubInterfaces/index.js +11 -14
- package/dist/resources/Sources/SourcesSubInterfaces/index.js.map +1 -1
- package/dist/resources/Sources/index.js +6 -9
- package/dist/resources/Sources/index.js.map +1 -1
- package/dist/resources/TableauService/ContentQuery/ContentQuery.js +12 -21
- package/dist/resources/TableauService/ContentQuery/ContentQuery.js.map +1 -1
- package/dist/resources/TableauService/ContentQuery/ContentQueryInterfaces.js +1 -2
- package/dist/resources/TableauService/ContentQuery/index.js +2 -5
- package/dist/resources/TableauService/ContentQuery/index.js.map +1 -1
- package/dist/resources/TableauService/TableauService.js +12 -16
- package/dist/resources/TableauService/TableauService.js.map +1 -1
- package/dist/resources/TableauService/index.js +2 -5
- package/dist/resources/TableauService/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Administration/Administration.js +13 -22
- package/dist/resources/UsageAnalytics/Read/Administration/Administration.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Administration/AdministrationInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/Administration/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Administration/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/CommonParamParts.js +1 -2
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShare.js +16 -25
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShare.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/DataShare/DataShareInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/DataShare/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/DataShare/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Dimensions/Dimensions.js +51 -59
- package/dist/resources/UsageAnalytics/Read/Dimensions/Dimensions.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Dimensions/DimensionsInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/Dimensions/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Dimensions/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Exports/Exports.js +47 -57
- package/dist/resources/UsageAnalytics/Read/Exports/Exports.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Exports/ExportsInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/Exports/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Exports/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Filters/Filters.js +50 -59
- package/dist/resources/UsageAnalytics/Read/Filters/Filters.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Filters/FiltersInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/Filters/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Filters/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/ReadServiceCommon.js +6 -9
- package/dist/resources/UsageAnalytics/Read/ReadServiceCommon.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/ReadServiceResource.js +6 -15
- package/dist/resources/UsageAnalytics/Read/ReadServiceResource.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Reports/Reports.js +41 -50
- package/dist/resources/UsageAnalytics/Read/Reports/Reports.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Reports/ReportsInterfaces.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Reports/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Reports/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Snowflake/Snowflake.js +37 -46
- package/dist/resources/UsageAnalytics/Read/Snowflake/Snowflake.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Snowflake/SnowflakeInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/Snowflake/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Snowflake/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Statistics/Statistics.js +40 -49
- package/dist/resources/UsageAnalytics/Read/Statistics/Statistics.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Statistics/StatisticsInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/Statistics/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Statistics/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Users/Users.js +25 -34
- package/dist/resources/UsageAnalytics/Read/Users/Users.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/Users/UsersInterfaces.js +1 -2
- package/dist/resources/UsageAnalytics/Read/Users/index.js +2 -5
- package/dist/resources/UsageAnalytics/Read/Users/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/Read/index.js +11 -14
- package/dist/resources/UsageAnalytics/Read/index.js.map +1 -1
- package/dist/resources/UsageAnalytics/UsageAnalytics.js +33 -30
- package/dist/resources/UsageAnalytics/UsageAnalytics.js.map +1 -1
- package/dist/resources/UsageAnalytics/index.js +2 -5
- package/dist/resources/UsageAnalytics/index.js.map +1 -1
- package/dist/resources/Users/User.js +12 -24
- package/dist/resources/Users/User.js.map +1 -1
- package/dist/resources/Users/UserInterfaces.js +1 -2
- package/dist/resources/Users/index.js +2 -5
- package/dist/resources/Users/index.js.map +1 -1
- package/dist/resources/Vaults/Vaults.js +19 -28
- package/dist/resources/Vaults/Vaults.js.map +1 -1
- package/dist/resources/Vaults/VaultsInterfaces.js +1 -2
- package/dist/resources/Vaults/index.js +2 -5
- package/dist/resources/Vaults/index.js.map +1 -1
- package/dist/resources/index.js +48 -51
- package/dist/resources/index.js.map +1 -1
- package/dist/utils/Retriever.js +2 -4
- package/dist/utils/Retriever.js.map +1 -1
- package/dist/utils/WithRequired.js +1 -2
- package/dist/utils/index.js +2 -5
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/normalizePaginatedOptions.js +4 -9
- package/dist/utils/normalizePaginatedOptions.js.map +1 -1
- package/package.json +16 -16
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
tslib_1.__extends(Products, _super);
|
|
8
|
-
function Products() {
|
|
9
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1
|
+
import API from '../../APICore.js';
|
|
2
|
+
import Resource from '../Resource.js';
|
|
3
|
+
export default class Products extends Resource {
|
|
4
|
+
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/commerce/v1/products`;
|
|
5
|
+
get(productsRequest, refreshCache = false) {
|
|
6
|
+
return this.api.post(this.buildPath(`${Products.baseUrl}/listing`, { refreshCache: refreshCache }), productsRequest);
|
|
10
7
|
}
|
|
11
|
-
|
|
12
|
-
if (refreshCache === void 0) { refreshCache = false; }
|
|
13
|
-
return this.api.post(this.buildPath("".concat(Products.baseUrl, "/listing"), { refreshCache: refreshCache }), productsRequest);
|
|
14
|
-
};
|
|
15
|
-
Products.baseUrl = "/rest/organizations/".concat(APICore_1.default.orgPlaceholder, "/commerce/v1/products");
|
|
16
|
-
return Products;
|
|
17
|
-
}(Resource_1.default));
|
|
18
|
-
exports.default = Products;
|
|
8
|
+
}
|
|
19
9
|
//# sourceMappingURL=Product.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../src/resources/Products/Product.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../src/resources/Products/Product.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,kBAAkB,CAAC;AAEnC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAGtC,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,QAAQ;IAC1C,MAAM,CAAC,OAAO,GAAG,uBAAuB,GAAG,CAAC,cAAc,uBAAuB,CAAC;IAElF,GAAG,CAAC,eAA0C,EAAE,YAAY,GAAG,KAAK;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,IAAI,CAChB,IAAI,CAAC,SAAS,CAAC,GAAG,QAAQ,CAAC,OAAO,UAAU,EAAE,EAAC,YAAY,EAAE,YAAY,EAAC,CAAC,EAC3E,eAAe,CAClB,CAAC;IACN,CAAC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Product"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ProductInterfaces"), exports);
|
|
1
|
+
export * from './Product.js';
|
|
2
|
+
export * from './ProductInterfaces.js';
|
|
6
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Products/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/Products/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,34 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
tslib_1.__extends(PushApi, _super);
|
|
8
|
-
function PushApi() {
|
|
9
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
1
|
+
import API from '../../APICore.js';
|
|
2
|
+
import Resource from '../Resource.js';
|
|
3
|
+
export default class PushApi extends Resource {
|
|
4
|
+
static baseUrl = `/push/v1/organizations/${API.orgPlaceholder}/providers`;
|
|
5
|
+
createOrUpdateSecurityIdentityAlias(securityProviderId, alias, options) {
|
|
6
|
+
return this.serverlessApi.put(this.buildPath(`${PushApi.baseUrl}/${securityProviderId}/mappings`, options), alias);
|
|
10
7
|
}
|
|
11
|
-
|
|
12
|
-
return this.serverlessApi.
|
|
13
|
-
};
|
|
14
|
-
PushApi.prototype.deleteSecurityIdentity = function (securityProviderId, securityIdentity, options) {
|
|
15
|
-
return this.serverlessApi.delete(this.buildPath("".concat(PushApi.baseUrl, "/").concat(securityProviderId, "/permissions"), options), {
|
|
8
|
+
deleteSecurityIdentity(securityProviderId, securityIdentity, options) {
|
|
9
|
+
return this.serverlessApi.delete(this.buildPath(`${PushApi.baseUrl}/${securityProviderId}/permissions`, options), {
|
|
16
10
|
method: 'delete',
|
|
17
11
|
body: JSON.stringify(securityIdentity),
|
|
18
12
|
headers: { 'Content-Type': 'application/json' },
|
|
19
13
|
});
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
return this.serverlessApi.put(this.buildPath(
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
return this.serverlessApi.put(this.buildPath(
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
return this.serverlessApi.delete(this.buildPath(
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
return PushApi;
|
|
32
|
-
}(Resource_1.default));
|
|
33
|
-
exports.default = PushApi;
|
|
14
|
+
}
|
|
15
|
+
createOrUpdateSecurityIdentity(securityProviderId, securityIdentity, options) {
|
|
16
|
+
return this.serverlessApi.put(this.buildPath(`${PushApi.baseUrl}/${securityProviderId}/permissions`, options), securityIdentity);
|
|
17
|
+
}
|
|
18
|
+
manageSecurityIdentities(securityProviderId, batchConfig) {
|
|
19
|
+
return this.serverlessApi.put(this.buildPath(`${PushApi.baseUrl}/${securityProviderId}/permissions/batch`, batchConfig));
|
|
20
|
+
}
|
|
21
|
+
deleteOldSecurityIdentities(securityProviderId, batchDelete) {
|
|
22
|
+
return this.serverlessApi.delete(this.buildPath(`${PushApi.baseUrl}/${securityProviderId}/permissions/olderthan`, batchDelete));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
34
25
|
//# sourceMappingURL=PushApi.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PushApi.js","sourceRoot":"","sources":["../../../src/resources/PushApi/PushApi.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PushApi.js","sourceRoot":"","sources":["../../../src/resources/PushApi/PushApi.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AAUtC,MAAM,CAAC,OAAO,OAAO,OAAQ,SAAQ,QAAQ;IACzC,MAAM,CAAC,OAAO,GAAG,0BAA0B,GAAG,CAAC,cAAc,YAAY,CAAC;IAE1E,mCAAmC,CAC/B,kBAA0B,EAC1B,KAAiC,EACjC,O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
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./PushApi"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./PushApiInterfaces"), exports);
|
|
1
|
+
export * from './PushApi.js';
|
|
2
|
+
export * from './PushApiInterfaces.js';
|
|
6
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/PushApi/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/PushApi/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC"}
|
|
@@ -1,25 +1,24 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import queryString from 'query-string';
|
|
2
|
+
class Resource {
|
|
3
|
+
api;
|
|
4
|
+
serverlessApi;
|
|
5
|
+
static baseUrl;
|
|
6
|
+
constructor(api, serverlessApi) {
|
|
7
7
|
this.api = api;
|
|
8
8
|
this.serverlessApi = serverlessApi;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
buildPath(route, parameters) {
|
|
11
11
|
return route + this.convertObjectToQueryString(parameters);
|
|
12
|
-
}
|
|
13
|
-
|
|
12
|
+
}
|
|
13
|
+
convertObjectToQueryString(parameters) {
|
|
14
14
|
if (!parameters) {
|
|
15
15
|
return '';
|
|
16
16
|
}
|
|
17
17
|
else {
|
|
18
|
-
|
|
19
|
-
return requestURL.length ?
|
|
18
|
+
const requestURL = queryString.stringify(parameters, { skipEmptyString: true, skipNull: true, sort: false });
|
|
19
|
+
return requestURL.length ? `?${requestURL}` : '';
|
|
20
20
|
}
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
exports.default = Resource;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export default Resource;
|
|
25
24
|
//# sourceMappingURL=Resource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../src/resources/Resource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../src/resources/Resource.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,MAAM,cAAc,CAAC;AAIvC,MAAM,QAAQ;IAGY;IAAoB;IAF1C,MAAM,CAAC,OAAO,CAAS;IAEvB,YAAsB,GAAQ,EAAY,aAAkB;QAAtC,QAAG,GAAH,GAAG,CAAK;QAAY,kBAAa,GAAb,aAAa,CAAK;IAAG,CAAC;IAEtD,SAAS,CAAC,KAAa,EAAE,UAAe;QAC9C,OAAO,KAAK,GAAG,IAAI,CAAC,0BAA0B,CAAC,UAAU,CAAC,CAAC;IAC/D,CAAC;IAEO,0BAA0B,CAAC,UAAe;QAC9C,IAAI,CAAC,UAAU,EAAE;YACb,OAAO,EAAE,CAAC;SACb;aAAM;YACH,MAAM,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,IAAI,UAAU,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;SACpD;IACL,CAAC;CACJ;AAED,eAAe,QAAQ,CAAC"}
|
|
@@ -1,32 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
return
|
|
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
|
-
};
|
|
1
|
+
import API from '../../APICore.js';
|
|
2
|
+
import Resource from '../Resource.js';
|
|
3
|
+
import { ResourceSnapshotSupportedFileTypes, } from './ResourceSnapshotsInterfaces.js';
|
|
4
|
+
export default class ResourceSnapshots extends Resource {
|
|
5
|
+
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/snapshots`;
|
|
6
|
+
list(params) {
|
|
7
|
+
return this.api.get(this.buildPath(`${ResourceSnapshots.baseUrl}`, params));
|
|
8
|
+
}
|
|
9
|
+
get(snapshotId, options) {
|
|
10
|
+
return this.api.get(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}`, options));
|
|
11
|
+
}
|
|
18
12
|
/**
|
|
19
13
|
* Lists the resources that the authenticated user can leverage in snapshots in the target organization.
|
|
20
14
|
*/
|
|
21
|
-
|
|
22
|
-
return this.api.get(
|
|
23
|
-
}
|
|
15
|
+
listResourceAccess() {
|
|
16
|
+
return this.api.get(`${ResourceSnapshots.baseUrl}/access/resource`);
|
|
17
|
+
}
|
|
24
18
|
/**
|
|
25
19
|
* Shows whether the authenticated user has the specified access level (i.e., read or write) to the content of the target snapshot.
|
|
26
20
|
*/
|
|
27
|
-
|
|
28
|
-
return this.api.get(this.buildPath(
|
|
29
|
-
}
|
|
21
|
+
validateAccess(snapshotId, options) {
|
|
22
|
+
return this.api.get(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/access`, options));
|
|
23
|
+
}
|
|
30
24
|
/**
|
|
31
25
|
* Retrieves a ZIP file holding the content of the target snapshot, in the target format.
|
|
32
26
|
*
|
|
@@ -34,83 +28,74 @@ var ResourceSnapshots = /** @class */ (function (_super) {
|
|
|
34
28
|
* @param {ExportSnapshotContentOptions} [options]
|
|
35
29
|
* @returns {Promise<Blob>} A newly created Blob object which contains the zipped snapshot
|
|
36
30
|
*/
|
|
37
|
-
|
|
38
|
-
return this.api.getFile(this.buildPath(
|
|
31
|
+
export(snapshotId, options) {
|
|
32
|
+
return this.api.getFile(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/content`, options), {
|
|
39
33
|
headers: { accept: 'application/zip' },
|
|
40
34
|
});
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
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
|
-
};
|
|
35
|
+
}
|
|
36
|
+
async getContent(snapshotId, options) {
|
|
37
|
+
const { url } = await this.generateUrl(snapshotId, options);
|
|
38
|
+
return fetch(url, { method: 'get' });
|
|
39
|
+
}
|
|
55
40
|
/**
|
|
56
41
|
* Creates a snapshot from a file containing the configuration.
|
|
57
42
|
*
|
|
58
43
|
* @param {File} file The file containing the configuration.
|
|
59
44
|
* @param {CreateFromFileOptions} options
|
|
60
45
|
*/
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
developerNotes: options
|
|
46
|
+
createFromFile(file, options) {
|
|
47
|
+
const computedOptions = {
|
|
48
|
+
developerNotes: options?.developerNotes,
|
|
64
49
|
snapshotFileType: this.getSnapshotFileType(file),
|
|
65
50
|
};
|
|
66
|
-
|
|
51
|
+
const form = new FormData();
|
|
67
52
|
form.append('file', file);
|
|
68
|
-
return this.api.postForm(this.buildPath(
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
return this.api.post(this.buildPath(
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
return this.api.get(this.buildPath(
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return this.api.put(this.buildPath(
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
return this.api.put(this.buildPath(
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
return this.api.put(this.buildPath(
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
return this.api.delete(
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
return this.api.post(
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
return this.api.get(
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
return this.api.put(
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
return this.api.put(
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
return this.api.put(this.buildPath(
|
|
102
|
-
}
|
|
103
|
-
|
|
53
|
+
return this.api.postForm(this.buildPath(`${ResourceSnapshots.baseUrl}/file`, computedOptions), form);
|
|
54
|
+
}
|
|
55
|
+
createFromOrganization(exportConfigurationModel, options) {
|
|
56
|
+
return this.api.post(this.buildPath(`${ResourceSnapshots.baseUrl}/self`, options), exportConfigurationModel);
|
|
57
|
+
}
|
|
58
|
+
generateUrl(snapshotId, options) {
|
|
59
|
+
return this.api.get(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/url`, options));
|
|
60
|
+
}
|
|
61
|
+
dryRun(snapshotId, options) {
|
|
62
|
+
return this.api.put(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/dryrun`, options));
|
|
63
|
+
}
|
|
64
|
+
apply(snapshotId, options) {
|
|
65
|
+
return this.api.put(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/apply`, options));
|
|
66
|
+
}
|
|
67
|
+
push(snapshotId, options) {
|
|
68
|
+
return this.api.put(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/push`, options));
|
|
69
|
+
}
|
|
70
|
+
delete(snapshotId) {
|
|
71
|
+
return this.api.delete(`${ResourceSnapshots.baseUrl}/${snapshotId}`);
|
|
72
|
+
}
|
|
73
|
+
createSynchronizationPlan(snapshotId) {
|
|
74
|
+
return this.api.post(`${ResourceSnapshots.baseUrl}/${snapshotId}/synchronization`);
|
|
75
|
+
}
|
|
76
|
+
getSynchronizationPlan(snapshotId, synchronizationPlanId) {
|
|
77
|
+
return this.api.get(`${ResourceSnapshots.baseUrl}/${snapshotId}/synchronization/${synchronizationPlanId}`);
|
|
78
|
+
}
|
|
79
|
+
updateSynchronizationPlan(snapshotId, synchronizationPlanId, synchronizationPlanModel) {
|
|
80
|
+
return this.api.put(`${ResourceSnapshots.baseUrl}/${snapshotId}/synchronization/${synchronizationPlanId}`, synchronizationPlanModel);
|
|
81
|
+
}
|
|
82
|
+
applySynchronizationPlan(snapshotId, synchronizationPlanId) {
|
|
83
|
+
return this.api.put(`${ResourceSnapshots.baseUrl}/${snapshotId}/synchronization/${synchronizationPlanId}/apply`);
|
|
84
|
+
}
|
|
85
|
+
updateSynchronizationPlanForChildren(snapshotId, synchronizationPlanId, options) {
|
|
86
|
+
return this.api.put(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/synchronization/${synchronizationPlanId}/children`, options));
|
|
87
|
+
}
|
|
88
|
+
getSnapshotFileType(file) {
|
|
104
89
|
switch (file.type) {
|
|
105
90
|
case 'application/x-zip-compressed':
|
|
106
91
|
case 'application/zip':
|
|
107
|
-
return
|
|
92
|
+
return ResourceSnapshotSupportedFileTypes.ZIP;
|
|
108
93
|
case 'application/json':
|
|
109
|
-
return
|
|
94
|
+
return ResourceSnapshotSupportedFileTypes.JSON;
|
|
110
95
|
default:
|
|
111
96
|
throw new Error('The uploaded file must be either a ZIP or a JSON file.');
|
|
112
97
|
}
|
|
113
|
-
}
|
|
98
|
+
}
|
|
114
99
|
/**
|
|
115
100
|
* @description Shows the diff report for the target snapshot and dry-run report
|
|
116
101
|
* @experimental
|
|
@@ -119,14 +104,11 @@ var ResourceSnapshots = /** @class */ (function (_super) {
|
|
|
119
104
|
* @param {string} relativeReportId - The unique identifier of the dry-run operation report associated with the target diff report.
|
|
120
105
|
* @param {(number|undefined)} [numberOfLinesMax=undefined] - Maximum number of lines before the diff is downloaded to a file.
|
|
121
106
|
*/
|
|
122
|
-
|
|
123
|
-
return this.api.get(this.buildPath(
|
|
124
|
-
relativeReportId
|
|
125
|
-
numberOfLinesMax
|
|
107
|
+
diff(snapshotId, relativeReportId, numberOfLinesMax) {
|
|
108
|
+
return this.api.get(this.buildPath(`${ResourceSnapshots.baseUrl}/${snapshotId}/diff`, {
|
|
109
|
+
relativeReportId,
|
|
110
|
+
numberOfLinesMax,
|
|
126
111
|
}));
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
return ResourceSnapshots;
|
|
130
|
-
}(Resource_1.default));
|
|
131
|
-
exports.default = ResourceSnapshots;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
132
114
|
//# sourceMappingURL=ResourceSnapshots.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceSnapshots.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/ResourceSnapshots.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResourceSnapshots.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/ResourceSnapshots.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,kBAAkB,CAAC;AACnC,OAAO,QAAQ,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAcH,kCAAkC,GAQrC,MAAM,kCAAkC,CAAC;AAE1C,MAAM,CAAC,OAAO,OAAO,iBAAkB,SAAQ,QAAQ;IACnD,MAAM,CAAC,OAAO,GAAG,uBAAuB,GAAG,CAAC,cAAc,YAAY,CAAC;IAEvE,IAAI,CAAC,MAA2B;QAC5B,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CAA2B,IAAI,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC,OAAO,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC;IAC1G,CAAC;IAED,GAAG,CAAC,UAAkB,EAAE,OAA4B;QAChD,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,IAAI,CAAC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K,CAAC,wDAAwD,CAAC,CAAC;SACjF;IACL,CAAC;IAED;;;;;;;OAOG;IACH,IAAI,CAAC,UAAkB,EAAE,gBAAwB,EAAE,gBAAyB;QACxE,OAAO,IAAI,CAAC,GAAG,CAAC,GAAG,CACf,IAAI,CAAC,SAAS,CAAC,GAAG,iBAAiB,CAAC,OAAO,IAAI,UAAU,OAAO,EAAE;YAC9D,gBAAgB;YAChB,gBAAgB;SACnB,CAAC,CACL,CAAC;IACN,CAAC"}
|
|
@@ -1,10 +1,7 @@
|
|
|
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
1
|
/*
|
|
5
2
|
* 'Resource' is defined as anything uniquely identified on the platform's domain that can be created, updated or deleted
|
|
6
3
|
*/
|
|
7
|
-
var ResourceSnapshotType;
|
|
4
|
+
export var ResourceSnapshotType;
|
|
8
5
|
(function (ResourceSnapshotType) {
|
|
9
6
|
ResourceSnapshotType["extension"] = "EXTENSION";
|
|
10
7
|
ResourceSnapshotType["featuredResult"] = "FEATURED_RESULT";
|
|
@@ -25,18 +22,18 @@ var ResourceSnapshotType;
|
|
|
25
22
|
ResourceSnapshotType["subscription"] = "SUBSCRIPTION";
|
|
26
23
|
ResourceSnapshotType["thesaurus"] = "THESAURUS";
|
|
27
24
|
ResourceSnapshotType["trigger"] = "TRIGGER";
|
|
28
|
-
})(ResourceSnapshotType =
|
|
29
|
-
var SnapshotAccessType;
|
|
25
|
+
})(ResourceSnapshotType = ResourceSnapshotType || (ResourceSnapshotType = {}));
|
|
26
|
+
export var SnapshotAccessType;
|
|
30
27
|
(function (SnapshotAccessType) {
|
|
31
28
|
SnapshotAccessType["Read"] = "READ";
|
|
32
29
|
SnapshotAccessType["Write"] = "WRITE";
|
|
33
|
-
})(SnapshotAccessType =
|
|
34
|
-
var SnapshotExportContentFormat;
|
|
30
|
+
})(SnapshotAccessType = SnapshotAccessType || (SnapshotAccessType = {}));
|
|
31
|
+
export var SnapshotExportContentFormat;
|
|
35
32
|
(function (SnapshotExportContentFormat) {
|
|
36
33
|
SnapshotExportContentFormat["Flat"] = "FLAT";
|
|
37
34
|
SnapshotExportContentFormat["SplitPerType"] = "SPLIT_PER_TYPE";
|
|
38
|
-
})(SnapshotExportContentFormat =
|
|
39
|
-
var ResourceSnapshotsReportResultCode;
|
|
35
|
+
})(SnapshotExportContentFormat = SnapshotExportContentFormat || (SnapshotExportContentFormat = {}));
|
|
36
|
+
export var ResourceSnapshotsReportResultCode;
|
|
40
37
|
(function (ResourceSnapshotsReportResultCode) {
|
|
41
38
|
ResourceSnapshotsReportResultCode["AccessDenied"] = "ACCESS_DENIED";
|
|
42
39
|
ResourceSnapshotsReportResultCode["ResourcesInError"] = "RESOURCES_IN_ERROR";
|
|
@@ -48,39 +45,39 @@ var ResourceSnapshotsReportResultCode;
|
|
|
48
45
|
ResourceSnapshotsReportResultCode["ResourceDependencyCyle"] = "RESOURCE_DEPENDENCY_CYCLE";
|
|
49
46
|
ResourceSnapshotsReportResultCode["ExternalServiceCommunicationError"] = "EXTERNAL_SERVICE_COMMUNICATION_ERROR";
|
|
50
47
|
ResourceSnapshotsReportResultCode["AutoSynchronizationFailure"] = "AUTO_SYNCHRONIZATION_FAILURE";
|
|
51
|
-
})(ResourceSnapshotsReportResultCode =
|
|
52
|
-
var ResourceSnapshotsReportStatus;
|
|
48
|
+
})(ResourceSnapshotsReportResultCode = ResourceSnapshotsReportResultCode || (ResourceSnapshotsReportResultCode = {}));
|
|
49
|
+
export var ResourceSnapshotsReportStatus;
|
|
53
50
|
(function (ResourceSnapshotsReportStatus) {
|
|
54
51
|
ResourceSnapshotsReportStatus["Pending"] = "PENDING";
|
|
55
52
|
ResourceSnapshotsReportStatus["InProgress"] = "IN_PROGRESS";
|
|
56
53
|
ResourceSnapshotsReportStatus["Completed"] = "COMPLETED";
|
|
57
54
|
ResourceSnapshotsReportStatus["Aborted"] = "ABORTED";
|
|
58
|
-
})(ResourceSnapshotsReportStatus =
|
|
59
|
-
var ResourceSnapshotsSynchronizationPlanStatus;
|
|
55
|
+
})(ResourceSnapshotsReportStatus = ResourceSnapshotsReportStatus || (ResourceSnapshotsReportStatus = {}));
|
|
56
|
+
export var ResourceSnapshotsSynchronizationPlanStatus;
|
|
60
57
|
(function (ResourceSnapshotsSynchronizationPlanStatus) {
|
|
61
58
|
ResourceSnapshotsSynchronizationPlanStatus["Creating"] = "CREATING";
|
|
62
59
|
ResourceSnapshotsSynchronizationPlanStatus["Created"] = "CREATED";
|
|
63
60
|
ResourceSnapshotsSynchronizationPlanStatus["InError"] = "IN_ERROR";
|
|
64
|
-
})(ResourceSnapshotsSynchronizationPlanStatus =
|
|
65
|
-
var ResourceSnapshotsReportType;
|
|
61
|
+
})(ResourceSnapshotsSynchronizationPlanStatus = ResourceSnapshotsSynchronizationPlanStatus || (ResourceSnapshotsSynchronizationPlanStatus = {}));
|
|
62
|
+
export var ResourceSnapshotsReportType;
|
|
66
63
|
(function (ResourceSnapshotsReportType) {
|
|
67
64
|
ResourceSnapshotsReportType["CreateSnapshot"] = "CREATE_SNAPSHOT";
|
|
68
65
|
ResourceSnapshotsReportType["DryRun"] = "DRY_RUN";
|
|
69
66
|
ResourceSnapshotsReportType["Apply"] = "APPLY";
|
|
70
67
|
ResourceSnapshotsReportType["CreateSynchronizationPlan"] = "CREATE_SYNCHRONIZATION_PLAN";
|
|
71
68
|
ResourceSnapshotsReportType["ApplySynchronizationPlan"] = "APPLY_SYNCHRONIZATION_PLAN";
|
|
72
|
-
})(ResourceSnapshotsReportType =
|
|
73
|
-
var ResourceSnapshotSupportedFileTypes;
|
|
69
|
+
})(ResourceSnapshotsReportType = ResourceSnapshotsReportType || (ResourceSnapshotsReportType = {}));
|
|
70
|
+
export var ResourceSnapshotSupportedFileTypes;
|
|
74
71
|
(function (ResourceSnapshotSupportedFileTypes) {
|
|
75
72
|
ResourceSnapshotSupportedFileTypes["ZIP"] = "ZIP";
|
|
76
73
|
ResourceSnapshotSupportedFileTypes["JSON"] = "JSON";
|
|
77
|
-
})(ResourceSnapshotSupportedFileTypes =
|
|
78
|
-
var ResourceSnapshotContentType;
|
|
74
|
+
})(ResourceSnapshotSupportedFileTypes = ResourceSnapshotSupportedFileTypes || (ResourceSnapshotSupportedFileTypes = {}));
|
|
75
|
+
export var ResourceSnapshotContentType;
|
|
79
76
|
(function (ResourceSnapshotContentType) {
|
|
80
77
|
ResourceSnapshotContentType["PRIMARY"] = "PRIMARY";
|
|
81
78
|
ResourceSnapshotContentType["CURRENT_STATE"] = "CURRENT_STATE";
|
|
82
|
-
})(ResourceSnapshotContentType =
|
|
83
|
-
var SnapshotsReportStages;
|
|
79
|
+
})(ResourceSnapshotContentType = ResourceSnapshotContentType || (ResourceSnapshotContentType = {}));
|
|
80
|
+
export var SnapshotsReportStages;
|
|
84
81
|
(function (SnapshotsReportStages) {
|
|
85
82
|
SnapshotsReportStages["COMPUTING_OPERATIONS"] = "COMPUTING_OPERATIONS";
|
|
86
83
|
SnapshotsReportStages["CREATING_SNAPSHOT"] = "CREATING_SNAPSHOT";
|
|
@@ -88,10 +85,10 @@ var SnapshotsReportStages;
|
|
|
88
85
|
SnapshotsReportStages["PERFORMING_OPERATIONS"] = "PERFORMING_OPERATIONS";
|
|
89
86
|
SnapshotsReportStages["SYNCHRONIZING"] = "SYNCHRONIZING";
|
|
90
87
|
SnapshotsReportStages["VALIDATING_OPERATIONS"] = "VALIDATING_OPERATIONS";
|
|
91
|
-
})(SnapshotsReportStages =
|
|
92
|
-
var ApplyOptionsDeletionScope;
|
|
88
|
+
})(SnapshotsReportStages = SnapshotsReportStages || (SnapshotsReportStages = {}));
|
|
89
|
+
export var ApplyOptionsDeletionScope;
|
|
93
90
|
(function (ApplyOptionsDeletionScope) {
|
|
94
91
|
ApplyOptionsDeletionScope["AllManagedResources"] = "ALL_MANAGED_RESOURCES";
|
|
95
92
|
ApplyOptionsDeletionScope["OnlyTypesFromSnapshot"] = "ONLY_TYPES_FROM_SNAPSHOT";
|
|
96
|
-
})(ApplyOptionsDeletionScope =
|
|
93
|
+
})(ApplyOptionsDeletionScope = ApplyOptionsDeletionScope || (ApplyOptionsDeletionScope = {}));
|
|
97
94
|
//# sourceMappingURL=ResourceSnapshotsInterfaces.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ResourceSnapshotsInterfaces.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ResourceSnapshotsInterfaces.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/ResourceSnapshotsInterfaces.ts"],"names":[],"mappings":"AA6CA;;GAEG;AACH,MAAM,CAAN,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,oBAAoB,KAApB,oBAAoB,QAoB/B;AAED,MAAM,CAAN,IAAY,kBAGX;AAHD,WAAY,kBAAk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iDAAW,CAAA;IACX,mDAAa,CAAA;AACjB,CAAC,EAHW,kCAAkC,GAAlC,kCAAkC,KAAlC,kCAAkC,QAG7C;AAED,MAAM,CAAN,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACnC,kDAAmB,CAAA;IACnB,8DAA+B,CAAA;AACnC,CAAC,EAHW,2BAA2B,GAA3B,2BAA2B,KAA3B,2BAA2B,QAGtC;AA0CD,MAAM,CAAN,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC7B,sEAA6C,CAAA;IAC7C,gEAAuC,CAAA;IACvC,kEAAyC,CAAA;IACzC,wEAA+C,CAAA;IAC/C,wDAA+B,CAAA;IAC/B,wEAA+C,CAAA;AACnD,CAAC,EAPW,qBAAqB,GAArB,qBAAqB,KAArB,qBAAqB,QAOhC;AA0KD,MAAM,CAAN,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACjC,0EAA6C,CAAA;IAC7C,+EAAkD,CAAA;AACtD,CAAC,EAHW,yBAAyB,GAAzB,yBAAyB,KAAzB,yBAAyB,QAGpC"}
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ResourceSnapshots"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./ResourceSnapshotsInterfaces"), exports);
|
|
1
|
+
export * from './ResourceSnapshots.js';
|
|
2
|
+
export * from './ResourceSnapshotsInterfaces.js';
|
|
6
3
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/resources/ResourceSnapshots/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,kCAAkC,CAAC"}
|