@colijnit/mainapi 261.1.8 → 261.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +6 -5
- package/build/enum/simple-base-data-operation-name.enum.js +10 -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 +114 -112
- package/build/main-api-connection.js +12 -12
- package/build/main-api.d.ts +132 -130
- package/build/main-api.js +380 -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 +114 -112
- package/build/main-auth.js +1131 -1105
- package/build/main-public.d.ts +114 -112
- package/build/main-public.js +545 -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/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/warehouse-short.bo.d.ts +7 -0
- package/build/model/warehouse-short.bo.js +13 -0
- 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 +34 -34
- package/build/utils/file-utils.js +411 -401
- package/build/utils/time-utils.d.ts +6 -6
- package/build/utils/time-utils.js +44 -44
- package/package.json +4 -4
|
@@ -1,235 +1,235 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.CoDocument = void 0;
|
|
13
|
-
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
14
|
-
const boolean_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/boolean.decorator");
|
|
15
|
-
const no_db_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator");
|
|
16
|
-
const db_field_alias_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/db-field-alias.decorator");
|
|
17
|
-
const date_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/date-field.decorator");
|
|
18
|
-
const rxjs_1 = require("rxjs");
|
|
19
|
-
const co_document_type_enum_1 = require("../enum/co-document-type.enum");
|
|
20
|
-
const file_type_enum_1 = require("../enum/file-type.enum");
|
|
21
|
-
const tag_1 = require("./tag");
|
|
22
|
-
const article_seo_value_1 = require("./article-seo-value");
|
|
23
|
-
const file_type_internal_enum_1 = require("../enum/file-type-internal.enum");
|
|
24
|
-
const complex_array_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator");
|
|
25
|
-
const object_right_type_enum_1 = require("@colijnit/ioneconnector/build/enum/object-right-type.enum");
|
|
26
|
-
const file_utils_1 = require("../utils/file-utils");
|
|
27
|
-
const co_document_image_display_kind_enum_1 = require("../enum/co-document-image-display-kind.enum");
|
|
28
|
-
const complex_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-field.decorator");
|
|
29
|
-
const business_object_data_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/business-object-data.decorator");
|
|
30
|
-
const data_mapping_enum_1 = require("../enum/data-mapping.enum");
|
|
31
|
-
const search_property_state_enum_1 = require("@colijnit/ioneconnector/build/enum/search-property-state.enum");
|
|
32
|
-
const filter_type_enum_1 = require("@colijnit/ioneconnector/build/enum/filter-type.enum");
|
|
33
|
-
const sort_type_enum_1 = require("@colijnit/ioneconnector/build/enum/sort-type.enum");
|
|
34
|
-
const sort_direction_1 = require("@colijnit/ioneconnector/build/enum/sort-direction");
|
|
35
|
-
const ref_code_class_to_domain_name_map_1 = require("./constant/ref-code-class-to-domain-name-map");
|
|
36
|
-
const co_document_right_1 = require("./co-document-right");
|
|
37
|
-
const default_send_value_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/default-send-value.decorator");
|
|
38
|
-
let CoDocument = class CoDocument extends business_object_1.BusinessObject {
|
|
39
|
-
set documentId(value) {
|
|
40
|
-
this._documentId = value;
|
|
41
|
-
this._idObject.docId = value;
|
|
42
|
-
}
|
|
43
|
-
get documentId() {
|
|
44
|
-
return this._documentId;
|
|
45
|
-
}
|
|
46
|
-
set documentBody(documentBody) {
|
|
47
|
-
const prev = this._documentBody;
|
|
48
|
-
this._documentBody = documentBody;
|
|
49
|
-
if (prev !== this._documentBody) {
|
|
50
|
-
this.documentBodyChange.next(this._documentBody);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
get documentBody() {
|
|
54
|
-
if (this.isStoredAsLink()) {
|
|
55
|
-
return this.filePath;
|
|
56
|
-
}
|
|
57
|
-
return this._documentBody;
|
|
58
|
-
}
|
|
59
|
-
get fileTypeInternal() {
|
|
60
|
-
if (!this._fileTypeInternal) {
|
|
61
|
-
const fileType = file_utils_1.FileUtils.FileNameToFileTypeInternal(this.fileName);
|
|
62
|
-
if (fileType) {
|
|
63
|
-
this._fileTypeInternal = fileType;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
return this._fileTypeInternal;
|
|
67
|
-
}
|
|
68
|
-
get mimeTypeInternal() {
|
|
69
|
-
if (this._mimeTypeInternal) {
|
|
70
|
-
return this._mimeTypeInternal;
|
|
71
|
-
}
|
|
72
|
-
else {
|
|
73
|
-
this._initMimetypeInternal();
|
|
74
|
-
return this._mimeTypeInternal;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
set mimeTypeInternal(value) {
|
|
78
|
-
this._mimeTypeInternal = value;
|
|
79
|
-
}
|
|
80
|
-
get bodyAsDataUri() {
|
|
81
|
-
if (this._documentBody) {
|
|
82
|
-
return this.documentBodyAsDataUri;
|
|
83
|
-
}
|
|
84
|
-
else if (this.thumbnailBody) {
|
|
85
|
-
return this.thumbnailBodyAsDataUri;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
get documentBodyAsDataUri() {
|
|
89
|
-
try {
|
|
90
|
-
if (this.isStoredAsLink()) {
|
|
91
|
-
return this.filePath;
|
|
92
|
-
}
|
|
93
|
-
else {
|
|
94
|
-
return file_utils_1.FileUtils.DocumentBodyToDataUri(this.documentBody, this.mimeTypeInternal);
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
catch (error) {
|
|
98
|
-
return '';
|
|
99
|
-
}
|
|
100
|
-
}
|
|
101
|
-
get thumbnailBodyAsDataUri() {
|
|
102
|
-
try {
|
|
103
|
-
if (this.isStoredAsLink()) {
|
|
104
|
-
return this.filePath;
|
|
105
|
-
}
|
|
106
|
-
return file_utils_1.FileUtils.DocumentBodyToDataUri(this.thumbnailBody, this.mimeTypeInternal);
|
|
107
|
-
}
|
|
108
|
-
catch (error) {
|
|
109
|
-
return '';
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
get isAvatar() {
|
|
113
|
-
return this.imageDisplayKind === co_document_image_display_kind_enum_1.CoDocumentImageDisplayKind.Avatar;
|
|
114
|
-
}
|
|
115
|
-
get readonly() {
|
|
116
|
-
return this.rightLevel === object_right_type_enum_1.ObjectRightType.ReadOnly;
|
|
117
|
-
}
|
|
118
|
-
constructor(rawData = {}) {
|
|
119
|
-
super();
|
|
120
|
-
this.pathIsUrl = false;
|
|
121
|
-
this.hasPublicAccess = false;
|
|
122
|
-
this.tags = [];
|
|
123
|
-
this.rights = [];
|
|
124
|
-
this.seoTitles = [];
|
|
125
|
-
this.retailFormulas = [];
|
|
126
|
-
this.documentBodyChange = new rxjs_1.Subject();
|
|
127
|
-
this._idObject = {};
|
|
128
|
-
}
|
|
129
|
-
getId() {
|
|
130
|
-
return this.documentId;
|
|
131
|
-
}
|
|
132
|
-
isImageDocument() {
|
|
133
|
-
return (this.fileTypeInternal === file_type_internal_enum_1.FileTypeInternal.Image);
|
|
134
|
-
}
|
|
135
|
-
_initMimetypeInternal() {
|
|
136
|
-
if ((this.fileType === file_type_enum_1.FileType.Image || !this.fileType) && this.fileName) {
|
|
137
|
-
const fileExtension = this.fileName.substr(this.fileName.lastIndexOf('.') + 1);
|
|
138
|
-
this._mimeTypeInternal = 'image/' + fileExtension;
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
isStoredAsLink() {
|
|
142
|
-
return this.documentType == co_document_type_enum_1.CoDocumentType.SaveAsLinkOnRandomLocation
|
|
143
|
-
|| this.documentType == co_document_type_enum_1.CoDocumentType.SaveAsLinkOnDefaultLocation
|
|
144
|
-
|| (this.documentType == co_document_type_enum_1.CoDocumentType.SaveAsLinkOnCdnServerLocation && this.hasPublicAccess);
|
|
145
|
-
}
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
(0,
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
(0,
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
CoDocument
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CoDocument = void 0;
|
|
13
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
14
|
+
const boolean_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/boolean.decorator");
|
|
15
|
+
const no_db_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator");
|
|
16
|
+
const db_field_alias_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/db-field-alias.decorator");
|
|
17
|
+
const date_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/date-field.decorator");
|
|
18
|
+
const rxjs_1 = require("rxjs");
|
|
19
|
+
const co_document_type_enum_1 = require("../enum/co-document-type.enum");
|
|
20
|
+
const file_type_enum_1 = require("../enum/file-type.enum");
|
|
21
|
+
const tag_1 = require("./tag");
|
|
22
|
+
const article_seo_value_1 = require("./article-seo-value");
|
|
23
|
+
const file_type_internal_enum_1 = require("../enum/file-type-internal.enum");
|
|
24
|
+
const complex_array_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator");
|
|
25
|
+
const object_right_type_enum_1 = require("@colijnit/ioneconnector/build/enum/object-right-type.enum");
|
|
26
|
+
const file_utils_1 = require("../utils/file-utils");
|
|
27
|
+
const co_document_image_display_kind_enum_1 = require("../enum/co-document-image-display-kind.enum");
|
|
28
|
+
const complex_field_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/complex-field.decorator");
|
|
29
|
+
const business_object_data_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/business-object-data.decorator");
|
|
30
|
+
const data_mapping_enum_1 = require("../enum/data-mapping.enum");
|
|
31
|
+
const search_property_state_enum_1 = require("@colijnit/ioneconnector/build/enum/search-property-state.enum");
|
|
32
|
+
const filter_type_enum_1 = require("@colijnit/ioneconnector/build/enum/filter-type.enum");
|
|
33
|
+
const sort_type_enum_1 = require("@colijnit/ioneconnector/build/enum/sort-type.enum");
|
|
34
|
+
const sort_direction_1 = require("@colijnit/ioneconnector/build/enum/sort-direction");
|
|
35
|
+
const ref_code_class_to_domain_name_map_1 = require("./constant/ref-code-class-to-domain-name-map");
|
|
36
|
+
const co_document_right_1 = require("./co-document-right");
|
|
37
|
+
const default_send_value_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/default-send-value.decorator");
|
|
38
|
+
let CoDocument = class CoDocument extends business_object_1.BusinessObject {
|
|
39
|
+
set documentId(value) {
|
|
40
|
+
this._documentId = value;
|
|
41
|
+
this._idObject.docId = value;
|
|
42
|
+
}
|
|
43
|
+
get documentId() {
|
|
44
|
+
return this._documentId;
|
|
45
|
+
}
|
|
46
|
+
set documentBody(documentBody) {
|
|
47
|
+
const prev = this._documentBody;
|
|
48
|
+
this._documentBody = documentBody;
|
|
49
|
+
if (prev !== this._documentBody) {
|
|
50
|
+
this.documentBodyChange.next(this._documentBody);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
get documentBody() {
|
|
54
|
+
if (this.isStoredAsLink()) {
|
|
55
|
+
return this.filePath;
|
|
56
|
+
}
|
|
57
|
+
return this._documentBody;
|
|
58
|
+
}
|
|
59
|
+
get fileTypeInternal() {
|
|
60
|
+
if (!this._fileTypeInternal) {
|
|
61
|
+
const fileType = file_utils_1.FileUtils.FileNameToFileTypeInternal(this.fileName);
|
|
62
|
+
if (fileType) {
|
|
63
|
+
this._fileTypeInternal = fileType;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
return this._fileTypeInternal;
|
|
67
|
+
}
|
|
68
|
+
get mimeTypeInternal() {
|
|
69
|
+
if (this._mimeTypeInternal) {
|
|
70
|
+
return this._mimeTypeInternal;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
this._initMimetypeInternal();
|
|
74
|
+
return this._mimeTypeInternal;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
set mimeTypeInternal(value) {
|
|
78
|
+
this._mimeTypeInternal = value;
|
|
79
|
+
}
|
|
80
|
+
get bodyAsDataUri() {
|
|
81
|
+
if (this._documentBody) {
|
|
82
|
+
return this.documentBodyAsDataUri;
|
|
83
|
+
}
|
|
84
|
+
else if (this.thumbnailBody) {
|
|
85
|
+
return this.thumbnailBodyAsDataUri;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
get documentBodyAsDataUri() {
|
|
89
|
+
try {
|
|
90
|
+
if (this.isStoredAsLink()) {
|
|
91
|
+
return this.filePath;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
return file_utils_1.FileUtils.DocumentBodyToDataUri(this.documentBody, this.mimeTypeInternal);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
catch (error) {
|
|
98
|
+
return '';
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
get thumbnailBodyAsDataUri() {
|
|
102
|
+
try {
|
|
103
|
+
if (this.isStoredAsLink()) {
|
|
104
|
+
return this.filePath;
|
|
105
|
+
}
|
|
106
|
+
return file_utils_1.FileUtils.DocumentBodyToDataUri(this.thumbnailBody, this.mimeTypeInternal);
|
|
107
|
+
}
|
|
108
|
+
catch (error) {
|
|
109
|
+
return '';
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
get isAvatar() {
|
|
113
|
+
return this.imageDisplayKind === co_document_image_display_kind_enum_1.CoDocumentImageDisplayKind.Avatar;
|
|
114
|
+
}
|
|
115
|
+
get readonly() {
|
|
116
|
+
return this.rightLevel === object_right_type_enum_1.ObjectRightType.ReadOnly;
|
|
117
|
+
}
|
|
118
|
+
constructor(rawData = {}) {
|
|
119
|
+
super();
|
|
120
|
+
this.pathIsUrl = false;
|
|
121
|
+
this.hasPublicAccess = false;
|
|
122
|
+
this.tags = [];
|
|
123
|
+
this.rights = [];
|
|
124
|
+
this.seoTitles = [];
|
|
125
|
+
this.retailFormulas = [];
|
|
126
|
+
this.documentBodyChange = new rxjs_1.Subject();
|
|
127
|
+
this._idObject = {};
|
|
128
|
+
}
|
|
129
|
+
getId() {
|
|
130
|
+
return this.documentId;
|
|
131
|
+
}
|
|
132
|
+
isImageDocument() {
|
|
133
|
+
return (this.fileTypeInternal === file_type_internal_enum_1.FileTypeInternal.Image);
|
|
134
|
+
}
|
|
135
|
+
_initMimetypeInternal() {
|
|
136
|
+
if ((this.fileType === file_type_enum_1.FileType.Image || !this.fileType) && this.fileName) {
|
|
137
|
+
const fileExtension = this.fileName.substr(this.fileName.lastIndexOf('.') + 1);
|
|
138
|
+
this._mimeTypeInternal = 'image/' + fileExtension;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
isStoredAsLink() {
|
|
142
|
+
return this.documentType == co_document_type_enum_1.CoDocumentType.SaveAsLinkOnRandomLocation
|
|
143
|
+
|| this.documentType == co_document_type_enum_1.CoDocumentType.SaveAsLinkOnDefaultLocation
|
|
144
|
+
|| (this.documentType == co_document_type_enum_1.CoDocumentType.SaveAsLinkOnCdnServerLocation && this.hasPublicAccess);
|
|
145
|
+
}
|
|
146
|
+
};
|
|
147
|
+
exports.CoDocument = CoDocument;
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, date_field_decorator_1.DateField)(),
|
|
150
|
+
__metadata("design:type", Date)
|
|
151
|
+
], CoDocument.prototype, "creationDate", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, date_field_decorator_1.DateField)(),
|
|
154
|
+
__metadata("design:type", Date)
|
|
155
|
+
], CoDocument.prototype, "modifiedDate", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, boolean_decorator_1.BooleanText)('T'),
|
|
158
|
+
__metadata("design:type", Boolean)
|
|
159
|
+
], CoDocument.prototype, "downloadable", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, boolean_decorator_1.BooleanText)('T'),
|
|
162
|
+
__metadata("design:type", Boolean)
|
|
163
|
+
], CoDocument.prototype, "attachToNotification", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, boolean_decorator_1.BooleanText)('T'),
|
|
166
|
+
__metadata("design:type", Boolean)
|
|
167
|
+
], CoDocument.prototype, "pathIsUrl", void 0);
|
|
168
|
+
__decorate([
|
|
169
|
+
(0, boolean_decorator_1.BooleanText)("T"),
|
|
170
|
+
(0, default_send_value_decorator_1.DefaultSendValue)("F"),
|
|
171
|
+
__metadata("design:type", Boolean)
|
|
172
|
+
], CoDocument.prototype, "hasPublicAccess", void 0);
|
|
173
|
+
__decorate([
|
|
174
|
+
(0, complex_array_decorator_1.ComplexArray)(tag_1.Tag),
|
|
175
|
+
__metadata("design:type", Array)
|
|
176
|
+
], CoDocument.prototype, "tags", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, complex_array_decorator_1.ComplexArray)(co_document_right_1.CoDocumentRight),
|
|
179
|
+
__metadata("design:type", Array)
|
|
180
|
+
], CoDocument.prototype, "rights", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
183
|
+
__metadata("design:type", Boolean)
|
|
184
|
+
], CoDocument.prototype, "convertToUSDZ", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, complex_array_decorator_1.ComplexArray)(article_seo_value_1.ArticleSeoValue),
|
|
187
|
+
__metadata("design:type", Array)
|
|
188
|
+
], CoDocument.prototype, "seoTitles", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
191
|
+
__metadata("design:type", Number)
|
|
192
|
+
], CoDocument.prototype, "idForLink", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, db_field_alias_decorator_1.DbFieldAlias)('documentBody'),
|
|
195
|
+
__metadata("design:type", String)
|
|
196
|
+
], CoDocument.prototype, "_documentBody", void 0);
|
|
197
|
+
__decorate([
|
|
198
|
+
(0, db_field_alias_decorator_1.DbFieldAlias)('documentId'),
|
|
199
|
+
__metadata("design:type", Number)
|
|
200
|
+
], CoDocument.prototype, "_documentId", void 0);
|
|
201
|
+
__decorate([
|
|
202
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
203
|
+
(0, complex_field_decorator_1.ComplexField)(rxjs_1.Subject),
|
|
204
|
+
__metadata("design:type", rxjs_1.Subject)
|
|
205
|
+
], CoDocument.prototype, "documentBodyChange", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
208
|
+
__metadata("design:type", Number)
|
|
209
|
+
], CoDocument.prototype, "_fileTypeInternal", void 0);
|
|
210
|
+
__decorate([
|
|
211
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
212
|
+
__metadata("design:type", String)
|
|
213
|
+
], CoDocument.prototype, "_mimeTypeInternal", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, no_db_field_decorator_1.NoDbField)(),
|
|
216
|
+
__metadata("design:type", Object)
|
|
217
|
+
], CoDocument.prototype, "_idObject", void 0);
|
|
218
|
+
exports.CoDocument = CoDocument = __decorate([
|
|
219
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
220
|
+
name: "CoDocument",
|
|
221
|
+
mapping: data_mapping_enum_1.DataMapping.General,
|
|
222
|
+
groupField: "fileType",
|
|
223
|
+
groupDomainName: ref_code_class_to_domain_name_map_1.RefCodeClassToDomainNameMap.get(file_type_enum_1.FileType),
|
|
224
|
+
searchProperties: [
|
|
225
|
+
{ property: "fileName", state: search_property_state_enum_1.SearchPropertyState.LockedActive, label: "FILE_NAME" }
|
|
226
|
+
],
|
|
227
|
+
filterProperties: [
|
|
228
|
+
{ property: "downloadable", type: filter_type_enum_1.FilterType.BooleanSimple, label: "DOWNLOADABLE", active: false, valuePass: true }
|
|
229
|
+
],
|
|
230
|
+
sortProperties: [
|
|
231
|
+
{ property: "fileName", label: "FILE_NAME", active: false, type: sort_type_enum_1.SortType.String, direction: sort_direction_1.SortDirection.Ascending }
|
|
232
|
+
]
|
|
233
|
+
}),
|
|
234
|
+
__metadata("design:paramtypes", [Object])
|
|
235
|
+
], CoDocument);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
-
export declare class CoDomainValue extends BusinessObject {
|
|
3
|
-
code: string;
|
|
4
|
-
description: string;
|
|
5
|
-
sequence: number;
|
|
6
|
-
get codeAsNumber(): number;
|
|
7
|
-
constructor();
|
|
8
|
-
getId(): any;
|
|
9
|
-
toString(): string;
|
|
10
|
-
}
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
export declare class CoDomainValue extends BusinessObject {
|
|
3
|
+
code: string;
|
|
4
|
+
description: string;
|
|
5
|
+
sequence: number;
|
|
6
|
+
get codeAsNumber(): number;
|
|
7
|
+
constructor();
|
|
8
|
+
getId(): any;
|
|
9
|
+
toString(): string;
|
|
10
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CoDomainValue = void 0;
|
|
4
|
-
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
-
const number_utils_1 = require("@colijnit/ioneconnector/build/utils/number-utils");
|
|
6
|
-
class CoDomainValue extends business_object_1.BusinessObject {
|
|
7
|
-
get codeAsNumber() {
|
|
8
|
-
return number_utils_1.NumberUtils.ParseInt(this.code);
|
|
9
|
-
}
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
}
|
|
13
|
-
getId() {
|
|
14
|
-
return this.code;
|
|
15
|
-
}
|
|
16
|
-
toString() {
|
|
17
|
-
return this.code + ": " + this.description;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.CoDomainValue = CoDomainValue;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoDomainValue = void 0;
|
|
4
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
+
const number_utils_1 = require("@colijnit/ioneconnector/build/utils/number-utils");
|
|
6
|
+
class CoDomainValue extends business_object_1.BusinessObject {
|
|
7
|
+
get codeAsNumber() {
|
|
8
|
+
return number_utils_1.NumberUtils.ParseInt(this.code);
|
|
9
|
+
}
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
}
|
|
13
|
+
getId() {
|
|
14
|
+
return this.code;
|
|
15
|
+
}
|
|
16
|
+
toString() {
|
|
17
|
+
return this.code + ": " + this.description;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.CoDomainValue = CoDomainValue;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
-
export declare class CoEmailAttachment extends BusinessObject {
|
|
3
|
-
filename: String;
|
|
4
|
-
extension: String;
|
|
5
|
-
body: Uint8Array;
|
|
6
|
-
}
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
export declare class CoEmailAttachment extends BusinessObject {
|
|
3
|
+
filename: String;
|
|
4
|
+
extension: String;
|
|
5
|
+
body: Uint8Array;
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CoEmailAttachment = void 0;
|
|
4
|
-
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
-
class CoEmailAttachment extends business_object_1.BusinessObject {
|
|
6
|
-
}
|
|
7
|
-
exports.CoEmailAttachment = CoEmailAttachment;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoEmailAttachment = void 0;
|
|
4
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
+
class CoEmailAttachment extends business_object_1.BusinessObject {
|
|
6
|
+
}
|
|
7
|
+
exports.CoEmailAttachment = CoEmailAttachment;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
2
|
-
import { ObjectRightType } from '@colijnit/ioneconnector/build/enum/object-right-type.enum';
|
|
3
|
-
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
4
|
-
export declare class CoNotitionRight extends BusinessObject {
|
|
5
|
-
userGroupId: number;
|
|
6
|
-
noteId: number;
|
|
7
|
-
rightLevel: ObjectRightType;
|
|
8
|
-
constructor();
|
|
9
|
-
getId(): BusinessObjectIDType;
|
|
10
|
-
}
|
|
1
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
2
|
+
import { ObjectRightType } from '@colijnit/ioneconnector/build/enum/object-right-type.enum';
|
|
3
|
+
import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
|
|
4
|
+
export declare class CoNotitionRight extends BusinessObject {
|
|
5
|
+
userGroupId: number;
|
|
6
|
+
noteId: number;
|
|
7
|
+
rightLevel: ObjectRightType;
|
|
8
|
+
constructor();
|
|
9
|
+
getId(): BusinessObjectIDType;
|
|
10
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CoNotitionRight = void 0;
|
|
4
|
-
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
-
class CoNotitionRight extends business_object_1.BusinessObject {
|
|
6
|
-
constructor() {
|
|
7
|
-
super();
|
|
8
|
-
}
|
|
9
|
-
getId() {
|
|
10
|
-
return this.userGroupId;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
exports.CoNotitionRight = CoNotitionRight;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CoNotitionRight = void 0;
|
|
4
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
5
|
+
class CoNotitionRight extends business_object_1.BusinessObject {
|
|
6
|
+
constructor() {
|
|
7
|
+
super();
|
|
8
|
+
}
|
|
9
|
+
getId() {
|
|
10
|
+
return this.userGroupId;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CoNotitionRight = CoNotitionRight;
|