@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.
- package/lib/cjs/data/IApiCart.d.ts +2 -0
- package/lib/cjs/data/IApiGood.d.ts +2 -0
- package/lib/cjs/data/IApiGoodInCart.d.ts +2 -0
- package/lib/esm/data/IApiCart.d.ts +2 -0
- package/lib/esm/data/IApiGood.d.ts +2 -0
- package/lib/esm/data/IApiGoodInCart.d.ts +2 -0
- package/lib/index.d.ts +6 -0
- package/package.json +1 -1
- package/lib/cjs/helpers/EwayOpenLinkHelper.d.ts +0 -98
- package/lib/esm/helpers/EwayOpenLinkHelper.d.ts +0 -98
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,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
|
-
}
|