@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,52 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type NotificationResourceV1GetLinkedBehaviorGroupsParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
8
|
+
*/
|
|
9
|
+
eventTypeId: any;
|
|
10
|
+
/**
|
|
11
|
+
* Number of items per page, if not specified 20 is used.
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
14
|
+
*/
|
|
15
|
+
limit?: any;
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @type { any }
|
|
19
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
20
|
+
*/
|
|
21
|
+
offset?: any;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type { any }
|
|
25
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
26
|
+
*/
|
|
27
|
+
pageNumber?: any;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type { any }
|
|
31
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
32
|
+
*/
|
|
33
|
+
sortBy?: any;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type { any }
|
|
37
|
+
* @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
|
|
38
|
+
*/
|
|
39
|
+
sortBy2?: any;
|
|
40
|
+
options?: AxiosRequestConfig;
|
|
41
|
+
};
|
|
42
|
+
export type NotificationResourceV1GetLinkedBehaviorGroupsReturnType = any;
|
|
43
|
+
/**
|
|
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.
|
|
45
|
+
* @summary List the behavior groups linked to an event type
|
|
46
|
+
* @param {NotificationResourceV1GetLinkedBehaviorGroupsParams} config with all available params.
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
export declare const notificationResourceV1GetLinkedBehaviorGroupsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetLinkedBehaviorGroupsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
51
|
+
export default notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
|
|
52
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/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"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1GetLinkedBehaviorGroupsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams = function (params) {
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeId');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 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.
|
|
16
|
+
* @summary List the behavior groups linked to an event type
|
|
17
|
+
* @param {NotificationResourceV1GetLinkedBehaviorGroupsParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
var notificationResourceV1GetLinkedBehaviorGroupsParamCreator = function (sendRequest) {
|
|
22
|
+
var config = [];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
25
|
+
}
|
|
26
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
+
var params, eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
+
return tslib_1.__generator(this, function (_b) {
|
|
29
|
+
params = isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams(config) ? config[0] : ['eventTypeId', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'options'].reduce(function (acc, curr, index) {
|
|
30
|
+
var _a;
|
|
31
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
+
}, {});
|
|
33
|
+
eventTypeId = params.eventTypeId, limit = params.limit, offset = params.offset, pageNumber = params.pageNumber, sortBy = params.sortBy, sortBy2 = params.sortBy2, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
+
localVarPath = "/notifications/eventTypes/{eventTypeId}/behaviorGroups"
|
|
35
|
+
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
36
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
38
|
+
localVarHeaderParameter = {};
|
|
39
|
+
localVarQueryParameter = {};
|
|
40
|
+
if (limit !== undefined) {
|
|
41
|
+
localVarQueryParameter['limit'] = limit;
|
|
42
|
+
}
|
|
43
|
+
if (offset !== undefined) {
|
|
44
|
+
localVarQueryParameter['offset'] = offset;
|
|
45
|
+
}
|
|
46
|
+
if (pageNumber !== undefined) {
|
|
47
|
+
localVarQueryParameter['pageNumber'] = pageNumber;
|
|
48
|
+
}
|
|
49
|
+
if (sortBy !== undefined) {
|
|
50
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
51
|
+
}
|
|
52
|
+
if (sortBy2 !== undefined) {
|
|
53
|
+
localVarQueryParameter['sort_by'] = sortBy2;
|
|
54
|
+
}
|
|
55
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
56
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
57
|
+
args = {
|
|
58
|
+
urlObj: localVarUrlObj,
|
|
59
|
+
options: localVarRequestOptions,
|
|
60
|
+
};
|
|
61
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
};
|
|
65
|
+
exports.notificationResourceV1GetLinkedBehaviorGroupsParamCreator = notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
|
|
66
|
+
exports.default = exports.notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
|
|
67
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV1GetLinkedBehaviorGroups/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAoDjU,IAAM,2DAA2D,GAAG,UAAC,MAAyE;IAC5I,IAAM,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,KA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M,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;gBAC3B,sBAAsB,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;YACtD,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBACxB,sBAAsB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;YAChD,CAAC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA0D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACtG,CAAA;AA1CY,QAAA,yDAAyD,6DA0CrE;AAED,kBAAe,iEAAyD,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 { UpdateBehaviorGroupRequest } from '../types';
|
|
4
|
+
export type NotificationResourceV1UpdateBehaviorGroupParams = {
|
|
5
|
+
/**
|
|
6
|
+
* The UUID of the behavior group to update
|
|
7
|
+
* @type { any }
|
|
8
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupApi
|
|
9
|
+
*/
|
|
10
|
+
id: any;
|
|
11
|
+
/**
|
|
12
|
+
* New parameters
|
|
13
|
+
* @type { UpdateBehaviorGroupRequest }
|
|
14
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupApi
|
|
15
|
+
*/
|
|
16
|
+
updateBehaviorGroupRequest: UpdateBehaviorGroupRequest;
|
|
17
|
+
options?: AxiosRequestConfig;
|
|
18
|
+
};
|
|
19
|
+
export type NotificationResourceV1UpdateBehaviorGroupReturnType = any;
|
|
20
|
+
/**
|
|
21
|
+
* Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
|
|
22
|
+
* @summary Update a behavior group
|
|
23
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupParams} config with all available params.
|
|
24
|
+
* @param {*} [options] Override http request option.
|
|
25
|
+
* @throws {RequiredError}
|
|
26
|
+
*/
|
|
27
|
+
export declare const notificationResourceV1UpdateBehaviorGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateBehaviorGroupParams] | [any, UpdateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
28
|
+
export default notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
29
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1UpdateBehaviorGroupParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV1UpdateBehaviorGroupObjectParams = function (params) {
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'id') && Object.prototype.hasOwnProperty.call(params[0], 'updateBehaviorGroupRequest');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 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.
|
|
16
|
+
* @summary Update a behavior group
|
|
17
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
var notificationResourceV1UpdateBehaviorGroupParamCreator = function (sendRequest) {
|
|
22
|
+
var config = [];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
25
|
+
}
|
|
26
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
+
var params, id, updateBehaviorGroupRequest, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
+
return tslib_1.__generator(this, function (_b) {
|
|
29
|
+
params = isNotificationResourceV1UpdateBehaviorGroupObjectParams(config) ? config[0] : ['id', 'updateBehaviorGroupRequest', 'options'].reduce(function (acc, curr, index) {
|
|
30
|
+
var _a;
|
|
31
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
+
}, {});
|
|
33
|
+
id = params.id, updateBehaviorGroupRequest = params.updateBehaviorGroupRequest, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
+
localVarPath = "/notifications/behaviorGroups/{id}"
|
|
35
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
36
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
38
|
+
localVarHeaderParameter = {};
|
|
39
|
+
localVarQueryParameter = {};
|
|
40
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
+
args = {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
serializeData: updateBehaviorGroupRequest,
|
|
47
|
+
};
|
|
48
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.notificationResourceV1UpdateBehaviorGroupParamCreator = notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
53
|
+
exports.default = exports.notificationResourceV1UpdateBehaviorGroupParamCreator;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../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AC,WAAI,IAAI,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAEpD,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,uBAAc,CAAC,CAAC;YACvD,sBAAsB,sBAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAE7D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,0BAA0B;aAC5C,CAAC;YAEF,sBAAO,WAAW,CAAsD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CAClG,CAAA;AAzBY,QAAA,qDAAqD,yDAyBjE;AAED,kBAAe,6DAAqD,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 NotificationResourceV1UpdateBehaviorGroupActionsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* The UUID of the behavior group to update
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
8
|
+
*/
|
|
9
|
+
behaviorGroupId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
|
|
14
|
+
*/
|
|
15
|
+
body: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1UpdateBehaviorGroupActionsReturnType = any;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
21
|
+
* @summary Update the list of behavior group actions
|
|
22
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1UpdateBehaviorGroupActionsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateBehaviorGroupActionsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27
|
+
export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1UpdateBehaviorGroupActionsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = function (params) {
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'behaviorGroupId') && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Updates the list of actions to be executed in that particular behavior group after an event is received.
|
|
16
|
+
* @summary Update the list of behavior group actions
|
|
17
|
+
* @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
var notificationResourceV1UpdateBehaviorGroupActionsParamCreator = function (sendRequest) {
|
|
22
|
+
var config = [];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
25
|
+
}
|
|
26
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
+
var params, behaviorGroupId, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
+
return tslib_1.__generator(this, function (_b) {
|
|
29
|
+
params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', 'body', 'options'].reduce(function (acc, curr, index) {
|
|
30
|
+
var _a;
|
|
31
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
+
}, {});
|
|
33
|
+
behaviorGroupId = params.behaviorGroupId, body = params.body, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
+
localVarPath = "/notifications/behaviorGroups/{behaviorGroupId}/actions"
|
|
35
|
+
.replace("{".concat("behaviorGroupId", "}"), encodeURIComponent(String(behaviorGroupId)));
|
|
36
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
38
|
+
localVarHeaderParameter = {};
|
|
39
|
+
localVarQueryParameter = {};
|
|
40
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
+
args = {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
serializeData: body,
|
|
47
|
+
};
|
|
48
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.notificationResourceV1UpdateBehaviorGroupActionsParamCreator = notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
53
|
+
exports.default = exports.notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,8DAA8D,GAAG,UAAC,MAA4E;IAClJ,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B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e,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAE7D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,IAAI;aACtB,CAAC;YAEF,sBAAO,WAAW,CAA6D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACzG,CAAA;AAzBY,QAAA,4DAA4D,gEAyBxE;AAED,kBAAe,oEAA4D,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 NotificationResourceV1UpdateEventTypeBehaviorsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* UUID of the eventType to associate with the behavior group(s)
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
8
|
+
*/
|
|
9
|
+
eventTypeId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
|
|
14
|
+
*/
|
|
15
|
+
body: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1UpdateEventTypeBehaviorsReturnType = any;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the list of behavior groups associated with an event type.
|
|
21
|
+
* @summary Update the list of behavior groups for an event type
|
|
22
|
+
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1UpdateEventTypeBehaviorsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateEventTypeBehaviorsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27
|
+
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1UpdateEventTypeBehaviorsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = function (params) {
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeId') && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Updates the list of behavior groups associated with an event type.
|
|
16
|
+
* @summary Update the list of behavior groups for an event type
|
|
17
|
+
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
var notificationResourceV1UpdateEventTypeBehaviorsParamCreator = function (sendRequest) {
|
|
22
|
+
var config = [];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
25
|
+
}
|
|
26
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
+
var params, eventTypeId, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
+
return tslib_1.__generator(this, function (_b) {
|
|
29
|
+
params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'body', 'options'].reduce(function (acc, curr, index) {
|
|
30
|
+
var _a;
|
|
31
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
+
}, {});
|
|
33
|
+
eventTypeId = params.eventTypeId, body = params.body, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
+
localVarPath = "/notifications/eventTypes/{eventTypeId}/behaviorGroups"
|
|
35
|
+
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
36
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
38
|
+
localVarHeaderParameter = {};
|
|
39
|
+
localVarQueryParameter = {};
|
|
40
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
+
args = {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
serializeData: body,
|
|
47
|
+
};
|
|
48
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.notificationResourceV1UpdateEventTypeBehaviorsParamCreator = notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
53
|
+
exports.default = exports.notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,4DAA4D,GAAG,UAAC,MAA0E;IAC9I,IAAM,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,M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AAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,IAAI;aACtB,CAAC;YAEF,sBAAO,WAAW,CAA2D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACvG,CAAA;AAzBY,QAAA,0DAA0D,8DAyBtE;AAED,kBAAe,kEAA0D,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 NotificationResourceV1UpdateEventTypeEndpointsParams = {
|
|
4
|
+
/**
|
|
5
|
+
* UUID of the eventType to associate with the endpoint(s)
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
8
|
+
*/
|
|
9
|
+
eventTypeId: any;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
* @type { any }
|
|
13
|
+
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
14
|
+
*/
|
|
15
|
+
body: any;
|
|
16
|
+
options?: AxiosRequestConfig;
|
|
17
|
+
};
|
|
18
|
+
export type NotificationResourceV1UpdateEventTypeEndpointsReturnType = any;
|
|
19
|
+
/**
|
|
20
|
+
* Updates the list of endpoints associated with an event type.
|
|
21
|
+
* @summary Update the list of endpoints for an event type
|
|
22
|
+
* @param {NotificationResourceV1UpdateEventTypeEndpointsParams} config with all available params.
|
|
23
|
+
* @param {*} [options] Override http request option.
|
|
24
|
+
* @throws {RequiredError}
|
|
25
|
+
*/
|
|
26
|
+
export declare const notificationResourceV1UpdateEventTypeEndpointsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateEventTypeEndpointsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27
|
+
export default notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
28
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.notificationResourceV1UpdateEventTypeEndpointsParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isNotificationResourceV1UpdateEventTypeEndpointsObjectParams = function (params) {
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeId') && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Updates the list of endpoints associated with an event type.
|
|
16
|
+
* @summary Update the list of endpoints for an event type
|
|
17
|
+
* @param {NotificationResourceV1UpdateEventTypeEndpointsParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
var notificationResourceV1UpdateEventTypeEndpointsParamCreator = function (sendRequest) {
|
|
22
|
+
var config = [];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
25
|
+
}
|
|
26
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
+
var params, eventTypeId, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
+
return tslib_1.__generator(this, function (_b) {
|
|
29
|
+
params = isNotificationResourceV1UpdateEventTypeEndpointsObjectParams(config) ? config[0] : ['eventTypeId', 'body', 'options'].reduce(function (acc, curr, index) {
|
|
30
|
+
var _a;
|
|
31
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
+
}, {});
|
|
33
|
+
eventTypeId = params.eventTypeId, body = params.body, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
+
localVarPath = "/notifications/eventTypes/{eventTypeId}/endpoints"
|
|
35
|
+
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
36
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'PUT' }, options);
|
|
38
|
+
localVarHeaderParameter = {};
|
|
39
|
+
localVarQueryParameter = {};
|
|
40
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
42
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
43
|
+
args = {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
serializeData: body,
|
|
47
|
+
};
|
|
48
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
49
|
+
});
|
|
50
|
+
});
|
|
51
|
+
};
|
|
52
|
+
exports.notificationResourceV1UpdateEventTypeEndpointsParamCreator = notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
53
|
+
exports.default = exports.notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
54
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/NotificationResourceV1UpdateEventTypeEndpoints/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,4DAA4D,GAAG,UAAC,MAA0E;IAC9I,IAAM,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;AACK,IAAM,0DAA0D,GAAG,UAAO,WAAmC;IAA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;AAzBY,QAAA,0DAA0D,8DAyBtE;AAED,kBAAe,kEAA0D,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type OrgConfigResourceV1GetDailyDigestTimePreferenceParams = {
|
|
4
|
+
options?: AxiosRequestConfig;
|
|
5
|
+
};
|
|
6
|
+
export type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType = any;
|
|
7
|
+
/**
|
|
8
|
+
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
9
|
+
* @summary Retrieve the daily digest time
|
|
10
|
+
* @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
|
|
11
|
+
* @param {*} [options] Override http request option.
|
|
12
|
+
* @throws {RequiredError}
|
|
13
|
+
*/
|
|
14
|
+
export declare const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15
|
+
export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
16
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/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"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
// @ts-ignore
|
|
6
|
+
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
|
+
var isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = function (params) {
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
16
|
+
* @summary Retrieve the daily digest time
|
|
17
|
+
* @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
|
|
18
|
+
* @param {*} [options] Override http request option.
|
|
19
|
+
* @throws {RequiredError}
|
|
20
|
+
*/
|
|
21
|
+
var orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = function (sendRequest) {
|
|
22
|
+
var config = [];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
25
|
+
}
|
|
26
|
+
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
27
|
+
var params, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
28
|
+
return tslib_1.__generator(this, function (_b) {
|
|
29
|
+
params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce(function (acc, curr, index) {
|
|
30
|
+
var _a;
|
|
31
|
+
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
32
|
+
}, {});
|
|
33
|
+
_a = params.options, options = _a === void 0 ? {} : _a;
|
|
34
|
+
localVarPath = "/org-config/daily-digest/time-preference";
|
|
35
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
36
|
+
localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
|
|
37
|
+
localVarHeaderParameter = {};
|
|
38
|
+
localVarQueryParameter = {};
|
|
39
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
40
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
41
|
+
args = {
|
|
42
|
+
urlObj: localVarUrlObj,
|
|
43
|
+
options: localVarRequestOptions,
|
|
44
|
+
};
|
|
45
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
46
|
+
});
|
|
47
|
+
});
|
|
48
|
+
};
|
|
49
|
+
exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
50
|
+
exports.default = exports.orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
51
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgBjU,IAAM,6DAA6D,GAAG,UAAC,MAA2E;IAChJ,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,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
|
@@ -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 OrgConfigResourceV1SaveDailyDigestTimePreferenceParams = {
|
|
4
|
+
/**
|
|
5
|
+
*
|
|
6
|
+
* @type { any }
|
|
7
|
+
* @memberof OrgConfigResourceV1SaveDailyDigestTimePreferenceApi
|
|
8
|
+
*/
|
|
9
|
+
body: any;
|
|
10
|
+
options?: AxiosRequestConfig;
|
|
11
|
+
};
|
|
12
|
+
export type OrgConfigResourceV1SaveDailyDigestTimePreferenceReturnType = void;
|
|
13
|
+
/**
|
|
14
|
+
* Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
|
|
15
|
+
* @summary Set the daily digest time
|
|
16
|
+
* @param {OrgConfigResourceV1SaveDailyDigestTimePreferenceParams} config with all available params.
|
|
17
|
+
* @param {*} [options] Override http request option.
|
|
18
|
+
* @throws {RequiredError}
|
|
19
|
+
*/
|
|
20
|
+
export declare const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([OrgConfigResourceV1SaveDailyDigestTimePreferenceParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
21
|
+
export default orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
|
|
22
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/OrgConfigResourceV1SaveDailyDigestTimePreference/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,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,0DAA0D,GAAG,IAAI,CAAC;AAS9E;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,0DAwBxN,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|