@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
|
@@ -1,46 +1,45 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
import type { BehaviorGroup } from '../types';
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
4
3
|
export type NotificationResourceV1GetLinkedBehaviorGroupsParams = {
|
|
5
4
|
/**
|
|
6
5
|
*
|
|
7
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
8
7
|
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
9
8
|
*/
|
|
10
|
-
eventTypeId:
|
|
9
|
+
eventTypeId: any;
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
13
|
-
* @type {
|
|
11
|
+
* Number of items per page, if not specified 20 is used.
|
|
12
|
+
* @type { any }
|
|
14
13
|
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
15
14
|
*/
|
|
16
|
-
limit?:
|
|
15
|
+
limit?: any;
|
|
17
16
|
/**
|
|
18
17
|
*
|
|
19
|
-
* @type {
|
|
18
|
+
* @type { any }
|
|
20
19
|
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
21
20
|
*/
|
|
22
|
-
offset?:
|
|
21
|
+
offset?: any;
|
|
23
22
|
/**
|
|
24
23
|
*
|
|
25
|
-
* @type {
|
|
24
|
+
* @type { any }
|
|
26
25
|
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
27
26
|
*/
|
|
28
|
-
pageNumber?:
|
|
27
|
+
pageNumber?: any;
|
|
29
28
|
/**
|
|
30
29
|
*
|
|
31
|
-
* @type {
|
|
30
|
+
* @type { any }
|
|
32
31
|
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
33
32
|
*/
|
|
34
|
-
sortBy?:
|
|
33
|
+
sortBy?: any;
|
|
35
34
|
/**
|
|
36
35
|
*
|
|
37
|
-
* @type {
|
|
36
|
+
* @type { any }
|
|
38
37
|
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
39
38
|
*/
|
|
40
|
-
sortBy2?:
|
|
39
|
+
sortBy2?: any;
|
|
41
40
|
options?: AxiosRequestConfig;
|
|
42
41
|
};
|
|
43
|
-
export type NotificationResourceV1GetLinkedBehaviorGroupsReturnType =
|
|
42
|
+
export type NotificationResourceV1GetLinkedBehaviorGroupsReturnType = any;
|
|
44
43
|
/**
|
|
45
44
|
* 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
45
|
* @summary List the behavior groups linked to an event type
|
|
@@ -48,6 +47,6 @@ export type NotificationResourceV1GetLinkedBehaviorGroupsReturnType = AxiosPromi
|
|
|
48
47
|
* @param {*} [options] Override http request option.
|
|
49
48
|
* @throws {RequiredError}
|
|
50
49
|
*/
|
|
51
|
-
export declare const notificationResourceV1GetLinkedBehaviorGroupsParamCreator: (...config: ([NotificationResourceV1GetLinkedBehaviorGroupsParams] | [
|
|
50
|
+
export declare const notificationResourceV1GetLinkedBehaviorGroupsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetLinkedBehaviorGroupsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
52
51
|
export default notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
|
|
53
52
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetLinkedBehaviorGroups/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetLinkedBehaviorGroups/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,mDAAmD,GAAG;IAChE;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;;;MAIE;IACF,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;;;MAIE;IACF,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,uDAAuD,GAAG,GAAG,CAAC;AAS1E;;;;;;EAME;AACF,eAAO,MAAM,yDAAyD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,mDAAmD,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDA0C3O,CAAA;AAED,eAAe,yDAAyD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams = (params) => {
|
|
4
|
-
|
|
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], 'eventTypeId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* 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.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams = (params) =>
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1GetLinkedBehaviorGroupsParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1GetLinkedBehaviorGroupsParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams(config) ? config[0] : ['eventTypeId', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
@@ -37,10 +41,11 @@ export const notificationResourceV1GetLinkedBehaviorGroupsParamCreator = async (
|
|
|
37
41
|
}
|
|
38
42
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
39
43
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
40
|
-
|
|
44
|
+
const args = {
|
|
41
45
|
urlObj: localVarUrlObj,
|
|
42
46
|
options: localVarRequestOptions,
|
|
43
47
|
};
|
|
48
|
+
return sendRequest(Promise.resolve(args));
|
|
44
49
|
};
|
|
45
50
|
export default notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
|
|
46
51
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,
|
|
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,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,aAAa,CAAC,CAAA;IAC/E,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,yDAAyD,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAoH,EAAE,EAAE;IAC5O,MAAM,MAAM,GAAG,2DAA2D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CA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AE,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,CAA0D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACvG,CAAC,CAAA;AAED,eAAe,yDAAyD,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { UpdateBehaviorGroupRequest } from '../types';
|
|
4
4
|
export type NotificationResourceV1UpdateBehaviorGroupParams = {
|
|
5
5
|
/**
|
|
6
6
|
* The UUID of the behavior group to update
|
|
7
|
-
* @type {
|
|
7
|
+
* @type { any }
|
|
8
8
|
* @memberof NotificationResourceV1UpdateBehaviorGroupApi
|
|
9
9
|
*/
|
|
10
|
-
id:
|
|
10
|
+
id: any;
|
|
11
11
|
/**
|
|
12
12
|
* New parameters
|
|
13
13
|
* @type { UpdateBehaviorGroupRequest }
|
|
@@ -16,7 +16,7 @@ export type NotificationResourceV1UpdateBehaviorGroupParams = {
|
|
|
16
16
|
updateBehaviorGroupRequest: UpdateBehaviorGroupRequest;
|
|
17
17
|
options?: AxiosRequestConfig;
|
|
18
18
|
};
|
|
19
|
-
export type NotificationResourceV1UpdateBehaviorGroupReturnType =
|
|
19
|
+
export type NotificationResourceV1UpdateBehaviorGroupReturnType = any;
|
|
20
20
|
/**
|
|
21
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
22
|
* @summary Update a behavior group
|
|
@@ -24,6 +24,6 @@ export type NotificationResourceV1UpdateBehaviorGroupReturnType = AxiosPromise<b
|
|
|
24
24
|
* @param {*} [options] Override http request option.
|
|
25
25
|
* @throws {RequiredError}
|
|
26
26
|
*/
|
|
27
|
-
export declare const notificationResourceV1UpdateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1UpdateBehaviorGroupParams] | [
|
|
27
|
+
export declare const notificationResourceV1UpdateBehaviorGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateBehaviorGroupParams] | [any, UpdateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
28
28
|
export default notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
29
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroup/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,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,GAAG,CAAC;IACR;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,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,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,yDAyBtO,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1UpdateBehaviorGroupObjectParams = (params) => {
|
|
4
|
-
|
|
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') && Object.prototype.hasOwnProperty.call(params[0], 'updateBehaviorGroupRequest');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* 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.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1UpdateBehaviorGroupObjectParams = (params) => {
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1UpdateBehaviorGroupParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1UpdateBehaviorGroupParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1UpdateBehaviorGroupObjectParams(config) ? config[0] : ['id', 'updateBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { id, updateBehaviorGroupRequest, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/behaviorGroups/{id}`
|
|
@@ -23,11 +27,12 @@ export const notificationResourceV1UpdateBehaviorGroupParamCreator = async (...c
|
|
|
23
27
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
28
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
29
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
-
|
|
30
|
+
const args = {
|
|
27
31
|
urlObj: localVarUrlObj,
|
|
28
32
|
options: localVarRequestOptions,
|
|
29
33
|
serializeData: updateBehaviorGroupRequest,
|
|
30
34
|
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
31
36
|
};
|
|
32
37
|
export default notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,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,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,4BAA4B,CAAC,CAAA;IACvJ,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD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AAO,WAAW,CAAsD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACnG,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type NotificationResourceV1UpdateBehaviorGroupActionsParams = {
|
|
4
4
|
/**
|
|
5
5
|
* The UUID of the behavior group to update
|
|
6
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
7
7
|
* @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
8
8
|
*/
|
|
9
|
-
behaviorGroupId:
|
|
9
|
+
behaviorGroupId: any;
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
12
|
-
* @type {
|
|
12
|
+
* @type { any }
|
|
13
13
|
* @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
body: any;
|
|
16
16
|
options?: AxiosRequestConfig;
|
|
17
17
|
};
|
|
18
|
-
export type NotificationResourceV1UpdateBehaviorGroupActionsReturnType =
|
|
18
|
+
export type NotificationResourceV1UpdateBehaviorGroupActionsReturnType = any;
|
|
19
19
|
/**
|
|
20
20
|
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
21
21
|
* @summary Update the list of behavior group actions
|
|
@@ -23,6 +23,6 @@ export type NotificationResourceV1UpdateBehaviorGroupActionsReturnType = AxiosPr
|
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
26
|
-
export declare const notificationResourceV1UpdateBehaviorGroupActionsParamCreator: (...config: ([NotificationResourceV1UpdateBehaviorGroupActionsParams] | [
|
|
26
|
+
export declare const notificationResourceV1UpdateBehaviorGroupActionsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateBehaviorGroupActionsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27
27
|
export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/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,sDAAsD,GAAG;IACnE;;;;MAIE;IACF,eAAe,EAAE,GAAG,CAAC;IACrB;;;;MAIE;IACF,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,0DAA0D,GAAG,GAAG,CAAC;AAS7E;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyB7N,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = (params) => {
|
|
4
|
-
|
|
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], 'body');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
@@ -10,9 +14,9 @@ const isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = (params)
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1UpdateBehaviorGroupActionsParamCreator = async (...config) => {
|
|
14
|
-
const params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', '
|
|
15
|
-
const { behaviorGroupId,
|
|
17
|
+
export const notificationResourceV1UpdateBehaviorGroupActionsParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', 'body', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { behaviorGroupId, body, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/behaviorGroups/{behaviorGroupId}/actions`
|
|
17
21
|
.replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
|
|
18
22
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -23,11 +27,12 @@ export const notificationResourceV1UpdateBehaviorGroupActionsParamCreator = asyn
|
|
|
23
27
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
28
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
29
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
-
|
|
30
|
+
const args = {
|
|
27
31
|
urlObj: localVarUrlObj,
|
|
28
32
|
options: localVarRequestOptions,
|
|
29
|
-
serializeData:
|
|
33
|
+
serializeData: body,
|
|
30
34
|
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
31
36
|
};
|
|
32
37
|
export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,
|
|
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,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,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,MAAM,CAAC,CAAA;IAC9I,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,4DAA4D,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAmG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,eAAe,4DAA4D,CAAC"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type NotificationResourceV1UpdateEventTypeBehaviorsParams = {
|
|
4
4
|
/**
|
|
5
5
|
* UUID of the eventType to associate with the behavior group(s)
|
|
6
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
7
7
|
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
8
8
|
*/
|
|
9
|
-
eventTypeId:
|
|
9
|
+
eventTypeId: any;
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
12
|
-
* @type {
|
|
12
|
+
* @type { any }
|
|
13
13
|
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
body: any;
|
|
16
16
|
options?: AxiosRequestConfig;
|
|
17
17
|
};
|
|
18
|
-
export type NotificationResourceV1UpdateEventTypeBehaviorsReturnType =
|
|
18
|
+
export type NotificationResourceV1UpdateEventTypeBehaviorsReturnType = any;
|
|
19
19
|
/**
|
|
20
20
|
* Updates the list of behavior groups associated with an event type.
|
|
21
21
|
* @summary Update the list of behavior groups for an event type
|
|
@@ -23,6 +23,6 @@ export type NotificationResourceV1UpdateEventTypeBehaviorsReturnType = AxiosProm
|
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
26
|
-
export declare const notificationResourceV1UpdateEventTypeBehaviorsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeBehaviorsParams] | [
|
|
26
|
+
export declare const notificationResourceV1UpdateEventTypeBehaviorsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateEventTypeBehaviorsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27
27
|
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/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,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,GAAG,CAAC;AAS3E;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyBzN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = (params) => {
|
|
4
|
-
|
|
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], 'eventTypeId') && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Updates the list of behavior groups associated with an event type.
|
|
@@ -10,9 +14,9 @@ const isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = (params) =>
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1UpdateEventTypeBehaviorsParamCreator = async (...config) => {
|
|
14
|
-
const params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', '
|
|
15
|
-
const { eventTypeId,
|
|
17
|
+
export const notificationResourceV1UpdateEventTypeBehaviorsParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'body', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { eventTypeId, body, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
17
21
|
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
18
22
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -23,11 +27,12 @@ export const notificationResourceV1UpdateEventTypeBehaviorsParamCreator = async
|
|
|
23
27
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
28
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
29
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
-
|
|
30
|
+
const args = {
|
|
27
31
|
urlObj: localVarUrlObj,
|
|
28
32
|
options: localVarRequestOptions,
|
|
29
|
-
serializeData:
|
|
33
|
+
serializeData: body,
|
|
30
34
|
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
31
36
|
};
|
|
32
37
|
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,
|
|
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,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,aAAa,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAA;IAC1I,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,0DAA0D,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAiG,EAAE,EAAE;IAC1N,MAAM,MAAM,GAAG,4DAA4D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,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
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type NotificationResourceV1UpdateEventTypeEndpointsParams = {
|
|
4
4
|
/**
|
|
5
5
|
* UUID of the eventType to associate with the endpoint(s)
|
|
6
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
7
7
|
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
8
8
|
*/
|
|
9
|
-
eventTypeId:
|
|
9
|
+
eventTypeId: any;
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
12
|
-
* @type {
|
|
12
|
+
* @type { any }
|
|
13
13
|
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
body: any;
|
|
16
16
|
options?: AxiosRequestConfig;
|
|
17
17
|
};
|
|
18
|
-
export type NotificationResourceV1UpdateEventTypeEndpointsReturnType =
|
|
18
|
+
export type NotificationResourceV1UpdateEventTypeEndpointsReturnType = any;
|
|
19
19
|
/**
|
|
20
20
|
* Updates the list of endpoints associated with an event type.
|
|
21
21
|
* @summary Update the list of endpoints for an event type
|
|
@@ -23,6 +23,6 @@ export type NotificationResourceV1UpdateEventTypeEndpointsReturnType = AxiosProm
|
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
26
|
-
export declare const notificationResourceV1UpdateEventTypeEndpointsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeEndpointsParams] | [
|
|
26
|
+
export declare const notificationResourceV1UpdateEventTypeEndpointsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateEventTypeEndpointsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27
27
|
export default notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeEndpoints/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeEndpoints/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,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,GAAG,CAAC;AAS3E;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyBzN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1UpdateEventTypeEndpointsObjectParams = (params) => {
|
|
4
|
-
|
|
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], 'eventTypeId') && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Updates the list of endpoints associated with an event type.
|
|
@@ -10,9 +14,9 @@ const isNotificationResourceV1UpdateEventTypeEndpointsObjectParams = (params) =>
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1UpdateEventTypeEndpointsParamCreator = async (...config) => {
|
|
14
|
-
const params = isNotificationResourceV1UpdateEventTypeEndpointsObjectParams(config) ? config[0] : ['eventTypeId', '
|
|
15
|
-
const { eventTypeId,
|
|
17
|
+
export const notificationResourceV1UpdateEventTypeEndpointsParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isNotificationResourceV1UpdateEventTypeEndpointsObjectParams(config) ? config[0] : ['eventTypeId', 'body', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { eventTypeId, body, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/eventTypes/{eventTypeId}/endpoints`
|
|
17
21
|
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
18
22
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -23,11 +27,12 @@ export const notificationResourceV1UpdateEventTypeEndpointsParamCreator = async
|
|
|
23
27
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
24
28
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25
29
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
26
|
-
|
|
30
|
+
const args = {
|
|
27
31
|
urlObj: localVarUrlObj,
|
|
28
32
|
options: localVarRequestOptions,
|
|
29
|
-
serializeData:
|
|
33
|
+
serializeData: body,
|
|
30
34
|
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
31
36
|
};
|
|
32
37
|
export default notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +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,
|
|
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,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,aAAa,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,CAAA;IAC1I,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,0DAA0D,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAiG,EAAE,EAAE;IAC1N,MAAM,MAAM,GAAG,4DAA4D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,aAAa,EAAE,MAAM,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,CAAyD,CAAC;IACnQ,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACnD,MAAM,YAAY,GAAG,mDAAmD;SACnE,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,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,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,IAAI;KACtB,CAAC;IAEF,OAAO,WAAW,CAA2D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACxG,CAAC,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type OrgConfigResourceV1GetDailyDigestTimePreferenceParams = {
|
|
4
4
|
options?: AxiosRequestConfig;
|
|
5
5
|
};
|
|
6
|
-
export type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType =
|
|
6
|
+
export type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType = any;
|
|
7
7
|
/**
|
|
8
8
|
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
9
9
|
* @summary Retrieve the daily digest time
|
|
@@ -11,6 +11,6 @@ export type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType = AxiosPro
|
|
|
11
11
|
* @param {*} [options] Override http request option.
|
|
12
12
|
* @throws {RequiredError}
|
|
13
13
|
*/
|
|
14
|
-
export declare const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator: (...config: ([OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [AxiosRequestConfig])) => Promise<
|
|
14
|
+
export declare const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15
15
|
export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/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,qDAAqD,GAAG;IAClE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,yDAAyD,GAAG,GAAG,CAAC;AAS5E;;;;;;EAME;AACF,eAAO,MAAM,2DAA2D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,qDAAqD,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,yDAqBjN,CAAA;AAED,eAAe,2DAA2D,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = (params) => {
|
|
4
|
-
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
@@ -10,7 +14,7 @@ const isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = (params) =
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = async (...config) => {
|
|
17
|
+
export const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { options = {} } = params;
|
|
16
20
|
const localVarPath = `/org-config/daily-digest/time-preference`;
|
|
@@ -21,10 +25,11 @@ export const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = async
|
|
|
21
25
|
const localVarQueryParameter = {};
|
|
22
26
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
23
27
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
24
|
-
|
|
28
|
+
const args = {
|
|
25
29
|
urlObj: localVarUrlObj,
|
|
26
30
|
options: localVarRequestOptions,
|
|
27
31
|
};
|
|
32
|
+
return sendRequest(Promise.resolve(args));
|
|
28
33
|
};
|
|
29
34
|
export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
30
35
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAgBjU,MAAM,6DAA6D,GAAG,CAAC,MAA2E,EAAqE,EAAE;IACvN,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAgBjU,MAAM,6DAA6D,GAAG,CAAC,MAA2E,EAAqE,EAAE;IACvN,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,2DAA2D,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAwF,EAAE,EAAE;IAClN,MAAM,MAAM,GAAG,6DAA6D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAA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