@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
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiGoodInCart extends IApiItemBase {
|
|
3
|
+
Code: string | null;
|
|
4
|
+
SaleCurrencyEn: string | null;
|
|
5
|
+
PurchaseCurrencyEn: string | null;
|
|
6
|
+
UnitEn: string | null;
|
|
7
|
+
PurchasePrice: number | null;
|
|
8
|
+
SalePrice: number | null;
|
|
9
|
+
Quantity: number | null;
|
|
10
|
+
Note: string | null;
|
|
11
|
+
PriceTotal: number | null;
|
|
12
|
+
Structure: string | null;
|
|
13
|
+
ListPrice: number | null;
|
|
14
|
+
Discount: number | null;
|
|
15
|
+
HierarchyInSet: string | null;
|
|
16
|
+
IsFromSet: boolean | null;
|
|
17
|
+
ParentGuid: string | null;
|
|
18
|
+
Rank: number | null;
|
|
19
|
+
IsPriceSum: boolean | null;
|
|
20
|
+
IncludeInCartPrice: boolean | null;
|
|
21
|
+
ListPriceCustomized: boolean | null;
|
|
22
|
+
Description: string | null;
|
|
23
|
+
ChildItemsCount: number | null;
|
|
24
|
+
VatRate: number | null;
|
|
25
|
+
PriceTotalExcludingVat: number | null;
|
|
26
|
+
VatTotal: number | null;
|
|
27
|
+
SalePriceExcludingVat: number | null;
|
|
28
|
+
Vat: number | null;
|
|
29
|
+
PurchasePriceDefaultCurrency: number | null;
|
|
30
|
+
PurchasePriceParentCurrency: number | null;
|
|
31
|
+
SalePriceDefaultCurrency: number | null;
|
|
32
|
+
SalePriceParentCurrency: number | null;
|
|
33
|
+
PriceTotalDefaultCurrency: number | null;
|
|
34
|
+
PriceTotalParentCurrency: number | null;
|
|
35
|
+
ListPriceDefaultCurrency: number | null;
|
|
36
|
+
ListPriceParentCurrency: number | null;
|
|
37
|
+
PriceTotalExcludingVatDefaultCurrency: number | null;
|
|
38
|
+
PriceTotalExcludingVatParentCurrency: number | null;
|
|
39
|
+
VatTotalDefaultCurrency: number | null;
|
|
40
|
+
VatTotalParentCurrency: number | null;
|
|
41
|
+
SalePriceExcludingVatDefaultCurrency: number | null;
|
|
42
|
+
SalePriceExcludingVatParentCurrency: number | null;
|
|
43
|
+
VatDefaultCurrency: number | null;
|
|
44
|
+
VatParentCurrency: number | null;
|
|
45
|
+
JoinedToGuid: string | null;
|
|
46
|
+
PurchasePriceChanged: string | null;
|
|
47
|
+
SalePriceChanged: string | null;
|
|
48
|
+
PriceTotalChanged: string | null;
|
|
49
|
+
ListPriceChanged: string | null;
|
|
50
|
+
PurchasePriceTotal: number | null;
|
|
51
|
+
PurchasePriceTotalDefaultCurrency: number | null;
|
|
52
|
+
PurchasePriceTotalParentCurrency: number | null;
|
|
53
|
+
PurchasePriceTotalChanged: string | null;
|
|
54
|
+
VatIncluded: boolean | null;
|
|
55
|
+
Picture: string | null;
|
|
56
|
+
PictureWidth: number | null;
|
|
57
|
+
PictureHeight: number | null;
|
|
58
|
+
Carts_GoodsInCartGuid: string | null;
|
|
59
|
+
Goods_GoodsInfoGuid: string | null;
|
|
60
|
+
Leads_ProjectGuid: string | null;
|
|
61
|
+
Projects_ProjectGuid: string | null;
|
|
62
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
+
export interface IApiGroup extends IApiItemBase {
|
|
3
|
+
GroupName: string;
|
|
4
|
+
Description: string | null;
|
|
5
|
+
ResponsibilityDescription: string | null;
|
|
6
|
+
System: boolean;
|
|
7
|
+
IsAdmin: boolean;
|
|
8
|
+
IsPM: boolean;
|
|
9
|
+
IsRole: boolean;
|
|
10
|
+
IsCategory: boolean;
|
|
11
|
+
IsOutlookCategory: boolean;
|
|
12
|
+
DisallowControlUserAssignment: boolean;
|
|
13
|
+
DisallowControlModulePermissions: boolean;
|
|
14
|
+
DisallowControlColumnPermissions: boolean;
|
|
15
|
+
ContainsAnyUneditablePermission: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface IApiItemBase {
|
|
2
|
+
ItemGUID: string;
|
|
3
|
+
ItemVersion: number;
|
|
4
|
+
FileAs: string | null | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface IApiBoundRelation {
|
|
7
|
+
RelationType: string;
|
|
8
|
+
ForeignItemGUID: string;
|
|
9
|
+
ForeignFolderName: string;
|
|
10
|
+
RelationDataGUID: string;
|
|
11
|
+
}
|
|
12
|
+
export type TApiItemWithReleations<TItem> = TItem & {
|
|
13
|
+
Relations: IApiBoundRelation[];
|
|
14
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiJournal extends IApiItemBase {
|
|
3
|
+
CalendarEntryID: string | null;
|
|
4
|
+
Calendar_ORIGIN: string | null;
|
|
5
|
+
ChangedField: string | null;
|
|
6
|
+
EventEnd: string | null;
|
|
7
|
+
EventStart: string | null;
|
|
8
|
+
FieldValue: string | null;
|
|
9
|
+
ImportanceEn: string | null;
|
|
10
|
+
Note: string | null;
|
|
11
|
+
PrevFieldValue: string | null;
|
|
12
|
+
TypeEn: string | null;
|
|
13
|
+
IsSystem: boolean | null;
|
|
14
|
+
Phone: string | null;
|
|
15
|
+
PhoneNormalized: string | null;
|
|
16
|
+
IsGdprRelevant: boolean | null;
|
|
17
|
+
Picture: string | null;
|
|
18
|
+
PictureWidth: number | null;
|
|
19
|
+
PictureHeight: number | null;
|
|
20
|
+
Companies_CompanyGuid: string | null;
|
|
21
|
+
Contacts_ContactGuid: string | null;
|
|
22
|
+
Leads_SuperiorItemGuid: string | null;
|
|
23
|
+
Projects_SuperiorItemGuid: string | null;
|
|
24
|
+
Marketing_MarketingGuid: string | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiLead extends IApiItemBase {
|
|
3
|
+
City: string | null;
|
|
4
|
+
ContactPerson: string | null;
|
|
5
|
+
CurrencyEn: string | null;
|
|
6
|
+
Customer: string | null;
|
|
7
|
+
Email: string | null;
|
|
8
|
+
EstimatedEnd: string | null;
|
|
9
|
+
HID: number | null;
|
|
10
|
+
LeadOriginEn: string | null;
|
|
11
|
+
Note: string | null;
|
|
12
|
+
Phone: string | null;
|
|
13
|
+
PhoneNormalized: string | null;
|
|
14
|
+
PrevStateEn: string | null;
|
|
15
|
+
Price: number | null;
|
|
16
|
+
PriceChanged: string | null;
|
|
17
|
+
PriceDefaultCurrency: number | null;
|
|
18
|
+
Probability: number | null;
|
|
19
|
+
ReceiveDate: string | null;
|
|
20
|
+
StateEn: string | null;
|
|
21
|
+
Street: string | null;
|
|
22
|
+
TypeEn: string | null;
|
|
23
|
+
Zip: string | null;
|
|
24
|
+
LastActivity: string | null;
|
|
25
|
+
NextStep: string | null;
|
|
26
|
+
EstimatedValue: number | null;
|
|
27
|
+
IsCompleted: boolean | null;
|
|
28
|
+
IsLost: boolean | null;
|
|
29
|
+
CountryEn: string | null;
|
|
30
|
+
State: string | null;
|
|
31
|
+
POBox: string | null;
|
|
32
|
+
EmailOptOut: boolean | null;
|
|
33
|
+
Companies_CustomerGuid: string | null;
|
|
34
|
+
Contacts_ContactPersonGuid: string | null;
|
|
35
|
+
Marketing_MarketingGuid: string | null;
|
|
36
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { IApiCapacityAvailableBundle } from './IApiCapacityAvailableBundle';
|
|
2
|
+
import { ITranslatableString } from '../interfaces/ITranslatableString';
|
|
3
|
+
import { TFeatureWithEdition } from './IApiFeaturesLicenseBundle';
|
|
4
|
+
import { Edition } from '../constants/Edition';
|
|
5
|
+
import { Feature } from '../constants/Feature';
|
|
6
|
+
import { TFolderName } from '../constants/FolderNames';
|
|
7
|
+
import ExpirationReason from '../constants/ExpirationReason';
|
|
8
|
+
import LicenseKeyInvoiceSeverity from '../constants/LicenseKeyInvoiceSeverity';
|
|
9
|
+
type LicenceBusinessType = 'Premium' | 'Trial' | 'Free';
|
|
10
|
+
interface IApiRestrictionBase {
|
|
11
|
+
AvailableInEdition: Edition;
|
|
12
|
+
AvailableInFeature: Feature;
|
|
13
|
+
}
|
|
14
|
+
interface IApiRestrictionsClass {
|
|
15
|
+
Functionalities: (IApiRestrictionBase & {
|
|
16
|
+
Functionality: string;
|
|
17
|
+
CurrentLimit: number | null;
|
|
18
|
+
})[];
|
|
19
|
+
GlobalSettings: (IApiRestrictionBase & {
|
|
20
|
+
GlobalSettingName: string;
|
|
21
|
+
})[];
|
|
22
|
+
Modules: (IApiRestrictionBase & {
|
|
23
|
+
FolderName: TFolderName;
|
|
24
|
+
})[];
|
|
25
|
+
}
|
|
26
|
+
export interface IApiLicenseExpiration {
|
|
27
|
+
ExpiresOn: string;
|
|
28
|
+
Reason: ExpirationReason;
|
|
29
|
+
IsLicenseKeyExpiredAndSystemLocked: boolean;
|
|
30
|
+
IsLicenseKeyInExpireTimePeriod: boolean;
|
|
31
|
+
IsLicenseKeyInSilentExpireTimePeriod: boolean;
|
|
32
|
+
NumberOfDaysToLockSystem: number | null;
|
|
33
|
+
}
|
|
34
|
+
export interface IApiCurrentUserLicenseInfo {
|
|
35
|
+
ReceivesAdminLicenseNotifications: boolean;
|
|
36
|
+
ReceivesBillingLicenseNotifications: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface IApiLicenseKeyInvoices {
|
|
39
|
+
UnpaidInvoices: IApiLicenseKeyInvoice[] | null;
|
|
40
|
+
BillingEmails: string[] | null;
|
|
41
|
+
}
|
|
42
|
+
export interface IApiLicenseKeyInvoice {
|
|
43
|
+
Name: string;
|
|
44
|
+
Url: string;
|
|
45
|
+
DueDate: string;
|
|
46
|
+
Severity: LicenseKeyInvoiceSeverity;
|
|
47
|
+
}
|
|
48
|
+
export interface IApiLicense {
|
|
49
|
+
AvailableBundles: (IApiCapacityAvailableBundle & {
|
|
50
|
+
Name: ITranslatableString;
|
|
51
|
+
})[];
|
|
52
|
+
BusinessType: LicenceBusinessType;
|
|
53
|
+
Features: TFeatureWithEdition[] | null;
|
|
54
|
+
CurrentUserRestrictions: IApiRestrictionsClass;
|
|
55
|
+
Restrictions: IApiRestrictionsClass;
|
|
56
|
+
CurrentUserLicenseInfo: IApiCurrentUserLicenseInfo;
|
|
57
|
+
Expiration: IApiLicenseExpiration | null;
|
|
58
|
+
Invoices: IApiLicenseKeyInvoices | null;
|
|
59
|
+
GeneratedDate: string;
|
|
60
|
+
DbSize: IApiLicenseDbSizeModel;
|
|
61
|
+
}
|
|
62
|
+
export interface IApiLicenseDbSizeModel {
|
|
63
|
+
IsFull: boolean;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiMarketingCampaign extends IApiItemBase {
|
|
3
|
+
ID: number | null;
|
|
4
|
+
TypeEn: string | null;
|
|
5
|
+
StateEn: string | null;
|
|
6
|
+
EstimatedStart: string | null;
|
|
7
|
+
EstimatedEnd: string | null;
|
|
8
|
+
Budget: number | null;
|
|
9
|
+
EstimatedResponses: number | null;
|
|
10
|
+
EstimatedRevenues: number | null;
|
|
11
|
+
RealStart: string | null;
|
|
12
|
+
RealEnd: string | null;
|
|
13
|
+
Expenses: number | null;
|
|
14
|
+
FinalResponses: number | null;
|
|
15
|
+
FinalRevenues: number | null;
|
|
16
|
+
Note: string | null;
|
|
17
|
+
PrevStateEn: string | null;
|
|
18
|
+
EmailCampaignHash: string | null;
|
|
19
|
+
PeopleUnsubscribed: number | null;
|
|
20
|
+
TargetGroup: number | null;
|
|
21
|
+
EmailsSent: number | null;
|
|
22
|
+
EmailsDelivered: number | null;
|
|
23
|
+
EmailsViewed: number | null;
|
|
24
|
+
EmailCampaignContactListChanged: boolean | null;
|
|
25
|
+
EmailsMarkedAsSpam: number | null;
|
|
26
|
+
EmailCampaignEmailSent: string | null;
|
|
27
|
+
LastResponsesDownloadTime: string | null;
|
|
28
|
+
ResponsesDownloadCount: number | null;
|
|
29
|
+
Picture: string | null;
|
|
30
|
+
PictureWidth: number | null;
|
|
31
|
+
PictureHeight: number | null;
|
|
32
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiMarketingList extends IApiItemBase {
|
|
3
|
+
Contact: string | null;
|
|
4
|
+
Company: string | null;
|
|
5
|
+
Email1Address: string | null;
|
|
6
|
+
Phone: string | null;
|
|
7
|
+
MarketingCampaignGuid: string | null;
|
|
8
|
+
AddressStreet: string | null;
|
|
9
|
+
AddressPostalCode: string | null;
|
|
10
|
+
AddressCity: string | null;
|
|
11
|
+
FolderName: string | null;
|
|
12
|
+
FirstName: string | null;
|
|
13
|
+
LastName: string | null;
|
|
14
|
+
LeadGuid: string | null;
|
|
15
|
+
ContactGuid: string | null;
|
|
16
|
+
CompanyGuid: string | null;
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
+
export type TApiModulePermissionOptions = 'All' | 'Inherited' | 'Group' | 'Related' | 'Own' | 'None';
|
|
3
|
+
export interface IApiModulePermission extends IApiItemBase {
|
|
4
|
+
CanCreate: boolean;
|
|
5
|
+
CanExport: boolean;
|
|
6
|
+
CanSeeHistory: boolean;
|
|
7
|
+
View: TApiModulePermissionOptions;
|
|
8
|
+
Edit: TApiModulePermissionOptions;
|
|
9
|
+
Delete: TApiModulePermissionOptions;
|
|
10
|
+
RowsRestriction: number | null;
|
|
11
|
+
FolderName: string;
|
|
12
|
+
GroupGuid: string;
|
|
13
|
+
IsSystem: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiPayment extends IApiItemBase {
|
|
3
|
+
Date: string | null;
|
|
4
|
+
Paid: number | null;
|
|
5
|
+
PaidDefaultCurrency: number | null;
|
|
6
|
+
PaidParentCurrency: number | null;
|
|
7
|
+
CurrencyEn: string | null;
|
|
8
|
+
Carts_Paid_CartGuid: string | null;
|
|
9
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiProject extends IApiItemBase {
|
|
3
|
+
Note: string | null;
|
|
4
|
+
Price: number | null;
|
|
5
|
+
ProjectEnd: string | null;
|
|
6
|
+
ProjectName: string | null;
|
|
7
|
+
TypeEn: string | null;
|
|
8
|
+
StateEn: string | null;
|
|
9
|
+
PeopleExpenses: number | null;
|
|
10
|
+
ProjectRealEnd: string | null;
|
|
11
|
+
EstimatedPrice: number | null;
|
|
12
|
+
HID: number | null;
|
|
13
|
+
ProjectOriginEn: string | null;
|
|
14
|
+
PaymentTypeEn: string | null;
|
|
15
|
+
OtherExpenses: number | null;
|
|
16
|
+
Margin: number | null;
|
|
17
|
+
Profit: number | null;
|
|
18
|
+
PaymentMaturity: number | null;
|
|
19
|
+
InvoicePaymentDate: string | null;
|
|
20
|
+
InvoiceIssueDate: string | null;
|
|
21
|
+
EstimatedMargin: number | null;
|
|
22
|
+
EstimatedProfit: number | null;
|
|
23
|
+
EstimatedPeopleExpenses: number | null;
|
|
24
|
+
EstimatedOtherExpenses: number | null;
|
|
25
|
+
LicensesCount: number | null;
|
|
26
|
+
LicensePrice: number | null;
|
|
27
|
+
PrevStateEn: string | null;
|
|
28
|
+
ShowInCaplan: boolean | null;
|
|
29
|
+
ProjectStart: string | null;
|
|
30
|
+
EstimatedWorkHours: number | null;
|
|
31
|
+
TotalWorkHours: number | null;
|
|
32
|
+
EstimatedPeopleExpensesDefaultCurrency: number | null;
|
|
33
|
+
EstimatedOtherExpensesDefaultCurrency: number | null;
|
|
34
|
+
EstimatedPriceDefaultCurrency: number | null;
|
|
35
|
+
PeopleExpensesDefaultCurrency: number | null;
|
|
36
|
+
OtherExpensesDefaultCurrency: number | null;
|
|
37
|
+
PriceDefaultCurrency: number | null;
|
|
38
|
+
ProfitDefaultCurrency: number | null;
|
|
39
|
+
EstimatedProfitDefaultCurrency: number | null;
|
|
40
|
+
CurrencyEn: string | null;
|
|
41
|
+
EstimatedPeopleExpensesChanged: string | null;
|
|
42
|
+
EstimatedOtherExpensesChanged: string | null;
|
|
43
|
+
OtherExpensesChanged: string | null;
|
|
44
|
+
EstimatedPriceChanged: string | null;
|
|
45
|
+
PriceChanged: string | null;
|
|
46
|
+
LicensePriceChanged: string | null;
|
|
47
|
+
LicensePriceDefaultCurrency: number | null;
|
|
48
|
+
LastActivity: string | null;
|
|
49
|
+
NextStep: string | null;
|
|
50
|
+
PeopleExpensesChanged: string | null;
|
|
51
|
+
Picture: string | null;
|
|
52
|
+
PictureWidth: number | null;
|
|
53
|
+
PictureHeight: number | null;
|
|
54
|
+
Companies_CustomerGuid: string | null;
|
|
55
|
+
Contacts_ContactPersonGuid: string | null;
|
|
56
|
+
Leads_Project_OriginGuid: string | null;
|
|
57
|
+
Projects_SuperiorProjectGuid: string | null;
|
|
58
|
+
Users_SupervisorGuid: string | null;
|
|
59
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiRecurrencePattern extends IApiItemBase {
|
|
3
|
+
TaskGuid: string | null;
|
|
4
|
+
RecurrenceType: number | null;
|
|
5
|
+
Interval: number | null;
|
|
6
|
+
Instance: number | null;
|
|
7
|
+
DayOfWeekMask: number | null;
|
|
8
|
+
DayOfMonth: number | null;
|
|
9
|
+
MonthOfYear: number | null;
|
|
10
|
+
Regenerate: boolean | null;
|
|
11
|
+
NoEndDate: boolean | null;
|
|
12
|
+
Occurrences: number | null;
|
|
13
|
+
PatternStartDate: string | null;
|
|
14
|
+
PatternEndDate: string | null;
|
|
15
|
+
EndKind: number | null;
|
|
16
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IApiResult {
|
|
2
|
-
ReturnCode: string;
|
|
3
|
-
Description: string;
|
|
4
|
-
}
|
|
1
|
+
export interface IApiResult {
|
|
2
|
+
ReturnCode: string;
|
|
3
|
+
Description: string;
|
|
4
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiTask extends IApiItemBase {
|
|
3
|
+
Body: string | null;
|
|
4
|
+
IsCompleted: boolean | null;
|
|
5
|
+
DueDate: string | null;
|
|
6
|
+
PercentCompleteDecimal: number | null;
|
|
7
|
+
PrevStateEn: string | null;
|
|
8
|
+
StartDate: string | null;
|
|
9
|
+
StateEn: string | null;
|
|
10
|
+
Subject: string | null;
|
|
11
|
+
TypeEn: string | null;
|
|
12
|
+
Level: number | null;
|
|
13
|
+
RTFBody: string | null;
|
|
14
|
+
IsTeamTask: boolean | null;
|
|
15
|
+
ImportanceEn: string | null;
|
|
16
|
+
Sensitivity: number | null;
|
|
17
|
+
ActualWorkHours: number | null;
|
|
18
|
+
EstimatedWorkHours: number | null;
|
|
19
|
+
IsReminderSet: boolean | null;
|
|
20
|
+
ReminderDate: string | null;
|
|
21
|
+
CompletedDate: string | null;
|
|
22
|
+
Picture: string | null;
|
|
23
|
+
PictureWidth: number | null;
|
|
24
|
+
PictureHeight: number | null;
|
|
25
|
+
Leads_TaskParentGuid: string | null;
|
|
26
|
+
Projects_TaskParentGuid: string | null;
|
|
27
|
+
Tasks_TaskParentGuid: string | null;
|
|
28
|
+
Marketing_TaskParentGuid: string | null;
|
|
29
|
+
Companies_CompanyGuid: string | null;
|
|
30
|
+
Contacts_ContactGuid: string | null;
|
|
31
|
+
Users_TaskDelegatorGuid: string | null;
|
|
32
|
+
Users_TaskSolverGuid: string | null;
|
|
33
|
+
Tasks_TaskOriginGuid: string | null;
|
|
34
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
+
import { IApiLicenseBundleBase } from "./IApiLicenseBundleBase";
|
|
3
|
+
export interface IApiUser extends IApiItemBase {
|
|
4
|
+
Username: string;
|
|
5
|
+
FirstName: string | null;
|
|
6
|
+
LastName: string | null;
|
|
7
|
+
IsActive: boolean;
|
|
8
|
+
Email1Address: string | null;
|
|
9
|
+
Email2Address: string | null;
|
|
10
|
+
IsSystem: boolean;
|
|
11
|
+
IsApiUser: boolean;
|
|
12
|
+
Server_Password: string;
|
|
13
|
+
Server_LicensingBundlesList: IApiLicenseBundleBase[] | null;
|
|
14
|
+
Server_ForcePasswordChange: boolean;
|
|
15
|
+
Users_SupervisorGuid: string | null;
|
|
16
|
+
ProfilePicture: string | null;
|
|
17
|
+
ProfilePictureWidth: number | null;
|
|
18
|
+
ProfilePictureHeight: number | null;
|
|
19
|
+
Server_IsAccountLocked: boolean;
|
|
20
|
+
Server_LastLogin: string | null;
|
|
21
|
+
Server_LastActivity: string | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiWorkReport extends IApiItemBase {
|
|
3
|
+
Subject: string | null;
|
|
4
|
+
From: string | null;
|
|
5
|
+
To: string | null;
|
|
6
|
+
Date: string | null;
|
|
7
|
+
FromTime: string | null;
|
|
8
|
+
ToTime: string | null;
|
|
9
|
+
Duration: number | null;
|
|
10
|
+
Note: string | null;
|
|
11
|
+
Rate: number | null;
|
|
12
|
+
TypeEn: string | null;
|
|
13
|
+
ImportanceEn: string | null;
|
|
14
|
+
DayTypeEn: string | null;
|
|
15
|
+
Overtime: boolean | null;
|
|
16
|
+
CalendarOrigin: string | null;
|
|
17
|
+
Year: number | null;
|
|
18
|
+
Month: number | null;
|
|
19
|
+
CalendarEntryId: string | null;
|
|
20
|
+
RateDefaultCurrency: number | null;
|
|
21
|
+
RateParentCurrency: number | null;
|
|
22
|
+
CurrencyEn: string | null;
|
|
23
|
+
StateEn: string | null;
|
|
24
|
+
PrevStateEn: string | null;
|
|
25
|
+
RateAdditional: number | null;
|
|
26
|
+
RateAdditionalDefaultCurrency: number | null;
|
|
27
|
+
RateAdditionalParentCurrency: number | null;
|
|
28
|
+
Leads_LeadGuid: string | null;
|
|
29
|
+
Picture: string | null;
|
|
30
|
+
PictureWidth: number | null;
|
|
31
|
+
PictureHeight: number | null;
|
|
32
|
+
Users_PersonGuid: string | null;
|
|
33
|
+
Tasks_TaskGuid: string | null;
|
|
34
|
+
Leads_ProjectGuid: string | null;
|
|
35
|
+
Projects_ProjectGuid: string | null;
|
|
36
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
import { IApiEvent } from './workflowActions/IApiAction';
|
|
3
|
+
export interface IApiWorkflowActionDerivedItem extends IApiItemBase {
|
|
4
|
+
PerformsLockItemAction: boolean | null;
|
|
5
|
+
PerformsAreEqualAction: boolean | null;
|
|
6
|
+
PerformsCheckRelationPresenceAction: boolean | null;
|
|
7
|
+
PerformsWriteJournalAction: boolean | null;
|
|
8
|
+
PerformsSetOwnerAction: boolean | null;
|
|
9
|
+
PerformsSetFieldValueAction: boolean | null;
|
|
10
|
+
PerformsCreateTaskAction: boolean | null;
|
|
11
|
+
PerformsCreateRelationAction: boolean | null;
|
|
12
|
+
PerformsSendEmailAction: boolean | null;
|
|
13
|
+
SetOwnerActionMessage: string | null;
|
|
14
|
+
WriteJournalActionTitle: string | null;
|
|
15
|
+
WriteJournalActionTypeEn: string | null;
|
|
16
|
+
WriteJournalActionImportanceEn: string | null;
|
|
17
|
+
WriteJournalActionMessage: string | null;
|
|
18
|
+
AllActionEvents: IApiEvent[] | null;
|
|
19
|
+
ActionItemGuid: string | null;
|
|
20
|
+
ActionXml: string | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { TFolderName } from '../../constants/FolderNames';
|
|
2
|
+
interface IApiQueryMainTableSource {
|
|
3
|
+
__type: 'MainTable:#EQ';
|
|
4
|
+
}
|
|
5
|
+
interface IApiQueryJoinTableSource {
|
|
6
|
+
__type: 'Join:#EQ';
|
|
7
|
+
ItemType: TFolderName;
|
|
8
|
+
Key: IApiQueryColumn;
|
|
9
|
+
}
|
|
10
|
+
interface IApiQueryRelationSource {
|
|
11
|
+
__type: 'Relation:#EQ';
|
|
12
|
+
Direction: 1 | 2;
|
|
13
|
+
ItemTypes: TFolderName[];
|
|
14
|
+
RelationType: string;
|
|
15
|
+
}
|
|
16
|
+
interface IApiQueryField {
|
|
17
|
+
Source: IApiQueryMainTableSource | IApiQueryJoinTableSource | IApiQueryRelationSource;
|
|
18
|
+
Alias?: string;
|
|
19
|
+
}
|
|
20
|
+
export type TApiQueryField = IApiQueryColumn | IApiQuerySubstituableColumn | IApiQueryVariatedColumn | IApiQueryToken;
|
|
21
|
+
export interface IApiQueryColumn extends IApiQueryField {
|
|
22
|
+
__type: 'Column:#EQ';
|
|
23
|
+
Name: string;
|
|
24
|
+
Transformation?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface IApiQuerySubstituableColumn extends Omit<IApiQueryColumn, '__type'> {
|
|
27
|
+
__type: 'SubstituableColumn:#EQ';
|
|
28
|
+
Substitute: TApiQueryField;
|
|
29
|
+
}
|
|
30
|
+
export interface IApiQueryColumnVariation {
|
|
31
|
+
FolderName: TFolderName;
|
|
32
|
+
Field: IApiQueryColumn;
|
|
33
|
+
}
|
|
34
|
+
export interface IApiQueryVariatedColumn extends IApiQueryField {
|
|
35
|
+
__type: 'VariatedColumn:#EQ';
|
|
36
|
+
Variations: IApiQueryColumnVariation[];
|
|
37
|
+
}
|
|
38
|
+
export interface IApiQueryToken extends IApiQueryField {
|
|
39
|
+
__type: 'Token:#EQ';
|
|
40
|
+
TypeName: 'ItemType';
|
|
41
|
+
}
|
|
42
|
+
export {};
|