@newsletterstudio/umbraco 14.0.0-rc1

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 (319) hide show
  1. package/dist/backend-api/core/ApiError.d.ts +10 -0
  2. package/dist/backend-api/core/ApiRequestOptions.d.ts +14 -0
  3. package/dist/backend-api/core/ApiResult.d.ts +7 -0
  4. package/dist/backend-api/core/CancelablePromise.d.ts +26 -0
  5. package/dist/backend-api/core/OpenAPI.d.ts +27 -0
  6. package/dist/backend-api/core/request.d.ts +29 -0
  7. package/dist/backend-api/enums.gen.d.ts +7 -0
  8. package/dist/backend-api/index.d.ts +5 -0
  9. package/dist/backend-api/schemas.gen.d.ts +3730 -0
  10. package/dist/backend-api/services.gen.d.ts +577 -0
  11. package/dist/backend-api/types.gen.d.ts +2633 -0
  12. package/dist/constants.d.ts +1 -0
  13. package/dist/core/actions/components/ns-action-dropdown.element.d.ts +30 -0
  14. package/dist/core/avatars/ns-avatar.context.d.ts +14 -0
  15. package/dist/core/components/drag/index.d.ts +4 -0
  16. package/dist/core/components/drag/lit-sortable.d.ts +29 -0
  17. package/dist/core/components/drag/ns-drag-container-controller.d.ts +11 -0
  18. package/dist/core/components/drag/ns-drag-container.element.d.ts +31 -0
  19. package/dist/core/components/drag/ns-drag-item.element.d.ts +17 -0
  20. package/dist/core/components/index.d.ts +50 -0
  21. package/dist/core/components/ns-align/ns-align.element.d.ts +28 -0
  22. package/dist/core/components/ns-auto-scroll/auto-scroller.d.ts +2 -0
  23. package/dist/core/components/ns-auto-scroll/ns-auto-scroll.element.d.ts +19 -0
  24. package/dist/core/components/ns-avatar/ns-avatar.element.d.ts +39 -0
  25. package/dist/core/components/ns-box/ns-box.element.d.ts +23 -0
  26. package/dist/core/components/ns-campaign-sending-progress/ns-campaign-sending-progress.element.d.ts +35 -0
  27. package/dist/core/components/ns-chart-campaign-doughnut/ns-chart-campaign-doughnut.element.d.ts +25 -0
  28. package/dist/core/components/ns-chart-campaign-doughnut/stories/demo-ns-chart-campaign-doughnut.element.d.ts +25 -0
  29. package/dist/core/components/ns-chart-campaign-stats/ns-chart-campaign-stats.element.d.ts +39 -0
  30. package/dist/core/components/ns-chart-funnel/ns-chart-funnel.element.d.ts +19 -0
  31. package/dist/core/components/ns-chart-subscriber-growth/ns-chart-subscriber-growth.element.d.ts +26 -0
  32. package/dist/core/components/ns-checkbox/ns-checkbox.element.d.ts +43 -0
  33. package/dist/core/components/ns-checkbox-list/ns-checkbox-list.element.d.ts +37 -0
  34. package/dist/core/components/ns-color-picker/ns-color-picker.element.d.ts +79 -0
  35. package/dist/core/components/ns-color-picker/ns-color-picker.helpers.d.ts +1 -0
  36. package/dist/core/components/ns-create-form/ns-create-form.element.d.ts +28 -0
  37. package/dist/core/components/ns-create-form/stories/demo-ns-create-form.element.d.ts +19 -0
  38. package/dist/core/components/ns-css/index.d.ts +5 -0
  39. package/dist/core/components/ns-css/ns-alert-styles.d.ts +1 -0
  40. package/dist/core/components/ns-css/ns-button-group-styles.d.ts +1 -0
  41. package/dist/core/components/ns-css/ns-button-styles.d.ts +2 -0
  42. package/dist/core/components/ns-css/ns-form-styles.d.ts +1 -0
  43. package/dist/core/components/ns-css/ns-select-style.d.ts +1 -0
  44. package/dist/core/components/ns-css/ns-transactional-indicator-styles.d.ts +1 -0
  45. package/dist/core/components/ns-css/ns-variables.d.ts +5 -0
  46. package/dist/core/components/ns-days-picker/ns-days-picker.element.d.ts +23 -0
  47. package/dist/core/components/ns-email-address-collection/ns-email-address-collection.element.d.ts +35 -0
  48. package/dist/core/components/ns-email-campaign-send/ns-email-campaign-send.element.d.ts +30 -0
  49. package/dist/core/components/ns-email-editor/actions/ns-email-editor-action-icon.element.d.ts +24 -0
  50. package/dist/core/components/ns-email-editor/controls/create-control-editor-element.d.ts +29 -0
  51. package/dist/core/components/ns-email-editor/controls/ns-email-editor-control-display-ui.element.d.ts +28 -0
  52. package/dist/core/components/ns-email-editor/index.d.ts +1 -0
  53. package/dist/core/components/ns-email-editor/ns-email-editor-add-row.element.d.ts +27 -0
  54. package/dist/core/components/ns-email-editor/ns-email-editor-columns.element.d.ts +33 -0
  55. package/dist/core/components/ns-email-editor/ns-email-editor-controls.element.d.ts +32 -0
  56. package/dist/core/components/ns-email-editor/ns-email-editor-rows.element.d.ts +31 -0
  57. package/dist/core/components/ns-email-editor/ns-email-editor.controller.d.ts +8 -0
  58. package/dist/core/components/ns-email-editor/ns-email-editor.element.d.ts +32 -0
  59. package/dist/core/components/ns-email-editor/readme-json-example.json +859 -0
  60. package/dist/core/components/ns-email-editor/sidebar/insert/ns-email-editor-insert-control.element.d.ts +19 -0
  61. package/dist/core/components/ns-email-editor/sidebar/ns-email-editor-control-edit-ui.element.d.ts +30 -0
  62. package/dist/core/components/ns-email-editor/sidebar/ns-email-editor-sidebar.element.d.ts +29 -0
  63. package/dist/core/components/ns-email-editor/sidebar/row/ns-email-editor-row-settings.element.d.ts +23 -0
  64. package/dist/core/components/ns-email-editor/sidebar/settings/ns-email-editor-email-settings.element.d.ts +21 -0
  65. package/dist/core/components/ns-email-editor/stories/demo-ns-email-editor.__stories__.d.ts +0 -0
  66. package/dist/core/components/ns-email-editor/stories/demo-ns-email-editor.element.d.ts +1 -0
  67. package/dist/core/components/ns-email-list/ns-email-list-item.element.d.ts +30 -0
  68. package/dist/core/components/ns-email-list/ns-email-list.element.d.ts +62 -0
  69. package/dist/core/components/ns-email-list/stories/demo-ns-email-list.element.d.ts +13 -0
  70. package/dist/core/components/ns-email-modal-layout/ns-email-modal-layout.element.d.ts +32 -0
  71. package/dist/core/components/ns-email-modal-layout/stories/demo-ns-email-modal-layout.element.d.ts +24 -0
  72. package/dist/core/components/ns-email-preview/ns-email-preview.element.d.ts +33 -0
  73. package/dist/core/components/ns-error-box/ns-error-box.element.d.ts +23 -0
  74. package/dist/core/components/ns-expandable/ns-expandable.element.d.ts +27 -0
  75. package/dist/core/components/ns-expander/ns-expander.element.d.ts +19 -0
  76. package/dist/core/components/ns-filter-dropdown/ns-filter-dropdown.element.d.ts +34 -0
  77. package/dist/core/components/ns-filter-input/ns-filter-input.element.d.ts +21 -0
  78. package/dist/core/components/ns-font-picker/ns-font-picker.element.d.ts +33 -0
  79. package/dist/core/components/ns-font-size-picker/ns-font-size-picker.element.d.ts +30 -0
  80. package/dist/core/components/ns-form-server-validation/ns-form-server-validation.element.d.ts +0 -0
  81. package/dist/core/components/ns-icons/index.d.ts +10 -0
  82. package/dist/core/components/ns-icons/ns-icon-align-center.d.ts +1 -0
  83. package/dist/core/components/ns-icons/ns-icon-align-left.d.ts +1 -0
  84. package/dist/core/components/ns-icons/ns-icon-align-right.d.ts +1 -0
  85. package/dist/core/components/ns-icons/ns-icon-arrow-down.d.ts +1 -0
  86. package/dist/core/components/ns-icons/ns-icon-arrow-up.d.ts +1 -0
  87. package/dist/core/components/ns-icons/ns-icon-back.d.ts +1 -0
  88. package/dist/core/components/ns-icons/ns-icon-check.d.ts +1 -0
  89. package/dist/core/components/ns-icons/ns-icon-color-picker.d.ts +1 -0
  90. package/dist/core/components/ns-icons/ns-icon-next.d.ts +1 -0
  91. package/dist/core/components/ns-icons/ns-icon-padding.d.ts +1 -0
  92. package/dist/core/components/ns-iframe/ns-iframe.element.d.ts +22 -0
  93. package/dist/core/components/ns-json-debug/ns-json-debug.element.d.ts +24 -0
  94. package/dist/core/components/ns-license-tag/ns-license-tag.element.d.ts +25 -0
  95. package/dist/core/components/ns-link-picker/ns-link-picker.element.d.ts +45 -0
  96. package/dist/core/components/ns-mailing-list-picker/ns-mailing-list-picker.element.d.ts +34 -0
  97. package/dist/core/components/ns-numeric-input/ns-numeric-input.element.d.ts +54 -0
  98. package/dist/core/components/ns-padding-editor/ns-padding-editor.element.d.ts +74 -0
  99. package/dist/core/components/ns-property/ns-property-group.element.d.ts +35 -0
  100. package/dist/core/components/ns-property/ns-property.element.d.ts +37 -0
  101. package/dist/core/components/ns-property/ns-property.models.d.ts +1 -0
  102. package/dist/core/components/ns-recipient-list-picker/ns-recipient-list-picker.element.d.ts +24 -0
  103. package/dist/core/components/ns-select/ns-select.element.d.ts +28 -0
  104. package/dist/core/components/ns-sending-progress/ns-sending-progress.element.d.ts +18 -0
  105. package/dist/core/components/ns-size/ns-size.element.d.ts +28 -0
  106. package/dist/core/components/ns-stats-box/ns-stats-box.element.d.ts +19 -0
  107. package/dist/core/components/ns-stats-bullet/ns-stats-bullet.element.d.ts +16 -0
  108. package/dist/core/components/ns-timeline/ns-timeline-date.element.d.ts +14 -0
  109. package/dist/core/components/ns-timeline/ns-timeline-event.element.d.ts +18 -0
  110. package/dist/core/components/ns-timeline/ns-timeline-icon.element.d.ts +20 -0
  111. package/dist/core/components/ns-timeline/ns-timeline.element.d.ts +14 -0
  112. package/dist/core/components/ns-transactional-email-picker/ns-transactional-email-picker.element.d.ts +34 -0
  113. package/dist/core/components/ns-tree-menu/ns-tree-menu.element.d.ts +28 -0
  114. package/dist/core/components/ns-umb-demo/ns-umb-demo.element.d.ts +23 -0
  115. package/dist/core/components/ns-validation-errors-debug/ns-validation-errors-debug.element.d.ts +20 -0
  116. package/dist/core/debugging/renderCounter.d.ts +16 -0
  117. package/dist/core/extensibility/actions/ns-actions.models.d.ts +33 -0
  118. package/dist/core/extensibility/email-editor/NsEmailEditorControlDisplayUiBase.d.ts +13 -0
  119. package/dist/core/extensibility/email-editor/NsEmailEditorControlEditUiBase.d.ts +4 -0
  120. package/dist/core/extensibility/email-editor/NsEmailEditorControlUiBase.d.ts +14 -0
  121. package/dist/core/extensibility/email-editor/email-control.models.d.ts +13 -0
  122. package/dist/core/extensibility/email-editor/email-editor-css.d.ts +1 -0
  123. package/dist/core/extensibility/email-editor/email-editor.models.d.ts +94 -0
  124. package/dist/core/extensibility/email-service/NsEmailServiceProviderUiBase.d.ts +23 -0
  125. package/dist/core/extensibility/email-service/email-service-provider.models.d.ts +9 -0
  126. package/dist/core/extensibility/index.d.ts +10 -0
  127. package/dist/core/extensibility/unique.model.d.ts +3 -0
  128. package/dist/core/form.helper.d.ts +7 -0
  129. package/dist/core/formatting.d.ts +19 -0
  130. package/dist/core/forms/index.d.ts +2 -0
  131. package/dist/core/forms/ns-form-context.d.ts +43 -0
  132. package/dist/core/forms/umb-fixes/bind-form-to-validation.lit-directive.d.ts +34 -0
  133. package/dist/core/forms/umb-fixes/bind-server-validation-to-form-control.controller.d.ts +19 -0
  134. package/dist/core/forms/umb-fixes/bind-to-validation.lit-directive.d.ts +34 -0
  135. package/dist/core/generic-events.d.ts +11 -0
  136. package/dist/core/index.d.ts +20 -0
  137. package/dist/core/links.d.ts +1 -0
  138. package/dist/core/localization.helper.d.ts +3 -0
  139. package/dist/core/manifest.d.ts +1 -0
  140. package/dist/core/merge-fields-helper.d.ts +2 -0
  141. package/dist/core/modal/modal-adjustments.d.ts +5 -0
  142. package/dist/core/modal/ns-item-picker-modal/manifest.d.ts +2 -0
  143. package/dist/core/modal/ns-item-picker-modal/ns-item-picker-modal.element.d.ts +25 -0
  144. package/dist/core/modal/ns-item-picker-modal/ns-item-picker-modal.token.d.ts +27 -0
  145. package/dist/core/notification.helper.d.ts +5 -0
  146. package/dist/core/ns-click-outside.controller.d.ts +20 -0
  147. package/dist/core/ns-lit.element.d.ts +14 -0
  148. package/dist/core/page.d.ts +3 -0
  149. package/dist/core/realtime/index.d.ts +1 -0
  150. package/dist/core/realtime/ns-realtime-context.d.ts +17 -0
  151. package/dist/core/refresh-events.d.ts +14 -0
  152. package/dist/core/scroll-to-top.d.ts +8 -0
  153. package/dist/core/string.helper.d.ts +9 -0
  154. package/dist/core/types.d.ts +17 -0
  155. package/dist/core/udi-helper.d.ts +7 -0
  156. package/dist/entry.d.ts +3 -0
  157. package/dist/external/lit/index.d.ts +13 -0
  158. package/dist/manifest.d.ts +2 -0
  159. package/dist/modules/administration/about/ns-administration-about.element.d.ts +17 -0
  160. package/dist/modules/administration/debug/ns-administration-debug.element.d.ts +27 -0
  161. package/dist/modules/administration/edit/components/ns-administration-edit-custom-fields.element.d.ts +31 -0
  162. package/dist/modules/administration/edit/components/ns-administration-edit-permissions.element.d.ts +38 -0
  163. package/dist/modules/administration/edit/email-services/ns-email-service-settings-pickup.element.d.ts +18 -0
  164. package/dist/modules/administration/edit/email-services/ns-email-service-settings-smtp.element.d.ts +35 -0
  165. package/dist/modules/administration/edit/manifest.d.ts +2 -0
  166. package/dist/modules/administration/edit/ns-administration-edit.element.d.ts +35 -0
  167. package/dist/modules/administration/entity.d.ts +1 -0
  168. package/dist/modules/administration/index.d.ts +2 -0
  169. package/dist/modules/administration/list/components/ns-administration-connect-license.element.d.ts +42 -0
  170. package/dist/modules/administration/list/ns-administration-list.element.d.ts +23 -0
  171. package/dist/modules/administration/manifest.d.ts +2 -0
  172. package/dist/modules/administration/new/ns-administration-new-workspace.element.d.ts +24 -0
  173. package/dist/modules/administration/ns-administration-workspace.context.d.ts +24 -0
  174. package/dist/modules/campaign/campaign-utilities.d.ts +17 -0
  175. package/dist/modules/campaign/common/email-list-item-updater.d.ts +3 -0
  176. package/dist/modules/campaign/content-section/index.d.ts +2 -0
  177. package/dist/modules/campaign/content-section/manifest.d.ts +2 -0
  178. package/dist/modules/campaign/content-section/modal/manifest.d.ts +1 -0
  179. package/dist/modules/campaign/content-section/modal/ns-campaign-content-section-modal.element.d.ts +24 -0
  180. package/dist/modules/campaign/content-section/modal/ns-document-campaign-modal-context.d.ts +39 -0
  181. package/dist/modules/campaign/content-section/modal/steps/ns-document-campaign-edit-information.element.d.ts +28 -0
  182. package/dist/modules/campaign/content-section/modal/steps/ns-document-campaign-edit-preview.element.d.ts +22 -0
  183. package/dist/modules/campaign/content-section/modal/steps/ns-document-campaign-edit-send.element.d.ts +27 -0
  184. package/dist/modules/campaign/content-section/ns-document-campaign-workspace-modal.token.d.ts +7 -0
  185. package/dist/modules/campaign/content-section/ns-document-campaign-workspace.context.d.ts +30 -0
  186. package/dist/modules/campaign/content-section/views/manifest.d.ts +9 -0
  187. package/dist/modules/campaign/content-section/views/ns-campaign-content-section-workspace-view.element.d.ts +35 -0
  188. package/dist/modules/campaign/email-section/index.d.ts +2 -0
  189. package/dist/modules/campaign/email-section/manifest.d.ts +1 -0
  190. package/dist/modules/campaign/email-section/modal/manifest.d.ts +1 -0
  191. package/dist/modules/campaign/email-section/modal/ns-editor-campaign-modal-context.d.ts +39 -0
  192. package/dist/modules/campaign/email-section/modal/ns-editor-campaign-modal.element.d.ts +22 -0
  193. package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-design.element.d.ts +22 -0
  194. package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-information.element.d.ts +32 -0
  195. package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-preview.element.d.ts +22 -0
  196. package/dist/modules/campaign/email-section/modal/steps/ns-editor-campaign-edit-send.element.d.ts +31 -0
  197. package/dist/modules/campaign/email-section/ns-campaign-workspace-modal-token.d.ts +9 -0
  198. package/dist/modules/campaign/email-section/ns-campaign-workspace.context.d.ts +24 -0
  199. package/dist/modules/campaign/email-section/report/ns-campaign-report-section.element.d.ts +23 -0
  200. package/dist/modules/campaign/email-section/views/ns-campaigns.element.d.ts +35 -0
  201. package/dist/modules/campaign/entity.d.ts +4 -0
  202. package/dist/modules/campaign/index.d.ts +5 -0
  203. package/dist/modules/campaign/manifest.d.ts +1 -0
  204. package/dist/modules/campaign/report/campaign-report-workspace-modal.token.d.ts +5 -0
  205. package/dist/modules/campaign/report/campaign-report-workspace.context.d.ts +25 -0
  206. package/dist/modules/campaign/report/index.d.ts +2 -0
  207. package/dist/modules/campaign/report/manifest.d.ts +2 -0
  208. package/dist/modules/campaign/report/ns-campaign-report-root.element.d.ts +25 -0
  209. package/dist/modules/campaign/report/overview/ns-campaign-report-overview.element.d.ts +20 -0
  210. package/dist/modules/campaign/report/recipients/ns-campaign-report-recipients.element.d.ts +24 -0
  211. package/dist/modules/campaign/report/recipients/timeline/manifest.d.ts +2 -0
  212. package/dist/modules/campaign/report/recipients/timeline/ns-campaign-report-recipient-timeline-modal.token.d.ts +8 -0
  213. package/dist/modules/campaign/report/recipients/timeline/ns-campaign-report-recipient.timeline.element.d.ts +26 -0
  214. package/dist/modules/dashboard/components/ns-dashboard-license-status.element.d.ts +23 -0
  215. package/dist/modules/dashboard/components/ns-workspace-dashboard-view.element.d.ts +34 -0
  216. package/dist/modules/dashboard/manifest.d.ts +15 -0
  217. package/dist/modules/dashboard/ns-workspace-dashboard.element.d.ts +21 -0
  218. package/dist/modules/email-editor/controls/button/manifest.d.ts +2 -0
  219. package/dist/modules/email-editor/controls/button/ns-email-editor-control-button-display.element.d.ts +16 -0
  220. package/dist/modules/email-editor/controls/button/ns-email-editor-control-button-edit.element.d.ts +20 -0
  221. package/dist/modules/email-editor/controls/button/ns-email-editor-control-button.models.d.ts +3 -0
  222. package/dist/modules/email-editor/controls/divider/manifest.d.ts +2 -0
  223. package/dist/modules/email-editor/controls/divider/ns-email-editor-control-divider-display.element.d.ts +16 -0
  224. package/dist/modules/email-editor/controls/divider/ns-email-editor-control-divider-edit.element.d.ts +16 -0
  225. package/dist/modules/email-editor/controls/divider/ns-email-editor-control-divider.models.d.ts +3 -0
  226. package/dist/modules/email-editor/controls/image/manifest.d.ts +2 -0
  227. package/dist/modules/email-editor/controls/image/ns-email-editor-control-image-display.element.d.ts +21 -0
  228. package/dist/modules/email-editor/controls/image/ns-email-editor-control-image-edit.element.d.ts +24 -0
  229. package/dist/modules/email-editor/controls/image/ns-email-editor-control-image.models.d.ts +3 -0
  230. package/dist/modules/email-editor/controls/macro/manifest.d.ts +2 -0
  231. package/dist/modules/email-editor/controls/macro/ns-email-editor-control-macro-display.element.d.ts +18 -0
  232. package/dist/modules/email-editor/controls/macro/ns-email-editor-control-macro-edit.element.d.ts +23 -0
  233. package/dist/modules/email-editor/controls/macro/ns-email-editor-control-macro.models.d.ts +3 -0
  234. package/dist/modules/email-editor/controls/text/manifest.d.ts +3 -0
  235. package/dist/modules/email-editor/controls/text/ns-email-editor-control-text-display.element.d.ts +20 -0
  236. package/dist/modules/email-editor/controls/text/ns-email-editor-control-text-edit.element.d.ts +23 -0
  237. package/dist/modules/email-editor/controls/text/ns-email-editor-control-text.models.d.ts +3 -0
  238. package/dist/modules/email-editor/controls/text/tiny-mce-plugin.d.ts +6 -0
  239. package/dist/modules/email-editor/index.d.ts +5 -0
  240. package/dist/modules/email-editor/manifest.d.ts +1 -0
  241. package/dist/modules/email-editor/ns-email-editor-context-token.d.ts +3 -0
  242. package/dist/modules/email-editor/ns-email-editor-context.d.ts +68 -0
  243. package/dist/modules/email-editor/ns-email-editor-context.models.d.ts +23 -0
  244. package/dist/modules/email-editor/ns-email-modal-base-element.d.ts +74 -0
  245. package/dist/modules/email-editor/ns-email-modal-context-base.d.ts +22 -0
  246. package/dist/modules/email-editor/ns-email-modal-valiation-path-translator.d.ts +19 -0
  247. package/dist/modules/email-editor/ns-email-settings-collection.d.ts +22 -0
  248. package/dist/modules/global/index.d.ts +1 -0
  249. package/dist/modules/global/newsletter-studio.context.d.ts +14 -0
  250. package/dist/modules/mailing-list/edit/actions/export/ns-maling-list-export.action.d.ts +6 -0
  251. package/dist/modules/mailing-list/edit/actions/import/manifest.d.ts +2 -0
  252. package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import-modal.element.d.ts +34 -0
  253. package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import-modal.token.d.ts +7 -0
  254. package/dist/modules/mailing-list/edit/actions/import/ns-mailing-list-import.action.d.ts +6 -0
  255. package/dist/modules/mailing-list/edit/actions/manifest.d.ts +2 -0
  256. package/dist/modules/mailing-list/edit/actions/remove/ns-mailing-list-remove.action.d.ts +6 -0
  257. package/dist/modules/mailing-list/edit/ns-mailing-list-edit.element.d.ts +31 -0
  258. package/dist/modules/mailing-list/entity.d.ts +1 -0
  259. package/dist/modules/mailing-list/index.d.ts +3 -0
  260. package/dist/modules/mailing-list/list/ns-mailing-list-list.element.d.ts +23 -0
  261. package/dist/modules/mailing-list/manifest.d.ts +2 -0
  262. package/dist/modules/mailing-list/new/ns-mailing-list-new.element.d.ts +19 -0
  263. package/dist/modules/mailing-list/ns-mailing-list-workspace-context-token.d.ts +0 -0
  264. package/dist/modules/mailing-list/ns-mailing-list-workspace-modal.token.d.ts +5 -0
  265. package/dist/modules/mailing-list/ns-mailing-list-workspace.context.d.ts +17 -0
  266. package/dist/modules/manifest.d.ts +1 -0
  267. package/dist/modules/property-editors/index.d.ts +0 -0
  268. package/dist/modules/property-editors/mailing-list-picker/manifest.d.ts +2 -0
  269. package/dist/modules/property-editors/mailing-list-picker/ns-mailing-list-picker-property-editor.element.d.ts +33 -0
  270. package/dist/modules/property-editors/manifest.d.ts +1 -0
  271. package/dist/modules/property-editors/transactional-email-picker/manifest.d.ts +2 -0
  272. package/dist/modules/property-editors/transactional-email-picker/ns-transactional-email-picker-editor.element.d.ts +31 -0
  273. package/dist/modules/recipient/edit/actions/ns-recipient-remove.action.d.ts +6 -0
  274. package/dist/modules/recipient/edit/components/ns-recipient-subscriptions.element.d.ts +27 -0
  275. package/dist/modules/recipient/edit/manifest.d.ts +2 -0
  276. package/dist/modules/recipient/edit/ns-recipient-edit.element.d.ts +29 -0
  277. package/dist/modules/recipient/entity.d.ts +1 -0
  278. package/dist/modules/recipient/features/ns-recipient-export-downloader.d.ts +3 -0
  279. package/dist/modules/recipient/index.d.ts +4 -0
  280. package/dist/modules/recipient/list/actions/ns-recipients-export.action.d.ts +6 -0
  281. package/dist/modules/recipient/list/manifest.d.ts +2 -0
  282. package/dist/modules/recipient/list/ns-recipient-list.element.d.ts +27 -0
  283. package/dist/modules/recipient/manifest.d.ts +2 -0
  284. package/dist/modules/recipient/ns-recipient-workspace-modal.token.d.ts +5 -0
  285. package/dist/modules/recipient/ns-recipient-workspace.context.d.ts +17 -0
  286. package/dist/modules/settings/edit/ns-settings-edit.element.d.ts +21 -0
  287. package/dist/modules/settings/entity.d.ts +1 -0
  288. package/dist/modules/settings/index.d.ts +2 -0
  289. package/dist/modules/settings/manifest.d.ts +2 -0
  290. package/dist/modules/settings/ns-settings-workspace.context.d.ts +17 -0
  291. package/dist/modules/transactional/activities/components/ns-transactional-log.element.d.ts +28 -0
  292. package/dist/modules/transactional/activities/details/ns-transactional-email-details.element.d.ts +24 -0
  293. package/dist/modules/transactional/activities/message/ns-transactional-view-message.element.d.ts +26 -0
  294. package/dist/modules/transactional/activities/ns-transactional-all-activities.element.d.ts +22 -0
  295. package/dist/modules/transactional/entity.d.ts +2 -0
  296. package/dist/modules/transactional/index.d.ts +3 -0
  297. package/dist/modules/transactional/manifest.d.ts +2 -0
  298. package/dist/modules/transactional/ns-transactional-workspace-modal.token.d.ts +8 -0
  299. package/dist/modules/transactional/ns-transactional-workspace.context.d.ts +17 -0
  300. package/dist/modules/transactional/template/create/ns-transactional-template-create.element.d.ts +19 -0
  301. package/dist/modules/transactional/template/edit/actions/ns-transactional-remove.action.d.ts +6 -0
  302. package/dist/modules/transactional/template/edit/activities/ns-transactional-template-edit-activities.element.d.ts +20 -0
  303. package/dist/modules/transactional/template/edit/manifest.d.ts +2 -0
  304. package/dist/modules/transactional/template/edit/ns-transactional-template-edit.context.d.ts +42 -0
  305. package/dist/modules/transactional/template/edit/ns-transactional-template-edit.element.d.ts +28 -0
  306. package/dist/modules/transactional/template/edit/settings/modal/manifest.d.ts +0 -0
  307. package/dist/modules/transactional/template/edit/settings/modal/models.d.ts +0 -0
  308. package/dist/modules/transactional/template/edit/settings/modal/ns-transactional-template-email-designer.context.d.ts +11 -0
  309. package/dist/modules/transactional/template/edit/settings/modal/ns-transactional-template-email-designer.element.d.ts +21 -0
  310. package/dist/modules/transactional/template/edit/settings/modal/steps/ns-transactional-template-edit-design.element.d.ts +23 -0
  311. package/dist/modules/transactional/template/edit/settings/modal/steps/ns-transactional-template-edit-information.element.d.ts +28 -0
  312. package/dist/modules/transactional/template/edit/settings/modal/steps/ns-transactional-template-edit-preview.element.d.ts +20 -0
  313. package/dist/modules/transactional/template/edit/settings/ns-transactional-template-edit-settings.element.d.ts +25 -0
  314. package/dist/modules/transactional/template/list/ns-transactional-template-list.element.d.ts +26 -0
  315. package/dist/modules/transactional/template/manifest.d.ts +1 -0
  316. package/dist/section-tree.element.d.ts +12 -0
  317. package/dist/section.d.ts +1 -0
  318. package/package.json +35 -0
  319. package/readme.md +74 -0
@@ -0,0 +1,2633 @@
1
+ export type ButtonEmailControlDataModel = {
2
+ /**
3
+ * Contains information for a NewsletterStudio.Core.Editor.Models.IEmailControl to indicate things about it's surrounding column and row.
4
+ */
5
+ rowAndColumnInfo: RowAndColumnInfoModel;
6
+ meta: {
7
+ [key: string]: unknown;
8
+ };
9
+ readonly controlTypeAlias: string;
10
+ buttonText: string;
11
+ /**
12
+ * Holds value for button link, a udi or a string with http-url.
13
+ */
14
+ buttonLink: string;
15
+ buttonSize: string;
16
+ isInverted: boolean;
17
+ align: string;
18
+ backgroundColor: string;
19
+ textColor: string;
20
+ padding: PaddingModel;
21
+ };
22
+ export type CampaignEmailItemResponseFrontendModel = {
23
+ id: number;
24
+ key: string;
25
+ name: string;
26
+ workspaceKey: string;
27
+ state: string;
28
+ lists: string;
29
+ sentDate?: string | null;
30
+ updated: string;
31
+ /**
32
+ * Indicates if the current campaign was created from Umbraco content.
33
+ */
34
+ umbracoContent: boolean;
35
+ /**
36
+ * Holds a reference to the Umbraco-content that this item was created from
37
+ */
38
+ umbracoContentKey?: string | null;
39
+ /**
40
+ * Used by the view to toggle the "action drop down" for each list item
41
+ */
42
+ showActionMenu: boolean;
43
+ /**
44
+ * If campaign is scheduled this shows the scheduled date.
45
+ */
46
+ scheduledSendDate?: string | null;
47
+ /**
48
+ * The name of the creator User
49
+ */
50
+ creatorName: string;
51
+ /**
52
+ * Culture of the campaign, like en-US, sv-SE
53
+ */
54
+ culture?: string | null;
55
+ };
56
+ export type CampaignEmailProgressResponseFrontendModel = {
57
+ campaignName: string;
58
+ campaignKey: string;
59
+ workspaceKey: string;
60
+ contentKey?: string | null;
61
+ processedPercent: number;
62
+ totalItems: number;
63
+ processedItems: number;
64
+ };
65
+ /**
66
+ * Model used when a campaign email has been sent.
67
+ */
68
+ export type CampaignEmailSentFrontendModel = {
69
+ workspaceKey: string;
70
+ /**
71
+ * Points to the Umbraco content that this send out was created from. Used to filter in the content-section.
72
+ */
73
+ contentKey?: string | null;
74
+ campaignName: string;
75
+ campaignKey: string;
76
+ processedPercent: number;
77
+ totalItems: number;
78
+ processedItems: number;
79
+ };
80
+ export type CampaignReportChartFrontendModel = {
81
+ dates: Array<string>;
82
+ data: Array<Array<number>>;
83
+ };
84
+ export type CampaignReportClicksOverviewFrontendModel = {
85
+ clicks: Array<CampaignReportsClickDetailsFrontendModel>;
86
+ };
87
+ export type CampaignReportGetRecipientsRequestFrontendModel = {
88
+ /**
89
+ * "Sent To", Opened, Clicked, Unsubscribed, Didn't Open, Delivery Failed
90
+ */
91
+ filterStatus: string;
92
+ filterText: string;
93
+ filterUrl: string;
94
+ campaignKey: string;
95
+ workspaceKey: string;
96
+ page: number;
97
+ };
98
+ export type CampaignReportOverviewResponseFrontendModel = {
99
+ campaignId: number;
100
+ campaignName: string;
101
+ campaignSenderName: string;
102
+ campaignSenderEmail: string;
103
+ campaignSubject: string;
104
+ campaignSentDate: string;
105
+ campaignRecipientLists: Array<ListItemIdAndLabelValueFrontendModel>;
106
+ countTotalRecipients: number;
107
+ readonly countTotalSent: number;
108
+ countUniqueOpen: number;
109
+ countUniqueClick: number;
110
+ countDeliveryFailed: number;
111
+ countUnsubscribed: number;
112
+ readonly percentOpened: number;
113
+ readonly percentClicked: number;
114
+ readonly percentDeliveryFailed: number;
115
+ readonly percentUnsubscribe: number;
116
+ timings: {
117
+ [key: string]: string;
118
+ };
119
+ chart: CampaignReportChartFrontendModel;
120
+ clickSummery: CampaignReportClicksOverviewFrontendModel;
121
+ };
122
+ export type CampaignReportRecipientFilterStatusModel = {
123
+ id: number;
124
+ localizationKey: string;
125
+ };
126
+ export type CampaignReportRecipientItemFrontendModel = {
127
+ email: string;
128
+ name: string;
129
+ opens: number;
130
+ clicks: number;
131
+ providerRecipientId: string;
132
+ };
133
+ export type CampaignReportRecipientTableFrontendModel = {
134
+ request: CampaignReportGetRecipientsRequestFrontendModel;
135
+ filterStatues: Array<CampaignReportRecipientFilterStatusModel>;
136
+ filterUrls: Array<string>;
137
+ /**
138
+ * Represents a Paged set of objects of type {T}
139
+ */
140
+ recipients: PageCampaignReportRecipientItemFrontendModel;
141
+ };
142
+ export type CampaignReportRecipientTimelineEditInformationFrontendModel = {
143
+ type: RecipientEditInformationTypeModel;
144
+ identifier?: string | null;
145
+ url?: string | null;
146
+ openInNewWindow: boolean;
147
+ };
148
+ export type CampaignReportRecipientTimelineFrontendModel = {
149
+ timeline: TimelineResponseFrontendModelCampaignReportRecipientTimelineItemFrontendModel;
150
+ editInformation?: CampaignReportRecipientTimelineEditInformationFrontendModel | null;
151
+ };
152
+ export type CampaignReportRecipientTimelineItemFrontendModel = {
153
+ type: string;
154
+ timestamp: string;
155
+ /**
156
+ * @deprecated
157
+ */
158
+ text: string;
159
+ trackingType?: number | null;
160
+ emailStatus?: number | null;
161
+ url: string;
162
+ email: string;
163
+ error: string;
164
+ };
165
+ export type CampaignReportsClickDetailsFrontendModel = {
166
+ url: string;
167
+ unique: number;
168
+ total: number;
169
+ /**
170
+ * Email Click-Through-Rate (CTR): the percentage of subscribers who clicked on a link as compared to the total number of
171
+ * emails delivered
172
+ */
173
+ readonly ctr: number;
174
+ /**
175
+ * Email Click-to-Open-Rate (CTOR): the percentage of subscribers who clicked on a link as compared to the total number of
176
+ * emails opened
177
+ */
178
+ readonly ctor: number;
179
+ };
180
+ export type CampaignSaveAndSendRequestFrontendModel = {
181
+ campaign: EditorCampaignEditValueFrontendModel;
182
+ sendNow: boolean;
183
+ };
184
+ export type CampaignSaveAndSendResponseFrontendModel = {
185
+ sending: boolean;
186
+ scheduled: boolean;
187
+ };
188
+ export type CampaignSendTestRequestFrontendModel = {
189
+ campaignKey: string;
190
+ email: string;
191
+ };
192
+ export type CampaignSendingValidationResultFrontendModel = {
193
+ hasValidLicense: boolean;
194
+ hasWorkspaceValidationIssues: boolean;
195
+ userHasSendingPermissions: boolean;
196
+ };
197
+ export type CampaignsSectionResponseFrontendModel = {
198
+ /**
199
+ * Represents a Paged set of objects of type {T}
200
+ */
201
+ campaigns: PageCampaignEmailItemResponseFrontendModel;
202
+ };
203
+ export type CountPerDayModel = {
204
+ day: string;
205
+ count: number;
206
+ };
207
+ export type CreateNewWorkspaceRequestFrontendModel = {
208
+ name: string;
209
+ /**
210
+ * When checked we will not create any default mailing list, demo-email, transactional templates etc.
211
+ */
212
+ createEmptyInstance: boolean;
213
+ };
214
+ export type DebugMessageFrontendModel = {
215
+ message: string;
216
+ };
217
+ export type DividerEmailControlDataModel = {
218
+ /**
219
+ * Contains information for a NewsletterStudio.Core.Editor.Models.IEmailControl to indicate things about it's surrounding column and row.
220
+ */
221
+ rowAndColumnInfo: RowAndColumnInfoModel;
222
+ meta: {
223
+ [key: string]: unknown;
224
+ };
225
+ readonly controlTypeAlias: string;
226
+ lineThickness?: number | null;
227
+ lineColor?: string | null;
228
+ padding: PaddingModel;
229
+ };
230
+ export type DocumentCampaignResponseFrontendModel = {
231
+ /**
232
+ * The content of the email.
233
+ */
234
+ campaign: DocumentCampaignValueFrontendModel;
235
+ /**
236
+ * Lists workspaces that the current user has access to. To be used in dropdown to select which workspace to connect
237
+ * the email to.
238
+ */
239
+ workspaces: Array<DocumentCampaignWorkspaceResponseFrontendModel>;
240
+ senderDefaultsForced: boolean;
241
+ sendingValidation: CampaignSendingValidationResultFrontendModel;
242
+ };
243
+ export type DocumentCampaignSaveAndSendRequestFrontendModel = {
244
+ documentCampaign: DocumentCampaignValueFrontendModel;
245
+ sendNow: boolean;
246
+ };
247
+ export type DocumentCampaignSentCampaignsRequestFrontendModel = {
248
+ page: number;
249
+ umbracoContentKey: string;
250
+ };
251
+ export type DocumentCampaignSentCampaignsResponseFrontendModel = {
252
+ /**
253
+ * Represents a Paged set of objects of type {T}
254
+ */
255
+ sent: PageCampaignEmailItemResponseFrontendModel;
256
+ };
257
+ export type DocumentCampaignValueFrontendModel = {
258
+ id: number;
259
+ uniqueKey: string;
260
+ /**
261
+ * Using string so we can have empty selection in ui
262
+ */
263
+ workspaceKey: string;
264
+ name: string;
265
+ subject: string;
266
+ senderName: string;
267
+ senderEmail: string;
268
+ replyToEmail: string;
269
+ replyToName: string;
270
+ previewText: string;
271
+ recipientLists: Array<string>;
272
+ contentKey: string;
273
+ scheduledSendDate?: string | null;
274
+ /**
275
+ * Holds any error message reported e.g. during send out. Can be null
276
+ */
277
+ errorMessage?: string | null;
278
+ culture?: string | null;
279
+ };
280
+ export type DocumentCampaignWorkspaceResponseFrontendModel = {
281
+ key: string;
282
+ name: string;
283
+ senderName: string;
284
+ senderEmail: string;
285
+ defaultSenderForce: boolean;
286
+ };
287
+ /**
288
+ * FM for Content App for Campaigns
289
+ */
290
+ export type DocumentCampaignsOverviewResponseFrontendModel = {
291
+ drafts: Array<CampaignEmailItemResponseFrontendModel>;
292
+ /**
293
+ * Represents a Paged set of objects of type {T}
294
+ */
295
+ sent: PageCampaignEmailItemResponseFrontendModel;
296
+ /**
297
+ * Contains the Workspace keys that this current user can access.
298
+ */
299
+ workspaceKeys: Array<string>;
300
+ emailInProgress: CampaignEmailProgressResponseFrontendModel;
301
+ };
302
+ export type DropdownOptionGroupResponseFrontendModel = {
303
+ label: string;
304
+ options: Array<DropdownOptionValueFrontendModel>;
305
+ };
306
+ export type DropdownOptionValueFrontendModel = {
307
+ label: string;
308
+ value: string;
309
+ };
310
+ export type EditorCampaignEditValueFrontendModel = {
311
+ id: number;
312
+ uniqueKey: string;
313
+ workspaceKey: string;
314
+ name: string;
315
+ subject: string;
316
+ senderEmail: string;
317
+ senderName: string;
318
+ replyToEmail: string;
319
+ replyToName: string;
320
+ themeAlias: string;
321
+ recipientLists: Array<string>;
322
+ /**
323
+ * Front end model for email editor, used both for Campaigns and Transactionals.
324
+ */
325
+ content: EmailContentValueFrontendModel;
326
+ scheduledSendDate?: string | null;
327
+ /**
328
+ * Holds any error message reported e.g. during send out. Can be null
329
+ */
330
+ errorMessage?: string | null;
331
+ };
332
+ /**
333
+ * Model for the edit Campaign view
334
+ */
335
+ export type EditorCampaignResponseFrontendModel = {
336
+ campaign: EditorCampaignEditValueFrontendModel;
337
+ mergeFields: Array<MergeFieldModel>;
338
+ fonts: Array<FontDefinitionGroupModel>;
339
+ /**
340
+ * Holds true when the workspace has "force sender defaults" set to true.
341
+ */
342
+ senderDefaultsForced: boolean;
343
+ sendingValidation: CampaignSendingValidationResultFrontendModel;
344
+ themes: Array<ThemeListItemFrontendModel>;
345
+ /**
346
+ * List of control types used to get the render view-path to the control.
347
+ */
348
+ controlTypes: Array<EmailControlTypeValueFrontendModel>;
349
+ /**
350
+ * List of controls for Toolbox
351
+ */
352
+ editorToolboxControls: Array<EmailControlTypeToolboxItemFrontendModel>;
353
+ };
354
+ export type EmailAddressModel = {
355
+ email: string;
356
+ displayName: string;
357
+ };
358
+ export type EmailColumnValueFrontendModel = {
359
+ columns: number;
360
+ controls: Array<ButtonEmailControlDataModel | DividerEmailControlDataModel | ImageEmailControlDataModel | MacroEmailControlDataModel | TextEmailControlDataModel>;
361
+ };
362
+ /**
363
+ * Front end model for email editor, used both for Campaigns and Transactionals.
364
+ */
365
+ export type EmailContentValueFrontendModel = {
366
+ rows: Array<EmailRowValueFrontendModel>;
367
+ settings: {
368
+ [key: string]: string;
369
+ };
370
+ previewText?: string | null;
371
+ };
372
+ export type EmailControlTypeToolboxItemFrontendModel = {
373
+ alias: string;
374
+ icon: string;
375
+ iconSvg: string;
376
+ /**
377
+ * Abstraction for a "Email Control" being a concrete instance of a control inside the editor.
378
+ * This is the source "data model" for a control as well.
379
+ */
380
+ emptyInstance: ButtonEmailControlDataModel | DividerEmailControlDataModel | ImageEmailControlDataModel | MacroEmailControlDataModel | TextEmailControlDataModel;
381
+ };
382
+ export type EmailControlTypeValueFrontendModel = {
383
+ alias: string;
384
+ };
385
+ export type EmailRowValueFrontendModel = {
386
+ columns: Array<EmailColumnValueFrontendModel>;
387
+ backgroundColor?: string | null;
388
+ backgroundImage?: string | null;
389
+ fullWidth: boolean;
390
+ stackOnSmallScreen: boolean;
391
+ };
392
+ export type EmailServiceProviderResponseFrontendModel = {
393
+ alias: string;
394
+ displayName: string;
395
+ };
396
+ export type EventMessageTypeModel = 'Default' | 'Info' | 'Error' | 'Success' | 'Warning';
397
+ export declare const EventMessageTypeModel: {
398
+ readonly DEFAULT: "Default";
399
+ readonly INFO: "Info";
400
+ readonly ERROR: "Error";
401
+ readonly SUCCESS: "Success";
402
+ readonly WARNING: "Warning";
403
+ };
404
+ export type FontDefinitionGroupModel = {
405
+ title: string;
406
+ titleLocalizationKey: string;
407
+ definitions: Array<FontDefinitionModel>;
408
+ };
409
+ /**
410
+ * Represents a font in the email editor.
411
+ */
412
+ export type FontDefinitionModel = {
413
+ displayName: string;
414
+ /**
415
+ * The value used for "font-family"-style property when this font is used.
416
+ */
417
+ fontFamilyValue: string;
418
+ /**
419
+ * The css-font-face declaration used when rendering the font inside the HTML-email. Use this for custom font's. NOTE! For Google-fonts use the specific property.
420
+ */
421
+ customFontDeclarationCss: string;
422
+ /**
423
+ * If this is a Google font, declare what to include like this: Lato:400,700,400italic,700italic
424
+ */
425
+ googleFontsFamilyQueryStringValue: string;
426
+ };
427
+ export type GetCampaignListRequestFrontendModel = {
428
+ workspaceKey: string;
429
+ search: string;
430
+ /**
431
+ * The state like all, sent, draft, scheduled or error
432
+ */
433
+ filterState: string;
434
+ page: number;
435
+ };
436
+ export type GetMacroRequestParametersModel = {
437
+ themeAlias: string;
438
+ };
439
+ export type HubMessageTypeModel = 'CampaignProgress' | 'CampaignSent' | 'DebugMessage';
440
+ export declare const HubMessageTypeModel: {
441
+ readonly CAMPAIGN_PROGRESS: "CampaignProgress";
442
+ readonly CAMPAIGN_SENT: "CampaignSent";
443
+ readonly DEBUG_MESSAGE: "DebugMessage";
444
+ };
445
+ export type ImageEmailControlDataModel = {
446
+ /**
447
+ * Contains information for a NewsletterStudio.Core.Editor.Models.IEmailControl to indicate things about it's surrounding column and row.
448
+ */
449
+ rowAndColumnInfo: RowAndColumnInfoModel;
450
+ meta: {
451
+ [key: string]: unknown;
452
+ };
453
+ readonly controlTypeAlias: string;
454
+ padding: PaddingModel;
455
+ imageUdi: string;
456
+ /**
457
+ * Alignment for image (default should be center/middle)
458
+ */
459
+ align: string;
460
+ /**
461
+ * Stores any link value. Ie a udi for content/media or a url.
462
+ */
463
+ link?: string | null;
464
+ /**
465
+ * A number from 1 to 600 (4-columns) or lower that indicates that size of the image. Used to calculate crop.
466
+ */
467
+ imageSize: number;
468
+ /**
469
+ * Holds a value for image Height, only applicable when AspectRatio is "custom" otherwise configured aspect ratio will decide height.
470
+ */
471
+ imageHeight: number;
472
+ /**
473
+ * Holds selected aspect ratio. (original, 169,43,square or custom)
474
+ */
475
+ aspectRatio: string;
476
+ };
477
+ export type ImportRecipientIssuesValueFrontendModel = {
478
+ email: string;
479
+ firstname: string;
480
+ lastname: string;
481
+ fields: {
482
+ [key: string]: string;
483
+ };
484
+ mailingListKey?: string | null;
485
+ workspaceKey?: string | null;
486
+ /**
487
+ * UI-indicator to be flagged when have submitted a fix
488
+ */
489
+ done: boolean;
490
+ /**
491
+ * Indicator when the fix as been validated
492
+ */
493
+ valid: boolean;
494
+ };
495
+ export type ImportRecipientRecipientFieldValueFrontendModel = {
496
+ displayText: string;
497
+ mergeFieldAlias: string;
498
+ required: boolean;
499
+ };
500
+ export type ImportRecipientsColumnMappingFieldValueFrontendModel = {
501
+ /**
502
+ * Holds the alias, ie customField1 or email
503
+ */
504
+ index: string;
505
+ /**
506
+ * Holds the translated display-text ie E-post, Förnamn, Lastname and any name of a custom field.
507
+ */
508
+ displayText: string;
509
+ /**
510
+ * Alias of the selected recipient merge field
511
+ */
512
+ selectedRecipientMergeField?: string | null;
513
+ examples: Array<string>;
514
+ };
515
+ export type ImportRecipientsColumnMappingResponseFrontendModel = {
516
+ tempFile: string;
517
+ fileColumnHeaders: Array<ImportRecipientsColumnMappingFieldValueFrontendModel>;
518
+ recipientFields: Array<ImportRecipientRecipientFieldValueFrontendModel>;
519
+ };
520
+ export type ImportRecipientsPerformFileImportRequestFrontendModel = {
521
+ workspaceKey: string;
522
+ mailingListKey?: string | null;
523
+ tempFile: string;
524
+ fieldMappings: Array<ImportRecipientsColumnMappingFieldValueFrontendModel>;
525
+ };
526
+ export type ImportRecipientsResultsResponseFrontendModel = {
527
+ total: number;
528
+ imported: number;
529
+ duplicatesInInput: number;
530
+ invalidInInput: number;
531
+ existingRecipients: number;
532
+ addedToMailingList: number;
533
+ issues: Array<ImportRecipientIssuesValueFrontendModel>;
534
+ };
535
+ export type LicenseDetailsResponseFrontendModel = {
536
+ licenseStatus: string;
537
+ licenseName: string;
538
+ issuedTo: string;
539
+ subscriptionRenews?: string | null;
540
+ hasSubscription: boolean;
541
+ validForUpdatesUntil: string;
542
+ validUntilMajorVersion: number;
543
+ workspaces: Array<LicenseDetailsWorkspaceResponseFrontendModel>;
544
+ packageReleaseDate: string;
545
+ licenseKey: string;
546
+ };
547
+ export type LicenseDetailsWorkspaceResponseFrontendModel = {
548
+ key: string;
549
+ domains: Array<string>;
550
+ };
551
+ export type LicenseLoginRequestFrontendModel = {
552
+ email: string;
553
+ password: string;
554
+ };
555
+ export type LicensePerformConnectRequestFrontendModel = {
556
+ licenseKey: string;
557
+ connections: Array<LicenseWorkspaceConnectionValueFrontendModel>;
558
+ };
559
+ export type LicenseResponseFrontendModel = {
560
+ id: string;
561
+ /**
562
+ * Some kind of name of the license, maybe the "main" domain
563
+ */
564
+ name: string;
565
+ workspaces: Array<LicenseWorkspaceRequestFrontendModel>;
566
+ /**
567
+ * Indicates if all Workspaces on this license has keys assigned. If that is the case no need to map
568
+ * when connecting them.
569
+ */
570
+ hasAllWorkspaceKeys: boolean;
571
+ };
572
+ export type LicenseWorkspaceConnectionValueFrontendModel = {
573
+ workspaceKey: string;
574
+ workspaceNumber: number;
575
+ };
576
+ export type LicenseWorkspaceRequestFrontendModel = {
577
+ workspaceNumber: number;
578
+ key: string;
579
+ hosts: Array<string>;
580
+ /**
581
+ * Indicates that this connection is locked. If this is false while the key has a values, this is a "prediction" from the
582
+ * server.
583
+ */
584
+ isLocked: boolean;
585
+ };
586
+ export type LicensesResponseFrontendModel = {
587
+ /**
588
+ * This will be set if there was a "direct match" for the license
589
+ */
590
+ details: LicenseDetailsResponseFrontendModel;
591
+ licenses: Array<LicenseResponseFrontendModel>;
592
+ };
593
+ /**
594
+ * List item model used when no translation is needed and the label is stored inside the system.
595
+ * For translated list items use NewsletterStudio.Core.Frontend.Common.FrontendModels.ListItemIdAndTranslationResponseFrontendModel
596
+ */
597
+ export type ListItemIdAndLabelValueFrontendModel = {
598
+ id: string;
599
+ label: string;
600
+ };
601
+ /**
602
+ * Used for list with translated labels
603
+ */
604
+ export type ListItemIdAndTranslationResponseFrontendModel = {
605
+ id: string;
606
+ localizationKey: string;
607
+ };
608
+ export type ListItemValueAndTranslationResponseFrontendModel = {
609
+ value: string;
610
+ localizationKey: string;
611
+ };
612
+ export type MacroEmailControlDataModel = {
613
+ /**
614
+ * Contains information for a NewsletterStudio.Core.Editor.Models.IEmailControl to indicate things about it's surrounding column and row.
615
+ */
616
+ rowAndColumnInfo: RowAndColumnInfoModel;
617
+ meta: {
618
+ [key: string]: unknown;
619
+ };
620
+ readonly controlTypeAlias: string;
621
+ padding: PaddingModel;
622
+ macroPath: string;
623
+ };
624
+ export type MailingListDetailsResponseFrontendModel = {
625
+ key: string;
626
+ name: string;
627
+ /**
628
+ * Indicates if there is no recipients on the list (independent of status)
629
+ */
630
+ isEmpty: boolean;
631
+ totalActive: number;
632
+ growthLast30days: number;
633
+ growthLast3Months: number;
634
+ /**
635
+ * Represents a Paged set of objects of type {T}
636
+ */
637
+ subscribers: PageMailingListSubscriberItemFrontendModel;
638
+ };
639
+ export type MailingListListItemFrontendModel = {
640
+ key: string;
641
+ name: string;
642
+ };
643
+ export type MailingListOverviewListItemFrontendModel = {
644
+ id: number;
645
+ key: string;
646
+ name: string;
647
+ activeSubscribers: number;
648
+ };
649
+ export type MailingListOverviewSectionResponseFrontendModel = {
650
+ lists: Array<MailingListOverviewListItemFrontendModel>;
651
+ };
652
+ export type MailingListPickerMailingListItemFrontendModel = {
653
+ name: string;
654
+ key: string;
655
+ };
656
+ export type MailingListPickerWorkspaceItemFrontendModel = {
657
+ name: string;
658
+ key: string;
659
+ mailingLists: Array<MailingListPickerMailingListItemFrontendModel>;
660
+ };
661
+ export type MailingListPropertyEditorResponseFrontendModel = {
662
+ /**
663
+ * Holds the model, aka all the selections
664
+ */
665
+ model: Array<MailingListPropertyEditorSelectionFrontendModel>;
666
+ /**
667
+ * Holds all workspaces and it's mailing lists.
668
+ */
669
+ workspaces: Array<MailingListPickerWorkspaceItemFrontendModel>;
670
+ };
671
+ export type MailingListPropertyEditorSelectionFrontendModel = {
672
+ /**
673
+ * found,removed,noaccess
674
+ */
675
+ selectionType: string;
676
+ workspaceKey: string;
677
+ workspaceName: string;
678
+ mailingListKey: string;
679
+ mailingListName: string;
680
+ };
681
+ /**
682
+ * The model stored in the "umbraco db" for the property editor. This should be returned by the property value converter.
683
+ */
684
+ export type MailingListPropertyEditorValueModel = {
685
+ workspaceKey: string;
686
+ mailingListKey: string;
687
+ };
688
+ export type MailingListSaveRequestFrontendModel = {
689
+ /**
690
+ * Holds the key for the list or "-1" when creating a new
691
+ */
692
+ key: string;
693
+ name: string;
694
+ workspaceKey: string;
695
+ };
696
+ export type MailingListSubscriberItemFrontendModel = {
697
+ id: number;
698
+ key: string;
699
+ name: string;
700
+ email: string;
701
+ source: string;
702
+ subscribed: string;
703
+ status: string;
704
+ };
705
+ export type MailingListSubscriptionFrontendModel = {
706
+ /**
707
+ * This is optional because we want to be able to add new subscription that will not have an id.
708
+ */
709
+ subscriptionId?: number | null;
710
+ mailingListKey: string;
711
+ status: string;
712
+ name: string;
713
+ subscribed: string;
714
+ };
715
+ export type MergeFieldModel = {
716
+ /**
717
+ * The Text / Label for the Merge Field. If this is set it will be used over any Translation Key.
718
+ */
719
+ text: string;
720
+ /**
721
+ * If set it will override Text with translated value if translation exists.
722
+ */
723
+ textLocalizationKey: string;
724
+ /**
725
+ * If the merge field belongs to a group, use this to indicate the group name
726
+ */
727
+ groupText: string;
728
+ /**
729
+ * If set it will override GroupText with translated value if translation exists.
730
+ */
731
+ groupTextLocalizationKey: string;
732
+ /**
733
+ * Placeholder to use in html-template
734
+ */
735
+ placeholder: string;
736
+ /**
737
+ * Tooltip to show in the UI (optional)
738
+ */
739
+ tooltip: string;
740
+ };
741
+ export type NotificationHeaderModel = {
742
+ message: string;
743
+ category: string;
744
+ type: EventMessageTypeModel;
745
+ };
746
+ /**
747
+ * Holds global settings for the package
748
+ */
749
+ export type PackageSettingsFrontendModel = {
750
+ documentCampaignsForContentTypes: Array<string>;
751
+ };
752
+ export type PaddingModel = {
753
+ top: number;
754
+ right: number;
755
+ bottom: number;
756
+ left: number;
757
+ };
758
+ /**
759
+ * Represents a Paged set of objects of type {T}
760
+ */
761
+ export type PageCampaignEmailItemResponseFrontendModel = {
762
+ itemsPerPage: number;
763
+ currentPage: number;
764
+ totalItems: number;
765
+ totalPages: number;
766
+ items: Array<CampaignEmailItemResponseFrontendModel>;
767
+ };
768
+ /**
769
+ * Represents a Paged set of objects of type {T}
770
+ */
771
+ export type PageCampaignReportRecipientItemFrontendModel = {
772
+ itemsPerPage: number;
773
+ currentPage: number;
774
+ totalItems: number;
775
+ totalPages: number;
776
+ items: Array<CampaignReportRecipientItemFrontendModel>;
777
+ };
778
+ /**
779
+ * Represents a Paged set of objects of type {T}
780
+ */
781
+ export type PageMailingListSubscriberItemFrontendModel = {
782
+ itemsPerPage: number;
783
+ currentPage: number;
784
+ totalItems: number;
785
+ totalPages: number;
786
+ items: Array<MailingListSubscriberItemFrontendModel>;
787
+ };
788
+ /**
789
+ * Represents a Paged set of objects of type {T}
790
+ */
791
+ export type PageRecipientsOverviewRecipientFrontendModel = {
792
+ itemsPerPage: number;
793
+ currentPage: number;
794
+ totalItems: number;
795
+ totalPages: number;
796
+ items: Array<RecipientsOverviewRecipientFrontendModel>;
797
+ };
798
+ /**
799
+ * Represents a Paged set of objects of type {T}
800
+ */
801
+ export type PageTransactionalEmailItemResponseModel = {
802
+ itemsPerPage: number;
803
+ currentPage: number;
804
+ totalItems: number;
805
+ totalPages: number;
806
+ items: Array<TransactionalEmailItemResponseModel>;
807
+ };
808
+ /**
809
+ * Represents a Paged set of objects of type {T}
810
+ */
811
+ export type PageTransactionalLogItemFrontendModel = {
812
+ itemsPerPage: number;
813
+ currentPage: number;
814
+ totalItems: number;
815
+ totalPages: number;
816
+ items: Array<TransactionalLogItemFrontendModel>;
817
+ };
818
+ export type PageWithFilterTransactionalLogItemFrontendModelTransactionalGetLogListRequestFrontendModel = {
819
+ filters?: TransactionalGetLogListRequestFrontendModel | null;
820
+ /**
821
+ * Represents a Paged set of objects of type {T}
822
+ */
823
+ page: PageTransactionalLogItemFrontendModel;
824
+ };
825
+ export type PagedRecipientsModel = {
826
+ /**
827
+ * Represents a Paged set of objects of type {T}
828
+ */
829
+ recipients: PageRecipientsOverviewRecipientFrontendModel;
830
+ };
831
+ export type PercentResultModel = {
832
+ total: number;
833
+ items: number;
834
+ percent: number;
835
+ };
836
+ export type PersonModel = {
837
+ name: string;
838
+ age: number;
839
+ city: string;
840
+ };
841
+ export type RecipientDetailsCustomFieldValueFrontendModel = {
842
+ fieldLabel: string;
843
+ customFieldAlias: string;
844
+ value: string;
845
+ };
846
+ export type RecipientDetailsResponseFrontendModel = {
847
+ recipient: RecipientValueFrontendModel;
848
+ subscriptions: Array<MailingListSubscriptionFrontendModel>;
849
+ timeline: TimelineResponseFrontendModelRecipientTimelineItemFrontendModel;
850
+ subscriptionStatuses: Array<ListItemIdAndTranslationResponseFrontendModel>;
851
+ mailingLists: Array<MailingListListItemFrontendModel>;
852
+ systemMaxErrorCount: number;
853
+ };
854
+ export type RecipientEditInformationTypeModel = 'None' | 'UmbracoMember' | 'NewsletterStudioRecipient' | 'Link';
855
+ export declare const RecipientEditInformationTypeModel: {
856
+ readonly NONE: "None";
857
+ readonly UMBRACO_MEMBER: "UmbracoMember";
858
+ readonly NEWSLETTER_STUDIO_RECIPIENT: "NewsletterStudioRecipient";
859
+ readonly LINK: "Link";
860
+ };
861
+ export type RecipientItemValueValueFrontendModel = {
862
+ id: string;
863
+ label: string;
864
+ subscribers?: number | null;
865
+ };
866
+ export type RecipientListProviderResponseFrontendModel = {
867
+ displayNameLocalizationKey: string;
868
+ prefix: string;
869
+ lists: Array<RecipientItemValueValueFrontendModel>;
870
+ };
871
+ export type RecipientTimelineItemFrontendModel = {
872
+ type: string;
873
+ timestamp: string;
874
+ /**
875
+ * @deprecated
876
+ */
877
+ text: string;
878
+ campaignId: string;
879
+ data1: string;
880
+ data2: string;
881
+ data3: string;
882
+ date2: string;
883
+ data4: string;
884
+ data5: string;
885
+ };
886
+ export type RecipientValueFrontendModel = {
887
+ id: number;
888
+ key: string;
889
+ firstname: string;
890
+ lastname: string;
891
+ email: string;
892
+ source: string;
893
+ customFields: Array<RecipientDetailsCustomFieldValueFrontendModel>;
894
+ globalUnsubscribed: boolean;
895
+ errorCount: number;
896
+ };
897
+ export type RecipientsOverviewRecipientFrontendModel = {
898
+ id: number;
899
+ key: string;
900
+ name: string;
901
+ email: string;
902
+ source: string;
903
+ created: string;
904
+ status: string;
905
+ totalActiveLists: number;
906
+ };
907
+ export type RecipientsOverviewSectionResponseFrontendModel = {
908
+ totalActive: number;
909
+ growthLast30days: number;
910
+ growthLast3Months: number;
911
+ /**
912
+ * Indicates if the list is empty
913
+ */
914
+ isEmpty: boolean;
915
+ /**
916
+ * Represents a Paged set of objects of type {T}
917
+ */
918
+ recipients: PageRecipientsOverviewRecipientFrontendModel;
919
+ };
920
+ export type ResendTransactionalRequestFrontendModel = {
921
+ trackingTransactionalEmailId: number;
922
+ };
923
+ /**
924
+ * Contains information for a NewsletterStudio.Core.Editor.Models.IEmailControl to indicate things about it's surrounding column and row.
925
+ */
926
+ export type RowAndColumnInfoModel = {
927
+ /**
928
+ * Number of columns that the column for the control take up
929
+ */
930
+ columns: number;
931
+ /**
932
+ * Indicates if this row will stack it's content on smaller screens.
933
+ */
934
+ stackOnSmallScreen: boolean;
935
+ };
936
+ export type SaveRecipientRequestFrontendModel = {
937
+ recipient: RecipientValueFrontendModel;
938
+ listUpdates: Array<UpdatedRecipientListStatusesRequestFrontendModel>;
939
+ };
940
+ export type TestPop3ServerRequestFrontendModel = {
941
+ settings: {
942
+ [key: string]: unknown;
943
+ };
944
+ };
945
+ export type TextEmailControlDataModel = {
946
+ /**
947
+ * Contains information for a NewsletterStudio.Core.Editor.Models.IEmailControl to indicate things about it's surrounding column and row.
948
+ */
949
+ rowAndColumnInfo: RowAndColumnInfoModel;
950
+ meta: {
951
+ [key: string]: unknown;
952
+ };
953
+ readonly controlTypeAlias: string;
954
+ html: string;
955
+ padding: PaddingModel;
956
+ textColor: string;
957
+ linkColor: string;
958
+ fontSize: string;
959
+ fontFamily: string;
960
+ };
961
+ export type ThemeListItemFrontendModel = {
962
+ alias: string;
963
+ configuration: {
964
+ [key: string]: string;
965
+ };
966
+ /**
967
+ * Indicates if this is the "Newsletter Studio Default" theme. NOT the default for the Workspace.
968
+ */
969
+ isDefault: boolean;
970
+ };
971
+ export type TimelineDateResponseFrontendModelCampaignReportRecipientTimelineItemFrontendModel = {
972
+ date: string;
973
+ items: Array<CampaignReportRecipientTimelineItemFrontendModel>;
974
+ };
975
+ export type TimelineDateResponseFrontendModelRecipientTimelineItemFrontendModel = {
976
+ date: string;
977
+ items: Array<RecipientTimelineItemFrontendModel>;
978
+ };
979
+ export type TimelineDateResponseFrontendModelTrackingTransactionalTimelineItemFrontendModel = {
980
+ date: string;
981
+ items: Array<TrackingTransactionalTimelineItemFrontendModel>;
982
+ };
983
+ export type TimelineResponseFrontendModelCampaignReportRecipientTimelineItemFrontendModel = {
984
+ dates: Array<TimelineDateResponseFrontendModelCampaignReportRecipientTimelineItemFrontendModel>;
985
+ };
986
+ export type TimelineResponseFrontendModelRecipientTimelineItemFrontendModel = {
987
+ dates: Array<TimelineDateResponseFrontendModelRecipientTimelineItemFrontendModel>;
988
+ };
989
+ export type TimelineResponseFrontendModelTrackingTransactionalTimelineItemFrontendModel = {
990
+ dates: Array<TimelineDateResponseFrontendModelTrackingTransactionalTimelineItemFrontendModel>;
991
+ };
992
+ export type TrackingTransactionalEmailItemFrontendModel = {
993
+ trackingTransactionalEmailId: number;
994
+ /**
995
+ * sent,opened,clicked
996
+ */
997
+ status: string;
998
+ text: string;
999
+ /**
1000
+ * Subject for the individual email, not sure if they will ever be different?
1001
+ */
1002
+ subject: string;
1003
+ /**
1004
+ * Indicates if there is content stored for this TrackingTransactionalEmail.
1005
+ */
1006
+ hasStoredContent: boolean;
1007
+ };
1008
+ /**
1009
+ * Represents a "group" in the list of recipients in other words: To, Cc or Bcc.
1010
+ */
1011
+ export type TrackingTransactionalRecipientGroupResponseFrontendModel = {
1012
+ /**
1013
+ * Key for To, Cc or Bcc
1014
+ */
1015
+ headingLocalizationKey: string;
1016
+ /**
1017
+ * Recipients (aka TrackingTransactionalEmails) for this TrackingTransactional.
1018
+ */
1019
+ recipients: Array<TrackingTransactionalEmailItemFrontendModel>;
1020
+ };
1021
+ /**
1022
+ * Model for showing details about a TrackingTransactional
1023
+ */
1024
+ export type TrackingTransactionalResponseFrontendModel = {
1025
+ subject: string;
1026
+ sender: string;
1027
+ recipientGroups: Array<TrackingTransactionalRecipientGroupResponseFrontendModel>;
1028
+ timeline: TimelineResponseFrontendModelTrackingTransactionalTimelineItemFrontendModel;
1029
+ /**
1030
+ * Indicates if the transactional email was sent as separate emails to To, Cc and Bcc or
1031
+ * if all of them got the same email. This will impact how the presentation of the details in log will look.
1032
+ */
1033
+ individualEmailSent: boolean;
1034
+ transactionalEmailKey: string;
1035
+ };
1036
+ export type TrackingTransactionalTimelineItemFrontendModel = {
1037
+ /**
1038
+ * sent, failed, opened, clicked
1039
+ */
1040
+ type: string;
1041
+ /**
1042
+ * Email of recipient
1043
+ */
1044
+ email: string;
1045
+ providerRecipientId: string;
1046
+ url: string;
1047
+ hasContent: boolean;
1048
+ trackingTransactionalEmailId: number;
1049
+ timestamp: string;
1050
+ /**
1051
+ * Holds error message if any
1052
+ */
1053
+ errorMessage: string;
1054
+ };
1055
+ export type TransactionalCreateRequestFrontendModel = {
1056
+ workspaceKey: string;
1057
+ name: string;
1058
+ };
1059
+ export type TransactionalEditSectionResponseFrontendModel = {
1060
+ transactionalEmailId: number;
1061
+ /**
1062
+ * Model for transactional emails.
1063
+ */
1064
+ details: TransactionalValueFrontendModel;
1065
+ fonts: Array<FontDefinitionGroupModel>;
1066
+ mergeFieldModels: Array<DropdownOptionGroupResponseFrontendModel>;
1067
+ log: TransactionalLogResponseFrontendModel;
1068
+ /**
1069
+ * List of control types used to get the render view-path to the control.
1070
+ */
1071
+ controlTypes: Array<EmailControlTypeValueFrontendModel>;
1072
+ /**
1073
+ * List of controls for Toolbox
1074
+ */
1075
+ editorToolboxControls: Array<EmailControlTypeToolboxItemFrontendModel>;
1076
+ themes: Array<ThemeListItemFrontendModel>;
1077
+ };
1078
+ export type TransactionalEmailItemResponseModel = {
1079
+ id: number;
1080
+ key: string;
1081
+ name: string;
1082
+ workspaceKey: string;
1083
+ state: string;
1084
+ updated: string;
1085
+ /**
1086
+ * Used by the view to toggle the "action drop down" for each list item
1087
+ */
1088
+ showActionMenu: boolean;
1089
+ /**
1090
+ * The name of the creator User
1091
+ */
1092
+ creatorName: string;
1093
+ };
1094
+ export type TransactionalEmailPickerTransactionalEmailFrontendModel = {
1095
+ name: string;
1096
+ key: string;
1097
+ };
1098
+ export type TransactionalEmailPickerWorkspaceFrontendModel = {
1099
+ name: string;
1100
+ key: string;
1101
+ transactionalEmails: Array<TransactionalEmailPickerTransactionalEmailFrontendModel>;
1102
+ };
1103
+ export type TransactionalEmailPropertyEditorModelResponseFrontendModel = {
1104
+ /**
1105
+ * Holds the model, aka all the selections
1106
+ */
1107
+ model: Array<TransactionalEmailPropertyEditorSelectionFrontendModel>;
1108
+ /**
1109
+ * Holds all workspaces and it's mailing lists.
1110
+ */
1111
+ workspaces: Array<TransactionalEmailPickerWorkspaceFrontendModel>;
1112
+ };
1113
+ export type TransactionalEmailPropertyEditorSelectionFrontendModel = {
1114
+ /**
1115
+ * found,removed,noaccess
1116
+ */
1117
+ selectionType: string;
1118
+ workspaceKey: string;
1119
+ workspaceName: string;
1120
+ transactionalEmailKey: string;
1121
+ transactionalEmailName: string;
1122
+ };
1123
+ /**
1124
+ * The model stored in the "umbraco db" for the property editor. This should be returned by the property value converter.
1125
+ */
1126
+ export type TransactionalEmailPropertyEditorValueModel = {
1127
+ workspaceKey: string;
1128
+ transactionalEmailKey: string;
1129
+ };
1130
+ export type TransactionalEmailsSectionResponseFrontendModel = {
1131
+ /**
1132
+ * Represents a Paged set of objects of type {T}
1133
+ */
1134
+ emails: PageTransactionalEmailItemResponseModel;
1135
+ };
1136
+ export type TransactionalGetListRequestFrontendModel = {
1137
+ workspaceKey: string;
1138
+ search: string;
1139
+ /**
1140
+ * The state like all, sent, draft, scheduled or error
1141
+ */
1142
+ filterState: string;
1143
+ page: number;
1144
+ };
1145
+ export type TransactionalGetLogListRequestFrontendModel = {
1146
+ workspaceKey: string;
1147
+ transactionalEmailId?: number | null;
1148
+ search: string;
1149
+ filterState: string;
1150
+ page: number;
1151
+ };
1152
+ export type TransactionalLogItemFrontendModel = {
1153
+ trackingTransactionalId: number;
1154
+ status: string;
1155
+ /**
1156
+ * A comma list of recipient emails for the given mail.
1157
+ */
1158
+ to: string;
1159
+ subject: string;
1160
+ sentDate: string;
1161
+ };
1162
+ export type TransactionalLogResponseFrontendModel = {
1163
+ sentTotal: number;
1164
+ sentLastWeek: number;
1165
+ sentLast3Months: number;
1166
+ emails: PageWithFilterTransactionalLogItemFrontendModelTransactionalGetLogListRequestFrontendModel;
1167
+ logItemStatuses: Array<ListItemValueAndTranslationResponseFrontendModel>;
1168
+ };
1169
+ export type TransactionalOverviewSectionFrontendModel = {
1170
+ log: TransactionalLogResponseFrontendModel;
1171
+ };
1172
+ export type TransactionalSendTestRequestFrontendModel = {
1173
+ transactionalKey: string;
1174
+ email: string;
1175
+ };
1176
+ /**
1177
+ * Model for transactional emails.
1178
+ */
1179
+ export type TransactionalValueFrontendModel = {
1180
+ workspaceKey: string;
1181
+ id: number;
1182
+ key: string;
1183
+ name: string;
1184
+ to: Array<EmailAddressModel>;
1185
+ cc: Array<EmailAddressModel>;
1186
+ bcc: Array<EmailAddressModel>;
1187
+ enableLogging: boolean;
1188
+ logExpiryDays: number;
1189
+ storeEmailContent: boolean;
1190
+ storedEmailExpiryInDays: number;
1191
+ enableTracking: boolean;
1192
+ sendIndividualEmails: boolean;
1193
+ sender: EmailAddressModel;
1194
+ replyTo: EmailAddressModel;
1195
+ typedModelAlias: string;
1196
+ /**
1197
+ * Front end model for email editor, used both for Campaigns and Transactionals.
1198
+ */
1199
+ content: EmailContentValueFrontendModel;
1200
+ subject: string;
1201
+ themeAlias: string;
1202
+ };
1203
+ /**
1204
+ * Abstracts an Umbraco Tree node so that Newsletter Studio Core can create a tree independent of Umbraco-version
1205
+ */
1206
+ export type TreeItemModel = {
1207
+ /**
1208
+ * Id representing the current "node" in the tree, should be unique
1209
+ */
1210
+ key: string;
1211
+ /**
1212
+ * The ParentId for the current TreeItem
1213
+ */
1214
+ parentKey?: string | null;
1215
+ /**
1216
+ * Optional workspace key, not all menu-items (e.g admin) has a workspace key.
1217
+ */
1218
+ workspaceKey?: string | null;
1219
+ /**
1220
+ * Title used as Text when rendering the node in the tree.
1221
+ */
1222
+ label: string;
1223
+ /**
1224
+ * The icon to use for the TreeItem. (ie. icon-notepad, icon-message etc)
1225
+ */
1226
+ icon: string;
1227
+ /**
1228
+ * The RoutePath where to route the request in the backoffice. A relative path without leading "/" ie: settings/foo/1
1229
+ */
1230
+ path: string;
1231
+ redirects: boolean;
1232
+ matchRoute?: string | null;
1233
+ };
1234
+ export type UpdatedRecipientListStatusesRequestFrontendModel = {
1235
+ subscriptionId: string;
1236
+ mailingListKey: string;
1237
+ statusId: string;
1238
+ };
1239
+ export type UploadPastedRawTextRequestFrontendModel = {
1240
+ workspaceKey: string;
1241
+ mailingListKey?: string | null;
1242
+ /**
1243
+ * Holds the raw text to import, probably a semicolon separated string with rows.
1244
+ */
1245
+ rawText: string;
1246
+ };
1247
+ export type WorkspaceAccessPermissionItemFrontendModel = {
1248
+ alias: string;
1249
+ localizationKey: string;
1250
+ };
1251
+ export type WorkspaceAccessResponseFrontendModel = {
1252
+ /**
1253
+ * Id of entity, needed to keep track of changes
1254
+ */
1255
+ id: number;
1256
+ /**
1257
+ * Either Group Name or User Name
1258
+ */
1259
+ name: string;
1260
+ userId?: string | null;
1261
+ userGroupId?: string | null;
1262
+ permissions: Array<string>;
1263
+ /**
1264
+ * Holds UI state
1265
+ */
1266
+ open: boolean;
1267
+ };
1268
+ export type WorkspaceDashboardCampaignItemFrontendModel = {
1269
+ id: number;
1270
+ key: string;
1271
+ workspaceKey: string;
1272
+ name: string;
1273
+ updated: string;
1274
+ isScheduled: boolean;
1275
+ isUmbracoContent: boolean;
1276
+ umbracoContentKey?: string | null;
1277
+ culture?: string | null;
1278
+ };
1279
+ export type WorkspaceDashboardLastSentCampaignItemFrontendModel = {
1280
+ id: number;
1281
+ key: string;
1282
+ workspaceKey: string;
1283
+ name: string;
1284
+ clicked: PercentResultModel;
1285
+ opened: PercentResultModel;
1286
+ notOpened: PercentResultModel;
1287
+ error: PercentResultModel;
1288
+ };
1289
+ export type WorkspaceDashboardLicenseInformationModel = {
1290
+ readMoreLink: string;
1291
+ status: string;
1292
+ };
1293
+ export type WorkspaceDashboardOverviewResponseFrontendModel = {
1294
+ /**
1295
+ * Holds the price for the package, used in the upgrade-CTA.
1296
+ */
1297
+ packagePrice: number;
1298
+ packageVersion: string;
1299
+ /**
1300
+ * Shows license information but ONLY when there is just one Workspace used for the data.
1301
+ */
1302
+ license: WorkspaceDashboardLicenseInformationModel;
1303
+ emailInProgress: CampaignEmailProgressResponseFrontendModel;
1304
+ /**
1305
+ * Lists all workspaces that the current view should visualize.
1306
+ */
1307
+ workspaceKeys: Array<string>;
1308
+ userIsAdmin: boolean;
1309
+ subscriberGrowth: Array<CountPerDayModel>;
1310
+ latestCampaigns: Array<WorkspaceDashboardCampaignItemFrontendModel>;
1311
+ lastSentCampaign?: WorkspaceDashboardLastSentCampaignItemFrontendModel | null;
1312
+ lastMonthSentCampaignsCount: number;
1313
+ lastMonthNewRecipientsCount: number;
1314
+ lastMonthUnsubscribedCount: number;
1315
+ };
1316
+ export type WorkspaceListItemFrontendModel = {
1317
+ id: number;
1318
+ key: string;
1319
+ name: string;
1320
+ /**
1321
+ * Indicate license status,
1322
+ * licensed = working license for workspace
1323
+ * trial = no license for workspace
1324
+ * invalid = license does not match baseUrl.
1325
+ */
1326
+ licenseStatus: string;
1327
+ };
1328
+ export type WorkspaceManageOverviewResponseFrontendModel = {
1329
+ model: WorkspaceManageValueFrontendModel;
1330
+ accessPermissionsTypes: Array<WorkspaceAccessPermissionItemFrontendModel>;
1331
+ recipientListProviders: Array<ListItemIdAndLabelValueFrontendModel>;
1332
+ campaignMergeFieldProviders: Array<ListItemIdAndLabelValueFrontendModel>;
1333
+ transactionalMergeFieldProviders: Array<ListItemIdAndLabelValueFrontendModel>;
1334
+ emailControls: Array<ListItemIdAndTranslationResponseFrontendModel>;
1335
+ themes: Array<ListItemIdAndLabelValueFrontendModel>;
1336
+ defaultThemeAlias: string;
1337
+ emailServiceProviders: Array<EmailServiceProviderResponseFrontendModel>;
1338
+ isBaseUrlOverridden: boolean;
1339
+ isEmailServiceProviderOverridden: boolean;
1340
+ overriddenEmailServiceProviderSettings: {
1341
+ [key: string]: boolean;
1342
+ };
1343
+ };
1344
+ export type WorkspaceManageValueFrontendModel = {
1345
+ name: string;
1346
+ key: string;
1347
+ access: Array<WorkspaceAccessResponseFrontendModel>;
1348
+ customFields: Array<WorkspaceMergeFieldSettingValueFrontendModel>;
1349
+ campaignMergeFieldProviders: Array<string>;
1350
+ recipientProviders: Array<string>;
1351
+ allEmailControls: boolean;
1352
+ emailControls: Array<string>;
1353
+ themes: Array<string>;
1354
+ defaultTheme: string;
1355
+ transactionalMergeFieldProviders: Array<string>;
1356
+ transactionalAllEmailControls: boolean;
1357
+ transactionalEmailControls: Array<string>;
1358
+ transactionalThemes: Array<string>;
1359
+ transactionalDefaultTheme: string;
1360
+ emailServiceProvider: WorkspaceSettingsEmailProviderValueFrontendModel;
1361
+ baseUrl: string;
1362
+ accessIdsRemoved: Array<number>;
1363
+ };
1364
+ export type WorkspaceMergeFieldSettingValueFrontendModel = {
1365
+ /**
1366
+ * The custom field in ns, ie customField1, customField2 etc. Hidden in the UI
1367
+ */
1368
+ customFieldAlias: string;
1369
+ /**
1370
+ * Friendly label for UI
1371
+ */
1372
+ fieldLabel: string;
1373
+ /**
1374
+ * Merge field alias, to be used in email [foo], [city] etc.
1375
+ */
1376
+ mergeFieldAlias: string;
1377
+ };
1378
+ export type WorkspaceSettingsEmailProviderValueFrontendModel = {
1379
+ alias: string;
1380
+ settings: {
1381
+ [key: string]: unknown;
1382
+ };
1383
+ };
1384
+ export type WorkspaceSettingsResponseFrontendModel = {
1385
+ name: string;
1386
+ key: string;
1387
+ licenseDetails?: LicenseDetailsResponseFrontendModel | null;
1388
+ licenseStatus?: string | null;
1389
+ userIsAdmin: boolean;
1390
+ defaultSenderName?: string | null;
1391
+ defaultSenderEmail?: string | null;
1392
+ defaultSenderForce: boolean;
1393
+ listUnsubscribeEmailOption: string;
1394
+ listUnsubscribeEmailCustom?: string | null;
1395
+ googleAnalyticsTrackingEnabled: boolean;
1396
+ googleAnalyticsSource?: string | null;
1397
+ googleAnalyticsMedium?: string | null;
1398
+ googleAnalyticsName?: string | null;
1399
+ googleAnalyticsContent?: string | null;
1400
+ doubleOptInEnabled: boolean;
1401
+ doubleOptConfirmationUrl?: string | null;
1402
+ doubleOptInTemplate?: Array<TransactionalEmailPropertyEditorValueModel> | null;
1403
+ unsubscribeForceLinkInEmail: boolean;
1404
+ unsubscribeConfirmationUrl?: string | null;
1405
+ transactionalGoogleAnalyticsTrackingEnabled: boolean;
1406
+ transactionalGoogleAnalyticsSource?: string | null;
1407
+ transactionalGoogleAnalyticsMedium?: string | null;
1408
+ transactionalGoogleAnalyticsName?: string | null;
1409
+ transactionalGoogleAnalyticsContent?: string | null;
1410
+ };
1411
+ export type WorkspacesOverviewResponseFrontendModel = {
1412
+ licenseDetails: LicenseDetailsResponseFrontendModel;
1413
+ workspaces: Array<WorkspaceListItemFrontendModel>;
1414
+ };
1415
+ export type AvatarGetAvatarData = {
1416
+ /**
1417
+ * Provide a email
1418
+ */
1419
+ email?: string;
1420
+ };
1421
+ export type AvatarGetAvatarResponse = Array<string>;
1422
+ export type CampaignReportGetOverviewData = {
1423
+ campaignKey: string;
1424
+ workspaceKey?: string;
1425
+ };
1426
+ export type CampaignReportGetOverviewResponse = CampaignReportOverviewResponseFrontendModel;
1427
+ export type CampaignReportGetRecipientTimelineData = {
1428
+ campaignKey: string;
1429
+ /**
1430
+ * Provider Recipient Id
1431
+ */
1432
+ pri?: string;
1433
+ };
1434
+ export type CampaignReportGetRecipientTimelineResponse = CampaignReportRecipientTimelineFrontendModel;
1435
+ export type CampaignReportGetRecipientsData = {
1436
+ requestBody?: CampaignReportGetRecipientsRequestFrontendModel;
1437
+ };
1438
+ export type CampaignReportGetRecipientsResponse = CampaignReportRecipientTableFrontendModel;
1439
+ export type DocumentCampaignGetByKeyData = {
1440
+ /**
1441
+ * The key for the content item
1442
+ */
1443
+ campaignKey: string;
1444
+ };
1445
+ export type DocumentCampaignGetByKeyResponse = DocumentCampaignResponseFrontendModel;
1446
+ export type DocumentCampaignCreateCampaignWithCultureData = {
1447
+ /**
1448
+ * The culture to use, like en-us, sv-se
1449
+ */
1450
+ culture: string;
1451
+ /**
1452
+ * The key for the content item
1453
+ */
1454
+ umbracoContentKey: string;
1455
+ };
1456
+ export type DocumentCampaignCreateCampaignWithCultureResponse = DocumentCampaignResponseFrontendModel;
1457
+ export type DocumentCampaignCreateCampaignInvariantData = {
1458
+ /**
1459
+ * The key for the content item
1460
+ */
1461
+ umbracoContentKey: string;
1462
+ };
1463
+ export type DocumentCampaignCreateCampaignInvariantResponse = DocumentCampaignResponseFrontendModel;
1464
+ export type DocumentCampaignGetOverviewForData = {
1465
+ umbracoContentKey: string;
1466
+ };
1467
+ export type DocumentCampaignGetOverviewForResponse = DocumentCampaignsOverviewResponseFrontendModel;
1468
+ export type DocumentCampaignGetPagedSentCampaignsData = {
1469
+ /**
1470
+ * Page, content key and more
1471
+ */
1472
+ requestBody?: DocumentCampaignSentCampaignsRequestFrontendModel;
1473
+ };
1474
+ export type DocumentCampaignGetPagedSentCampaignsResponse = DocumentCampaignSentCampaignsResponseFrontendModel;
1475
+ export type DocumentCampaignSaveData = {
1476
+ requestBody?: DocumentCampaignValueFrontendModel;
1477
+ };
1478
+ export type DocumentCampaignSaveResponse = DocumentCampaignValueFrontendModel;
1479
+ export type DocumentCampaignSaveAndSendOrScheduleData = {
1480
+ requestBody?: DocumentCampaignSaveAndSendRequestFrontendModel;
1481
+ };
1482
+ export type DocumentCampaignSaveAndSendOrScheduleResponse = CampaignSaveAndSendResponseFrontendModel;
1483
+ export type DocumentCampaignSendTestEmailData = {
1484
+ requestBody?: CampaignSendTestRequestFrontendModel;
1485
+ };
1486
+ export type DocumentCampaignSendTestEmailResponse = boolean;
1487
+ export type EditorCampaignGetByKeyData = {
1488
+ /**
1489
+ * (Entity) Campaign Guid or -1 for new campaign
1490
+ */
1491
+ e?: string;
1492
+ /**
1493
+ * Workspace key
1494
+ */
1495
+ workspaceKey: string;
1496
+ };
1497
+ export type EditorCampaignGetByKeyResponse = EditorCampaignResponseFrontendModel;
1498
+ export type EditorCampaignDeleteData = {
1499
+ /**
1500
+ * Campaign id to remove
1501
+ */
1502
+ e?: number;
1503
+ /**
1504
+ * Workspace key
1505
+ */
1506
+ workspaceKey: string;
1507
+ };
1508
+ export type EditorCampaignDeleteResponse = boolean;
1509
+ export type EditorCampaignDuplicateData = {
1510
+ /**
1511
+ * Campaign id to duplicate
1512
+ */
1513
+ e?: number;
1514
+ /**
1515
+ * Workspace key
1516
+ */
1517
+ workspaceKey: string;
1518
+ };
1519
+ export type EditorCampaignDuplicateResponse = boolean;
1520
+ export type EditorCampaignGetOverviewData = {
1521
+ /**
1522
+ * Represents a workspace ID
1523
+ */
1524
+ workspaceKey: string;
1525
+ };
1526
+ export type EditorCampaignGetOverviewResponse = CampaignsSectionResponseFrontendModel;
1527
+ export type EditorCampaignGetPagedCampaignListItemsData = {
1528
+ requestBody?: GetCampaignListRequestFrontendModel;
1529
+ };
1530
+ export type EditorCampaignGetPagedCampaignListItemsResponse = PageCampaignEmailItemResponseFrontendModel;
1531
+ export type EditorCampaignPocExceptionResponse = PersonModel;
1532
+ export type EditorCampaignPocValidationData = {
1533
+ requestBody?: PersonModel;
1534
+ };
1535
+ export type EditorCampaignPocValidationResponse = boolean;
1536
+ export type EditorCampaignGetRecipientListsData = {
1537
+ /**
1538
+ * The current workspace id
1539
+ */
1540
+ workspaceKey: string;
1541
+ };
1542
+ export type EditorCampaignGetRecipientListsResponse = Array<RecipientListProviderResponseFrontendModel>;
1543
+ export type EditorCampaignRenderPreviewData = {
1544
+ campaignKey: string;
1545
+ };
1546
+ export type EditorCampaignRenderPreviewResponse = string;
1547
+ export type EditorCampaignSaveData = {
1548
+ requestBody?: EditorCampaignEditValueFrontendModel;
1549
+ };
1550
+ export type EditorCampaignSaveResponse = EditorCampaignEditValueFrontendModel;
1551
+ export type EditorCampaignSaveAndSendOrScheduleData = {
1552
+ requestBody?: CampaignSaveAndSendRequestFrontendModel;
1553
+ };
1554
+ export type EditorCampaignSaveAndSendOrScheduleResponse = CampaignSaveAndSendResponseFrontendModel;
1555
+ export type EditorCampaignSendTestEmailData = {
1556
+ requestBody?: CampaignSendTestRequestFrontendModel;
1557
+ };
1558
+ export type EditorCampaignSendTestEmailResponse = boolean;
1559
+ export type EmailEditorGetImageControlDataData = {
1560
+ requestBody?: ImageEmailControlDataModel;
1561
+ };
1562
+ export type EmailEditorGetImageControlDataResponse = ImageEmailControlDataModel;
1563
+ export type EmailEditorGetMacrosData = {
1564
+ requestBody?: GetMacroRequestParametersModel;
1565
+ };
1566
+ export type EmailEditorGetMacrosResponse = Array<ListItemIdAndLabelValueFrontendModel>;
1567
+ export type ImportRecipientsImportFixedIssueData = {
1568
+ requestBody?: ImportRecipientIssuesValueFrontendModel;
1569
+ };
1570
+ export type ImportRecipientsImportFixedIssueResponse = Array<number>;
1571
+ export type ImportRecipientsPerformFileImportData = {
1572
+ requestBody?: ImportRecipientsPerformFileImportRequestFrontendModel;
1573
+ };
1574
+ export type ImportRecipientsPerformFileImportResponse = ImportRecipientsResultsResponseFrontendModel;
1575
+ export type ImportRecipientsUploadFileAndParseForMappingData = {
1576
+ formData?: {
1577
+ Model: string;
1578
+ File: Blob | File;
1579
+ };
1580
+ };
1581
+ export type ImportRecipientsUploadFileAndParseForMappingResponse = ImportRecipientsColumnMappingResponseFrontendModel;
1582
+ export type ImportRecipientsUploadPastedAndParseForMappingData = {
1583
+ requestBody?: UploadPastedRawTextRequestFrontendModel;
1584
+ };
1585
+ export type ImportRecipientsUploadPastedAndParseForMappingResponse = ImportRecipientsColumnMappingResponseFrontendModel;
1586
+ export type MailingListPickerGetModelData = {
1587
+ /**
1588
+ * The current selection or null (if empty)
1589
+ */
1590
+ requestBody?: Array<MailingListPropertyEditorValueModel>;
1591
+ };
1592
+ export type MailingListPickerGetModelResponse = MailingListPropertyEditorResponseFrontendModel;
1593
+ export type MailingListGetDetailsData = {
1594
+ /**
1595
+ * MailingList-key (e = Entity)
1596
+ */
1597
+ e?: string;
1598
+ /**
1599
+ * Page
1600
+ */
1601
+ p?: number;
1602
+ /**
1603
+ * status
1604
+ */
1605
+ s?: string;
1606
+ /**
1607
+ * Search Text
1608
+ */
1609
+ st?: string;
1610
+ /**
1611
+ * Workspace key
1612
+ */
1613
+ workspaceKey: string;
1614
+ };
1615
+ export type MailingListGetDetailsResponse = MailingListDetailsResponseFrontendModel;
1616
+ export type MailingListGetOverviewData = {
1617
+ /**
1618
+ * Workspace key
1619
+ */
1620
+ workspaceKey: string;
1621
+ };
1622
+ export type MailingListGetOverviewResponse = MailingListOverviewSectionResponseFrontendModel;
1623
+ export type MailingListGetPagedSubscribersData = {
1624
+ e?: string;
1625
+ page?: number;
1626
+ searchText?: string;
1627
+ status?: string;
1628
+ workspaceKey: string;
1629
+ };
1630
+ export type MailingListGetPagedSubscribersResponse = PageMailingListSubscriberItemFrontendModel;
1631
+ export type MailingListRemoveData = {
1632
+ key: string;
1633
+ };
1634
+ export type MailingListRemoveResponse = boolean;
1635
+ export type MailingListSaveData = {
1636
+ requestBody?: MailingListSaveRequestFrontendModel;
1637
+ };
1638
+ export type MailingListSaveResponse = string;
1639
+ export type PackageGetMenuTreeResponse = Array<TreeItemModel>;
1640
+ export type PackageGetPackageSettingsResponse = PackageSettingsFrontendModel;
1641
+ export type RecipientGetDetailsData = {
1642
+ recipientKey?: string;
1643
+ workspaceKey: string;
1644
+ };
1645
+ export type RecipientGetDetailsResponse = RecipientDetailsResponseFrontendModel;
1646
+ export type RecipientGetOverviewData = {
1647
+ workspaceKey: string;
1648
+ };
1649
+ export type RecipientGetOverviewResponse = RecipientsOverviewSectionResponseFrontendModel;
1650
+ export type RecipientGetPagedRecipientsData = {
1651
+ /**
1652
+ * Filter
1653
+ */
1654
+ filter?: string;
1655
+ /**
1656
+ * Page
1657
+ */
1658
+ page?: number;
1659
+ /**
1660
+ * Search text
1661
+ */
1662
+ searchText?: string;
1663
+ /**
1664
+ * Workspace key
1665
+ */
1666
+ workspaceKey: string;
1667
+ };
1668
+ export type RecipientGetPagedRecipientsResponse = PagedRecipientsModel;
1669
+ export type RecipientRemoveData = {
1670
+ recipientKey: string;
1671
+ };
1672
+ export type RecipientRemoveResponse = boolean;
1673
+ export type RecipientResetErrorsForRecipientData = {
1674
+ recipientKey: string;
1675
+ };
1676
+ export type RecipientResetErrorsForRecipientResponse = RecipientDetailsResponseFrontendModel;
1677
+ export type RecipientSaveData = {
1678
+ requestBody?: SaveRecipientRequestFrontendModel;
1679
+ };
1680
+ export type RecipientSaveResponse = RecipientDetailsResponseFrontendModel;
1681
+ export type RecipientsExportGetDetailsData = {
1682
+ /**
1683
+ * MailingList Key (e = Entity)
1684
+ */
1685
+ e?: string;
1686
+ /**
1687
+ * Workspace key
1688
+ */
1689
+ workspaceKey: string;
1690
+ };
1691
+ export type RecipientsExportGetDetailsResponse = Blob | File;
1692
+ export type TransactionalPickerGetModelData = {
1693
+ /**
1694
+ * The current selection or null (if empty)
1695
+ */
1696
+ requestBody?: Array<TransactionalEmailPropertyEditorValueModel>;
1697
+ };
1698
+ export type TransactionalPickerGetModelResponse = TransactionalEmailPropertyEditorModelResponseFrontendModel;
1699
+ export type TransactionalCreateData = {
1700
+ requestBody?: TransactionalCreateRequestFrontendModel;
1701
+ };
1702
+ export type TransactionalCreateResponse = string;
1703
+ export type TransactionalDeleteData = {
1704
+ /**
1705
+ * Transactional email id to remove
1706
+ */
1707
+ transactionalEmailKey?: string;
1708
+ /**
1709
+ * Workspace key
1710
+ */
1711
+ workspaceKey: string;
1712
+ };
1713
+ export type TransactionalDeleteResponse = boolean;
1714
+ export type TransactionalGetDetailsData = {
1715
+ /**
1716
+ * The Transactional email key
1717
+ */
1718
+ e?: string;
1719
+ /**
1720
+ * The workspace key
1721
+ */
1722
+ workspaceKey: string;
1723
+ };
1724
+ export type TransactionalGetDetailsResponse = TransactionalEditSectionResponseFrontendModel;
1725
+ export type TransactionalDuplicateData = {
1726
+ /**
1727
+ * Transactional email id (int)
1728
+ */
1729
+ e?: number;
1730
+ workspaceKey: string;
1731
+ };
1732
+ export type TransactionalDuplicateResponse = boolean;
1733
+ export type TransactionalGetFieldsByAliasData = {
1734
+ providerItemAlias: string;
1735
+ };
1736
+ export type TransactionalGetFieldsByAliasResponse = Array<MergeFieldModel>;
1737
+ export type TransactionalGetPagedTransactionalListItemsData = {
1738
+ requestBody?: TransactionalGetListRequestFrontendModel;
1739
+ };
1740
+ export type TransactionalGetPagedTransactionalListItemsResponse = PageTransactionalEmailItemResponseModel;
1741
+ export type TransactionalGetPagedTransactionalLogItemsData = {
1742
+ requestBody?: TransactionalGetLogListRequestFrontendModel;
1743
+ };
1744
+ export type TransactionalGetPagedTransactionalLogItemsResponse = PageTransactionalLogItemFrontendModel;
1745
+ export type TransactionalRenderTrackingTransactionalEmailData = {
1746
+ /**
1747
+ * Tracking Transactional Email Id
1748
+ */
1749
+ trackingTransactionalEmailId: number;
1750
+ };
1751
+ export type TransactionalRenderTrackingTransactionalEmailResponse = string;
1752
+ export type TransactionalRenderTransactionalData = {
1753
+ transactionalKey: string;
1754
+ };
1755
+ export type TransactionalRenderTransactionalResponse = string;
1756
+ export type TransactionalResendData = {
1757
+ requestBody?: ResendTransactionalRequestFrontendModel;
1758
+ };
1759
+ export type TransactionalResendResponse = boolean;
1760
+ export type TransactionalSaveData = {
1761
+ requestBody?: TransactionalValueFrontendModel;
1762
+ };
1763
+ export type TransactionalSaveResponse = TransactionalValueFrontendModel;
1764
+ export type TransactionalSendTestEmailData = {
1765
+ requestBody?: TransactionalSendTestRequestFrontendModel;
1766
+ };
1767
+ export type TransactionalSendTestEmailResponse = boolean;
1768
+ export type TransactionalGetTrackingTransactionalData = {
1769
+ trackingTransactionalId: number;
1770
+ };
1771
+ export type TransactionalGetTrackingTransactionalResponse = TrackingTransactionalResponseFrontendModel;
1772
+ export type TransactionalGetTransactionalActivitiesData = {
1773
+ /**
1774
+ * Workspace Key
1775
+ */
1776
+ workspaceKey: string;
1777
+ };
1778
+ export type TransactionalGetTransactionalActivitiesResponse = TransactionalOverviewSectionFrontendModel;
1779
+ export type TransactionalGetTransactionalEmailsOverviewData = {
1780
+ /**
1781
+ * Workspace Key
1782
+ */
1783
+ workspaceKey: string;
1784
+ };
1785
+ export type TransactionalGetTransactionalEmailsOverviewResponse = TransactionalEmailsSectionResponseFrontendModel;
1786
+ export type WorkspaceCreateNewData = {
1787
+ requestBody?: CreateNewWorkspaceRequestFrontendModel;
1788
+ };
1789
+ export type WorkspaceCreateNewResponse = WorkspaceListItemFrontendModel;
1790
+ export type WorkspaceGetDashboardOverviewData = {
1791
+ /**
1792
+ * The workspace id
1793
+ */
1794
+ workspaceKey: string;
1795
+ };
1796
+ export type WorkspaceGetDashboardOverviewResponse = WorkspaceDashboardOverviewResponseFrontendModel;
1797
+ export type WorkspaceGetDashboardSectionResponse = WorkspaceDashboardOverviewResponseFrontendModel;
1798
+ export type WorkspaceLicenseConnectData = {
1799
+ requestBody?: LicensePerformConnectRequestFrontendModel;
1800
+ };
1801
+ export type WorkspaceLicenseConnectResponse = LicenseDetailsResponseFrontendModel;
1802
+ export type WorkspaceLicenseLoginData = {
1803
+ requestBody?: LicenseLoginRequestFrontendModel;
1804
+ };
1805
+ export type WorkspaceLicenseLoginResponse = LicensesResponseFrontendModel;
1806
+ export type WorkspaceGetManageData = {
1807
+ /**
1808
+ * Workspace Key
1809
+ */
1810
+ workspaceKey: string;
1811
+ };
1812
+ export type WorkspaceGetManageResponse = WorkspaceManageOverviewResponseFrontendModel;
1813
+ export type WorkspaceGetOverviewResponse = WorkspacesOverviewResponseFrontendModel;
1814
+ export type WorkspaceRemoveData = {
1815
+ key: string;
1816
+ };
1817
+ export type WorkspaceRemoveResponse = boolean;
1818
+ export type WorkspaceSaveManageData = {
1819
+ requestBody?: WorkspaceManageValueFrontendModel;
1820
+ };
1821
+ export type WorkspaceSaveManageResponse = WorkspaceManageOverviewResponseFrontendModel;
1822
+ export type WorkspaceSaveSettingsData = {
1823
+ requestBody?: WorkspaceSettingsResponseFrontendModel;
1824
+ };
1825
+ export type WorkspaceSaveSettingsResponse = WorkspaceSettingsResponseFrontendModel;
1826
+ export type WorkspaceGetSettingsData = {
1827
+ workspaceKey: string;
1828
+ };
1829
+ export type WorkspaceGetSettingsResponse = WorkspaceSettingsResponseFrontendModel;
1830
+ export type WorkspaceTestPop3ServerData = {
1831
+ requestBody?: TestPop3ServerRequestFrontendModel;
1832
+ };
1833
+ export type WorkspaceTestPop3ServerResponse = boolean;
1834
+ export type $OpenApiTs = {
1835
+ '/umbraco/management/api/newsletter-studio/avatar/get-avatar': {
1836
+ get: {
1837
+ req: AvatarGetAvatarData;
1838
+ res: {
1839
+ /**
1840
+ * OK
1841
+ */
1842
+ 200: Array<string>;
1843
+ };
1844
+ };
1845
+ };
1846
+ '/umbraco/management/api/newsletter-studio/campaign-report/overview/{campaignKey}': {
1847
+ get: {
1848
+ req: CampaignReportGetOverviewData;
1849
+ res: {
1850
+ /**
1851
+ * OK
1852
+ */
1853
+ 200: CampaignReportOverviewResponseFrontendModel;
1854
+ };
1855
+ };
1856
+ };
1857
+ '/umbraco/management/api/newsletter-studio/campaign-report/recipient-timeline/{campaignKey}': {
1858
+ post: {
1859
+ req: CampaignReportGetRecipientTimelineData;
1860
+ res: {
1861
+ /**
1862
+ * OK
1863
+ */
1864
+ 200: CampaignReportRecipientTimelineFrontendModel;
1865
+ };
1866
+ };
1867
+ };
1868
+ '/umbraco/management/api/newsletter-studio/campaign-report/recipients': {
1869
+ post: {
1870
+ req: CampaignReportGetRecipientsData;
1871
+ res: {
1872
+ /**
1873
+ * OK
1874
+ */
1875
+ 200: CampaignReportRecipientTableFrontendModel;
1876
+ };
1877
+ };
1878
+ };
1879
+ '/umbraco/management/api/newsletter-studio/document-campaign/by-key/{campaignKey}': {
1880
+ get: {
1881
+ req: DocumentCampaignGetByKeyData;
1882
+ res: {
1883
+ /**
1884
+ * OK
1885
+ */
1886
+ 200: DocumentCampaignResponseFrontendModel;
1887
+ };
1888
+ };
1889
+ };
1890
+ '/umbraco/management/api/newsletter-studio/document-campaign/create-campaign-from-with-culture/{umbracoContentKey}/{culture}': {
1891
+ get: {
1892
+ req: DocumentCampaignCreateCampaignWithCultureData;
1893
+ res: {
1894
+ /**
1895
+ * OK
1896
+ */
1897
+ 200: DocumentCampaignResponseFrontendModel;
1898
+ };
1899
+ };
1900
+ };
1901
+ '/umbraco/management/api/newsletter-studio/document-campaign/create-campaign-from/{umbracoContentKey}': {
1902
+ get: {
1903
+ req: DocumentCampaignCreateCampaignInvariantData;
1904
+ res: {
1905
+ /**
1906
+ * OK
1907
+ */
1908
+ 200: DocumentCampaignResponseFrontendModel;
1909
+ };
1910
+ };
1911
+ };
1912
+ '/umbraco/management/api/newsletter-studio/document-campaign/overview-for/{umbracoContentKey}': {
1913
+ get: {
1914
+ req: DocumentCampaignGetOverviewForData;
1915
+ res: {
1916
+ /**
1917
+ * OK
1918
+ */
1919
+ 200: DocumentCampaignsOverviewResponseFrontendModel;
1920
+ };
1921
+ };
1922
+ };
1923
+ '/umbraco/management/api/newsletter-studio/document-campaign/paged-sent-campaigns': {
1924
+ post: {
1925
+ req: DocumentCampaignGetPagedSentCampaignsData;
1926
+ res: {
1927
+ /**
1928
+ * OK
1929
+ */
1930
+ 200: DocumentCampaignSentCampaignsResponseFrontendModel;
1931
+ };
1932
+ };
1933
+ };
1934
+ '/umbraco/management/api/newsletter-studio/document-campaign/save': {
1935
+ post: {
1936
+ req: DocumentCampaignSaveData;
1937
+ res: {
1938
+ /**
1939
+ * OK
1940
+ */
1941
+ 200: DocumentCampaignValueFrontendModel;
1942
+ };
1943
+ };
1944
+ };
1945
+ '/umbraco/management/api/newsletter-studio/document-campaign/save-and-send-or-schedule': {
1946
+ post: {
1947
+ req: DocumentCampaignSaveAndSendOrScheduleData;
1948
+ res: {
1949
+ /**
1950
+ * OK
1951
+ */
1952
+ 200: CampaignSaveAndSendResponseFrontendModel;
1953
+ };
1954
+ };
1955
+ };
1956
+ '/umbraco/management/api/newsletter-studio/document-campaign/save-test-email': {
1957
+ post: {
1958
+ req: DocumentCampaignSendTestEmailData;
1959
+ res: {
1960
+ /**
1961
+ * OK
1962
+ */
1963
+ 200: boolean;
1964
+ };
1965
+ };
1966
+ };
1967
+ '/umbraco/management/api/newsletter-studio/editor-campaign/by-key/{workspaceKey}': {
1968
+ get: {
1969
+ req: EditorCampaignGetByKeyData;
1970
+ res: {
1971
+ /**
1972
+ * OK
1973
+ */
1974
+ 200: EditorCampaignResponseFrontendModel;
1975
+ };
1976
+ };
1977
+ };
1978
+ '/umbraco/management/api/newsletter-studio/editor-campaign/delete/{workspaceKey}': {
1979
+ post: {
1980
+ req: EditorCampaignDeleteData;
1981
+ res: {
1982
+ /**
1983
+ * OK
1984
+ */
1985
+ 200: boolean;
1986
+ };
1987
+ };
1988
+ };
1989
+ '/umbraco/management/api/newsletter-studio/editor-campaign/duplicate/{workspaceKey}': {
1990
+ post: {
1991
+ req: EditorCampaignDuplicateData;
1992
+ res: {
1993
+ /**
1994
+ * OK
1995
+ */
1996
+ 200: boolean;
1997
+ };
1998
+ };
1999
+ };
2000
+ '/umbraco/management/api/newsletter-studio/editor-campaign/overview/{workspaceKey}': {
2001
+ post: {
2002
+ req: EditorCampaignGetOverviewData;
2003
+ res: {
2004
+ /**
2005
+ * OK
2006
+ */
2007
+ 200: CampaignsSectionResponseFrontendModel;
2008
+ };
2009
+ };
2010
+ };
2011
+ '/umbraco/management/api/newsletter-studio/editor-campaign/paged-campaign-list-items': {
2012
+ post: {
2013
+ req: EditorCampaignGetPagedCampaignListItemsData;
2014
+ res: {
2015
+ /**
2016
+ * OK
2017
+ */
2018
+ 200: PageCampaignEmailItemResponseFrontendModel;
2019
+ };
2020
+ };
2021
+ };
2022
+ '/umbraco/management/api/newsletter-studio/editor-campaign/poc/exception': {
2023
+ get: {
2024
+ res: {
2025
+ /**
2026
+ * OK
2027
+ */
2028
+ 200: PersonModel;
2029
+ };
2030
+ };
2031
+ };
2032
+ '/umbraco/management/api/newsletter-studio/editor-campaign/poc/validation': {
2033
+ post: {
2034
+ req: EditorCampaignPocValidationData;
2035
+ res: {
2036
+ /**
2037
+ * OK
2038
+ */
2039
+ 200: boolean;
2040
+ };
2041
+ };
2042
+ };
2043
+ '/umbraco/management/api/newsletter-studio/editor-campaign/recipient-lists/{workspaceKey}': {
2044
+ get: {
2045
+ req: EditorCampaignGetRecipientListsData;
2046
+ res: {
2047
+ /**
2048
+ * OK
2049
+ */
2050
+ 200: Array<RecipientListProviderResponseFrontendModel>;
2051
+ };
2052
+ };
2053
+ };
2054
+ '/umbraco/management/api/newsletter-studio/editor-campaign/render-preview/{campaignKey}': {
2055
+ get: {
2056
+ req: EditorCampaignRenderPreviewData;
2057
+ res: {
2058
+ /**
2059
+ * OK
2060
+ */
2061
+ 200: string;
2062
+ };
2063
+ };
2064
+ };
2065
+ '/umbraco/management/api/newsletter-studio/editor-campaign/save': {
2066
+ post: {
2067
+ req: EditorCampaignSaveData;
2068
+ res: {
2069
+ /**
2070
+ * OK
2071
+ */
2072
+ 200: EditorCampaignEditValueFrontendModel;
2073
+ };
2074
+ };
2075
+ };
2076
+ '/umbraco/management/api/newsletter-studio/editor-campaign/save-and-send-or-schedule': {
2077
+ post: {
2078
+ req: EditorCampaignSaveAndSendOrScheduleData;
2079
+ res: {
2080
+ /**
2081
+ * OK
2082
+ */
2083
+ 200: CampaignSaveAndSendResponseFrontendModel;
2084
+ };
2085
+ };
2086
+ };
2087
+ '/umbraco/management/api/newsletter-studio/editor-campaign/send-test-email': {
2088
+ post: {
2089
+ req: EditorCampaignSendTestEmailData;
2090
+ res: {
2091
+ /**
2092
+ * OK
2093
+ */
2094
+ 200: boolean;
2095
+ };
2096
+ };
2097
+ };
2098
+ '/umbraco/management/api/newsletter-studio/email-editor/get-image-control-data': {
2099
+ post: {
2100
+ req: EmailEditorGetImageControlDataData;
2101
+ res: {
2102
+ /**
2103
+ * OK
2104
+ */
2105
+ 200: ImageEmailControlDataModel;
2106
+ };
2107
+ };
2108
+ };
2109
+ '/umbraco/management/api/newsletter-studio/email-editor/get-macros': {
2110
+ post: {
2111
+ req: EmailEditorGetMacrosData;
2112
+ res: {
2113
+ /**
2114
+ * OK
2115
+ */
2116
+ 200: Array<ListItemIdAndLabelValueFrontendModel>;
2117
+ };
2118
+ };
2119
+ };
2120
+ '/umbraco/management/api/newsletter-studio/import-recipients/import-fixed-issue': {
2121
+ post: {
2122
+ req: ImportRecipientsImportFixedIssueData;
2123
+ res: {
2124
+ /**
2125
+ * OK
2126
+ */
2127
+ 200: Array<number>;
2128
+ };
2129
+ };
2130
+ };
2131
+ '/umbraco/management/api/newsletter-studio/import-recipients/perform-file-import': {
2132
+ post: {
2133
+ req: ImportRecipientsPerformFileImportData;
2134
+ res: {
2135
+ /**
2136
+ * OK
2137
+ */
2138
+ 200: ImportRecipientsResultsResponseFrontendModel;
2139
+ };
2140
+ };
2141
+ };
2142
+ '/umbraco/management/api/newsletter-studio/import-recipients/upload-file-and-parse-for-mapping': {
2143
+ post: {
2144
+ req: ImportRecipientsUploadFileAndParseForMappingData;
2145
+ res: {
2146
+ /**
2147
+ * OK
2148
+ */
2149
+ 200: ImportRecipientsColumnMappingResponseFrontendModel;
2150
+ };
2151
+ };
2152
+ };
2153
+ '/umbraco/management/api/newsletter-studio/import-recipients/upload-pasted-and-parse-for-mapping': {
2154
+ post: {
2155
+ req: ImportRecipientsUploadPastedAndParseForMappingData;
2156
+ res: {
2157
+ /**
2158
+ * OK
2159
+ */
2160
+ 200: ImportRecipientsColumnMappingResponseFrontendModel;
2161
+ };
2162
+ };
2163
+ };
2164
+ '/umbraco/management/api/newsletter-studio/mailing-list-picker/get-model': {
2165
+ post: {
2166
+ req: MailingListPickerGetModelData;
2167
+ res: {
2168
+ /**
2169
+ * OK
2170
+ */
2171
+ 200: MailingListPropertyEditorResponseFrontendModel;
2172
+ };
2173
+ };
2174
+ };
2175
+ '/umbraco/management/api/newsletter-studio/mailing-list/details/{workspaceKey}': {
2176
+ get: {
2177
+ req: MailingListGetDetailsData;
2178
+ res: {
2179
+ /**
2180
+ * OK
2181
+ */
2182
+ 200: MailingListDetailsResponseFrontendModel;
2183
+ };
2184
+ };
2185
+ };
2186
+ '/umbraco/management/api/newsletter-studio/mailing-list/overview/{workspaceKey}': {
2187
+ get: {
2188
+ req: MailingListGetOverviewData;
2189
+ res: {
2190
+ /**
2191
+ * OK
2192
+ */
2193
+ 200: MailingListOverviewSectionResponseFrontendModel;
2194
+ };
2195
+ };
2196
+ };
2197
+ '/umbraco/management/api/newsletter-studio/mailing-list/paged-subscribers/{workspaceKey}': {
2198
+ get: {
2199
+ req: MailingListGetPagedSubscribersData;
2200
+ res: {
2201
+ /**
2202
+ * OK
2203
+ */
2204
+ 200: PageMailingListSubscriberItemFrontendModel;
2205
+ };
2206
+ };
2207
+ };
2208
+ '/umbraco/management/api/newsletter-studio/mailing-list/remove/{key}': {
2209
+ post: {
2210
+ req: MailingListRemoveData;
2211
+ res: {
2212
+ /**
2213
+ * OK
2214
+ */
2215
+ 200: boolean;
2216
+ };
2217
+ };
2218
+ };
2219
+ '/umbraco/management/api/newsletter-studio/mailing-list/save': {
2220
+ post: {
2221
+ req: MailingListSaveData;
2222
+ res: {
2223
+ /**
2224
+ * OK
2225
+ */
2226
+ 200: string;
2227
+ };
2228
+ };
2229
+ };
2230
+ '/umbraco/management/api/newsletter-studio/package/menu-tree': {
2231
+ get: {
2232
+ res: {
2233
+ /**
2234
+ * OK
2235
+ */
2236
+ 200: Array<TreeItemModel>;
2237
+ };
2238
+ };
2239
+ };
2240
+ '/umbraco/management/api/newsletter-studio/package/package-settings': {
2241
+ get: {
2242
+ res: {
2243
+ /**
2244
+ * OK
2245
+ */
2246
+ 200: PackageSettingsFrontendModel;
2247
+ };
2248
+ };
2249
+ };
2250
+ '/umbraco/management/api/newsletter-studio/recipient/details/{workspaceKey}': {
2251
+ get: {
2252
+ req: RecipientGetDetailsData;
2253
+ res: {
2254
+ /**
2255
+ * OK
2256
+ */
2257
+ 200: RecipientDetailsResponseFrontendModel;
2258
+ };
2259
+ };
2260
+ };
2261
+ '/umbraco/management/api/newsletter-studio/recipient/overview/{workspaceKey}': {
2262
+ get: {
2263
+ req: RecipientGetOverviewData;
2264
+ res: {
2265
+ /**
2266
+ * OK
2267
+ */
2268
+ 200: RecipientsOverviewSectionResponseFrontendModel;
2269
+ };
2270
+ };
2271
+ };
2272
+ '/umbraco/management/api/newsletter-studio/recipient/paged-recipients/{workspaceKey}': {
2273
+ get: {
2274
+ req: RecipientGetPagedRecipientsData;
2275
+ res: {
2276
+ /**
2277
+ * OK
2278
+ */
2279
+ 200: PagedRecipientsModel;
2280
+ };
2281
+ };
2282
+ };
2283
+ '/umbraco/management/api/newsletter-studio/recipient/remove/{recipientKey}': {
2284
+ get: {
2285
+ req: RecipientRemoveData;
2286
+ res: {
2287
+ /**
2288
+ * OK
2289
+ */
2290
+ 200: boolean;
2291
+ };
2292
+ };
2293
+ };
2294
+ '/umbraco/management/api/newsletter-studio/recipient/reset-errors-for-recipient/{recipientKey}': {
2295
+ get: {
2296
+ req: RecipientResetErrorsForRecipientData;
2297
+ res: {
2298
+ /**
2299
+ * OK
2300
+ */
2301
+ 200: RecipientDetailsResponseFrontendModel;
2302
+ };
2303
+ };
2304
+ };
2305
+ '/umbraco/management/api/newsletter-studio/recipient/save': {
2306
+ post: {
2307
+ req: RecipientSaveData;
2308
+ res: {
2309
+ /**
2310
+ * OK
2311
+ */
2312
+ 200: RecipientDetailsResponseFrontendModel;
2313
+ };
2314
+ };
2315
+ };
2316
+ '/umbraco/management/api/newsletter-studio/recipients-export/get-details/{workspaceKey}': {
2317
+ get: {
2318
+ req: RecipientsExportGetDetailsData;
2319
+ res: {
2320
+ /**
2321
+ * OK
2322
+ */
2323
+ 200: Blob | File;
2324
+ };
2325
+ };
2326
+ };
2327
+ '/umbraco/management/api/newsletter-studio/transactional-picker/get-model': {
2328
+ post: {
2329
+ req: TransactionalPickerGetModelData;
2330
+ res: {
2331
+ /**
2332
+ * OK
2333
+ */
2334
+ 200: TransactionalEmailPropertyEditorModelResponseFrontendModel;
2335
+ };
2336
+ };
2337
+ };
2338
+ '/umbraco/management/api/newsletter-studio/transactional/create': {
2339
+ post: {
2340
+ req: TransactionalCreateData;
2341
+ res: {
2342
+ /**
2343
+ * OK
2344
+ */
2345
+ 200: string;
2346
+ };
2347
+ };
2348
+ };
2349
+ '/umbraco/management/api/newsletter-studio/transactional/delete/{workspaceKey}': {
2350
+ post: {
2351
+ req: TransactionalDeleteData;
2352
+ res: {
2353
+ /**
2354
+ * OK
2355
+ */
2356
+ 200: boolean;
2357
+ };
2358
+ };
2359
+ };
2360
+ '/umbraco/management/api/newsletter-studio/transactional/details/{workspaceKey}': {
2361
+ get: {
2362
+ req: TransactionalGetDetailsData;
2363
+ res: {
2364
+ /**
2365
+ * OK
2366
+ */
2367
+ 200: TransactionalEditSectionResponseFrontendModel;
2368
+ };
2369
+ };
2370
+ };
2371
+ '/umbraco/management/api/newsletter-studio/transactional/duplicate/{workspaceKey}': {
2372
+ post: {
2373
+ req: TransactionalDuplicateData;
2374
+ res: {
2375
+ /**
2376
+ * OK
2377
+ */
2378
+ 200: boolean;
2379
+ };
2380
+ };
2381
+ };
2382
+ '/umbraco/management/api/newsletter-studio/transactional/fields-by-id/{providerItemAlias}': {
2383
+ get: {
2384
+ req: TransactionalGetFieldsByAliasData;
2385
+ res: {
2386
+ /**
2387
+ * OK
2388
+ */
2389
+ 200: Array<MergeFieldModel>;
2390
+ };
2391
+ };
2392
+ };
2393
+ '/umbraco/management/api/newsletter-studio/transactional/paged-transactional-list-items': {
2394
+ post: {
2395
+ req: TransactionalGetPagedTransactionalListItemsData;
2396
+ res: {
2397
+ /**
2398
+ * OK
2399
+ */
2400
+ 200: PageTransactionalEmailItemResponseModel;
2401
+ };
2402
+ };
2403
+ };
2404
+ '/umbraco/management/api/newsletter-studio/transactional/paged-transactional-log-items': {
2405
+ post: {
2406
+ req: TransactionalGetPagedTransactionalLogItemsData;
2407
+ res: {
2408
+ /**
2409
+ * OK
2410
+ */
2411
+ 200: PageTransactionalLogItemFrontendModel;
2412
+ };
2413
+ };
2414
+ };
2415
+ '/umbraco/management/api/newsletter-studio/transactional/render-tracking-transactional/{trackingTransactionalEmailId}': {
2416
+ get: {
2417
+ req: TransactionalRenderTrackingTransactionalEmailData;
2418
+ res: {
2419
+ /**
2420
+ * OK
2421
+ */
2422
+ 200: string;
2423
+ };
2424
+ };
2425
+ };
2426
+ '/umbraco/management/api/newsletter-studio/transactional/render-transactional/{transactionalKey}': {
2427
+ get: {
2428
+ req: TransactionalRenderTransactionalData;
2429
+ res: {
2430
+ /**
2431
+ * OK
2432
+ */
2433
+ 200: string;
2434
+ };
2435
+ };
2436
+ };
2437
+ '/umbraco/management/api/newsletter-studio/transactional/resend': {
2438
+ post: {
2439
+ req: TransactionalResendData;
2440
+ res: {
2441
+ /**
2442
+ * OK
2443
+ */
2444
+ 200: boolean;
2445
+ };
2446
+ };
2447
+ };
2448
+ '/umbraco/management/api/newsletter-studio/transactional/save': {
2449
+ post: {
2450
+ req: TransactionalSaveData;
2451
+ res: {
2452
+ /**
2453
+ * OK
2454
+ */
2455
+ 200: TransactionalValueFrontendModel;
2456
+ };
2457
+ };
2458
+ };
2459
+ '/umbraco/management/api/newsletter-studio/transactional/send-test-email': {
2460
+ post: {
2461
+ req: TransactionalSendTestEmailData;
2462
+ res: {
2463
+ /**
2464
+ * OK
2465
+ */
2466
+ 200: boolean;
2467
+ };
2468
+ };
2469
+ };
2470
+ '/umbraco/management/api/newsletter-studio/transactional/tracking-transactional/{trackingTransactionalId}': {
2471
+ get: {
2472
+ req: TransactionalGetTrackingTransactionalData;
2473
+ res: {
2474
+ /**
2475
+ * OK
2476
+ */
2477
+ 200: TrackingTransactionalResponseFrontendModel;
2478
+ };
2479
+ };
2480
+ };
2481
+ '/umbraco/management/api/newsletter-studio/transactional/transactional-activities/{workspaceKey}': {
2482
+ get: {
2483
+ req: TransactionalGetTransactionalActivitiesData;
2484
+ res: {
2485
+ /**
2486
+ * OK
2487
+ */
2488
+ 200: TransactionalOverviewSectionFrontendModel;
2489
+ };
2490
+ };
2491
+ };
2492
+ '/umbraco/management/api/newsletter-studio/transactional/transactional-email-overview/{workspaceKey}': {
2493
+ get: {
2494
+ req: TransactionalGetTransactionalEmailsOverviewData;
2495
+ res: {
2496
+ /**
2497
+ * OK
2498
+ */
2499
+ 200: TransactionalEmailsSectionResponseFrontendModel;
2500
+ };
2501
+ };
2502
+ };
2503
+ '/umbraco/management/api/newsletter-studio/workspace/create-new': {
2504
+ post: {
2505
+ req: WorkspaceCreateNewData;
2506
+ res: {
2507
+ /**
2508
+ * OK
2509
+ */
2510
+ 200: WorkspaceListItemFrontendModel;
2511
+ };
2512
+ };
2513
+ };
2514
+ '/umbraco/management/api/newsletter-studio/workspace/dashboard-overview/{workspaceKey}': {
2515
+ get: {
2516
+ req: WorkspaceGetDashboardOverviewData;
2517
+ res: {
2518
+ /**
2519
+ * OK
2520
+ */
2521
+ 200: WorkspaceDashboardOverviewResponseFrontendModel;
2522
+ };
2523
+ };
2524
+ };
2525
+ '/umbraco/management/api/newsletter-studio/workspace/dashboard-section': {
2526
+ get: {
2527
+ res: {
2528
+ /**
2529
+ * OK
2530
+ */
2531
+ 200: WorkspaceDashboardOverviewResponseFrontendModel;
2532
+ };
2533
+ };
2534
+ };
2535
+ '/umbraco/management/api/newsletter-studio/workspace/license-connect': {
2536
+ post: {
2537
+ req: WorkspaceLicenseConnectData;
2538
+ res: {
2539
+ /**
2540
+ * OK
2541
+ */
2542
+ 200: LicenseDetailsResponseFrontendModel;
2543
+ };
2544
+ };
2545
+ };
2546
+ '/umbraco/management/api/newsletter-studio/workspace/license-login': {
2547
+ post: {
2548
+ req: WorkspaceLicenseLoginData;
2549
+ res: {
2550
+ /**
2551
+ * OK
2552
+ */
2553
+ 200: LicensesResponseFrontendModel;
2554
+ };
2555
+ };
2556
+ };
2557
+ '/umbraco/management/api/newsletter-studio/workspace/manage/{workspaceKey}': {
2558
+ get: {
2559
+ req: WorkspaceGetManageData;
2560
+ res: {
2561
+ /**
2562
+ * OK
2563
+ */
2564
+ 200: WorkspaceManageOverviewResponseFrontendModel;
2565
+ };
2566
+ };
2567
+ };
2568
+ '/umbraco/management/api/newsletter-studio/workspace/overview': {
2569
+ get: {
2570
+ res: {
2571
+ /**
2572
+ * OK
2573
+ */
2574
+ 200: WorkspacesOverviewResponseFrontendModel;
2575
+ };
2576
+ };
2577
+ };
2578
+ '/umbraco/management/api/newsletter-studio/workspace/remove/{key}': {
2579
+ delete: {
2580
+ req: WorkspaceRemoveData;
2581
+ res: {
2582
+ /**
2583
+ * OK
2584
+ */
2585
+ 200: boolean;
2586
+ };
2587
+ };
2588
+ };
2589
+ '/umbraco/management/api/newsletter-studio/workspace/save-manage': {
2590
+ post: {
2591
+ req: WorkspaceSaveManageData;
2592
+ res: {
2593
+ /**
2594
+ * OK
2595
+ */
2596
+ 200: WorkspaceManageOverviewResponseFrontendModel;
2597
+ };
2598
+ };
2599
+ };
2600
+ '/umbraco/management/api/newsletter-studio/workspace/save-settings': {
2601
+ post: {
2602
+ req: WorkspaceSaveSettingsData;
2603
+ res: {
2604
+ /**
2605
+ * OK
2606
+ */
2607
+ 200: WorkspaceSettingsResponseFrontendModel;
2608
+ };
2609
+ };
2610
+ };
2611
+ '/umbraco/management/api/newsletter-studio/workspace/settings/{workspaceKey}': {
2612
+ get: {
2613
+ req: WorkspaceGetSettingsData;
2614
+ res: {
2615
+ /**
2616
+ * OK
2617
+ */
2618
+ 200: WorkspaceSettingsResponseFrontendModel;
2619
+ };
2620
+ };
2621
+ };
2622
+ '/umbraco/management/api/newsletter-studio/workspace/test-pop3-server': {
2623
+ post: {
2624
+ req: WorkspaceTestPop3ServerData;
2625
+ res: {
2626
+ /**
2627
+ * OK
2628
+ */
2629
+ 200: boolean;
2630
+ };
2631
+ };
2632
+ };
2633
+ };