@eway-crm/connector 1.0.118 → 1.0.120

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