@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
@@ -1,33 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'behaviorGroupId') && true;
5
- };
6
- /**
7
- * Updates the list of actions to be executed in that particular behavior group after an event is received.
8
- * @summary Update the list of behavior group actions
9
- * @param {NotificationResourceV1UpdateBehaviorGroupActionsParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const notificationResourceV1UpdateBehaviorGroupActionsParamCreator = async (...config) => {
14
- const params = isNotificationResourceV1UpdateBehaviorGroupActionsObjectParams(config) ? config[0] : ['behaviorGroupId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { behaviorGroupId, requestBody, options = {} } = params;
16
- const localVarPath = `/notifications/behaviorGroups/{behaviorGroupId}/actions`
17
- .replace(`{${"behaviorGroupId"}}`, encodeURIComponent(String(behaviorGroupId)));
18
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20
- const localVarRequestOptions = { method: 'PUT', ...options };
21
- const localVarHeaderParameter = {};
22
- const localVarQueryParameter = {};
23
- localVarHeaderParameter['Content-Type'] = 'application/json';
24
- setSearchParams(localVarUrlObj, localVarQueryParameter);
25
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
- return {
27
- urlObj: localVarUrlObj,
28
- options: localVarRequestOptions,
29
- serializeData: requestBody,
30
- };
31
- };
32
- export default notificationResourceV1UpdateBehaviorGroupActionsParamCreator;
33
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateBehaviorGroupActions/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AA0BnO,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,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QAC/B,aAAa,EAAE,WAAW;KAC7B,CAAC;AACN,CAAC,CAAA;AAED,eAAe,4DAA4D,CAAC"}
@@ -1,27 +0,0 @@
1
- import type { AxiosRequestConfig } from 'axios';
2
- import type { RequestArgs } from '../utils/base';
3
- export declare type NotificationResourceV1UpdateEventTypeBehaviorsParams = {
4
- /**
5
- * UUID of the eventType to associate with the behavior group(s)
6
- * @type { string }
7
- * @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
8
- */
9
- eventTypeId: string;
10
- /**
11
- *
12
- * @type { Set<string> }
13
- * @memberof NotificationResourceV1UpdateEventTypeBehaviorsApi
14
- */
15
- requestBody?: Set<string>;
16
- options?: AxiosRequestConfig;
17
- };
18
- /**
19
- * Updates the list of behavior groups associated with an event type.
20
- * @summary Update the list of behavior groups for an event type
21
- * @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
22
- * @param {*} [options] Override http request option.
23
- * @throws {RequiredError}
24
- */
25
- export declare const notificationResourceV1UpdateEventTypeBehaviorsParamCreator: (...config: ([NotificationResourceV1UpdateEventTypeBehaviorsParams] | [string, Set<string>, AxiosRequestConfig])) => Promise<RequestArgs>;
26
- export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
27
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../NotificationResourceV1UpdateEventTypeBehaviors/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,oDAAoD,GAAG;IACjE;;;;MAIE;IACF,WAAW,EAAE,MAAM,CAAC;IACpB;;;;MAIE;IACF,WAAW,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC1B,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,0DAA0D,cAAqB,CAAC,CAAC,oDAAoD,CAAC,GAAG,CAAC,MAAM,EAAE,IAAI,MAAM,CAAC,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAuBrN,CAAA;AAED,eAAe,0DAA0D,CAAC"}
@@ -1,33 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams = (params) => {
4
- return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'eventTypeId') && true;
5
- };
6
- /**
7
- * Updates the list of behavior groups associated with an event type.
8
- * @summary Update the list of behavior groups for an event type
9
- * @param {NotificationResourceV1UpdateEventTypeBehaviorsParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const notificationResourceV1UpdateEventTypeBehaviorsParamCreator = async (...config) => {
14
- const params = isNotificationResourceV1UpdateEventTypeBehaviorsObjectParams(config) ? config[0] : ['eventTypeId', 'requestBody', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { eventTypeId, requestBody, options = {} } = params;
16
- const localVarPath = `/notifications/eventTypes/{eventTypeId}/behaviorGroups`
17
- .replace(`{${"eventTypeId"}}`, encodeURIComponent(String(eventTypeId)));
18
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
19
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
20
- const localVarRequestOptions = { method: 'PUT', ...options };
21
- const localVarHeaderParameter = {};
22
- const localVarQueryParameter = {};
23
- localVarHeaderParameter['Content-Type'] = 'application/json';
24
- setSearchParams(localVarUrlObj, localVarQueryParameter);
25
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
26
- return {
27
- urlObj: localVarUrlObj,
28
- options: localVarRequestOptions,
29
- serializeData: requestBody,
30
- };
31
- };
32
- export default notificationResourceV1UpdateEventTypeBehaviorsParamCreator;
33
- //# sourceMapp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MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,uBAAuB,CAAC,cAAc,CAAC,GAAG,kBAAkB,CAAC;IAE7D,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;QAC/B,aAAa,EAAE,WAAW;KAC7B,CAAC;AACN,CAAC,CAAA;AAED,eAAe,0DAA0D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,qDAAqD,GAAG;IAClE,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,2DAA2D,cAAqB,CAAC,CAAC,qDAAqD,CAAC,GAAG,CAAC,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAmBlM,CAAA;AAED,eAAe,2DAA2D,CAAC"}
@@ -1,30 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams = (params) => {
4
- return params.length === 1;
5
- };
6
- /**
7
- * Retrieves the daily digest time setting. Use this endpoint to check the time that daily emails are sent.
8
- * @summary Retrieve the daily digest time
9
- * @param {OrgConfigResourceV1GetDailyDigestTimePreferenceParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator = async (...config) => {
14
- const params = isOrgConfigResourceV1GetDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { options = {} } = params;
16
- const localVarPath = `/org-config/daily-digest/time-preference`;
17
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
18
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19
- const localVarRequestOptions = { method: 'GET', ...options };
20
- const localVarHeaderParameter = {};
21
- const localVarQueryParameter = {};
22
- setSearchParams(localVarUrlObj, localVarQueryParameter);
23
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
24
- return {
25
- urlObj: localVarUrlObj,
26
- options: localVarRequestOptions,
27
- };
28
- };
29
- export default orgConfigResourceV1GetDailyDigestTimePreferenceParamCreator;
30
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1GetDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAcnO,MAAM,6DAA6D,GAAG,CAAC,MAA2E,EAAqE,EAAE;IACvN,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;AAC5B,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,MAAM,2DAA2D,GAAG,KAAK,EAAE,GAAG,MAAwF,EAAwB,EAAE;IACnM,MAAM,MAAM,GAAG,6DAA6D,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC,EAAE,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,EAAE,CAAC,EAAE,EAAE,CAA0D,CAAC;IAC9O,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,GAAG,MAAM,CAAC;IAChC,MAAM,YAAY,GAAG,0CAA0C,CAAC;IAChE,oFAAoF;IACpF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;IAC7D,MAAM,sBAAsB,GAAG,EAAE,MAAM,EAAE,KAAe,EAAE,GAAG,OAAO,EAAC,CAAC;IACtE,MAAM,uBAAuB,GAAG,EAAS,CAAC;IAC1C,MAAM,sBAAsB,GAAG,EAAS,CAAC;IAIzC,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;IACxD,sBAAsB,CAAC,OAAO,GAAG,EAAC,GAAG,uBAAuB,EAAE,GAAG,OAAO,CAAC,OAAO,EAAC,CAAC;IAElF,OAAO;QACH,MAAM,EAAE,cAAc;QACtB,OAAO,EAAE,sBAAsB;KAClC,CAAC;AACN,CAAC,CAAA;AAED,eAAe,2DAA2D,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAA+B,kBAAkB,EAAU,MAAM,OAAO,CAAC;AAGrF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AASjD,oBAAY,sDAAsD,GAAG;IACnE;;;;MAIE;IACF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,kBAAkB,CAAA;CAC7B,CAAA;AAKD;;;;;;EAME;AACF,eAAO,MAAM,4DAA4D,cAAqB,CAAC,CAAC,sDAAsD,CAAC,GAAG,CAAC,MAAM,EAAE,kBAAkB,CAAC,CAAC,KAAG,QAAQ,WAAW,CAsB5M,CAAA;AAED,eAAe,4DAA4D,CAAC"}
@@ -1,32 +0,0 @@
1
- // @ts-ignore
2
- import { DUMMY_BASE_URL, setSearchParams } from '../utils/common';
3
- const isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams = (params) => {
4
- return params.length === 1 && true;
5
- };
6
- /**
7
- * Sets the daily digest UTC time. The accepted minute values are 00, 15, 30, and 45. Use this endpoint to set the time when daily emails are sent.
8
- * @summary Set the daily digest time
9
- * @param {OrgConfigResourceV1SaveDailyDigestTimePreferenceParams} config with all available params.
10
- * @param {*} [options] Override http request option.
11
- * @throws {RequiredError}
12
- */
13
- export const orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator = async (...config) => {
14
- const params = isOrgConfigResourceV1SaveDailyDigestTimePreferenceObjectParams(config) ? config[0] : ['body', 'options'].reduce((acc, curr, index) => ({ ...acc, [curr]: config[index] }), {});
15
- const { body, options = {} } = params;
16
- const localVarPath = `/org-config/daily-digest/time-preference`;
17
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
18
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19
- const localVarRequestOptions = { method: 'PUT', ...options };
20
- const localVarHeaderParameter = {};
21
- const localVarQueryParameter = {};
22
- localVarHeaderParameter['Content-Type'] = 'application/json';
23
- setSearchParams(localVarUrlObj, localVarQueryParameter);
24
- localVarRequestOptions.headers = { ...localVarHeaderParameter, ...options.headers };
25
- return {
26
- urlObj: localVarUrlObj,
27
- options: localVarRequestOptions,
28
- serializeData: body,
29
- };
30
- };
31
- export default orgConfigResourceV1SaveDailyDigestTimePreferenceParamCreator;
32
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../OrgConfigResourceV1SaveDailyDigestTimePreference/index.ts"],"names":[],"mappings":"AAEA,aAAa;AACb,OAAO,EAAE,cAAc,EAAuG,eAAe,EAA8D,MAAM,iBAAiB,CAAC;AAoBnO,MAAM,8DAA8D,GAAG,CAAC,MAA4E,EAAsE,EAAE;IAC1N,OAAO,MAAM,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,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