@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,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,38 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeId') && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Updates the list of behavior groups associated with an event type.
|
|
12
|
+
* @summary Update the list of behavior groups for an event type
|
|
13
|
+
* @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
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;
|
|
20
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
|
|
21
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
22
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
25
|
+
const localVarHeaderParameter = {};
|
|
26
|
+
const localVarQueryParameter = {};
|
|
27
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
30
|
+
const args = {
|
|
31
|
+
urlObj: localVarUrlObj,
|
|
32
|
+
options: localVarRequestOptions,
|
|
33
|
+
serializeData: body,
|
|
34
|
+
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
36
|
+
};
|
|
37
|
+
export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/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,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,wDAAwD;SACxE,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"}
|
|
@@ -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,38 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isNotificationResourceV1UpdateEventTypeEndpointsObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeId') && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Updates the list of endpoints associated with an event type.
|
|
12
|
+
* @summary Update the list of endpoints for an event type
|
|
13
|
+
* @param {NotificationResourceV1UpdateEventTypeEndpointsParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
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;
|
|
20
|
+
const localVarPath = `/notifications/eventTypes/{eventTypeId}/endpoints`
|
|
21
|
+
.replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
|
|
22
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
25
|
+
const localVarHeaderParameter = {};
|
|
26
|
+
const localVarQueryParameter = {};
|
|
27
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
29
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
30
|
+
const args = {
|
|
31
|
+
urlObj: localVarUrlObj,
|
|
32
|
+
options: localVarRequestOptions,
|
|
33
|
+
serializeData: body,
|
|
34
|
+
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
36
|
+
};
|
|
37
|
+
export default notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
38
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/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"}
|
|
@@ -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,35 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
12
|
+
* @summary Retrieve the daily digest time
|
|
13
|
+
* @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { options = {} } = params;
|
|
20
|
+
const localVarPath = `/org-config/daily-digest/time-preference`;
|
|
21
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23
|
+
const localVarRequestOptions = { method: 'GET', ...options };
|
|
24
|
+
const localVarHeaderParameter = {};
|
|
25
|
+
const localVarQueryParameter = {};
|
|
26
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
28
|
+
const args = {
|
|
29
|
+
urlObj: localVarUrlObj,
|
|
30
|
+
options: localVarRequestOptions,
|
|
31
|
+
};
|
|
32
|
+
return sendRequest(Promise.resolve(args));
|
|
33
|
+
};
|
|
34
|
+
export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/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,CAAC,CAAC,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,CAA0D,CAAC;IAC9O,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAChC,MAAM,YAAY,GAAG,0CAA0C,CAAC;IAChE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAA4D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACzG,CAAC,CAAA;AAED,eAAe,2DAA2D,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
|
+
export type 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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// @ts-ignore
|
|
2
|
+
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
|
+
const isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams = (params) => {
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'body');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 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.
|
|
12
|
+
* @summary Set the daily digest time
|
|
13
|
+
* @param {OrgConfigResourceV1SaveDailyDigestTimePreferenceParams} config with all available params.
|
|
14
|
+
* @param {*} [options] Override http request option.
|
|
15
|
+
* @throws {RequiredError}
|
|
16
|
+
*/
|
|
17
|
+
export const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = async (sendRequest, ...config) => {
|
|
18
|
+
const params = isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['body', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
19
|
+
const { body, options = {} } = params;
|
|
20
|
+
const localVarPath = `/org-config/daily-digest/time-preference`;
|
|
21
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
23
|
+
const localVarRequestOptions = { method: 'PUT', ...options };
|
|
24
|
+
const localVarHeaderParameter = {};
|
|
25
|
+
const localVarQueryParameter = {};
|
|
26
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
29
|
+
const args = {
|
|
30
|
+
urlObj: localVarUrlObj,
|
|
31
|
+
options: localVarRequestOptions,
|
|
32
|
+
serializeData: body,
|
|
33
|
+
};
|
|
34
|
+
return sendRequest(Promise.resolve(args));
|
|
35
|
+
};
|
|
36
|
+
export default orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
|
|
37
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,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,MAAM,CAAC,CAAA;IACxE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,4DAA4D,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAA8F,EAAE,EAAE;IACzN,MAAM,MAAM,GAAG,8DAA8D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,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,CAA2D,CAAC;IACxP,MAAM,EAAE,IAAI,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACtC,MAAM,YAAY,GAAG,0CAA0C,CAAC;IAChE,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,CAA6D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC1G,CAAC,CAAA;AAED,eAAe,4DAA4D,CAAC"}
|
package/dist/esm/v2/api.d.ts
CHANGED
|
@@ -1,50 +1,52 @@
|
|
|
1
1
|
import { ApiConfig } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
2
|
-
import { EventResourceV2GetEventsReturnType, NotificationResourceV2AppendBehaviorGroupToEventTypeReturnType, NotificationResourceV2CreateBehaviorGroupReturnType, NotificationResourceV2DeleteBehaviorGroupReturnType, NotificationResourceV2DeleteBehaviorGroupFromEventTypeReturnType, NotificationResourceV2FindBehaviorGroupsByBundleIdReturnType, NotificationResourceV2GetApplicationByNameAndBundleNameReturnType, NotificationResourceV2GetApplicationsFacetsReturnType, NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType, NotificationResourceV2GetBundleByNameReturnType, NotificationResourceV2GetBundleFacetsReturnType, NotificationResourceV2GetEventTypesReturnType, NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType, NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameReturnType, NotificationResourceV2GetLinkedBehaviorGroupsReturnType, NotificationResourceV2UpdateBehaviorGroupReturnType, NotificationResourceV2UpdateBehaviorGroupActionsReturnType, NotificationResourceV2UpdateEventTypeBehaviorsReturnType, NotificationResourceV2UpdateEventTypeEndpointsReturnType, OrgConfigResourceV2GetDailyDigestTimePreferenceReturnType, OrgConfigResourceV2SaveDailyDigestTimePreferenceReturnType } from './index';
|
|
3
|
-
type endpointReturnTypes = {
|
|
4
|
-
eventResourceV2GetEvents: EventResourceV2GetEventsReturnType;
|
|
5
|
-
notificationResourceV2AppendBehaviorGroupToEventType: NotificationResourceV2AppendBehaviorGroupToEventTypeReturnType;
|
|
6
|
-
notificationResourceV2CreateBehaviorGroup: NotificationResourceV2CreateBehaviorGroupReturnType;
|
|
7
|
-
notificationResourceV2DeleteBehaviorGroup: NotificationResourceV2DeleteBehaviorGroupReturnType;
|
|
8
|
-
notificationResourceV2DeleteBehaviorGroupFromEventType: NotificationResourceV2DeleteBehaviorGroupFromEventTypeReturnType;
|
|
9
|
-
notificationResourceV2FindBehaviorGroupsByBundleId: NotificationResourceV2FindBehaviorGroupsByBundleIdReturnType;
|
|
10
|
-
notificationResourceV2GetApplicationByNameAndBundleName: NotificationResourceV2GetApplicationByNameAndBundleNameReturnType;
|
|
11
|
-
notificationResourceV2GetApplicationsFacets: NotificationResourceV2GetApplicationsFacetsReturnType;
|
|
12
|
-
notificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpoint: NotificationResourceV2GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType;
|
|
13
|
-
notificationResourceV2GetBundleByName: NotificationResourceV2GetBundleByNameReturnType;
|
|
14
|
-
notificationResourceV2GetBundleFacets: NotificationResourceV2GetBundleFacetsReturnType;
|
|
15
|
-
notificationResourceV2GetEventTypes: NotificationResourceV2GetEventTypesReturnType;
|
|
16
|
-
notificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroup: NotificationResourceV2GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType;
|
|
17
|
-
notificationResourceV2GetEventTypesByNameAndBundleAndApplicationName: NotificationResourceV2GetEventTypesByNameAndBundleAndApplicationNameReturnType;
|
|
18
|
-
notificationResourceV2GetLinkedBehaviorGroups: NotificationResourceV2GetLinkedBehaviorGroupsReturnType;
|
|
19
|
-
notificationResourceV2UpdateBehaviorGroup: NotificationResourceV2UpdateBehaviorGroupReturnType;
|
|
20
|
-
notificationResourceV2UpdateBehaviorGroupActions: NotificationResourceV2UpdateBehaviorGroupActionsReturnType;
|
|
21
|
-
notificationResourceV2UpdateEventTypeBehaviors: NotificationResourceV2UpdateEventTypeBehaviorsReturnType;
|
|
22
|
-
notificationResourceV2UpdateEventTypeEndpoints: NotificationResourceV2UpdateEventTypeEndpointsReturnType;
|
|
23
|
-
orgConfigResourceV2GetDailyDigestTimePreference: OrgConfigResourceV2GetDailyDigestTimePreferenceReturnType;
|
|
24
|
-
orgConfigResourceV2SaveDailyDigestTimePreference: OrgConfigResourceV2SaveDailyDigestTimePreferenceReturnType;
|
|
25
|
-
};
|
|
26
2
|
export declare const NotificationsClient: (BASE_PATH: string, instance?: ApiConfig) => import("packages/shared/dist/base").BaseAPI & import("@redhat-cloud-services/javascript-clients-shared/dist/utils").APIFactoryResponse<{
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
3
|
+
drawerResourceV1GetDrawerEntries: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./DrawerResourceV1GetDrawerEntries").DrawerResourceV1GetDrawerEntriesParams] | [any, any, any, any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").PageDrawerEntryPayload, any, {}>>;
|
|
4
|
+
drawerResourceV1UpdateNotificationReadStatus: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./DrawerResourceV1UpdateNotificationReadStatus").DrawerResourceV1UpdateNotificationReadStatusParams] | [import("./types").UpdateNotificationDrawerStatus, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
5
|
+
eventResourceV1GetEvents: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./EventResourceV1GetEvents").EventResourceV1GetEventsParams] | [any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").PageEventLogEntry, any, {}>>;
|
|
6
|
+
notificationResourceV1AppendBehaviorGroupToEventType: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1AppendBehaviorGroupToEventType").NotificationResourceV1AppendBehaviorGroupToEventTypeParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
7
|
+
notificationResourceV1CreateBehaviorGroup: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1CreateBehaviorGroup").NotificationResourceV1CreateBehaviorGroupParams] | [import("./types").CreateBehaviorGroupRequest, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreateBehaviorGroupResponse, any, {}>>;
|
|
8
|
+
notificationResourceV1DeleteBehaviorGroup: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1DeleteBehaviorGroup").NotificationResourceV1DeleteBehaviorGroupParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
9
|
+
notificationResourceV1DeleteBehaviorGroupFromEventType: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1DeleteBehaviorGroupFromEventType").NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
10
|
+
notificationResourceV1FindBehaviorGroupsByBundleId: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1FindBehaviorGroupsByBundleId").NotificationResourceV1FindBehaviorGroupsByBundleIdParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
11
|
+
notificationResourceV1GetApplicationByNameAndBundleName: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetApplicationByNameAndBundleName").NotificationResourceV1GetApplicationByNameAndBundleNameParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Application, any, {}>>;
|
|
12
|
+
notificationResourceV1GetApplicationsFacets: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetApplicationsFacets").NotificationResourceV1GetApplicationsFacetsParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
13
|
+
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint").NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
14
|
+
notificationResourceV1GetBundleByName: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetBundleByName").NotificationResourceV1GetBundleByNameParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Bundle, any, {}>>;
|
|
15
|
+
notificationResourceV1GetBundleFacets: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetBundleFacets").NotificationResourceV1GetBundleFacetsParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
16
|
+
notificationResourceV1GetEventTypes: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetEventTypes").NotificationResourceV1GetEventTypesParams] | [any, any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").PageEventType, any, {}>>;
|
|
17
|
+
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup").NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
18
|
+
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName").NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").EventType, any, {}>>;
|
|
19
|
+
notificationResourceV1GetLinkedBehaviorGroups: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1GetLinkedBehaviorGroups").NotificationResourceV1GetLinkedBehaviorGroupsParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
20
|
+
notificationResourceV1UpdateBehaviorGroup: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1UpdateBehaviorGroup").NotificationResourceV1UpdateBehaviorGroupParams] | [any, import("./types").UpdateBehaviorGroupRequest, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
21
|
+
notificationResourceV1UpdateBehaviorGroupActions: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1UpdateBehaviorGroupActions").NotificationResourceV1UpdateBehaviorGroupActionsParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
22
|
+
notificationResourceV1UpdateEventTypeBehaviors: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1UpdateEventTypeBehaviors").NotificationResourceV1UpdateEventTypeBehaviorsParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
23
|
+
notificationResourceV1UpdateEventTypeEndpoints: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./NotificationResourceV1UpdateEventTypeEndpoints").NotificationResourceV1UpdateEventTypeEndpointsParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
24
|
+
orgConfigResourceV1GetDailyDigestTimePreference: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./OrgConfigResourceV1GetDailyDigestTimePreference").OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
25
|
+
orgConfigResourceV1SaveDailyDigestTimePreference: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./OrgConfigResourceV1SaveDailyDigestTimePreference").OrgConfigResourceV1SaveDailyDigestTimePreferenceParams] | [any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
26
|
+
}, {
|
|
27
|
+
drawerResourceV1GetDrawerEntries: Promise<import("axios").AxiosResponse<import("./types").PageDrawerEntryPayload, any, {}>>;
|
|
28
|
+
drawerResourceV1UpdateNotificationReadStatus: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
29
|
+
eventResourceV1GetEvents: Promise<import("axios").AxiosResponse<import("./types").PageEventLogEntry, any, {}>>;
|
|
30
|
+
notificationResourceV1AppendBehaviorGroupToEventType: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
31
|
+
notificationResourceV1CreateBehaviorGroup: Promise<import("axios").AxiosResponse<import("./types").CreateBehaviorGroupResponse, any, {}>>;
|
|
32
|
+
notificationResourceV1DeleteBehaviorGroup: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
33
|
+
notificationResourceV1DeleteBehaviorGroupFromEventType: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
34
|
+
notificationResourceV1FindBehaviorGroupsByBundleId: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
35
|
+
notificationResourceV1GetApplicationByNameAndBundleName: Promise<import("axios").AxiosResponse<import("./types").Application, any, {}>>;
|
|
36
|
+
notificationResourceV1GetApplicationsFacets: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
37
|
+
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
38
|
+
notificationResourceV1GetBundleByName: Promise<import("axios").AxiosResponse<import("./types").Bundle, any, {}>>;
|
|
39
|
+
notificationResourceV1GetBundleFacets: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
40
|
+
notificationResourceV1GetEventTypes: Promise<import("axios").AxiosResponse<import("./types").PageEventType, any, {}>>;
|
|
41
|
+
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
42
|
+
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName: Promise<import("axios").AxiosResponse<import("./types").EventType, any, {}>>;
|
|
43
|
+
notificationResourceV1GetLinkedBehaviorGroups: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
44
|
+
notificationResourceV1UpdateBehaviorGroup: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
45
|
+
notificationResourceV1UpdateBehaviorGroupActions: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
46
|
+
notificationResourceV1UpdateEventTypeBehaviors: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
47
|
+
notificationResourceV1UpdateEventTypeEndpoints: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
48
|
+
orgConfigResourceV1GetDailyDigestTimePreference: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
49
|
+
orgConfigResourceV1SaveDailyDigestTimePreference: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
50
|
+
}>;
|
|
49
51
|
export default NotificationsClient;
|
|
50
52
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/esm/v2/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../v2/api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../../../v2/api.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,SAAS,EAAE,MAAM,8DAA8D,CAAA;AAwDxF,eAAO,MAAM,mBAAmB,GAAI,WAAW,MAAM,EAAE,WAAW,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE1E,CAAA;AAED,eAAe,mBAAmB,CAAC"}
|
package/dist/esm/v2/api.js
CHANGED
|
@@ -1,27 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { APIFactory } from '@redhat-cloud-services/javascript-clients-shared/dist/utils';
|
|
2
|
-
import {
|
|
4
|
+
import { drawerResourceV1GetDrawerEntries, drawerResourceV1UpdateNotificationReadStatus, eventResourceV1GetEvents, notificationResourceV1AppendBehaviorGroupToEventType, notificationResourceV1CreateBehaviorGroup, notificationResourceV1DeleteBehaviorGroup, notificationResourceV1DeleteBehaviorGroupFromEventType, notificationResourceV1FindBehaviorGroupsByBundleId, notificationResourceV1GetApplicationByNameAndBundleName, notificationResourceV1GetApplicationsFacets, notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint, notificationResourceV1GetBundleByName, notificationResourceV1GetBundleFacets, notificationResourceV1GetEventTypes, notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup, notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName, notificationResourceV1GetLinkedBehaviorGroups, notificationResourceV1UpdateBehaviorGroup, notificationResourceV1UpdateBehaviorGroupActions, notificationResourceV1UpdateEventTypeBehaviors, notificationResourceV1UpdateEventTypeEndpoints, orgConfigResourceV1GetDailyDigestTimePreference, orgConfigResourceV1SaveDailyDigestTimePreference, } from './index';
|
|
3
5
|
const endpointList = {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
6
|
+
drawerResourceV1GetDrawerEntries,
|
|
7
|
+
drawerResourceV1UpdateNotificationReadStatus,
|
|
8
|
+
eventResourceV1GetEvents,
|
|
9
|
+
notificationResourceV1AppendBehaviorGroupToEventType,
|
|
10
|
+
notificationResourceV1CreateBehaviorGroup,
|
|
11
|
+
notificationResourceV1DeleteBehaviorGroup,
|
|
12
|
+
notificationResourceV1DeleteBehaviorGroupFromEventType,
|
|
13
|
+
notificationResourceV1FindBehaviorGroupsByBundleId,
|
|
14
|
+
notificationResourceV1GetApplicationByNameAndBundleName,
|
|
15
|
+
notificationResourceV1GetApplicationsFacets,
|
|
16
|
+
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint,
|
|
17
|
+
notificationResourceV1GetBundleByName,
|
|
18
|
+
notificationResourceV1GetBundleFacets,
|
|
19
|
+
notificationResourceV1GetEventTypes,
|
|
20
|
+
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup,
|
|
21
|
+
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName,
|
|
22
|
+
notificationResourceV1GetLinkedBehaviorGroups,
|
|
23
|
+
notificationResourceV1UpdateBehaviorGroup,
|
|
24
|
+
notificationResourceV1UpdateBehaviorGroupActions,
|
|
25
|
+
notificationResourceV1UpdateEventTypeBehaviors,
|
|
26
|
+
notificationResourceV1UpdateEventTypeEndpoints,
|
|
27
|
+
orgConfigResourceV1GetDailyDigestTimePreference,
|
|
28
|
+
orgConfigResourceV1SaveDailyDigestTimePreference,
|
|
25
29
|
};
|
|
26
30
|
export const NotificationsClient = (BASE_PATH, instance) => {
|
|
27
31
|
return APIFactory(BASE_PATH, endpointList, instance);
|
package/dist/esm/v2/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../v2/api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../../v2/api.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAC;AAEzF,OAAO,EACH,gCAAgC,EAChC,4CAA4C,EAC5C,wBAAwB,EACxB,oDAAoD,EACpD,yCAAyC,EACzC,yCAAyC,EACzC,sDAAsD,EACtD,kDAAkD,EAClD,uDAAuD,EACvD,2CAA2C,EAC3C,kEAAkE,EAClE,qCAAqC,EACrC,qCAAqC,EACrC,mCAAmC,EACnC,mEAAmE,EACnE,oEAAoE,EACpE,6CAA6C,EAC7C,yCAAyC,EACzC,gDAAgD,EAChD,8CAA8C,EAC9C,8CAA8C,EAC9C,+CAA+C,EAC/C,gDAAgD,GAEjD,MAAM,SAAS,CAAC;AAEnB,MAAM,YAAY,GAAG;IACf,gCAAgC;IAClC,4CAA4C;IAC5C,wBAAwB;IACxB,oDAAoD;IACpD,yCAAyC;IACzC,yCAAyC;IACzC,sDAAsD;IACtD,kDAAkD;IAClD,uDAAuD;IACvD,2CAA2C;IAC3C,kEAAkE;IAClE,qCAAqC;IACrC,qCAAqC;IACrC,mCAAmC;IACnC,mEAAmE;IACnE,oEAAoE;IACpE,6CAA6C;IAC7C,yCAAyC;IACzC,gDAAgD;IAChD,8CAA8C;IAC9C,8CAA8C;IAC9C,+CAA+C;IAC/C,gDAAgD;CAGnD,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,SAAiB,EAAE,QAAoB,EAAE,EAAE;IAC7E,OAAO,UAAU,CAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AACvD,CAAC,CAAA;AAED,eAAe,mBAAmB,CAAC"}
|
package/dist/esm/v2/index.d.ts
CHANGED
|
@@ -1,22 +1,25 @@
|
|
|
1
|
-
export { default as
|
|
2
|
-
export { default as
|
|
3
|
-
export { default as
|
|
4
|
-
export { default as
|
|
5
|
-
export { default as
|
|
6
|
-
export { default as
|
|
7
|
-
export { default as
|
|
8
|
-
export { default as
|
|
9
|
-
export { default as
|
|
10
|
-
export { default as
|
|
11
|
-
export { default as
|
|
12
|
-
export { default as
|
|
13
|
-
export { default as
|
|
14
|
-
export { default as
|
|
15
|
-
export { default as
|
|
16
|
-
export { default as
|
|
17
|
-
export { default as
|
|
18
|
-
export { default as
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
export { default as
|
|
1
|
+
export { default as drawerResourceV1GetDrawerEntries, type DrawerResourceV1GetDrawerEntriesReturnType } from './DrawerResourceV1GetDrawerEntries';
|
|
2
|
+
export { default as drawerResourceV1UpdateNotificationReadStatus, type DrawerResourceV1UpdateNotificationReadStatusReturnType } from './DrawerResourceV1UpdateNotificationReadStatus';
|
|
3
|
+
export { default as eventResourceV1GetEvents, type EventResourceV1GetEventsReturnType } from './EventResourceV1GetEvents';
|
|
4
|
+
export { default as notificationResourceV1AppendBehaviorGroupToEventType, type NotificationResourceV1AppendBehaviorGroupToEventTypeReturnType } from './NotificationResourceV1AppendBehaviorGroupToEventType';
|
|
5
|
+
export { default as notificationResourceV1CreateBehaviorGroup, type NotificationResourceV1CreateBehaviorGroupReturnType } from './NotificationResourceV1CreateBehaviorGroup';
|
|
6
|
+
export { default as notificationResourceV1DeleteBehaviorGroup, type NotificationResourceV1DeleteBehaviorGroupReturnType } from './NotificationResourceV1DeleteBehaviorGroup';
|
|
7
|
+
export { default as notificationResourceV1DeleteBehaviorGroupFromEventType, type NotificationResourceV1DeleteBehaviorGroupFromEventTypeReturnType } from './NotificationResourceV1DeleteBehaviorGroupFromEventType';
|
|
8
|
+
export { default as notificationResourceV1FindBehaviorGroupsByBundleId, type NotificationResourceV1FindBehaviorGroupsByBundleIdReturnType } from './NotificationResourceV1FindBehaviorGroupsByBundleId';
|
|
9
|
+
export { default as notificationResourceV1GetApplicationByNameAndBundleName, type NotificationResourceV1GetApplicationByNameAndBundleNameReturnType } from './NotificationResourceV1GetApplicationByNameAndBundleName';
|
|
10
|
+
export { default as notificationResourceV1GetApplicationsFacets, type NotificationResourceV1GetApplicationsFacetsReturnType } from './NotificationResourceV1GetApplicationsFacets';
|
|
11
|
+
export { default as notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint, type NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType } from './NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint';
|
|
12
|
+
export { default as notificationResourceV1GetBundleByName, type NotificationResourceV1GetBundleByNameReturnType } from './NotificationResourceV1GetBundleByName';
|
|
13
|
+
export { default as notificationResourceV1GetBundleFacets, type NotificationResourceV1GetBundleFacetsReturnType } from './NotificationResourceV1GetBundleFacets';
|
|
14
|
+
export { default as notificationResourceV1GetEventTypes, type NotificationResourceV1GetEventTypesReturnType } from './NotificationResourceV1GetEventTypes';
|
|
15
|
+
export { default as notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup, type NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType } from './NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup';
|
|
16
|
+
export { default as notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName, type NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameReturnType } from './NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName';
|
|
17
|
+
export { default as notificationResourceV1GetLinkedBehaviorGroups, type NotificationResourceV1GetLinkedBehaviorGroupsReturnType } from './NotificationResourceV1GetLinkedBehaviorGroups';
|
|
18
|
+
export { default as notificationResourceV1UpdateBehaviorGroup, type NotificationResourceV1UpdateBehaviorGroupReturnType } from './NotificationResourceV1UpdateBehaviorGroup';
|
|
19
|
+
export { default as notificationResourceV1UpdateBehaviorGroupActions, type NotificationResourceV1UpdateBehaviorGroupActionsReturnType } from './NotificationResourceV1UpdateBehaviorGroupActions';
|
|
20
|
+
export { default as notificationResourceV1UpdateEventTypeBehaviors, type NotificationResourceV1UpdateEventTypeBehaviorsReturnType } from './NotificationResourceV1UpdateEventTypeBehaviors';
|
|
21
|
+
export { default as notificationResourceV1UpdateEventTypeEndpoints, type NotificationResourceV1UpdateEventTypeEndpointsReturnType } from './NotificationResourceV1UpdateEventTypeEndpoints';
|
|
22
|
+
export { default as orgConfigResourceV1GetDailyDigestTimePreference, type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType } from './OrgConfigResourceV1GetDailyDigestTimePreference';
|
|
23
|
+
export { default as orgConfigResourceV1SaveDailyDigestTimePreference, type OrgConfigResourceV1SaveDailyDigestTimePreferenceReturnType } from './OrgConfigResourceV1SaveDailyDigestTimePreference';
|
|
24
|
+
export * from './types';
|
|
22
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,kCAAkC,EAAE,MAAM,4BAA4B,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../v2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gCAAgC,EAAE,KAAK,0CAA0C,EAAE,MAAM,oCAAoC,CAAA;AAEjJ,OAAO,EAAE,OAAO,IAAI,4CAA4C,EAAE,KAAK,sDAAsD,EAAE,MAAM,gDAAgD,CAAA;AAErL,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,KAAK,kCAAkC,EAAE,MAAM,4BAA4B,CAAA;AAEzH,OAAO,EAAE,OAAO,IAAI,oDAAoD,EAAE,KAAK,8DAA8D,EAAE,MAAM,wDAAwD,CAAA;AAE7M,OAAO,EAAE,OAAO,IAAI,yCAAyC,EAAE,KAAK,mDAAmD,EAAE,MAAM,6CAA6C,CAAA;AAE5K,OAAO,EAAE,OAAO,IAAI,yCAAyC,EAAE,KAAK,mDAAmD,EAAE,MAAM,6CAA6C,CAAA;AAE5K,OAAO,EAAE,OAAO,IAAI,sDAAsD,EAAE,KAAK,gEAAgE,EAAE,MAAM,0DAA0D,CAAA;AAEnN,OAAO,EAAE,OAAO,IAAI,kDAAkD,EAAE,KAAK,4DAA4D,EAAE,MAAM,sDAAsD,CAAA;AAEvM,OAAO,EAAE,OAAO,IAAI,uDAAuD,EAAE,KAAK,iEAAiE,EAAE,MAAM,2DAA2D,CAAA;AAEtN,OAAO,EAAE,OAAO,IAAI,2CAA2C,EAAE,KAAK,qDAAqD,EAAE,MAAM,+CAA+C,CAAA;AAElL,OAAO,EAAE,OAAO,IAAI,kEAAkE,EAAE,KAAK,4EAA4E,EAAE,MAAM,sEAAsE,CAAA;AAEvP,OAAO,EAAE,OAAO,IAAI,qCAAqC,EAAE,KAAK,+CAA+C,EAAE,MAAM,yCAAyC,CAAA;AAEhK,OAAO,EAAE,OAAO,IAAI,qCAAqC,EAAE,KAAK,+CAA+C,EAAE,MAAM,yCAAyC,CAAA;AAEhK,OAAO,EAAE,OAAO,IAAI,mCAAmC,EAAE,KAAK,6CAA6C,EAAE,MAAM,uCAAuC,CAAA;AAE1J,OAAO,EAAE,OAAO,IAAI,mEAAmE,EAAE,KAAK,6EAA6E,EAAE,MAAM,uEAAuE,CAAA;AAE1P,OAAO,EAAE,OAAO,IAAI,oEAAoE,EAAE,KAAK,8EAA8E,EAAE,MAAM,wEAAwE,CAAA;AAE7P,OAAO,EAAE,OAAO,IAAI,6CAA6C,EAAE,KAAK,uDAAuD,EAAE,MAAM,iDAAiD,CAAA;AAExL,OAAO,EAAE,OAAO,IAAI,yCAAyC,EAAE,KAAK,mDAAmD,EAAE,MAAM,6CAA6C,CAAA;AAE5K,OAAO,EAAE,OAAO,IAAI,gDAAgD,EAAE,KAAK,0DAA0D,EAAE,MAAM,oDAAoD,CAAA;AAEjM,OAAO,EAAE,OAAO,IAAI,8CAA8C,EAAE,KAAK,wDAAwD,EAAE,MAAM,kDAAkD,CAAA;AAE3L,OAAO,EAAE,OAAO,IAAI,8CAA8C,EAAE,KAAK,wDAAwD,EAAE,MAAM,kDAAkD,CAAA;AAE3L,OAAO,EAAE,OAAO,IAAI,+CAA+C,EAAE,KAAK,yDAAyD,EAAE,MAAM,mDAAmD,CAAA;AAE9L,OAAO,EAAE,OAAO,IAAI,gDAAgD,EAAE,KAAK,0DAA0D,EAAE,MAAM,oDAAoD,CAAA;AAGjM,cAAc,SAAS,CAAA"}
|