@colijnit/mainapi 262.1.3 → 262.1.5
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/build/enum/absence-type.enum.d.ts +10 -10
- package/build/enum/absence-type.enum.js +14 -14
- package/build/enum/activities-object-name.enum.d.ts +4 -4
- package/build/enum/activities-object-name.enum.js +8 -8
- package/build/enum/activities-operation-name.enum.d.ts +13 -13
- package/build/enum/activities-operation-name.enum.js +17 -17
- package/build/enum/activity-sort-type.enum.d.ts +5 -5
- package/build/enum/activity-sort-type.enum.js +9 -9
- package/build/enum/activity-type.d.ts +9 -9
- package/build/enum/activity-type.js +13 -13
- package/build/enum/article-method.enum.d.ts +51 -51
- package/build/enum/article-method.enum.js +55 -55
- package/build/enum/article-publication.enum.d.ts +5 -5
- package/build/enum/article-publication.enum.js +9 -9
- package/build/enum/article.enum.d.ts +3 -3
- package/build/enum/article.enum.js +7 -7
- package/build/enum/backend-service-name.enum.d.ts +9 -9
- package/build/enum/backend-service-name.enum.js +13 -13
- package/build/enum/co-document-image-display-kind.enum.d.ts +5 -5
- package/build/enum/co-document-image-display-kind.enum.js +9 -9
- package/build/enum/co-document-type.enum.d.ts +6 -6
- package/build/enum/co-document-type.enum.js +10 -10
- package/build/enum/co-sub-report.bo.d.ts +11 -11
- package/build/enum/co-sub-report.bo.js +21 -21
- package/build/enum/config-object-name.enum.d.ts +3 -3
- package/build/enum/config-object-name.enum.js +7 -7
- package/build/enum/data-mapping.enum.d.ts +6 -6
- package/build/enum/data-mapping.enum.js +10 -10
- package/build/enum/data-service-method.enum.d.ts +17 -17
- package/build/enum/data-service-method.enum.js +21 -21
- package/build/enum/db-boolean-value-type.enum.d.ts +12 -12
- package/build/enum/db-boolean-value-type.enum.js +32 -32
- package/build/enum/delivery-time-unit-type.enum.d.ts +4 -4
- package/build/enum/delivery-time-unit-type.enum.js +8 -8
- package/build/enum/document-allowed-type.enum.d.ts +10 -10
- package/build/enum/document-allowed-type.enum.js +14 -14
- package/build/enum/document-method.enum.d.ts +6 -6
- package/build/enum/document-method.enum.js +10 -10
- package/build/enum/domain-name.enum.d.ts +67 -67
- package/build/enum/domain-name.enum.js +71 -71
- package/build/enum/event-notification-operation-name.enum.d.ts +4 -4
- package/build/enum/event-notification-operation-name.enum.js +8 -8
- package/build/enum/file-type-internal.enum.d.ts +11 -11
- package/build/enum/file-type-internal.enum.js +15 -15
- package/build/enum/file-type.enum.d.ts +8 -8
- package/build/enum/file-type.enum.js +12 -12
- package/build/enum/file-upload-common-service-file-type.enum.d.ts +7 -7
- package/build/enum/file-upload-common-service-file-type.enum.js +11 -11
- package/build/enum/file-upload-common-service-method.enum.d.ts +7 -7
- package/build/enum/file-upload-common-service-method.enum.js +11 -11
- package/build/enum/file-upload-common-service-upload-status.enum.d.ts +6 -6
- package/build/enum/file-upload-common-service-upload-status.enum.js +10 -10
- package/build/enum/form-question.type.d.ts +11 -11
- package/build/enum/form-question.type.js +15 -15
- package/build/enum/forms-method-name.enum.d.ts +3 -3
- package/build/enum/forms-method-name.enum.js +7 -7
- package/build/enum/forms-object-name.enum.d.ts +6 -6
- package/build/enum/forms-object-name.enum.js +10 -10
- package/build/enum/general-method.enum.d.ts +38 -37
- package/build/enum/general-method.enum.js +42 -41
- package/build/enum/good-type.d.ts +21 -21
- package/build/enum/good-type.js +25 -25
- package/build/enum/insured-interest-type.enum.d.ts +10 -10
- package/build/enum/insured-interest-type.enum.js +14 -14
- package/build/enum/internal-default.enum.d.ts +13 -13
- package/build/enum/internal-default.enum.js +17 -17
- package/build/enum/internal-param.enum.d.ts +31 -31
- package/build/enum/internal-param.enum.js +35 -35
- package/build/enum/ione-module-name.enum.d.ts +39 -39
- package/build/enum/ione-module-name.enum.js +55 -55
- package/build/enum/layout-code.enum.d.ts +12 -12
- package/build/enum/layout-code.enum.js +16 -16
- package/build/enum/master-data-object-name.enum.d.ts +27 -27
- package/build/enum/master-data-object-name.enum.js +31 -31
- package/build/enum/message-type.enum.d.ts +6 -6
- package/build/enum/message-type.enum.js +10 -10
- package/build/enum/model-creation-method.enum.d.ts +4 -4
- package/build/enum/model-creation-method.enum.js +8 -8
- package/build/enum/module-name.enum.d.ts +17 -17
- package/build/enum/module-name.enum.js +21 -21
- package/build/enum/module-navigation-link.d.ts +5 -5
- package/build/enum/module-navigation-link.js +2 -2
- package/build/enum/note-display-type.enum.d.ts +5 -5
- package/build/enum/note-display-type.enum.js +9 -9
- package/build/enum/one-zero-bool-db-type.enum.d.ts +5 -5
- package/build/enum/one-zero-bool-db-type.enum.js +20 -20
- package/build/enum/own-risk.enum.d.ts +7 -7
- package/build/enum/own-risk.enum.js +11 -11
- package/build/enum/period.enum.d.ts +7 -7
- package/build/enum/period.enum.js +11 -11
- package/build/enum/personal-activity-tab.enum.d.ts +4 -4
- package/build/enum/personal-activity-tab.enum.js +8 -8
- package/build/enum/preset-object-name.enum.d.ts +3 -3
- package/build/enum/preset-object-name.enum.js +7 -7
- package/build/enum/price-type.enum.d.ts +4 -4
- package/build/enum/price-type.enum.js +8 -8
- package/build/enum/printing-service-method.d.ts +8 -8
- package/build/enum/printing-service-method.js +12 -12
- package/build/enum/priority-type.enum.d.ts +7 -7
- package/build/enum/priority-type.enum.js +11 -11
- package/build/enum/product-kind.enum.d.ts +6 -6
- package/build/enum/product-kind.enum.js +10 -10
- package/build/enum/public-service-method.d.ts +24 -23
- package/build/enum/public-service-method.js +28 -27
- package/build/enum/relation-kind.d.ts +10 -10
- package/build/enum/relation-kind.js +14 -14
- package/build/enum/relman-complete-name.d.ts +5 -5
- package/build/enum/relman-complete-name.js +2 -2
- package/build/enum/report-action.enum.d.ts +8 -8
- package/build/enum/report-action.enum.js +12 -12
- package/build/enum/report-method.enum.d.ts +16 -16
- package/build/enum/report-method.enum.js +20 -20
- package/build/enum/report-object-name.enum.d.ts +3 -3
- package/build/enum/report-object-name.enum.js +7 -7
- package/build/enum/report-param-type.enum.d.ts +15 -15
- package/build/enum/report-param-type.enum.js +19 -19
- package/build/enum/report-type.enum.d.ts +47 -47
- package/build/enum/report-type.enum.js +51 -51
- package/build/enum/reporting-documents-method.enum.d.ts +5 -5
- package/build/enum/reporting-documents-method.enum.js +9 -9
- package/build/enum/send-method-type.enum.d.ts +11 -11
- package/build/enum/send-method-type.enum.js +15 -15
- package/build/enum/sequence-name.enum.d.ts +31 -31
- package/build/enum/sequence-name.enum.js +35 -35
- package/build/enum/simple-base-data-object-name.enum.d.ts +6 -6
- package/build/enum/simple-base-data-object-name.enum.js +10 -10
- package/build/enum/simple-base-data-operation-name.enum.d.ts +5 -5
- package/build/enum/simple-base-data-operation-name.enum.js +9 -9
- package/build/enum/tab-category.enum.d.ts +19 -19
- package/build/enum/tab-category.enum.js +23 -23
- package/build/enum/table-name.enum.d.ts +84 -84
- package/build/enum/table-name.enum.js +88 -88
- package/build/enum/tag-method.enum.d.ts +4 -4
- package/build/enum/tag-method.enum.js +8 -8
- package/build/enum/tag-object.enum.d.ts +3 -3
- package/build/enum/tag-object.enum.js +7 -7
- package/build/enum/tag-operation-name.enum.d.ts +3 -3
- package/build/enum/tag-operation-name.enum.js +7 -7
- package/build/enum/text-standard-type-text.d.ts +7 -7
- package/build/enum/text-standard-type-text.js +11 -11
- package/build/enum/text-standard-type.d.ts +7 -7
- package/build/enum/text-standard-type.js +11 -11
- package/build/enum/transaction-kind.d.ts +13 -13
- package/build/enum/transaction-kind.js +17 -17
- package/build/enum/transport-costs-distribution.enum.d.ts +4 -4
- package/build/enum/transport-costs-distribution.enum.js +8 -8
- package/build/enum/true-false-db-type.enum.d.ts +5 -5
- package/build/enum/true-false-db-type.enum.js +20 -20
- package/build/enum/vat-type.enum.d.ts +4 -4
- package/build/enum/vat-type.enum.js +8 -8
- package/build/enum/workflow-category.enum.d.ts +19 -19
- package/build/enum/workflow-category.enum.js +23 -23
- package/build/enum/workflow-trigger-type.enum.d.ts +8 -8
- package/build/enum/workflow-trigger-type.enum.js +12 -12
- package/build/enum/yes-no-db-type.enum.d.ts +5 -5
- package/build/enum/yes-no-db-type.enum.js +20 -20
- package/build/main-api-connection.d.ts +113 -112
- package/build/main-api-connection.js +12 -12
- package/build/main-api.d.ts +131 -130
- package/build/main-api.js +375 -370
- package/build/main-api.unit.test.d.ts +1 -1
- package/build/main-api.unit.test.js +216 -208
- package/build/main-auth.d.ts +113 -112
- package/build/main-auth.js +1121 -1105
- package/build/main-public.d.ts +113 -112
- package/build/main-public.js +539 -533
- package/build/model/activity-email-history.bo.d.ts +10 -10
- package/build/model/activity-email-history.bo.js +21 -21
- package/build/model/activity-email-request-data.d.ts +8 -8
- package/build/model/activity-email-request-data.js +6 -6
- package/build/model/activity-list-view-model.d.ts +11 -11
- package/build/model/activity-list-view-model.js +20 -20
- package/build/model/activity-view-model.d.ts +13 -13
- package/build/model/activity-view-model.js +27 -27
- package/build/model/activity-workflow.d.ts +24 -24
- package/build/model/activity-workflow.js +66 -66
- package/build/model/activity.bo.d.ts +58 -58
- package/build/model/activity.bo.js +484 -484
- package/build/model/article-seo-value.d.ts +5 -5
- package/build/model/article-seo-value.js +6 -6
- package/build/model/branch.bo.d.ts +8 -8
- package/build/model/branch.bo.js +7 -7
- package/build/model/brand.d.ts +8 -8
- package/build/model/brand.js +10 -10
- package/build/model/category.bo.d.ts +12 -12
- package/build/model/category.bo.js +16 -16
- package/build/model/co-document-right.d.ts +7 -7
- package/build/model/co-document-right.js +7 -7
- package/build/model/co-document.bo.d.ts +67 -67
- package/build/model/co-document.bo.js +235 -235
- package/build/model/co-domain-value.bo.d.ts +10 -10
- package/build/model/co-domain-value.bo.js +20 -20
- package/build/model/co-email-attachment.bo.d.ts +6 -6
- package/build/model/co-email-attachment.bo.js +7 -7
- package/build/model/co-notition-right.bo.d.ts +10 -10
- package/build/model/co-notition-right.bo.js +13 -13
- package/build/model/co-notition.bo.d.ts +24 -24
- package/build/model/co-notition.bo.js +79 -79
- package/build/model/co-report-category-link.bo.d.ts +8 -8
- package/build/model/co-report-category-link.bo.js +7 -7
- package/build/model/co-report-sjablonen-documenten.bo.d.ts +6 -6
- package/build/model/co-report-sjablonen-documenten.bo.js +7 -7
- package/build/model/co-report.bo.d.ts +47 -47
- package/build/model/co-report.bo.js +68 -68
- package/build/model/co-rv-domain-value.bo.d.ts +10 -10
- package/build/model/co-rv-domain-value.bo.js +20 -20
- package/build/model/co-text.d.ts +26 -26
- package/build/model/co-text.js +28 -28
- package/build/model/color.bo.d.ts +7 -7
- package/build/model/color.bo.js +10 -10
- package/build/model/constant/java-constants.d.ts +2 -2
- package/build/model/constant/java-constants.js +5 -5
- package/build/model/constant/ref-code-class-to-domain-name-map.d.ts +2 -2
- package/build/model/constant/ref-code-class-to-domain-name-map.js +12 -12
- package/build/model/contact-moment.bo.d.ts +17 -17
- package/build/model/contact-moment.bo.js +39 -39
- package/build/model/container-article-info.d.ts +8 -8
- package/build/model/container-article-info.js +10 -10
- package/build/model/container-info.bo.d.ts +14 -14
- package/build/model/container-info.bo.js +14 -14
- package/build/model/container-type.bo.d.ts +11 -11
- package/build/model/container-type.bo.js +13 -13
- package/build/model/container.bo.d.ts +19 -19
- package/build/model/container.bo.js +39 -39
- package/build/model/currency.bo.d.ts +13 -13
- package/build/model/currency.bo.js +33 -33
- package/build/model/department.bo.d.ts +12 -12
- package/build/model/department.bo.js +69 -69
- package/build/model/document-allowed-extension.bo.d.ts +6 -6
- package/build/model/document-allowed-extension.bo.js +7 -7
- package/build/model/email-activity-request.d.ts +6 -6
- package/build/model/email-activity-request.js +7 -7
- package/build/model/email-job.d.ts +10 -10
- package/build/model/email-job.js +7 -7
- package/build/model/file-upload-common-response.d.ts +8 -8
- package/build/model/file-upload-common-response.js +7 -7
- package/build/model/form-question-answer.bo.d.ts +10 -10
- package/build/model/form-question-answer.bo.js +13 -13
- package/build/model/form-question-response.bo.d.ts +10 -10
- package/build/model/form-question-response.bo.js +31 -31
- package/build/model/form-question.bo.d.ts +20 -20
- package/build/model/form-question.bo.js +39 -39
- package/build/model/form-response.bo.d.ts +16 -16
- package/build/model/form-response.bo.js +33 -33
- package/build/model/form.bo.d.ts +20 -20
- package/build/model/form.bo.js +38 -38
- package/build/model/get-postal-code-retrieval-output-params.d.ts +7 -7
- package/build/model/get-postal-code-retrieval-output-params.js +6 -6
- package/build/model/grouped-form-question.bo.d.ts +12 -12
- package/build/model/grouped-form-question.bo.js +28 -28
- package/build/model/image-content.bo.d.ts +5 -5
- package/build/model/image-content.bo.js +6 -6
- package/build/model/insured-interest.bo.d.ts +13 -13
- package/build/model/insured-interest.bo.js +39 -39
- package/build/model/language.bo.d.ts +5 -5
- package/build/model/language.bo.js +7 -7
- package/build/model/order-line-set-category.bo.d.ts +8 -8
- package/build/model/order-line-set-category.bo.js +7 -7
- package/build/model/own-risk.bo.d.ts +11 -11
- package/build/model/own-risk.bo.js +39 -39
- package/build/model/payment-condition-ledger-account.bo.d.ts +6 -6
- package/build/model/payment-condition-ledger-account.bo.js +7 -7
- package/build/model/payment-condition.bo.d.ts +11 -11
- package/build/model/payment-condition.bo.js +34 -34
- package/build/model/preset.bo.d.ts +12 -12
- package/build/model/preset.bo.js +16 -16
- package/build/model/print-purchase-order-for-transaction-order-without-lines-request.d.ts +10 -10
- package/build/model/print-purchase-order-for-transaction-order-without-lines-request.js +12 -12
- package/build/model/print-purchase-order-for-transaction-request.d.ts +4 -4
- package/build/model/print-purchase-order-for-transaction-request.js +7 -7
- package/build/model/printer.bo.d.ts +8 -8
- package/build/model/printer.bo.js +13 -13
- package/build/model/printing-service-request-data.d.ts +16 -16
- package/build/model/printing-service-request-data.js +2 -2
- package/build/model/privacy-setting.bo.d.ts +9 -9
- package/build/model/privacy-setting.bo.js +13 -13
- package/build/model/process-print-request.d.ts +5 -5
- package/build/model/process-print-request.js +2 -2
- package/build/model/relation-small-object.bo.d.ts +28 -28
- package/build/model/relation-small-object.bo.js +63 -63
- package/build/model/remark.bo.d.ts +19 -19
- package/build/model/remark.bo.js +57 -57
- package/build/model/report-category.bo.d.ts +6 -6
- package/build/model/report-category.bo.js +7 -7
- package/build/model/report-job.d.ts +5 -5
- package/build/model/report-job.js +9 -9
- package/build/model/report-layout-selection-base.bo.d.ts +9 -9
- package/build/model/report-layout-selection-base.bo.js +7 -7
- package/build/model/report-layout-selection-email.bo.d.ts +4 -4
- package/build/model/report-layout-selection-email.bo.js +7 -7
- package/build/model/report-layout-selection-print.bo.d.ts +5 -5
- package/build/model/report-layout-selection-print.bo.js +7 -7
- package/build/model/report-param.d.ts +16 -16
- package/build/model/report-param.js +9 -9
- package/build/model/report.bo.d.ts +11 -11
- package/build/model/report.bo.js +34 -34
- package/build/model/reporting-document-base-request.d.ts +4 -4
- package/build/model/reporting-document-base-request.js +6 -6
- package/build/model/reporting-document-email-base-request.d.ts +5 -5
- package/build/model/reporting-document-email-base-request.js +7 -7
- package/build/model/reporting-document-email-sign-doc-base-request.d.ts +5 -5
- package/build/model/reporting-document-email-sign-doc-base-request.js +11 -11
- package/build/model/reporting-document-pdf-base-request.d.ts +3 -3
- package/build/model/reporting-document-pdf-base-request.js +7 -7
- package/build/model/reporting-document-print-base-request.d.ts +7 -7
- package/build/model/reporting-document-print-base-request.js +7 -7
- package/build/model/reporting-document-print-sign-doc-base-request.d.ts +4 -4
- package/build/model/reporting-document-print-sign-doc-base-request.js +7 -7
- package/build/model/reporting-pdf-base-response.d.ts +4 -4
- package/build/model/reporting-pdf-base-response.js +6 -6
- package/build/model/role-email-address.d.ts +10 -10
- package/build/model/role-email-address.js +28 -28
- package/build/model/role-emailaddress.bo.d.ts +10 -10
- package/build/model/role-emailaddress.bo.js +28 -28
- package/build/model/select-report-templates-request.d.ts +17 -17
- package/build/model/select-report-templates-request.js +6 -6
- package/build/model/send-method.bo.d.ts +5 -5
- package/build/model/send-method.bo.js +7 -7
- package/build/model/store-group.bo.d.ts +9 -9
- package/build/model/store-group.bo.js +7 -7
- package/build/model/tag-stock-item.bo.d.ts +24 -24
- package/build/model/tag-stock-item.bo.js +21 -21
- package/build/model/tag-tree-item.bo.d.ts +18 -18
- package/build/model/tag-tree-item.bo.js +52 -52
- package/build/model/tag.d.ts +11 -11
- package/build/model/tag.js +41 -41
- package/build/model/task-category.bo.d.ts +13 -13
- package/build/model/task-category.bo.js +28 -28
- package/build/model/task.bo.d.ts +85 -85
- package/build/model/task.bo.js +262 -262
- package/build/model/title.bo.d.ts +9 -9
- package/build/model/title.bo.js +13 -13
- package/build/model/transition.bo.d.ts +17 -17
- package/build/model/transition.bo.js +21 -21
- package/build/model/tree-object.d.ts +8 -8
- package/build/model/tree-object.js +29 -29
- package/build/model/user-group.bo.d.ts +13 -13
- package/build/model/user-group.bo.js +16 -16
- package/build/model/work.bo.d.ts +21 -21
- package/build/model/work.bo.js +58 -58
- package/build/model/workflow-generic-transition.bo.d.ts +22 -22
- package/build/model/workflow-generic-transition.bo.js +28 -28
- package/build/model/workflow-process-info-per-status.d.ts +5 -5
- package/build/model/workflow-process-info-per-status.js +6 -6
- package/build/model/workflow-process.d.ts +13 -13
- package/build/model/workflow-process.js +7 -7
- package/build/model/workflow-trigger.bo.d.ts +45 -45
- package/build/model/workflow-trigger.bo.js +52 -52
- package/build/model/workflow.bo.d.ts +37 -37
- package/build/model/workflow.bo.js +159 -159
- package/build/utils/css-utils.d.ts +18 -18
- package/build/utils/css-utils.js +148 -148
- package/build/utils/file-utils.d.ts +35 -35
- package/build/utils/file-utils.js +418 -408
- package/build/utils/time-utils.d.ts +6 -6
- package/build/utils/time-utils.js +44 -44
- package/package.json +4 -4
package/build/main-api.js
CHANGED
|
@@ -1,370 +1,375 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.MainApi = void 0;
|
|
13
|
-
const rxjs_1 = require("rxjs");
|
|
14
|
-
const ioneconnector_1 = require("@colijnit/ioneconnector");
|
|
15
|
-
const main_auth_1 = require("./main-auth");
|
|
16
|
-
const main_public_1 = require("./main-public");
|
|
17
|
-
const domain_name_enum_1 = require("./enum/domain-name.enum");
|
|
18
|
-
class MainApi {
|
|
19
|
-
constructor(options) {
|
|
20
|
-
this.showLoader = new rxjs_1.Subject();
|
|
21
|
-
this.connectionAborted = new rxjs_1.Subject();
|
|
22
|
-
this.connectionResetInactivity = new rxjs_1.Subject();
|
|
23
|
-
this.useLoginEncryption = false;
|
|
24
|
-
this._subs = [];
|
|
25
|
-
if (options) {
|
|
26
|
-
this.url = options.url ? options.url : "";
|
|
27
|
-
this.version = options.version ? options.version : "";
|
|
28
|
-
this.schema = options.schema ? options.schema : "";
|
|
29
|
-
this.branch = options.branch ? options.branch : "";
|
|
30
|
-
this.languageCode = options.languageCode;
|
|
31
|
-
this.currencyId = options.hasOwnProperty("currencyId") ? options.currencyId : undefined;
|
|
32
|
-
this.useLoginEncryption = options.hasOwnProperty("useLoginEncryption") ? options.useLoginEncryption === true : false;
|
|
33
|
-
}
|
|
34
|
-
this._connector = new ioneconnector_1.Connector(options);
|
|
35
|
-
this.mainApi = MainApi.createConnector(this._connector.isPublicSession(), this._connector.hasSession());
|
|
36
|
-
this.mainApi.connector = this._connector;
|
|
37
|
-
this.mainApi.languageCode = this.languageCode;
|
|
38
|
-
this.mainApi.branchNr = this.branch;
|
|
39
|
-
this._subs.push(this._connector.showLoader.subscribe(value => this.showLoader.next(value)), this._connector.connectionAborted.subscribe(() => this.connectionAborted.next()), this._connector.connectionResetInactivity.subscribe(() => this._handleConnectionReset()));
|
|
40
|
-
}
|
|
41
|
-
connect(url, schema, version) {
|
|
42
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
-
return this._connector.connect(url, schema, version);
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
|
-
logOut() {
|
|
47
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
-
return this._connector.logOut();
|
|
49
|
-
});
|
|
50
|
-
}
|
|
51
|
-
getSessionId() {
|
|
52
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
-
return this._connector.getSessionId();
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
getDataSessionId() {
|
|
57
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
-
return this._connector.getDataSessionId();
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
selectMultiple(module, objectClass, operation, params, showLoader) {
|
|
62
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
-
return this.mainApi.selectMultiple(module, objectClass, operation, params, showLoader);
|
|
64
|
-
});
|
|
65
|
-
}
|
|
66
|
-
getSequenceValue(
|
|
67
|
-
return __awaiter(this,
|
|
68
|
-
return this.mainApi.getSequenceValue(sequenceName, noSequence);
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
getDefaultTemplate(documentCode) {
|
|
72
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
-
return this.mainApi.getTemplates(documentCode, true);
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
listAllPrinters() {
|
|
77
|
-
return this.mainApi.listAllPrinters();
|
|
78
|
-
}
|
|
79
|
-
listPrinters(showAll = false) {
|
|
80
|
-
return this.mainApi.listPrinters(showAll);
|
|
81
|
-
}
|
|
82
|
-
getStandardPrinter(reportId, type, showLoader) {
|
|
83
|
-
return this.mainApi.getStandardPrinter(reportId, type);
|
|
84
|
-
}
|
|
85
|
-
;
|
|
86
|
-
getSendMethods() {
|
|
87
|
-
return this.mainApi.getSendMethods();
|
|
88
|
-
}
|
|
89
|
-
getDocumentContent(id, thumbnail = true) {
|
|
90
|
-
return this.mainApi.getDocumentContent(id, thumbnail);
|
|
91
|
-
}
|
|
92
|
-
loadDocuments(key, table) {
|
|
93
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
-
return this.mainApi.loadDocuments(key, table);
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
loadDocumentContent(docId) {
|
|
98
|
-
return this.mainApi.loadDocumentContent(docId);
|
|
99
|
-
}
|
|
100
|
-
deleteDocument(documentId) {
|
|
101
|
-
return this.mainApi.deleteDocument(documentId);
|
|
102
|
-
}
|
|
103
|
-
upsertDocument(key, table, document) {
|
|
104
|
-
return this.mainApi.upsertDocument(key, table, document);
|
|
105
|
-
}
|
|
106
|
-
getCurrencies(active = true) {
|
|
107
|
-
return this.mainApi.getCurrencies(active);
|
|
108
|
-
}
|
|
109
|
-
getPaymentConditions(name) {
|
|
110
|
-
return this.mainApi.getPaymentConditions(name);
|
|
111
|
-
}
|
|
112
|
-
getJoinedTags(table, key) {
|
|
113
|
-
return this.mainApi.getJoinedTags(table, key);
|
|
114
|
-
}
|
|
115
|
-
mergeJoinedTags(table, key, tags) {
|
|
116
|
-
return this.mainApi.mergeJoinedTags(table, key, tags);
|
|
117
|
-
}
|
|
118
|
-
getTagsFullTree(category, includeTags) {
|
|
119
|
-
return this.mainApi.getTagsFullTree(category, includeTags);
|
|
120
|
-
}
|
|
121
|
-
getPublicParams(upId) {
|
|
122
|
-
return this.mainApi.getPublicParams(upId);
|
|
123
|
-
}
|
|
124
|
-
getInternalParameterValue(param) {
|
|
125
|
-
return this.mainApi.getInternalParameterValue(param);
|
|
126
|
-
}
|
|
127
|
-
storeCustomerThreeDObject(filename, fileContents) {
|
|
128
|
-
return this.mainApi.storeCustomerThreeDObject(filename, fileContents);
|
|
129
|
-
}
|
|
130
|
-
getPackageStickerPrintLayouts() {
|
|
131
|
-
return this.mainApi.getPackageStickerPrintLayouts();
|
|
132
|
-
}
|
|
133
|
-
getObjectConfigurations(screenCfgModule, params = ['ALL'], insertMode = false) {
|
|
134
|
-
return this.mainApi.getObjectConfigurations(screenCfgModule, params, insertMode);
|
|
135
|
-
}
|
|
136
|
-
getStoreGroups() {
|
|
137
|
-
return this.mainApi.getStoreGroups();
|
|
138
|
-
}
|
|
139
|
-
getInOutCollection(languageCode) {
|
|
140
|
-
return this.mainApi.getDomainCollection(languageCode, domain_name_enum_1.DomainName.InOutCollection);
|
|
141
|
-
}
|
|
142
|
-
getDomainCollection(languageCode, domainName) {
|
|
143
|
-
return this.mainApi.getDomainCollection(languageCode, domainName);
|
|
144
|
-
}
|
|
145
|
-
getRVDomainCollection(languageCode, domainName) {
|
|
146
|
-
return this.mainApi.getRVDomainCollection(languageCode, domainName);
|
|
147
|
-
}
|
|
148
|
-
getCategories() {
|
|
149
|
-
return this.mainApi.getCategories();
|
|
150
|
-
}
|
|
151
|
-
getColors() {
|
|
152
|
-
return this.mainApi.getColors();
|
|
153
|
-
}
|
|
154
|
-
getPriceLists(code) {
|
|
155
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
-
return this.mainApi.getPriceLists(code);
|
|
157
|
-
});
|
|
158
|
-
}
|
|
159
|
-
getUserGroups() {
|
|
160
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
-
return this.mainApi.getUserGroups();
|
|
162
|
-
});
|
|
163
|
-
}
|
|
164
|
-
getPresets(module, user) {
|
|
165
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
-
return this.mainApi.getPresets(module, user);
|
|
167
|
-
});
|
|
168
|
-
}
|
|
169
|
-
getPreset(presetId) {
|
|
170
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
-
return this.mainApi.getPreset(presetId);
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
savePreset(preset) {
|
|
175
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
-
return this.mainApi.savePreset(preset);
|
|
177
|
-
});
|
|
178
|
-
}
|
|
179
|
-
updatePreset(presetName) {
|
|
180
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
-
return this.mainApi.updatePreset(presetName);
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
getOrderLineSetCategories() {
|
|
185
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
186
|
-
return this.mainApi.getOrderLineSetCategories();
|
|
187
|
-
});
|
|
188
|
-
}
|
|
189
|
-
getPostalCodeRetrieval(postalCode, houseNumber, showLoader) {
|
|
190
|
-
return this.mainApi.getPostalCodeRetrieval(postalCode, houseNumber, showLoader);
|
|
191
|
-
}
|
|
192
|
-
getHistoricActivities(table, key) {
|
|
193
|
-
return this.mainApi.getHistoricActivities(table, key);
|
|
194
|
-
}
|
|
195
|
-
getComponentActivities(table, key) {
|
|
196
|
-
return this.mainApi.getComponentActivities(table, key);
|
|
197
|
-
}
|
|
198
|
-
getComponentActivitiesWithoutRelationFiltering(table, key) {
|
|
199
|
-
return this.mainApi.getComponentActivitiesWithoutRelationFiltering(table, key);
|
|
200
|
-
}
|
|
201
|
-
getActiveProcessesByTableAndKey(table, key) {
|
|
202
|
-
return this.mainApi.getActiveProcessesByTableAndKey(table, key);
|
|
203
|
-
}
|
|
204
|
-
getWorkflowStatusForActivity(table, key, component) {
|
|
205
|
-
return this.mainApi.getWorkflowStatusForActivity(table, key, component);
|
|
206
|
-
}
|
|
207
|
-
insertActivity(activity) {
|
|
208
|
-
return this.mainApi.insertActivity(activity);
|
|
209
|
-
}
|
|
210
|
-
updateActivity(activity) {
|
|
211
|
-
return this.mainApi.updateActivity(activity);
|
|
212
|
-
}
|
|
213
|
-
deleteActivity(activity) {
|
|
214
|
-
return this.mainApi.deleteActivity(activity);
|
|
215
|
-
}
|
|
216
|
-
insertEmailHistoryForRemark(history) {
|
|
217
|
-
return this.mainApi.insertEmailHistoryForRemark(history);
|
|
218
|
-
}
|
|
219
|
-
insertEmailHistoryForWork(history) {
|
|
220
|
-
return this.mainApi.insertEmailHistoryForWork(history);
|
|
221
|
-
}
|
|
222
|
-
insertEmailHistoryForTask(history) {
|
|
223
|
-
return this.mainApi.insertEmailHistoryForTask(history);
|
|
224
|
-
}
|
|
225
|
-
getTaskCategories() {
|
|
226
|
-
return this.mainApi.getTaskCategories();
|
|
227
|
-
}
|
|
228
|
-
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key) {
|
|
229
|
-
return this.mainApi.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
|
|
230
|
-
}
|
|
231
|
-
getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key) {
|
|
232
|
-
return this.mainApi.getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key);
|
|
233
|
-
}
|
|
234
|
-
getReportTemplates(reportTemplateRequest) {
|
|
235
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
236
|
-
return this.mainApi.getReportTemplates(reportTemplateRequest);
|
|
237
|
-
});
|
|
238
|
-
}
|
|
239
|
-
emailReport(printJob) {
|
|
240
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
241
|
-
return this.mainApi.emailReport(printJob);
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
getWorkflowProcessInfoPerStatus(workflowCategoryName) {
|
|
245
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
-
return this.mainApi.getWorkflowProcessInfoPerStatus(workflowCategoryName);
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
250
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
251
|
-
return this.mainApi.fireTrigger(workFlowProcessId, sequence, triggerId);
|
|
252
|
-
});
|
|
253
|
-
}
|
|
254
|
-
fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
|
|
255
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
-
return this.mainApi.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
|
|
257
|
-
});
|
|
258
|
-
}
|
|
259
|
-
lockTask(id) {
|
|
260
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
261
|
-
return this.mainApi.lockTask(id);
|
|
262
|
-
});
|
|
263
|
-
}
|
|
264
|
-
getInternalDefaultValue(param) {
|
|
265
|
-
return this.mainApi.getInternalDefaultValue(param);
|
|
266
|
-
}
|
|
267
|
-
emailActivity(request, showLoader) {
|
|
268
|
-
return this.mainApi.emailActivity(request, showLoader);
|
|
269
|
-
}
|
|
270
|
-
getSingleImage(nodeId, publication, includeMimetype, thumb, tableName) {
|
|
271
|
-
return this.mainApi.getSingleImage(nodeId, publication, includeMimetype, thumb, tableName);
|
|
272
|
-
}
|
|
273
|
-
getImage(key, publication, includeMimetype, thumb, tableName) {
|
|
274
|
-
return this.mainApi.getImage(key, publication, includeMimetype, thumb, tableName);
|
|
275
|
-
}
|
|
276
|
-
getImageForCoDocument(document, thumb) {
|
|
277
|
-
return this.mainApi.getImageForCoDocument(document, thumb);
|
|
278
|
-
}
|
|
279
|
-
getFormById(formId) {
|
|
280
|
-
return this.mainApi.getFormById(formId);
|
|
281
|
-
}
|
|
282
|
-
getFormResponse(formResponseId) {
|
|
283
|
-
return this.mainApi.getFormResponse(formResponseId);
|
|
284
|
-
}
|
|
285
|
-
getAllFormResponsesForTableAndKey(table, key) {
|
|
286
|
-
return this.mainApi.getAllFormResponsesForTableAndKey(table, key);
|
|
287
|
-
}
|
|
288
|
-
lockFormResponse(id) {
|
|
289
|
-
return this.mainApi.lockFormResponse(id);
|
|
290
|
-
}
|
|
291
|
-
unlockFormResponse(id) {
|
|
292
|
-
return this.mainApi.lockFormResponse(id);
|
|
293
|
-
}
|
|
294
|
-
insertFormResponse(formResponse) {
|
|
295
|
-
return this.mainApi.insertFormResponse(formResponse);
|
|
296
|
-
}
|
|
297
|
-
updateFormResponse(formResponse) {
|
|
298
|
-
return this.mainApi.updateFormResponse(formResponse);
|
|
299
|
-
}
|
|
300
|
-
getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList) {
|
|
301
|
-
return this.mainApi.getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList);
|
|
302
|
-
}
|
|
303
|
-
isGoogleTranslateEnabled() {
|
|
304
|
-
return this.mainApi.isGoogleTranslateEnabled();
|
|
305
|
-
}
|
|
306
|
-
upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse) {
|
|
307
|
-
return this.mainApi.upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse);
|
|
308
|
-
}
|
|
309
|
-
getContainers() {
|
|
310
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
-
return this.mainApi.getContainers();
|
|
312
|
-
});
|
|
313
|
-
}
|
|
314
|
-
getContainer(containerId) {
|
|
315
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
316
|
-
return this.mainApi.getContainer(containerId);
|
|
317
|
-
});
|
|
318
|
-
}
|
|
319
|
-
getContainerInfo(containerId) {
|
|
320
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
321
|
-
return this.mainApi.getContainerInfo(containerId);
|
|
322
|
-
});
|
|
323
|
-
}
|
|
324
|
-
getContainerTypes() {
|
|
325
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
326
|
-
return this.mainApi.getContainerTypes();
|
|
327
|
-
});
|
|
328
|
-
}
|
|
329
|
-
createContainer(container) {
|
|
330
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
331
|
-
return this.mainApi.createContainer(container);
|
|
332
|
-
});
|
|
333
|
-
}
|
|
334
|
-
updateContainer(container) {
|
|
335
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
336
|
-
return this.mainApi.updateContainer(container);
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId) {
|
|
340
|
-
return this.mainApi.getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId);
|
|
341
|
-
}
|
|
342
|
-
uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash) {
|
|
343
|
-
return this.mainApi.uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash);
|
|
344
|
-
}
|
|
345
|
-
getFileUploadStatus(uploadId, uploadType) {
|
|
346
|
-
return this.mainApi.getFileUploadStatus(uploadId, uploadType);
|
|
347
|
-
}
|
|
348
|
-
getFileUploadComplete(uploadId, uploadType) {
|
|
349
|
-
return this.mainApi.getFileUploadComplete(uploadId, uploadType);
|
|
350
|
-
}
|
|
351
|
-
cancelFileUpload(uploadId, uploadType) {
|
|
352
|
-
return this.mainApi.cancelFileUpload(uploadId, uploadType);
|
|
353
|
-
}
|
|
354
|
-
initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash) {
|
|
355
|
-
return this.mainApi.initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash);
|
|
356
|
-
}
|
|
357
|
-
getModelCreationRenderStatus(uploadId) {
|
|
358
|
-
return this.mainApi.getModelCreationRenderStatus(uploadId);
|
|
359
|
-
}
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
return
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MainApi = void 0;
|
|
13
|
+
const rxjs_1 = require("rxjs");
|
|
14
|
+
const ioneconnector_1 = require("@colijnit/ioneconnector");
|
|
15
|
+
const main_auth_1 = require("./main-auth");
|
|
16
|
+
const main_public_1 = require("./main-public");
|
|
17
|
+
const domain_name_enum_1 = require("./enum/domain-name.enum");
|
|
18
|
+
class MainApi {
|
|
19
|
+
constructor(options) {
|
|
20
|
+
this.showLoader = new rxjs_1.Subject();
|
|
21
|
+
this.connectionAborted = new rxjs_1.Subject();
|
|
22
|
+
this.connectionResetInactivity = new rxjs_1.Subject();
|
|
23
|
+
this.useLoginEncryption = false;
|
|
24
|
+
this._subs = [];
|
|
25
|
+
if (options) {
|
|
26
|
+
this.url = options.url ? options.url : "";
|
|
27
|
+
this.version = options.version ? options.version : "";
|
|
28
|
+
this.schema = options.schema ? options.schema : "";
|
|
29
|
+
this.branch = options.branch ? options.branch : "";
|
|
30
|
+
this.languageCode = options.languageCode;
|
|
31
|
+
this.currencyId = options.hasOwnProperty("currencyId") ? options.currencyId : undefined;
|
|
32
|
+
this.useLoginEncryption = options.hasOwnProperty("useLoginEncryption") ? options.useLoginEncryption === true : false;
|
|
33
|
+
}
|
|
34
|
+
this._connector = new ioneconnector_1.Connector(options);
|
|
35
|
+
this.mainApi = MainApi.createConnector(this._connector.isPublicSession(), this._connector.hasSession());
|
|
36
|
+
this.mainApi.connector = this._connector;
|
|
37
|
+
this.mainApi.languageCode = this.languageCode;
|
|
38
|
+
this.mainApi.branchNr = this.branch;
|
|
39
|
+
this._subs.push(this._connector.showLoader.subscribe(value => this.showLoader.next(value)), this._connector.connectionAborted.subscribe(() => this.connectionAborted.next()), this._connector.connectionResetInactivity.subscribe(() => this._handleConnectionReset()));
|
|
40
|
+
}
|
|
41
|
+
connect(url, schema, version) {
|
|
42
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
43
|
+
return this._connector.connect(url, schema, version);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
logOut() {
|
|
47
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
48
|
+
return this._connector.logOut();
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
getSessionId() {
|
|
52
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
53
|
+
return this._connector.getSessionId();
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
getDataSessionId() {
|
|
57
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
58
|
+
return this._connector.getDataSessionId();
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
selectMultiple(module, objectClass, operation, params, showLoader) {
|
|
62
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
63
|
+
return this.mainApi.selectMultiple(module, objectClass, operation, params, showLoader);
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
getSequenceValue(sequenceName_1) {
|
|
67
|
+
return __awaiter(this, arguments, void 0, function* (sequenceName, noSequence = false) {
|
|
68
|
+
return this.mainApi.getSequenceValue(sequenceName, noSequence);
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
getDefaultTemplate(documentCode) {
|
|
72
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
73
|
+
return this.mainApi.getTemplates(documentCode, true);
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
listAllPrinters() {
|
|
77
|
+
return this.mainApi.listAllPrinters();
|
|
78
|
+
}
|
|
79
|
+
listPrinters(showAll = false) {
|
|
80
|
+
return this.mainApi.listPrinters(showAll);
|
|
81
|
+
}
|
|
82
|
+
getStandardPrinter(reportId, type, showLoader) {
|
|
83
|
+
return this.mainApi.getStandardPrinter(reportId, type);
|
|
84
|
+
}
|
|
85
|
+
;
|
|
86
|
+
getSendMethods() {
|
|
87
|
+
return this.mainApi.getSendMethods();
|
|
88
|
+
}
|
|
89
|
+
getDocumentContent(id, thumbnail = true) {
|
|
90
|
+
return this.mainApi.getDocumentContent(id, thumbnail);
|
|
91
|
+
}
|
|
92
|
+
loadDocuments(key, table) {
|
|
93
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
+
return this.mainApi.loadDocuments(key, table);
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
loadDocumentContent(docId) {
|
|
98
|
+
return this.mainApi.loadDocumentContent(docId);
|
|
99
|
+
}
|
|
100
|
+
deleteDocument(documentId) {
|
|
101
|
+
return this.mainApi.deleteDocument(documentId);
|
|
102
|
+
}
|
|
103
|
+
upsertDocument(key, table, document) {
|
|
104
|
+
return this.mainApi.upsertDocument(key, table, document);
|
|
105
|
+
}
|
|
106
|
+
getCurrencies(active = true) {
|
|
107
|
+
return this.mainApi.getCurrencies(active);
|
|
108
|
+
}
|
|
109
|
+
getPaymentConditions(name) {
|
|
110
|
+
return this.mainApi.getPaymentConditions(name);
|
|
111
|
+
}
|
|
112
|
+
getJoinedTags(table, key) {
|
|
113
|
+
return this.mainApi.getJoinedTags(table, key);
|
|
114
|
+
}
|
|
115
|
+
mergeJoinedTags(table, key, tags) {
|
|
116
|
+
return this.mainApi.mergeJoinedTags(table, key, tags);
|
|
117
|
+
}
|
|
118
|
+
getTagsFullTree(category, includeTags) {
|
|
119
|
+
return this.mainApi.getTagsFullTree(category, includeTags);
|
|
120
|
+
}
|
|
121
|
+
getPublicParams(upId) {
|
|
122
|
+
return this.mainApi.getPublicParams(upId);
|
|
123
|
+
}
|
|
124
|
+
getInternalParameterValue(param) {
|
|
125
|
+
return this.mainApi.getInternalParameterValue(param);
|
|
126
|
+
}
|
|
127
|
+
storeCustomerThreeDObject(filename, fileContents) {
|
|
128
|
+
return this.mainApi.storeCustomerThreeDObject(filename, fileContents);
|
|
129
|
+
}
|
|
130
|
+
getPackageStickerPrintLayouts() {
|
|
131
|
+
return this.mainApi.getPackageStickerPrintLayouts();
|
|
132
|
+
}
|
|
133
|
+
getObjectConfigurations(screenCfgModule, params = ['ALL'], insertMode = false) {
|
|
134
|
+
return this.mainApi.getObjectConfigurations(screenCfgModule, params, insertMode);
|
|
135
|
+
}
|
|
136
|
+
getStoreGroups() {
|
|
137
|
+
return this.mainApi.getStoreGroups();
|
|
138
|
+
}
|
|
139
|
+
getInOutCollection(languageCode) {
|
|
140
|
+
return this.mainApi.getDomainCollection(languageCode, domain_name_enum_1.DomainName.InOutCollection);
|
|
141
|
+
}
|
|
142
|
+
getDomainCollection(languageCode, domainName) {
|
|
143
|
+
return this.mainApi.getDomainCollection(languageCode, domainName);
|
|
144
|
+
}
|
|
145
|
+
getRVDomainCollection(languageCode, domainName) {
|
|
146
|
+
return this.mainApi.getRVDomainCollection(languageCode, domainName);
|
|
147
|
+
}
|
|
148
|
+
getCategories() {
|
|
149
|
+
return this.mainApi.getCategories();
|
|
150
|
+
}
|
|
151
|
+
getColors() {
|
|
152
|
+
return this.mainApi.getColors();
|
|
153
|
+
}
|
|
154
|
+
getPriceLists(code) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
return this.mainApi.getPriceLists(code);
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
getUserGroups() {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
161
|
+
return this.mainApi.getUserGroups();
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
getPresets(module, user) {
|
|
165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
166
|
+
return this.mainApi.getPresets(module, user);
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
getPreset(presetId) {
|
|
170
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
+
return this.mainApi.getPreset(presetId);
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
savePreset(preset) {
|
|
175
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
176
|
+
return this.mainApi.savePreset(preset);
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
updatePreset(presetName) {
|
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
+
return this.mainApi.updatePreset(presetName);
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
getOrderLineSetCategories() {
|
|
185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
186
|
+
return this.mainApi.getOrderLineSetCategories();
|
|
187
|
+
});
|
|
188
|
+
}
|
|
189
|
+
getPostalCodeRetrieval(postalCode, houseNumber, showLoader) {
|
|
190
|
+
return this.mainApi.getPostalCodeRetrieval(postalCode, houseNumber, showLoader);
|
|
191
|
+
}
|
|
192
|
+
getHistoricActivities(table, key) {
|
|
193
|
+
return this.mainApi.getHistoricActivities(table, key);
|
|
194
|
+
}
|
|
195
|
+
getComponentActivities(table, key) {
|
|
196
|
+
return this.mainApi.getComponentActivities(table, key);
|
|
197
|
+
}
|
|
198
|
+
getComponentActivitiesWithoutRelationFiltering(table, key) {
|
|
199
|
+
return this.mainApi.getComponentActivitiesWithoutRelationFiltering(table, key);
|
|
200
|
+
}
|
|
201
|
+
getActiveProcessesByTableAndKey(table, key) {
|
|
202
|
+
return this.mainApi.getActiveProcessesByTableAndKey(table, key);
|
|
203
|
+
}
|
|
204
|
+
getWorkflowStatusForActivity(table, key, component) {
|
|
205
|
+
return this.mainApi.getWorkflowStatusForActivity(table, key, component);
|
|
206
|
+
}
|
|
207
|
+
insertActivity(activity) {
|
|
208
|
+
return this.mainApi.insertActivity(activity);
|
|
209
|
+
}
|
|
210
|
+
updateActivity(activity) {
|
|
211
|
+
return this.mainApi.updateActivity(activity);
|
|
212
|
+
}
|
|
213
|
+
deleteActivity(activity) {
|
|
214
|
+
return this.mainApi.deleteActivity(activity);
|
|
215
|
+
}
|
|
216
|
+
insertEmailHistoryForRemark(history) {
|
|
217
|
+
return this.mainApi.insertEmailHistoryForRemark(history);
|
|
218
|
+
}
|
|
219
|
+
insertEmailHistoryForWork(history) {
|
|
220
|
+
return this.mainApi.insertEmailHistoryForWork(history);
|
|
221
|
+
}
|
|
222
|
+
insertEmailHistoryForTask(history) {
|
|
223
|
+
return this.mainApi.insertEmailHistoryForTask(history);
|
|
224
|
+
}
|
|
225
|
+
getTaskCategories() {
|
|
226
|
+
return this.mainApi.getTaskCategories();
|
|
227
|
+
}
|
|
228
|
+
getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key) {
|
|
229
|
+
return this.mainApi.getRoleEmailAddressesByWorkflowCategoryAndKey(workflowCategory, key);
|
|
230
|
+
}
|
|
231
|
+
getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key) {
|
|
232
|
+
return this.mainApi.getEmailSenderByWorkflowCategoryAndKey(workflowCategory, key);
|
|
233
|
+
}
|
|
234
|
+
getReportTemplates(reportTemplateRequest) {
|
|
235
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
236
|
+
return this.mainApi.getReportTemplates(reportTemplateRequest);
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
emailReport(printJob) {
|
|
240
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
241
|
+
return this.mainApi.emailReport(printJob);
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
getWorkflowProcessInfoPerStatus(workflowCategoryName) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
return this.mainApi.getWorkflowProcessInfoPerStatus(workflowCategoryName);
|
|
247
|
+
});
|
|
248
|
+
}
|
|
249
|
+
fireTrigger(workFlowProcessId, sequence, triggerId) {
|
|
250
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
251
|
+
return this.mainApi.fireTrigger(workFlowProcessId, sequence, triggerId);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId) {
|
|
255
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
+
return this.mainApi.fireGenericTrigger(workFlowProcessId, genericTransitionId, relationId);
|
|
257
|
+
});
|
|
258
|
+
}
|
|
259
|
+
lockTask(id) {
|
|
260
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
261
|
+
return this.mainApi.lockTask(id);
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
getInternalDefaultValue(param) {
|
|
265
|
+
return this.mainApi.getInternalDefaultValue(param);
|
|
266
|
+
}
|
|
267
|
+
emailActivity(request, showLoader) {
|
|
268
|
+
return this.mainApi.emailActivity(request, showLoader);
|
|
269
|
+
}
|
|
270
|
+
getSingleImage(nodeId, publication, includeMimetype, thumb, tableName) {
|
|
271
|
+
return this.mainApi.getSingleImage(nodeId, publication, includeMimetype, thumb, tableName);
|
|
272
|
+
}
|
|
273
|
+
getImage(key, publication, includeMimetype, thumb, tableName) {
|
|
274
|
+
return this.mainApi.getImage(key, publication, includeMimetype, thumb, tableName);
|
|
275
|
+
}
|
|
276
|
+
getImageForCoDocument(document, thumb) {
|
|
277
|
+
return this.mainApi.getImageForCoDocument(document, thumb);
|
|
278
|
+
}
|
|
279
|
+
getFormById(formId) {
|
|
280
|
+
return this.mainApi.getFormById(formId);
|
|
281
|
+
}
|
|
282
|
+
getFormResponse(formResponseId) {
|
|
283
|
+
return this.mainApi.getFormResponse(formResponseId);
|
|
284
|
+
}
|
|
285
|
+
getAllFormResponsesForTableAndKey(table, key) {
|
|
286
|
+
return this.mainApi.getAllFormResponsesForTableAndKey(table, key);
|
|
287
|
+
}
|
|
288
|
+
lockFormResponse(id) {
|
|
289
|
+
return this.mainApi.lockFormResponse(id);
|
|
290
|
+
}
|
|
291
|
+
unlockFormResponse(id) {
|
|
292
|
+
return this.mainApi.lockFormResponse(id);
|
|
293
|
+
}
|
|
294
|
+
insertFormResponse(formResponse) {
|
|
295
|
+
return this.mainApi.insertFormResponse(formResponse);
|
|
296
|
+
}
|
|
297
|
+
updateFormResponse(formResponse) {
|
|
298
|
+
return this.mainApi.updateFormResponse(formResponse);
|
|
299
|
+
}
|
|
300
|
+
getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList) {
|
|
301
|
+
return this.mainApi.getGoogleTranslation(sourceLanguageCode, targetLanguageCode, toTranslateList);
|
|
302
|
+
}
|
|
303
|
+
isGoogleTranslateEnabled() {
|
|
304
|
+
return this.mainApi.isGoogleTranslateEnabled();
|
|
305
|
+
}
|
|
306
|
+
upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse) {
|
|
307
|
+
return this.mainApi.upsertTransactionLineFormResponse(transUUID, transactionLineUUID, formResponse);
|
|
308
|
+
}
|
|
309
|
+
getContainers() {
|
|
310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
+
return this.mainApi.getContainers();
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
getContainer(containerId) {
|
|
315
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
316
|
+
return this.mainApi.getContainer(containerId);
|
|
317
|
+
});
|
|
318
|
+
}
|
|
319
|
+
getContainerInfo(containerId) {
|
|
320
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
321
|
+
return this.mainApi.getContainerInfo(containerId);
|
|
322
|
+
});
|
|
323
|
+
}
|
|
324
|
+
getContainerTypes() {
|
|
325
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
326
|
+
return this.mainApi.getContainerTypes();
|
|
327
|
+
});
|
|
328
|
+
}
|
|
329
|
+
createContainer(container) {
|
|
330
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
331
|
+
return this.mainApi.createContainer(container);
|
|
332
|
+
});
|
|
333
|
+
}
|
|
334
|
+
updateContainer(container) {
|
|
335
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
336
|
+
return this.mainApi.updateContainer(container);
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId) {
|
|
340
|
+
return this.mainApi.getRequestUpload(uploadType, fileName, fileSize, fileHash, uploadId);
|
|
341
|
+
}
|
|
342
|
+
uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash) {
|
|
343
|
+
return this.mainApi.uploadFilePart(uploadId, uploadType, partOffset, partSize, partContent, partHash);
|
|
344
|
+
}
|
|
345
|
+
getFileUploadStatus(uploadId, uploadType) {
|
|
346
|
+
return this.mainApi.getFileUploadStatus(uploadId, uploadType);
|
|
347
|
+
}
|
|
348
|
+
getFileUploadComplete(uploadId, uploadType) {
|
|
349
|
+
return this.mainApi.getFileUploadComplete(uploadId, uploadType);
|
|
350
|
+
}
|
|
351
|
+
cancelFileUpload(uploadId, uploadType) {
|
|
352
|
+
return this.mainApi.cancelFileUpload(uploadId, uploadType);
|
|
353
|
+
}
|
|
354
|
+
initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash) {
|
|
355
|
+
return this.mainApi.initializeModelCreationRenderRequest(uploadType, caseName, quality, explanation, fileName, fileSize, fileHash);
|
|
356
|
+
}
|
|
357
|
+
getModelCreationRenderStatus(uploadId) {
|
|
358
|
+
return this.mainApi.getModelCreationRenderStatus(uploadId);
|
|
359
|
+
}
|
|
360
|
+
createQRCode(width, height, value, showLoader) {
|
|
361
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
362
|
+
return this.mainApi.createQRCode(width, height, value, showLoader);
|
|
363
|
+
});
|
|
364
|
+
}
|
|
365
|
+
static createConnector(isPublicSession, sessionExists) {
|
|
366
|
+
if (!isPublicSession || sessionExists) {
|
|
367
|
+
return new main_auth_1.MainAuth();
|
|
368
|
+
}
|
|
369
|
+
return new main_public_1.MainPublic();
|
|
370
|
+
}
|
|
371
|
+
_handleConnectionReset() {
|
|
372
|
+
this.connectionResetInactivity.next();
|
|
373
|
+
}
|
|
374
|
+
}
|
|
375
|
+
exports.MainApi = MainApi;
|