@redhat-cloud-services/notifications-client 4.0.4 → 4.0.6
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 +2 -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 +2 -2
- package/project.json +0 -3
package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointObjectParams = (params) => {
|
|
4
|
-
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'endpointId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Lists the behavior groups that are affected by the removal of an endpoint. Use this endpoint to understand how removing an endpoint affects existing behavior groups.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointObject
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointObjectParams(config) ? config[0] : ['endpointId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { endpointId, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/behaviorGroups/affectedByRemovalOfEndpoint/{endpointId}`
|
|
@@ -22,10 +26,11 @@ export const notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointP
|
|
|
22
26
|
const localVarQueryParameter = {};
|
|
23
27
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
28
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
-
|
|
29
|
+
const args = {
|
|
26
30
|
urlObj: localVarUrlObj,
|
|
27
31
|
options: localVarRequestOptions,
|
|
28
32
|
};
|
|
33
|
+
return sendRequest(Promise.resolve(args));
|
|
29
34
|
};
|
|
30
35
|
export default notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator;
|
|
31
36
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,gFAAgF,GAAG,CAAC,MAA8F,EAAwF,EAAE;IAChR,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,gFAAgF,GAAG,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B,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAA+E,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5H,CAAC,CAAA;AAED,eAAe,8EAA8E,CAAC"}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { Bundle } from '../types';
|
|
4
4
|
export type NotificationResourceV1GetBundleByNameParams = {
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
|
-
* @type {
|
|
7
|
+
* @type { any }
|
|
8
8
|
* @memberof NotificationResourceV1GetBundleByNameApi
|
|
9
9
|
*/
|
|
10
|
-
bundleName:
|
|
10
|
+
bundleName: any;
|
|
11
11
|
options?: AxiosRequestConfig;
|
|
12
12
|
};
|
|
13
|
-
export type NotificationResourceV1GetBundleByNameReturnType =
|
|
13
|
+
export type NotificationResourceV1GetBundleByNameReturnType = Bundle;
|
|
14
14
|
/**
|
|
15
15
|
* Retrieves the details of a bundle by searching by its name.
|
|
16
16
|
* @summary Retrieve a bundle by name
|
|
@@ -18,6 +18,6 @@ export type NotificationResourceV1GetBundleByNameReturnType = AxiosPromise<Bundl
|
|
|
18
18
|
* @param {*} [options] Override http request option.
|
|
19
19
|
* @throws {RequiredError}
|
|
20
20
|
*/
|
|
21
|
-
export declare const notificationResourceV1GetBundleByNameParamCreator: (...config: ([NotificationResourceV1GetBundleByNameParams] | [
|
|
21
|
+
export declare const notificationResourceV1GetBundleByNameParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetBundleByNameParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Bundle, any, {}>>;
|
|
22
22
|
export default notificationResourceV1GetBundleByNameParamCreator;
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetBundleByName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetBundleByName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGvC,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;;MAIE;IACF,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG,MAAM,CAAC;AASrE;;;;;;EAME;AACF,eAAO,MAAM,iDAAiD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,2CAA2C,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,4DAsBlM,CAAA;AAED,eAAe,iDAAiD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1GetBundleByNameObjectParams = (params) => {
|
|
4
|
-
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'bundleName');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Retrieves the details of a bundle by searching by its name.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetBundleByNameObjectParams = (params) => {
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1GetBundleByNameParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1GetBundleByNameParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1GetBundleByNameObjectParams(config) ? config[0] : ['bundleName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { bundleName, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/bundles/{bundleName}`
|
|
@@ -22,10 +26,11 @@ export const notificationResourceV1GetBundleByNameParamCreator = async (...confi
|
|
|
22
26
|
const localVarQueryParameter = {};
|
|
23
27
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
28
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
-
|
|
29
|
+
const args = {
|
|
26
30
|
urlObj: localVarUrlObj,
|
|
27
31
|
options: localVarRequestOptions,
|
|
28
32
|
};
|
|
33
|
+
return sendRequest(Promise.resolve(args));
|
|
29
34
|
};
|
|
30
35
|
export default notificationResourceV1GetBundleByNameParamCreator;
|
|
31
36
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetBundleByName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC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,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC;IAC1E,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAkD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAA;AAED,eAAe,iDAAiD,CAAC"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
import type { Facet } from '../types';
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
4
3
|
export type NotificationResourceV1GetBundleFacetsParams = {
|
|
5
4
|
/**
|
|
6
5
|
*
|
|
7
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
8
7
|
* @memberof NotificationResourceV1GetBundleFacetsApi
|
|
9
8
|
*/
|
|
10
|
-
includeApplications?:
|
|
9
|
+
includeApplications?: any;
|
|
11
10
|
options?: AxiosRequestConfig;
|
|
12
11
|
};
|
|
13
|
-
export type NotificationResourceV1GetBundleFacetsReturnType =
|
|
12
|
+
export type NotificationResourceV1GetBundleFacetsReturnType = any;
|
|
14
13
|
/**
|
|
15
14
|
* Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
16
15
|
* @summary List configured bundles
|
|
@@ -18,6 +17,6 @@ export type NotificationResourceV1GetBundleFacetsReturnType = AxiosPromise<Array
|
|
|
18
17
|
* @param {*} [options] Override http request option.
|
|
19
18
|
* @throws {RequiredError}
|
|
20
19
|
*/
|
|
21
|
-
export declare const notificationResourceV1GetBundleFacetsParamCreator: (...config: ([NotificationResourceV1GetBundleFacetsParams] | [
|
|
20
|
+
export declare const notificationResourceV1GetBundleFacetsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetBundleFacetsParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
22
21
|
export default notificationResourceV1GetBundleFacetsParamCreator;
|
|
23
22
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetBundleFacets/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetBundleFacets/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAOrF,MAAM,MAAM,2CAA2C,GAAG;IACxD;;;;MAIE;IACF,mBAAmB,CAAC,EAAE,GAAG,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,+CAA+C,GAAG,GAAG,CAAC;AASlE;;;;;;EAME;AACF,eAAO,MAAM,iDAAiD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,2CAA2C,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyBlM,CAAA;AAED,eAAe,iDAAiD,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1GetBundleFacetsObjectParams = (params) => {
|
|
4
|
-
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetBundleFacetsObjectParams = (params) => {
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1GetBundleFacetsParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1GetBundleFacetsParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1GetBundleFacetsObjectParams(config) ? config[0] : ['includeApplications', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { includeApplications, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/facets/bundles`;
|
|
@@ -24,10 +28,11 @@ export const notificationResourceV1GetBundleFacetsParamCreator = async (...confi
|
|
|
24
28
|
}
|
|
25
29
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26
30
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
27
|
-
|
|
31
|
+
const args = {
|
|
28
32
|
urlObj: localVarUrlObj,
|
|
29
33
|
options: localVarRequestOptions,
|
|
30
34
|
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
31
36
|
};
|
|
32
37
|
export default notificationResourceV1GetBundleFacetsParamCreator;
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetBundleFacets/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,mDAAmD,GAAG,CAAC,MAAiE,EAA2D,EAAE;IACzL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetBundleFacets/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,mDAAmD,GAAG,CAAC,MAAiE,EAA2D,EAAE;IACzL,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,CAAA;IACb,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,iDAAiD,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAmF,EAAE,EAAE;IACnM,MAAM,MAAM,GAAG,mDAAmD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,qBAAqB,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAAgD,CAAC;IACjP,MAAM,EAAE,mBAAmB,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IACrD,MAAM,YAAY,GAAG,+BAA+B,CAAC;IACrD,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAEzC,IAAI,mBAAmB,KAAK,SAAS,EAAE,CAAC;QACpC,sBAAsB,CAAC,qBAAqB,CAAC,GAAG,mBAAmB,CAAC;IACxE,CAAC;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAkD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC/F,CAAC,CAAA;AAED,eAAe,iDAAiD,CAAC"}
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { PageEventType } from '../types';
|
|
4
4
|
export type NotificationResourceV1GetEventTypesParams = {
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
|
-
* @type {
|
|
7
|
+
* @type { any }
|
|
8
8
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
9
9
|
*/
|
|
10
|
-
applicationIds?:
|
|
10
|
+
applicationIds?: any;
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
13
|
-
* @type {
|
|
13
|
+
* @type { any }
|
|
14
14
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
15
15
|
*/
|
|
16
|
-
bundleId?:
|
|
16
|
+
bundleId?: any;
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
|
-
* @type {
|
|
19
|
+
* @type { any }
|
|
20
20
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
21
21
|
*/
|
|
22
|
-
eventTypeName?:
|
|
22
|
+
eventTypeName?: any;
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
|
-
* @type {
|
|
25
|
+
* @type { any }
|
|
26
26
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
27
27
|
*/
|
|
28
|
-
excludeMutedTypes?:
|
|
28
|
+
excludeMutedTypes?: any;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
31
|
-
* @type {
|
|
30
|
+
* Number of items per page, if not specified 20 is used.
|
|
31
|
+
* @type { any }
|
|
32
32
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
33
33
|
*/
|
|
34
|
-
limit?:
|
|
34
|
+
limit?: any;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {
|
|
37
|
+
* @type { any }
|
|
38
38
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
39
39
|
*/
|
|
40
|
-
offset?:
|
|
40
|
+
offset?: any;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {
|
|
43
|
+
* @type { any }
|
|
44
44
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
45
45
|
*/
|
|
46
|
-
pageNumber?:
|
|
46
|
+
pageNumber?: any;
|
|
47
47
|
/**
|
|
48
48
|
*
|
|
49
|
-
* @type {
|
|
49
|
+
* @type { any }
|
|
50
50
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
51
51
|
*/
|
|
52
|
-
sortBy?:
|
|
52
|
+
sortBy?: any;
|
|
53
53
|
/**
|
|
54
54
|
*
|
|
55
|
-
* @type {
|
|
55
|
+
* @type { any }
|
|
56
56
|
* @memberof NotificationResourceV1GetEventTypesApi
|
|
57
57
|
*/
|
|
58
|
-
sortBy2?:
|
|
58
|
+
sortBy2?: any;
|
|
59
59
|
options?: AxiosRequestConfig;
|
|
60
60
|
};
|
|
61
|
-
export type NotificationResourceV1GetEventTypesReturnType =
|
|
61
|
+
export type NotificationResourceV1GetEventTypesReturnType = PageEventType;
|
|
62
62
|
/**
|
|
63
63
|
* Lists all event types. You can filter the returned list by bundle, application name, or unmuted types.
|
|
64
64
|
* @summary List all event types
|
|
@@ -66,6 +66,6 @@ export type NotificationResourceV1GetEventTypesReturnType = AxiosPromise<PageEve
|
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
export declare const notificationResourceV1GetEventTypesParamCreator: (...config: ([NotificationResourceV1GetEventTypesParams] | [
|
|
69
|
+
export declare const notificationResourceV1GetEventTypesParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetEventTypesParams] | [any, any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<PageEventType, any, {}>>;
|
|
70
70
|
export default notificationResourceV1GetEventTypesParamCreator;
|
|
71
71
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypes/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypes/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,MAAM,yCAAyC,GAAG;IACtD;;;;MAIE;IACF,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB;;;;MAIE;IACF,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf;;;;MAIE;IACF,aAAa,CAAC,EAAE,GAAG,CAAC;IACpB;;;;MAIE;IACF,iBAAiB,CAAC,EAAE,GAAG,CAAC;IACxB;;;;MAIE;IACF,KAAK,CAAC,EAAE,GAAG,CAAC;IACZ;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;;;MAIE;IACF,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb;;;;MAIE;IACF,OAAO,CAAC,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,6CAA6C,GAAG,aAAa,CAAC;AAS1E;;;;;;EAME;AACF,eAAO,MAAM,+CAA+C,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,yCAAyC,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,mEAyDtO,CAAA;AAED,eAAe,+CAA+C,CAAC"}
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1GetEventTypesObjectParams = (params) => {
|
|
4
|
-
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Lists all event types. You can filter the returned list by bundle, application name, or unmuted types.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetEventTypesObjectParams = (params) => {
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1GetEventTypesParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1GetEventTypesParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1GetEventTypesObjectParams(config) ? config[0] : ['applicationIds', 'bundleId', 'eventTypeName', 'excludeMutedTypes', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { applicationIds, bundleId, eventTypeName, excludeMutedTypes, limit, offset, pageNumber, sortBy, sortBy2, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/eventTypes`;
|
|
@@ -19,8 +23,8 @@ export const notificationResourceV1GetEventTypesParamCreator = async (...config)
|
|
|
19
23
|
const localVarRequestOptions = { method: 'GET', ...options };
|
|
20
24
|
const localVarHeaderParameter = {};
|
|
21
25
|
const localVarQueryParameter = {};
|
|
22
|
-
if (applicationIds) {
|
|
23
|
-
localVarQueryParameter['applicationIds'] =
|
|
26
|
+
if (applicationIds !== undefined) {
|
|
27
|
+
localVarQueryParameter['applicationIds'] = applicationIds;
|
|
24
28
|
}
|
|
25
29
|
if (bundleId !== undefined) {
|
|
26
30
|
localVarQueryParameter['bundleId'] = bundleId;
|
|
@@ -48,10 +52,11 @@ export const notificationResourceV1GetEventTypesParamCreator = async (...config)
|
|
|
48
52
|
}
|
|
49
53
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
50
54
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
51
|
-
|
|
55
|
+
const args = {
|
|
52
56
|
urlObj: localVarUrlObj,
|
|
53
57
|
options: localVarRequestOptions,
|
|
54
58
|
};
|
|
59
|
+
return sendRequest(Promise.resolve(args));
|
|
55
60
|
};
|
|
56
61
|
export default notificationResourceV1GetEventTypesParamCreator;
|
|
57
62
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypes/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsEjU,MAAM,iDAAiD,GAAG,CAAC,MAA+D,EAAyD,EAAE;IACnL,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypes/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsEjU,MAAM,iDAAiD,GAAG,CAAC,MAA+D,EAAyD,EAAE;IACnL,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,+CAA+C,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAAyH,EAAE,EAAE;IACvO,MAAM,MAAM,GAAG,iDAAiD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,gBAAgB,EAAE,UAAU,EAAE,eAAe,EAAE,mBAAmB,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,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AC;QACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;IAC9C,CAAC;IAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;QAC3B,sBAAsB,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;IACtD,CAAC;IAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;QACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;IAC9C,CAAC;IAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;QACxB,sBAAsB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;IAChD,CAAC;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,MAAM,IAAI,GAAG;QACT,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;IAEF,OAAO,WAAW,CAAgD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7F,CAAC,CAAA;AAED,eAAe,+CAA+C,CAAC"}
|
package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
3
|
-
import type { EventType } from '../types';
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
4
3
|
export type NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams = {
|
|
5
4
|
/**
|
|
6
5
|
* The UUID of the behavior group to check
|
|
7
|
-
* @type {
|
|
6
|
+
* @type { any }
|
|
8
7
|
* @memberof NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi
|
|
9
8
|
*/
|
|
10
|
-
behaviorGroupId:
|
|
9
|
+
behaviorGroupId: any;
|
|
11
10
|
options?: AxiosRequestConfig;
|
|
12
11
|
};
|
|
13
|
-
export type NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType =
|
|
12
|
+
export type NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupReturnType = any;
|
|
14
13
|
/**
|
|
15
14
|
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
16
15
|
* @summary List the event types affected by the removal of a behavior group
|
|
@@ -18,6 +17,6 @@ export type NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupR
|
|
|
18
17
|
* @param {*} [options] Override http request option.
|
|
19
18
|
* @throws {RequiredError}
|
|
20
19
|
*/
|
|
21
|
-
export declare const notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator: (...config: ([NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams] | [
|
|
20
|
+
export declare const notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
22
21
|
export default notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
23
22
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/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,yEAAyE,GAAG;IACtF;;;;MAIE;IACF,eAAe,EAAE,GAAG,CAAC;IACrB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,6EAA6E,GAAG,GAAG,CAAC;AAShG;;;;;;EAME;AACF,eAAO,MAAM,+EAA+E,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,yEAAyE,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAsB9P,CAAA;AAED,eAAe,+EAA+E,CAAC"}
|
package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams = (params) => {
|
|
4
|
-
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'behaviorGroupId');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupObjec
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupObjectParams(config) ? config[0] : ['behaviorGroupId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { behaviorGroupId, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/eventTypes/affectedByRemovalOfBehaviorGroup/{behaviorGroupId}`
|
|
@@ -22,10 +26,11 @@ export const notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup
|
|
|
22
26
|
const localVarQueryParameter = {};
|
|
23
27
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24
28
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
25
|
-
|
|
29
|
+
const args = {
|
|
26
30
|
urlObj: localVarUrlObj,
|
|
27
31
|
options: localVarRequestOptions,
|
|
28
32
|
};
|
|
33
|
+
return sendRequest(Promise.resolve(args));
|
|
29
34
|
};
|
|
30
35
|
export default notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupParamCreator;
|
|
31
36
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,iFAAiF,GAAG,CAAC,MAA+F,EAAyF,EAAE;IACnR,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.ts"],"names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AE,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,CAAgF,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC7H,CAAC,CAAA;AAED,eAAe,+EAA+E,CAAC"}
|
package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { EventType } from '../types';
|
|
4
4
|
export type NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams = {
|
|
5
5
|
/**
|
|
6
6
|
*
|
|
7
|
-
* @type {
|
|
7
|
+
* @type { any }
|
|
8
8
|
* @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
9
9
|
*/
|
|
10
|
-
applicationName:
|
|
10
|
+
applicationName: any;
|
|
11
11
|
/**
|
|
12
12
|
*
|
|
13
|
-
* @type {
|
|
13
|
+
* @type { any }
|
|
14
14
|
* @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
15
15
|
*/
|
|
16
|
-
bundleName:
|
|
16
|
+
bundleName: any;
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
|
-
* @type {
|
|
19
|
+
* @type { any }
|
|
20
20
|
* @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
|
|
21
21
|
*/
|
|
22
|
-
eventTypeName:
|
|
22
|
+
eventTypeName: any;
|
|
23
23
|
options?: AxiosRequestConfig;
|
|
24
24
|
};
|
|
25
|
-
export type NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameReturnType =
|
|
25
|
+
export type NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameReturnType = EventType;
|
|
26
26
|
/**
|
|
27
27
|
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
28
28
|
* @summary Retrieve an event type by bundle, application and event type names
|
|
@@ -30,6 +30,6 @@ export type NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName
|
|
|
30
30
|
* @param {*} [options] Override http request option.
|
|
31
31
|
* @throws {RequiredError}
|
|
32
32
|
*/
|
|
33
|
-
export declare const notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator: (...config: ([NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams] | [
|
|
33
|
+
export declare const notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParams] | [any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<EventType, any, {}>>;
|
|
34
34
|
export default notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
35
35
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAG1C,MAAM,MAAM,0EAA0E,GAAG;IACvF;;;;MAIE;IACF,eAAe,EAAE,GAAG,CAAC;IACrB;;;;MAIE;IACF,UAAU,EAAE,GAAG,CAAC;IAChB;;;;MAIE;IACF,aAAa,EAAE,GAAG,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,8EAA8E,GAAG,SAAS,CAAC;AASvG;;;;;;EAME;AACF,eAAO,MAAM,gFAAgF,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,0EAA0E,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,+DAwB1Q,CAAA;AAED,eAAe,gFAAgF,CAAC"}
|
package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
// @ts-ignore
|
|
2
2
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
3
3
|
const isNotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameObjectParams = (params) => {
|
|
4
|
-
|
|
4
|
+
const l = params.length === 1;
|
|
5
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
6
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'applicationName') && Object.prototype.hasOwnProperty.call(params[0], 'bundleName') && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeName');
|
|
7
|
+
}
|
|
8
|
+
return false;
|
|
5
9
|
};
|
|
6
10
|
/**
|
|
7
11
|
* Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
|
|
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameObje
|
|
|
10
14
|
* @param {*} [options] Override http request option.
|
|
11
15
|
* @throws {RequiredError}
|
|
12
16
|
*/
|
|
13
|
-
export const notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator = async (...config) => {
|
|
17
|
+
export const notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator = async (sendRequest, ...config) => {
|
|
14
18
|
const params = isNotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'eventTypeName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
|
|
15
19
|
const { applicationName, bundleName, eventTypeName, options = {} } = params;
|
|
16
20
|
const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}/eventTypes/{eventTypeName}`
|
|
@@ -24,10 +28,11 @@ export const notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNam
|
|
|
24
28
|
const localVarQueryParameter = {};
|
|
25
29
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
26
30
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
|
|
27
|
-
|
|
31
|
+
const args = {
|
|
28
32
|
urlObj: localVarUrlObj,
|
|
29
33
|
options: localVarRequestOptions,
|
|
30
34
|
};
|
|
35
|
+
return sendRequest(Promise.resolve(args));
|
|
31
36
|
};
|
|
32
37
|
export default notificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameParamCreator;
|
|
33
38
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,MAAM,kFAAkF,GAAG,CAAC,MAAgG,EAA0F,EAAE;IACtR,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,MAAM,kFAAkF,GAAG,CAAC,MAAgG,EAA0F,EAAE;IACtR,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,YAAY,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,eAAe,CAAC,CAAA;IACxN,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,gFAAgF,GAAG,KAAK,EAAE,WAAmC,EAAE,GAAG,MAA4H,EAAE,EAAE;IAC3Q,MAAM,MAAM,GAAG,kFAAkF,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,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