@redhat-cloud-services/notifications-client 2.0.6 → 2.2.0

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 (355) hide show
  1. package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.d.ts +1 -0
  2. package/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
  3. package/{dist/DrawerResourceV1GetDrawerEntries → DrawerResourceV1GetDrawerEntries}/index.js +7 -52
  4. package/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
  5. package/{dist/DrawerResourceV1UpdateNotificationReadStatus → DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +1 -0
  6. package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
  7. package/DrawerResourceV1UpdateNotificationReadStatus/index.js +48 -0
  8. package/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
  9. package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.d.ts +1 -0
  10. package/EventResourceV1GetEvents/index.d.ts.map +1 -0
  11. package/{dist/EventResourceV1GetEvents → EventResourceV1GetEvents}/index.js +7 -52
  12. package/EventResourceV1GetEvents/index.js.map +1 -0
  13. package/{dist/NotificationResourceV1AppendBehaviorGroupToEventType → NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +1 -0
  14. package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
  15. package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +48 -0
  16. package/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
  17. package/{dist/NotificationResourceV1CreateBehaviorGroup → NotificationResourceV1CreateBehaviorGroup}/index.d.ts +1 -0
  18. package/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
  19. package/NotificationResourceV1CreateBehaviorGroup/index.js +48 -0
  20. package/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
  21. package/{dist/NotificationResourceV1DeleteBehaviorGroup → NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +1 -0
  22. package/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
  23. package/NotificationResourceV1DeleteBehaviorGroup/index.js +47 -0
  24. package/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
  25. package/{dist/NotificationResourceV1DeleteBehaviorGroupFromEventType → NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +1 -0
  26. package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
  27. package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +48 -0
  28. package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
  29. package/{dist/NotificationResourceV1FindBehaviorGroupsByBundleId → NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +1 -0
  30. package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
  31. package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +47 -0
  32. package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
  33. package/{dist/NotificationResourceV1GetApplicationByNameAndBundleName → NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +1 -0
  34. package/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
  35. package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +48 -0
  36. package/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
  37. package/{dist/NotificationResourceV1GetApplicationsFacets → NotificationResourceV1GetApplicationsFacets}/index.d.ts +1 -0
  38. package/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
  39. package/NotificationResourceV1GetApplicationsFacets/index.js +49 -0
  40. package/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
  41. package/{dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +1 -0
  42. package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
  43. package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +47 -0
  44. package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
  45. package/{dist/NotificationResourceV1GetBundleByName → NotificationResourceV1GetBundleByName}/index.d.ts +1 -0
  46. package/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
  47. package/NotificationResourceV1GetBundleByName/index.js +47 -0
  48. package/NotificationResourceV1GetBundleByName/index.js.map +1 -0
  49. package/{dist/NotificationResourceV1GetBundleFacets → NotificationResourceV1GetBundleFacets}/index.d.ts +1 -0
  50. package/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
  51. package/NotificationResourceV1GetBundleFacets/index.js +49 -0
  52. package/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
  53. package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.d.ts +1 -0
  54. package/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
  55. package/{dist/NotificationResourceV1GetEventTypes → NotificationResourceV1GetEventTypes}/index.js +7 -52
  56. package/NotificationResourceV1GetEventTypes/index.js.map +1 -0
  57. package/{dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +1 -0
  58. package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
  59. package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +47 -0
  60. package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
  61. package/{dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +1 -0
  62. package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
  63. package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +49 -0
  64. package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
  65. package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +1 -0
  66. package/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
  67. package/{dist/NotificationResourceV1GetLinkedBehaviorGroups → NotificationResourceV1GetLinkedBehaviorGroups}/index.js +7 -52
  68. package/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
  69. package/{dist/NotificationResourceV1UpdateBehaviorGroup → NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +1 -0
  70. package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
  71. package/NotificationResourceV1UpdateBehaviorGroup/index.js +49 -0
  72. package/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
  73. package/{dist/NotificationResourceV1UpdateBehaviorGroupActions → NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +1 -0
  74. package/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
  75. package/NotificationResourceV1UpdateBehaviorGroupActions/index.js +49 -0
  76. package/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
  77. package/{dist/NotificationResourceV1UpdateEventTypeBehaviors → NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +1 -0
  78. package/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
  79. package/NotificationResourceV1UpdateEventTypeBehaviors/index.js +49 -0
  80. package/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
  81. package/{dist/OrgConfigResourceV1GetDailyDigestTimePreference → OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +1 -0
  82. package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
  83. package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +46 -0
  84. package/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
  85. package/{dist/OrgConfigResourceV1SaveDailyDigestTimePreference → OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +1 -0
  86. package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
  87. package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +48 -0
  88. package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
  89. package/{dist/api.d.ts → api.d.ts} +1 -0
  90. package/api.d.ts.map +1 -0
  91. package/{dist/api.js → api.js} +156 -216
  92. package/api.js.map +1 -0
  93. package/{dist/base.d.ts → base.d.ts} +1 -0
  94. package/base.d.ts.map +1 -0
  95. package/{dist/base.js → base.js} +3 -16
  96. package/base.js.map +1 -0
  97. package/{dist/common.d.ts → common.d.ts} +1 -0
  98. package/common.d.ts.map +1 -0
  99. package/{dist/common.js → common.js} +9 -54
  100. package/common.js.map +1 -0
  101. package/{dist/configuration.d.ts → configuration.d.ts} +1 -0
  102. package/configuration.d.ts.map +1 -0
  103. package/{dist/utils/configuration.js → configuration.js} +1 -0
  104. package/configuration.js.map +1 -0
  105. package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +81 -0
  106. package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
  107. package/esm/DrawerResourceV1GetDrawerEntries/index.js +67 -0
  108. package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +1 -0
  109. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +22 -0
  110. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
  111. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +32 -0
  112. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +1 -0
  113. package/esm/EventResourceV1GetEvents/index.d.ts +112 -0
  114. package/esm/EventResourceV1GetEvents/index.d.ts.map +1 -0
  115. package/esm/EventResourceV1GetEvents/index.js +82 -0
  116. package/esm/EventResourceV1GetEvents/index.js.map +1 -0
  117. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +27 -0
  118. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
  119. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +32 -0
  120. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +1 -0
  121. package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +22 -0
  122. package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
  123. package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +32 -0
  124. package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +1 -0
  125. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +21 -0
  126. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
  127. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +31 -0
  128. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +1 -0
  129. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +27 -0
  130. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
  131. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +32 -0
  132. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +1 -0
  133. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +21 -0
  134. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
  135. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +31 -0
  136. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +1 -0
  137. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +27 -0
  138. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
  139. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +32 -0
  140. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +1 -0
  141. package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +21 -0
  142. package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
  143. package/esm/NotificationResourceV1GetApplicationsFacets/index.js +33 -0
  144. package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +1 -0
  145. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +21 -0
  146. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
  147. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +31 -0
  148. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +1 -0
  149. package/esm/NotificationResourceV1GetBundleByName/index.d.ts +21 -0
  150. package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
  151. package/esm/NotificationResourceV1GetBundleByName/index.js +31 -0
  152. package/esm/NotificationResourceV1GetBundleByName/index.js.map +1 -0
  153. package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +21 -0
  154. package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
  155. package/esm/NotificationResourceV1GetBundleFacets/index.js +33 -0
  156. package/esm/NotificationResourceV1GetBundleFacets/index.js.map +1 -0
  157. package/esm/NotificationResourceV1GetEventTypes/index.d.ts +63 -0
  158. package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
  159. package/esm/NotificationResourceV1GetEventTypes/index.js +54 -0
  160. package/esm/NotificationResourceV1GetEventTypes/index.js.map +1 -0
  161. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +21 -0
  162. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
  163. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +31 -0
  164. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +1 -0
  165. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +33 -0
  166. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
  167. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +33 -0
  168. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +1 -0
  169. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +51 -0
  170. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
  171. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +55 -0
  172. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +1 -0
  173. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +28 -0
  174. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
  175. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +33 -0
  176. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +1 -0
  177. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +27 -0
  178. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
  179. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +33 -0
  180. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +1 -0
  181. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +27 -0
  182. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
  183. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +33 -0
  184. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +1 -0
  185. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +15 -0
  186. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
  187. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +30 -0
  188. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +1 -0
  189. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +21 -0
  190. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
  191. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +32 -0
  192. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +1 -0
  193. package/esm/api.d.ts +3297 -0
  194. package/esm/api.d.ts.map +1 -0
  195. package/esm/api.js +2516 -0
  196. package/esm/api.js.map +1 -0
  197. package/esm/base.d.ts +55 -0
  198. package/esm/base.d.ts.map +1 -0
  199. package/esm/base.js +55 -0
  200. package/esm/base.js.map +1 -0
  201. package/esm/common.d.ts +66 -0
  202. package/esm/common.d.ts.map +1 -0
  203. package/esm/common.js +134 -0
  204. package/esm/common.js.map +1 -0
  205. package/{dist/utils → esm}/configuration.d.ts +1 -0
  206. package/esm/configuration.d.ts.map +1 -0
  207. package/esm/configuration.js +28 -0
  208. package/esm/configuration.js.map +1 -0
  209. package/esm/index.d.ts +27 -0
  210. package/esm/index.d.ts.map +1 -0
  211. package/esm/index.js +50 -0
  212. package/esm/index.js.map +1 -0
  213. package/{dist → esm}/types/index.d.ts +1 -0
  214. package/esm/types/index.d.ts.map +1 -0
  215. package/esm/types/index.js +90 -0
  216. package/esm/types/index.js.map +1 -0
  217. package/{dist → esm}/utils/base.d.ts +2 -1
  218. package/esm/utils/base.d.ts.map +1 -0
  219. package/esm/utils/base.js +125 -0
  220. package/esm/utils/base.js.map +1 -0
  221. package/{dist → esm}/utils/common.d.ts +1 -0
  222. package/esm/utils/common.d.ts.map +1 -0
  223. package/esm/utils/common.js +123 -0
  224. package/esm/utils/common.js.map +1 -0
  225. package/esm/utils/configuration.d.ts +73 -0
  226. package/esm/utils/configuration.d.ts.map +1 -0
  227. package/esm/utils/configuration.js +28 -0
  228. package/esm/utils/configuration.js.map +1 -0
  229. package/index.d.ts +27 -0
  230. package/index.d.ts.map +1 -0
  231. package/index.js +76 -0
  232. package/index.js.map +1 -0
  233. package/package.json +28 -27
  234. package/types/index.d.ts +1808 -0
  235. package/types/index.d.ts.map +1 -0
  236. package/{dist/types → types}/index.js +1 -0
  237. package/types/index.js.map +1 -0
  238. package/utils/base.d.ts +85 -0
  239. package/utils/base.d.ts.map +1 -0
  240. package/{dist/utils → utils}/base.js +13 -73
  241. package/utils/base.js.map +1 -0
  242. package/utils/common.d.ts +55 -0
  243. package/utils/common.d.ts.map +1 -0
  244. package/{dist/utils → utils}/common.js +9 -54
  245. package/utils/common.js.map +1 -0
  246. package/utils/configuration.d.ts +73 -0
  247. package/utils/configuration.d.ts.map +1 -0
  248. package/{dist → utils}/configuration.js +1 -0
  249. package/utils/configuration.js.map +1 -0
  250. package/LICENSE +0 -201
  251. package/README.md +0 -59
  252. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -93
  253. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -93
  254. package/dist/NotificationResourceV1CreateBehaviorGroup/index.js +0 -93
  255. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -92
  256. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -93
  257. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -92
  258. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -93
  259. package/dist/NotificationResourceV1GetApplicationsFacets/index.js +0 -94
  260. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -92
  261. package/dist/NotificationResourceV1GetBundleByName/index.js +0 -92
  262. package/dist/NotificationResourceV1GetBundleFacets/index.js +0 -94
  263. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -92
  264. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -94
  265. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -94
  266. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -94
  267. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -94
  268. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -91
  269. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -93
  270. package/dist/UserConfigResourceV1GetPreferences/index.d.ts +0 -25
  271. package/dist/UserConfigResourceV1GetPreferences/index.js +0 -92
  272. package/dist/UserConfigResourceV1GetSettingsSchema/index.d.ts +0 -19
  273. package/dist/UserConfigResourceV1GetSettingsSchema/index.js +0 -93
  274. package/dist/UserConfigResourceV1SaveSettings/index.d.ts +0 -20
  275. package/dist/UserConfigResourceV1SaveSettings/index.js +0 -92
  276. package/dist/index.d.ts +0 -26
  277. package/dist/index.js +0 -88
  278. package/dist/utils/index.d.ts +0 -3
  279. package/dist/utils/index.js +0 -19
  280. package/doc/.nojekyll +0 -1
  281. package/doc/README.md +0 -61
  282. package/doc/classes/BaseAPI.md +0 -125
  283. package/doc/classes/Configuration.md +0 -194
  284. package/doc/classes/RequiredError.md +0 -179
  285. package/doc/enums/EndpointStatus.md +0 -76
  286. package/doc/enums/EndpointType.md +0 -65
  287. package/doc/enums/Environment.md +0 -54
  288. package/doc/enums/EventLogEntryActionStatus.md +0 -65
  289. package/doc/enums/HttpType.md +0 -43
  290. package/doc/enums/NotificationStatus.md +0 -65
  291. package/doc/enums/Status.md +0 -32
  292. package/doc/enums/SubscriptionType.md +0 -43
  293. package/doc/interfaces/AddAccessRequest.md +0 -44
  294. package/doc/interfaces/AddApplicationRequest.md +0 -74
  295. package/doc/interfaces/AggregationEmailTemplate.md +0 -164
  296. package/doc/interfaces/ApiConfig.md +0 -30
  297. package/doc/interfaces/Application.md +0 -104
  298. package/doc/interfaces/Application1.md +0 -44
  299. package/doc/interfaces/ApplicationDTO.md +0 -104
  300. package/doc/interfaces/ApplicationSettingsValue.md +0 -33
  301. package/doc/interfaces/BasicAuthentication.md +0 -44
  302. package/doc/interfaces/BehaviorGroup.md +0 -149
  303. package/doc/interfaces/BehaviorGroupAction.md +0 -59
  304. package/doc/interfaces/BehaviorGroupActionId.md +0 -44
  305. package/doc/interfaces/Bundle.md +0 -89
  306. package/doc/interfaces/BundleSettingsValue.md +0 -33
  307. package/doc/interfaces/CamelProperties.md +0 -123
  308. package/doc/interfaces/ConfigurationParameters.md +0 -89
  309. package/doc/interfaces/CreateBehaviorGroupRequest.md +0 -104
  310. package/doc/interfaces/CreateBehaviorGroupResponse.md +0 -104
  311. package/doc/interfaces/CurrentStatus.md +0 -59
  312. package/doc/interfaces/DrawerEntryPayload.md +0 -104
  313. package/doc/interfaces/DuplicateNameMigrationReport.md +0 -44
  314. package/doc/interfaces/Endpoint.md +0 -179
  315. package/doc/interfaces/EndpointPage.md +0 -63
  316. package/doc/interfaces/EndpointTestRequest.md +0 -29
  317. package/doc/interfaces/EventLogEntry.md +0 -119
  318. package/doc/interfaces/EventLogEntryAction.md +0 -125
  319. package/doc/interfaces/EventType.md +0 -134
  320. package/doc/interfaces/EventTypeBehavior.md +0 -59
  321. package/doc/interfaces/EventTypeBehaviorId.md +0 -44
  322. package/doc/interfaces/EventTypeSettingsValue.md +0 -48
  323. package/doc/interfaces/Facet.md +0 -74
  324. package/doc/interfaces/InstantEmailTemplate.md +0 -149
  325. package/doc/interfaces/InternalApplicationUserPermission.md +0 -59
  326. package/doc/interfaces/InternalRoleAccess.md +0 -59
  327. package/doc/interfaces/InternalUserPermissions.md +0 -59
  328. package/doc/interfaces/MessageValidationResponse.md +0 -33
  329. package/doc/interfaces/Meta.md +0 -29
  330. package/doc/interfaces/NotificationHistory.md +0 -155
  331. package/doc/interfaces/PageBehaviorGroup.md +0 -63
  332. package/doc/interfaces/PageDrawerEntryPayload.md +0 -63
  333. package/doc/interfaces/PageEventLogEntry.md +0 -63
  334. package/doc/interfaces/PageEventType.md +0 -63
  335. package/doc/interfaces/PageNotificationHistory.md +0 -63
  336. package/doc/interfaces/RenderEmailTemplateRequest.md +0 -44
  337. package/doc/interfaces/RequestArgs.md +0 -58
  338. package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +0 -44
  339. package/doc/interfaces/RequestSystemSubscriptionProperties.md +0 -44
  340. package/doc/interfaces/ServerInfo.md +0 -29
  341. package/doc/interfaces/SettingsValuesByEventType.md +0 -33
  342. package/doc/interfaces/SystemSubscriptionProperties.md +0 -59
  343. package/doc/interfaces/Template.md +0 -104
  344. package/doc/interfaces/TriggerDailyDigestRequest.md +0 -89
  345. package/doc/interfaces/UpdateApplicationRequest.md +0 -59
  346. package/doc/interfaces/UpdateBehaviorGroupRequest.md +0 -74
  347. package/doc/interfaces/UpdateNotificationDrawerStatus.md +0 -44
  348. package/doc/interfaces/WebhookProperties.md +0 -104
  349. package/doc/interfaces/X509Certificate.md +0 -89
  350. package/doc/modules.md +0 -1111
  351. package/openapitools.json +0 -7
  352. package/postProcess.sh +0 -4
  353. package/tsconfig-cjs.json +0 -19
  354. package/tsconfig-esm.json +0 -21
  355. package/tsconfig.json +0 -18
package/esm/api.js ADDED
@@ -0,0 +1,2516 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Notifications
5
+ * The API for Notifications provides endpoints that you can use to create and manage event notifications between third-party applications and the Red Hat Hybrid Cloud Console.
6
+ *
7
+ * The version of the OpenAPI document: v1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import globalAxios from 'axios';
15
+ // Some imports not used depending on template conditions
16
+ // @ts-ignore
17
+ import { DUMMY_BASE_URL, assertParamExists, setBasicAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
18
+ // @ts-ignore
19
+ import { BASE_PATH, BaseAPI } from './base';
20
+ /**
21
+ *
22
+ * @export
23
+ * @enum {string}
24
+ */
25
+ export const EndpointStatus = {
26
+ Ready: 'READY',
27
+ Unknown: 'UNKNOWN',
28
+ New: 'NEW',
29
+ Provisioning: 'PROVISIONING',
30
+ Deleting: 'DELETING',
31
+ Failed: 'FAILED'
32
+ };
33
+ /**
34
+ *
35
+ * @export
36
+ * @enum {string}
37
+ */
38
+ export const EndpointType = {
39
+ Webhook: 'webhook',
40
+ EmailSubscription: 'email_subscription',
41
+ Camel: 'camel',
42
+ Ansible: 'ansible',
43
+ Drawer: 'drawer'
44
+ };
45
+ /**
46
+ *
47
+ * @export
48
+ * @enum {string}
49
+ */
50
+ export const Environment = {
51
+ Prod: 'PROD',
52
+ Stage: 'STAGE',
53
+ Ephemeral: 'EPHEMERAL',
54
+ LocalServer: 'LOCAL_SERVER'
55
+ };
56
+ /**
57
+ *
58
+ * @export
59
+ * @enum {string}
60
+ */
61
+ export const EventLogEntryActionStatus = {
62
+ Sent: 'SENT',
63
+ Success: 'SUCCESS',
64
+ Processing: 'PROCESSING',
65
+ Failed: 'FAILED',
66
+ Unknown: 'UNKNOWN'
67
+ };
68
+ /**
69
+ *
70
+ * @export
71
+ * @enum {string}
72
+ */
73
+ export const HttpType = {
74
+ Get: 'GET',
75
+ Post: 'POST',
76
+ Put: 'PUT'
77
+ };
78
+ /**
79
+ *
80
+ * @export
81
+ * @enum {string}
82
+ */
83
+ export const NotificationStatus = {
84
+ FailedInternal: 'FAILED_INTERNAL',
85
+ FailedExternal: 'FAILED_EXTERNAL',
86
+ Processing: 'PROCESSING',
87
+ Sent: 'SENT',
88
+ Success: 'SUCCESS'
89
+ };
90
+ /**
91
+ *
92
+ * @export
93
+ * @enum {string}
94
+ */
95
+ export const Status = {
96
+ Up: 'UP',
97
+ Maintenance: 'MAINTENANCE'
98
+ };
99
+ /**
100
+ *
101
+ * @export
102
+ * @enum {string}
103
+ */
104
+ export const SubscriptionType = {
105
+ Instant: 'INSTANT',
106
+ Daily: 'DAILY',
107
+ Drawer: 'DRAWER'
108
+ };
109
+ /**
110
+ * DrawerResourceV1GetDrawerEntriesApi - axios parameter creator
111
+ * @export
112
+ */
113
+ export const DrawerResourceV1GetDrawerEntriesApiAxiosParamCreator = function (configuration) {
114
+ return {
115
+ /**
116
+ * 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.
117
+ * @summary Retrieve drawer notifications entries.
118
+ * @param {Set<string>} [appIds]
119
+ * @param {Set<string>} [bundleIds]
120
+ * @param {string} [endDate]
121
+ * @param {Set<string>} [eventTypeIds]
122
+ * @param {number} [limit]
123
+ * @param {number} [offset]
124
+ * @param {number} [pageNumber]
125
+ * @param {boolean} [readStatus]
126
+ * @param {string} [sortBy]
127
+ * @param {string} [sortBy2]
128
+ * @param {string} [startDate]
129
+ * @param {*} [options] Override http request option.
130
+ * @throws {RequiredError}
131
+ */
132
+ drawerResourceV1GetDrawerEntries: async (appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options = {}) => {
133
+ const localVarPath = `/notifications/drawer`;
134
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
135
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
136
+ let baseOptions;
137
+ if (configuration) {
138
+ baseOptions = configuration.baseOptions;
139
+ }
140
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
141
+ const localVarHeaderParameter = {};
142
+ const localVarQueryParameter = {};
143
+ if (appIds) {
144
+ localVarQueryParameter['appIds'] = Array.from(appIds);
145
+ }
146
+ if (bundleIds) {
147
+ localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
148
+ }
149
+ if (endDate !== undefined) {
150
+ localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
151
+ endDate.toISOString() :
152
+ endDate;
153
+ }
154
+ if (eventTypeIds) {
155
+ localVarQueryParameter['eventTypeIds'] = Array.from(eventTypeIds);
156
+ }
157
+ if (limit !== undefined) {
158
+ localVarQueryParameter['limit'] = limit;
159
+ }
160
+ if (offset !== undefined) {
161
+ localVarQueryParameter['offset'] = offset;
162
+ }
163
+ if (pageNumber !== undefined) {
164
+ localVarQueryParameter['pageNumber'] = pageNumber;
165
+ }
166
+ if (readStatus !== undefined) {
167
+ localVarQueryParameter['readStatus'] = readStatus;
168
+ }
169
+ if (sortBy !== undefined) {
170
+ localVarQueryParameter['sortBy'] = sortBy;
171
+ }
172
+ if (sortBy2 !== undefined) {
173
+ localVarQueryParameter['sort_by'] = sortBy2;
174
+ }
175
+ if (startDate !== undefined) {
176
+ localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
177
+ startDate.toISOString() :
178
+ startDate;
179
+ }
180
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
181
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
182
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
183
+ return {
184
+ url: toPathString(localVarUrlObj),
185
+ options: localVarRequestOptions,
186
+ };
187
+ },
188
+ };
189
+ };
190
+ /**
191
+ * DrawerResourceV1GetDrawerEntriesApi - functional programming interface
192
+ * @export
193
+ */
194
+ export const DrawerResourceV1GetDrawerEntriesApiFp = function (configuration) {
195
+ const localVarAxiosParamCreator = DrawerResourceV1GetDrawerEntriesApiAxiosParamCreator(configuration);
196
+ return {
197
+ /**
198
+ * 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.
199
+ * @summary Retrieve drawer notifications entries.
200
+ * @param {Set<string>} [appIds]
201
+ * @param {Set<string>} [bundleIds]
202
+ * @param {string} [endDate]
203
+ * @param {Set<string>} [eventTypeIds]
204
+ * @param {number} [limit]
205
+ * @param {number} [offset]
206
+ * @param {number} [pageNumber]
207
+ * @param {boolean} [readStatus]
208
+ * @param {string} [sortBy]
209
+ * @param {string} [sortBy2]
210
+ * @param {string} [startDate]
211
+ * @param {*} [options] Override http request option.
212
+ * @throws {RequiredError}
213
+ */
214
+ async drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options) {
215
+ const localVarAxiosArgs = await localVarAxiosParamCreator.drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options);
216
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
217
+ },
218
+ };
219
+ };
220
+ /**
221
+ * DrawerResourceV1GetDrawerEntriesApi - factory interface
222
+ * @export
223
+ */
224
+ export const DrawerResourceV1GetDrawerEntriesApiFactory = function (configuration, basePath, axios) {
225
+ const localVarFp = DrawerResourceV1GetDrawerEntriesApiFp(configuration);
226
+ return {
227
+ /**
228
+ * 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.
229
+ * @summary Retrieve drawer notifications entries.
230
+ * @param {Set<string>} [appIds]
231
+ * @param {Set<string>} [bundleIds]
232
+ * @param {string} [endDate]
233
+ * @param {Set<string>} [eventTypeIds]
234
+ * @param {number} [limit]
235
+ * @param {number} [offset]
236
+ * @param {number} [pageNumber]
237
+ * @param {boolean} [readStatus]
238
+ * @param {string} [sortBy]
239
+ * @param {string} [sortBy2]
240
+ * @param {string} [startDate]
241
+ * @param {*} [options] Override http request option.
242
+ * @throws {RequiredError}
243
+ */
244
+ drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options) {
245
+ return localVarFp.drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options).then((request) => request(axios, basePath));
246
+ },
247
+ };
248
+ };
249
+ /**
250
+ * DrawerResourceV1GetDrawerEntriesApi - object-oriented interface
251
+ * @export
252
+ * @class DrawerResourceV1GetDrawerEntriesApi
253
+ * @extends {BaseAPI}
254
+ */
255
+ export class DrawerResourceV1GetDrawerEntriesApi extends BaseAPI {
256
+ /**
257
+ * 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.
258
+ * @summary Retrieve drawer notifications entries.
259
+ * @param {Set<string>} [appIds]
260
+ * @param {Set<string>} [bundleIds]
261
+ * @param {string} [endDate]
262
+ * @param {Set<string>} [eventTypeIds]
263
+ * @param {number} [limit]
264
+ * @param {number} [offset]
265
+ * @param {number} [pageNumber]
266
+ * @param {boolean} [readStatus]
267
+ * @param {string} [sortBy]
268
+ * @param {string} [sortBy2]
269
+ * @param {string} [startDate]
270
+ * @param {*} [options] Override http request option.
271
+ * @throws {RequiredError}
272
+ * @memberof DrawerResourceV1GetDrawerEntriesApi
273
+ */
274
+ drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options) {
275
+ return DrawerResourceV1GetDrawerEntriesApiFp(this.configuration).drawerResourceV1GetDrawerEntries(appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options).then((request) => request(this.axios, this.basePath));
276
+ }
277
+ }
278
+ /**
279
+ * DrawerResourceV1UpdateNotificationReadStatusApi - axios parameter creator
280
+ * @export
281
+ */
282
+ export const DrawerResourceV1UpdateNotificationReadStatusApiAxiosParamCreator = function (configuration) {
283
+ return {
284
+ /**
285
+ * Update drawer notifications status.
286
+ * @summary Update drawer notifications status.
287
+ * @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
288
+ * @param {*} [options] Override http request option.
289
+ * @throws {RequiredError}
290
+ */
291
+ drawerResourceV1UpdateNotificationReadStatus: async (updateNotificationDrawerStatus, options = {}) => {
292
+ const localVarPath = `/notifications/drawer/read`;
293
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
294
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
295
+ let baseOptions;
296
+ if (configuration) {
297
+ baseOptions = configuration.baseOptions;
298
+ }
299
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
300
+ const localVarHeaderParameter = {};
301
+ const localVarQueryParameter = {};
302
+ localVarHeaderParameter['Content-Type'] = 'application/json';
303
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
304
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
305
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
306
+ localVarRequestOptions.data = serializeDataIfNeeded(updateNotificationDrawerStatus, localVarRequestOptions, configuration);
307
+ return {
308
+ url: toPathString(localVarUrlObj),
309
+ options: localVarRequestOptions,
310
+ };
311
+ },
312
+ };
313
+ };
314
+ /**
315
+ * DrawerResourceV1UpdateNotificationReadStatusApi - functional programming interface
316
+ * @export
317
+ */
318
+ export const DrawerResourceV1UpdateNotificationReadStatusApiFp = function (configuration) {
319
+ const localVarAxiosParamCreator = DrawerResourceV1UpdateNotificationReadStatusApiAxiosParamCreator(configuration);
320
+ return {
321
+ /**
322
+ * Update drawer notifications status.
323
+ * @summary Update drawer notifications status.
324
+ * @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ */
328
+ async drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options) {
329
+ const localVarAxiosArgs = await localVarAxiosParamCreator.drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options);
330
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
331
+ },
332
+ };
333
+ };
334
+ /**
335
+ * DrawerResourceV1UpdateNotificationReadStatusApi - factory interface
336
+ * @export
337
+ */
338
+ export const DrawerResourceV1UpdateNotificationReadStatusApiFactory = function (configuration, basePath, axios) {
339
+ const localVarFp = DrawerResourceV1UpdateNotificationReadStatusApiFp(configuration);
340
+ return {
341
+ /**
342
+ * Update drawer notifications status.
343
+ * @summary Update drawer notifications status.
344
+ * @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
345
+ * @param {*} [options] Override http request option.
346
+ * @throws {RequiredError}
347
+ */
348
+ drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options) {
349
+ return localVarFp.drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options).then((request) => request(axios, basePath));
350
+ },
351
+ };
352
+ };
353
+ /**
354
+ * DrawerResourceV1UpdateNotificationReadStatusApi - object-oriented interface
355
+ * @export
356
+ * @class DrawerResourceV1UpdateNotificationReadStatusApi
357
+ * @extends {BaseAPI}
358
+ */
359
+ export class DrawerResourceV1UpdateNotificationReadStatusApi extends BaseAPI {
360
+ /**
361
+ * Update drawer notifications status.
362
+ * @summary Update drawer notifications status.
363
+ * @param {UpdateNotificationDrawerStatus} [updateNotificationDrawerStatus]
364
+ * @param {*} [options] Override http request option.
365
+ * @throws {RequiredError}
366
+ * @memberof DrawerResourceV1UpdateNotificationReadStatusApi
367
+ */
368
+ drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options) {
369
+ return DrawerResourceV1UpdateNotificationReadStatusApiFp(this.configuration).drawerResourceV1UpdateNotificationReadStatus(updateNotificationDrawerStatus, options).then((request) => request(this.axios, this.basePath));
370
+ }
371
+ }
372
+ /**
373
+ * EventResourceV1GetEventsApi - axios parameter creator
374
+ * @export
375
+ */
376
+ export const EventResourceV1GetEventsApiAxiosParamCreator = function (configuration) {
377
+ return {
378
+ /**
379
+ * 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.
380
+ * @summary Retrieve the event log entries
381
+ * @param {Set<string>} [appIds]
382
+ * @param {Set<string>} [bundleIds]
383
+ * @param {string} [endDate]
384
+ * @param {Set<string>} [endpointTypes]
385
+ * @param {string} [eventTypeDisplayName]
386
+ * @param {boolean} [includeActions]
387
+ * @param {boolean} [includeDetails]
388
+ * @param {boolean} [includePayload]
389
+ * @param {Set<boolean>} [invocationResults]
390
+ * @param {number} [limit]
391
+ * @param {number} [offset]
392
+ * @param {number} [pageNumber]
393
+ * @param {string} [sortBy]
394
+ * @param {string} [sortBy2]
395
+ * @param {string} [startDate]
396
+ * @param {Set<EventLogEntryActionStatus>} [status]
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ eventResourceV1GetEvents: async (appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options = {}) => {
401
+ const localVarPath = `/notifications/events`;
402
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
403
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
404
+ let baseOptions;
405
+ if (configuration) {
406
+ baseOptions = configuration.baseOptions;
407
+ }
408
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
409
+ const localVarHeaderParameter = {};
410
+ const localVarQueryParameter = {};
411
+ if (appIds) {
412
+ localVarQueryParameter['appIds'] = Array.from(appIds);
413
+ }
414
+ if (bundleIds) {
415
+ localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
416
+ }
417
+ if (endDate !== undefined) {
418
+ localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
419
+ endDate.toISOString().substring(0, 10) :
420
+ endDate;
421
+ }
422
+ if (endpointTypes) {
423
+ localVarQueryParameter['endpointTypes'] = Array.from(endpointTypes);
424
+ }
425
+ if (eventTypeDisplayName !== undefined) {
426
+ localVarQueryParameter['eventTypeDisplayName'] = eventTypeDisplayName;
427
+ }
428
+ if (includeActions !== undefined) {
429
+ localVarQueryParameter['includeActions'] = includeActions;
430
+ }
431
+ if (includeDetails !== undefined) {
432
+ localVarQueryParameter['includeDetails'] = includeDetails;
433
+ }
434
+ if (includePayload !== undefined) {
435
+ localVarQueryParameter['includePayload'] = includePayload;
436
+ }
437
+ if (invocationResults) {
438
+ localVarQueryParameter['invocationResults'] = Array.from(invocationResults);
439
+ }
440
+ if (limit !== undefined) {
441
+ localVarQueryParameter['limit'] = limit;
442
+ }
443
+ if (offset !== undefined) {
444
+ localVarQueryParameter['offset'] = offset;
445
+ }
446
+ if (pageNumber !== undefined) {
447
+ localVarQueryParameter['pageNumber'] = pageNumber;
448
+ }
449
+ if (sortBy !== undefined) {
450
+ localVarQueryParameter['sortBy'] = sortBy;
451
+ }
452
+ if (sortBy2 !== undefined) {
453
+ localVarQueryParameter['sort_by'] = sortBy2;
454
+ }
455
+ if (startDate !== undefined) {
456
+ localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
457
+ startDate.toISOString().substring(0, 10) :
458
+ startDate;
459
+ }
460
+ if (status) {
461
+ localVarQueryParameter['status'] = Array.from(status);
462
+ }
463
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
464
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
465
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
466
+ return {
467
+ url: toPathString(localVarUrlObj),
468
+ options: localVarRequestOptions,
469
+ };
470
+ },
471
+ };
472
+ };
473
+ /**
474
+ * EventResourceV1GetEventsApi - functional programming interface
475
+ * @export
476
+ */
477
+ export const EventResourceV1GetEventsApiFp = function (configuration) {
478
+ const localVarAxiosParamCreator = EventResourceV1GetEventsApiAxiosParamCreator(configuration);
479
+ return {
480
+ /**
481
+ * 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.
482
+ * @summary Retrieve the event log entries
483
+ * @param {Set<string>} [appIds]
484
+ * @param {Set<string>} [bundleIds]
485
+ * @param {string} [endDate]
486
+ * @param {Set<string>} [endpointTypes]
487
+ * @param {string} [eventTypeDisplayName]
488
+ * @param {boolean} [includeActions]
489
+ * @param {boolean} [includeDetails]
490
+ * @param {boolean} [includePayload]
491
+ * @param {Set<boolean>} [invocationResults]
492
+ * @param {number} [limit]
493
+ * @param {number} [offset]
494
+ * @param {number} [pageNumber]
495
+ * @param {string} [sortBy]
496
+ * @param {string} [sortBy2]
497
+ * @param {string} [startDate]
498
+ * @param {Set<EventLogEntryActionStatus>} [status]
499
+ * @param {*} [options] Override http request option.
500
+ * @throws {RequiredError}
501
+ */
502
+ async eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options) {
503
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options);
504
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
505
+ },
506
+ };
507
+ };
508
+ /**
509
+ * EventResourceV1GetEventsApi - factory interface
510
+ * @export
511
+ */
512
+ export const EventResourceV1GetEventsApiFactory = function (configuration, basePath, axios) {
513
+ const localVarFp = EventResourceV1GetEventsApiFp(configuration);
514
+ return {
515
+ /**
516
+ * 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.
517
+ * @summary Retrieve the event log entries
518
+ * @param {Set<string>} [appIds]
519
+ * @param {Set<string>} [bundleIds]
520
+ * @param {string} [endDate]
521
+ * @param {Set<string>} [endpointTypes]
522
+ * @param {string} [eventTypeDisplayName]
523
+ * @param {boolean} [includeActions]
524
+ * @param {boolean} [includeDetails]
525
+ * @param {boolean} [includePayload]
526
+ * @param {Set<boolean>} [invocationResults]
527
+ * @param {number} [limit]
528
+ * @param {number} [offset]
529
+ * @param {number} [pageNumber]
530
+ * @param {string} [sortBy]
531
+ * @param {string} [sortBy2]
532
+ * @param {string} [startDate]
533
+ * @param {Set<EventLogEntryActionStatus>} [status]
534
+ * @param {*} [options] Override http request option.
535
+ * @throws {RequiredError}
536
+ */
537
+ eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options) {
538
+ return localVarFp.eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options).then((request) => request(axios, basePath));
539
+ },
540
+ };
541
+ };
542
+ /**
543
+ * EventResourceV1GetEventsApi - object-oriented interface
544
+ * @export
545
+ * @class EventResourceV1GetEventsApi
546
+ * @extends {BaseAPI}
547
+ */
548
+ export class EventResourceV1GetEventsApi extends BaseAPI {
549
+ /**
550
+ * 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.
551
+ * @summary Retrieve the event log entries
552
+ * @param {Set<string>} [appIds]
553
+ * @param {Set<string>} [bundleIds]
554
+ * @param {string} [endDate]
555
+ * @param {Set<string>} [endpointTypes]
556
+ * @param {string} [eventTypeDisplayName]
557
+ * @param {boolean} [includeActions]
558
+ * @param {boolean} [includeDetails]
559
+ * @param {boolean} [includePayload]
560
+ * @param {Set<boolean>} [invocationResults]
561
+ * @param {number} [limit]
562
+ * @param {number} [offset]
563
+ * @param {number} [pageNumber]
564
+ * @param {string} [sortBy]
565
+ * @param {string} [sortBy2]
566
+ * @param {string} [startDate]
567
+ * @param {Set<EventLogEntryActionStatus>} [status]
568
+ * @param {*} [options] Override http request option.
569
+ * @throws {RequiredError}
570
+ * @memberof EventResourceV1GetEventsApi
571
+ */
572
+ eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options) {
573
+ return EventResourceV1GetEventsApiFp(this.configuration).eventResourceV1GetEvents(appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options).then((request) => request(this.axios, this.basePath));
574
+ }
575
+ }
576
+ /**
577
+ * NotificationResourceV1AppendBehaviorGroupToEventTypeApi - axios parameter creator
578
+ * @export
579
+ */
580
+ export const NotificationResourceV1AppendBehaviorGroupToEventTypeApiAxiosParamCreator = function (configuration) {
581
+ return {
582
+ /**
583
+ *
584
+ * @summary Add a behavior group to the given event type.
585
+ * @param {string} behaviorGroupUuid
586
+ * @param {string} eventTypeUuid
587
+ * @param {*} [options] Override http request option.
588
+ * @throws {RequiredError}
589
+ */
590
+ notificationResourceV1AppendBehaviorGroupToEventType: async (behaviorGroupUuid, eventTypeUuid, options = {}) => {
591
+ // verify required parameter 'behaviorGroupUuid' is not null or undefined
592
+ assertParamExists('notificationResourceV1AppendBehaviorGroupToEventType', 'behaviorGroupUuid', behaviorGroupUuid);
593
+ // verify required parameter 'eventTypeUuid' is not null or undefined
594
+ assertParamExists('notificationResourceV1AppendBehaviorGroupToEventType', 'eventTypeUuid', eventTypeUuid);
595
+ const localVarPath = `/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}`
596
+ .replace(`{${"behaviorGroupUuid"}}`, encodeURIComponent(String(behaviorGroupUuid)))
597
+ .replace(`{${"eventTypeUuid"}}`, encodeURIComponent(String(eventTypeUuid)));
598
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
599
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
600
+ let baseOptions;
601
+ if (configuration) {
602
+ baseOptions = configuration.baseOptions;
603
+ }
604
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
605
+ const localVarHeaderParameter = {};
606
+ const localVarQueryParameter = {};
607
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
608
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
609
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
610
+ return {
611
+ url: toPathString(localVarUrlObj),
612
+ options: localVarRequestOptions,
613
+ };
614
+ },
615
+ };
616
+ };
617
+ /**
618
+ * NotificationResourceV1AppendBehaviorGroupToEventTypeApi - functional programming interface
619
+ * @export
620
+ */
621
+ export const NotificationResourceV1AppendBehaviorGroupToEventTypeApiFp = function (configuration) {
622
+ const localVarAxiosParamCreator = NotificationResourceV1AppendBehaviorGroupToEventTypeApiAxiosParamCreator(configuration);
623
+ return {
624
+ /**
625
+ *
626
+ * @summary Add a behavior group to the given event type.
627
+ * @param {string} behaviorGroupUuid
628
+ * @param {string} eventTypeUuid
629
+ * @param {*} [options] Override http request option.
630
+ * @throws {RequiredError}
631
+ */
632
+ async notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options) {
633
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options);
634
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
635
+ },
636
+ };
637
+ };
638
+ /**
639
+ * NotificationResourceV1AppendBehaviorGroupToEventTypeApi - factory interface
640
+ * @export
641
+ */
642
+ export const NotificationResourceV1AppendBehaviorGroupToEventTypeApiFactory = function (configuration, basePath, axios) {
643
+ const localVarFp = NotificationResourceV1AppendBehaviorGroupToEventTypeApiFp(configuration);
644
+ return {
645
+ /**
646
+ *
647
+ * @summary Add a behavior group to the given event type.
648
+ * @param {string} behaviorGroupUuid
649
+ * @param {string} eventTypeUuid
650
+ * @param {*} [options] Override http request option.
651
+ * @throws {RequiredError}
652
+ */
653
+ notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options) {
654
+ return localVarFp.notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options).then((request) => request(axios, basePath));
655
+ },
656
+ };
657
+ };
658
+ /**
659
+ * NotificationResourceV1AppendBehaviorGroupToEventTypeApi - object-oriented interface
660
+ * @export
661
+ * @class NotificationResourceV1AppendBehaviorGroupToEventTypeApi
662
+ * @extends {BaseAPI}
663
+ */
664
+ export class NotificationResourceV1AppendBehaviorGroupToEventTypeApi extends BaseAPI {
665
+ /**
666
+ *
667
+ * @summary Add a behavior group to the given event type.
668
+ * @param {string} behaviorGroupUuid
669
+ * @param {string} eventTypeUuid
670
+ * @param {*} [options] Override http request option.
671
+ * @throws {RequiredError}
672
+ * @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
673
+ */
674
+ notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options) {
675
+ return NotificationResourceV1AppendBehaviorGroupToEventTypeApiFp(this.configuration).notificationResourceV1AppendBehaviorGroupToEventType(behaviorGroupUuid, eventTypeUuid, options).then((request) => request(this.axios, this.basePath));
676
+ }
677
+ }
678
+ /**
679
+ * NotificationResourceV1CreateBehaviorGroupApi - axios parameter creator
680
+ * @export
681
+ */
682
+ export const NotificationResourceV1CreateBehaviorGroupApiAxiosParamCreator = function (configuration) {
683
+ return {
684
+ /**
685
+ * 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.
686
+ * @summary Create a behavior group
687
+ * @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ */
691
+ notificationResourceV1CreateBehaviorGroup: async (createBehaviorGroupRequest, options = {}) => {
692
+ // verify required parameter 'createBehaviorGroupRequest' is not null or undefined
693
+ assertParamExists('notificationResourceV1CreateBehaviorGroup', 'createBehaviorGroupRequest', createBehaviorGroupRequest);
694
+ const localVarPath = `/notifications/behaviorGroups`;
695
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
696
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
697
+ let baseOptions;
698
+ if (configuration) {
699
+ baseOptions = configuration.baseOptions;
700
+ }
701
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
702
+ const localVarHeaderParameter = {};
703
+ const localVarQueryParameter = {};
704
+ localVarHeaderParameter['Content-Type'] = 'application/json';
705
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
706
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
707
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
708
+ localVarRequestOptions.data = serializeDataIfNeeded(createBehaviorGroupRequest, localVarRequestOptions, configuration);
709
+ return {
710
+ url: toPathString(localVarUrlObj),
711
+ options: localVarRequestOptions,
712
+ };
713
+ },
714
+ };
715
+ };
716
+ /**
717
+ * NotificationResourceV1CreateBehaviorGroupApi - functional programming interface
718
+ * @export
719
+ */
720
+ export const NotificationResourceV1CreateBehaviorGroupApiFp = function (configuration) {
721
+ const localVarAxiosParamCreator = NotificationResourceV1CreateBehaviorGroupApiAxiosParamCreator(configuration);
722
+ return {
723
+ /**
724
+ * 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.
725
+ * @summary Create a behavior group
726
+ * @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
727
+ * @param {*} [options] Override http request option.
728
+ * @throws {RequiredError}
729
+ */
730
+ async notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options) {
731
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options);
732
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
733
+ },
734
+ };
735
+ };
736
+ /**
737
+ * NotificationResourceV1CreateBehaviorGroupApi - factory interface
738
+ * @export
739
+ */
740
+ export const NotificationResourceV1CreateBehaviorGroupApiFactory = function (configuration, basePath, axios) {
741
+ const localVarFp = NotificationResourceV1CreateBehaviorGroupApiFp(configuration);
742
+ return {
743
+ /**
744
+ * 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.
745
+ * @summary Create a behavior group
746
+ * @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
747
+ * @param {*} [options] Override http request option.
748
+ * @throws {RequiredError}
749
+ */
750
+ notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options) {
751
+ return localVarFp.notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options).then((request) => request(axios, basePath));
752
+ },
753
+ };
754
+ };
755
+ /**
756
+ * NotificationResourceV1CreateBehaviorGroupApi - object-oriented interface
757
+ * @export
758
+ * @class NotificationResourceV1CreateBehaviorGroupApi
759
+ * @extends {BaseAPI}
760
+ */
761
+ export class NotificationResourceV1CreateBehaviorGroupApi extends BaseAPI {
762
+ /**
763
+ * 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.
764
+ * @summary Create a behavior group
765
+ * @param {CreateBehaviorGroupRequest} createBehaviorGroupRequest
766
+ * @param {*} [options] Override http request option.
767
+ * @throws {RequiredError}
768
+ * @memberof NotificationResourceV1CreateBehaviorGroupApi
769
+ */
770
+ notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options) {
771
+ return NotificationResourceV1CreateBehaviorGroupApiFp(this.configuration).notificationResourceV1CreateBehaviorGroup(createBehaviorGroupRequest, options).then((request) => request(this.axios, this.basePath));
772
+ }
773
+ }
774
+ /**
775
+ * NotificationResourceV1DeleteBehaviorGroupApi - axios parameter creator
776
+ * @export
777
+ */
778
+ export const NotificationResourceV1DeleteBehaviorGroupApiAxiosParamCreator = function (configuration) {
779
+ return {
780
+ /**
781
+ * Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
782
+ * @summary Delete a behavior group
783
+ * @param {string} id The UUID of the behavior group to delete
784
+ * @param {*} [options] Override http request option.
785
+ * @throws {RequiredError}
786
+ */
787
+ notificationResourceV1DeleteBehaviorGroup: async (id, options = {}) => {
788
+ // verify required parameter 'id' is not null or undefined
789
+ assertParamExists('notificationResourceV1DeleteBehaviorGroup', 'id', id);
790
+ const localVarPath = `/notifications/behaviorGroups/{id}`
791
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
792
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
793
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
794
+ let baseOptions;
795
+ if (configuration) {
796
+ baseOptions = configuration.baseOptions;
797
+ }
798
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
799
+ const localVarHeaderParameter = {};
800
+ const localVarQueryParameter = {};
801
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
802
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
803
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
804
+ return {
805
+ url: toPathString(localVarUrlObj),
806
+ options: localVarRequestOptions,
807
+ };
808
+ },
809
+ };
810
+ };
811
+ /**
812
+ * NotificationResourceV1DeleteBehaviorGroupApi - functional programming interface
813
+ * @export
814
+ */
815
+ export const NotificationResourceV1DeleteBehaviorGroupApiFp = function (configuration) {
816
+ const localVarAxiosParamCreator = NotificationResourceV1DeleteBehaviorGroupApiAxiosParamCreator(configuration);
817
+ return {
818
+ /**
819
+ * Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
820
+ * @summary Delete a behavior group
821
+ * @param {string} id The UUID of the behavior group to delete
822
+ * @param {*} [options] Override http request option.
823
+ * @throws {RequiredError}
824
+ */
825
+ async notificationResourceV1DeleteBehaviorGroup(id, options) {
826
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1DeleteBehaviorGroup(id, options);
827
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
828
+ },
829
+ };
830
+ };
831
+ /**
832
+ * NotificationResourceV1DeleteBehaviorGroupApi - factory interface
833
+ * @export
834
+ */
835
+ export const NotificationResourceV1DeleteBehaviorGroupApiFactory = function (configuration, basePath, axios) {
836
+ const localVarFp = NotificationResourceV1DeleteBehaviorGroupApiFp(configuration);
837
+ return {
838
+ /**
839
+ * Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
840
+ * @summary Delete a behavior group
841
+ * @param {string} id The UUID of the behavior group to delete
842
+ * @param {*} [options] Override http request option.
843
+ * @throws {RequiredError}
844
+ */
845
+ notificationResourceV1DeleteBehaviorGroup(id, options) {
846
+ return localVarFp.notificationResourceV1DeleteBehaviorGroup(id, options).then((request) => request(axios, basePath));
847
+ },
848
+ };
849
+ };
850
+ /**
851
+ * NotificationResourceV1DeleteBehaviorGroupApi - object-oriented interface
852
+ * @export
853
+ * @class NotificationResourceV1DeleteBehaviorGroupApi
854
+ * @extends {BaseAPI}
855
+ */
856
+ export class NotificationResourceV1DeleteBehaviorGroupApi extends BaseAPI {
857
+ /**
858
+ * Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
859
+ * @summary Delete a behavior group
860
+ * @param {string} id The UUID of the behavior group to delete
861
+ * @param {*} [options] Override http request option.
862
+ * @throws {RequiredError}
863
+ * @memberof NotificationResourceV1DeleteBehaviorGroupApi
864
+ */
865
+ notificationResourceV1DeleteBehaviorGroup(id, options) {
866
+ return NotificationResourceV1DeleteBehaviorGroupApiFp(this.configuration).notificationResourceV1DeleteBehaviorGroup(id, options).then((request) => request(this.axios, this.basePath));
867
+ }
868
+ }
869
+ /**
870
+ * NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - axios parameter creator
871
+ * @export
872
+ */
873
+ export const NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiAxiosParamCreator = function (configuration) {
874
+ return {
875
+ /**
876
+ * Adds a behavior group to the specified event type.
877
+ * @summary Add a behavior group to an event type
878
+ * @param {string} behaviorGroupId
879
+ * @param {string} eventTypeId
880
+ * @param {*} [options] Override http request option.
881
+ * @throws {RequiredError}
882
+ */
883
+ notificationResourceV1DeleteBehaviorGroupFromEventType: async (behaviorGroupId, eventTypeId, options = {}) => {
884
+ // verify required parameter 'behaviorGroupId' is not null or undefined
885
+ assertParamExists('notificationResourceV1DeleteBehaviorGroupFromEventType', 'behaviorGroupId', behaviorGroupId);
886
+ // verify required parameter 'eventTypeId' is not null or undefined
887
+ assertParamExists('notificationResourceV1DeleteBehaviorGroupFromEventType', 'eventTypeId', eventTypeId);
888
+ const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups/{behaviorGroupId}`
889
+ .replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)))
890
+ .replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
891
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
892
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
893
+ let baseOptions;
894
+ if (configuration) {
895
+ baseOptions = configuration.baseOptions;
896
+ }
897
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
898
+ const localVarHeaderParameter = {};
899
+ const localVarQueryParameter = {};
900
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
901
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
902
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
903
+ return {
904
+ url: toPathString(localVarUrlObj),
905
+ options: localVarRequestOptions,
906
+ };
907
+ },
908
+ };
909
+ };
910
+ /**
911
+ * NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - functional programming interface
912
+ * @export
913
+ */
914
+ export const NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFp = function (configuration) {
915
+ const localVarAxiosParamCreator = NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiAxiosParamCreator(configuration);
916
+ return {
917
+ /**
918
+ * Adds a behavior group to the specified event type.
919
+ * @summary Add a behavior group to an event type
920
+ * @param {string} behaviorGroupId
921
+ * @param {string} eventTypeId
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ */
925
+ async notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options) {
926
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options);
927
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
928
+ },
929
+ };
930
+ };
931
+ /**
932
+ * NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - factory interface
933
+ * @export
934
+ */
935
+ export const NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFactory = function (configuration, basePath, axios) {
936
+ const localVarFp = NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFp(configuration);
937
+ return {
938
+ /**
939
+ * Adds a behavior group to the specified event type.
940
+ * @summary Add a behavior group to an event type
941
+ * @param {string} behaviorGroupId
942
+ * @param {string} eventTypeId
943
+ * @param {*} [options] Override http request option.
944
+ * @throws {RequiredError}
945
+ */
946
+ notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options) {
947
+ return localVarFp.notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options).then((request) => request(axios, basePath));
948
+ },
949
+ };
950
+ };
951
+ /**
952
+ * NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi - object-oriented interface
953
+ * @export
954
+ * @class NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
955
+ * @extends {BaseAPI}
956
+ */
957
+ export class NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi extends BaseAPI {
958
+ /**
959
+ * Adds a behavior group to the specified event type.
960
+ * @summary Add a behavior group to an event type
961
+ * @param {string} behaviorGroupId
962
+ * @param {string} eventTypeId
963
+ * @param {*} [options] Override http request option.
964
+ * @throws {RequiredError}
965
+ * @memberof NotificationResourceV1DeleteBehaviorGroupFromEventTypeApi
966
+ */
967
+ notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options) {
968
+ return NotificationResourceV1DeleteBehaviorGroupFromEventTypeApiFp(this.configuration).notificationResourceV1DeleteBehaviorGroupFromEventType(behaviorGroupId, eventTypeId, options).then((request) => request(this.axios, this.basePath));
969
+ }
970
+ }
971
+ /**
972
+ * NotificationResourceV1FindBehaviorGroupsByBundleIdApi - axios parameter creator
973
+ * @export
974
+ */
975
+ export const NotificationResourceV1FindBehaviorGroupsByBundleIdApiAxiosParamCreator = function (configuration) {
976
+ return {
977
+ /**
978
+ * 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.
979
+ * @summary List behavior groups in a bundle
980
+ * @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
981
+ * @param {*} [options] Override http request option.
982
+ * @throws {RequiredError}
983
+ */
984
+ notificationResourceV1FindBehaviorGroupsByBundleId: async (bundleId, options = {}) => {
985
+ // verify required parameter 'bundleId' is not null or undefined
986
+ assertParamExists('notificationResourceV1FindBehaviorGroupsByBundleId', 'bundleId', bundleId);
987
+ const localVarPath = `/notifications/bundles/{bundleId}/behaviorGroups`
988
+ .replace(`{${"bundleId"}}`, encodeURIComponent(String(bundleId)));
989
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
990
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
991
+ let baseOptions;
992
+ if (configuration) {
993
+ baseOptions = configuration.baseOptions;
994
+ }
995
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
996
+ const localVarHeaderParameter = {};
997
+ const localVarQueryParameter = {};
998
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
999
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1000
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1001
+ return {
1002
+ url: toPathString(localVarUrlObj),
1003
+ options: localVarRequestOptions,
1004
+ };
1005
+ },
1006
+ };
1007
+ };
1008
+ /**
1009
+ * NotificationResourceV1FindBehaviorGroupsByBundleIdApi - functional programming interface
1010
+ * @export
1011
+ */
1012
+ export const NotificationResourceV1FindBehaviorGroupsByBundleIdApiFp = function (configuration) {
1013
+ const localVarAxiosParamCreator = NotificationResourceV1FindBehaviorGroupsByBundleIdApiAxiosParamCreator(configuration);
1014
+ return {
1015
+ /**
1016
+ * 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.
1017
+ * @summary List behavior groups in a bundle
1018
+ * @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
1019
+ * @param {*} [options] Override http request option.
1020
+ * @throws {RequiredError}
1021
+ */
1022
+ async notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options) {
1023
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options);
1024
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1025
+ },
1026
+ };
1027
+ };
1028
+ /**
1029
+ * NotificationResourceV1FindBehaviorGroupsByBundleIdApi - factory interface
1030
+ * @export
1031
+ */
1032
+ export const NotificationResourceV1FindBehaviorGroupsByBundleIdApiFactory = function (configuration, basePath, axios) {
1033
+ const localVarFp = NotificationResourceV1FindBehaviorGroupsByBundleIdApiFp(configuration);
1034
+ return {
1035
+ /**
1036
+ * 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.
1037
+ * @summary List behavior groups in a bundle
1038
+ * @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
1039
+ * @param {*} [options] Override http request option.
1040
+ * @throws {RequiredError}
1041
+ */
1042
+ notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options) {
1043
+ return localVarFp.notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options).then((request) => request(axios, basePath));
1044
+ },
1045
+ };
1046
+ };
1047
+ /**
1048
+ * NotificationResourceV1FindBehaviorGroupsByBundleIdApi - object-oriented interface
1049
+ * @export
1050
+ * @class NotificationResourceV1FindBehaviorGroupsByBundleIdApi
1051
+ * @extends {BaseAPI}
1052
+ */
1053
+ export class NotificationResourceV1FindBehaviorGroupsByBundleIdApi extends BaseAPI {
1054
+ /**
1055
+ * 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.
1056
+ * @summary List behavior groups in a bundle
1057
+ * @param {string} bundleId UUID of the bundle to retrieve the behavior groups for.
1058
+ * @param {*} [options] Override http request option.
1059
+ * @throws {RequiredError}
1060
+ * @memberof NotificationResourceV1FindBehaviorGroupsByBundleIdApi
1061
+ */
1062
+ notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options) {
1063
+ return NotificationResourceV1FindBehaviorGroupsByBundleIdApiFp(this.configuration).notificationResourceV1FindBehaviorGroupsByBundleId(bundleId, options).then((request) => request(this.axios, this.basePath));
1064
+ }
1065
+ }
1066
+ /**
1067
+ * NotificationResourceV1GetApplicationByNameAndBundleNameApi - axios parameter creator
1068
+ * @export
1069
+ */
1070
+ export const NotificationResourceV1GetApplicationByNameAndBundleNameApiAxiosParamCreator = function (configuration) {
1071
+ return {
1072
+ /**
1073
+ * 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.
1074
+ * @summary Retrieve an application by bundle and application names
1075
+ * @param {string} applicationName
1076
+ * @param {string} bundleName
1077
+ * @param {*} [options] Override http request option.
1078
+ * @throws {RequiredError}
1079
+ */
1080
+ notificationResourceV1GetApplicationByNameAndBundleName: async (applicationName, bundleName, options = {}) => {
1081
+ // verify required parameter 'applicationName' is not null or undefined
1082
+ assertParamExists('notificationResourceV1GetApplicationByNameAndBundleName', 'applicationName', applicationName);
1083
+ // verify required parameter 'bundleName' is not null or undefined
1084
+ assertParamExists('notificationResourceV1GetApplicationByNameAndBundleName', 'bundleName', bundleName);
1085
+ const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}`
1086
+ .replace(`{${"applicationName"}}`, encodeURIComponent(String(applicationName)))
1087
+ .replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)));
1088
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1089
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1090
+ let baseOptions;
1091
+ if (configuration) {
1092
+ baseOptions = configuration.baseOptions;
1093
+ }
1094
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1095
+ const localVarHeaderParameter = {};
1096
+ const localVarQueryParameter = {};
1097
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1098
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1099
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1100
+ return {
1101
+ url: toPathString(localVarUrlObj),
1102
+ options: localVarRequestOptions,
1103
+ };
1104
+ },
1105
+ };
1106
+ };
1107
+ /**
1108
+ * NotificationResourceV1GetApplicationByNameAndBundleNameApi - functional programming interface
1109
+ * @export
1110
+ */
1111
+ export const NotificationResourceV1GetApplicationByNameAndBundleNameApiFp = function (configuration) {
1112
+ const localVarAxiosParamCreator = NotificationResourceV1GetApplicationByNameAndBundleNameApiAxiosParamCreator(configuration);
1113
+ return {
1114
+ /**
1115
+ * 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.
1116
+ * @summary Retrieve an application by bundle and application names
1117
+ * @param {string} applicationName
1118
+ * @param {string} bundleName
1119
+ * @param {*} [options] Override http request option.
1120
+ * @throws {RequiredError}
1121
+ */
1122
+ async notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options) {
1123
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options);
1124
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1125
+ },
1126
+ };
1127
+ };
1128
+ /**
1129
+ * NotificationResourceV1GetApplicationByNameAndBundleNameApi - factory interface
1130
+ * @export
1131
+ */
1132
+ export const NotificationResourceV1GetApplicationByNameAndBundleNameApiFactory = function (configuration, basePath, axios) {
1133
+ const localVarFp = NotificationResourceV1GetApplicationByNameAndBundleNameApiFp(configuration);
1134
+ return {
1135
+ /**
1136
+ * 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.
1137
+ * @summary Retrieve an application by bundle and application names
1138
+ * @param {string} applicationName
1139
+ * @param {string} bundleName
1140
+ * @param {*} [options] Override http request option.
1141
+ * @throws {RequiredError}
1142
+ */
1143
+ notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options) {
1144
+ return localVarFp.notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options).then((request) => request(axios, basePath));
1145
+ },
1146
+ };
1147
+ };
1148
+ /**
1149
+ * NotificationResourceV1GetApplicationByNameAndBundleNameApi - object-oriented interface
1150
+ * @export
1151
+ * @class NotificationResourceV1GetApplicationByNameAndBundleNameApi
1152
+ * @extends {BaseAPI}
1153
+ */
1154
+ export class NotificationResourceV1GetApplicationByNameAndBundleNameApi extends BaseAPI {
1155
+ /**
1156
+ * 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.
1157
+ * @summary Retrieve an application by bundle and application names
1158
+ * @param {string} applicationName
1159
+ * @param {string} bundleName
1160
+ * @param {*} [options] Override http request option.
1161
+ * @throws {RequiredError}
1162
+ * @memberof NotificationResourceV1GetApplicationByNameAndBundleNameApi
1163
+ */
1164
+ notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options) {
1165
+ return NotificationResourceV1GetApplicationByNameAndBundleNameApiFp(this.configuration).notificationResourceV1GetApplicationByNameAndBundleName(applicationName, bundleName, options).then((request) => request(this.axios, this.basePath));
1166
+ }
1167
+ }
1168
+ /**
1169
+ * NotificationResourceV1GetApplicationsFacetsApi - axios parameter creator
1170
+ * @export
1171
+ */
1172
+ export const NotificationResourceV1GetApplicationsFacetsApiAxiosParamCreator = function (configuration) {
1173
+ return {
1174
+ /**
1175
+ * 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.
1176
+ * @summary List configured applications
1177
+ * @param {string} [bundleName]
1178
+ * @param {*} [options] Override http request option.
1179
+ * @throws {RequiredError}
1180
+ */
1181
+ notificationResourceV1GetApplicationsFacets: async (bundleName, options = {}) => {
1182
+ const localVarPath = `/notifications/facets/applications`;
1183
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1184
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1185
+ let baseOptions;
1186
+ if (configuration) {
1187
+ baseOptions = configuration.baseOptions;
1188
+ }
1189
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1190
+ const localVarHeaderParameter = {};
1191
+ const localVarQueryParameter = {};
1192
+ if (bundleName !== undefined) {
1193
+ localVarQueryParameter['bundleName'] = bundleName;
1194
+ }
1195
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1196
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1197
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1198
+ return {
1199
+ url: toPathString(localVarUrlObj),
1200
+ options: localVarRequestOptions,
1201
+ };
1202
+ },
1203
+ };
1204
+ };
1205
+ /**
1206
+ * NotificationResourceV1GetApplicationsFacetsApi - functional programming interface
1207
+ * @export
1208
+ */
1209
+ export const NotificationResourceV1GetApplicationsFacetsApiFp = function (configuration) {
1210
+ const localVarAxiosParamCreator = NotificationResourceV1GetApplicationsFacetsApiAxiosParamCreator(configuration);
1211
+ return {
1212
+ /**
1213
+ * 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.
1214
+ * @summary List configured applications
1215
+ * @param {string} [bundleName]
1216
+ * @param {*} [options] Override http request option.
1217
+ * @throws {RequiredError}
1218
+ */
1219
+ async notificationResourceV1GetApplicationsFacets(bundleName, options) {
1220
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetApplicationsFacets(bundleName, options);
1221
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1222
+ },
1223
+ };
1224
+ };
1225
+ /**
1226
+ * NotificationResourceV1GetApplicationsFacetsApi - factory interface
1227
+ * @export
1228
+ */
1229
+ export const NotificationResourceV1GetApplicationsFacetsApiFactory = function (configuration, basePath, axios) {
1230
+ const localVarFp = NotificationResourceV1GetApplicationsFacetsApiFp(configuration);
1231
+ return {
1232
+ /**
1233
+ * 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.
1234
+ * @summary List configured applications
1235
+ * @param {string} [bundleName]
1236
+ * @param {*} [options] Override http request option.
1237
+ * @throws {RequiredError}
1238
+ */
1239
+ notificationResourceV1GetApplicationsFacets(bundleName, options) {
1240
+ return localVarFp.notificationResourceV1GetApplicationsFacets(bundleName, options).then((request) => request(axios, basePath));
1241
+ },
1242
+ };
1243
+ };
1244
+ /**
1245
+ * NotificationResourceV1GetApplicationsFacetsApi - object-oriented interface
1246
+ * @export
1247
+ * @class NotificationResourceV1GetApplicationsFacetsApi
1248
+ * @extends {BaseAPI}
1249
+ */
1250
+ export class NotificationResourceV1GetApplicationsFacetsApi extends BaseAPI {
1251
+ /**
1252
+ * 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.
1253
+ * @summary List configured applications
1254
+ * @param {string} [bundleName]
1255
+ * @param {*} [options] Override http request option.
1256
+ * @throws {RequiredError}
1257
+ * @memberof NotificationResourceV1GetApplicationsFacetsApi
1258
+ */
1259
+ notificationResourceV1GetApplicationsFacets(bundleName, options) {
1260
+ return NotificationResourceV1GetApplicationsFacetsApiFp(this.configuration).notificationResourceV1GetApplicationsFacets(bundleName, options).then((request) => request(this.axios, this.basePath));
1261
+ }
1262
+ }
1263
+ /**
1264
+ * NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - axios parameter creator
1265
+ * @export
1266
+ */
1267
+ export const NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiAxiosParamCreator = function (configuration) {
1268
+ return {
1269
+ /**
1270
+ * 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.
1271
+ * @summary List the behavior groups affected by the removal of an endpoint
1272
+ * @param {string} endpointId
1273
+ * @param {*} [options] Override http request option.
1274
+ * @throws {RequiredError}
1275
+ */
1276
+ notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint: async (endpointId, options = {}) => {
1277
+ // verify required parameter 'endpointId' is not null or undefined
1278
+ assertParamExists('notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint', 'endpointId', endpointId);
1279
+ const localVarPath = `/notifications/behaviorGroups/affectedByRemovalOfEndpoint/{endpointId}`
1280
+ .replace(`{${"endpointId"}}`, encodeURIComponent(String(endpointId)));
1281
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1282
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1283
+ let baseOptions;
1284
+ if (configuration) {
1285
+ baseOptions = configuration.baseOptions;
1286
+ }
1287
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1288
+ const localVarHeaderParameter = {};
1289
+ const localVarQueryParameter = {};
1290
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1291
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1292
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1293
+ return {
1294
+ url: toPathString(localVarUrlObj),
1295
+ options: localVarRequestOptions,
1296
+ };
1297
+ },
1298
+ };
1299
+ };
1300
+ /**
1301
+ * NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - functional programming interface
1302
+ * @export
1303
+ */
1304
+ export const NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFp = function (configuration) {
1305
+ const localVarAxiosParamCreator = NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiAxiosParamCreator(configuration);
1306
+ return {
1307
+ /**
1308
+ * 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.
1309
+ * @summary List the behavior groups affected by the removal of an endpoint
1310
+ * @param {string} endpointId
1311
+ * @param {*} [options] Override http request option.
1312
+ * @throws {RequiredError}
1313
+ */
1314
+ async notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options) {
1315
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options);
1316
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1317
+ },
1318
+ };
1319
+ };
1320
+ /**
1321
+ * NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - factory interface
1322
+ * @export
1323
+ */
1324
+ export const NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFactory = function (configuration, basePath, axios) {
1325
+ const localVarFp = NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFp(configuration);
1326
+ return {
1327
+ /**
1328
+ * 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.
1329
+ * @summary List the behavior groups affected by the removal of an endpoint
1330
+ * @param {string} endpointId
1331
+ * @param {*} [options] Override http request option.
1332
+ * @throws {RequiredError}
1333
+ */
1334
+ notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options) {
1335
+ return localVarFp.notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options).then((request) => request(axios, basePath));
1336
+ },
1337
+ };
1338
+ };
1339
+ /**
1340
+ * NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi - object-oriented interface
1341
+ * @export
1342
+ * @class NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi
1343
+ * @extends {BaseAPI}
1344
+ */
1345
+ export class NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi extends BaseAPI {
1346
+ /**
1347
+ * 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.
1348
+ * @summary List the behavior groups affected by the removal of an endpoint
1349
+ * @param {string} endpointId
1350
+ * @param {*} [options] Override http request option.
1351
+ * @throws {RequiredError}
1352
+ * @memberof NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApi
1353
+ */
1354
+ notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options) {
1355
+ return NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpointApiFp(this.configuration).notificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint(endpointId, options).then((request) => request(this.axios, this.basePath));
1356
+ }
1357
+ }
1358
+ /**
1359
+ * NotificationResourceV1GetBundleByNameApi - axios parameter creator
1360
+ * @export
1361
+ */
1362
+ export const NotificationResourceV1GetBundleByNameApiAxiosParamCreator = function (configuration) {
1363
+ return {
1364
+ /**
1365
+ * Retrieves the details of a bundle by searching by its name.
1366
+ * @summary Retrieve a bundle by name
1367
+ * @param {string} bundleName
1368
+ * @param {*} [options] Override http request option.
1369
+ * @throws {RequiredError}
1370
+ */
1371
+ notificationResourceV1GetBundleByName: async (bundleName, options = {}) => {
1372
+ // verify required parameter 'bundleName' is not null or undefined
1373
+ assertParamExists('notificationResourceV1GetBundleByName', 'bundleName', bundleName);
1374
+ const localVarPath = `/notifications/bundles/{bundleName}`
1375
+ .replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)));
1376
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1377
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1378
+ let baseOptions;
1379
+ if (configuration) {
1380
+ baseOptions = configuration.baseOptions;
1381
+ }
1382
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1383
+ const localVarHeaderParameter = {};
1384
+ const localVarQueryParameter = {};
1385
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1386
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1387
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1388
+ return {
1389
+ url: toPathString(localVarUrlObj),
1390
+ options: localVarRequestOptions,
1391
+ };
1392
+ },
1393
+ };
1394
+ };
1395
+ /**
1396
+ * NotificationResourceV1GetBundleByNameApi - functional programming interface
1397
+ * @export
1398
+ */
1399
+ export const NotificationResourceV1GetBundleByNameApiFp = function (configuration) {
1400
+ const localVarAxiosParamCreator = NotificationResourceV1GetBundleByNameApiAxiosParamCreator(configuration);
1401
+ return {
1402
+ /**
1403
+ * Retrieves the details of a bundle by searching by its name.
1404
+ * @summary Retrieve a bundle by name
1405
+ * @param {string} bundleName
1406
+ * @param {*} [options] Override http request option.
1407
+ * @throws {RequiredError}
1408
+ */
1409
+ async notificationResourceV1GetBundleByName(bundleName, options) {
1410
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetBundleByName(bundleName, options);
1411
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1412
+ },
1413
+ };
1414
+ };
1415
+ /**
1416
+ * NotificationResourceV1GetBundleByNameApi - factory interface
1417
+ * @export
1418
+ */
1419
+ export const NotificationResourceV1GetBundleByNameApiFactory = function (configuration, basePath, axios) {
1420
+ const localVarFp = NotificationResourceV1GetBundleByNameApiFp(configuration);
1421
+ return {
1422
+ /**
1423
+ * Retrieves the details of a bundle by searching by its name.
1424
+ * @summary Retrieve a bundle by name
1425
+ * @param {string} bundleName
1426
+ * @param {*} [options] Override http request option.
1427
+ * @throws {RequiredError}
1428
+ */
1429
+ notificationResourceV1GetBundleByName(bundleName, options) {
1430
+ return localVarFp.notificationResourceV1GetBundleByName(bundleName, options).then((request) => request(axios, basePath));
1431
+ },
1432
+ };
1433
+ };
1434
+ /**
1435
+ * NotificationResourceV1GetBundleByNameApi - object-oriented interface
1436
+ * @export
1437
+ * @class NotificationResourceV1GetBundleByNameApi
1438
+ * @extends {BaseAPI}
1439
+ */
1440
+ export class NotificationResourceV1GetBundleByNameApi extends BaseAPI {
1441
+ /**
1442
+ * Retrieves the details of a bundle by searching by its name.
1443
+ * @summary Retrieve a bundle by name
1444
+ * @param {string} bundleName
1445
+ * @param {*} [options] Override http request option.
1446
+ * @throws {RequiredError}
1447
+ * @memberof NotificationResourceV1GetBundleByNameApi
1448
+ */
1449
+ notificationResourceV1GetBundleByName(bundleName, options) {
1450
+ return NotificationResourceV1GetBundleByNameApiFp(this.configuration).notificationResourceV1GetBundleByName(bundleName, options).then((request) => request(this.axios, this.basePath));
1451
+ }
1452
+ }
1453
+ /**
1454
+ * NotificationResourceV1GetBundleFacetsApi - axios parameter creator
1455
+ * @export
1456
+ */
1457
+ export const NotificationResourceV1GetBundleFacetsApiAxiosParamCreator = function (configuration) {
1458
+ return {
1459
+ /**
1460
+ * Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
1461
+ * @summary List configured bundles
1462
+ * @param {boolean} [includeApplications]
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ */
1466
+ notificationResourceV1GetBundleFacets: async (includeApplications, options = {}) => {
1467
+ const localVarPath = `/notifications/facets/bundles`;
1468
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1469
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1470
+ let baseOptions;
1471
+ if (configuration) {
1472
+ baseOptions = configuration.baseOptions;
1473
+ }
1474
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1475
+ const localVarHeaderParameter = {};
1476
+ const localVarQueryParameter = {};
1477
+ if (includeApplications !== undefined) {
1478
+ localVarQueryParameter['includeApplications'] = includeApplications;
1479
+ }
1480
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1481
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1482
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1483
+ return {
1484
+ url: toPathString(localVarUrlObj),
1485
+ options: localVarRequestOptions,
1486
+ };
1487
+ },
1488
+ };
1489
+ };
1490
+ /**
1491
+ * NotificationResourceV1GetBundleFacetsApi - functional programming interface
1492
+ * @export
1493
+ */
1494
+ export const NotificationResourceV1GetBundleFacetsApiFp = function (configuration) {
1495
+ const localVarAxiosParamCreator = NotificationResourceV1GetBundleFacetsApiAxiosParamCreator(configuration);
1496
+ return {
1497
+ /**
1498
+ * Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
1499
+ * @summary List configured bundles
1500
+ * @param {boolean} [includeApplications]
1501
+ * @param {*} [options] Override http request option.
1502
+ * @throws {RequiredError}
1503
+ */
1504
+ async notificationResourceV1GetBundleFacets(includeApplications, options) {
1505
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetBundleFacets(includeApplications, options);
1506
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1507
+ },
1508
+ };
1509
+ };
1510
+ /**
1511
+ * NotificationResourceV1GetBundleFacetsApi - factory interface
1512
+ * @export
1513
+ */
1514
+ export const NotificationResourceV1GetBundleFacetsApiFactory = function (configuration, basePath, axios) {
1515
+ const localVarFp = NotificationResourceV1GetBundleFacetsApiFp(configuration);
1516
+ return {
1517
+ /**
1518
+ * Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
1519
+ * @summary List configured bundles
1520
+ * @param {boolean} [includeApplications]
1521
+ * @param {*} [options] Override http request option.
1522
+ * @throws {RequiredError}
1523
+ */
1524
+ notificationResourceV1GetBundleFacets(includeApplications, options) {
1525
+ return localVarFp.notificationResourceV1GetBundleFacets(includeApplications, options).then((request) => request(axios, basePath));
1526
+ },
1527
+ };
1528
+ };
1529
+ /**
1530
+ * NotificationResourceV1GetBundleFacetsApi - object-oriented interface
1531
+ * @export
1532
+ * @class NotificationResourceV1GetBundleFacetsApi
1533
+ * @extends {BaseAPI}
1534
+ */
1535
+ export class NotificationResourceV1GetBundleFacetsApi extends BaseAPI {
1536
+ /**
1537
+ * Returns a list of configured bundles that includes the bundle name, the display name, and the ID. You can use this list to configure a filter in the UI.
1538
+ * @summary List configured bundles
1539
+ * @param {boolean} [includeApplications]
1540
+ * @param {*} [options] Override http request option.
1541
+ * @throws {RequiredError}
1542
+ * @memberof NotificationResourceV1GetBundleFacetsApi
1543
+ */
1544
+ notificationResourceV1GetBundleFacets(includeApplications, options) {
1545
+ return NotificationResourceV1GetBundleFacetsApiFp(this.configuration).notificationResourceV1GetBundleFacets(includeApplications, options).then((request) => request(this.axios, this.basePath));
1546
+ }
1547
+ }
1548
+ /**
1549
+ * NotificationResourceV1GetEventTypesApi - axios parameter creator
1550
+ * @export
1551
+ */
1552
+ export const NotificationResourceV1GetEventTypesApiAxiosParamCreator = function (configuration) {
1553
+ return {
1554
+ /**
1555
+ * Lists all event types. You can filter the returned list by bundle or application name.
1556
+ * @summary List all event types
1557
+ * @param {Set<string>} [applicationIds]
1558
+ * @param {string} [bundleId]
1559
+ * @param {string} [eventTypeName]
1560
+ * @param {number} [limit]
1561
+ * @param {number} [offset]
1562
+ * @param {number} [pageNumber]
1563
+ * @param {string} [sortBy]
1564
+ * @param {string} [sortBy2]
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ */
1568
+ notificationResourceV1GetEventTypes: async (applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options = {}) => {
1569
+ const localVarPath = `/notifications/eventTypes`;
1570
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1571
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1572
+ let baseOptions;
1573
+ if (configuration) {
1574
+ baseOptions = configuration.baseOptions;
1575
+ }
1576
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1577
+ const localVarHeaderParameter = {};
1578
+ const localVarQueryParameter = {};
1579
+ if (applicationIds) {
1580
+ localVarQueryParameter['applicationIds'] = Array.from(applicationIds);
1581
+ }
1582
+ if (bundleId !== undefined) {
1583
+ localVarQueryParameter['bundleId'] = bundleId;
1584
+ }
1585
+ if (eventTypeName !== undefined) {
1586
+ localVarQueryParameter['eventTypeName'] = eventTypeName;
1587
+ }
1588
+ if (limit !== undefined) {
1589
+ localVarQueryParameter['limit'] = limit;
1590
+ }
1591
+ if (offset !== undefined) {
1592
+ localVarQueryParameter['offset'] = offset;
1593
+ }
1594
+ if (pageNumber !== undefined) {
1595
+ localVarQueryParameter['pageNumber'] = pageNumber;
1596
+ }
1597
+ if (sortBy !== undefined) {
1598
+ localVarQueryParameter['sortBy'] = sortBy;
1599
+ }
1600
+ if (sortBy2 !== undefined) {
1601
+ localVarQueryParameter['sort_by'] = sortBy2;
1602
+ }
1603
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1604
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1605
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1606
+ return {
1607
+ url: toPathString(localVarUrlObj),
1608
+ options: localVarRequestOptions,
1609
+ };
1610
+ },
1611
+ };
1612
+ };
1613
+ /**
1614
+ * NotificationResourceV1GetEventTypesApi - functional programming interface
1615
+ * @export
1616
+ */
1617
+ export const NotificationResourceV1GetEventTypesApiFp = function (configuration) {
1618
+ const localVarAxiosParamCreator = NotificationResourceV1GetEventTypesApiAxiosParamCreator(configuration);
1619
+ return {
1620
+ /**
1621
+ * Lists all event types. You can filter the returned list by bundle or application name.
1622
+ * @summary List all event types
1623
+ * @param {Set<string>} [applicationIds]
1624
+ * @param {string} [bundleId]
1625
+ * @param {string} [eventTypeName]
1626
+ * @param {number} [limit]
1627
+ * @param {number} [offset]
1628
+ * @param {number} [pageNumber]
1629
+ * @param {string} [sortBy]
1630
+ * @param {string} [sortBy2]
1631
+ * @param {*} [options] Override http request option.
1632
+ * @throws {RequiredError}
1633
+ */
1634
+ async notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options) {
1635
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options);
1636
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1637
+ },
1638
+ };
1639
+ };
1640
+ /**
1641
+ * NotificationResourceV1GetEventTypesApi - factory interface
1642
+ * @export
1643
+ */
1644
+ export const NotificationResourceV1GetEventTypesApiFactory = function (configuration, basePath, axios) {
1645
+ const localVarFp = NotificationResourceV1GetEventTypesApiFp(configuration);
1646
+ return {
1647
+ /**
1648
+ * Lists all event types. You can filter the returned list by bundle or application name.
1649
+ * @summary List all event types
1650
+ * @param {Set<string>} [applicationIds]
1651
+ * @param {string} [bundleId]
1652
+ * @param {string} [eventTypeName]
1653
+ * @param {number} [limit]
1654
+ * @param {number} [offset]
1655
+ * @param {number} [pageNumber]
1656
+ * @param {string} [sortBy]
1657
+ * @param {string} [sortBy2]
1658
+ * @param {*} [options] Override http request option.
1659
+ * @throws {RequiredError}
1660
+ */
1661
+ notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options) {
1662
+ return localVarFp.notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(axios, basePath));
1663
+ },
1664
+ };
1665
+ };
1666
+ /**
1667
+ * NotificationResourceV1GetEventTypesApi - object-oriented interface
1668
+ * @export
1669
+ * @class NotificationResourceV1GetEventTypesApi
1670
+ * @extends {BaseAPI}
1671
+ */
1672
+ export class NotificationResourceV1GetEventTypesApi extends BaseAPI {
1673
+ /**
1674
+ * Lists all event types. You can filter the returned list by bundle or application name.
1675
+ * @summary List all event types
1676
+ * @param {Set<string>} [applicationIds]
1677
+ * @param {string} [bundleId]
1678
+ * @param {string} [eventTypeName]
1679
+ * @param {number} [limit]
1680
+ * @param {number} [offset]
1681
+ * @param {number} [pageNumber]
1682
+ * @param {string} [sortBy]
1683
+ * @param {string} [sortBy2]
1684
+ * @param {*} [options] Override http request option.
1685
+ * @throws {RequiredError}
1686
+ * @memberof NotificationResourceV1GetEventTypesApi
1687
+ */
1688
+ notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options) {
1689
+ return NotificationResourceV1GetEventTypesApiFp(this.configuration).notificationResourceV1GetEventTypes(applicationIds, bundleId, eventTypeName, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(this.axios, this.basePath));
1690
+ }
1691
+ }
1692
+ /**
1693
+ * NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - axios parameter creator
1694
+ * @export
1695
+ */
1696
+ export const NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiAxiosParamCreator = function (configuration) {
1697
+ return {
1698
+ /**
1699
+ * Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
1700
+ * @summary List the event types affected by the removal of a behavior group
1701
+ * @param {string} behaviorGroupId The UUID of the behavior group to check
1702
+ * @param {*} [options] Override http request option.
1703
+ * @throws {RequiredError}
1704
+ */
1705
+ notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup: async (behaviorGroupId, options = {}) => {
1706
+ // verify required parameter 'behaviorGroupId' is not null or undefined
1707
+ assertParamExists('notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup', 'behaviorGroupId', behaviorGroupId);
1708
+ const localVarPath = `/notifications/eventTypes/affectedByRemovalOfBehaviorGroup/{behaviorGroupId}`
1709
+ .replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
1710
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1711
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1712
+ let baseOptions;
1713
+ if (configuration) {
1714
+ baseOptions = configuration.baseOptions;
1715
+ }
1716
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1717
+ const localVarHeaderParameter = {};
1718
+ const localVarQueryParameter = {};
1719
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1720
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1721
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1722
+ return {
1723
+ url: toPathString(localVarUrlObj),
1724
+ options: localVarRequestOptions,
1725
+ };
1726
+ },
1727
+ };
1728
+ };
1729
+ /**
1730
+ * NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - functional programming interface
1731
+ * @export
1732
+ */
1733
+ export const NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFp = function (configuration) {
1734
+ const localVarAxiosParamCreator = NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiAxiosParamCreator(configuration);
1735
+ return {
1736
+ /**
1737
+ * Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
1738
+ * @summary List the event types affected by the removal of a behavior group
1739
+ * @param {string} behaviorGroupId The UUID of the behavior group to check
1740
+ * @param {*} [options] Override http request option.
1741
+ * @throws {RequiredError}
1742
+ */
1743
+ async notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options) {
1744
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options);
1745
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1746
+ },
1747
+ };
1748
+ };
1749
+ /**
1750
+ * NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - factory interface
1751
+ * @export
1752
+ */
1753
+ export const NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFactory = function (configuration, basePath, axios) {
1754
+ const localVarFp = NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFp(configuration);
1755
+ return {
1756
+ /**
1757
+ * Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
1758
+ * @summary List the event types affected by the removal of a behavior group
1759
+ * @param {string} behaviorGroupId The UUID of the behavior group to check
1760
+ * @param {*} [options] Override http request option.
1761
+ * @throws {RequiredError}
1762
+ */
1763
+ notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options) {
1764
+ return localVarFp.notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options).then((request) => request(axios, basePath));
1765
+ },
1766
+ };
1767
+ };
1768
+ /**
1769
+ * NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi - object-oriented interface
1770
+ * @export
1771
+ * @class NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi
1772
+ * @extends {BaseAPI}
1773
+ */
1774
+ export class NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi extends BaseAPI {
1775
+ /**
1776
+ * Lists the event types that will be affected by the removal of a behavior group. Use this endpoint to see which event types will be removed if you delete a behavior group.
1777
+ * @summary List the event types affected by the removal of a behavior group
1778
+ * @param {string} behaviorGroupId The UUID of the behavior group to check
1779
+ * @param {*} [options] Override http request option.
1780
+ * @throws {RequiredError}
1781
+ * @memberof NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApi
1782
+ */
1783
+ notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options) {
1784
+ return NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroupApiFp(this.configuration).notificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup(behaviorGroupId, options).then((request) => request(this.axios, this.basePath));
1785
+ }
1786
+ }
1787
+ /**
1788
+ * NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - axios parameter creator
1789
+ * @export
1790
+ */
1791
+ export const NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiAxiosParamCreator = function (configuration) {
1792
+ return {
1793
+ /**
1794
+ * Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
1795
+ * @summary Retrieve an event type by bundle, application and event type names
1796
+ * @param {string} applicationName
1797
+ * @param {string} bundleName
1798
+ * @param {string} eventTypeName
1799
+ * @param {*} [options] Override http request option.
1800
+ * @throws {RequiredError}
1801
+ */
1802
+ notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName: async (applicationName, bundleName, eventTypeName, options = {}) => {
1803
+ // verify required parameter 'applicationName' is not null or undefined
1804
+ assertParamExists('notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName', 'applicationName', applicationName);
1805
+ // verify required parameter 'bundleName' is not null or undefined
1806
+ assertParamExists('notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName', 'bundleName', bundleName);
1807
+ // verify required parameter 'eventTypeName' is not null or undefined
1808
+ assertParamExists('notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName', 'eventTypeName', eventTypeName);
1809
+ const localVarPath = `/notifications/bundles/{bundleName}/applications/{applicationName}/eventTypes/{eventTypeName}`
1810
+ .replace(`{${"applicationName"}}`, encodeURIComponent(String(applicationName)))
1811
+ .replace(`{${"bundleName"}}`, encodeURIComponent(String(bundleName)))
1812
+ .replace(`{${"eventTypeName"}}`, encodeURIComponent(String(eventTypeName)));
1813
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1814
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1815
+ let baseOptions;
1816
+ if (configuration) {
1817
+ baseOptions = configuration.baseOptions;
1818
+ }
1819
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1820
+ const localVarHeaderParameter = {};
1821
+ const localVarQueryParameter = {};
1822
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1823
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1824
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1825
+ return {
1826
+ url: toPathString(localVarUrlObj),
1827
+ options: localVarRequestOptions,
1828
+ };
1829
+ },
1830
+ };
1831
+ };
1832
+ /**
1833
+ * NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - functional programming interface
1834
+ * @export
1835
+ */
1836
+ export const NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFp = function (configuration) {
1837
+ const localVarAxiosParamCreator = NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiAxiosParamCreator(configuration);
1838
+ return {
1839
+ /**
1840
+ * Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
1841
+ * @summary Retrieve an event type by bundle, application and event type names
1842
+ * @param {string} applicationName
1843
+ * @param {string} bundleName
1844
+ * @param {string} eventTypeName
1845
+ * @param {*} [options] Override http request option.
1846
+ * @throws {RequiredError}
1847
+ */
1848
+ async notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options) {
1849
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options);
1850
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1851
+ },
1852
+ };
1853
+ };
1854
+ /**
1855
+ * NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - factory interface
1856
+ * @export
1857
+ */
1858
+ export const NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFactory = function (configuration, basePath, axios) {
1859
+ const localVarFp = NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFp(configuration);
1860
+ return {
1861
+ /**
1862
+ * Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
1863
+ * @summary Retrieve an event type by bundle, application and event type names
1864
+ * @param {string} applicationName
1865
+ * @param {string} bundleName
1866
+ * @param {string} eventTypeName
1867
+ * @param {*} [options] Override http request option.
1868
+ * @throws {RequiredError}
1869
+ */
1870
+ notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options) {
1871
+ return localVarFp.notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options).then((request) => request(axios, basePath));
1872
+ },
1873
+ };
1874
+ };
1875
+ /**
1876
+ * NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi - object-oriented interface
1877
+ * @export
1878
+ * @class NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
1879
+ * @extends {BaseAPI}
1880
+ */
1881
+ export class NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi extends BaseAPI {
1882
+ /**
1883
+ * Retrieves the details of an event type by specifying the bundle name, the application name, and the event type name.
1884
+ * @summary Retrieve an event type by bundle, application and event type names
1885
+ * @param {string} applicationName
1886
+ * @param {string} bundleName
1887
+ * @param {string} eventTypeName
1888
+ * @param {*} [options] Override http request option.
1889
+ * @throws {RequiredError}
1890
+ * @memberof NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApi
1891
+ */
1892
+ notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options) {
1893
+ return NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationNameApiFp(this.configuration).notificationResourceV1GetEventTypesByNameAndBundleAndApplicationName(applicationName, bundleName, eventTypeName, options).then((request) => request(this.axios, this.basePath));
1894
+ }
1895
+ }
1896
+ /**
1897
+ * NotificationResourceV1GetLinkedBehaviorGroupsApi - axios parameter creator
1898
+ * @export
1899
+ */
1900
+ export const NotificationResourceV1GetLinkedBehaviorGroupsApiAxiosParamCreator = function (configuration) {
1901
+ return {
1902
+ /**
1903
+ * Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
1904
+ * @summary List the behavior groups linked to an event type
1905
+ * @param {string} eventTypeId
1906
+ * @param {number} [limit]
1907
+ * @param {number} [offset]
1908
+ * @param {number} [pageNumber]
1909
+ * @param {string} [sortBy]
1910
+ * @param {string} [sortBy2]
1911
+ * @param {*} [options] Override http request option.
1912
+ * @throws {RequiredError}
1913
+ */
1914
+ notificationResourceV1GetLinkedBehaviorGroups: async (eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options = {}) => {
1915
+ // verify required parameter 'eventTypeId' is not null or undefined
1916
+ assertParamExists('notificationResourceV1GetLinkedBehaviorGroups', 'eventTypeId', eventTypeId);
1917
+ const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
1918
+ .replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
1919
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1920
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1921
+ let baseOptions;
1922
+ if (configuration) {
1923
+ baseOptions = configuration.baseOptions;
1924
+ }
1925
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
1926
+ const localVarHeaderParameter = {};
1927
+ const localVarQueryParameter = {};
1928
+ // authentication SecurityScheme required
1929
+ // http basic authentication required
1930
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1931
+ if (limit !== undefined) {
1932
+ localVarQueryParameter['limit'] = limit;
1933
+ }
1934
+ if (offset !== undefined) {
1935
+ localVarQueryParameter['offset'] = offset;
1936
+ }
1937
+ if (pageNumber !== undefined) {
1938
+ localVarQueryParameter['pageNumber'] = pageNumber;
1939
+ }
1940
+ if (sortBy !== undefined) {
1941
+ localVarQueryParameter['sortBy'] = sortBy;
1942
+ }
1943
+ if (sortBy2 !== undefined) {
1944
+ localVarQueryParameter['sort_by'] = sortBy2;
1945
+ }
1946
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1947
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1948
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1949
+ return {
1950
+ url: toPathString(localVarUrlObj),
1951
+ options: localVarRequestOptions,
1952
+ };
1953
+ },
1954
+ };
1955
+ };
1956
+ /**
1957
+ * NotificationResourceV1GetLinkedBehaviorGroupsApi - functional programming interface
1958
+ * @export
1959
+ */
1960
+ export const NotificationResourceV1GetLinkedBehaviorGroupsApiFp = function (configuration) {
1961
+ const localVarAxiosParamCreator = NotificationResourceV1GetLinkedBehaviorGroupsApiAxiosParamCreator(configuration);
1962
+ return {
1963
+ /**
1964
+ * Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
1965
+ * @summary List the behavior groups linked to an event type
1966
+ * @param {string} eventTypeId
1967
+ * @param {number} [limit]
1968
+ * @param {number} [offset]
1969
+ * @param {number} [pageNumber]
1970
+ * @param {string} [sortBy]
1971
+ * @param {string} [sortBy2]
1972
+ * @param {*} [options] Override http request option.
1973
+ * @throws {RequiredError}
1974
+ */
1975
+ async notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options) {
1976
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options);
1977
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1978
+ },
1979
+ };
1980
+ };
1981
+ /**
1982
+ * NotificationResourceV1GetLinkedBehaviorGroupsApi - factory interface
1983
+ * @export
1984
+ */
1985
+ export const NotificationResourceV1GetLinkedBehaviorGroupsApiFactory = function (configuration, basePath, axios) {
1986
+ const localVarFp = NotificationResourceV1GetLinkedBehaviorGroupsApiFp(configuration);
1987
+ return {
1988
+ /**
1989
+ * Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
1990
+ * @summary List the behavior groups linked to an event type
1991
+ * @param {string} eventTypeId
1992
+ * @param {number} [limit]
1993
+ * @param {number} [offset]
1994
+ * @param {number} [pageNumber]
1995
+ * @param {string} [sortBy]
1996
+ * @param {string} [sortBy2]
1997
+ * @param {*} [options] Override http request option.
1998
+ * @throws {RequiredError}
1999
+ */
2000
+ notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options) {
2001
+ return localVarFp.notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(axios, basePath));
2002
+ },
2003
+ };
2004
+ };
2005
+ /**
2006
+ * NotificationResourceV1GetLinkedBehaviorGroupsApi - object-oriented interface
2007
+ * @export
2008
+ * @class NotificationResourceV1GetLinkedBehaviorGroupsApi
2009
+ * @extends {BaseAPI}
2010
+ */
2011
+ export class NotificationResourceV1GetLinkedBehaviorGroupsApi extends BaseAPI {
2012
+ /**
2013
+ * Lists the behavior groups that are linked to an event type. Use this endpoint to see which behavior groups will be affected if you delete an event type.
2014
+ * @summary List the behavior groups linked to an event type
2015
+ * @param {string} eventTypeId
2016
+ * @param {number} [limit]
2017
+ * @param {number} [offset]
2018
+ * @param {number} [pageNumber]
2019
+ * @param {string} [sortBy]
2020
+ * @param {string} [sortBy2]
2021
+ * @param {*} [options] Override http request option.
2022
+ * @throws {RequiredError}
2023
+ * @memberof NotificationResourceV1GetLinkedBehaviorGroupsApi
2024
+ */
2025
+ notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options) {
2026
+ return NotificationResourceV1GetLinkedBehaviorGroupsApiFp(this.configuration).notificationResourceV1GetLinkedBehaviorGroups(eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options).then((request) => request(this.axios, this.basePath));
2027
+ }
2028
+ }
2029
+ /**
2030
+ * NotificationResourceV1UpdateBehaviorGroupApi - axios parameter creator
2031
+ * @export
2032
+ */
2033
+ export const NotificationResourceV1UpdateBehaviorGroupApiAxiosParamCreator = function (configuration) {
2034
+ return {
2035
+ /**
2036
+ * Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
2037
+ * @summary Update a behavior group
2038
+ * @param {string} id The UUID of the behavior group to update
2039
+ * @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
2040
+ * @param {*} [options] Override http request option.
2041
+ * @throws {RequiredError}
2042
+ */
2043
+ notificationResourceV1UpdateBehaviorGroup: async (id, updateBehaviorGroupRequest, options = {}) => {
2044
+ // verify required parameter 'id' is not null or undefined
2045
+ assertParamExists('notificationResourceV1UpdateBehaviorGroup', 'id', id);
2046
+ // verify required parameter 'updateBehaviorGroupRequest' is not null or undefined
2047
+ assertParamExists('notificationResourceV1UpdateBehaviorGroup', 'updateBehaviorGroupRequest', updateBehaviorGroupRequest);
2048
+ const localVarPath = `/notifications/behaviorGroups/{id}`
2049
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
2050
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2051
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2052
+ let baseOptions;
2053
+ if (configuration) {
2054
+ baseOptions = configuration.baseOptions;
2055
+ }
2056
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
2057
+ const localVarHeaderParameter = {};
2058
+ const localVarQueryParameter = {};
2059
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2060
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2061
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2062
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2063
+ localVarRequestOptions.data = serializeDataIfNeeded(updateBehaviorGroupRequest, localVarRequestOptions, configuration);
2064
+ return {
2065
+ url: toPathString(localVarUrlObj),
2066
+ options: localVarRequestOptions,
2067
+ };
2068
+ },
2069
+ };
2070
+ };
2071
+ /**
2072
+ * NotificationResourceV1UpdateBehaviorGroupApi - functional programming interface
2073
+ * @export
2074
+ */
2075
+ export const NotificationResourceV1UpdateBehaviorGroupApiFp = function (configuration) {
2076
+ const localVarAxiosParamCreator = NotificationResourceV1UpdateBehaviorGroupApiAxiosParamCreator(configuration);
2077
+ return {
2078
+ /**
2079
+ * Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
2080
+ * @summary Update a behavior group
2081
+ * @param {string} id The UUID of the behavior group to update
2082
+ * @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
2083
+ * @param {*} [options] Override http request option.
2084
+ * @throws {RequiredError}
2085
+ */
2086
+ async notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options) {
2087
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options);
2088
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2089
+ },
2090
+ };
2091
+ };
2092
+ /**
2093
+ * NotificationResourceV1UpdateBehaviorGroupApi - factory interface
2094
+ * @export
2095
+ */
2096
+ export const NotificationResourceV1UpdateBehaviorGroupApiFactory = function (configuration, basePath, axios) {
2097
+ const localVarFp = NotificationResourceV1UpdateBehaviorGroupApiFp(configuration);
2098
+ return {
2099
+ /**
2100
+ * Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
2101
+ * @summary Update a behavior group
2102
+ * @param {string} id The UUID of the behavior group to update
2103
+ * @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
2104
+ * @param {*} [options] Override http request option.
2105
+ * @throws {RequiredError}
2106
+ */
2107
+ notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options) {
2108
+ return localVarFp.notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options).then((request) => request(axios, basePath));
2109
+ },
2110
+ };
2111
+ };
2112
+ /**
2113
+ * NotificationResourceV1UpdateBehaviorGroupApi - object-oriented interface
2114
+ * @export
2115
+ * @class NotificationResourceV1UpdateBehaviorGroupApi
2116
+ * @extends {BaseAPI}
2117
+ */
2118
+ export class NotificationResourceV1UpdateBehaviorGroupApi extends BaseAPI {
2119
+ /**
2120
+ * Updates the details of a behavior group. Use this endpoint to update the list of related endpoints and event types associated with this behavior group.
2121
+ * @summary Update a behavior group
2122
+ * @param {string} id The UUID of the behavior group to update
2123
+ * @param {UpdateBehaviorGroupRequest} updateBehaviorGroupRequest New parameters
2124
+ * @param {*} [options] Override http request option.
2125
+ * @throws {RequiredError}
2126
+ * @memberof NotificationResourceV1UpdateBehaviorGroupApi
2127
+ */
2128
+ notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options) {
2129
+ return NotificationResourceV1UpdateBehaviorGroupApiFp(this.configuration).notificationResourceV1UpdateBehaviorGroup(id, updateBehaviorGroupRequest, options).then((request) => request(this.axios, this.basePath));
2130
+ }
2131
+ }
2132
+ /**
2133
+ * NotificationResourceV1UpdateBehaviorGroupActionsApi - axios parameter creator
2134
+ * @export
2135
+ */
2136
+ export const NotificationResourceV1UpdateBehaviorGroupActionsApiAxiosParamCreator = function (configuration) {
2137
+ return {
2138
+ /**
2139
+ * Updates the list of actions to be executed in that particular behavior group after an event is received.
2140
+ * @summary Update the list of behavior group actions
2141
+ * @param {string} behaviorGroupId The UUID of the behavior group to update
2142
+ * @param {Array<string>} [requestBody]
2143
+ * @param {*} [options] Override http request option.
2144
+ * @throws {RequiredError}
2145
+ */
2146
+ notificationResourceV1UpdateBehaviorGroupActions: async (behaviorGroupId, requestBody, options = {}) => {
2147
+ // verify required parameter 'behaviorGroupId' is not null or undefined
2148
+ assertParamExists('notificationResourceV1UpdateBehaviorGroupActions', 'behaviorGroupId', behaviorGroupId);
2149
+ const localVarPath = `/notifications/behaviorGroups/{behaviorGroupId}/actions`
2150
+ .replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
2151
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2152
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2153
+ let baseOptions;
2154
+ if (configuration) {
2155
+ baseOptions = configuration.baseOptions;
2156
+ }
2157
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
2158
+ const localVarHeaderParameter = {};
2159
+ const localVarQueryParameter = {};
2160
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2161
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2162
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2163
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2164
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
2165
+ return {
2166
+ url: toPathString(localVarUrlObj),
2167
+ options: localVarRequestOptions,
2168
+ };
2169
+ },
2170
+ };
2171
+ };
2172
+ /**
2173
+ * NotificationResourceV1UpdateBehaviorGroupActionsApi - functional programming interface
2174
+ * @export
2175
+ */
2176
+ export const NotificationResourceV1UpdateBehaviorGroupActionsApiFp = function (configuration) {
2177
+ const localVarAxiosParamCreator = NotificationResourceV1UpdateBehaviorGroupActionsApiAxiosParamCreator(configuration);
2178
+ return {
2179
+ /**
2180
+ * Updates the list of actions to be executed in that particular behavior group after an event is received.
2181
+ * @summary Update the list of behavior group actions
2182
+ * @param {string} behaviorGroupId The UUID of the behavior group to update
2183
+ * @param {Array<string>} [requestBody]
2184
+ * @param {*} [options] Override http request option.
2185
+ * @throws {RequiredError}
2186
+ */
2187
+ async notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options) {
2188
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options);
2189
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2190
+ },
2191
+ };
2192
+ };
2193
+ /**
2194
+ * NotificationResourceV1UpdateBehaviorGroupActionsApi - factory interface
2195
+ * @export
2196
+ */
2197
+ export const NotificationResourceV1UpdateBehaviorGroupActionsApiFactory = function (configuration, basePath, axios) {
2198
+ const localVarFp = NotificationResourceV1UpdateBehaviorGroupActionsApiFp(configuration);
2199
+ return {
2200
+ /**
2201
+ * Updates the list of actions to be executed in that particular behavior group after an event is received.
2202
+ * @summary Update the list of behavior group actions
2203
+ * @param {string} behaviorGroupId The UUID of the behavior group to update
2204
+ * @param {Array<string>} [requestBody]
2205
+ * @param {*} [options] Override http request option.
2206
+ * @throws {RequiredError}
2207
+ */
2208
+ notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options) {
2209
+ return localVarFp.notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options).then((request) => request(axios, basePath));
2210
+ },
2211
+ };
2212
+ };
2213
+ /**
2214
+ * NotificationResourceV1UpdateBehaviorGroupActionsApi - object-oriented interface
2215
+ * @export
2216
+ * @class NotificationResourceV1UpdateBehaviorGroupActionsApi
2217
+ * @extends {BaseAPI}
2218
+ */
2219
+ export class NotificationResourceV1UpdateBehaviorGroupActionsApi extends BaseAPI {
2220
+ /**
2221
+ * Updates the list of actions to be executed in that particular behavior group after an event is received.
2222
+ * @summary Update the list of behavior group actions
2223
+ * @param {string} behaviorGroupId The UUID of the behavior group to update
2224
+ * @param {Array<string>} [requestBody]
2225
+ * @param {*} [options] Override http request option.
2226
+ * @throws {RequiredError}
2227
+ * @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
2228
+ */
2229
+ notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options) {
2230
+ return NotificationResourceV1UpdateBehaviorGroupActionsApiFp(this.configuration).notificationResourceV1UpdateBehaviorGroupActions(behaviorGroupId, requestBody, options).then((request) => request(this.axios, this.basePath));
2231
+ }
2232
+ }
2233
+ /**
2234
+ * NotificationResourceV1UpdateEventTypeBehaviorsApi - axios parameter creator
2235
+ * @export
2236
+ */
2237
+ export const NotificationResourceV1UpdateEventTypeBehaviorsApiAxiosParamCreator = function (configuration) {
2238
+ return {
2239
+ /**
2240
+ * Updates the list of behavior groups associated with an event type.
2241
+ * @summary Update the list of behavior groups for an event type
2242
+ * @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
2243
+ * @param {Set<string>} [requestBody]
2244
+ * @param {*} [options] Override http request option.
2245
+ * @throws {RequiredError}
2246
+ */
2247
+ notificationResourceV1UpdateEventTypeBehaviors: async (eventTypeId, requestBody, options = {}) => {
2248
+ // verify required parameter 'eventTypeId' is not null or undefined
2249
+ assertParamExists('notificationResourceV1UpdateEventTypeBehaviors', 'eventTypeId', eventTypeId);
2250
+ const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
2251
+ .replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
2252
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2253
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2254
+ let baseOptions;
2255
+ if (configuration) {
2256
+ baseOptions = configuration.baseOptions;
2257
+ }
2258
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
2259
+ const localVarHeaderParameter = {};
2260
+ const localVarQueryParameter = {};
2261
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2262
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2263
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2264
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2265
+ localVarRequestOptions.data = serializeDataIfNeeded(requestBody, localVarRequestOptions, configuration);
2266
+ return {
2267
+ url: toPathString(localVarUrlObj),
2268
+ options: localVarRequestOptions,
2269
+ };
2270
+ },
2271
+ };
2272
+ };
2273
+ /**
2274
+ * NotificationResourceV1UpdateEventTypeBehaviorsApi - functional programming interface
2275
+ * @export
2276
+ */
2277
+ export const NotificationResourceV1UpdateEventTypeBehaviorsApiFp = function (configuration) {
2278
+ const localVarAxiosParamCreator = NotificationResourceV1UpdateEventTypeBehaviorsApiAxiosParamCreator(configuration);
2279
+ return {
2280
+ /**
2281
+ * Updates the list of behavior groups associated with an event type.
2282
+ * @summary Update the list of behavior groups for an event type
2283
+ * @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
2284
+ * @param {Set<string>} [requestBody]
2285
+ * @param {*} [options] Override http request option.
2286
+ * @throws {RequiredError}
2287
+ */
2288
+ async notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options) {
2289
+ const localVarAxiosArgs = await localVarAxiosParamCreator.notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options);
2290
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2291
+ },
2292
+ };
2293
+ };
2294
+ /**
2295
+ * NotificationResourceV1UpdateEventTypeBehaviorsApi - factory interface
2296
+ * @export
2297
+ */
2298
+ export const NotificationResourceV1UpdateEventTypeBehaviorsApiFactory = function (configuration, basePath, axios) {
2299
+ const localVarFp = NotificationResourceV1UpdateEventTypeBehaviorsApiFp(configuration);
2300
+ return {
2301
+ /**
2302
+ * Updates the list of behavior groups associated with an event type.
2303
+ * @summary Update the list of behavior groups for an event type
2304
+ * @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
2305
+ * @param {Set<string>} [requestBody]
2306
+ * @param {*} [options] Override http request option.
2307
+ * @throws {RequiredError}
2308
+ */
2309
+ notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options) {
2310
+ return localVarFp.notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options).then((request) => request(axios, basePath));
2311
+ },
2312
+ };
2313
+ };
2314
+ /**
2315
+ * NotificationResourceV1UpdateEventTypeBehaviorsApi - object-oriented interface
2316
+ * @export
2317
+ * @class NotificationResourceV1UpdateEventTypeBehaviorsApi
2318
+ * @extends {BaseAPI}
2319
+ */
2320
+ export class NotificationResourceV1UpdateEventTypeBehaviorsApi extends BaseAPI {
2321
+ /**
2322
+ * Updates the list of behavior groups associated with an event type.
2323
+ * @summary Update the list of behavior groups for an event type
2324
+ * @param {string} eventTypeId UUID of the eventType to associate with the behavior group(s)
2325
+ * @param {Set<string>} [requestBody]
2326
+ * @param {*} [options] Override http request option.
2327
+ * @throws {RequiredError}
2328
+ * @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
2329
+ */
2330
+ notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options) {
2331
+ return NotificationResourceV1UpdateEventTypeBehaviorsApiFp(this.configuration).notificationResourceV1UpdateEventTypeBehaviors(eventTypeId, requestBody, options).then((request) => request(this.axios, this.basePath));
2332
+ }
2333
+ }
2334
+ /**
2335
+ * OrgConfigResourceV1GetDailyDigestTimePreferenceApi - axios parameter creator
2336
+ * @export
2337
+ */
2338
+ export const OrgConfigResourceV1GetDailyDigestTimePreferenceApiAxiosParamCreator = function (configuration) {
2339
+ return {
2340
+ /**
2341
+ * Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
2342
+ * @summary Retrieve the daily digest time
2343
+ * @param {*} [options] Override http request option.
2344
+ * @throws {RequiredError}
2345
+ */
2346
+ orgConfigResourceV1GetDailyDigestTimePreference: async (options = {}) => {
2347
+ const localVarPath = `/org-config/daily-digest/time-preference`;
2348
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2349
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2350
+ let baseOptions;
2351
+ if (configuration) {
2352
+ baseOptions = configuration.baseOptions;
2353
+ }
2354
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
2355
+ const localVarHeaderParameter = {};
2356
+ const localVarQueryParameter = {};
2357
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2358
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2359
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2360
+ return {
2361
+ url: toPathString(localVarUrlObj),
2362
+ options: localVarRequestOptions,
2363
+ };
2364
+ },
2365
+ };
2366
+ };
2367
+ /**
2368
+ * OrgConfigResourceV1GetDailyDigestTimePreferenceApi - functional programming interface
2369
+ * @export
2370
+ */
2371
+ export const OrgConfigResourceV1GetDailyDigestTimePreferenceApiFp = function (configuration) {
2372
+ const localVarAxiosParamCreator = OrgConfigResourceV1GetDailyDigestTimePreferenceApiAxiosParamCreator(configuration);
2373
+ return {
2374
+ /**
2375
+ * Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
2376
+ * @summary Retrieve the daily digest time
2377
+ * @param {*} [options] Override http request option.
2378
+ * @throws {RequiredError}
2379
+ */
2380
+ async orgConfigResourceV1GetDailyDigestTimePreference(options) {
2381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.orgConfigResourceV1GetDailyDigestTimePreference(options);
2382
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2383
+ },
2384
+ };
2385
+ };
2386
+ /**
2387
+ * OrgConfigResourceV1GetDailyDigestTimePreferenceApi - factory interface
2388
+ * @export
2389
+ */
2390
+ export const OrgConfigResourceV1GetDailyDigestTimePreferenceApiFactory = function (configuration, basePath, axios) {
2391
+ const localVarFp = OrgConfigResourceV1GetDailyDigestTimePreferenceApiFp(configuration);
2392
+ return {
2393
+ /**
2394
+ * Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
2395
+ * @summary Retrieve the daily digest time
2396
+ * @param {*} [options] Override http request option.
2397
+ * @throws {RequiredError}
2398
+ */
2399
+ orgConfigResourceV1GetDailyDigestTimePreference(options) {
2400
+ return localVarFp.orgConfigResourceV1GetDailyDigestTimePreference(options).then((request) => request(axios, basePath));
2401
+ },
2402
+ };
2403
+ };
2404
+ /**
2405
+ * OrgConfigResourceV1GetDailyDigestTimePreferenceApi - object-oriented interface
2406
+ * @export
2407
+ * @class OrgConfigResourceV1GetDailyDigestTimePreferenceApi
2408
+ * @extends {BaseAPI}
2409
+ */
2410
+ export class OrgConfigResourceV1GetDailyDigestTimePreferenceApi extends BaseAPI {
2411
+ /**
2412
+ * Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
2413
+ * @summary Retrieve the daily digest time
2414
+ * @param {*} [options] Override http request option.
2415
+ * @throws {RequiredError}
2416
+ * @memberof OrgConfigResourceV1GetDailyDigestTimePreferenceApi
2417
+ */
2418
+ orgConfigResourceV1GetDailyDigestTimePreference(options) {
2419
+ return OrgConfigResourceV1GetDailyDigestTimePreferenceApiFp(this.configuration).orgConfigResourceV1GetDailyDigestTimePreference(options).then((request) => request(this.axios, this.basePath));
2420
+ }
2421
+ }
2422
+ /**
2423
+ * OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - axios parameter creator
2424
+ * @export
2425
+ */
2426
+ export const OrgConfigResourceV1SaveDailyDigestTimePreferenceApiAxiosParamCreator = function (configuration) {
2427
+ return {
2428
+ /**
2429
+ * Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
2430
+ * @summary Set the daily digest time
2431
+ * @param {string} [body]
2432
+ * @param {*} [options] Override http request option.
2433
+ * @throws {RequiredError}
2434
+ */
2435
+ orgConfigResourceV1SaveDailyDigestTimePreference: async (body, options = {}) => {
2436
+ const localVarPath = `/org-config/daily-digest/time-preference`;
2437
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
2438
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2439
+ let baseOptions;
2440
+ if (configuration) {
2441
+ baseOptions = configuration.baseOptions;
2442
+ }
2443
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
2444
+ const localVarHeaderParameter = {};
2445
+ const localVarQueryParameter = {};
2446
+ localVarHeaderParameter['Content-Type'] = 'application/json';
2447
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2448
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2449
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2450
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration);
2451
+ return {
2452
+ url: toPathString(localVarUrlObj),
2453
+ options: localVarRequestOptions,
2454
+ };
2455
+ },
2456
+ };
2457
+ };
2458
+ /**
2459
+ * OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - functional programming interface
2460
+ * @export
2461
+ */
2462
+ export const OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFp = function (configuration) {
2463
+ const localVarAxiosParamCreator = OrgConfigResourceV1SaveDailyDigestTimePreferenceApiAxiosParamCreator(configuration);
2464
+ return {
2465
+ /**
2466
+ * Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
2467
+ * @summary Set the daily digest time
2468
+ * @param {string} [body]
2469
+ * @param {*} [options] Override http request option.
2470
+ * @throws {RequiredError}
2471
+ */
2472
+ async orgConfigResourceV1SaveDailyDigestTimePreference(body, options) {
2473
+ const localVarAxiosArgs = await localVarAxiosParamCreator.orgConfigResourceV1SaveDailyDigestTimePreference(body, options);
2474
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2475
+ },
2476
+ };
2477
+ };
2478
+ /**
2479
+ * OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - factory interface
2480
+ * @export
2481
+ */
2482
+ export const OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFactory = function (configuration, basePath, axios) {
2483
+ const localVarFp = OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFp(configuration);
2484
+ return {
2485
+ /**
2486
+ * Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
2487
+ * @summary Set the daily digest time
2488
+ * @param {string} [body]
2489
+ * @param {*} [options] Override http request option.
2490
+ * @throws {RequiredError}
2491
+ */
2492
+ orgConfigResourceV1SaveDailyDigestTimePreference(body, options) {
2493
+ return localVarFp.orgConfigResourceV1SaveDailyDigestTimePreference(body, options).then((request) => request(axios, basePath));
2494
+ },
2495
+ };
2496
+ };
2497
+ /**
2498
+ * OrgConfigResourceV1SaveDailyDigestTimePreferenceApi - object-oriented interface
2499
+ * @export
2500
+ * @class OrgConfigResourceV1SaveDailyDigestTimePreferenceApi
2501
+ * @extends {BaseAPI}
2502
+ */
2503
+ export class OrgConfigResourceV1SaveDailyDigestTimePreferenceApi extends BaseAPI {
2504
+ /**
2505
+ * Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
2506
+ * @summary Set the daily digest time
2507
+ * @param {string} [body]
2508
+ * @param {*} [options] Override http request option.
2509
+ * @throws {RequiredError}
2510
+ * @memberof OrgConfigResourceV1SaveDailyDigestTimePreferenceApi
2511
+ */
2512
+ orgConfigResourceV1SaveDailyDigestTimePreference(body, options) {
2513
+ return OrgConfigResourceV1SaveDailyDigestTimePreferenceApiFp(this.configuration).orgConfigResourceV1SaveDailyDigestTimePreference(body, options).then((request) => request(this.axios, this.basePath));
2514
+ }
2515
+ }
2516
+ //# sourceMappingURL=api.js.map