@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.
Files changed (195) 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/axios/AxiosInstance.d.ts +2 -0
  20. package/lib/axios/AxiosInstance.js +5 -0
  21. package/lib/constants/ActionEventTypes.d.ts +9 -9
  22. package/lib/constants/ActionEventTypes.js +14 -14
  23. package/lib/constants/ColumnPermissionRules.d.ts +14 -14
  24. package/lib/constants/ColumnPermissionRules.js +22 -24
  25. package/lib/constants/CompletionLevels.d.ts +6 -6
  26. package/lib/constants/CompletionLevels.js +11 -11
  27. package/lib/constants/CustomizationStatsItemKeys.d.ts +11 -11
  28. package/lib/constants/CustomizationStatsItemKeys.js +17 -17
  29. package/lib/constants/Edition.d.ts +6 -6
  30. package/lib/constants/Edition.js +10 -10
  31. package/lib/constants/EnumTypes.d.ts +32 -32
  32. package/lib/constants/EnumTypes.js +38 -38
  33. package/lib/constants/ExpirationReason.d.ts +7 -7
  34. package/lib/constants/ExpirationReason.js +10 -10
  35. package/lib/constants/Feature.d.ts +6 -6
  36. package/lib/constants/Feature.js +10 -10
  37. package/lib/constants/FieldNames.d.ts +389 -389
  38. package/lib/constants/FieldNames.js +427 -427
  39. package/lib/constants/FieldTypes.d.ts +15 -15
  40. package/lib/constants/FieldTypes.js +20 -20
  41. package/lib/constants/FolderNames.d.ts +80 -80
  42. package/lib/constants/FolderNames.js +87 -88
  43. package/lib/constants/Functionality.d.ts +54 -54
  44. package/lib/constants/Functionality.js +60 -60
  45. package/lib/constants/GlobalSettingsNames.d.ts +71 -71
  46. package/lib/constants/GlobalSettingsNames.js +76 -76
  47. package/lib/constants/LicenseKeyInvoiceSeverity.d.ts +8 -8
  48. package/lib/constants/LicenseKeyInvoiceSeverity.js +11 -11
  49. package/lib/constants/LicenseRestrictionKeys.d.ts +62 -62
  50. package/lib/constants/LicenseRestrictionKeys.js +68 -68
  51. package/lib/constants/RelationTypes.d.ts +11 -11
  52. package/lib/constants/RelationTypes.js +16 -16
  53. package/lib/data/EWItem.d.ts +12 -12
  54. package/lib/data/EWItem.js +91 -91
  55. package/lib/data/IApiAdditionalField.d.ts +21 -21
  56. package/lib/data/IApiAdditionalField.js +2 -2
  57. package/lib/data/IApiAvailableBundle.d.ts +4 -4
  58. package/lib/data/IApiAvailableBundle.js +2 -2
  59. package/lib/data/IApiAvailableVersionResponse.d.ts +9 -9
  60. package/lib/data/IApiAvailableVersionResponse.js +2 -2
  61. package/lib/data/IApiBooleanResponse.d.ts +4 -4
  62. package/lib/data/IApiBooleanResponse.js +2 -2
  63. package/lib/data/IApiCapacityAvailableBundle.d.ts +5 -5
  64. package/lib/data/IApiCapacityAvailableBundle.js +2 -2
  65. package/lib/data/IApiCart.d.ts +48 -48
  66. package/lib/data/IApiCart.js +8 -8
  67. package/lib/data/IApiColumn.d.ts +51 -51
  68. package/lib/data/IApiColumn.js +2 -2
  69. package/lib/data/IApiColumnPermission.d.ts +15 -15
  70. package/lib/data/IApiColumnPermission.js +2 -2
  71. package/lib/data/IApiCompany.d.ts +55 -55
  72. package/lib/data/IApiCompany.js +8 -8
  73. package/lib/data/IApiContact.d.ts +58 -58
  74. package/lib/data/IApiContact.js +8 -8
  75. package/lib/data/IApiCurrencyExchangeRate.d.ts +9 -9
  76. package/lib/data/IApiCurrencyExchangeRate.js +8 -8
  77. package/lib/data/IApiCustomizationStatsItem.d.ts +6 -6
  78. package/lib/data/IApiCustomizationStatsItem.js +2 -2
  79. package/lib/data/IApiDataResponse.d.ts +4 -4
  80. package/lib/data/IApiDataResponse.js +2 -2
  81. package/lib/data/IApiDatumResponse.d.ts +4 -4
  82. package/lib/data/IApiDatumResponse.js +2 -2
  83. package/lib/data/IApiDocument.d.ts +22 -22
  84. package/lib/data/IApiDocument.js +8 -8
  85. package/lib/data/IApiEmail.d.ts +26 -26
  86. package/lib/data/IApiEmail.js +8 -8
  87. package/lib/data/IApiEnumType.d.ts +26 -26
  88. package/lib/data/IApiEnumType.js +9 -9
  89. package/lib/data/IApiEnumValue.d.ts +18 -18
  90. package/lib/data/IApiEnumValue.js +2 -2
  91. package/lib/data/IApiEnumValuesRelation.d.ts +8 -8
  92. package/lib/data/IApiEnumValuesRelation.js +8 -8
  93. package/lib/data/IApiFeature.d.ts +5 -5
  94. package/lib/data/IApiFeature.js +2 -2
  95. package/lib/data/IApiFeaturesLicenseBundle.d.ts +10 -10
  96. package/lib/data/IApiFeaturesLicenseBundle.js +2 -2
  97. package/lib/data/IApiFlow.d.ts +9 -9
  98. package/lib/data/IApiFlow.js +8 -8
  99. package/lib/data/IApiGlobalSetting.d.ts +33 -33
  100. package/lib/data/IApiGlobalSetting.js +2 -2
  101. package/lib/data/IApiGoal.d.ts +22 -22
  102. package/lib/data/IApiGoal.js +8 -8
  103. package/lib/data/IApiGood.d.ts +26 -26
  104. package/lib/data/IApiGood.js +8 -8
  105. package/lib/data/IApiGoodInCart.d.ts +62 -62
  106. package/lib/data/IApiGoodInCart.js +8 -8
  107. package/lib/data/IApiGroup.d.ts +16 -16
  108. package/lib/data/IApiGroup.js +2 -2
  109. package/lib/data/IApiItemBase.d.ts +14 -14
  110. package/lib/data/IApiItemBase.js +2 -2
  111. package/lib/data/IApiItemIdentifier.d.ts +5 -5
  112. package/lib/data/IApiItemIdentifier.js +2 -2
  113. package/lib/data/IApiItemUsageStatus.d.ts +4 -4
  114. package/lib/data/IApiItemUsageStatus.js +2 -2
  115. package/lib/data/IApiJournal.d.ts +25 -25
  116. package/lib/data/IApiJournal.js +8 -8
  117. package/lib/data/IApiLead.d.ts +36 -36
  118. package/lib/data/IApiLead.js +8 -8
  119. package/lib/data/IApiLicense.d.ts +65 -65
  120. package/lib/data/IApiLicense.js +2 -2
  121. package/lib/data/IApiLicenseBundleBase.d.ts +6 -6
  122. package/lib/data/IApiLicenseBundleBase.js +2 -2
  123. package/lib/data/IApiLocalizedLicenseBundle.d.ts +4 -4
  124. package/lib/data/IApiLocalizedLicenseBundle.js +2 -2
  125. package/lib/data/IApiLoginResponse.d.ts +8 -8
  126. package/lib/data/IApiLoginResponse.js +2 -2
  127. package/lib/data/IApiMarketingCampaign.d.ts +32 -32
  128. package/lib/data/IApiMarketingCampaign.js +8 -8
  129. package/lib/data/IApiMarketingList.d.ts +17 -17
  130. package/lib/data/IApiMarketingList.js +8 -8
  131. package/lib/data/IApiModulePermission.d.ts +14 -14
  132. package/lib/data/IApiModulePermission.js +2 -2
  133. package/lib/data/IApiObjectType.d.ts +9 -9
  134. package/lib/data/IApiObjectType.js +2 -2
  135. package/lib/data/IApiPasswordStrength.d.ts +5 -5
  136. package/lib/data/IApiPasswordStrength.js +2 -2
  137. package/lib/data/IApiPayment.d.ts +9 -9
  138. package/lib/data/IApiPayment.js +8 -8
  139. package/lib/data/IApiProject.d.ts +59 -59
  140. package/lib/data/IApiProject.js +8 -8
  141. package/lib/data/IApiRecurrencePattern.d.ts +16 -16
  142. package/lib/data/IApiRecurrencePattern.js +8 -8
  143. package/lib/data/IApiResult.d.ts +4 -4
  144. package/lib/data/IApiResult.js +2 -2
  145. package/lib/data/IApiSaveResponse.d.ts +4 -4
  146. package/lib/data/IApiSaveResponse.js +2 -2
  147. package/lib/data/IApiTask.d.ts +34 -34
  148. package/lib/data/IApiTask.js +8 -8
  149. package/lib/data/IApiUser.d.ts +22 -22
  150. package/lib/data/IApiUser.js +2 -2
  151. package/lib/data/IApiUserSetting.d.ts +6 -6
  152. package/lib/data/IApiUserSetting.js +2 -2
  153. package/lib/data/IApiWebServiceTaskStatus.d.ts +10 -10
  154. package/lib/data/IApiWebServiceTaskStatus.js +2 -2
  155. package/lib/data/IApiWorkReport.d.ts +36 -36
  156. package/lib/data/IApiWorkReport.js +8 -8
  157. package/lib/data/IApiWorkflowActionDerivedItem.d.ts +21 -21
  158. package/lib/data/IApiWorkflowActionDerivedItem.js +2 -2
  159. package/lib/data/IApiWorkflowModel.d.ts +8 -8
  160. package/lib/data/IApiWorkflowModel.js +2 -2
  161. package/lib/data/query/IApiQuery.d.ts +42 -42
  162. package/lib/data/query/IApiQuery.js +2 -2
  163. package/lib/data/query/IApiQueryFilters.d.ts +43 -43
  164. package/lib/data/query/IApiQueryFilters.js +2 -2
  165. package/lib/data/workflowActions/IApiAction.d.ts +106 -106
  166. package/lib/data/workflowActions/IApiAction.js +2 -2
  167. package/lib/exceptions/HttpRequestError.d.ts +7 -7
  168. package/lib/exceptions/HttpRequestError.js +29 -29
  169. package/lib/exceptions/WebServiceError.d.ts +5 -5
  170. package/lib/exceptions/WebServiceError.js +29 -29
  171. package/lib/helpers/ErrorHelper.d.ts +4 -4
  172. package/lib/helpers/ErrorHelper.js +21 -21
  173. package/lib/helpers/OAuthHelper.d.ts +8 -8
  174. package/lib/helpers/OAuthHelper.js +57 -60
  175. package/lib/helpers/VersionHelperBase.d.ts +5 -5
  176. package/lib/helpers/VersionHelperBase.js +21 -21
  177. package/lib/index.d.ts +85 -85
  178. package/lib/index.js +124 -124
  179. package/lib/interfaces/IEWJwtPayload.d.ts +4 -4
  180. package/lib/interfaces/IEWJwtPayload.js +2 -2
  181. package/lib/interfaces/IItemPreview.d.ts +5 -5
  182. package/lib/interfaces/IItemPreview.js +2 -2
  183. package/lib/interfaces/ITokenData.d.ts +9 -9
  184. package/lib/interfaces/ITokenData.js +2 -2
  185. package/lib/interfaces/ITranslatableString.d.ts +8 -8
  186. package/lib/interfaces/ITranslatableString.js +2 -2
  187. package/lib/interfaces/TNumericValidatorType.d.ts +1 -1
  188. package/lib/interfaces/TNumericValidatorType.js +2 -2
  189. package/lib/tokenizedServices/CommonDataConnection.d.ts +9 -9
  190. package/lib/tokenizedServices/CommonDataConnection.js +22 -22
  191. package/lib/tokenizedServices/ITokenizedApiResult.d.ts +4 -4
  192. package/lib/tokenizedServices/ITokenizedApiResult.js +2 -2
  193. package/lib/tokenizedServices/TokenizedServiceConnection.d.ts +25 -25
  194. package/lib/tokenizedServices/TokenizedServiceConnection.js +130 -130
  195. package/package.json +10 -10
@@ -1,68 +1,68 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var LicenseRestrictionKeys = /** @class */ (function () {
4
- function LicenseRestrictionKeys() {
5
- }
6
- LicenseRestrictionKeys.contactsSynchronizationWithOutlook = 'ContactsSynchronizationWithOutlook';
7
- LicenseRestrictionKeys.contactsSynchronizationWithAndroid = 'ContactsSynchronizationWithAndroid';
8
- LicenseRestrictionKeys.documentsRevisions = 'DocumentsRevisions';
9
- LicenseRestrictionKeys.wordAddin = 'WordAddin';
10
- LicenseRestrictionKeys.excelAddin = 'ExcelAddin';
11
- LicenseRestrictionKeys.tasksReminders = 'TasksReminders';
12
- LicenseRestrictionKeys.tasksRecurrentTasks = 'TasksRecurrentTasks';
13
- LicenseRestrictionKeys.tasksSubtasks = 'TasksSubtasks';
14
- LicenseRestrictionKeys.tasksSynchronizationWithOutlook = 'TasksSynchronizationWithOutlook';
15
- LicenseRestrictionKeys.calendarSynchronizationWithOutlook = 'CalendarSynchronizationWithOutlook';
16
- LicenseRestrictionKeys.emailsManualTracking = 'EmailsManualTracking';
17
- LicenseRestrictionKeys.emailsAutomaticTracking = 'EmailsAutomaticTracking';
18
- LicenseRestrictionKeys.convertEmailToContact = 'ConvertEmailToContact';
19
- LicenseRestrictionKeys.convertEmailToDeal = 'ConvertEmailToDeal';
20
- LicenseRestrictionKeys.convertEmailToProject = 'ConvertEmailToProject';
21
- LicenseRestrictionKeys.convertEmailToTask = 'ConvertEmailToTask';
22
- LicenseRestrictionKeys.gravatarIntegration = 'GravatarIntegration';
23
- LicenseRestrictionKeys.logoboxIntegration = 'LogoboxIntegration';
24
- LicenseRestrictionKeys.companiesBussinesRegisterApiIntegration = 'CompaniesBussinesRegisterApiIntegration';
25
- LicenseRestrictionKeys.duplicityChecker = 'DuplicityChecker';
26
- LicenseRestrictionKeys.nextStepAndLastActivityCustomization = 'NextStepAndLastActivityCustomization';
27
- LicenseRestrictionKeys.subProjects = 'SubProjects';
28
- LicenseRestrictionKeys.resourceAndPlanning = 'ResourceAndPlanning';
29
- LicenseRestrictionKeys.professionalEmailCampaigns = 'ProfessionalEmailCampaigns';
30
- LicenseRestrictionKeys.professionalEmailCampaignsAdvancedStatistics = 'ProfessionalEmailCampaignsAdvancedStatistics';
31
- LicenseRestrictionKeys.wordEmailMerge = 'WordEmailMerge';
32
- LicenseRestrictionKeys.printLabels = 'PrintLabels';
33
- LicenseRestrictionKeys.printEnvelopes = 'PrintEnvelopes';
34
- LicenseRestrictionKeys.userViews = 'UserViews';
35
- LicenseRestrictionKeys.sharedUserViews = 'SharedUserViews';
36
- LicenseRestrictionKeys.gridRowSummary = 'GridRowSummary';
37
- LicenseRestrictionKeys.gridConditionalFormating = 'GridConditionalFormating';
38
- LicenseRestrictionKeys.multipleCurrencies = 'MultipleCurrencies';
39
- LicenseRestrictionKeys.historyTracking = 'HistoryTracking';
40
- LicenseRestrictionKeys.privateItems = 'PrivateItems';
41
- LicenseRestrictionKeys.itemTypes = 'ItemTypes';
42
- LicenseRestrictionKeys.formLayoutCustomization = 'FormLayoutCustomization';
43
- LicenseRestrictionKeys.workflowBasicDefinitions = 'WorkflowBasicDefinitions';
44
- LicenseRestrictionKeys.workflowAdvancedDefinitions = 'WorkflowAdvancedDefinitions';
45
- LicenseRestrictionKeys.workflowAdvancedDefinitionsRules = 'WorkflowAdvancedDefinitionsRules';
46
- LicenseRestrictionKeys.workflowAdvancedDefinitionsActions = 'WorkflowAdvancedDefinitionsActions';
47
- LicenseRestrictionKeys.workflowGroupLevelActions = 'WorkflowGroupLevelActions';
48
- LicenseRestrictionKeys.customFields = 'CustomFields';
49
- LicenseRestrictionKeys.importantFields = 'ImportantFields';
50
- LicenseRestrictionKeys.mandatoryFields = 'MandatoryFields';
51
- LicenseRestrictionKeys.uniqueFields = 'UniqueFields';
52
- LicenseRestrictionKeys.readOnlyFields = 'ReadOnlyFields';
53
- LicenseRestrictionKeys.transformationCustomTemplates = 'TransformationCustomTemplates';
54
- LicenseRestrictionKeys.userRoles = 'UserRoles';
55
- LicenseRestrictionKeys.modulePermissions = 'ModulePermissions';
56
- LicenseRestrictionKeys.columnPermissions = 'ColumnPermissions';
57
- LicenseRestrictionKeys.commonDataAPI = 'CommonDataAPI';
58
- LicenseRestrictionKeys.eWayCrmAPI = 'eWayCrmAPI';
59
- LicenseRestrictionKeys.threeCXIntegration = 'ThreeCXIntegration';
60
- LicenseRestrictionKeys.tapiIntegration = 'TapiIntegration';
61
- LicenseRestrictionKeys.pohodaIntegration = 'PohodaIntegration';
62
- LicenseRestrictionKeys.pohodaSynchronizationIntervalCustomization = 'PohodaSynchronizationIntervalCustomization';
63
- LicenseRestrictionKeys.pohodaSynchronizationFieldMappingCustomization = 'PohodaSynchronizationFieldMappingCustomization';
64
- LicenseRestrictionKeys.quickBooksIntegration = 'QuickBooksIntegration';
65
- LicenseRestrictionKeys.shareByTeams = "ShareByTeams";
66
- return LicenseRestrictionKeys;
67
- }());
68
- exports.default = LicenseRestrictionKeys;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var LicenseRestrictionKeys = /** @class */ (function () {
4
+ function LicenseRestrictionKeys() {
5
+ }
6
+ LicenseRestrictionKeys.contactsSynchronizationWithOutlook = 'ContactsSynchronizationWithOutlook';
7
+ LicenseRestrictionKeys.contactsSynchronizationWithAndroid = 'ContactsSynchronizationWithAndroid';
8
+ LicenseRestrictionKeys.documentsRevisions = 'DocumentsRevisions';
9
+ LicenseRestrictionKeys.wordAddin = 'WordAddin';
10
+ LicenseRestrictionKeys.excelAddin = 'ExcelAddin';
11
+ LicenseRestrictionKeys.tasksReminders = 'TasksReminders';
12
+ LicenseRestrictionKeys.tasksRecurrentTasks = 'TasksRecurrentTasks';
13
+ LicenseRestrictionKeys.tasksSubtasks = 'TasksSubtasks';
14
+ LicenseRestrictionKeys.tasksSynchronizationWithOutlook = 'TasksSynchronizationWithOutlook';
15
+ LicenseRestrictionKeys.calendarSynchronizationWithOutlook = 'CalendarSynchronizationWithOutlook';
16
+ LicenseRestrictionKeys.emailsManualTracking = 'EmailsManualTracking';
17
+ LicenseRestrictionKeys.emailsAutomaticTracking = 'EmailsAutomaticTracking';
18
+ LicenseRestrictionKeys.convertEmailToContact = 'ConvertEmailToContact';
19
+ LicenseRestrictionKeys.convertEmailToDeal = 'ConvertEmailToDeal';
20
+ LicenseRestrictionKeys.convertEmailToProject = 'ConvertEmailToProject';
21
+ LicenseRestrictionKeys.convertEmailToTask = 'ConvertEmailToTask';
22
+ LicenseRestrictionKeys.gravatarIntegration = 'GravatarIntegration';
23
+ LicenseRestrictionKeys.logoboxIntegration = 'LogoboxIntegration';
24
+ LicenseRestrictionKeys.companiesBussinesRegisterApiIntegration = 'CompaniesBussinesRegisterApiIntegration';
25
+ LicenseRestrictionKeys.duplicityChecker = 'DuplicityChecker';
26
+ LicenseRestrictionKeys.nextStepAndLastActivityCustomization = 'NextStepAndLastActivityCustomization';
27
+ LicenseRestrictionKeys.subProjects = 'SubProjects';
28
+ LicenseRestrictionKeys.resourceAndPlanning = 'ResourceAndPlanning';
29
+ LicenseRestrictionKeys.professionalEmailCampaigns = 'ProfessionalEmailCampaigns';
30
+ LicenseRestrictionKeys.professionalEmailCampaignsAdvancedStatistics = 'ProfessionalEmailCampaignsAdvancedStatistics';
31
+ LicenseRestrictionKeys.wordEmailMerge = 'WordEmailMerge';
32
+ LicenseRestrictionKeys.printLabels = 'PrintLabels';
33
+ LicenseRestrictionKeys.printEnvelopes = 'PrintEnvelopes';
34
+ LicenseRestrictionKeys.userViews = 'UserViews';
35
+ LicenseRestrictionKeys.sharedUserViews = 'SharedUserViews';
36
+ LicenseRestrictionKeys.gridRowSummary = 'GridRowSummary';
37
+ LicenseRestrictionKeys.gridConditionalFormating = 'GridConditionalFormating';
38
+ LicenseRestrictionKeys.multipleCurrencies = 'MultipleCurrencies';
39
+ LicenseRestrictionKeys.historyTracking = 'HistoryTracking';
40
+ LicenseRestrictionKeys.privateItems = 'PrivateItems';
41
+ LicenseRestrictionKeys.itemTypes = 'ItemTypes';
42
+ LicenseRestrictionKeys.formLayoutCustomization = 'FormLayoutCustomization';
43
+ LicenseRestrictionKeys.workflowBasicDefinitions = 'WorkflowBasicDefinitions';
44
+ LicenseRestrictionKeys.workflowAdvancedDefinitions = 'WorkflowAdvancedDefinitions';
45
+ LicenseRestrictionKeys.workflowAdvancedDefinitionsRules = 'WorkflowAdvancedDefinitionsRules';
46
+ LicenseRestrictionKeys.workflowAdvancedDefinitionsActions = 'WorkflowAdvancedDefinitionsActions';
47
+ LicenseRestrictionKeys.workflowGroupLevelActions = 'WorkflowGroupLevelActions';
48
+ LicenseRestrictionKeys.customFields = 'CustomFields';
49
+ LicenseRestrictionKeys.importantFields = 'ImportantFields';
50
+ LicenseRestrictionKeys.mandatoryFields = 'MandatoryFields';
51
+ LicenseRestrictionKeys.uniqueFields = 'UniqueFields';
52
+ LicenseRestrictionKeys.readOnlyFields = 'ReadOnlyFields';
53
+ LicenseRestrictionKeys.transformationCustomTemplates = 'TransformationCustomTemplates';
54
+ LicenseRestrictionKeys.userRoles = 'UserRoles';
55
+ LicenseRestrictionKeys.modulePermissions = 'ModulePermissions';
56
+ LicenseRestrictionKeys.columnPermissions = 'ColumnPermissions';
57
+ LicenseRestrictionKeys.commonDataAPI = 'CommonDataAPI';
58
+ LicenseRestrictionKeys.eWayCrmAPI = 'eWayCrmAPI';
59
+ LicenseRestrictionKeys.threeCXIntegration = 'ThreeCXIntegration';
60
+ LicenseRestrictionKeys.tapiIntegration = 'TapiIntegration';
61
+ LicenseRestrictionKeys.pohodaIntegration = 'PohodaIntegration';
62
+ LicenseRestrictionKeys.pohodaSynchronizationIntervalCustomization = 'PohodaSynchronizationIntervalCustomization';
63
+ LicenseRestrictionKeys.pohodaSynchronizationFieldMappingCustomization = 'PohodaSynchronizationFieldMappingCustomization';
64
+ LicenseRestrictionKeys.quickBooksIntegration = 'QuickBooksIntegration';
65
+ LicenseRestrictionKeys.shareByTeams = "ShareByTeams";
66
+ return LicenseRestrictionKeys;
67
+ }());
68
+ exports.default = LicenseRestrictionKeys;
@@ -1,11 +1,11 @@
1
- export declare type TRelationType = 'GENERAL' | 'GROUP' | 'CONTACTPERSON' | 'CONTACT' | 'CUSTOMER' | 'COMPANY' | 'OUTLOOKPROJECT' | 'SUPERVISOR';
2
- export default class RelationTypes {
3
- static readonly general: TRelationType;
4
- static readonly group: TRelationType;
5
- static readonly contactPerson: TRelationType;
6
- static readonly contact: TRelationType;
7
- static readonly customer: TRelationType;
8
- static readonly company: TRelationType;
9
- static readonly outlookProject: TRelationType;
10
- static readonly supervisor: TRelationType;
11
- }
1
+ export type TRelationType = 'GENERAL' | 'GROUP' | 'CONTACTPERSON' | 'CONTACT' | 'CUSTOMER' | 'COMPANY' | 'OUTLOOKPROJECT' | 'SUPERVISOR';
2
+ export default class RelationTypes {
3
+ static readonly general: TRelationType;
4
+ static readonly group: TRelationType;
5
+ static readonly contactPerson: TRelationType;
6
+ static readonly contact: TRelationType;
7
+ static readonly customer: TRelationType;
8
+ static readonly company: TRelationType;
9
+ static readonly outlookProject: TRelationType;
10
+ static readonly supervisor: TRelationType;
11
+ }
@@ -1,16 +1,16 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- var RelationTypes = /** @class */ (function () {
4
- function RelationTypes() {
5
- }
6
- RelationTypes.general = 'GENERAL';
7
- RelationTypes.group = 'GROUP';
8
- RelationTypes.contactPerson = 'CONTACTPERSON';
9
- RelationTypes.contact = 'CONTACT';
10
- RelationTypes.customer = 'CUSTOMER';
11
- RelationTypes.company = 'COMPANY';
12
- RelationTypes.outlookProject = 'OUTLOOKPROJECT';
13
- RelationTypes.supervisor = 'SUPERVISOR';
14
- return RelationTypes;
15
- }());
16
- exports.default = RelationTypes;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var RelationTypes = /** @class */ (function () {
4
+ function RelationTypes() {
5
+ }
6
+ RelationTypes.general = 'GENERAL';
7
+ RelationTypes.group = 'GROUP';
8
+ RelationTypes.contactPerson = 'CONTACTPERSON';
9
+ RelationTypes.contact = 'CONTACT';
10
+ RelationTypes.customer = 'CUSTOMER';
11
+ RelationTypes.company = 'COMPANY';
12
+ RelationTypes.outlookProject = 'OUTLOOKPROJECT';
13
+ RelationTypes.supervisor = 'SUPERVISOR';
14
+ return RelationTypes;
15
+ }());
16
+ exports.default = RelationTypes;
@@ -1,12 +1,12 @@
1
- import { TFolderName } from "..";
2
- import { IItemPreview } from "../interfaces/IItemPreview";
3
- import { IApiItemBase } from "./IApiItemBase";
4
- export declare class EWItem<T extends IApiItemBase> {
5
- readonly folderName: TFolderName;
6
- readonly baseItem: T;
7
- constructor(folderName: TFolderName, baseItem: T);
8
- getEmailAddress(): string | null;
9
- getInitials(): string | null;
10
- private getInitialsInternal;
11
- getItemPreview(): IItemPreview | null;
12
- }
1
+ import { TFolderName } from "..";
2
+ import { IItemPreview } from "../interfaces/IItemPreview";
3
+ import { IApiItemBase } from "./IApiItemBase";
4
+ export declare class EWItem<T extends IApiItemBase> {
5
+ readonly folderName: TFolderName;
6
+ readonly baseItem: T;
7
+ constructor(folderName: TFolderName, baseItem: T);
8
+ getEmailAddress(): string | null;
9
+ getInitials(): string | null;
10
+ private getInitialsInternal;
11
+ getItemPreview(): IItemPreview | null;
12
+ }
@@ -1,91 +1,91 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EWItem = void 0;
4
- var __1 = require("..");
5
- var EWItem = /** @class */ (function () {
6
- function EWItem(folderName, baseItem) {
7
- if (!folderName || !baseItem) {
8
- throw new Error('Both folderName and baseItem has to be defined!');
9
- }
10
- this.folderName = folderName;
11
- this.baseItem = baseItem;
12
- }
13
- EWItem.prototype.getEmailAddress = function () {
14
- switch (this.folderName) {
15
- case __1.FolderNames.contacts:
16
- {
17
- var contact = this.baseItem;
18
- return contact.Email1Address || contact.Email2Address || contact.Email3Address;
19
- }
20
- case __1.FolderNames.leads:
21
- {
22
- var lead = this.baseItem;
23
- return lead.Email;
24
- }
25
- case __1.FolderNames.companies:
26
- {
27
- var company = this.baseItem;
28
- return company.Email;
29
- }
30
- case __1.FolderNames.users:
31
- {
32
- var user = this.baseItem;
33
- return user.Email1Address || user.Email2Address;
34
- }
35
- default:
36
- return null;
37
- }
38
- };
39
- EWItem.prototype.getInitials = function () {
40
- switch (this.folderName) {
41
- case __1.FolderNames.contacts:
42
- {
43
- var contact = this.baseItem;
44
- return this.getInitialsInternal(contact.FirstName, contact.LastName);
45
- }
46
- case __1.FolderNames.users:
47
- {
48
- var user = this.baseItem;
49
- return this.getInitialsInternal(user.FirstName, user.LastName);
50
- }
51
- default:
52
- return null;
53
- }
54
- };
55
- EWItem.prototype.getInitialsInternal = function (firstName, lastName) {
56
- var initials = ((firstName === null || firstName === void 0 ? void 0 : firstName.substr(0, 1)) || '') + ((lastName === null || lastName === void 0 ? void 0 : lastName.substr(0, 1)) || '');
57
- if (initials == '')
58
- return null;
59
- return initials;
60
- };
61
- EWItem.prototype.getItemPreview = function () {
62
- switch (this.folderName) {
63
- case __1.FolderNames.contacts:
64
- {
65
- var contact = this.baseItem;
66
- if (!contact.ProfilePicture)
67
- return null;
68
- return {
69
- imageData: contact.ProfilePicture,
70
- width: contact.ProfilePictureWidth || 0,
71
- height: contact.ProfilePictureHeight || 0
72
- };
73
- }
74
- case __1.FolderNames.users:
75
- {
76
- var user = this.baseItem;
77
- if (!user.ProfilePicture)
78
- return null;
79
- return {
80
- imageData: user.ProfilePicture,
81
- width: user.ProfilePictureWidth || 0,
82
- height: user.ProfilePictureHeight || 0
83
- };
84
- }
85
- default:
86
- return null;
87
- }
88
- };
89
- return EWItem;
90
- }());
91
- exports.EWItem = EWItem;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EWItem = void 0;
4
+ var __1 = require("..");
5
+ var EWItem = /** @class */ (function () {
6
+ function EWItem(folderName, baseItem) {
7
+ if (!folderName || !baseItem) {
8
+ throw new Error('Both folderName and baseItem has to be defined!');
9
+ }
10
+ this.folderName = folderName;
11
+ this.baseItem = baseItem;
12
+ }
13
+ EWItem.prototype.getEmailAddress = function () {
14
+ switch (this.folderName) {
15
+ case __1.FolderNames.contacts:
16
+ {
17
+ var contact = this.baseItem;
18
+ return contact.Email1Address || contact.Email2Address || contact.Email3Address;
19
+ }
20
+ case __1.FolderNames.leads:
21
+ {
22
+ var lead = this.baseItem;
23
+ return lead.Email;
24
+ }
25
+ case __1.FolderNames.companies:
26
+ {
27
+ var company = this.baseItem;
28
+ return company.Email;
29
+ }
30
+ case __1.FolderNames.users:
31
+ {
32
+ var user = this.baseItem;
33
+ return user.Email1Address || user.Email2Address;
34
+ }
35
+ default:
36
+ return null;
37
+ }
38
+ };
39
+ EWItem.prototype.getInitials = function () {
40
+ switch (this.folderName) {
41
+ case __1.FolderNames.contacts:
42
+ {
43
+ var contact = this.baseItem;
44
+ return this.getInitialsInternal(contact.FirstName, contact.LastName);
45
+ }
46
+ case __1.FolderNames.users:
47
+ {
48
+ var user = this.baseItem;
49
+ return this.getInitialsInternal(user.FirstName, user.LastName);
50
+ }
51
+ default:
52
+ return null;
53
+ }
54
+ };
55
+ EWItem.prototype.getInitialsInternal = function (firstName, lastName) {
56
+ var initials = ((firstName === null || firstName === void 0 ? void 0 : firstName.substr(0, 1)) || '') + ((lastName === null || lastName === void 0 ? void 0 : lastName.substr(0, 1)) || '');
57
+ if (initials == '')
58
+ return null;
59
+ return initials;
60
+ };
61
+ EWItem.prototype.getItemPreview = function () {
62
+ switch (this.folderName) {
63
+ case __1.FolderNames.contacts:
64
+ {
65
+ var contact = this.baseItem;
66
+ if (!contact.ProfilePicture)
67
+ return null;
68
+ return {
69
+ imageData: contact.ProfilePicture,
70
+ width: contact.ProfilePictureWidth || 0,
71
+ height: contact.ProfilePictureHeight || 0
72
+ };
73
+ }
74
+ case __1.FolderNames.users:
75
+ {
76
+ var user = this.baseItem;
77
+ if (!user.ProfilePicture)
78
+ return null;
79
+ return {
80
+ imageData: user.ProfilePicture,
81
+ width: user.ProfilePictureWidth || 0,
82
+ height: user.ProfilePictureHeight || 0
83
+ };
84
+ }
85
+ default:
86
+ return null;
87
+ }
88
+ };
89
+ return EWItem;
90
+ }());
91
+ exports.EWItem = EWItem;
@@ -1,21 +1,21 @@
1
- import { TNumericValidatorType } from '../interfaces/TNumericValidatorType';
2
- import { IApiItemBase } from './IApiItemBase';
3
- export interface IApiAdditionalField extends IApiItemBase {
4
- ObjectTypeFolderName: string;
5
- FieldId: number;
6
- ColumnName: string;
7
- Name: string;
8
- Comment: string | null;
9
- Type: number;
10
- CategoryEn: string | null;
11
- Rank: number;
12
- Data_RelatedFolderName: string | null;
13
- Data_IsDateTime: boolean | null;
14
- Data_FormatType: TNumericValidatorType | null;
15
- Data_EditMask: string | null;
16
- Data_MemoBoxLines: number | null;
17
- Data_SummaryType: string | null;
18
- Data_LinkType: string | null;
19
- AssociatedEnumTypeGuid: string | null;
20
- IsInGeneralSection: boolean;
21
- }
1
+ import { TNumericValidatorType } from '../interfaces/TNumericValidatorType';
2
+ import { IApiItemBase } from './IApiItemBase';
3
+ export interface IApiAdditionalField extends IApiItemBase {
4
+ ObjectTypeFolderName: string;
5
+ FieldId: number;
6
+ ColumnName: string;
7
+ Name: string;
8
+ Comment: string | null;
9
+ Type: number;
10
+ CategoryEn: string | null;
11
+ Rank: number;
12
+ Data_RelatedFolderName: string | null;
13
+ Data_IsDateTime: boolean | null;
14
+ Data_FormatType: TNumericValidatorType | null;
15
+ Data_EditMask: string | null;
16
+ Data_MemoBoxLines: number | null;
17
+ Data_SummaryType: string | null;
18
+ Data_LinkType: string | null;
19
+ AssociatedEnumTypeGuid: string | null;
20
+ IsInGeneralSection: boolean;
21
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { IApiFeaturesLicenseBundle } from "./IApiFeaturesLicenseBundle";
2
- export interface IApiAvailableBundle extends IApiFeaturesLicenseBundle {
3
- Quantity: number;
4
- }
1
+ import { IApiFeaturesLicenseBundle } from "./IApiFeaturesLicenseBundle";
2
+ export interface IApiAvailableBundle extends IApiFeaturesLicenseBundle {
3
+ Quantity: number;
4
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,9 @@
1
- import { IApiResult } from "./IApiResult";
2
- export interface IApiAvailableVersionResponse extends IApiResult {
3
- ClientVersion: string | null;
4
- WebServiceVersion: string | null;
5
- IsApproved: boolean | null;
6
- KnowledgeBaseLink: string | null;
7
- ReleaseDate: string | null;
8
- IsNewVersionAvailable: boolean;
9
- }
1
+ import { IApiResult } from "./IApiResult";
2
+ export interface IApiAvailableVersionResponse extends IApiResult {
3
+ ClientVersion: string | null;
4
+ WebServiceVersion: string | null;
5
+ IsApproved: boolean | null;
6
+ KnowledgeBaseLink: string | null;
7
+ ReleaseDate: string | null;
8
+ IsNewVersionAvailable: boolean;
9
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- import { IApiResult } from "./IApiResult";
2
- export interface IApiBooleanResponse extends IApiResult {
3
- Result: boolean;
4
- }
1
+ import { IApiResult } from "./IApiResult";
2
+ export interface IApiBooleanResponse extends IApiResult {
3
+ Result: boolean;
4
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- import { IApiAvailableBundle } from "./IApiAvailableBundle";
2
- export interface IApiCapacityAvailableBundle extends IApiAvailableBundle {
3
- FreeSlotsCount: number;
4
- UsedSlotsCount: number;
5
- }
1
+ import { IApiAvailableBundle } from "./IApiAvailableBundle";
2
+ export interface IApiCapacityAvailableBundle extends IApiAvailableBundle {
3
+ FreeSlotsCount: number;
4
+ UsedSlotsCount: number;
5
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,48 +1,48 @@
1
- import { IApiItemBase } from './IApiItemBase';
2
- export interface IApiCart extends IApiItemBase {
3
- Id: number | null;
4
- EffectiveFrom: string | null;
5
- ValidUntil: string | null;
6
- IsActive: boolean | null;
7
- TypeEn: string | null;
8
- PriceTotal: number | null;
9
- ForPayment: number | null;
10
- Paid: number | null;
11
- CurrencyEn: string | null;
12
- Vat: number | null;
13
- PriceTotalExcludingVat: number | null;
14
- GoodsInCartCount: number | null;
15
- Note: string | null;
16
- PriceTotalDefaultCurrency: number | null;
17
- PriceTotalParentCurrency: number | null;
18
- ForPaymentDefaultCurrency: number | null;
19
- ForPaymentParentCurrency: number | null;
20
- PaidDefaultCurrency: number | null;
21
- PaidParentCurrency: number | null;
22
- PriceTotalExcludingVatDefaultCurrency: number | null;
23
- PriceTotalExcludingVatParentCurrency: number | null;
24
- VatDefaultCurrency: number | null;
25
- VatParentCurrency: number | null;
26
- PaidChanged: string | null;
27
- PriceTotalChanged: string | null;
28
- StateEn: string | null;
29
- PrevStateEn: string | null;
30
- TaxableSupplyDate: string | null;
31
- AccountingCaseDate: string | null;
32
- PaymentDate: string | null;
33
- PurchaseExpenses: number | null;
34
- PurchaseExpensesParentCurrency: number | null;
35
- PurchaseExpensesDefaultCurrency: number | null;
36
- PurchaseExpensesChanged: string | null;
37
- Profit: number | null;
38
- ProfitDefaultCurrency: number | null;
39
- ProfitParentCurrency: number | null;
40
- ProfitChanged: string | null;
41
- Picture: string | null;
42
- PictureWidth: number | null;
43
- PictureHeight: number | null;
44
- Contacts_ContactPersonGuid: string | null;
45
- Companies_CustomerGuid: string | null;
46
- Leads_CartGuid: string | null;
47
- Projects_CartGuid: string | null;
48
- }
1
+ import { IApiItemBase } from './IApiItemBase';
2
+ export interface IApiCart extends IApiItemBase {
3
+ Id: number | null;
4
+ EffectiveFrom: string | null;
5
+ ValidUntil: string | null;
6
+ IsActive: boolean | null;
7
+ TypeEn: string | null;
8
+ PriceTotal: number | null;
9
+ ForPayment: number | null;
10
+ Paid: number | null;
11
+ CurrencyEn: string | null;
12
+ Vat: number | null;
13
+ PriceTotalExcludingVat: number | null;
14
+ GoodsInCartCount: number | null;
15
+ Note: string | null;
16
+ PriceTotalDefaultCurrency: number | null;
17
+ PriceTotalParentCurrency: number | null;
18
+ ForPaymentDefaultCurrency: number | null;
19
+ ForPaymentParentCurrency: number | null;
20
+ PaidDefaultCurrency: number | null;
21
+ PaidParentCurrency: number | null;
22
+ PriceTotalExcludingVatDefaultCurrency: number | null;
23
+ PriceTotalExcludingVatParentCurrency: number | null;
24
+ VatDefaultCurrency: number | null;
25
+ VatParentCurrency: number | null;
26
+ PaidChanged: string | null;
27
+ PriceTotalChanged: string | null;
28
+ StateEn: string | null;
29
+ PrevStateEn: string | null;
30
+ TaxableSupplyDate: string | null;
31
+ AccountingCaseDate: string | null;
32
+ PaymentDate: string | null;
33
+ PurchaseExpenses: number | null;
34
+ PurchaseExpensesParentCurrency: number | null;
35
+ PurchaseExpensesDefaultCurrency: number | null;
36
+ PurchaseExpensesChanged: string | null;
37
+ Profit: number | null;
38
+ ProfitDefaultCurrency: number | null;
39
+ ProfitParentCurrency: number | null;
40
+ ProfitChanged: string | null;
41
+ Picture: string | null;
42
+ PictureWidth: number | null;
43
+ PictureHeight: number | null;
44
+ Contacts_ContactPersonGuid: string | null;
45
+ Companies_CustomerGuid: string | null;
46
+ Leads_CartGuid: string | null;
47
+ Projects_CartGuid: string | null;
48
+ }