@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
@@ -0,0 +1,55 @@
1
+ // @ts-ignore
2
+ import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
+ // @ts-ignore
4
+ import { AuthTypeEnum } from '../utils/base';
5
+ const isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams = (params) => {
6
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true && true && true && true && true;
7
+ };
8
+ /**
9
+ * 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.
10
+ * @summary List the behavior groups linked to an event type
11
+ * @param {NotificationResourceV1GetLinkedBehaviorGroupsParams} config with all available params.
12
+ * @param {*} [options] Override http request option.
13
+ * @throws {RequiredError}
14
+ */
15
+ export const notificationResourceV1GetLinkedBehaviorGroupsParamCreator = async (...config) => {
16
+ const params = isNotificationResourceV1GetLinkedBehaviorGroupsObjectParams(config) ? config[0] : ['eventTypeId', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
17
+ const { eventTypeId, limit, offset, pageNumber, sortBy, sortBy2, options = {} } = params;
18
+ const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
19
+ .replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
20
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22
+ const localVarRequestOptions = { method: 'GET', ...options };
23
+ const localVarHeaderParameter = {};
24
+ const localVarQueryParameter = {};
25
+ if (limit !== undefined) {
26
+ localVarQueryParameter['limit'] = limit;
27
+ }
28
+ if (offset !== undefined) {
29
+ localVarQueryParameter['offset'] = offset;
30
+ }
31
+ if (pageNumber !== undefined) {
32
+ localVarQueryParameter['pageNumber'] = pageNumber;
33
+ }
34
+ if (sortBy !== undefined) {
35
+ localVarQueryParameter['sortBy'] = sortBy;
36
+ }
37
+ if (sortBy2 !== undefined) {
38
+ localVarQueryParameter['sort_by'] = sortBy2;
39
+ }
40
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
41
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
42
+ return {
43
+ urlObj: localVarUrlObj,
44
+ options: localVarRequestOptions,
45
+ auth: [
46
+ {
47
+ // authentication SecurityScheme required
48
+ // http basic authentication required
49
+ authType: AuthTypeEnum.Basic,
50
+ }
51
+ ]
52
+ };
53
+ };
54
+ export default notificationResourceV1GetLinkedBehaviorGroupsParamCreator;
55
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","s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Ac,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAEzC,IAAI,KAAK,KAAK,SAAS,EAAE;QACrB,sBAAsB,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;KAC3C;IAED,IAAI,MAAM,KAAK,SAAS,EAAE;QACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;KAC7C;IAED,IAAI,UAAU,KAAK,SAAS,EAAE;QAC1B,sBAAsB,CAAC,YAAY,CAAC,GAAG,UAAU,CAAC;KACrD;IAED,IAAI,MAAM,KAAK,SAAS,EAAE;QACtB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;KAC7C;IAED,IAAI,OAAO,KAAK,SAAS,EAAE;QACvB,sBAAsB,CAAC,SAAS,CAAC,GAAG,OAAO,CAAC;KAC/C;IAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,IAAI,EAAC;YACL;gBACA,yCAAyC;gBACzC,qCAAqC;gBACrC,QAAQ,EAAE,YAAY,CAAC,KAAK;aAC3B;SACA;KACJ,CAAC;AACN,CAAC,CAAA;AAED,eAAe,yDAAyD,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '../utils/base';
3
+ import type { UpdateBehaviorGroupRequest } from '../types';
4
+ export declare type NotificationResourceV1UpdateBehaviorGroupParams = {
5
+ /**
6
+ * The UUID of the behavior group to update
7
+ * @type { string }
8
+ * @memberof NotificationResourceV1UpdateBehaviorGroupApi
9
+ */
10
+ id: string;
11
+ /**
12
+ * New parameters
13
+ * @type { UpdateBehaviorGroupRequest }
14
+ * @memberof NotificationResourceV1UpdateBehaviorGroupApi
15
+ */
16
+ updateBehaviorGroupRequest: UpdateBehaviorGroupRequest;
17
+ options?: AxiosRequestConfig;
18
+ };
19
+ /**
20
+ * 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.
21
+ * @summary Update a behavior group
22
+ * @param {NotificationResourceV1UpdateBehaviorGroupParams} config with all available params.
23
+ * @param {*} [options] Override http request option.
24
+ * @throws {RequiredError}
25
+ */
26
+ export declare const notificationResourceV1UpdateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1UpdateBehaviorGroupParams] | [string, UpdateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
27
+ export default notificationResourceV1UpdateBehaviorGroupParamCreator;
28
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroup/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAMjD,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,UAAU,CAAC;AAG3D,oBAAY,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX;;;;MAIE;IACF,0BAA0B,EAAE,0BAA0B,CAAC;IACvD,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuB1N,CAAA;AAED,eAAe,qDAAqD,CAAC"}
@@ -0,0 +1,33 @@
1
+ // @ts-ignore
2
+ import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
+ const isNotificationResourceV1UpdateBehaviorGroupObjectParams = (params) => {
4
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'id') && Object.prototype.hasOwnProperty.call(params, 'updateBehaviorGroupRequest');
5
+ };
6
+ /**
7
+ * 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.
8
+ * @summary Update a behavior group
9
+ * @param {NotificationResourceV1UpdateBehaviorGroupParams} config with all available params.
10
+ * @param {*} [options] Override http request option.
11
+ * @throws {RequiredError}
12
+ */
13
+ export const notificationResourceV1UpdateBehaviorGroupParamCreator = async (...config) => {
14
+ const params = isNotificationResourceV1UpdateBehaviorGroupObjectParams(config) ? config[0] : ['id', 'updateBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
+ const { id, updateBehaviorGroupRequest, options = {} } = params;
16
+ const localVarPath = `/notifications/behaviorGroups/{id}`
17
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20
+ const localVarRequestOptions = { method: 'PUT', ...options };
21
+ const localVarHeaderParameter = {};
22
+ const localVarQueryParameter = {};
23
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
+ return {
27
+ urlObj: localVarUrlObj,
28
+ options: localVarRequestOptions,
29
+ serializeData: updateBehaviorGroupRequest,
30
+ };
31
+ };
32
+ export default notificationResourceV1UpdateBehaviorGroupParamCreator;
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../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tE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,0BAA0B;KAC5C,CAAC;AACN,CAAC,CAAA;AAED,eAAe,qDAAqD,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '../utils/base';
3
+ export declare type NotificationResourceV1UpdateBehaviorGroupActionsParams = {
4
+ /**
5
+ * The UUID of the behavior group to update
6
+ * @type { string }
7
+ * @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
8
+ */
9
+ behaviorGroupId: string;
10
+ /**
11
+ *
12
+ * @type { Array<string> }
13
+ * @memberof NotificationResourceV1UpdateBehaviorGroupActionsApi
14
+ */
15
+ requestBody?: Array<string>;
16
+ options?: AxiosRequestConfig;
17
+ };
18
+ /**
19
+ * Updates the list of actions to be executed in that particular behavior group after an event is received.
20
+ * @summary Update the list of behavior group actions
21
+ * @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
22
+ * @param {*} [options] Override http request option.
23
+ * @throws {RequiredError}
24
+ */
25
+ export declare const notificationResourceV1UpdateBehaviorGroupActionsParamCreator: (...config: ([NotificationResourceV1UpdateBehaviorGroupActionsParams] | [string, Array<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
26
+ export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,sDAAsD,GAAG;IACnE;;;;MAIE;IACF,eAAe,EAAE,MAAM,CAAC;IACxB;;;;MAIE;IACF,WAAW,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,cAAqB,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuB3N,CAAA;AAED,eAAe,4DAA4D,CAAC"}
@@ -0,0 +1,33 @@
1
+ // @ts-ignore
2
+ import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
+ const isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = (params) => {
4
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && true;
5
+ };
6
+ /**
7
+ * Updates the list of actions to be executed in that particular behavior group after an event is received.
8
+ * @summary Update the list of behavior group actions
9
+ * @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
10
+ * @param {*} [options] Override http request option.
11
+ * @throws {RequiredError}
12
+ */
13
+ export const notificationResourceV1UpdateBehaviorGroupActionsParamCreator = async (...config) => {
14
+ const params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
+ const { behaviorGroupId, requestBody, options = {} } = params;
16
+ const localVarPath = `/notifications/behaviorGroups/{behaviorGroupId}/actions`
17
+ .replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
18
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20
+ const localVarRequestOptions = { method: 'PUT', ...options };
21
+ const localVarHeaderParameter = {};
22
+ const localVarQueryParameter = {};
23
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
+ return {
27
+ urlObj: localVarUrlObj,
28
+ options: localVarRequestOptions,
29
+ serializeData: requestBody,
30
+ };
31
+ };
32
+ export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,iBAAiB,CAAC,IAAI,IAAI,CAAA;AACvG,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,4DAA4D,GAAG,KAAK,EAAE,GAAG,MAAgH,EAAwB,EAAE;IAC5N,MAAM,MAAM,GAAG,8DAA8D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAA2D,CAAC;IAClR,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAC9D,MAAM,YAAY,GAAG,yDAAyD;SACzE,OAAO,CAAC,IAAI,iBAAiB,GAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;IACpF,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,WAAW;KAC7B,CAAC;AACN,CAAC,CAAA;AAED,eAAe,4DAA4D,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '../utils/base';
3
+ export declare type NotificationResourceV1UpdateEventTypeBehaviorsParams = {
4
+ /**
5
+ * UUID of the eventType to associate with the behavior group(s)
6
+ * @type { string }
7
+ * @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
8
+ */
9
+ eventTypeId: string;
10
+ /**
11
+ *
12
+ * @type { Set<string> }
13
+ * @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
14
+ */
15
+ requestBody?: Set<string>;
16
+ options?: AxiosRequestConfig;
17
+ };
18
+ /**
19
+ * Updates the list of behavior groups associated with an event type.
20
+ * @summary Update the list of behavior groups for an event type
21
+ * @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
22
+ * @param {*} [options] Override http request option.
23
+ * @throws {RequiredError}
24
+ */
25
+ export declare const notificationResourceV1UpdateEventTypeBehaviorsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeBehaviorsParams] | [string, Set<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
26
+ export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
27
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,cAAqB,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuBrN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
@@ -0,0 +1,33 @@
1
+ // @ts-ignore
2
+ import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
+ const isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = (params) => {
4
+ return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true;
5
+ };
6
+ /**
7
+ * Updates the list of behavior groups associated with an event type.
8
+ * @summary Update the list of behavior groups for an event type
9
+ * @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
10
+ * @param {*} [options] Override http request option.
11
+ * @throws {RequiredError}
12
+ */
13
+ export const notificationResourceV1UpdateEventTypeBehaviorsParamCreator = async (...config) => {
14
+ const params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
+ const { eventTypeId, requestBody, options = {} } = params;
16
+ const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
17
+ .replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
18
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20
+ const localVarRequestOptions = { method: 'PUT', ...options };
21
+ const localVarHeaderParameter = {};
22
+ const localVarQueryParameter = {};
23
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
+ return {
27
+ urlObj: localVarUrlObj,
28
+ options: localVarRequestOptions,
29
+ serializeData: requestBody,
30
+ };
31
+ };
32
+ export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
33
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,4DAA4D,GAAG,CAAC,MAA0E,EAAoE,EAAE;IACpN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,CAAC,IAAI,IAAI,CAAA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AA;AAED,eAAe,0DAA0D,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '../utils/base';
3
+ export declare type OrgConfigResourceV1GetDailyDigestTimePreferenceParams = {
4
+ options?: AxiosRequestConfig;
5
+ };
6
+ /**
7
+ * Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
8
+ * @summary Retrieve the daily digest time
9
+ * @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
10
+ * @param {*} [options] Override http request option.
11
+ * @throws {RequiredError}
12
+ */
13
+ export declare const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator: (...config: ([OrgConfigResourceV1GetDailyDigestTimePreferenceParams] | [AxiosRequestConfig])) => Promise<RequestArgs>;
14
+ export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
15
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,qDAAqD,GAAG;IAClE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,2DAA2D,cAAqB,CAAC,CAAC,qDAAqD,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAmBlM,CAAA;AAED,eAAe,2DAA2D,CAAC"}
@@ -0,0 +1,30 @@
1
+ // @ts-ignore
2
+ import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
+ const isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = (params) => {
4
+ return params.length === 1;
5
+ };
6
+ /**
7
+ * Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
8
+ * @summary Retrieve the daily digest time
9
+ * @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
10
+ * @param {*} [options] Override http request option.
11
+ * @throws {RequiredError}
12
+ */
13
+ export const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = async (...config) => {
14
+ const params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
+ const { options = {} } = params;
16
+ const localVarPath = `/org-config/daily-digest/time-preference`;
17
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19
+ const localVarRequestOptions = { method: 'GET', ...options };
20
+ const localVarHeaderParameter = {};
21
+ const localVarQueryParameter = {};
22
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
24
+ return {
25
+ urlObj: localVarUrlObj,
26
+ options: localVarRequestOptions,
27
+ };
28
+ };
29
+ export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAcnO,MAAM,6DAA6D,GAAG,CAAC,MAA2E,EAAqE,EAAE;IACvN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;AAC5B,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,2DAA2D,GAAG,KAAK,EAAE,GAAG,MAAwF,EAAwB,EAAE;IACnM,MAAM,MAAM,GAAG,6DAA6D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAA0D,CAAC;IAC9O,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAChC,MAAM,YAAY,GAAG,0CAA0C,CAAC;IAChE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,2DAA2D,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { AxiosRequestConfig } from 'axios';
2
+ import type { RequestArgs } from '../utils/base';
3
+ export declare type OrgConfigResourceV1SaveDailyDigestTimePreferenceParams = {
4
+ /**
5
+ *
6
+ * @type { string }
7
+ * @memberof OrgConfigResourceV1SaveDailyDigestTimePreferenceApi
8
+ */
9
+ body?: string;
10
+ options?: AxiosRequestConfig;
11
+ };
12
+ /**
13
+ * Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
14
+ * @summary Set the daily digest time
15
+ * @param {OrgConfigResourceV1SaveDailyDigestTimePreferenceParams} config with all available params.
16
+ * @param {*} [options] Override http request option.
17
+ * @throws {RequiredError}
18
+ */
19
+ export declare const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator: (...config: ([OrgConfigResourceV1SaveDailyDigestTimePreferenceParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
20
+ export default orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
21
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,sDAAsD,GAAG;IACnE;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,cAAqB,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsB5M,CAAA;AAED,eAAe,4DAA4D,CAAC"}
@@ -0,0 +1,32 @@
1
+ // @ts-ignore
2
+ import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
+ const isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams = (params) => {
4
+ return params.length === 1 && true;
5
+ };
6
+ /**
7
+ * 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.
8
+ * @summary Set the daily digest time
9
+ * @param {OrgConfigResourceV1SaveDailyDigestTimePreferenceParams} config with all available params.
10
+ * @param {*} [options] Override http request option.
11
+ * @throws {RequiredError}
12
+ */
13
+ export const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = async (...config) => {
14
+ const params = isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['body', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
+ const { body, options = {} } = params;
16
+ const localVarPath = `/org-config/daily-digest/time-preference`;
17
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19
+ const localVarRequestOptions = { method: 'PUT', ...options };
20
+ const localVarHeaderParameter = {};
21
+ const localVarQueryParameter = {};
22
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
25
+ return {
26
+ urlObj: localVarUrlObj,
27
+ options: localVarRequestOptions,
28
+ serializeData: body,
29
+ };
30
+ };
31
+ export default orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAoBnO,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAA;AACpC,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,4DAA4D,GAAG,KAAK,EAAE,GAAG,MAAiG,EAAwB,EAAE;IAC7M,MAAM,MAAM,GAAG,8DAA8D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GA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