@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/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
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes