@redhat-cloud-services/notifications-client 3.1.1 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{dist/api.d.ts → api.d.ts} +1 -1
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +83 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js +67 -0
- package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +23 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +32 -0
- package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/esm/EventResourceV1GetEvents/index.d.ts +113 -0
- package/esm/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/esm/EventResourceV1GetEvents/index.js +82 -0
- package/esm/EventResourceV1GetEvents/index.js.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +28 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +32 -0
- package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +23 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +32 -0
- package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +22 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +32 -0
- package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +23 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +31 -0
- package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +29 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +32 -0
- package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
- package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js +31 -0
- package/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js +33 -0
- package/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts +71 -0
- package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js +57 -0
- package/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +23 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
- package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
- package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +53 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +46 -0
- package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +29 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +33 -0
- package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +33 -0
- package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +28 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js +33 -0
- package/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +16 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +30 -0
- package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +22 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +32 -0
- package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/esm/api.d.ts +54 -0
- package/esm/api.d.ts.map +1 -0
- package/esm/api.js +32 -0
- package/esm/api.js.map +1 -0
- package/esm/index.d.ts.map +1 -0
- package/esm/index.js +24 -0
- package/esm/index.js.map +1 -0
- package/esm/jest.integration.v1.config.d.ts +18 -0
- package/esm/jest.integration.v1.config.d.ts.map +1 -0
- package/esm/jest.integration.v1.config.js +16 -0
- package/esm/jest.integration.v1.config.js.map +1 -0
- package/esm/jest.integration.v2.config.d.ts +18 -0
- package/esm/jest.integration.v2.config.d.ts.map +1 -0
- package/esm/jest.integration.v2.config.js +16 -0
- package/esm/jest.integration.v2.config.js.map +1 -0
- package/esm/tests/integration/notifications.v1.integration.test.d.ts +2 -0
- package/esm/tests/integration/notifications.v1.integration.test.d.ts.map +1 -0
- package/esm/tests/integration/notifications.v1.integration.test.js +146 -0
- package/esm/tests/integration/notifications.v1.integration.test.js.map +1 -0
- package/esm/types/index.d.ts.map +1 -0
- package/esm/types/index.js +39 -0
- package/esm/types/index.js.map +1 -0
- package/esm/v2/EventResourceV2GetEvents/index.d.ts.map +1 -0
- package/esm/v2/EventResourceV2GetEvents/index.js +82 -0
- package/esm/v2/EventResourceV2GetEvents/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +32 -0
- package/esm/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.js +32 -0
- package/esm/v2/NotificationResourceV2CreateBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.js +31 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +32 -0
- package/esm/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +31 -0
- package/esm/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +32 -0
- package/esm/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetApplicationsFacets/index.js +33 -0
- package/esm/v2/NotificationResourceV2GetApplicationsFacets/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
- package/esm/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleByName/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleByName/index.js +31 -0
- package/esm/v2/NotificationResourceV2GetBundleByName/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleFacets/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetBundleFacets/index.js +33 -0
- package/esm/v2/NotificationResourceV2GetBundleFacets/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypes/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypes/index.js +57 -0
- package/esm/v2/NotificationResourceV2GetEventTypes/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
- package/esm/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
- package/esm/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js +46 -0
- package/esm/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroup/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +1 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js +33 -0
- package/esm/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +1 -0
- package/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +30 -0
- package/esm/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +1 -0
- package/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +32 -0
- package/esm/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +1 -0
- package/{dist → esm}/v2/api.d.ts +1 -1
- package/esm/v2/api.d.ts.map +1 -0
- package/esm/v2/api.js +30 -0
- package/esm/v2/api.js.map +1 -0
- package/esm/v2/index.d.ts.map +1 -0
- package/esm/v2/index.js +22 -0
- package/esm/v2/index.js.map +1 -0
- package/esm/v2/tests/integration/notifications.v2.integration.test.d.ts +2 -0
- package/esm/v2/tests/integration/notifications.v2.integration.test.d.ts.map +1 -0
- package/esm/v2/tests/integration/notifications.v2.integration.test.js +134 -0
- package/esm/v2/tests/integration/notifications.v2.integration.test.js.map +1 -0
- package/esm/v2/types/index.d.ts.map +1 -0
- package/esm/v2/types/index.js +39 -0
- package/esm/v2/types/index.js.map +1 -0
- package/index.d.ts +24 -0
- package/jest.integration.v1.config.d.ts +18 -0
- package/jest.integration.v1.config.d.ts.map +1 -0
- package/jest.integration.v1.config.js +18 -0
- package/jest.integration.v1.config.js.map +1 -0
- package/jest.integration.v2.config.d.ts +18 -0
- package/jest.integration.v2.config.d.ts.map +1 -0
- package/jest.integration.v2.config.js +18 -0
- package/jest.integration.v2.config.js.map +1 -0
- package/package.json +1 -2
- package/tests/integration/notifications.v1.integration.test.d.ts +2 -0
- package/tests/integration/notifications.v1.integration.test.d.ts.map +1 -0
- package/tests/integration/notifications.v1.integration.test.js +356 -0
- package/tests/integration/notifications.v1.integration.test.js.map +1 -0
- package/types/index.d.ts +828 -0
- package/v2/EventResourceV2GetEvents/index.d.ts +113 -0
- package/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +28 -0
- package/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +23 -0
- package/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +22 -0
- package/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
- package/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +29 -0
- package/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetBundleByName/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetBundleFacets/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetEventTypes/index.d.ts +71 -0
- package/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +23 -0
- package/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
- package/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +53 -0
- package/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +29 -0
- package/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +28 -0
- package/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +28 -0
- package/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +28 -0
- package/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +16 -0
- package/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +22 -0
- package/v2/api.d.ts +50 -0
- package/v2/index.d.ts +22 -0
- package/v2/tests/integration/notifications.v2.integration.test.d.ts +2 -0
- package/v2/tests/integration/notifications.v2.integration.test.d.ts.map +1 -0
- package/v2/tests/integration/notifications.v2.integration.test.js +299 -0
- package/v2/tests/integration/notifications.v2.integration.test.js.map +1 -0
- package/v2/types/index.d.ts +760 -0
- package/CHANGELOG.md +0 -122
- package/LICENSE +0 -201
- package/README.md +0 -76
- package/doc/.nojekyll +0 -1
- package/doc/README.md +0 -42
- package/doc/enums/types.EndpointStatus.md +0 -78
- package/doc/enums/types.EndpointStatusDTO.md +0 -78
- package/doc/enums/types.EndpointType.md +0 -67
- package/doc/enums/types.EndpointTypeDTO.md +0 -67
- package/doc/enums/types.Environment.md +0 -56
- package/doc/enums/types.EventLogEntryActionStatus.md +0 -67
- package/doc/enums/types.HttpType.md +0 -45
- package/doc/enums/types.NotificationStatus.md +0 -67
- package/doc/enums/types.Status.md +0 -34
- package/doc/enums/types.SubscriptionType.md +0 -45
- package/doc/interfaces/types.AddAccessRequest.md +0 -44
- package/doc/interfaces/types.AddApplicationRequest.md +0 -74
- package/doc/interfaces/types.AggregationEmailTemplate.md +0 -164
- package/doc/interfaces/types.AggregationEmailTemplateSubjectTemplate.md +0 -104
- package/doc/interfaces/types.Application.md +0 -104
- package/doc/interfaces/types.Application1.md +0 -44
- package/doc/interfaces/types.ApplicationDTO.md +0 -104
- package/doc/interfaces/types.ApplicationSettingsValue.md +0 -33
- package/doc/interfaces/types.BasicAuthenticationDTO.md +0 -44
- package/doc/interfaces/types.BehaviorGroup.md +0 -149
- package/doc/interfaces/types.BehaviorGroupAction.md +0 -59
- package/doc/interfaces/types.BehaviorGroupActionId.md +0 -44
- package/doc/interfaces/types.Bundle.md +0 -89
- package/doc/interfaces/types.BundleSettingsValue.md +0 -33
- package/doc/interfaces/types.CamelPropertiesDTO.md +0 -93
- package/doc/interfaces/types.CreateBehaviorGroupRequest.md +0 -104
- package/doc/interfaces/types.CreateBehaviorGroupResponse.md +0 -104
- package/doc/interfaces/types.CurrentStatus.md +0 -59
- package/doc/interfaces/types.DrawerEntryPayload.md +0 -119
- package/doc/interfaces/types.DuplicateNameMigrationReport.md +0 -44
- package/doc/interfaces/types.Endpoint.md +0 -179
- package/doc/interfaces/types.EndpointDTO.md +0 -179
- package/doc/interfaces/types.EndpointPage.md +0 -63
- package/doc/interfaces/types.EndpointTestRequest.md +0 -29
- package/doc/interfaces/types.EventLogEntry.md +0 -119
- package/doc/interfaces/types.EventLogEntryAction.md +0 -125
- package/doc/interfaces/types.EventType.md +0 -179
- package/doc/interfaces/types.EventTypeBehavior.md +0 -59
- package/doc/interfaces/types.EventTypeBehaviorId.md +0 -44
- package/doc/interfaces/types.EventTypeSettingsValue.md +0 -63
- package/doc/interfaces/types.Facet.md +0 -74
- package/doc/interfaces/types.InstantEmailTemplate.md +0 -149
- package/doc/interfaces/types.InternalApplicationUserPermission.md +0 -59
- package/doc/interfaces/types.InternalRoleAccess.md +0 -59
- package/doc/interfaces/types.InternalUserPermissions.md +0 -59
- package/doc/interfaces/types.MessageValidationResponse.md +0 -33
- package/doc/interfaces/types.Meta.md +0 -29
- package/doc/interfaces/types.NotificationHistory.md +0 -155
- package/doc/interfaces/types.PageBehaviorGroup.md +0 -63
- package/doc/interfaces/types.PageDrawerEntryPayload.md +0 -63
- package/doc/interfaces/types.PageEventLogEntry.md +0 -63
- package/doc/interfaces/types.PageEventType.md +0 -63
- package/doc/interfaces/types.PageNotificationHistory.md +0 -63
- package/doc/interfaces/types.RenderEmailTemplateRequest.md +0 -44
- package/doc/interfaces/types.RequestDefaultBehaviorGroupPropertyList.md +0 -44
- package/doc/interfaces/types.RequestSystemSubscriptionProperties.md +0 -44
- package/doc/interfaces/types.ServerInfo.md +0 -29
- package/doc/interfaces/types.SettingsValuesByEventType.md +0 -33
- package/doc/interfaces/types.SystemSubscriptionPropertiesDTO.md +0 -59
- package/doc/interfaces/types.Template.md +0 -104
- package/doc/interfaces/types.TriggerDailyDigestRequest.md +0 -89
- package/doc/interfaces/types.UpdateApplicationRequest.md +0 -59
- package/doc/interfaces/types.UpdateBehaviorGroupRequest.md +0 -74
- package/doc/interfaces/types.UpdateNotificationDrawerStatus.md +0 -44
- package/doc/interfaces/types.WebhookPropertiesDTO.md +0 -104
- package/doc/interfaces/types.X509Certificate.md +0 -89
- package/doc/modules/DrawerResourceV1GetDrawerEntries.md +0 -78
- package/doc/modules/DrawerResourceV1UpdateNotificationReadStatus.md +0 -68
- package/doc/modules/EventResourceV1GetEvents.md +0 -83
- package/doc/modules/NotificationResourceV1AppendBehaviorGroupToEventType.md +0 -67
- package/doc/modules/NotificationResourceV1CreateBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1DeleteBehaviorGroupFromEventType.md +0 -69
- package/doc/modules/NotificationResourceV1FindBehaviorGroupsByBundleId.md +0 -68
- package/doc/modules/NotificationResourceV1GetApplicationByNameAndBundleName.md +0 -69
- package/doc/modules/NotificationResourceV1GetApplicationsFacets.md +0 -68
- package/doc/modules/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint.md +0 -68
- package/doc/modules/NotificationResourceV1GetBundleByName.md +0 -68
- package/doc/modules/NotificationResourceV1GetBundleFacets.md +0 -68
- package/doc/modules/NotificationResourceV1GetEventTypes.md +0 -76
- package/doc/modules/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup.md +0 -68
- package/doc/modules/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName.md +0 -70
- package/doc/modules/NotificationResourceV1GetLinkedBehaviorGroups.md +0 -73
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroup.md +0 -69
- package/doc/modules/NotificationResourceV1UpdateBehaviorGroupActions.md +0 -69
- package/doc/modules/NotificationResourceV1UpdateEventTypeBehaviors.md +0 -69
- package/doc/modules/OrgConfigResourceV1GetDailyDigestTimePreference.md +0 -67
- package/doc/modules/OrgConfigResourceV1SaveDailyDigestTimePreference.md +0 -68
- package/doc/modules/index.md +0 -624
- package/doc/modules/types.md +0 -77
- package/doc/modules.md +0 -32
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts +0 -0
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts.map +0 -0
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js +0 -0
- /package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js.map +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts.map +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.js +0 -0
- /package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.js.map +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts.map +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js +0 -0
- /package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.js +0 -0
- /package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js +0 -0
- /package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js +0 -0
- /package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.js +0 -0
- /package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.js.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.d.ts +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.d.ts.map +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.js +0 -0
- /package/{dist/NotificationResourceV1UpdateEventTypeEndpoints → NotificationResourceV1UpdateEventTypeEndpoints}/index.js.map +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts.map +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.js +0 -0
- /package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.js.map +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts.map +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js +0 -0
- /package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js.map +0 -0
- /package/{dist/api.d.ts.map → api.d.ts.map} +0 -0
- /package/{dist/api.js → api.js} +0 -0
- /package/{dist/api.js.map → api.js.map} +0 -0
- /package/{dist → esm}/index.d.ts +0 -0
- /package/{dist → esm}/types/index.d.ts +0 -0
- /package/{dist → esm}/v2/EventResourceV2GetEvents/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2CreateBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2DeleteBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetApplicationsFacets/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetBundleByName/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetBundleFacets/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetEventTypes/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateBehaviorGroup/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts +0 -0
- /package/{dist → esm}/v2/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts +0 -0
- /package/{dist → esm}/v2/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts +0 -0
- /package/{dist → esm}/v2/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts +0 -0
- /package/{dist → esm}/v2/index.d.ts +0 -0
- /package/{dist → esm}/v2/types/index.d.ts +0 -0
- /package/{dist/index.d.ts.map → index.d.ts.map} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/index.js.map → index.js.map} +0 -0
- /package/{dist/types → types}/index.d.ts.map +0 -0
- /package/{dist/types → types}/index.js +0 -0
- /package/{dist/types → types}/index.js.map +0 -0
- /package/{dist/v2 → v2}/EventResourceV2GetEvents/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/EventResourceV2GetEvents/index.js +0 -0
- /package/{dist/v2 → v2}/EventResourceV2GetEvents/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2AppendBehaviorGroupToEventType/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2AppendBehaviorGroupToEventType/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2AppendBehaviorGroupToEventType/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2CreateBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2CreateBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2CreateBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2DeleteBehaviorGroupFromEventType/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2FindBehaviorGroupsByBundleId/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2FindBehaviorGroupsByBundleId/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationByNameAndBundleName/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationByNameAndBundleName/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationByNameAndBundleName/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationsFacets/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationsFacets/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetApplicationsFacets/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleByName/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleByName/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleByName/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleFacets/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleFacets/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetBundleFacets/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypes/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypes/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypes/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetLinkedBehaviorGroups/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetLinkedBehaviorGroups/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2GetLinkedBehaviorGroups/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroup/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroup/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroup/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroupActions/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroupActions/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateBehaviorGroupActions/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeBehaviors/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeBehaviors/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeBehaviors/index.js.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeEndpoints/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeEndpoints/index.js +0 -0
- /package/{dist/v2 → v2}/NotificationResourceV2UpdateEventTypeEndpoints/index.js.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2GetDailyDigestTimePreference/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2GetDailyDigestTimePreference/index.js +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2GetDailyDigestTimePreference/index.js.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2SaveDailyDigestTimePreference/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js +0 -0
- /package/{dist/v2 → v2}/OrgConfigResourceV2SaveDailyDigestTimePreference/index.js.map +0 -0
- /package/{dist/v2 → v2}/api.d.ts.map +0 -0
- /package/{dist/v2 → v2}/api.js +0 -0
- /package/{dist/v2 → v2}/api.js.map +0 -0
- /package/{dist/v2 → v2}/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/index.js +0 -0
- /package/{dist/v2 → v2}/index.js.map +0 -0
- /package/{dist/v2 → v2}/types/index.d.ts.map +0 -0
- /package/{dist/v2 → v2}/types/index.js +0 -0
- /package/{dist/v2 → v2}/types/index.js.map +0 -0
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetEventTypesObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && true && true && true && true && true && true && true && true && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Lists all event types. You can filter the returned list by bundle, application name, or unmuted types.
|
|
8
|
+
* @summary List all event types
|
|
9
|
+
* @param {NotificationResourceV1GetEventTypesParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1GetEventTypesParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1GetEventTypesObjectParams(config) ? config[0] : ['applicationIds', 'bundleId', 'eventTypeName', 'excludeMutedTypes', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { applicationIds, bundleId, eventTypeName, excludeMutedTypes, limit, offset, pageNumber, sortBy, sortBy2, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes`;
|
|
17
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
20
|
+
const localVarHeaderParameter = {};
|
|
21
|
+
const localVarQueryParameter = {};
|
|
22
|
+
if (applicationIds) {
|
|
23
|
+
localVarQueryParameter['applicationIds'] = Array.from(applicationIds);
|
|
24
|
+
}
|
|
25
|
+
if (bundleId !== undefined) {
|
|
26
|
+
localVarQueryParameter['bundleId'] = bundleId;
|
|
27
|
+
}
|
|
28
|
+
if (eventTypeName !== undefined) {
|
|
29
|
+
localVarQueryParameter['eventTypeName'] = eventTypeName;
|
|
30
|
+
}
|
|
31
|
+
if (excludeMutedTypes !== undefined) {
|
|
32
|
+
localVarQueryParameter['excludeMutedTypes'] = excludeMutedTypes;
|
|
33
|
+
}
|
|
34
|
+
if (limit !== undefined) {
|
|
35
|
+
localVarQueryParameter['limit'] = limit;
|
|
36
|
+
}
|
|
37
|
+
if (offset !== undefined) {
|
|
38
|
+
localVarQueryParameter['offset'] = offset;
|
|
39
|
+
}
|
|
40
|
+
if (pageNumber !== undefined) {
|
|
41
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
42
|
+
}
|
|
43
|
+
if (sortBy !== undefined) {
|
|
44
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
45
|
+
}
|
|
46
|
+
if (sortBy2 !== undefined) {
|
|
47
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
48
|
+
}
|
|
49
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
51
|
+
return {
|
|
52
|
+
urlObj: localVarUrlObj,
|
|
53
|
+
options: localVarRequestOptions,
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export default notificationResourceV1GetEventTypesParamCreator;
|
|
57
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypes/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsEjU,MAAM,iDAAiD,GAAG,CAAC,MAA+D,EAAyD,EAAE;IACnL,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACpG,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,+CAA+C,GAAG,KAAK,EAAE,GAAG,MAA0J,EAAwB,EAAE;IACzP,MAAM,MAAM,GAAG,iDAAiD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE,UAAU,EAAE,eAAe,EAAE,mBAAmB,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM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B,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;KAC7C;IAED,IAAI,OAAO,KAAK,SAAS,EAAE;QACvB,sBAAsB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;KAC/C;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { EventType } from '../types';
|
|
4
|
+
export type NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
* The UUID of the behavior group to check
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
behaviorGroupId: string;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
export type NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType = AxiosPromise<Array<EventType>>;
|
|
14
|
+
/**
|
|
15
|
+
* 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.
|
|
16
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
17
|
+
* @param {NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
export declare const notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator: (...config: ([NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
22
|
+
export default notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,MAAM,MAAM,yEAAyE,GAAG;IACtF;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,6EAA6E,GAAG,YAAY,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC;AAK3H;;;;;;EAME;AACF,eAAO,MAAM,+EAA+E,cAAqB,CAAC,CAAC,yEAAyE,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoBlP,CAAA;AAED,eAAe,+EAA+E,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
* @summary List the event types affected by the removal of a behavior group
|
|
9
|
+
* @param {NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams(config) ? config[0] : ['behaviorGroupId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { behaviorGroupId, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes/affectedByRemovalOfBehaviorGroup/{behaviorGroupId}`
|
|
17
|
+
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
+
return {
|
|
26
|
+
urlObj: localVarUrlObj,
|
|
27
|
+
options: localVarRequestOptions,
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
export default notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,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AAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,+EAA+E,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { EventType } from '../types';
|
|
4
|
+
export type NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
9
|
+
*/
|
|
10
|
+
applicationName: string;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { string }
|
|
14
|
+
* @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
15
|
+
*/
|
|
16
|
+
bundleName: string;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { string }
|
|
20
|
+
* @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
21
|
+
*/
|
|
22
|
+
eventTypeName: string;
|
|
23
|
+
options?: AxiosRequestConfig;
|
|
24
|
+
};
|
|
25
|
+
export type NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameReturnType = AxiosPromise<EventType>;
|
|
26
|
+
/**
|
|
27
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
28
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
29
|
+
* @param {NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams} config with all available params.
|
|
30
|
+
* @param {*} [options] Override http request option.
|
|
31
|
+
* @throws {RequiredError}
|
|
32
|
+
*/
|
|
33
|
+
export declare const notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator: (...config: ([NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams] | [string, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
34
|
+
export default notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
35
|
+
//# sourceMappingURL=index.d.ts.map
|
package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,MAAM,MAAM,0EAA0E,GAAG;IACvF;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,UAAU,EAAE,MAAM,CAAC;IACnB;;;;MAIE;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,8EAA8E,GAAG,YAAY,CAAC,SAAS,CAAC,CAAC;AAKrH;;;;;;EAME;AACF,eAAO,MAAM,gFAAgF,cAAqB,CAAC,CAAC,0EAA0E,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsBpQ,CAAA;AAED,eAAe,gFAAgF,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'applicationName') && Object.prototype.hasOwnProperty.call(params, 'bundleName') && Object.prototype.hasOwnProperty.call(params, 'eventTypeName');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
8
|
+
* @summary Retrieve an event type by bundle, application and event type names
|
|
9
|
+
* @param {NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'eventTypeName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { applicationName, bundleName, eventTypeName, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}/eventTypes/{eventTypeName}`
|
|
17
|
+
.replace(`{${"applicationName"}}`, encodeURIComponent(String(applicationName)))
|
|
18
|
+
.replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)))
|
|
19
|
+
.replace(`{${"eventTypeName"}}`, encodeURIComponent(String(eventTypeName)));
|
|
20
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
23
|
+
const localVarHeaderParameter = {};
|
|
24
|
+
const localVarQueryParameter = {};
|
|
25
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
27
|
+
return {
|
|
28
|
+
urlObj: localVarUrlObj,
|
|
29
|
+
options: localVarRequestOptions,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,MAAM,kFAAkF,GAAG,CAAC,MAAgG,EAA0F,EAAE;IACtR,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;AAC9N,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,gFAAgF,GAAG,KAAK,EAAE,GAAG,MAAqI,EAAwB,EAAE;IACrQ,MAAM,MAAM,GAAG,kFAAkF,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,YAAY,EAAE,eAAe,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAA+E,CAAC;IAC1U,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,aAAa,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5E,MAAM,YAAY,GAAG,+FAA+F;SAC/G,OAAO,CAAC,IAAI,iBAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;SAC9E,OAAO,CAAC,IAAI,YAAY,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;SACpE,OAAO,CAAC,IAAI,eAAe,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAChF,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,gFAAgF,CAAC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { BehaviorGroup } from '../types';
|
|
4
|
+
export type NotificationResourceV1GetLinkedBehaviorGroupsParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
9
|
+
*/
|
|
10
|
+
eventTypeId: string;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { number }
|
|
14
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
15
|
+
*/
|
|
16
|
+
limit?: number;
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type { number }
|
|
20
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
21
|
+
*/
|
|
22
|
+
offset?: number;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type { number }
|
|
26
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
27
|
+
*/
|
|
28
|
+
pageNumber?: number;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type { string }
|
|
32
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
33
|
+
*/
|
|
34
|
+
sortBy?: string;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type { string }
|
|
38
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
39
|
+
*/
|
|
40
|
+
sortBy2?: string;
|
|
41
|
+
options?: AxiosRequestConfig;
|
|
42
|
+
};
|
|
43
|
+
export type NotificationResourceV1GetLinkedBehaviorGroupsReturnType = AxiosPromise<Array<BehaviorGroup>>;
|
|
44
|
+
/**
|
|
45
|
+
* 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.
|
|
46
|
+
* @summary List the behavior groups linked to an event type
|
|
47
|
+
* @param {NotificationResourceV1GetLinkedBehaviorGroupsParams} config with all available params.
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
export declare const notificationResourceV1GetLinkedBehaviorGroupsParamCreator: (...config: ([NotificationResourceV1GetLinkedBehaviorGroupsParams] | [string, number, number, number, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
52
|
+
export default notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
|
|
53
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetLinkedBehaviorGroups/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,MAAM,mDAAmD,GAAG;IAChE;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAKzG;;;;;;EAME;AACF,eAAO,MAAM,yDAAyD,cAAqB,CAAC,CAAC,mDAAmD,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAwC9O,CAAA;AAED,eAAe,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true && true && true && true && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
* @summary List the behavior groups linked to an event type
|
|
9
|
+
* @param {NotificationResourceV1GetLinkedBehaviorGroupsParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1GetLinkedBehaviorGroupsParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams(config) ? config[0] : ['eventTypeId', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
17
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
if (limit !== undefined) {
|
|
24
|
+
localVarQueryParameter['limit'] = limit;
|
|
25
|
+
}
|
|
26
|
+
if (offset !== undefined) {
|
|
27
|
+
localVarQueryParameter['offset'] = offset;
|
|
28
|
+
}
|
|
29
|
+
if (pageNumber !== undefined) {
|
|
30
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
31
|
+
}
|
|
32
|
+
if (sortBy !== undefined) {
|
|
33
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
34
|
+
}
|
|
35
|
+
if (sortBy2 !== undefined) {
|
|
36
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
37
|
+
}
|
|
38
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
40
|
+
return {
|
|
41
|
+
urlObj: localVarUrlObj,
|
|
42
|
+
options: localVarRequestOptions,
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export default notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
|
|
46
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetLinkedBehaviorGroups/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAoDjU,MAAM,2DAA2D,GAAG,CAAC,MAAyE,EAAmE,EAAE;IACjN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACnI,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,yDAAyD,GAAG,KAAK,EAAE,GAAG,MAAsI,EAAwB,EAAE;IAC/O,MAAM,MAAM,GAAG,2DAA2D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,E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O,CAAC;KAC/C;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,yDAAyD,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
import type { UpdateBehaviorGroupRequest } from '../types';
|
|
4
|
+
export type NotificationResourceV1UpdateBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
* The UUID of the behavior group to update
|
|
7
|
+
* @type { string }
|
|
8
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* New parameters
|
|
13
|
+
* @type { UpdateBehaviorGroupRequest }
|
|
14
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupApi
|
|
15
|
+
*/
|
|
16
|
+
updateBehaviorGroupRequest: UpdateBehaviorGroupRequest;
|
|
17
|
+
options?: AxiosRequestConfig;
|
|
18
|
+
};
|
|
19
|
+
export type NotificationResourceV1UpdateBehaviorGroupReturnType = AxiosPromise<boolean>;
|
|
20
|
+
/**
|
|
21
|
+
* 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.
|
|
22
|
+
* @summary Update a behavior group
|
|
23
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupParams} config with all available params.
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
export declare const notificationResourceV1UpdateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1UpdateBehaviorGroupParams] | [string, UpdateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
28
|
+
export default notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AAKxF;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuB1N,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1UpdateBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && Object.prototype.hasOwnProperty.call(params, 'updateBehaviorGroupRequest');
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* 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.
|
|
8
|
+
* @summary Update a behavior group
|
|
9
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1UpdateBehaviorGroupParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1UpdateBehaviorGroupObjectParams(config) ? config[0] : ['id', 'updateBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { id, updateBehaviorGroupRequest, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/behaviorGroups/{id}`
|
|
17
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
serializeData: updateBehaviorGroupRequest,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,E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AAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,0BAA0B;KAC5C,CAAC;AACN,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV1UpdateBehaviorGroupActionsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The UUID of the behavior group to update
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupId: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { Array<string> }
|
|
13
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
14
|
+
*/
|
|
15
|
+
requestBody?: Array<string>;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1UpdateBehaviorGroupActionsReturnType = AxiosPromise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
21
|
+
* @summary Update the list of behavior group actions
|
|
22
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1UpdateBehaviorGroupActionsParamCreator: (...config: ([NotificationResourceV1UpdateBehaviorGroupActionsParams] | [string, Array<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,sDAAsD,GAAG;IACnE;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,0DAA0D,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAK9F;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,cAAqB,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuB3N,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
8
|
+
* @summary Update the list of behavior group actions
|
|
9
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1UpdateBehaviorGroupActionsParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { behaviorGroupId, requestBody, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/behaviorGroups/{behaviorGroupId}/actions`
|
|
17
|
+
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
serializeData: requestBody,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,M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,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,WAAW;KAC7B,CAAC;AACN,CAAC,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV1UpdateEventTypeBehaviorsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* UUID of the eventType to associate with the behavior group(s)
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
8
|
+
*/
|
|
9
|
+
eventTypeId: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { Set<string> }
|
|
13
|
+
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
14
|
+
*/
|
|
15
|
+
requestBody?: Set<string>;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1UpdateEventTypeBehaviorsReturnType = AxiosPromise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the list of behavior groups associated with an event type.
|
|
21
|
+
* @summary Update the list of behavior groups for an event type
|
|
22
|
+
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1UpdateEventTypeBehaviorsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeBehaviorsParams] | [string, Set<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAK5F;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,cAAqB,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuBrN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Updates the list of behavior groups associated with an event type.
|
|
8
|
+
* @summary Update the list of behavior groups for an event type
|
|
9
|
+
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1UpdateEventTypeBehaviorsParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { eventTypeId, requestBody, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
17
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
serializeData: requestBody,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,4DAA4D,GAAG,CAAC,MAA0E,EAAoE,EAAE;IACpN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAA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C/B,aAAa,EAAE,WAAW;KAC7B,CAAC;AACN,CAAC,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AxiosPromise, AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
export type NotificationResourceV1UpdateEventTypeEndpointsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* UUID of the eventType to associate with the endpoint(s)
|
|
6
|
+
* @type { string }
|
|
7
|
+
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
8
|
+
*/
|
|
9
|
+
eventTypeId: string;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { Set<string> }
|
|
13
|
+
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
14
|
+
*/
|
|
15
|
+
requestBody?: Set<string>;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1UpdateEventTypeEndpointsReturnType = AxiosPromise<string>;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the list of endpoints associated with an event type.
|
|
21
|
+
* @summary Update the list of endpoints for an event type
|
|
22
|
+
* @param {NotificationResourceV1UpdateEventTypeEndpointsParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1UpdateEventTypeEndpointsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeEndpointsParams] | [string, Set<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
|
|
27
|
+
export default notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeEndpoints/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAK5F;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,cAAqB,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuBrN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1UpdateEventTypeEndpointsObjectParams = (params) => {
|
|
4
|
+
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true;
|
|
5
|
+
};
|
|
6
|
+
/**
|
|
7
|
+
* Updates the list of endpoints associated with an event type.
|
|
8
|
+
* @summary Update the list of endpoints for an event type
|
|
9
|
+
* @param {NotificationResourceV1UpdateEventTypeEndpointsParams} config with all available params.
|
|
10
|
+
* @param {*} [options] Override http request option.
|
|
11
|
+
* @throws {RequiredError}
|
|
12
|
+
*/
|
|
13
|
+
export const notificationResourceV1UpdateEventTypeEndpointsParamCreator = async (...config) => {
|
|
14
|
+
const params = isNotificationResourceV1UpdateEventTypeEndpointsObjectParams(config) ? config[0] : ['eventTypeId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
|
+
const { eventTypeId, requestBody, options = {} } = params;
|
|
16
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/endpoints`
|
|
17
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
18
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
20
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
21
|
+
const localVarHeaderParameter = {};
|
|
22
|
+
const localVarQueryParameter = {};
|
|
23
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
+
return {
|
|
27
|
+
urlObj: localVarUrlObj,
|
|
28
|
+
options: localVarRequestOptions,
|
|
29
|
+
serializeData: requestBody,
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export default notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeEndpoints/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,4DAA4D,GAAG,CAAC,MAA0E,EAAoE,EAAE;IACpN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,IAAI,CAAA;AACnG,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,0DAA0D,GAAG,KAAK,EAAE,GAAG,MAA4G,EAAwB,EAAE;IACt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