@eway-crm/connector 1.0.249 → 1.0.250

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.
@@ -47,4 +47,6 @@ export interface IApiCart extends IApiItemBase {
47
47
  Companies_CustomerGuid: string | null;
48
48
  Leads_CartGuid: string | null;
49
49
  Projects_CartGuid: string | null;
50
+ Margin: number | null;
51
+ Markup: number | null;
50
52
  }
@@ -23,4 +23,6 @@ export interface IApiGood extends IApiItemBase {
23
23
  PictureHeight: number | null;
24
24
  TypeEn: string | null;
25
25
  Goods_SuperiorGoodGuid: string | null;
26
+ Margin: number | null;
27
+ Markup: number | null;
26
28
  }
@@ -59,4 +59,6 @@ export interface IApiGoodInCart extends IApiItemBase {
59
59
  Goods_GoodsInfoGuid: string | null;
60
60
  Leads_ProjectGuid: string | null;
61
61
  Projects_ProjectGuid: string | null;
62
+ Margin: number | null;
63
+ Markup: number | null;
62
64
  }
@@ -47,4 +47,6 @@ export interface IApiCart extends IApiItemBase {
47
47
  Companies_CustomerGuid: string | null;
48
48
  Leads_CartGuid: string | null;
49
49
  Projects_CartGuid: string | null;
50
+ Margin: number | null;
51
+ Markup: number | null;
50
52
  }
@@ -23,4 +23,6 @@ export interface IApiGood extends IApiItemBase {
23
23
  PictureHeight: number | null;
24
24
  TypeEn: string | null;
25
25
  Goods_SuperiorGoodGuid: string | null;
26
+ Margin: number | null;
27
+ Markup: number | null;
26
28
  }
@@ -59,4 +59,6 @@ export interface IApiGoodInCart extends IApiItemBase {
59
59
  Goods_GoodsInfoGuid: string | null;
60
60
  Leads_ProjectGuid: string | null;
61
61
  Projects_ProjectGuid: string | null;
62
+ Margin: number | null;
63
+ Markup: number | null;
62
64
  }
package/lib/index.d.ts CHANGED
@@ -2019,6 +2019,8 @@ interface IApiGoodInCart extends IApiItemBase {
2019
2019
  Goods_GoodsInfoGuid: string | null;
2020
2020
  Leads_ProjectGuid: string | null;
2021
2021
  Projects_ProjectGuid: string | null;
2022
+ Margin: number | null;
2023
+ Markup: number | null;
2022
2024
  }
2023
2025
 
2024
2026
  interface IApiCart extends IApiItemBase {
@@ -2068,6 +2070,8 @@ interface IApiCart extends IApiItemBase {
2068
2070
  Companies_CustomerGuid: string | null;
2069
2071
  Leads_CartGuid: string | null;
2070
2072
  Projects_CartGuid: string | null;
2073
+ Margin: number | null;
2074
+ Markup: number | null;
2071
2075
  }
2072
2076
 
2073
2077
  interface IApiClientVersion {
@@ -2484,6 +2488,8 @@ interface IApiGood extends IApiItemBase {
2484
2488
  PictureHeight: number | null;
2485
2489
  TypeEn: string | null;
2486
2490
  Goods_SuperiorGoodGuid: string | null;
2491
+ Margin: number | null;
2492
+ Markup: number | null;
2487
2493
  }
2488
2494
 
2489
2495
  interface IApiGoodInSet extends IApiItemBase {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eway-crm/connector",
3
- "version": "1.0.249",
3
+ "version": "1.0.250",
4
4
  "description": "eWay-CRM API JavaScript connector library.",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/esm/index.js",
@@ -1,98 +0,0 @@
1
- import { type TFolderName } from '../constants/FolderNames';
2
- export type TItemInfo = Partial<{
3
- [key in TFolderName]: string[];
4
- }>;
5
- export declare class EwayOpenLinkHelper {
6
- private static readonly openEwayLinkRegEx;
7
- static readonly ewayItemLinkParamName = "l";
8
- static readonly ewayLinkDomainLength = 7;
9
- static readonly getEwayOpenDomain: (isDevEnvironment: boolean) => "open.eway-crm.dev" | "open.eway-crm.com";
10
- static readonly isEwayOpenLinkInString: (text: string) => boolean;
11
- static readonly getOpenLinksFromString: (text: string) => RegExpMatchArray | null;
12
- static readonly getItemLinksFromOpenLinks: (openLinks: RegExpMatchArray) => (string | null)[] | undefined;
13
- static readonly getItemInfoFromLink: (link: string) => {
14
- folderName: TFolderName;
15
- itemGuid: string;
16
- } | undefined;
17
- static readonly getAllItemsFromTextWithLinks: (text: string) => Partial<{
18
- Actions: string[];
19
- AdditionalFields: string[];
20
- Bonuses: string[];
21
- Calendar: string[];
22
- CapacityNotes: string[];
23
- CapacityNoteTypes: string[];
24
- Carts: string[];
25
- ColumnPermissions: string[];
26
- Companies: string[];
27
- Contacts: string[];
28
- ContactsSuggestions: string[];
29
- CurrencyExchangeRates: string[];
30
- Documents: string[];
31
- Emails: string[];
32
- EnumTypes: string[];
33
- EnumValues: string[];
34
- EnumValuesRelations: string[];
35
- Features: string[];
36
- Flows: string[];
37
- GlobalSettings: string[];
38
- Goals: string[];
39
- Goods: string[];
40
- GoodsInCart: string[];
41
- GoodsInSet: string[];
42
- Groups: string[];
43
- History: string[];
44
- Holidays: string[];
45
- Children: string[];
46
- IndividualDiscounts: string[];
47
- InvoiceItems: string[];
48
- Invoices: string[];
49
- ItemCopyRelations: string[];
50
- Journal: string[];
51
- Knowledge: string[];
52
- Layouts: string[];
53
- LayoutsModels: string[];
54
- Leads: string[];
55
- Ledger: string[];
56
- Mappings: string[];
57
- Marketing: string[];
58
- MarketingList: string[];
59
- MarketingListSources: string[];
60
- Models: string[];
61
- ModulePermissions: string[];
62
- ObjectTypesOptions: string[];
63
- Payments: string[];
64
- PriceListGroups: string[];
65
- ProjectAssignments: string[];
66
- ProjectAssignmentsPerUserProject: string[];
67
- ProjectAssignmentsTotal: string[];
68
- ProjectAssignmentsTotalUserProject: string[];
69
- ProjectList: string[];
70
- Projects: string[];
71
- ProjectUsersInCaPlan: string[];
72
- RelationData: string[];
73
- Relations: string[];
74
- Reports: string[];
75
- RevisionsHistory: string[];
76
- Salaries: string[];
77
- SalePrices: string[];
78
- Prices: string[];
79
- SqlObjects: string[];
80
- Tasks: string[];
81
- RecurrencePatterns: string[];
82
- TeamRoles: string[];
83
- Templates: string[];
84
- Training: string[];
85
- UnifiedRelations: string[];
86
- Users: string[];
87
- UserSettings: string[];
88
- Vacation: string[];
89
- WebAccess2Options: string[];
90
- WebAccessOptions: string[];
91
- WorkCommitments: string[];
92
- WorkflowHistory: string[];
93
- WorkReports: string[];
94
- WrongClientVersions: string[];
95
- XsltTransformations: string[];
96
- XsltTransformationsModels: string[];
97
- }> | undefined;
98
- }
@@ -1,98 +0,0 @@
1
- import { type TFolderName } from '../constants/FolderNames';
2
- export type TItemInfo = Partial<{
3
- [key in TFolderName]: string[];
4
- }>;
5
- export declare class EwayOpenLinkHelper {
6
- private static readonly openEwayLinkRegEx;
7
- static readonly ewayItemLinkParamName = "l";
8
- static readonly ewayLinkDomainLength = 7;
9
- static readonly getEwayOpenDomain: (isDevEnvironment: boolean) => "open.eway-crm.dev" | "open.eway-crm.com";
10
- static readonly isEwayOpenLinkInString: (text: string) => boolean;
11
- static readonly getOpenLinksFromString: (text: string) => RegExpMatchArray | null;
12
- static readonly getItemLinksFromOpenLinks: (openLinks: RegExpMatchArray) => (string | null)[] | undefined;
13
- static readonly getItemInfoFromLink: (link: string) => {
14
- folderName: TFolderName;
15
- itemGuid: string;
16
- } | undefined;
17
- static readonly getAllItemsFromTextWithLinks: (text: string) => Partial<{
18
- Actions: string[];
19
- AdditionalFields: string[];
20
- Bonuses: string[];
21
- Calendar: string[];
22
- CapacityNotes: string[];
23
- CapacityNoteTypes: string[];
24
- Carts: string[];
25
- ColumnPermissions: string[];
26
- Companies: string[];
27
- Contacts: string[];
28
- ContactsSuggestions: string[];
29
- CurrencyExchangeRates: string[];
30
- Documents: string[];
31
- Emails: string[];
32
- EnumTypes: string[];
33
- EnumValues: string[];
34
- EnumValuesRelations: string[];
35
- Features: string[];
36
- Flows: string[];
37
- GlobalSettings: string[];
38
- Goals: string[];
39
- Goods: string[];
40
- GoodsInCart: string[];
41
- GoodsInSet: string[];
42
- Groups: string[];
43
- History: string[];
44
- Holidays: string[];
45
- Children: string[];
46
- IndividualDiscounts: string[];
47
- InvoiceItems: string[];
48
- Invoices: string[];
49
- ItemCopyRelations: string[];
50
- Journal: string[];
51
- Knowledge: string[];
52
- Layouts: string[];
53
- LayoutsModels: string[];
54
- Leads: string[];
55
- Ledger: string[];
56
- Mappings: string[];
57
- Marketing: string[];
58
- MarketingList: string[];
59
- MarketingListSources: string[];
60
- Models: string[];
61
- ModulePermissions: string[];
62
- ObjectTypesOptions: string[];
63
- Payments: string[];
64
- PriceListGroups: string[];
65
- ProjectAssignments: string[];
66
- ProjectAssignmentsPerUserProject: string[];
67
- ProjectAssignmentsTotal: string[];
68
- ProjectAssignmentsTotalUserProject: string[];
69
- ProjectList: string[];
70
- Projects: string[];
71
- ProjectUsersInCaPlan: string[];
72
- RelationData: string[];
73
- Relations: string[];
74
- Reports: string[];
75
- RevisionsHistory: string[];
76
- Salaries: string[];
77
- SalePrices: string[];
78
- Prices: string[];
79
- SqlObjects: string[];
80
- Tasks: string[];
81
- RecurrencePatterns: string[];
82
- TeamRoles: string[];
83
- Templates: string[];
84
- Training: string[];
85
- UnifiedRelations: string[];
86
- Users: string[];
87
- UserSettings: string[];
88
- Vacation: string[];
89
- WebAccess2Options: string[];
90
- WebAccessOptions: string[];
91
- WorkCommitments: string[];
92
- WorkflowHistory: string[];
93
- WorkReports: string[];
94
- WrongClientVersions: string[];
95
- XsltTransformations: string[];
96
- XsltTransformationsModels: string[];
97
- }> | undefined;
98
- }