@redhat-cloud-services/notifications-client 2.2.4 → 2.3.1

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 (349) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/LICENSE +201 -0
  3. package/README.md +69 -0
  4. package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.d.ts +1 -1
  5. package/dist/DrawerResourceV1GetDrawerEntries/index.d.ts.map +1 -0
  6. package/{esm → dist}/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +1 -1
  7. package/dist/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +1 -0
  8. package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.d.ts +1 -1
  9. package/dist/EventResourceV1GetEvents/index.d.ts.map +1 -0
  10. package/{esm → dist}/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +1 -1
  11. package/dist/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +1 -0
  12. package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.d.ts +1 -1
  13. package/dist/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +1 -0
  14. package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.d.ts +1 -1
  15. package/dist/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +1 -0
  16. package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.d.ts +1 -1
  17. package/dist/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +1 -0
  18. package/{esm → dist}/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +1 -1
  19. package/dist/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +1 -0
  20. package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.d.ts +1 -1
  21. package/dist/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +1 -0
  22. package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.d.ts +1 -1
  23. package/dist/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +1 -0
  24. package/{esm → dist}/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +1 -1
  25. package/dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +1 -0
  26. package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.d.ts +1 -1
  27. package/dist/NotificationResourceV1GetBundleByName/index.d.ts.map +1 -0
  28. package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.d.ts +1 -1
  29. package/dist/NotificationResourceV1GetBundleFacets/index.d.ts.map +1 -0
  30. package/{esm → dist}/NotificationResourceV1GetEventTypes/index.d.ts +1 -1
  31. package/dist/NotificationResourceV1GetEventTypes/index.d.ts.map +1 -0
  32. package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.d.ts +1 -1
  33. package/dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +1 -0
  34. package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.d.ts +1 -1
  35. package/dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +1 -0
  36. package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.d.ts +1 -1
  37. package/dist/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +1 -0
  38. package/{esm → dist}/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +1 -1
  39. package/dist/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +1 -0
  40. package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.d.ts +1 -1
  41. package/dist/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +1 -0
  42. package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.d.ts +1 -1
  43. package/dist/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +1 -0
  44. package/{esm → dist}/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +1 -1
  45. package/dist/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +1 -0
  46. package/{esm → dist}/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +1 -1
  47. package/dist/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +1 -0
  48. package/{api.d.ts → dist/api.d.ts} +8 -8
  49. package/dist/api.d.ts.map +1 -0
  50. package/{types → dist/types}/index.d.ts +8 -8
  51. package/dist/types/index.d.ts.map +1 -0
  52. package/{esm → dist}/utils/base.d.ts +2 -2
  53. package/dist/utils/base.d.ts.map +1 -0
  54. package/doc/.nojekyll +1 -0
  55. package/doc/README.md +69 -0
  56. package/doc/classes/BaseAPI.md +125 -0
  57. package/doc/classes/Configuration.md +194 -0
  58. package/doc/classes/RequiredError.md +179 -0
  59. package/doc/enums/EndpointStatus.md +76 -0
  60. package/doc/enums/EndpointType.md +65 -0
  61. package/doc/enums/Environment.md +54 -0
  62. package/doc/enums/EventLogEntryActionStatus.md +65 -0
  63. package/doc/enums/HttpType.md +43 -0
  64. package/doc/enums/NotificationStatus.md +65 -0
  65. package/doc/enums/Status.md +32 -0
  66. package/doc/enums/SubscriptionType.md +43 -0
  67. package/doc/interfaces/AddAccessRequest.md +44 -0
  68. package/doc/interfaces/AddApplicationRequest.md +74 -0
  69. package/doc/interfaces/AggregationEmailTemplate.md +164 -0
  70. package/doc/interfaces/AggregationEmailTemplateSubjectTemplate.md +104 -0
  71. package/doc/interfaces/ApiConfig.md +30 -0
  72. package/doc/interfaces/Application.md +104 -0
  73. package/doc/interfaces/Application1.md +44 -0
  74. package/doc/interfaces/ApplicationDTO.md +104 -0
  75. package/doc/interfaces/ApplicationSettingsValue.md +33 -0
  76. package/doc/interfaces/BasicAuthentication.md +44 -0
  77. package/doc/interfaces/BehaviorGroup.md +149 -0
  78. package/doc/interfaces/BehaviorGroupAction.md +59 -0
  79. package/doc/interfaces/BehaviorGroupActionId.md +44 -0
  80. package/doc/interfaces/Bundle.md +89 -0
  81. package/doc/interfaces/BundleSettingsValue.md +33 -0
  82. package/doc/interfaces/CamelProperties.md +123 -0
  83. package/doc/interfaces/ConfigurationParameters.md +89 -0
  84. package/doc/interfaces/CreateBehaviorGroupRequest.md +104 -0
  85. package/doc/interfaces/CreateBehaviorGroupResponse.md +104 -0
  86. package/doc/interfaces/CurrentStatus.md +59 -0
  87. package/doc/interfaces/DrawerEntryPayload.md +119 -0
  88. package/doc/interfaces/DuplicateNameMigrationReport.md +44 -0
  89. package/doc/interfaces/Endpoint.md +179 -0
  90. package/doc/interfaces/EndpointPage.md +63 -0
  91. package/doc/interfaces/EndpointTestRequest.md +29 -0
  92. package/doc/interfaces/EventLogEntry.md +119 -0
  93. package/doc/interfaces/EventLogEntryAction.md +125 -0
  94. package/doc/interfaces/EventType.md +164 -0
  95. package/doc/interfaces/EventTypeBehavior.md +59 -0
  96. package/doc/interfaces/EventTypeBehaviorId.md +44 -0
  97. package/doc/interfaces/EventTypeSettingsValue.md +63 -0
  98. package/doc/interfaces/Facet.md +74 -0
  99. package/doc/interfaces/InstantEmailTemplate.md +149 -0
  100. package/doc/interfaces/InternalApplicationUserPermission.md +59 -0
  101. package/doc/interfaces/InternalRoleAccess.md +59 -0
  102. package/doc/interfaces/InternalUserPermissions.md +59 -0
  103. package/doc/interfaces/MessageValidationResponse.md +33 -0
  104. package/doc/interfaces/Meta.md +29 -0
  105. package/doc/interfaces/NotificationHistory.md +155 -0
  106. package/doc/interfaces/PageBehaviorGroup.md +63 -0
  107. package/doc/interfaces/PageDrawerEntryPayload.md +63 -0
  108. package/doc/interfaces/PageEventLogEntry.md +63 -0
  109. package/doc/interfaces/PageEventType.md +63 -0
  110. package/doc/interfaces/PageNotificationHistory.md +63 -0
  111. package/doc/interfaces/RenderEmailTemplateRequest.md +44 -0
  112. package/doc/interfaces/RequestArgs.md +58 -0
  113. package/doc/interfaces/RequestDefaultBehaviorGroupPropertyList.md +44 -0
  114. package/doc/interfaces/RequestSystemSubscriptionProperties.md +44 -0
  115. package/doc/interfaces/ServerInfo.md +29 -0
  116. package/doc/interfaces/SettingsValuesByEventType.md +33 -0
  117. package/doc/interfaces/SystemSubscriptionProperties.md +59 -0
  118. package/doc/interfaces/Template.md +104 -0
  119. package/doc/interfaces/TriggerDailyDigestRequest.md +89 -0
  120. package/doc/interfaces/UpdateApplicationRequest.md +59 -0
  121. package/doc/interfaces/UpdateBehaviorGroupRequest.md +74 -0
  122. package/doc/interfaces/UpdateNotificationDrawerStatus.md +44 -0
  123. package/doc/interfaces/WebhookProperties.md +104 -0
  124. package/doc/interfaces/X509Certificate.md +89 -0
  125. package/doc/modules.md +1112 -0
  126. package/package.json +4 -5
  127. package/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
  128. package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts +0 -22
  129. package/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
  130. package/EventResourceV1GetEvents/index.d.ts.map +0 -1
  131. package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts +0 -27
  132. package/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
  133. package/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
  134. package/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
  135. package/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
  136. package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts +0 -21
  137. package/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
  138. package/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
  139. package/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
  140. package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts +0 -21
  141. package/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
  142. package/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
  143. package/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
  144. package/NotificationResourceV1GetEventTypes/index.d.ts +0 -63
  145. package/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
  146. package/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
  147. package/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
  148. package/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
  149. package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts +0 -28
  150. package/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
  151. package/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
  152. package/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
  153. package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts +0 -15
  154. package/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
  155. package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts +0 -21
  156. package/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
  157. package/api.d.ts.map +0 -1
  158. package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts +0 -81
  159. package/esm/DrawerResourceV1GetDrawerEntries/index.d.ts.map +0 -1
  160. package/esm/DrawerResourceV1GetDrawerEntries/index.js +0 -67
  161. package/esm/DrawerResourceV1GetDrawerEntries/index.js.map +0 -1
  162. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.d.ts.map +0 -1
  163. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js +0 -32
  164. package/esm/DrawerResourceV1UpdateNotificationReadStatus/index.js.map +0 -1
  165. package/esm/EventResourceV1GetEvents/index.d.ts +0 -112
  166. package/esm/EventResourceV1GetEvents/index.d.ts.map +0 -1
  167. package/esm/EventResourceV1GetEvents/index.js +0 -82
  168. package/esm/EventResourceV1GetEvents/index.js.map +0 -1
  169. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.d.ts.map +0 -1
  170. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js +0 -32
  171. package/esm/NotificationResourceV1AppendBehaviorGroupToEventType/index.js.map +0 -1
  172. package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts +0 -22
  173. package/esm/NotificationResourceV1CreateBehaviorGroup/index.d.ts.map +0 -1
  174. package/esm/NotificationResourceV1CreateBehaviorGroup/index.js +0 -32
  175. package/esm/NotificationResourceV1CreateBehaviorGroup/index.js.map +0 -1
  176. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts +0 -21
  177. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.d.ts.map +0 -1
  178. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js +0 -31
  179. package/esm/NotificationResourceV1DeleteBehaviorGroup/index.js.map +0 -1
  180. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts +0 -27
  181. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.d.ts.map +0 -1
  182. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js +0 -32
  183. package/esm/NotificationResourceV1DeleteBehaviorGroupFromEventType/index.js.map +0 -1
  184. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.d.ts.map +0 -1
  185. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js +0 -31
  186. package/esm/NotificationResourceV1FindBehaviorGroupsByBundleId/index.js.map +0 -1
  187. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts +0 -27
  188. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.d.ts.map +0 -1
  189. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js +0 -32
  190. package/esm/NotificationResourceV1GetApplicationByNameAndBundleName/index.js.map +0 -1
  191. package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts +0 -21
  192. package/esm/NotificationResourceV1GetApplicationsFacets/index.d.ts.map +0 -1
  193. package/esm/NotificationResourceV1GetApplicationsFacets/index.js +0 -33
  194. package/esm/NotificationResourceV1GetApplicationsFacets/index.js.map +0 -1
  195. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.d.ts.map +0 -1
  196. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js +0 -31
  197. package/esm/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint/index.js.map +0 -1
  198. package/esm/NotificationResourceV1GetBundleByName/index.d.ts +0 -21
  199. package/esm/NotificationResourceV1GetBundleByName/index.d.ts.map +0 -1
  200. package/esm/NotificationResourceV1GetBundleByName/index.js +0 -31
  201. package/esm/NotificationResourceV1GetBundleByName/index.js.map +0 -1
  202. package/esm/NotificationResourceV1GetBundleFacets/index.d.ts +0 -21
  203. package/esm/NotificationResourceV1GetBundleFacets/index.d.ts.map +0 -1
  204. package/esm/NotificationResourceV1GetBundleFacets/index.js +0 -33
  205. package/esm/NotificationResourceV1GetBundleFacets/index.js.map +0 -1
  206. package/esm/NotificationResourceV1GetEventTypes/index.d.ts.map +0 -1
  207. package/esm/NotificationResourceV1GetEventTypes/index.js +0 -54
  208. package/esm/NotificationResourceV1GetEventTypes/index.js.map +0 -1
  209. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts +0 -21
  210. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.d.ts.map +0 -1
  211. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js +0 -31
  212. package/esm/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup/index.js.map +0 -1
  213. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts +0 -33
  214. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.d.ts.map +0 -1
  215. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js +0 -33
  216. package/esm/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName/index.js.map +0 -1
  217. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts +0 -51
  218. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.d.ts.map +0 -1
  219. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js +0 -46
  220. package/esm/NotificationResourceV1GetLinkedBehaviorGroups/index.js.map +0 -1
  221. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.d.ts.map +0 -1
  222. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js +0 -33
  223. package/esm/NotificationResourceV1UpdateBehaviorGroup/index.js.map +0 -1
  224. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts +0 -27
  225. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.d.ts.map +0 -1
  226. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js +0 -33
  227. package/esm/NotificationResourceV1UpdateBehaviorGroupActions/index.js.map +0 -1
  228. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts +0 -27
  229. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.d.ts.map +0 -1
  230. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js +0 -33
  231. package/esm/NotificationResourceV1UpdateEventTypeBehaviors/index.js.map +0 -1
  232. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.d.ts.map +0 -1
  233. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js +0 -30
  234. package/esm/OrgConfigResourceV1GetDailyDigestTimePreference/index.js.map +0 -1
  235. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.d.ts.map +0 -1
  236. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js +0 -32
  237. package/esm/OrgConfigResourceV1SaveDailyDigestTimePreference/index.js.map +0 -1
  238. package/esm/api.d.ts +0 -3364
  239. package/esm/api.d.ts.map +0 -1
  240. package/esm/api.js +0 -2513
  241. package/esm/api.js.map +0 -1
  242. package/esm/base.d.ts +0 -55
  243. package/esm/base.d.ts.map +0 -1
  244. package/esm/base.js +0 -55
  245. package/esm/base.js.map +0 -1
  246. package/esm/common.d.ts +0 -66
  247. package/esm/common.d.ts.map +0 -1
  248. package/esm/common.js +0 -134
  249. package/esm/common.js.map +0 -1
  250. package/esm/configuration.d.ts.map +0 -1
  251. package/esm/configuration.js +0 -28
  252. package/esm/configuration.js.map +0 -1
  253. package/esm/index.d.ts.map +0 -1
  254. package/esm/index.js +0 -50
  255. package/esm/index.js.map +0 -1
  256. package/esm/types/index.d.ts +0 -1875
  257. package/esm/types/index.d.ts.map +0 -1
  258. package/esm/types/index.js +0 -90
  259. package/esm/types/index.js.map +0 -1
  260. package/esm/utils/base.d.ts.map +0 -1
  261. package/esm/utils/base.js +0 -125
  262. package/esm/utils/base.js.map +0 -1
  263. package/esm/utils/common.d.ts.map +0 -1
  264. package/esm/utils/common.js +0 -123
  265. package/esm/utils/common.js.map +0 -1
  266. package/esm/utils/configuration.d.ts +0 -73
  267. package/esm/utils/configuration.d.ts.map +0 -1
  268. package/esm/utils/configuration.js +0 -28
  269. package/esm/utils/configuration.js.map +0 -1
  270. package/index.d.ts +0 -27
  271. package/types/index.d.ts.map +0 -1
  272. package/utils/base.d.ts +0 -85
  273. package/utils/base.d.ts.map +0 -1
  274. package/utils/common.d.ts +0 -55
  275. package/utils/configuration.d.ts +0 -73
  276. /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js +0 -0
  277. /package/{DrawerResourceV1GetDrawerEntries → dist/DrawerResourceV1GetDrawerEntries}/index.js.map +0 -0
  278. /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js +0 -0
  279. /package/{DrawerResourceV1UpdateNotificationReadStatus → dist/DrawerResourceV1UpdateNotificationReadStatus}/index.js.map +0 -0
  280. /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js +0 -0
  281. /package/{EventResourceV1GetEvents → dist/EventResourceV1GetEvents}/index.js.map +0 -0
  282. /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js +0 -0
  283. /package/{NotificationResourceV1AppendBehaviorGroupToEventType → dist/NotificationResourceV1AppendBehaviorGroupToEventType}/index.js.map +0 -0
  284. /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js +0 -0
  285. /package/{NotificationResourceV1CreateBehaviorGroup → dist/NotificationResourceV1CreateBehaviorGroup}/index.js.map +0 -0
  286. /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js +0 -0
  287. /package/{NotificationResourceV1DeleteBehaviorGroup → dist/NotificationResourceV1DeleteBehaviorGroup}/index.js.map +0 -0
  288. /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js +0 -0
  289. /package/{NotificationResourceV1DeleteBehaviorGroupFromEventType → dist/NotificationResourceV1DeleteBehaviorGroupFromEventType}/index.js.map +0 -0
  290. /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js +0 -0
  291. /package/{NotificationResourceV1FindBehaviorGroupsByBundleId → dist/NotificationResourceV1FindBehaviorGroupsByBundleId}/index.js.map +0 -0
  292. /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js +0 -0
  293. /package/{NotificationResourceV1GetApplicationByNameAndBundleName → dist/NotificationResourceV1GetApplicationByNameAndBundleName}/index.js.map +0 -0
  294. /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js +0 -0
  295. /package/{NotificationResourceV1GetApplicationsFacets → dist/NotificationResourceV1GetApplicationsFacets}/index.js.map +0 -0
  296. /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js +0 -0
  297. /package/{NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint → dist/NotificationResourceV1GetBehaviorGroupsAffectedByRemovalOfEndpoint}/index.js.map +0 -0
  298. /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js +0 -0
  299. /package/{NotificationResourceV1GetBundleByName → dist/NotificationResourceV1GetBundleByName}/index.js.map +0 -0
  300. /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js +0 -0
  301. /package/{NotificationResourceV1GetBundleFacets → dist/NotificationResourceV1GetBundleFacets}/index.js.map +0 -0
  302. /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js +0 -0
  303. /package/{NotificationResourceV1GetEventTypes → dist/NotificationResourceV1GetEventTypes}/index.js.map +0 -0
  304. /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js +0 -0
  305. /package/{NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup → dist/NotificationResourceV1GetEventTypesAffectedByRemovalOfBehaviorGroup}/index.js.map +0 -0
  306. /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js +0 -0
  307. /package/{NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName → dist/NotificationResourceV1GetEventTypesByNameAndBundleAndApplicationName}/index.js.map +0 -0
  308. /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js +0 -0
  309. /package/{NotificationResourceV1GetLinkedBehaviorGroups → dist/NotificationResourceV1GetLinkedBehaviorGroups}/index.js.map +0 -0
  310. /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js +0 -0
  311. /package/{NotificationResourceV1UpdateBehaviorGroup → dist/NotificationResourceV1UpdateBehaviorGroup}/index.js.map +0 -0
  312. /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js +0 -0
  313. /package/{NotificationResourceV1UpdateBehaviorGroupActions → dist/NotificationResourceV1UpdateBehaviorGroupActions}/index.js.map +0 -0
  314. /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js +0 -0
  315. /package/{NotificationResourceV1UpdateEventTypeBehaviors → dist/NotificationResourceV1UpdateEventTypeBehaviors}/index.js.map +0 -0
  316. /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js +0 -0
  317. /package/{OrgConfigResourceV1GetDailyDigestTimePreference → dist/OrgConfigResourceV1GetDailyDigestTimePreference}/index.js.map +0 -0
  318. /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js +0 -0
  319. /package/{OrgConfigResourceV1SaveDailyDigestTimePreference → dist/OrgConfigResourceV1SaveDailyDigestTimePreference}/index.js.map +0 -0
  320. /package/{api.js → dist/api.js} +0 -0
  321. /package/{api.js.map → dist/api.js.map} +0 -0
  322. /package/{base.d.ts → dist/base.d.ts} +0 -0
  323. /package/{base.d.ts.map → dist/base.d.ts.map} +0 -0
  324. /package/{base.js → dist/base.js} +0 -0
  325. /package/{base.js.map → dist/base.js.map} +0 -0
  326. /package/{common.d.ts → dist/common.d.ts} +0 -0
  327. /package/{common.d.ts.map → dist/common.d.ts.map} +0 -0
  328. /package/{common.js → dist/common.js} +0 -0
  329. /package/{common.js.map → dist/common.js.map} +0 -0
  330. /package/{configuration.d.ts → dist/configuration.d.ts} +0 -0
  331. /package/{configuration.d.ts.map → dist/configuration.d.ts.map} +0 -0
  332. /package/{configuration.js → dist/configuration.js} +0 -0
  333. /package/{configuration.js.map → dist/configuration.js.map} +0 -0
  334. /package/{esm → dist}/index.d.ts +0 -0
  335. /package/{index.d.ts.map → dist/index.d.ts.map} +0 -0
  336. /package/{index.js → dist/index.js} +0 -0
  337. /package/{index.js.map → dist/index.js.map} +0 -0
  338. /package/{types → dist/types}/index.js +0 -0
  339. /package/{types → dist/types}/index.js.map +0 -0
  340. /package/{utils → dist/utils}/base.js +0 -0
  341. /package/{utils → dist/utils}/base.js.map +0 -0
  342. /package/{esm → dist}/utils/common.d.ts +0 -0
  343. /package/{utils → dist/utils}/common.d.ts.map +0 -0
  344. /package/{utils → dist/utils}/common.js +0 -0
  345. /package/{utils → dist/utils}/common.js.map +0 -0
  346. /package/{esm → dist/utils}/configuration.d.ts +0 -0
  347. /package/{utils → dist/utils}/configuration.d.ts.map +0 -0
  348. /package/{utils → dist/utils}/configuration.js +0 -0
  349. /package/{utils → dist/utils}/configuration.js.map +0 -0
package/utils/base.d.ts DELETED
@@ -1,85 +0,0 @@
1
- import type { Configuration } from './configuration';
2
- import type { AxiosResponse, AxiosInstance, AxiosRequestConfig } from 'axios';
3
- export declare const BASE_PATH: string;
4
- /**
5
- *
6
- * @export
7
- */
8
- export declare const COLLECTION_FORMATS: {
9
- csv: string;
10
- ssv: string;
11
- tsv: string;
12
- pipes: string;
13
- };
14
- /**
15
- *
16
- * @export
17
- * @interface RequestArgs
18
- */
19
- export interface RequestArgs {
20
- urlObj: URL;
21
- options: AxiosRequestConfig;
22
- auth?: {
23
- authType: AuthTypeEnum;
24
- authKey?: string | [string, string[]];
25
- }[];
26
- serializeData?: unknown;
27
- }
28
- export interface ApiConfig {
29
- axios: AxiosInstance;
30
- configuration?: Configuration;
31
- }
32
- export declare const AuthTypeEnum: {
33
- readonly Basic: "basic";
34
- readonly Bearer: "bearer";
35
- readonly Oauth: "oath";
36
- readonly InHeader: "inHeader";
37
- readonly InQuery: "inQuery";
38
- };
39
- export declare type AuthTypeEnum = typeof AuthTypeEnum[keyof typeof AuthTypeEnum];
40
- export declare type ActionType = (...config: any) => Promise<RequestArgs>;
41
- /**
42
- * Base API to store config, basepath and axios instance.
43
- * @export
44
- * @class BaseAPI
45
- */
46
- export declare class BaseAPI {
47
- protected basePath: string;
48
- protected configuration: Configuration | undefined;
49
- protected axios: AxiosInstance;
50
- /**
51
- * Constructor to create baseAPI.
52
- * @param { string } basePath basePath of api requests.
53
- * @param { { axios: AxiosInstance, configuration: Configuration } } config to be passed down to axios.
54
- */
55
- constructor(basePath?: string, config?: ApiConfig);
56
- private authConfig;
57
- /**
58
- * Send axios request
59
- * @param {Promise<RequestArgs>} request to be send trough axios.
60
- * @param {AxiosInstance} axios optional axios instance.
61
- * @returns {Promise<AxiosResponse<T>>} promisable axios response.
62
- */
63
- sendRequest<T>(request: Promise<RequestArgs>, axios?: AxiosInstance, basePath?: string): Promise<AxiosResponse<T>>;
64
- }
65
- /**
66
- *
67
- * Factory for creating API with option to add enpoints to the API.
68
- * @param basePath basePath of api requests.
69
- * @param { { axios: AxiosInstance, configuration: Configuration } } config to be passed down to axios.
70
- * @param actions object with actions to send with axios.
71
- * @returns created base API.
72
- */
73
- export declare const APIFactory: <T extends Record<string, ActionType>>(basePath: string | undefined, config: ApiConfig | undefined, actions: T) => BaseAPI & T;
74
- export default APIFactory;
75
- /**
76
- *
77
- * @export
78
- * @class RequiredError
79
- * @extends {Error}
80
- */
81
- export declare class RequiredError extends Error {
82
- field: string;
83
- constructor(field: string, msg?: string);
84
- }
85
- //# sourceMappingURL=base.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../utils/base.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGrD,OAAO,KAAK,EAAgB,aAAa,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAK5F,eAAO,MAAM,SAAS,QAA2E,CAAC;AAElG;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,GAAG,CAAC;IACZ,OAAO,EAAE,kBAAkB,CAAC;IAC5B,IAAI,CAAC,EAAE;QACL,QAAQ,EAAE,YAAY,CAAC;QACvB,OAAO,CAAC,EAAE,MAAM,GAAG,CAAE,MAAM,EAAE,MAAM,EAAE,CAAE,CAAC;KACzC,EAAE,CAAC;IACJ,aAAa,CAAC,EAAE,OAAO,CAAA;CAC1B;AAED,MAAM,WAAW,SAAS;IACxB,KAAK,EAAE,aAAa,CAAC;IACrB,aAAa,CAAC,EAAE,aAAa,CAAC;CAC/B;AAED,eAAO,MAAM,YAAY;;;;;;CAMf,CAAC;AAEX,oBAAY,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,oBAAY,UAAU,GAAG,CAAC,GAAG,MAAM,EAAE,GAAG,KAAK,OAAO,CAAC,WAAW,CAAC,CAAC;AAElE;;;;GAIG;AACH,qBAAa,OAAO;IAQJ,SAAS,CAAC,QAAQ,EAAE,MAAM;IAPtC,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;IACnD,SAAS,CAAC,KAAK,EAAE,aAAa,CAAC;IACjC;;;;OAIG;gBACqB,QAAQ,GAAE,MAAkB,EAAE,MAAM,GAAE,SAAkC;YAahF,UAAU;IAsBzB;;;;;MAKE;IACY,WAAW,CAAC,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,WAAW,CAAC,EAAE,KAAK,CAAC,EAAE,aAAa,EAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;CAwBlI;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,UAAU,gIAWtB,CAAA;AAED,eAAe,UAAU,CAAC;AAE1B;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IACjB,KAAK,EAAE,MAAM;gBAAb,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAIjD"}
package/utils/common.d.ts DELETED
@@ -1,55 +0,0 @@
1
- import type { Configuration } from "./configuration";
2
- import type { RequestArgs } from "./base";
3
- import type { AxiosInstance, AxiosResponse } from 'axios';
4
- /**
5
- *
6
- * @export
7
- */
8
- export declare const DUMMY_BASE_URL = "https://example.com";
9
- /**
10
- *
11
- * @throws {RequiredError}
12
- * @export
13
- */
14
- export declare const assertParamExists: (functionName: string, paramName: string, paramValue: unknown) => void;
15
- /**
16
- *
17
- * @export
18
- */
19
- export declare const setApiKeyToObject: (object: any, keyParamName: string, configuration?: Configuration) => Promise<void>;
20
- /**
21
- *
22
- * @export
23
- */
24
- export declare const setBasicAuthToObject: (object: any, configuration?: Configuration) => void;
25
- /**
26
- *
27
- * @export
28
- */
29
- export declare const setBearerAuthToObject: (object: any, configuration?: Configuration) => Promise<void>;
30
- /**
31
- *
32
- * @export
33
- */
34
- export declare const setOAuthToObject: (object: any, name: string, scopes: string[], configuration?: Configuration) => Promise<void>;
35
- /**
36
- *
37
- * @export
38
- */
39
- export declare const setSearchParams: (url: URL, ...objects: any[]) => void;
40
- /**
41
- *
42
- * @export
43
- */
44
- export declare const serializeDataIfNeeded: (value: any, requestOptions: any, configuration?: Configuration) => any;
45
- /**
46
- *
47
- * @export
48
- */
49
- export declare const toPathString: (url: URL) => string;
50
- /**
51
- *
52
- * @export
53
- */
54
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
55
- //# sourceMappingURL=common.d.ts.map
@@ -1,73 +0,0 @@
1
- export interface ConfigurationParameters {
2
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
3
- username?: string;
4
- password?: string;
5
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
6
- basePath?: string;
7
- baseOptions?: any;
8
- formDataCtor?: new () => any;
9
- }
10
- export declare class Configuration {
11
- /**
12
- * parameter for apiKey security
13
- * @param name security name
14
- * @memberof Configuration
15
- */
16
- apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
17
- /**
18
- * parameter for basic security
19
- *
20
- * @type {string}
21
- * @memberof Configuration
22
- */
23
- username?: string;
24
- /**
25
- * parameter for basic security
26
- *
27
- * @type {string}
28
- * @memberof Configuration
29
- */
30
- password?: string;
31
- /**
32
- * parameter for oauth2 security
33
- * @param name security name
34
- * @param scopes oauth2 scope
35
- * @memberof Configuration
36
- */
37
- accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
38
- /**
39
- * override base path
40
- *
41
- * @type {string}
42
- * @memberof Configuration
43
- */
44
- basePath?: string;
45
- /**
46
- * base options for axios calls
47
- *
48
- * @type {any}
49
- * @memberof Configuration
50
- */
51
- baseOptions?: any;
52
- /**
53
- * The FormData constructor that will be used to create multipart form data
54
- * requests. You can inject this here so that execution environments that
55
- * do not support the FormData class can still run the generated client.
56
- *
57
- * @type {new () => FormData}
58
- */
59
- formDataCtor?: new () => any;
60
- constructor(param?: ConfigurationParameters);
61
- /**
62
- * Check if the given MIME is a JSON MIME.
63
- * JSON MIME examples:
64
- * application/json
65
- * application/json; charset=UTF8
66
- * APPLICATION/JSON
67
- * application/vnd.company+json
68
- * @param mime - MIME (Multipurpose Internet Mail Extensions)
69
- * @return True if the given MIME is JSON, false otherwise.
70
- */
71
- isJsonMime(mime: string): boolean;
72
- }
73
- //# sourceMappingURL=configuration.d.ts.map
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes