@colijnit/transactionapi 1.1.52 → 1.1.53
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/address-format.enum.js +4 -2
- package/build/enum/article-method.enum.js +4 -2
- package/build/enum/article-object-name.enum.js +4 -2
- package/build/enum/article-operation.enum.js +4 -2
- package/build/enum/backend-service-name.enum.js +4 -2
- package/build/enum/catalog-object-name.enum.js +4 -2
- package/build/enum/connection-endpoint-enum.js +4 -2
- package/build/enum/data-mapping.enum.js +4 -2
- package/build/enum/deco-node-kind.enum.js +4 -2
- package/build/enum/deco-node-type.enum.js +4 -2
- package/build/enum/discount-type.enum.js +4 -2
- package/build/enum/document-object-name.enum.js +4 -2
- package/build/enum/domain-name.enum.js +4 -2
- package/build/enum/filter-type.enum.js +4 -2
- package/build/enum/financial-object-name.enum.js +4 -2
- package/build/enum/general-method.enum.js +4 -2
- package/build/enum/general-object-name.enum.js +4 -2
- package/build/enum/line-confirmation-reason.enum.js +4 -2
- package/build/enum/line-pending-reason.enum.js +4 -2
- package/build/enum/login-service-method.enum.js +4 -2
- package/build/enum/logistics-method.enum.js +4 -2
- package/build/enum/master-data-method-name.enum.js +4 -2
- package/build/enum/master-data-object-name.enum.js +4 -2
- package/build/enum/master-data-operation-name.enum.js +4 -2
- package/build/enum/module-name.enum.js +4 -2
- package/build/enum/node-type.enum.js +4 -2
- package/build/enum/one-zero-bool-db-type.enum.js +6 -3
- package/build/enum/operation-name.enum.js +4 -2
- package/build/enum/payment-method.enum.js +4 -2
- package/build/enum/pending-reason-type.enum.js +4 -2
- package/build/enum/pricing-method.enum.js +4 -2
- package/build/enum/print-service-method.enum.js +4 -2
- package/build/enum/public-service-method.enum.js +4 -2
- package/build/enum/public-service-method.js +4 -2
- package/build/enum/purchase-advice-method.enum.js +4 -2
- package/build/enum/purchase-advice-object-name.enum.js +4 -2
- package/build/enum/quantity-in-historic-state.enum.js +4 -2
- package/build/enum/refcode/commission-code-type.enum.js +4 -2
- package/build/enum/refcode/document-publication.enum.js +4 -2
- package/build/enum/refcode/good-type.enum.js +4 -2
- package/build/enum/refcode/price-list-type.enum.js +4 -2
- package/build/enum/refcode/ref-type.enum.js +4 -2
- package/build/enum/refcode/selector-type.enum.js +4 -2
- package/build/enum/refcode/stock-status.enum.js +6 -3
- package/build/enum/relation-kind.enum.js +4 -2
- package/build/enum/relation-name-kind.enum.js +4 -2
- package/build/enum/relation-object-name.enum.js +4 -2
- package/build/enum/relation-reference-kind.enum.js +4 -2
- package/build/enum/relation-status.enum.js +4 -2
- package/build/enum/reporting-method.enum.js +4 -2
- package/build/enum/retail-transaction-pending-reason.enum.js +4 -2
- package/build/enum/search-data-type.enum.js +4 -2
- package/build/enum/search-period.enum.js +4 -2
- package/build/enum/search-property-state.enum.js +4 -2
- package/build/enum/search-type.enum.js +4 -2
- package/build/enum/sequence-name.enum.js +4 -2
- package/build/enum/sla-publication.enum.js +4 -2
- package/build/enum/sort-direction.js +6 -3
- package/build/enum/sort-type.enum.js +4 -2
- package/build/enum/stock-method.enum.js +4 -2
- package/build/enum/table-name.enum.js +4 -2
- package/build/enum/tag-object-name.enum.js +4 -2
- package/build/enum/tag-operation-name.enum.js +4 -2
- package/build/enum/text-kind-type.enum.js +4 -2
- package/build/enum/transaction-kind.enum.js +4 -2
- package/build/enum/transaction-line-type.enum.js +4 -2
- package/build/enum/transaction-method.enum.js +4 -2
- package/build/enum/transaction-object-name.enum.js +4 -2
- package/build/enum/transaction-operation.enum.js +4 -2
- package/build/ione-api-transaction.d.ts +1 -16
- package/build/ione-api-transaction.js +12 -11
- package/build/model/acceptance-container.bo.d.ts +1 -1
- package/build/model/acceptance-container.bo.js +23 -39
- package/build/model/acceptance-line.bo.d.ts +1 -1
- package/build/model/acceptance-line.bo.js +6 -22
- package/build/model/admin-cash-register-group.bo.d.ts +1 -1
- package/build/model/admin-cash-register-group.bo.js +6 -22
- package/build/model/admin-payment-method.bo.d.ts +1 -1
- package/build/model/admin-payment-method.bo.js +6 -22
- package/build/model/art-quick-sel-o-article.d.ts +3 -3
- package/build/model/art-quick-sel-o-article.js +27 -43
- package/build/model/article-category.d.ts +2 -2
- package/build/model/article-category.js +23 -37
- package/build/model/article-full-object.d.ts +4 -4
- package/build/model/article-full-object.js +42 -56
- package/build/model/article-group-image.d.ts +2 -2
- package/build/model/article-group-image.js +14 -30
- package/build/model/article-group.d.ts +2 -2
- package/build/model/article-group.js +17 -31
- package/build/model/article-list-object-extended.d.ts +2 -2
- package/build/model/article-list-object-extended.js +46 -63
- package/build/model/article-list-object.d.ts +1 -1
- package/build/model/article-list-object.js +16 -17
- package/build/model/article-price.d.ts +2 -2
- package/build/model/article-price.js +6 -22
- package/build/model/article-pricing.d.ts +1 -1
- package/build/model/article-pricing.js +11 -27
- package/build/model/article.d.ts +2 -2
- package/build/model/article.js +60 -76
- package/build/model/atmosphere.d.ts +1 -1
- package/build/model/atmosphere.js +8 -24
- package/build/model/cash-register-group.bo.d.ts +1 -1
- package/build/model/cash-register-group.bo.js +15 -29
- package/build/model/cash-register.d.ts +1 -1
- package/build/model/cash-register.js +10 -23
- package/build/model/change-header-adm-coordinator-request.js +5 -6
- package/build/model/change-header-branch-request.js +5 -6
- package/build/model/change-header-currency-request.js +5 -6
- package/build/model/change-header-delivery-date-definitive-request.js +5 -6
- package/build/model/change-header-delivery-date-request.js +5 -6
- package/build/model/change-header-delivery-method-request.js +5 -6
- package/build/model/change-header-delivery-options-request.js +6 -5
- package/build/model/change-header-dont-send-order-forms-request.js +5 -6
- package/build/model/change-header-invoice-address-request.js +5 -6
- package/build/model/change-header-marketing-code-request.js +5 -6
- package/build/model/change-header-on-hold-codes-request.js +6 -5
- package/build/model/change-header-own-reference-request.js +5 -6
- package/build/model/change-header-partial-delivery-allowed-request.js +5 -6
- package/build/model/change-header-preferred-delivery-date-request.js +5 -6
- package/build/model/change-header-price-kind-request.js +5 -6
- package/build/model/change-header-print-discount-request.js +5 -6
- package/build/model/change-header-relation-reference-request.js +5 -6
- package/build/model/change-header-relation-transaction-date-request.js +5 -6
- package/build/model/change-header-release-transaction-request.js +5 -6
- package/build/model/change-header-remarks-request.js +5 -6
- package/build/model/change-header-to-down-pay-amount-request.js +5 -6
- package/build/model/change-header-to-down-pay-percentage-request.js +5 -6
- package/build/model/change-header-transaction-address-request.js +5 -6
- package/build/model/change-header-transaction-definitive-request.js +5 -6
- package/build/model/change-line-assembly-time-request.js +5 -6
- package/build/model/change-line-collection-code-request.js +5 -6
- package/build/model/change-line-commission-code-request.js +5 -6
- package/build/model/change-line-delivery-date-request.js +10 -11
- package/build/model/change-line-delivery-method-request.js +5 -6
- package/build/model/change-line-discount-request.js +5 -6
- package/build/model/change-line-edit-time-request.js +5 -6
- package/build/model/change-line-good-description-request.js +5 -6
- package/build/model/change-line-price-list-request.js +5 -6
- package/build/model/change-line-price-request.js +5 -6
- package/build/model/change-line-quantity-request.js +5 -6
- package/build/model/change-line-reference-request.js +5 -6
- package/build/model/change-line-sequence-request.js +5 -6
- package/build/model/change-line-supplier-article-number-request.js +5 -6
- package/build/model/change-line-supplier-request.js +5 -6
- package/build/model/change-line-vat-request.js +5 -6
- package/build/model/change-line-warehouse-request.js +5 -6
- package/build/model/code-description.js +6 -5
- package/build/model/color.d.ts +1 -1
- package/build/model/color.js +34 -53
- package/build/model/concept.d.ts +1 -1
- package/build/model/concept.js +8 -24
- package/build/model/constant/java-constants.js +4 -2
- package/build/model/country.bo.d.ts +1 -1
- package/build/model/country.bo.js +9 -25
- package/build/model/create-outstanding-entry-request.js +5 -6
- package/build/model/create-payment-link-request.js +5 -6
- package/build/model/create-payment-link-result.bo.d.ts +1 -1
- package/build/model/create-payment-link-result.bo.js +6 -22
- package/build/model/customer-group.bo.d.ts +1 -1
- package/build/model/customer-group.bo.js +14 -30
- package/build/model/delivery-method.bo.d.ts +1 -1
- package/build/model/delivery-method.bo.js +31 -45
- package/build/model/delivery-option.bo.d.ts +1 -1
- package/build/model/delivery-option.bo.js +10 -23
- package/build/model/delivery-order-status.bo.js +6 -22
- package/build/model/design.d.ts +1 -1
- package/build/model/design.js +8 -24
- package/build/model/doc-delivery-batch.bo.d.ts +1 -1
- package/build/model/doc-delivery-batch.bo.js +6 -22
- package/build/model/down-payment.bo.d.ts +1 -1
- package/build/model/down-payment.bo.js +11 -27
- package/build/model/email-delivery-note-request.bo.js +6 -22
- package/build/model/external-storage.d.ts +1 -1
- package/build/model/external-storage.js +9 -24
- package/build/model/get-article-price-request.d.ts +1 -1
- package/build/model/get-article-price-request.js +5 -6
- package/build/model/get-articles-for-catalog.js +6 -5
- package/build/model/get-postal-code-retrieval-output-params.js +9 -12
- package/build/model/get-purchase-order-confirmation.js +5 -6
- package/build/model/get-purchase-portal-line.js +5 -6
- package/build/model/get-stock-info-output-params.js +8 -7
- package/build/model/goods-receipt-status-with-history.bo.js +6 -22
- package/build/model/goods-receipt-status.bo.js +6 -22
- package/build/model/header-operation-status.bo.js +6 -5
- package/build/model/info.d.ts +1 -1
- package/build/model/info.js +19 -35
- package/build/model/line-operation-response.bo.js +6 -22
- package/build/model/line-operation-status.bo.js +5 -6
- package/build/model/linked-article.d.ts +2 -2
- package/build/model/linked-article.js +57 -101
- package/build/model/logistical-state-detail.bo.d.ts +1 -1
- package/build/model/logistical-state-detail.bo.js +11 -27
- package/build/model/marketing.bo.d.ts +1 -1
- package/build/model/marketing.bo.js +8 -24
- package/build/model/on-hold-code.bo.d.ts +1 -1
- package/build/model/on-hold-code.bo.js +19 -35
- package/build/model/payment-link-status.bo.d.ts +1 -1
- package/build/model/payment-link-status.bo.js +19 -35
- package/build/model/payment-method.bo.d.ts +2 -2
- package/build/model/payment-method.bo.js +27 -41
- package/build/model/payment-request.js +5 -6
- package/build/model/pdf-delivery-note-request.bo.js +6 -22
- package/build/model/price-list.d.ts +2 -2
- package/build/model/price-list.js +17 -33
- package/build/model/print-delivery-note-request.bo.js +6 -22
- package/build/model/purchase-advice-filters.js +5 -6
- package/build/model/purchase-advice-line.bo.d.ts +1 -1
- package/build/model/purchase-advice-line.bo.js +19 -35
- package/build/model/purchase-order-line-receipt-correction-details.bo.d.ts +1 -1
- package/build/model/purchase-order-line-receipt-correction-details.bo.js +6 -22
- package/build/model/purchase-order-line-receipt-details.bo.d.ts +1 -1
- package/build/model/purchase-order-line-receipt-details.bo.js +6 -22
- package/build/model/purchase-order-line.bo.d.ts +1 -1
- package/build/model/purchase-order-line.bo.js +11 -27
- package/build/model/purchase-order.bo.d.ts +1 -1
- package/build/model/purchase-order.bo.js +6 -22
- package/build/model/purchase-portal-filters.bo.d.ts +1 -1
- package/build/model/purchase-portal-filters.bo.js +6 -22
- package/build/model/purchase-portal-line.bo.d.ts +1 -1
- package/build/model/purchase-portal-line.bo.js +15 -29
- package/build/model/purchase-portal-object-name.enum.js +4 -2
- package/build/model/receive-goods-for-purchase-order-correction-request.bo.d.ts +1 -1
- package/build/model/receive-goods-for-purchase-order-correction-request.bo.js +6 -22
- package/build/model/receive-goods-for-purchase-order-request.bo.d.ts +1 -1
- package/build/model/receive-goods-for-purchase-order-request.bo.js +11 -27
- package/build/model/report/email-order-confirmation.js +5 -6
- package/build/model/report/pdf-order-confirmation.js +5 -6
- package/build/model/report/print-order-confirmation.js +5 -6
- package/build/model/reporting-document-base-request.bo.d.ts +1 -1
- package/build/model/reporting-document-base-request.bo.js +6 -22
- package/build/model/reporting-document-email-base-request.bo.js +6 -22
- package/build/model/reporting-document-pdf-base-request.bo.js +6 -22
- package/build/model/reporting-document-print-base-request.bo.js +6 -22
- package/build/model/resolve-header-pending-reason-request.bo.js +6 -6
- package/build/model/resolve-pending-reason-request.bo.js +6 -9
- package/build/model/session.js +6 -5
- package/build/model/set-transaction-delivery-options-request.bo.d.ts +1 -1
- package/build/model/set-transaction-delivery-options-request.bo.js +19 -35
- package/build/model/set-transaction-discounts-request.js +5 -6
- package/build/model/supplier-product.bo.d.ts +1 -1
- package/build/model/supplier-product.bo.js +19 -35
- package/build/model/transaction-add-line-response.bo.js +6 -22
- package/build/model/transaction-add-text-line-request.bo.d.ts +1 -1
- package/build/model/transaction-add-text-line-request.bo.js +17 -31
- package/build/model/transaction-article-warehouse.bo.d.ts +2 -2
- package/build/model/transaction-article-warehouse.bo.js +40 -54
- package/build/model/transaction-change-line-quantity-response.bo.js +6 -22
- package/build/model/transaction-down-payment-info.bo.d.ts +1 -1
- package/build/model/transaction-down-payment-info.bo.js +15 -29
- package/build/model/transaction-info-response.bo.js +40 -54
- package/build/model/transaction-info.bo.d.ts +5 -3
- package/build/model/transaction-info.bo.js +47 -64
- package/build/model/transaction-line-info.bo.d.ts +1 -1
- package/build/model/transaction-line-info.bo.js +101 -143
- package/build/model/transaction-line-reporting-request.bo.d.ts +1 -1
- package/build/model/transaction-line-reporting-request.bo.js +6 -22
- package/build/model/transaction-line-status-base.bo.d.ts +1 -1
- package/build/model/transaction-line-status-base.bo.js +6 -22
- package/build/model/transaction-list-object.bo.d.ts +3 -3
- package/build/model/transaction-list-object.bo.js +77 -97
- package/build/model/transaction-lock-result.bo.d.ts +1 -1
- package/build/model/transaction-lock-result.bo.js +11 -27
- package/build/model/transaction-response-base.bo.d.ts +1 -1
- package/build/model/transaction-response-base.bo.js +6 -22
- package/build/model/transaction-search-view-request.d.ts +1 -1
- package/build/model/transaction-search-view-request.js +6 -5
- package/build/model/transaction-search-view.bo.d.ts +3 -3
- package/build/model/transaction-search-view.bo.js +98 -124
- package/build/model/transaction-total.bo.d.ts +1 -1
- package/build/model/transaction-total.bo.js +6 -22
- package/build/model/transactionLineCharacteristic.bo.js +12 -11
- package/build/model/transactionLineCharacteristicChoice.bo.js +5 -6
- package/build/model/tree-object.d.ts +1 -1
- package/build/model/tree-object.js +19 -35
- package/build/model/turnover-group-image.d.ts +2 -2
- package/build/model/turnover-group-image.js +14 -30
- package/build/model/vat.d.ts +2 -2
- package/build/model/vat.js +17 -33
- package/build/model/warehouse.bo.d.ts +1 -1
- package/build/model/warehouse.bo.js +46 -60
- package/build/transaction-auth.d.ts +1 -17
- package/build/transaction-auth.js +782 -1014
- package/build/transaction-public.d.ts +1 -16
- package/build/transaction-public.js +576 -1063
- package/build/transaction.d.ts +1 -16
- package/build/transaction.js +279 -432
- package/build/transaction.unit.test.js +341 -837
- package/build/type/object-configuration-default-value-type.js +2 -0
- package/build/websocket/socket.js +63 -115
- package/package.json +10 -3
- package/build/catalog.d.ts +0 -35
- package/build/catalog.js +0 -47
- package/build/enum/absence-type.enum.d.ts +0 -10
- package/build/enum/absence-type.enum.js +0 -11
- package/build/enum/address-type.enum.d.ts +0 -8
- package/build/enum/address-type.enum.js +0 -9
- package/build/enum/co-document-image-display-kind.enum.d.ts +0 -5
- package/build/enum/co-document-image-display-kind.enum.js +0 -6
- package/build/enum/communication-type.enum.d.ts +0 -8
- package/build/enum/communication-type.enum.js +0 -9
- package/build/enum/company-type.enum.d.ts +0 -4
- package/build/enum/company-type.enum.js +0 -5
- package/build/enum/customer-employee-contact-link-status.enum.d.ts +0 -4
- package/build/enum/customer-employee-contact-link-status.enum.js +0 -5
- package/build/enum/customer-type.enum.d.ts +0 -5
- package/build/enum/customer-type.enum.js +0 -6
- package/build/enum/data-service-method.enum.d.ts +0 -14
- package/build/enum/data-service-method.enum.js +0 -15
- package/build/enum/datasession-service-method.enum.d.ts +0 -11
- package/build/enum/datasession-service-method.enum.js +0 -12
- package/build/enum/db-boolean-value-type.enum.d.ts +0 -12
- package/build/enum/db-boolean-value-type.enum.js +0 -28
- package/build/enum/delivery-time-unit-type.enum.d.ts +0 -4
- package/build/enum/delivery-time-unit-type.enum.js +0 -5
- package/build/enum/fixed-supplier-type.enum.d.ts +0 -13
- package/build/enum/fixed-supplier-type.enum.js +0 -14
- package/build/enum/gender-type.enum.d.ts +0 -5
- package/build/enum/gender-type.enum.js +0 -6
- package/build/enum/insured-interest-type.enum.d.ts +0 -10
- package/build/enum/insured-interest-type.enum.js +0 -11
- package/build/enum/message-type.enum.d.ts +0 -6
- package/build/enum/message-type.enum.js +0 -7
- package/build/enum/node-display-type.enum.d.ts +0 -5
- package/build/enum/node-display-type.enum.js +0 -6
- package/build/enum/own-risk.enum.d.ts +0 -7
- package/build/enum/own-risk.enum.js +0 -8
- package/build/enum/priority-type.enum.d.ts +0 -7
- package/build/enum/priority-type.enum.js +0 -8
- package/build/enum/product-kind.enum.d.ts +0 -6
- package/build/enum/product-kind.enum.js +0 -7
- package/build/enum/refcode/article-publication.enum.d.ts +0 -5
- package/build/enum/refcode/article-publication.enum.js +0 -6
- package/build/enum/refcode/co-document-type.enum.d.ts +0 -5
- package/build/enum/refcode/co-document-type.enum.js +0 -6
- package/build/enum/refcode/file-type-internal.enum.d.ts +0 -11
- package/build/enum/refcode/file-type-internal.enum.js +0 -12
- package/build/enum/refcode/file-type.enum.d.ts +0 -5
- package/build/enum/refcode/file-type.enum.js +0 -6
- package/build/enum/refcode/object-config-kind.d.ts +0 -9
- package/build/enum/refcode/object-config-kind.js +0 -10
- package/build/enum/refcode/object-configuration-data-type.enum.d.ts +0 -7
- package/build/enum/refcode/object-configuration-data-type.enum.js +0 -8
- package/build/enum/refcode/object-configuration-value-type.enum.d.ts +0 -10
- package/build/enum/refcode/object-configuration-value-type.enum.js +0 -11
- package/build/enum/refcode/object-right-type.enum.d.ts +0 -5
- package/build/enum/refcode/object-right-type.enum.js +0 -6
- package/build/enum/refcode/price-type.enum.d.ts +0 -4
- package/build/enum/refcode/price-type.enum.js +0 -5
- package/build/enum/refcode/text-standard-type-text.d.ts +0 -7
- package/build/enum/refcode/text-standard-type-text.js +0 -8
- package/build/enum/refcode/text-standard-type.d.ts +0 -7
- package/build/enum/refcode/text-standard-type.js +0 -8
- package/build/enum/refcode/user-right-type.enum.d.ts +0 -7
- package/build/enum/refcode/user-right-type.enum.js +0 -8
- package/build/enum/true-false-db-type.enum.d.ts +0 -5
- package/build/enum/true-false-db-type.enum.js +0 -16
- package/build/enum/value-comparison-type.enum.d.ts +0 -15
- package/build/enum/value-comparison-type.enum.js +0 -28
- package/build/enum/vat-type.enum.d.ts +0 -4
- package/build/enum/vat-type.enum.js +0 -5
- package/build/enum/yes-no-db-type.enum.d.ts +0 -5
- package/build/enum/yes-no-db-type.enum.js +0 -16
- package/build/factory/decorators/boolean.decorator.d.ts +0 -11
- package/build/factory/decorators/boolean.decorator.js +0 -71
- package/build/factory/decorators/business-object-data.decorator.d.ts +0 -24
- package/build/factory/decorators/business-object-data.decorator.js +0 -85
- package/build/factory/decorators/complex-array.decorator.d.ts +0 -5
- package/build/factory/decorators/complex-array.decorator.js +0 -35
- package/build/factory/decorators/complex-field.decorator.d.ts +0 -5
- package/build/factory/decorators/complex-field.decorator.js +0 -35
- package/build/factory/decorators/date-field.decorator.d.ts +0 -5
- package/build/factory/decorators/date-field.decorator.js +0 -25
- package/build/factory/decorators/db-field-alias.decorator.d.ts +0 -5
- package/build/factory/decorators/db-field-alias.decorator.js +0 -38
- package/build/factory/decorators/db-method-value.decorator.d.ts +0 -5
- package/build/factory/decorators/db-method-value.decorator.js +0 -18
- package/build/factory/decorators/db-number.decorator.d.ts +0 -5
- package/build/factory/decorators/db-number.decorator.js +0 -35
- package/build/factory/decorators/exclude-when-empty-string.decorator.d.ts +0 -5
- package/build/factory/decorators/exclude-when-empty-string.decorator.js +0 -18
- package/build/factory/decorators/json.decorator.d.ts +0 -5
- package/build/factory/decorators/json.decorator.js +0 -24
- package/build/factory/decorators/map-property.decorator.d.ts +0 -6
- package/build/factory/decorators/map-property.decorator.js +0 -28
- package/build/factory/decorators/no-db-field.decorator.d.ts +0 -4
- package/build/factory/decorators/no-db-field.decorator.js +0 -32
- package/build/factory/decorators/number-string.decorator.d.ts +0 -6
- package/build/factory/decorators/number-string.decorator.js +0 -22
- package/build/factory/decorators/simple-property-tag.decorator.d.ts +0 -5
- package/build/factory/decorators/simple-property-tag.decorator.js +0 -36
- package/build/factory/decorators/string-number.decorator.d.ts +0 -6
- package/build/factory/decorators/string-number.decorator.js +0 -28
- package/build/interface/business-object-data-shape.d.ts +0 -21
- package/build/interface/business-object-data-shape.js +0 -0
- package/build/interface/check-precision-and-scale-result.d.ts +0 -4
- package/build/interface/check-precision-and-scale-result.js +0 -0
- package/build/interface/contact-option-common-shape.d.ts +0 -7
- package/build/interface/contact-option-common-shape.js +0 -0
- package/build/interface/contact-option-sequence-range.d.ts +0 -5
- package/build/interface/contact-option-sequence-range.js +0 -0
- package/build/interface/data-service-response-data.interface.d.ts +0 -9
- package/build/interface/data-service-response-data.interface.js +0 -0
- package/build/interface/field-validation.interface.d.ts +0 -6
- package/build/interface/field-validation.interface.js +0 -0
- package/build/interface/field-validations-object.interface.d.ts +0 -4
- package/build/interface/field-validations-object.interface.js +0 -0
- package/build/interface/filter-property.d.ts +0 -9
- package/build/interface/filter-property.js +0 -0
- package/build/interface/paging-parameters.interface.d.ts +0 -6
- package/build/interface/paging-parameters.interface.js +0 -6
- package/build/interface/precision-scale-object.d.ts +0 -4
- package/build/interface/precision-scale-object.js +0 -0
- package/build/interface/relman-complete-name.d.ts +0 -5
- package/build/interface/relman-complete-name.js +0 -0
- package/build/interface/search-property.d.ts +0 -11
- package/build/interface/search-property.js +0 -0
- package/build/interface/sort-property.d.ts +0 -11
- package/build/interface/sort-property.js +0 -0
- package/build/interface/validation-message.interface.d.ts +0 -6
- package/build/interface/validation-message.interface.js +0 -0
- package/build/interface/validation-result.interface.d.ts +0 -14
- package/build/interface/validation-result.interface.js +0 -0
- package/build/interface/value-comparison-type-view-wrapper.d.ts +0 -5
- package/build/interface/value-comparison-type-view-wrapper.js +0 -0
- package/build/model/address-contact-option.bo.d.ts +0 -14
- package/build/model/address-contact-option.bo.js +0 -25
- package/build/model/address.bo.d.ts +0 -37
- package/build/model/address.bo.js +0 -148
- package/build/model/answer-price.d.ts +0 -15
- package/build/model/answer-price.js +0 -90
- package/build/model/answer.d.ts +0 -36
- package/build/model/answer.js +0 -184
- package/build/model/article-seo-value.d.ts +0 -5
- package/build/model/article-seo-value.js +0 -6
- package/build/model/bank-account.bo.d.ts +0 -15
- package/build/model/bank-account.bo.js +0 -25
- package/build/model/branch-lov.bo.d.ts +0 -9
- package/build/model/branch-lov.bo.js +0 -25
- package/build/model/brand.d.ts +0 -8
- package/build/model/brand.js +0 -25
- package/build/model/business-object-id-type.d.ts +0 -4
- package/build/model/business-object-id-type.js +0 -10
- package/build/model/business-object.d.ts +0 -7
- package/build/model/business-object.js +0 -71
- package/build/model/co-document-right.d.ts +0 -7
- package/build/model/co-document-right.js +0 -22
- package/build/model/co-document.d.ts +0 -62
- package/build/model/co-document.js +0 -223
- package/build/model/co-domain-value.bo.d.ts +0 -10
- package/build/model/co-domain-value.bo.js +0 -36
- package/build/model/co-notition-right.bo.d.ts +0 -10
- package/build/model/co-notition-right.bo.js +0 -25
- package/build/model/co-notition.bo.d.ts +0 -24
- package/build/model/co-notition.bo.js +0 -96
- package/build/model/co-text.d.ts +0 -26
- package/build/model/co-text.js +0 -43
- package/build/model/contact-moment.bo.d.ts +0 -17
- package/build/model/contact-moment.bo.js +0 -51
- package/build/model/contact-option.bo.d.ts +0 -16
- package/build/model/contact-option.bo.js +0 -46
- package/build/model/customer-full-object.bo.d.ts +0 -107
- package/build/model/customer-full-object.bo.js +0 -334
- package/build/model/data-service-data.d.ts +0 -15
- package/build/model/data-service-data.js +0 -6
- package/build/model/data-service-request-data.d.ts +0 -15
- package/build/model/data-service-request-data.js +0 -6
- package/build/model/data-service-response-data.d.ts +0 -15
- package/build/model/data-service-response-data.js +0 -66
- package/build/model/data-service-response-root.d.ts +0 -5
- package/build/model/data-service-response-root.js +0 -0
- package/build/model/deco-node.d.ts +0 -18
- package/build/model/deco-node.js +0 -93
- package/build/model/department.bo.d.ts +0 -12
- package/build/model/department.bo.js +0 -81
- package/build/model/employee-group-dto.bo.d.ts +0 -7
- package/build/model/employee-group-dto.bo.js +0 -42
- package/build/model/field-validation.d.ts +0 -10
- package/build/model/field-validation.js +0 -61
- package/build/model/field-validations-object.d.ts +0 -4
- package/build/model/field-validations-object.js +0 -0
- package/build/model/frozen-article-composition.d.ts +0 -13
- package/build/model/frozen-article-composition.js +0 -79
- package/build/model/frozen-article-simple.d.ts +0 -12
- package/build/model/frozen-article-simple.js +0 -74
- package/build/model/frozen-article.d.ts +0 -14
- package/build/model/frozen-article.js +0 -75
- package/build/model/hd-service-request-data.d.ts +0 -5
- package/build/model/hd-service-request-data.js +0 -0
- package/build/model/insuredInterest.bo.d.ts +0 -13
- package/build/model/insuredInterest.bo.js +0 -51
- package/build/model/login.d.ts +0 -17
- package/build/model/login.js +0 -65
- package/build/model/match-article.d.ts +0 -10
- package/build/model/match-article.js +0 -66
- package/build/model/material.d.ts +0 -6
- package/build/model/material.js +0 -25
- package/build/model/nul-relation-object.d.ts +0 -6
- package/build/model/nul-relation-object.js +0 -5
- package/build/model/object-configuration.d.ts +0 -50
- package/build/model/object-configuration.js +0 -202
- package/build/model/off-set-account.bo.d.ts +0 -15
- package/build/model/off-set-account.bo.js +0 -95
- package/build/model/own-risk.bo.d.ts +0 -11
- package/build/model/own-risk.bo.js +0 -51
- package/build/model/paging-parameters.d.ts +0 -16
- package/build/model/paging-parameters.js +0 -44
- package/build/model/payroll-number.bo.d.ts +0 -7
- package/build/model/payroll-number.bo.js +0 -42
- package/build/model/privacy-setting.bo.d.ts +0 -9
- package/build/model/privacy-setting.bo.js +0 -25
- package/build/model/question.d.ts +0 -9
- package/build/model/question.js +0 -54
- package/build/model/relation-any-type.d.ts +0 -3
- package/build/model/relation-any-type.js +0 -0
- package/build/model/relation-contact-link.bo.d.ts +0 -36
- package/build/model/relation-contact-link.bo.js +0 -158
- package/build/model/relation-contact-serial-number.bo.d.ts +0 -22
- package/build/model/relation-contact-serial-number.bo.js +0 -85
- package/build/model/relation-contract-login-data.bo.d.ts +0 -10
- package/build/model/relation-contract-login-data.bo.js +0 -42
- package/build/model/relation-contract.bo.d.ts +0 -63
- package/build/model/relation-contract.bo.js +0 -141
- package/build/model/relation-employee-fte.bo.d.ts +0 -8
- package/build/model/relation-employee-fte.bo.js +0 -39
- package/build/model/relation-event-link.bo.d.ts +0 -15
- package/build/model/relation-event-link.bo.js +0 -70
- package/build/model/relation-event-subscriber.bo.d.ts +0 -7
- package/build/model/relation-event-subscriber.bo.js +0 -42
- package/build/model/relation-list-object.bo.d.ts +0 -72
- package/build/model/relation-list-object.bo.js +0 -197
- package/build/model/relation-mailing-code.d.ts +0 -7
- package/build/model/relation-mailing-code.js +0 -25
- package/build/model/relation-objects-shared-field-logic.d.ts +0 -12
- package/build/model/relation-objects-shared-field-logic.js +0 -82
- package/build/model/relation-price-list.bo.d.ts +0 -11
- package/build/model/relation-price-list.bo.js +0 -58
- package/build/model/relation-privacy-setting.bo.d.ts +0 -12
- package/build/model/relation-privacy-setting.bo.js +0 -65
- package/build/model/relation-reference-type.bo.d.ts +0 -8
- package/build/model/relation-reference-type.bo.js +0 -58
- package/build/model/relation-request.d.ts +0 -51
- package/build/model/relation-request.js +0 -13
- package/build/model/relation-small-object.bo.d.ts +0 -28
- package/build/model/relation-small-object.bo.js +0 -99
- package/build/model/relation.bo.d.ts +0 -119
- package/build/model/relation.bo.js +0 -495
- package/build/model/sales-person.bo.d.ts +0 -7
- package/build/model/sales-person.bo.js +0 -43
- package/build/model/selection.d.ts +0 -45
- package/build/model/selection.js +0 -155
- package/build/model/service-provider.bo.d.ts +0 -20
- package/build/model/service-provider.bo.js +0 -105
- package/build/model/skip-button-info.d.ts +0 -6
- package/build/model/skip-button-info.js +0 -37
- package/build/model/sla-product.bo.d.ts +0 -20
- package/build/model/sla-product.bo.js +0 -56
- package/build/model/super-article-image.d.ts +0 -7
- package/build/model/super-article-image.js +0 -25
- package/build/model/super-article.d.ts +0 -21
- package/build/model/super-article.js +0 -86
- package/build/model/supplier-full-object.bo.d.ts +0 -64
- package/build/model/supplier-full-object.bo.js +0 -200
- package/build/model/tag-stock-item.bo.d.ts +0 -24
- package/build/model/tag-stock-item.bo.js +0 -36
- package/build/model/tag-tree-item.bo.d.ts +0 -18
- package/build/model/tag-tree-item.bo.js +0 -58
- package/build/model/tag.d.ts +0 -11
- package/build/model/tag.js +0 -55
- package/build/model/validation-message.d.ts +0 -15
- package/build/model/validation-message.js +0 -46
- package/build/model/validation-result.d.ts +0 -33
- package/build/model/validation-result.js +0 -199
- package/build/service/business-object-serializer.service.d.ts +0 -10
- package/build/service/business-object-serializer.service.js +0 -143
- package/build/type/business-object-id-type.d.ts +0 -4
- package/build/type/business-object-id-type.js +0 -10
- package/build/utils/array-utils.d.ts +0 -13
- package/build/utils/array-utils.js +0 -137
- package/build/utils/bo-factory-step.utils.d.ts +0 -4
- package/build/utils/bo-factory-step.utils.js +0 -15
- package/build/utils/bo-serializer-step.utils.d.ts +0 -4
- package/build/utils/bo-serializer-step.utils.js +0 -15
- package/build/utils/business-object-utils.d.ts +0 -10
- package/build/utils/business-object-utils.js +0 -80
- package/build/utils/date-utils.d.ts +0 -5
- package/build/utils/date-utils.js +0 -24
- package/build/utils/default-send-value.utils.d.ts +0 -6
- package/build/utils/default-send-value.utils.js +0 -51
- package/build/utils/file-utils.d.ts +0 -6
- package/build/utils/file-utils.js +0 -66
- package/build/utils/function/is-nill.function.d.ts +0 -1
- package/build/utils/function/is-nill.function.js +0 -3
- package/build/utils/function/not-nill.function.d.ts +0 -1
- package/build/utils/function/not-nill.function.js +0 -3
- package/build/utils/function-utils.d.ts +0 -4
- package/build/utils/function-utils.js +0 -32
- package/build/utils/image-utils.d.ts +0 -4
- package/build/utils/image-utils.js +0 -28
- package/build/utils/number-utils.d.ts +0 -19
- package/build/utils/number-utils.js +0 -161
- package/build/utils/object-utils.d.ts +0 -18
- package/build/utils/object-utils.js +0 -225
- package/build/utils/parameter-value-conversion-utils.d.ts +0 -3
- package/build/utils/parameter-value-conversion-utils.js +0 -19
- package/build/utils/promise-utils.d.ts +0 -6
- package/build/utils/promise-utils.js +0 -66
- package/build/utils/ref-code-utils.d.ts +0 -4
- package/build/utils/ref-code-utils.js +0 -23
- package/build/utils/simple-method-tag.utils.d.ts +0 -5
- package/build/utils/simple-method-tag.utils.js +0 -29
- package/build/utils/sort-utils.d.ts +0 -12
- package/build/utils/sort-utils.js +0 -128
- package/build/utils/string-utils.d.ts +0 -9
- package/build/utils/string-utils.js +0 -69
- package/build/utils/url-utils.d.ts +0 -4
- package/build/utils/url-utils.js +0 -32
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { ObjectUtils } from "../../utils/object-utils";
|
|
2
|
-
import { notNill } from "../../utils/function/not-nill.function";
|
|
3
|
-
var PROP_META_KEY = "complexArray";
|
|
4
|
-
export function ComplexArray(type) {
|
|
5
|
-
return function (target, propertyKey) {
|
|
6
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
if (!type) {
|
|
10
|
-
console.warn("@ComplexArray(type): type was UNDEFINED. Called on prop (" + ObjectUtils.GetClassName(target) + ", " + propertyKey + "). " +
|
|
11
|
-
"Class will not properly serialize and deserialize now. We've always been able to fix this by CHANGING IMPORT ORDERS " +
|
|
12
|
-
"where both classes and their dependencies are used, e.g. factory, repository or models..");
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
Reflect.defineMetadata(PROP_META_KEY, type, target, propertyKey);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
var ComplexArrayDecorator = (function () {
|
|
19
|
-
function ComplexArrayDecorator() {
|
|
20
|
-
}
|
|
21
|
-
ComplexArrayDecorator.IsComplexArray = function (target, propertyKey) {
|
|
22
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
return (notNill(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
26
|
-
};
|
|
27
|
-
ComplexArrayDecorator.GetComplexArrayType = function (target, propertyKey) {
|
|
28
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
32
|
-
};
|
|
33
|
-
return ComplexArrayDecorator;
|
|
34
|
-
}());
|
|
35
|
-
export { ComplexArrayDecorator };
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { notNill } from "../../utils/function/not-nill.function";
|
|
2
|
-
import { ObjectUtils } from "../../utils/object-utils";
|
|
3
|
-
var PROP_META_KEY = "complexField";
|
|
4
|
-
export function ComplexField(type) {
|
|
5
|
-
return function (target, propertyKey) {
|
|
6
|
-
if (!target || !propertyKey) {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
if (!type) {
|
|
10
|
-
console.warn("@ComplexField(type): type was UNDEFINED. Called on prop (" + ObjectUtils.GetClassName(target) + ", " + propertyKey + "). " +
|
|
11
|
-
"Class will not properly serialize and deserialize now. We've always been able to fix this by CHANGING IMPORT ORDERS " +
|
|
12
|
-
"where both classes and their dependencies are used, e.g. factory, repository or models..");
|
|
13
|
-
return;
|
|
14
|
-
}
|
|
15
|
-
Reflect.defineMetadata(PROP_META_KEY, type, target, propertyKey);
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
var ComplexFieldDecorator = (function () {
|
|
19
|
-
function ComplexFieldDecorator() {
|
|
20
|
-
}
|
|
21
|
-
ComplexFieldDecorator.IsComplexField = function (target, propertyKey) {
|
|
22
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
23
|
-
return false;
|
|
24
|
-
}
|
|
25
|
-
return (notNill(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
26
|
-
};
|
|
27
|
-
ComplexFieldDecorator.GetComplexFieldType = function (target, propertyKey) {
|
|
28
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
32
|
-
};
|
|
33
|
-
return ComplexFieldDecorator;
|
|
34
|
-
}());
|
|
35
|
-
export { ComplexFieldDecorator };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DateUtils } from "../../utils/date-utils";
|
|
2
|
-
var PROP_META_KEY = "dateField";
|
|
3
|
-
export function DateField() {
|
|
4
|
-
return function (target, propertyKey) {
|
|
5
|
-
if (!target || !propertyKey) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
var DateFieldFieldDecorator = (function () {
|
|
12
|
-
function DateFieldFieldDecorator() {
|
|
13
|
-
}
|
|
14
|
-
DateFieldFieldDecorator.IsDateField = function (target, propertyKey) {
|
|
15
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
19
|
-
};
|
|
20
|
-
DateFieldFieldDecorator.StringAsDate = function (str) {
|
|
21
|
-
return DateUtils.StringAsDate(str);
|
|
22
|
-
};
|
|
23
|
-
return DateFieldFieldDecorator;
|
|
24
|
-
}());
|
|
25
|
-
export { DateFieldFieldDecorator };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
var PROP_META_KEY = "dbFldAlias";
|
|
2
|
-
var ALL_PROPS_META_KEY = "dbFldAliasProps";
|
|
3
|
-
export function DbFieldAlias(alias) {
|
|
4
|
-
return function (target, propertyKey) {
|
|
5
|
-
if (!target || !propertyKey) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
Reflect.defineMetadata(PROP_META_KEY, alias, target, propertyKey);
|
|
9
|
-
var aliesFields = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
10
|
-
if (!aliesFields) {
|
|
11
|
-
aliesFields = new Set();
|
|
12
|
-
}
|
|
13
|
-
aliesFields.add(propertyKey);
|
|
14
|
-
Reflect.defineMetadata(ALL_PROPS_META_KEY, aliesFields, target);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
var DbFieldAliasDecorator = (function () {
|
|
18
|
-
function DbFieldAliasDecorator() {
|
|
19
|
-
}
|
|
20
|
-
DbFieldAliasDecorator.GetDecoratedProperties = function (target) {
|
|
21
|
-
if (!target || typeof target !== "object") {
|
|
22
|
-
return [];
|
|
23
|
-
}
|
|
24
|
-
var allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
25
|
-
if (!allProps) {
|
|
26
|
-
return [];
|
|
27
|
-
}
|
|
28
|
-
return Array.from(allProps);
|
|
29
|
-
};
|
|
30
|
-
DbFieldAliasDecorator.GetDbAlias = function (target, propertyKey) {
|
|
31
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
32
|
-
return undefined;
|
|
33
|
-
}
|
|
34
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
35
|
-
};
|
|
36
|
-
return DbFieldAliasDecorator;
|
|
37
|
-
}());
|
|
38
|
-
export { DbFieldAliasDecorator };
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SimpleMethodTagDecorator, simpleMethodTagDecorator } from "../../utils/simple-method-tag.utils";
|
|
2
|
-
var PROP_META_KEY = "dbMethodValue";
|
|
3
|
-
var ALL_PROPS_META_KEY = "dbMethodValues";
|
|
4
|
-
export function DbMethodValue() {
|
|
5
|
-
return simpleMethodTagDecorator(PROP_META_KEY, ALL_PROPS_META_KEY);
|
|
6
|
-
}
|
|
7
|
-
var DbMethodValueDecorator = (function () {
|
|
8
|
-
function DbMethodValueDecorator() {
|
|
9
|
-
}
|
|
10
|
-
DbMethodValueDecorator.IsDbMethodValueField = function (target, propertyKey) {
|
|
11
|
-
return SimpleMethodTagDecorator.IsDecoratedMethodProperty(target, propertyKey, PROP_META_KEY);
|
|
12
|
-
};
|
|
13
|
-
DbMethodValueDecorator.GetDecoratedProperties = function (target) {
|
|
14
|
-
return SimpleMethodTagDecorator.GetDecoratedMethodProperties(target, ALL_PROPS_META_KEY);
|
|
15
|
-
};
|
|
16
|
-
return DbMethodValueDecorator;
|
|
17
|
-
}());
|
|
18
|
-
export { DbMethodValueDecorator };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function DbNumber(precision?: number, scale?: number): PropertyDecorator;
|
|
2
|
-
export declare class DbNumberDecorator {
|
|
3
|
-
static IsDbNumberField(target: Object, propertyKey: string): boolean;
|
|
4
|
-
static GetDbSafeNumberVal(target: Object, propertyKey: string): number;
|
|
5
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { notNill } from "../../utils/function/not-nill.function";
|
|
2
|
-
import { NumberUtils } from "../../utils/number-utils";
|
|
3
|
-
var PROP_META_KEY = "dbNumber";
|
|
4
|
-
export function DbNumber(precision, scale) {
|
|
5
|
-
if (precision === void 0) { precision = 9; }
|
|
6
|
-
if (scale === void 0) { scale = 0; }
|
|
7
|
-
return function (target, propertyKey) {
|
|
8
|
-
if (!target || !propertyKey) {
|
|
9
|
-
return;
|
|
10
|
-
}
|
|
11
|
-
Reflect.defineMetadata(PROP_META_KEY, { precision: precision, scale: scale }, target, propertyKey);
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
var DbNumberDecorator = (function () {
|
|
15
|
-
function DbNumberDecorator() {
|
|
16
|
-
}
|
|
17
|
-
DbNumberDecorator.IsDbNumberField = function (target, propertyKey) {
|
|
18
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
19
|
-
return false;
|
|
20
|
-
}
|
|
21
|
-
return (notNill(Reflect.getMetadata(PROP_META_KEY, target, propertyKey)));
|
|
22
|
-
};
|
|
23
|
-
DbNumberDecorator.GetDbSafeNumberVal = function (target, propertyKey) {
|
|
24
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
25
|
-
return undefined;
|
|
26
|
-
}
|
|
27
|
-
var metadata = Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
28
|
-
if (!metadata) {
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
|
-
return NumberUtils.CheckPrecisionAndScale(target[propertyKey], metadata.precision, metadata.scale).nearestOkNr;
|
|
32
|
-
};
|
|
33
|
-
return DbNumberDecorator;
|
|
34
|
-
}());
|
|
35
|
-
export { DbNumberDecorator };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function ExcludeWhenEmptyString(): PropertyDecorator;
|
|
2
|
-
export declare class ExcludeWhenEmptyStringDecorator {
|
|
3
|
-
static IsExcludeWhenEmptyStringField(target: Object, propertyKey: string): boolean;
|
|
4
|
-
static IsEmptyStringVal(target: Object, propertyKey: string): boolean;
|
|
5
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { SimplePropertyTagDecorator, simplePropertyTagDecorator } from "./simple-property-tag.decorator";
|
|
2
|
-
var PROP_META_KEY = "excludeWhenEmptyString";
|
|
3
|
-
var ALL_PROPS_META_KEY = "excludeWhenEmptyStringPrps";
|
|
4
|
-
export function ExcludeWhenEmptyString() {
|
|
5
|
-
return simplePropertyTagDecorator(PROP_META_KEY, ALL_PROPS_META_KEY);
|
|
6
|
-
}
|
|
7
|
-
var ExcludeWhenEmptyStringDecorator = (function () {
|
|
8
|
-
function ExcludeWhenEmptyStringDecorator() {
|
|
9
|
-
}
|
|
10
|
-
ExcludeWhenEmptyStringDecorator.IsExcludeWhenEmptyStringField = function (target, propertyKey) {
|
|
11
|
-
return SimplePropertyTagDecorator.IsDecoratedProperty(target, propertyKey, PROP_META_KEY);
|
|
12
|
-
};
|
|
13
|
-
ExcludeWhenEmptyStringDecorator.IsEmptyStringVal = function (target, propertyKey) {
|
|
14
|
-
return target[propertyKey] === "";
|
|
15
|
-
};
|
|
16
|
-
return ExcludeWhenEmptyStringDecorator;
|
|
17
|
-
}());
|
|
18
|
-
export { ExcludeWhenEmptyStringDecorator };
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
var PROP_META_KEY = "jsonField";
|
|
2
|
-
export function JsonField() {
|
|
3
|
-
return function (target, propertyKey) {
|
|
4
|
-
if (!target || !propertyKey) {
|
|
5
|
-
return;
|
|
6
|
-
}
|
|
7
|
-
Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
var JsonFieldFieldDecorator = (function () {
|
|
11
|
-
function JsonFieldFieldDecorator() {
|
|
12
|
-
}
|
|
13
|
-
JsonFieldFieldDecorator.IsJsonField = function (target, propertyKey) {
|
|
14
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
18
|
-
};
|
|
19
|
-
JsonFieldFieldDecorator.StringAsJson = function (str) {
|
|
20
|
-
return JSON.parse(str);
|
|
21
|
-
};
|
|
22
|
-
return JsonFieldFieldDecorator;
|
|
23
|
-
}());
|
|
24
|
-
export { JsonFieldFieldDecorator };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
export declare function MapProperty(propName: string): PropertyDecorator;
|
|
3
|
-
export declare class MapPropertyDecorator {
|
|
4
|
-
static IsMapProperty(target: Object, propertyKey: string): boolean;
|
|
5
|
-
static GetMapProperty(target: Object, propertyKey: string): any;
|
|
6
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import 'reflect-metadata';
|
|
2
|
-
var PROP_META_KEY = "mapProperty";
|
|
3
|
-
export function MapProperty(propName) {
|
|
4
|
-
return function (target, propertyKey) {
|
|
5
|
-
if (!target || !propertyKey) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
Reflect.defineMetadata(PROP_META_KEY, propName, target, propertyKey);
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
var MapPropertyDecorator = (function () {
|
|
12
|
-
function MapPropertyDecorator() {
|
|
13
|
-
}
|
|
14
|
-
MapPropertyDecorator.IsMapProperty = function (target, propertyKey) {
|
|
15
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
19
|
-
};
|
|
20
|
-
MapPropertyDecorator.GetMapProperty = function (target, propertyKey) {
|
|
21
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
22
|
-
return undefined;
|
|
23
|
-
}
|
|
24
|
-
return Reflect.getMetadata(PROP_META_KEY, target, propertyKey);
|
|
25
|
-
};
|
|
26
|
-
return MapPropertyDecorator;
|
|
27
|
-
}());
|
|
28
|
-
export { MapPropertyDecorator };
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
var PROP_META_KEY = "noDbFld";
|
|
2
|
-
var ALL_PROPS_META_KEY = "noDbFldPrps";
|
|
3
|
-
export function NoDbField() {
|
|
4
|
-
return function (target, propertyKey) {
|
|
5
|
-
if (!target || !propertyKey) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
|
|
9
|
-
var noDbFields = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
10
|
-
if (!noDbFields) {
|
|
11
|
-
noDbFields = new Set();
|
|
12
|
-
}
|
|
13
|
-
noDbFields.add(propertyKey);
|
|
14
|
-
Reflect.defineMetadata(ALL_PROPS_META_KEY, noDbFields, target);
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
var NoDatabaseFieldDecorator = (function () {
|
|
18
|
-
function NoDatabaseFieldDecorator() {
|
|
19
|
-
}
|
|
20
|
-
NoDatabaseFieldDecorator.GetDecoratedProperties = function (target) {
|
|
21
|
-
if (!target || typeof target !== "object") {
|
|
22
|
-
return [];
|
|
23
|
-
}
|
|
24
|
-
var allProps = Reflect.getMetadata(ALL_PROPS_META_KEY, target);
|
|
25
|
-
if (!allProps) {
|
|
26
|
-
return [];
|
|
27
|
-
}
|
|
28
|
-
return Array.from(allProps);
|
|
29
|
-
};
|
|
30
|
-
return NoDatabaseFieldDecorator;
|
|
31
|
-
}());
|
|
32
|
-
export { NoDatabaseFieldDecorator };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function NumberString(): PropertyDecorator;
|
|
2
|
-
export declare class NumberStringDecorator {
|
|
3
|
-
static IsNumberString(target: Object, propertyKey: string): boolean;
|
|
4
|
-
static NumberAsString(nr: number): string;
|
|
5
|
-
static StringAsNumber(str: string): number;
|
|
6
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { SimplePropertyTagDecorator, simplePropertyTagDecorator } from "./simple-property-tag.decorator";
|
|
2
|
-
import { NumberUtils } from "../../utils/number-utils";
|
|
3
|
-
var PROP_META_KEY = "numberString";
|
|
4
|
-
var ALL_PROPS_META_KEY = "numberStringPrps";
|
|
5
|
-
export function NumberString() {
|
|
6
|
-
return simplePropertyTagDecorator(PROP_META_KEY, ALL_PROPS_META_KEY);
|
|
7
|
-
}
|
|
8
|
-
var NumberStringDecorator = (function () {
|
|
9
|
-
function NumberStringDecorator() {
|
|
10
|
-
}
|
|
11
|
-
NumberStringDecorator.IsNumberString = function (target, propertyKey) {
|
|
12
|
-
return SimplePropertyTagDecorator.IsDecoratedProperty(target, propertyKey, PROP_META_KEY);
|
|
13
|
-
};
|
|
14
|
-
NumberStringDecorator.NumberAsString = function (nr) {
|
|
15
|
-
return NumberUtils.ToString(nr);
|
|
16
|
-
};
|
|
17
|
-
NumberStringDecorator.StringAsNumber = function (str) {
|
|
18
|
-
return NumberUtils.ParseFloatKeepPrecision(str);
|
|
19
|
-
};
|
|
20
|
-
return NumberStringDecorator;
|
|
21
|
-
}());
|
|
22
|
-
export { NumberStringDecorator };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare function simplePropertyTagDecorator(singlePropMetaKey: string, allPropsMetaKey: string): PropertyDecorator;
|
|
2
|
-
export declare class SimplePropertyTagDecorator {
|
|
3
|
-
static GetDecoratedProperties(target: Object, allPropsMetaDataKey: string): string[];
|
|
4
|
-
static IsDecoratedProperty(target: Object, propertyKey: string, singlePropMetaKey: string): boolean;
|
|
5
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
export function simplePropertyTagDecorator(singlePropMetaKey, allPropsMetaKey) {
|
|
2
|
-
return function (target, propertyKey) {
|
|
3
|
-
if (!target || !propertyKey) {
|
|
4
|
-
return;
|
|
5
|
-
}
|
|
6
|
-
Reflect.defineMetadata(singlePropMetaKey, undefined, target, propertyKey);
|
|
7
|
-
var allDecoratedProps = Reflect.getMetadata(allPropsMetaKey, target);
|
|
8
|
-
if (!allDecoratedProps) {
|
|
9
|
-
allDecoratedProps = new Set();
|
|
10
|
-
}
|
|
11
|
-
allDecoratedProps.add(propertyKey);
|
|
12
|
-
Reflect.defineMetadata(allPropsMetaKey, allDecoratedProps, target);
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
var SimplePropertyTagDecorator = (function () {
|
|
16
|
-
function SimplePropertyTagDecorator() {
|
|
17
|
-
}
|
|
18
|
-
SimplePropertyTagDecorator.GetDecoratedProperties = function (target, allPropsMetaDataKey) {
|
|
19
|
-
if (!target || typeof target !== "object") {
|
|
20
|
-
return [];
|
|
21
|
-
}
|
|
22
|
-
var allProps = Reflect.getMetadata(allPropsMetaDataKey, target);
|
|
23
|
-
if (!allProps) {
|
|
24
|
-
return [];
|
|
25
|
-
}
|
|
26
|
-
return Array.from(allProps);
|
|
27
|
-
};
|
|
28
|
-
SimplePropertyTagDecorator.IsDecoratedProperty = function (target, propertyKey, singlePropMetaKey) {
|
|
29
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
return Reflect.hasMetadata(singlePropMetaKey, target, propertyKey);
|
|
33
|
-
};
|
|
34
|
-
return SimplePropertyTagDecorator;
|
|
35
|
-
}());
|
|
36
|
-
export { SimplePropertyTagDecorator };
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export declare function StringNumber(): PropertyDecorator;
|
|
2
|
-
export declare class StringNumberDecorator {
|
|
3
|
-
static IsStringNumber(target: Object, propertyKey: string): boolean;
|
|
4
|
-
static StringAsNumber(str: string): number;
|
|
5
|
-
static NumberAsString(nr: number): string;
|
|
6
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { NumberUtils } from "../../utils/number-utils";
|
|
2
|
-
var PROP_META_KEY = "stringNumber";
|
|
3
|
-
export function StringNumber() {
|
|
4
|
-
return function (target, propertyKey) {
|
|
5
|
-
if (!target || !propertyKey) {
|
|
6
|
-
return;
|
|
7
|
-
}
|
|
8
|
-
Reflect.defineMetadata(PROP_META_KEY, undefined, target, propertyKey);
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
var StringNumberDecorator = (function () {
|
|
12
|
-
function StringNumberDecorator() {
|
|
13
|
-
}
|
|
14
|
-
StringNumberDecorator.IsStringNumber = function (target, propertyKey) {
|
|
15
|
-
if (!target || !propertyKey || typeof target !== "object") {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
return Reflect.hasMetadata(PROP_META_KEY, target, propertyKey);
|
|
19
|
-
};
|
|
20
|
-
StringNumberDecorator.StringAsNumber = function (str) {
|
|
21
|
-
return NumberUtils.ParseFloatKeepPrecision(str);
|
|
22
|
-
};
|
|
23
|
-
StringNumberDecorator.NumberAsString = function (nr) {
|
|
24
|
-
return "" + nr;
|
|
25
|
-
};
|
|
26
|
-
return StringNumberDecorator;
|
|
27
|
-
}());
|
|
28
|
-
export { StringNumberDecorator };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { BusinessObject } from "../model/business-object";
|
|
2
|
-
import { DataMapping } from "../enum/data-mapping.enum";
|
|
3
|
-
import { DomainName } from "../enum/domain-name.enum";
|
|
4
|
-
import { SearchProperty } from "./search-property";
|
|
5
|
-
import { FilterProperty } from "./filter-property";
|
|
6
|
-
import { SortProperty } from "./sort-property";
|
|
7
|
-
export interface BusinessObjectDataShape {
|
|
8
|
-
name?: string;
|
|
9
|
-
mapping?: DataMapping;
|
|
10
|
-
label?: string;
|
|
11
|
-
labelPlural?: string;
|
|
12
|
-
codeField?: string;
|
|
13
|
-
groupField?: string;
|
|
14
|
-
groupDomainName?: DomainName;
|
|
15
|
-
groupMasterDataClass?: typeof BusinessObject;
|
|
16
|
-
groupEnumClass?: any;
|
|
17
|
-
descriptionField?: string;
|
|
18
|
-
searchProperties?: SearchProperty[];
|
|
19
|
-
filterProperties?: FilterProperty[];
|
|
20
|
-
sortProperties?: SortProperty[];
|
|
21
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { IPagingParameters } from "./paging-parameters.interface";
|
|
2
|
-
import { IValidationResult } from "./validation-result.interface";
|
|
3
|
-
export interface IDataServiceResponseData<T> {
|
|
4
|
-
fieldNames: any[];
|
|
5
|
-
pagingParameters: IPagingParameters;
|
|
6
|
-
resultObject: T | any;
|
|
7
|
-
resultObjects: T[];
|
|
8
|
-
validationResult: IValidationResult;
|
|
9
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ValueComparisonType } from "../enum/value-comparison-type.enum";
|
|
2
|
-
import { SearchDataType } from "../enum/search-data-type.enum";
|
|
3
|
-
import { SearchPropertyState } from "../enum/search-property-state.enum";
|
|
4
|
-
export interface SearchProperty {
|
|
5
|
-
property?: string;
|
|
6
|
-
label?: string;
|
|
7
|
-
values?: string[];
|
|
8
|
-
comparisonType?: ValueComparisonType;
|
|
9
|
-
dataType?: SearchDataType;
|
|
10
|
-
state?: SearchPropertyState;
|
|
11
|
-
}
|
|
File without changes
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SortDirection } from "../enum/sort-direction";
|
|
2
|
-
import { SortType } from "../enum/sort-type.enum";
|
|
3
|
-
export interface SortProperty {
|
|
4
|
-
property: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
direction?: SortDirection;
|
|
7
|
-
evalType?: any;
|
|
8
|
-
switcher?: number;
|
|
9
|
-
type?: SortType;
|
|
10
|
-
active?: boolean;
|
|
11
|
-
}
|
|
File without changes
|