@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,44 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
8
|
-
});
|
|
9
|
-
};
|
|
10
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
11
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
12
|
-
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
13
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
14
|
-
function step(op) {
|
|
15
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
16
|
-
while (_) try {
|
|
17
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
18
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
19
|
-
switch (op[0]) {
|
|
20
|
-
case 0: case 1: t = op; break;
|
|
21
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
22
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
23
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
24
|
-
default:
|
|
25
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
26
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
27
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
28
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
29
|
-
if (t[2]) _.ops.pop();
|
|
30
|
-
_.trys.pop(); continue;
|
|
31
|
-
}
|
|
32
|
-
op = body.call(thisArg, _);
|
|
33
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
34
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
import { Subject } from "rxjs/Subject";
|
|
38
|
-
import { PromiseUtils } from "../utils/promise-utils";
|
|
39
|
-
var Socket = (function () {
|
|
40
|
-
function Socket(_baseUrl, _order, _id, _protocol, _master) {
|
|
41
|
-
var _this = this;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const Subject_1 = require("rxjs/Subject");
|
|
4
|
+
const promise_utils_1 = require("@colijnit/ioneconnector/build/utils/promise-utils");
|
|
5
|
+
class Socket {
|
|
6
|
+
constructor(_baseUrl, _order, _id, _protocol, _master) {
|
|
42
7
|
this._baseUrl = _baseUrl;
|
|
43
8
|
this._order = _order;
|
|
44
9
|
this._id = _id;
|
|
@@ -46,76 +11,70 @@ var Socket = (function () {
|
|
|
46
11
|
this._master = _master;
|
|
47
12
|
this.calls = new Map();
|
|
48
13
|
this.token = '';
|
|
49
|
-
this.onClose = new Subject();
|
|
50
|
-
this.onError = new Subject();
|
|
14
|
+
this.onClose = new Subject_1.Subject();
|
|
15
|
+
this.onError = new Subject_1.Subject();
|
|
51
16
|
this._timeoutMs = 1000;
|
|
52
|
-
this._handleOnOpen =
|
|
53
|
-
if (
|
|
54
|
-
clearTimeout(
|
|
55
|
-
|
|
56
|
-
|
|
17
|
+
this._handleOnOpen = () => {
|
|
18
|
+
if (this._socket.readyState === WebSocket.OPEN) {
|
|
19
|
+
clearTimeout(this._connectionTimer);
|
|
20
|
+
this.connected = true;
|
|
21
|
+
this._connectionPromiseResolve();
|
|
57
22
|
}
|
|
58
23
|
};
|
|
59
|
-
this._handleOnClose =
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
24
|
+
this._handleOnClose = (event) => {
|
|
25
|
+
this.connected = false;
|
|
26
|
+
this.onClose.next(event);
|
|
27
|
+
this.clearSocket();
|
|
63
28
|
};
|
|
64
|
-
this._handleOnError =
|
|
65
|
-
if (
|
|
66
|
-
|
|
29
|
+
this._handleOnError = (event) => {
|
|
30
|
+
if (this._socket) {
|
|
31
|
+
this._socket.close();
|
|
67
32
|
}
|
|
68
|
-
clearTimeout(
|
|
69
|
-
if (!
|
|
70
|
-
|
|
33
|
+
clearTimeout(this._connectionTimer);
|
|
34
|
+
if (!this.connected) {
|
|
35
|
+
this._connectionPromiseReject();
|
|
71
36
|
}
|
|
72
37
|
else {
|
|
73
|
-
|
|
38
|
+
this.onError.next(event);
|
|
74
39
|
}
|
|
75
|
-
|
|
76
|
-
|
|
40
|
+
this.connected = false;
|
|
41
|
+
this.clearSocket();
|
|
77
42
|
};
|
|
78
|
-
this._handleOnMessage =
|
|
79
|
-
|
|
43
|
+
this._handleOnMessage = (event) => {
|
|
44
|
+
this.callback(JSON.parse(event.data));
|
|
80
45
|
};
|
|
81
46
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
enumerable: true,
|
|
87
|
-
configurable: true
|
|
88
|
-
});
|
|
89
|
-
Socket.prototype.connect = function () {
|
|
90
|
-
var _this = this;
|
|
47
|
+
get busy() {
|
|
48
|
+
return this.calls.size > 0;
|
|
49
|
+
}
|
|
50
|
+
connect() {
|
|
91
51
|
this._socket = new WebSocket(this._getUrl(this._id), this._protocol);
|
|
92
52
|
this._socket.addEventListener("close", this._handleOnClose);
|
|
93
53
|
this._socket.addEventListener("message", this._handleOnMessage);
|
|
94
|
-
return new Promise(
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
54
|
+
return new Promise((resolve, reject) => {
|
|
55
|
+
this._connectionPromiseResolve = resolve;
|
|
56
|
+
this._connectionPromiseReject = reject;
|
|
57
|
+
this._connectionTimer = window.setTimeout(this._handleOnError, this._timeoutMs);
|
|
58
|
+
this._socket.addEventListener("error", this._handleOnError);
|
|
59
|
+
this._socket.addEventListener("open", this._handleOnOpen);
|
|
100
60
|
});
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
message.id = "" + id;
|
|
61
|
+
}
|
|
62
|
+
call(message) {
|
|
63
|
+
const id = this._getCallbackId();
|
|
64
|
+
message.id = `${id}`;
|
|
106
65
|
this._socket.send(JSON.stringify(message));
|
|
107
|
-
return new Promise(
|
|
108
|
-
|
|
66
|
+
return new Promise((resolve) => {
|
|
67
|
+
this.calls.set(id, resolve);
|
|
109
68
|
});
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
|
|
69
|
+
}
|
|
70
|
+
callback(data) {
|
|
71
|
+
const id = parseInt(data.id, 10);
|
|
113
72
|
if (id && this.calls.has(id)) {
|
|
114
73
|
this.calls.get(id)(data);
|
|
115
74
|
this.calls.delete(id);
|
|
116
75
|
}
|
|
117
|
-
}
|
|
118
|
-
|
|
76
|
+
}
|
|
77
|
+
clearSocket() {
|
|
119
78
|
if (this._socket) {
|
|
120
79
|
this._socket.removeEventListener("close", this._handleOnClose);
|
|
121
80
|
this._socket.removeEventListener("message", this._handleOnMessage);
|
|
@@ -123,32 +82,21 @@ var Socket = (function () {
|
|
|
123
82
|
this._socket.removeEventListener("open", this._handleOnOpen);
|
|
124
83
|
this._socket = undefined;
|
|
125
84
|
}
|
|
126
|
-
}
|
|
127
|
-
|
|
85
|
+
}
|
|
86
|
+
disconnect() {
|
|
128
87
|
this._socket.close();
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
case 0: return [4, PromiseUtils.TryUntilSucceed(function () { return _this.connect(); }, 500)];
|
|
136
|
-
case 1:
|
|
137
|
-
_a.sent();
|
|
138
|
-
return [2];
|
|
139
|
-
}
|
|
140
|
-
});
|
|
141
|
-
});
|
|
142
|
-
};
|
|
143
|
-
Socket.prototype._getCallbackId = function () {
|
|
144
|
-
var i = 0;
|
|
88
|
+
}
|
|
89
|
+
async tryReopeningConnection() {
|
|
90
|
+
await promise_utils_1.PromiseUtils.TryUntilSucceed(() => this.connect(), 500);
|
|
91
|
+
}
|
|
92
|
+
_getCallbackId() {
|
|
93
|
+
let i = 0;
|
|
145
94
|
while (this.calls.has(++i)) {
|
|
146
95
|
}
|
|
147
96
|
return i;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
return this._baseUrl
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
export { Socket };
|
|
97
|
+
}
|
|
98
|
+
_getUrl(id) {
|
|
99
|
+
return `${this._baseUrl}?i=${id}&${(this._master ? "m=1" : ("s=" + this._order + "&t=" + encodeURIComponent(this.token)))}`;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
exports.Socket = Socket;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/transactionapi",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.53",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "grunt clean && tsc",
|
|
6
6
|
"browserify": "browserify build/connector.js --s colijn -o dist/out-tsc/bundle.js",
|
|
@@ -24,11 +24,18 @@
|
|
|
24
24
|
"jsencrypt": "3.0.0-beta.1",
|
|
25
25
|
"reflect-metadata": "^0.1.12",
|
|
26
26
|
"rxjs": "~6.5.4",
|
|
27
|
-
"rxjs-compat": "^6.6.3"
|
|
28
|
-
|
|
27
|
+
"rxjs-compat": "^6.6.3"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"@colijnit/ioneconnector": "2.1.8",
|
|
31
|
+
"@colijnit/mainapi": "1.0.1",
|
|
32
|
+
"@colijnit/relationapi": "1.0.1"
|
|
29
33
|
},
|
|
30
34
|
"devDependencies": {
|
|
31
35
|
"@types/jest": "^24.0.13",
|
|
36
|
+
"@colijnit/ioneconnector": "2.1.8",
|
|
37
|
+
"@colijnit/mainapi": "1.0.1",
|
|
38
|
+
"@colijnit/relationapi": "1.0.1",
|
|
32
39
|
"grunt": "^1.0.3",
|
|
33
40
|
"grunt-clean": "^0.4.0",
|
|
34
41
|
"grunt-contrib-clean": "^1.1.0",
|
package/build/catalog.d.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { BusinessObject } from "./model/business-object";
|
|
2
|
-
export declare class Catalog extends BusinessObject {
|
|
3
|
-
catId: number;
|
|
4
|
-
catName: string;
|
|
5
|
-
priceListCodePurchase: string;
|
|
6
|
-
priceListCodeSales: string;
|
|
7
|
-
startDate: Date;
|
|
8
|
-
endDate: Date;
|
|
9
|
-
catCreationDate: Date;
|
|
10
|
-
catNo: string;
|
|
11
|
-
catUpdateNo: string;
|
|
12
|
-
catUpdateName: string;
|
|
13
|
-
receiverId: number;
|
|
14
|
-
receiverNo: number;
|
|
15
|
-
receiverGln: string;
|
|
16
|
-
catReference: string;
|
|
17
|
-
catDocumentVersion: string;
|
|
18
|
-
countryCode: string;
|
|
19
|
-
languageCode: string;
|
|
20
|
-
catStatus: string;
|
|
21
|
-
sourceCatId: number;
|
|
22
|
-
catType: string;
|
|
23
|
-
useReccRetailPr: boolean;
|
|
24
|
-
priceListSelection: string;
|
|
25
|
-
useRelPricelist: boolean;
|
|
26
|
-
ediId: number;
|
|
27
|
-
supplierName: string;
|
|
28
|
-
supplierNo: number;
|
|
29
|
-
exportType: string;
|
|
30
|
-
exportTypeDescription: string;
|
|
31
|
-
includePartin: boolean;
|
|
32
|
-
translateTableKey: string;
|
|
33
|
-
constructor();
|
|
34
|
-
getId(): number;
|
|
35
|
-
}
|
package/build/catalog.js
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
var __extends = (this && this.__extends) || (function () {
|
|
2
|
-
var extendStatics = function (d, b) {
|
|
3
|
-
extendStatics = Object.setPrototypeOf ||
|
|
4
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
5
|
-
function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
|
|
6
|
-
return extendStatics(d, b);
|
|
7
|
-
};
|
|
8
|
-
return function (d, b) {
|
|
9
|
-
extendStatics(d, b);
|
|
10
|
-
function __() { this.constructor = d; }
|
|
11
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
12
|
-
};
|
|
13
|
-
})();
|
|
14
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
15
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
16
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
17
|
-
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;
|
|
18
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
19
|
-
};
|
|
20
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
21
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
22
|
-
};
|
|
23
|
-
import { BusinessObject } from "./model/business-object";
|
|
24
|
-
import { DateField } from "./factory/decorators/date-field.decorator";
|
|
25
|
-
var Catalog = (function (_super) {
|
|
26
|
-
__extends(Catalog, _super);
|
|
27
|
-
function Catalog() {
|
|
28
|
-
return _super.call(this) || this;
|
|
29
|
-
}
|
|
30
|
-
Catalog.prototype.getId = function () {
|
|
31
|
-
return this.catId;
|
|
32
|
-
};
|
|
33
|
-
__decorate([
|
|
34
|
-
DateField(),
|
|
35
|
-
__metadata("design:type", Date)
|
|
36
|
-
], Catalog.prototype, "startDate", void 0);
|
|
37
|
-
__decorate([
|
|
38
|
-
DateField(),
|
|
39
|
-
__metadata("design:type", Date)
|
|
40
|
-
], Catalog.prototype, "endDate", void 0);
|
|
41
|
-
__decorate([
|
|
42
|
-
DateField(),
|
|
43
|
-
__metadata("design:type", Date)
|
|
44
|
-
], Catalog.prototype, "catCreationDate", void 0);
|
|
45
|
-
return Catalog;
|
|
46
|
-
}(BusinessObject));
|
|
47
|
-
export { Catalog };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare enum AbsenceType {
|
|
2
|
-
Active = "active",
|
|
3
|
-
TrafficAccident = "TRAFFIC_ACCIDENT",
|
|
4
|
-
WorkAccident = "WORK_ACCIDENT",
|
|
5
|
-
Adoption = "ADOPTION",
|
|
6
|
-
Foster = "FOSTER",
|
|
7
|
-
Other = "OTHER",
|
|
8
|
-
Pregnancy = "PREGNANCY",
|
|
9
|
-
SafetyNetSituation = "SAFETY_NET_SITUATION"
|
|
10
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export var AbsenceType;
|
|
2
|
-
(function (AbsenceType) {
|
|
3
|
-
AbsenceType["Active"] = "active";
|
|
4
|
-
AbsenceType["TrafficAccident"] = "TRAFFIC_ACCIDENT";
|
|
5
|
-
AbsenceType["WorkAccident"] = "WORK_ACCIDENT";
|
|
6
|
-
AbsenceType["Adoption"] = "ADOPTION";
|
|
7
|
-
AbsenceType["Foster"] = "FOSTER";
|
|
8
|
-
AbsenceType["Other"] = "OTHER";
|
|
9
|
-
AbsenceType["Pregnancy"] = "PREGNANCY";
|
|
10
|
-
AbsenceType["SafetyNetSituation"] = "SAFETY_NET_SITUATION";
|
|
11
|
-
})(AbsenceType || (AbsenceType = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export var AddressType;
|
|
2
|
-
(function (AddressType) {
|
|
3
|
-
AddressType["DeliveryAddress"] = "A";
|
|
4
|
-
AddressType["VisitingAddress"] = "B";
|
|
5
|
-
AddressType["MailingAddress"] = "C";
|
|
6
|
-
AddressType["BillingAddress"] = "F";
|
|
7
|
-
AddressType["BusinessAddress"] = "V";
|
|
8
|
-
AddressType["NursingAddress"] = "P";
|
|
9
|
-
})(AddressType || (AddressType = {}));
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export var CoDocumentImageDisplayKind;
|
|
2
|
-
(function (CoDocumentImageDisplayKind) {
|
|
3
|
-
CoDocumentImageDisplayKind["NormalImage"] = "N";
|
|
4
|
-
CoDocumentImageDisplayKind["LayeredImage"] = "L";
|
|
5
|
-
CoDocumentImageDisplayKind["Avatar"] = "A";
|
|
6
|
-
})(CoDocumentImageDisplayKind || (CoDocumentImageDisplayKind = {}));
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export var CommunicationType;
|
|
2
|
-
(function (CommunicationType) {
|
|
3
|
-
CommunicationType["Chat"] = "C";
|
|
4
|
-
CommunicationType["Email"] = "E";
|
|
5
|
-
CommunicationType["Fax"] = "F";
|
|
6
|
-
CommunicationType["Mobile"] = "G";
|
|
7
|
-
CommunicationType["Telephone"] = "T";
|
|
8
|
-
CommunicationType["Website"] = "W";
|
|
9
|
-
})(CommunicationType || (CommunicationType = {}));
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export var CustomerEmployeeContactLinkStatus;
|
|
2
|
-
(function (CustomerEmployeeContactLinkStatus) {
|
|
3
|
-
CustomerEmployeeContactLinkStatus["Active"] = "ACTIVE";
|
|
4
|
-
CustomerEmployeeContactLinkStatus["OutOfService"] = "OUT_OF_SERVICE";
|
|
5
|
-
})(CustomerEmployeeContactLinkStatus || (CustomerEmployeeContactLinkStatus = {}));
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare enum DataServiceMethod {
|
|
2
|
-
SelectSingleObject = "selectSingleObject",
|
|
3
|
-
SelectMultipleObjects = "selectMultipleObjects",
|
|
4
|
-
UpdateObject = "updateObject",
|
|
5
|
-
InsertObject = "insertObject",
|
|
6
|
-
DeleteObject = "deleteObject",
|
|
7
|
-
ExecuteMethod = "executeMethod",
|
|
8
|
-
LockObject = "lockObject",
|
|
9
|
-
UnlockObject = "unlockObject",
|
|
10
|
-
UpdateMultipleObjects = "updateMultipleObjects",
|
|
11
|
-
InsertMultipleObjects = "insertMultipleObjects",
|
|
12
|
-
DeleteMultipleObjects = "deleteMultipleObjects",
|
|
13
|
-
Commit = "commit"
|
|
14
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export var DataServiceMethod;
|
|
2
|
-
(function (DataServiceMethod) {
|
|
3
|
-
DataServiceMethod["SelectSingleObject"] = "selectSingleObject";
|
|
4
|
-
DataServiceMethod["SelectMultipleObjects"] = "selectMultipleObjects";
|
|
5
|
-
DataServiceMethod["UpdateObject"] = "updateObject";
|
|
6
|
-
DataServiceMethod["InsertObject"] = "insertObject";
|
|
7
|
-
DataServiceMethod["DeleteObject"] = "deleteObject";
|
|
8
|
-
DataServiceMethod["ExecuteMethod"] = "executeMethod";
|
|
9
|
-
DataServiceMethod["LockObject"] = "lockObject";
|
|
10
|
-
DataServiceMethod["UnlockObject"] = "unlockObject";
|
|
11
|
-
DataServiceMethod["UpdateMultipleObjects"] = "updateMultipleObjects";
|
|
12
|
-
DataServiceMethod["InsertMultipleObjects"] = "insertMultipleObjects";
|
|
13
|
-
DataServiceMethod["DeleteMultipleObjects"] = "deleteMultipleObjects";
|
|
14
|
-
DataServiceMethod["Commit"] = "commit";
|
|
15
|
-
})(DataServiceMethod || (DataServiceMethod = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare enum DatasessionServiceMethod {
|
|
2
|
-
OpenDataSession = "openDataSession",
|
|
3
|
-
SetSessionTitle = "setSessionTitle",
|
|
4
|
-
SetSessionAction = "setSessionAction",
|
|
5
|
-
CloseDataSession = "closeDataSession",
|
|
6
|
-
Commit = "commit",
|
|
7
|
-
Rollback = "rollback",
|
|
8
|
-
RollbackToSavepoint = "rollbackToSavepoint",
|
|
9
|
-
SetSavepoint = "setSavepoint",
|
|
10
|
-
ReleaseSavepoint = "releaseSavepoint"
|
|
11
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export var DatasessionServiceMethod;
|
|
2
|
-
(function (DatasessionServiceMethod) {
|
|
3
|
-
DatasessionServiceMethod["OpenDataSession"] = "openDataSession";
|
|
4
|
-
DatasessionServiceMethod["SetSessionTitle"] = "setSessionTitle";
|
|
5
|
-
DatasessionServiceMethod["SetSessionAction"] = "setSessionAction";
|
|
6
|
-
DatasessionServiceMethod["CloseDataSession"] = "closeDataSession";
|
|
7
|
-
DatasessionServiceMethod["Commit"] = "commit";
|
|
8
|
-
DatasessionServiceMethod["Rollback"] = "rollback";
|
|
9
|
-
DatasessionServiceMethod["RollbackToSavepoint"] = "rollbackToSavepoint";
|
|
10
|
-
DatasessionServiceMethod["SetSavepoint"] = "setSavepoint";
|
|
11
|
-
DatasessionServiceMethod["ReleaseSavepoint"] = "releaseSavepoint";
|
|
12
|
-
})(DatasessionServiceMethod || (DatasessionServiceMethod = {}));
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { YesNoDbType } from "./yes-no-db-type.enum";
|
|
2
|
-
import { TrueFalseDbType } from "./true-false-db-type.enum";
|
|
3
|
-
import { OneZeroBoolDbType } from "./one-zero-bool-db-type.enum";
|
|
4
|
-
export declare enum DbBooleanValueType {
|
|
5
|
-
Ja,
|
|
6
|
-
Nee,
|
|
7
|
-
True,
|
|
8
|
-
False,
|
|
9
|
-
One,
|
|
10
|
-
Zero
|
|
11
|
-
}
|
|
12
|
-
export declare function GetLogicalBooleanValue(dbBoolVal: YesNoDbType | TrueFalseDbType | OneZeroBoolDbType | DbBooleanValueType | string | boolean): boolean;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { YesNoDbType } from "./yes-no-db-type.enum";
|
|
2
|
-
import { TrueFalseDbType } from "./true-false-db-type.enum";
|
|
3
|
-
import { OneZeroBoolDbType } from "./one-zero-bool-db-type.enum";
|
|
4
|
-
export var DbBooleanValueType;
|
|
5
|
-
(function (DbBooleanValueType) {
|
|
6
|
-
DbBooleanValueType[DbBooleanValueType["Ja"] = YesNoDbType.Yes] = "Ja";
|
|
7
|
-
DbBooleanValueType[DbBooleanValueType["Nee"] = YesNoDbType.No] = "Nee";
|
|
8
|
-
DbBooleanValueType[DbBooleanValueType["True"] = TrueFalseDbType.True] = "True";
|
|
9
|
-
DbBooleanValueType[DbBooleanValueType["False"] = TrueFalseDbType.False] = "False";
|
|
10
|
-
DbBooleanValueType[DbBooleanValueType["One"] = OneZeroBoolDbType.True] = "One";
|
|
11
|
-
DbBooleanValueType[DbBooleanValueType["Zero"] = OneZeroBoolDbType.False] = "Zero";
|
|
12
|
-
})(DbBooleanValueType || (DbBooleanValueType = {}));
|
|
13
|
-
export function GetLogicalBooleanValue(dbBoolVal) {
|
|
14
|
-
switch (dbBoolVal) {
|
|
15
|
-
case DbBooleanValueType.Ja:
|
|
16
|
-
case DbBooleanValueType.True:
|
|
17
|
-
case DbBooleanValueType.One:
|
|
18
|
-
case true:
|
|
19
|
-
return true;
|
|
20
|
-
case DbBooleanValueType.Nee:
|
|
21
|
-
case DbBooleanValueType.False:
|
|
22
|
-
case DbBooleanValueType.Zero:
|
|
23
|
-
case false:
|
|
24
|
-
return false;
|
|
25
|
-
default:
|
|
26
|
-
return undefined;
|
|
27
|
-
}
|
|
28
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export declare enum FixedSupplierType {
|
|
2
|
-
ProductSupplier = 1,
|
|
3
|
-
ServiceProvider = 2,
|
|
4
|
-
Government = 3,
|
|
5
|
-
LaborService = 4,
|
|
6
|
-
InsuranceCompany = 5,
|
|
7
|
-
PowerOfAttorney = 6,
|
|
8
|
-
HealthInsuranceCompany = 7,
|
|
9
|
-
Accon = 8,
|
|
10
|
-
UwvSettlement = 9,
|
|
11
|
-
Intermediary = 10,
|
|
12
|
-
Partner = 11
|
|
13
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export var FixedSupplierType;
|
|
2
|
-
(function (FixedSupplierType) {
|
|
3
|
-
FixedSupplierType[FixedSupplierType["ProductSupplier"] = 1] = "ProductSupplier";
|
|
4
|
-
FixedSupplierType[FixedSupplierType["ServiceProvider"] = 2] = "ServiceProvider";
|
|
5
|
-
FixedSupplierType[FixedSupplierType["Government"] = 3] = "Government";
|
|
6
|
-
FixedSupplierType[FixedSupplierType["LaborService"] = 4] = "LaborService";
|
|
7
|
-
FixedSupplierType[FixedSupplierType["InsuranceCompany"] = 5] = "InsuranceCompany";
|
|
8
|
-
FixedSupplierType[FixedSupplierType["PowerOfAttorney"] = 6] = "PowerOfAttorney";
|
|
9
|
-
FixedSupplierType[FixedSupplierType["HealthInsuranceCompany"] = 7] = "HealthInsuranceCompany";
|
|
10
|
-
FixedSupplierType[FixedSupplierType["Accon"] = 8] = "Accon";
|
|
11
|
-
FixedSupplierType[FixedSupplierType["UwvSettlement"] = 9] = "UwvSettlement";
|
|
12
|
-
FixedSupplierType[FixedSupplierType["Intermediary"] = 10] = "Intermediary";
|
|
13
|
-
FixedSupplierType[FixedSupplierType["Partner"] = 11] = "Partner";
|
|
14
|
-
})(FixedSupplierType || (FixedSupplierType = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export var InsuredInterestType;
|
|
2
|
-
(function (InsuredInterestType) {
|
|
3
|
-
InsuredInterestType["ExcessIncomeDecline"] = "WIA_EXCESS";
|
|
4
|
-
InsuredInterestType["IncomeDecline"] = "WIA_HIATUS";
|
|
5
|
-
InsuredInterestType["BaseIncomg"] = "WIA_BASE";
|
|
6
|
-
InsuredInterestType["Pension"] = "PENSION";
|
|
7
|
-
InsuredInterestType["ABSENCE"] = "ZV";
|
|
8
|
-
InsuredInterestType["LEGAL_AID"] = "RBV";
|
|
9
|
-
InsuredInterestType["LIFE_INSURANCE"] = "OV";
|
|
10
|
-
InsuredInterestType["WGA"] = "WGA";
|
|
11
|
-
})(InsuredInterestType || (InsuredInterestType = {}));
|