@redhat-cloud-services/notifications-client 4.0.3 → 4.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +39 -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 +39 -2
  427. package/project.json +0 -3
@@ -1,76 +1,76 @@
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 { PageDrawerEntryPayload } from '../types';
4
4
  export type DrawerResourceV1GetDrawerEntriesParams = {
5
5
  /**
6
6
  *
7
- * @type { Set<string> }
7
+ * @type { any }
8
8
  * @memberof DrawerResourceV1GetDrawerEntriesApi
9
9
  */
10
- appIds?: Set<string>;
10
+ appIds?: any;
11
11
  /**
12
12
  *
13
- * @type { Set<string> }
13
+ * @type { any }
14
14
  * @memberof DrawerResourceV1GetDrawerEntriesApi
15
15
  */
16
- bundleIds?: Set<string>;
16
+ bundleIds?: any;
17
17
  /**
18
18
  *
19
- * @type { string }
19
+ * @type { any }
20
20
  * @memberof DrawerResourceV1GetDrawerEntriesApi
21
21
  */
22
- endDate?: string;
22
+ endDate?: any;
23
23
  /**
24
24
  *
25
- * @type { Set<string> }
25
+ * @type { any }
26
26
  * @memberof DrawerResourceV1GetDrawerEntriesApi
27
27
  */
28
- eventTypeIds?: Set<string>;
28
+ eventTypeIds?: any;
29
29
  /**
30
- *
31
- * @type { number }
30
+ * Number of items per page, if not specified 20 is used
31
+ * @type { any }
32
32
  * @memberof DrawerResourceV1GetDrawerEntriesApi
33
33
  */
34
- limit?: number;
34
+ limit?: any;
35
35
  /**
36
36
  *
37
- * @type { number }
37
+ * @type { any }
38
38
  * @memberof DrawerResourceV1GetDrawerEntriesApi
39
39
  */
40
- offset?: number;
40
+ offset?: any;
41
41
  /**
42
42
  *
43
- * @type { number }
43
+ * @type { any }
44
44
  * @memberof DrawerResourceV1GetDrawerEntriesApi
45
45
  */
46
- pageNumber?: number;
46
+ pageNumber?: any;
47
47
  /**
48
48
  *
49
- * @type { boolean }
49
+ * @type { any }
50
50
  * @memberof DrawerResourceV1GetDrawerEntriesApi
51
51
  */
52
- readStatus?: boolean;
52
+ readStatus?: any;
53
53
  /**
54
54
  *
55
- * @type { string }
55
+ * @type { any }
56
56
  * @memberof DrawerResourceV1GetDrawerEntriesApi
57
57
  */
58
- sortBy?: string;
58
+ sortBy?: any;
59
59
  /**
60
60
  *
61
- * @type { string }
61
+ * @type { any }
62
62
  * @memberof DrawerResourceV1GetDrawerEntriesApi
63
63
  */
64
- sortBy2?: string;
64
+ sortBy2?: any;
65
65
  /**
66
66
  *
67
- * @type { string }
67
+ * @type { any }
68
68
  * @memberof DrawerResourceV1GetDrawerEntriesApi
69
69
  */
70
- startDate?: string;
70
+ startDate?: any;
71
71
  options?: AxiosRequestConfig;
72
72
  };
73
- export type DrawerResourceV1GetDrawerEntriesReturnType = AxiosPromise<PageDrawerEntryPayload>;
73
+ export type DrawerResourceV1GetDrawerEntriesReturnType = PageDrawerEntryPayload;
74
74
  /**
75
75
  * Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
76
76
  * @summary Retrieve drawer notifications entries.
@@ -78,6 +78,6 @@ export type DrawerResourceV1GetDrawerEntriesReturnType = AxiosPromise<PageDrawer
78
78
  * @param {*} [options] Override http request option.
79
79
  * @throws {RequiredError}
80
80
  */
81
- export declare const drawerResourceV1GetDrawerEntriesParamCreator: (...config: ([DrawerResourceV1GetDrawerEntriesParams] | [Set<string>, Set<string>, string, Set<string>, number, number, number, boolean, string, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
81
+ export declare const drawerResourceV1GetDrawerEntriesParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([DrawerResourceV1GetDrawerEntriesParams] | [any, any, any, any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<PageDrawerEntryPayload, any, {}>>;
82
82
  export default drawerResourceV1GetDrawerEntriesParamCreator;
83
83
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../DrawerResourceV1GetDrawerEntries/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,sBAAsB,EAAE,MAAM,UAAU,CAAC;AAGvD,MAAM,MAAM,sCAAsC,GAAG;IACnD;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;MAIE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,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F,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,0CAA0C,GAAG,sBAAsB,CAAC;AAShF;;;;;;EAME;AACF,eAAO,MAAM,4CAA4C,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,sCAAsC,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,4EAiE1O,CAAA;AAED,eAAe,4CAA4C,CAAC"}
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
5
5
  // @ts-ignore
6
6
  var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
7
7
  var isDrawerResourceV1GetDrawerEntriesObjectParams = function (params) {
8
- return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true;
8
+ var l = params.length === 1;
9
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
10
+ return true;
11
+ }
12
+ return false;
9
13
  };
10
14
  /**
11
15
  * Allowed `sort_by` fields are `bundleIds`, `applicationIds`, `eventTypeIds`, `startTime`, `endTime` and `read`. The ordering can be optionally specified by appending `:asc` or `:desc` to the field, e.g. `bundle:desc`. Defaults to `desc` for the `created` field and to `asc` for all other fields.
@@ -14,13 +18,13 @@ var isDrawerResourceV1GetDrawerEntriesObjectParams = function (params) {
14
18
  * @param {*} [options] Override http request option.
15
19
  * @throws {RequiredError}
16
20
  */
17
- var drawerResourceV1GetDrawerEntriesParamCreator = function () {
21
+ var drawerResourceV1GetDrawerEntriesParamCreator = function (sendRequest) {
18
22
  var config = [];
19
- for (var _i = 0; _i < arguments.length; _i++) {
20
- config[_i] = arguments[_i];
23
+ for (var _i = 1; _i < arguments.length; _i++) {
24
+ config[_i - 1] = arguments[_i];
21
25
  }
22
26
  return tslib_1.__awaiter(void 0, void 0, void 0, function () {
23
- var params, appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
27
+ var params, appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
24
28
  return tslib_1.__generator(this, function (_b) {
25
29
  params = isDrawerResourceV1GetDrawerEntriesObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'eventTypeIds', 'limit', 'offset', 'pageNumber', 'readStatus', 'sortBy', 'sortBy2', 'startDate', 'options'].reduce(function (acc, curr, index) {
26
30
  var _a;
@@ -32,19 +36,17 @@ var drawerResourceV1GetDrawerEntriesParamCreator = function () {
32
36
  localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
33
37
  localVarHeaderParameter = {};
34
38
  localVarQueryParameter = {};
35
- if (appIds) {
36
- localVarQueryParameter['appIds'] = Array.from(appIds);
39
+ if (appIds !== undefined) {
40
+ localVarQueryParameter['appIds'] = appIds;
37
41
  }
38
- if (bundleIds) {
39
- localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
42
+ if (bundleIds !== undefined) {
43
+ localVarQueryParameter['bundleIds'] = bundleIds;
40
44
  }
41
45
  if (endDate !== undefined) {
42
- localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
43
- endDate.toISOString() :
44
- endDate;
46
+ localVarQueryParameter['endDate'] = endDate;
45
47
  }
46
- if (eventTypeIds) {
47
- localVarQueryParameter['eventTypeIds'] = Array.from(eventTypeIds);
48
+ if (eventTypeIds !== undefined) {
49
+ localVarQueryParameter['eventTypeIds'] = eventTypeIds;
48
50
  }
49
51
  if (limit !== undefined) {
50
52
  localVarQueryParameter['limit'] = limit;
@@ -65,16 +67,15 @@ var drawerResourceV1GetDrawerEntriesParamCreator = function () {
65
67
  localVarQueryParameter['sort_by'] = sortBy2;
66
68
  }
67
69
  if (startDate !== undefined) {
68
- localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
69
- startDate.toISOString() :
70
- startDate;
70
+ localVarQueryParameter['startDate'] = startDate;
71
71
  }
72
72
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
73
73
  localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
74
- return [2 /*return*/, {
75
- urlObj: localVarUrlObj,
76
- options: localVarRequestOptions,
77
- }];
74
+ args = {
75
+ urlObj: localVarUrlObj,
76
+ options: localVarRequestOptions,
77
+ };
78
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
78
79
  });
79
80
  });
80
81
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../DrawerResourceV1GetDrawerEntries/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAkFjU,IAAM,8CAA8C,GAAG,UAAC,MAA4D;IAClH,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AACpH,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,4CAA4C,GAAG;IAAO,gBAAoL;SAApL,UAAoL,EAApL,qBAAoL,EAApL,IAAoL;QAApL,2BAAoL;;;;;YAC7O,MAAM,GAAG,8CAA8C,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,cAAc,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS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CAAC;YAED,IAAI,UAAU,KAAK,SAAS,EAAE,CAAC;gBAC3B,sBAAsB,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;YACtD,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBACxB,sBAAsB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;YAChD,CAAC;YAED,IAAI,SAAS,KAAK,SAAS,EAAE,CAAC;gBAC1B,sBAAsB,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC;YACpD,CAAC;YAID,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA6C,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACzF,CAAA;AAjEY,QAAA,4CAA4C,gDAiExD;AAED,kBAAe,oDAA4C,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 { UpdateNotificationDrawerStatus } from '../types';
4
4
  export type DrawerResourceV1UpdateNotificationReadStatusParams = {
5
5
  /**
@@ -7,10 +7,10 @@ export type DrawerResourceV1UpdateNotificationReadStatusParams = {
7
7
  * @type { UpdateNotificationDrawerStatus }
8
8
  * @memberof DrawerResourceV1UpdateNotificationReadStatusApi
9
9
  */
10
- updateNotificationDrawerStatus?: UpdateNotificationDrawerStatus;
10
+ updateNotificationDrawerStatus: UpdateNotificationDrawerStatus;
11
11
  options?: AxiosRequestConfig;
12
12
  };
13
- export type DrawerResourceV1UpdateNotificationReadStatusReturnType = AxiosPromise<number>;
13
+ export type DrawerResourceV1UpdateNotificationReadStatusReturnType = any;
14
14
  /**
15
15
  * Update drawer notifications status.
16
16
  * @summary Update drawer notifications status.
@@ -18,6 +18,6 @@ export type DrawerResourceV1UpdateNotificationReadStatusReturnType = AxiosPromis
18
18
  * @param {*} [options] Override http request option.
19
19
  * @throws {RequiredError}
20
20
  */
21
- export declare const drawerResourceV1UpdateNotificationReadStatusParamCreator: (...config: ([DrawerResourceV1UpdateNotificationReadStatusParams] | [UpdateNotificationDrawerStatus, AxiosRequestConfig])) => Promise<RequestArgs>;
21
+ export declare const drawerResourceV1UpdateNotificationReadStatusParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([DrawerResourceV1UpdateNotificationReadStatusParams] | [UpdateNotificationDrawerStatus, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
22
22
  export default drawerResourceV1UpdateNotificationReadStatusParamCreator;
23
23
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../DrawerResourceV1UpdateNotificationReadStatus/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,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAG/D,MAAM,MAAM,kDAAkD,GAAG;IAC/D;;;;MAIE;IACF,8BAA8B,CAAC,EAAE,8BAA8B,CAAC;IAChE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,YAAY,CAAC,MAAM,CAAC,CAAC;AAK1F;;;;;;EAME;AACF,eAAO,MAAM,wDAAwD,GAAU,GAAG,QAAQ,CAAC,CAAC,kDAAkD,CAAC,GAAG,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,KAAG,OAAO,CAAC,WAAW,CAsB5N,CAAA;AAED,eAAe,wDAAwD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../DrawerResourceV1UpdateNotificationReadStatus/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,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAG/D,MAAM,MAAM,kDAAkD,GAAG;IAC/D;;;;MAIE;IACF,8BAA8B,EAAE,8BAA8B,CAAC;IAC/D,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,sDAAsD,GAAG,GAAG,CAAC;AASzE;;;;;;EAME;AACF,eAAO,MAAM,wDAAwD,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,kDAAkD,CAAC,GAAG,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,yDAwB3O,CAAA;AAED,eAAe,wDAAwD,CAAC"}
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
5
5
  // @ts-ignore
6
6
  var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
7
7
  var isDrawerResourceV1UpdateNotificationReadStatusObjectParams = function (params) {
8
- return params.length === 1 && true;
8
+ var l = params.length === 1;
9
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
10
+ return true && Object.prototype.hasOwnProperty.call(params[0], 'updateNotificationDrawerStatus');
11
+ }
12
+ return false;
9
13
  };
10
14
  /**
11
15
  * Update drawer notifications status.
@@ -14,13 +18,13 @@ var isDrawerResourceV1UpdateNotificationReadStatusObjectParams = function (param
14
18
  * @param {*} [options] Override http request option.
15
19
  * @throws {RequiredError}
16
20
  */
17
- var drawerResourceV1UpdateNotificationReadStatusParamCreator = function () {
21
+ var drawerResourceV1UpdateNotificationReadStatusParamCreator = function (sendRequest) {
18
22
  var config = [];
19
- for (var _i = 0; _i < arguments.length; _i++) {
20
- config[_i] = arguments[_i];
23
+ for (var _i = 1; _i < arguments.length; _i++) {
24
+ config[_i - 1] = arguments[_i];
21
25
  }
22
26
  return tslib_1.__awaiter(void 0, void 0, void 0, function () {
23
- var params, updateNotificationDrawerStatus, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
27
+ var params, updateNotificationDrawerStatus, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
24
28
  return tslib_1.__generator(this, function (_b) {
25
29
  params = isDrawerResourceV1UpdateNotificationReadStatusObjectParams(config) ? config[0] : ['updateNotificationDrawerStatus', 'options'].reduce(function (acc, curr, index) {
26
30
  var _a;
@@ -35,11 +39,12 @@ var drawerResourceV1UpdateNotificationReadStatusParamCreator = function () {
35
39
  localVarHeaderParameter['Content-Type'] = 'application/json';
36
40
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
37
41
  localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
38
- return [2 /*return*/, {
39
- urlObj: localVarUrlObj,
40
- options: localVarRequestOptions,
41
- serializeData: updateNotificationDrawerStatus,
42
- }];
42
+ args = {
43
+ urlObj: localVarUrlObj,
44
+ options: localVarRequestOptions,
45
+ serializeData: updateNotificationDrawerStatus,
46
+ };
47
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
43
48
  });
44
49
  });
45
50
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../DrawerResourceV1UpdateNotificationReadStatus/index.ts"],"names":[],"mappings":";;;;AAEA,aA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sBAAsB,sBAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;YAE7D,IAAA,wBAAe,EAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yCAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;gBAC/B,aAAa,EAAE,8BAA8B;aAChD,CAAC;YAEF,sBAAO,WAAW,CAAyD,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACrG,CAAA;AAxBY,QAAA,wDAAwD,4DAwBpE;AAED,kBAAe,gEAAwD,CAAC"}
@@ -1,106 +1,106 @@
1
- import type { AxiosPromise, AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
3
- import type { EventLogEntryActionStatus, PageEventLogEntry } from '../types';
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
3
+ import type { PageEventLogEntry } from '../types';
4
4
  export type EventResourceV1GetEventsParams = {
5
5
  /**
6
6
  *
7
- * @type { Set<string> }
7
+ * @type { any }
8
8
  * @memberof EventResourceV1GetEventsApi
9
9
  */
10
- appIds?: Set<string>;
10
+ appIds?: any;
11
11
  /**
12
12
  *
13
- * @type { Set<string> }
13
+ * @type { any }
14
14
  * @memberof EventResourceV1GetEventsApi
15
15
  */
16
- bundleIds?: Set<string>;
16
+ bundleIds?: any;
17
17
  /**
18
18
  *
19
- * @type { string }
19
+ * @type { any }
20
20
  * @memberof EventResourceV1GetEventsApi
21
21
  */
22
- endDate?: string;
22
+ endDate?: any;
23
23
  /**
24
24
  *
25
- * @type { Set<string> }
25
+ * @type { any }
26
26
  * @memberof EventResourceV1GetEventsApi
27
27
  */
28
- endpointTypes?: Set<string>;
28
+ endpointTypes?: any;
29
29
  /**
30
30
  *
31
- * @type { string }
31
+ * @type { any }
32
32
  * @memberof EventResourceV1GetEventsApi
33
33
  */
34
- eventTypeDisplayName?: string;
34
+ eventTypeDisplayName?: any;
35
35
  /**
36
36
  *
37
- * @type { boolean }
37
+ * @type { any }
38
38
  * @memberof EventResourceV1GetEventsApi
39
39
  */
40
- includeActions?: boolean;
40
+ includeActions?: any;
41
41
  /**
42
42
  *
43
- * @type { boolean }
43
+ * @type { any }
44
44
  * @memberof EventResourceV1GetEventsApi
45
45
  */
46
- includeDetails?: boolean;
46
+ includeDetails?: any;
47
47
  /**
48
48
  *
49
- * @type { boolean }
49
+ * @type { any }
50
50
  * @memberof EventResourceV1GetEventsApi
51
51
  */
52
- includePayload?: boolean;
52
+ includePayload?: any;
53
53
  /**
54
54
  *
55
- * @type { Set<boolean> }
55
+ * @type { any }
56
56
  * @memberof EventResourceV1GetEventsApi
57
57
  */
58
- invocationResults?: Set<boolean>;
58
+ invocationResults?: any;
59
59
  /**
60
- *
61
- * @type { number }
60
+ * Number of items per page, if not specified 20 is used.
61
+ * @type { any }
62
62
  * @memberof EventResourceV1GetEventsApi
63
63
  */
64
- limit?: number;
64
+ limit?: any;
65
65
  /**
66
66
  *
67
- * @type { number }
67
+ * @type { any }
68
68
  * @memberof EventResourceV1GetEventsApi
69
69
  */
70
- offset?: number;
70
+ offset?: any;
71
71
  /**
72
72
  *
73
- * @type { number }
73
+ * @type { any }
74
74
  * @memberof EventResourceV1GetEventsApi
75
75
  */
76
- pageNumber?: number;
76
+ pageNumber?: any;
77
77
  /**
78
78
  *
79
- * @type { string }
79
+ * @type { any }
80
80
  * @memberof EventResourceV1GetEventsApi
81
81
  */
82
- sortBy?: string;
82
+ sortBy?: any;
83
83
  /**
84
84
  *
85
- * @type { string }
85
+ * @type { any }
86
86
  * @memberof EventResourceV1GetEventsApi
87
87
  */
88
- sortBy2?: string;
88
+ sortBy2?: any;
89
89
  /**
90
90
  *
91
- * @type { string }
91
+ * @type { any }
92
92
  * @memberof EventResourceV1GetEventsApi
93
93
  */
94
- startDate?: string;
94
+ startDate?: any;
95
95
  /**
96
96
  *
97
- * @type { Set<EventLogEntryActionStatus> }
97
+ * @type { any }
98
98
  * @memberof EventResourceV1GetEventsApi
99
99
  */
100
- status?: Set<EventLogEntryActionStatus>;
100
+ status?: any;
101
101
  options?: AxiosRequestConfig;
102
102
  };
103
- export type EventResourceV1GetEventsReturnType = AxiosPromise<PageEventLogEntry>;
103
+ export type EventResourceV1GetEventsReturnType = PageEventLogEntry;
104
104
  /**
105
105
  * Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
106
106
  * @summary Retrieve the event log entries
@@ -108,6 +108,6 @@ export type EventResourceV1GetEventsReturnType = AxiosPromise<PageEventLogEntry>
108
108
  * @param {*} [options] Override http request option.
109
109
  * @throws {RequiredError}
110
110
  */
111
- export declare const eventResourceV1GetEventsParamCreator: (...config: ([EventResourceV1GetEventsParams] | [Set<string>, Set<string>, string, Set<string>, string, boolean, boolean, boolean, Set<boolean>, number, number, number, string, string, string, Set<EventLogEntryActionStatus>, AxiosRequestConfig])) => Promise<RequestArgs>;
111
+ export declare const eventResourceV1GetEventsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([EventResourceV1GetEventsParams] | [any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<PageEventLogEntry, any, {}>>;
112
112
  export default eventResourceV1GetEventsParamCreator;
113
113
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../EventResourceV1GetEvents/index.ts"],"names":[],"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AG,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;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC;IAChB;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAED,MAAM,MAAM,kCAAkC,GAAG,iBAAiB,CAAC;AASnE;;;;;;EAME;AACF,eAAO,MAAM,oCAAoC,GAAU,aAAa,OAAO,CAAC,aAAa,CAAC,EAAE,GAAG,QAAQ,CAAC,CAAC,8BAA8B,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,kBAAkB,CAAC,CAAC,uEAqFnP,CAAA;AAED,eAAe,oCAAoC,CAAC"}
@@ -5,7 +5,11 @@ var tslib_1 = require("tslib");
5
5
  // @ts-ignore
6
6
  var common_1 = require("@redhat-cloud-services/javascript-clients-shared/dist/common");
7
7
  var isEventResourceV1GetEventsObjectParams = function (params) {
8
- return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true;
8
+ var l = params.length === 1;
9
+ if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
10
+ return true;
11
+ }
12
+ return false;
9
13
  };
10
14
  /**
11
15
  * Retrieves the event log entries. Use this endpoint to review a full history of the events related to the tenant. You can sort by the bundle, application, event, and created fields. You can specify the sort order by appending :asc or :desc to the field, for example bundle:desc. Sorting defaults to desc for the created field and to asc for all other fields.
@@ -14,13 +18,13 @@ var isEventResourceV1GetEventsObjectParams = function (params) {
14
18
  * @param {*} [options] Override http request option.
15
19
  * @throws {RequiredError}
16
20
  */
17
- var eventResourceV1GetEventsParamCreator = function () {
21
+ var eventResourceV1GetEventsParamCreator = function (sendRequest) {
18
22
  var config = [];
19
- for (var _i = 0; _i < arguments.length; _i++) {
20
- config[_i] = arguments[_i];
23
+ for (var _i = 1; _i < arguments.length; _i++) {
24
+ config[_i - 1] = arguments[_i];
21
25
  }
22
26
  return tslib_1.__awaiter(void 0, void 0, void 0, function () {
23
- var params, appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
27
+ var params, appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
24
28
  return tslib_1.__generator(this, function (_b) {
25
29
  params = isEventResourceV1GetEventsObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'endpointTypes', 'eventTypeDisplayName', 'includeActions', 'includeDetails', 'includePayload', 'invocationResults', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'startDate', 'status', 'options'].reduce(function (acc, curr, index) {
26
30
  var _a;
@@ -32,19 +36,17 @@ var eventResourceV1GetEventsParamCreator = function () {
32
36
  localVarRequestOptions = tslib_1.__assign({ method: 'GET' }, options);
33
37
  localVarHeaderParameter = {};
34
38
  localVarQueryParameter = {};
35
- if (appIds) {
36
- localVarQueryParameter['appIds'] = Array.from(appIds);
39
+ if (appIds !== undefined) {
40
+ localVarQueryParameter['appIds'] = appIds;
37
41
  }
38
- if (bundleIds) {
39
- localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
42
+ if (bundleIds !== undefined) {
43
+ localVarQueryParameter['bundleIds'] = bundleIds;
40
44
  }
41
45
  if (endDate !== undefined) {
42
- localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
43
- endDate.toISOString().substr(0, 10) :
44
- endDate;
46
+ localVarQueryParameter['endDate'] = endDate;
45
47
  }
46
- if (endpointTypes) {
47
- localVarQueryParameter['endpointTypes'] = Array.from(endpointTypes);
48
+ if (endpointTypes !== undefined) {
49
+ localVarQueryParameter['endpointTypes'] = endpointTypes;
48
50
  }
49
51
  if (eventTypeDisplayName !== undefined) {
50
52
  localVarQueryParameter['eventTypeDisplayName'] = eventTypeDisplayName;
@@ -58,8 +60,8 @@ var eventResourceV1GetEventsParamCreator = function () {
58
60
  if (includePayload !== undefined) {
59
61
  localVarQueryParameter['includePayload'] = includePayload;
60
62
  }
61
- if (invocationResults) {
62
- localVarQueryParameter['invocationResults'] = Array.from(invocationResults);
63
+ if (invocationResults !== undefined) {
64
+ localVarQueryParameter['invocationResults'] = invocationResults;
63
65
  }
64
66
  if (limit !== undefined) {
65
67
  localVarQueryParameter['limit'] = limit;
@@ -77,19 +79,18 @@ var eventResourceV1GetEventsParamCreator = function () {
77
79
  localVarQueryParameter['sort_by'] = sortBy2;
78
80
  }
79
81
  if (startDate !== undefined) {
80
- localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
81
- startDate.toISOString().substr(0, 10) :
82
- startDate;
82
+ localVarQueryParameter['startDate'] = startDate;
83
83
  }
84
- if (status) {
85
- localVarQueryParameter['status'] = Array.from(status);
84
+ if (status !== undefined) {
85
+ localVarQueryParameter['status'] = status;
86
86
  }
87
87
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
88
88
  localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), options.headers);
89
- return [2 /*return*/, {
90
- urlObj: localVarUrlObj,
91
- options: localVarRequestOptions,
92
- }];
89
+ args = {
90
+ urlObj: localVarUrlObj,
91
+ options: localVarRequestOptions,
92
+ };
93
+ return [2 /*return*/, sendRequest(Promise.resolve(args))];
93
94
  });
94
95
  });
95
96
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../EventResourceV1GetEvents/index.ts"],"names":[],"mappings":";;;;AAEA,aAAa;AACb,uFAAiU;AAgHjU,IAAM,sCAAsC,GAAG,UAAC,MAAoD;IAClG,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,CAAA;AAC5J,CAAC,CAAA;AACD;;;;;;EAME;AACK,IAAM,oCAAoC,GAAG;IAAO,gBAAoP;SAApP,UAAoP,EAApP,qBAAoP,EAApP,IAAoP;QAApP,2BAAoP;;;;;YACrS,MAAM,GAAG,sCAAsC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,SAAS,EAAE,eAAe,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uCAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAAmC,CAAC;YAC3Z,MAAM,GAA8M,MAAM,OAApN,EAAE,SAAS,G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