@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.
Files changed (427) hide show
  1. package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts +27 -27
  2. package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
  3. package/dist/DrawerResourceV1GetDrawerEntries/index.js +22 -21
  4. package/dist/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
  5. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +5 -5
  6. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
  7. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js +15 -10
  8. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
  9. package/dist/EventResourceV1GetEvents/index.d.ts +38 -38
  10. package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -1
  11. package/dist/EventResourceV1GetEvents/index.js +26 -25
  12. package/dist/EventResourceV1GetEvents/index.js.map +1 -1
  13. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +8 -8
  14. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
  15. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +14 -9
  16. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
  17. package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts +4 -4
  18. package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
  19. package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +15 -10
  20. package/dist/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
  21. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +6 -6
  22. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
  23. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +14 -9
  24. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
  25. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +8 -8
  26. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
  27. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +14 -9
  28. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
  29. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +6 -7
  30. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
  31. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +14 -9
  32. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
  33. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +8 -8
  34. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
  35. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +14 -9
  36. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
  37. package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts +6 -7
  38. package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
  39. package/dist/NotificationResourceV1GetApplicationsFacets/index.js +14 -9
  40. package/dist/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
  41. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +6 -7
  42. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
  43. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +14 -9
  44. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
  45. package/dist/NotificationResourceV1GetBundleByName/index.d.ts +6 -6
  46. package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
  47. package/dist/NotificationResourceV1GetBundleByName/index.js +14 -9
  48. package/dist/NotificationResourceV1GetBundleByName/index.js.map +1 -1
  49. package/dist/NotificationResourceV1GetBundleFacets/index.d.ts +6 -7
  50. package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
  51. package/dist/NotificationResourceV1GetBundleFacets/index.js +14 -9
  52. package/dist/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
  53. package/dist/NotificationResourceV1GetEventTypes/index.d.ts +23 -23
  54. package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
  55. package/dist/NotificationResourceV1GetEventTypes/index.js +16 -11
  56. package/dist/NotificationResourceV1GetEventTypes/index.js.map +1 -1
  57. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +6 -7
  58. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
  59. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +14 -9
  60. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
  61. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +10 -10
  62. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
  63. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +14 -9
  64. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
  65. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +17 -18
  66. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
  67. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js +14 -9
  68. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
  69. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +6 -6
  70. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
  71. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +15 -10
  72. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
  73. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +8 -8
  74. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
  75. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +17 -12
  76. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
  77. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +8 -8
  78. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
  79. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +17 -12
  80. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
  81. package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +8 -8
  82. package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
  83. package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js +17 -12
  84. package/dist/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
  85. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +4 -4
  86. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
  87. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +14 -9
  88. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
  89. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +6 -6
  90. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
  91. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +15 -10
  92. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
  93. package/dist/api.d.ts +48 -50
  94. package/dist/api.d.ts.map +1 -1
  95. package/dist/api.js +2 -0
  96. package/dist/api.js.map +1 -1
  97. package/dist/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +27 -27
  98. package/dist/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -1
  99. package/dist/esm/DrawerResourceV1GetDrawerEntries/index.js +16 -15
  100. package/dist/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -1
  101. package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +5 -5
  102. package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -1
  103. package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +8 -3
  104. package/dist/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -1
  105. package/dist/esm/EventResourceV1GetEvents/index.d.ts +38 -38
  106. package/dist/esm/EventResourceV1GetEvents/index.d.ts.map +1 -1
  107. package/dist/esm/EventResourceV1GetEvents/index.js +20 -19
  108. package/dist/esm/EventResourceV1GetEvents/index.js.map +1 -1
  109. package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +8 -8
  110. package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -1
  111. package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +8 -3
  112. package/dist/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -1
  113. package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +4 -4
  114. package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -1
  115. package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.js +8 -3
  116. package/dist/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -1
  117. package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +6 -6
  118. package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -1
  119. package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +8 -3
  120. package/dist/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -1
  121. package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +8 -8
  122. package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -1
  123. package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +8 -3
  124. package/dist/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -1
  125. package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +6 -7
  126. package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -1
  127. package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +8 -3
  128. package/dist/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -1
  129. package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +8 -8
  130. package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -1
  131. package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +8 -3
  132. package/dist/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -1
  133. package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +6 -7
  134. package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -1
  135. package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.js +8 -3
  136. package/dist/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -1
  137. package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +6 -7
  138. package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -1
  139. package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +8 -3
  140. package/dist/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -1
  141. package/dist/esm/NotificationResourceV1GetBundleByName/index.d.ts +6 -6
  142. package/dist/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -1
  143. package/dist/esm/NotificationResourceV1GetBundleByName/index.js +8 -3
  144. package/dist/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -1
  145. package/dist/esm/NotificationResourceV1GetBundleFacets/index.d.ts +6 -7
  146. package/dist/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -1
  147. package/dist/esm/NotificationResourceV1GetBundleFacets/index.js +8 -3
  148. package/dist/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -1
  149. package/dist/esm/NotificationResourceV1GetEventTypes/index.d.ts +23 -23
  150. package/dist/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -1
  151. package/dist/esm/NotificationResourceV1GetEventTypes/index.js +10 -5
  152. package/dist/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -1
  153. package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +6 -7
  154. package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -1
  155. package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +8 -3
  156. package/dist/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -1
  157. package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +10 -10
  158. package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -1
  159. package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +8 -3
  160. package/dist/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -1
  161. package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +17 -18
  162. package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -1
  163. package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +8 -3
  164. package/dist/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -1
  165. package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +6 -6
  166. package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -1
  167. package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +8 -3
  168. package/dist/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -1
  169. package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +8 -8
  170. package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -1
  171. package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +11 -6
  172. package/dist/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -1
  173. package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +8 -8
  174. package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -1
  175. package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +11 -6
  176. package/dist/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -1
  177. package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +8 -8
  178. package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -1
  179. package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js +11 -6
  180. package/dist/esm/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -1
  181. package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +4 -4
  182. package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -1
  183. package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +8 -3
  184. package/dist/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -1
  185. package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +6 -6
  186. package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -1
  187. package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +8 -3
  188. package/dist/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -1
  189. package/dist/esm/api.d.ts +48 -50
  190. package/dist/esm/api.d.ts.map +1 -1
  191. package/dist/esm/api.js +2 -0
  192. package/dist/esm/api.js.map +1 -1
  193. package/dist/esm/index.d.ts +24 -23
  194. package/dist/esm/index.d.ts.map +1 -1
  195. package/dist/esm/index.js +2 -0
  196. package/dist/esm/index.js.map +1 -1
  197. package/dist/esm/tests/integration/notifications.v1.integration.test.js +12 -3
  198. package/dist/esm/tests/integration/notifications.v1.integration.test.js.map +1 -1
  199. package/dist/esm/types/index.d.ts +203 -211
  200. package/dist/esm/types/index.d.ts.map +1 -1
  201. package/dist/esm/types/index.js +1 -38
  202. package/dist/esm/types/index.js.map +1 -1
  203. package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.d.ts +83 -0
  204. package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
  205. package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.js +68 -0
  206. package/dist/esm/v2/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
  207. package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +23 -0
  208. package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
  209. package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js +37 -0
  210. package/dist/esm/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
  211. package/dist/esm/v2/EventResourceV1GetEvents/index.d.ts +113 -0
  212. package/dist/esm/v2/EventResourceV1GetEvents/index.d.ts.map +1 -0
  213. package/dist/esm/v2/EventResourceV1GetEvents/index.js +83 -0
  214. package/dist/esm/v2/EventResourceV1GetEvents/index.js.map +1 -0
  215. package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +28 -0
  216. package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
  217. package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +37 -0
  218. package/dist/esm/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
  219. package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts +23 -0
  220. package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
  221. package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.js +37 -0
  222. package/dist/esm/v2/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
  223. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +22 -0
  224. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
  225. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.js +36 -0
  226. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
  227. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
  228. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
  229. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +37 -0
  230. package/dist/esm/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
  231. package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +22 -0
  232. package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
  233. package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +36 -0
  234. package/dist/esm/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
  235. package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +29 -0
  236. package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
  237. package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +37 -0
  238. package/dist/esm/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
  239. package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts +22 -0
  240. package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
  241. package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.js +38 -0
  242. package/dist/esm/v2/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
  243. package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +22 -0
  244. package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
  245. package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +36 -0
  246. package/dist/esm/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
  247. package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.d.ts +23 -0
  248. package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
  249. package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.js +36 -0
  250. package/dist/esm/v2/NotificationResourceV1GetBundleByName/index.js.map +1 -0
  251. package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.d.ts +22 -0
  252. package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
  253. package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.js +38 -0
  254. package/dist/esm/v2/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
  255. package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.d.ts +71 -0
  256. package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
  257. package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.js +62 -0
  258. package/dist/esm/v2/NotificationResourceV1GetEventTypes/index.js.map +1 -0
  259. package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +22 -0
  260. package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
  261. package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +36 -0
  262. package/dist/esm/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
  263. package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
  264. package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
  265. package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +38 -0
  266. package/dist/esm/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
  267. package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +52 -0
  268. package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
  269. package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js +51 -0
  270. package/dist/esm/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
  271. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +29 -0
  272. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
  273. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.js +38 -0
  274. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
  275. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +28 -0
  276. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
  277. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js +38 -0
  278. package/dist/esm/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
  279. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +28 -0
  280. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
  281. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js +38 -0
  282. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
  283. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +28 -0
  284. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -0
  285. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js +38 -0
  286. package/dist/esm/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -0
  287. package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +16 -0
  288. package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
  289. package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +35 -0
  290. package/dist/esm/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
  291. package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +22 -0
  292. package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
  293. package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +37 -0
  294. package/dist/esm/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
  295. package/dist/esm/v2/api.d.ts +48 -46
  296. package/dist/esm/v2/api.d.ts.map +1 -1
  297. package/dist/esm/v2/api.js +26 -22
  298. package/dist/esm/v2/api.js.map +1 -1
  299. package/dist/esm/v2/index.d.ts +24 -21
  300. package/dist/esm/v2/index.d.ts.map +1 -1
  301. package/dist/esm/v2/index.js +24 -21
  302. package/dist/esm/v2/index.js.map +1 -1
  303. package/dist/esm/v2/tests/integration/notifications.v2.integration.test.js +21 -21
  304. package/dist/esm/v2/tests/integration/notifications.v2.integration.test.js.map +1 -1
  305. package/dist/esm/v2/types/index.d.ts +258 -198
  306. package/dist/esm/v2/types/index.d.ts.map +1 -1
  307. package/dist/esm/v2/types/index.js +1 -38
  308. package/dist/esm/v2/types/index.js.map +1 -1
  309. package/dist/index.d.ts +24 -23
  310. package/dist/index.d.ts.map +1 -1
  311. package/dist/index.js +3 -0
  312. package/dist/index.js.map +1 -1
  313. package/dist/package.json +2 -2
  314. package/dist/tests/integration/notifications.v1.integration.test.js +12 -3
  315. package/dist/tests/integration/notifications.v1.integration.test.js.map +1 -1
  316. package/dist/types/index.d.ts +203 -211
  317. package/dist/types/index.d.ts.map +1 -1
  318. package/dist/types/index.js +0 -39
  319. package/dist/types/index.js.map +1 -1
  320. package/dist/v2/DrawerResourceV1GetDrawerEntries/index.d.ts +83 -0
  321. package/dist/v2/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
  322. package/dist/v2/DrawerResourceV1GetDrawerEntries/index.js +84 -0
  323. package/dist/v2/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
  324. package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +23 -0
  325. package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
  326. package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js +53 -0
  327. package/dist/v2/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
  328. package/dist/v2/EventResourceV1GetEvents/index.d.ts +113 -0
  329. package/dist/v2/EventResourceV1GetEvents/index.d.ts.map +1 -0
  330. package/dist/v2/EventResourceV1GetEvents/index.js +99 -0
  331. package/dist/v2/EventResourceV1GetEvents/index.js.map +1 -0
  332. package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +28 -0
  333. package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
  334. package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +53 -0
  335. package/dist/v2/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
  336. package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts +23 -0
  337. package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
  338. package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.js +53 -0
  339. package/dist/v2/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
  340. package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +22 -0
  341. package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
  342. package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.js +52 -0
  343. package/dist/v2/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
  344. package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +28 -0
  345. package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
  346. package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +53 -0
  347. package/dist/v2/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
  348. package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +22 -0
  349. package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
  350. package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +52 -0
  351. package/dist/v2/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
  352. package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +29 -0
  353. package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
  354. package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +53 -0
  355. package/dist/v2/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
  356. package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts +22 -0
  357. package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
  358. package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.js +54 -0
  359. package/dist/v2/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
  360. package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +22 -0
  361. package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
  362. package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +52 -0
  363. package/dist/v2/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
  364. package/dist/v2/NotificationResourceV1GetBundleByName/index.d.ts +23 -0
  365. package/dist/v2/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
  366. package/dist/v2/NotificationResourceV1GetBundleByName/index.js +52 -0
  367. package/dist/v2/NotificationResourceV1GetBundleByName/index.js.map +1 -0
  368. package/dist/v2/NotificationResourceV1GetBundleFacets/index.d.ts +22 -0
  369. package/dist/v2/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
  370. package/dist/v2/NotificationResourceV1GetBundleFacets/index.js +54 -0
  371. package/dist/v2/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
  372. package/dist/v2/NotificationResourceV1GetEventTypes/index.d.ts +71 -0
  373. package/dist/v2/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
  374. package/dist/v2/NotificationResourceV1GetEventTypes/index.js +78 -0
  375. package/dist/v2/NotificationResourceV1GetEventTypes/index.js.map +1 -0
  376. package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +22 -0
  377. package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
  378. package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +52 -0
  379. package/dist/v2/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
  380. package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +35 -0
  381. package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
  382. package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +54 -0
  383. package/dist/v2/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
  384. package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +52 -0
  385. package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
  386. package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js +67 -0
  387. package/dist/v2/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
  388. package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +29 -0
  389. package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
  390. package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.js +54 -0
  391. package/dist/v2/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
  392. package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +28 -0
  393. package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
  394. package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js +54 -0
  395. package/dist/v2/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
  396. package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +28 -0
  397. package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
  398. package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js +54 -0
  399. package/dist/v2/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
  400. package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts +28 -0
  401. package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.d.ts.map +1 -0
  402. package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js +54 -0
  403. package/dist/v2/NotificationResourceV1UpdateEventTypeEndpoints/index.js.map +1 -0
  404. package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +16 -0
  405. package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
  406. package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +51 -0
  407. package/dist/v2/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
  408. package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +22 -0
  409. package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
  410. package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +53 -0
  411. package/dist/v2/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
  412. package/dist/v2/api.d.ts +48 -46
  413. package/dist/v2/api.d.ts.map +1 -1
  414. package/dist/v2/api.js +25 -21
  415. package/dist/v2/api.js.map +1 -1
  416. package/dist/v2/index.d.ts +24 -21
  417. package/dist/v2/index.d.ts.map +1 -1
  418. package/dist/v2/index.js +49 -43
  419. package/dist/v2/index.js.map +1 -1
  420. package/dist/v2/tests/integration/notifications.v2.integration.test.js +21 -21
  421. package/dist/v2/tests/integration/notifications.v2.integration.test.js.map +1 -1
  422. package/dist/v2/types/index.d.ts +258 -198
  423. package/dist/v2/types/index.d.ts.map +1 -1
  424. package/dist/v2/types/index.js +0 -39
  425. package/dist/v2/types/index.js.map +1 -1
  426. package/package.json +2 -2
  427. package/project.json +0 -3
@@ -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 isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupUuid') && Object.prototype.hasOwnProperty.call(params, 'eventTypeUuid');
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], 'behaviorGroupUuid') && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeUuid');
7
+ }
8
+ return false;
5
9
  };
6
10
  /**
7
11
  *
@@ -10,7 +14,7 @@ const isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams = (para
10
14
  * @param {*} [options] Override http request option.
11
15
  * @throws {RequiredError}
12
16
  */
13
- export const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = async (...config) => {
17
+ export const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = async (sendRequest, ...config) => {
14
18
  const params = isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams(config) ? config[0] : ['behaviorGroupUuid', 'eventTypeUuid', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
19
  const { behaviorGroupUuid, eventTypeUuid, options = {} } = params;
16
20
  const localVarPath = `/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}`
@@ -23,10 +27,11 @@ export const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator =
23
27
  const localVarQueryParameter = {};
24
28
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25
29
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
- return {
30
+ const args = {
27
31
  urlObj: localVarUrlObj,
28
32
  options: localVarRequestOptions,
29
33
  };
34
+ return sendRequest(Promise.resolve(args));
30
35
  };
31
36
  export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
32
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,kEAAkE,GAAG,CAAC,MAAgF,EAA0E,EAAE;IACtO,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,mBAAmB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,eAAe,CAAC,CAAA;AAClK,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,gEAAgE,GAAG,KAAK,EAAE,GAAG,MAA6G,EAAwB,EAAE;IAC7N,MAAM,MAAM,GAAG,kEAAkE,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,mBAAmB,EAAE,eAAe,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,CAA+D,CAAC;IAC9R,MAAM,EAAE,iBAAiB,EAAE,aAAa,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;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Ae,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,CAAiE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC9G,CAAC,CAAA;AAED,eAAe,gEAAgE,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
3
3
  import type { CreateBehaviorGroupRequest, CreateBehaviorGroupResponse } from '../types';
4
4
  export type NotificationResourceV1CreateBehaviorGroupParams = {
5
5
  /**
@@ -10,7 +10,7 @@ export type NotificationResourceV1CreateBehaviorGroupParams = {
10
10
  createBehaviorGroupRequest: CreateBehaviorGroupRequest;
11
11
  options?: AxiosRequestConfig;
12
12
  };
13
- export type NotificationResourceV1CreateBehaviorGroupReturnType = AxiosPromise<CreateBehaviorGroupResponse>;
13
+ export type NotificationResourceV1CreateBehaviorGroupReturnType = CreateBehaviorGroupResponse;
14
14
  /**
15
15
  * Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
16
16
  * @summary Create a behavior group
@@ -18,6 +18,6 @@ export type NotificationResourceV1CreateBehaviorGroupReturnType = AxiosPromise<C
18
18
  * @param {*} [options] Override http request option.
19
19
  * @throws {RequiredError}
20
20
  */
21
- export declare const notificationResourceV1CreateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1CreateBehaviorGroupParams] | [CreateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
21
+ export declare const notificationResourceV1CreateBehaviorGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1CreateBehaviorGroupParams] | [CreateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<CreateBehaviorGroupResponse, any, {}>>;
22
22
  export default notificationResourceV1CreateBehaviorGroupParamCreator;
23
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAGxF,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,YAAY,CAAC,2BAA2B,CAAC,CAAC;AAK5G;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,GAAU,GAAG,QAAQ,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAsBlN,CAAA;AAED,eAAe,qDAAqD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAKrF,OAAO,EAAE,OAAO,EAAE,MAAM,4DAA4D,CAAC;AAIrF,OAAO,KAAK,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAGxF,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,2BAA2B,CAAC;AAS9F;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,iFAwBjO,CAAA;AAED,eAAe,qDAAqD,CAAC"}
@@ -1,7 +1,11 @@
1
1
  // @ts-ignore
2
2
  import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
3
  const isNotificationResourceV1CreateBehaviorGroupObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'createBehaviorGroupRequest');
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], 'createBehaviorGroupRequest');
7
+ }
8
+ return false;
5
9
  };
6
10
  /**
7
11
  * Creates a behavior group that defines which notifications will be sent to external services after an event is received. Use this endpoint to control the types of events users are notified about.
@@ -10,7 +14,7 @@ const isNotificationResourceV1CreateBehaviorGroupObjectParams = (params) => {
10
14
  * @param {*} [options] Override http request option.
11
15
  * @throws {RequiredError}
12
16
  */
13
- export const notificationResourceV1CreateBehaviorGroupParamCreator = async (...config) => {
17
+ export const notificationResourceV1CreateBehaviorGroupParamCreator = async (sendRequest, ...config) => {
14
18
  const params = isNotificationResourceV1CreateBehaviorGroupObjectParams(config) ? config[0] : ['createBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
19
  const { createBehaviorGroupRequest, options = {} } = params;
16
20
  const localVarPath = `/notifications/behaviorGroups`;
@@ -22,11 +26,12 @@ export const notificationResourceV1CreateBehaviorGroupParamCreator = async (...c
22
26
  localVarHeaderParameter['Content-Type'] = 'application/json';
23
27
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24
28
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
25
- return {
29
+ const args = {
26
30
  urlObj: localVarUrlObj,
27
31
  options: localVarRequestOptions,
28
32
  serializeData: createBehaviorGroupRequest,
29
33
  };
34
+ return sendRequest(Promise.resolve(args));
30
35
  };
31
36
  export default notificationResourceV1CreateBehaviorGroupParamCreator;
32
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAA;AAC1G,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,qDAAqD,GAAG,KAAK,EAAE,GAAG,MAA8G,EAAwB,EAAE;IACnN,MAAM,MAAM,GAAG,uDAAuD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,4BAA4B,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,CAAoD,CAAC;IAChQ,MAAM,EAAE,0BAA0B,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,C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,CAAC"}
@@ -1,15 +1,15 @@
1
- import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
3
3
  export type NotificationResourceV1DeleteBehaviorGroupParams = {
4
4
  /**
5
5
  * The UUID of the behavior group to delete
6
- * @type { string }
6
+ * @type { any }
7
7
  * @memberof NotificationResourceV1DeleteBehaviorGroupApi
8
8
  */
9
- id: string;
9
+ id: any;
10
10
  options?: AxiosRequestConfig;
11
11
  };
12
- export type NotificationResourceV1DeleteBehaviorGroupReturnType = AxiosPromise<boolean>;
12
+ export type NotificationResourceV1DeleteBehaviorGroupReturnType = any;
13
13
  /**
14
14
  * Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
15
15
  * @summary Delete a behavior group
@@ -17,6 +17,6 @@ export type NotificationResourceV1DeleteBehaviorGroupReturnType = AxiosPromise<b
17
17
  * @param {*} [options] Override http request option.
18
18
  * @throws {RequiredError}
19
19
  */
20
- export declare const notificationResourceV1DeleteBehaviorGroupParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
20
+ export declare const notificationResourceV1DeleteBehaviorGroupParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1DeleteBehaviorGroupParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
21
21
  export default notificationResourceV1DeleteBehaviorGroupParamCreator;
22
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;AAKxF;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,GAAU,GAAG,QAAQ,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAoB9L,CAAA;AAED,eAAe,qDAAqD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroup/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,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,GAAG,CAAC;IACR,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,mDAAmD,GAAG,GAAG,CAAC;AAStE;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAsB1M,CAAA;AAED,eAAe,qDAAqD,CAAC"}
@@ -1,7 +1,11 @@
1
1
  // @ts-ignore
2
2
  import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
3
  const isNotificationResourceV1DeleteBehaviorGroupObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id');
4
+ const l = params.length === 1;
5
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
6
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'id');
7
+ }
8
+ return false;
5
9
  };
6
10
  /**
7
11
  * Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
@@ -10,7 +14,7 @@ const isNotificationResourceV1DeleteBehaviorGroupObjectParams = (params) => {
10
14
  * @param {*} [options] Override http request option.
11
15
  * @throws {RequiredError}
12
16
  */
13
- export const notificationResourceV1DeleteBehaviorGroupParamCreator = async (...config) => {
17
+ export const notificationResourceV1DeleteBehaviorGroupParamCreator = async (sendRequest, ...config) => {
14
18
  const params = isNotificationResourceV1DeleteBehaviorGroupObjectParams(config) ? config[0] : ['id', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
19
  const { id, options = {} } = params;
16
20
  const localVarPath = `/notifications/behaviorGroups/{id}`
@@ -22,10 +26,11 @@ export const notificationResourceV1DeleteBehaviorGroupParamCreator = async (...c
22
26
  const localVarQueryParameter = {};
23
27
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24
28
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
25
- return {
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 notificationResourceV1DeleteBehaviorGroupParamCreator;
31
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroup/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,uDAAuD,GAAG,CAAC,MAAqE,EAA+D,EAAE;IACrM,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAA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CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,QAAkB,EAAE,GAAG,OAAO,EAAC,CAAC;IACzE,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,CAAsD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACnG,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
@@ -1,21 +1,21 @@
1
- import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
3
3
  export type NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams = {
4
4
  /**
5
5
  *
6
- * @type { string }
6
+ * @type { any }
7
7
  * @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
8
8
  */
9
- behaviorGroupId: string;
9
+ behaviorGroupId: any;
10
10
  /**
11
11
  *
12
- * @type { string }
12
+ * @type { any }
13
13
  * @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
14
14
  */
15
- eventTypeId: string;
15
+ eventTypeId: any;
16
16
  options?: AxiosRequestConfig;
17
17
  };
18
- export type NotificationResourceV1DeleteBehaviorGroupFromEventTypeReturnType = AxiosPromise<void>;
18
+ export type NotificationResourceV1DeleteBehaviorGroupFromEventTypeReturnType = void;
19
19
  /**
20
20
  * Delete a behavior group from the specified event type.
21
21
  * @summary Delete a behavior group from an event type
@@ -23,6 +23,6 @@ export type NotificationResourceV1DeleteBehaviorGroupFromEventTypeReturnType = A
23
23
  * @param {*} [options] Override http request option.
24
24
  * @throws {RequiredError}
25
25
  */
26
- export declare const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
26
+ export declare const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1DeleteBehaviorGroupFromEventTypeParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
27
27
  export default notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
28
28
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAShG,MAAM,MAAM,4DAA4D,GAAG;IACzE;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gEAAgE,GAAG,YAAY,CAAC,IAAI,CAAC,CAAC;AAKlG;;;;;;EAME;AACF,eAAO,MAAM,kEAAkE,GAAU,GAAG,QAAQ,CAAC,CAAC,4DAA4D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAqBhO,CAAA;AAED,eAAe,kEAAkE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroupFromEventType/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,4DAA4D,GAAG;IACzE;;;;MAIE;IACF,eAAe,EAAE,GAAG,CAAC;IACrB;;;;MAIE;IACF,WAAW,EAAE,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,gEAAgE,GAAG,IAAI,CAAC;AASpF;;;;;;EAME;AACF,eAAO,MAAM,kEAAkE,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,4DAA4D,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,0DAuBzO,CAAA;AAED,eAAe,kEAAkE,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 isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && Object.prototype.hasOwnProperty.call(params, 'eventTypeId');
4
+ const l = params.length === 1;
5
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
6
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'behaviorGroupId') && Object.prototype.hasOwnProperty.call(params[0], 'eventTypeId');
7
+ }
8
+ return false;
5
9
  };
6
10
  /**
7
11
  * Delete a behavior group from the specified event type.
@@ -10,7 +14,7 @@ const isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams = (pa
10
14
  * @param {*} [options] Override http request option.
11
15
  * @throws {RequiredError}
12
16
  */
13
- export const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = async (...config) => {
17
+ export const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator = async (sendRequest, ...config) => {
14
18
  const params = isNotificationResourceV1DeleteBehaviorGroupFromEventTypeObjectParams(config) ? config[0] : ['behaviorGroupId', 'eventTypeId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
19
  const { behaviorGroupId, eventTypeId, options = {} } = params;
16
20
  const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups/{behaviorGroupId}`
@@ -23,10 +27,11 @@ export const notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator
23
27
  const localVarQueryParameter = {};
24
28
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25
29
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
- return {
30
+ const args = {
27
31
  urlObj: localVarUrlObj,
28
32
  options: localVarRequestOptions,
29
33
  };
34
+ return sendRequest(Promise.resolve(args));
30
35
  };
31
36
  export default notificationResourceV1DeleteBehaviorGroupFromEventTypeParamCreator;
32
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroupFromEventType/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,oEAAoE,GAAG,CAAC,MAAkF,EAA4E,EAAE;IAC5O,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,CAAA;AAC9J,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,kEAAkE,GAAG,KAAK,EAAE,GAAG,M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SAC1F,OAAO,CAAC,IAAI,iBAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;SAC9E,OAAO,CAAC,IAAI,aAAa,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAC5E,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,QAAkB,EAAE,GAAG,OAAO,EAAC,CAAC;IACzE,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,CAAmE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAChH,CAAC,CAAA;AAED,eAAe,kEAAkE,CAAC"}
@@ -1,16 +1,15 @@
1
- import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
- import type { BehaviorGroup } from '../types';
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
4
3
  export type NotificationResourceV1FindBehaviorGroupsByBundleIdParams = {
5
4
  /**
6
5
  * UUID of the bundle to retrieve the behavior groups for.
7
- * @type { string }
6
+ * @type { any }
8
7
  * @memberof NotificationResourceV1FindBehaviorGroupsByBundleIdApi
9
8
  */
10
- bundleId: string;
9
+ bundleId: any;
11
10
  options?: AxiosRequestConfig;
12
11
  };
13
- export type NotificationResourceV1FindBehaviorGroupsByBundleIdReturnType = AxiosPromise<Array<BehaviorGroup>>;
12
+ export type NotificationResourceV1FindBehaviorGroupsByBundleIdReturnType = any;
14
13
  /**
15
14
  * Lists the behavior groups associated with a bundle. Use this endpoint to see the behavior groups that are configured for a particular bundle for a particular tenant.
16
15
  * @summary List behavior groups in a bundle
@@ -18,6 +17,6 @@ export type NotificationResourceV1FindBehaviorGroupsByBundleIdReturnType = Axios
18
17
  * @param {*} [options] Override http request option.
19
18
  * @throws {RequiredError}
20
19
  */
21
- export declare const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator: (...config: ([NotificationResourceV1FindBehaviorGroupsByBundleIdParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
20
+ export declare const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1FindBehaviorGroupsByBundleIdParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
22
21
  export default notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
23
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,MAAM,wDAAwD,GAAG;IACrE;;;;MAIE;IACF,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,4DAA4D,GAAG,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAK9G;;;;;;EAME;AACF,eAAO,MAAM,8DAA8D,GAAU,GAAG,QAAQ,CAAC,CAAC,wDAAwD,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAoBhN,CAAA;AAED,eAAe,8DAA8D,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1FindBehaviorGroupsByBundleId/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,wDAAwD,GAAG;IACrE;;;;MAIE;IACF,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,4DAA4D,GAAG,GAAG,CAAC;AAS/E;;;;;;EAME;AACF,eAAO,MAAM,8DAA8D,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,wDAAwD,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAsB5N,CAAA;AAED,eAAe,8DAA8D,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 isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'bundleId');
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], 'bundleId');
7
+ }
8
+ return false;
5
9
  };
6
10
  /**
7
11
  * Lists the behavior groups associated with a bundle. Use this endpoint to see the behavior groups that are configured for a particular bundle for a particular tenant.
@@ -10,7 +14,7 @@ const isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams = (params
10
14
  * @param {*} [options] Override http request option.
11
15
  * @throws {RequiredError}
12
16
  */
13
- export const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = async (...config) => {
17
+ export const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = async (sendRequest, ...config) => {
14
18
  const params = isNotificationResourceV1FindBehaviorGroupsByBundleIdObjectParams(config) ? config[0] : ['bundleId', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
19
  const { bundleId, options = {} } = params;
16
20
  const localVarPath = `/notifications/bundles/{bundleId}/behaviorGroups`
@@ -22,10 +26,11 @@ export const notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator = as
22
26
  const localVarQueryParameter = {};
23
27
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24
28
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
25
- return {
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 notificationResourceV1FindBehaviorGroupsByBundleIdParamCreator;
31
36
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1FindBehaviorGroupsByBundleId/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,gEAAgE,GAAG,CAAC,MAA8E,EAAwE,EAAE;IAChO,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,UAAU,CAAC,CAAA;AACxF,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,8DAA8D,GAAG,KAAK,EAAE,GAAG,MAAmG,EAAwB,EAAE;IACjN,MAAM,MAAM,GAAG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G,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+D,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AAC5G,CAAC,CAAA;AAED,eAAe,8DAA8D,CAAC"}
@@ -1,22 +1,22 @@
1
- import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
3
3
  import type { Application } from '../types';
4
4
  export type NotificationResourceV1GetApplicationByNameAndBundleNameParams = {
5
5
  /**
6
6
  *
7
- * @type { string }
7
+ * @type { any }
8
8
  * @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
9
9
  */
10
- applicationName: string;
10
+ applicationName: any;
11
11
  /**
12
12
  *
13
- * @type { string }
13
+ * @type { any }
14
14
  * @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
15
15
  */
16
- bundleName: string;
16
+ bundleName: any;
17
17
  options?: AxiosRequestConfig;
18
18
  };
19
- export type NotificationResourceV1GetApplicationByNameAndBundleNameReturnType = AxiosPromise<Application>;
19
+ export type NotificationResourceV1GetApplicationByNameAndBundleNameReturnType = Application;
20
20
  /**
21
21
  * Retrieves an application by bundle and application names. Use this endpoint to find an application by searching for the bundle that the application is part of. This is useful if you do not know the UUID of the bundle or application.
22
22
  * @summary Retrieve an application by bundle and application names
@@ -24,6 +24,6 @@ export type NotificationResourceV1GetApplicationByNameAndBundleNameReturnType =
24
24
  * @param {*} [options] Override http request option.
25
25
  * @throws {RequiredError}
26
26
  */
27
- export declare const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator: (...config: ([NotificationResourceV1GetApplicationByNameAndBundleNameParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
27
+ export declare const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetApplicationByNameAndBundleNameParams] | [any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<Application, any, {}>>;
28
28
  export default notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
29
29
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationByNameAndBundleName/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,6DAA6D,GAAG;IAC1E;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,iEAAiE,GAAG,YAAY,CAAC,WAAW,CAAC,CAAC;AAK1G;;;;;;EAME;AACF,eAAO,MAAM,mEAAmE,GAAU,GAAG,QAAQ,CAAC,CAAC,6DAA6D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAqBlO,CAAA;AAED,eAAe,mEAAmE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationByNameAndBundleName/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,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,MAAM,6DAA6D,GAAG;IAC1E;;;;MAIE;IACF,eAAe,EAAE,GAAG,CAAC;IACrB;;;;MAIE;IACF,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,iEAAiE,GAAG,WAAW,CAAC;AAS5F;;;;;;EAME;AACF,eAAO,MAAM,mEAAmE,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,6DAA6D,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,iEAuB3O,CAAA;AAED,eAAe,mEAAmE,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 isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'applicationName') && Object.prototype.hasOwnProperty.call(params, 'bundleName');
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');
7
+ }
8
+ return false;
5
9
  };
6
10
  /**
7
11
  * Retrieves an application by bundle and application names. Use this endpoint to find an application by searching for the bundle that the application is part of. This is useful if you do not know the UUID of the bundle or application.
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams = (p
10
14
  * @param {*} [options] Override http request option.
11
15
  * @throws {RequiredError}
12
16
  */
13
- export const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = async (...config) => {
17
+ export const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator = async (sendRequest, ...config) => {
14
18
  const params = isNotificationResourceV1GetApplicationByNameAndBundleNameObjectParams(config) ? config[0] : ['applicationName', 'bundleName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
19
  const { applicationName, bundleName, options = {} } = params;
16
20
  const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}`
@@ -23,10 +27,11 @@ export const notificationResourceV1GetApplicationByNameAndBundleNameParamCreator
23
27
  const localVarQueryParameter = {};
24
28
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25
29
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
- return {
30
+ const args = {
27
31
  urlObj: localVarUrlObj,
28
32
  options: localVarRequestOptions,
29
33
  };
34
+ return sendRequest(Promise.resolve(args));
30
35
  };
31
36
  export default notificationResourceV1GetApplicationByNameAndBundleNameParamCreator;
32
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationByNameAndBundleName/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA4BjU,MAAM,qEAAqE,GAAG,CAAC,MAAmF,EAA6E,EAAE;IAC/O,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,YAAY,CAAC,CAAA;AAC7J,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,mEAAmE,GAAG,KAAK,EAAE,GAAG,MAAgH,EAAwB,EAAE;I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BAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;SAC9E,OAAO,CAAC,IAAI,YAAY,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,CAAoE,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC;AACjH,CAAC,CAAA;AAED,eAAe,mEAAmE,CAAC"}
@@ -1,16 +1,15 @@
1
- import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
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 NotificationResourceV1GetApplicationsFacetsParams = {
5
4
  /**
6
5
  *
7
- * @type { string }
6
+ * @type { any }
8
7
  * @memberof NotificationResourceV1GetApplicationsFacetsApi
9
8
  */
10
- bundleName?: string;
9
+ bundleName?: any;
11
10
  options?: AxiosRequestConfig;
12
11
  };
13
- export type NotificationResourceV1GetApplicationsFacetsReturnType = AxiosPromise<Array<Facet>>;
12
+ export type NotificationResourceV1GetApplicationsFacetsReturnType = any;
14
13
  /**
15
14
  * Returns a list of configured applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
16
15
  * @summary List configured applications
@@ -18,6 +17,6 @@ export type NotificationResourceV1GetApplicationsFacetsReturnType = AxiosPromise
18
17
  * @param {*} [options] Override http request option.
19
18
  * @throws {RequiredError}
20
19
  */
21
- export declare const notificationResourceV1GetApplicationsFacetsParamCreator: (...config: ([NotificationResourceV1GetApplicationsFacetsParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
20
+ export declare const notificationResourceV1GetApplicationsFacetsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetApplicationsFacetsParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
22
21
  export default notificationResourceV1GetApplicationsFacetsParamCreator;
23
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationsFacets/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGtC,MAAM,MAAM,iDAAiD,GAAG;IAC9D;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,YAAY,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC;AAK/F;;;;;;EAME;AACF,eAAO,MAAM,uDAAuD,GAAU,GAAG,QAAQ,CAAC,CAAC,iDAAiD,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAuBlM,CAAA;AAED,eAAe,uDAAuD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationsFacets/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,iDAAiD,GAAG;IAC9D;;;;MAIE;IACF,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,qDAAqD,GAAG,GAAG,CAAC;AASxE;;;;;;EAME;AACF,eAAO,MAAM,uDAAuD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,iDAAiD,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAyB9M,CAAA;AAED,eAAe,uDAAuD,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 isNotificationResourceV1GetApplicationsFacetsObjectParams = (params) => {
4
- return params.length === 1 && true;
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 applications that includes the application name, the display name, and the ID. You can use this list to configure a filter in the UI.
@@ -10,7 +14,7 @@ const isNotificationResourceV1GetApplicationsFacetsObjectParams = (params) => {
10
14
  * @param {*} [options] Override http request option.
11
15
  * @throws {RequiredError}
12
16
  */
13
- export const notificationResourceV1GetApplicationsFacetsParamCreator = async (...config) => {
17
+ export const notificationResourceV1GetApplicationsFacetsParamCreator = async (sendRequest, ...config) => {
14
18
  const params = isNotificationResourceV1GetApplicationsFacetsObjectParams(config) ? config[0] : ['bundleName', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
19
  const { bundleName, options = {} } = params;
16
20
  const localVarPath = `/notifications/facets/applications`;
@@ -24,10 +28,11 @@ export const notificationResourceV1GetApplicationsFacetsParamCreator = async (..
24
28
  }
25
29
  setSearchParams(localVarUrlObj, localVarQueryParameter);
26
30
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
27
- return {
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 notificationResourceV1GetApplicationsFacetsParamCreator;
33
38
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1GetApplicationsFacets/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAsBjU,MAAM,yDAAyD,GAAG,CAAC,MAAuE,EAAiE,EAAE;IAC3M,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,uDAAuD,GAAG,KAAK,EAAE,GAAG,MAA4F,EAAwB,EAAE;IACnM,MAAM,MAAM,GAAG,yDAAyD,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,YAAY,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,CAAsD,CAAC;IACpP,MAAM,EAAE,UAAU,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,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'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
- import type { BehaviorGroup } from '../types';
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
4
3
  export type NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams = {
5
4
  /**
6
5
  *
7
- * @type { string }
6
+ * @type { any }
8
7
  * @memberof NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi
9
8
  */
10
- endpointId: string;
9
+ endpointId: any;
11
10
  options?: AxiosRequestConfig;
12
11
  };
13
- export type NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType = AxiosPromise<Array<BehaviorGroup>>;
12
+ export type NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointReturnType = any;
14
13
  /**
15
14
  * 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.
16
15
  * @summary List the behavior groups affected by the removal of an endpoint
@@ -18,6 +17,6 @@ export type NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointRe
18
17
  * @param {*} [options] Override http request option.
19
18
  * @throws {RequiredError}
20
19
  */
21
- export declare const notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator: (...config: ([NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
20
+ export declare const notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParams] | [any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
22
21
  export default notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointParamCreator;
23
22
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAiB,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8DAA8D,CAAC;AAMhG,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAG9C,MAAM,MAAM,wEAAwE,GAAG;IACrF;;;;MAIE;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,4EAA4E,GAAG,YAAY,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC;AAK9H;;;;;;EAME;AACF,eAAO,MAAM,8EAA8E,GAAU,GAAG,QAAQ,CAAC,CAAC,wEAAwE,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAoBhP,CAAA;AAED,eAAe,8EAA8E,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/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,wEAAwE,GAAG;IACrF;;;;MAIE;IACF,UAAU,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,4EAA4E,GAAG,GAAG,CAAC;AAS/F;;;;;;EAME;AACF,eAAO,MAAM,8EAA8E,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,wEAAwE,CAAC,GAAG,CAAC,GAAG,EAAE,kBAAkB,CAAC,CAAC,yDAsB5P,CAAA;AAED,eAAe,8EAA8E,CAAC"}