@eway-crm/connector 1.0.126 → 1.0.128
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/{index.js → cjs/index.d.ts} +7 -6
- package/lib/cjs/index.js +8 -0
- package/lib/esm/AnonymousSessionHandler.d.ts +5 -0
- package/lib/esm/ApiConnection.d.ts +66 -0
- package/lib/esm/ApiMethods.d.ts +16 -0
- package/lib/esm/CredentialsSessionHandler.d.ts +16 -0
- package/lib/esm/HttpMethod.d.ts +4 -0
- package/lib/esm/ISessionHandler.d.ts +7 -0
- package/lib/esm/OAuthSessionHandler.d.ts +12 -0
- package/lib/esm/OAuthSessionHandlerBase.d.ts +16 -0
- package/lib/esm/ReturnCodes.d.ts +9 -0
- package/lib/esm/constants/ActionEventTypes.d.ts +9 -0
- package/lib/esm/constants/ColumnPermissionRules.d.ts +14 -0
- package/lib/esm/constants/CompletionLevels.d.ts +6 -0
- package/lib/esm/constants/CustomizationStatsItemKeys.d.ts +11 -0
- package/lib/esm/constants/Edition.d.ts +6 -0
- package/lib/esm/constants/EnumTypes.d.ts +32 -0
- package/lib/esm/constants/ExpirationReason.d.ts +7 -0
- package/lib/esm/constants/Feature.d.ts +6 -0
- package/lib/esm/constants/FieldNames.d.ts +389 -0
- package/lib/esm/constants/FieldTypes.d.ts +15 -0
- package/lib/esm/constants/FolderNames.d.ts +80 -0
- package/lib/esm/constants/Functionality.d.ts +54 -0
- package/lib/esm/constants/GlobalSettingsNames.d.ts +71 -0
- package/lib/esm/constants/LicenseKeyInvoiceSeverity.d.ts +8 -0
- package/lib/esm/constants/LicenseRestrictionKeys.d.ts +62 -0
- package/lib/esm/constants/RelationTypes.d.ts +11 -0
- package/lib/esm/data/EWItem.d.ts +12 -0
- package/lib/esm/data/IApiAdditionalField.d.ts +21 -0
- package/lib/esm/data/IApiAvailableBundle.d.ts +4 -0
- package/lib/esm/data/IApiAvailableVersionResponse.d.ts +9 -0
- package/lib/esm/data/IApiBooleanResponse.d.ts +4 -0
- package/lib/esm/data/IApiCapacityAvailableBundle.d.ts +5 -0
- package/lib/esm/data/IApiCart.d.ts +48 -0
- package/lib/esm/data/IApiColumn.d.ts +51 -0
- package/lib/esm/data/IApiColumnPermission.d.ts +15 -0
- package/lib/esm/data/IApiCompany.d.ts +55 -0
- package/lib/esm/data/IApiContact.d.ts +58 -0
- package/lib/esm/data/IApiCurrencyExchangeRate.d.ts +9 -0
- package/lib/esm/data/IApiCustomizationStatsItem.d.ts +6 -0
- package/lib/esm/data/IApiDataResponse.d.ts +4 -0
- package/lib/esm/data/IApiDatumResponse.d.ts +4 -0
- package/lib/esm/data/IApiDocument.d.ts +22 -0
- package/lib/esm/data/IApiEmail.d.ts +26 -0
- package/lib/esm/data/IApiEnumType.d.ts +26 -0
- package/lib/esm/data/IApiEnumValue.d.ts +18 -0
- package/lib/esm/data/IApiEnumValuesRelation.d.ts +8 -0
- package/lib/esm/data/IApiFeature.d.ts +5 -0
- package/lib/esm/data/IApiFeaturesLicenseBundle.d.ts +10 -0
- package/lib/esm/data/IApiFlow.d.ts +9 -0
- package/lib/esm/data/IApiGlobalSetting.d.ts +33 -0
- package/lib/esm/data/IApiGoal.d.ts +22 -0
- package/lib/esm/data/IApiGood.d.ts +26 -0
- package/lib/esm/data/IApiGoodInCart.d.ts +62 -0
- package/lib/esm/data/IApiGroup.d.ts +16 -0
- package/lib/esm/data/IApiItemBase.d.ts +14 -0
- package/lib/esm/data/IApiItemIdentifier.d.ts +5 -0
- package/lib/esm/data/IApiItemUsageStatus.d.ts +4 -0
- package/lib/esm/data/IApiJournal.d.ts +25 -0
- package/lib/esm/data/IApiLead.d.ts +36 -0
- package/lib/esm/data/IApiLicense.d.ts +65 -0
- package/lib/esm/data/IApiLicenseBundleBase.d.ts +6 -0
- package/lib/esm/data/IApiLocalizedLicenseBundle.d.ts +4 -0
- package/lib/esm/data/IApiLoginResponse.d.ts +8 -0
- package/lib/esm/data/IApiMarketingCampaign.d.ts +32 -0
- package/lib/esm/data/IApiMarketingList.d.ts +17 -0
- package/lib/esm/data/IApiModulePermission.d.ts +14 -0
- package/lib/esm/data/IApiObjectType.d.ts +9 -0
- package/lib/esm/data/IApiPasswordStrength.d.ts +5 -0
- package/lib/esm/data/IApiPayment.d.ts +9 -0
- package/lib/esm/data/IApiProject.d.ts +59 -0
- package/lib/esm/data/IApiRecurrencePattern.d.ts +16 -0
- package/lib/{IApiResult.d.ts → esm/data/IApiResult.d.ts} +4 -4
- package/lib/esm/data/IApiSaveResponse.d.ts +4 -0
- package/lib/esm/data/IApiTask.d.ts +34 -0
- package/lib/esm/data/IApiUser.d.ts +22 -0
- package/lib/esm/data/IApiUserSetting.d.ts +6 -0
- package/lib/esm/data/IApiWebServiceTaskStatus.d.ts +10 -0
- package/lib/esm/data/IApiWorkReport.d.ts +36 -0
- package/lib/esm/data/IApiWorkflowActionDerivedItem.d.ts +21 -0
- package/lib/esm/data/IApiWorkflowModel.d.ts +8 -0
- package/lib/esm/data/query/IApiQuery.d.ts +42 -0
- package/lib/esm/data/query/IApiQueryFilters.d.ts +43 -0
- package/lib/esm/data/workflowActions/IApiAction.d.ts +106 -0
- package/lib/esm/exceptions/HttpRequestError.d.ts +7 -0
- package/lib/esm/exceptions/WebServiceError.d.ts +5 -0
- package/lib/esm/helpers/ErrorHelper.d.ts +4 -0
- package/lib/esm/helpers/OAuthHelper.d.ts +8 -0
- package/lib/esm/helpers/VersionHelperBase.d.ts +5 -0
- package/lib/esm/index.d.ts +85 -0
- package/lib/esm/index.js +8 -0
- package/lib/esm/interfaces/IEWJwtPayload.d.ts +4 -0
- package/lib/esm/interfaces/IItemPreview.d.ts +5 -0
- package/lib/esm/interfaces/ITokenData.d.ts +9 -0
- package/lib/esm/interfaces/ITranslatableString.d.ts +8 -0
- package/lib/esm/interfaces/TNumericValidatorType.d.ts +1 -0
- package/lib/esm/tokenizedServices/CommonDataConnection.d.ts +9 -0
- package/lib/esm/tokenizedServices/ITokenizedApiResult.d.ts +4 -0
- package/lib/esm/tokenizedServices/TokenizedServiceConnection.d.ts +25 -0
- package/lib/index.d.ts +2164 -85
- package/package.json +14 -4
- package/lib/AnonymousSessionHandler.js +0 -10
- package/lib/ApiConnection.js +0 -307
- package/lib/ApiMethods.js +0 -36
- package/lib/CredentialsSessionHandler.js +0 -54
- package/lib/HttpMethod.js +0 -5
- package/lib/IApiResult.js +0 -2
- package/lib/ISessionHandler.js +0 -1
- package/lib/OAuthSessionHandler.js +0 -29
- package/lib/OAuthSessionHandlerBase.js +0 -72
- package/lib/ReturnCodes.js +0 -10
- package/lib/axios/AxiosInstance.d.ts +0 -2
- package/lib/axios/AxiosInstance.js +0 -3
- package/lib/constants/ActionEventTypes.js +0 -9
- package/lib/constants/ColumnPermissionRules.js +0 -15
- package/lib/constants/CompletionLevels.js +0 -6
- package/lib/constants/CustomizationStatsItemKeys.js +0 -12
- package/lib/constants/Edition.js +0 -7
- package/lib/constants/EnumTypes.js +0 -33
- package/lib/constants/ExpirationReason.js +0 -8
- package/lib/constants/Feature.js +0 -7
- package/lib/constants/FieldNames.js +0 -422
- package/lib/constants/FieldTypes.js +0 -15
- package/lib/constants/FolderNames.js +0 -82
- package/lib/constants/Functionality.js +0 -55
- package/lib/constants/GlobalSettingsNames.js +0 -71
- package/lib/constants/LicenseKeyInvoiceSeverity.js +0 -9
- package/lib/constants/LicenseRestrictionKeys.js +0 -63
- package/lib/constants/RelationTypes.js +0 -11
- package/lib/data/EWItem.js +0 -86
- package/lib/data/IApiAdditionalField.js +0 -1
- package/lib/data/IApiAvailableBundle.js +0 -1
- package/lib/data/IApiAvailableVersionResponse.js +0 -1
- package/lib/data/IApiBooleanResponse.js +0 -1
- package/lib/data/IApiCapacityAvailableBundle.js +0 -1
- package/lib/data/IApiCart.js +0 -7
- package/lib/data/IApiColumn.js +0 -1
- package/lib/data/IApiColumnPermission.js +0 -1
- package/lib/data/IApiCompany.js +0 -7
- package/lib/data/IApiContact.js +0 -7
- package/lib/data/IApiCurrencyExchangeRate.js +0 -7
- package/lib/data/IApiCustomizationStatsItem.js +0 -1
- package/lib/data/IApiDataResponse.js +0 -1
- package/lib/data/IApiDatumResponse.js +0 -1
- package/lib/data/IApiDocument.js +0 -7
- package/lib/data/IApiEmail.js +0 -7
- package/lib/data/IApiEnumType.js +0 -6
- package/lib/data/IApiEnumValue.js +0 -1
- package/lib/data/IApiEnumValuesRelation.js +0 -7
- package/lib/data/IApiFeature.js +0 -1
- package/lib/data/IApiFeaturesLicenseBundle.js +0 -1
- package/lib/data/IApiFlow.js +0 -7
- package/lib/data/IApiGlobalSetting.js +0 -1
- package/lib/data/IApiGoal.js +0 -7
- package/lib/data/IApiGood.js +0 -7
- package/lib/data/IApiGoodInCart.js +0 -7
- package/lib/data/IApiGroup.js +0 -1
- package/lib/data/IApiItemBase.js +0 -1
- package/lib/data/IApiItemIdentifier.js +0 -1
- package/lib/data/IApiItemUsageStatus.js +0 -1
- package/lib/data/IApiJournal.js +0 -7
- package/lib/data/IApiLead.js +0 -7
- package/lib/data/IApiLicense.js +0 -1
- package/lib/data/IApiLicenseBundleBase.js +0 -1
- package/lib/data/IApiLocalizedLicenseBundle.js +0 -1
- package/lib/data/IApiLoginResponse.js +0 -1
- package/lib/data/IApiMarketingCampaign.js +0 -7
- package/lib/data/IApiMarketingList.js +0 -7
- package/lib/data/IApiModulePermission.js +0 -1
- package/lib/data/IApiObjectType.js +0 -1
- package/lib/data/IApiPasswordStrength.js +0 -1
- package/lib/data/IApiPayment.js +0 -7
- package/lib/data/IApiProject.js +0 -7
- package/lib/data/IApiRecurrencePattern.js +0 -7
- package/lib/data/IApiResult.js +0 -1
- package/lib/data/IApiSaveResponse.js +0 -1
- package/lib/data/IApiTask.js +0 -7
- package/lib/data/IApiUser.js +0 -1
- package/lib/data/IApiUserSetting.js +0 -1
- package/lib/data/IApiWebServiceTaskStatus.js +0 -1
- package/lib/data/IApiWorkReport.js +0 -7
- package/lib/data/IApiWorkflowActionDerivedItem.js +0 -1
- package/lib/data/IApiWorkflowModel.js +0 -1
- package/lib/data/query/IApiQuery.js +0 -1
- package/lib/data/query/IApiQueryFilters.js +0 -1
- package/lib/data/workflowActions/IApiAction.js +0 -1
- package/lib/exceptions/HttpRequestError.js +0 -7
- package/lib/exceptions/WebServiceError.js +0 -7
- package/lib/helpers/ErrorHelper.js +0 -16
- package/lib/helpers/OAuthHelper.js +0 -52
- package/lib/helpers/VersionHelperBase.js +0 -16
- package/lib/interfaces/IEWJwtPayload.js +0 -1
- package/lib/interfaces/IItemPreview.js +0 -1
- package/lib/interfaces/ITokenData.js +0 -1
- package/lib/interfaces/ITranslatableString.js +0 -1
- package/lib/interfaces/TNumericValidatorType.js +0 -1
- package/lib/tokenizedServices/CommonDataConnection.js +0 -16
- package/lib/tokenizedServices/ITokenizedApiResult.js +0 -1
- package/lib/tokenizedServices/TokenizedServiceConnection.js +0 -124
- /package/lib/{AnonymousSessionHandler.d.ts → cjs/AnonymousSessionHandler.d.ts} +0 -0
- /package/lib/{ApiConnection.d.ts → cjs/ApiConnection.d.ts} +0 -0
- /package/lib/{ApiMethods.d.ts → cjs/ApiMethods.d.ts} +0 -0
- /package/lib/{CredentialsSessionHandler.d.ts → cjs/CredentialsSessionHandler.d.ts} +0 -0
- /package/lib/{HttpMethod.d.ts → cjs/HttpMethod.d.ts} +0 -0
- /package/lib/{ISessionHandler.d.ts → cjs/ISessionHandler.d.ts} +0 -0
- /package/lib/{OAuthSessionHandler.d.ts → cjs/OAuthSessionHandler.d.ts} +0 -0
- /package/lib/{OAuthSessionHandlerBase.d.ts → cjs/OAuthSessionHandlerBase.d.ts} +0 -0
- /package/lib/{ReturnCodes.d.ts → cjs/ReturnCodes.d.ts} +0 -0
- /package/lib/{constants → cjs/constants}/ActionEventTypes.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/ColumnPermissionRules.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/CompletionLevels.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/CustomizationStatsItemKeys.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/Edition.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/EnumTypes.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/ExpirationReason.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/Feature.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/FieldNames.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/FieldTypes.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/FolderNames.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/Functionality.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/GlobalSettingsNames.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/LicenseKeyInvoiceSeverity.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/LicenseRestrictionKeys.d.ts +0 -0
- /package/lib/{constants → cjs/constants}/RelationTypes.d.ts +0 -0
- /package/lib/{data → cjs/data}/EWItem.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiAdditionalField.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiAvailableBundle.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiAvailableVersionResponse.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiBooleanResponse.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiCapacityAvailableBundle.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiCart.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiColumn.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiColumnPermission.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiCompany.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiContact.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiCurrencyExchangeRate.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiCustomizationStatsItem.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiDataResponse.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiDatumResponse.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiDocument.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiEmail.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiEnumType.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiEnumValue.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiEnumValuesRelation.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiFeature.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiFeaturesLicenseBundle.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiFlow.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiGlobalSetting.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiGoal.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiGood.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiGoodInCart.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiGroup.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiItemBase.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiItemIdentifier.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiItemUsageStatus.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiJournal.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiLead.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiLicense.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiLicenseBundleBase.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiLocalizedLicenseBundle.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiLoginResponse.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiMarketingCampaign.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiMarketingList.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiModulePermission.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiObjectType.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiPasswordStrength.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiPayment.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiProject.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiRecurrencePattern.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiResult.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiSaveResponse.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiTask.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiUser.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiUserSetting.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiWebServiceTaskStatus.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiWorkReport.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiWorkflowActionDerivedItem.d.ts +0 -0
- /package/lib/{data → cjs/data}/IApiWorkflowModel.d.ts +0 -0
- /package/lib/{data → cjs/data}/query/IApiQuery.d.ts +0 -0
- /package/lib/{data → cjs/data}/query/IApiQueryFilters.d.ts +0 -0
- /package/lib/{data → cjs/data}/workflowActions/IApiAction.d.ts +0 -0
- /package/lib/{exceptions → cjs/exceptions}/HttpRequestError.d.ts +0 -0
- /package/lib/{exceptions → cjs/exceptions}/WebServiceError.d.ts +0 -0
- /package/lib/{helpers → cjs/helpers}/ErrorHelper.d.ts +0 -0
- /package/lib/{helpers → cjs/helpers}/OAuthHelper.d.ts +0 -0
- /package/lib/{helpers → cjs/helpers}/VersionHelperBase.d.ts +0 -0
- /package/lib/{interfaces → cjs/interfaces}/IEWJwtPayload.d.ts +0 -0
- /package/lib/{interfaces → cjs/interfaces}/IItemPreview.d.ts +0 -0
- /package/lib/{interfaces → cjs/interfaces}/ITokenData.d.ts +0 -0
- /package/lib/{interfaces → cjs/interfaces}/ITranslatableString.d.ts +0 -0
- /package/lib/{interfaces → cjs/interfaces}/TNumericValidatorType.d.ts +0 -0
- /package/lib/{tokenizedServices → cjs/tokenizedServices}/CommonDataConnection.d.ts +0 -0
- /package/lib/{tokenizedServices → cjs/tokenizedServices}/ITokenizedApiResult.d.ts +0 -0
- /package/lib/{tokenizedServices → cjs/tokenizedServices}/TokenizedServiceConnection.d.ts +0 -0
package/lib/index.d.ts
CHANGED
|
@@ -1,85 +1,2164 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
1
|
+
import { AxiosRequestConfig } from 'axios';
|
|
2
|
+
|
|
3
|
+
interface IApiResult {
|
|
4
|
+
ReturnCode: string;
|
|
5
|
+
Description: string;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
interface IApiLoginResponse extends IApiResult {
|
|
9
|
+
SessionId: string | null;
|
|
10
|
+
UserItemGuid: string | null;
|
|
11
|
+
IsAdmin: boolean | null;
|
|
12
|
+
WcfVersion: string;
|
|
13
|
+
Debug?: boolean;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
interface ISessionHandler {
|
|
17
|
+
invalidateSessionId(sessionId: string, callback: () => void): void;
|
|
18
|
+
getSessionId(connection: ApiConnection, callback: (sessionId: string) => void): void;
|
|
19
|
+
lastSuccessfulLoginResponse?: IApiLoginResponse;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare enum HttpMethod {
|
|
23
|
+
get = "get",
|
|
24
|
+
post = "post"
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare class WebServiceError extends Error {
|
|
28
|
+
returnCode: string;
|
|
29
|
+
message: string;
|
|
30
|
+
constructor(returnCode: string, message: string);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
type TUnionError = Error | HttpRequestError | WebServiceError;
|
|
34
|
+
declare class HttpRequestError extends Error {
|
|
35
|
+
statusCode: number;
|
|
36
|
+
message: string;
|
|
37
|
+
constructor(statusCode: number, message: string);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
interface ITokenData {
|
|
41
|
+
access_token: string;
|
|
42
|
+
expires_in: number;
|
|
43
|
+
id_token?: string;
|
|
44
|
+
token_type: string;
|
|
45
|
+
refresh_token: string;
|
|
46
|
+
error: string;
|
|
47
|
+
}
|
|
48
|
+
type TInputData = Record<string, Object | null>;
|
|
49
|
+
|
|
50
|
+
type TFolderName = 'Actions' | 'AdditionalFields' | 'Bonuses' | 'Calendar' | 'CapacityNotes' | 'CapacityNoteTypes' | 'Carts' | 'ColumnPermissions' | 'Companies' | 'Contacts' | 'CurrencyExchangeRates' | 'Documents' | 'Emails' | 'EnumTypes' | 'EnumValues' | 'EnumValuesRelations' | 'Features' | 'Flows' | 'GlobalSettings' | 'Goals' | 'Goods' | 'GoodsInCart' | 'GoodsInSet' | 'Groups' | 'History' | 'Holidays' | 'Children' | 'IndividualDiscounts' | 'InvoiceItems' | 'Invoices' | 'ItemCopyRelations' | 'Journal' | 'Knowledge' | 'Layouts' | 'LayoutsModels' | 'Leads' | 'Ledger' | 'Mappings' | 'Marketing' | 'MarketingList' | 'MarketingListSources' | 'Models' | 'ModulePermissions' | 'ObjectTypesOptions' | 'Payments' | 'PriceListGroups' | 'ProjectAssignments' | 'ProjectAssignmentsPerUserProject' | 'ProjectAssignmentsTotal' | 'ProjectAssignmentsTotalUserProject' | 'ProjectList' | 'Projects' | 'ProjectUsersInCaPlan' | 'RelationData' | 'Relations' | 'Reports' | 'RevisionsHistory' | 'Salaries' | 'SalePrices' | 'Prices' | 'SqlObjects' | 'Tasks' | 'RecurrencePatterns' | 'TeamRoles' | 'Templates' | 'Training' | 'Users' | 'UserSettings' | 'Vacation' | 'WebAccess2Options' | 'WebAccessOptions' | 'WorkCommitments' | 'WorkflowHistory' | 'WorkReports' | 'WrongClientVersions' | 'XsltTransformations';
|
|
51
|
+
declare class FolderNames {
|
|
52
|
+
static isValidFolderName: (folderName: string) => boolean;
|
|
53
|
+
static readonly actions: TFolderName;
|
|
54
|
+
static readonly additionalFields: TFolderName;
|
|
55
|
+
static readonly bonuses: TFolderName;
|
|
56
|
+
static readonly calendar: TFolderName;
|
|
57
|
+
static readonly capacityNotes: TFolderName;
|
|
58
|
+
static readonly capacityNoteTypes: TFolderName;
|
|
59
|
+
static readonly carts: TFolderName;
|
|
60
|
+
static readonly columnPermissions: TFolderName;
|
|
61
|
+
static readonly companies: TFolderName;
|
|
62
|
+
static readonly contacts: TFolderName;
|
|
63
|
+
static readonly currencyExchangeRates: TFolderName;
|
|
64
|
+
static readonly documents: TFolderName;
|
|
65
|
+
static readonly emails: TFolderName;
|
|
66
|
+
static readonly enumTypes: TFolderName;
|
|
67
|
+
static readonly enumValues: TFolderName;
|
|
68
|
+
static readonly enumValuesRelations: TFolderName;
|
|
69
|
+
static readonly features: TFolderName;
|
|
70
|
+
static readonly flows: TFolderName;
|
|
71
|
+
static readonly globalSettings: TFolderName;
|
|
72
|
+
static readonly goals: TFolderName;
|
|
73
|
+
static readonly goods: TFolderName;
|
|
74
|
+
static readonly goodsInCart: TFolderName;
|
|
75
|
+
static readonly goodsInSet: TFolderName;
|
|
76
|
+
static readonly groups: TFolderName;
|
|
77
|
+
static readonly history: TFolderName;
|
|
78
|
+
static readonly holidays: TFolderName;
|
|
79
|
+
static readonly children: TFolderName;
|
|
80
|
+
static readonly individualDiscounts: TFolderName;
|
|
81
|
+
static readonly invoiceItems: TFolderName;
|
|
82
|
+
static readonly invoices: TFolderName;
|
|
83
|
+
static readonly itemCopyRelations: TFolderName;
|
|
84
|
+
static readonly journal: TFolderName;
|
|
85
|
+
static readonly knowledge: TFolderName;
|
|
86
|
+
static readonly layouts: TFolderName;
|
|
87
|
+
static readonly layoutsModels: TFolderName;
|
|
88
|
+
static readonly leads: TFolderName;
|
|
89
|
+
static readonly ledger: TFolderName;
|
|
90
|
+
static readonly mappings: TFolderName;
|
|
91
|
+
static readonly marketing: TFolderName;
|
|
92
|
+
static readonly marketingList: TFolderName;
|
|
93
|
+
static readonly marketingListSources: TFolderName;
|
|
94
|
+
static readonly models: TFolderName;
|
|
95
|
+
static readonly modulePermissions: TFolderName;
|
|
96
|
+
static readonly objectTypesOptions: TFolderName;
|
|
97
|
+
static readonly payments: TFolderName;
|
|
98
|
+
static readonly priceListGroups: TFolderName;
|
|
99
|
+
static readonly projectAssignments: TFolderName;
|
|
100
|
+
static readonly projectAssignmentsPerUserProject: TFolderName;
|
|
101
|
+
static readonly projectAssignmentsTotal: TFolderName;
|
|
102
|
+
static readonly projectAssignmentsTotalUserProject: TFolderName;
|
|
103
|
+
static readonly projectList: TFolderName;
|
|
104
|
+
static readonly projects: TFolderName;
|
|
105
|
+
static readonly projectUsersInCaPlan: TFolderName;
|
|
106
|
+
static readonly relationData: TFolderName;
|
|
107
|
+
static readonly relations: TFolderName;
|
|
108
|
+
static readonly reports: TFolderName;
|
|
109
|
+
static readonly revisionsHistory: TFolderName;
|
|
110
|
+
static readonly salaries: TFolderName;
|
|
111
|
+
static readonly salePrices: TFolderName;
|
|
112
|
+
static readonly prices: TFolderName;
|
|
113
|
+
static readonly sqlObjects: TFolderName;
|
|
114
|
+
static readonly tasks: TFolderName;
|
|
115
|
+
static readonly recurrencePatterns: TFolderName;
|
|
116
|
+
static readonly teamRoles: TFolderName;
|
|
117
|
+
static readonly templates: TFolderName;
|
|
118
|
+
static readonly training: TFolderName;
|
|
119
|
+
static readonly users: TFolderName;
|
|
120
|
+
static readonly userSettings: TFolderName;
|
|
121
|
+
static readonly vacation: TFolderName;
|
|
122
|
+
static readonly webAccess2Options: TFolderName;
|
|
123
|
+
static readonly webAccessOptions: TFolderName;
|
|
124
|
+
static readonly workCommitments: TFolderName;
|
|
125
|
+
static readonly workflowHistory: TFolderName;
|
|
126
|
+
static readonly workReports: TFolderName;
|
|
127
|
+
static readonly wrongClientVersions: TFolderName;
|
|
128
|
+
static readonly xsltTransformations: TFolderName;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
declare class ApiConnection {
|
|
132
|
+
private readonly svcUri;
|
|
133
|
+
private readonly baseUri;
|
|
134
|
+
readonly sessionHandler: ISessionHandler;
|
|
135
|
+
private readonly errorCallback;
|
|
136
|
+
private readonly supportGetItemPreviewMethod;
|
|
137
|
+
private sessionId;
|
|
138
|
+
constructor(apiServiceUri: string, sessionHandler: ISessionHandler, errorCallback?: (error: TUnionError, data?: TInputData | null) => void, supportGetItemPreviewMethod?: boolean);
|
|
139
|
+
get supportsGetItemPreviewMethod(): boolean;
|
|
140
|
+
static create(apiServiceUri: string, username: string, passwordHash: string, appVersion: string, clientMachineIdentifier: string, clientMachineName: string, errorCallback?: (error: TUnionError) => void, supportGetItemPreviewMethod?: boolean): ApiConnection;
|
|
141
|
+
static createAnonymous(apiServiceUri: string, errorCallback?: (error: TUnionError) => void): ApiConnection;
|
|
142
|
+
static createUsingOAuth(apiServiceUri: string, username: string, clientId: string, clientSecret: string, refreshToken: string, accessToken: string, appVersion: string, errorCallback?: (error: TUnionError) => void, refreshTokenCallback?: (tokenData: ITokenData) => void, supportGetItemPreviewMethod?: boolean): ApiConnection;
|
|
143
|
+
get wsUrl(): string;
|
|
144
|
+
readonly createOpenLink: (folderName: TFolderName, guid?: string, fileAs?: string) => string;
|
|
145
|
+
/**
|
|
146
|
+
* Creates a promise for async file upload using binary stream
|
|
147
|
+
* @param itemGuid Item identificator. Ex. '9ac561be-9b7d-4938-8e55-4cce97142483'.
|
|
148
|
+
* @param fileName File name, ex. 'picture.img'.
|
|
149
|
+
* @param data Single file to be uploaded.
|
|
150
|
+
* @param config Optional. Additional config for the request.
|
|
151
|
+
* @param catchGlobally Optional. If true, raises this the global error handler each time the promise is rejected.
|
|
152
|
+
*/
|
|
153
|
+
readonly askUploadMethod: (itemGuid: string, fileName: string, data: File, config?: AxiosRequestConfig, catchGlobally?: boolean) => Promise<IApiResult>;
|
|
154
|
+
/**
|
|
155
|
+
* Asynchronously uploads file using binary stream
|
|
156
|
+
* @param itemGuid Item identificator. Ex. '9ac561be-9b7d-4938-8e55-4cce97142483'.
|
|
157
|
+
* @param fileName File name, ex. 'picture.img'.
|
|
158
|
+
* @param data Single file to be uploaded.
|
|
159
|
+
* @param successCallback Handler callback when the method executes well. Gets the whole response JSON object as the only argument.
|
|
160
|
+
* @param unsuccessCallback Optional. Handler callback for eWay-API app level failures. Gets the whole response JSON object as the only argument. If not supplied, the global error handler is used.
|
|
161
|
+
* @param errorCallback Optional. Handler callback for any other failures. If not supplied, the global error handler is used.
|
|
162
|
+
* @param config Optional. Additional config for the request.
|
|
163
|
+
*/
|
|
164
|
+
readonly callUploadMethod: (itemGuid: string, fileName: string, data: File, successCallback: (res: IApiResult) => void, unsuccessCallback?: ((e: IApiResult) => void) | undefined, errorCallback?: ((e: TUnionError) => void) | undefined, config?: AxiosRequestConfig) => void;
|
|
165
|
+
/**
|
|
166
|
+
* Creates a promise for async API method call.
|
|
167
|
+
* @param methodName API method name. Ex. 'GetUsers'.
|
|
168
|
+
* @param data Input data or empty object. Ex. {transmitObject: {FileAs: 'Peter File'}} or {itemGuids: ['9ac561be-9b7d-4938-8e55-4cce97142483']}.
|
|
169
|
+
* @param httpMethod Optional. The used HTTP method. POST or GET. Default is POST.
|
|
170
|
+
* @param catchGlobally Optional. If true, raises this the global error handler each time the promise is rejected.
|
|
171
|
+
*/
|
|
172
|
+
readonly askMethod: <TResult extends IApiResult>(methodName: string, data: TInputData, httpMethod?: HttpMethod, catchGlobally?: boolean) => Promise<TResult>;
|
|
173
|
+
/**
|
|
174
|
+
* Asynchronously calls API method with automatically added session data.
|
|
175
|
+
* @param methodName API method name. Ex. 'GetUsers'.
|
|
176
|
+
* @param data Input data or empty object. Ex. {transmitObject: {FileAs: 'Peter File'}} or {itemGuids: ['9ac561be-9b7d-4938-8e55-4cce97142483']}.
|
|
177
|
+
* @param successCallback Handler callback when the method executes well. Gets the whole response JSON object as the only argument.
|
|
178
|
+
* @param unsuccessCallback Optional. Handler callback for eWay-API app level failures. Gets the whole response JSON object as the only argument. If not supplied, the global error handler is used.
|
|
179
|
+
* @param httpMethod Optional. The used HTTP method. POST or GET. Default is POST.
|
|
180
|
+
* @param errorCallback Optional. Handler callback for any other failures. If not supplied, the global error handler is used.
|
|
181
|
+
*/
|
|
182
|
+
readonly callMethod: <TResult extends IApiResult>(methodName: string, data: TInputData, successCallback: (result: TResult) => void, unsuccessCallback?: ((result: TResult) => void) | undefined, httpMethod?: HttpMethod, errorCallback?: ((error: TUnionError) => void) | undefined) => void;
|
|
183
|
+
readonly callWithoutSession: <TResult extends IApiResult>(methodName: string, data: TInputData | null, successCallback: (result: TResult) => void, unsuccessCallback: (result: TResult) => void, headers?: Record<string, string> | null, httpMethod?: HttpMethod, errorCallback?: ((error: TUnionError) => void) | undefined) => void;
|
|
184
|
+
readonly getItemPreviewGetMethodUrl: (folderName: string, itemGuid: string, itemVersion?: number) => string;
|
|
185
|
+
readonly getEmailAttachmentGetMethodUrl: (itemGuid: string, contentId: string) => string;
|
|
186
|
+
readonly getAllEmailAttachmentsZipGetMethodUrl: (itemGuid: string) => string;
|
|
187
|
+
readonly getActiveSessionId: () => string | null;
|
|
188
|
+
private static handleCallPromise;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
declare class ReturnCodes {
|
|
192
|
+
static readonly rcSuccess = "rcSuccess";
|
|
193
|
+
static readonly rcBadSession = "rcBadSession";
|
|
194
|
+
static readonly rcDuplicateContact = "rcDuplicateContact";
|
|
195
|
+
static readonly rcWebServiceMoved = "rcWebServiceMoved";
|
|
196
|
+
static readonly rcAccessDenied = "rcAccessDenied";
|
|
197
|
+
static readonly rcLoginUserNameChanged = "rcLoginUserNameChanged";
|
|
198
|
+
static readonly rcLicenseExpired = "rcLicenseExpired";
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
interface ITokenizedApiResult {
|
|
202
|
+
ReturnCodeString: string;
|
|
203
|
+
Description: string;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
declare class TokenizedServiceConnection<TObtainResponse extends IApiResult> {
|
|
207
|
+
private readonly obtainTokenMethodName;
|
|
208
|
+
private readonly obtainTokenMethodType;
|
|
209
|
+
private readonly needsSession;
|
|
210
|
+
private readonly invalidTokenReturnCode;
|
|
211
|
+
private readonly urlAndTokenObtainer;
|
|
212
|
+
private readonly connection;
|
|
213
|
+
private readonly generalErrorCallback;
|
|
214
|
+
private url;
|
|
215
|
+
private token;
|
|
216
|
+
private isActive;
|
|
217
|
+
constructor(obtainTokenMethodName: string, obtainTokenMethodType: HttpMethod, needsSession: boolean, invalidTokenReturnCode: string, urlAndTokenObtainer: (response: TObtainResponse) => {
|
|
218
|
+
url: string | null;
|
|
219
|
+
token: string | null;
|
|
220
|
+
}, connection: ApiConnection, errorCallback?: (error: Error) => void);
|
|
221
|
+
readonly isEnabled: (enabledCallback: (url: string, token: string) => void, disabledCallback: () => void) => void;
|
|
222
|
+
readonly callTokenizedApi: <TResult extends ITokenizedApiResult>(methodName: string, data: TInputData, successCallback: (data: TResult) => void, unsuccessCallback?: ((data: TResult | null) => void) | null | undefined) => void;
|
|
223
|
+
private readonly obtainToken;
|
|
224
|
+
private static call;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
declare class CommonDataConnection {
|
|
228
|
+
private readonly tokenizedConnection;
|
|
229
|
+
constructor(connection: ApiConnection, errorCallback?: (error: Error) => void);
|
|
230
|
+
readonly isCommonDataApiEnabled: (enabledCallback: (url: string, token: string) => void, disabledCallback: () => void) => void;
|
|
231
|
+
readonly callCommonDataApi: <TResult extends ITokenizedApiResult>(methodName: string, data: TInputData, successCallback: (data: TResult) => void, unsuccessCallback?: ((data: TResult | null) => void) | null | undefined) => void;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
declare class ApiMethods {
|
|
235
|
+
static readonly getAllEmailAttachments = "GetAllEmailAttachments";
|
|
236
|
+
static readonly getCalendarsByItemGuids = "GetCalendarsByItemGuids";
|
|
237
|
+
static readonly getEmailAttachment = "GetEmailAttachment";
|
|
238
|
+
static readonly getItemPreview = "GetItemPreview";
|
|
239
|
+
static readonly getJournalsByItemGuids = "GetJournalsByItemGuids";
|
|
240
|
+
static readonly getMarketingCampaignsByItemGuids = "GetMarketingCampaignsByItemGuids";
|
|
241
|
+
static readonly getMarketingListsRecordsByItemGuids = "GetMarketingListsRecordsByItemGuids";
|
|
242
|
+
static readonly getRevisionHistoryRecordsByItemGuids = "GetRevisionHistoryRecordsByItemGuids";
|
|
243
|
+
static readonly getVacationsByItemGuids = "GetVacationsByItemGuids";
|
|
244
|
+
static readonly getWorkflowHistoryRecordsByItemGuids = "GetWorkflowHistoryRecordsByItemGuids";
|
|
245
|
+
static readonly logIn = "LogIn";
|
|
246
|
+
static readonly logOut = "LogOut";
|
|
247
|
+
static readonly getGetFolderNameByItemGuidsMethodName: (folderName: TFolderName) => string;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare class GlobalSettingsNames {
|
|
251
|
+
static acceptableBackwardWorkReportDays: string;
|
|
252
|
+
static adminAppInactiveLogoutTime: string;
|
|
253
|
+
static applyGeneralDataProtectionRules: string;
|
|
254
|
+
static automaticallyCreateJournalAfterCallDuration: string;
|
|
255
|
+
static bonusesCompletedState: string;
|
|
256
|
+
static cartInvoicedState: string;
|
|
257
|
+
static cartOrderCanceledState: string;
|
|
258
|
+
static cartOrderInProcessState: string;
|
|
259
|
+
static cartOrderProcessedState: string;
|
|
260
|
+
static cartPaidState: string;
|
|
261
|
+
static cartProposalInProcessState: string;
|
|
262
|
+
static cartProposalProcessedState: string;
|
|
263
|
+
static cartSalesVoucherIssuedState: string;
|
|
264
|
+
static cartToBeInvoicedState: string;
|
|
265
|
+
static cartVoidedState: string;
|
|
266
|
+
static clickToCallScheme: string;
|
|
267
|
+
static companyDuplicityCheckEnabled: string;
|
|
268
|
+
static completedStateName: string;
|
|
269
|
+
static contactDuplicityCheckEnabled: string;
|
|
270
|
+
static createCompanyWhileImportingContactFromOutlook: string;
|
|
271
|
+
static deadStateName: string;
|
|
272
|
+
static enableCompaniesSyncIntoMobileDeviceContacts: string;
|
|
273
|
+
static enableContactsSyncIntoMobileDevice: string;
|
|
274
|
+
static enableLeadsSyncIntoMobileDeviceContacts: string;
|
|
275
|
+
static enableUsersSyncIntoMobileDeviceContacts: string;
|
|
276
|
+
static emailsActiveProjectsLeadsFilter: string;
|
|
277
|
+
static exchangeRatesAdminGroupName: string;
|
|
278
|
+
static forcedEmailTrackingGroups: string;
|
|
279
|
+
static groupsForAllUnpaidInvoicesNotification: string;
|
|
280
|
+
static itemPreviewMaxHeight: string;
|
|
281
|
+
static lastActivityAttributes: string;
|
|
282
|
+
static leadsCompletedState: string;
|
|
283
|
+
static leadDeadlineAlertGroups: string;
|
|
284
|
+
static leadsDeadState: string;
|
|
285
|
+
static marketingCompletedState: string;
|
|
286
|
+
static marketingDeadState: string;
|
|
287
|
+
static minimumPasswordLength: string;
|
|
288
|
+
static nextStepAttributes: string;
|
|
289
|
+
static notifyAboutInvoicedInvoiceInPohodaGroup: string;
|
|
290
|
+
static notifyAboutLeadsDeadline: string;
|
|
291
|
+
static notifyAboutPaidInvoiceInPohodaGroup: string;
|
|
292
|
+
static notifyAboutProjectDeadline: string;
|
|
293
|
+
static numberOfDecimalPlaces: string;
|
|
294
|
+
static phoneListTaskSolverGroup: string;
|
|
295
|
+
static projectDeadlineAlert: string;
|
|
296
|
+
static serverUpdateProgressNotificationGroup: string;
|
|
297
|
+
static sumarizeCartsPricesOnLeads: string;
|
|
298
|
+
static sumarizeCartsPricesOnProjects: string;
|
|
299
|
+
static sumarizePeopleExpensesOnProjects: string;
|
|
300
|
+
static systemHealthNotificationGroup: string;
|
|
301
|
+
static tasksCompletedState: string;
|
|
302
|
+
static tasksDeferredState: string;
|
|
303
|
+
static tasksInProgressState: string;
|
|
304
|
+
static tasksNotStartedState: string;
|
|
305
|
+
static tasksWaitOnSomeoneElseState: string;
|
|
306
|
+
static trackDocumentVersions: string;
|
|
307
|
+
static vacationCompletedState: string;
|
|
308
|
+
static workReportApprovedState: string;
|
|
309
|
+
static defaultLanguage: string;
|
|
310
|
+
static defaultCurrency: string;
|
|
311
|
+
static myCompanyCountry: string;
|
|
312
|
+
static myCompanyName: string;
|
|
313
|
+
static myCompanyStreet: string;
|
|
314
|
+
static myCompanyCity: string;
|
|
315
|
+
static myCompanyState: string;
|
|
316
|
+
static myCompanyZip: string;
|
|
317
|
+
static myCompanyId: string;
|
|
318
|
+
static myCompanyVat: string;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
declare class FieldNames {
|
|
322
|
+
static readonly Common: {
|
|
323
|
+
readonly CreatedByGUID: "CreatedByGUID";
|
|
324
|
+
readonly CurrencyEn: "CurrencyEn";
|
|
325
|
+
readonly DefaultCurrencySuffix: "DefaultCurrency";
|
|
326
|
+
readonly FileAs: "FileAs";
|
|
327
|
+
readonly ItemCreated: "ItemCreated";
|
|
328
|
+
readonly ItemChanged: "ItemChanged";
|
|
329
|
+
readonly ItemGUID: "ItemGUID";
|
|
330
|
+
readonly ItemVersion: "ItemVersion";
|
|
331
|
+
readonly ModifiedByGUID: "ModifiedByGUID";
|
|
332
|
+
readonly OwnerGUID: "OwnerGUID";
|
|
333
|
+
readonly ParentCurrencySuffix: "ParentCurrency";
|
|
334
|
+
};
|
|
335
|
+
static readonly Calendar: {
|
|
336
|
+
readonly EndDate: "EndDate";
|
|
337
|
+
readonly Note: "Note";
|
|
338
|
+
};
|
|
339
|
+
static readonly Carts: {
|
|
340
|
+
readonly SuperiorItem: "SuperiorItem";
|
|
341
|
+
readonly SuperiorCompany: "SuperiorCompany";
|
|
342
|
+
readonly SuperiorContact: "SuperiorContact";
|
|
343
|
+
readonly TypeEn: "TypeEn";
|
|
344
|
+
readonly StateEn: "StateEn";
|
|
345
|
+
};
|
|
346
|
+
static readonly Companies: {
|
|
347
|
+
readonly ID: "ID";
|
|
348
|
+
readonly CompanyName: "CompanyName";
|
|
349
|
+
readonly Department: "Department";
|
|
350
|
+
readonly AccountNumber: "AccountNumber";
|
|
351
|
+
readonly IdentificationNumber: "IdentificationNumber";
|
|
352
|
+
readonly VatNumber: "VatNumber";
|
|
353
|
+
readonly Sales: "Reversal";
|
|
354
|
+
readonly EmployeesCount: "EmployeesCount";
|
|
355
|
+
readonly Purchaser: "Purchaser";
|
|
356
|
+
readonly Suppliers: "Suppliers";
|
|
357
|
+
readonly Competitor: "Competitor";
|
|
358
|
+
readonly Address1Street: "Address1Street";
|
|
359
|
+
readonly Address1City: "Address1City";
|
|
360
|
+
readonly Address1PostalCode: "Address1PostalCode";
|
|
361
|
+
readonly Address1CountryEn: "Address1CountryEn";
|
|
362
|
+
readonly Address1State: "Address1State";
|
|
363
|
+
readonly Address1POBox: "Address1POBox";
|
|
364
|
+
readonly Address2Street: "Address2Street";
|
|
365
|
+
readonly Address2City: "Address2City";
|
|
366
|
+
readonly Address2PostalCode: "Address2PostalCode";
|
|
367
|
+
readonly Address2CountryEn: "Address2CountryEn";
|
|
368
|
+
readonly Address2State: "Address2State";
|
|
369
|
+
readonly Address2POBox: "Address2POBox";
|
|
370
|
+
readonly Address3Street: "Address3Street";
|
|
371
|
+
readonly Address3City: "Address3City";
|
|
372
|
+
readonly Address3PostalCode: "Address3PostalCode";
|
|
373
|
+
readonly Address3CountryEn: "Address3CountryEn";
|
|
374
|
+
readonly Address3State: "Address3State";
|
|
375
|
+
readonly Address3POBox: "Address3POBox";
|
|
376
|
+
readonly InvoiceAddress: "InvoiceAddress";
|
|
377
|
+
readonly PostalAddress: "PostalAddress";
|
|
378
|
+
readonly Phone: "Phone";
|
|
379
|
+
readonly Mobile: "Mobile";
|
|
380
|
+
readonly Fax: "Fax";
|
|
381
|
+
readonly WebPage: "WebPage";
|
|
382
|
+
readonly Email: "Email";
|
|
383
|
+
readonly ICQ: "ICQ";
|
|
384
|
+
readonly MSN: "MSN";
|
|
385
|
+
readonly Skype: "Skype";
|
|
386
|
+
readonly ImportanceEn: "ImportanceEn";
|
|
387
|
+
readonly FirstContactEn: "FirstContactEn";
|
|
388
|
+
readonly LineOfBusiness: "LineOfBusiness";
|
|
389
|
+
readonly EmailOptOut: "EmailOptOut";
|
|
390
|
+
readonly MailingListOther: "MailingListOther";
|
|
391
|
+
readonly MailingListOtherValue: "MailingListOtherValue";
|
|
392
|
+
readonly Note: "Note";
|
|
393
|
+
readonly IsPrivate: "IsPrivate";
|
|
394
|
+
readonly NextStep: "NextStep";
|
|
395
|
+
readonly LastActivity: "LastActivity";
|
|
396
|
+
readonly AdditionalDiscount: "AdditionalDiscount";
|
|
397
|
+
};
|
|
398
|
+
static readonly Contacts: {
|
|
399
|
+
readonly ProfilePicture: "ProfilePicture";
|
|
400
|
+
readonly Title: "Title";
|
|
401
|
+
readonly Email1Address: "Email1Address";
|
|
402
|
+
readonly Email2Address: "Email2Address";
|
|
403
|
+
readonly Email3Address: "Email3Address";
|
|
404
|
+
readonly DoNotSendNewsletter: "DoNotSendNewsletter";
|
|
405
|
+
readonly ImportanceEn: "ImportanceEn";
|
|
406
|
+
readonly PrefixEn: "PrefixEn";
|
|
407
|
+
readonly FirstName: "FirstName";
|
|
408
|
+
readonly MiddleName: "MiddleName";
|
|
409
|
+
readonly LastName: "LastName";
|
|
410
|
+
readonly SuffixEn: "SuffixEn";
|
|
411
|
+
readonly BusinessAddressStreet: "BusinessAddressStreet";
|
|
412
|
+
readonly BusinessAddressCity: "BusinessAddressCity";
|
|
413
|
+
readonly BusinessAddressPostalCode: "BusinessAddressPostalCode";
|
|
414
|
+
readonly BusinessAddressCountryEn: "BusinessAddressCountryEn";
|
|
415
|
+
readonly BusinessAddressState: "BusinessAddressState";
|
|
416
|
+
readonly BusinessAddressPoBox: "BusinessAddressPOBox";
|
|
417
|
+
readonly HomeAddressStreet: "HomeAddressStreet";
|
|
418
|
+
readonly HomeAddressCity: "HomeAddressCity";
|
|
419
|
+
readonly HomeAddressPostalCode: "HomeAddressPostalCode";
|
|
420
|
+
readonly HomeAddressCountryEn: "HomeAddressCountryEn";
|
|
421
|
+
readonly HomeAddressState: "HomeAddressState";
|
|
422
|
+
readonly HomeAddressPOBox: "HomeAddressPOBox";
|
|
423
|
+
readonly OtherAddressStreet: "OtherAddressStreet";
|
|
424
|
+
readonly OtherAddressCity: "OtherAddressCity";
|
|
425
|
+
readonly OtherAddressPostalCode: "OtherAddressPostalCode";
|
|
426
|
+
readonly OtherAddressCountryEn: "OtherAddressCountryEn";
|
|
427
|
+
readonly OtherAddressState: "OtherAddressState";
|
|
428
|
+
readonly OtherAddressPOBox: "OtherAddressPOBox";
|
|
429
|
+
readonly BusinessPhoneNumber: "TelephoneNumber1";
|
|
430
|
+
readonly BusinessPhoneNumber2: "TelephoneNumber5";
|
|
431
|
+
readonly BusinessFaxNumber: "TelephoneNumber6";
|
|
432
|
+
readonly MobilePhoneNumber: "TelephoneNumber3";
|
|
433
|
+
readonly HomePhoneNumber: "TelephoneNumber2";
|
|
434
|
+
readonly OtherPhoneNumber: "TelephoneNumber4";
|
|
435
|
+
readonly ICQ: "ICQ";
|
|
436
|
+
readonly MSN: "MSN";
|
|
437
|
+
readonly Skype: "Skype";
|
|
438
|
+
readonly WebPage: "WebPage";
|
|
439
|
+
readonly Note: "Note";
|
|
440
|
+
readonly Department: "Department";
|
|
441
|
+
readonly Company: "Company";
|
|
442
|
+
readonly IsPrivate: "Private";
|
|
443
|
+
readonly NextStep: "NextStep";
|
|
444
|
+
readonly LastActivity: "LastActivity";
|
|
445
|
+
};
|
|
446
|
+
static readonly Leads: {
|
|
447
|
+
readonly ID: "ID";
|
|
448
|
+
readonly FileAs: "FileAs";
|
|
449
|
+
readonly HumanID: "HID";
|
|
450
|
+
readonly Customer: "Customer";
|
|
451
|
+
readonly ContactPerson: "ContactPerson";
|
|
452
|
+
readonly Marketing: "Marketing";
|
|
453
|
+
readonly ReceiveDate: "ReceiveDate";
|
|
454
|
+
readonly Email: "Email";
|
|
455
|
+
readonly Phone: "Phone";
|
|
456
|
+
readonly Street: "Street";
|
|
457
|
+
readonly State: "State";
|
|
458
|
+
readonly CountryEn: "CountryEn";
|
|
459
|
+
readonly City: "City";
|
|
460
|
+
readonly POBox: "POBox";
|
|
461
|
+
readonly Zip: "Zip";
|
|
462
|
+
readonly Price: "Price";
|
|
463
|
+
readonly PriceChanged: "PriceChanged";
|
|
464
|
+
readonly CurrencyEn: "CurrencyEn";
|
|
465
|
+
readonly EstimatedEnd: "EstimatedEnd";
|
|
466
|
+
readonly Probability: "Probability";
|
|
467
|
+
readonly LeadOriginEn: "LeadOriginEn";
|
|
468
|
+
readonly PriceDefaultCurrency: "PriceDefaultCurrency";
|
|
469
|
+
readonly EstimatedValue: "EstimatedValue";
|
|
470
|
+
readonly EstimatedValueDefaultCurrency: "EstimatedValueDefaultCurrency";
|
|
471
|
+
readonly Note: "Note";
|
|
472
|
+
readonly TypeEn: "TypeEn";
|
|
473
|
+
readonly StateEn: "StateEn";
|
|
474
|
+
readonly PrevStateEn: "PrevStateEn";
|
|
475
|
+
readonly IsPrivate: "Private";
|
|
476
|
+
readonly EmailOptOut: "EmailOptOut";
|
|
477
|
+
readonly NextStep: "NextStep";
|
|
478
|
+
readonly LastActivity: "LastActivity";
|
|
479
|
+
readonly ItemVersion: "ItemVersion";
|
|
480
|
+
readonly EstimatedRevenue: "EstimatedRevenue";
|
|
481
|
+
readonly EstimatedRevenueDefaultCurrency: "EstimatedRevenueDefaultCurrency";
|
|
482
|
+
readonly CompletedDate: "CompletedDate";
|
|
483
|
+
};
|
|
484
|
+
static readonly Documents: {
|
|
485
|
+
readonly FileAs: "FileAs";
|
|
486
|
+
readonly DocName: "DocName";
|
|
487
|
+
readonly Preview: "Preview";
|
|
488
|
+
readonly PreviewWidth: "PreviewWidth";
|
|
489
|
+
readonly PreviewHeight: "PreviewHeight";
|
|
490
|
+
readonly DocTypeEn: "DocTypeEn";
|
|
491
|
+
readonly StateEn: "StateEn";
|
|
492
|
+
readonly ImportanceEn: "ImportanceEn";
|
|
493
|
+
readonly SuperiorItem: "SuperiorItem";
|
|
494
|
+
readonly SuperiorCompany: "Company";
|
|
495
|
+
readonly SuperiorContact: "Contact";
|
|
496
|
+
readonly DocSize: "DocSize";
|
|
497
|
+
readonly Extension: "Extension";
|
|
498
|
+
readonly CreationTime: "CreationTime";
|
|
499
|
+
readonly LastWriteTime: "LastWriteTime";
|
|
500
|
+
readonly IsPrivate: "Private";
|
|
501
|
+
readonly Note: "Note";
|
|
502
|
+
};
|
|
503
|
+
static readonly Emails: {
|
|
504
|
+
readonly To: "To";
|
|
505
|
+
readonly From: "SenderEmailAddress";
|
|
506
|
+
readonly Cc: "Cc";
|
|
507
|
+
readonly Subject: "Subject";
|
|
508
|
+
readonly ImportanceEn: "ImportanceEn";
|
|
509
|
+
readonly SuperiorItem: "SuperiorItem";
|
|
510
|
+
readonly SentOn: "SentOn";
|
|
511
|
+
readonly ReceivedTime: "ReceivedTime";
|
|
512
|
+
readonly FileSize: "FileSize";
|
|
513
|
+
readonly AttachmentsCount: "AttachmentsCount";
|
|
514
|
+
readonly Note: "Note";
|
|
515
|
+
};
|
|
516
|
+
static readonly Goods: {
|
|
517
|
+
readonly Code: "Code";
|
|
518
|
+
readonly Structure: "Structure";
|
|
519
|
+
readonly Note: "Note";
|
|
520
|
+
readonly Description: "Description";
|
|
521
|
+
};
|
|
522
|
+
static readonly Journal: {
|
|
523
|
+
readonly FileAs: "FileAs";
|
|
524
|
+
readonly Subject: "Subject";
|
|
525
|
+
readonly TypeEn: "TypeEn";
|
|
526
|
+
readonly StateEn: "StateEn";
|
|
527
|
+
readonly ImportanceEn: "ImportanceEn";
|
|
528
|
+
readonly EventStart: "EventStart";
|
|
529
|
+
readonly EventEnd: "EventEnd";
|
|
530
|
+
readonly SuperiorItem: "SuperiorItem";
|
|
531
|
+
readonly Company: "Company";
|
|
532
|
+
readonly Contact: "Contact";
|
|
533
|
+
readonly Marketing: "Marketing";
|
|
534
|
+
readonly IsSystem: "System";
|
|
535
|
+
readonly IsPrivate: "Private";
|
|
536
|
+
readonly Note: "Note";
|
|
537
|
+
readonly Phone: "Phone";
|
|
538
|
+
};
|
|
539
|
+
static readonly Vacation: {
|
|
540
|
+
readonly StartDate: "StartDate";
|
|
541
|
+
readonly EndDate: "EndDate";
|
|
542
|
+
readonly User: "User";
|
|
543
|
+
readonly Duration: "Duration";
|
|
544
|
+
readonly Place: "Place";
|
|
545
|
+
readonly Note: "Note";
|
|
546
|
+
readonly AllDay: "AllDay";
|
|
547
|
+
readonly TypeEn: "TypeEn";
|
|
548
|
+
readonly StateEn: "StateEn";
|
|
549
|
+
readonly IsPrivate: "Private";
|
|
550
|
+
};
|
|
551
|
+
static readonly Marketing: {
|
|
552
|
+
readonly HumanID: "HumanID";
|
|
553
|
+
readonly EstimatedStart: "EstimatedStart";
|
|
554
|
+
readonly EstimatedEnd: "EstimatedEnd";
|
|
555
|
+
readonly RealStart: "RealStart";
|
|
556
|
+
readonly RealEnd: "RealEnd";
|
|
557
|
+
readonly TargetGroup: "TargetGroup";
|
|
558
|
+
readonly EmailsSent: "EmailsSent";
|
|
559
|
+
readonly EmailsDelivered: "EmailsDelivered";
|
|
560
|
+
readonly EmailsViewed: "EmailsViewed";
|
|
561
|
+
readonly PeopleUnsubscribed: "PeopleUnsubscribed";
|
|
562
|
+
readonly FinalRevenues: "FinalRevenues";
|
|
563
|
+
readonly TypeEn: "TypeEn";
|
|
564
|
+
readonly StateEn: "StateEn";
|
|
565
|
+
};
|
|
566
|
+
static readonly Projects: {
|
|
567
|
+
readonly HumanID: "HID";
|
|
568
|
+
readonly FileAs: "FileAs";
|
|
569
|
+
readonly ProjectName: "ProjectName";
|
|
570
|
+
readonly ProjectOriginEn: "ProjectOriginEn";
|
|
571
|
+
readonly TypeEn: "TypeEn";
|
|
572
|
+
readonly StateEn: "StateEn";
|
|
573
|
+
readonly PaymentTypeEn: "PaymentTypeEn";
|
|
574
|
+
readonly ProjectStart: "ProjectStart";
|
|
575
|
+
readonly ProjectRealEnd: "ProjectRealEnd";
|
|
576
|
+
readonly EstimatedEnd: "ProjectEnd";
|
|
577
|
+
readonly CurrencyEn: "CurrencyEn";
|
|
578
|
+
readonly DefaultCurrencyEn: "DefaultCurrencyEn";
|
|
579
|
+
readonly EstimatedMargin: "EstimatedMargin";
|
|
580
|
+
readonly EstimatedPeopleExpenses: "EstimatedPeopleExpenses";
|
|
581
|
+
readonly EstimatedPeopleExpensesDefaultCurrency: "EstimatedPeopleExpensesDefaultCurrency";
|
|
582
|
+
readonly EstimatedOtherExpenses: "EstimatedOtherExpenses";
|
|
583
|
+
readonly EstimatedOtherExpensesDefaultCurrency: "EstimatedOtherExpensesDefaultCurrency";
|
|
584
|
+
readonly EstimatedPrice: "EstimatedPrice";
|
|
585
|
+
readonly EstimatedPriceDefaultCurrency: "EstimatedPriceDefaultCurrency";
|
|
586
|
+
readonly EstimatedProfit: "EstimatedProfit";
|
|
587
|
+
readonly EstimatedProfitDefaultCurrency: "EstimatedProfitDefaultCurrency";
|
|
588
|
+
readonly EstimatedPriceChanged: "EstimatedPriceChanged";
|
|
589
|
+
readonly EstimatedPeopleExpensesChanged: "EstimatedPeopleExpensesChanged";
|
|
590
|
+
readonly EstimatedOtherExpensesChanged: "EstimatedOtherExpensesChanged";
|
|
591
|
+
readonly Delay: "Delay";
|
|
592
|
+
readonly EstimatedWorkHours: "EstimatedWorkHours";
|
|
593
|
+
readonly TotalWorkHours: "TotalWorkHours";
|
|
594
|
+
readonly PeopleExpenses: "PeopleExpenses";
|
|
595
|
+
readonly OtherExpenses: "OtherExpenses";
|
|
596
|
+
readonly PeopleExpensesDefaultCurrency: "PeopleExpensesDefaultCurrency";
|
|
597
|
+
readonly OtherExpensesDefaultCurrency: "OtherExpensesDefaultCurrency";
|
|
598
|
+
readonly PeopleExpensesChanged: "PeopleExpensesChanged";
|
|
599
|
+
readonly OtherExpensesChanged: "OtherExpensesChanged";
|
|
600
|
+
readonly Price: "Price";
|
|
601
|
+
readonly PriceDefaultCurrency: "PriceDefaultCurrency";
|
|
602
|
+
readonly Profit: "Profit";
|
|
603
|
+
readonly ProfitDefaultCurrency: "ProfitDefaultCurrency";
|
|
604
|
+
readonly Margin: "Margin";
|
|
605
|
+
readonly PriceChanged: "PriceChanged";
|
|
606
|
+
readonly SuperiorProject: "SuperiorProject";
|
|
607
|
+
readonly Customer: "Customer";
|
|
608
|
+
readonly ContactPerson: "ContactPerson";
|
|
609
|
+
readonly Users: "Users";
|
|
610
|
+
readonly ProjectManager: "ProjectManager";
|
|
611
|
+
readonly InvoicePaymentDate: "InvoicePaymentDate";
|
|
612
|
+
readonly PaymentMaturity: "PaymentMaturity";
|
|
613
|
+
readonly InvoiceIssueDate: "InvoiceIssueDate";
|
|
614
|
+
readonly LicensesCount: "LicensesCount";
|
|
615
|
+
readonly LicensePrice: "LicensePrice";
|
|
616
|
+
readonly LicensePriceDefaultCurrency: "LicensePriceDefaultCurrency";
|
|
617
|
+
readonly NextStep: "NextStep";
|
|
618
|
+
readonly LastActivity: "LastActivity";
|
|
619
|
+
readonly IsPrivate: "Private";
|
|
620
|
+
readonly LicensePriceChanged: "LicensePriceChanged";
|
|
621
|
+
readonly Note: "Note";
|
|
622
|
+
};
|
|
623
|
+
static readonly Tasks: {
|
|
624
|
+
readonly FileAs: "FileAs";
|
|
625
|
+
readonly Subject: "Subject";
|
|
626
|
+
readonly RootItem: "RootItem";
|
|
627
|
+
readonly SuperiorItem: "SuperiorItem";
|
|
628
|
+
readonly Company: "Company";
|
|
629
|
+
readonly Contact: "Contact";
|
|
630
|
+
readonly StartDate: "StartDate";
|
|
631
|
+
readonly DueDate: "DueDate";
|
|
632
|
+
readonly Reminder: "Reminder";
|
|
633
|
+
readonly ReminderDate: "ReminderDate";
|
|
634
|
+
readonly ImportanceEn: "ImportanceEn";
|
|
635
|
+
readonly IsCompleted: "Complete";
|
|
636
|
+
readonly PercentComplete: "PercentComplete";
|
|
637
|
+
readonly PercentCompleteDecimal: "PercentCompleteDecimal";
|
|
638
|
+
readonly CompletedDate: "CompletedDate";
|
|
639
|
+
readonly Solver: "Solver";
|
|
640
|
+
readonly Delegator: "Delegator";
|
|
641
|
+
readonly Level: "Level";
|
|
642
|
+
readonly IsPrivate: "Private";
|
|
643
|
+
readonly ActualWorkHours: "ActualWorkHours";
|
|
644
|
+
readonly TotalWorkHours: "TotalWorkHours";
|
|
645
|
+
readonly Body: "Body";
|
|
646
|
+
readonly TypeEn: "TypeEn";
|
|
647
|
+
readonly StateEn: "StateEn";
|
|
648
|
+
};
|
|
649
|
+
static readonly Training: {
|
|
650
|
+
TitleEn: string;
|
|
651
|
+
};
|
|
652
|
+
static readonly WorkReports: {
|
|
653
|
+
readonly Task: "Task";
|
|
654
|
+
readonly ProjectName: "ProjectName";
|
|
655
|
+
readonly UserName: "UserName";
|
|
656
|
+
readonly Subject: "Subject";
|
|
657
|
+
readonly Date: "Date";
|
|
658
|
+
readonly FromTime: "FromTime";
|
|
659
|
+
readonly ToTime: "ToTime";
|
|
660
|
+
readonly Overtime: "Overtime";
|
|
661
|
+
readonly Month: "Month";
|
|
662
|
+
readonly Year: "Year";
|
|
663
|
+
readonly IsPrivate: "Private";
|
|
664
|
+
readonly Note: "Note";
|
|
665
|
+
readonly Duration: "Duration";
|
|
666
|
+
readonly WorkReportEn: "WorkReportEn";
|
|
667
|
+
readonly StateEn: "StateEn";
|
|
668
|
+
};
|
|
669
|
+
static readonly Users: {
|
|
670
|
+
readonly ProfilePicture: "ProfilePicture";
|
|
671
|
+
readonly UserName: "UserName";
|
|
672
|
+
readonly JobTitle: "JobTitle";
|
|
673
|
+
readonly IDCardNumber: "IDCardNumber";
|
|
674
|
+
readonly Birthdate: "Birthdate";
|
|
675
|
+
readonly BirthPlace: "BirthPlace";
|
|
676
|
+
readonly PersonalIdentificationNumber: "PersonalIdentificationNumber";
|
|
677
|
+
readonly Active: "Active";
|
|
678
|
+
readonly FamilyStatusEn: "FamilyStatusEn";
|
|
679
|
+
readonly HomeAddressStreet: "HomeAddressStreet";
|
|
680
|
+
readonly HomeAddressCity: "HomeAddressCity";
|
|
681
|
+
readonly HomeAddressPostalCode: "HomeAddressPostalCode";
|
|
682
|
+
readonly HomeAddressCountryEn: "HomeAddressCountryEn";
|
|
683
|
+
readonly HomeAddressState: "HomeAddressState";
|
|
684
|
+
readonly HomeAddressPOBox: "HomeAddressPOBox";
|
|
685
|
+
readonly BankAccount: "BankAccount";
|
|
686
|
+
readonly BusinessPhoneNumber: "BusinessPhoneNumber";
|
|
687
|
+
readonly MobilePhoneNumber: "MobilePhoneNumber";
|
|
688
|
+
readonly Email1Address: "Email1Address";
|
|
689
|
+
readonly Email2Address: "Email2Address";
|
|
690
|
+
readonly ICQ: "ICQ";
|
|
691
|
+
readonly MSN: "MSN";
|
|
692
|
+
readonly Skype: "Skype";
|
|
693
|
+
readonly IdentificationNumber: "IdentificationNumber";
|
|
694
|
+
readonly HealthInsurance: "HealthInsurance";
|
|
695
|
+
readonly HolidayLength: "HolidayLength";
|
|
696
|
+
readonly RemainingDaysOfHoliday: "RemainingDaysOfHoliday";
|
|
697
|
+
readonly SalaryDateEn: "SalaryDateEn";
|
|
698
|
+
readonly Supervisor: "Supervisor";
|
|
699
|
+
readonly TravelDistance: "TravelDistance";
|
|
700
|
+
readonly TimeAccessibility: "TimeAccessibility";
|
|
701
|
+
readonly TransportMode: "TransportMode";
|
|
702
|
+
readonly WorkdayStartTime: "WorkdayStartTime";
|
|
703
|
+
readonly Note: "Note";
|
|
704
|
+
readonly IsSystem: "IsSystem";
|
|
705
|
+
};
|
|
706
|
+
static allTypeEnNames: string[];
|
|
707
|
+
static getFolderFileAs: (folderName: TFolderName) => "FileAs" | "TypeEn" | "CompanyName" | "DocName" | "Subject" | "ProjectName";
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
declare class OAuthHelper {
|
|
711
|
+
static finishAuthorization: (wsUrl: string, clientId: string, clientSecret: string, codeVerifier: string, authorizationCode: string, redirectUrl: string, callback: (tokenData: ITokenData) => void) => void;
|
|
712
|
+
static refreshToken: (wsUrl: string, clientId: string, clientSecret: string, refreshToken: string, callback: (tokenData: ITokenData) => void) => void;
|
|
713
|
+
static getWebServiceUrl: (refreshToken: string) => string;
|
|
714
|
+
static getUserName: (accessToken: string) => string | undefined;
|
|
715
|
+
private static callTokenEndpoint;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
declare class EnumTypes {
|
|
719
|
+
static readonly bonusType = "BonusType";
|
|
720
|
+
static readonly busyStatus = "BusyStatus";
|
|
721
|
+
static readonly cartType = "CartType";
|
|
722
|
+
static readonly companyType = "CompanyType";
|
|
723
|
+
static readonly contactType = "ContactType";
|
|
724
|
+
static readonly countryCode = "CountryCode";
|
|
725
|
+
static readonly customFieldCategory = "CustomFieldCategory";
|
|
726
|
+
static readonly documentOfflineState = "DocumentOfflineState";
|
|
727
|
+
static readonly documentType = "DocumentType";
|
|
728
|
+
static readonly emailOfflineState = "EmailOfflineState";
|
|
729
|
+
static readonly emailType = "EmailType";
|
|
730
|
+
static readonly globalSettingsCategory = "GlobalSettingsCategory";
|
|
731
|
+
static readonly goalType = "GoalType";
|
|
732
|
+
static readonly journalType = "JournalType";
|
|
733
|
+
static readonly knowledgeType = "KnowledgeType";
|
|
734
|
+
static readonly leadType = "LeadType";
|
|
735
|
+
static readonly marketingType = "MarketingType";
|
|
736
|
+
static readonly paymentType = "PaymentType";
|
|
737
|
+
static readonly prefixType = "PrefixType";
|
|
738
|
+
static readonly productType = "ProductType";
|
|
739
|
+
static readonly projectType = "ProjectType";
|
|
740
|
+
static readonly salaryType = "SalaryType";
|
|
741
|
+
static readonly salePriceType = "SalePriceType";
|
|
742
|
+
static readonly suffixType = "SuffixType";
|
|
743
|
+
static readonly taskType = "TaskType";
|
|
744
|
+
static readonly trainingTitle = "TrainingTitle";
|
|
745
|
+
static readonly userType = "UserType";
|
|
746
|
+
static readonly usStatesDistrictsTerritories = "USStatesDistrictsTerritories";
|
|
747
|
+
static readonly vacationType = "VacationType";
|
|
748
|
+
static readonly workReportType = "WorkReportType";
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
type TRelationType = 'GENERAL' | 'GROUP' | 'CONTACTPERSON' | 'CONTACT' | 'CUSTOMER' | 'COMPANY' | 'OUTLOOKPROJECT' | 'SUPERVISOR';
|
|
752
|
+
declare class RelationTypes {
|
|
753
|
+
static readonly general: TRelationType;
|
|
754
|
+
static readonly group: TRelationType;
|
|
755
|
+
static readonly contactPerson: TRelationType;
|
|
756
|
+
static readonly contact: TRelationType;
|
|
757
|
+
static readonly customer: TRelationType;
|
|
758
|
+
static readonly company: TRelationType;
|
|
759
|
+
static readonly outlookProject: TRelationType;
|
|
760
|
+
static readonly supervisor: TRelationType;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
interface IApiItemBase {
|
|
764
|
+
ItemGUID: string;
|
|
765
|
+
ItemVersion: number;
|
|
766
|
+
FileAs: string | null | undefined;
|
|
767
|
+
}
|
|
768
|
+
interface IApiBoundRelation {
|
|
769
|
+
RelationType: string;
|
|
770
|
+
ForeignItemGUID: string;
|
|
771
|
+
ForeignFolderName: string;
|
|
772
|
+
RelationDataGUID: string;
|
|
773
|
+
}
|
|
774
|
+
type TApiItemWithReleations<TItem> = TItem & {
|
|
775
|
+
Relations: IApiBoundRelation[];
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
type TApiColumnPermissionPermissionRuleOptions = 'All' | 'Own' | 'Readonly' | 'Invisible' | 'None';
|
|
779
|
+
type TApiColumnPermissionMandatoryRuleOptions = 'Mandatory' | 'Optional' | 'Unique' | 'None';
|
|
780
|
+
interface IApiColumnPermission extends IApiItemBase {
|
|
781
|
+
ColumnName: string;
|
|
782
|
+
GroupGuid: string;
|
|
783
|
+
FolderName: string;
|
|
784
|
+
IsAdditionalField: boolean;
|
|
785
|
+
IsMandatoryRuleEditable: boolean;
|
|
786
|
+
IsPermissionRuleEditable: boolean;
|
|
787
|
+
MandatoryRule: TApiColumnPermissionMandatoryRuleOptions | string;
|
|
788
|
+
PermissionRule: TApiColumnPermissionPermissionRuleOptions | string;
|
|
789
|
+
NotFullyPermittedForGroupGuids: string[] | null;
|
|
790
|
+
IsSetToUnique: boolean;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
declare class ColumnPermissionPermissionRules {
|
|
794
|
+
static readonly all: TApiColumnPermissionPermissionRuleOptions;
|
|
795
|
+
static readonly own: TApiColumnPermissionPermissionRuleOptions;
|
|
796
|
+
static readonly readonly: TApiColumnPermissionPermissionRuleOptions;
|
|
797
|
+
static readonly invisible: TApiColumnPermissionPermissionRuleOptions;
|
|
798
|
+
static readonly none: TApiColumnPermissionPermissionRuleOptions;
|
|
799
|
+
}
|
|
800
|
+
declare class ColumnPermissionMandatoryRules {
|
|
801
|
+
static readonly mandatory: TApiColumnPermissionMandatoryRuleOptions;
|
|
802
|
+
static readonly optional: TApiColumnPermissionMandatoryRuleOptions;
|
|
803
|
+
static readonly unique: TApiColumnPermissionMandatoryRuleOptions;
|
|
804
|
+
static readonly none: TApiColumnPermissionMandatoryRuleOptions;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
declare enum Edition {
|
|
808
|
+
Free = "Free",
|
|
809
|
+
Basic = "Basic",
|
|
810
|
+
Professional = "Professional",
|
|
811
|
+
Enterprise = "Enterprise"
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
declare enum Feature {
|
|
815
|
+
ContactsAndCompanies = "ContactsAndCompanies",
|
|
816
|
+
Sales = "Sales",
|
|
817
|
+
Projects = "Projects",
|
|
818
|
+
Marketing = "Marketing"
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
declare class Functionality {
|
|
822
|
+
static readonly contactsSynchronizationWithOutlook = "ContactsSynchronizationWithOutlook";
|
|
823
|
+
static readonly wordAddin = "WordAddin";
|
|
824
|
+
static readonly excelAddin = "ExcelAddin";
|
|
825
|
+
static readonly tasksRecurrentTasks = "TasksRecurrentTasks";
|
|
826
|
+
static readonly tasksSubtasks = "TasksSubtasks";
|
|
827
|
+
static readonly tasksSynchronizationWithOutlook = "TasksSynchronizationWithOutlook";
|
|
828
|
+
static readonly calendarSynchronizationWithOutlook = "CalendarSynchronizationWithOutlook";
|
|
829
|
+
static readonly emailsAutomaticTracking = "EmailsAutomaticTracking";
|
|
830
|
+
static readonly convertEmailToProject = "ConvertEmailToProject";
|
|
831
|
+
static readonly duplicityChecker = "DuplicityChecker";
|
|
832
|
+
static readonly nextStepAndLastActivityCustomization = "NextStepAndLastActivityCustomization";
|
|
833
|
+
static readonly subProjects = "SubProjects";
|
|
834
|
+
static readonly resourceAndPlanning = "ResourceAndPlanning";
|
|
835
|
+
static readonly professionalEmailCampaigns = "ProfessionalEmailCampaigns";
|
|
836
|
+
static readonly professionalEmailCampaignsAdvancedStatistics = "ProfessionalEmailCampaignsAdvancedStatistics";
|
|
837
|
+
static readonly wordEmailMerge = "WordEmailMerge";
|
|
838
|
+
static readonly printLabels = "PrintLabels";
|
|
839
|
+
static readonly printEnvelopes = "PrintEnvelopes";
|
|
840
|
+
static readonly userViews = "UserViews";
|
|
841
|
+
static readonly sharedUserViews = "SharedUserViews";
|
|
842
|
+
static readonly gridConditionalFormating = "GridConditionalFormating";
|
|
843
|
+
static readonly multipleCurrencies = "MultipleCurrencies";
|
|
844
|
+
static readonly historyTracking = "HistoryTracking";
|
|
845
|
+
static readonly privateItems = "PrivateItems";
|
|
846
|
+
static readonly itemTypes = "ItemTypes";
|
|
847
|
+
static readonly formLayoutCustomization = "FormLayoutCustomization";
|
|
848
|
+
static readonly workflowBasicDefinitions = "WorkflowBasicDefinitions";
|
|
849
|
+
static readonly workflowAdvancedDefinitions = "WorkflowAdvancedDefinitions";
|
|
850
|
+
static readonly workflowAdvancedDefinitionsRules = "WorkflowAdvancedDefinitionsRules";
|
|
851
|
+
static readonly workflowAdvancedDefinitionsActions = "WorkflowAdvancedDefinitionsActions";
|
|
852
|
+
static readonly workflowGroupLevelActions = "WorkflowGroupLevelActions";
|
|
853
|
+
static readonly customFields = "CustomFields";
|
|
854
|
+
static readonly importantFields = "ImportantFields";
|
|
855
|
+
static readonly mandatoryFields = "MandatoryFields";
|
|
856
|
+
static readonly uniqueFields = "UniqueFields";
|
|
857
|
+
static readonly readOnlyFields = "ReadOnlyFields";
|
|
858
|
+
static readonly transformationCustomTemplates = "TransformationCustomTemplates";
|
|
859
|
+
static readonly userRoles = "UserRoles";
|
|
860
|
+
static readonly modulePermissions = "ModulePermissions";
|
|
861
|
+
static readonly columnPermissions = "ColumnPermissions";
|
|
862
|
+
static readonly api = "API";
|
|
863
|
+
static readonly gate = "Gate";
|
|
864
|
+
static readonly threeCXIntegration = "ThreeCXIntegration";
|
|
865
|
+
static readonly tapiIntegration = "TapiIntegration";
|
|
866
|
+
static readonly pohodaIntegration = "PohodaIntegration";
|
|
867
|
+
static readonly pohodaSynchronizationIntervalCustomization = "PohodaSynchronizationIntervalCustomization";
|
|
868
|
+
static readonly pohodaSynchronizationFieldMappingCustomization = "PohodaSynchronizationFieldMappingCustomization";
|
|
869
|
+
static readonly quickBooksIntegration = "QuickBooksIntegration";
|
|
870
|
+
static readonly saveBinaryDataOnDisk = "SaveBinaryDataOnDisk";
|
|
871
|
+
static readonly activeDirectoryLogin = "ActiveDirectoryLogin";
|
|
872
|
+
static readonly callerIdentificationOnApple = "CallerIdentificationOnApple";
|
|
873
|
+
static readonly legacyAdministration = "LegacyAdministration";
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
declare class CustomizationStatsItemKeys {
|
|
877
|
+
static customAdditionalFieldsCount: string;
|
|
878
|
+
static customEnabledAdvancedWorkflowsCount: string;
|
|
879
|
+
static customEnabledBasicWorkflowsCount: string;
|
|
880
|
+
static customMandatoryFieldsCount: string;
|
|
881
|
+
static customOptionalFieldsCount: string;
|
|
882
|
+
static customReadonlyFieldsCount: string;
|
|
883
|
+
static customUniqueFieldsCount: string;
|
|
884
|
+
static customVisibleTypesCount: string;
|
|
885
|
+
static visibleCurrenciesCount: string;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
declare class LicenseRestrictionKeys {
|
|
889
|
+
static contactsSynchronizationWithOutlook: string;
|
|
890
|
+
static contactsSynchronizationWithAndroid: string;
|
|
891
|
+
static documentsRevisions: string;
|
|
892
|
+
static wordAddin: string;
|
|
893
|
+
static excelAddin: string;
|
|
894
|
+
static tasksReminders: string;
|
|
895
|
+
static tasksRecurrentTasks: string;
|
|
896
|
+
static tasksSubtasks: string;
|
|
897
|
+
static tasksSynchronizationWithOutlook: string;
|
|
898
|
+
static calendarSynchronizationWithOutlook: string;
|
|
899
|
+
static emailsManualTracking: string;
|
|
900
|
+
static emailsAutomaticTracking: string;
|
|
901
|
+
static convertEmailToContact: string;
|
|
902
|
+
static convertEmailToDeal: string;
|
|
903
|
+
static convertEmailToProject: string;
|
|
904
|
+
static convertEmailToTask: string;
|
|
905
|
+
static gravatarIntegration: string;
|
|
906
|
+
static logoboxIntegration: string;
|
|
907
|
+
static companiesBussinesRegisterApiIntegration: string;
|
|
908
|
+
static duplicityChecker: string;
|
|
909
|
+
static nextStepAndLastActivityCustomization: string;
|
|
910
|
+
static subProjects: string;
|
|
911
|
+
static resourceAndPlanning: string;
|
|
912
|
+
static professionalEmailCampaigns: string;
|
|
913
|
+
static professionalEmailCampaignsAdvancedStatistics: string;
|
|
914
|
+
static wordEmailMerge: string;
|
|
915
|
+
static printLabels: string;
|
|
916
|
+
static printEnvelopes: string;
|
|
917
|
+
static userViews: string;
|
|
918
|
+
static sharedUserViews: string;
|
|
919
|
+
static gridRowSummary: string;
|
|
920
|
+
static gridConditionalFormating: string;
|
|
921
|
+
static multipleCurrencies: string;
|
|
922
|
+
static historyTracking: string;
|
|
923
|
+
static privateItems: string;
|
|
924
|
+
static itemTypes: string;
|
|
925
|
+
static formLayoutCustomization: string;
|
|
926
|
+
static workflowBasicDefinitions: string;
|
|
927
|
+
static workflowAdvancedDefinitions: string;
|
|
928
|
+
static workflowAdvancedDefinitionsRules: string;
|
|
929
|
+
static workflowAdvancedDefinitionsActions: string;
|
|
930
|
+
static workflowGroupLevelActions: string;
|
|
931
|
+
static customFields: string;
|
|
932
|
+
static importantFields: string;
|
|
933
|
+
static mandatoryFields: string;
|
|
934
|
+
static uniqueFields: string;
|
|
935
|
+
static readOnlyFields: string;
|
|
936
|
+
static transformationCustomTemplates: string;
|
|
937
|
+
static userRoles: string;
|
|
938
|
+
static modulePermissions: string;
|
|
939
|
+
static columnPermissions: string;
|
|
940
|
+
static commonDataAPI: string;
|
|
941
|
+
static eWayCrmAPI: string;
|
|
942
|
+
static threeCXIntegration: string;
|
|
943
|
+
static tapiIntegration: string;
|
|
944
|
+
static pohodaIntegration: string;
|
|
945
|
+
static pohodaSynchronizationIntervalCustomization: string;
|
|
946
|
+
static pohodaSynchronizationFieldMappingCustomization: string;
|
|
947
|
+
static quickBooksIntegration: string;
|
|
948
|
+
static shareByTeams: string;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
declare enum ExpirationReason {
|
|
952
|
+
UnpaidImportantInvoices = "UnpaidImportantInvoices",
|
|
953
|
+
UncollectableSubscriptionPayment = "UncollectableSubscriptionPayment",
|
|
954
|
+
UncollectableSubscriptionPaymentWithExpiredCard = "UncollectableSubscriptionPaymentWithExpiredCard",
|
|
955
|
+
StandardSubscriptionPeriod = "StandardSubscriptionPeriod"
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
declare enum LicenseKeyInvoiceSeverity {
|
|
959
|
+
License = "License",
|
|
960
|
+
CloudLicense = "CloudLicense",
|
|
961
|
+
MiscLicense = "MiscLicense",
|
|
962
|
+
Support = "Support",
|
|
963
|
+
Service = "Service"
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
declare class ErrorHelper {
|
|
967
|
+
static readonly stringifyError: (error: Error) => string;
|
|
968
|
+
private static readonly replaceErrors;
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
declare class VersionHelperBase {
|
|
972
|
+
protected static readonly getIsDebug: (connection?: ApiConnection | null) => boolean;
|
|
973
|
+
protected static readonly supportsFeaturesOf: (connection: ApiConnection, version: string) => boolean;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
declare abstract class OAuthSessionHandlerBase implements ISessionHandler {
|
|
977
|
+
lastSuccessfulLoginResponse?: IApiLoginResponse;
|
|
978
|
+
private accessToken;
|
|
979
|
+
private readonly username;
|
|
980
|
+
private readonly appVersion;
|
|
981
|
+
protected readonly errorCallback: ((error: TUnionError) => void) | undefined;
|
|
982
|
+
private readonly getNewAccessTokenCallback;
|
|
983
|
+
constructor(username: string, accessToken: string, appVersion: string, getNewAccessTokenCallback: ((connection: ApiConnection, callback: (accessToken: string, error?: string) => void) => void), errorCallback?: (error: TUnionError) => void);
|
|
984
|
+
readonly invalidateSessionId: (_: string, callback: () => void) => void;
|
|
985
|
+
readonly getSessionId: (connection: ApiConnection, callback: (sessionId: string) => void) => void;
|
|
986
|
+
}
|
|
987
|
+
|
|
988
|
+
interface IItemPreview {
|
|
989
|
+
imageData: string;
|
|
990
|
+
width: number;
|
|
991
|
+
height: number;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
declare class EWItem<T extends IApiItemBase> {
|
|
995
|
+
readonly folderName: TFolderName;
|
|
996
|
+
readonly baseItem: T;
|
|
997
|
+
constructor(folderName: TFolderName, baseItem: T);
|
|
998
|
+
getEmailAddress(): string | null;
|
|
999
|
+
getInitials(): string | null;
|
|
1000
|
+
private getInitialsInternal;
|
|
1001
|
+
getItemPreview(): IItemPreview | null;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
type TNumericValidatorType = 'None' | 'Double' | 'Currency' | 'Int' | 'Percent' | 'FileSize';
|
|
1005
|
+
|
|
1006
|
+
interface IApiAdditionalField extends IApiItemBase {
|
|
1007
|
+
ObjectTypeFolderName: string;
|
|
1008
|
+
FieldId: number;
|
|
1009
|
+
ColumnName: string;
|
|
1010
|
+
Name: string;
|
|
1011
|
+
Comment: string | null;
|
|
1012
|
+
Type: number;
|
|
1013
|
+
CategoryEn: string | null;
|
|
1014
|
+
Rank: number;
|
|
1015
|
+
Data_RelatedFolderName: string | null;
|
|
1016
|
+
Data_IsDateTime: boolean | null;
|
|
1017
|
+
Data_FormatType: TNumericValidatorType | null;
|
|
1018
|
+
Data_EditMask: string | null;
|
|
1019
|
+
Data_MemoBoxLines: number | null;
|
|
1020
|
+
Data_SummaryType: string | null;
|
|
1021
|
+
Data_LinkType: string | null;
|
|
1022
|
+
AssociatedEnumTypeGuid: string | null;
|
|
1023
|
+
IsInGeneralSection: boolean;
|
|
1024
|
+
}
|
|
1025
|
+
|
|
1026
|
+
interface IApiLicenseBundleBase {
|
|
1027
|
+
Code: string;
|
|
1028
|
+
ContainsOutlook: boolean;
|
|
1029
|
+
ContainsWeb: boolean;
|
|
1030
|
+
ContainsMobile: boolean;
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
type TFeatureWithEdition = {
|
|
1034
|
+
Edition: Edition;
|
|
1035
|
+
Feature: Feature;
|
|
1036
|
+
};
|
|
1037
|
+
interface IApiFeaturesLicenseBundle extends IApiLicenseBundleBase {
|
|
1038
|
+
Features: TFeatureWithEdition[];
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
interface IApiAvailableBundle extends IApiFeaturesLicenseBundle {
|
|
1042
|
+
Quantity: number;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
interface IApiAvailableVersionResponse extends IApiResult {
|
|
1046
|
+
ClientVersion: string | null;
|
|
1047
|
+
WebServiceVersion: string | null;
|
|
1048
|
+
IsApproved: boolean | null;
|
|
1049
|
+
KnowledgeBaseLink: string | null;
|
|
1050
|
+
ReleaseDate: string | null;
|
|
1051
|
+
IsNewVersionAvailable: boolean;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
interface IApiCapacityAvailableBundle extends IApiAvailableBundle {
|
|
1055
|
+
FreeSlotsCount: number;
|
|
1056
|
+
UsedSlotsCount: number;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
interface IApiCart extends IApiItemBase {
|
|
1060
|
+
Id: number | null;
|
|
1061
|
+
EffectiveFrom: string | null;
|
|
1062
|
+
ValidUntil: string | null;
|
|
1063
|
+
IsActive: boolean | null;
|
|
1064
|
+
TypeEn: string | null;
|
|
1065
|
+
PriceTotal: number | null;
|
|
1066
|
+
ForPayment: number | null;
|
|
1067
|
+
Paid: number | null;
|
|
1068
|
+
CurrencyEn: string | null;
|
|
1069
|
+
Vat: number | null;
|
|
1070
|
+
PriceTotalExcludingVat: number | null;
|
|
1071
|
+
GoodsInCartCount: number | null;
|
|
1072
|
+
Note: string | null;
|
|
1073
|
+
PriceTotalDefaultCurrency: number | null;
|
|
1074
|
+
PriceTotalParentCurrency: number | null;
|
|
1075
|
+
ForPaymentDefaultCurrency: number | null;
|
|
1076
|
+
ForPaymentParentCurrency: number | null;
|
|
1077
|
+
PaidDefaultCurrency: number | null;
|
|
1078
|
+
PaidParentCurrency: number | null;
|
|
1079
|
+
PriceTotalExcludingVatDefaultCurrency: number | null;
|
|
1080
|
+
PriceTotalExcludingVatParentCurrency: number | null;
|
|
1081
|
+
VatDefaultCurrency: number | null;
|
|
1082
|
+
VatParentCurrency: number | null;
|
|
1083
|
+
PaidChanged: string | null;
|
|
1084
|
+
PriceTotalChanged: string | null;
|
|
1085
|
+
StateEn: string | null;
|
|
1086
|
+
PrevStateEn: string | null;
|
|
1087
|
+
TaxableSupplyDate: string | null;
|
|
1088
|
+
AccountingCaseDate: string | null;
|
|
1089
|
+
PaymentDate: string | null;
|
|
1090
|
+
PurchaseExpenses: number | null;
|
|
1091
|
+
PurchaseExpensesParentCurrency: number | null;
|
|
1092
|
+
PurchaseExpensesDefaultCurrency: number | null;
|
|
1093
|
+
PurchaseExpensesChanged: string | null;
|
|
1094
|
+
Profit: number | null;
|
|
1095
|
+
ProfitDefaultCurrency: number | null;
|
|
1096
|
+
ProfitParentCurrency: number | null;
|
|
1097
|
+
ProfitChanged: string | null;
|
|
1098
|
+
Picture: string | null;
|
|
1099
|
+
PictureWidth: number | null;
|
|
1100
|
+
PictureHeight: number | null;
|
|
1101
|
+
Contacts_ContactPersonGuid: string | null;
|
|
1102
|
+
Companies_CustomerGuid: string | null;
|
|
1103
|
+
Leads_CartGuid: string | null;
|
|
1104
|
+
Projects_CartGuid: string | null;
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
type TFieldType = 'TextBox' | 'ComboBox' | 'NumericBox' | 'Relation' | 'CheckBox' | 'LinkTextBox' | 'DateEdit' | 'MemoBox' | 'MultiSelectComboBox' | 'WorkflowState' | 'Image' | 'MultiSelectRelation';
|
|
1108
|
+
|
|
1109
|
+
type TAdditionalFieldItem = {
|
|
1110
|
+
CategoryEn: string | null;
|
|
1111
|
+
Comment: string;
|
|
1112
|
+
FieldId: number;
|
|
1113
|
+
ItemGUID: string;
|
|
1114
|
+
};
|
|
1115
|
+
type EnumTypeItem = {
|
|
1116
|
+
EnumName: string;
|
|
1117
|
+
ItemGUID: string;
|
|
1118
|
+
};
|
|
1119
|
+
type TForeignKeyRelationInfo = {
|
|
1120
|
+
RelatedFolders: TFolderName[];
|
|
1121
|
+
RelationType: string;
|
|
1122
|
+
};
|
|
1123
|
+
type TNumericInfo = {
|
|
1124
|
+
FormatType: TNumericValidatorType;
|
|
1125
|
+
CurrencyEnColumnName?: string;
|
|
1126
|
+
};
|
|
1127
|
+
interface IApiColumn {
|
|
1128
|
+
AdditionalFieldItem?: TAdditionalFieldItem;
|
|
1129
|
+
AllowedColumnMandatoryTypes: string[] | null;
|
|
1130
|
+
AllowedColumnPermissionTypes: string[] | null;
|
|
1131
|
+
AltNameCs?: string;
|
|
1132
|
+
AltNameDe?: string;
|
|
1133
|
+
AltNameEn?: string;
|
|
1134
|
+
AltNameNo?: string;
|
|
1135
|
+
AltNameRu?: string;
|
|
1136
|
+
AltNameSk?: string;
|
|
1137
|
+
ColumnName: string;
|
|
1138
|
+
EnumTypeItem?: EnumTypeItem;
|
|
1139
|
+
FolderName: string;
|
|
1140
|
+
ForeignKeyRelationInfo?: TForeignKeyRelationInfo;
|
|
1141
|
+
IsAdditionalField: boolean;
|
|
1142
|
+
IsPermissionEnabled: boolean;
|
|
1143
|
+
IsUniqueConstraintSupported: boolean;
|
|
1144
|
+
LinkType?: 'Phone' | 'URL' | 'Email' | 'File' | 'Custom';
|
|
1145
|
+
NameCs: string;
|
|
1146
|
+
NameDe: string;
|
|
1147
|
+
NameEn: string;
|
|
1148
|
+
NameNo: string;
|
|
1149
|
+
NameRu: string;
|
|
1150
|
+
NameSk: string;
|
|
1151
|
+
NumericInfo?: TNumericInfo;
|
|
1152
|
+
DateTimeType?: 'Date' | 'DateTime' | 'DateTimeSeconds';
|
|
1153
|
+
OriginalCurrencyColumn?: string;
|
|
1154
|
+
Type: TFieldType;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
interface IApiCompany extends IApiItemBase {
|
|
1158
|
+
AccountNumber: string | null;
|
|
1159
|
+
Address1POBox: string | null;
|
|
1160
|
+
Address1Street: string | null;
|
|
1161
|
+
Address1City: string | null;
|
|
1162
|
+
Address1State: string | null;
|
|
1163
|
+
Address1CountryEn: string | null;
|
|
1164
|
+
Address1PostalCode: string | null;
|
|
1165
|
+
Address2POBox: string | null;
|
|
1166
|
+
Address2Street: string | null;
|
|
1167
|
+
Address2City: string | null;
|
|
1168
|
+
Address2State: string | null;
|
|
1169
|
+
Address2CountryEn: string | null;
|
|
1170
|
+
Address2PostalCode: string | null;
|
|
1171
|
+
Address3POBox: string | null;
|
|
1172
|
+
Address3Street: string | null;
|
|
1173
|
+
Address3City: string | null;
|
|
1174
|
+
Address3State: string | null;
|
|
1175
|
+
Address3CountryEn: string | null;
|
|
1176
|
+
Address3PostalCode: string | null;
|
|
1177
|
+
CompanyName: string | null;
|
|
1178
|
+
Department: string | null;
|
|
1179
|
+
Email: string | null;
|
|
1180
|
+
EmployeesCount: number | null;
|
|
1181
|
+
Fax: string | null;
|
|
1182
|
+
FirstContactEn: string | null;
|
|
1183
|
+
ICQ: string | null;
|
|
1184
|
+
IdentificationNumber: string | null;
|
|
1185
|
+
ImportanceEn: string | null;
|
|
1186
|
+
LineOfBusiness: string | null;
|
|
1187
|
+
MailingListOther: boolean | null;
|
|
1188
|
+
Mobile: string | null;
|
|
1189
|
+
MobileNormalized: string | null;
|
|
1190
|
+
MSN: string | null;
|
|
1191
|
+
Note: string | null;
|
|
1192
|
+
Phone: string | null;
|
|
1193
|
+
PhoneNormalized: string | null;
|
|
1194
|
+
Purchaser: boolean | null;
|
|
1195
|
+
Reversal: number | null;
|
|
1196
|
+
Skype: string | null;
|
|
1197
|
+
Suppliers: boolean | null;
|
|
1198
|
+
VATNumber: string | null;
|
|
1199
|
+
WebPage: string | null;
|
|
1200
|
+
AdditionalDiscount: number | null;
|
|
1201
|
+
ID: number | null;
|
|
1202
|
+
Competitor: boolean | null;
|
|
1203
|
+
SalePriceGuid: string | null;
|
|
1204
|
+
NotificationByEmail: boolean | null;
|
|
1205
|
+
NotificationBy: string | null;
|
|
1206
|
+
LastActivity: string | null;
|
|
1207
|
+
NextStep: string | null;
|
|
1208
|
+
EmailOptOut: boolean | null;
|
|
1209
|
+
TypeEn: string | null;
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
interface IApiContact extends IApiItemBase {
|
|
1213
|
+
BusinessAddressStreet: string | null;
|
|
1214
|
+
BusinessAddressCity: string | null;
|
|
1215
|
+
BusinessAddressState: string | null;
|
|
1216
|
+
BusinessAddressCountryEn: string | null;
|
|
1217
|
+
BusinessAddressPOBox: string | null;
|
|
1218
|
+
BusinessAddressPostalCode: string | null;
|
|
1219
|
+
HomeAddressStreet: string | null;
|
|
1220
|
+
HomeAddressCity: string | null;
|
|
1221
|
+
HomeAddressState: string | null;
|
|
1222
|
+
HomeAddressCountryEn: string | null;
|
|
1223
|
+
HomeAddressPOBox: string | null;
|
|
1224
|
+
HomeAddressPostalCode: string | null;
|
|
1225
|
+
OtherAddressStreet: string | null;
|
|
1226
|
+
OtherAddressCity: string | null;
|
|
1227
|
+
OtherAddressState: string | null;
|
|
1228
|
+
OtherAddressCountryEn: string | null;
|
|
1229
|
+
OtherAddressPOBox: string | null;
|
|
1230
|
+
OtherAddressPostalCode: string | null;
|
|
1231
|
+
Company: string | null;
|
|
1232
|
+
Email1Address: string | null;
|
|
1233
|
+
Email2Address: string | null;
|
|
1234
|
+
Email3Address: string | null;
|
|
1235
|
+
FirstName: string | null;
|
|
1236
|
+
ICQ: string | null;
|
|
1237
|
+
ImportanceEn: string | null;
|
|
1238
|
+
LastName: string | null;
|
|
1239
|
+
MiddleName: string | null;
|
|
1240
|
+
MSN: string | null;
|
|
1241
|
+
Note: string | null;
|
|
1242
|
+
PrefixEn: string | null;
|
|
1243
|
+
SuffixEn: string | null;
|
|
1244
|
+
Skype: string | null;
|
|
1245
|
+
TelephoneNumber1: string | null;
|
|
1246
|
+
TelephoneNumber2: string | null;
|
|
1247
|
+
TelephoneNumber3: string | null;
|
|
1248
|
+
TelephoneNumber4: string | null;
|
|
1249
|
+
TelephoneNumber5: string | null;
|
|
1250
|
+
TelephoneNumber6: string | null;
|
|
1251
|
+
TelephoneNumber1Normalized: string | null;
|
|
1252
|
+
TelephoneNumber2Normalized: string | null;
|
|
1253
|
+
TelephoneNumber3Normalized: string | null;
|
|
1254
|
+
TelephoneNumber4Normalized: string | null;
|
|
1255
|
+
TelephoneNumber5Normalized: string | null;
|
|
1256
|
+
TelephoneNumber6Normalized: string | null;
|
|
1257
|
+
Department: string | null;
|
|
1258
|
+
Title: string | null;
|
|
1259
|
+
WebPage: string | null;
|
|
1260
|
+
DoNotSendNewsletter: boolean | null;
|
|
1261
|
+
ProfilePicture: string | null;
|
|
1262
|
+
ProfilePictureWidth: number | null;
|
|
1263
|
+
ProfilePictureHeight: number | null;
|
|
1264
|
+
LastActivity: string | null;
|
|
1265
|
+
NextStep: string | null;
|
|
1266
|
+
TypeEn: string | null;
|
|
1267
|
+
Companies_CompanyGuid: string | null;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
interface IApiCustomizationStatsItem {
|
|
1271
|
+
FolderName: TFolderName | null;
|
|
1272
|
+
Key: string;
|
|
1273
|
+
Value: number;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
interface IApiCurrencyExchangeRate extends IApiItemBase {
|
|
1277
|
+
InputCurrencyEn: string | null;
|
|
1278
|
+
OutputCurrencyEn: string | null;
|
|
1279
|
+
Rate: number | null;
|
|
1280
|
+
From: string | null;
|
|
1281
|
+
To: string | null;
|
|
1282
|
+
IsValid: boolean | null;
|
|
1283
|
+
}
|
|
1284
|
+
|
|
1285
|
+
interface IApiBooleanResponse extends IApiResult {
|
|
1286
|
+
Result: boolean;
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
interface IApiDataResponse<T> extends IApiResult {
|
|
1290
|
+
Data: T[];
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
interface IApiDatumResponse<T> extends IApiResult {
|
|
1294
|
+
Datum: T;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
interface IApiDocument extends IApiItemBase {
|
|
1298
|
+
DocName: string | null;
|
|
1299
|
+
Extension: string | null;
|
|
1300
|
+
CreationTime: string | null;
|
|
1301
|
+
LastWriteTime: string | null;
|
|
1302
|
+
DocSize: number | null;
|
|
1303
|
+
ImportanceEn: string | null;
|
|
1304
|
+
TypeEn: string | null;
|
|
1305
|
+
Note: string | null;
|
|
1306
|
+
StateEn: string | null;
|
|
1307
|
+
PrevStateEn: string | null;
|
|
1308
|
+
Preview: string | null;
|
|
1309
|
+
PreviewWidth: number | null;
|
|
1310
|
+
PreviewHeight: number | null;
|
|
1311
|
+
IsGdprRelevant: boolean | null;
|
|
1312
|
+
Companies_CompanyGuid: string | null;
|
|
1313
|
+
Contacts_ContactGuid: string | null;
|
|
1314
|
+
Leads_SuperiorItemGuid: string | null;
|
|
1315
|
+
Projects_SuperiorItemGuid: string | null;
|
|
1316
|
+
Marketing_SuperiorItemGuid: string | null;
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
interface IApiEmail extends IApiItemBase {
|
|
1320
|
+
Subject: string | null;
|
|
1321
|
+
SenderEmailAddress: string | null;
|
|
1322
|
+
SentOn: string | null;
|
|
1323
|
+
ReceivedTime: string | null;
|
|
1324
|
+
AttachmentsCount: number | null;
|
|
1325
|
+
To: string | null;
|
|
1326
|
+
Cc: string | null;
|
|
1327
|
+
Note: string | null;
|
|
1328
|
+
ImportanceEn: string | null;
|
|
1329
|
+
Checksum: number | null;
|
|
1330
|
+
MessageId: string | null;
|
|
1331
|
+
Hash: string | null;
|
|
1332
|
+
ConversationIndex: string | null;
|
|
1333
|
+
EmailFileExtension: string | null;
|
|
1334
|
+
SentMailGUID: string | null;
|
|
1335
|
+
IsGdprRelevant: boolean | null;
|
|
1336
|
+
Picture: string | null;
|
|
1337
|
+
PictureWidth: number | null;
|
|
1338
|
+
PictureHeight: number | null;
|
|
1339
|
+
Leads_OutlookProjectGuid: string | null;
|
|
1340
|
+
Projects_OutlookProjectGuid: string | null;
|
|
1341
|
+
Marketing_OutlookProjectGuid: string | null;
|
|
1342
|
+
Tasks_TaskOriginGuid: string | null;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
interface IApiEvent {
|
|
1346
|
+
TypeName: TActionEventType;
|
|
1347
|
+
Actions: TApiAction[];
|
|
1348
|
+
}
|
|
1349
|
+
type TActionEventType = 'OnValueChanging' | 'OnValueChanged' | 'OnSaving' | 'OnSaved' | 'OnLoad' | 'OnLoading';
|
|
1350
|
+
type TApiAction = IApiAreEqualAction | IApiCreateRelationAction | IApiCreateTaskAction | IApiDatabaseFieldIsNotEmptyAction | IApiCheckPresenceOfRelationAction | IApiLockFieldAction | IApiLockFormAction | IApiSendEmailAction | IApiSetFieldValueAction | IApiSetItemOwnerAction | IApiWriteJournalEntryAction;
|
|
1351
|
+
interface IApiAction {
|
|
1352
|
+
Name: string | null;
|
|
1353
|
+
ExecuteOnlyOnce: boolean;
|
|
1354
|
+
Relevance: TApiActionRelevant[];
|
|
1355
|
+
}
|
|
1356
|
+
type TApiActionRelevant = ({
|
|
1357
|
+
GroupName: null;
|
|
1358
|
+
IsForAllGroups: true;
|
|
1359
|
+
} | {
|
|
1360
|
+
GroupName: string;
|
|
1361
|
+
IsForAllGroups: false;
|
|
1362
|
+
}) & {
|
|
1363
|
+
CompletionLevelName: TCompletionLevel;
|
|
1364
|
+
};
|
|
1365
|
+
type TCompletionLevel = 'DoNothing' | 'CanIgnore' | 'CannotIgnore';
|
|
1366
|
+
interface IApiAreEqualAction extends IApiAction {
|
|
1367
|
+
__type: 'AreEqualAction:#EA';
|
|
1368
|
+
ComparisonParameters: {
|
|
1369
|
+
ExpectedValue: string | null;
|
|
1370
|
+
ActualValue: string | null;
|
|
1371
|
+
NotEqualMessage: string | null;
|
|
1372
|
+
};
|
|
1373
|
+
}
|
|
1374
|
+
interface IApiCreateRelationAction extends IApiAction {
|
|
1375
|
+
__type: 'CreateRelationAction:#EA';
|
|
1376
|
+
NewRelationParameters: {
|
|
1377
|
+
RelatedItemFileAs: string | null;
|
|
1378
|
+
RelatedFolderName: TFolderName | null;
|
|
1379
|
+
CreateItemCopy: boolean | null;
|
|
1380
|
+
};
|
|
1381
|
+
}
|
|
1382
|
+
interface IApiCreateTaskAction extends IApiAction {
|
|
1383
|
+
__type: 'CreateTaskAction:#EA';
|
|
1384
|
+
TaskData: {
|
|
1385
|
+
TypeEn: string | null;
|
|
1386
|
+
Subject: string | null;
|
|
1387
|
+
Delegator: string | null;
|
|
1388
|
+
Solver: string | null;
|
|
1389
|
+
DueDate: string | null;
|
|
1390
|
+
ReminderDate: string | null;
|
|
1391
|
+
ImportanceEn: string | null;
|
|
1392
|
+
SuperiorItem: string | null;
|
|
1393
|
+
Company: string | null;
|
|
1394
|
+
Contact: string | null;
|
|
1395
|
+
Relations: string[] | null;
|
|
1396
|
+
OpenWindowWhenPossible: boolean | null;
|
|
1397
|
+
};
|
|
1398
|
+
}
|
|
1399
|
+
interface IApiDatabaseFieldIsNotEmptyAction extends IApiAction {
|
|
1400
|
+
__type: 'DatabaseFieldIsNotEmptyAction:#EA';
|
|
1401
|
+
FieldName: string | null;
|
|
1402
|
+
}
|
|
1403
|
+
interface IApiCheckPresenceOfRelationAction extends IApiAction {
|
|
1404
|
+
__type: 'CheckPresenceOfRelationAction:#EA';
|
|
1405
|
+
CheckParameters: {
|
|
1406
|
+
RelationType: string | null;
|
|
1407
|
+
RelatedFolderName: TFolderName | null;
|
|
1408
|
+
RelationMissingMessage: string | null;
|
|
1409
|
+
RelatedItemConditions: {
|
|
1410
|
+
FieldName: string;
|
|
1411
|
+
Value: string | null;
|
|
1412
|
+
}[] | null;
|
|
1413
|
+
};
|
|
1414
|
+
}
|
|
1415
|
+
interface IApiLockFieldAction extends IApiAction {
|
|
1416
|
+
__type: 'LockFieldAction:#EA';
|
|
1417
|
+
FieldName: string | null;
|
|
1418
|
+
}
|
|
1419
|
+
interface IApiLockFormAction extends IApiAction {
|
|
1420
|
+
__type: 'LockFormAction:#EA';
|
|
1421
|
+
}
|
|
1422
|
+
interface IApiSendEmailAction extends IApiAction {
|
|
1423
|
+
__type: 'SendEmailAction:#EA';
|
|
1424
|
+
EmailData: {
|
|
1425
|
+
Body: string | null;
|
|
1426
|
+
Subject: string | null;
|
|
1427
|
+
RecipientGroups: string | null;
|
|
1428
|
+
RecipientUsers: string | null;
|
|
1429
|
+
};
|
|
1430
|
+
}
|
|
1431
|
+
interface IApiSetFieldValueAction extends IApiAction {
|
|
1432
|
+
__type: 'SetFieldValueAction:#EA';
|
|
1433
|
+
FieldName: string | null;
|
|
1434
|
+
NewValue: string | null;
|
|
1435
|
+
}
|
|
1436
|
+
interface IApiSetItemOwnerAction extends IApiAction {
|
|
1437
|
+
__type: 'SetItemOwnerAction:#EA';
|
|
1438
|
+
Message: string | null;
|
|
1439
|
+
}
|
|
1440
|
+
interface IApiWriteJournalEntryAction extends IApiAction {
|
|
1441
|
+
__type: 'WriteJournalEntryAction:#EA';
|
|
1442
|
+
JournalData: {
|
|
1443
|
+
TypeEn: string | null;
|
|
1444
|
+
FileAs: string | null;
|
|
1445
|
+
Note: string | null;
|
|
1446
|
+
ImportanceEn: string | null;
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
interface IApiEnumValue extends IApiItemBase {
|
|
1451
|
+
EnumType: string;
|
|
1452
|
+
EnumTypeName: string;
|
|
1453
|
+
Rank: number;
|
|
1454
|
+
IsSystem: boolean;
|
|
1455
|
+
IsVisible: boolean;
|
|
1456
|
+
IncludeInLastActivityCalculation: boolean;
|
|
1457
|
+
IsDefault: boolean;
|
|
1458
|
+
En: string | null;
|
|
1459
|
+
Cs: string | null;
|
|
1460
|
+
De: string | null;
|
|
1461
|
+
Sk: string | null;
|
|
1462
|
+
Ru: string | null;
|
|
1463
|
+
No: string | null;
|
|
1464
|
+
AllActionEvents: IApiEvent[] | null;
|
|
1465
|
+
}
|
|
1466
|
+
|
|
1467
|
+
declare enum EnumTypeEditMode {
|
|
1468
|
+
Readonly = "Readonly",
|
|
1469
|
+
VisibleRankDefaultOnly = "VisibleRankDefaultOnly",
|
|
1470
|
+
Editable = "Editable"
|
|
1471
|
+
}
|
|
1472
|
+
interface IApiEnumType extends IApiItemBase {
|
|
1473
|
+
EnumName: string;
|
|
1474
|
+
IsSystem: boolean;
|
|
1475
|
+
AllowEditVisibility: boolean;
|
|
1476
|
+
AllowEditLastActivity: boolean;
|
|
1477
|
+
RequireDefaultValue: boolean;
|
|
1478
|
+
AssociatedFolderNames: string[] | null;
|
|
1479
|
+
AssociatedWorkflowModelGuid: string | null;
|
|
1480
|
+
NameEn: string;
|
|
1481
|
+
NameCs: string;
|
|
1482
|
+
NameDe: string;
|
|
1483
|
+
NameRu: string;
|
|
1484
|
+
NameSk: string;
|
|
1485
|
+
NameNo: string;
|
|
1486
|
+
IsAdditionalField: boolean;
|
|
1487
|
+
AssociatedAdditionalFieldId: number | null;
|
|
1488
|
+
EditMode: EnumTypeEditMode | null;
|
|
1489
|
+
EnumValuesInEnumType: IApiEnumValue[] | null;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
interface IApiEnumValuesRelation extends IApiItemBase {
|
|
1493
|
+
EnumValueGuid: string | null;
|
|
1494
|
+
FieldName: string | null;
|
|
1495
|
+
RelatedItemGuid: string | null;
|
|
1496
|
+
ObjectTypeId: number | null;
|
|
1497
|
+
ObjectTypeFolderName: string | null;
|
|
1498
|
+
}
|
|
1499
|
+
|
|
1500
|
+
interface IApiFeature extends IApiItemBase {
|
|
1501
|
+
Active: boolean;
|
|
1502
|
+
AssociatedFolderNames: string[];
|
|
1503
|
+
}
|
|
1504
|
+
|
|
1505
|
+
interface IApiFlow extends IApiItemBase {
|
|
1506
|
+
ModelGuid: string | null;
|
|
1507
|
+
PrecedentEn: string | null;
|
|
1508
|
+
SuccedentEn: string | null;
|
|
1509
|
+
Roundtrip: boolean | null;
|
|
1510
|
+
AllActionEvents: IApiEvent[] | null;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
interface ITranslatableString {
|
|
1514
|
+
En: string | null;
|
|
1515
|
+
Cs: string | null;
|
|
1516
|
+
De: string | null;
|
|
1517
|
+
Ru: string | null;
|
|
1518
|
+
Sk: string | null;
|
|
1519
|
+
No: string | null;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1522
|
+
type TAvailableValue = {
|
|
1523
|
+
Key: string;
|
|
1524
|
+
Value: string;
|
|
1525
|
+
Translations: ITranslatableString;
|
|
1526
|
+
};
|
|
1527
|
+
interface IApiGlobalSetting extends IApiItemBase {
|
|
1528
|
+
Name: string;
|
|
1529
|
+
Value: string | number | null;
|
|
1530
|
+
Type: number;
|
|
1531
|
+
IsLegacy: boolean;
|
|
1532
|
+
MinValue: number | null;
|
|
1533
|
+
MaxValue: number | null;
|
|
1534
|
+
NameCs: string;
|
|
1535
|
+
NameEn: string;
|
|
1536
|
+
NameDe: string;
|
|
1537
|
+
NameNo: string;
|
|
1538
|
+
NameRu: string;
|
|
1539
|
+
NameSk: string;
|
|
1540
|
+
FeatureGuid: string | null;
|
|
1541
|
+
AvailableValues: TAvailableValue[] | null;
|
|
1542
|
+
Category: string;
|
|
1543
|
+
Visible: boolean;
|
|
1544
|
+
Rank: number | null;
|
|
1545
|
+
DependsOn: string | null;
|
|
1546
|
+
DependsOnValue: string | null;
|
|
1547
|
+
DependsOnValueInverted: boolean;
|
|
1548
|
+
KbUrlShortCode: string | null;
|
|
1549
|
+
DisabledValue: string | null;
|
|
1550
|
+
UnlimitedValue: string | null;
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
interface IApiGoal extends IApiItemBase {
|
|
1554
|
+
TypeEn: string | null;
|
|
1555
|
+
Note: string | null;
|
|
1556
|
+
StartDate: string | null;
|
|
1557
|
+
EndDate: string | null;
|
|
1558
|
+
TurnoverGoal: number | null;
|
|
1559
|
+
TurnoverActual: number | null;
|
|
1560
|
+
TurnoverCompleted: number | null;
|
|
1561
|
+
ProfitGoal: number | null;
|
|
1562
|
+
ProfitActual: number | null;
|
|
1563
|
+
ProfitCompleted: number | null;
|
|
1564
|
+
CurrencyEn: string | null;
|
|
1565
|
+
TurnoverGoalDefaultCurrency: number | null;
|
|
1566
|
+
ProfitGoalDefaultCurrency: number | null;
|
|
1567
|
+
TurnoverGoalChanged: string | null;
|
|
1568
|
+
ProfitGoalChanged: string | null;
|
|
1569
|
+
Picture: string | null;
|
|
1570
|
+
PictureWidth: number | null;
|
|
1571
|
+
PictureHeight: number | null;
|
|
1572
|
+
Users_GoalGuid: string | null;
|
|
1573
|
+
}
|
|
1574
|
+
|
|
1575
|
+
interface IApiGood extends IApiItemBase {
|
|
1576
|
+
Code: string | null;
|
|
1577
|
+
SaleCurrencyEn: string | null;
|
|
1578
|
+
PurchaseCurrencyEn: string | null;
|
|
1579
|
+
UnitEn: string | null;
|
|
1580
|
+
PurchasePrice: number | null;
|
|
1581
|
+
SalePrice: number | null;
|
|
1582
|
+
Note: string | null;
|
|
1583
|
+
Structure: string | null;
|
|
1584
|
+
PriceListGroupGuid: string | null;
|
|
1585
|
+
IsPriceSum: boolean | null;
|
|
1586
|
+
Description: string | null;
|
|
1587
|
+
InventoryQuantity: number | null;
|
|
1588
|
+
SalePriceDefaultCurrency: number | null;
|
|
1589
|
+
SalePriceChanged: string | null;
|
|
1590
|
+
PurchasePriceDefaultCurrency: number | null;
|
|
1591
|
+
PurchasePriceChanged: string | null;
|
|
1592
|
+
VatRate: number | null;
|
|
1593
|
+
VatIncluded: boolean | null;
|
|
1594
|
+
Picture: string | null;
|
|
1595
|
+
PictureWidth: number | null;
|
|
1596
|
+
PictureHeight: number | null;
|
|
1597
|
+
TypeEn: string | null;
|
|
1598
|
+
Goods_SuperiorGoodGuid: string | null;
|
|
1599
|
+
}
|
|
1600
|
+
|
|
1601
|
+
interface IApiGoodInCart extends IApiItemBase {
|
|
1602
|
+
Code: string | null;
|
|
1603
|
+
SaleCurrencyEn: string | null;
|
|
1604
|
+
PurchaseCurrencyEn: string | null;
|
|
1605
|
+
UnitEn: string | null;
|
|
1606
|
+
PurchasePrice: number | null;
|
|
1607
|
+
SalePrice: number | null;
|
|
1608
|
+
Quantity: number | null;
|
|
1609
|
+
Note: string | null;
|
|
1610
|
+
PriceTotal: number | null;
|
|
1611
|
+
Structure: string | null;
|
|
1612
|
+
ListPrice: number | null;
|
|
1613
|
+
Discount: number | null;
|
|
1614
|
+
HierarchyInSet: string | null;
|
|
1615
|
+
IsFromSet: boolean | null;
|
|
1616
|
+
ParentGuid: string | null;
|
|
1617
|
+
Rank: number | null;
|
|
1618
|
+
IsPriceSum: boolean | null;
|
|
1619
|
+
IncludeInCartPrice: boolean | null;
|
|
1620
|
+
ListPriceCustomized: boolean | null;
|
|
1621
|
+
Description: string | null;
|
|
1622
|
+
ChildItemsCount: number | null;
|
|
1623
|
+
VatRate: number | null;
|
|
1624
|
+
PriceTotalExcludingVat: number | null;
|
|
1625
|
+
VatTotal: number | null;
|
|
1626
|
+
SalePriceExcludingVat: number | null;
|
|
1627
|
+
Vat: number | null;
|
|
1628
|
+
PurchasePriceDefaultCurrency: number | null;
|
|
1629
|
+
PurchasePriceParentCurrency: number | null;
|
|
1630
|
+
SalePriceDefaultCurrency: number | null;
|
|
1631
|
+
SalePriceParentCurrency: number | null;
|
|
1632
|
+
PriceTotalDefaultCurrency: number | null;
|
|
1633
|
+
PriceTotalParentCurrency: number | null;
|
|
1634
|
+
ListPriceDefaultCurrency: number | null;
|
|
1635
|
+
ListPriceParentCurrency: number | null;
|
|
1636
|
+
PriceTotalExcludingVatDefaultCurrency: number | null;
|
|
1637
|
+
PriceTotalExcludingVatParentCurrency: number | null;
|
|
1638
|
+
VatTotalDefaultCurrency: number | null;
|
|
1639
|
+
VatTotalParentCurrency: number | null;
|
|
1640
|
+
SalePriceExcludingVatDefaultCurrency: number | null;
|
|
1641
|
+
SalePriceExcludingVatParentCurrency: number | null;
|
|
1642
|
+
VatDefaultCurrency: number | null;
|
|
1643
|
+
VatParentCurrency: number | null;
|
|
1644
|
+
JoinedToGuid: string | null;
|
|
1645
|
+
PurchasePriceChanged: string | null;
|
|
1646
|
+
SalePriceChanged: string | null;
|
|
1647
|
+
PriceTotalChanged: string | null;
|
|
1648
|
+
ListPriceChanged: string | null;
|
|
1649
|
+
PurchasePriceTotal: number | null;
|
|
1650
|
+
PurchasePriceTotalDefaultCurrency: number | null;
|
|
1651
|
+
PurchasePriceTotalParentCurrency: number | null;
|
|
1652
|
+
PurchasePriceTotalChanged: string | null;
|
|
1653
|
+
VatIncluded: boolean | null;
|
|
1654
|
+
Picture: string | null;
|
|
1655
|
+
PictureWidth: number | null;
|
|
1656
|
+
PictureHeight: number | null;
|
|
1657
|
+
Carts_GoodsInCartGuid: string | null;
|
|
1658
|
+
Goods_GoodsInfoGuid: string | null;
|
|
1659
|
+
Leads_ProjectGuid: string | null;
|
|
1660
|
+
Projects_ProjectGuid: string | null;
|
|
1661
|
+
}
|
|
1662
|
+
|
|
1663
|
+
interface IApiGroup extends IApiItemBase {
|
|
1664
|
+
GroupName: string;
|
|
1665
|
+
Description: string | null;
|
|
1666
|
+
ResponsibilityDescription: string | null;
|
|
1667
|
+
System: boolean;
|
|
1668
|
+
IsAdmin: boolean;
|
|
1669
|
+
IsPM: boolean;
|
|
1670
|
+
IsRole: boolean;
|
|
1671
|
+
IsCategory: boolean;
|
|
1672
|
+
IsOutlookCategory: boolean;
|
|
1673
|
+
DisallowControlUserAssignment: boolean;
|
|
1674
|
+
DisallowControlModulePermissions: boolean;
|
|
1675
|
+
DisallowControlColumnPermissions: boolean;
|
|
1676
|
+
ContainsAnyUneditablePermission: boolean;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
interface IApiItemIdentifier extends Omit<IApiItemBase, 'ItemGUID' | 'ItemVersion'> {
|
|
1680
|
+
ItemGUID: string | null;
|
|
1681
|
+
ItemVersion: number | null;
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
interface IApiItemUsageStatus {
|
|
1685
|
+
ItemGuid: string;
|
|
1686
|
+
IsUsed: boolean;
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
interface IApiJournal extends IApiItemBase {
|
|
1690
|
+
CalendarEntryID: string | null;
|
|
1691
|
+
Calendar_ORIGIN: string | null;
|
|
1692
|
+
ChangedField: string | null;
|
|
1693
|
+
EventEnd: string | null;
|
|
1694
|
+
EventStart: string | null;
|
|
1695
|
+
FieldValue: string | null;
|
|
1696
|
+
ImportanceEn: string | null;
|
|
1697
|
+
Note: string | null;
|
|
1698
|
+
PrevFieldValue: string | null;
|
|
1699
|
+
TypeEn: string | null;
|
|
1700
|
+
IsSystem: boolean | null;
|
|
1701
|
+
Phone: string | null;
|
|
1702
|
+
PhoneNormalized: string | null;
|
|
1703
|
+
IsGdprRelevant: boolean | null;
|
|
1704
|
+
Picture: string | null;
|
|
1705
|
+
PictureWidth: number | null;
|
|
1706
|
+
PictureHeight: number | null;
|
|
1707
|
+
Companies_CompanyGuid: string | null;
|
|
1708
|
+
Contacts_ContactGuid: string | null;
|
|
1709
|
+
Leads_SuperiorItemGuid: string | null;
|
|
1710
|
+
Projects_SuperiorItemGuid: string | null;
|
|
1711
|
+
Marketing_MarketingGuid: string | null;
|
|
1712
|
+
}
|
|
1713
|
+
|
|
1714
|
+
interface IApiLead extends IApiItemBase {
|
|
1715
|
+
City: string | null;
|
|
1716
|
+
ContactPerson: string | null;
|
|
1717
|
+
CurrencyEn: string | null;
|
|
1718
|
+
Customer: string | null;
|
|
1719
|
+
Email: string | null;
|
|
1720
|
+
EstimatedEnd: string | null;
|
|
1721
|
+
HID: number | null;
|
|
1722
|
+
LeadOriginEn: string | null;
|
|
1723
|
+
Note: string | null;
|
|
1724
|
+
Phone: string | null;
|
|
1725
|
+
PhoneNormalized: string | null;
|
|
1726
|
+
PrevStateEn: string | null;
|
|
1727
|
+
Price: number | null;
|
|
1728
|
+
PriceChanged: string | null;
|
|
1729
|
+
PriceDefaultCurrency: number | null;
|
|
1730
|
+
Probability: number | null;
|
|
1731
|
+
ReceiveDate: string | null;
|
|
1732
|
+
StateEn: string | null;
|
|
1733
|
+
Street: string | null;
|
|
1734
|
+
TypeEn: string | null;
|
|
1735
|
+
Zip: string | null;
|
|
1736
|
+
LastActivity: string | null;
|
|
1737
|
+
NextStep: string | null;
|
|
1738
|
+
EstimatedValue: number | null;
|
|
1739
|
+
IsCompleted: boolean | null;
|
|
1740
|
+
IsLost: boolean | null;
|
|
1741
|
+
CountryEn: string | null;
|
|
1742
|
+
State: string | null;
|
|
1743
|
+
POBox: string | null;
|
|
1744
|
+
EmailOptOut: boolean | null;
|
|
1745
|
+
Companies_CustomerGuid: string | null;
|
|
1746
|
+
Contacts_ContactPersonGuid: string | null;
|
|
1747
|
+
Marketing_MarketingGuid: string | null;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
type LicenceBusinessType = 'Premium' | 'Trial' | 'Free';
|
|
1751
|
+
interface IApiRestrictionBase {
|
|
1752
|
+
AvailableInEdition: Edition;
|
|
1753
|
+
AvailableInFeature: Feature;
|
|
1754
|
+
}
|
|
1755
|
+
interface IApiRestrictionsClass {
|
|
1756
|
+
Functionalities: (IApiRestrictionBase & {
|
|
1757
|
+
Functionality: string;
|
|
1758
|
+
CurrentLimit: number | null;
|
|
1759
|
+
})[];
|
|
1760
|
+
GlobalSettings: (IApiRestrictionBase & {
|
|
1761
|
+
GlobalSettingName: string;
|
|
1762
|
+
})[];
|
|
1763
|
+
Modules: (IApiRestrictionBase & {
|
|
1764
|
+
FolderName: TFolderName;
|
|
1765
|
+
})[];
|
|
1766
|
+
}
|
|
1767
|
+
interface IApiLicenseExpiration {
|
|
1768
|
+
ExpiresOn: string;
|
|
1769
|
+
Reason: ExpirationReason;
|
|
1770
|
+
IsLicenseKeyExpiredAndSystemLocked: boolean;
|
|
1771
|
+
IsLicenseKeyInExpireTimePeriod: boolean;
|
|
1772
|
+
IsLicenseKeyInSilentExpireTimePeriod: boolean;
|
|
1773
|
+
NumberOfDaysToLockSystem: number | null;
|
|
1774
|
+
}
|
|
1775
|
+
interface IApiCurrentUserLicenseInfo {
|
|
1776
|
+
ReceivesAdminLicenseNotifications: boolean;
|
|
1777
|
+
ReceivesBillingLicenseNotifications: boolean;
|
|
1778
|
+
}
|
|
1779
|
+
interface IApiLicenseKeyInvoices {
|
|
1780
|
+
UnpaidInvoices: IApiLicenseKeyInvoice[] | null;
|
|
1781
|
+
BillingEmails: string[] | null;
|
|
1782
|
+
}
|
|
1783
|
+
interface IApiLicenseKeyInvoice {
|
|
1784
|
+
Name: string;
|
|
1785
|
+
Url: string;
|
|
1786
|
+
DueDate: string;
|
|
1787
|
+
Severity: LicenseKeyInvoiceSeverity;
|
|
1788
|
+
}
|
|
1789
|
+
interface IApiLicense {
|
|
1790
|
+
AvailableBundles: (IApiCapacityAvailableBundle & {
|
|
1791
|
+
Name: ITranslatableString;
|
|
1792
|
+
})[];
|
|
1793
|
+
BusinessType: LicenceBusinessType;
|
|
1794
|
+
Features: TFeatureWithEdition[] | null;
|
|
1795
|
+
CurrentUserRestrictions: IApiRestrictionsClass;
|
|
1796
|
+
Restrictions: IApiRestrictionsClass;
|
|
1797
|
+
CurrentUserLicenseInfo: IApiCurrentUserLicenseInfo;
|
|
1798
|
+
Expiration: IApiLicenseExpiration | null;
|
|
1799
|
+
Invoices: IApiLicenseKeyInvoices | null;
|
|
1800
|
+
GeneratedDate: string;
|
|
1801
|
+
DbSize: IApiLicenseDbSizeModel;
|
|
1802
|
+
}
|
|
1803
|
+
interface IApiLicenseDbSizeModel {
|
|
1804
|
+
IsFull: boolean;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
interface IApiLocalizedLicenseBundle extends IApiCapacityAvailableBundle {
|
|
1808
|
+
Name: string;
|
|
1809
|
+
}
|
|
1810
|
+
|
|
1811
|
+
interface IApiMarketingList extends IApiItemBase {
|
|
1812
|
+
Contact: string | null;
|
|
1813
|
+
Company: string | null;
|
|
1814
|
+
Email1Address: string | null;
|
|
1815
|
+
Phone: string | null;
|
|
1816
|
+
MarketingCampaignGuid: string | null;
|
|
1817
|
+
AddressStreet: string | null;
|
|
1818
|
+
AddressPostalCode: string | null;
|
|
1819
|
+
AddressCity: string | null;
|
|
1820
|
+
FolderName: string | null;
|
|
1821
|
+
FirstName: string | null;
|
|
1822
|
+
LastName: string | null;
|
|
1823
|
+
LeadGuid: string | null;
|
|
1824
|
+
ContactGuid: string | null;
|
|
1825
|
+
CompanyGuid: string | null;
|
|
1826
|
+
}
|
|
1827
|
+
|
|
1828
|
+
type TApiModulePermissionOptions = 'All' | 'Inherited' | 'Group' | 'Related' | 'Own' | 'None';
|
|
1829
|
+
interface IApiModulePermission extends IApiItemBase {
|
|
1830
|
+
CanCreate: boolean;
|
|
1831
|
+
CanExport: boolean;
|
|
1832
|
+
CanSeeHistory: boolean;
|
|
1833
|
+
View: TApiModulePermissionOptions;
|
|
1834
|
+
Edit: TApiModulePermissionOptions;
|
|
1835
|
+
Delete: TApiModulePermissionOptions;
|
|
1836
|
+
RowsRestriction: number | null;
|
|
1837
|
+
FolderName: string;
|
|
1838
|
+
GroupGuid: string;
|
|
1839
|
+
IsSystem: boolean;
|
|
1840
|
+
}
|
|
1841
|
+
|
|
1842
|
+
interface IApiObjectType extends IApiItemBase {
|
|
1843
|
+
FolderName: string;
|
|
1844
|
+
IsCustomizable: boolean;
|
|
1845
|
+
IsModule: boolean;
|
|
1846
|
+
IsActive: boolean;
|
|
1847
|
+
IsLinkable: boolean;
|
|
1848
|
+
ContainsAnyPermittableColumn: boolean;
|
|
1849
|
+
}
|
|
1850
|
+
|
|
1851
|
+
interface IApiPasswordStrength {
|
|
1852
|
+
IsAdmissible: boolean;
|
|
1853
|
+
Score: number;
|
|
1854
|
+
Username: string;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
interface IApiPayment extends IApiItemBase {
|
|
1858
|
+
Date: string | null;
|
|
1859
|
+
Paid: number | null;
|
|
1860
|
+
PaidDefaultCurrency: number | null;
|
|
1861
|
+
PaidParentCurrency: number | null;
|
|
1862
|
+
CurrencyEn: string | null;
|
|
1863
|
+
Carts_Paid_CartGuid: string | null;
|
|
1864
|
+
}
|
|
1865
|
+
|
|
1866
|
+
interface IApiProject extends IApiItemBase {
|
|
1867
|
+
Note: string | null;
|
|
1868
|
+
Price: number | null;
|
|
1869
|
+
ProjectEnd: string | null;
|
|
1870
|
+
ProjectName: string | null;
|
|
1871
|
+
TypeEn: string | null;
|
|
1872
|
+
StateEn: string | null;
|
|
1873
|
+
PeopleExpenses: number | null;
|
|
1874
|
+
ProjectRealEnd: string | null;
|
|
1875
|
+
EstimatedPrice: number | null;
|
|
1876
|
+
HID: number | null;
|
|
1877
|
+
ProjectOriginEn: string | null;
|
|
1878
|
+
PaymentTypeEn: string | null;
|
|
1879
|
+
OtherExpenses: number | null;
|
|
1880
|
+
Margin: number | null;
|
|
1881
|
+
Profit: number | null;
|
|
1882
|
+
PaymentMaturity: number | null;
|
|
1883
|
+
InvoicePaymentDate: string | null;
|
|
1884
|
+
InvoiceIssueDate: string | null;
|
|
1885
|
+
EstimatedMargin: number | null;
|
|
1886
|
+
EstimatedProfit: number | null;
|
|
1887
|
+
EstimatedPeopleExpenses: number | null;
|
|
1888
|
+
EstimatedOtherExpenses: number | null;
|
|
1889
|
+
LicensesCount: number | null;
|
|
1890
|
+
LicensePrice: number | null;
|
|
1891
|
+
PrevStateEn: string | null;
|
|
1892
|
+
ShowInCaplan: boolean | null;
|
|
1893
|
+
ProjectStart: string | null;
|
|
1894
|
+
EstimatedWorkHours: number | null;
|
|
1895
|
+
TotalWorkHours: number | null;
|
|
1896
|
+
EstimatedPeopleExpensesDefaultCurrency: number | null;
|
|
1897
|
+
EstimatedOtherExpensesDefaultCurrency: number | null;
|
|
1898
|
+
EstimatedPriceDefaultCurrency: number | null;
|
|
1899
|
+
PeopleExpensesDefaultCurrency: number | null;
|
|
1900
|
+
OtherExpensesDefaultCurrency: number | null;
|
|
1901
|
+
PriceDefaultCurrency: number | null;
|
|
1902
|
+
ProfitDefaultCurrency: number | null;
|
|
1903
|
+
EstimatedProfitDefaultCurrency: number | null;
|
|
1904
|
+
CurrencyEn: string | null;
|
|
1905
|
+
EstimatedPeopleExpensesChanged: string | null;
|
|
1906
|
+
EstimatedOtherExpensesChanged: string | null;
|
|
1907
|
+
OtherExpensesChanged: string | null;
|
|
1908
|
+
EstimatedPriceChanged: string | null;
|
|
1909
|
+
PriceChanged: string | null;
|
|
1910
|
+
LicensePriceChanged: string | null;
|
|
1911
|
+
LicensePriceDefaultCurrency: number | null;
|
|
1912
|
+
LastActivity: string | null;
|
|
1913
|
+
NextStep: string | null;
|
|
1914
|
+
PeopleExpensesChanged: string | null;
|
|
1915
|
+
Picture: string | null;
|
|
1916
|
+
PictureWidth: number | null;
|
|
1917
|
+
PictureHeight: number | null;
|
|
1918
|
+
Companies_CustomerGuid: string | null;
|
|
1919
|
+
Contacts_ContactPersonGuid: string | null;
|
|
1920
|
+
Leads_Project_OriginGuid: string | null;
|
|
1921
|
+
Projects_SuperiorProjectGuid: string | null;
|
|
1922
|
+
Users_SupervisorGuid: string | null;
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
interface IApiRecurrencePattern extends IApiItemBase {
|
|
1926
|
+
TaskGuid: string | null;
|
|
1927
|
+
RecurrenceType: number | null;
|
|
1928
|
+
Interval: number | null;
|
|
1929
|
+
Instance: number | null;
|
|
1930
|
+
DayOfWeekMask: number | null;
|
|
1931
|
+
DayOfMonth: number | null;
|
|
1932
|
+
MonthOfYear: number | null;
|
|
1933
|
+
Regenerate: boolean | null;
|
|
1934
|
+
NoEndDate: boolean | null;
|
|
1935
|
+
Occurrences: number | null;
|
|
1936
|
+
PatternStartDate: string | null;
|
|
1937
|
+
PatternEndDate: string | null;
|
|
1938
|
+
EndKind: number | null;
|
|
1939
|
+
}
|
|
1940
|
+
|
|
1941
|
+
interface IApiSaveResponse extends IApiResult {
|
|
1942
|
+
Guid: string;
|
|
1943
|
+
}
|
|
1944
|
+
|
|
1945
|
+
interface IApiTask extends IApiItemBase {
|
|
1946
|
+
Body: string | null;
|
|
1947
|
+
IsCompleted: boolean | null;
|
|
1948
|
+
DueDate: string | null;
|
|
1949
|
+
PercentCompleteDecimal: number | null;
|
|
1950
|
+
PrevStateEn: string | null;
|
|
1951
|
+
StartDate: string | null;
|
|
1952
|
+
StateEn: string | null;
|
|
1953
|
+
Subject: string | null;
|
|
1954
|
+
TypeEn: string | null;
|
|
1955
|
+
Level: number | null;
|
|
1956
|
+
RTFBody: string | null;
|
|
1957
|
+
IsTeamTask: boolean | null;
|
|
1958
|
+
ImportanceEn: string | null;
|
|
1959
|
+
Sensitivity: number | null;
|
|
1960
|
+
ActualWorkHours: number | null;
|
|
1961
|
+
EstimatedWorkHours: number | null;
|
|
1962
|
+
IsReminderSet: boolean | null;
|
|
1963
|
+
ReminderDate: string | null;
|
|
1964
|
+
CompletedDate: string | null;
|
|
1965
|
+
Picture: string | null;
|
|
1966
|
+
PictureWidth: number | null;
|
|
1967
|
+
PictureHeight: number | null;
|
|
1968
|
+
Leads_TaskParentGuid: string | null;
|
|
1969
|
+
Projects_TaskParentGuid: string | null;
|
|
1970
|
+
Tasks_TaskParentGuid: string | null;
|
|
1971
|
+
Marketing_TaskParentGuid: string | null;
|
|
1972
|
+
Companies_CompanyGuid: string | null;
|
|
1973
|
+
Contacts_ContactGuid: string | null;
|
|
1974
|
+
Users_TaskDelegatorGuid: string | null;
|
|
1975
|
+
Users_TaskSolverGuid: string | null;
|
|
1976
|
+
Tasks_TaskOriginGuid: string | null;
|
|
1977
|
+
}
|
|
1978
|
+
|
|
1979
|
+
interface IApiUser extends IApiItemBase {
|
|
1980
|
+
Username: string;
|
|
1981
|
+
FirstName: string | null;
|
|
1982
|
+
LastName: string | null;
|
|
1983
|
+
IsActive: boolean;
|
|
1984
|
+
Email1Address: string | null;
|
|
1985
|
+
Email2Address: string | null;
|
|
1986
|
+
IsSystem: boolean;
|
|
1987
|
+
IsApiUser: boolean;
|
|
1988
|
+
Server_Password: string;
|
|
1989
|
+
Server_LicensingBundlesList: IApiLicenseBundleBase[] | null;
|
|
1990
|
+
Server_ForcePasswordChange: boolean;
|
|
1991
|
+
Users_SupervisorGuid: string | null;
|
|
1992
|
+
ProfilePicture: string | null;
|
|
1993
|
+
ProfilePictureWidth: number | null;
|
|
1994
|
+
ProfilePictureHeight: number | null;
|
|
1995
|
+
Server_IsAccountLocked: boolean;
|
|
1996
|
+
Server_LastLogin: string | null;
|
|
1997
|
+
Server_LastActivity: string | null;
|
|
1998
|
+
}
|
|
1999
|
+
|
|
2000
|
+
interface IApiUserSetting extends IApiItemBase {
|
|
2001
|
+
Name: string;
|
|
2002
|
+
Value: string | null;
|
|
2003
|
+
Path: string;
|
|
2004
|
+
}
|
|
2005
|
+
|
|
2006
|
+
interface IApiWebServiceTaskStatus {
|
|
2007
|
+
TaskGuid: string;
|
|
2008
|
+
IsRunning: boolean;
|
|
2009
|
+
FinishedSuccessfully: boolean;
|
|
2010
|
+
CurrentIndex: number;
|
|
2011
|
+
LastIndex: number;
|
|
2012
|
+
ProgressDetail: string;
|
|
2013
|
+
Parameters: string;
|
|
2014
|
+
AdditionalData: string;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
interface IApiWorkflowActionDerivedItem extends IApiItemBase {
|
|
2018
|
+
PerformsLockItemAction: boolean | null;
|
|
2019
|
+
PerformsAreEqualAction: boolean | null;
|
|
2020
|
+
PerformsCheckRelationPresenceAction: boolean | null;
|
|
2021
|
+
PerformsWriteJournalAction: boolean | null;
|
|
2022
|
+
PerformsSetOwnerAction: boolean | null;
|
|
2023
|
+
PerformsSetFieldValueAction: boolean | null;
|
|
2024
|
+
PerformsCreateTaskAction: boolean | null;
|
|
2025
|
+
PerformsCreateRelationAction: boolean | null;
|
|
2026
|
+
PerformsSendEmailAction: boolean | null;
|
|
2027
|
+
SetOwnerActionMessage: string | null;
|
|
2028
|
+
WriteJournalActionTitle: string | null;
|
|
2029
|
+
WriteJournalActionTypeEn: string | null;
|
|
2030
|
+
WriteJournalActionImportanceEn: string | null;
|
|
2031
|
+
WriteJournalActionMessage: string | null;
|
|
2032
|
+
AllActionEvents: IApiEvent[] | null;
|
|
2033
|
+
ActionItemGuid: string | null;
|
|
2034
|
+
ActionXml: string | null;
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
interface IApiWorkflowModel extends IApiItemBase {
|
|
2038
|
+
EnumTypeGuid: string;
|
|
2039
|
+
IsSystem: boolean;
|
|
2040
|
+
ParentEn: string | null;
|
|
2041
|
+
IsUsingFlows: boolean;
|
|
2042
|
+
AllowEditItems: boolean;
|
|
2043
|
+
}
|
|
2044
|
+
|
|
2045
|
+
interface IApiWorkReport extends IApiItemBase {
|
|
2046
|
+
Subject: string | null;
|
|
2047
|
+
From: string | null;
|
|
2048
|
+
To: string | null;
|
|
2049
|
+
Date: string | null;
|
|
2050
|
+
FromTime: string | null;
|
|
2051
|
+
ToTime: string | null;
|
|
2052
|
+
Duration: number | null;
|
|
2053
|
+
Note: string | null;
|
|
2054
|
+
Rate: number | null;
|
|
2055
|
+
TypeEn: string | null;
|
|
2056
|
+
ImportanceEn: string | null;
|
|
2057
|
+
DayTypeEn: string | null;
|
|
2058
|
+
Overtime: boolean | null;
|
|
2059
|
+
CalendarOrigin: string | null;
|
|
2060
|
+
Year: number | null;
|
|
2061
|
+
Month: number | null;
|
|
2062
|
+
CalendarEntryId: string | null;
|
|
2063
|
+
RateDefaultCurrency: number | null;
|
|
2064
|
+
RateParentCurrency: number | null;
|
|
2065
|
+
CurrencyEn: string | null;
|
|
2066
|
+
StateEn: string | null;
|
|
2067
|
+
PrevStateEn: string | null;
|
|
2068
|
+
RateAdditional: number | null;
|
|
2069
|
+
RateAdditionalDefaultCurrency: number | null;
|
|
2070
|
+
RateAdditionalParentCurrency: number | null;
|
|
2071
|
+
Leads_LeadGuid: string | null;
|
|
2072
|
+
Picture: string | null;
|
|
2073
|
+
PictureWidth: number | null;
|
|
2074
|
+
PictureHeight: number | null;
|
|
2075
|
+
Users_PersonGuid: string | null;
|
|
2076
|
+
Tasks_TaskGuid: string | null;
|
|
2077
|
+
Leads_ProjectGuid: string | null;
|
|
2078
|
+
Projects_ProjectGuid: string | null;
|
|
2079
|
+
}
|
|
2080
|
+
|
|
2081
|
+
interface IApiQueryMainTableSource {
|
|
2082
|
+
__type: 'MainTable:#EQ';
|
|
2083
|
+
}
|
|
2084
|
+
interface IApiQueryJoinTableSource {
|
|
2085
|
+
__type: 'Join:#EQ';
|
|
2086
|
+
ItemType: TFolderName;
|
|
2087
|
+
Key: IApiQueryColumn;
|
|
2088
|
+
}
|
|
2089
|
+
interface IApiQueryRelationSource {
|
|
2090
|
+
__type: 'Relation:#EQ';
|
|
2091
|
+
Direction: 1 | 2;
|
|
2092
|
+
ItemTypes: TFolderName[];
|
|
2093
|
+
RelationType: string;
|
|
2094
|
+
}
|
|
2095
|
+
interface IApiQueryField {
|
|
2096
|
+
Source: IApiQueryMainTableSource | IApiQueryJoinTableSource | IApiQueryRelationSource;
|
|
2097
|
+
Alias?: string;
|
|
2098
|
+
}
|
|
2099
|
+
type TApiQueryField = IApiQueryColumn | IApiQuerySubstituableColumn | IApiQueryVariatedColumn | IApiQueryToken;
|
|
2100
|
+
interface IApiQueryColumn extends IApiQueryField {
|
|
2101
|
+
__type: 'Column:#EQ';
|
|
2102
|
+
Name: string;
|
|
2103
|
+
Transformation?: string;
|
|
2104
|
+
}
|
|
2105
|
+
interface IApiQuerySubstituableColumn extends Omit<IApiQueryColumn, '__type'> {
|
|
2106
|
+
__type: 'SubstituableColumn:#EQ';
|
|
2107
|
+
Substitute: TApiQueryField;
|
|
2108
|
+
}
|
|
2109
|
+
interface IApiQueryColumnVariation {
|
|
2110
|
+
FolderName: TFolderName;
|
|
2111
|
+
Field: IApiQueryColumn;
|
|
2112
|
+
}
|
|
2113
|
+
interface IApiQueryVariatedColumn extends IApiQueryField {
|
|
2114
|
+
__type: 'VariatedColumn:#EQ';
|
|
2115
|
+
Variations: IApiQueryColumnVariation[];
|
|
2116
|
+
}
|
|
2117
|
+
interface IApiQueryToken extends IApiQueryField {
|
|
2118
|
+
__type: 'Token:#EQ';
|
|
2119
|
+
TypeName: 'ItemType';
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
type TFilterValue = string | number | boolean | null;
|
|
2123
|
+
interface IApiQueryFilterExpressionPredicateBase {
|
|
2124
|
+
Field: TApiQueryField;
|
|
2125
|
+
Value: TFilterValue;
|
|
2126
|
+
}
|
|
2127
|
+
type TApiQueryFilterExpression = IApiQueryEqualsFilterExpressionPredicate | IApiQueryLessFilterExpressionPredicate | IApiQueryLessOrEqualFilterExpressionPredicate | IApiQueryGreaterFilterExpressionPredicate | IApiQueryGreaterOrEqualFilterExpressionPredicate | IApiQueryLikeFilterExpressionPredicate | IApiQueryInFilterExpressionPredicate | IApiQueryOrFilterExpressionOperator | IApiQueryNotFilterExpression | IApiQueryAndFilterExpressionOperator;
|
|
2128
|
+
interface IApiQueryEqualsFilterExpressionPredicate extends IApiQueryFilterExpressionPredicateBase {
|
|
2129
|
+
__type: 'EqualsFilterExpressionPredicate:#EQ';
|
|
2130
|
+
}
|
|
2131
|
+
interface IApiQueryLessFilterExpressionPredicate extends IApiQueryFilterExpressionPredicateBase {
|
|
2132
|
+
__type: 'LessFilterExpressionPredicate:#EQ';
|
|
2133
|
+
}
|
|
2134
|
+
interface IApiQueryLessOrEqualFilterExpressionPredicate extends IApiQueryFilterExpressionPredicateBase {
|
|
2135
|
+
__type: 'LessOrEqualFilterExpressionPredicate:#EQ';
|
|
2136
|
+
}
|
|
2137
|
+
interface IApiQueryGreaterFilterExpressionPredicate extends IApiQueryFilterExpressionPredicateBase {
|
|
2138
|
+
__type: 'GreaterFilterExpressionPredicate:#EQ';
|
|
2139
|
+
}
|
|
2140
|
+
interface IApiQueryGreaterOrEqualFilterExpressionPredicate extends IApiQueryFilterExpressionPredicateBase {
|
|
2141
|
+
__type: 'GreaterOrEqualFilterExpressionPredicate:#EQ';
|
|
2142
|
+
}
|
|
2143
|
+
interface IApiQueryLikeFilterExpressionPredicate extends IApiQueryFilterExpressionPredicateBase {
|
|
2144
|
+
__type: 'LikeFilterExpressionPredicate:#EQ';
|
|
2145
|
+
}
|
|
2146
|
+
interface IApiQueryInFilterExpressionPredicate {
|
|
2147
|
+
__type: 'InFilterExpressionPredicate:#EQ';
|
|
2148
|
+
Field: TApiQueryField;
|
|
2149
|
+
Value: TFilterValue[];
|
|
2150
|
+
}
|
|
2151
|
+
interface IApiQueryNotFilterExpression {
|
|
2152
|
+
__type: 'NotFilterExpression:#EQ';
|
|
2153
|
+
Child: TApiQueryFilterExpression;
|
|
2154
|
+
}
|
|
2155
|
+
interface IApiQueryAndFilterExpressionOperator {
|
|
2156
|
+
__type: 'AndFilterExpressionOperator:#EQ';
|
|
2157
|
+
Children: TApiQueryFilterExpression[];
|
|
2158
|
+
}
|
|
2159
|
+
interface IApiQueryOrFilterExpressionOperator {
|
|
2160
|
+
__type: 'OrFilterExpressionOperator:#EQ';
|
|
2161
|
+
Children: TApiQueryFilterExpression[];
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2164
|
+
export { ApiMethods, ColumnPermissionMandatoryRules, ColumnPermissionPermissionRules, CommonDataConnection, CustomizationStatsItemKeys, EWItem, Edition, EnumTypeEditMode, EnumTypes, ErrorHelper, ExpirationReason, Feature, FieldNames, FolderNames, Functionality, GlobalSettingsNames, HttpMethod, HttpRequestError, IApiAdditionalField, IApiAvailableBundle, IApiAvailableVersionResponse, IApiBooleanResponse, IApiBoundRelation, IApiCapacityAvailableBundle, IApiCart, IApiColumn, IApiColumnPermission, IApiCompany, IApiContact, IApiCurrencyExchangeRate, IApiCurrentUserLicenseInfo, IApiCustomizationStatsItem, IApiDataResponse, IApiDatumResponse, IApiDocument, IApiEmail, IApiEnumType, IApiEnumValue, IApiEnumValuesRelation, IApiFeature, IApiFeaturesLicenseBundle, IApiFlow, IApiGlobalSetting, IApiGoal, IApiGood, IApiGoodInCart, IApiGroup, IApiItemBase, IApiItemIdentifier, IApiItemUsageStatus, IApiJournal, IApiLead, IApiLicense, IApiLicenseBundleBase, IApiLicenseDbSizeModel, IApiLicenseExpiration, IApiLicenseKeyInvoice, IApiLocalizedLicenseBundle, IApiLoginResponse, IApiMarketingList, IApiModulePermission, IApiObjectType, IApiPasswordStrength, IApiPayment, IApiProject, IApiQueryAndFilterExpressionOperator, IApiQueryColumn, IApiQueryColumnVariation, IApiQueryEqualsFilterExpressionPredicate, IApiQueryGreaterFilterExpressionPredicate, IApiQueryGreaterOrEqualFilterExpressionPredicate, IApiQueryInFilterExpressionPredicate, IApiQueryLessFilterExpressionPredicate, IApiQueryLessOrEqualFilterExpressionPredicate, IApiQueryLikeFilterExpressionPredicate, IApiQueryNotFilterExpression, IApiQueryOrFilterExpressionOperator, IApiQuerySubstituableColumn, IApiQueryToken, IApiQueryVariatedColumn, IApiRecurrencePattern, IApiResult, IApiSaveResponse, IApiTask, IApiUser, IApiUserSetting, IApiWebServiceTaskStatus, IApiWorkReport, IApiWorkflowActionDerivedItem, IApiWorkflowModel, ISessionHandler, ITokenizedApiResult, ITranslatableString, LicenseKeyInvoiceSeverity, LicenseRestrictionKeys, OAuthHelper, OAuthSessionHandlerBase, RelationTypes, ReturnCodes, TApiColumnPermissionMandatoryRuleOptions, TApiColumnPermissionPermissionRuleOptions, TApiItemWithReleations, TApiModulePermissionOptions, TApiQueryField, TApiQueryFilterExpression, TFeatureWithEdition, TFolderName, TInputData, TRelationType, TUnionError, TokenizedServiceConnection, VersionHelperBase, ApiConnection as default };
|