@smartbit4all/ng-client 1.0.21 → 1.0.23

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 (251) hide show
  1. package/README.md +386 -386
  2. package/esm2020/lib/session/api/api/api.mjs +4 -4
  3. package/esm2020/lib/session/api/api/session.service.mjs +306 -306
  4. package/esm2020/lib/session/api/configuration.mjs +91 -91
  5. package/esm2020/lib/session/api/encoder.mjs +19 -19
  6. package/esm2020/lib/session/api/index.mjs +3 -3
  7. package/esm2020/lib/session/api/model/accountInfo.mjs +13 -13
  8. package/esm2020/lib/session/api/model/apiError.mjs +13 -13
  9. package/esm2020/lib/session/api/model/authenticationProviderData.mjs +13 -13
  10. package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +2 -2
  11. package/esm2020/lib/session/api/model/models.mjs +9 -9
  12. package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +13 -13
  13. package/esm2020/lib/session/api/model/session.mjs +2 -2
  14. package/esm2020/lib/session/api/model/sessionInfoData.mjs +2 -2
  15. package/esm2020/lib/session/api/model/userActivityLog.mjs +13 -13
  16. package/esm2020/lib/session/api/param.mjs +2 -2
  17. package/esm2020/lib/session/api/variables.mjs +9 -9
  18. package/esm2020/lib/session/cookie-service/smart-cookie.service.mjs +225 -225
  19. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +90 -90
  20. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +43 -43
  21. package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +40 -40
  22. package/esm2020/lib/session/dev-tool/smart-dev-tool.interceptor.mjs +52 -52
  23. package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +161 -161
  24. package/esm2020/lib/session/projects.mjs +12 -12
  25. package/esm2020/lib/session/smart-error-catching.interceptor.mjs +71 -71
  26. package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +36 -36
  27. package/esm2020/lib/session/smart-session-handler.service.mjs +6 -6
  28. package/esm2020/lib/session/smart-session.module.mjs +74 -74
  29. package/esm2020/lib/session/smart-session.service.mjs +204 -204
  30. package/esm2020/lib/session/smart-timer/smart-session-timer.component.mjs +35 -35
  31. package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +51 -51
  32. package/esm2020/lib/smart-client/projects.mjs +6 -6
  33. package/esm2020/lib/smart-client/smart-authentication.service.mjs +15 -15
  34. package/esm2020/lib/smart-client/smart-component-api-client.mjs +150 -150
  35. package/esm2020/lib/smart-client/smart.component.mjs +30 -30
  36. package/esm2020/lib/smart-client/smart.service.mjs +30 -30
  37. package/esm2020/lib/smart-client/smart.subject.mjs +21 -21
  38. package/esm2020/lib/smart-ng-client.module.mjs +20 -20
  39. package/esm2020/lib/smart-ng-client.service.mjs +19 -19
  40. package/esm2020/lib/view-context/api/api/api.mjs +4 -4
  41. package/esm2020/lib/view-context/api/api/view.service.mjs +647 -647
  42. package/esm2020/lib/view-context/api/api.module.mjs +40 -40
  43. package/esm2020/lib/view-context/api/configuration.mjs +91 -91
  44. package/esm2020/lib/view-context/api/encoder.mjs +19 -19
  45. package/esm2020/lib/view-context/api/index.mjs +7 -7
  46. package/esm2020/lib/view-context/api/model/closeResult.mjs +17 -17
  47. package/esm2020/lib/view-context/api/model/componentConstraint.mjs +2 -2
  48. package/esm2020/lib/view-context/api/model/componentModel.mjs +2 -2
  49. package/esm2020/lib/view-context/api/model/componentModelChange.mjs +13 -13
  50. package/esm2020/lib/view-context/api/model/messageData.mjs +2 -2
  51. package/esm2020/lib/view-context/api/model/messageOption.mjs +2 -2
  52. package/esm2020/lib/view-context/api/model/messageOptionType.mjs +17 -17
  53. package/esm2020/lib/view-context/api/model/messageResult.mjs +2 -2
  54. package/esm2020/lib/view-context/api/model/messageType.mjs +18 -18
  55. package/esm2020/lib/view-context/api/model/models.mjs +33 -33
  56. package/esm2020/lib/view-context/api/model/openPendingData.mjs +2 -2
  57. package/esm2020/lib/view-context/api/model/smartLinkData.mjs +2 -2
  58. package/esm2020/lib/view-context/api/model/uiAction.mjs +2 -2
  59. package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +13 -13
  60. package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +16 -16
  61. package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +21 -21
  62. package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +2 -2
  63. package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +2 -2
  64. package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +16 -16
  65. package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +18 -18
  66. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -13
  67. package/esm2020/lib/view-context/api/model/valueSet.mjs +2 -2
  68. package/esm2020/lib/view-context/api/model/view.mjs +2 -2
  69. package/esm2020/lib/view-context/api/model/viewApiError.mjs +13 -13
  70. package/esm2020/lib/view-context/api/model/viewConstraint.mjs +2 -2
  71. package/esm2020/lib/view-context/api/model/viewContext.mjs +2 -2
  72. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +2 -2
  73. package/esm2020/lib/view-context/api/model/viewContextData.mjs +2 -2
  74. package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +2 -2
  75. package/esm2020/lib/view-context/api/model/viewData.mjs +2 -2
  76. package/esm2020/lib/view-context/api/model/viewState.mjs +21 -21
  77. package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +2 -2
  78. package/esm2020/lib/view-context/api/model/viewType.mjs +17 -17
  79. package/esm2020/lib/view-context/api/param.mjs +2 -2
  80. package/esm2020/lib/view-context/api/variables.mjs +9 -9
  81. package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +63 -63
  82. package/esm2020/lib/view-context/projects.mjs +17 -17
  83. package/esm2020/lib/view-context/property-definition-data.mjs +2 -2
  84. package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +30 -30
  85. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +53 -53
  86. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +47 -47
  87. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +119 -119
  88. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +51 -51
  89. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +85 -85
  90. package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +110 -110
  91. package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +7 -7
  92. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +148 -148
  93. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +24 -24
  94. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +44 -44
  95. package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +39 -28
  96. package/esm2020/lib/view-context/smart-view-context.model.mjs +2 -2
  97. package/esm2020/lib/view-context/smart-view-context.module.mjs +84 -84
  98. package/esm2020/lib/view-context/smart-view-context.service.mjs +348 -356
  99. package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +33 -33
  100. package/esm2020/lib/view-context/value-api/api/api.mjs +4 -4
  101. package/esm2020/lib/view-context/value-api/api/value.service.mjs +138 -138
  102. package/esm2020/lib/view-context/value-api/api.module.mjs +40 -40
  103. package/esm2020/lib/view-context/value-api/configuration.mjs +91 -91
  104. package/esm2020/lib/view-context/value-api/encoder.mjs +19 -19
  105. package/esm2020/lib/view-context/value-api/index.mjs +7 -7
  106. package/esm2020/lib/view-context/value-api/model/models.mjs +9 -9
  107. package/esm2020/lib/view-context/value-api/model/value.mjs +13 -13
  108. package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +13 -13
  109. package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +2 -2
  110. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +2 -2
  111. package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +23 -23
  112. package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +2 -2
  113. package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +2 -2
  114. package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +18 -18
  115. package/esm2020/lib/view-context/value-api/param.mjs +2 -2
  116. package/esm2020/lib/view-context/value-api/variables.mjs +9 -9
  117. package/esm2020/projects.mjs +9 -9
  118. package/esm2020/smartbit4all-ng-client.mjs +4 -4
  119. package/fesm2015/smartbit4all-ng-client.mjs +3816 -3814
  120. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  121. package/fesm2020/smartbit4all-ng-client.mjs +3795 -3793
  122. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  123. package/lib/session/api/api/api.d.ts +3 -3
  124. package/lib/session/api/api/session.service.d.ts +107 -107
  125. package/lib/session/api/configuration.d.ts +104 -104
  126. package/lib/session/api/encoder.d.ts +11 -11
  127. package/lib/session/api/index.d.ts +2 -2
  128. package/lib/session/api/model/accountInfo.d.ts +22 -22
  129. package/lib/session/api/model/apiError.d.ts +15 -15
  130. package/lib/session/api/model/authenticationProviderData.d.ts +17 -17
  131. package/lib/session/api/model/getAuthenticationProvidersResponse.d.ts +15 -15
  132. package/lib/session/api/model/models.d.ts +8 -8
  133. package/lib/session/api/model/refreshSessionRequest.d.ts +14 -14
  134. package/lib/session/api/model/session.d.ts +32 -32
  135. package/lib/session/api/model/sessionInfoData.d.ts +22 -22
  136. package/lib/session/api/model/userActivityLog.d.ts +33 -33
  137. package/lib/session/api/param.d.ts +37 -37
  138. package/lib/session/api/variables.d.ts +8 -8
  139. package/lib/session/cookie-service/smart-cookie.service.d.ts +129 -129
  140. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.d.ts +28 -28
  141. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +18 -18
  142. package/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.d.ts +15 -15
  143. package/lib/session/dev-tool/smart-dev-tool.interceptor.d.ts +18 -18
  144. package/lib/session/dev-tool/smart-dev-tool.service.d.ts +55 -55
  145. package/lib/session/projects.d.ts +8 -8
  146. package/lib/session/smart-error-catching.interceptor.d.ts +13 -13
  147. package/lib/session/smart-header-maintainer.interceptor.d.ts +11 -11
  148. package/lib/session/smart-session-handler.service.d.ts +11 -11
  149. package/lib/session/smart-session.module.d.ts +15 -15
  150. package/lib/session/smart-session.service.d.ts +50 -50
  151. package/lib/session/smart-timer/smart-session-timer.component.d.ts +14 -14
  152. package/lib/session/smart-timer/smart-session-timer.service.d.ts +21 -21
  153. package/lib/smart-client/projects.d.ts +5 -5
  154. package/lib/smart-client/smart-authentication.service.d.ts +12 -12
  155. package/lib/smart-client/smart-component-api-client.d.ts +48 -48
  156. package/lib/smart-client/smart.component.d.ts +11 -11
  157. package/lib/smart-client/smart.service.d.ts +11 -11
  158. package/lib/smart-client/smart.subject.d.ts +6 -6
  159. package/lib/smart-ng-client.module.d.ts +8 -8
  160. package/lib/smart-ng-client.service.d.ts +10 -10
  161. package/lib/view-context/api/api/api.d.ts +3 -3
  162. package/lib/view-context/api/api/view.service.d.ts +246 -246
  163. package/lib/view-context/api/api.module.d.ts +11 -11
  164. package/lib/view-context/api/configuration.d.ts +104 -104
  165. package/lib/view-context/api/encoder.d.ts +11 -11
  166. package/lib/view-context/api/index.d.ts +6 -6
  167. package/lib/view-context/api/model/closeResult.d.ts +17 -17
  168. package/lib/view-context/api/model/componentConstraint.d.ts +25 -25
  169. package/lib/view-context/api/model/componentModel.d.ts +37 -37
  170. package/lib/view-context/api/model/componentModelChange.d.ts +19 -19
  171. package/lib/view-context/api/model/messageData.d.ts +29 -29
  172. package/lib/view-context/api/model/messageOption.d.ts +20 -20
  173. package/lib/view-context/api/model/messageOptionType.d.ts +17 -17
  174. package/lib/view-context/api/model/messageResult.d.ts +16 -16
  175. package/lib/view-context/api/model/messageType.d.ts +18 -18
  176. package/lib/view-context/api/model/models.d.ts +32 -32
  177. package/lib/view-context/api/model/openPendingData.d.ts +22 -22
  178. package/lib/view-context/api/model/smartLinkData.d.ts +21 -21
  179. package/lib/view-context/api/model/uiAction.d.ts +29 -29
  180. package/lib/view-context/api/model/uiActionButtonDescriptor.d.ts +18 -18
  181. package/lib/view-context/api/model/uiActionButtonIconPos.d.ts +19 -19
  182. package/lib/view-context/api/model/uiActionButtonType.d.ts +24 -24
  183. package/lib/view-context/api/model/uiActionDescriptor.d.ts +34 -34
  184. package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +23 -23
  185. package/lib/view-context/api/model/uiActionFeedbackType.d.ts +19 -19
  186. package/lib/view-context/api/model/uiActionInputType.d.ts +18 -18
  187. package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
  188. package/lib/view-context/api/model/valueSet.d.ts +20 -20
  189. package/lib/view-context/api/model/view.d.ts +47 -47
  190. package/lib/view-context/api/model/viewApiError.d.ts +18 -18
  191. package/lib/view-context/api/model/viewConstraint.d.ts +18 -18
  192. package/lib/view-context/api/model/viewContext.d.ts +22 -22
  193. package/lib/view-context/api/model/viewContextChange.d.ts +20 -20
  194. package/lib/view-context/api/model/viewContextData.d.ts +19 -19
  195. package/lib/view-context/api/model/viewContextUpdate.d.ts +22 -22
  196. package/lib/view-context/api/model/viewData.d.ts +27 -27
  197. package/lib/view-context/api/model/viewState.d.ts +21 -21
  198. package/lib/view-context/api/model/viewStateUpdate.d.ts +24 -24
  199. package/lib/view-context/api/model/viewType.d.ts +17 -17
  200. package/lib/view-context/api/param.d.ts +37 -37
  201. package/lib/view-context/api/variables.d.ts +8 -8
  202. package/lib/view-context/message-dialog/message-dialog.component.d.ts +17 -17
  203. package/lib/view-context/projects.d.ts +13 -13
  204. package/lib/view-context/property-definition-data.d.ts +5 -5
  205. package/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.d.ts +13 -13
  206. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +25 -25
  207. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +18 -18
  208. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +29 -29
  209. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +25 -25
  210. package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +24 -24
  211. package/lib/view-context/smart-ui-action/ui-action.descriptor.service.d.ts +21 -21
  212. package/lib/view-context/smart-ui-action/ui-action.model.d.ts +32 -32
  213. package/lib/view-context/smart-ui-action/ui-action.service.d.ts +31 -31
  214. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +13 -13
  215. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +17 -17
  216. package/lib/view-context/smart-view-context.interceptor.d.ts +13 -13
  217. package/lib/view-context/smart-view-context.model.d.ts +30 -30
  218. package/lib/view-context/smart-view-context.module.d.ts +20 -20
  219. package/lib/view-context/smart-view-context.service.d.ts +71 -70
  220. package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +14 -14
  221. package/lib/view-context/value-api/api/api.d.ts +3 -3
  222. package/lib/view-context/value-api/api/value.service.d.ts +35 -35
  223. package/lib/view-context/value-api/api.module.d.ts +11 -11
  224. package/lib/view-context/value-api/configuration.d.ts +104 -104
  225. package/lib/view-context/value-api/encoder.d.ts +11 -11
  226. package/lib/view-context/value-api/index.d.ts +6 -6
  227. package/lib/view-context/value-api/model/models.d.ts +8 -8
  228. package/lib/view-context/value-api/model/value.d.ts +29 -29
  229. package/lib/view-context/value-api/model/valueSetData.d.ts +41 -41
  230. package/lib/view-context/value-api/model/valueSetDefinition.d.ts +16 -16
  231. package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +55 -55
  232. package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +23 -23
  233. package/lib/view-context/value-api/model/valueSetExpression.d.ts +20 -20
  234. package/lib/view-context/value-api/model/valueSetOperand.d.ts +25 -25
  235. package/lib/view-context/value-api/model/valueSetOperation.d.ts +18 -18
  236. package/lib/view-context/value-api/param.d.ts +37 -37
  237. package/lib/view-context/value-api/variables.d.ts +8 -8
  238. package/package.json +1 -1
  239. package/projects.d.ts +5 -5
  240. package/schematics/collection.json +11 -11
  241. package/schematics/smart-component/index.ts +26 -26
  242. package/schematics/smart-component/schema.json +20 -20
  243. package/schematics/smart-component/smart-component.schema.ts +4 -4
  244. package/schematics/smart-component/templates/__name@dasherize__.component.html.template +2 -2
  245. package/schematics/smart-component/templates/__name@dasherize__.component.ts.template +26 -26
  246. package/smartbit4all-ng-client-1.0.23.tgz +0 -0
  247. package/smartbit4all-ng-client.d.ts +5 -5
  248. package/src/lib/session/api/README.md +226 -226
  249. package/src/lib/view-context/api/README.md +226 -226
  250. package/src/lib/view-context/value-api/README.md +226 -226
  251. package/smartbit4all-ng-client-1.0.21.tgz +0 -0
@@ -1,11 +1,11 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
- import { SmartComponentApiClient } from './smart-component-api-client';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
- constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
10
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
11
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
+ import { SmartComponentApiClient } from './smart-component-api-client';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class SmartComponent<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
+ constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
+ ngOnInit(): void;
8
+ ngOnDestroy(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponent<any>, never>;
10
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponent<any>, "ng-component", never, {}, {}, never, never>;
11
+ }
@@ -1,11 +1,11 @@
1
- import { Injector, OnDestroy, OnInit } from '@angular/core';
2
- import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
- import { SmartComponentApiClient } from './smart-component-api-client';
4
- import * as i0 from "@angular/core";
5
- export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
- constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
- ngOnInit(): void;
8
- ngOnDestroy(): void;
9
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
10
- static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
11
- }
1
+ import { Injector, OnDestroy, OnInit } from '@angular/core';
2
+ import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
3
+ import { SmartComponentApiClient } from './smart-component-api-client';
4
+ import * as i0 from "@angular/core";
5
+ export declare abstract class SmartService<T> extends SmartComponentApiClient<T> implements OnInit, OnDestroy {
6
+ constructor(inject: Injector, auth: SmartAuthenticationServiceInterface, pageName: string);
7
+ ngOnInit(): void;
8
+ ngOnDestroy(): void;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartService<any>, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<SmartService<any>>;
11
+ }
@@ -1,6 +1,6 @@
1
- import { Observer, Subject, Subscription } from "rxjs";
2
- export declare class SmartSubject<T> extends Subject<T> {
3
- private unsubscribe$;
4
- constructor(unsubscribe$: Subject<void>);
5
- subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void) | null, error?: (error: any) => void, complete?: () => void): Subscription;
6
- }
1
+ import { Observer, Subject, Subscription } from "rxjs";
2
+ export declare class SmartSubject<T> extends Subject<T> {
3
+ private unsubscribe$;
4
+ constructor(unsubscribe$: Subject<void>);
5
+ subscribe(observerOrNext?: Partial<Observer<T>> | ((value: T) => void) | null, error?: (error: any) => void, complete?: () => void): Subscription;
6
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./session/smart-session.module";
3
- import * as i2 from "./view-context/smart-view-context.module";
4
- export declare class SmartNgClientModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, never, [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule], [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./session/smart-session.module";
3
+ import * as i2 from "./view-context/smart-view-context.module";
4
+ export declare class SmartNgClientModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartNgClientModule, never, [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule], [typeof i1.SmartSessionModule, typeof i2.SmartViewContextModule]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmartNgClientModule>;
8
+ }
@@ -1,10 +1,10 @@
1
- import { SmartSessionService } from "./session/smart-session.service";
2
- import { SmartViewContextService } from "./view-context/smart-view-context.service";
3
- import * as i0 from "@angular/core";
4
- export declare class SmartNgClientService {
5
- private session;
6
- private viewContext;
7
- constructor(session: SmartSessionService, viewContext: SmartViewContextService);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientService, never>;
9
- static ɵprov: i0.ɵɵInjectableDeclaration<SmartNgClientService>;
10
- }
1
+ import { SmartSessionService } from "./session/smart-session.service";
2
+ import { SmartViewContextService } from "./view-context/smart-view-context.service";
3
+ import * as i0 from "@angular/core";
4
+ export declare class SmartNgClientService {
5
+ private session;
6
+ private viewContext;
7
+ constructor(session: SmartSessionService, viewContext: SmartViewContextService);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartNgClientService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<SmartNgClientService>;
10
+ }
@@ -1,3 +1,3 @@
1
- export * from './view.service';
2
- import { ViewService } from './view.service';
3
- export declare const APIS: (typeof ViewService)[];
1
+ export * from './view.service';
2
+ import { ViewService } from './view.service';
3
+ export declare const APIS: (typeof ViewService)[];
@@ -1,246 +1,246 @@
1
- import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
- import { Observable } from 'rxjs';
3
- import { ComponentModel } from '../model/componentModel';
4
- import { MessageResult } from '../model/messageResult';
5
- import { UiActionRequest } from '../model/uiActionRequest';
6
- import { ViewConstraint } from '../model/viewConstraint';
7
- import { ViewContextChange } from '../model/viewContextChange';
8
- import { ViewContextData } from '../model/viewContextData';
9
- import { ViewContextUpdate } from '../model/viewContextUpdate';
10
- import { Configuration } from '../configuration';
11
- import * as i0 from "@angular/core";
12
- export declare class ViewService {
13
- protected httpClient: HttpClient;
14
- protected basePath: string;
15
- defaultHeaders: HttpHeaders;
16
- configuration: Configuration;
17
- encoder: HttpParameterCodec;
18
- constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
19
- private addToHttpParams;
20
- private addToHttpParamsRecursive;
21
- /**
22
- * Creates a new ViewContext
23
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
24
- * @param reportProgress flag to report request and response progress.
25
- */
26
- createViewContext(observe?: 'body', reportProgress?: boolean, options?: {
27
- httpHeaderAccept?: 'application/json';
28
- context?: HttpContext;
29
- }): Observable<ViewContextData>;
30
- createViewContext(observe?: 'response', reportProgress?: boolean, options?: {
31
- httpHeaderAccept?: 'application/json';
32
- context?: HttpContext;
33
- }): Observable<HttpResponse<ViewContextData>>;
34
- createViewContext(observe?: 'events', reportProgress?: boolean, options?: {
35
- httpHeaderAccept?: 'application/json';
36
- context?: HttpContext;
37
- }): Observable<HttpEvent<ViewContextData>>;
38
- /**
39
- * @param uuid
40
- * @param item
41
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
42
- * @param reportProgress flag to report request and response progress.
43
- */
44
- downloadItem(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
45
- httpHeaderAccept?: 'application/octet-stream';
46
- context?: HttpContext;
47
- }): Observable<Blob>;
48
- downloadItem(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
49
- httpHeaderAccept?: 'application/octet-stream';
50
- context?: HttpContext;
51
- }): Observable<HttpResponse<Blob>>;
52
- downloadItem(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
53
- httpHeaderAccept?: 'application/octet-stream';
54
- context?: HttpContext;
55
- }): Observable<HttpEvent<Blob>>;
56
- /**
57
- * @param uuid
58
- * @param item
59
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
60
- * @param reportProgress flag to report request and response progress.
61
- */
62
- downloadItemDeprecated(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
63
- httpHeaderAccept?: 'application/octet-stream';
64
- context?: HttpContext;
65
- }): Observable<Blob>;
66
- downloadItemDeprecated(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
67
- httpHeaderAccept?: 'application/octet-stream';
68
- context?: HttpContext;
69
- }): Observable<HttpResponse<Blob>>;
70
- downloadItemDeprecated(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
71
- httpHeaderAccept?: 'application/octet-stream';
72
- context?: HttpContext;
73
- }): Observable<HttpEvent<Blob>>;
74
- /**
75
- * Returns component\&#39;s model.
76
- * @param uuid Component\&#39;s unique identifier.
77
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
78
- * @param reportProgress flag to report request and response progress.
79
- */
80
- getComponentModel(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
81
- httpHeaderAccept?: 'application/json';
82
- context?: HttpContext;
83
- }): Observable<ComponentModel>;
84
- getComponentModel(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
85
- httpHeaderAccept?: 'application/json';
86
- context?: HttpContext;
87
- }): Observable<HttpResponse<ComponentModel>>;
88
- getComponentModel(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
89
- httpHeaderAccept?: 'application/json';
90
- context?: HttpContext;
91
- }): Observable<HttpEvent<ComponentModel>>;
92
- /**
93
- * Returns the view constraint object belongs to the given view
94
- * @param uuid View\&#39;s unique identifier.
95
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
96
- * @param reportProgress flag to report request and response progress.
97
- */
98
- getViewConstraint(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
99
- httpHeaderAccept?: 'application/json';
100
- context?: HttpContext;
101
- }): Observable<ViewConstraint>;
102
- getViewConstraint(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
103
- httpHeaderAccept?: 'application/json';
104
- context?: HttpContext;
105
- }): Observable<HttpResponse<ViewConstraint>>;
106
- getViewConstraint(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
107
- httpHeaderAccept?: 'application/json';
108
- context?: HttpContext;
109
- }): Observable<HttpEvent<ViewConstraint>>;
110
- /**
111
- * Returns the existing session info
112
- * @param uuid ViewContext\&#39;s unique identifier.
113
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
114
- * @param reportProgress flag to report request and response progress.
115
- */
116
- getViewContext(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
117
- httpHeaderAccept?: 'application/json';
118
- context?: HttpContext;
119
- }): Observable<ViewContextData>;
120
- getViewContext(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
121
- httpHeaderAccept?: 'application/json';
122
- context?: HttpContext;
123
- }): Observable<HttpResponse<ViewContextData>>;
124
- getViewContext(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
125
- httpHeaderAccept?: 'application/json';
126
- context?: HttpContext;
127
- }): Observable<HttpEvent<ViewContextData>>;
128
- /**
129
- *
130
- * @param viewUuid View UUID.
131
- * @param messageUuid Message UUID.
132
- * @param messageResult
133
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
134
- * @param reportProgress flag to report request and response progress.
135
- */
136
- message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'body', reportProgress?: boolean, options?: {
137
- httpHeaderAccept?: undefined;
138
- context?: HttpContext;
139
- }): Observable<any>;
140
- message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'response', reportProgress?: boolean, options?: {
141
- httpHeaderAccept?: undefined;
142
- context?: HttpContext;
143
- }): Observable<HttpResponse<any>>;
144
- message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'events', reportProgress?: boolean, options?: {
145
- httpHeaderAccept?: undefined;
146
- context?: HttpContext;
147
- }): Observable<HttpEvent<any>>;
148
- /**
149
- * Performs a generic UI action.
150
- * @param uuid
151
- * @param body
152
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
153
- * @param reportProgress flag to report request and response progress.
154
- */
155
- performAction(uuid: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
156
- httpHeaderAccept?: 'application/json';
157
- context?: HttpContext;
158
- }): Observable<ViewContextChange>;
159
- performAction(uuid: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
160
- httpHeaderAccept?: 'application/json';
161
- context?: HttpContext;
162
- }): Observable<HttpResponse<ViewContextChange>>;
163
- performAction(uuid: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
164
- httpHeaderAccept?: 'application/json';
165
- context?: HttpContext;
166
- }): Observable<HttpEvent<ViewContextChange>>;
167
- /**
168
- * Performs a widget UI action.
169
- * @param uuid
170
- * @param widgetId
171
- * @param nodeId
172
- * @param body
173
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
174
- * @param reportProgress flag to report request and response progress.
175
- */
176
- performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
177
- httpHeaderAccept?: 'application/json';
178
- context?: HttpContext;
179
- }): Observable<ViewContextChange>;
180
- performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
181
- httpHeaderAccept?: 'application/json';
182
- context?: HttpContext;
183
- }): Observable<HttpResponse<ViewContextChange>>;
184
- performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
185
- httpHeaderAccept?: 'application/json';
186
- context?: HttpContext;
187
- }): Observable<HttpEvent<ViewContextChange>>;
188
- /**
189
- * Performs a widget UI action.
190
- * @param uuid
191
- * @param widgetId
192
- * @param body
193
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
194
- * @param reportProgress flag to report request and response progress.
195
- */
196
- performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
197
- httpHeaderAccept?: 'application/json';
198
- context?: HttpContext;
199
- }): Observable<ViewContextChange>;
200
- performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
201
- httpHeaderAccept?: 'application/json';
202
- context?: HttpContext;
203
- }): Observable<HttpResponse<ViewContextChange>>;
204
- performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
205
- httpHeaderAccept?: 'application/json';
206
- context?: HttpContext;
207
- }): Observable<HttpEvent<ViewContextChange>>;
208
- /**
209
- * @param channel Smartlink\&#39;s channel.
210
- * @param uuid Smartlink\&#39;s unique identifier
211
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
212
- * @param reportProgress flag to report request and response progress.
213
- */
214
- showPublishedView(channel: string, uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
215
- httpHeaderAccept?: undefined;
216
- context?: HttpContext;
217
- }): Observable<any>;
218
- showPublishedView(channel: string, uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
219
- httpHeaderAccept?: undefined;
220
- context?: HttpContext;
221
- }): Observable<HttpResponse<any>>;
222
- showPublishedView(channel: string, uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
223
- httpHeaderAccept?: undefined;
224
- context?: HttpContext;
225
- }): Observable<HttpEvent<any>>;
226
- /**
227
- * Updates an existing ViewContext
228
- * @param viewContextUpdate
229
- * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
230
- * @param reportProgress flag to report request and response progress.
231
- */
232
- updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'body', reportProgress?: boolean, options?: {
233
- httpHeaderAccept?: 'application/json';
234
- context?: HttpContext;
235
- }): Observable<ViewContextData>;
236
- updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'response', reportProgress?: boolean, options?: {
237
- httpHeaderAccept?: 'application/json';
238
- context?: HttpContext;
239
- }): Observable<HttpResponse<ViewContextData>>;
240
- updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'events', reportProgress?: boolean, options?: {
241
- httpHeaderAccept?: 'application/json';
242
- context?: HttpContext;
243
- }): Observable<HttpEvent<ViewContextData>>;
244
- static ɵfac: i0.ɵɵFactoryDeclaration<ViewService, [null, { optional: true; }, { optional: true; }]>;
245
- static ɵprov: i0.ɵɵInjectableDeclaration<ViewService>;
246
- }
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { ComponentModel } from '../model/componentModel';
4
+ import { MessageResult } from '../model/messageResult';
5
+ import { UiActionRequest } from '../model/uiActionRequest';
6
+ import { ViewConstraint } from '../model/viewConstraint';
7
+ import { ViewContextChange } from '../model/viewContextChange';
8
+ import { ViewContextData } from '../model/viewContextData';
9
+ import { ViewContextUpdate } from '../model/viewContextUpdate';
10
+ import { Configuration } from '../configuration';
11
+ import * as i0 from "@angular/core";
12
+ export declare class ViewService {
13
+ protected httpClient: HttpClient;
14
+ protected basePath: string;
15
+ defaultHeaders: HttpHeaders;
16
+ configuration: Configuration;
17
+ encoder: HttpParameterCodec;
18
+ constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
19
+ private addToHttpParams;
20
+ private addToHttpParamsRecursive;
21
+ /**
22
+ * Creates a new ViewContext
23
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
24
+ * @param reportProgress flag to report request and response progress.
25
+ */
26
+ createViewContext(observe?: 'body', reportProgress?: boolean, options?: {
27
+ httpHeaderAccept?: 'application/json';
28
+ context?: HttpContext;
29
+ }): Observable<ViewContextData>;
30
+ createViewContext(observe?: 'response', reportProgress?: boolean, options?: {
31
+ httpHeaderAccept?: 'application/json';
32
+ context?: HttpContext;
33
+ }): Observable<HttpResponse<ViewContextData>>;
34
+ createViewContext(observe?: 'events', reportProgress?: boolean, options?: {
35
+ httpHeaderAccept?: 'application/json';
36
+ context?: HttpContext;
37
+ }): Observable<HttpEvent<ViewContextData>>;
38
+ /**
39
+ * @param uuid
40
+ * @param item
41
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
42
+ * @param reportProgress flag to report request and response progress.
43
+ */
44
+ downloadItem(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
45
+ httpHeaderAccept?: 'application/octet-stream';
46
+ context?: HttpContext;
47
+ }): Observable<Blob>;
48
+ downloadItem(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
49
+ httpHeaderAccept?: 'application/octet-stream';
50
+ context?: HttpContext;
51
+ }): Observable<HttpResponse<Blob>>;
52
+ downloadItem(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
53
+ httpHeaderAccept?: 'application/octet-stream';
54
+ context?: HttpContext;
55
+ }): Observable<HttpEvent<Blob>>;
56
+ /**
57
+ * @param uuid
58
+ * @param item
59
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
60
+ * @param reportProgress flag to report request and response progress.
61
+ */
62
+ downloadItemDeprecated(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
63
+ httpHeaderAccept?: 'application/octet-stream';
64
+ context?: HttpContext;
65
+ }): Observable<Blob>;
66
+ downloadItemDeprecated(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
67
+ httpHeaderAccept?: 'application/octet-stream';
68
+ context?: HttpContext;
69
+ }): Observable<HttpResponse<Blob>>;
70
+ downloadItemDeprecated(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
71
+ httpHeaderAccept?: 'application/octet-stream';
72
+ context?: HttpContext;
73
+ }): Observable<HttpEvent<Blob>>;
74
+ /**
75
+ * Returns component\&#39;s model.
76
+ * @param uuid Component\&#39;s unique identifier.
77
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
78
+ * @param reportProgress flag to report request and response progress.
79
+ */
80
+ getComponentModel(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
81
+ httpHeaderAccept?: 'application/json';
82
+ context?: HttpContext;
83
+ }): Observable<ComponentModel>;
84
+ getComponentModel(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
85
+ httpHeaderAccept?: 'application/json';
86
+ context?: HttpContext;
87
+ }): Observable<HttpResponse<ComponentModel>>;
88
+ getComponentModel(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
89
+ httpHeaderAccept?: 'application/json';
90
+ context?: HttpContext;
91
+ }): Observable<HttpEvent<ComponentModel>>;
92
+ /**
93
+ * Returns the view constraint object belongs to the given view
94
+ * @param uuid View\&#39;s unique identifier.
95
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
96
+ * @param reportProgress flag to report request and response progress.
97
+ */
98
+ getViewConstraint(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
99
+ httpHeaderAccept?: 'application/json';
100
+ context?: HttpContext;
101
+ }): Observable<ViewConstraint>;
102
+ getViewConstraint(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
103
+ httpHeaderAccept?: 'application/json';
104
+ context?: HttpContext;
105
+ }): Observable<HttpResponse<ViewConstraint>>;
106
+ getViewConstraint(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
107
+ httpHeaderAccept?: 'application/json';
108
+ context?: HttpContext;
109
+ }): Observable<HttpEvent<ViewConstraint>>;
110
+ /**
111
+ * Returns the existing session info
112
+ * @param uuid ViewContext\&#39;s unique identifier.
113
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
114
+ * @param reportProgress flag to report request and response progress.
115
+ */
116
+ getViewContext(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
117
+ httpHeaderAccept?: 'application/json';
118
+ context?: HttpContext;
119
+ }): Observable<ViewContextData>;
120
+ getViewContext(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
121
+ httpHeaderAccept?: 'application/json';
122
+ context?: HttpContext;
123
+ }): Observable<HttpResponse<ViewContextData>>;
124
+ getViewContext(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
125
+ httpHeaderAccept?: 'application/json';
126
+ context?: HttpContext;
127
+ }): Observable<HttpEvent<ViewContextData>>;
128
+ /**
129
+ *
130
+ * @param viewUuid View UUID.
131
+ * @param messageUuid Message UUID.
132
+ * @param messageResult
133
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
134
+ * @param reportProgress flag to report request and response progress.
135
+ */
136
+ message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'body', reportProgress?: boolean, options?: {
137
+ httpHeaderAccept?: undefined;
138
+ context?: HttpContext;
139
+ }): Observable<any>;
140
+ message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'response', reportProgress?: boolean, options?: {
141
+ httpHeaderAccept?: undefined;
142
+ context?: HttpContext;
143
+ }): Observable<HttpResponse<any>>;
144
+ message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'events', reportProgress?: boolean, options?: {
145
+ httpHeaderAccept?: undefined;
146
+ context?: HttpContext;
147
+ }): Observable<HttpEvent<any>>;
148
+ /**
149
+ * Performs a generic UI action.
150
+ * @param uuid
151
+ * @param body
152
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
153
+ * @param reportProgress flag to report request and response progress.
154
+ */
155
+ performAction(uuid: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
156
+ httpHeaderAccept?: 'application/json';
157
+ context?: HttpContext;
158
+ }): Observable<ViewContextChange>;
159
+ performAction(uuid: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
160
+ httpHeaderAccept?: 'application/json';
161
+ context?: HttpContext;
162
+ }): Observable<HttpResponse<ViewContextChange>>;
163
+ performAction(uuid: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
164
+ httpHeaderAccept?: 'application/json';
165
+ context?: HttpContext;
166
+ }): Observable<HttpEvent<ViewContextChange>>;
167
+ /**
168
+ * Performs a widget UI action.
169
+ * @param uuid
170
+ * @param widgetId
171
+ * @param nodeId
172
+ * @param body
173
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
174
+ * @param reportProgress flag to report request and response progress.
175
+ */
176
+ performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
177
+ httpHeaderAccept?: 'application/json';
178
+ context?: HttpContext;
179
+ }): Observable<ViewContextChange>;
180
+ performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
181
+ httpHeaderAccept?: 'application/json';
182
+ context?: HttpContext;
183
+ }): Observable<HttpResponse<ViewContextChange>>;
184
+ performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
185
+ httpHeaderAccept?: 'application/json';
186
+ context?: HttpContext;
187
+ }): Observable<HttpEvent<ViewContextChange>>;
188
+ /**
189
+ * Performs a widget UI action.
190
+ * @param uuid
191
+ * @param widgetId
192
+ * @param body
193
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
194
+ * @param reportProgress flag to report request and response progress.
195
+ */
196
+ performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
197
+ httpHeaderAccept?: 'application/json';
198
+ context?: HttpContext;
199
+ }): Observable<ViewContextChange>;
200
+ performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
201
+ httpHeaderAccept?: 'application/json';
202
+ context?: HttpContext;
203
+ }): Observable<HttpResponse<ViewContextChange>>;
204
+ performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
205
+ httpHeaderAccept?: 'application/json';
206
+ context?: HttpContext;
207
+ }): Observable<HttpEvent<ViewContextChange>>;
208
+ /**
209
+ * @param channel Smartlink\&#39;s channel.
210
+ * @param uuid Smartlink\&#39;s unique identifier
211
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
212
+ * @param reportProgress flag to report request and response progress.
213
+ */
214
+ showPublishedView(channel: string, uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
215
+ httpHeaderAccept?: undefined;
216
+ context?: HttpContext;
217
+ }): Observable<any>;
218
+ showPublishedView(channel: string, uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
219
+ httpHeaderAccept?: undefined;
220
+ context?: HttpContext;
221
+ }): Observable<HttpResponse<any>>;
222
+ showPublishedView(channel: string, uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
223
+ httpHeaderAccept?: undefined;
224
+ context?: HttpContext;
225
+ }): Observable<HttpEvent<any>>;
226
+ /**
227
+ * Updates an existing ViewContext
228
+ * @param viewContextUpdate
229
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
230
+ * @param reportProgress flag to report request and response progress.
231
+ */
232
+ updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'body', reportProgress?: boolean, options?: {
233
+ httpHeaderAccept?: 'application/json';
234
+ context?: HttpContext;
235
+ }): Observable<ViewContextData>;
236
+ updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'response', reportProgress?: boolean, options?: {
237
+ httpHeaderAccept?: 'application/json';
238
+ context?: HttpContext;
239
+ }): Observable<HttpResponse<ViewContextData>>;
240
+ updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'events', reportProgress?: boolean, options?: {
241
+ httpHeaderAccept?: 'application/json';
242
+ context?: HttpContext;
243
+ }): Observable<HttpEvent<ViewContextData>>;
244
+ static ɵfac: i0.ɵɵFactoryDeclaration<ViewService, [null, { optional: true; }, { optional: true; }]>;
245
+ static ɵprov: i0.ɵɵInjectableDeclaration<ViewService>;
246
+ }
@@ -1,11 +1,11 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import { Configuration } from './configuration';
3
- import { HttpClient } from '@angular/common/http';
4
- import * as i0 from "@angular/core";
5
- export declare class ApiModule {
6
- static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
7
- constructor(parentModule: ApiModule, http: HttpClient);
8
- static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
10
- static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
11
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { Configuration } from './configuration';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ApiModule {
6
+ static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
7
+ constructor(parentModule: ApiModule, http: HttpClient);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
11
+ }