@redhat-cloud-services/notifications-client 2.2.3 → 2.3.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 (324) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/LICENSE +201 -0
  3. package/README.md +69 -0
  4. package/doc/.nojekyll +1 -0
  5. package/doc/README.md +69 -0
  6. package/doc/classes/BaseAPI.md +125 -0
  7. package/doc/classes/Configuration.md +194 -0
  8. package/doc/classes/RequiredError.md +179 -0
  9. package/doc/enums/EndpointStatus.md +76 -0
  10. package/doc/enums/EndpointType.md +65 -0
  11. package/doc/enums/Environment.md +54 -0
  12. package/doc/enums/EventLogEntryActionStatus.md +65 -0
  13. package/doc/enums/HttpType.md +43 -0
  14. package/doc/enums/NotificationStatus.md +65 -0
  15. package/doc/enums/Status.md +32 -0
  16. package/doc/enums/SubscriptionType.md +43 -0
  17. package/doc/interfaces/AddAccessRequest.md +44 -0
  18. package/doc/interfaces/AddApplicationRequest.md +74 -0
  19. package/doc/interfaces/AggregationEmailTemplate.md +164 -0
  20. package/doc/interfaces/AggregationEmailTemplateSubjectTemplate.md +104 -0
  21. package/doc/interfaces/ApiConfig.md +30 -0
  22. package/doc/interfaces/Application.md +104 -0
  23. package/doc/interfaces/Application1.md +44 -0
  24. package/doc/interfaces/ApplicationDTO.md +104 -0
  25. package/doc/interfaces/ApplicationSettingsValue.md +33 -0
  26. package/doc/interfaces/BasicAuthentication.md +44 -0
  27. package/doc/interfaces/BehaviorGroup.md +149 -0
  28. package/doc/interfaces/BehaviorGroupAction.md +59 -0
  29. package/doc/interfaces/BehaviorGroupActionId.md +44 -0
  30. package/doc/interfaces/Bundle.md +89 -0
  31. package/doc/interfaces/BundleSettingsValue.md +33 -0
  32. package/doc/interfaces/CamelProperties.md +123 -0
  33. package/doc/interfaces/ConfigurationParameters.md +89 -0
  34. package/doc/interfaces/CreateBehaviorGroupRequest.md +104 -0
  35. package/doc/interfaces/CreateBehaviorGroupResponse.md +104 -0
  36. package/doc/interfaces/CurrentStatus.md +59 -0
  37. package/doc/interfaces/DrawerEntryPayload.md +119 -0
  38. package/doc/interfaces/DuplicateNameMigrationReport.md +44 -0
  39. package/doc/interfaces/Endpoint.md +179 -0
  40. package/doc/interfaces/EndpointPage.md +63 -0
  41. package/doc/interfaces/EndpointTestRequest.md +29 -0
  42. package/doc/interfaces/EventLogEntry.md +119 -0
  43. package/doc/interfaces/EventLogEntryAction.md +125 -0
  44. package/doc/interfaces/EventType.md +164 -0
  45. package/doc/interfaces/EventTypeBehavior.md +59 -0
  46. package/doc/interfaces/EventTypeBehaviorId.md +44 -0
  47. package/doc/interfaces/EventTypeSettingsValue.md +63 -0
  48. package/doc/interfaces/Facet.md +74 -0
  49. package/doc/interfaces/InstantEmailTemplate.md +149 -0
  50. package/doc/interfaces/InternalApplicationUserPermission.md +59 -0
  51. package/doc/interfaces/InternalRoleAccess.md +59 -0
  52. package/doc/interfaces/InternalUserPermissions.md +59 -0
  53. package/doc/interfaces/MessageValidationResponse.md +33 -0
  54. package/doc/interfaces/Meta.md +29 -0
  55. package/doc/interfaces/NotificationHistory.md +155 -0
  56. package/doc/interfaces/PageBehaviorGroup.md +63 -0
  57. package/doc/interfaces/PageDrawerEntryPayload.md +63 -0
  58. package/doc/interfaces/PageEventLogEntry.md +63 -0
  59. package/doc/interfaces/PageEventType.md +63 -0
  60. package/doc/interfaces/PageNotificationHistory.md +63 -0
  61. package/doc/interfaces/RenderEmailTemplateRequest.md +44 -0
  62. package/doc/interfaces/RequestArgs.md +58 -0
  63. package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +44 -0
  64. package/doc/interfaces/RequestSystemSubscriptionProperties.md +44 -0
  65. package/doc/interfaces/ServerInfo.md +29 -0
  66. package/doc/interfaces/SettingsValuesByEventType.md +33 -0
  67. package/doc/interfaces/SystemSubscriptionProperties.md +59 -0
  68. package/doc/interfaces/Template.md +104 -0
  69. package/doc/interfaces/TriggerDailyDigestRequest.md +89 -0
  70. package/doc/interfaces/UpdateApplicationRequest.md +59 -0
  71. package/doc/interfaces/UpdateBehaviorGroupRequest.md +74 -0
  72. package/doc/interfaces/UpdateNotificationDrawerStatus.md +44 -0
  73. package/doc/interfaces/WebhookProperties.md +104 -0
  74. package/doc/interfaces/X509Certificate.md +89 -0
  75. package/doc/modules.md +1112 -0
  76. package/package.json +3 -4
  77. package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +0 -81
  78. package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
  79. package/esm/DrawerResourceV1GetDrawerEntries/index.js +0 -67
  80. package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +0 -1
  81. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +0 -22
  82. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
  83. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -32
  84. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +0 -1
  85. package/esm/EventResourceV1GetEvents/index.d.ts +0 -112
  86. package/esm/EventResourceV1GetEvents/index.d.ts.map +0 -1
  87. package/esm/EventResourceV1GetEvents/index.js +0 -82
  88. package/esm/EventResourceV1GetEvents/index.js.map +0 -1
  89. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +0 -27
  90. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
  91. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -32
  92. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +0 -1
  93. package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +0 -22
  94. package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
  95. package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +0 -32
  96. package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +0 -1
  97. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +0 -21
  98. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
  99. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -31
  100. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +0 -1
  101. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +0 -27
  102. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
  103. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -32
  104. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +0 -1
  105. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +0 -21
  106. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
  107. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -31
  108. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +0 -1
  109. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +0 -27
  110. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
  111. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -32
  112. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +0 -1
  113. package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +0 -21
  114. package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
  115. package/esm/NotificationResourceV1GetApplicationsFacets/index.js +0 -33
  116. package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +0 -1
  117. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -21
  118. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
  119. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -31
  120. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
  121. package/esm/NotificationResourceV1GetBundleByName/index.d.ts +0 -21
  122. package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
  123. package/esm/NotificationResourceV1GetBundleByName/index.js +0 -31
  124. package/esm/NotificationResourceV1GetBundleByName/index.js.map +0 -1
  125. package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +0 -21
  126. package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
  127. package/esm/NotificationResourceV1GetBundleFacets/index.js +0 -33
  128. package/esm/NotificationResourceV1GetBundleFacets/index.js.map +0 -1
  129. package/esm/NotificationResourceV1GetEventTypes/index.d.ts +0 -63
  130. package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
  131. package/esm/NotificationResourceV1GetEventTypes/index.js +0 -54
  132. package/esm/NotificationResourceV1GetEventTypes/index.js.map +0 -1
  133. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -21
  134. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
  135. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -31
  136. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
  137. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -33
  138. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
  139. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -33
  140. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
  141. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +0 -51
  142. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
  143. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -46
  144. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +0 -1
  145. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +0 -28
  146. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
  147. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -33
  148. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +0 -1
  149. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +0 -27
  150. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
  151. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -33
  152. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +0 -1
  153. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +0 -27
  154. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
  155. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -33
  156. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +0 -1
  157. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +0 -15
  158. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
  159. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -30
  160. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +0 -1
  161. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +0 -21
  162. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
  163. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -32
  164. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +0 -1
  165. package/esm/api.d.ts +0 -3364
  166. package/esm/api.d.ts.map +0 -1
  167. package/esm/api.js +0 -2513
  168. package/esm/api.js.map +0 -1
  169. package/esm/base.d.ts +0 -55
  170. package/esm/base.d.ts.map +0 -1
  171. package/esm/base.js +0 -55
  172. package/esm/base.js.map +0 -1
  173. package/esm/common.d.ts +0 -66
  174. package/esm/common.d.ts.map +0 -1
  175. package/esm/common.js +0 -134
  176. package/esm/common.js.map +0 -1
  177. package/esm/configuration.d.ts.map +0 -1
  178. package/esm/configuration.js +0 -28
  179. package/esm/configuration.js.map +0 -1
  180. package/esm/index.d.ts.map +0 -1
  181. package/esm/index.js +0 -50
  182. package/esm/index.js.map +0 -1
  183. package/esm/types/index.d.ts.map +0 -1
  184. package/esm/types/index.js +0 -90
  185. package/esm/types/index.js.map +0 -1
  186. package/esm/utils/base.d.ts.map +0 -1
  187. package/esm/utils/base.js +0 -125
  188. package/esm/utils/base.js.map +0 -1
  189. package/esm/utils/common.d.ts.map +0 -1
  190. package/esm/utils/common.js +0 -123
  191. package/esm/utils/common.js.map +0 -1
  192. package/esm/utils/configuration.d.ts +0 -73
  193. package/esm/utils/configuration.d.ts.map +0 -1
  194. package/esm/utils/configuration.js +0 -28
  195. package/esm/utils/configuration.js.map +0 -1
  196. package/index.d.ts +0 -27
  197. package/types/index.d.ts +0 -1875
  198. package/utils/base.d.ts +0 -85
  199. package/utils/common.d.ts +0 -55
  200. package/utils/configuration.d.ts +0 -73
  201. /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.d.ts +0 -0
  202. /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.d.ts.map +0 -0
  203. /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js +0 -0
  204. /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js.map +0 -0
  205. /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts +0 -0
  206. /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.d.ts.map +0 -0
  207. /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js +0 -0
  208. /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js.map +0 -0
  209. /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.d.ts +0 -0
  210. /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.d.ts.map +0 -0
  211. /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js +0 -0
  212. /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js.map +0 -0
  213. /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts +0 -0
  214. /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.d.ts.map +0 -0
  215. /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js +0 -0
  216. /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js.map +0 -0
  217. /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.d.ts +0 -0
  218. /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.d.ts.map +0 -0
  219. /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js +0 -0
  220. /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js.map +0 -0
  221. /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +0 -0
  222. /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.d.ts.map +0 -0
  223. /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js +0 -0
  224. /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js.map +0 -0
  225. /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +0 -0
  226. /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts.map +0 -0
  227. /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js +0 -0
  228. /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js.map +0 -0
  229. /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts +0 -0
  230. /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.d.ts.map +0 -0
  231. /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js +0 -0
  232. /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js.map +0 -0
  233. /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +0 -0
  234. /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts.map +0 -0
  235. /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js +0 -0
  236. /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js.map +0 -0
  237. /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.d.ts +0 -0
  238. /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.d.ts.map +0 -0
  239. /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js +0 -0
  240. /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js.map +0 -0
  241. /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts +0 -0
  242. /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.d.ts.map +0 -0
  243. /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js +0 -0
  244. /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js.map +0 -0
  245. /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.d.ts +0 -0
  246. /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.d.ts.map +0 -0
  247. /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js +0 -0
  248. /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js.map +0 -0
  249. /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.d.ts +0 -0
  250. /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.d.ts.map +0 -0
  251. /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js +0 -0
  252. /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js.map +0 -0
  253. /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.d.ts +0 -0
  254. /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.d.ts.map +0 -0
  255. /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js +0 -0
  256. /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js.map +0 -0
  257. /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +0 -0
  258. /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts.map +0 -0
  259. /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js +0 -0
  260. /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js.map +0 -0
  261. /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +0 -0
  262. /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts.map +0 -0
  263. /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js +0 -0
  264. /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js.map +0 -0
  265. /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +0 -0
  266. /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts.map +0 -0
  267. /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js +0 -0
  268. /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js.map +0 -0
  269. /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.d.ts +0 -0
  270. /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.d.ts.map +0 -0
  271. /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js +0 -0
  272. /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js.map +0 -0
  273. /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +0 -0
  274. /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts.map +0 -0
  275. /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js +0 -0
  276. /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js.map +0 -0
  277. /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +0 -0
  278. /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts.map +0 -0
  279. /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js +0 -0
  280. /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js.map +0 -0
  281. /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts +0 -0
  282. /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.d.ts.map +0 -0
  283. /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js +0 -0
  284. /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js.map +0 -0
  285. /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts +0 -0
  286. /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.d.ts.map +0 -0
  287. /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js +0 -0
  288. /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js.map +0 -0
  289. /package/{api.d.ts → dist/api.d.ts} +0 -0
  290. /package/{api.d.ts.map → dist/api.d.ts.map} +0 -0
  291. /package/{api.js → dist/api.js} +0 -0
  292. /package/{api.js.map → dist/api.js.map} +0 -0
  293. /package/{base.d.ts → dist/base.d.ts} +0 -0
  294. /package/{base.d.ts.map → dist/base.d.ts.map} +0 -0
  295. /package/{base.js → dist/base.js} +0 -0
  296. /package/{base.js.map → dist/base.js.map} +0 -0
  297. /package/{common.d.ts → dist/common.d.ts} +0 -0
  298. /package/{common.d.ts.map → dist/common.d.ts.map} +0 -0
  299. /package/{common.js → dist/common.js} +0 -0
  300. /package/{common.js.map → dist/common.js.map} +0 -0
  301. /package/{configuration.d.ts → dist/configuration.d.ts} +0 -0
  302. /package/{configuration.d.ts.map → dist/configuration.d.ts.map} +0 -0
  303. /package/{configuration.js → dist/configuration.js} +0 -0
  304. /package/{configuration.js.map → dist/configuration.js.map} +0 -0
  305. /package/{esm → dist}/index.d.ts +0 -0
  306. /package/{index.d.ts.map → dist/index.d.ts.map} +0 -0
  307. /package/{index.js → dist/index.js} +0 -0
  308. /package/{index.js.map → dist/index.js.map} +0 -0
  309. /package/{esm → dist}/types/index.d.ts +0 -0
  310. /package/{types → dist/types}/index.d.ts.map +0 -0
  311. /package/{types → dist/types}/index.js +0 -0
  312. /package/{types → dist/types}/index.js.map +0 -0
  313. /package/{esm → dist}/utils/base.d.ts +0 -0
  314. /package/{utils → dist/utils}/base.d.ts.map +0 -0
  315. /package/{utils → dist/utils}/base.js +0 -0
  316. /package/{utils → dist/utils}/base.js.map +0 -0
  317. /package/{esm → dist}/utils/common.d.ts +0 -0
  318. /package/{utils → dist/utils}/common.d.ts.map +0 -0
  319. /package/{utils → dist/utils}/common.js +0 -0
  320. /package/{utils → dist/utils}/common.js.map +0 -0
  321. /package/{esm → dist/utils}/configuration.d.ts +0 -0
  322. /package/{utils → dist/utils}/configuration.d.ts.map +0 -0
  323. /package/{utils → dist/utils}/configuration.js +0 -0
  324. /package/{utils → dist/utils}/configuration.js.map +0 -0
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/notifications-client",
3
- "version": "2.2.3",
3
+ "version": "2.3.0",
4
4
  "description": "",
5
- "main": "./index.js",
6
- "module": "./esm/index.js",
7
- "typings": "./index.d.ts",
5
+ "main": "./dist/index.js",
6
+ "typings": "./dist/index.d.ts",
8
7
  "publishConfig": {
9
8
  "access": "public"
10
9
  },
@@ -1,81 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '../utils/base';
3
- export declare type DrawerResourceV1GetDrawerEntriesParams = {
4
- /**
5
- *
6
- * @type { Set<string> }
7
- * @memberof DrawerResourceV1GetDrawerEntriesApi
8
- */
9
- appIds?: Set<string>;
10
- /**
11
- *
12
- * @type { Set<string> }
13
- * @memberof DrawerResourceV1GetDrawerEntriesApi
14
- */
15
- bundleIds?: Set<string>;
16
- /**
17
- *
18
- * @type { string }
19
- * @memberof DrawerResourceV1GetDrawerEntriesApi
20
- */
21
- endDate?: string;
22
- /**
23
- *
24
- * @type { Set<string> }
25
- * @memberof DrawerResourceV1GetDrawerEntriesApi
26
- */
27
- eventTypeIds?: Set<string>;
28
- /**
29
- *
30
- * @type { number }
31
- * @memberof DrawerResourceV1GetDrawerEntriesApi
32
- */
33
- limit?: number;
34
- /**
35
- *
36
- * @type { number }
37
- * @memberof DrawerResourceV1GetDrawerEntriesApi
38
- */
39
- offset?: number;
40
- /**
41
- *
42
- * @type { number }
43
- * @memberof DrawerResourceV1GetDrawerEntriesApi
44
- */
45
- pageNumber?: number;
46
- /**
47
- *
48
- * @type { boolean }
49
- * @memberof DrawerResourceV1GetDrawerEntriesApi
50
- */
51
- readStatus?: boolean;
52
- /**
53
- *
54
- * @type { string }
55
- * @memberof DrawerResourceV1GetDrawerEntriesApi
56
- */
57
- sortBy?: string;
58
- /**
59
- *
60
- * @type { string }
61
- * @memberof DrawerResourceV1GetDrawerEntriesApi
62
- */
63
- sortBy2?: string;
64
- /**
65
- *
66
- * @type { string }
67
- * @memberof DrawerResourceV1GetDrawerEntriesApi
68
- */
69
- startDate?: string;
70
- options?: AxiosRequestConfig;
71
- };
72
- /**
73
- * 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.
74
- * @summary Retrieve drawer notifications entries.
75
- * @param {DrawerResourceV1GetDrawerEntriesParams} config with all available params.
76
- * @param {*} [options] Override http request option.
77
- * @throws {RequiredError}
78
- */
79
- export declare const drawerResourceV1GetDrawerEntriesParamCreator: (...config: ([DrawerResourceV1GetDrawerEntriesParams] | [Set<string>, Set<string>, string, Set<string>, number, number, number, boolean, string, string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
80
- export default drawerResourceV1GetDrawerEntriesParamCreator;
81
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../DrawerResourceV1GetDrawerEntries/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,sCAAsC,GAAG;IACnD;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,YAAY,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC3B;;;;MAIE;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;MAIE;IACF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;MAIE;IACF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,4CAA4C,cAAqB,CAAC,CAAC,sCAAsC,CAAC,GAAG,CAAC,IAAI,MAAM,CAAC,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAmE5Q,CAAA;AAED,eAAe,4CAA4C,CAAC"}
@@ -1,67 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isDrawerResourceV1GetDrawerEntriesObjectParams = (params) => {
4
- return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true;
5
- };
6
- /**
7
- * 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.
8
- * @summary Retrieve drawer notifications entries.
9
- * @param {DrawerResourceV1GetDrawerEntriesParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const drawerResourceV1GetDrawerEntriesParamCreator = async (...config) => {
14
- const params = isDrawerResourceV1GetDrawerEntriesObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'eventTypeIds', 'limit', 'offset', 'pageNumber', 'readStatus', 'sortBy', 'sortBy2', 'startDate', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { appIds, bundleIds, endDate, eventTypeIds, limit, offset, pageNumber, readStatus, sortBy, sortBy2, startDate, options = {} } = params;
16
- const localVarPath = `/notifications/drawer`;
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
- if (appIds) {
23
- localVarQueryParameter['appIds'] = Array.from(appIds);
24
- }
25
- if (bundleIds) {
26
- localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
27
- }
28
- if (endDate !== undefined) {
29
- localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
30
- endDate.toISOString() :
31
- endDate;
32
- }
33
- if (eventTypeIds) {
34
- localVarQueryParameter['eventTypeIds'] = Array.from(eventTypeIds);
35
- }
36
- if (limit !== undefined) {
37
- localVarQueryParameter['limit'] = limit;
38
- }
39
- if (offset !== undefined) {
40
- localVarQueryParameter['offset'] = offset;
41
- }
42
- if (pageNumber !== undefined) {
43
- localVarQueryParameter['pageNumber'] = pageNumber;
44
- }
45
- if (readStatus !== undefined) {
46
- localVarQueryParameter['readStatus'] = readStatus;
47
- }
48
- if (sortBy !== undefined) {
49
- localVarQueryParameter['sortBy'] = sortBy;
50
- }
51
- if (sortBy2 !== undefined) {
52
- localVarQueryParameter['sort_by'] = sortBy2;
53
- }
54
- if (startDate !== undefined) {
55
- localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
56
- startDate.toISOString() :
57
- startDate;
58
- }
59
- setSearchParams(localVarUrlObj, localVarQueryParameter);
60
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
61
- return {
62
- urlObj: localVarUrlObj,
63
- options: localVarRequestOptions,
64
- };
65
- };
66
- export default drawerResourceV1GetDrawerEntriesParamCreator;
67
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../DrawerResourceV1GetDrawerEntries/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAgFnO,MAAM,8CAA8C,GAAG,CAAC,MAA4D,EAAsD,EAAE;IAC1K,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,I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CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,4CAA4C,CAAC"}
@@ -1,22 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '../utils/base';
3
- import type { UpdateNotificationDrawerStatus } from '../types';
4
- export declare type DrawerResourceV1UpdateNotificationReadStatusParams = {
5
- /**
6
- *
7
- * @type { UpdateNotificationDrawerStatus }
8
- * @memberof DrawerResourceV1UpdateNotificationReadStatusApi
9
- */
10
- updateNotificationDrawerStatus?: UpdateNotificationDrawerStatus;
11
- options?: AxiosRequestConfig;
12
- };
13
- /**
14
- * Update drawer notifications status.
15
- * @summary Update drawer notifications status.
16
- * @param {DrawerResourceV1UpdateNotificationReadStatusParams} config with all available params.
17
- * @param {*} [options] Override http request option.
18
- * @throws {RequiredError}
19
- */
20
- export declare const drawerResourceV1UpdateNotificationReadStatusParamCreator: (...config: ([DrawerResourceV1UpdateNotificationReadStatusParams] | [UpdateNotificationDrawerStatus, AxiosRequestConfig])) => Promise<RequestArgs>;
21
- export default drawerResourceV1UpdateNotificationReadStatusParamCreator;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../DrawerResourceV1UpdateNotificationReadStatus/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,8BAA8B,EAAE,MAAM,UAAU,CAAC;AAG/D,oBAAY,kDAAkD,GAAG;IAC/D;;;;MAIE;IACF,8BAA8B,CAAC,EAAE,8BAA8B,CAAC;IAChE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,wDAAwD,cAAqB,CAAC,CAAC,kDAAkD,CAAC,GAAG,CAAC,8BAA8B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsB5N,CAAA;AAED,eAAe,wDAAwD,CAAC"}
@@ -1,32 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isDrawerResourceV1UpdateNotificationReadStatusObjectParams = (params) => {
4
- return params.length === 1 && true;
5
- };
6
- /**
7
- * Update drawer notifications status.
8
- * @summary Update drawer notifications status.
9
- * @param {DrawerResourceV1UpdateNotificationReadStatusParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const drawerResourceV1UpdateNotificationReadStatusParamCreator = async (...config) => {
14
- const params = isDrawerResourceV1UpdateNotificationReadStatusObjectParams(config) ? config[0] : ['updateNotificationDrawerStatus', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { updateNotificationDrawerStatus, options = {} } = params;
16
- const localVarPath = `/notifications/drawer/read`;
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: updateNotificationDrawerStatus,
29
- };
30
- };
31
- export default drawerResourceV1UpdateNotificationReadStatusParamCreator;
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../DrawerResourceV1UpdateNotificationReadStatus/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe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BAA8B;KAChD,CAAC;AACN,CAAC,CAAA;AAED,eAAe,wDAAwD,CAAC"}
@@ -1,112 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '../utils/base';
3
- import type { EventLogEntryActionStatus } from '../types';
4
- export declare type EventResourceV1GetEventsParams = {
5
- /**
6
- *
7
- * @type { Set<string> }
8
- * @memberof EventResourceV1GetEventsApi
9
- */
10
- appIds?: Set<string>;
11
- /**
12
- *
13
- * @type { Set<string> }
14
- * @memberof EventResourceV1GetEventsApi
15
- */
16
- bundleIds?: Set<string>;
17
- /**
18
- *
19
- * @type { string }
20
- * @memberof EventResourceV1GetEventsApi
21
- */
22
- endDate?: string;
23
- /**
24
- *
25
- * @type { Set<string> }
26
- * @memberof EventResourceV1GetEventsApi
27
- */
28
- endpointTypes?: Set<string>;
29
- /**
30
- *
31
- * @type { string }
32
- * @memberof EventResourceV1GetEventsApi
33
- */
34
- eventTypeDisplayName?: string;
35
- /**
36
- *
37
- * @type { boolean }
38
- * @memberof EventResourceV1GetEventsApi
39
- */
40
- includeActions?: boolean;
41
- /**
42
- *
43
- * @type { boolean }
44
- * @memberof EventResourceV1GetEventsApi
45
- */
46
- includeDetails?: boolean;
47
- /**
48
- *
49
- * @type { boolean }
50
- * @memberof EventResourceV1GetEventsApi
51
- */
52
- includePayload?: boolean;
53
- /**
54
- *
55
- * @type { Set<boolean> }
56
- * @memberof EventResourceV1GetEventsApi
57
- */
58
- invocationResults?: Set<boolean>;
59
- /**
60
- *
61
- * @type { number }
62
- * @memberof EventResourceV1GetEventsApi
63
- */
64
- limit?: number;
65
- /**
66
- *
67
- * @type { number }
68
- * @memberof EventResourceV1GetEventsApi
69
- */
70
- offset?: number;
71
- /**
72
- *
73
- * @type { number }
74
- * @memberof EventResourceV1GetEventsApi
75
- */
76
- pageNumber?: number;
77
- /**
78
- *
79
- * @type { string }
80
- * @memberof EventResourceV1GetEventsApi
81
- */
82
- sortBy?: string;
83
- /**
84
- *
85
- * @type { string }
86
- * @memberof EventResourceV1GetEventsApi
87
- */
88
- sortBy2?: string;
89
- /**
90
- *
91
- * @type { string }
92
- * @memberof EventResourceV1GetEventsApi
93
- */
94
- startDate?: string;
95
- /**
96
- *
97
- * @type { Set<EventLogEntryActionStatus> }
98
- * @memberof EventResourceV1GetEventsApi
99
- */
100
- status?: Set<EventLogEntryActionStatus>;
101
- options?: AxiosRequestConfig;
102
- };
103
- /**
104
- * 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.
105
- * @summary Retrieve the event log entries
106
- * @param {EventResourceV1GetEventsParams} config with all available params.
107
- * @param {*} [options] Override http request option.
108
- * @throws {RequiredError}
109
- */
110
- export declare const eventResourceV1GetEventsParamCreator: (...config: ([EventResourceV1GetEventsParams] | [Set<string>, Set<string>, string, Set<string>, string, boolean, boolean, boolean, Set<boolean>, number, number, number, string, string, string, Set<EventLogEntryActionStatus>, AxiosRequestConfig])) => Promise<RequestArgs>;
111
- export default eventResourceV1GetEventsParamCreator;
112
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../EventResourceV1GetEvents/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,yBAAyB,EAAqB,MAAM,UAAU,CAAC;AAG7E,oBAAY,8BAA8B,GAAG;IAC3C;;;;MAIE;IACF,MAAM,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACrB;;;;MAIE;IACF,SAAS,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB;;;;MAIE;IACF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;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MMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isEventResourceV1GetEventsObjectParams = (params) => {
4
- return params.length === 1 && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true && true;
5
- };
6
- /**
7
- * 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.
8
- * @summary Retrieve the event log entries
9
- * @param {EventResourceV1GetEventsParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const eventResourceV1GetEventsParamCreator = async (...config) => {
14
- const params = isEventResourceV1GetEventsObjectParams(config) ? config[0] : ['appIds', 'bundleIds', 'endDate', 'endpointTypes', 'eventTypeDisplayName', 'includeActions', 'includeDetails', 'includePayload', 'invocationResults', 'limit', 'offset', 'pageNumber', 'sortBy', 'sortBy2', 'startDate', 'status', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { appIds, bundleIds, endDate, endpointTypes, eventTypeDisplayName, includeActions, includeDetails, includePayload, invocationResults, limit, offset, pageNumber, sortBy, sortBy2, startDate, status, options = {} } = params;
16
- const localVarPath = `/notifications/events`;
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
- if (appIds) {
23
- localVarQueryParameter['appIds'] = Array.from(appIds);
24
- }
25
- if (bundleIds) {
26
- localVarQueryParameter['bundleIds'] = Array.from(bundleIds);
27
- }
28
- if (endDate !== undefined) {
29
- localVarQueryParameter['endDate'] = (endDate instanceof Date) ?
30
- endDate.toISOString().substr(0, 10) :
31
- endDate;
32
- }
33
- if (endpointTypes) {
34
- localVarQueryParameter['endpointTypes'] = Array.from(endpointTypes);
35
- }
36
- if (eventTypeDisplayName !== undefined) {
37
- localVarQueryParameter['eventTypeDisplayName'] = eventTypeDisplayName;
38
- }
39
- if (includeActions !== undefined) {
40
- localVarQueryParameter['includeActions'] = includeActions;
41
- }
42
- if (includeDetails !== undefined) {
43
- localVarQueryParameter['includeDetails'] = includeDetails;
44
- }
45
- if (includePayload !== undefined) {
46
- localVarQueryParameter['includePayload'] = includePayload;
47
- }
48
- if (invocationResults) {
49
- localVarQueryParameter['invocationResults'] = Array.from(invocationResults);
50
- }
51
- if (limit !== undefined) {
52
- localVarQueryParameter['limit'] = limit;
53
- }
54
- if (offset !== undefined) {
55
- localVarQueryParameter['offset'] = offset;
56
- }
57
- if (pageNumber !== undefined) {
58
- localVarQueryParameter['pageNumber'] = pageNumber;
59
- }
60
- if (sortBy !== undefined) {
61
- localVarQueryParameter['sortBy'] = sortBy;
62
- }
63
- if (sortBy2 !== undefined) {
64
- localVarQueryParameter['sort_by'] = sortBy2;
65
- }
66
- if (startDate !== undefined) {
67
- localVarQueryParameter['startDate'] = (startDate instanceof Date) ?
68
- startDate.toISOString().substr(0, 10) :
69
- startDate;
70
- }
71
- if (status) {
72
- localVarQueryParameter['status'] = Array.from(status);
73
- }
74
- setSearchParams(localVarUrlObj, localVarQueryParameter);
75
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
76
- return {
77
- urlObj: localVarUrlObj,
78
- options: localVarRequestOptions,
79
- };
80
- };
81
- export default eventResourceV1GetEventsParamCreator;
82
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../EventResourceV1GetEvents/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA8GnO,MAAM,sCAAsC,GAAG,CAAC,MAAoD,EAA8C,EAAE;IAClJ,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,IAAI,IAAI,IAAI,IAAI,IA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,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;IAED,IAAI,SAAS,KAAK,SAAS,EAAE;QACzB,sBAAsB,CAAC,WAAW,CAAC,GAAG,CAAC,SAAgB,YAAY,IAAI,CAAC,CAAC,CAAC;YACrE,SAAiB,CAAC,WAAW,EAAE,CAAC,MAAM,CAAC,CAAC,EAAC,EAAE,CAAC,CAAC,CAAC;YAC/C,SAAS,CAAC;KACjB;IAED,IAAI,MAAM,EAAE;QACR,sBAAsB,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;KACzD;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;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,oCAAoC,CAAC"}
@@ -1,27 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '../utils/base';
3
- export declare type NotificationResourceV1AppendBehaviorGroupToEventTypeParams = {
4
- /**
5
- *
6
- * @type { string }
7
- * @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
8
- */
9
- behaviorGroupUuid: string;
10
- /**
11
- *
12
- * @type { string }
13
- * @memberof NotificationResourceV1AppendBehaviorGroupToEventTypeApi
14
- */
15
- eventTypeUuid: string;
16
- options?: AxiosRequestConfig;
17
- };
18
- /**
19
- *
20
- * @summary Add a behavior group to the given event type.
21
- * @param {NotificationResourceV1AppendBehaviorGroupToEventTypeParams} config with all available params.
22
- * @param {*} [options] Override http request option.
23
- * @throws {RequiredError}
24
- */
25
- export declare const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator: (...config: ([NotificationResourceV1AppendBehaviorGroupToEventTypeParams] | [string, string, AxiosRequestConfig])) => Promise<RequestArgs>;
26
- export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
27
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1AppendBehaviorGroupToEventType/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,0DAA0D,GAAG;IACvE;;;;MAIE;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B;;;;MAIE;IACF,aAAa,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,gEAAgE,cAAqB,CAAC,CAAC,0DAA0D,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAqB5N,CAAA;AAED,eAAe,gEAAgE,CAAC"}
@@ -1,32 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupUuid') && Object.prototype.hasOwnProperty.call(params, 'eventTypeUuid');
5
- };
6
- /**
7
- *
8
- * @summary Add a behavior group to the given event type.
9
- * @param {NotificationResourceV1AppendBehaviorGroupToEventTypeParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator = async (...config) => {
14
- const params = isNotificationResourceV1AppendBehaviorGroupToEventTypeObjectParams(config) ? config[0] : ['behaviorGroupUuid', 'eventTypeUuid', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { behaviorGroupUuid, eventTypeUuid, options = {} } = params;
16
- const localVarPath = `/notifications/eventTypes/{eventTypeUuid}/behaviorGroups/{behaviorGroupUuid}`
17
- .replace(`{${"behaviorGroupUuid"}}`, encodeURIComponent(String(behaviorGroupUuid)))
18
- .replace(`{${"eventTypeUuid"}}`, encodeURIComponent(String(eventTypeUuid)));
19
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
20
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21
- const localVarRequestOptions = { method: 'PUT', ...options };
22
- const localVarHeaderParameter = {};
23
- const localVarQueryParameter = {};
24
- setSearchParams(localVarUrlObj, localVarQueryParameter);
25
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
- return {
27
- urlObj: localVarUrlObj,
28
- options: localVarRequestOptions,
29
- };
30
- };
31
- export default notificationResourceV1AppendBehaviorGroupToEventTypeParamCreator;
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1AppendBehaviorGroupToEventType/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,kEAAkE,GAAG,CAAC,MAAgF,EAA0E,EAAE;IACtO,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,C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sB,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,gEAAgE,CAAC"}
@@ -1,22 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '../utils/base';
3
- import type { CreateBehaviorGroupRequest } from '../types';
4
- export declare type NotificationResourceV1CreateBehaviorGroupParams = {
5
- /**
6
- *
7
- * @type { CreateBehaviorGroupRequest }
8
- * @memberof NotificationResourceV1CreateBehaviorGroupApi
9
- */
10
- createBehaviorGroupRequest: CreateBehaviorGroupRequest;
11
- options?: AxiosRequestConfig;
12
- };
13
- /**
14
- * 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.
15
- * @summary Create a behavior group
16
- * @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
17
- * @param {*} [options] Override http request option.
18
- * @throws {RequiredError}
19
- */
20
- export declare const notificationResourceV1CreateBehaviorGroupParamCreator: (...config: ([NotificationResourceV1CreateBehaviorGroupParams] | [CreateBehaviorGroupRequest, AxiosRequestConfig])) => Promise<RequestArgs>;
21
- export default notificationResourceV1CreateBehaviorGroupParamCreator;
22
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1CreateBehaviorGroup/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,EAA+B,MAAM,UAAU,CAAC;AAGxF,oBAAY,+CAA+C,GAAG;IAC5D;;;;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,0BAA0B,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsBlN,CAAA;AAED,eAAe,qDAAqD,CAAC"}
@@ -1,32 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isNotificationResourceV1CreateBehaviorGroupObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'createBehaviorGroupRequest');
5
- };
6
- /**
7
- * 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.
8
- * @summary Create a behavior group
9
- * @param {NotificationResourceV1CreateBehaviorGroupParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const notificationResourceV1CreateBehaviorGroupParamCreator = async (...config) => {
14
- const params = isNotificationResourceV1CreateBehaviorGroupObjectParams(config) ? config[0] : ['createBehaviorGroupRequest', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { createBehaviorGroupRequest, options = {} } = params;
16
- const localVarPath = `/notifications/behaviorGroups`;
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: 'POST', ...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: createBehaviorGroupRequest,
29
- };
30
- };
31
- export default notificationResourceV1CreateBehaviorGroupParamCreator;
32
- //# sourceMappingURL=index.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,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"}
@@ -1,21 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '../utils/base';
3
- export declare type NotificationResourceV1DeleteBehaviorGroupParams = {
4
- /**
5
- * The UUID of the behavior group to delete
6
- * @type { string }
7
- * @memberof NotificationResourceV1DeleteBehaviorGroupApi
8
- */
9
- id: string;
10
- options?: AxiosRequestConfig;
11
- };
12
- /**
13
- * Deletes a behavior group and all of its configured actions. Use this endpoint when you no longer need a behavior group.
14
- * @summary Delete a behavior group
15
- * @param {NotificationResourceV1DeleteBehaviorGroupParams} config with all available params.
16
- * @param {*} [options] Override http request option.
17
- * @throws {RequiredError}
18
- */
19
- export declare const notificationResourceV1DeleteBehaviorGroupParamCreator: (...config: ([NotificationResourceV1DeleteBehaviorGroupParams] | [string, AxiosRequestConfig])) => Promise<RequestArgs>;
20
- export default notificationResourceV1DeleteBehaviorGroupParamCreator;
21
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1DeleteBehaviorGroup/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,+CAA+C,GAAG;IAC5D;;;;MAIE;IACF,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,qDAAqD,cAAqB,CAAC,CAAC,+CAA+C,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAoB9L,CAAA;AAED,eAAe,qDAAqD,CAAC"}