@smartbit4all/ng-client 1.1.32 → 1.1.33
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.
- package/README.md +386 -386
- package/esm2020/lib/session/api/api/api.mjs +4 -4
- package/esm2020/lib/session/api/api/session.service.mjs +306 -306
- package/esm2020/lib/session/api/configuration.mjs +91 -91
- package/esm2020/lib/session/api/encoder.mjs +19 -19
- package/esm2020/lib/session/api/index.mjs +3 -3
- package/esm2020/lib/session/api/model/accountInfo.mjs +13 -13
- package/esm2020/lib/session/api/model/apiError.mjs +13 -13
- package/esm2020/lib/session/api/model/authenticationProviderData.mjs +13 -13
- package/esm2020/lib/session/api/model/getAuthenticationProvidersResponse.mjs +2 -2
- package/esm2020/lib/session/api/model/models.mjs +9 -9
- package/esm2020/lib/session/api/model/refreshSessionRequest.mjs +13 -13
- package/esm2020/lib/session/api/model/session.mjs +2 -2
- package/esm2020/lib/session/api/model/sessionInfoData.mjs +2 -2
- package/esm2020/lib/session/api/model/userActivityLog.mjs +13 -13
- package/esm2020/lib/session/api/param.mjs +2 -2
- package/esm2020/lib/session/api/variables.mjs +9 -9
- package/esm2020/lib/session/cookie-service/smart-cookie.service.mjs +225 -225
- package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +90 -90
- package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +43 -43
- package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +40 -40
- package/esm2020/lib/session/dev-tool/smart-dev-tool.interceptor.mjs +52 -52
- package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +165 -165
- package/esm2020/lib/session/projects.mjs +12 -12
- package/esm2020/lib/session/smart-error-catching.interceptor.mjs +71 -71
- package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +46 -46
- package/esm2020/lib/session/smart-session-handler.service.mjs +6 -6
- package/esm2020/lib/session/smart-session.module.mjs +74 -74
- package/esm2020/lib/session/smart-session.service.mjs +225 -225
- package/esm2020/lib/session/smart-timer/smart-session-timer.component.mjs +35 -35
- package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +52 -52
- package/esm2020/lib/smart-client/projects.mjs +5 -5
- package/esm2020/lib/smart-client/smart-authentication.service.mjs +21 -21
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +339 -330
- package/esm2020/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +47 -0
- package/esm2020/lib/smart-client/smart.component.mjs +30 -30
- package/esm2020/lib/smart-client/smart.service.mjs +30 -30
- package/esm2020/lib/smart-ng-client.module.mjs +40 -20
- package/esm2020/lib/smart-ng-client.service.mjs +19 -19
- package/esm2020/lib/view-context/api/api/api.mjs +4 -4
- package/esm2020/lib/view-context/api/api/view.service.mjs +859 -859
- package/esm2020/lib/view-context/api/api.module.mjs +40 -40
- package/esm2020/lib/view-context/api/configuration.mjs +91 -91
- package/esm2020/lib/view-context/api/encoder.mjs +19 -19
- package/esm2020/lib/view-context/api/index.mjs +7 -7
- package/esm2020/lib/view-context/api/model/closeResult.mjs +17 -17
- package/esm2020/lib/view-context/api/model/componentConstraint.mjs +2 -2
- package/esm2020/lib/view-context/api/model/componentModel.mjs +2 -2
- package/esm2020/lib/view-context/api/model/componentModelChange.mjs +13 -13
- package/esm2020/lib/view-context/api/model/dataChange.mjs +2 -2
- package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +2 -2
- package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +17 -17
- package/esm2020/lib/view-context/api/model/messageData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/messageOption.mjs +2 -2
- package/esm2020/lib/view-context/api/model/messageOptionType.mjs +17 -17
- package/esm2020/lib/view-context/api/model/messageResult.mjs +2 -2
- package/esm2020/lib/view-context/api/model/messageType.mjs +18 -18
- package/esm2020/lib/view-context/api/model/models.mjs +40 -40
- package/esm2020/lib/view-context/api/model/openPendingData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/smartLinkData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiAction.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +16 -16
- package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +21 -21
- package/esm2020/lib/view-context/api/model/uiActionConstraint.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +2 -2
- package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +16 -16
- package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +20 -20
- package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +13 -13
- package/esm2020/lib/view-context/api/model/uploadedFile.mjs +13 -13
- package/esm2020/lib/view-context/api/model/valueSet.mjs +2 -2
- package/esm2020/lib/view-context/api/model/view.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewApiError.mjs +13 -13
- package/esm2020/lib/view-context/api/model/viewConstraint.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContext.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContextChange.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContextData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewData.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewEventHandler.mjs +20 -20
- package/esm2020/lib/view-context/api/model/viewState.mjs +21 -21
- package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +2 -2
- package/esm2020/lib/view-context/api/model/viewType.mjs +17 -17
- package/esm2020/lib/view-context/api/param.mjs +2 -2
- package/esm2020/lib/view-context/api/variables.mjs +9 -9
- package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +63 -63
- package/esm2020/lib/view-context/projects.mjs +17 -17
- package/esm2020/lib/view-context/property-definition-data.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +30 -30
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +53 -53
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +48 -48
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +68 -68
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +53 -53
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +119 -119
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +52 -52
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +109 -109
- package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +119 -119
- package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +7 -7
- package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +182 -182
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +29 -29
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +69 -69
- package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +39 -39
- package/esm2020/lib/view-context/smart-view-context.model.mjs +2 -2
- package/esm2020/lib/view-context/smart-view-context.module.mjs +87 -87
- package/esm2020/lib/view-context/smart-view-context.service.mjs +536 -536
- package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +33 -33
- package/esm2020/lib/view-context/value-api/api/api.mjs +4 -4
- package/esm2020/lib/view-context/value-api/api/value.service.mjs +138 -138
- package/esm2020/lib/view-context/value-api/api.module.mjs +40 -40
- package/esm2020/lib/view-context/value-api/configuration.mjs +91 -91
- package/esm2020/lib/view-context/value-api/encoder.mjs +19 -19
- package/esm2020/lib/view-context/value-api/index.mjs +7 -7
- package/esm2020/lib/view-context/value-api/model/models.mjs +9 -9
- package/esm2020/lib/view-context/value-api/model/value.mjs +13 -13
- package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +13 -13
- package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionData.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +23 -23
- package/esm2020/lib/view-context/value-api/model/valueSetExpression.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +2 -2
- package/esm2020/lib/view-context/value-api/model/valueSetOperation.mjs +18 -18
- package/esm2020/lib/view-context/value-api/param.mjs +2 -2
- package/esm2020/lib/view-context/value-api/variables.mjs +9 -9
- package/esm2020/projects.mjs +10 -9
- package/esm2020/smartbit4all-ng-client.mjs +4 -4
- package/fesm2015/smartbit4all-ng-client.mjs +4748 -4682
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +4723 -4656
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/session/api/api/api.d.ts +3 -3
- package/lib/session/api/api/session.service.d.ts +107 -107
- package/lib/session/api/configuration.d.ts +104 -104
- package/lib/session/api/encoder.d.ts +11 -11
- package/lib/session/api/index.d.ts +2 -2
- package/lib/session/api/model/accountInfo.d.ts +22 -22
- package/lib/session/api/model/apiError.d.ts +15 -15
- package/lib/session/api/model/authenticationProviderData.d.ts +17 -17
- package/lib/session/api/model/getAuthenticationProvidersResponse.d.ts +15 -15
- package/lib/session/api/model/models.d.ts +8 -8
- package/lib/session/api/model/refreshSessionRequest.d.ts +14 -14
- package/lib/session/api/model/session.d.ts +32 -32
- package/lib/session/api/model/sessionInfoData.d.ts +22 -22
- package/lib/session/api/model/userActivityLog.d.ts +33 -33
- package/lib/session/api/param.d.ts +37 -37
- package/lib/session/api/variables.d.ts +8 -8
- package/lib/session/cookie-service/smart-cookie.service.d.ts +129 -129
- package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.d.ts +28 -28
- package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +18 -18
- package/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.d.ts +15 -15
- package/lib/session/dev-tool/smart-dev-tool.interceptor.d.ts +18 -18
- package/lib/session/dev-tool/smart-dev-tool.service.d.ts +57 -57
- package/lib/session/projects.d.ts +8 -8
- package/lib/session/smart-error-catching.interceptor.d.ts +13 -13
- package/lib/session/smart-header-maintainer.interceptor.d.ts +11 -11
- package/lib/session/smart-session-handler.service.d.ts +11 -11
- package/lib/session/smart-session.module.d.ts +15 -15
- package/lib/session/smart-session.service.d.ts +54 -54
- package/lib/session/smart-timer/smart-session-timer.component.d.ts +14 -14
- package/lib/session/smart-timer/smart-session-timer.service.d.ts +21 -21
- package/lib/smart-client/projects.d.ts +4 -4
- package/lib/smart-client/smart-authentication.service.d.ts +15 -15
- package/lib/smart-client/smart-component-api-client.d.ts +79 -71
- package/lib/smart-client/smart-file-uploader/smart-file-uploader.component.d.ts +18 -0
- package/lib/smart-client/smart.component.d.ts +11 -11
- package/lib/smart-client/smart.service.d.ts +11 -11
- package/lib/smart-ng-client.module.d.ts +12 -8
- package/lib/smart-ng-client.service.d.ts +10 -10
- package/lib/view-context/api/api/api.d.ts +3 -3
- package/lib/view-context/api/api/view.service.d.ts +313 -313
- package/lib/view-context/api/api.module.d.ts +11 -11
- package/lib/view-context/api/configuration.d.ts +104 -104
- package/lib/view-context/api/encoder.d.ts +11 -11
- package/lib/view-context/api/index.d.ts +6 -6
- package/lib/view-context/api/model/closeResult.d.ts +17 -17
- package/lib/view-context/api/model/componentConstraint.d.ts +25 -25
- package/lib/view-context/api/model/componentModel.d.ts +35 -35
- package/lib/view-context/api/model/componentModelChange.d.ts +29 -29
- package/lib/view-context/api/model/dataChange.d.ts +27 -27
- package/lib/view-context/api/model/dataChangeEvent.d.ts +33 -33
- package/lib/view-context/api/model/dataChangeKind.d.ts +20 -20
- package/lib/view-context/api/model/messageData.d.ts +29 -29
- package/lib/view-context/api/model/messageOption.d.ts +20 -20
- package/lib/view-context/api/model/messageOptionType.d.ts +17 -17
- package/lib/view-context/api/model/messageResult.d.ts +16 -16
- package/lib/view-context/api/model/messageType.d.ts +18 -18
- package/lib/view-context/api/model/models.d.ts +39 -39
- package/lib/view-context/api/model/openPendingData.d.ts +22 -22
- package/lib/view-context/api/model/smartLinkData.d.ts +21 -21
- package/lib/view-context/api/model/uiAction.d.ts +29 -29
- package/lib/view-context/api/model/uiActionButtonDescriptor.d.ts +18 -18
- package/lib/view-context/api/model/uiActionButtonIconPos.d.ts +19 -19
- package/lib/view-context/api/model/uiActionButtonType.d.ts +24 -24
- package/lib/view-context/api/model/uiActionConstraint.d.ts +22 -22
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +36 -36
- package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +23 -23
- package/lib/view-context/api/model/uiActionFeedbackType.d.ts +19 -19
- package/lib/view-context/api/model/uiActionInputType.d.ts +20 -20
- package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
- package/lib/view-context/api/model/uiActionUploadDescriptor.d.ts +23 -23
- package/lib/view-context/api/model/uploadedFile.d.ts +19 -19
- package/lib/view-context/api/model/valueSet.d.ts +20 -20
- package/lib/view-context/api/model/view.d.ts +68 -68
- package/lib/view-context/api/model/viewApiError.d.ts +18 -18
- package/lib/view-context/api/model/viewConstraint.d.ts +18 -18
- package/lib/view-context/api/model/viewContext.d.ts +22 -22
- package/lib/view-context/api/model/viewContextChange.d.ts +20 -20
- package/lib/view-context/api/model/viewContextData.d.ts +19 -19
- package/lib/view-context/api/model/viewContextUpdate.d.ts +22 -22
- package/lib/view-context/api/model/viewData.d.ts +27 -27
- package/lib/view-context/api/model/viewEventHandler.d.ts +30 -30
- package/lib/view-context/api/model/viewState.d.ts +21 -21
- package/lib/view-context/api/model/viewStateUpdate.d.ts +24 -24
- package/lib/view-context/api/model/viewType.d.ts +17 -17
- package/lib/view-context/api/param.d.ts +37 -37
- package/lib/view-context/api/variables.d.ts +8 -8
- package/lib/view-context/message-dialog/message-dialog.component.d.ts +17 -17
- package/lib/view-context/projects.d.ts +13 -13
- package/lib/view-context/property-definition-data.d.ts +5 -5
- package/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.d.ts +13 -13
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +25 -25
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +18 -18
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +30 -30
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +22 -22
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +29 -29
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +25 -25
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +30 -30
- package/lib/view-context/smart-ui-action/ui-action.descriptor.service.d.ts +21 -21
- package/lib/view-context/smart-ui-action/ui-action.model.d.ts +32 -32
- package/lib/view-context/smart-ui-action/ui-action.service.d.ts +37 -37
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +13 -13
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +19 -19
- package/lib/view-context/smart-view-context.interceptor.d.ts +13 -13
- package/lib/view-context/smart-view-context.model.d.ts +30 -30
- package/lib/view-context/smart-view-context.module.d.ts +21 -21
- package/lib/view-context/smart-view-context.service.d.ts +106 -106
- package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +14 -14
- package/lib/view-context/value-api/api/api.d.ts +3 -3
- package/lib/view-context/value-api/api/value.service.d.ts +35 -35
- package/lib/view-context/value-api/api.module.d.ts +11 -11
- package/lib/view-context/value-api/configuration.d.ts +104 -104
- package/lib/view-context/value-api/encoder.d.ts +11 -11
- package/lib/view-context/value-api/index.d.ts +6 -6
- package/lib/view-context/value-api/model/models.d.ts +8 -8
- package/lib/view-context/value-api/model/value.d.ts +29 -29
- package/lib/view-context/value-api/model/valueSetData.d.ts +41 -41
- package/lib/view-context/value-api/model/valueSetDefinition.d.ts +16 -16
- package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +55 -55
- package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +23 -23
- package/lib/view-context/value-api/model/valueSetExpression.d.ts +20 -20
- package/lib/view-context/value-api/model/valueSetOperand.d.ts +25 -25
- package/lib/view-context/value-api/model/valueSetOperation.d.ts +18 -18
- package/lib/view-context/value-api/param.d.ts +37 -37
- package/lib/view-context/value-api/variables.d.ts +8 -8
- package/package.json +1 -1
- package/projects.d.ts +6 -5
- package/schematics/collection.json +11 -11
- package/schematics/smart-component/index.ts +26 -26
- package/schematics/smart-component/schema.json +20 -20
- package/schematics/smart-component/smart-component.schema.ts +4 -4
- package/schematics/smart-component/templates/__name@dasherize__.component.html.template +2 -2
- package/schematics/smart-component/templates/__name@dasherize__.component.ts.template +26 -26
- package/smartbit4all-ng-client-1.1.33.tgz +0 -0
- package/smartbit4all-ng-client.d.ts +5 -5
- package/src/lib/session/api/README.md +226 -226
- package/src/lib/view-context/api/README.md +226 -226
- package/src/lib/view-context/value-api/README.md +226 -226
- package/smartbit4all-ng-client-1.1.32.tgz +0 -0
|
@@ -1,313 +1,313 @@
|
|
|
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 { DataChange } from '../model/dataChange';
|
|
5
|
-
import { MessageResult } from '../model/messageResult';
|
|
6
|
-
import { UiActionRequest } from '../model/uiActionRequest';
|
|
7
|
-
import { ViewConstraint } from '../model/viewConstraint';
|
|
8
|
-
import { ViewContextChange } from '../model/viewContextChange';
|
|
9
|
-
import { ViewContextData } from '../model/viewContextData';
|
|
10
|
-
import { ViewContextUpdate } from '../model/viewContextUpdate';
|
|
11
|
-
import { Configuration } from '../configuration';
|
|
12
|
-
import * as i0 from "@angular/core";
|
|
13
|
-
export declare class ViewService {
|
|
14
|
-
protected httpClient: HttpClient;
|
|
15
|
-
protected basePath: string;
|
|
16
|
-
defaultHeaders: HttpHeaders;
|
|
17
|
-
configuration: Configuration;
|
|
18
|
-
encoder: HttpParameterCodec;
|
|
19
|
-
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
20
|
-
/**
|
|
21
|
-
* @param consumes string[] mime-types
|
|
22
|
-
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
23
|
-
*/
|
|
24
|
-
private canConsumeForm;
|
|
25
|
-
private addToHttpParams;
|
|
26
|
-
private addToHttpParamsRecursive;
|
|
27
|
-
/**
|
|
28
|
-
* Creates a new ViewContext
|
|
29
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
30
|
-
* @param reportProgress flag to report request and response progress.
|
|
31
|
-
*/
|
|
32
|
-
createViewContext(observe?: 'body', reportProgress?: boolean, options?: {
|
|
33
|
-
httpHeaderAccept?: 'application/json';
|
|
34
|
-
context?: HttpContext;
|
|
35
|
-
}): Observable<ViewContextData>;
|
|
36
|
-
createViewContext(observe?: 'response', reportProgress?: boolean, options?: {
|
|
37
|
-
httpHeaderAccept?: 'application/json';
|
|
38
|
-
context?: HttpContext;
|
|
39
|
-
}): Observable<HttpResponse<ViewContextData>>;
|
|
40
|
-
createViewContext(observe?: 'events', reportProgress?: boolean, options?: {
|
|
41
|
-
httpHeaderAccept?: 'application/json';
|
|
42
|
-
context?: HttpContext;
|
|
43
|
-
}): Observable<HttpEvent<ViewContextData>>;
|
|
44
|
-
/**
|
|
45
|
-
* Notification of a data change event..
|
|
46
|
-
* @param uuid
|
|
47
|
-
* @param dataChange
|
|
48
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
49
|
-
* @param reportProgress flag to report request and response progress.
|
|
50
|
-
*/
|
|
51
|
-
dataChanged(uuid: string, dataChange: DataChange, observe?: 'body', reportProgress?: boolean, options?: {
|
|
52
|
-
httpHeaderAccept?: 'application/json';
|
|
53
|
-
context?: HttpContext;
|
|
54
|
-
}): Observable<ViewContextChange>;
|
|
55
|
-
dataChanged(uuid: string, dataChange: DataChange, observe?: 'response', reportProgress?: boolean, options?: {
|
|
56
|
-
httpHeaderAccept?: 'application/json';
|
|
57
|
-
context?: HttpContext;
|
|
58
|
-
}): Observable<HttpResponse<ViewContextChange>>;
|
|
59
|
-
dataChanged(uuid: string, dataChange: DataChange, observe?: 'events', reportProgress?: boolean, options?: {
|
|
60
|
-
httpHeaderAccept?: 'application/json';
|
|
61
|
-
context?: HttpContext;
|
|
62
|
-
}): Observable<HttpEvent<ViewContextChange>>;
|
|
63
|
-
/**
|
|
64
|
-
* @param uuid
|
|
65
|
-
* @param item
|
|
66
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
67
|
-
* @param reportProgress flag to report request and response progress.
|
|
68
|
-
*/
|
|
69
|
-
downloadItem(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
70
|
-
httpHeaderAccept?: 'application/octet-stream';
|
|
71
|
-
context?: HttpContext;
|
|
72
|
-
}): Observable<Blob>;
|
|
73
|
-
downloadItem(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
|
-
httpHeaderAccept?: 'application/octet-stream';
|
|
75
|
-
context?: HttpContext;
|
|
76
|
-
}): Observable<HttpResponse<Blob>>;
|
|
77
|
-
downloadItem(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
78
|
-
httpHeaderAccept?: 'application/octet-stream';
|
|
79
|
-
context?: HttpContext;
|
|
80
|
-
}): Observable<HttpEvent<Blob>>;
|
|
81
|
-
/**
|
|
82
|
-
* @param uuid
|
|
83
|
-
* @param item
|
|
84
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
85
|
-
* @param reportProgress flag to report request and response progress.
|
|
86
|
-
*/
|
|
87
|
-
downloadItemDeprecated(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
88
|
-
httpHeaderAccept?: 'application/octet-stream';
|
|
89
|
-
context?: HttpContext;
|
|
90
|
-
}): Observable<Blob>;
|
|
91
|
-
downloadItemDeprecated(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
92
|
-
httpHeaderAccept?: 'application/octet-stream';
|
|
93
|
-
context?: HttpContext;
|
|
94
|
-
}): Observable<HttpResponse<Blob>>;
|
|
95
|
-
downloadItemDeprecated(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
96
|
-
httpHeaderAccept?: 'application/octet-stream';
|
|
97
|
-
context?: HttpContext;
|
|
98
|
-
}): Observable<HttpEvent<Blob>>;
|
|
99
|
-
/**
|
|
100
|
-
* Returns component\'s model.
|
|
101
|
-
* @param uuid Component\'s unique identifier.
|
|
102
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
103
|
-
* @param reportProgress flag to report request and response progress.
|
|
104
|
-
*/
|
|
105
|
-
getComponentModel(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
106
|
-
httpHeaderAccept?: 'application/json';
|
|
107
|
-
context?: HttpContext;
|
|
108
|
-
}): Observable<ComponentModel>;
|
|
109
|
-
getComponentModel(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
110
|
-
httpHeaderAccept?: 'application/json';
|
|
111
|
-
context?: HttpContext;
|
|
112
|
-
}): Observable<HttpResponse<ComponentModel>>;
|
|
113
|
-
getComponentModel(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
114
|
-
httpHeaderAccept?: 'application/json';
|
|
115
|
-
context?: HttpContext;
|
|
116
|
-
}): Observable<HttpEvent<ComponentModel>>;
|
|
117
|
-
/**
|
|
118
|
-
* Returns the view constraint object belongs to the given view
|
|
119
|
-
* @param uuid View\'s unique identifier.
|
|
120
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
121
|
-
* @param reportProgress flag to report request and response progress.
|
|
122
|
-
*/
|
|
123
|
-
getViewConstraint(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
124
|
-
httpHeaderAccept?: 'application/json';
|
|
125
|
-
context?: HttpContext;
|
|
126
|
-
}): Observable<ViewConstraint>;
|
|
127
|
-
getViewConstraint(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
128
|
-
httpHeaderAccept?: 'application/json';
|
|
129
|
-
context?: HttpContext;
|
|
130
|
-
}): Observable<HttpResponse<ViewConstraint>>;
|
|
131
|
-
getViewConstraint(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
132
|
-
httpHeaderAccept?: 'application/json';
|
|
133
|
-
context?: HttpContext;
|
|
134
|
-
}): Observable<HttpEvent<ViewConstraint>>;
|
|
135
|
-
/**
|
|
136
|
-
* Returns the existing session info
|
|
137
|
-
* @param uuid ViewContext\'s unique identifier.
|
|
138
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
139
|
-
* @param reportProgress flag to report request and response progress.
|
|
140
|
-
*/
|
|
141
|
-
getViewContext(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
142
|
-
httpHeaderAccept?: 'application/json';
|
|
143
|
-
context?: HttpContext;
|
|
144
|
-
}): Observable<ViewContextData>;
|
|
145
|
-
getViewContext(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
146
|
-
httpHeaderAccept?: 'application/json';
|
|
147
|
-
context?: HttpContext;
|
|
148
|
-
}): Observable<HttpResponse<ViewContextData>>;
|
|
149
|
-
getViewContext(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
150
|
-
httpHeaderAccept?: 'application/json';
|
|
151
|
-
context?: HttpContext;
|
|
152
|
-
}): Observable<HttpEvent<ViewContextData>>;
|
|
153
|
-
/**
|
|
154
|
-
*
|
|
155
|
-
* @param viewUuid View UUID.
|
|
156
|
-
* @param messageUuid Message UUID.
|
|
157
|
-
* @param messageResult
|
|
158
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
159
|
-
* @param reportProgress flag to report request and response progress.
|
|
160
|
-
*/
|
|
161
|
-
message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'body', reportProgress?: boolean, options?: {
|
|
162
|
-
httpHeaderAccept?: undefined;
|
|
163
|
-
context?: HttpContext;
|
|
164
|
-
}): Observable<any>;
|
|
165
|
-
message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'response', reportProgress?: boolean, options?: {
|
|
166
|
-
httpHeaderAccept?: undefined;
|
|
167
|
-
context?: HttpContext;
|
|
168
|
-
}): Observable<HttpResponse<any>>;
|
|
169
|
-
message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'events', reportProgress?: boolean, options?: {
|
|
170
|
-
httpHeaderAccept?: undefined;
|
|
171
|
-
context?: HttpContext;
|
|
172
|
-
}): Observable<HttpEvent<any>>;
|
|
173
|
-
/**
|
|
174
|
-
* Performs a generic UI action.
|
|
175
|
-
* @param uuid
|
|
176
|
-
* @param body
|
|
177
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
178
|
-
* @param reportProgress flag to report request and response progress.
|
|
179
|
-
*/
|
|
180
|
-
performAction(uuid: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
181
|
-
httpHeaderAccept?: 'application/json';
|
|
182
|
-
context?: HttpContext;
|
|
183
|
-
}): Observable<ViewContextChange>;
|
|
184
|
-
performAction(uuid: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
185
|
-
httpHeaderAccept?: 'application/json';
|
|
186
|
-
context?: HttpContext;
|
|
187
|
-
}): Observable<HttpResponse<ViewContextChange>>;
|
|
188
|
-
performAction(uuid: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
189
|
-
httpHeaderAccept?: 'application/json';
|
|
190
|
-
context?: HttpContext;
|
|
191
|
-
}): Observable<HttpEvent<ViewContextChange>>;
|
|
192
|
-
/**
|
|
193
|
-
* Performs a widget UI action.
|
|
194
|
-
* @param uuid
|
|
195
|
-
* @param widgetId
|
|
196
|
-
* @param nodeId
|
|
197
|
-
* @param body
|
|
198
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
199
|
-
* @param reportProgress flag to report request and response progress.
|
|
200
|
-
*/
|
|
201
|
-
performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
202
|
-
httpHeaderAccept?: 'application/json';
|
|
203
|
-
context?: HttpContext;
|
|
204
|
-
}): Observable<ViewContextChange>;
|
|
205
|
-
performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
206
|
-
httpHeaderAccept?: 'application/json';
|
|
207
|
-
context?: HttpContext;
|
|
208
|
-
}): Observable<HttpResponse<ViewContextChange>>;
|
|
209
|
-
performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
210
|
-
httpHeaderAccept?: 'application/json';
|
|
211
|
-
context?: HttpContext;
|
|
212
|
-
}): Observable<HttpEvent<ViewContextChange>>;
|
|
213
|
-
/**
|
|
214
|
-
* Performs a widget UI action.
|
|
215
|
-
* @param uuid
|
|
216
|
-
* @param widgetId
|
|
217
|
-
* @param body
|
|
218
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
219
|
-
* @param reportProgress flag to report request and response progress.
|
|
220
|
-
*/
|
|
221
|
-
performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
222
|
-
httpHeaderAccept?: 'application/json';
|
|
223
|
-
context?: HttpContext;
|
|
224
|
-
}): Observable<ViewContextChange>;
|
|
225
|
-
performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
226
|
-
httpHeaderAccept?: 'application/json';
|
|
227
|
-
context?: HttpContext;
|
|
228
|
-
}): Observable<HttpResponse<ViewContextChange>>;
|
|
229
|
-
performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
230
|
-
httpHeaderAccept?: 'application/json';
|
|
231
|
-
context?: HttpContext;
|
|
232
|
-
}): Observable<HttpEvent<ViewContextChange>>;
|
|
233
|
-
/**
|
|
234
|
-
* @param channel Smartlink\'s channel.
|
|
235
|
-
* @param uuid Smartlink\'s unique identifier
|
|
236
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
237
|
-
* @param reportProgress flag to report request and response progress.
|
|
238
|
-
*/
|
|
239
|
-
showPublishedView(channel: string, uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
240
|
-
httpHeaderAccept?: undefined;
|
|
241
|
-
context?: HttpContext;
|
|
242
|
-
}): Observable<any>;
|
|
243
|
-
showPublishedView(channel: string, uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
244
|
-
httpHeaderAccept?: undefined;
|
|
245
|
-
context?: HttpContext;
|
|
246
|
-
}): Observable<HttpResponse<any>>;
|
|
247
|
-
showPublishedView(channel: string, uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
248
|
-
httpHeaderAccept?: undefined;
|
|
249
|
-
context?: HttpContext;
|
|
250
|
-
}): Observable<HttpEvent<any>>;
|
|
251
|
-
/**
|
|
252
|
-
* Updates an existing ViewContext
|
|
253
|
-
* @param viewContextUpdate
|
|
254
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
255
|
-
* @param reportProgress flag to report request and response progress.
|
|
256
|
-
*/
|
|
257
|
-
updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'body', reportProgress?: boolean, options?: {
|
|
258
|
-
httpHeaderAccept?: 'application/json';
|
|
259
|
-
context?: HttpContext;
|
|
260
|
-
}): Observable<ViewContextData>;
|
|
261
|
-
updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'response', reportProgress?: boolean, options?: {
|
|
262
|
-
httpHeaderAccept?: 'application/json';
|
|
263
|
-
context?: HttpContext;
|
|
264
|
-
}): Observable<HttpResponse<ViewContextData>>;
|
|
265
|
-
updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'events', reportProgress?: boolean, options?: {
|
|
266
|
-
httpHeaderAccept?: 'application/json';
|
|
267
|
-
context?: HttpContext;
|
|
268
|
-
}): Observable<HttpEvent<ViewContextData>>;
|
|
269
|
-
/**
|
|
270
|
-
* Performs an upload UI action.
|
|
271
|
-
* @param uuid
|
|
272
|
-
* @param uiActionRequest Stringify-d UiActionRequest.
|
|
273
|
-
* @param param Parameter name to use when converting uploaded file to BinaryData.
|
|
274
|
-
* @param content
|
|
275
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
276
|
-
* @param reportProgress flag to report request and response progress.
|
|
277
|
-
*/
|
|
278
|
-
uploadAction(uuid: string, uiActionRequest?: string, param?: string, content?: Blob, observe?: 'body', reportProgress?: boolean, options?: {
|
|
279
|
-
httpHeaderAccept?: 'application/json';
|
|
280
|
-
context?: HttpContext;
|
|
281
|
-
}): Observable<ViewContextChange>;
|
|
282
|
-
uploadAction(uuid: string, uiActionRequest?: string, param?: string, content?: Blob, observe?: 'response', reportProgress?: boolean, options?: {
|
|
283
|
-
httpHeaderAccept?: 'application/json';
|
|
284
|
-
context?: HttpContext;
|
|
285
|
-
}): Observable<HttpResponse<ViewContextChange>>;
|
|
286
|
-
uploadAction(uuid: string, uiActionRequest?: string, param?: string, content?: Blob, observe?: 'events', reportProgress?: boolean, options?: {
|
|
287
|
-
httpHeaderAccept?: 'application/json';
|
|
288
|
-
context?: HttpContext;
|
|
289
|
-
}): Observable<HttpEvent<ViewContextChange>>;
|
|
290
|
-
/**
|
|
291
|
-
* Performs a generic UI action.
|
|
292
|
-
* @param uuid
|
|
293
|
-
* @param uiActionRequest Stringify-d UiActionRequest.
|
|
294
|
-
* @param param Parameter name to use when converting uploaded file to BinaryData.
|
|
295
|
-
* @param contents
|
|
296
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
297
|
-
* @param reportProgress flag to report request and response progress.
|
|
298
|
-
*/
|
|
299
|
-
uploadMultipleAction(uuid: string, uiActionRequest?: string, param?: string, contents?: Array<Blob>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
300
|
-
httpHeaderAccept?: 'application/json';
|
|
301
|
-
context?: HttpContext;
|
|
302
|
-
}): Observable<ViewContextChange>;
|
|
303
|
-
uploadMultipleAction(uuid: string, uiActionRequest?: string, param?: string, contents?: Array<Blob>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
304
|
-
httpHeaderAccept?: 'application/json';
|
|
305
|
-
context?: HttpContext;
|
|
306
|
-
}): Observable<HttpResponse<ViewContextChange>>;
|
|
307
|
-
uploadMultipleAction(uuid: string, uiActionRequest?: string, param?: string, contents?: Array<Blob>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
308
|
-
httpHeaderAccept?: 'application/json';
|
|
309
|
-
context?: HttpContext;
|
|
310
|
-
}): Observable<HttpEvent<ViewContextChange>>;
|
|
311
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ViewService, [null, { optional: true; }, { optional: true; }]>;
|
|
312
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ViewService>;
|
|
313
|
-
}
|
|
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 { DataChange } from '../model/dataChange';
|
|
5
|
+
import { MessageResult } from '../model/messageResult';
|
|
6
|
+
import { UiActionRequest } from '../model/uiActionRequest';
|
|
7
|
+
import { ViewConstraint } from '../model/viewConstraint';
|
|
8
|
+
import { ViewContextChange } from '../model/viewContextChange';
|
|
9
|
+
import { ViewContextData } from '../model/viewContextData';
|
|
10
|
+
import { ViewContextUpdate } from '../model/viewContextUpdate';
|
|
11
|
+
import { Configuration } from '../configuration';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class ViewService {
|
|
14
|
+
protected httpClient: HttpClient;
|
|
15
|
+
protected basePath: string;
|
|
16
|
+
defaultHeaders: HttpHeaders;
|
|
17
|
+
configuration: Configuration;
|
|
18
|
+
encoder: HttpParameterCodec;
|
|
19
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
20
|
+
/**
|
|
21
|
+
* @param consumes string[] mime-types
|
|
22
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
23
|
+
*/
|
|
24
|
+
private canConsumeForm;
|
|
25
|
+
private addToHttpParams;
|
|
26
|
+
private addToHttpParamsRecursive;
|
|
27
|
+
/**
|
|
28
|
+
* Creates a new ViewContext
|
|
29
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
30
|
+
* @param reportProgress flag to report request and response progress.
|
|
31
|
+
*/
|
|
32
|
+
createViewContext(observe?: 'body', reportProgress?: boolean, options?: {
|
|
33
|
+
httpHeaderAccept?: 'application/json';
|
|
34
|
+
context?: HttpContext;
|
|
35
|
+
}): Observable<ViewContextData>;
|
|
36
|
+
createViewContext(observe?: 'response', reportProgress?: boolean, options?: {
|
|
37
|
+
httpHeaderAccept?: 'application/json';
|
|
38
|
+
context?: HttpContext;
|
|
39
|
+
}): Observable<HttpResponse<ViewContextData>>;
|
|
40
|
+
createViewContext(observe?: 'events', reportProgress?: boolean, options?: {
|
|
41
|
+
httpHeaderAccept?: 'application/json';
|
|
42
|
+
context?: HttpContext;
|
|
43
|
+
}): Observable<HttpEvent<ViewContextData>>;
|
|
44
|
+
/**
|
|
45
|
+
* Notification of a data change event..
|
|
46
|
+
* @param uuid
|
|
47
|
+
* @param dataChange
|
|
48
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
49
|
+
* @param reportProgress flag to report request and response progress.
|
|
50
|
+
*/
|
|
51
|
+
dataChanged(uuid: string, dataChange: DataChange, observe?: 'body', reportProgress?: boolean, options?: {
|
|
52
|
+
httpHeaderAccept?: 'application/json';
|
|
53
|
+
context?: HttpContext;
|
|
54
|
+
}): Observable<ViewContextChange>;
|
|
55
|
+
dataChanged(uuid: string, dataChange: DataChange, observe?: 'response', reportProgress?: boolean, options?: {
|
|
56
|
+
httpHeaderAccept?: 'application/json';
|
|
57
|
+
context?: HttpContext;
|
|
58
|
+
}): Observable<HttpResponse<ViewContextChange>>;
|
|
59
|
+
dataChanged(uuid: string, dataChange: DataChange, observe?: 'events', reportProgress?: boolean, options?: {
|
|
60
|
+
httpHeaderAccept?: 'application/json';
|
|
61
|
+
context?: HttpContext;
|
|
62
|
+
}): Observable<HttpEvent<ViewContextChange>>;
|
|
63
|
+
/**
|
|
64
|
+
* @param uuid
|
|
65
|
+
* @param item
|
|
66
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
67
|
+
* @param reportProgress flag to report request and response progress.
|
|
68
|
+
*/
|
|
69
|
+
downloadItem(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
70
|
+
httpHeaderAccept?: 'application/octet-stream';
|
|
71
|
+
context?: HttpContext;
|
|
72
|
+
}): Observable<Blob>;
|
|
73
|
+
downloadItem(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
74
|
+
httpHeaderAccept?: 'application/octet-stream';
|
|
75
|
+
context?: HttpContext;
|
|
76
|
+
}): Observable<HttpResponse<Blob>>;
|
|
77
|
+
downloadItem(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
78
|
+
httpHeaderAccept?: 'application/octet-stream';
|
|
79
|
+
context?: HttpContext;
|
|
80
|
+
}): Observable<HttpEvent<Blob>>;
|
|
81
|
+
/**
|
|
82
|
+
* @param uuid
|
|
83
|
+
* @param item
|
|
84
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
85
|
+
* @param reportProgress flag to report request and response progress.
|
|
86
|
+
*/
|
|
87
|
+
downloadItemDeprecated(uuid: string, item: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
88
|
+
httpHeaderAccept?: 'application/octet-stream';
|
|
89
|
+
context?: HttpContext;
|
|
90
|
+
}): Observable<Blob>;
|
|
91
|
+
downloadItemDeprecated(uuid: string, item: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
92
|
+
httpHeaderAccept?: 'application/octet-stream';
|
|
93
|
+
context?: HttpContext;
|
|
94
|
+
}): Observable<HttpResponse<Blob>>;
|
|
95
|
+
downloadItemDeprecated(uuid: string, item: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
96
|
+
httpHeaderAccept?: 'application/octet-stream';
|
|
97
|
+
context?: HttpContext;
|
|
98
|
+
}): Observable<HttpEvent<Blob>>;
|
|
99
|
+
/**
|
|
100
|
+
* Returns component\'s model.
|
|
101
|
+
* @param uuid Component\'s unique identifier.
|
|
102
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
103
|
+
* @param reportProgress flag to report request and response progress.
|
|
104
|
+
*/
|
|
105
|
+
getComponentModel(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
106
|
+
httpHeaderAccept?: 'application/json';
|
|
107
|
+
context?: HttpContext;
|
|
108
|
+
}): Observable<ComponentModel>;
|
|
109
|
+
getComponentModel(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
110
|
+
httpHeaderAccept?: 'application/json';
|
|
111
|
+
context?: HttpContext;
|
|
112
|
+
}): Observable<HttpResponse<ComponentModel>>;
|
|
113
|
+
getComponentModel(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
114
|
+
httpHeaderAccept?: 'application/json';
|
|
115
|
+
context?: HttpContext;
|
|
116
|
+
}): Observable<HttpEvent<ComponentModel>>;
|
|
117
|
+
/**
|
|
118
|
+
* Returns the view constraint object belongs to the given view
|
|
119
|
+
* @param uuid View\'s unique identifier.
|
|
120
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
121
|
+
* @param reportProgress flag to report request and response progress.
|
|
122
|
+
*/
|
|
123
|
+
getViewConstraint(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
124
|
+
httpHeaderAccept?: 'application/json';
|
|
125
|
+
context?: HttpContext;
|
|
126
|
+
}): Observable<ViewConstraint>;
|
|
127
|
+
getViewConstraint(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
128
|
+
httpHeaderAccept?: 'application/json';
|
|
129
|
+
context?: HttpContext;
|
|
130
|
+
}): Observable<HttpResponse<ViewConstraint>>;
|
|
131
|
+
getViewConstraint(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
132
|
+
httpHeaderAccept?: 'application/json';
|
|
133
|
+
context?: HttpContext;
|
|
134
|
+
}): Observable<HttpEvent<ViewConstraint>>;
|
|
135
|
+
/**
|
|
136
|
+
* Returns the existing session info
|
|
137
|
+
* @param uuid ViewContext\'s unique identifier.
|
|
138
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
139
|
+
* @param reportProgress flag to report request and response progress.
|
|
140
|
+
*/
|
|
141
|
+
getViewContext(uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
142
|
+
httpHeaderAccept?: 'application/json';
|
|
143
|
+
context?: HttpContext;
|
|
144
|
+
}): Observable<ViewContextData>;
|
|
145
|
+
getViewContext(uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
146
|
+
httpHeaderAccept?: 'application/json';
|
|
147
|
+
context?: HttpContext;
|
|
148
|
+
}): Observable<HttpResponse<ViewContextData>>;
|
|
149
|
+
getViewContext(uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
150
|
+
httpHeaderAccept?: 'application/json';
|
|
151
|
+
context?: HttpContext;
|
|
152
|
+
}): Observable<HttpEvent<ViewContextData>>;
|
|
153
|
+
/**
|
|
154
|
+
*
|
|
155
|
+
* @param viewUuid View UUID.
|
|
156
|
+
* @param messageUuid Message UUID.
|
|
157
|
+
* @param messageResult
|
|
158
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
159
|
+
* @param reportProgress flag to report request and response progress.
|
|
160
|
+
*/
|
|
161
|
+
message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'body', reportProgress?: boolean, options?: {
|
|
162
|
+
httpHeaderAccept?: undefined;
|
|
163
|
+
context?: HttpContext;
|
|
164
|
+
}): Observable<any>;
|
|
165
|
+
message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'response', reportProgress?: boolean, options?: {
|
|
166
|
+
httpHeaderAccept?: undefined;
|
|
167
|
+
context?: HttpContext;
|
|
168
|
+
}): Observable<HttpResponse<any>>;
|
|
169
|
+
message(viewUuid: string, messageUuid: string, messageResult: MessageResult, observe?: 'events', reportProgress?: boolean, options?: {
|
|
170
|
+
httpHeaderAccept?: undefined;
|
|
171
|
+
context?: HttpContext;
|
|
172
|
+
}): Observable<HttpEvent<any>>;
|
|
173
|
+
/**
|
|
174
|
+
* Performs a generic UI action.
|
|
175
|
+
* @param uuid
|
|
176
|
+
* @param body
|
|
177
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
178
|
+
* @param reportProgress flag to report request and response progress.
|
|
179
|
+
*/
|
|
180
|
+
performAction(uuid: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
181
|
+
httpHeaderAccept?: 'application/json';
|
|
182
|
+
context?: HttpContext;
|
|
183
|
+
}): Observable<ViewContextChange>;
|
|
184
|
+
performAction(uuid: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
185
|
+
httpHeaderAccept?: 'application/json';
|
|
186
|
+
context?: HttpContext;
|
|
187
|
+
}): Observable<HttpResponse<ViewContextChange>>;
|
|
188
|
+
performAction(uuid: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
189
|
+
httpHeaderAccept?: 'application/json';
|
|
190
|
+
context?: HttpContext;
|
|
191
|
+
}): Observable<HttpEvent<ViewContextChange>>;
|
|
192
|
+
/**
|
|
193
|
+
* Performs a widget UI action.
|
|
194
|
+
* @param uuid
|
|
195
|
+
* @param widgetId
|
|
196
|
+
* @param nodeId
|
|
197
|
+
* @param body
|
|
198
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
199
|
+
* @param reportProgress flag to report request and response progress.
|
|
200
|
+
*/
|
|
201
|
+
performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
202
|
+
httpHeaderAccept?: 'application/json';
|
|
203
|
+
context?: HttpContext;
|
|
204
|
+
}): Observable<ViewContextChange>;
|
|
205
|
+
performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
206
|
+
httpHeaderAccept?: 'application/json';
|
|
207
|
+
context?: HttpContext;
|
|
208
|
+
}): Observable<HttpResponse<ViewContextChange>>;
|
|
209
|
+
performWidgetAction(uuid: string, widgetId: string, nodeId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
210
|
+
httpHeaderAccept?: 'application/json';
|
|
211
|
+
context?: HttpContext;
|
|
212
|
+
}): Observable<HttpEvent<ViewContextChange>>;
|
|
213
|
+
/**
|
|
214
|
+
* Performs a widget UI action.
|
|
215
|
+
* @param uuid
|
|
216
|
+
* @param widgetId
|
|
217
|
+
* @param body
|
|
218
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
219
|
+
* @param reportProgress flag to report request and response progress.
|
|
220
|
+
*/
|
|
221
|
+
performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'body', reportProgress?: boolean, options?: {
|
|
222
|
+
httpHeaderAccept?: 'application/json';
|
|
223
|
+
context?: HttpContext;
|
|
224
|
+
}): Observable<ViewContextChange>;
|
|
225
|
+
performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'response', reportProgress?: boolean, options?: {
|
|
226
|
+
httpHeaderAccept?: 'application/json';
|
|
227
|
+
context?: HttpContext;
|
|
228
|
+
}): Observable<HttpResponse<ViewContextChange>>;
|
|
229
|
+
performWidgetMainAction(uuid: string, widgetId: string, body: UiActionRequest, observe?: 'events', reportProgress?: boolean, options?: {
|
|
230
|
+
httpHeaderAccept?: 'application/json';
|
|
231
|
+
context?: HttpContext;
|
|
232
|
+
}): Observable<HttpEvent<ViewContextChange>>;
|
|
233
|
+
/**
|
|
234
|
+
* @param channel Smartlink\'s channel.
|
|
235
|
+
* @param uuid Smartlink\'s unique identifier
|
|
236
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
237
|
+
* @param reportProgress flag to report request and response progress.
|
|
238
|
+
*/
|
|
239
|
+
showPublishedView(channel: string, uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
240
|
+
httpHeaderAccept?: undefined;
|
|
241
|
+
context?: HttpContext;
|
|
242
|
+
}): Observable<any>;
|
|
243
|
+
showPublishedView(channel: string, uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
244
|
+
httpHeaderAccept?: undefined;
|
|
245
|
+
context?: HttpContext;
|
|
246
|
+
}): Observable<HttpResponse<any>>;
|
|
247
|
+
showPublishedView(channel: string, uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
248
|
+
httpHeaderAccept?: undefined;
|
|
249
|
+
context?: HttpContext;
|
|
250
|
+
}): Observable<HttpEvent<any>>;
|
|
251
|
+
/**
|
|
252
|
+
* Updates an existing ViewContext
|
|
253
|
+
* @param viewContextUpdate
|
|
254
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
255
|
+
* @param reportProgress flag to report request and response progress.
|
|
256
|
+
*/
|
|
257
|
+
updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'body', reportProgress?: boolean, options?: {
|
|
258
|
+
httpHeaderAccept?: 'application/json';
|
|
259
|
+
context?: HttpContext;
|
|
260
|
+
}): Observable<ViewContextData>;
|
|
261
|
+
updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'response', reportProgress?: boolean, options?: {
|
|
262
|
+
httpHeaderAccept?: 'application/json';
|
|
263
|
+
context?: HttpContext;
|
|
264
|
+
}): Observable<HttpResponse<ViewContextData>>;
|
|
265
|
+
updateViewContext(viewContextUpdate: ViewContextUpdate, observe?: 'events', reportProgress?: boolean, options?: {
|
|
266
|
+
httpHeaderAccept?: 'application/json';
|
|
267
|
+
context?: HttpContext;
|
|
268
|
+
}): Observable<HttpEvent<ViewContextData>>;
|
|
269
|
+
/**
|
|
270
|
+
* Performs an upload UI action.
|
|
271
|
+
* @param uuid
|
|
272
|
+
* @param uiActionRequest Stringify-d UiActionRequest.
|
|
273
|
+
* @param param Parameter name to use when converting uploaded file to BinaryData.
|
|
274
|
+
* @param content
|
|
275
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
276
|
+
* @param reportProgress flag to report request and response progress.
|
|
277
|
+
*/
|
|
278
|
+
uploadAction(uuid: string, uiActionRequest?: string, param?: string, content?: Blob, observe?: 'body', reportProgress?: boolean, options?: {
|
|
279
|
+
httpHeaderAccept?: 'application/json';
|
|
280
|
+
context?: HttpContext;
|
|
281
|
+
}): Observable<ViewContextChange>;
|
|
282
|
+
uploadAction(uuid: string, uiActionRequest?: string, param?: string, content?: Blob, observe?: 'response', reportProgress?: boolean, options?: {
|
|
283
|
+
httpHeaderAccept?: 'application/json';
|
|
284
|
+
context?: HttpContext;
|
|
285
|
+
}): Observable<HttpResponse<ViewContextChange>>;
|
|
286
|
+
uploadAction(uuid: string, uiActionRequest?: string, param?: string, content?: Blob, observe?: 'events', reportProgress?: boolean, options?: {
|
|
287
|
+
httpHeaderAccept?: 'application/json';
|
|
288
|
+
context?: HttpContext;
|
|
289
|
+
}): Observable<HttpEvent<ViewContextChange>>;
|
|
290
|
+
/**
|
|
291
|
+
* Performs a generic UI action.
|
|
292
|
+
* @param uuid
|
|
293
|
+
* @param uiActionRequest Stringify-d UiActionRequest.
|
|
294
|
+
* @param param Parameter name to use when converting uploaded file to BinaryData.
|
|
295
|
+
* @param contents
|
|
296
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
297
|
+
* @param reportProgress flag to report request and response progress.
|
|
298
|
+
*/
|
|
299
|
+
uploadMultipleAction(uuid: string, uiActionRequest?: string, param?: string, contents?: Array<Blob>, observe?: 'body', reportProgress?: boolean, options?: {
|
|
300
|
+
httpHeaderAccept?: 'application/json';
|
|
301
|
+
context?: HttpContext;
|
|
302
|
+
}): Observable<ViewContextChange>;
|
|
303
|
+
uploadMultipleAction(uuid: string, uiActionRequest?: string, param?: string, contents?: Array<Blob>, observe?: 'response', reportProgress?: boolean, options?: {
|
|
304
|
+
httpHeaderAccept?: 'application/json';
|
|
305
|
+
context?: HttpContext;
|
|
306
|
+
}): Observable<HttpResponse<ViewContextChange>>;
|
|
307
|
+
uploadMultipleAction(uuid: string, uiActionRequest?: string, param?: string, contents?: Array<Blob>, observe?: 'events', reportProgress?: boolean, options?: {
|
|
308
|
+
httpHeaderAccept?: 'application/json';
|
|
309
|
+
context?: HttpContext;
|
|
310
|
+
}): Observable<HttpEvent<ViewContextChange>>;
|
|
311
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ViewService, [null, { optional: true; }, { optional: true; }]>;
|
|
312
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ViewService>;
|
|
313
|
+
}
|