@dascompany/product 4.5.23 → 4.5.25

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.
Files changed (77) hide show
  1. package/dist/index.d.ts +35 -35
  2. package/dist/index.js +10 -11
  3. package/dist/types/enums/ChoiceTypeE.d.ts +8 -0
  4. package/dist/types/enums/ChoiceTypeE.js +9 -0
  5. package/dist/types/enums/DeliveryMensE.d.ts +5 -0
  6. package/dist/types/enums/DeliveryMensE.js +6 -0
  7. package/dist/types/enums/DeliveryMethodTypeE.d.ts +5 -0
  8. package/dist/types/enums/DeliveryMethodTypeE.js +6 -0
  9. package/dist/types/enums/DeliveryStatusTypeE.d.ts +7 -0
  10. package/dist/types/enums/DeliveryStatusTypeE.js +8 -0
  11. package/dist/types/enums/FileConnectionTypeE.d.ts +4 -0
  12. package/dist/types/enums/FileConnectionTypeE.js +5 -0
  13. package/dist/types/enums/OrderConfirmationTypeE.d.ts +5 -0
  14. package/dist/types/enums/OrderConfirmationTypeE.js +6 -0
  15. package/dist/types/enums/OrderStatusTypeE.d.ts +8 -0
  16. package/dist/types/enums/OrderStatusTypeE.js +9 -0
  17. package/dist/types/enums/PaymentMethodsE.d.ts +14 -0
  18. package/dist/types/enums/PaymentMethodsE.js +15 -0
  19. package/dist/types/enums/PaymentStatusE.d.ts +6 -0
  20. package/dist/types/enums/PaymentStatusE.js +7 -0
  21. package/dist/types/interfaces/AddressI.d.ts +9 -0
  22. package/dist/types/interfaces/AddressI.js +1 -0
  23. package/dist/types/interfaces/AdminI.d.ts +9 -0
  24. package/dist/types/interfaces/AdminI.js +1 -0
  25. package/dist/types/interfaces/ClaimI.d.ts +4 -0
  26. package/dist/types/interfaces/ClaimI.js +1 -0
  27. package/dist/types/interfaces/ClientAccountI.d.ts +10 -0
  28. package/dist/types/interfaces/ClientAccountI.js +1 -0
  29. package/dist/types/interfaces/CompanyDataI.d.ts +14 -0
  30. package/dist/types/interfaces/CompanyDataI.js +1 -0
  31. package/dist/types/interfaces/CompanyDetailsI.d.ts +7 -0
  32. package/dist/types/interfaces/CompanyDetailsI.js +1 -0
  33. package/dist/types/interfaces/DeliveryDetailsI.d.ts +11 -0
  34. package/dist/types/interfaces/DeliveryDetailsI.js +1 -0
  35. package/dist/types/interfaces/DeliveryMenI.d.ts +5 -0
  36. package/dist/types/interfaces/DeliveryMenI.js +1 -0
  37. package/dist/types/interfaces/DeliveryMethodI.d.ts +5 -0
  38. package/dist/types/interfaces/DeliveryMethodI.js +1 -0
  39. package/dist/types/interfaces/FileConnectionI.d.ts +8 -0
  40. package/dist/types/interfaces/FileConnectionI.js +1 -0
  41. package/dist/types/interfaces/FileI.d.ts +8 -0
  42. package/dist/types/interfaces/FileI.js +1 -0
  43. package/dist/types/interfaces/MarketPlaceI.d.ts +5 -0
  44. package/dist/types/interfaces/MarketPlaceI.js +1 -0
  45. package/dist/types/interfaces/OrderHashI.d.ts +5 -0
  46. package/dist/types/interfaces/OrderHashI.js +1 -0
  47. package/dist/types/interfaces/OrderI.d.ts +15 -0
  48. package/dist/types/interfaces/OrderI.js +1 -0
  49. package/dist/types/interfaces/OrderProductI.d.ts +12 -0
  50. package/dist/types/interfaces/OrderProductI.js +1 -0
  51. package/dist/types/interfaces/PaymentDetailsI.d.ts +7 -0
  52. package/dist/types/interfaces/PaymentDetailsI.js +1 -0
  53. package/dist/types/interfaces/PaymentMethodI.d.ts +5 -0
  54. package/dist/types/interfaces/PaymentMethodI.js +1 -0
  55. package/dist/types/interfaces/PersonalDataI.d.ts +7 -0
  56. package/dist/types/interfaces/PersonalDataI.js +1 -0
  57. package/dist/types/interfaces/PriceI.d.ts +4 -0
  58. package/dist/types/interfaces/PriceI.js +1 -0
  59. package/dist/types/interfaces/StatusI.d.ts +7 -0
  60. package/dist/types/interfaces/StatusI.js +1 -0
  61. package/dist/types/interfaces/product/DiscountI.d.ts +22 -0
  62. package/dist/types/interfaces/product/DiscountI.js +1 -0
  63. package/dist/types/interfaces/product/ProductI.d.ts +25 -0
  64. package/dist/types/interfaces/product/ProductI.js +1 -0
  65. package/dist/types/interfaces/product/PromotionI.d.ts +23 -0
  66. package/dist/types/interfaces/product/PromotionI.js +1 -0
  67. package/dist/types/rows/product/PromotionAudienceRolesTypeRow.d.ts +4 -0
  68. package/dist/types/rows/product/PromotionAudienceRolesTypeRow.js +1 -0
  69. package/dist/types/rows/product/PromotionAudienceUsersTypeRow.d.ts +4 -0
  70. package/dist/types/rows/product/PromotionAudienceUsersTypeRow.js +1 -0
  71. package/dist/types/rows/product/PromotionCodesRow.d.ts +7 -0
  72. package/dist/types/rows/product/PromotionCodesRow.js +1 -0
  73. package/dist/types/rows/product/PromotionDiscountRow.d.ts +6 -0
  74. package/dist/types/rows/product/PromotionDiscountRow.js +1 -0
  75. package/dist/types/rows/product/PromotionListProductsRow.d.ts +4 -0
  76. package/dist/types/rows/product/PromotionListProductsRow.js +1 -0
  77. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -1,25 +1,25 @@
1
- import AddressI from "./types/AddressI";
2
- import PersonalDataI from "./types/PersonalDataI";
3
- import CompanyDetailsI from "./types/CompanyDetailsI";
4
- import DeliveryDetailsI from "./types/DeliveryDetailsI";
5
- import DeliveryMethodI from "./types/DeliveryMethodI";
6
- import DeliveryMenI from "./types/DeliveryMenI";
7
- import DeliveryMethodTypeE from "./types/DeliveryMethodTypeE";
8
- import DeliveryMensE from "./types/DeliveryMensE";
9
- import DeliveryStatusTypeE from "./types/DeliveryStatusTypeE";
10
- import PaymentDetailsI from "./types/PaymentDetailsI";
11
- import PaymentMethodsE from "./types/PaymentMethodsE";
12
- import PaymentMethodI from "./types/PaymentMethodI";
13
- import PaymentStatusE from './types/PaymentStatusE';
14
- import OrderProductI from './types/OrderProductI';
15
- import StatusI from "./types/StatusI";
16
- import OrderStatusTypeE from "./types/OrderStatusTypeE";
17
- import ProductI from './types/ProductI';
18
- import FileI from "./types/FileI";
19
- import FileConnectionTypeE from './types/FileConnectionTypeE';
20
- import CompanyDataI from "./types/CompanyDataI";
21
- import PriceI from "./types/PriceI";
22
- import MarketPlaceI from "./types/MarketPlaceI";
1
+ import AddressI from "./types/interfaces/AddressI";
2
+ import PersonalDataI from "./types/interfaces/PersonalDataI";
3
+ import CompanyDetailsI from "./types/interfaces/CompanyDetailsI";
4
+ import DeliveryDetailsI from "./types/interfaces/DeliveryDetailsI";
5
+ import DeliveryMethodI from "./types/interfaces/DeliveryMethodI";
6
+ import DeliveryMenI from "./types/interfaces/DeliveryMenI";
7
+ import DeliveryMethodTypeE from "./types/enums/DeliveryMethodTypeE";
8
+ import DeliveryMensE from "./types/enums/DeliveryMensE";
9
+ import DeliveryStatusTypeE from "./types/enums/DeliveryStatusTypeE";
10
+ import PaymentDetailsI from "./types/interfaces/PaymentDetailsI";
11
+ import PaymentMethodsE from "./types/enums/PaymentMethodsE";
12
+ import PaymentMethodI from "./types/interfaces/PaymentMethodI";
13
+ import PaymentStatusE from './types/enums/PaymentStatusE';
14
+ import OrderProductI from './types/interfaces/OrderProductI';
15
+ import StatusI from "./types/interfaces/StatusI";
16
+ import OrderStatusTypeE from "./types/enums/OrderStatusTypeE";
17
+ import ProductI from './types/interfaces/product/ProductI';
18
+ import FileI from "./types/interfaces/FileI";
19
+ import FileConnectionTypeE from './types/enums/FileConnectionTypeE';
20
+ import CompanyDataI from "./types/interfaces/CompanyDataI";
21
+ import PriceI from "./types/interfaces/PriceI";
22
+ import MarketPlaceI from "./types/interfaces/MarketPlaceI";
23
23
  import AccountCartRow from "./types/rows/AccountCartRow";
24
24
  import AccountCompanyDetailsRow from "./types/rows/AccountCompanyDetailsRow";
25
25
  import AccountDeliveryDetailsRow from "./types/rows/AccountDeliveryDetailsRow";
@@ -42,21 +42,21 @@ import PaymentMethodRow from "./types/rows/PaymentMethodRow";
42
42
  import PaymentStatusRow from "./types/rows/PaymentStatusRow";
43
43
  import PersonalDataRow from "./types/rows/PersonalDataRow";
44
44
  import ProductRow from "./types/rows/product/ProductRow";
45
- import PromotionAudienceRolesType from "./types/rows/product/PromotionAudienceRolesType";
46
- import PromotionAudienceUsersType from "./types/rows/product/PromotionAudienceUsersType";
47
- import PromotionCodes from "./types/rows/product/PromotionCodes";
48
- import PromotionDiscount from "./types/rows/product/PromotionDiscount";
49
- import PromotionListProducts from "./types/rows/product/PromotionListProducts";
45
+ import PromotionAudienceRolesType from "./types/rows/product/PromotionAudienceRolesTypeRow";
46
+ import PromotionAudienceUsersType from "./types/rows/product/PromotionAudienceUsersTypeRow";
47
+ import PromotionCodes from "./types/rows/product/PromotionCodesRow";
48
+ import PromotionDiscount from "./types/rows/product/PromotionDiscountRow";
49
+ import PromotionListProducts from "./types/rows/product/PromotionListProductsRow";
50
50
  import PromotionRow from "./types/rows/product/PromotionRow";
51
51
  import StatusRow from "./types/rows/StatusRow";
52
52
  import OrderHashRow from './types/rows/OrderHashRow';
53
53
  import OrderPaymentDetailsRow from './types/rows/OrderPaymentDetailsRow';
54
- import AdminI from "./types/AdminI";
55
- import OrderI from "./types/OrderI";
56
- import OrderHashI from './types/OrderConfirmationTypeE';
57
- import ClaimI from "./types/ClaimI";
58
- import ClientAccountI from "./types/ClientAccountI";
59
- import FileConnectionI from "./types/FileConnectionI";
60
- import ChoiceTypeE from './types/ChoiceTypeE';
61
- import OrderConfirmationTypeE from './types/OrderConfirmationTypeE';
54
+ import AdminI from "./types/interfaces/AdminI";
55
+ import OrderI from "./types/interfaces/OrderI";
56
+ import OrderHashI from './types/interfaces/OrderHashI';
57
+ import ClaimI from "./types/interfaces/ClaimI";
58
+ import ClientAccountI from "./types/interfaces/ClientAccountI";
59
+ import FileConnectionI from "./types/interfaces/FileConnectionI";
60
+ import ChoiceTypeE from './types/enums/ChoiceTypeE';
61
+ import OrderConfirmationTypeE from './types/enums/OrderConfirmationTypeE';
62
62
  export { AccountCartRow, AccountCompanyDetailsRow, AccountDeliveryDetailsRow, AddressRow, AdminRow, ClientAccountRow, CompanyDataRow, CompanyDetailsRow, DeliveryDetailsRow, DeliveryDetailsMensRow, DeliveryMethodRow, DeliveryStatusRow, FileConnectionRow, FileRow, MarketPlaceRow, OrderProductRow, OrderRow, PaymentDetailsRow, PaymentMethodRow, PaymentStatusRow, PersonalDataRow, ProductRow, PromotionAudienceRolesType, PromotionAudienceUsersType, PromotionCodes, PromotionDiscount, PromotionListProducts, PromotionRow, StatusRow, OrderHashRow, OrderPaymentDetailsRow, AdminI, AddressI, CompanyDetailsI, DeliveryDetailsI, DeliveryMenI, DeliveryMethodI, DeliveryMethodTypeE, DeliveryMensE, DeliveryStatusTypeE, PaymentDetailsI, PaymentMethodsE, PaymentMethodI, PersonalDataI, PaymentStatusE, OrderI, OrderHashI, OrderProductI, StatusI, OrderStatusTypeE, ProductI, FileI, FileConnectionTypeE, CompanyDataI, PriceI, MarketPlaceI, ClaimI, ClientAccountI, FileConnectionI, ChoiceTypeE, OrderConfirmationTypeE };
package/dist/index.js CHANGED
@@ -1,11 +1,10 @@
1
- import DeliveryMethodTypeE from "./types/DeliveryMethodTypeE";
2
- import DeliveryMensE from "./types/DeliveryMensE";
3
- import DeliveryStatusTypeE from "./types/DeliveryStatusTypeE";
4
- import PaymentMethodsE from "./types/PaymentMethodsE";
5
- import PaymentStatusE from './types/PaymentStatusE';
6
- import OrderStatusTypeE from "./types/OrderStatusTypeE";
7
- import FileConnectionTypeE from './types/FileConnectionTypeE';
8
- import OrderHashI from './types/OrderConfirmationTypeE';
9
- import ChoiceTypeE from './types/ChoiceTypeE';
10
- import OrderConfirmationTypeE from './types/OrderConfirmationTypeE';
11
- export { DeliveryMethodTypeE, DeliveryMensE, DeliveryStatusTypeE, PaymentMethodsE, PaymentStatusE, OrderHashI, OrderStatusTypeE, FileConnectionTypeE, ChoiceTypeE, OrderConfirmationTypeE };
1
+ import DeliveryMethodTypeE from "./types/enums/DeliveryMethodTypeE";
2
+ import DeliveryMensE from "./types/enums/DeliveryMensE";
3
+ import DeliveryStatusTypeE from "./types/enums/DeliveryStatusTypeE";
4
+ import PaymentMethodsE from "./types/enums/PaymentMethodsE";
5
+ import PaymentStatusE from './types/enums/PaymentStatusE';
6
+ import OrderStatusTypeE from "./types/enums/OrderStatusTypeE";
7
+ import FileConnectionTypeE from './types/enums/FileConnectionTypeE';
8
+ import ChoiceTypeE from './types/enums/ChoiceTypeE';
9
+ import OrderConfirmationTypeE from './types/enums/OrderConfirmationTypeE';
10
+ export { DeliveryMethodTypeE, DeliveryMensE, DeliveryStatusTypeE, PaymentMethodsE, PaymentStatusE, OrderStatusTypeE, FileConnectionTypeE, ChoiceTypeE, OrderConfirmationTypeE };
@@ -0,0 +1,8 @@
1
+ declare enum ChoiceTypeE {
2
+ TentCoverColor = "tentCoverColor",
3
+ TentCoverType = "tentCoverType",
4
+ TentCoverWindowsType = "tentCoverWindowsType",
5
+ Type = "type",
6
+ Color = "color"
7
+ }
8
+ export default ChoiceTypeE;
@@ -0,0 +1,9 @@
1
+ var ChoiceTypeE;
2
+ (function (ChoiceTypeE) {
3
+ ChoiceTypeE["TentCoverColor"] = "tentCoverColor";
4
+ ChoiceTypeE["TentCoverType"] = "tentCoverType";
5
+ ChoiceTypeE["TentCoverWindowsType"] = "tentCoverWindowsType";
6
+ ChoiceTypeE["Type"] = "type";
7
+ ChoiceTypeE["Color"] = "color";
8
+ })(ChoiceTypeE || (ChoiceTypeE = {}));
9
+ export default ChoiceTypeE;
@@ -0,0 +1,5 @@
1
+ declare enum DeliveryMensE {
2
+ raben = "1",
3
+ ups = "2"
4
+ }
5
+ export default DeliveryMensE;
@@ -0,0 +1,6 @@
1
+ var DeliveryMensE;
2
+ (function (DeliveryMensE) {
3
+ DeliveryMensE["raben"] = "1";
4
+ DeliveryMensE["ups"] = "2";
5
+ })(DeliveryMensE || (DeliveryMensE = {}));
6
+ export default DeliveryMensE;
@@ -0,0 +1,5 @@
1
+ declare enum DeliveryMethodTypeE {
2
+ deliveryMan = "1",
3
+ personalCollection = "2"
4
+ }
5
+ export default DeliveryMethodTypeE;
@@ -0,0 +1,6 @@
1
+ var DeliveryMethodTypeE;
2
+ (function (DeliveryMethodTypeE) {
3
+ DeliveryMethodTypeE["deliveryMan"] = "1";
4
+ DeliveryMethodTypeE["personalCollection"] = "2";
5
+ })(DeliveryMethodTypeE || (DeliveryMethodTypeE = {}));
6
+ export default DeliveryMethodTypeE;
@@ -0,0 +1,7 @@
1
+ declare enum DeliveryStatusTypeE {
2
+ accepted = 1,
3
+ implemented = 2,
4
+ shipped = 3,
5
+ delivered = 4
6
+ }
7
+ export default DeliveryStatusTypeE;
@@ -0,0 +1,8 @@
1
+ var DeliveryStatusTypeE;
2
+ (function (DeliveryStatusTypeE) {
3
+ DeliveryStatusTypeE[DeliveryStatusTypeE["accepted"] = 1] = "accepted";
4
+ DeliveryStatusTypeE[DeliveryStatusTypeE["implemented"] = 2] = "implemented";
5
+ DeliveryStatusTypeE[DeliveryStatusTypeE["shipped"] = 3] = "shipped";
6
+ DeliveryStatusTypeE[DeliveryStatusTypeE["delivered"] = 4] = "delivered";
7
+ })(DeliveryStatusTypeE || (DeliveryStatusTypeE = {}));
8
+ export default DeliveryStatusTypeE;
@@ -0,0 +1,4 @@
1
+ declare enum FileConnectionTypeE {
2
+ product = "product"
3
+ }
4
+ export default FileConnectionTypeE;
@@ -0,0 +1,5 @@
1
+ var FileConnectionTypeE;
2
+ (function (FileConnectionTypeE) {
3
+ FileConnectionTypeE["product"] = "product";
4
+ })(FileConnectionTypeE || (FileConnectionTypeE = {}));
5
+ export default FileConnectionTypeE;
@@ -0,0 +1,5 @@
1
+ declare enum OrderConfirmationTypeE {
2
+ orderConfirmation = "order-confirmation",
3
+ orderConfirmationSubmission = "order-confirmation-submision"
4
+ }
5
+ export default OrderConfirmationTypeE;
@@ -0,0 +1,6 @@
1
+ var OrderConfirmationTypeE;
2
+ (function (OrderConfirmationTypeE) {
3
+ OrderConfirmationTypeE["orderConfirmation"] = "order-confirmation";
4
+ OrderConfirmationTypeE["orderConfirmationSubmission"] = "order-confirmation-submision";
5
+ })(OrderConfirmationTypeE || (OrderConfirmationTypeE = {}));
6
+ export default OrderConfirmationTypeE;
@@ -0,0 +1,8 @@
1
+ declare enum OrderStatusTypeE {
2
+ new = 1,
3
+ implemented = 2,
4
+ sent = 3,
5
+ delivered = 4,
6
+ canceled = 5
7
+ }
8
+ export default OrderStatusTypeE;
@@ -0,0 +1,9 @@
1
+ var OrderStatusTypeE;
2
+ (function (OrderStatusTypeE) {
3
+ OrderStatusTypeE[OrderStatusTypeE["new"] = 1] = "new";
4
+ OrderStatusTypeE[OrderStatusTypeE["implemented"] = 2] = "implemented";
5
+ OrderStatusTypeE[OrderStatusTypeE["sent"] = 3] = "sent";
6
+ OrderStatusTypeE[OrderStatusTypeE["delivered"] = 4] = "delivered";
7
+ OrderStatusTypeE[OrderStatusTypeE["canceled"] = 5] = "canceled";
8
+ })(OrderStatusTypeE || (OrderStatusTypeE = {}));
9
+ export default OrderStatusTypeE;
@@ -0,0 +1,14 @@
1
+ declare enum PaymentMethodsE {
2
+ PayU = "1",
3
+ BankTransfer = "2",
4
+ AtTheCompanyByCash = "3",
5
+ AtTheCompanyByCard = "4",
6
+ CashOnDelivery = "5",
7
+ iRaty = "6",
8
+ iLeasing = "7",
9
+ OnlineTransfer = "8",
10
+ BankTransferProForma = "9",
11
+ Dotpay = "10",
12
+ PayPal = "11"
13
+ }
14
+ export default PaymentMethodsE;
@@ -0,0 +1,15 @@
1
+ var PaymentMethodsE;
2
+ (function (PaymentMethodsE) {
3
+ PaymentMethodsE["PayU"] = "1";
4
+ PaymentMethodsE["BankTransfer"] = "2";
5
+ PaymentMethodsE["AtTheCompanyByCash"] = "3";
6
+ PaymentMethodsE["AtTheCompanyByCard"] = "4";
7
+ PaymentMethodsE["CashOnDelivery"] = "5";
8
+ PaymentMethodsE["iRaty"] = "6";
9
+ PaymentMethodsE["iLeasing"] = "7";
10
+ PaymentMethodsE["OnlineTransfer"] = "8";
11
+ PaymentMethodsE["BankTransferProForma"] = "9";
12
+ PaymentMethodsE["Dotpay"] = "10";
13
+ PaymentMethodsE["PayPal"] = "11";
14
+ })(PaymentMethodsE || (PaymentMethodsE = {}));
15
+ export default PaymentMethodsE;
@@ -0,0 +1,6 @@
1
+ declare enum PaymentStatusE {
2
+ new = 1,
3
+ accepted = 2,
4
+ cancelled = 3
5
+ }
6
+ export default PaymentStatusE;
@@ -0,0 +1,7 @@
1
+ var PaymentStatusE;
2
+ (function (PaymentStatusE) {
3
+ PaymentStatusE[PaymentStatusE["new"] = 1] = "new";
4
+ PaymentStatusE[PaymentStatusE["accepted"] = 2] = "accepted";
5
+ PaymentStatusE[PaymentStatusE["cancelled"] = 3] = "cancelled";
6
+ })(PaymentStatusE || (PaymentStatusE = {}));
7
+ export default PaymentStatusE;
@@ -0,0 +1,9 @@
1
+ export default interface AddressI {
2
+ id: string;
3
+ country: string;
4
+ city: string;
5
+ postalCode: string;
6
+ street: string;
7
+ houseNumber: string;
8
+ apartmentNumber: string;
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ export default interface AdminI {
2
+ id: string;
3
+ email: string;
4
+ firstName: string;
5
+ lastName: string;
6
+ activated: boolean;
7
+ deleted: boolean;
8
+ createdAt: string;
9
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export default interface ClaimI {
2
+ "key": string;
3
+ "value": number;
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,10 @@
1
+ export default interface ClientAccountI {
2
+ id: string;
3
+ email: string;
4
+ createdAt: string;
5
+ activated: boolean;
6
+ deleted: boolean;
7
+ personalDataId: string;
8
+ deliveryDetailsId: string;
9
+ companyDetailsId: string;
10
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,14 @@
1
+ import AddressI from "./AddressI";
2
+ export default interface CompanyDataI {
3
+ id: string;
4
+ name: string;
5
+ email: string;
6
+ phoneNumber: string;
7
+ registartionNumber: string;
8
+ taxNumber: string;
9
+ swiftNumber: string;
10
+ regonNumber: string;
11
+ bankAccountNumber: string;
12
+ bankName: string;
13
+ address: AddressI | null;
14
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import AddressI from "./AddressI";
2
+ export default interface CompanyDetailsI {
3
+ id: string | null;
4
+ name: string;
5
+ taxNumber: string;
6
+ address: AddressI;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,11 @@
1
+ import AddressI from "./AddressI";
2
+ import DeliveryMenI from "./DeliveryMenI";
3
+ import DeliveryMethodI from "./DeliveryMethodI";
4
+ import PersonalDataI from "./PersonalDataI";
5
+ export default interface DeliveryDetailsI {
6
+ id: string;
7
+ personalData: PersonalDataI | null;
8
+ address: AddressI | null;
9
+ deliveryMethod: DeliveryMethodI | null;
10
+ deliveryDetailsMens: DeliveryMenI | null;
11
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export default interface DeliveryMenI {
2
+ deliveryDetailsId: string;
3
+ deliveryMenId: string;
4
+ shipmentNumber: string;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export default interface DeliveryMethodI {
2
+ id: string;
3
+ key: string;
4
+ active: boolean;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ export default interface FileConnectionI {
2
+ fileId: string;
3
+ connectionType: string;
4
+ connectionId: string;
5
+ sequence: number;
6
+ alt: string;
7
+ title: string;
8
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ export default interface FileI {
2
+ id: string;
3
+ name: string;
4
+ catalog: string;
5
+ type: number;
6
+ size: number;
7
+ createdAt: any;
8
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export default interface MarketPlaceI {
2
+ id: string;
3
+ country: string;
4
+ vatRate: number;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export default interface OrderHashI {
2
+ orderId: string;
3
+ orderConfirmationSubmissionHash: string;
4
+ orderConfirmationHash: string;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,15 @@
1
+ import StatusI from "./StatusI";
2
+ import type PriceI from "./PriceI";
3
+ export default interface OrderI {
4
+ id: string;
5
+ email: string;
6
+ price: PriceI;
7
+ createdAt: string;
8
+ clientId: string;
9
+ deliveryDetailsId: string;
10
+ companyDetailsId: string;
11
+ invoice: boolean;
12
+ zsiId: string;
13
+ status: StatusI;
14
+ vat: number;
15
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,12 @@
1
+ import FileI from "./FileI";
2
+ import PriceI from "./PriceI";
3
+ export default interface OrderProductI {
4
+ id: string;
5
+ productId: string;
6
+ sku: string;
7
+ title: string;
8
+ price: PriceI;
9
+ installationPrice: PriceI;
10
+ vat: number;
11
+ thumbnail: FileI;
12
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ import type PaymentMethodI from "./PaymentMethodI";
2
+ export default interface PaymentDetailsI {
3
+ id: string;
4
+ paymentMethod: PaymentMethodI;
5
+ statuses: any[];
6
+ paymentOrderId: any;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,5 @@
1
+ export default interface PaymentMethodI {
2
+ id: string;
3
+ key: string;
4
+ active: boolean;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export default interface PersonalDataI {
2
+ id: string;
3
+ firstName: string;
4
+ lastName: string;
5
+ email: string;
6
+ phoneNumber: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export default interface PriceI {
2
+ netPrice: number;
3
+ grossPrice: number;
4
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,7 @@
1
+ export default interface StatusI {
2
+ id: string;
3
+ orderId: string;
4
+ createdAt: string;
5
+ userId: string;
6
+ type: number;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,22 @@
1
+ import AdminI from "../AdminI";
2
+ export default interface DiscountI {
3
+ id: string;
4
+ name: string;
5
+ informationForUser: string;
6
+ weight: number;
7
+ discount: DiscountI;
8
+ audienceType: {
9
+ id: string;
10
+ name: string;
11
+ };
12
+ startDate: string;
13
+ endDate: string;
14
+ activated: boolean;
15
+ promotionRulesOutList: string[];
16
+ promotionIncludedList: string[];
17
+ responsiblePerson: {
18
+ id: string;
19
+ email: string;
20
+ };
21
+ addingPerson: AdminI;
22
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,25 @@
1
+ import FileI from "../FileI";
2
+ import PriceI from "../PriceI";
3
+ export default interface ProductI {
4
+ id: string;
5
+ sku: string;
6
+ articleNumber: string;
7
+ url: string;
8
+ title: string;
9
+ subtitle: string;
10
+ description: string;
11
+ price: PriceI;
12
+ promotionalPrice: PriceI;
13
+ installationPrice: PriceI;
14
+ vat: number;
15
+ color: string;
16
+ quantity: number;
17
+ width: number;
18
+ length: number;
19
+ height: number;
20
+ thumbnail: FileI | null;
21
+ createdAt: string;
22
+ deleted: boolean;
23
+ files?: FileI[];
24
+ jsonData: any;
25
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,23 @@
1
+ import AdminI from "../AdminI";
2
+ import DiscountI from "./DiscountI";
3
+ export default interface ProductI {
4
+ id: string;
5
+ name: string;
6
+ informationForUser: string;
7
+ weight: number;
8
+ discount: DiscountI;
9
+ audienceType: {
10
+ id: string;
11
+ name: string;
12
+ };
13
+ startDate: string;
14
+ endDate: string;
15
+ activated: boolean;
16
+ promotionRulesOutList: string[];
17
+ promotionIncludedList: string[];
18
+ responsiblePerson: {
19
+ id: string;
20
+ email: string;
21
+ };
22
+ addingPerson: AdminI;
23
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export default interface PromotionAudienceRolesTypeRow {
2
+ promotion_id: string;
3
+ role_id: string;
4
+ }
@@ -0,0 +1,4 @@
1
+ export default interface PromotionAudienceUsersTypeRow {
2
+ promotion_id: string;
3
+ user_id: string;
4
+ }
@@ -0,0 +1,7 @@
1
+ export default interface PromotionCodesRow {
2
+ id: string;
3
+ code: string;
4
+ promotion_id: string;
5
+ use_count: number;
6
+ use_limit: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,6 @@
1
+ export default interface PromotionDiscountRow {
2
+ id: string;
3
+ type_id: string;
4
+ discount_item_type_id: string;
5
+ value: number;
6
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ export default interface PromotionListProductsRow {
2
+ list_id: string;
3
+ product_id: string;
4
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dascompany/product",
3
- "version": "4.5.23",
3
+ "version": "4.5.25",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6