@eway-crm/connector 1.0.119 → 1.0.121
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/AnonymousSessionHandler.d.ts +5 -5
- package/lib/AnonymousSessionHandler.js +15 -15
- package/lib/ApiConnection.d.ts +66 -66
- package/lib/ApiConnection.js +321 -321
- package/lib/ApiMethods.d.ts +16 -16
- package/lib/ApiMethods.js +41 -42
- package/lib/CredentialsSessionHandler.d.ts +16 -16
- package/lib/CredentialsSessionHandler.js +60 -60
- package/lib/HttpMethod.d.ts +4 -4
- package/lib/HttpMethod.js +8 -8
- package/lib/ISessionHandler.d.ts +7 -7
- package/lib/ISessionHandler.js +2 -2
- package/lib/OAuthSessionHandler.d.ts +12 -12
- package/lib/OAuthSessionHandler.js +52 -52
- package/lib/OAuthSessionHandlerBase.d.ts +16 -16
- package/lib/OAuthSessionHandlerBase.js +78 -78
- package/lib/ReturnCodes.d.ts +9 -9
- package/lib/ReturnCodes.js +15 -16
- package/lib/axios/AxiosInstance.d.ts +2 -0
- package/lib/axios/AxiosInstance.js +5 -0
- package/lib/constants/ActionEventTypes.d.ts +9 -9
- package/lib/constants/ActionEventTypes.js +14 -14
- package/lib/constants/ColumnPermissionRules.d.ts +14 -14
- package/lib/constants/ColumnPermissionRules.js +22 -24
- package/lib/constants/CompletionLevels.d.ts +6 -6
- package/lib/constants/CompletionLevels.js +11 -11
- package/lib/constants/CustomizationStatsItemKeys.d.ts +11 -11
- package/lib/constants/CustomizationStatsItemKeys.js +17 -17
- package/lib/constants/Edition.d.ts +6 -6
- package/lib/constants/Edition.js +10 -10
- package/lib/constants/EnumTypes.d.ts +32 -32
- package/lib/constants/EnumTypes.js +38 -38
- package/lib/constants/ExpirationReason.d.ts +7 -7
- package/lib/constants/ExpirationReason.js +10 -10
- package/lib/constants/Feature.d.ts +6 -6
- package/lib/constants/Feature.js +10 -10
- package/lib/constants/FieldNames.d.ts +389 -389
- package/lib/constants/FieldNames.js +427 -427
- package/lib/constants/FieldTypes.d.ts +15 -15
- package/lib/constants/FieldTypes.js +20 -20
- package/lib/constants/FolderNames.d.ts +80 -80
- package/lib/constants/FolderNames.js +87 -88
- package/lib/constants/Functionality.d.ts +54 -54
- package/lib/constants/Functionality.js +60 -60
- package/lib/constants/GlobalSettingsNames.d.ts +71 -71
- package/lib/constants/GlobalSettingsNames.js +76 -76
- package/lib/constants/LicenseKeyInvoiceSeverity.d.ts +8 -8
- package/lib/constants/LicenseKeyInvoiceSeverity.js +11 -11
- package/lib/constants/LicenseRestrictionKeys.d.ts +62 -62
- package/lib/constants/LicenseRestrictionKeys.js +68 -68
- package/lib/constants/RelationTypes.d.ts +11 -11
- package/lib/constants/RelationTypes.js +16 -16
- package/lib/data/EWItem.d.ts +12 -12
- package/lib/data/EWItem.js +91 -91
- package/lib/data/IApiAdditionalField.d.ts +21 -21
- package/lib/data/IApiAdditionalField.js +2 -2
- package/lib/data/IApiAvailableBundle.d.ts +4 -4
- package/lib/data/IApiAvailableBundle.js +2 -2
- package/lib/data/IApiAvailableVersionResponse.d.ts +9 -9
- package/lib/data/IApiAvailableVersionResponse.js +2 -2
- package/lib/data/IApiBooleanResponse.d.ts +4 -4
- package/lib/data/IApiBooleanResponse.js +2 -2
- package/lib/data/IApiCapacityAvailableBundle.d.ts +5 -5
- package/lib/data/IApiCapacityAvailableBundle.js +2 -2
- package/lib/data/IApiCart.d.ts +48 -48
- package/lib/data/IApiCart.js +8 -8
- package/lib/data/IApiColumn.d.ts +51 -51
- package/lib/data/IApiColumn.js +2 -2
- package/lib/data/IApiColumnPermission.d.ts +15 -15
- package/lib/data/IApiColumnPermission.js +2 -2
- package/lib/data/IApiCompany.d.ts +55 -55
- package/lib/data/IApiCompany.js +8 -8
- package/lib/data/IApiContact.d.ts +58 -58
- package/lib/data/IApiContact.js +8 -8
- package/lib/data/IApiCurrencyExchangeRate.d.ts +9 -9
- package/lib/data/IApiCurrencyExchangeRate.js +8 -8
- package/lib/data/IApiCustomizationStatsItem.d.ts +6 -6
- package/lib/data/IApiCustomizationStatsItem.js +2 -2
- package/lib/data/IApiDataResponse.d.ts +4 -4
- package/lib/data/IApiDataResponse.js +2 -2
- package/lib/data/IApiDatumResponse.d.ts +4 -4
- package/lib/data/IApiDatumResponse.js +2 -2
- package/lib/data/IApiDocument.d.ts +22 -22
- package/lib/data/IApiDocument.js +8 -8
- package/lib/data/IApiEmail.d.ts +26 -26
- package/lib/data/IApiEmail.js +8 -8
- package/lib/data/IApiEnumType.d.ts +26 -26
- package/lib/data/IApiEnumType.js +9 -9
- package/lib/data/IApiEnumValue.d.ts +18 -18
- package/lib/data/IApiEnumValue.js +2 -2
- package/lib/data/IApiEnumValuesRelation.d.ts +8 -8
- package/lib/data/IApiEnumValuesRelation.js +8 -8
- package/lib/data/IApiFeature.d.ts +5 -5
- package/lib/data/IApiFeature.js +2 -2
- package/lib/data/IApiFeaturesLicenseBundle.d.ts +10 -10
- package/lib/data/IApiFeaturesLicenseBundle.js +2 -2
- package/lib/data/IApiFlow.d.ts +9 -9
- package/lib/data/IApiFlow.js +8 -8
- package/lib/data/IApiGlobalSetting.d.ts +33 -33
- package/lib/data/IApiGlobalSetting.js +2 -2
- package/lib/data/IApiGoal.d.ts +22 -22
- package/lib/data/IApiGoal.js +8 -8
- package/lib/data/IApiGood.d.ts +26 -26
- package/lib/data/IApiGood.js +8 -8
- package/lib/data/IApiGoodInCart.d.ts +62 -62
- package/lib/data/IApiGoodInCart.js +8 -8
- package/lib/data/IApiGroup.d.ts +16 -16
- package/lib/data/IApiGroup.js +2 -2
- package/lib/data/IApiItemBase.d.ts +14 -14
- package/lib/data/IApiItemBase.js +2 -2
- package/lib/data/IApiItemIdentifier.d.ts +5 -5
- package/lib/data/IApiItemIdentifier.js +2 -2
- package/lib/data/IApiItemUsageStatus.d.ts +4 -4
- package/lib/data/IApiItemUsageStatus.js +2 -2
- package/lib/data/IApiJournal.d.ts +25 -25
- package/lib/data/IApiJournal.js +8 -8
- package/lib/data/IApiLead.d.ts +36 -36
- package/lib/data/IApiLead.js +8 -8
- package/lib/data/IApiLicense.d.ts +65 -65
- package/lib/data/IApiLicense.js +2 -2
- package/lib/data/IApiLicenseBundleBase.d.ts +6 -6
- package/lib/data/IApiLicenseBundleBase.js +2 -2
- package/lib/data/IApiLocalizedLicenseBundle.d.ts +4 -4
- package/lib/data/IApiLocalizedLicenseBundle.js +2 -2
- package/lib/data/IApiLoginResponse.d.ts +8 -8
- package/lib/data/IApiLoginResponse.js +2 -2
- package/lib/data/IApiMarketingCampaign.d.ts +32 -32
- package/lib/data/IApiMarketingCampaign.js +8 -8
- package/lib/data/IApiMarketingList.d.ts +17 -17
- package/lib/data/IApiMarketingList.js +8 -8
- package/lib/data/IApiModulePermission.d.ts +14 -14
- package/lib/data/IApiModulePermission.js +2 -2
- package/lib/data/IApiObjectType.d.ts +9 -9
- package/lib/data/IApiObjectType.js +2 -2
- package/lib/data/IApiPasswordStrength.d.ts +5 -5
- package/lib/data/IApiPasswordStrength.js +2 -2
- package/lib/data/IApiPayment.d.ts +9 -9
- package/lib/data/IApiPayment.js +8 -8
- package/lib/data/IApiProject.d.ts +59 -59
- package/lib/data/IApiProject.js +8 -8
- package/lib/data/IApiRecurrencePattern.d.ts +16 -16
- package/lib/data/IApiRecurrencePattern.js +8 -8
- package/lib/data/IApiResult.d.ts +4 -4
- package/lib/data/IApiResult.js +2 -2
- package/lib/data/IApiSaveResponse.d.ts +4 -4
- package/lib/data/IApiSaveResponse.js +2 -2
- package/lib/data/IApiTask.d.ts +34 -34
- package/lib/data/IApiTask.js +8 -8
- package/lib/data/IApiUser.d.ts +22 -22
- package/lib/data/IApiUser.js +2 -2
- package/lib/data/IApiUserSetting.d.ts +6 -6
- package/lib/data/IApiUserSetting.js +2 -2
- package/lib/data/IApiWebServiceTaskStatus.d.ts +10 -10
- package/lib/data/IApiWebServiceTaskStatus.js +2 -2
- package/lib/data/IApiWorkReport.d.ts +36 -36
- package/lib/data/IApiWorkReport.js +8 -8
- package/lib/data/IApiWorkflowActionDerivedItem.d.ts +21 -21
- package/lib/data/IApiWorkflowActionDerivedItem.js +2 -2
- package/lib/data/IApiWorkflowModel.d.ts +8 -8
- package/lib/data/IApiWorkflowModel.js +2 -2
- package/lib/data/query/IApiQuery.d.ts +42 -42
- package/lib/data/query/IApiQuery.js +2 -2
- package/lib/data/query/IApiQueryFilters.d.ts +43 -43
- package/lib/data/query/IApiQueryFilters.js +2 -2
- package/lib/data/workflowActions/IApiAction.d.ts +106 -106
- package/lib/data/workflowActions/IApiAction.js +2 -2
- package/lib/exceptions/HttpRequestError.d.ts +7 -7
- package/lib/exceptions/HttpRequestError.js +29 -29
- package/lib/exceptions/WebServiceError.d.ts +5 -5
- package/lib/exceptions/WebServiceError.js +29 -29
- package/lib/helpers/ErrorHelper.d.ts +4 -4
- package/lib/helpers/ErrorHelper.js +21 -21
- package/lib/helpers/OAuthHelper.d.ts +8 -8
- package/lib/helpers/OAuthHelper.js +57 -60
- package/lib/helpers/VersionHelperBase.d.ts +5 -5
- package/lib/helpers/VersionHelperBase.js +21 -21
- package/lib/index.d.ts +85 -85
- package/lib/index.js +124 -124
- package/lib/interfaces/IEWJwtPayload.d.ts +4 -4
- package/lib/interfaces/IEWJwtPayload.js +2 -2
- package/lib/interfaces/IItemPreview.d.ts +5 -5
- package/lib/interfaces/IItemPreview.js +2 -2
- package/lib/interfaces/ITokenData.d.ts +9 -9
- package/lib/interfaces/ITokenData.js +2 -2
- package/lib/interfaces/ITranslatableString.d.ts +8 -8
- package/lib/interfaces/ITranslatableString.js +2 -2
- package/lib/interfaces/TNumericValidatorType.d.ts +1 -1
- package/lib/interfaces/TNumericValidatorType.js +2 -2
- package/lib/tokenizedServices/CommonDataConnection.d.ts +9 -9
- package/lib/tokenizedServices/CommonDataConnection.js +22 -22
- package/lib/tokenizedServices/ITokenizedApiResult.d.ts +4 -4
- package/lib/tokenizedServices/ITokenizedApiResult.js +2 -2
- package/lib/tokenizedServices/TokenizedServiceConnection.d.ts +25 -25
- package/lib/tokenizedServices/TokenizedServiceConnection.js +130 -130
- package/package.json +10 -10
|
@@ -1,427 +1,427 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var FolderNames_1 = require("./FolderNames");
|
|
4
|
-
var FieldNames = /** @class */ (function () {
|
|
5
|
-
function FieldNames() {
|
|
6
|
-
}
|
|
7
|
-
FieldNames.Common = {
|
|
8
|
-
CreatedByGUID: 'CreatedByGUID',
|
|
9
|
-
CurrencyEn: 'CurrencyEn',
|
|
10
|
-
DefaultCurrencySuffix: 'DefaultCurrency',
|
|
11
|
-
FileAs: 'FileAs',
|
|
12
|
-
ItemCreated: 'ItemCreated',
|
|
13
|
-
ItemChanged: 'ItemChanged',
|
|
14
|
-
ItemGUID: 'ItemGUID',
|
|
15
|
-
ItemVersion: 'ItemVersion',
|
|
16
|
-
ModifiedByGUID: 'ModifiedByGUID',
|
|
17
|
-
OwnerGUID: 'OwnerGUID',
|
|
18
|
-
ParentCurrencySuffix: 'ParentCurrency',
|
|
19
|
-
};
|
|
20
|
-
FieldNames.Calendar = {
|
|
21
|
-
EndDate: 'EndDate',
|
|
22
|
-
Note: 'Note',
|
|
23
|
-
};
|
|
24
|
-
FieldNames.Carts = {
|
|
25
|
-
SuperiorItem: 'SuperiorItem',
|
|
26
|
-
SuperiorCompany: 'SuperiorCompany',
|
|
27
|
-
SuperiorContact: 'SuperiorContact',
|
|
28
|
-
TypeEn: 'TypeEn',
|
|
29
|
-
StateEn: 'StateEn',
|
|
30
|
-
};
|
|
31
|
-
FieldNames.Companies = {
|
|
32
|
-
ID: 'ID',
|
|
33
|
-
CompanyName: 'CompanyName',
|
|
34
|
-
Department: 'Department',
|
|
35
|
-
AccountNumber: 'AccountNumber',
|
|
36
|
-
IdentificationNumber: 'IdentificationNumber',
|
|
37
|
-
VatNumber: 'VatNumber',
|
|
38
|
-
Sales: 'Reversal',
|
|
39
|
-
EmployeesCount: 'EmployeesCount',
|
|
40
|
-
Purchaser: 'Purchaser',
|
|
41
|
-
Suppliers: 'Suppliers',
|
|
42
|
-
Competitor: 'Competitor',
|
|
43
|
-
Address1Street: 'Address1Street',
|
|
44
|
-
Address1City: 'Address1City',
|
|
45
|
-
Address1PostalCode: 'Address1PostalCode',
|
|
46
|
-
Address1CountryEn: 'Address1CountryEn',
|
|
47
|
-
Address1State: 'Address1State',
|
|
48
|
-
Address1POBox: 'Address1POBox',
|
|
49
|
-
Address2Street: 'Address2Street',
|
|
50
|
-
Address2City: 'Address2City',
|
|
51
|
-
Address2PostalCode: 'Address2PostalCode',
|
|
52
|
-
Address2CountryEn: 'Address2CountryEn',
|
|
53
|
-
Address2State: 'Address2State',
|
|
54
|
-
Address2POBox: 'Address2POBox',
|
|
55
|
-
Address3Street: 'Address3Street',
|
|
56
|
-
Address3City: 'Address3City',
|
|
57
|
-
Address3PostalCode: 'Address3PostalCode',
|
|
58
|
-
Address3CountryEn: 'Address3CountryEn',
|
|
59
|
-
Address3State: 'Address3State',
|
|
60
|
-
Address3POBox: 'Address3POBox',
|
|
61
|
-
InvoiceAddress: 'InvoiceAddress',
|
|
62
|
-
PostalAddress: 'PostalAddress',
|
|
63
|
-
Phone: 'Phone',
|
|
64
|
-
Mobile: 'Mobile',
|
|
65
|
-
Fax: 'Fax',
|
|
66
|
-
WebPage: 'WebPage',
|
|
67
|
-
Email: 'Email',
|
|
68
|
-
ICQ: 'ICQ',
|
|
69
|
-
MSN: 'MSN',
|
|
70
|
-
Skype: 'Skype',
|
|
71
|
-
ImportanceEn: 'ImportanceEn',
|
|
72
|
-
FirstContactEn: 'FirstContactEn',
|
|
73
|
-
LineOfBusiness: 'LineOfBusiness',
|
|
74
|
-
EmailOptOut: 'EmailOptOut',
|
|
75
|
-
MailingListOther: 'MailingListOther',
|
|
76
|
-
MailingListOtherValue: 'MailingListOtherValue',
|
|
77
|
-
Note: 'Note',
|
|
78
|
-
IsPrivate: 'IsPrivate',
|
|
79
|
-
NextStep: 'NextStep',
|
|
80
|
-
LastActivity: 'LastActivity',
|
|
81
|
-
AdditionalDiscount: 'AdditionalDiscount',
|
|
82
|
-
};
|
|
83
|
-
FieldNames.Contacts = {
|
|
84
|
-
ProfilePicture: 'ProfilePicture',
|
|
85
|
-
Title: 'Title',
|
|
86
|
-
Email1Address: 'Email1Address',
|
|
87
|
-
Email2Address: 'Email2Address',
|
|
88
|
-
Email3Address: 'Email3Address',
|
|
89
|
-
DoNotSendNewsletter: 'DoNotSendNewsletter',
|
|
90
|
-
ImportanceEn: 'ImportanceEn',
|
|
91
|
-
PrefixEn: 'PrefixEn',
|
|
92
|
-
FirstName: 'FirstName',
|
|
93
|
-
MiddleName: 'MiddleName',
|
|
94
|
-
LastName: 'LastName',
|
|
95
|
-
SuffixEn: 'SuffixEn',
|
|
96
|
-
BusinessAddressStreet: 'BusinessAddressStreet',
|
|
97
|
-
BusinessAddressCity: 'BusinessAddressCity',
|
|
98
|
-
BusinessAddressPostalCode: 'BusinessAddressPostalCode',
|
|
99
|
-
BusinessAddressCountryEn: 'BusinessAddressCountryEn',
|
|
100
|
-
BusinessAddressState: 'BusinessAddressState',
|
|
101
|
-
BusinessAddressPoBox: 'BusinessAddressPOBox',
|
|
102
|
-
HomeAddressStreet: 'HomeAddressStreet',
|
|
103
|
-
HomeAddressCity: 'HomeAddressCity',
|
|
104
|
-
HomeAddressPostalCode: 'HomeAddressPostalCode',
|
|
105
|
-
HomeAddressCountryEn: 'HomeAddressCountryEn',
|
|
106
|
-
HomeAddressState: 'HomeAddressState',
|
|
107
|
-
HomeAddressPOBox: 'HomeAddressPOBox',
|
|
108
|
-
OtherAddressStreet: 'OtherAddressStreet',
|
|
109
|
-
OtherAddressCity: 'OtherAddressCity',
|
|
110
|
-
OtherAddressPostalCode: 'OtherAddressPostalCode',
|
|
111
|
-
OtherAddressCountryEn: 'OtherAddressCountryEn',
|
|
112
|
-
OtherAddressState: 'OtherAddressState',
|
|
113
|
-
OtherAddressPOBox: 'OtherAddressPOBox',
|
|
114
|
-
BusinessPhoneNumber: 'TelephoneNumber1',
|
|
115
|
-
BusinessPhoneNumber2: 'TelephoneNumber5',
|
|
116
|
-
BusinessFaxNumber: 'TelephoneNumber6',
|
|
117
|
-
MobilePhoneNumber: 'TelephoneNumber3',
|
|
118
|
-
HomePhoneNumber: 'TelephoneNumber2',
|
|
119
|
-
OtherPhoneNumber: 'TelephoneNumber4',
|
|
120
|
-
ICQ: 'ICQ',
|
|
121
|
-
MSN: 'MSN',
|
|
122
|
-
Skype: 'Skype',
|
|
123
|
-
WebPage: 'WebPage',
|
|
124
|
-
Note: 'Note',
|
|
125
|
-
Department: 'Department',
|
|
126
|
-
Company: 'Company',
|
|
127
|
-
IsPrivate: 'Private',
|
|
128
|
-
NextStep: 'NextStep',
|
|
129
|
-
LastActivity: 'LastActivity',
|
|
130
|
-
};
|
|
131
|
-
FieldNames.Leads = {
|
|
132
|
-
ID: 'ID',
|
|
133
|
-
FileAs: 'FileAs',
|
|
134
|
-
HumanID: 'HID',
|
|
135
|
-
Customer: 'Customer',
|
|
136
|
-
ContactPerson: 'ContactPerson',
|
|
137
|
-
Marketing: 'Marketing',
|
|
138
|
-
ReceiveDate: 'ReceiveDate',
|
|
139
|
-
Email: 'Email',
|
|
140
|
-
Phone: 'Phone',
|
|
141
|
-
Street: 'Street',
|
|
142
|
-
State: 'State',
|
|
143
|
-
CountryEn: 'CountryEn',
|
|
144
|
-
City: 'City',
|
|
145
|
-
POBox: 'POBox',
|
|
146
|
-
Zip: 'Zip',
|
|
147
|
-
Price: 'Price',
|
|
148
|
-
PriceChanged: 'PriceChanged',
|
|
149
|
-
CurrencyEn: FieldNames.Common.CurrencyEn,
|
|
150
|
-
EstimatedEnd: 'EstimatedEnd',
|
|
151
|
-
Probability: 'Probability',
|
|
152
|
-
LeadOriginEn: 'LeadOriginEn',
|
|
153
|
-
PriceDefaultCurrency: 'PriceDefaultCurrency',
|
|
154
|
-
EstimatedValue: 'EstimatedValue',
|
|
155
|
-
EstimatedValueDefaultCurrency: 'EstimatedValueDefaultCurrency',
|
|
156
|
-
Note: 'Note',
|
|
157
|
-
TypeEn: 'TypeEn',
|
|
158
|
-
StateEn: 'StateEn',
|
|
159
|
-
PrevStateEn: 'PrevStateEn',
|
|
160
|
-
IsPrivate: 'Private',
|
|
161
|
-
EmailOptOut: 'EmailOptOut',
|
|
162
|
-
NextStep: 'NextStep',
|
|
163
|
-
LastActivity: 'LastActivity',
|
|
164
|
-
ItemVersion: 'ItemVersion',
|
|
165
|
-
EstimatedRevenue: 'EstimatedRevenue',
|
|
166
|
-
EstimatedRevenueDefaultCurrency: 'EstimatedRevenueDefaultCurrency',
|
|
167
|
-
CompletedDate: 'CompletedDate',
|
|
168
|
-
};
|
|
169
|
-
FieldNames.Documents = {
|
|
170
|
-
FileAs: 'FileAs',
|
|
171
|
-
DocName: 'DocName',
|
|
172
|
-
Preview: 'Preview',
|
|
173
|
-
PreviewWidth: 'PreviewWidth',
|
|
174
|
-
PreviewHeight: 'PreviewHeight',
|
|
175
|
-
DocTypeEn: 'DocTypeEn',
|
|
176
|
-
StateEn: 'StateEn',
|
|
177
|
-
ImportanceEn: 'ImportanceEn',
|
|
178
|
-
SuperiorItem: 'SuperiorItem',
|
|
179
|
-
SuperiorCompany: 'Company',
|
|
180
|
-
SuperiorContact: 'Contact',
|
|
181
|
-
DocSize: 'DocSize',
|
|
182
|
-
Extension: 'Extension',
|
|
183
|
-
CreationTime: 'CreationTime',
|
|
184
|
-
LastWriteTime: 'LastWriteTime',
|
|
185
|
-
IsPrivate: 'Private',
|
|
186
|
-
Note: 'Note',
|
|
187
|
-
};
|
|
188
|
-
FieldNames.Emails = {
|
|
189
|
-
To: 'To',
|
|
190
|
-
From: 'SenderEmailAddress',
|
|
191
|
-
Cc: 'Cc',
|
|
192
|
-
Subject: 'Subject',
|
|
193
|
-
ImportanceEn: 'ImportanceEn',
|
|
194
|
-
SuperiorItem: 'SuperiorItem',
|
|
195
|
-
SentOn: 'SentOn',
|
|
196
|
-
ReceivedTime: 'ReceivedTime',
|
|
197
|
-
FileSize: 'FileSize',
|
|
198
|
-
AttachmentsCount: 'AttachmentsCount',
|
|
199
|
-
Note: 'Note',
|
|
200
|
-
};
|
|
201
|
-
FieldNames.Goods = {
|
|
202
|
-
Code: 'Code',
|
|
203
|
-
Structure: 'Structure',
|
|
204
|
-
Note: 'Note',
|
|
205
|
-
Description: 'Description'
|
|
206
|
-
};
|
|
207
|
-
FieldNames.Journal = {
|
|
208
|
-
FileAs: 'FileAs',
|
|
209
|
-
Subject: 'Subject',
|
|
210
|
-
TypeEn: 'TypeEn',
|
|
211
|
-
StateEn: 'StateEn',
|
|
212
|
-
ImportanceEn: 'ImportanceEn',
|
|
213
|
-
EventStart: 'EventStart',
|
|
214
|
-
EventEnd: 'EventEnd',
|
|
215
|
-
SuperiorItem: 'SuperiorItem',
|
|
216
|
-
Company: 'Company',
|
|
217
|
-
Contact: 'Contact',
|
|
218
|
-
Marketing: 'Marketing',
|
|
219
|
-
IsSystem: 'System',
|
|
220
|
-
IsPrivate: 'Private',
|
|
221
|
-
Note: 'Note',
|
|
222
|
-
Phone: 'Phone',
|
|
223
|
-
};
|
|
224
|
-
FieldNames.Vacation = {
|
|
225
|
-
StartDate: 'StartDate',
|
|
226
|
-
EndDate: 'EndDate',
|
|
227
|
-
User: 'User',
|
|
228
|
-
Duration: 'Duration',
|
|
229
|
-
Place: 'Place',
|
|
230
|
-
Note: 'Note',
|
|
231
|
-
AllDay: 'AllDay',
|
|
232
|
-
TypeEn: 'TypeEn',
|
|
233
|
-
StateEn: 'StateEn',
|
|
234
|
-
IsPrivate: 'Private',
|
|
235
|
-
};
|
|
236
|
-
FieldNames.Marketing = {
|
|
237
|
-
HumanID: 'HumanID',
|
|
238
|
-
EstimatedStart: 'EstimatedStart',
|
|
239
|
-
EstimatedEnd: 'EstimatedEnd',
|
|
240
|
-
RealStart: 'RealStart',
|
|
241
|
-
RealEnd: 'RealEnd',
|
|
242
|
-
TargetGroup: 'TargetGroup',
|
|
243
|
-
EmailsSent: 'EmailsSent',
|
|
244
|
-
EmailsDelivered: 'EmailsDelivered',
|
|
245
|
-
EmailsViewed: 'EmailsViewed',
|
|
246
|
-
PeopleUnsubscribed: 'PeopleUnsubscribed',
|
|
247
|
-
FinalRevenues: 'FinalRevenues',
|
|
248
|
-
TypeEn: 'TypeEn',
|
|
249
|
-
StateEn: 'StateEn',
|
|
250
|
-
};
|
|
251
|
-
FieldNames.Projects = {
|
|
252
|
-
HumanID: 'HID',
|
|
253
|
-
FileAs: 'FileAs',
|
|
254
|
-
ProjectName: 'ProjectName',
|
|
255
|
-
ProjectOriginEn: 'ProjectOriginEn',
|
|
256
|
-
TypeEn: 'TypeEn',
|
|
257
|
-
StateEn: 'StateEn',
|
|
258
|
-
PaymentTypeEn: 'PaymentTypeEn',
|
|
259
|
-
ProjectStart: 'ProjectStart',
|
|
260
|
-
ProjectRealEnd: 'ProjectRealEnd',
|
|
261
|
-
EstimatedEnd: 'ProjectEnd',
|
|
262
|
-
CurrencyEn: FieldNames.Common.CurrencyEn,
|
|
263
|
-
DefaultCurrencyEn: 'DefaultCurrencyEn',
|
|
264
|
-
EstimatedMargin: 'EstimatedMargin',
|
|
265
|
-
EstimatedPeopleExpenses: 'EstimatedPeopleExpenses',
|
|
266
|
-
EstimatedPeopleExpensesDefaultCurrency: 'EstimatedPeopleExpensesDefaultCurrency',
|
|
267
|
-
EstimatedOtherExpenses: 'EstimatedOtherExpenses',
|
|
268
|
-
EstimatedOtherExpensesDefaultCurrency: 'EstimatedOtherExpensesDefaultCurrency',
|
|
269
|
-
EstimatedPrice: 'EstimatedPrice',
|
|
270
|
-
EstimatedPriceDefaultCurrency: 'EstimatedPriceDefaultCurrency',
|
|
271
|
-
EstimatedProfit: 'EstimatedProfit',
|
|
272
|
-
EstimatedProfitDefaultCurrency: 'EstimatedProfitDefaultCurrency',
|
|
273
|
-
EstimatedPriceChanged: 'EstimatedPriceChanged',
|
|
274
|
-
EstimatedPeopleExpensesChanged: 'EstimatedPeopleExpensesChanged',
|
|
275
|
-
EstimatedOtherExpensesChanged: 'EstimatedOtherExpensesChanged',
|
|
276
|
-
Delay: 'Delay',
|
|
277
|
-
EstimatedWorkHours: 'EstimatedWorkHours',
|
|
278
|
-
TotalWorkHours: 'TotalWorkHours',
|
|
279
|
-
PeopleExpenses: 'PeopleExpenses',
|
|
280
|
-
OtherExpenses: 'OtherExpenses',
|
|
281
|
-
PeopleExpensesDefaultCurrency: 'PeopleExpensesDefaultCurrency',
|
|
282
|
-
OtherExpensesDefaultCurrency: 'OtherExpensesDefaultCurrency',
|
|
283
|
-
PeopleExpensesChanged: 'PeopleExpensesChanged',
|
|
284
|
-
OtherExpensesChanged: 'OtherExpensesChanged',
|
|
285
|
-
Price: 'Price',
|
|
286
|
-
PriceDefaultCurrency: 'PriceDefaultCurrency',
|
|
287
|
-
Profit: 'Profit',
|
|
288
|
-
ProfitDefaultCurrency: 'ProfitDefaultCurrency',
|
|
289
|
-
Margin: 'Margin',
|
|
290
|
-
PriceChanged: 'PriceChanged',
|
|
291
|
-
SuperiorProject: 'SuperiorProject',
|
|
292
|
-
Customer: 'Customer',
|
|
293
|
-
ContactPerson: 'ContactPerson',
|
|
294
|
-
Users: 'Users',
|
|
295
|
-
ProjectManager: 'ProjectManager',
|
|
296
|
-
InvoicePaymentDate: 'InvoicePaymentDate',
|
|
297
|
-
PaymentMaturity: 'PaymentMaturity',
|
|
298
|
-
InvoiceIssueDate: 'InvoiceIssueDate',
|
|
299
|
-
LicensesCount: 'LicensesCount',
|
|
300
|
-
LicensePrice: 'LicensePrice',
|
|
301
|
-
LicensePriceDefaultCurrency: 'LicensePriceDefaultCurrency',
|
|
302
|
-
NextStep: 'NextStep',
|
|
303
|
-
LastActivity: 'LastActivity',
|
|
304
|
-
IsPrivate: 'Private',
|
|
305
|
-
LicensePriceChanged: 'LicensePriceChanged',
|
|
306
|
-
Note: 'Note',
|
|
307
|
-
};
|
|
308
|
-
FieldNames.Tasks = {
|
|
309
|
-
FileAs: 'FileAs',
|
|
310
|
-
Subject: 'Subject',
|
|
311
|
-
RootItem: 'RootItem',
|
|
312
|
-
SuperiorItem: 'SuperiorItem',
|
|
313
|
-
Company: 'Company',
|
|
314
|
-
Contact: 'Contact',
|
|
315
|
-
StartDate: 'StartDate',
|
|
316
|
-
DueDate: 'DueDate',
|
|
317
|
-
Reminder: 'Reminder',
|
|
318
|
-
ReminderDate: 'ReminderDate',
|
|
319
|
-
ImportanceEn: 'ImportanceEn',
|
|
320
|
-
IsCompleted: 'Complete',
|
|
321
|
-
PercentComplete: 'PercentComplete',
|
|
322
|
-
PercentCompleteDecimal: 'PercentCompleteDecimal',
|
|
323
|
-
CompletedDate: 'CompletedDate',
|
|
324
|
-
Solver: 'Solver',
|
|
325
|
-
Delegator: 'Delegator',
|
|
326
|
-
Level: 'Level',
|
|
327
|
-
IsPrivate: 'Private',
|
|
328
|
-
ActualWorkHours: 'ActualWorkHours',
|
|
329
|
-
TotalWorkHours: 'TotalWorkHours',
|
|
330
|
-
Body: 'Body',
|
|
331
|
-
TypeEn: 'TypeEn',
|
|
332
|
-
StateEn: 'StateEn',
|
|
333
|
-
};
|
|
334
|
-
FieldNames.Training = {
|
|
335
|
-
TitleEn: 'TitleEn'
|
|
336
|
-
};
|
|
337
|
-
FieldNames.WorkReports = {
|
|
338
|
-
Task: 'Task',
|
|
339
|
-
ProjectName: 'ProjectName',
|
|
340
|
-
UserName: 'UserName',
|
|
341
|
-
Subject: 'Subject',
|
|
342
|
-
Date: 'Date',
|
|
343
|
-
FromTime: 'FromTime',
|
|
344
|
-
ToTime: 'ToTime',
|
|
345
|
-
Overtime: 'Overtime',
|
|
346
|
-
Month: 'Month',
|
|
347
|
-
Year: 'Year',
|
|
348
|
-
IsPrivate: 'Private',
|
|
349
|
-
Note: 'Note',
|
|
350
|
-
Duration: 'Duration',
|
|
351
|
-
WorkReportEn: 'WorkReportEn',
|
|
352
|
-
StateEn: 'StateEn',
|
|
353
|
-
};
|
|
354
|
-
FieldNames.Users = {
|
|
355
|
-
ProfilePicture: 'ProfilePicture',
|
|
356
|
-
UserName: 'UserName',
|
|
357
|
-
JobTitle: 'JobTitle',
|
|
358
|
-
IDCardNumber: 'IDCardNumber',
|
|
359
|
-
Birthdate: 'Birthdate',
|
|
360
|
-
BirthPlace: 'BirthPlace',
|
|
361
|
-
PersonalIdentificationNumber: 'PersonalIdentificationNumber',
|
|
362
|
-
Active: 'Active',
|
|
363
|
-
FamilyStatusEn: 'FamilyStatusEn',
|
|
364
|
-
HomeAddressStreet: 'HomeAddressStreet',
|
|
365
|
-
HomeAddressCity: 'HomeAddressCity',
|
|
366
|
-
HomeAddressPostalCode: 'HomeAddressPostalCode',
|
|
367
|
-
HomeAddressCountryEn: 'HomeAddressCountryEn',
|
|
368
|
-
HomeAddressState: 'HomeAddressState',
|
|
369
|
-
HomeAddressPOBox: 'HomeAddressPOBox',
|
|
370
|
-
BankAccount: 'BankAccount',
|
|
371
|
-
BusinessPhoneNumber: 'BusinessPhoneNumber',
|
|
372
|
-
MobilePhoneNumber: 'MobilePhoneNumber',
|
|
373
|
-
Email1Address: 'Email1Address',
|
|
374
|
-
Email2Address: 'Email2Address',
|
|
375
|
-
ICQ: 'ICQ',
|
|
376
|
-
MSN: 'MSN',
|
|
377
|
-
Skype: 'Skype',
|
|
378
|
-
IdentificationNumber: 'IdentificationNumber',
|
|
379
|
-
HealthInsurance: 'HealthInsurance',
|
|
380
|
-
HolidayLength: 'HolidayLength',
|
|
381
|
-
RemainingDaysOfHoliday: 'RemainingDaysOfHoliday',
|
|
382
|
-
SalaryDateEn: 'SalaryDateEn',
|
|
383
|
-
Supervisor: 'Supervisor',
|
|
384
|
-
TravelDistance: 'TravelDistance',
|
|
385
|
-
TimeAccessibility: 'TimeAccessibility',
|
|
386
|
-
TransportMode: 'TransportMode',
|
|
387
|
-
WorkdayStartTime: 'WorkdayStartTime',
|
|
388
|
-
Note: 'Note',
|
|
389
|
-
IsSystem: 'IsSystem',
|
|
390
|
-
};
|
|
391
|
-
FieldNames.allTypeEnNames = ['TypeEn', FieldNames.Documents.DocTypeEn, FieldNames.WorkReports.WorkReportEn, 'TitleEn'];
|
|
392
|
-
FieldNames.getFolderFileAs = function (folderName) {
|
|
393
|
-
switch (folderName) {
|
|
394
|
-
case FolderNames_1.FolderNames.leads:
|
|
395
|
-
return FieldNames.Common.FileAs;
|
|
396
|
-
case FolderNames_1.FolderNames.projects:
|
|
397
|
-
return FieldNames.Projects.ProjectName;
|
|
398
|
-
case FolderNames_1.FolderNames.documents:
|
|
399
|
-
return FieldNames.Documents.DocName;
|
|
400
|
-
case FolderNames_1.FolderNames.companies:
|
|
401
|
-
return FieldNames.Companies.CompanyName;
|
|
402
|
-
case FolderNames_1.FolderNames.contacts:
|
|
403
|
-
return FieldNames.Common.FileAs;
|
|
404
|
-
case FolderNames_1.FolderNames.users:
|
|
405
|
-
return FieldNames.Common.FileAs;
|
|
406
|
-
case FolderNames_1.FolderNames.emails:
|
|
407
|
-
return FieldNames.Emails.Subject;
|
|
408
|
-
case FolderNames_1.FolderNames.journal:
|
|
409
|
-
return FieldNames.Journal.FileAs;
|
|
410
|
-
case FolderNames_1.FolderNames.tasks:
|
|
411
|
-
return FieldNames.Tasks.Subject;
|
|
412
|
-
case FolderNames_1.FolderNames.workReports:
|
|
413
|
-
return FieldNames.WorkReports.Subject;
|
|
414
|
-
case FolderNames_1.FolderNames.vacation:
|
|
415
|
-
return FieldNames.Vacation.TypeEn;
|
|
416
|
-
case FolderNames_1.FolderNames.carts:
|
|
417
|
-
return FieldNames.Common.FileAs;
|
|
418
|
-
case FolderNames_1.FolderNames.goods:
|
|
419
|
-
return FieldNames.Common.FileAs;
|
|
420
|
-
default:
|
|
421
|
-
console.warn("FileAs col name not defined for folderName ".concat(folderName));
|
|
422
|
-
return FieldNames.Common.FileAs;
|
|
423
|
-
}
|
|
424
|
-
};
|
|
425
|
-
return FieldNames;
|
|
426
|
-
}());
|
|
427
|
-
exports.default = FieldNames;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var FolderNames_1 = require("./FolderNames");
|
|
4
|
+
var FieldNames = /** @class */ (function () {
|
|
5
|
+
function FieldNames() {
|
|
6
|
+
}
|
|
7
|
+
FieldNames.Common = {
|
|
8
|
+
CreatedByGUID: 'CreatedByGUID',
|
|
9
|
+
CurrencyEn: 'CurrencyEn',
|
|
10
|
+
DefaultCurrencySuffix: 'DefaultCurrency',
|
|
11
|
+
FileAs: 'FileAs',
|
|
12
|
+
ItemCreated: 'ItemCreated',
|
|
13
|
+
ItemChanged: 'ItemChanged',
|
|
14
|
+
ItemGUID: 'ItemGUID',
|
|
15
|
+
ItemVersion: 'ItemVersion',
|
|
16
|
+
ModifiedByGUID: 'ModifiedByGUID',
|
|
17
|
+
OwnerGUID: 'OwnerGUID',
|
|
18
|
+
ParentCurrencySuffix: 'ParentCurrency',
|
|
19
|
+
};
|
|
20
|
+
FieldNames.Calendar = {
|
|
21
|
+
EndDate: 'EndDate',
|
|
22
|
+
Note: 'Note',
|
|
23
|
+
};
|
|
24
|
+
FieldNames.Carts = {
|
|
25
|
+
SuperiorItem: 'SuperiorItem',
|
|
26
|
+
SuperiorCompany: 'SuperiorCompany',
|
|
27
|
+
SuperiorContact: 'SuperiorContact',
|
|
28
|
+
TypeEn: 'TypeEn',
|
|
29
|
+
StateEn: 'StateEn',
|
|
30
|
+
};
|
|
31
|
+
FieldNames.Companies = {
|
|
32
|
+
ID: 'ID',
|
|
33
|
+
CompanyName: 'CompanyName',
|
|
34
|
+
Department: 'Department',
|
|
35
|
+
AccountNumber: 'AccountNumber',
|
|
36
|
+
IdentificationNumber: 'IdentificationNumber',
|
|
37
|
+
VatNumber: 'VatNumber',
|
|
38
|
+
Sales: 'Reversal',
|
|
39
|
+
EmployeesCount: 'EmployeesCount',
|
|
40
|
+
Purchaser: 'Purchaser',
|
|
41
|
+
Suppliers: 'Suppliers',
|
|
42
|
+
Competitor: 'Competitor',
|
|
43
|
+
Address1Street: 'Address1Street',
|
|
44
|
+
Address1City: 'Address1City',
|
|
45
|
+
Address1PostalCode: 'Address1PostalCode',
|
|
46
|
+
Address1CountryEn: 'Address1CountryEn',
|
|
47
|
+
Address1State: 'Address1State',
|
|
48
|
+
Address1POBox: 'Address1POBox',
|
|
49
|
+
Address2Street: 'Address2Street',
|
|
50
|
+
Address2City: 'Address2City',
|
|
51
|
+
Address2PostalCode: 'Address2PostalCode',
|
|
52
|
+
Address2CountryEn: 'Address2CountryEn',
|
|
53
|
+
Address2State: 'Address2State',
|
|
54
|
+
Address2POBox: 'Address2POBox',
|
|
55
|
+
Address3Street: 'Address3Street',
|
|
56
|
+
Address3City: 'Address3City',
|
|
57
|
+
Address3PostalCode: 'Address3PostalCode',
|
|
58
|
+
Address3CountryEn: 'Address3CountryEn',
|
|
59
|
+
Address3State: 'Address3State',
|
|
60
|
+
Address3POBox: 'Address3POBox',
|
|
61
|
+
InvoiceAddress: 'InvoiceAddress',
|
|
62
|
+
PostalAddress: 'PostalAddress',
|
|
63
|
+
Phone: 'Phone',
|
|
64
|
+
Mobile: 'Mobile',
|
|
65
|
+
Fax: 'Fax',
|
|
66
|
+
WebPage: 'WebPage',
|
|
67
|
+
Email: 'Email',
|
|
68
|
+
ICQ: 'ICQ',
|
|
69
|
+
MSN: 'MSN',
|
|
70
|
+
Skype: 'Skype',
|
|
71
|
+
ImportanceEn: 'ImportanceEn',
|
|
72
|
+
FirstContactEn: 'FirstContactEn',
|
|
73
|
+
LineOfBusiness: 'LineOfBusiness',
|
|
74
|
+
EmailOptOut: 'EmailOptOut',
|
|
75
|
+
MailingListOther: 'MailingListOther',
|
|
76
|
+
MailingListOtherValue: 'MailingListOtherValue',
|
|
77
|
+
Note: 'Note',
|
|
78
|
+
IsPrivate: 'IsPrivate',
|
|
79
|
+
NextStep: 'NextStep',
|
|
80
|
+
LastActivity: 'LastActivity',
|
|
81
|
+
AdditionalDiscount: 'AdditionalDiscount',
|
|
82
|
+
};
|
|
83
|
+
FieldNames.Contacts = {
|
|
84
|
+
ProfilePicture: 'ProfilePicture',
|
|
85
|
+
Title: 'Title',
|
|
86
|
+
Email1Address: 'Email1Address',
|
|
87
|
+
Email2Address: 'Email2Address',
|
|
88
|
+
Email3Address: 'Email3Address',
|
|
89
|
+
DoNotSendNewsletter: 'DoNotSendNewsletter',
|
|
90
|
+
ImportanceEn: 'ImportanceEn',
|
|
91
|
+
PrefixEn: 'PrefixEn',
|
|
92
|
+
FirstName: 'FirstName',
|
|
93
|
+
MiddleName: 'MiddleName',
|
|
94
|
+
LastName: 'LastName',
|
|
95
|
+
SuffixEn: 'SuffixEn',
|
|
96
|
+
BusinessAddressStreet: 'BusinessAddressStreet',
|
|
97
|
+
BusinessAddressCity: 'BusinessAddressCity',
|
|
98
|
+
BusinessAddressPostalCode: 'BusinessAddressPostalCode',
|
|
99
|
+
BusinessAddressCountryEn: 'BusinessAddressCountryEn',
|
|
100
|
+
BusinessAddressState: 'BusinessAddressState',
|
|
101
|
+
BusinessAddressPoBox: 'BusinessAddressPOBox',
|
|
102
|
+
HomeAddressStreet: 'HomeAddressStreet',
|
|
103
|
+
HomeAddressCity: 'HomeAddressCity',
|
|
104
|
+
HomeAddressPostalCode: 'HomeAddressPostalCode',
|
|
105
|
+
HomeAddressCountryEn: 'HomeAddressCountryEn',
|
|
106
|
+
HomeAddressState: 'HomeAddressState',
|
|
107
|
+
HomeAddressPOBox: 'HomeAddressPOBox',
|
|
108
|
+
OtherAddressStreet: 'OtherAddressStreet',
|
|
109
|
+
OtherAddressCity: 'OtherAddressCity',
|
|
110
|
+
OtherAddressPostalCode: 'OtherAddressPostalCode',
|
|
111
|
+
OtherAddressCountryEn: 'OtherAddressCountryEn',
|
|
112
|
+
OtherAddressState: 'OtherAddressState',
|
|
113
|
+
OtherAddressPOBox: 'OtherAddressPOBox',
|
|
114
|
+
BusinessPhoneNumber: 'TelephoneNumber1',
|
|
115
|
+
BusinessPhoneNumber2: 'TelephoneNumber5',
|
|
116
|
+
BusinessFaxNumber: 'TelephoneNumber6',
|
|
117
|
+
MobilePhoneNumber: 'TelephoneNumber3',
|
|
118
|
+
HomePhoneNumber: 'TelephoneNumber2',
|
|
119
|
+
OtherPhoneNumber: 'TelephoneNumber4',
|
|
120
|
+
ICQ: 'ICQ',
|
|
121
|
+
MSN: 'MSN',
|
|
122
|
+
Skype: 'Skype',
|
|
123
|
+
WebPage: 'WebPage',
|
|
124
|
+
Note: 'Note',
|
|
125
|
+
Department: 'Department',
|
|
126
|
+
Company: 'Company',
|
|
127
|
+
IsPrivate: 'Private',
|
|
128
|
+
NextStep: 'NextStep',
|
|
129
|
+
LastActivity: 'LastActivity',
|
|
130
|
+
};
|
|
131
|
+
FieldNames.Leads = {
|
|
132
|
+
ID: 'ID',
|
|
133
|
+
FileAs: 'FileAs',
|
|
134
|
+
HumanID: 'HID',
|
|
135
|
+
Customer: 'Customer',
|
|
136
|
+
ContactPerson: 'ContactPerson',
|
|
137
|
+
Marketing: 'Marketing',
|
|
138
|
+
ReceiveDate: 'ReceiveDate',
|
|
139
|
+
Email: 'Email',
|
|
140
|
+
Phone: 'Phone',
|
|
141
|
+
Street: 'Street',
|
|
142
|
+
State: 'State',
|
|
143
|
+
CountryEn: 'CountryEn',
|
|
144
|
+
City: 'City',
|
|
145
|
+
POBox: 'POBox',
|
|
146
|
+
Zip: 'Zip',
|
|
147
|
+
Price: 'Price',
|
|
148
|
+
PriceChanged: 'PriceChanged',
|
|
149
|
+
CurrencyEn: FieldNames.Common.CurrencyEn,
|
|
150
|
+
EstimatedEnd: 'EstimatedEnd',
|
|
151
|
+
Probability: 'Probability',
|
|
152
|
+
LeadOriginEn: 'LeadOriginEn',
|
|
153
|
+
PriceDefaultCurrency: 'PriceDefaultCurrency',
|
|
154
|
+
EstimatedValue: 'EstimatedValue',
|
|
155
|
+
EstimatedValueDefaultCurrency: 'EstimatedValueDefaultCurrency',
|
|
156
|
+
Note: 'Note',
|
|
157
|
+
TypeEn: 'TypeEn',
|
|
158
|
+
StateEn: 'StateEn',
|
|
159
|
+
PrevStateEn: 'PrevStateEn',
|
|
160
|
+
IsPrivate: 'Private',
|
|
161
|
+
EmailOptOut: 'EmailOptOut',
|
|
162
|
+
NextStep: 'NextStep',
|
|
163
|
+
LastActivity: 'LastActivity',
|
|
164
|
+
ItemVersion: 'ItemVersion',
|
|
165
|
+
EstimatedRevenue: 'EstimatedRevenue',
|
|
166
|
+
EstimatedRevenueDefaultCurrency: 'EstimatedRevenueDefaultCurrency',
|
|
167
|
+
CompletedDate: 'CompletedDate',
|
|
168
|
+
};
|
|
169
|
+
FieldNames.Documents = {
|
|
170
|
+
FileAs: 'FileAs',
|
|
171
|
+
DocName: 'DocName',
|
|
172
|
+
Preview: 'Preview',
|
|
173
|
+
PreviewWidth: 'PreviewWidth',
|
|
174
|
+
PreviewHeight: 'PreviewHeight',
|
|
175
|
+
DocTypeEn: 'DocTypeEn',
|
|
176
|
+
StateEn: 'StateEn',
|
|
177
|
+
ImportanceEn: 'ImportanceEn',
|
|
178
|
+
SuperiorItem: 'SuperiorItem',
|
|
179
|
+
SuperiorCompany: 'Company',
|
|
180
|
+
SuperiorContact: 'Contact',
|
|
181
|
+
DocSize: 'DocSize',
|
|
182
|
+
Extension: 'Extension',
|
|
183
|
+
CreationTime: 'CreationTime',
|
|
184
|
+
LastWriteTime: 'LastWriteTime',
|
|
185
|
+
IsPrivate: 'Private',
|
|
186
|
+
Note: 'Note',
|
|
187
|
+
};
|
|
188
|
+
FieldNames.Emails = {
|
|
189
|
+
To: 'To',
|
|
190
|
+
From: 'SenderEmailAddress',
|
|
191
|
+
Cc: 'Cc',
|
|
192
|
+
Subject: 'Subject',
|
|
193
|
+
ImportanceEn: 'ImportanceEn',
|
|
194
|
+
SuperiorItem: 'SuperiorItem',
|
|
195
|
+
SentOn: 'SentOn',
|
|
196
|
+
ReceivedTime: 'ReceivedTime',
|
|
197
|
+
FileSize: 'FileSize',
|
|
198
|
+
AttachmentsCount: 'AttachmentsCount',
|
|
199
|
+
Note: 'Note',
|
|
200
|
+
};
|
|
201
|
+
FieldNames.Goods = {
|
|
202
|
+
Code: 'Code',
|
|
203
|
+
Structure: 'Structure',
|
|
204
|
+
Note: 'Note',
|
|
205
|
+
Description: 'Description'
|
|
206
|
+
};
|
|
207
|
+
FieldNames.Journal = {
|
|
208
|
+
FileAs: 'FileAs',
|
|
209
|
+
Subject: 'Subject',
|
|
210
|
+
TypeEn: 'TypeEn',
|
|
211
|
+
StateEn: 'StateEn',
|
|
212
|
+
ImportanceEn: 'ImportanceEn',
|
|
213
|
+
EventStart: 'EventStart',
|
|
214
|
+
EventEnd: 'EventEnd',
|
|
215
|
+
SuperiorItem: 'SuperiorItem',
|
|
216
|
+
Company: 'Company',
|
|
217
|
+
Contact: 'Contact',
|
|
218
|
+
Marketing: 'Marketing',
|
|
219
|
+
IsSystem: 'System',
|
|
220
|
+
IsPrivate: 'Private',
|
|
221
|
+
Note: 'Note',
|
|
222
|
+
Phone: 'Phone',
|
|
223
|
+
};
|
|
224
|
+
FieldNames.Vacation = {
|
|
225
|
+
StartDate: 'StartDate',
|
|
226
|
+
EndDate: 'EndDate',
|
|
227
|
+
User: 'User',
|
|
228
|
+
Duration: 'Duration',
|
|
229
|
+
Place: 'Place',
|
|
230
|
+
Note: 'Note',
|
|
231
|
+
AllDay: 'AllDay',
|
|
232
|
+
TypeEn: 'TypeEn',
|
|
233
|
+
StateEn: 'StateEn',
|
|
234
|
+
IsPrivate: 'Private',
|
|
235
|
+
};
|
|
236
|
+
FieldNames.Marketing = {
|
|
237
|
+
HumanID: 'HumanID',
|
|
238
|
+
EstimatedStart: 'EstimatedStart',
|
|
239
|
+
EstimatedEnd: 'EstimatedEnd',
|
|
240
|
+
RealStart: 'RealStart',
|
|
241
|
+
RealEnd: 'RealEnd',
|
|
242
|
+
TargetGroup: 'TargetGroup',
|
|
243
|
+
EmailsSent: 'EmailsSent',
|
|
244
|
+
EmailsDelivered: 'EmailsDelivered',
|
|
245
|
+
EmailsViewed: 'EmailsViewed',
|
|
246
|
+
PeopleUnsubscribed: 'PeopleUnsubscribed',
|
|
247
|
+
FinalRevenues: 'FinalRevenues',
|
|
248
|
+
TypeEn: 'TypeEn',
|
|
249
|
+
StateEn: 'StateEn',
|
|
250
|
+
};
|
|
251
|
+
FieldNames.Projects = {
|
|
252
|
+
HumanID: 'HID',
|
|
253
|
+
FileAs: 'FileAs',
|
|
254
|
+
ProjectName: 'ProjectName',
|
|
255
|
+
ProjectOriginEn: 'ProjectOriginEn',
|
|
256
|
+
TypeEn: 'TypeEn',
|
|
257
|
+
StateEn: 'StateEn',
|
|
258
|
+
PaymentTypeEn: 'PaymentTypeEn',
|
|
259
|
+
ProjectStart: 'ProjectStart',
|
|
260
|
+
ProjectRealEnd: 'ProjectRealEnd',
|
|
261
|
+
EstimatedEnd: 'ProjectEnd',
|
|
262
|
+
CurrencyEn: FieldNames.Common.CurrencyEn,
|
|
263
|
+
DefaultCurrencyEn: 'DefaultCurrencyEn',
|
|
264
|
+
EstimatedMargin: 'EstimatedMargin',
|
|
265
|
+
EstimatedPeopleExpenses: 'EstimatedPeopleExpenses',
|
|
266
|
+
EstimatedPeopleExpensesDefaultCurrency: 'EstimatedPeopleExpensesDefaultCurrency',
|
|
267
|
+
EstimatedOtherExpenses: 'EstimatedOtherExpenses',
|
|
268
|
+
EstimatedOtherExpensesDefaultCurrency: 'EstimatedOtherExpensesDefaultCurrency',
|
|
269
|
+
EstimatedPrice: 'EstimatedPrice',
|
|
270
|
+
EstimatedPriceDefaultCurrency: 'EstimatedPriceDefaultCurrency',
|
|
271
|
+
EstimatedProfit: 'EstimatedProfit',
|
|
272
|
+
EstimatedProfitDefaultCurrency: 'EstimatedProfitDefaultCurrency',
|
|
273
|
+
EstimatedPriceChanged: 'EstimatedPriceChanged',
|
|
274
|
+
EstimatedPeopleExpensesChanged: 'EstimatedPeopleExpensesChanged',
|
|
275
|
+
EstimatedOtherExpensesChanged: 'EstimatedOtherExpensesChanged',
|
|
276
|
+
Delay: 'Delay',
|
|
277
|
+
EstimatedWorkHours: 'EstimatedWorkHours',
|
|
278
|
+
TotalWorkHours: 'TotalWorkHours',
|
|
279
|
+
PeopleExpenses: 'PeopleExpenses',
|
|
280
|
+
OtherExpenses: 'OtherExpenses',
|
|
281
|
+
PeopleExpensesDefaultCurrency: 'PeopleExpensesDefaultCurrency',
|
|
282
|
+
OtherExpensesDefaultCurrency: 'OtherExpensesDefaultCurrency',
|
|
283
|
+
PeopleExpensesChanged: 'PeopleExpensesChanged',
|
|
284
|
+
OtherExpensesChanged: 'OtherExpensesChanged',
|
|
285
|
+
Price: 'Price',
|
|
286
|
+
PriceDefaultCurrency: 'PriceDefaultCurrency',
|
|
287
|
+
Profit: 'Profit',
|
|
288
|
+
ProfitDefaultCurrency: 'ProfitDefaultCurrency',
|
|
289
|
+
Margin: 'Margin',
|
|
290
|
+
PriceChanged: 'PriceChanged',
|
|
291
|
+
SuperiorProject: 'SuperiorProject',
|
|
292
|
+
Customer: 'Customer',
|
|
293
|
+
ContactPerson: 'ContactPerson',
|
|
294
|
+
Users: 'Users',
|
|
295
|
+
ProjectManager: 'ProjectManager',
|
|
296
|
+
InvoicePaymentDate: 'InvoicePaymentDate',
|
|
297
|
+
PaymentMaturity: 'PaymentMaturity',
|
|
298
|
+
InvoiceIssueDate: 'InvoiceIssueDate',
|
|
299
|
+
LicensesCount: 'LicensesCount',
|
|
300
|
+
LicensePrice: 'LicensePrice',
|
|
301
|
+
LicensePriceDefaultCurrency: 'LicensePriceDefaultCurrency',
|
|
302
|
+
NextStep: 'NextStep',
|
|
303
|
+
LastActivity: 'LastActivity',
|
|
304
|
+
IsPrivate: 'Private',
|
|
305
|
+
LicensePriceChanged: 'LicensePriceChanged',
|
|
306
|
+
Note: 'Note',
|
|
307
|
+
};
|
|
308
|
+
FieldNames.Tasks = {
|
|
309
|
+
FileAs: 'FileAs',
|
|
310
|
+
Subject: 'Subject',
|
|
311
|
+
RootItem: 'RootItem',
|
|
312
|
+
SuperiorItem: 'SuperiorItem',
|
|
313
|
+
Company: 'Company',
|
|
314
|
+
Contact: 'Contact',
|
|
315
|
+
StartDate: 'StartDate',
|
|
316
|
+
DueDate: 'DueDate',
|
|
317
|
+
Reminder: 'Reminder',
|
|
318
|
+
ReminderDate: 'ReminderDate',
|
|
319
|
+
ImportanceEn: 'ImportanceEn',
|
|
320
|
+
IsCompleted: 'Complete',
|
|
321
|
+
PercentComplete: 'PercentComplete',
|
|
322
|
+
PercentCompleteDecimal: 'PercentCompleteDecimal',
|
|
323
|
+
CompletedDate: 'CompletedDate',
|
|
324
|
+
Solver: 'Solver',
|
|
325
|
+
Delegator: 'Delegator',
|
|
326
|
+
Level: 'Level',
|
|
327
|
+
IsPrivate: 'Private',
|
|
328
|
+
ActualWorkHours: 'ActualWorkHours',
|
|
329
|
+
TotalWorkHours: 'TotalWorkHours',
|
|
330
|
+
Body: 'Body',
|
|
331
|
+
TypeEn: 'TypeEn',
|
|
332
|
+
StateEn: 'StateEn',
|
|
333
|
+
};
|
|
334
|
+
FieldNames.Training = {
|
|
335
|
+
TitleEn: 'TitleEn'
|
|
336
|
+
};
|
|
337
|
+
FieldNames.WorkReports = {
|
|
338
|
+
Task: 'Task',
|
|
339
|
+
ProjectName: 'ProjectName',
|
|
340
|
+
UserName: 'UserName',
|
|
341
|
+
Subject: 'Subject',
|
|
342
|
+
Date: 'Date',
|
|
343
|
+
FromTime: 'FromTime',
|
|
344
|
+
ToTime: 'ToTime',
|
|
345
|
+
Overtime: 'Overtime',
|
|
346
|
+
Month: 'Month',
|
|
347
|
+
Year: 'Year',
|
|
348
|
+
IsPrivate: 'Private',
|
|
349
|
+
Note: 'Note',
|
|
350
|
+
Duration: 'Duration',
|
|
351
|
+
WorkReportEn: 'WorkReportEn',
|
|
352
|
+
StateEn: 'StateEn',
|
|
353
|
+
};
|
|
354
|
+
FieldNames.Users = {
|
|
355
|
+
ProfilePicture: 'ProfilePicture',
|
|
356
|
+
UserName: 'UserName',
|
|
357
|
+
JobTitle: 'JobTitle',
|
|
358
|
+
IDCardNumber: 'IDCardNumber',
|
|
359
|
+
Birthdate: 'Birthdate',
|
|
360
|
+
BirthPlace: 'BirthPlace',
|
|
361
|
+
PersonalIdentificationNumber: 'PersonalIdentificationNumber',
|
|
362
|
+
Active: 'Active',
|
|
363
|
+
FamilyStatusEn: 'FamilyStatusEn',
|
|
364
|
+
HomeAddressStreet: 'HomeAddressStreet',
|
|
365
|
+
HomeAddressCity: 'HomeAddressCity',
|
|
366
|
+
HomeAddressPostalCode: 'HomeAddressPostalCode',
|
|
367
|
+
HomeAddressCountryEn: 'HomeAddressCountryEn',
|
|
368
|
+
HomeAddressState: 'HomeAddressState',
|
|
369
|
+
HomeAddressPOBox: 'HomeAddressPOBox',
|
|
370
|
+
BankAccount: 'BankAccount',
|
|
371
|
+
BusinessPhoneNumber: 'BusinessPhoneNumber',
|
|
372
|
+
MobilePhoneNumber: 'MobilePhoneNumber',
|
|
373
|
+
Email1Address: 'Email1Address',
|
|
374
|
+
Email2Address: 'Email2Address',
|
|
375
|
+
ICQ: 'ICQ',
|
|
376
|
+
MSN: 'MSN',
|
|
377
|
+
Skype: 'Skype',
|
|
378
|
+
IdentificationNumber: 'IdentificationNumber',
|
|
379
|
+
HealthInsurance: 'HealthInsurance',
|
|
380
|
+
HolidayLength: 'HolidayLength',
|
|
381
|
+
RemainingDaysOfHoliday: 'RemainingDaysOfHoliday',
|
|
382
|
+
SalaryDateEn: 'SalaryDateEn',
|
|
383
|
+
Supervisor: 'Supervisor',
|
|
384
|
+
TravelDistance: 'TravelDistance',
|
|
385
|
+
TimeAccessibility: 'TimeAccessibility',
|
|
386
|
+
TransportMode: 'TransportMode',
|
|
387
|
+
WorkdayStartTime: 'WorkdayStartTime',
|
|
388
|
+
Note: 'Note',
|
|
389
|
+
IsSystem: 'IsSystem',
|
|
390
|
+
};
|
|
391
|
+
FieldNames.allTypeEnNames = ['TypeEn', FieldNames.Documents.DocTypeEn, FieldNames.WorkReports.WorkReportEn, 'TitleEn'];
|
|
392
|
+
FieldNames.getFolderFileAs = function (folderName) {
|
|
393
|
+
switch (folderName) {
|
|
394
|
+
case FolderNames_1.FolderNames.leads:
|
|
395
|
+
return FieldNames.Common.FileAs;
|
|
396
|
+
case FolderNames_1.FolderNames.projects:
|
|
397
|
+
return FieldNames.Projects.ProjectName;
|
|
398
|
+
case FolderNames_1.FolderNames.documents:
|
|
399
|
+
return FieldNames.Documents.DocName;
|
|
400
|
+
case FolderNames_1.FolderNames.companies:
|
|
401
|
+
return FieldNames.Companies.CompanyName;
|
|
402
|
+
case FolderNames_1.FolderNames.contacts:
|
|
403
|
+
return FieldNames.Common.FileAs;
|
|
404
|
+
case FolderNames_1.FolderNames.users:
|
|
405
|
+
return FieldNames.Common.FileAs;
|
|
406
|
+
case FolderNames_1.FolderNames.emails:
|
|
407
|
+
return FieldNames.Emails.Subject;
|
|
408
|
+
case FolderNames_1.FolderNames.journal:
|
|
409
|
+
return FieldNames.Journal.FileAs;
|
|
410
|
+
case FolderNames_1.FolderNames.tasks:
|
|
411
|
+
return FieldNames.Tasks.Subject;
|
|
412
|
+
case FolderNames_1.FolderNames.workReports:
|
|
413
|
+
return FieldNames.WorkReports.Subject;
|
|
414
|
+
case FolderNames_1.FolderNames.vacation:
|
|
415
|
+
return FieldNames.Vacation.TypeEn;
|
|
416
|
+
case FolderNames_1.FolderNames.carts:
|
|
417
|
+
return FieldNames.Common.FileAs;
|
|
418
|
+
case FolderNames_1.FolderNames.goods:
|
|
419
|
+
return FieldNames.Common.FileAs;
|
|
420
|
+
default:
|
|
421
|
+
console.warn("FileAs col name not defined for folderName ".concat(folderName));
|
|
422
|
+
return FieldNames.Common.FileAs;
|
|
423
|
+
}
|
|
424
|
+
};
|
|
425
|
+
return FieldNames;
|
|
426
|
+
}());
|
|
427
|
+
exports.default = FieldNames;
|