@eway-crm/connector 1.0.208 → 1.0.209

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.
@@ -1,3 +1,4 @@
1
+ import type { IApiGoodInCart } from './IApiGoodInCart';
1
2
  import type { IApiItemBase } from './IApiItemBase';
2
3
  export interface IApiCart extends IApiItemBase {
3
4
  Id: number | null;
@@ -12,6 +13,7 @@ export interface IApiCart extends IApiItemBase {
12
13
  Vat: number | null;
13
14
  PriceTotalExcludingVat: number | null;
14
15
  GoodsInCartCount: number | null;
16
+ GoodsInCart: IApiGoodInCart[] | null;
15
17
  Note: string | null;
16
18
  PriceTotalDefaultCurrency: number | null;
17
19
  PriceTotalParentCurrency: number | null;
@@ -1,3 +1,4 @@
1
+ import type { IApiGoodInCart } from './IApiGoodInCart';
1
2
  import type { IApiItemBase } from './IApiItemBase';
2
3
  export interface IApiCart extends IApiItemBase {
3
4
  Id: number | null;
@@ -12,6 +13,7 @@ export interface IApiCart extends IApiItemBase {
12
13
  Vat: number | null;
13
14
  PriceTotalExcludingVat: number | null;
14
15
  GoodsInCartCount: number | null;
16
+ GoodsInCart: IApiGoodInCart[] | null;
15
17
  Note: string | null;
16
18
  PriceTotalDefaultCurrency: number | null;
17
19
  PriceTotalParentCurrency: number | null;
package/lib/index.d.ts CHANGED
@@ -1691,6 +1691,68 @@ interface IApiCapacityAvailableBundle extends IApiAvailableBundle {
1691
1691
  UsedSlotsCount: number;
1692
1692
  }
1693
1693
 
1694
+ interface IApiGoodInCart extends IApiItemBase {
1695
+ Code: string | null;
1696
+ SaleCurrencyEn: string | null;
1697
+ PurchaseCurrencyEn: string | null;
1698
+ UnitEn: string | null;
1699
+ PurchasePrice: number | null;
1700
+ SalePrice: number | null;
1701
+ Quantity: number | null;
1702
+ Note: string | null;
1703
+ PriceTotal: number | null;
1704
+ Structure: string | null;
1705
+ ListPrice: number | null;
1706
+ Discount: number | null;
1707
+ HierarchyInSet: string | null;
1708
+ IsFromSet: boolean | null;
1709
+ ParentGuid: string | null;
1710
+ Rank: number | null;
1711
+ IsPriceSum: boolean | null;
1712
+ IncludeInCartPrice: boolean | null;
1713
+ ListPriceCustomized: boolean | null;
1714
+ Description: string | null;
1715
+ ChildItemsCount: number | null;
1716
+ VatRate: number | null;
1717
+ PriceTotalExcludingVat: number | null;
1718
+ VatTotal: number | null;
1719
+ SalePriceExcludingVat: number | null;
1720
+ Vat: number | null;
1721
+ PurchasePriceDefaultCurrency: number | null;
1722
+ PurchasePriceParentCurrency: number | null;
1723
+ SalePriceDefaultCurrency: number | null;
1724
+ SalePriceParentCurrency: number | null;
1725
+ PriceTotalDefaultCurrency: number | null;
1726
+ PriceTotalParentCurrency: number | null;
1727
+ ListPriceDefaultCurrency: number | null;
1728
+ ListPriceParentCurrency: number | null;
1729
+ PriceTotalExcludingVatDefaultCurrency: number | null;
1730
+ PriceTotalExcludingVatParentCurrency: number | null;
1731
+ VatTotalDefaultCurrency: number | null;
1732
+ VatTotalParentCurrency: number | null;
1733
+ SalePriceExcludingVatDefaultCurrency: number | null;
1734
+ SalePriceExcludingVatParentCurrency: number | null;
1735
+ VatDefaultCurrency: number | null;
1736
+ VatParentCurrency: number | null;
1737
+ JoinedToGuid: string | null;
1738
+ PurchasePriceChanged: string | null;
1739
+ SalePriceChanged: string | null;
1740
+ PriceTotalChanged: string | null;
1741
+ ListPriceChanged: string | null;
1742
+ PurchasePriceTotal: number | null;
1743
+ PurchasePriceTotalDefaultCurrency: number | null;
1744
+ PurchasePriceTotalParentCurrency: number | null;
1745
+ PurchasePriceTotalChanged: string | null;
1746
+ VatIncluded: boolean | null;
1747
+ Picture: string | null;
1748
+ PictureWidth: number | null;
1749
+ PictureHeight: number | null;
1750
+ Carts_GoodsInCartGuid: string | null;
1751
+ Goods_GoodsInfoGuid: string | null;
1752
+ Leads_ProjectGuid: string | null;
1753
+ Projects_ProjectGuid: string | null;
1754
+ }
1755
+
1694
1756
  interface IApiCart extends IApiItemBase {
1695
1757
  Id: number | null;
1696
1758
  EffectiveFrom: string | null;
@@ -1704,6 +1766,7 @@ interface IApiCart extends IApiItemBase {
1704
1766
  Vat: number | null;
1705
1767
  PriceTotalExcludingVat: number | null;
1706
1768
  GoodsInCartCount: number | null;
1769
+ GoodsInCart: IApiGoodInCart[] | null;
1707
1770
  Note: string | null;
1708
1771
  PriceTotalDefaultCurrency: number | null;
1709
1772
  PriceTotalParentCurrency: number | null;
@@ -2137,68 +2200,6 @@ interface IApiGood extends IApiItemBase {
2137
2200
  Goods_SuperiorGoodGuid: string | null;
2138
2201
  }
2139
2202
 
2140
- interface IApiGoodInCart extends IApiItemBase {
2141
- Code: string | null;
2142
- SaleCurrencyEn: string | null;
2143
- PurchaseCurrencyEn: string | null;
2144
- UnitEn: string | null;
2145
- PurchasePrice: number | null;
2146
- SalePrice: number | null;
2147
- Quantity: number | null;
2148
- Note: string | null;
2149
- PriceTotal: number | null;
2150
- Structure: string | null;
2151
- ListPrice: number | null;
2152
- Discount: number | null;
2153
- HierarchyInSet: string | null;
2154
- IsFromSet: boolean | null;
2155
- ParentGuid: string | null;
2156
- Rank: number | null;
2157
- IsPriceSum: boolean | null;
2158
- IncludeInCartPrice: boolean | null;
2159
- ListPriceCustomized: boolean | null;
2160
- Description: string | null;
2161
- ChildItemsCount: number | null;
2162
- VatRate: number | null;
2163
- PriceTotalExcludingVat: number | null;
2164
- VatTotal: number | null;
2165
- SalePriceExcludingVat: number | null;
2166
- Vat: number | null;
2167
- PurchasePriceDefaultCurrency: number | null;
2168
- PurchasePriceParentCurrency: number | null;
2169
- SalePriceDefaultCurrency: number | null;
2170
- SalePriceParentCurrency: number | null;
2171
- PriceTotalDefaultCurrency: number | null;
2172
- PriceTotalParentCurrency: number | null;
2173
- ListPriceDefaultCurrency: number | null;
2174
- ListPriceParentCurrency: number | null;
2175
- PriceTotalExcludingVatDefaultCurrency: number | null;
2176
- PriceTotalExcludingVatParentCurrency: number | null;
2177
- VatTotalDefaultCurrency: number | null;
2178
- VatTotalParentCurrency: number | null;
2179
- SalePriceExcludingVatDefaultCurrency: number | null;
2180
- SalePriceExcludingVatParentCurrency: number | null;
2181
- VatDefaultCurrency: number | null;
2182
- VatParentCurrency: number | null;
2183
- JoinedToGuid: string | null;
2184
- PurchasePriceChanged: string | null;
2185
- SalePriceChanged: string | null;
2186
- PriceTotalChanged: string | null;
2187
- ListPriceChanged: string | null;
2188
- PurchasePriceTotal: number | null;
2189
- PurchasePriceTotalDefaultCurrency: number | null;
2190
- PurchasePriceTotalParentCurrency: number | null;
2191
- PurchasePriceTotalChanged: string | null;
2192
- VatIncluded: boolean | null;
2193
- Picture: string | null;
2194
- PictureWidth: number | null;
2195
- PictureHeight: number | null;
2196
- Carts_GoodsInCartGuid: string | null;
2197
- Goods_GoodsInfoGuid: string | null;
2198
- Leads_ProjectGuid: string | null;
2199
- Projects_ProjectGuid: string | null;
2200
- }
2201
-
2202
2203
  interface IApiGoodInSet extends IApiItemBase {
2203
2204
  ParentGUID: string | null;
2204
2205
  ChildGUID: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eway-crm/connector",
3
- "version": "1.0.208",
3
+ "version": "1.0.209",
4
4
  "description": "eWay-CRM API JavaScript connector library.",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",