@colijnit/articleapi 1.0.31 → 1.0.32
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/articles-auth.d.ts +92 -0
- package/build/articles-auth.js +761 -0
- package/build/articles-public.d.ts +90 -0
- package/build/articles-public.js +408 -0
- package/build/articles.d.ts +105 -0
- package/build/articles.js +293 -0
- package/build/articles.unit.test.d.ts +1 -0
- package/build/articles.unit.test.js +285 -0
- package/build/catalog.d.ts +35 -0
- package/build/catalog.js +25 -0
- package/build/enum/absence-type.enum.d.ts +10 -0
- package/build/enum/absence-type.enum.js +11 -0
- package/build/enum/address-format.enum.d.ts +4 -0
- package/build/enum/address-format.enum.js +5 -0
- package/build/enum/address-type.enum.d.ts +8 -0
- package/build/enum/address-type.enum.js +9 -0
- package/build/enum/article-method.enum.d.ts +50 -0
- package/build/enum/article-method.enum.js +51 -0
- package/build/enum/article-object-name.enum.d.ts +27 -0
- package/build/enum/article-object-name.enum.js +28 -0
- package/build/enum/article-operation.enum.d.ts +5 -0
- package/build/enum/article-operation.enum.js +6 -0
- package/build/enum/article-stock-method.enum.d.ts +13 -0
- package/build/enum/article-stock-method.enum.js +14 -0
- package/build/enum/backend-service-name.enum.d.ts +9 -0
- package/build/enum/backend-service-name.enum.js +10 -0
- package/build/enum/catalog-object-name.enum.d.ts +3 -0
- package/build/enum/catalog-object-name.enum.js +4 -0
- package/build/enum/co-document-image-display-kind.enum.d.ts +5 -0
- package/build/enum/co-document-image-display-kind.enum.js +6 -0
- package/build/enum/communication-type.enum.d.ts +8 -0
- package/build/enum/communication-type.enum.js +9 -0
- package/build/enum/company-type.enum.d.ts +4 -0
- package/build/enum/company-type.enum.js +5 -0
- package/build/enum/connection-endpoint-enum.d.ts +4 -0
- package/build/enum/connection-endpoint-enum.js +5 -0
- package/build/enum/customer-employee-contact-link-status.enum.d.ts +4 -0
- package/build/enum/customer-employee-contact-link-status.enum.js +5 -0
- package/build/enum/customer-type.enum.d.ts +5 -0
- package/build/enum/customer-type.enum.js +6 -0
- package/build/enum/data-mapping.enum.d.ts +59 -0
- package/build/enum/data-mapping.enum.js +60 -0
- package/build/enum/data-service-method.enum.d.ts +14 -0
- package/build/enum/data-service-method.enum.js +15 -0
- package/build/enum/deco-node-kind.enum.d.ts +4 -0
- package/build/enum/deco-node-kind.enum.js +5 -0
- package/build/enum/deco-node-type.enum.d.ts +4 -0
- package/build/enum/deco-node-type.enum.js +5 -0
- package/build/enum/domain-name.enum.d.ts +60 -0
- package/build/enum/domain-name.enum.js +61 -0
- package/build/enum/external-catalog-method.enum.d.ts +4 -0
- package/build/enum/external-catalog-method.enum.js +5 -0
- package/build/enum/fixed-supplier-type.enum.d.ts +13 -0
- package/build/enum/fixed-supplier-type.enum.js +14 -0
- package/build/enum/gender-type.enum.d.ts +5 -0
- package/build/enum/gender-type.enum.js +6 -0
- package/build/enum/general-method.enum.d.ts +5 -0
- package/build/enum/general-method.enum.js +6 -0
- package/build/enum/general-object-name.enum.d.ts +4 -0
- package/build/enum/general-object-name.enum.js +5 -0
- package/build/enum/hdeco-placement.enum.d.ts +6 -0
- package/build/enum/hdeco-placement.enum.js +7 -0
- package/build/enum/hdeco-positioning.enum.d.ts +4 -0
- package/build/enum/hdeco-positioning.enum.js +5 -0
- package/build/enum/insured-interest-type.enum.d.ts +10 -0
- package/build/enum/insured-interest-type.enum.js +11 -0
- package/build/enum/line-confirmation-reason.enum.d.ts +6 -0
- package/build/enum/line-confirmation-reason.enum.js +7 -0
- package/build/enum/line-pending-reason.enum.d.ts +19 -0
- package/build/enum/line-pending-reason.enum.js +20 -0
- package/build/enum/logistics-method.enum.d.ts +4 -0
- package/build/enum/logistics-method.enum.js +5 -0
- package/build/enum/master-data-method-name.enum.d.ts +3 -0
- package/build/enum/master-data-method-name.enum.js +4 -0
- package/build/enum/master-data-object-name.enum.d.ts +17 -0
- package/build/enum/master-data-object-name.enum.js +18 -0
- package/build/enum/message-type.enum.d.ts +6 -0
- package/build/enum/message-type.enum.js +7 -0
- package/build/enum/module-name.enum.d.ts +15 -0
- package/build/enum/module-name.enum.js +16 -0
- package/build/enum/node-display-type.enum.d.ts +5 -0
- package/build/enum/node-display-type.enum.js +6 -0
- package/build/enum/node-type.enum.d.ts +5 -0
- package/build/enum/node-type.enum.js +6 -0
- package/build/enum/operation-name.enum.d.ts +4 -0
- package/build/enum/operation-name.enum.js +5 -0
- package/build/enum/own-risk.enum.d.ts +7 -0
- package/build/enum/own-risk.enum.js +8 -0
- package/build/enum/pending-reason-type.enum.d.ts +9 -0
- package/build/enum/pending-reason-type.enum.js +10 -0
- package/build/enum/pricing-method.enum.d.ts +3 -0
- package/build/enum/pricing-method.enum.js +4 -0
- package/build/enum/priority-type.enum.d.ts +7 -0
- package/build/enum/priority-type.enum.js +8 -0
- package/build/enum/product-kind.enum.d.ts +6 -0
- package/build/enum/product-kind.enum.js +7 -0
- package/build/enum/public-service-method.d.ts +87 -0
- package/build/enum/public-service-method.enum.d.ts +3 -0
- package/build/enum/public-service-method.enum.js +4 -0
- package/build/enum/public-service-method.js +88 -0
- package/build/enum/ref-code-class-to-domain-name-map.d.ts +2 -0
- package/build/enum/ref-code-class-to-domain-name-map.js +9 -0
- package/build/enum/refcode/article-publication.enum.d.ts +5 -0
- package/build/enum/refcode/article-publication.enum.js +6 -0
- package/build/enum/refcode/co-document-type.enum.d.ts +6 -0
- package/build/enum/refcode/co-document-type.enum.js +7 -0
- package/build/enum/refcode/commission-code-type.enum.d.ts +5 -0
- package/build/enum/refcode/commission-code-type.enum.js +6 -0
- package/build/enum/refcode/configuration-display-option.enum.d.ts +14 -0
- package/build/enum/refcode/configuration-display-option.enum.js +15 -0
- package/build/enum/refcode/document-publication.enum.d.ts +9 -0
- package/build/enum/refcode/document-publication.enum.js +10 -0
- package/build/enum/refcode/good-type.enum.d.ts +21 -0
- package/build/enum/refcode/good-type.enum.js +22 -0
- package/build/enum/refcode/object-config-kind.d.ts +9 -0
- package/build/enum/refcode/object-config-kind.js +10 -0
- package/build/enum/refcode/object-configuration-data-type.enum.d.ts +7 -0
- package/build/enum/refcode/object-configuration-data-type.enum.js +8 -0
- package/build/enum/refcode/object-configuration-value-type.enum.d.ts +10 -0
- package/build/enum/refcode/object-configuration-value-type.enum.js +11 -0
- package/build/enum/refcode/object-right-type.enum.d.ts +5 -0
- package/build/enum/refcode/object-right-type.enum.js +6 -0
- package/build/enum/refcode/price-list-type.enum.d.ts +8 -0
- package/build/enum/refcode/price-list-type.enum.js +9 -0
- package/build/enum/refcode/price-type.enum.d.ts +4 -0
- package/build/enum/refcode/price-type.enum.js +5 -0
- package/build/enum/refcode/ref-type.enum.d.ts +8 -0
- package/build/enum/refcode/ref-type.enum.js +9 -0
- package/build/enum/refcode/selector-type.enum.d.ts +5 -0
- package/build/enum/refcode/selector-type.enum.js +6 -0
- package/build/enum/refcode/stock-status.enum.d.ts +8 -0
- package/build/enum/refcode/stock-status.enum.js +22 -0
- package/build/enum/refcode/text-standard-type-text.d.ts +7 -0
- package/build/enum/refcode/text-standard-type-text.js +8 -0
- package/build/enum/refcode/text-standard-type.d.ts +7 -0
- package/build/enum/refcode/text-standard-type.js +8 -0
- package/build/enum/refcode/transaction-kind.d.ts +13 -0
- package/build/enum/refcode/transaction-kind.js +14 -0
- package/build/enum/refcode/user-right-type.enum.d.ts +7 -0
- package/build/enum/refcode/user-right-type.enum.js +8 -0
- package/build/enum/relation-kind.enum.d.ts +10 -0
- package/build/enum/relation-kind.enum.js +11 -0
- package/build/enum/relation-name-kind.enum.d.ts +4 -0
- package/build/enum/relation-name-kind.enum.js +5 -0
- package/build/enum/relation-object-name.enum.d.ts +4 -0
- package/build/enum/relation-object-name.enum.js +5 -0
- package/build/enum/relation-reference-kind.enum.d.ts +10 -0
- package/build/enum/relation-reference-kind.enum.js +11 -0
- package/build/enum/relation-status.enum.d.ts +6 -0
- package/build/enum/relation-status.enum.js +7 -0
- package/build/enum/reporting-documents-method.enum.d.ts +6 -0
- package/build/enum/reporting-documents-method.enum.js +7 -0
- package/build/enum/retail-transaction-pending-reason.enum.d.ts +5 -0
- package/build/enum/retail-transaction-pending-reason.enum.js +6 -0
- package/build/enum/sequence-name.enum.d.ts +4 -0
- package/build/enum/sequence-name.enum.js +5 -0
- package/build/enum/sla-publication.enum.d.ts +4 -0
- package/build/enum/sla-publication.enum.js +5 -0
- package/build/enum/stock-management-method.enum.d.ts +6 -0
- package/build/enum/stock-management-method.enum.js +7 -0
- package/build/enum/stock-method.enum.d.ts +3 -0
- package/build/enum/stock-method.enum.js +4 -0
- package/build/enum/table-name.enum.d.ts +82 -0
- package/build/enum/table-name.enum.js +83 -0
- package/build/enum/tag-object-name.enum.d.ts +3 -0
- package/build/enum/tag-object-name.enum.js +4 -0
- package/build/enum/text-kind-type.enum.d.ts +21 -0
- package/build/enum/text-kind-type.enum.js +22 -0
- package/build/enum/vat-type.enum.d.ts +4 -0
- package/build/enum/vat-type.enum.js +5 -0
- package/build/interface/contact-option-common-shape.d.ts +7 -0
- package/build/interface/contact-option-common-shape.js +0 -0
- package/build/interface/relman-complete-name.d.ts +5 -0
- package/build/interface/relman-complete-name.js +0 -0
- package/build/ione-api-articles.d.ts +91 -0
- package/build/ione-api-articles.js +10 -0
- package/build/model/art-quick-sel-o-article.d.ts +22 -0
- package/build/model/art-quick-sel-o-article.js +26 -0
- package/build/model/article-category.d.ts +11 -0
- package/build/model/article-category.js +30 -0
- package/build/model/article-details.bo.d.ts +41 -0
- package/build/model/article-details.bo.js +28 -0
- package/build/model/article-extended-request.d.ts +73 -0
- package/build/model/article-extended-request.js +8 -0
- package/build/model/article-extended.bo.d.ts +40 -0
- package/build/model/article-extended.bo.js +14 -0
- package/build/model/article-flat-storage-request.d.ts +6 -0
- package/build/model/article-flat-storage-request.js +14 -0
- package/build/model/article-flat-tree.bo.d.ts +17 -0
- package/build/model/article-flat-tree.bo.js +48 -0
- package/build/model/article-flat.bo.d.ts +135 -0
- package/build/model/article-flat.bo.js +19 -0
- package/build/model/article-full-object.d.ts +161 -0
- package/build/model/article-full-object.js +46 -0
- package/build/model/article-group-image.d.ts +8 -0
- package/build/model/article-group-image.js +17 -0
- package/build/model/article-group.d.ts +11 -0
- package/build/model/article-group.js +21 -0
- package/build/model/article-light.bo.d.ts +12 -0
- package/build/model/article-light.bo.js +18 -0
- package/build/model/article-list-object-extended.bo.d.ts +90 -0
- package/build/model/article-list-object-extended.bo.js +42 -0
- package/build/model/article-list-object.d.ts +27 -0
- package/build/model/article-list-object.js +18 -0
- package/build/model/article-price-list.d.ts +44 -0
- package/build/model/article-price-list.js +3 -0
- package/build/model/article-price.d.ts +21 -0
- package/build/model/article-price.js +17 -0
- package/build/model/article-pricing.d.ts +10 -0
- package/build/model/article-pricing.js +13 -0
- package/build/model/article-quick-sel.d.ts +37 -0
- package/build/model/article-quick-sel.js +102 -0
- package/build/model/article-search-filter-max-and-min-price.d.ts +4 -0
- package/build/model/article-search-filter-max-and-min-price.js +2 -0
- package/build/model/article-search-filter-method.enum.d.ts +14 -0
- package/build/model/article-search-filter-method.enum.js +15 -0
- package/build/model/article-search-filter-selection.d.ts +5 -0
- package/build/model/article-search-filter-selection.js +2 -0
- package/build/model/article-search-filter-selections.d.ts +5 -0
- package/build/model/article-search-filter-selections.js +16 -0
- package/build/model/article-search-info.d.ts +2 -0
- package/build/model/article-search-info.js +2 -0
- package/build/model/article-seo-value.d.ts +5 -0
- package/build/model/article-seo-value.js +2 -0
- package/build/model/article-stock-management.d.ts +6 -0
- package/build/model/article-stock-management.js +2 -0
- package/build/model/article-stock.bo.d.ts +21 -0
- package/build/model/article-stock.bo.js +3 -0
- package/build/model/article-stock.d.ts +12 -0
- package/build/model/article-stock.js +2 -0
- package/build/model/article-transaction.bo.d.ts +19 -0
- package/build/model/article-transaction.bo.js +3 -0
- package/build/model/article-transaction.d.ts +5 -0
- package/build/model/article-transaction.js +2 -0
- package/build/model/article.bo.d.ts +46 -0
- package/build/model/article.bo.js +25 -0
- package/build/model/catalog-definition.bo.d.ts +25 -0
- package/build/model/catalog-definition.bo.js +56 -0
- package/build/model/characteristic.bo.d.ts +14 -0
- package/build/model/characteristic.bo.js +18 -0
- package/build/model/co-document.bo.d.ts +73 -0
- package/build/model/co-document.bo.js +251 -0
- package/build/model/color.bo.d.ts +10 -0
- package/build/model/color.bo.js +36 -0
- package/build/model/colour.d.ts +9 -0
- package/build/model/colour.js +36 -0
- package/build/model/composite-good.d.ts +11 -0
- package/build/model/composite-good.js +3 -0
- package/build/model/configurator-statistics-environment.d.ts +8 -0
- package/build/model/configurator-statistics-environment.js +2 -0
- package/build/model/deco-node.d.ts +17 -0
- package/build/model/deco-node.js +58 -0
- package/build/model/delivery-prognosis.d.ts +4 -0
- package/build/model/delivery-prognosis.js +2 -0
- package/build/model/document-content.d.ts +4 -0
- package/build/model/document-content.js +2 -0
- package/build/model/document-export.d.ts +2 -0
- package/build/model/document-export.js +2 -0
- package/build/model/external-catalog-startup-info-request.d.ts +11 -0
- package/build/model/external-catalog-startup-info-request.js +3 -0
- package/build/model/external-catalog-startup-info.d.ts +13 -0
- package/build/model/external-catalog-startup-info.js +3 -0
- package/build/model/external-source-parameter.bo.d.ts +7 -0
- package/build/model/external-source-parameter.bo.js +9 -0
- package/build/model/external-source-translation.bo.d.ts +7 -0
- package/build/model/external-source-translation.bo.js +3 -0
- package/build/model/external-source.bo.d.ts +24 -0
- package/build/model/external-source.bo.js +25 -0
- package/build/model/frozen-article-composition.d.ts +13 -0
- package/build/model/frozen-article-composition.js +49 -0
- package/build/model/frozen-article-simple.d.ts +12 -0
- package/build/model/frozen-article-simple.js +45 -0
- package/build/model/frozen-article.d.ts +66 -0
- package/build/model/frozen-article.js +55 -0
- package/build/model/get-article-price-request.d.ts +21 -0
- package/build/model/get-article-price-request.js +2 -0
- package/build/model/get-stock-history-request.d.ts +13 -0
- package/build/model/get-stock-history-request.js +2 -0
- package/build/model/good.bo.d.ts +54 -0
- package/build/model/good.bo.js +3 -0
- package/build/model/linked-article.d.ts +39 -0
- package/build/model/linked-article.js +57 -0
- package/build/model/main-article-characteristic.bo.d.ts +9 -0
- package/build/model/main-article-characteristic.bo.js +14 -0
- package/build/model/main-article.bo.d.ts +39 -0
- package/build/model/main-article.bo.js +49 -0
- package/build/model/material.bo.d.ts +6 -0
- package/build/model/material.bo.js +6 -0
- package/build/model/note-right.bo.d.ts +4 -0
- package/build/model/note-right.bo.js +3 -0
- package/build/model/note.bo.d.ts +17 -0
- package/build/model/note.bo.js +25 -0
- package/build/model/price-list-info.d.ts +16 -0
- package/build/model/price-list-info.js +3 -0
- package/build/model/print-price-stickers-request.d.ts +5 -0
- package/build/model/print-price-stickers-request.js +7 -0
- package/build/model/print-stock-stickers.d.ts +10 -0
- package/build/model/print-stock-stickers.js +2 -0
- package/build/model/selection.d.ts +105 -0
- package/build/model/selection.js +194 -0
- package/build/model/selector-article.d.ts +64 -0
- package/build/model/selector-article.js +77 -0
- package/build/model/stock-amounts-view.d.ts +8 -0
- package/build/model/stock-amounts-view.js +3 -0
- package/build/model/stock-forecast.bo.d.ts +16 -0
- package/build/model/stock-forecast.bo.js +3 -0
- package/build/model/stock-history.bo.d.ts +29 -0
- package/build/model/stock-history.bo.js +3 -0
- package/build/model/stock-location.bo.d.ts +5 -0
- package/build/model/stock-location.bo.js +3 -0
- package/build/model/stock-management-warehouses.bo.d.ts +5 -0
- package/build/model/stock-management-warehouses.bo.js +3 -0
- package/build/model/stock-status.bo.d.ts +5 -0
- package/build/model/stock-status.bo.js +3 -0
- package/build/model/super-article-image.d.ts +7 -0
- package/build/model/super-article-image.js +6 -0
- package/build/model/super-article.d.ts +21 -0
- package/build/model/super-article.js +58 -0
- package/build/model/text.bo.d.ts +22 -0
- package/build/model/text.bo.js +20 -0
- package/build/model/transfer.stock.d.ts +5 -0
- package/build/model/transfer.stock.js +2 -0
- package/build/model/turnover-group-image.bo.d.ts +9 -0
- package/build/model/turnover-group-image.bo.js +21 -0
- package/build/model/update-article-stock-info.d.ts +6 -0
- package/build/model/update-article-stock-info.js +13 -0
- package/build/model/warehouse-per-new-value.d.ts +4 -0
- package/build/model/warehouse-per-new-value.js +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
3
|
+
export declare class Article extends BusinessObject {
|
|
4
|
+
articleNumber: string;
|
|
5
|
+
description: string;
|
|
6
|
+
barcode: string;
|
|
7
|
+
turnoverGroup: string;
|
|
8
|
+
artNrSupplier: string;
|
|
9
|
+
supplier: string;
|
|
10
|
+
salesDescription: string;
|
|
11
|
+
buyerDescription: string;
|
|
12
|
+
currency: string;
|
|
13
|
+
goodType: string;
|
|
14
|
+
extraDescription: string;
|
|
15
|
+
commissionCode: string;
|
|
16
|
+
standardDeliveryMethod: string;
|
|
17
|
+
homeBrandId: string;
|
|
18
|
+
homeDistId: string;
|
|
19
|
+
superArticleNr: string;
|
|
20
|
+
standardLocation: string;
|
|
21
|
+
price: number;
|
|
22
|
+
suppliedPrice: number;
|
|
23
|
+
baselinePrice: number;
|
|
24
|
+
supplierNr: number;
|
|
25
|
+
standardSupplier: number;
|
|
26
|
+
goodId: number;
|
|
27
|
+
stockStatus: number;
|
|
28
|
+
standardWareHouse: number;
|
|
29
|
+
amount: number;
|
|
30
|
+
standardDeliveryTimeSales: number;
|
|
31
|
+
refType: number;
|
|
32
|
+
vatCode: number;
|
|
33
|
+
index: number;
|
|
34
|
+
editTime: number;
|
|
35
|
+
assemblyTime: number;
|
|
36
|
+
image: CoDocument;
|
|
37
|
+
creationDate: Date;
|
|
38
|
+
deliveryDate: Date;
|
|
39
|
+
combineArticlesIn3D: boolean;
|
|
40
|
+
articleFullyLoaded: boolean;
|
|
41
|
+
isReturn: boolean;
|
|
42
|
+
descriptionEditable: boolean;
|
|
43
|
+
supplierEditable: boolean;
|
|
44
|
+
pricesLoaded: boolean;
|
|
45
|
+
imageData: string;
|
|
46
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
8
|
+
import { ComplexField } from "@colijnit/ioneconnector/build/factory/decorators/complex-field.decorator";
|
|
9
|
+
import { DateField } from "@colijnit/ioneconnector/build/factory/decorators/date-field.decorator";
|
|
10
|
+
import { NoDbField } from "@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator";
|
|
11
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
12
|
+
export class Article extends BusinessObject {
|
|
13
|
+
}
|
|
14
|
+
__decorate([
|
|
15
|
+
ComplexField(CoDocument)
|
|
16
|
+
], Article.prototype, "image", void 0);
|
|
17
|
+
__decorate([
|
|
18
|
+
DateField()
|
|
19
|
+
], Article.prototype, "creationDate", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
DateField()
|
|
22
|
+
], Article.prototype, "deliveryDate", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
NoDbField()
|
|
25
|
+
], Article.prototype, "imageData", void 0);
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
import { ExternalSourceTranslation } from "./external-source-translation.bo";
|
|
3
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
4
|
+
export declare class CatalogDefinition extends BusinessObject {
|
|
5
|
+
name: string;
|
|
6
|
+
supplierId: number;
|
|
7
|
+
externalSourceId: number;
|
|
8
|
+
image: CoDocument;
|
|
9
|
+
turnoverGroups: string[];
|
|
10
|
+
turnoverGroupTranslations: ExternalSourceTranslation[];
|
|
11
|
+
defaultTurnoverGroup: string;
|
|
12
|
+
articleGroups: string[];
|
|
13
|
+
articleGroupTranslations: ExternalSourceTranslation[];
|
|
14
|
+
defaultArticleGroup: string;
|
|
15
|
+
concepts: string[];
|
|
16
|
+
conceptTranslations: ExternalSourceTranslation[];
|
|
17
|
+
defaultConcept: number;
|
|
18
|
+
vatCodeTranslations: ExternalSourceTranslation[];
|
|
19
|
+
useWebviewUI: boolean;
|
|
20
|
+
webviewUrl: string;
|
|
21
|
+
useCatalogPage: boolean;
|
|
22
|
+
updateArticles: boolean;
|
|
23
|
+
imageData: string;
|
|
24
|
+
get hasExternalSource(): boolean;
|
|
25
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
8
|
+
import { ComplexField } from "@colijnit/ioneconnector/build/factory/decorators/complex-field.decorator";
|
|
9
|
+
import { ComplexArray } from "@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator";
|
|
10
|
+
import { BooleanText } from "@colijnit/ioneconnector/build/factory/decorators/boolean.decorator";
|
|
11
|
+
import { ExternalSourceTranslation } from "./external-source-translation.bo";
|
|
12
|
+
import { NoDbField } from '@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator';
|
|
13
|
+
import { notNill } from '@colijnit/ioneconnector/build/utils/function/not-nill.function';
|
|
14
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
15
|
+
export class CatalogDefinition extends BusinessObject {
|
|
16
|
+
constructor() {
|
|
17
|
+
super(...arguments);
|
|
18
|
+
this.turnoverGroups = [];
|
|
19
|
+
this.turnoverGroupTranslations = [];
|
|
20
|
+
this.articleGroups = [];
|
|
21
|
+
this.articleGroupTranslations = [];
|
|
22
|
+
this.concepts = [];
|
|
23
|
+
this.conceptTranslations = [];
|
|
24
|
+
this.vatCodeTranslations = [];
|
|
25
|
+
}
|
|
26
|
+
get hasExternalSource() {
|
|
27
|
+
return notNill(this.externalSourceId);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
__decorate([
|
|
31
|
+
ComplexField(CoDocument)
|
|
32
|
+
], CatalogDefinition.prototype, "image", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
ComplexArray(ExternalSourceTranslation)
|
|
35
|
+
], CatalogDefinition.prototype, "turnoverGroupTranslations", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
ComplexArray(ExternalSourceTranslation)
|
|
38
|
+
], CatalogDefinition.prototype, "articleGroupTranslations", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
ComplexArray(ExternalSourceTranslation)
|
|
41
|
+
], CatalogDefinition.prototype, "conceptTranslations", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
ComplexArray(ExternalSourceTranslation)
|
|
44
|
+
], CatalogDefinition.prototype, "vatCodeTranslations", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
BooleanText()
|
|
47
|
+
], CatalogDefinition.prototype, "useWebviewUI", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
BooleanText()
|
|
50
|
+
], CatalogDefinition.prototype, "useCatalogPage", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
BooleanText()
|
|
53
|
+
], CatalogDefinition.prototype, "updateArticles", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
NoDbField()
|
|
56
|
+
], CatalogDefinition.prototype, "imageData", void 0);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
2
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
3
|
+
export declare class Characteristic extends BusinessObject {
|
|
4
|
+
characteristicCode: string;
|
|
5
|
+
characteristicValue: string;
|
|
6
|
+
characteristicQuestionTrue: boolean;
|
|
7
|
+
characteristicQuestion: string;
|
|
8
|
+
characteristicType: string;
|
|
9
|
+
characteristicValidationType: boolean;
|
|
10
|
+
characteristicLabelText: string;
|
|
11
|
+
characteristicCgRefId: number;
|
|
12
|
+
characteristicCashText: boolean;
|
|
13
|
+
images: CoDocument[];
|
|
14
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { ComplexArray } from '@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator';
|
|
8
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
9
|
+
import { CoDocument } from '@colijnit/mainapi/build/model/co-document';
|
|
10
|
+
export class Characteristic extends BusinessObject {
|
|
11
|
+
constructor() {
|
|
12
|
+
super(...arguments);
|
|
13
|
+
this.images = [];
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
ComplexArray(CoDocument)
|
|
18
|
+
], Characteristic.prototype, "images", void 0);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
import { TableName } from "../enum/table-name.enum";
|
|
3
|
+
import { CoDocumentType } from "../enum/refcode/co-document-type.enum";
|
|
4
|
+
import { FileType } from "@colijnit/mainapi/build/enum/file-type.enum";
|
|
5
|
+
import { CoDocumentImageDisplayKind } from "../enum/co-document-image-display-kind.enum";
|
|
6
|
+
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
7
|
+
import { ObjectRightType } from "../enum/refcode/object-right-type.enum";
|
|
8
|
+
import { CoDocumentRight } from "@colijnit/mainapi/build/model/co-document-right";
|
|
9
|
+
import { ArticleSeoValue } from "./article-seo-value";
|
|
10
|
+
import { FileTypeInternal } from "@colijnit/mainapi/build/enum/file-type-internal.enum";
|
|
11
|
+
import { Subject } from "rxjs";
|
|
12
|
+
export declare class CoDocument extends BusinessObject {
|
|
13
|
+
set documentId(value: number);
|
|
14
|
+
get documentId(): number;
|
|
15
|
+
creationDate: Date;
|
|
16
|
+
modifiedDate: Date;
|
|
17
|
+
creationUser: string;
|
|
18
|
+
modifiedUser: string;
|
|
19
|
+
description: string;
|
|
20
|
+
thumbnailBody: string;
|
|
21
|
+
table: TableName;
|
|
22
|
+
key: string;
|
|
23
|
+
filePath: string;
|
|
24
|
+
documentType: CoDocumentType;
|
|
25
|
+
mimeType: string;
|
|
26
|
+
publication: number;
|
|
27
|
+
fileSize: string;
|
|
28
|
+
fileType: FileType;
|
|
29
|
+
isLoaded: boolean;
|
|
30
|
+
index: number;
|
|
31
|
+
imageDimensions: string;
|
|
32
|
+
title: string;
|
|
33
|
+
downloadable: boolean;
|
|
34
|
+
attachToNotification: boolean;
|
|
35
|
+
pathIsUrl: boolean;
|
|
36
|
+
imageType: string;
|
|
37
|
+
imageDisplayKind: CoDocumentImageDisplayKind;
|
|
38
|
+
tags: TagTreeItem[];
|
|
39
|
+
rightLevel: ObjectRightType;
|
|
40
|
+
rights: CoDocumentRight[];
|
|
41
|
+
set documentBody(documentBody: string);
|
|
42
|
+
get documentBody(): string;
|
|
43
|
+
seoTitles: ArticleSeoValue[];
|
|
44
|
+
fileName: string;
|
|
45
|
+
retailFormulas: string[];
|
|
46
|
+
idForLink: number;
|
|
47
|
+
convertToUSDZ: boolean;
|
|
48
|
+
get fileTypeInternal(): FileTypeInternal;
|
|
49
|
+
get mimeTypeInternal(): string;
|
|
50
|
+
set mimeTypeInternal(value: string);
|
|
51
|
+
get bodyAsDataUri(): string;
|
|
52
|
+
get documentBodyAsDataUri(): string;
|
|
53
|
+
get thumbnailBodyAsDataUri(): string;
|
|
54
|
+
get isAvatar(): boolean;
|
|
55
|
+
private _documentBody;
|
|
56
|
+
private _documentId;
|
|
57
|
+
readonly documentBodyChange: Subject<string>;
|
|
58
|
+
private _fileTypeInternal;
|
|
59
|
+
private _mimeTypeInternal;
|
|
60
|
+
private _idObject;
|
|
61
|
+
private readonly _documentType;
|
|
62
|
+
get readonly(): boolean;
|
|
63
|
+
set readonly(value: boolean);
|
|
64
|
+
constructor();
|
|
65
|
+
getId(): any;
|
|
66
|
+
isImageDocument(): boolean;
|
|
67
|
+
getDocumentImageDimensions(): string;
|
|
68
|
+
getDocumentFileSizeAsString(): string;
|
|
69
|
+
getImageDisplayKind(): CoDocumentImageDisplayKind;
|
|
70
|
+
preventOverridingThumbnailToEmpty(): void;
|
|
71
|
+
private _initMimetypeInternal;
|
|
72
|
+
isStoredAsLink(): boolean;
|
|
73
|
+
}
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { BusinessObjectData } from "@colijnit/ioneconnector/build/factory/decorators/business-object-data.decorator";
|
|
8
|
+
import { DataMapping } from "../enum/data-mapping.enum";
|
|
9
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
10
|
+
import { DateField } from "@colijnit/ioneconnector/build/factory/decorators/date-field.decorator";
|
|
11
|
+
import { CoDocumentType } from "../enum/refcode/co-document-type.enum";
|
|
12
|
+
import { FileType } from "@colijnit/mainapi/build/enum/file-type.enum";
|
|
13
|
+
import { BooleanText } from "@colijnit/ioneconnector/build/factory/decorators/boolean.decorator";
|
|
14
|
+
import { DefaultSendValue } from "@colijnit/ioneconnector/build/factory/decorators/default-send-value.decorator";
|
|
15
|
+
import { CoDocumentImageDisplayKind } from "../enum/co-document-image-display-kind.enum";
|
|
16
|
+
import { ComplexArray } from "@colijnit/ioneconnector/build/factory/decorators/complex-array.decorator";
|
|
17
|
+
import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
|
|
18
|
+
import { ObjectRightType } from "../enum/refcode/object-right-type.enum";
|
|
19
|
+
import { CoDocumentRight } from "@colijnit/mainapi/build/model/co-document-right";
|
|
20
|
+
import { NoDbField } from "@colijnit/ioneconnector/build/factory/decorators/no-db-field.decorator";
|
|
21
|
+
import { ArticleSeoValue } from "./article-seo-value";
|
|
22
|
+
import { FileTypeInternal } from "@colijnit/mainapi/build/enum/file-type-internal.enum";
|
|
23
|
+
import { FileUtils } from "@colijnit/mainapi/build/utils/file-utils";
|
|
24
|
+
import { DbFieldAlias } from "@colijnit/ioneconnector/build/factory/decorators/db-field-alias.decorator";
|
|
25
|
+
import { ComplexField } from "@colijnit/ioneconnector/build/factory/decorators/complex-field.decorator";
|
|
26
|
+
import { Subject } from "rxjs";
|
|
27
|
+
import { StringUtils } from "@colijnit/ioneconnector/build/utils/string-utils";
|
|
28
|
+
import { BoSerializerStep } from "@colijnit/ioneconnector/build/factory/decorators/bo-serializer-step.decorator";
|
|
29
|
+
import { FilterType } from "@colijnit/ioneconnector/build/enum/filter-type.enum";
|
|
30
|
+
import { SearchPropertyState } from "@colijnit/ioneconnector/build/enum/search-property-state.enum";
|
|
31
|
+
import { SortType } from "@colijnit/ioneconnector/build/enum/sort-type.enum";
|
|
32
|
+
import { SortDirection } from "@colijnit/ioneconnector/build/enum/sort-direction";
|
|
33
|
+
import { RefCodeClassToDomainNameMap } from "../enum/ref-code-class-to-domain-name-map";
|
|
34
|
+
let CoDocument = class CoDocument extends BusinessObject {
|
|
35
|
+
constructor() {
|
|
36
|
+
super();
|
|
37
|
+
this.pathIsUrl = false;
|
|
38
|
+
this.tags = [];
|
|
39
|
+
this.rights = [];
|
|
40
|
+
this.seoTitles = [];
|
|
41
|
+
this.retailFormulas = [];
|
|
42
|
+
this.documentBodyChange = new Subject();
|
|
43
|
+
this._idObject = {};
|
|
44
|
+
this._documentType = CoDocumentType;
|
|
45
|
+
}
|
|
46
|
+
set documentId(value) {
|
|
47
|
+
this._documentId = value;
|
|
48
|
+
this._idObject.docId = value;
|
|
49
|
+
}
|
|
50
|
+
get documentId() {
|
|
51
|
+
return this._documentId;
|
|
52
|
+
}
|
|
53
|
+
set documentBody(documentBody) {
|
|
54
|
+
const prev = this._documentBody;
|
|
55
|
+
this._documentBody = documentBody;
|
|
56
|
+
if (prev !== this._documentBody) {
|
|
57
|
+
this.documentBodyChange.next(this._documentBody);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
get documentBody() {
|
|
61
|
+
if ((this.documentType !== this._documentType.SaveAsDocument)
|
|
62
|
+
&& (this.documentType !== this._documentType.SaveAsLinkOnCdnServerLocation)) {
|
|
63
|
+
return this.filePath;
|
|
64
|
+
}
|
|
65
|
+
return this._documentBody;
|
|
66
|
+
}
|
|
67
|
+
get fileTypeInternal() {
|
|
68
|
+
if (!this._fileTypeInternal) {
|
|
69
|
+
const fileType = FileUtils.FileNameToFileTypeInternal(this.fileName);
|
|
70
|
+
if (fileType) {
|
|
71
|
+
this._fileTypeInternal = fileType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return this._fileTypeInternal;
|
|
75
|
+
}
|
|
76
|
+
get mimeTypeInternal() {
|
|
77
|
+
if (this._mimeTypeInternal) {
|
|
78
|
+
return this._mimeTypeInternal;
|
|
79
|
+
}
|
|
80
|
+
else {
|
|
81
|
+
this._initMimetypeInternal();
|
|
82
|
+
return this._mimeTypeInternal;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
set mimeTypeInternal(value) {
|
|
86
|
+
this._mimeTypeInternal = value;
|
|
87
|
+
}
|
|
88
|
+
get bodyAsDataUri() {
|
|
89
|
+
if (this.documentBody) {
|
|
90
|
+
return this.documentBodyAsDataUri;
|
|
91
|
+
}
|
|
92
|
+
else if (this.thumbnailBody) {
|
|
93
|
+
return this.thumbnailBodyAsDataUri;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
get documentBodyAsDataUri() {
|
|
97
|
+
try {
|
|
98
|
+
if (this.isStoredAsLink()) {
|
|
99
|
+
return this.filePath;
|
|
100
|
+
}
|
|
101
|
+
else {
|
|
102
|
+
return FileUtils.DocumentBodyToDataUri(this.documentBody, this.mimeTypeInternal);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
catch (error) {
|
|
106
|
+
return "";
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
get thumbnailBodyAsDataUri() {
|
|
110
|
+
try {
|
|
111
|
+
if (this.isStoredAsLink()) {
|
|
112
|
+
return this.filePath;
|
|
113
|
+
}
|
|
114
|
+
return FileUtils.DocumentBodyToDataUri(this.thumbnailBody, this.mimeTypeInternal);
|
|
115
|
+
}
|
|
116
|
+
catch (error) {
|
|
117
|
+
return "";
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
get isAvatar() {
|
|
121
|
+
return this.imageDisplayKind === CoDocumentImageDisplayKind.Avatar;
|
|
122
|
+
}
|
|
123
|
+
get readonly() {
|
|
124
|
+
return this.rightLevel === ObjectRightType.ReadOnly;
|
|
125
|
+
}
|
|
126
|
+
set readonly(value) {
|
|
127
|
+
if (value) {
|
|
128
|
+
this.rightLevel = ObjectRightType.ReadOnly;
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
this.rightLevel = ObjectRightType.ReadWrite;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
getId() {
|
|
135
|
+
return this.documentId;
|
|
136
|
+
}
|
|
137
|
+
isImageDocument() {
|
|
138
|
+
return (this.fileTypeInternal === FileTypeInternal.Image);
|
|
139
|
+
}
|
|
140
|
+
getDocumentImageDimensions() {
|
|
141
|
+
if (this.isImageDocument() && this.imageDimensions === undefined) {
|
|
142
|
+
const image = new Image();
|
|
143
|
+
image.src = this.documentBodyAsDataUri;
|
|
144
|
+
return StringUtils.Format("{0}x{1}", [image.width, image.height]);
|
|
145
|
+
}
|
|
146
|
+
return this.imageDimensions;
|
|
147
|
+
}
|
|
148
|
+
getDocumentFileSizeAsString() {
|
|
149
|
+
if (this.fileSize === undefined) {
|
|
150
|
+
return this.documentBody.length === 0 ? " kB" :
|
|
151
|
+
this.documentBody.length < 1024 ? this.documentBody.length + "B" :
|
|
152
|
+
(this.documentBody.length / 1024).toFixed(0).toString() + " kB";
|
|
153
|
+
}
|
|
154
|
+
return this.fileSize;
|
|
155
|
+
}
|
|
156
|
+
getImageDisplayKind() {
|
|
157
|
+
if (this.imageDisplayKind === undefined) {
|
|
158
|
+
this.imageDisplayKind = CoDocumentImageDisplayKind.NormalImage;
|
|
159
|
+
}
|
|
160
|
+
return this.imageDisplayKind;
|
|
161
|
+
}
|
|
162
|
+
preventOverridingThumbnailToEmpty() {
|
|
163
|
+
if (!this.thumbnailBody) {
|
|
164
|
+
this.thumbnailBody = this._documentBody;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
_initMimetypeInternal() {
|
|
168
|
+
if ((this.fileType === FileType.Image || !this.fileType || this.isImageDocument()) && this.fileName) {
|
|
169
|
+
const fileExtension = this.fileName.substr(this.fileName.lastIndexOf(".") + 1);
|
|
170
|
+
this._mimeTypeInternal = "image/" + fileExtension;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
isStoredAsLink() {
|
|
174
|
+
return this.documentType == CoDocumentType.SaveAsLinkOnRandomLocation || this.documentType == CoDocumentType.SaveAsLinkOnDefaultLocation;
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
__decorate([
|
|
178
|
+
DateField()
|
|
179
|
+
], CoDocument.prototype, "creationDate", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
DateField()
|
|
182
|
+
], CoDocument.prototype, "modifiedDate", void 0);
|
|
183
|
+
__decorate([
|
|
184
|
+
BooleanText("T")
|
|
185
|
+
], CoDocument.prototype, "downloadable", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
BooleanText("T")
|
|
188
|
+
], CoDocument.prototype, "attachToNotification", void 0);
|
|
189
|
+
__decorate([
|
|
190
|
+
BooleanText("T"),
|
|
191
|
+
DefaultSendValue("F")
|
|
192
|
+
], CoDocument.prototype, "pathIsUrl", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
ComplexArray(TagTreeItem)
|
|
195
|
+
], CoDocument.prototype, "tags", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
ComplexArray(CoDocumentRight)
|
|
198
|
+
], CoDocument.prototype, "rights", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
DefaultSendValue([]),
|
|
201
|
+
ComplexArray(ArticleSeoValue)
|
|
202
|
+
], CoDocument.prototype, "seoTitles", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
NoDbField()
|
|
205
|
+
], CoDocument.prototype, "idForLink", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
NoDbField()
|
|
208
|
+
], CoDocument.prototype, "convertToUSDZ", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
DbFieldAlias("documentBody")
|
|
211
|
+
], CoDocument.prototype, "_documentBody", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
DbFieldAlias("documentId")
|
|
214
|
+
], CoDocument.prototype, "_documentId", void 0);
|
|
215
|
+
__decorate([
|
|
216
|
+
NoDbField(),
|
|
217
|
+
ComplexField(Subject)
|
|
218
|
+
], CoDocument.prototype, "documentBodyChange", void 0);
|
|
219
|
+
__decorate([
|
|
220
|
+
NoDbField()
|
|
221
|
+
], CoDocument.prototype, "_fileTypeInternal", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
NoDbField()
|
|
224
|
+
], CoDocument.prototype, "_mimeTypeInternal", void 0);
|
|
225
|
+
__decorate([
|
|
226
|
+
NoDbField()
|
|
227
|
+
], CoDocument.prototype, "_idObject", void 0);
|
|
228
|
+
__decorate([
|
|
229
|
+
NoDbField()
|
|
230
|
+
], CoDocument.prototype, "_documentType", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
BoSerializerStep()
|
|
233
|
+
], CoDocument.prototype, "preventOverridingThumbnailToEmpty", null);
|
|
234
|
+
CoDocument = __decorate([
|
|
235
|
+
BusinessObjectData({
|
|
236
|
+
name: "CoDocument",
|
|
237
|
+
mapping: DataMapping.General,
|
|
238
|
+
groupField: "fileType",
|
|
239
|
+
groupDomainName: RefCodeClassToDomainNameMap.get(FileType),
|
|
240
|
+
searchProperties: [
|
|
241
|
+
{ property: "fileName", state: SearchPropertyState.LockedActive, label: "FILE_NAME" }
|
|
242
|
+
],
|
|
243
|
+
filterProperties: [
|
|
244
|
+
{ property: "downloadable", type: FilterType.BooleanSimple, label: "DOWNLOADABLE", active: false, valuePass: true }
|
|
245
|
+
],
|
|
246
|
+
sortProperties: [
|
|
247
|
+
{ property: "fileName", label: "FILE_NAME", active: false, type: SortType.String, direction: SortDirection.Ascending }
|
|
248
|
+
]
|
|
249
|
+
})
|
|
250
|
+
], CoDocument);
|
|
251
|
+
export { CoDocument };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
export declare class Color extends BusinessObject {
|
|
3
|
+
colorCode: string;
|
|
4
|
+
description: string;
|
|
5
|
+
rgbColor: string;
|
|
6
|
+
active: boolean;
|
|
7
|
+
get hexColor(): string;
|
|
8
|
+
constructor(rawData?: any);
|
|
9
|
+
getId(): string;
|
|
10
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
8
|
+
import { MapProperty } from '@colijnit/ioneconnector/build/factory/decorators/map-property.decorator';
|
|
9
|
+
export class Color extends BusinessObject {
|
|
10
|
+
constructor(rawData) {
|
|
11
|
+
super();
|
|
12
|
+
this.colorCode = null;
|
|
13
|
+
this.description = null;
|
|
14
|
+
this.rgbColor = null;
|
|
15
|
+
this.active = false;
|
|
16
|
+
}
|
|
17
|
+
get hexColor() {
|
|
18
|
+
let hex = this.rgbColor ? Number(this.rgbColor).toString(16) : '';
|
|
19
|
+
if (hex.length < 2) {
|
|
20
|
+
hex = "0" + hex;
|
|
21
|
+
}
|
|
22
|
+
return '#' + hex;
|
|
23
|
+
}
|
|
24
|
+
getId() {
|
|
25
|
+
return this.colorCode;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
__decorate([
|
|
29
|
+
MapProperty('KLEUR')
|
|
30
|
+
], Color.prototype, "colorCode", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
MapProperty('OMSCHRIJVING')
|
|
33
|
+
], Color.prototype, "description", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
MapProperty('RGB_WAARDE')
|
|
36
|
+
], Color.prototype, "rgbColor", void 0);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
export declare class Colour extends BusinessObject {
|
|
3
|
+
colorCode: string;
|
|
4
|
+
description: string;
|
|
5
|
+
rgbColor: string;
|
|
6
|
+
jsOnly: boolean;
|
|
7
|
+
get hexColor(): string;
|
|
8
|
+
getId(): string;
|
|
9
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
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;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
8
|
+
import { MapProperty } from '@colijnit/ioneconnector/build/factory/decorators/map-property.decorator';
|
|
9
|
+
export class Colour extends BusinessObject {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.colorCode = null;
|
|
13
|
+
this.description = null;
|
|
14
|
+
this.rgbColor = null;
|
|
15
|
+
this.jsOnly = false;
|
|
16
|
+
}
|
|
17
|
+
get hexColor() {
|
|
18
|
+
let hex = this.rgbColor ? Number(this.rgbColor).toString(16) : '';
|
|
19
|
+
if (hex.length < 2) {
|
|
20
|
+
hex = "0" + hex;
|
|
21
|
+
}
|
|
22
|
+
return '#' + hex;
|
|
23
|
+
}
|
|
24
|
+
getId() {
|
|
25
|
+
return this.colorCode;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
__decorate([
|
|
29
|
+
MapProperty('KLEUR')
|
|
30
|
+
], Colour.prototype, "colorCode", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
MapProperty('OMSCHRIJVING')
|
|
33
|
+
], Colour.prototype, "description", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
MapProperty('RGB_WAARDE')
|
|
36
|
+
], Colour.prototype, "rgbColor", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BusinessObject } from "@colijnit/ioneconnector/build/model/business-object";
|
|
2
|
+
export declare class CompositeGood extends BusinessObject {
|
|
3
|
+
baseGoodId: number;
|
|
4
|
+
versionNumber: number;
|
|
5
|
+
description: string;
|
|
6
|
+
quantity: number;
|
|
7
|
+
price: number;
|
|
8
|
+
memberGoodId: number;
|
|
9
|
+
partSpecificationGoodId: number;
|
|
10
|
+
isRepresentedArticle: boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { DecoNodeKind } from "../enum/deco-node-kind.enum";
|
|
2
|
+
import { DecoNodeType } from "../enum/deco-node-type.enum";
|
|
3
|
+
import { BusinessObject } from '@colijnit/ioneconnector/build/model/business-object';
|
|
4
|
+
export declare class DecoNode extends BusinessObject {
|
|
5
|
+
nodeId: number;
|
|
6
|
+
kind: DecoNodeKind;
|
|
7
|
+
id: string;
|
|
8
|
+
parentId: string;
|
|
9
|
+
assetUrl: string;
|
|
10
|
+
brandId: string;
|
|
11
|
+
connectors: any[];
|
|
12
|
+
gameObjectName: string;
|
|
13
|
+
imageUrl: string;
|
|
14
|
+
repeat: string;
|
|
15
|
+
type: DecoNodeType;
|
|
16
|
+
instanceId: string;
|
|
17
|
+
}
|