@redhat-cloud-services/notifications-client 4.0.3 → 4.0.5
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/DrawerResourceV1GetDrawerEntries/index.d.ts +27 -27
- package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1GetDrawerEntries/index.js +22 -21
- package/dist/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +5 -5
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js +15 -10
- package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
- package/dist/EventResourceV1GetEvents/index.d.ts +38 -38
- package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -1
- package/dist/EventResourceV1GetEvents/index.js +26 -25
- package/dist/EventResourceV1GetEvents/index.js.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +8 -8
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +14 -9
- package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts +4 -4
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +15 -10
- package/dist/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +6 -6
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +14 -9
- package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +8 -8
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +14 -9
- package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +6 -7
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +14 -9
- package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +8 -8
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +14 -9
- package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts +6 -7
- package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js +14 -9
- package/dist/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +6 -7
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +14 -9
- package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts +6 -6
- package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleByName/index.js +14 -9
- package/dist/NotificationResourceV1GetBundleByName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts +6 -7
- package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetBundleFacets/index.js +14 -9
- package/dist/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts +23 -23
- package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypes/index.js +16 -11
- package/dist/NotificationResourceV1GetEventTypes/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +6 -7
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +14 -9
- package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +10 -10
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +14 -9
- package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +17 -18
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js +14 -9
- package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +6 -6
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +15 -10
- package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +8 -8
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +17 -12
- package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +8 -8
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +17 -12
- package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +8 -8
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js +17 -12
- package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +4 -4
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +14 -9
- package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +6 -6
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +15 -10
- package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
- package/dist/api.d.ts +48 -50
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +2 -0
- package/dist/api.js.map +1 -1
- package/dist/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +27 -27
- package/dist/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
- package/dist/esm/DrawerResourceV1GetDrawerEntries/index.js +16 -15
- package/dist/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
- package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +5 -5
- package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
- package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +8 -3
- package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
- package/dist/esm/EventResourceV1GetEvents/index.d.ts +38 -38
- package/dist/esm/EventResourceV1GetEvents/index.d.ts.map +1 -1
- package/dist/esm/EventResourceV1GetEvents/index.js +20 -19
- package/dist/esm/EventResourceV1GetEvents/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +8 -8
- package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +8 -3
- package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +4 -4
- package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.js +8 -3
- package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +6 -6
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +8 -3
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +8 -8
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +8 -3
- package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +6 -7
- package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +8 -3
- package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +8 -8
- package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +6 -7
- package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +6 -7
- package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleByName/index.d.ts +6 -6
- package/dist/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleByName/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleFacets/index.d.ts +6 -7
- package/dist/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetBundleFacets/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypes/index.d.ts +23 -23
- package/dist/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypes/index.js +10 -5
- package/dist/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +6 -7
- package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +10 -10
- package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +17 -18
- package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +8 -3
- package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +6 -6
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +8 -3
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +8 -8
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +11 -6
- package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +8 -8
- package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +11 -6
- package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +8 -8
- package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
- package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js +11 -6
- package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
- package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +4 -4
- package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +8 -3
- package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
- package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +6 -6
- package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
- package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +8 -3
- package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
- package/dist/esm/api.d.ts +48 -50
- package/dist/esm/api.d.ts.map +1 -1
- package/dist/esm/api.js +2 -0
- package/dist/esm/api.js.map +1 -1
- package/dist/esm/index.d.ts +24 -23
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/tests/integration/notifications.v1.integration.test.js +12 -3
- package/dist/esm/tests/integration/notifications.v1.integration.test.js.map +1 -1
- package/dist/esm/types/index.d.ts +203 -211
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +1 -38
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.d.ts +83 -0
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.js +68 -0
- package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +23 -0
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js +37 -0
- package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/dist/esm/v2/EventResourceV1GetEvents/index.d.ts +113 -0
- package/dist/esm/v2/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/dist/esm/v2/EventResourceV1GetEvents/index.js +83 -0
- package/dist/esm/v2/EventResourceV1GetEvents/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +28 -0
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +37 -0
- package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts +23 -0
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.js +37 -0
- package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +22 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.js +36 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +37 -0
- package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +22 -0
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +36 -0
- package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +29 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +37 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts +22 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.js +38 -0
- package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +22 -0
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +36 -0
- package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.d.ts +23 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.js +36 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.d.ts +22 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.js +38 -0
- package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.d.ts +71 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.js +62 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +22 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +36 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +38 -0
- package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +52 -0
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js +51 -0
- package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +29 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.js +38 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +28 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js +38 -0
- package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +28 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js +38 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +28 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js +38 -0
- package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -0
- package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +16 -0
- package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +35 -0
- package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +22 -0
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +37 -0
- package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/dist/esm/v2/api.d.ts +48 -46
- package/dist/esm/v2/api.d.ts.map +1 -1
- package/dist/esm/v2/api.js +26 -22
- package/dist/esm/v2/api.js.map +1 -1
- package/dist/esm/v2/index.d.ts +24 -21
- package/dist/esm/v2/index.d.ts.map +1 -1
- package/dist/esm/v2/index.js +24 -21
- package/dist/esm/v2/index.js.map +1 -1
- package/dist/esm/v2/tests/integration/notifications.v2.integration.test.js +21 -21
- package/dist/esm/v2/tests/integration/notifications.v2.integration.test.js.map +1 -1
- package/dist/esm/v2/types/index.d.ts +258 -198
- package/dist/esm/v2/types/index.d.ts.map +1 -1
- package/dist/esm/v2/types/index.js +1 -38
- package/dist/esm/v2/types/index.js.map +1 -1
- package/dist/index.d.ts +24 -23
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +39 -2
- package/dist/tests/integration/notifications.v1.integration.test.js +12 -3
- package/dist/tests/integration/notifications.v1.integration.test.js.map +1 -1
- package/dist/types/index.d.ts +203 -211
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +0 -39
- package/dist/types/index.js.map +1 -1
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.d.ts +83 -0
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.js +84 -0
- package/dist/v2/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +23 -0
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js +53 -0
- package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
- package/dist/v2/EventResourceV1GetEvents/index.d.ts +113 -0
- package/dist/v2/EventResourceV1GetEvents/index.d.ts.map +1 -0
- package/dist/v2/EventResourceV1GetEvents/index.js +99 -0
- package/dist/v2/EventResourceV1GetEvents/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +53 -0
- package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.js +53 -0
- package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +22 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.js +52 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +53 -0
- package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +22 -0
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +52 -0
- package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +29 -0
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +53 -0
- package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts +22 -0
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.js +54 -0
- package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +22 -0
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +52 -0
- package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetBundleByName/index.d.ts +23 -0
- package/dist/v2/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetBundleByName/index.js +52 -0
- package/dist/v2/NotificationResourceV1GetBundleByName/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.d.ts +22 -0
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.js +54 -0
- package/dist/v2/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetEventTypes/index.d.ts +71 -0
- package/dist/v2/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetEventTypes/index.js +78 -0
- package/dist/v2/NotificationResourceV1GetEventTypes/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +22 -0
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +52 -0
- package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +54 -0
- package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +52 -0
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js +67 -0
- package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +29 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.js +54 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js +54 -0
- package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js +54 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +28 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js +54 -0
- package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -0
- package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +16 -0
- package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
- package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +51 -0
- package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +22 -0
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +53 -0
- package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
- package/dist/v2/api.d.ts +48 -46
- package/dist/v2/api.d.ts.map +1 -1
- package/dist/v2/api.js +25 -21
- package/dist/v2/api.js.map +1 -1
- package/dist/v2/index.d.ts +24 -21
- package/dist/v2/index.d.ts.map +1 -1
- package/dist/v2/index.js +49 -43
- package/dist/v2/index.js.map +1 -1
- package/dist/v2/tests/integration/notifications.v2.integration.test.js +21 -21
- package/dist/v2/tests/integration/notifications.v2.integration.test.js.map +1 -1
- package/dist/v2/types/index.d.ts +258 -198
- package/dist/v2/types/index.d.ts.map +1 -1
- package/dist/v2/types/index.js +0 -39
- package/dist/v2/types/index.js.map +1 -1
- package/package.json +39 -2
- package/project.json +0 -3
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1CreateBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'createBehaviorGroupRequest');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary Create a behavior group
|
|
13
|
+
* @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1CreateBehaviorGroupParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1CreateBehaviorGroupObjectParams(config) ? config[0] : ['createBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { createBehaviorGroupRequest, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/behaviorGroups`;
|
|
21
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23
|
+
const localVarRequestOptions = { method: 'POST', ...options };
|
|
24
|
+
const localVarHeaderParameter = {};
|
|
25
|
+
const localVarQueryParameter = {};
|
|
26
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
29
|
+
const args = {
|
|
30
|
+
urlObj: localVarUrlObj,
|
|
31
|
+
options: localVarRequestOptions,
|
|
32
|
+
serializeData: createBehaviorGroupRequest,
|
|
33
|
+
};
|
|
34
|
+
return sendRequest(Promise.resolve(args));
|
|
35
|
+
};
|
|
36
|
+
export default notificationResourceV1CreateBehaviorGroupParamCreator;
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,4BAA4B,CAAC,CAAA;IAC9F,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,qDAAqD,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAA8G,EAAE,EAAE;IAClO,MAAM,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,4BAA4B,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,CAAoD,CAAC;IAChQ,MAAM,EAAE,0BAA0B,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5D,MAAM,YAAY,GAAG,+BAA+B,CAAC;IACrD,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,MAAgB,EAAE,GAAG,OAAO,EAAC,CAAC;IACvE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,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,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,0BAA0B;KAC5C,CAAC;IAEF,OAAO,WAAW,CAAsD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACnG,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type NotificationResourceV1DeleteBehaviorGroupParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The UUID of the behavior group to delete
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupApi
|
|
8
|
+
*/
|
|
9
|
+
id: any;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationResourceV1DeleteBehaviorGroupReturnType = any;
|
|
13
|
+
/**
|
|
14
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
15
|
+
* @summary Delete a behavior group
|
|
16
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV1DeleteBehaviorGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1DeleteBehaviorGroupParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
21
|
+
export default notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,GAAG,CAAC;IACR,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,GAAG,CAAC;AAStE;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAsB1M,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1DeleteBehaviorGroupObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'id');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
|
|
12
|
+
* @summary Delete a behavior group
|
|
13
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1DeleteBehaviorGroupParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1DeleteBehaviorGroupObjectParams(config) ? config[0] : ['id', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { id, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/behaviorGroups/{id}`
|
|
21
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
22
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24
|
+
const localVarRequestOptions = { method: 'DELETE', ...options };
|
|
25
|
+
const localVarHeaderParameter = {};
|
|
26
|
+
const localVarQueryParameter = {};
|
|
27
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
29
|
+
const args = {
|
|
30
|
+
urlObj: localVarUrlObj,
|
|
31
|
+
options: localVarRequestOptions,
|
|
32
|
+
};
|
|
33
|
+
return sendRequest(Promise.resolve(args));
|
|
34
|
+
};
|
|
35
|
+
export default notificationResourceV1DeleteBehaviorGroupParamCreator;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAA;IACtE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,qDAAqD,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAuF,EAAE,EAAE;IAC3M,MAAM,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,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,CAAoD,CAAC;IACxO,MAAM,EAAE,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACpC,MAAM,YAAY,GAAG,oCAAoC;SACpD,OAAO,CAAC,IAAI,IAAI,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;IAC1D,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,QAAkB,EAAE,GAAG,OAAO,EAAC,CAAC;IACzE,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,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAsD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACnG,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
|
|
14
|
+
*/
|
|
15
|
+
eventTypeId: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1DeleteBehaviorGroupFromEventTypeReturnType = void;
|
|
19
|
+
/**
|
|
20
|
+
* Delete a behavior group from the specified event type.
|
|
21
|
+
* @summary Delete a behavior group from an event type
|
|
22
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
27
|
+
export default notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,4DAA4D,GAAG;IACzE;;;;MAIE;IACF,eAAe,EAAE,GAAG,CAAC;IACrB;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gEAAgE,GAAG,IAAI,CAAC;AASpF;;;;;;EAME;AACF,eAAO,MAAM,kEAAkE,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,4DAA4D,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,0DAuBzO,CAAA;AAED,eAAe,kEAAkE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'behaviorGroupId') && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Delete a behavior group from the specified event type.
|
|
12
|
+
* @summary Delete a behavior group from an event type
|
|
13
|
+
* @param {NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams(config) ? config[0] : ['behaviorGroupId', 'eventTypeId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { behaviorGroupId, eventTypeId, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups/{behaviorGroupId}`
|
|
21
|
+
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)))
|
|
22
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
23
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25
|
+
const localVarRequestOptions = { method: 'DELETE', ...options };
|
|
26
|
+
const localVarHeaderParameter = {};
|
|
27
|
+
const localVarQueryParameter = {};
|
|
28
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
30
|
+
const args = {
|
|
31
|
+
urlObj: localVarUrlObj,
|
|
32
|
+
options: localVarRequestOptions,
|
|
33
|
+
};
|
|
34
|
+
return sendRequest(Promise.resolve(args));
|
|
35
|
+
};
|
|
36
|
+
export default notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,oEAAoE,GAAG,CAAC,MAAkF,EAA4E,EAAE;IAC5O,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,aAAa,CAAC,CAAA;IACrJ,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,kEAAkE,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAyG,EAAE,EAAE;IAC1O,MAAM,MAAM,GAAG,oEAAoE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,aAAa,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,CAAiE,CAAC;IAC9R,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC9D,MAAM,YAAY,GAAG,0EAA0E;SAC1F,OAAO,CAAC,IAAI,iBAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;SAC9E,OAAO,CAAC,IAAI,aAAa,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5E,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,QAAkB,EAAE,GAAG,OAAO,EAAC,CAAC;IACzE,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,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAmE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAChH,CAAC,CAAA;AAED,eAAe,kEAAkE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type NotificationResourceV1FindBehaviorGroupsByBundleIdParams = {
|
|
4
|
+
/**
|
|
5
|
+
* UUID of the bundle to retrieve the behavior groups for.
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1FindBehaviorGroupsByBundleIdApi
|
|
8
|
+
*/
|
|
9
|
+
bundleId: any;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationResourceV1FindBehaviorGroupsByBundleIdReturnType = any;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
* @summary List behavior groups in a bundle
|
|
16
|
+
* @param {NotificationResourceV1FindBehaviorGroupsByBundleIdParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1FindBehaviorGroupsByBundleIdParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
21
|
+
export default notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,wDAAwD,GAAG;IACrE;;;;MAIE;IACF,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,4DAA4D,GAAG,GAAG,CAAC;AAS/E;;;;;;EAME;AACF,eAAO,MAAM,8DAA8D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,wDAAwD,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAsB5N,CAAA;AAED,eAAe,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'bundleId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary List behavior groups in a bundle
|
|
13
|
+
* @param {NotificationResourceV1FindBehaviorGroupsByBundleIdParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams(config) ? config[0] : ['bundleId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { bundleId, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/bundles/{bundleId}/behaviorGroups`
|
|
21
|
+
.replace(`{${"bundleId"}}`, encodeURIComponent(String(bundleId)));
|
|
22
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
25
|
+
const localVarHeaderParameter = {};
|
|
26
|
+
const localVarQueryParameter = {};
|
|
27
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
29
|
+
const args = {
|
|
30
|
+
urlObj: localVarUrlObj,
|
|
31
|
+
options: localVarRequestOptions,
|
|
32
|
+
};
|
|
33
|
+
return sendRequest(Promise.resolve(args));
|
|
34
|
+
};
|
|
35
|
+
export default notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,gEAAgE,GAAG,CAAC,MAA8E,EAAwE,EAAE;IAChO,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,UAAU,CAAC,CAAA;IAC5E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,8DAA8D,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAgG,EAAE,EAAE;IAC7N,MAAM,MAAM,GAAG,gEAAgE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,UAAU,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,CAA6D,CAAC;IAChQ,MAAM,EAAE,QAAQ,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC1C,MAAM,YAAY,GAAG,kDAAkD;SAClE,OAAO,CAAC,IAAI,UAAU,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IACtE,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,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAA+D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5G,CAAC,CAAA;AAED,eAAe,8DAA8D,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
import type { Application } from '../types';
|
|
4
|
+
export type NotificationResourceV1GetApplicationByNameAndBundleNameParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
|
|
9
|
+
*/
|
|
10
|
+
applicationName: any;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @type { any }
|
|
14
|
+
* @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
|
|
15
|
+
*/
|
|
16
|
+
bundleName: any;
|
|
17
|
+
options?: AxiosRequestConfig;
|
|
18
|
+
};
|
|
19
|
+
export type NotificationResourceV1GetApplicationByNameAndBundleNameReturnType = Application;
|
|
20
|
+
/**
|
|
21
|
+
* 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.
|
|
22
|
+
* @summary Retrieve an application by bundle and application names
|
|
23
|
+
* @param {NotificationResourceV1GetApplicationByNameAndBundleNameParams} config with all available params.
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
export declare const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetApplicationByNameAndBundleNameParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Application, any, {}>>;
|
|
28
|
+
export default notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,6DAA6D,GAAG;IAC1E;;;;MAIE;IACF,eAAe,EAAE,GAAG,CAAC;IACrB;;;;MAIE;IACF,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,iEAAiE,GAAG,WAAW,CAAC;AAS5F;;;;;;EAME;AACF,eAAO,MAAM,mEAAmE,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,6DAA6D,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,iEAuB3O,CAAA;AAED,eAAe,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'applicationName') && Object.prototype.hasOwnProperty.call(params[0], 'bundleName');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary Retrieve an application by bundle and application names
|
|
13
|
+
* @param {NotificationResourceV1GetApplicationByNameAndBundleNameParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { applicationName, bundleName, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}`
|
|
21
|
+
.replace(`{${"applicationName"}}`, encodeURIComponent(String(applicationName)))
|
|
22
|
+
.replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)));
|
|
23
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
26
|
+
const localVarHeaderParameter = {};
|
|
27
|
+
const localVarQueryParameter = {};
|
|
28
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
30
|
+
const args = {
|
|
31
|
+
urlObj: localVarUrlObj,
|
|
32
|
+
options: localVarRequestOptions,
|
|
33
|
+
};
|
|
34
|
+
return sendRequest(Promise.resolve(args));
|
|
35
|
+
};
|
|
36
|
+
export default notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,qEAAqE,GAAG,CAAC,MAAmF,EAA6E,EAAE;IAC/O,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA;IACpJ,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,mEAAmE,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAA0G,EAAE,EAAE;IAC5O,MAAM,MAAM,GAAG,qEAAqE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,YAAY,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,CAAkE,CAAC;IAC/R,MAAM,EAAE,eAAe,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC7D,MAAM,YAAY,GAAG,oEAAoE;SACpF,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,CAAC;IAC1E,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,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAoE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACjH,CAAC,CAAA;AAED,eAAe,mEAAmE,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type NotificationResourceV1GetApplicationsFacetsParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1GetApplicationsFacetsApi
|
|
8
|
+
*/
|
|
9
|
+
bundleName?: any;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationResourceV1GetApplicationsFacetsReturnType = any;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
* @summary List configured applications
|
|
16
|
+
* @param {NotificationResourceV1GetApplicationsFacetsParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV1GetApplicationsFacetsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetApplicationsFacetsParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
21
|
+
export default notificationResourceV1GetApplicationsFacetsParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetApplicationsFacets/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,iDAAiD,GAAG;IAC9D;;;;MAIE;IACF,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,GAAG,CAAC;AASxE;;;;;;EAME;AACF,eAAO,MAAM,uDAAuD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,iDAAiD,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyB9M,CAAA;AAED,eAAe,uDAAuD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetApplicationsFacetsObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary List configured applications
|
|
13
|
+
* @param {NotificationResourceV1GetApplicationsFacetsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1GetApplicationsFacetsParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1GetApplicationsFacetsObjectParams(config) ? config[0] : ['bundleName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { bundleName, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/facets/applications`;
|
|
21
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
24
|
+
const localVarHeaderParameter = {};
|
|
25
|
+
const localVarQueryParameter = {};
|
|
26
|
+
if (bundleName !== undefined) {
|
|
27
|
+
localVarQueryParameter['bundleName'] = bundleName;
|
|
28
|
+
}
|
|
29
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
31
|
+
const args = {
|
|
32
|
+
urlObj: localVarUrlObj,
|
|
33
|
+
options: localVarRequestOptions,
|
|
34
|
+
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
36
|
+
};
|
|
37
|
+
export default notificationResourceV1GetApplicationsFacetsParamCreator;
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetApplicationsFacets/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,yDAAyD,GAAG,CAAC,MAAuE,EAAiE,EAAE;IAC3M,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,uDAAuD,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAyF,EAAE,EAAE;IAC/M,MAAM,MAAM,GAAG,yDAAyD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,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,CAAsD,CAAC;IACpP,MAAM,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5C,MAAM,YAAY,GAAG,oCAAoC,CAAC;IAC1D,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;IAEzC,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC3B,sBAAsB,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;IACtD,CAAC;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAwD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACrG,CAAC,CAAA;AAED,eAAe,uDAAuD,CAAC"}
|
package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi
|
|
8
|
+
*/
|
|
9
|
+
endpointId: any;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType = any;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
* @summary List the behavior groups affected by the removal of an endpoint
|
|
16
|
+
* @param {NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
21
|
+
export default notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,wEAAwE,GAAG;IACrF;;;;MAIE;IACF,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,4EAA4E,GAAG,GAAG,CAAC;AAS/F;;;;;;EAME;AACF,eAAO,MAAM,8EAA8E,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,wEAAwE,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAsB5P,CAAA;AAED,eAAe,8EAA8E,CAAC"}
|
package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'endpointId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary List the behavior groups affected by the removal of an endpoint
|
|
13
|
+
* @param {NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointObjectParams(config) ? config[0] : ['endpointId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { endpointId, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/behaviorGroups/affectedByRemovalOfEndpoint/{endpointId}`
|
|
21
|
+
.replace(`{${"endpointId"}}`, encodeURIComponent(String(endpointId)));
|
|
22
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
25
|
+
const localVarHeaderParameter = {};
|
|
26
|
+
const localVarQueryParameter = {};
|
|
27
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
29
|
+
const args = {
|
|
30
|
+
urlObj: localVarUrlObj,
|
|
31
|
+
options: localVarRequestOptions,
|
|
32
|
+
};
|
|
33
|
+
return sendRequest(Promise.resolve(args));
|
|
34
|
+
};
|
|
35
|
+
export default notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,gFAAgF,GAAG,CAAC,MAA8F,EAAwF,EAAE;IAChR,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA;IAC9E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,8EAA8E,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAgH,EAAE,EAAE;IAC7P,MAAM,MAAM,GAAG,gFAAgF,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,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,CAA6E,CAAC;IAClS,MAAM,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5C,MAAM,YAAY,GAAG,wEAAwE;SACxF,OAAO,CAAC,IAAI,YAAY,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAC1E,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,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAA+E,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5H,CAAC,CAAA;AAED,eAAe,8EAA8E,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
import type { Bundle } from '../types';
|
|
4
|
+
export type NotificationResourceV1GetBundleByNameParams = {
|
|
5
|
+
/**
|
|
6
|
+
*
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof NotificationResourceV1GetBundleByNameApi
|
|
9
|
+
*/
|
|
10
|
+
bundleName: any;
|
|
11
|
+
options?: AxiosRequestConfig;
|
|
12
|
+
};
|
|
13
|
+
export type NotificationResourceV1GetBundleByNameReturnType = Bundle;
|
|
14
|
+
/**
|
|
15
|
+
* Retrieves the details of a bundle by searching by its name.
|
|
16
|
+
* @summary Retrieve a bundle by name
|
|
17
|
+
* @param {NotificationResourceV1GetBundleByNameParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
export declare const notificationResourceV1GetBundleByNameParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetBundleByNameParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Bundle, any, {}>>;
|
|
22
|
+
export default notificationResourceV1GetBundleByNameParamCreator;
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetBundleByName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;;MAIE;IACF,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG,MAAM,CAAC;AASrE;;;;;;EAME;AACF,eAAO,MAAM,iDAAiD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,2CAA2C,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,4DAsBlM,CAAA;AAED,eAAe,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1GetBundleByNameObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'bundleName');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the details of a bundle by searching by its name.
|
|
12
|
+
* @summary Retrieve a bundle by name
|
|
13
|
+
* @param {NotificationResourceV1GetBundleByNameParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const notificationResourceV1GetBundleByNameParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1GetBundleByNameObjectParams(config) ? config[0] : ['bundleName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { bundleName, options = {} } = params;
|
|
20
|
+
const localVarPath = `/notifications/bundles/{bundleName}`
|
|
21
|
+
.replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)));
|
|
22
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
25
|
+
const localVarHeaderParameter = {};
|
|
26
|
+
const localVarQueryParameter = {};
|
|
27
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
29
|
+
const args = {
|
|
30
|
+
urlObj: localVarUrlObj,
|
|
31
|
+
options: localVarRequestOptions,
|
|
32
|
+
};
|
|
33
|
+
return sendRequest(Promise.resolve(args));
|
|
34
|
+
};
|
|
35
|
+
export default notificationResourceV1GetBundleByNameParamCreator;
|
|
36
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetBundleByName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,mDAAmD,GAAG,CAAC,MAAiE,EAA2D,EAAE;IACzL,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,CAAA;IAC9E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,iDAAiD,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAmF,EAAE,EAAE;IACnM,MAAM,MAAM,GAAG,mDAAmD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,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,CAAgD,CAAC;IACxO,MAAM,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC5C,MAAM,YAAY,GAAG,qCAAqC;SACrD,OAAO,CAAC,IAAI,YAAY,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAC1E,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,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAkD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAA;AAED,eAAe,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type NotificationResourceV1GetBundleFacetsParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1GetBundleFacetsApi
|
|
8
|
+
*/
|
|
9
|
+
includeApplications?: any;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type NotificationResourceV1GetBundleFacetsReturnType = any;
|
|
13
|
+
/**
|
|
14
|
+
* 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.
|
|
15
|
+
* @summary List configured bundles
|
|
16
|
+
* @param {NotificationResourceV1GetBundleFacetsParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const notificationResourceV1GetBundleFacetsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetBundleFacetsParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
21
|
+
export default notificationResourceV1GetBundleFacetsParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../v2/NotificationResourceV1GetBundleFacets/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;;MAIE;IACF,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG,GAAG,CAAC;AASlE;;;;;;EAME;AACF,eAAO,MAAM,iDAAiD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,2CAA2C,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyBlM,CAAA;AAED,eAAe,iDAAiD,CAAC"}
|