@redhat-cloud-services/notifications-client 2.2.4 → 2.3.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/CHANGELOG.md +48 -0
- package/LICENSE +201 -0
- package/README.md +69 -0
- package/doc/.nojekyll +1 -0
- package/doc/README.md +69 -0
- package/doc/classes/BaseAPI.md +125 -0
- package/doc/classes/Configuration.md +194 -0
- package/doc/classes/RequiredError.md +179 -0
- package/doc/enums/EndpointStatus.md +76 -0
- package/doc/enums/EndpointType.md +65 -0
- package/doc/enums/Environment.md +54 -0
- package/doc/enums/EventLogEntryActionStatus.md +65 -0
- package/doc/enums/HttpType.md +43 -0
- package/doc/enums/NotificationStatus.md +65 -0
- package/doc/enums/Status.md +32 -0
- package/doc/enums/SubscriptionType.md +43 -0
- package/doc/interfaces/AddAccessRequest.md +44 -0
- package/doc/interfaces/AddApplicationRequest.md +74 -0
- package/doc/interfaces/AggregationEmailTemplate.md +164 -0
- package/doc/interfaces/AggregationEmailTemplateSubjectTemplate.md +104 -0
- package/doc/interfaces/ApiConfig.md +30 -0
- package/doc/interfaces/Application.md +104 -0
- package/doc/interfaces/Application1.md +44 -0
- package/doc/interfaces/ApplicationDTO.md +104 -0
- package/doc/interfaces/ApplicationSettingsValue.md +33 -0
- package/doc/interfaces/BasicAuthentication.md +44 -0
- package/doc/interfaces/BehaviorGroup.md +149 -0
- package/doc/interfaces/BehaviorGroupAction.md +59 -0
- package/doc/interfaces/BehaviorGroupActionId.md +44 -0
- package/doc/interfaces/Bundle.md +89 -0
- package/doc/interfaces/BundleSettingsValue.md +33 -0
- package/doc/interfaces/CamelProperties.md +123 -0
- package/doc/interfaces/ConfigurationParameters.md +89 -0
- package/doc/interfaces/CreateBehaviorGroupRequest.md +104 -0
- package/doc/interfaces/CreateBehaviorGroupResponse.md +104 -0
- package/doc/interfaces/CurrentStatus.md +59 -0
- package/doc/interfaces/DrawerEntryPayload.md +119 -0
- package/doc/interfaces/DuplicateNameMigrationReport.md +44 -0
- package/doc/interfaces/Endpoint.md +179 -0
- package/doc/interfaces/EndpointPage.md +63 -0
- package/doc/interfaces/EndpointTestRequest.md +29 -0
- package/doc/interfaces/EventLogEntry.md +119 -0
- package/doc/interfaces/EventLogEntryAction.md +125 -0
- package/doc/interfaces/EventType.md +164 -0
- package/doc/interfaces/EventTypeBehavior.md +59 -0
- package/doc/interfaces/EventTypeBehaviorId.md +44 -0
- package/doc/interfaces/EventTypeSettingsValue.md +63 -0
- package/doc/interfaces/Facet.md +74 -0
- package/doc/interfaces/InstantEmailTemplate.md +149 -0
- package/doc/interfaces/InternalApplicationUserPermission.md +59 -0
- package/doc/interfaces/InternalRoleAccess.md +59 -0
- package/doc/interfaces/InternalUserPermissions.md +59 -0
- package/doc/interfaces/MessageValidationResponse.md +33 -0
- package/doc/interfaces/Meta.md +29 -0
- package/doc/interfaces/NotificationHistory.md +155 -0
- package/doc/interfaces/PageBehaviorGroup.md +63 -0
- package/doc/interfaces/PageDrawerEntryPayload.md +63 -0
- package/doc/interfaces/PageEventLogEntry.md +63 -0
- package/doc/interfaces/PageEventType.md +63 -0
- package/doc/interfaces/PageNotificationHistory.md +63 -0
- package/doc/interfaces/RenderEmailTemplateRequest.md +44 -0
- package/doc/interfaces/RequestArgs.md +58 -0
- package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +44 -0
- package/doc/interfaces/RequestSystemSubscriptionProperties.md +44 -0
- package/doc/interfaces/ServerInfo.md +29 -0
- package/doc/interfaces/SettingsValuesByEventType.md +33 -0
- package/doc/interfaces/SystemSubscriptionProperties.md +59 -0
- package/doc/interfaces/Template.md +104 -0
- package/doc/interfaces/TriggerDailyDigestRequest.md +89 -0
- package/doc/interfaces/UpdateApplicationRequest.md +59 -0
- package/doc/interfaces/UpdateBehaviorGroupRequest.md +74 -0
- package/doc/interfaces/UpdateNotificationDrawerStatus.md +44 -0
- package/doc/interfaces/WebhookProperties.md +104 -0
- package/doc/interfaces/X509Certificate.md +89 -0
- package/doc/modules.md +1112 -0
- package/package.json +3 -4
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +0 -81
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
- package/esm/DrawerResourceV1GetDrawerEntries/index.js +0 -67
- package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +0 -1
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +0 -22
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -32
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +0 -1
- package/esm/EventResourceV1GetEvents/index.d.ts +0 -112
- package/esm/EventResourceV1GetEvents/index.d.ts.map +0 -1
- package/esm/EventResourceV1GetEvents/index.js +0 -82
- package/esm/EventResourceV1GetEvents/index.js.map +0 -1
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +0 -27
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -32
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +0 -1
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +0 -22
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +0 -32
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +0 -21
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -31
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +0 -27
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -32
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +0 -1
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +0 -21
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -31
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +0 -1
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +0 -27
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -32
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +0 -1
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js +0 -33
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +0 -1
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -31
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetBundleByName/index.js +0 -31
- package/esm/NotificationResourceV1GetBundleByName/index.js.map +0 -1
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetBundleFacets/index.js +0 -33
- package/esm/NotificationResourceV1GetBundleFacets/index.js.map +0 -1
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts +0 -63
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetEventTypes/index.js +0 -54
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -21
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -31
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -33
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -33
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +0 -51
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -46
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +0 -28
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -33
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +0 -27
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -33
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +0 -1
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +0 -27
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -33
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +0 -1
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +0 -15
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -30
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +0 -1
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +0 -21
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -32
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +0 -1
- package/esm/api.d.ts +0 -3364
- package/esm/api.d.ts.map +0 -1
- package/esm/api.js +0 -2513
- package/esm/api.js.map +0 -1
- package/esm/base.d.ts +0 -55
- package/esm/base.d.ts.map +0 -1
- package/esm/base.js +0 -55
- package/esm/base.js.map +0 -1
- package/esm/common.d.ts +0 -66
- package/esm/common.d.ts.map +0 -1
- package/esm/common.js +0 -134
- package/esm/common.js.map +0 -1
- package/esm/configuration.d.ts.map +0 -1
- package/esm/configuration.js +0 -28
- package/esm/configuration.js.map +0 -1
- package/esm/index.d.ts.map +0 -1
- package/esm/index.js +0 -50
- package/esm/index.js.map +0 -1
- package/esm/types/index.d.ts.map +0 -1
- package/esm/types/index.js +0 -90
- package/esm/types/index.js.map +0 -1
- package/esm/utils/base.d.ts.map +0 -1
- package/esm/utils/base.js +0 -125
- package/esm/utils/base.js.map +0 -1
- package/esm/utils/common.d.ts.map +0 -1
- package/esm/utils/common.js +0 -123
- package/esm/utils/common.js.map +0 -1
- package/esm/utils/configuration.d.ts +0 -73
- package/esm/utils/configuration.d.ts.map +0 -1
- package/esm/utils/configuration.js +0 -28
- package/esm/utils/configuration.js.map +0 -1
- package/index.d.ts +0 -27
- package/types/index.d.ts +0 -1875
- package/utils/base.d.ts +0 -85
- package/utils/common.d.ts +0 -55
- package/utils/configuration.d.ts +0 -73
- /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.d.ts +0 -0
- /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.d.ts.map +0 -0
- /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js +0 -0
- /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js.map +0 -0
- /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +0 -0
- /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts.map +0 -0
- /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js +0 -0
- /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js.map +0 -0
- /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.d.ts +0 -0
- /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.d.ts.map +0 -0
- /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js +0 -0
- /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js.map +0 -0
- /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +0 -0
- /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js +0 -0
- /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js.map +0 -0
- /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.d.ts +0 -0
- /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js +0 -0
- /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js.map +0 -0
- /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +0 -0
- /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js +0 -0
- /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js.map +0 -0
- /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js +0 -0
- /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js.map +0 -0
- /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js +0 -0
- /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js.map +0 -0
- /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js +0 -0
- /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js.map +0 -0
- /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js +0 -0
- /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js.map +0 -0
- /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js +0 -0
- /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js.map +0 -0
- /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js +0 -0
- /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js.map +0 -0
- /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js +0 -0
- /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js.map +0 -0
- /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +0 -0
- /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js +0 -0
- /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js.map +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js.map +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js +0 -0
- /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js.map +0 -0
- /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +0 -0
- /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts.map +0 -0
- /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js +0 -0
- /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js.map +0 -0
- /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +0 -0
- /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts.map +0 -0
- /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js +0 -0
- /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js.map +0 -0
- /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +0 -0
- /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts.map +0 -0
- /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js +0 -0
- /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js.map +0 -0
- /package/{api.d.ts → dist/api.d.ts} +0 -0
- /package/{api.d.ts.map → dist/api.d.ts.map} +0 -0
- /package/{api.js → dist/api.js} +0 -0
- /package/{api.js.map → dist/api.js.map} +0 -0
- /package/{base.d.ts → dist/base.d.ts} +0 -0
- /package/{base.d.ts.map → dist/base.d.ts.map} +0 -0
- /package/{base.js → dist/base.js} +0 -0
- /package/{base.js.map → dist/base.js.map} +0 -0
- /package/{common.d.ts → dist/common.d.ts} +0 -0
- /package/{common.d.ts.map → dist/common.d.ts.map} +0 -0
- /package/{common.js → dist/common.js} +0 -0
- /package/{common.js.map → dist/common.js.map} +0 -0
- /package/{configuration.d.ts → dist/configuration.d.ts} +0 -0
- /package/{configuration.d.ts.map → dist/configuration.d.ts.map} +0 -0
- /package/{configuration.js → dist/configuration.js} +0 -0
- /package/{configuration.js.map → dist/configuration.js.map} +0 -0
- /package/{esm → dist}/index.d.ts +0 -0
- /package/{index.d.ts.map → dist/index.d.ts.map} +0 -0
- /package/{index.js → dist/index.js} +0 -0
- /package/{index.js.map → dist/index.js.map} +0 -0
- /package/{esm → dist}/types/index.d.ts +0 -0
- /package/{types → dist/types}/index.d.ts.map +0 -0
- /package/{types → dist/types}/index.js +0 -0
- /package/{types → dist/types}/index.js.map +0 -0
- /package/{esm → dist}/utils/base.d.ts +0 -0
- /package/{utils → dist/utils}/base.d.ts.map +0 -0
- /package/{utils → dist/utils}/base.js +0 -0
- /package/{utils → dist/utils}/base.js.map +0 -0
- /package/{esm → dist}/utils/common.d.ts +0 -0
- /package/{utils → dist/utils}/common.d.ts.map +0 -0
- /package/{utils → dist/utils}/common.js +0 -0
- /package/{utils → dist/utils}/common.js.map +0 -0
- /package/{esm → dist/utils}/configuration.d.ts +0 -0
- /package/{utils → dist/utils}/configuration.d.ts.map +0 -0
- /package/{utils → dist/utils}/configuration.js +0 -0
- /package/{utils → dist/utils}/configuration.js.map +0 -0
package/doc/modules.md
ADDED
|
@@ -0,0 +1,1112 @@
|
|
|
1
|
+
[@redhat-cloud-services/notifications-client](README.md) / Exports
|
|
2
|
+
|
|
3
|
+
# @redhat-cloud-services/notifications-client
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Enumerations
|
|
8
|
+
|
|
9
|
+
- [EndpointStatus](enums/EndpointStatus.md)
|
|
10
|
+
- [EndpointType](enums/EndpointType.md)
|
|
11
|
+
- [Environment](enums/Environment.md)
|
|
12
|
+
- [EventLogEntryActionStatus](enums/EventLogEntryActionStatus.md)
|
|
13
|
+
- [HttpType](enums/HttpType.md)
|
|
14
|
+
- [NotificationStatus](enums/NotificationStatus.md)
|
|
15
|
+
- [Status](enums/Status.md)
|
|
16
|
+
- [SubscriptionType](enums/SubscriptionType.md)
|
|
17
|
+
|
|
18
|
+
### Classes
|
|
19
|
+
|
|
20
|
+
- [BaseAPI](classes/BaseAPI.md)
|
|
21
|
+
- [Configuration](classes/Configuration.md)
|
|
22
|
+
- [RequiredError](classes/RequiredError.md)
|
|
23
|
+
|
|
24
|
+
### Interfaces
|
|
25
|
+
|
|
26
|
+
- [AddAccessRequest](interfaces/AddAccessRequest.md)
|
|
27
|
+
- [AddApplicationRequest](interfaces/AddApplicationRequest.md)
|
|
28
|
+
- [AggregationEmailTemplate](interfaces/AggregationEmailTemplate.md)
|
|
29
|
+
- [AggregationEmailTemplateSubjectTemplate](interfaces/AggregationEmailTemplateSubjectTemplate.md)
|
|
30
|
+
- [ApiConfig](interfaces/ApiConfig.md)
|
|
31
|
+
- [Application](interfaces/Application.md)
|
|
32
|
+
- [Application1](interfaces/Application1.md)
|
|
33
|
+
- [ApplicationDTO](interfaces/ApplicationDTO.md)
|
|
34
|
+
- [ApplicationSettingsValue](interfaces/ApplicationSettingsValue.md)
|
|
35
|
+
- [BasicAuthentication](interfaces/BasicAuthentication.md)
|
|
36
|
+
- [BehaviorGroup](interfaces/BehaviorGroup.md)
|
|
37
|
+
- [BehaviorGroupAction](interfaces/BehaviorGroupAction.md)
|
|
38
|
+
- [BehaviorGroupActionId](interfaces/BehaviorGroupActionId.md)
|
|
39
|
+
- [Bundle](interfaces/Bundle.md)
|
|
40
|
+
- [BundleSettingsValue](interfaces/BundleSettingsValue.md)
|
|
41
|
+
- [CamelProperties](interfaces/CamelProperties.md)
|
|
42
|
+
- [ConfigurationParameters](interfaces/ConfigurationParameters.md)
|
|
43
|
+
- [CreateBehaviorGroupRequest](interfaces/CreateBehaviorGroupRequest.md)
|
|
44
|
+
- [CreateBehaviorGroupResponse](interfaces/CreateBehaviorGroupResponse.md)
|
|
45
|
+
- [CurrentStatus](interfaces/CurrentStatus.md)
|
|
46
|
+
- [DrawerEntryPayload](interfaces/DrawerEntryPayload.md)
|
|
47
|
+
- [DuplicateNameMigrationReport](interfaces/DuplicateNameMigrationReport.md)
|
|
48
|
+
- [Endpoint](interfaces/Endpoint.md)
|
|
49
|
+
- [EndpointPage](interfaces/EndpointPage.md)
|
|
50
|
+
- [EndpointTestRequest](interfaces/EndpointTestRequest.md)
|
|
51
|
+
- [EventLogEntry](interfaces/EventLogEntry.md)
|
|
52
|
+
- [EventLogEntryAction](interfaces/EventLogEntryAction.md)
|
|
53
|
+
- [EventType](interfaces/EventType.md)
|
|
54
|
+
- [EventTypeBehavior](interfaces/EventTypeBehavior.md)
|
|
55
|
+
- [EventTypeBehaviorId](interfaces/EventTypeBehaviorId.md)
|
|
56
|
+
- [EventTypeSettingsValue](interfaces/EventTypeSettingsValue.md)
|
|
57
|
+
- [Facet](interfaces/Facet.md)
|
|
58
|
+
- [InstantEmailTemplate](interfaces/InstantEmailTemplate.md)
|
|
59
|
+
- [InternalApplicationUserPermission](interfaces/InternalApplicationUserPermission.md)
|
|
60
|
+
- [InternalRoleAccess](interfaces/InternalRoleAccess.md)
|
|
61
|
+
- [InternalUserPermissions](interfaces/InternalUserPermissions.md)
|
|
62
|
+
- [MessageValidationResponse](interfaces/MessageValidationResponse.md)
|
|
63
|
+
- [Meta](interfaces/Meta.md)
|
|
64
|
+
- [NotificationHistory](interfaces/NotificationHistory.md)
|
|
65
|
+
- [PageBehaviorGroup](interfaces/PageBehaviorGroup.md)
|
|
66
|
+
- [PageDrawerEntryPayload](interfaces/PageDrawerEntryPayload.md)
|
|
67
|
+
- [PageEventLogEntry](interfaces/PageEventLogEntry.md)
|
|
68
|
+
- [PageEventType](interfaces/PageEventType.md)
|
|
69
|
+
- [PageNotificationHistory](interfaces/PageNotificationHistory.md)
|
|
70
|
+
- [RenderEmailTemplateRequest](interfaces/RenderEmailTemplateRequest.md)
|
|
71
|
+
- [RequestArgs](interfaces/RequestArgs.md)
|
|
72
|
+
- [RequestDefaultBehaviorGroupPropertyList](interfaces/RequestDefaultBehaviorGroupPropertyList.md)
|
|
73
|
+
- [RequestSystemSubscriptionProperties](interfaces/RequestSystemSubscriptionProperties.md)
|
|
74
|
+
- [ServerInfo](interfaces/ServerInfo.md)
|
|
75
|
+
- [SettingsValuesByEventType](interfaces/SettingsValuesByEventType.md)
|
|
76
|
+
- [SystemSubscriptionProperties](interfaces/SystemSubscriptionProperties.md)
|
|
77
|
+
- [Template](interfaces/Template.md)
|
|
78
|
+
- [TriggerDailyDigestRequest](interfaces/TriggerDailyDigestRequest.md)
|
|
79
|
+
- [UpdateApplicationRequest](interfaces/UpdateApplicationRequest.md)
|
|
80
|
+
- [UpdateBehaviorGroupRequest](interfaces/UpdateBehaviorGroupRequest.md)
|
|
81
|
+
- [UpdateNotificationDrawerStatus](interfaces/UpdateNotificationDrawerStatus.md)
|
|
82
|
+
- [WebhookProperties](interfaces/WebhookProperties.md)
|
|
83
|
+
- [X509Certificate](interfaces/X509Certificate.md)
|
|
84
|
+
|
|
85
|
+
### Type Aliases
|
|
86
|
+
|
|
87
|
+
- [ActionType](modules.md#actiontype)
|
|
88
|
+
- [AuthTypeEnum](modules.md#authtypeenum)
|
|
89
|
+
|
|
90
|
+
### Variables
|
|
91
|
+
|
|
92
|
+
- [AuthTypeEnum](modules.md#authtypeenum-1)
|
|
93
|
+
- [BASE\_PATH](modules.md#base_path)
|
|
94
|
+
- [COLLECTION\_FORMATS](modules.md#collection_formats)
|
|
95
|
+
- [DUMMY\_BASE\_URL](modules.md#dummy_base_url)
|
|
96
|
+
|
|
97
|
+
### Functions
|
|
98
|
+
|
|
99
|
+
- [APIFactory](modules.md#apifactory)
|
|
100
|
+
- [assertParamExists](modules.md#assertparamexists)
|
|
101
|
+
- [createRequestFunction](modules.md#createrequestfunction)
|
|
102
|
+
- [drawerResourceV1GetDrawerEntries](modules.md#drawerresourcev1getdrawerentries)
|
|
103
|
+
- [drawerResourceV1UpdateNotificationReadStatus](modules.md#drawerresourcev1updatenotificationreadstatus)
|
|
104
|
+
- [eventResourceV1GetEvents](modules.md#eventresourcev1getevents)
|
|
105
|
+
- [notificationResourceV1AppendBehaviorGroupToEventType](modules.md#notificationresourcev1appendbehaviorgrouptoeventtype)
|
|
106
|
+
- [notificationResourceV1CreateBehaviorGroup](modules.md#notificationresourcev1createbehaviorgroup)
|
|
107
|
+
- [notificationResourceV1DeleteBehaviorGroup](modules.md#notificationresourcev1deletebehaviorgroup)
|
|
108
|
+
- [notificationResourceV1DeleteBehaviorGroupFromEventType](modules.md#notificationresourcev1deletebehaviorgroupfromeventtype)
|
|
109
|
+
- [notificationResourceV1FindBehaviorGroupsByBundleId](modules.md#notificationresourcev1findbehaviorgroupsbybundleid)
|
|
110
|
+
- [notificationResourceV1GetApplicationByNameAndBundleName](modules.md#notificationresourcev1getapplicationbynameandbundlename)
|
|
111
|
+
- [notificationResourceV1GetApplicationsFacets](modules.md#notificationresourcev1getapplicationsfacets)
|
|
112
|
+
- [notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint](modules.md#notificationresourcev1getbehaviorgroupsaffectedbyremovalofendpoint)
|
|
113
|
+
- [notificationResourceV1GetBundleByName](modules.md#notificationresourcev1getbundlebyname)
|
|
114
|
+
- [notificationResourceV1GetBundleFacets](modules.md#notificationresourcev1getbundlefacets)
|
|
115
|
+
- [notificationResourceV1GetEventTypes](modules.md#notificationresourcev1geteventtypes)
|
|
116
|
+
- [notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup](modules.md#notificationresourcev1geteventtypesaffectedbyremovalofbehaviorgroup)
|
|
117
|
+
- [notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName](modules.md#notificationresourcev1geteventtypesbynameandbundleandapplicationname)
|
|
118
|
+
- [notificationResourceV1GetLinkedBehaviorGroups](modules.md#notificationresourcev1getlinkedbehaviorgroups)
|
|
119
|
+
- [notificationResourceV1UpdateBehaviorGroup](modules.md#notificationresourcev1updatebehaviorgroup)
|
|
120
|
+
- [notificationResourceV1UpdateBehaviorGroupActions](modules.md#notificationresourcev1updatebehaviorgroupactions)
|
|
121
|
+
- [notificationResourceV1UpdateEventTypeBehaviors](modules.md#notificationresourcev1updateeventtypebehaviors)
|
|
122
|
+
- [orgConfigResourceV1GetDailyDigestTimePreference](modules.md#orgconfigresourcev1getdailydigesttimepreference)
|
|
123
|
+
- [orgConfigResourceV1SaveDailyDigestTimePreference](modules.md#orgconfigresourcev1savedailydigesttimepreference)
|
|
124
|
+
- [serializeDataIfNeeded](modules.md#serializedataifneeded)
|
|
125
|
+
- [setApiKeyToObject](modules.md#setapikeytoobject)
|
|
126
|
+
- [setBasicAuthToObject](modules.md#setbasicauthtoobject)
|
|
127
|
+
- [setBearerAuthToObject](modules.md#setbearerauthtoobject)
|
|
128
|
+
- [setOAuthToObject](modules.md#setoauthtoobject)
|
|
129
|
+
- [setSearchParams](modules.md#setsearchparams)
|
|
130
|
+
- [toPathString](modules.md#topathstring)
|
|
131
|
+
|
|
132
|
+
## Type Aliases
|
|
133
|
+
|
|
134
|
+
### ActionType
|
|
135
|
+
|
|
136
|
+
Ƭ **ActionType**: (...`config`: `any`) => `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
137
|
+
|
|
138
|
+
#### Type declaration
|
|
139
|
+
|
|
140
|
+
▸ (...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
141
|
+
|
|
142
|
+
##### Parameters
|
|
143
|
+
|
|
144
|
+
| Name | Type |
|
|
145
|
+
| :------ | :------ |
|
|
146
|
+
| `...config` | `any` |
|
|
147
|
+
|
|
148
|
+
##### Returns
|
|
149
|
+
|
|
150
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
151
|
+
|
|
152
|
+
#### Defined in
|
|
153
|
+
|
|
154
|
+
[packages/notifications/utils/base.ts:55](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L55)
|
|
155
|
+
|
|
156
|
+
___
|
|
157
|
+
|
|
158
|
+
### AuthTypeEnum
|
|
159
|
+
|
|
160
|
+
Ƭ **AuthTypeEnum**: typeof [`AuthTypeEnum`](modules.md#authtypeenum-1)[keyof typeof [`AuthTypeEnum`](modules.md#authtypeenum-1)]
|
|
161
|
+
|
|
162
|
+
#### Defined in
|
|
163
|
+
|
|
164
|
+
[packages/notifications/utils/base.ts:45](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L45)
|
|
165
|
+
|
|
166
|
+
[packages/notifications/utils/base.ts:53](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L53)
|
|
167
|
+
|
|
168
|
+
## Variables
|
|
169
|
+
|
|
170
|
+
### AuthTypeEnum
|
|
171
|
+
|
|
172
|
+
• `Const` **AuthTypeEnum**: `Object`
|
|
173
|
+
|
|
174
|
+
#### Type declaration
|
|
175
|
+
|
|
176
|
+
| Name | Type |
|
|
177
|
+
| :------ | :------ |
|
|
178
|
+
| `Basic` | ``"basic"`` |
|
|
179
|
+
| `Bearer` | ``"bearer"`` |
|
|
180
|
+
| `InHeader` | ``"inHeader"`` |
|
|
181
|
+
| `InQuery` | ``"inQuery"`` |
|
|
182
|
+
| `Oauth` | ``"oath"`` |
|
|
183
|
+
|
|
184
|
+
#### Defined in
|
|
185
|
+
|
|
186
|
+
[packages/notifications/utils/base.ts:45](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L45)
|
|
187
|
+
|
|
188
|
+
[packages/notifications/utils/base.ts:53](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L53)
|
|
189
|
+
|
|
190
|
+
___
|
|
191
|
+
|
|
192
|
+
### BASE\_PATH
|
|
193
|
+
|
|
194
|
+
• `Const` **BASE\_PATH**: `string`
|
|
195
|
+
|
|
196
|
+
#### Defined in
|
|
197
|
+
|
|
198
|
+
[packages/notifications/utils/base.ts:12](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L12)
|
|
199
|
+
|
|
200
|
+
___
|
|
201
|
+
|
|
202
|
+
### COLLECTION\_FORMATS
|
|
203
|
+
|
|
204
|
+
• `Const` **COLLECTION\_FORMATS**: `Object`
|
|
205
|
+
|
|
206
|
+
**`Export`**
|
|
207
|
+
|
|
208
|
+
#### Type declaration
|
|
209
|
+
|
|
210
|
+
| Name | Type |
|
|
211
|
+
| :------ | :------ |
|
|
212
|
+
| `csv` | `string` |
|
|
213
|
+
| `pipes` | `string` |
|
|
214
|
+
| `ssv` | `string` |
|
|
215
|
+
| `tsv` | `string` |
|
|
216
|
+
|
|
217
|
+
#### Defined in
|
|
218
|
+
|
|
219
|
+
[packages/notifications/utils/base.ts:18](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L18)
|
|
220
|
+
|
|
221
|
+
___
|
|
222
|
+
|
|
223
|
+
### DUMMY\_BASE\_URL
|
|
224
|
+
|
|
225
|
+
• `Const` **DUMMY\_BASE\_URL**: ``"https://example.com"``
|
|
226
|
+
|
|
227
|
+
**`Export`**
|
|
228
|
+
|
|
229
|
+
#### Defined in
|
|
230
|
+
|
|
231
|
+
[packages/notifications/utils/common.ts:13](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L13)
|
|
232
|
+
|
|
233
|
+
## Functions
|
|
234
|
+
|
|
235
|
+
### APIFactory
|
|
236
|
+
|
|
237
|
+
▸ **APIFactory**<`T`\>(`basePath?`, `config?`, `actions`): [`BaseAPI`](classes/BaseAPI.md) & `T`
|
|
238
|
+
|
|
239
|
+
Factory for creating API with option to add enpoints to the API.
|
|
240
|
+
|
|
241
|
+
#### Type parameters
|
|
242
|
+
|
|
243
|
+
| Name | Type |
|
|
244
|
+
| :------ | :------ |
|
|
245
|
+
| `T` | extends `Record`<`string`, [`ActionType`](modules.md#actiontype)\> |
|
|
246
|
+
|
|
247
|
+
#### Parameters
|
|
248
|
+
|
|
249
|
+
| Name | Type | Default value | Description |
|
|
250
|
+
| :------ | :------ | :------ | :------ |
|
|
251
|
+
| `basePath` | `string` | `BASE_PATH` | basePath of api requests. |
|
|
252
|
+
| `config` | [`ApiConfig`](interfaces/ApiConfig.md) | `undefined` | to be passed down to axios. |
|
|
253
|
+
| `actions` | `T` | `undefined` | object with actions to send with axios. |
|
|
254
|
+
|
|
255
|
+
#### Returns
|
|
256
|
+
|
|
257
|
+
[`BaseAPI`](classes/BaseAPI.md) & `T`
|
|
258
|
+
|
|
259
|
+
created base API.
|
|
260
|
+
|
|
261
|
+
#### Defined in
|
|
262
|
+
|
|
263
|
+
[packages/notifications/utils/base.ts:145](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/base.ts#L145)
|
|
264
|
+
|
|
265
|
+
___
|
|
266
|
+
|
|
267
|
+
### assertParamExists
|
|
268
|
+
|
|
269
|
+
▸ **assertParamExists**(`functionName`, `paramName`, `paramValue`): `void`
|
|
270
|
+
|
|
271
|
+
**`Throws`**
|
|
272
|
+
|
|
273
|
+
**`Export`**
|
|
274
|
+
|
|
275
|
+
#### Parameters
|
|
276
|
+
|
|
277
|
+
| Name | Type |
|
|
278
|
+
| :------ | :------ |
|
|
279
|
+
| `functionName` | `string` |
|
|
280
|
+
| `paramName` | `string` |
|
|
281
|
+
| `paramValue` | `unknown` |
|
|
282
|
+
|
|
283
|
+
#### Returns
|
|
284
|
+
|
|
285
|
+
`void`
|
|
286
|
+
|
|
287
|
+
#### Defined in
|
|
288
|
+
|
|
289
|
+
[packages/notifications/utils/common.ts:20](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L20)
|
|
290
|
+
|
|
291
|
+
___
|
|
292
|
+
|
|
293
|
+
### createRequestFunction
|
|
294
|
+
|
|
295
|
+
▸ **createRequestFunction**(`axiosArgs`, `globalAxios`, `BASE_PATH`, `configuration?`): <T, R\>(`axios`: `AxiosInstance`, `basePath`: `string`) => `Promise`<`R`\>
|
|
296
|
+
|
|
297
|
+
**`Export`**
|
|
298
|
+
|
|
299
|
+
#### Parameters
|
|
300
|
+
|
|
301
|
+
| Name | Type |
|
|
302
|
+
| :------ | :------ |
|
|
303
|
+
| `axiosArgs` | [`RequestArgs`](interfaces/RequestArgs.md) |
|
|
304
|
+
| `globalAxios` | `AxiosInstance` |
|
|
305
|
+
| `BASE_PATH` | `string` |
|
|
306
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
307
|
+
|
|
308
|
+
#### Returns
|
|
309
|
+
|
|
310
|
+
`fn`
|
|
311
|
+
|
|
312
|
+
▸ <`T`, `R`\>(`axios?`, `basePath?`): `Promise`<`R`\>
|
|
313
|
+
|
|
314
|
+
##### Type parameters
|
|
315
|
+
|
|
316
|
+
| Name | Type |
|
|
317
|
+
| :------ | :------ |
|
|
318
|
+
| `T` | `unknown` |
|
|
319
|
+
| `R` | `AxiosResponse`<`T`, `any`\> |
|
|
320
|
+
|
|
321
|
+
##### Parameters
|
|
322
|
+
|
|
323
|
+
| Name | Type | Default value |
|
|
324
|
+
| :------ | :------ | :------ |
|
|
325
|
+
| `axios` | `AxiosInstance` | `globalAxios` |
|
|
326
|
+
| `basePath` | `string` | `BASE_PATH` |
|
|
327
|
+
|
|
328
|
+
##### Returns
|
|
329
|
+
|
|
330
|
+
`Promise`<`R`\>
|
|
331
|
+
|
|
332
|
+
#### Defined in
|
|
333
|
+
|
|
334
|
+
[packages/notifications/utils/common.ts:133](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L133)
|
|
335
|
+
|
|
336
|
+
___
|
|
337
|
+
|
|
338
|
+
### drawerResourceV1GetDrawerEntries
|
|
339
|
+
|
|
340
|
+
▸ **drawerResourceV1GetDrawerEntries**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
341
|
+
|
|
342
|
+
Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
|
|
343
|
+
|
|
344
|
+
**`Summary`**
|
|
345
|
+
|
|
346
|
+
Retrieve drawer notifications entries.
|
|
347
|
+
|
|
348
|
+
**`Throws`**
|
|
349
|
+
|
|
350
|
+
#### Parameters
|
|
351
|
+
|
|
352
|
+
| Name | Type | Description |
|
|
353
|
+
| :------ | :------ | :------ |
|
|
354
|
+
| `...config` | [`DrawerResourceV1GetDrawerEntriesParams`] \| [`Set`<`string`\>, `Set`<`string`\>, `string`, `Set`<`string`\>, `number`, `number`, `number`, `boolean`, `string`, `string`, `string`, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
355
|
+
|
|
356
|
+
#### Returns
|
|
357
|
+
|
|
358
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
359
|
+
|
|
360
|
+
#### Defined in
|
|
361
|
+
|
|
362
|
+
[packages/notifications/DrawerResourceV1GetDrawerEntries/index.ts:94](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/DrawerResourceV1GetDrawerEntries/index.ts#L94)
|
|
363
|
+
|
|
364
|
+
___
|
|
365
|
+
|
|
366
|
+
### drawerResourceV1UpdateNotificationReadStatus
|
|
367
|
+
|
|
368
|
+
▸ **drawerResourceV1UpdateNotificationReadStatus**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
369
|
+
|
|
370
|
+
Update drawer notifications status.
|
|
371
|
+
|
|
372
|
+
**`Summary`**
|
|
373
|
+
|
|
374
|
+
Update drawer notifications status.
|
|
375
|
+
|
|
376
|
+
**`Throws`**
|
|
377
|
+
|
|
378
|
+
#### Parameters
|
|
379
|
+
|
|
380
|
+
| Name | Type | Description |
|
|
381
|
+
| :------ | :------ | :------ |
|
|
382
|
+
| `...config` | [`DrawerResourceV1UpdateNotificationReadStatusParams`] \| [[`UpdateNotificationDrawerStatus`](interfaces/UpdateNotificationDrawerStatus.md), `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
383
|
+
|
|
384
|
+
#### Returns
|
|
385
|
+
|
|
386
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
387
|
+
|
|
388
|
+
#### Defined in
|
|
389
|
+
|
|
390
|
+
[packages/notifications/DrawerResourceV1UpdateNotificationReadStatus/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/DrawerResourceV1UpdateNotificationReadStatus/index.ts#L34)
|
|
391
|
+
|
|
392
|
+
___
|
|
393
|
+
|
|
394
|
+
### eventResourceV1GetEvents
|
|
395
|
+
|
|
396
|
+
▸ **eventResourceV1GetEvents**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
397
|
+
|
|
398
|
+
Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
|
|
399
|
+
|
|
400
|
+
**`Summary`**
|
|
401
|
+
|
|
402
|
+
Retrieve the event log entries
|
|
403
|
+
|
|
404
|
+
**`Throws`**
|
|
405
|
+
|
|
406
|
+
#### Parameters
|
|
407
|
+
|
|
408
|
+
| Name | Type | Description |
|
|
409
|
+
| :------ | :------ | :------ |
|
|
410
|
+
| `...config` | [`EventResourceV1GetEventsParams`] \| [`Set`<`string`\>, `Set`<`string`\>, `string`, `Set`<`string`\>, `string`, `boolean`, `boolean`, `boolean`, `Set`<`boolean`\>, `number`, `number`, `number`, `string`, `string`, `string`, `Set`<[`EventLogEntryActionStatus`](enums/EventLogEntryActionStatus.md)\>, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
411
|
+
|
|
412
|
+
#### Returns
|
|
413
|
+
|
|
414
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
415
|
+
|
|
416
|
+
#### Defined in
|
|
417
|
+
|
|
418
|
+
[packages/notifications/EventResourceV1GetEvents/index.ts:124](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/EventResourceV1GetEvents/index.ts#L124)
|
|
419
|
+
|
|
420
|
+
___
|
|
421
|
+
|
|
422
|
+
### notificationResourceV1AppendBehaviorGroupToEventType
|
|
423
|
+
|
|
424
|
+
▸ **notificationResourceV1AppendBehaviorGroupToEventType**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
425
|
+
|
|
426
|
+
**`Summary`**
|
|
427
|
+
|
|
428
|
+
Add a behavior group to the given event type.
|
|
429
|
+
|
|
430
|
+
**`Throws`**
|
|
431
|
+
|
|
432
|
+
#### Parameters
|
|
433
|
+
|
|
434
|
+
| Name | Type | Description |
|
|
435
|
+
| :------ | :------ | :------ |
|
|
436
|
+
| `...config` | [`NotificationResourceV1AppendBehaviorGroupToEventTypeParams`] \| [`string`, `string`, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
437
|
+
|
|
438
|
+
#### Returns
|
|
439
|
+
|
|
440
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
441
|
+
|
|
442
|
+
#### Defined in
|
|
443
|
+
|
|
444
|
+
[packages/notifications/NotificationResourceV1AppendBehaviorGroupToEventType/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1AppendBehaviorGroupToEventType/index.ts#L40)
|
|
445
|
+
|
|
446
|
+
___
|
|
447
|
+
|
|
448
|
+
### notificationResourceV1CreateBehaviorGroup
|
|
449
|
+
|
|
450
|
+
▸ **notificationResourceV1CreateBehaviorGroup**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
451
|
+
|
|
452
|
+
Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
|
|
453
|
+
|
|
454
|
+
**`Summary`**
|
|
455
|
+
|
|
456
|
+
Create a behavior group
|
|
457
|
+
|
|
458
|
+
**`Throws`**
|
|
459
|
+
|
|
460
|
+
#### Parameters
|
|
461
|
+
|
|
462
|
+
| Name | Type | Description |
|
|
463
|
+
| :------ | :------ | :------ |
|
|
464
|
+
| `...config` | [`NotificationResourceV1CreateBehaviorGroupParams`] \| [[`CreateBehaviorGroupRequest`](interfaces/CreateBehaviorGroupRequest.md), `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
465
|
+
|
|
466
|
+
#### Returns
|
|
467
|
+
|
|
468
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
469
|
+
|
|
470
|
+
#### Defined in
|
|
471
|
+
|
|
472
|
+
[packages/notifications/NotificationResourceV1CreateBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1CreateBehaviorGroup/index.ts#L34)
|
|
473
|
+
|
|
474
|
+
___
|
|
475
|
+
|
|
476
|
+
### notificationResourceV1DeleteBehaviorGroup
|
|
477
|
+
|
|
478
|
+
▸ **notificationResourceV1DeleteBehaviorGroup**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
479
|
+
|
|
480
|
+
Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
481
|
+
|
|
482
|
+
**`Summary`**
|
|
483
|
+
|
|
484
|
+
Delete a behavior group
|
|
485
|
+
|
|
486
|
+
**`Throws`**
|
|
487
|
+
|
|
488
|
+
#### Parameters
|
|
489
|
+
|
|
490
|
+
| Name | Type | Description |
|
|
491
|
+
| :------ | :------ | :------ |
|
|
492
|
+
| `...config` | [`NotificationResourceV1DeleteBehaviorGroupParams`] \| [`string`, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
493
|
+
|
|
494
|
+
#### Returns
|
|
495
|
+
|
|
496
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
497
|
+
|
|
498
|
+
#### Defined in
|
|
499
|
+
|
|
500
|
+
[packages/notifications/NotificationResourceV1DeleteBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1DeleteBehaviorGroup/index.ts#L34)
|
|
501
|
+
|
|
502
|
+
___
|
|
503
|
+
|
|
504
|
+
### notificationResourceV1DeleteBehaviorGroupFromEventType
|
|
505
|
+
|
|
506
|
+
▸ **notificationResourceV1DeleteBehaviorGroupFromEventType**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
507
|
+
|
|
508
|
+
Adds a behavior group to the specified event type.
|
|
509
|
+
|
|
510
|
+
**`Summary`**
|
|
511
|
+
|
|
512
|
+
Add a behavior group to an event type
|
|
513
|
+
|
|
514
|
+
**`Throws`**
|
|
515
|
+
|
|
516
|
+
#### Parameters
|
|
517
|
+
|
|
518
|
+
| Name | Type | Description |
|
|
519
|
+
| :------ | :------ | :------ |
|
|
520
|
+
| `...config` | [`string`, `string`, `AxiosRequestConfig`<`any`\>] \| [`NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams`] | with all available params. |
|
|
521
|
+
|
|
522
|
+
#### Returns
|
|
523
|
+
|
|
524
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
525
|
+
|
|
526
|
+
#### Defined in
|
|
527
|
+
|
|
528
|
+
[packages/notifications/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts#L40)
|
|
529
|
+
|
|
530
|
+
___
|
|
531
|
+
|
|
532
|
+
### notificationResourceV1FindBehaviorGroupsByBundleId
|
|
533
|
+
|
|
534
|
+
▸ **notificationResourceV1FindBehaviorGroupsByBundleId**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
535
|
+
|
|
536
|
+
Lists the behavior groups associated with a bundle. Use this endpoint to see the behavior groups that are configured for a particular bundle for a particular tenant.
|
|
537
|
+
|
|
538
|
+
**`Summary`**
|
|
539
|
+
|
|
540
|
+
List behavior groups in a bundle
|
|
541
|
+
|
|
542
|
+
**`Throws`**
|
|
543
|
+
|
|
544
|
+
#### Parameters
|
|
545
|
+
|
|
546
|
+
| Name | Type | Description |
|
|
547
|
+
| :------ | :------ | :------ |
|
|
548
|
+
| `...config` | [`string`, `AxiosRequestConfig`<`any`\>] \| [`NotificationResourceV1FindBehaviorGroupsByBundleIdParams`] | with all available params. |
|
|
549
|
+
|
|
550
|
+
#### Returns
|
|
551
|
+
|
|
552
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
553
|
+
|
|
554
|
+
#### Defined in
|
|
555
|
+
|
|
556
|
+
[packages/notifications/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts#L34)
|
|
557
|
+
|
|
558
|
+
___
|
|
559
|
+
|
|
560
|
+
### notificationResourceV1GetApplicationByNameAndBundleName
|
|
561
|
+
|
|
562
|
+
▸ **notificationResourceV1GetApplicationByNameAndBundleName**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
563
|
+
|
|
564
|
+
Retrieves an application by bundle and application names. Use this endpoint to find an application by searching for the bundle that the application is part of. This is useful if you do not know the UUID of the bundle or application.
|
|
565
|
+
|
|
566
|
+
**`Summary`**
|
|
567
|
+
|
|
568
|
+
Retrieve an application by bundle and application names
|
|
569
|
+
|
|
570
|
+
**`Throws`**
|
|
571
|
+
|
|
572
|
+
#### Parameters
|
|
573
|
+
|
|
574
|
+
| Name | Type | Description |
|
|
575
|
+
| :------ | :------ | :------ |
|
|
576
|
+
| `...config` | [`string`, `string`, `AxiosRequestConfig`<`any`\>] \| [`NotificationResourceV1GetApplicationByNameAndBundleNameParams`] | with all available params. |
|
|
577
|
+
|
|
578
|
+
#### Returns
|
|
579
|
+
|
|
580
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
581
|
+
|
|
582
|
+
#### Defined in
|
|
583
|
+
|
|
584
|
+
[packages/notifications/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts#L40)
|
|
585
|
+
|
|
586
|
+
___
|
|
587
|
+
|
|
588
|
+
### notificationResourceV1GetApplicationsFacets
|
|
589
|
+
|
|
590
|
+
▸ **notificationResourceV1GetApplicationsFacets**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
591
|
+
|
|
592
|
+
Returns a list of configured applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
593
|
+
|
|
594
|
+
**`Summary`**
|
|
595
|
+
|
|
596
|
+
List configured applications
|
|
597
|
+
|
|
598
|
+
**`Throws`**
|
|
599
|
+
|
|
600
|
+
#### Parameters
|
|
601
|
+
|
|
602
|
+
| Name | Type | Description |
|
|
603
|
+
| :------ | :------ | :------ |
|
|
604
|
+
| `...config` | [`string`, `AxiosRequestConfig`<`any`\>] \| [`NotificationResourceV1GetApplicationsFacetsParams`] | with all available params. |
|
|
605
|
+
|
|
606
|
+
#### Returns
|
|
607
|
+
|
|
608
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
609
|
+
|
|
610
|
+
#### Defined in
|
|
611
|
+
|
|
612
|
+
[packages/notifications/NotificationResourceV1GetApplicationsFacets/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetApplicationsFacets/index.ts#L34)
|
|
613
|
+
|
|
614
|
+
___
|
|
615
|
+
|
|
616
|
+
### notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint
|
|
617
|
+
|
|
618
|
+
▸ **notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
619
|
+
|
|
620
|
+
Lists the behavior groups that are affected by the removal of an endpoint. Use this endpoint to understand how removing an endpoint affects existing behavior groups.
|
|
621
|
+
|
|
622
|
+
**`Summary`**
|
|
623
|
+
|
|
624
|
+
List the behavior groups affected by the removal of an endpoint
|
|
625
|
+
|
|
626
|
+
**`Throws`**
|
|
627
|
+
|
|
628
|
+
#### Parameters
|
|
629
|
+
|
|
630
|
+
| Name | Type | Description |
|
|
631
|
+
| :------ | :------ | :------ |
|
|
632
|
+
| `...config` | [`string`, `AxiosRequestConfig`<`any`\>] \| [`NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams`] | with all available params. |
|
|
633
|
+
|
|
634
|
+
#### Returns
|
|
635
|
+
|
|
636
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
637
|
+
|
|
638
|
+
#### Defined in
|
|
639
|
+
|
|
640
|
+
[packages/notifications/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts#L34)
|
|
641
|
+
|
|
642
|
+
___
|
|
643
|
+
|
|
644
|
+
### notificationResourceV1GetBundleByName
|
|
645
|
+
|
|
646
|
+
▸ **notificationResourceV1GetBundleByName**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
647
|
+
|
|
648
|
+
Retrieves the details of a bundle by searching by its name.
|
|
649
|
+
|
|
650
|
+
**`Summary`**
|
|
651
|
+
|
|
652
|
+
Retrieve a bundle by name
|
|
653
|
+
|
|
654
|
+
**`Throws`**
|
|
655
|
+
|
|
656
|
+
#### Parameters
|
|
657
|
+
|
|
658
|
+
| Name | Type | Description |
|
|
659
|
+
| :------ | :------ | :------ |
|
|
660
|
+
| `...config` | [`string`, `AxiosRequestConfig`<`any`\>] \| [`NotificationResourceV1GetBundleByNameParams`] | with all available params. |
|
|
661
|
+
|
|
662
|
+
#### Returns
|
|
663
|
+
|
|
664
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
665
|
+
|
|
666
|
+
#### Defined in
|
|
667
|
+
|
|
668
|
+
[packages/notifications/NotificationResourceV1GetBundleByName/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetBundleByName/index.ts#L34)
|
|
669
|
+
|
|
670
|
+
___
|
|
671
|
+
|
|
672
|
+
### notificationResourceV1GetBundleFacets
|
|
673
|
+
|
|
674
|
+
▸ **notificationResourceV1GetBundleFacets**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
675
|
+
|
|
676
|
+
Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
677
|
+
|
|
678
|
+
**`Summary`**
|
|
679
|
+
|
|
680
|
+
List configured bundles
|
|
681
|
+
|
|
682
|
+
**`Throws`**
|
|
683
|
+
|
|
684
|
+
#### Parameters
|
|
685
|
+
|
|
686
|
+
| Name | Type | Description |
|
|
687
|
+
| :------ | :------ | :------ |
|
|
688
|
+
| `...config` | [`NotificationResourceV1GetBundleFacetsParams`] \| [`boolean`, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
689
|
+
|
|
690
|
+
#### Returns
|
|
691
|
+
|
|
692
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
693
|
+
|
|
694
|
+
#### Defined in
|
|
695
|
+
|
|
696
|
+
[packages/notifications/NotificationResourceV1GetBundleFacets/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetBundleFacets/index.ts#L34)
|
|
697
|
+
|
|
698
|
+
___
|
|
699
|
+
|
|
700
|
+
### notificationResourceV1GetEventTypes
|
|
701
|
+
|
|
702
|
+
▸ **notificationResourceV1GetEventTypes**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
703
|
+
|
|
704
|
+
Lists all event types. You can filter the returned list by bundle or application name.
|
|
705
|
+
|
|
706
|
+
**`Summary`**
|
|
707
|
+
|
|
708
|
+
List all event types
|
|
709
|
+
|
|
710
|
+
**`Throws`**
|
|
711
|
+
|
|
712
|
+
#### Parameters
|
|
713
|
+
|
|
714
|
+
| Name | Type | Description |
|
|
715
|
+
| :------ | :------ | :------ |
|
|
716
|
+
| `...config` | [`NotificationResourceV1GetEventTypesParams`] \| [`Set`<`string`\>, `string`, `string`, `number`, `number`, `number`, `string`, `string`, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
717
|
+
|
|
718
|
+
#### Returns
|
|
719
|
+
|
|
720
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
721
|
+
|
|
722
|
+
#### Defined in
|
|
723
|
+
|
|
724
|
+
[packages/notifications/NotificationResourceV1GetEventTypes/index.ts:76](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetEventTypes/index.ts#L76)
|
|
725
|
+
|
|
726
|
+
___
|
|
727
|
+
|
|
728
|
+
### notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup
|
|
729
|
+
|
|
730
|
+
▸ **notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
731
|
+
|
|
732
|
+
Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
733
|
+
|
|
734
|
+
**`Summary`**
|
|
735
|
+
|
|
736
|
+
List the event types affected by the removal of a behavior group
|
|
737
|
+
|
|
738
|
+
**`Throws`**
|
|
739
|
+
|
|
740
|
+
#### Parameters
|
|
741
|
+
|
|
742
|
+
| Name | Type | Description |
|
|
743
|
+
| :------ | :------ | :------ |
|
|
744
|
+
| `...config` | [`string`, `AxiosRequestConfig`<`any`\>] \| [`NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams`] | with all available params. |
|
|
745
|
+
|
|
746
|
+
#### Returns
|
|
747
|
+
|
|
748
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
749
|
+
|
|
750
|
+
#### Defined in
|
|
751
|
+
|
|
752
|
+
[packages/notifications/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts#L34)
|
|
753
|
+
|
|
754
|
+
___
|
|
755
|
+
|
|
756
|
+
### notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName
|
|
757
|
+
|
|
758
|
+
▸ **notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
759
|
+
|
|
760
|
+
Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
761
|
+
|
|
762
|
+
**`Summary`**
|
|
763
|
+
|
|
764
|
+
Retrieve an event type by bundle, application and event type names
|
|
765
|
+
|
|
766
|
+
**`Throws`**
|
|
767
|
+
|
|
768
|
+
#### Parameters
|
|
769
|
+
|
|
770
|
+
| Name | Type | Description |
|
|
771
|
+
| :------ | :------ | :------ |
|
|
772
|
+
| `...config` | [`NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams`] \| [`string`, `string`, `string`, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
773
|
+
|
|
774
|
+
#### Returns
|
|
775
|
+
|
|
776
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
777
|
+
|
|
778
|
+
#### Defined in
|
|
779
|
+
|
|
780
|
+
[packages/notifications/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts#L46)
|
|
781
|
+
|
|
782
|
+
___
|
|
783
|
+
|
|
784
|
+
### notificationResourceV1GetLinkedBehaviorGroups
|
|
785
|
+
|
|
786
|
+
▸ **notificationResourceV1GetLinkedBehaviorGroups**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
787
|
+
|
|
788
|
+
Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
|
|
789
|
+
|
|
790
|
+
**`Summary`**
|
|
791
|
+
|
|
792
|
+
List the behavior groups linked to an event type
|
|
793
|
+
|
|
794
|
+
**`Throws`**
|
|
795
|
+
|
|
796
|
+
#### Parameters
|
|
797
|
+
|
|
798
|
+
| Name | Type | Description |
|
|
799
|
+
| :------ | :------ | :------ |
|
|
800
|
+
| `...config` | [`NotificationResourceV1GetLinkedBehaviorGroupsParams`] \| [`string`, `number`, `number`, `number`, `string`, `string`, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
801
|
+
|
|
802
|
+
#### Returns
|
|
803
|
+
|
|
804
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
805
|
+
|
|
806
|
+
#### Defined in
|
|
807
|
+
|
|
808
|
+
[packages/notifications/NotificationResourceV1GetLinkedBehaviorGroups/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1GetLinkedBehaviorGroups/index.ts#L64)
|
|
809
|
+
|
|
810
|
+
___
|
|
811
|
+
|
|
812
|
+
### notificationResourceV1UpdateBehaviorGroup
|
|
813
|
+
|
|
814
|
+
▸ **notificationResourceV1UpdateBehaviorGroup**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
815
|
+
|
|
816
|
+
Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
817
|
+
|
|
818
|
+
**`Summary`**
|
|
819
|
+
|
|
820
|
+
Update a behavior group
|
|
821
|
+
|
|
822
|
+
**`Throws`**
|
|
823
|
+
|
|
824
|
+
#### Parameters
|
|
825
|
+
|
|
826
|
+
| Name | Type | Description |
|
|
827
|
+
| :------ | :------ | :------ |
|
|
828
|
+
| `...config` | [`NotificationResourceV1UpdateBehaviorGroupParams`] \| [`string`, [`UpdateBehaviorGroupRequest`](interfaces/UpdateBehaviorGroupRequest.md), `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
829
|
+
|
|
830
|
+
#### Returns
|
|
831
|
+
|
|
832
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
833
|
+
|
|
834
|
+
#### Defined in
|
|
835
|
+
|
|
836
|
+
[packages/notifications/NotificationResourceV1UpdateBehaviorGroup/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1UpdateBehaviorGroup/index.ts#L40)
|
|
837
|
+
|
|
838
|
+
___
|
|
839
|
+
|
|
840
|
+
### notificationResourceV1UpdateBehaviorGroupActions
|
|
841
|
+
|
|
842
|
+
▸ **notificationResourceV1UpdateBehaviorGroupActions**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
843
|
+
|
|
844
|
+
Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
845
|
+
|
|
846
|
+
**`Summary`**
|
|
847
|
+
|
|
848
|
+
Update the list of behavior group actions
|
|
849
|
+
|
|
850
|
+
**`Throws`**
|
|
851
|
+
|
|
852
|
+
#### Parameters
|
|
853
|
+
|
|
854
|
+
| Name | Type | Description |
|
|
855
|
+
| :------ | :------ | :------ |
|
|
856
|
+
| `...config` | [`NotificationResourceV1UpdateBehaviorGroupActionsParams`] \| [`string`, `string`[], `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
857
|
+
|
|
858
|
+
#### Returns
|
|
859
|
+
|
|
860
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
861
|
+
|
|
862
|
+
#### Defined in
|
|
863
|
+
|
|
864
|
+
[packages/notifications/NotificationResourceV1UpdateBehaviorGroupActions/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1UpdateBehaviorGroupActions/index.ts#L40)
|
|
865
|
+
|
|
866
|
+
___
|
|
867
|
+
|
|
868
|
+
### notificationResourceV1UpdateEventTypeBehaviors
|
|
869
|
+
|
|
870
|
+
▸ **notificationResourceV1UpdateEventTypeBehaviors**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
871
|
+
|
|
872
|
+
Updates the list of behavior groups associated with an event type.
|
|
873
|
+
|
|
874
|
+
**`Summary`**
|
|
875
|
+
|
|
876
|
+
Update the list of behavior groups for an event type
|
|
877
|
+
|
|
878
|
+
**`Throws`**
|
|
879
|
+
|
|
880
|
+
#### Parameters
|
|
881
|
+
|
|
882
|
+
| Name | Type | Description |
|
|
883
|
+
| :------ | :------ | :------ |
|
|
884
|
+
| `...config` | [`NotificationResourceV1UpdateEventTypeBehaviorsParams`] \| [`string`, `Set`<`string`\>, `AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
885
|
+
|
|
886
|
+
#### Returns
|
|
887
|
+
|
|
888
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
889
|
+
|
|
890
|
+
#### Defined in
|
|
891
|
+
|
|
892
|
+
[packages/notifications/NotificationResourceV1UpdateEventTypeBehaviors/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/NotificationResourceV1UpdateEventTypeBehaviors/index.ts#L40)
|
|
893
|
+
|
|
894
|
+
___
|
|
895
|
+
|
|
896
|
+
### orgConfigResourceV1GetDailyDigestTimePreference
|
|
897
|
+
|
|
898
|
+
▸ **orgConfigResourceV1GetDailyDigestTimePreference**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
899
|
+
|
|
900
|
+
Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
901
|
+
|
|
902
|
+
**`Summary`**
|
|
903
|
+
|
|
904
|
+
Retrieve the daily digest time
|
|
905
|
+
|
|
906
|
+
**`Throws`**
|
|
907
|
+
|
|
908
|
+
#### Parameters
|
|
909
|
+
|
|
910
|
+
| Name | Type | Description |
|
|
911
|
+
| :------ | :------ | :------ |
|
|
912
|
+
| `...config` | [`OrgConfigResourceV1GetDailyDigestTimePreferenceParams`] \| [`AxiosRequestConfig`<`any`\>] | with all available params. |
|
|
913
|
+
|
|
914
|
+
#### Returns
|
|
915
|
+
|
|
916
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
917
|
+
|
|
918
|
+
#### Defined in
|
|
919
|
+
|
|
920
|
+
[packages/notifications/OrgConfigResourceV1GetDailyDigestTimePreference/index.ts:28](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/OrgConfigResourceV1GetDailyDigestTimePreference/index.ts#L28)
|
|
921
|
+
|
|
922
|
+
___
|
|
923
|
+
|
|
924
|
+
### orgConfigResourceV1SaveDailyDigestTimePreference
|
|
925
|
+
|
|
926
|
+
▸ **orgConfigResourceV1SaveDailyDigestTimePreference**(...`config`): `Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
927
|
+
|
|
928
|
+
Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
929
|
+
|
|
930
|
+
**`Summary`**
|
|
931
|
+
|
|
932
|
+
Set the daily digest time
|
|
933
|
+
|
|
934
|
+
**`Throws`**
|
|
935
|
+
|
|
936
|
+
#### Parameters
|
|
937
|
+
|
|
938
|
+
| Name | Type | Description |
|
|
939
|
+
| :------ | :------ | :------ |
|
|
940
|
+
| `...config` | [`string`, `AxiosRequestConfig`<`any`\>] \| [`OrgConfigResourceV1SaveDailyDigestTimePreferenceParams`] | with all available params. |
|
|
941
|
+
|
|
942
|
+
#### Returns
|
|
943
|
+
|
|
944
|
+
`Promise`<[`RequestArgs`](interfaces/RequestArgs.md)\>
|
|
945
|
+
|
|
946
|
+
#### Defined in
|
|
947
|
+
|
|
948
|
+
[packages/notifications/OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts:34](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts#L34)
|
|
949
|
+
|
|
950
|
+
___
|
|
951
|
+
|
|
952
|
+
### serializeDataIfNeeded
|
|
953
|
+
|
|
954
|
+
▸ **serializeDataIfNeeded**(`value`, `requestOptions`, `configuration?`): `any`
|
|
955
|
+
|
|
956
|
+
**`Export`**
|
|
957
|
+
|
|
958
|
+
#### Parameters
|
|
959
|
+
|
|
960
|
+
| Name | Type |
|
|
961
|
+
| :------ | :------ |
|
|
962
|
+
| `value` | `any` |
|
|
963
|
+
| `requestOptions` | `any` |
|
|
964
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
965
|
+
|
|
966
|
+
#### Returns
|
|
967
|
+
|
|
968
|
+
`any`
|
|
969
|
+
|
|
970
|
+
#### Defined in
|
|
971
|
+
|
|
972
|
+
[packages/notifications/utils/common.ts:111](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L111)
|
|
973
|
+
|
|
974
|
+
___
|
|
975
|
+
|
|
976
|
+
### setApiKeyToObject
|
|
977
|
+
|
|
978
|
+
▸ **setApiKeyToObject**(`object`, `keyParamName`, `configuration?`): `Promise`<`void`\>
|
|
979
|
+
|
|
980
|
+
**`Export`**
|
|
981
|
+
|
|
982
|
+
#### Parameters
|
|
983
|
+
|
|
984
|
+
| Name | Type |
|
|
985
|
+
| :------ | :------ |
|
|
986
|
+
| `object` | `any` |
|
|
987
|
+
| `keyParamName` | `string` |
|
|
988
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
989
|
+
|
|
990
|
+
#### Returns
|
|
991
|
+
|
|
992
|
+
`Promise`<`void`\>
|
|
993
|
+
|
|
994
|
+
#### Defined in
|
|
995
|
+
|
|
996
|
+
[packages/notifications/utils/common.ts:30](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L30)
|
|
997
|
+
|
|
998
|
+
___
|
|
999
|
+
|
|
1000
|
+
### setBasicAuthToObject
|
|
1001
|
+
|
|
1002
|
+
▸ **setBasicAuthToObject**(`object`, `configuration?`): `void`
|
|
1003
|
+
|
|
1004
|
+
**`Export`**
|
|
1005
|
+
|
|
1006
|
+
#### Parameters
|
|
1007
|
+
|
|
1008
|
+
| Name | Type |
|
|
1009
|
+
| :------ | :------ |
|
|
1010
|
+
| `object` | `any` |
|
|
1011
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
1012
|
+
|
|
1013
|
+
#### Returns
|
|
1014
|
+
|
|
1015
|
+
`void`
|
|
1016
|
+
|
|
1017
|
+
#### Defined in
|
|
1018
|
+
|
|
1019
|
+
[packages/notifications/utils/common.ts:43](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L43)
|
|
1020
|
+
|
|
1021
|
+
___
|
|
1022
|
+
|
|
1023
|
+
### setBearerAuthToObject
|
|
1024
|
+
|
|
1025
|
+
▸ **setBearerAuthToObject**(`object`, `configuration?`): `Promise`<`void`\>
|
|
1026
|
+
|
|
1027
|
+
**`Export`**
|
|
1028
|
+
|
|
1029
|
+
#### Parameters
|
|
1030
|
+
|
|
1031
|
+
| Name | Type |
|
|
1032
|
+
| :------ | :------ |
|
|
1033
|
+
| `object` | `any` |
|
|
1034
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
1035
|
+
|
|
1036
|
+
#### Returns
|
|
1037
|
+
|
|
1038
|
+
`Promise`<`void`\>
|
|
1039
|
+
|
|
1040
|
+
#### Defined in
|
|
1041
|
+
|
|
1042
|
+
[packages/notifications/utils/common.ts:53](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L53)
|
|
1043
|
+
|
|
1044
|
+
___
|
|
1045
|
+
|
|
1046
|
+
### setOAuthToObject
|
|
1047
|
+
|
|
1048
|
+
▸ **setOAuthToObject**(`object`, `name`, `scopes`, `configuration?`): `Promise`<`void`\>
|
|
1049
|
+
|
|
1050
|
+
**`Export`**
|
|
1051
|
+
|
|
1052
|
+
#### Parameters
|
|
1053
|
+
|
|
1054
|
+
| Name | Type |
|
|
1055
|
+
| :------ | :------ |
|
|
1056
|
+
| `object` | `any` |
|
|
1057
|
+
| `name` | `string` |
|
|
1058
|
+
| `scopes` | `string`[] |
|
|
1059
|
+
| `configuration?` | [`Configuration`](classes/Configuration.md) |
|
|
1060
|
+
|
|
1061
|
+
#### Returns
|
|
1062
|
+
|
|
1063
|
+
`Promise`<`void`\>
|
|
1064
|
+
|
|
1065
|
+
#### Defined in
|
|
1066
|
+
|
|
1067
|
+
[packages/notifications/utils/common.ts:66](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L66)
|
|
1068
|
+
|
|
1069
|
+
___
|
|
1070
|
+
|
|
1071
|
+
### setSearchParams
|
|
1072
|
+
|
|
1073
|
+
▸ **setSearchParams**(`url`, ...`objects`): `void`
|
|
1074
|
+
|
|
1075
|
+
**`Export`**
|
|
1076
|
+
|
|
1077
|
+
#### Parameters
|
|
1078
|
+
|
|
1079
|
+
| Name | Type |
|
|
1080
|
+
| :------ | :------ |
|
|
1081
|
+
| `url` | `URL` |
|
|
1082
|
+
| `...objects` | `any`[] |
|
|
1083
|
+
|
|
1084
|
+
#### Returns
|
|
1085
|
+
|
|
1086
|
+
`void`
|
|
1087
|
+
|
|
1088
|
+
#### Defined in
|
|
1089
|
+
|
|
1090
|
+
[packages/notifications/utils/common.ts:101](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L101)
|
|
1091
|
+
|
|
1092
|
+
___
|
|
1093
|
+
|
|
1094
|
+
### toPathString
|
|
1095
|
+
|
|
1096
|
+
▸ **toPathString**(`url`): `string`
|
|
1097
|
+
|
|
1098
|
+
**`Export`**
|
|
1099
|
+
|
|
1100
|
+
#### Parameters
|
|
1101
|
+
|
|
1102
|
+
| Name | Type |
|
|
1103
|
+
| :------ | :------ |
|
|
1104
|
+
| `url` | `URL` |
|
|
1105
|
+
|
|
1106
|
+
#### Returns
|
|
1107
|
+
|
|
1108
|
+
`string`
|
|
1109
|
+
|
|
1110
|
+
#### Defined in
|
|
1111
|
+
|
|
1112
|
+
[packages/notifications/utils/common.ts:125](https://github.com/RedHatInsights/javascript-clients/blob/master/packages/notifications/utils/common.ts#L125)
|