itlab-internal-services 2.16.8 → 2.16.10

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 (233) hide show
  1. package/dist/classes/document/likeable-document.class.d.ts +2 -2
  2. package/dist/classes/document/likeable-document.class.js +6 -3
  3. package/dist/classes/document/viewable-document.class.d.ts +2 -2
  4. package/dist/classes/document/viewable-document.class.js +6 -3
  5. package/dist/classes/entity-map.class.d.ts +1 -1
  6. package/dist/classes/entity-map.class.js +2 -0
  7. package/dist/classes/fetch-options/base-options.class.d.ts +9 -0
  8. package/dist/classes/fetch-options/comments-options.class.d.ts +3 -0
  9. package/dist/classes/fetch-options/comments-options.class.js +1 -1
  10. package/dist/classes/fetch-options/content-options.class.d.ts +3 -0
  11. package/dist/classes/fetch-options/content-options.class.js +1 -1
  12. package/dist/classes/fetch-options/drafted-options.class.d.ts +5 -1
  13. package/dist/classes/fetch-options/drafted-options.class.js +3 -2
  14. package/dist/classes/fetch-options/liked-by-options.class.d.ts +4 -0
  15. package/dist/classes/fetch-options/liked-by-options.class.js +3 -2
  16. package/dist/classes/fetch-options/timestamps-options.class.d.ts +4 -1
  17. package/dist/classes/fetch-options/timestamps-options.class.js +1 -1
  18. package/dist/classes/fetch-options/viewed-by-options.class.d.ts +7 -2
  19. package/dist/classes/fetch-options/viewed-by-options.class.js +15 -4
  20. package/dist/hub-resource.enum.d.ts +10 -10
  21. package/dist/hub-resource.enum.js +16 -16
  22. package/dist/modules/comments/comments.controller.js +1 -1
  23. package/dist/modules/comments/comments.service.d.ts +5 -5
  24. package/dist/modules/comments/comments.service.js +21 -13
  25. package/dist/modules/like/like.service.d.ts +1 -1
  26. package/dist/modules/like/like.service.js +7 -7
  27. package/dist/modules/merge/merge-module-options.interface.d.ts +2 -2
  28. package/dist/modules/merge/merge.controller.d.ts +3 -3
  29. package/dist/modules/merge/merge.service.interface.d.ts +1 -1
  30. package/dist/modules/services/base-http.service.d.ts +44 -40
  31. package/dist/modules/services/base-http.service.js +72 -47
  32. package/dist/modules/services/base-urls.d.ts +22 -19
  33. package/dist/modules/services/base-urls.js +38 -19
  34. package/dist/modules/services/providers/accounts/accounts.service.d.ts +99 -0
  35. package/dist/modules/services/providers/accounts/accounts.service.js +154 -0
  36. package/dist/modules/services/providers/accounts/fetch-account-options.dto.v1.type.d.ts +29 -0
  37. package/dist/modules/services/providers/accounts/index.d.ts +2 -0
  38. package/dist/modules/services/providers/accounts/index.js +18 -0
  39. package/dist/modules/services/providers/books/books.service.d.ts +49 -0
  40. package/dist/modules/services/providers/books/books.service.js +79 -0
  41. package/dist/modules/services/providers/books/fetch-book-options.dto.v1.type.d.ts +27 -0
  42. package/dist/modules/services/providers/books/index.d.ts +2 -0
  43. package/dist/modules/services/providers/{notification → books}/index.js +2 -2
  44. package/dist/modules/services/providers/changelog/changelog.service.d.ts +62 -0
  45. package/dist/modules/services/providers/changelog/changelog.service.js +79 -0
  46. package/dist/modules/services/providers/changelog/fetch-change-options.dto.v1.type.d.ts +15 -0
  47. package/dist/modules/services/providers/changelog/index.d.ts +2 -0
  48. package/dist/modules/services/providers/changelog/index.js +18 -0
  49. package/dist/modules/services/providers/conflicts/conflicts.service.d.ts +59 -0
  50. package/dist/modules/services/providers/conflicts/conflicts.service.js +79 -0
  51. package/dist/modules/services/providers/conflicts/fetch-conflict-options.dto.v1.type.d.ts +18 -0
  52. package/dist/modules/services/providers/conflicts/index.d.ts +2 -0
  53. package/dist/modules/services/providers/conflicts/index.js +18 -0
  54. package/dist/modules/services/providers/content/content-return-types.d.ts +3 -2
  55. package/dist/modules/services/providers/content/content-return-types.js +8 -2
  56. package/dist/modules/services/providers/content/content.service.d.ts +49 -7
  57. package/dist/modules/services/providers/content/content.service.js +61 -19
  58. package/dist/modules/services/providers/content/fetch-content-options.dto.v1.type.d.ts +15 -0
  59. package/dist/modules/services/providers/content/index.d.ts +1 -0
  60. package/dist/modules/services/providers/content/index.js +1 -0
  61. package/dist/modules/services/providers/demo-hive/demo-hive.service.d.ts +49 -0
  62. package/dist/modules/services/providers/demo-hive/demo-hive.service.js +79 -0
  63. package/dist/modules/services/providers/demo-hive/fetch-demo-options.dto.v1.type.d.ts +16 -0
  64. package/dist/modules/services/providers/demo-hive/index.d.ts +2 -0
  65. package/dist/modules/services/providers/demo-hive/index.js +18 -0
  66. package/dist/modules/services/providers/events/events.service.d.ts +49 -0
  67. package/dist/modules/services/providers/events/events.service.js +79 -0
  68. package/dist/modules/services/providers/events/fetch-event-options.dto.v1.type.d.ts +27 -0
  69. package/dist/modules/services/providers/events/index.d.ts +2 -0
  70. package/dist/modules/services/providers/events/index.js +18 -0
  71. package/dist/modules/services/providers/files/crop-image-options.dto.v1.type.d.ts +13 -0
  72. package/dist/modules/services/providers/files/fetch-file-options.dto.v1.type.d.ts +21 -0
  73. package/dist/modules/services/providers/files/fetch-folder-options.dto.v1.type.d.ts +15 -0
  74. package/dist/modules/services/providers/files/files.service.d.ts +106 -0
  75. package/dist/modules/services/providers/files/files.service.js +146 -0
  76. package/dist/modules/services/providers/files/index.d.ts +4 -0
  77. package/dist/modules/services/providers/files/index.js +20 -0
  78. package/dist/modules/services/providers/hackschool/fetch-course-options.dto.v1.type.d.ts +15 -0
  79. package/dist/modules/services/providers/hackschool/fetch-doc-options.dto.v1.type.d.ts +17 -0
  80. package/dist/modules/services/providers/hackschool/fetch-thread-options.dto.v1.type.d.ts +18 -0
  81. package/dist/modules/services/providers/hackschool/hackschool.service.d.ts +93 -0
  82. package/dist/modules/services/providers/hackschool/hackschool.service.js +135 -0
  83. package/dist/modules/services/providers/hackschool/index.d.ts +2 -0
  84. package/dist/modules/services/providers/hackschool/index.js +18 -0
  85. package/dist/modules/services/providers/ideas.service.js +1 -1
  86. package/dist/modules/services/providers/index.d.ts +15 -12
  87. package/dist/modules/services/providers/index.js +17 -12
  88. package/dist/modules/services/providers/lunch-roulette.service.js +1 -1
  89. package/dist/modules/services/providers/mail/dtos/{auth-login-token-mail.dto.d.ts → auth-login-token-mail.dto.v1.d.ts} +1 -1
  90. package/dist/modules/services/providers/mail/dtos/{auth-password-reset-mail.dto.d.ts → auth-password-reset-mail.dto.v1.d.ts} +1 -1
  91. package/dist/modules/services/providers/mail/dtos/{event-cancel-mail.dto.d.ts → event-cancel-mail.dto.v1.d.ts} +1 -1
  92. package/dist/modules/services/providers/mail/dtos/{event-invite-mail.dto.d.ts → event-invite-mail.dto.v1.d.ts} +1 -1
  93. package/dist/modules/services/providers/mail/dtos/{idea-status-updated-mail.dto.d.ts → idea-status-updated-mail.dto.v1.d.ts} +1 -1
  94. package/dist/modules/services/providers/mail/dtos/{idea-submitted-mail.dto.d.ts → idea-submitted-mail.dto.v1.d.ts} +1 -1
  95. package/dist/modules/services/providers/mail/dtos/idea-submitted-mail.dto.v1.js +2 -0
  96. package/dist/modules/services/providers/mail/dtos/index.d.ts +14 -14
  97. package/dist/modules/services/providers/mail/dtos/index.js +14 -14
  98. package/dist/modules/services/providers/mail/dtos/{lunch-roulette-cancel-mail.dto.d.ts → lunch-roulette-cancel-mail.dto.v1.d.ts} +1 -1
  99. package/dist/modules/services/providers/mail/dtos/lunch-roulette-cancel-mail.dto.v1.js +2 -0
  100. package/dist/modules/services/providers/mail/dtos/{lunch-roulette-matched-mail.dto.d.ts → lunch-roulette-matched-mail.dto.v1.d.ts} +1 -1
  101. package/dist/modules/services/providers/mail/dtos/lunch-roulette-matched-mail.dto.v1.js +2 -0
  102. package/dist/modules/services/providers/mail/dtos/{lunch-roulette-submitted-mail.dto.d.ts → lunch-roulette-submitted-mail.dto.v1.d.ts} +1 -1
  103. package/dist/modules/services/providers/mail/dtos/lunch-roulette-submitted-mail.dto.v1.js +2 -0
  104. package/dist/modules/services/providers/mail/dtos/{lunch-roulette-unmatched-mail.dto.d.ts → lunch-roulette-unmatched-mail.dto.v1.d.ts} +1 -1
  105. package/dist/modules/services/providers/mail/dtos/lunch-roulette-unmatched-mail.dto.v1.js +2 -0
  106. package/dist/modules/services/providers/mail/dtos/{newsletter-issue-mail.dto.d.ts → newsletter-issue-mail.dto.v1.d.ts} +1 -1
  107. package/dist/modules/services/providers/mail/dtos/newsletter-issue-mail.dto.v1.js +2 -0
  108. package/dist/modules/services/providers/mail/dtos/{newsletter-subscribed-mail.dto.d.ts → newsletter-subscribed-mail.dto.v1.d.ts} +1 -1
  109. package/dist/modules/services/providers/mail/dtos/newsletter-subscribed-mail.dto.v1.js +2 -0
  110. package/dist/modules/services/providers/mail/dtos/{newsletter-unsubscribed-mail.dto.d.ts → newsletter-unsubscribed-mail.dto.v1.d.ts} +1 -1
  111. package/dist/modules/services/providers/mail/dtos/newsletter-unsubscribed-mail.dto.v1.js +2 -0
  112. package/dist/modules/services/providers/mail/dtos/{notification-mail.dto.d.ts → notification-mail.dto.v1.d.ts} +1 -1
  113. package/dist/modules/services/providers/mail/dtos/notification-mail.dto.v1.js +2 -0
  114. package/dist/modules/services/providers/mail/mail-types.d.ts +17 -16
  115. package/dist/modules/services/providers/mail/mail-types.js +31 -14
  116. package/dist/modules/services/providers/mail/mail.service.d.ts +30 -31
  117. package/dist/modules/services/providers/mail/mail.service.js +49 -50
  118. package/dist/modules/services/providers/mail/models/mail-recipient.model.d.ts +2 -0
  119. package/dist/modules/services/providers/mail/models/mail-recipient.model.js +3 -0
  120. package/dist/modules/services/providers/newsletter/fetch-issue-options.dto.v1.type.d.ts +16 -0
  121. package/dist/modules/services/providers/newsletter/fetch-issue-options.dto.v1.type.js +2 -0
  122. package/dist/modules/services/providers/newsletter/index.d.ts +2 -0
  123. package/dist/modules/services/providers/newsletter/index.js +18 -0
  124. package/dist/modules/services/providers/newsletter/newsletter.service.d.ts +49 -0
  125. package/dist/modules/services/providers/newsletter/newsletter.service.js +79 -0
  126. package/dist/modules/services/providers/newsroom/fetch-news-options.dto.v1.type.d.ts +20 -0
  127. package/dist/modules/services/providers/newsroom/fetch-news-options.dto.v1.type.js +2 -0
  128. package/dist/modules/services/providers/newsroom/index.d.ts +2 -0
  129. package/dist/modules/services/providers/newsroom/index.js +18 -0
  130. package/dist/modules/services/providers/newsroom/newsroom.service.d.ts +49 -0
  131. package/dist/modules/services/providers/newsroom/newsroom.service.js +79 -0
  132. package/dist/modules/services/providers/notifications/dtos/index.d.ts +1 -0
  133. package/dist/modules/services/providers/{notification → notifications}/dtos/index.js +1 -1
  134. package/dist/modules/services/providers/{notification/dtos/schedule-notification.dto.d.ts → notifications/dtos/schedule-notification.dto.v1.d.ts} +2 -10
  135. package/dist/modules/services/providers/notifications/dtos/schedule-notification.dto.v1.js +2 -0
  136. package/dist/modules/services/providers/notifications/fetch-notification-options.dto.v1.type.d.ts +19 -0
  137. package/dist/modules/services/providers/notifications/fetch-notification-options.dto.v1.type.js +2 -0
  138. package/dist/modules/services/providers/notifications/index.d.ts +3 -0
  139. package/dist/modules/services/providers/notifications/index.js +19 -0
  140. package/dist/modules/services/providers/notifications/notifications.service-definition.d.ts +1 -0
  141. package/dist/modules/services/providers/notifications/notifications.service-definition.js +4 -0
  142. package/dist/modules/services/providers/{notification/notification.service.d.ts → notifications/notifications.service.d.ts} +41 -5
  143. package/dist/modules/services/providers/{notification/notification.service.js → notifications/notifications.service.js} +52 -26
  144. package/dist/modules/services/providers/pass/dtos/{create-guild-member-pass.dto.d.ts → create-guild-member-pass.dto.v1.d.ts} +2 -2
  145. package/dist/modules/services/providers/pass/dtos/create-guild-member-pass.dto.v1.js +2 -0
  146. package/dist/modules/services/providers/pass/dtos/{create-team-member-pass.dto.d.ts → create-team-member-pass.dto.v1.d.ts} +2 -2
  147. package/dist/modules/services/providers/pass/dtos/create-team-member-pass.dto.v1.js +2 -0
  148. package/dist/modules/services/providers/pass/dtos/index.d.ts +2 -2
  149. package/dist/modules/services/providers/pass/dtos/index.js +2 -2
  150. package/dist/modules/services/providers/pass/pass-types.d.ts +3 -3
  151. package/dist/modules/services/providers/pass/pass.service.d.ts +14 -14
  152. package/dist/modules/services/providers/pass/pass.service.js +28 -28
  153. package/dist/modules/services/providers/podcasts/fetch-episode-options.dto.v1.type.d.ts +19 -0
  154. package/dist/modules/services/providers/podcasts/fetch-episode-options.dto.v1.type.js +2 -0
  155. package/dist/modules/services/providers/podcasts/index.d.ts +2 -0
  156. package/dist/modules/services/providers/podcasts/index.js +18 -0
  157. package/dist/modules/services/providers/podcasts/podcasts.service.d.ts +49 -0
  158. package/dist/modules/services/providers/podcasts/podcasts.service.js +79 -0
  159. package/dist/modules/services/providers/quick-links/fetch-link-options.dto.v1.type.d.ts +14 -0
  160. package/dist/modules/services/providers/quick-links/fetch-link-options.dto.v1.type.js +2 -0
  161. package/dist/modules/services/providers/quick-links/index.d.ts +2 -0
  162. package/dist/modules/services/providers/quick-links/index.js +18 -0
  163. package/dist/modules/services/providers/quick-links/quick-links.service.d.ts +61 -0
  164. package/dist/modules/services/providers/quick-links/quick-links.service.js +79 -0
  165. package/dist/modules/services/providers/search/dtos/{index-search-document.dto.d.ts → index-document.dto.v1.d.ts} +2 -2
  166. package/dist/modules/services/providers/search/dtos/index-document.dto.v1.js +2 -0
  167. package/dist/modules/services/providers/search/dtos/index.d.ts +1 -1
  168. package/dist/modules/services/providers/search/dtos/index.js +1 -1
  169. package/dist/modules/services/providers/search/search.service.d.ts +6 -6
  170. package/dist/modules/services/providers/search/search.service.js +14 -17
  171. package/dist/modules/services/providers/team/fetch-member-options.dto.v1.type.d.ts +11 -0
  172. package/dist/modules/services/providers/team/fetch-member-options.dto.v1.type.js +2 -0
  173. package/dist/modules/services/providers/team/index.d.ts +2 -0
  174. package/dist/modules/services/providers/team/index.js +18 -0
  175. package/dist/modules/services/providers/team/team.service.d.ts +49 -0
  176. package/dist/modules/services/providers/team/team.service.js +79 -0
  177. package/dist/modules/services/providers/tech-radar/fetch-blip-options.dto.v1.type.d.ts +19 -0
  178. package/dist/modules/services/providers/tech-radar/fetch-blip-options.dto.v1.type.js +2 -0
  179. package/dist/modules/services/providers/tech-radar/fetch-edition-options.dto.v1.type copy.d.ts +15 -0
  180. package/dist/modules/services/providers/tech-radar/fetch-edition-options.dto.v1.type copy.js +2 -0
  181. package/dist/modules/services/providers/tech-radar/index.d.ts +3 -0
  182. package/dist/modules/services/providers/tech-radar/index.js +19 -0
  183. package/dist/modules/services/providers/tech-radar/tech-radar.service.d.ts +71 -0
  184. package/dist/modules/services/providers/tech-radar/tech-radar.service.js +107 -0
  185. package/dist/modules/services/services.module.js +6 -3
  186. package/dist/pipes/params/hub-id.pipe.js +6 -3
  187. package/dist/types/likeable.type.d.ts +2 -2
  188. package/dist/types/viewable.type.d.ts +2 -2
  189. package/package.json +1 -1
  190. package/dist/modules/services/providers/accounts.service.d.ts +0 -67
  191. package/dist/modules/services/providers/accounts.service.js +0 -131
  192. package/dist/modules/services/providers/books.service.d.ts +0 -29
  193. package/dist/modules/services/providers/books.service.js +0 -55
  194. package/dist/modules/services/providers/changelog.service.d.ts +0 -18
  195. package/dist/modules/services/providers/changelog.service.js +0 -43
  196. package/dist/modules/services/providers/demo-hive.service.d.ts +0 -29
  197. package/dist/modules/services/providers/demo-hive.service.js +0 -55
  198. package/dist/modules/services/providers/events.service.d.ts +0 -29
  199. package/dist/modules/services/providers/events.service.js +0 -55
  200. package/dist/modules/services/providers/hackschool.service.d.ts +0 -49
  201. package/dist/modules/services/providers/hackschool.service.js +0 -79
  202. package/dist/modules/services/providers/newletter.service.d.ts +0 -29
  203. package/dist/modules/services/providers/newletter.service.js +0 -55
  204. package/dist/modules/services/providers/newsroom.service.d.ts +0 -47
  205. package/dist/modules/services/providers/newsroom.service.js +0 -73
  206. package/dist/modules/services/providers/notification/dtos/index.d.ts +0 -1
  207. package/dist/modules/services/providers/notification/index.d.ts +0 -2
  208. package/dist/modules/services/providers/notification/notification.service-definition.d.ts +0 -1
  209. package/dist/modules/services/providers/notification/notification.service-definition.js +0 -4
  210. package/dist/modules/services/providers/podcasts.service.d.ts +0 -29
  211. package/dist/modules/services/providers/podcasts.service.js +0 -55
  212. package/dist/modules/services/providers/team.service.d.ts +0 -29
  213. package/dist/modules/services/providers/team.service.js +0 -55
  214. package/dist/modules/services/providers/tech-radar.service.d.ts +0 -39
  215. package/dist/modules/services/providers/tech-radar.service.js +0 -67
  216. /package/dist/modules/services/providers/{mail/dtos/auth-login-token-mail.dto.js → accounts/fetch-account-options.dto.v1.type.js} +0 -0
  217. /package/dist/modules/services/providers/{mail/dtos/auth-password-reset-mail.dto.js → books/fetch-book-options.dto.v1.type.js} +0 -0
  218. /package/dist/modules/services/providers/{mail/dtos/event-cancel-mail.dto.js → changelog/fetch-change-options.dto.v1.type.js} +0 -0
  219. /package/dist/modules/services/providers/{mail/dtos/event-invite-mail.dto.js → conflicts/fetch-conflict-options.dto.v1.type.js} +0 -0
  220. /package/dist/modules/services/providers/{mail/dtos/idea-status-updated-mail.dto.js → content/fetch-content-options.dto.v1.type.js} +0 -0
  221. /package/dist/modules/services/providers/{mail/dtos/idea-submitted-mail.dto.js → demo-hive/fetch-demo-options.dto.v1.type.js} +0 -0
  222. /package/dist/modules/services/providers/{mail/dtos/lunch-roulette-cancel-mail.dto.js → events/fetch-event-options.dto.v1.type.js} +0 -0
  223. /package/dist/modules/services/providers/{mail/dtos/lunch-roulette-matched-mail.dto.js → files/crop-image-options.dto.v1.type.js} +0 -0
  224. /package/dist/modules/services/providers/{mail/dtos/lunch-roulette-submitted-mail.dto.js → files/fetch-file-options.dto.v1.type.js} +0 -0
  225. /package/dist/modules/services/providers/{mail/dtos/lunch-roulette-unmatched-mail.dto.js → files/fetch-folder-options.dto.v1.type.js} +0 -0
  226. /package/dist/modules/services/providers/{mail/dtos/newsletter-issue-mail.dto.js → hackschool/fetch-course-options.dto.v1.type.js} +0 -0
  227. /package/dist/modules/services/providers/{mail/dtos/newsletter-subscribed-mail.dto.js → hackschool/fetch-doc-options.dto.v1.type.js} +0 -0
  228. /package/dist/modules/services/providers/{mail/dtos/newsletter-unsubscribed-mail.dto.js → hackschool/fetch-thread-options.dto.v1.type.js} +0 -0
  229. /package/dist/modules/services/providers/mail/dtos/{notification-mail.dto.js → auth-login-token-mail.dto.v1.js} +0 -0
  230. /package/dist/modules/services/providers/{notification/dtos/schedule-notification.dto.js → mail/dtos/auth-password-reset-mail.dto.v1.js} +0 -0
  231. /package/dist/modules/services/providers/{pass/dtos/create-guild-member-pass.dto.js → mail/dtos/event-cancel-mail.dto.v1.js} +0 -0
  232. /package/dist/modules/services/providers/{pass/dtos/create-team-member-pass.dto.js → mail/dtos/event-invite-mail.dto.v1.js} +0 -0
  233. /package/dist/modules/services/providers/{search/dtos/index-search-document.dto.js → mail/dtos/idea-status-updated-mail.dto.v1.js} +0 -0
@@ -1,29 +0,0 @@
1
- import { ConfigService } from '@nestjs/config';
2
- import { LabNewsletter } from 'itlab-functions';
3
- import { AuthenticationModuleOptions } from '../../authentication';
4
- import { BaseHttpService } from '../base-http.service';
5
- /**
6
- * NewsletterService
7
- *
8
- * Service client for interacting with the Newsletter domain.
9
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
10
- */
11
- export declare class NewsletterService extends BaseHttpService {
12
- /**
13
- * Constructs a Newsletter service client.
14
- *
15
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
16
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
17
- */
18
- constructor(authenticationOptions: AuthenticationModuleOptions, configService: ConfigService);
19
- /**
20
- * Retrieves a single issue entry by its MongoDB identifier.
21
- *
22
- * If the downstream call fails or the resource does not exist, the method
23
- * will log the failure and return `undefined`.
24
- *
25
- * @param {string} issueId - Unique MongoDB identifier of the issue item.
26
- * @returns {Promise<LabNewsletter | undefined>} Resolves to the issue object if found, otherwise `undefined`.
27
- */
28
- fetchIssueById(issueId: string): Promise<LabNewsletter | undefined>;
29
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.NewsletterService = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const config_1 = require("@nestjs/config");
18
- const authentication_1 = require("../../authentication");
19
- const base_http_service_1 = require("../base-http.service");
20
- const base_urls_1 = require("../base-urls");
21
- /**
22
- * NewsletterService
23
- *
24
- * Service client for interacting with the Newsletter domain.
25
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
26
- */
27
- let NewsletterService = class NewsletterService extends base_http_service_1.BaseHttpService {
28
- /**
29
- * Constructs a Newsletter service client.
30
- *
31
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
32
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
33
- */
34
- constructor(authenticationOptions, configService) {
35
- super('Newsletter', base_urls_1.BaseUrls.NewsletterService, authenticationOptions, configService);
36
- }
37
- /**
38
- * Retrieves a single issue entry by its MongoDB identifier.
39
- *
40
- * If the downstream call fails or the resource does not exist, the method
41
- * will log the failure and return `undefined`.
42
- *
43
- * @param {string} issueId - Unique MongoDB identifier of the issue item.
44
- * @returns {Promise<LabNewsletter | undefined>} Resolves to the issue object if found, otherwise `undefined`.
45
- */
46
- async fetchIssueById(issueId) {
47
- return this.fetchResource(`internal/issue/${issueId}`);
48
- }
49
- };
50
- exports.NewsletterService = NewsletterService;
51
- exports.NewsletterService = NewsletterService = __decorate([
52
- (0, common_1.Injectable)(),
53
- __param(0, (0, authentication_1.InjectAuthenticationOptions)()),
54
- __metadata("design:paramtypes", [Object, config_1.ConfigService])
55
- ], NewsletterService);
@@ -1,47 +0,0 @@
1
- import { ConfigService } from '@nestjs/config';
2
- import { LabNews } from 'itlab-functions';
3
- import { AuthenticationModuleOptions } from '../../authentication';
4
- import { BaseHttpService } from '../base-http.service';
5
- type FetchNewsOptions = {
6
- includeDrafts?: boolean;
7
- includeContent?: boolean;
8
- includeComments?: boolean;
9
- includeAuthors?: boolean;
10
- };
11
- /**
12
- * NewsroomService
13
- *
14
- * Service client for interacting with the Newsroom domain.
15
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
16
- */
17
- export declare class NewsroomService extends BaseHttpService {
18
- /**
19
- * NewsroomService
20
- *
21
- * Service client for interacting with the Newsroom domain.
22
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
23
- */
24
- constructor(authenticationOptions: AuthenticationModuleOptions, configService: ConfigService);
25
- /**
26
- * Retrieves a single news entry by its MongoDB identifier.
27
- *
28
- * If the downstream call fails or the resource does not exist, the method
29
- * will log the failure and return `undefined`.
30
- *
31
- * @param {string} newsId - Unique MongoDB identifier of the news item.
32
- * @param options - Optional flags controlling retrieval behavior.
33
- * @returns {Promise<LabNews | undefined>} Resolves to the news object if found, otherwise `undefined`.
34
- */
35
- fetchNewsById(newsId: string, options?: FetchNewsOptions): Promise<LabNews | undefined>;
36
- /**
37
- * Retrieves a collection of news entries by their MongoDB identifiers.
38
- *
39
- * If the downstream call fails, an empty array is returned.
40
- *
41
- * @param {string[]} newsIds - Array of MongoDB identifiers for the news items.
42
- * @param options - Optional flags controlling retrieval behavior.
43
- * @returns {Promise<LabNews[]>} Resolves to an array of news objects (empty if none found).
44
- */
45
- getNewsCollection(newsIds: string[], options?: FetchNewsOptions): Promise<LabNews[]>;
46
- }
47
- export {};
@@ -1,73 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.NewsroomService = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const config_1 = require("@nestjs/config");
18
- const class_validator_1 = require("class-validator");
19
- const authentication_1 = require("../../authentication");
20
- const base_http_service_1 = require("../base-http.service");
21
- const base_urls_1 = require("../base-urls");
22
- /**
23
- * NewsroomService
24
- *
25
- * Service client for interacting with the Newsroom domain.
26
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
27
- */
28
- let NewsroomService = class NewsroomService extends base_http_service_1.BaseHttpService {
29
- /**
30
- * NewsroomService
31
- *
32
- * Service client for interacting with the Newsroom domain.
33
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
34
- */
35
- constructor(authenticationOptions, configService) {
36
- super('Newsroom', base_urls_1.BaseUrls.NewsroomService, authenticationOptions, configService);
37
- }
38
- /**
39
- * Retrieves a single news entry by its MongoDB identifier.
40
- *
41
- * If the downstream call fails or the resource does not exist, the method
42
- * will log the failure and return `undefined`.
43
- *
44
- * @param {string} newsId - Unique MongoDB identifier of the news item.
45
- * @param options - Optional flags controlling retrieval behavior.
46
- * @returns {Promise<LabNews | undefined>} Resolves to the news object if found, otherwise `undefined`.
47
- */
48
- async fetchNewsById(newsId, options = {}) {
49
- if (!(0, class_validator_1.isMongoId)(newsId))
50
- return undefined;
51
- return this.fetchResource(`internal/news/${newsId}`, { params: { options } });
52
- }
53
- /**
54
- * Retrieves a collection of news entries by their MongoDB identifiers.
55
- *
56
- * If the downstream call fails, an empty array is returned.
57
- *
58
- * @param {string[]} newsIds - Array of MongoDB identifiers for the news items.
59
- * @param options - Optional flags controlling retrieval behavior.
60
- * @returns {Promise<LabNews[]>} Resolves to an array of news objects (empty if none found).
61
- */
62
- async getNewsCollection(newsIds, options = {}) {
63
- if (newsIds.length === 0)
64
- return [];
65
- return this.fetchResourceCollection(`internal/news`, { params: Object.assign(Object.assign({}, options), { ids: newsIds }) });
66
- }
67
- };
68
- exports.NewsroomService = NewsroomService;
69
- exports.NewsroomService = NewsroomService = __decorate([
70
- (0, common_1.Injectable)(),
71
- __param(0, (0, authentication_1.InjectAuthenticationOptions)()),
72
- __metadata("design:paramtypes", [Object, config_1.ConfigService])
73
- ], NewsroomService);
@@ -1 +0,0 @@
1
- export * from './schedule-notification.dto';
@@ -1,2 +0,0 @@
1
- export * from './dtos';
2
- export * from './notification.service';
@@ -1 +0,0 @@
1
- export declare const FEATURE_NOTIFICATION_SERVICE_TOKEN: unique symbol;
@@ -1,4 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FEATURE_NOTIFICATION_SERVICE_TOKEN = void 0;
4
- exports.FEATURE_NOTIFICATION_SERVICE_TOKEN = Symbol('FEATURE_NOTIFICATION_SERVICE_TOKEN');
@@ -1,29 +0,0 @@
1
- import { ConfigService } from '@nestjs/config';
2
- import { LabPodcast } from 'itlab-functions';
3
- import { AuthenticationModuleOptions } from '../../authentication';
4
- import { BaseHttpService } from '../base-http.service';
5
- /**
6
- * PodcastsService
7
- *
8
- * Service client for interacting with the Podcasts domain.
9
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
10
- */
11
- export declare class PodcastsService extends BaseHttpService {
12
- /**
13
- * Constructs a Podcasts service client.
14
- *
15
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
16
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
17
- */
18
- constructor(authenticationOptions: AuthenticationModuleOptions, configService: ConfigService);
19
- /**
20
- * Retrieves a single podcast entry by its MongoDB identifier.
21
- *
22
- * If the downstream call fails or the resource does not exist, the method
23
- * will log the failure and return `undefined`.
24
- *
25
- * @param {string} podcastId - Unique MongoDB identifier of the podcast item.
26
- * @returns {Promise<LabPodcast | undefined>} Resolves to the podcast object if found, otherwise `undefined`.
27
- */
28
- fetchPodcastById(podcastId: string): Promise<LabPodcast | undefined>;
29
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.PodcastsService = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const config_1 = require("@nestjs/config");
18
- const authentication_1 = require("../../authentication");
19
- const base_http_service_1 = require("../base-http.service");
20
- const base_urls_1 = require("../base-urls");
21
- /**
22
- * PodcastsService
23
- *
24
- * Service client for interacting with the Podcasts domain.
25
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
26
- */
27
- let PodcastsService = class PodcastsService extends base_http_service_1.BaseHttpService {
28
- /**
29
- * Constructs a Podcasts service client.
30
- *
31
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
32
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
33
- */
34
- constructor(authenticationOptions, configService) {
35
- super('Podcasts', base_urls_1.BaseUrls.PodcastsService, authenticationOptions, configService);
36
- }
37
- /**
38
- * Retrieves a single podcast entry by its MongoDB identifier.
39
- *
40
- * If the downstream call fails or the resource does not exist, the method
41
- * will log the failure and return `undefined`.
42
- *
43
- * @param {string} podcastId - Unique MongoDB identifier of the podcast item.
44
- * @returns {Promise<LabPodcast | undefined>} Resolves to the podcast object if found, otherwise `undefined`.
45
- */
46
- async fetchPodcastById(podcastId) {
47
- return this.fetchResource(`internal/podcast/${podcastId}`);
48
- }
49
- };
50
- exports.PodcastsService = PodcastsService;
51
- exports.PodcastsService = PodcastsService = __decorate([
52
- (0, common_1.Injectable)(),
53
- __param(0, (0, authentication_1.InjectAuthenticationOptions)()),
54
- __metadata("design:paramtypes", [Object, config_1.ConfigService])
55
- ], PodcastsService);
@@ -1,29 +0,0 @@
1
- import { ConfigService } from '@nestjs/config';
2
- import { LabTeamMember } from 'itlab-functions';
3
- import { AuthenticationModuleOptions } from '../../authentication';
4
- import { BaseHttpService } from '../base-http.service';
5
- /**
6
- * TeamService
7
- *
8
- * Service client for interacting with the Team domain.
9
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
10
- */
11
- export declare class TeamService extends BaseHttpService {
12
- /**
13
- * Constructs a Team service client.
14
- *
15
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
16
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
17
- */
18
- constructor(authenticationOptions: AuthenticationModuleOptions, configService: ConfigService);
19
- /**
20
- * Retrieves a single member entry by its MongoDB identifier.
21
- *
22
- * If the downstream call fails or the resource does not exist, the method
23
- * will log the failure and return `undefined`.
24
- *
25
- * @param {string} memberId - Unique MongoDB identifier of the member item.
26
- * @returns {Promise<LabTeamMember | undefined>} Resolves to the member object if found, otherwise `undefined`.
27
- */
28
- fetchMemberById(memberId: string): Promise<LabTeamMember | undefined>;
29
- }
@@ -1,55 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.TeamService = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const config_1 = require("@nestjs/config");
18
- const authentication_1 = require("../../authentication");
19
- const base_http_service_1 = require("../base-http.service");
20
- const base_urls_1 = require("../base-urls");
21
- /**
22
- * TeamService
23
- *
24
- * Service client for interacting with the Team domain.
25
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
26
- */
27
- let TeamService = class TeamService extends base_http_service_1.BaseHttpService {
28
- /**
29
- * Constructs a Team service client.
30
- *
31
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
32
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
33
- */
34
- constructor(authenticationOptions, configService) {
35
- super('Team', base_urls_1.BaseUrls.TeamService, authenticationOptions, configService);
36
- }
37
- /**
38
- * Retrieves a single member entry by its MongoDB identifier.
39
- *
40
- * If the downstream call fails or the resource does not exist, the method
41
- * will log the failure and return `undefined`.
42
- *
43
- * @param {string} memberId - Unique MongoDB identifier of the member item.
44
- * @returns {Promise<LabTeamMember | undefined>} Resolves to the member object if found, otherwise `undefined`.
45
- */
46
- async fetchMemberById(memberId) {
47
- return this.fetchResource(`internal/member/${memberId}`);
48
- }
49
- };
50
- exports.TeamService = TeamService;
51
- exports.TeamService = TeamService = __decorate([
52
- (0, common_1.Injectable)(),
53
- __param(0, (0, authentication_1.InjectAuthenticationOptions)()),
54
- __metadata("design:paramtypes", [Object, config_1.ConfigService])
55
- ], TeamService);
@@ -1,39 +0,0 @@
1
- import { ConfigService } from '@nestjs/config';
2
- import { LabTechRadarBlip, LabTechRadarEdition } from 'itlab-functions';
3
- import { AuthenticationModuleOptions } from '../../authentication';
4
- import { BaseHttpService } from '../base-http.service';
5
- /**
6
- * TechRadarService
7
- *
8
- * Service client for interacting with the TechRadar domain.
9
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
10
- */
11
- export declare class TechRadarService extends BaseHttpService {
12
- /**
13
- * Constructs a TechRadar service client.
14
- *
15
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
16
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
17
- */
18
- constructor(authenticationOptions: AuthenticationModuleOptions, configService: ConfigService);
19
- /**
20
- * Retrieves a single blip entry by its MongoDB identifier.
21
- *
22
- * If the downstream call fails or the resource does not exist, the method
23
- * will log the failure and return `undefined`.
24
- *
25
- * @param {string} blipId - Unique MongoDB identifier of the blip item.
26
- * @returns {Promise<LabTechRadarBlip | undefined>} Resolves to the blip object if found, otherwise `undefined`.
27
- */
28
- fetchBlipById(blipId: string): Promise<LabTechRadarBlip | undefined>;
29
- /**
30
- * Retrieves a single edition entry by its MongoDB identifier.
31
- *
32
- * If the downstream call fails or the resource does not exist, the method
33
- * will log the failure and return `undefined`.
34
- *
35
- * @param {string} editionId - Unique MongoDB identifier of the edition item.
36
- * @returns {Promise<LabTechRadarEdition | undefined>} Resolves to the edition object if found, otherwise `undefined`.
37
- */
38
- fetchEditionById(editionId: string): Promise<LabTechRadarEdition | undefined>;
39
- }
@@ -1,67 +0,0 @@
1
- "use strict";
2
- var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
- return c > 3 && r && Object.defineProperty(target, key, r), r;
7
- };
8
- var __metadata = (this && this.__metadata) || function (k, v) {
9
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
- };
11
- var __param = (this && this.__param) || function (paramIndex, decorator) {
12
- return function (target, key) { decorator(target, key, paramIndex); }
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.TechRadarService = void 0;
16
- const common_1 = require("@nestjs/common");
17
- const config_1 = require("@nestjs/config");
18
- const authentication_1 = require("../../authentication");
19
- const base_http_service_1 = require("../base-http.service");
20
- const base_urls_1 = require("../base-urls");
21
- /**
22
- * TechRadarService
23
- *
24
- * Service client for interacting with the TechRadar domain.
25
- * Inherits logging, authentication, and environment-sensitive URL resolution from `BaseHttpService`.
26
- */
27
- let TechRadarService = class TechRadarService extends base_http_service_1.BaseHttpService {
28
- /**
29
- * Constructs a TechRadar service client.
30
- *
31
- * @param {AuthenticationModuleOptions} authenticationOptions - Authentication options (provided by DI).
32
- * @param {ConfigService} configService - Global NestJS config service for environment detection.
33
- */
34
- constructor(authenticationOptions, configService) {
35
- super('TechRadar', base_urls_1.BaseUrls.TechRadarService, authenticationOptions, configService);
36
- }
37
- /**
38
- * Retrieves a single blip entry by its MongoDB identifier.
39
- *
40
- * If the downstream call fails or the resource does not exist, the method
41
- * will log the failure and return `undefined`.
42
- *
43
- * @param {string} blipId - Unique MongoDB identifier of the blip item.
44
- * @returns {Promise<LabTechRadarBlip | undefined>} Resolves to the blip object if found, otherwise `undefined`.
45
- */
46
- async fetchBlipById(blipId) {
47
- return this.fetchResource(`internal/blip/${blipId}`);
48
- }
49
- /**
50
- * Retrieves a single edition entry by its MongoDB identifier.
51
- *
52
- * If the downstream call fails or the resource does not exist, the method
53
- * will log the failure and return `undefined`.
54
- *
55
- * @param {string} editionId - Unique MongoDB identifier of the edition item.
56
- * @returns {Promise<LabTechRadarEdition | undefined>} Resolves to the edition object if found, otherwise `undefined`.
57
- */
58
- async fetchEditionById(editionId) {
59
- return this.fetchResource(`internal/edition/${editionId}`);
60
- }
61
- };
62
- exports.TechRadarService = TechRadarService;
63
- exports.TechRadarService = TechRadarService = __decorate([
64
- (0, common_1.Injectable)(),
65
- __param(0, (0, authentication_1.InjectAuthenticationOptions)()),
66
- __metadata("design:paramtypes", [Object, config_1.ConfigService])
67
- ], TechRadarService);