@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
|
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = function (params) {
|
|
8
|
-
|
|
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;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* Updates the list of behavior groups associated with an event type.
|
|
@@ -14,19 +18,19 @@ var isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = function (par
|
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var notificationResourceV1UpdateEventTypeBehaviorsParamCreator = function () {
|
|
21
|
+
var notificationResourceV1UpdateEventTypeBehaviorsParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, eventTypeId,
|
|
27
|
+
var params, eventTypeId, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
|
-
params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', '
|
|
29
|
+
params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'body', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
27
31
|
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
32
|
}, {});
|
|
29
|
-
eventTypeId = params.eventTypeId,
|
|
33
|
+
eventTypeId = params.eventTypeId, body = params.body, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
34
|
localVarPath = "/notifications/eventTypes/{eventTypeId}/behaviorGroups"
|
|
31
35
|
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
32
36
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -36,11 +40,12 @@ var notificationResourceV1UpdateEventTypeBehaviorsParamCreator = function () {
|
|
|
36
40
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37
41
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38
42
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
args = {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
serializeData: body,
|
|
47
|
+
};
|
|
48
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
44
49
|
});
|
|
45
50
|
});
|
|
46
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,4DAA4D,GAAG,UAAC,MAA0E;IAC9I,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../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,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;IAAE,gBAAoG;SAApG,UAAoG,EAApG,qBAAoG,EAApG,IAAoG;QAApG,+BAAoG;;;;;YAChN,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,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAyD,CAAC;YAC3P,WAAW,GAAyB,MAAM,YAA/B,EAAE,IAAI,GAAmB,MAAM,KAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC7C,YAAY,GAAG,wDAAwD;iBACxE,OAAO,CAAC,WAAI,aAAa,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAEtE,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,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"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type NotificationResourceV1UpdateEventTypeEndpointsParams = {
|
|
4
4
|
/**
|
|
5
5
|
* UUID of the eventType to associate with the endpoint(s)
|
|
6
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
7
7
|
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
8
8
|
*/
|
|
9
|
-
eventTypeId:
|
|
9
|
+
eventTypeId: any;
|
|
10
10
|
/**
|
|
11
11
|
*
|
|
12
|
-
* @type {
|
|
12
|
+
* @type { any }
|
|
13
13
|
* @memberof NotificationResourceV1UpdateEventTypeEndpointsApi
|
|
14
14
|
*/
|
|
15
|
-
|
|
15
|
+
body: any;
|
|
16
16
|
options?: AxiosRequestConfig;
|
|
17
17
|
};
|
|
18
|
-
export type NotificationResourceV1UpdateEventTypeEndpointsReturnType =
|
|
18
|
+
export type NotificationResourceV1UpdateEventTypeEndpointsReturnType = any;
|
|
19
19
|
/**
|
|
20
20
|
* Updates the list of endpoints associated with an event type.
|
|
21
21
|
* @summary Update the list of endpoints for an event type
|
|
@@ -23,6 +23,6 @@ export type NotificationResourceV1UpdateEventTypeEndpointsReturnType = AxiosProm
|
|
|
23
23
|
* @param {*} [options] Override http request option.
|
|
24
24
|
* @throws {RequiredError}
|
|
25
25
|
*/
|
|
26
|
-
export declare const notificationResourceV1UpdateEventTypeEndpointsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeEndpointsParams] | [
|
|
26
|
+
export declare const notificationResourceV1UpdateEventTypeEndpointsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1UpdateEventTypeEndpointsParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
27
27
|
export default notificationResourceV1UpdateEventTypeEndpointsParamCreator;
|
|
28
28
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../NotificationResourceV1UpdateEventTypeEndpoints/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../NotificationResourceV1UpdateEventTypeEndpoints/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,IAAI,EAAE,GAAG,CAAC;IACV,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,wDAAwD,GAAG,GAAG,CAAC;AAS3E;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyBzN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
|
|
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isNotificationResourceV1UpdateEventTypeEndpointsObjectParams = function (params) {
|
|
8
|
-
|
|
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;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* Updates the list of endpoints associated with an event type.
|
|
@@ -14,19 +18,19 @@ var isNotificationResourceV1UpdateEventTypeEndpointsObjectParams = function (par
|
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var notificationResourceV1UpdateEventTypeEndpointsParamCreator = function () {
|
|
21
|
+
var notificationResourceV1UpdateEventTypeEndpointsParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, eventTypeId,
|
|
27
|
+
var params, eventTypeId, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
|
-
params = isNotificationResourceV1UpdateEventTypeEndpointsObjectParams(config) ? config[0] : ['eventTypeId', '
|
|
29
|
+
params = isNotificationResourceV1UpdateEventTypeEndpointsObjectParams(config) ? config[0] : ['eventTypeId', 'body', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
27
31
|
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
|
|
28
32
|
}, {});
|
|
29
|
-
eventTypeId = params.eventTypeId,
|
|
33
|
+
eventTypeId = params.eventTypeId, body = params.body, _a = params.options, options = _a === void 0 ? {} : _a;
|
|
30
34
|
localVarPath = "/notifications/eventTypes/{eventTypeId}/endpoints"
|
|
31
35
|
.replace("{".concat("eventTypeId", "}"), encodeURIComponent(String(eventTypeId)));
|
|
32
36
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -36,11 +40,12 @@ var notificationResourceV1UpdateEventTypeEndpointsParamCreator = function () {
|
|
|
36
40
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
37
41
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
38
42
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
43
|
+
args = {
|
|
44
|
+
urlObj: localVarUrlObj,
|
|
45
|
+
options: localVarRequestOptions,
|
|
46
|
+
serializeData: body,
|
|
47
|
+
};
|
|
48
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
44
49
|
});
|
|
45
50
|
});
|
|
46
51
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../NotificationResourceV1UpdateEventTypeEndpoints/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AA4BjU,IAAM,4DAA4D,GAAG,UAAC,MAA0E;IAC9I,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../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;IAAE,gBAAoG;SAApG,UAAoG,EAApG,qBAAoG,EAApG,IAAoG;QAApG,+BAAoG;;;;;YAChN,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,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAyD,CAAC;YAC3P,WAAW,GAAyB,MAAM,YAA/B,EAAE,IAAI,GAAmB,MAAM,KAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC7C,YAAY,GAAG,mDAAmD;iBACnE,OAAO,CAAC,WAAI,aAAa,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;YAEtE,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,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"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type OrgConfigResourceV1GetDailyDigestTimePreferenceParams = {
|
|
4
4
|
options?: AxiosRequestConfig;
|
|
5
5
|
};
|
|
6
|
-
export type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType =
|
|
6
|
+
export type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType = any;
|
|
7
7
|
/**
|
|
8
8
|
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
9
9
|
* @summary Retrieve the daily digest time
|
|
@@ -11,6 +11,6 @@ export type OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType = AxiosPro
|
|
|
11
11
|
* @param {*} [options] Override http request option.
|
|
12
12
|
* @throws {RequiredError}
|
|
13
13
|
*/
|
|
14
|
-
export declare const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator: (...config: ([OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [AxiosRequestConfig])) => Promise<
|
|
14
|
+
export declare const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15
15
|
export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,qDAAqD,GAAG;IAClE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,yDAAyD,GAAG,GAAG,CAAC;AAS5E;;;;;;EAME;AACF,eAAO,MAAM,2DAA2D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,qDAAqD,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,yDAqBjN,CAAA;AAED,eAAe,2DAA2D,CAAC"}
|
|
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = function (params) {
|
|
8
|
-
|
|
8
|
+
var l = params.length === 1;
|
|
9
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
|
|
@@ -14,13 +18,13 @@ var isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = function (pa
|
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = function () {
|
|
21
|
+
var orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -34,10 +38,11 @@ var orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = function () {
|
|
|
34
38
|
localVarQueryParameter = {};
|
|
35
39
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
36
40
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
args = {
|
|
42
|
+
urlObj: localVarUrlObj,
|
|
43
|
+
options: localVarRequestOptions,
|
|
44
|
+
};
|
|
45
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
41
46
|
});
|
|
42
47
|
});
|
|
43
48
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgBjU,IAAM,6DAA6D,GAAG,UAAC,MAA2E;IAChJ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../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,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;AACK,IAAM,2DAA2D,GAAG,UAAO,WAAmC;IAAE,gBAA2F;SAA3F,UAA2F,EAA3F,qBAA2F,EAA3F,IAA2F;QAA3F,+BAA2F;;;;;YACxM,MAAM,GAAG,6DAA6D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA0D,CAAC;YACtO,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC1B,YAAY,GAAG,0CAA0C,CAAC;YAE1D,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,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,CAA4D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACxG,CAAA;AArBY,QAAA,2DAA2D,+DAqBvE;AAED,kBAAe,mEAA2D,CAAC"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
export type OrgConfigResourceV1SaveDailyDigestTimePreferenceParams = {
|
|
4
4
|
/**
|
|
5
5
|
*
|
|
6
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
7
7
|
* @memberof OrgConfigResourceV1SaveDailyDigestTimePreferenceApi
|
|
8
8
|
*/
|
|
9
|
-
body
|
|
9
|
+
body: any;
|
|
10
10
|
options?: AxiosRequestConfig;
|
|
11
11
|
};
|
|
12
|
-
export type OrgConfigResourceV1SaveDailyDigestTimePreferenceReturnType =
|
|
12
|
+
export type OrgConfigResourceV1SaveDailyDigestTimePreferenceReturnType = void;
|
|
13
13
|
/**
|
|
14
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
15
|
* @summary Set the daily digest time
|
|
@@ -17,6 +17,6 @@ export type OrgConfigResourceV1SaveDailyDigestTimePreferenceReturnType = AxiosPr
|
|
|
17
17
|
* @param {*} [options] Override http request option.
|
|
18
18
|
* @throws {RequiredError}
|
|
19
19
|
*/
|
|
20
|
-
export declare const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator: (...config: ([OrgConfigResourceV1SaveDailyDigestTimePreferenceParams] | [
|
|
20
|
+
export declare const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([OrgConfigResourceV1SaveDailyDigestTimePreferenceParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
21
21
|
export default orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
|
|
22
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../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"}
|
|
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
|
|
|
5
5
|
// @ts-ignore
|
|
6
6
|
var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
|
|
7
7
|
var isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams = function (params) {
|
|
8
|
-
|
|
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], 'body');
|
|
11
|
+
}
|
|
12
|
+
return false;
|
|
9
13
|
};
|
|
10
14
|
/**
|
|
11
15
|
* 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.
|
|
@@ -14,13 +18,13 @@ var isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams = function (p
|
|
|
14
18
|
* @param {*} [options] Override http request option.
|
|
15
19
|
* @throws {RequiredError}
|
|
16
20
|
*/
|
|
17
|
-
var orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = function () {
|
|
21
|
+
var orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = function (sendRequest) {
|
|
18
22
|
var config = [];
|
|
19
|
-
for (var _i =
|
|
20
|
-
config[_i] = arguments[_i];
|
|
23
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
24
|
+
config[_i - 1] = arguments[_i];
|
|
21
25
|
}
|
|
22
26
|
return tslib_1.__awaiter(void 0, void 0, void 0, function () {
|
|
23
|
-
var params, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
27
|
+
var params, body, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
24
28
|
return tslib_1.__generator(this, function (_b) {
|
|
25
29
|
params = isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['body', 'options'].reduce(function (acc, curr, index) {
|
|
26
30
|
var _a;
|
|
@@ -35,11 +39,12 @@ var orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = function () {
|
|
|
35
39
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
36
40
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37
41
|
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
args = {
|
|
43
|
+
urlObj: localVarUrlObj,
|
|
44
|
+
options: localVarRequestOptions,
|
|
45
|
+
serializeData: body,
|
|
46
|
+
};
|
|
47
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
43
48
|
});
|
|
44
49
|
});
|
|
45
50
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsBjU,IAAM,8DAA8D,GAAG,UAAC,MAA4E;IAClJ,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAsBjU,IAAM,8DAA8D,GAAG,UAAC,MAA4E;IAClJ,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,MAAM,CAAC,CAAA;IACxE,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,4DAA4D,GAAG,UAAO,WAAmC;IAAE,gBAAiG;SAAjG,UAAiG,EAAjG,qBAAiG,EAAjG,IAAiG;QAAjG,+BAAiG;;;;;YAC/M,MAAM,GAAG,8DAA8D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA2D,CAAC;YAChP,IAAI,GAAmB,MAAM,KAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAChC,YAAY,GAAG,0CAA0C,CAAC;YAE1D,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,IAAI;aACtB,CAAC;YAEF,sBAAO,WAAW,CAA6D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACzG,CAAA;AAxBY,QAAA,4DAA4D,gEAwBxE;AAED,kBAAe,oEAA4D,CAAC"}
|
package/dist/api.d.ts
CHANGED
|
@@ -1,54 +1,52 @@
|
|
|
1
1
|
import { ApiConfig } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
2
|
-
import { DrawerResourceV1GetDrawerEntriesReturnType, DrawerResourceV1UpdateNotificationReadStatusReturnType, EventResourceV1GetEventsReturnType, NotificationResourceV1AppendBehaviorGroupToEventTypeReturnType, NotificationResourceV1CreateBehaviorGroupReturnType, NotificationResourceV1DeleteBehaviorGroupReturnType, NotificationResourceV1DeleteBehaviorGroupFromEventTypeReturnType, NotificationResourceV1FindBehaviorGroupsByBundleIdReturnType, NotificationResourceV1GetApplicationByNameAndBundleNameReturnType, NotificationResourceV1GetApplicationsFacetsReturnType, NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType, NotificationResourceV1GetBundleByNameReturnType, NotificationResourceV1GetBundleFacetsReturnType, NotificationResourceV1GetEventTypesReturnType, NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType, NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameReturnType, NotificationResourceV1GetLinkedBehaviorGroupsReturnType, NotificationResourceV1UpdateBehaviorGroupReturnType, NotificationResourceV1UpdateBehaviorGroupActionsReturnType, NotificationResourceV1UpdateEventTypeBehaviorsReturnType, NotificationResourceV1UpdateEventTypeEndpointsReturnType, OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType, OrgConfigResourceV1SaveDailyDigestTimePreferenceReturnType } from './index';
|
|
3
|
-
type endpointReturnTypes = {
|
|
4
|
-
drawerResourceV1GetDrawerEntries: DrawerResourceV1GetDrawerEntriesReturnType;
|
|
5
|
-
drawerResourceV1UpdateNotificationReadStatus: DrawerResourceV1UpdateNotificationReadStatusReturnType;
|
|
6
|
-
eventResourceV1GetEvents: EventResourceV1GetEventsReturnType;
|
|
7
|
-
notificationResourceV1AppendBehaviorGroupToEventType: NotificationResourceV1AppendBehaviorGroupToEventTypeReturnType;
|
|
8
|
-
notificationResourceV1CreateBehaviorGroup: NotificationResourceV1CreateBehaviorGroupReturnType;
|
|
9
|
-
notificationResourceV1DeleteBehaviorGroup: NotificationResourceV1DeleteBehaviorGroupReturnType;
|
|
10
|
-
notificationResourceV1DeleteBehaviorGroupFromEventType: NotificationResourceV1DeleteBehaviorGroupFromEventTypeReturnType;
|
|
11
|
-
notificationResourceV1FindBehaviorGroupsByBundleId: NotificationResourceV1FindBehaviorGroupsByBundleIdReturnType;
|
|
12
|
-
notificationResourceV1GetApplicationByNameAndBundleName: NotificationResourceV1GetApplicationByNameAndBundleNameReturnType;
|
|
13
|
-
notificationResourceV1GetApplicationsFacets: NotificationResourceV1GetApplicationsFacetsReturnType;
|
|
14
|
-
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint: NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType;
|
|
15
|
-
notificationResourceV1GetBundleByName: NotificationResourceV1GetBundleByNameReturnType;
|
|
16
|
-
notificationResourceV1GetBundleFacets: NotificationResourceV1GetBundleFacetsReturnType;
|
|
17
|
-
notificationResourceV1GetEventTypes: NotificationResourceV1GetEventTypesReturnType;
|
|
18
|
-
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup: NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType;
|
|
19
|
-
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName: NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameReturnType;
|
|
20
|
-
notificationResourceV1GetLinkedBehaviorGroups: NotificationResourceV1GetLinkedBehaviorGroupsReturnType;
|
|
21
|
-
notificationResourceV1UpdateBehaviorGroup: NotificationResourceV1UpdateBehaviorGroupReturnType;
|
|
22
|
-
notificationResourceV1UpdateBehaviorGroupActions: NotificationResourceV1UpdateBehaviorGroupActionsReturnType;
|
|
23
|
-
notificationResourceV1UpdateEventTypeBehaviors: NotificationResourceV1UpdateEventTypeBehaviorsReturnType;
|
|
24
|
-
notificationResourceV1UpdateEventTypeEndpoints: NotificationResourceV1UpdateEventTypeEndpointsReturnType;
|
|
25
|
-
orgConfigResourceV1GetDailyDigestTimePreference: OrgConfigResourceV1GetDailyDigestTimePreferenceReturnType;
|
|
26
|
-
orgConfigResourceV1SaveDailyDigestTimePreference: OrgConfigResourceV1SaveDailyDigestTimePreferenceReturnType;
|
|
27
|
-
};
|
|
28
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<{
|
|
29
|
-
drawerResourceV1GetDrawerEntries: (...config: ([import("./DrawerResourceV1GetDrawerEntries").DrawerResourceV1GetDrawerEntriesParams] | [
|
|
30
|
-
drawerResourceV1UpdateNotificationReadStatus: (...config: ([import("./DrawerResourceV1UpdateNotificationReadStatus").DrawerResourceV1UpdateNotificationReadStatusParams] | [import("./types").UpdateNotificationDrawerStatus, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
31
|
-
eventResourceV1GetEvents: (...config: ([import("./EventResourceV1GetEvents").EventResourceV1GetEventsParams] | [
|
|
32
|
-
notificationResourceV1AppendBehaviorGroupToEventType: (...config: ([import("./NotificationResourceV1AppendBehaviorGroupToEventType").NotificationResourceV1AppendBehaviorGroupToEventTypeParams] | [
|
|
33
|
-
notificationResourceV1CreateBehaviorGroup: (...config: ([import("./NotificationResourceV1CreateBehaviorGroup").NotificationResourceV1CreateBehaviorGroupParams] | [import("./types").CreateBehaviorGroupRequest, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
34
|
-
notificationResourceV1DeleteBehaviorGroup: (...config: ([import("./NotificationResourceV1DeleteBehaviorGroup").NotificationResourceV1DeleteBehaviorGroupParams] | [
|
|
35
|
-
notificationResourceV1DeleteBehaviorGroupFromEventType: (...config: ([import("./NotificationResourceV1DeleteBehaviorGroupFromEventType").NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams] | [
|
|
36
|
-
notificationResourceV1FindBehaviorGroupsByBundleId: (...config: ([import("./NotificationResourceV1FindBehaviorGroupsByBundleId").NotificationResourceV1FindBehaviorGroupsByBundleIdParams] | [
|
|
37
|
-
notificationResourceV1GetApplicationByNameAndBundleName: (...config: ([import("./NotificationResourceV1GetApplicationByNameAndBundleName").NotificationResourceV1GetApplicationByNameAndBundleNameParams] | [
|
|
38
|
-
notificationResourceV1GetApplicationsFacets: (...config: ([import("./NotificationResourceV1GetApplicationsFacets").NotificationResourceV1GetApplicationsFacetsParams] | [
|
|
39
|
-
notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint: (...config: ([import("./NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint").NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams] | [
|
|
40
|
-
notificationResourceV1GetBundleByName: (...config: ([import("./NotificationResourceV1GetBundleByName").NotificationResourceV1GetBundleByNameParams] | [
|
|
41
|
-
notificationResourceV1GetBundleFacets: (...config: ([import("./NotificationResourceV1GetBundleFacets").NotificationResourceV1GetBundleFacetsParams] | [
|
|
42
|
-
notificationResourceV1GetEventTypes: (...config: ([import("./NotificationResourceV1GetEventTypes").NotificationResourceV1GetEventTypesParams] | [
|
|
43
|
-
notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup: (...config: ([import("./NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup").NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams] | [
|
|
44
|
-
notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName: (...config: ([import("./NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName").NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams] | [
|
|
45
|
-
notificationResourceV1GetLinkedBehaviorGroups: (...config: ([import("./NotificationResourceV1GetLinkedBehaviorGroups").NotificationResourceV1GetLinkedBehaviorGroupsParams] | [
|
|
46
|
-
notificationResourceV1UpdateBehaviorGroup: (...config: ([import("./NotificationResourceV1UpdateBehaviorGroup").NotificationResourceV1UpdateBehaviorGroupParams] | [
|
|
47
|
-
notificationResourceV1UpdateBehaviorGroupActions: (...config: ([import("./NotificationResourceV1UpdateBehaviorGroupActions").NotificationResourceV1UpdateBehaviorGroupActionsParams] | [
|
|
48
|
-
notificationResourceV1UpdateEventTypeBehaviors: (...config: ([import("./NotificationResourceV1UpdateEventTypeBehaviors").NotificationResourceV1UpdateEventTypeBehaviorsParams] | [
|
|
49
|
-
notificationResourceV1UpdateEventTypeEndpoints: (...config: ([import("./NotificationResourceV1UpdateEventTypeEndpoints").NotificationResourceV1UpdateEventTypeEndpointsParams] | [
|
|
50
|
-
orgConfigResourceV1GetDailyDigestTimePreference: (...config: ([import("./OrgConfigResourceV1GetDailyDigestTimePreference").OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [import("axios").AxiosRequestConfig])) => Promise<import("
|
|
51
|
-
orgConfigResourceV1SaveDailyDigestTimePreference: (...config: ([import("./OrgConfigResourceV1SaveDailyDigestTimePreference").OrgConfigResourceV1SaveDailyDigestTimePreferenceParams] | [
|
|
52
|
-
},
|
|
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
|
+
}>;
|
|
53
51
|
export default NotificationsClient;
|
|
54
52
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../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/api.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NotificationsClient = void 0;
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
/* eslint-disable */
|
|
4
6
|
var utils_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/utils");
|
|
5
7
|
var index_1 = require("./index");
|
|
6
8
|
var endpointList = {
|
package/dist/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../api.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../api.ts"],"names":[],"mappings":";;;AAAA,oBAAoB;AACpB,oBAAoB;AACpB,qFAAyF;AAEzF,iCAyBmB;AAEnB,IAAM,YAAY,GAAG;IACf,gCAAgC,0CAAA;IAClC,4CAA4C,sDAAA;IAC5C,wBAAwB,kCAAA;IACxB,oDAAoD,8DAAA;IACpD,yCAAyC,mDAAA;IACzC,yCAAyC,mDAAA;IACzC,sDAAsD,gEAAA;IACtD,kDAAkD,4DAAA;IAClD,uDAAuD,iEAAA;IACvD,2CAA2C,qDAAA;IAC3C,kEAAkE,4EAAA;IAClE,qCAAqC,+CAAA;IACrC,qCAAqC,+CAAA;IACrC,mCAAmC,6CAAA;IACnC,mEAAmE,6EAAA;IACnE,oEAAoE,8EAAA;IACpE,6CAA6C,uDAAA;IAC7C,yCAAyC,mDAAA;IACzC,gDAAgD,0DAAA;IAChD,8CAA8C,wDAAA;IAC9C,8CAA8C,wDAAA;IAC9C,+CAA+C,yDAAA;IAC/C,gDAAgD,0DAAA;CAGnD,CAAC;AAEK,IAAM,mBAAmB,GAAG,UAAC,SAAiB,EAAE,QAAoB;IACzE,OAAO,IAAA,kBAAU,EAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AACvD,CAAC,CAAA;AAFY,QAAA,mBAAmB,uBAE/B;AAED,kBAAe,2BAAmB,CAAC"}
|