@eway-crm/connector 1.0.163 → 1.0.165
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/cjs/AnonymousSessionHandler.d.ts +3 -2
- package/lib/cjs/ApiConnection.d.ts +6 -6
- package/lib/cjs/ApiMethods.d.ts +3 -1
- package/lib/cjs/CredentialsSessionHandler.d.ts +4 -4
- package/lib/cjs/ISessionHandler.d.ts +2 -2
- package/lib/cjs/OAuthSessionHandler.d.ts +3 -3
- package/lib/cjs/OAuthSessionHandlerBase.d.ts +4 -4
- package/lib/cjs/constants/ActionEventTypes.d.ts +1 -1
- package/lib/cjs/constants/ColumnPermissionRules.d.ts +1 -1
- package/lib/cjs/constants/CompletionLevels.d.ts +1 -1
- package/lib/cjs/constants/EnumTypes.d.ts +23 -0
- package/lib/cjs/constants/FieldNames.d.ts +1 -1
- package/lib/cjs/constants/ObjectTypeIds.d.ts +1 -1
- package/lib/cjs/data/EWItem.d.ts +3 -3
- package/lib/cjs/data/IApiAdditionalField.d.ts +2 -2
- package/lib/cjs/data/IApiAvailableBundle.d.ts +1 -1
- package/lib/cjs/data/IApiAvailableVersionResponse.d.ts +1 -1
- package/lib/cjs/data/IApiBooleanResponse.d.ts +1 -1
- package/lib/cjs/data/IApiCapacityAvailableBundle.d.ts +1 -1
- package/lib/cjs/data/IApiCart.d.ts +1 -1
- package/lib/cjs/data/IApiColumn.d.ts +3 -3
- package/lib/cjs/data/IApiColumnPermission.d.ts +3 -3
- package/lib/cjs/data/IApiCompany.d.ts +1 -1
- package/lib/cjs/data/IApiContact.d.ts +1 -1
- package/lib/cjs/data/IApiCurrencyExchangeRate.d.ts +1 -1
- package/lib/cjs/data/IApiCustomizationStatsItem.d.ts +1 -1
- package/lib/cjs/data/IApiDataResponse.d.ts +1 -1
- package/lib/cjs/data/IApiDatumResponse.d.ts +1 -1
- package/lib/cjs/data/IApiDocument.d.ts +1 -1
- package/lib/cjs/data/IApiEmail.d.ts +1 -1
- package/lib/cjs/data/IApiEnumType.d.ts +2 -2
- package/lib/cjs/data/IApiEnumValue.d.ts +2 -2
- package/lib/cjs/data/IApiEnumValuesRelation.d.ts +1 -1
- package/lib/cjs/data/IApiFeature.d.ts +1 -1
- package/lib/cjs/data/IApiFeaturesLicenseBundle.d.ts +3 -3
- package/lib/cjs/data/IApiFlow.d.ts +2 -2
- package/lib/cjs/data/IApiGlobalSetting.d.ts +2 -2
- package/lib/cjs/data/IApiGoal.d.ts +1 -1
- package/lib/cjs/data/IApiGood.d.ts +1 -1
- package/lib/cjs/data/IApiGoodInCart.d.ts +1 -1
- package/lib/cjs/data/IApiGroup.d.ts +1 -1
- package/lib/cjs/data/IApiItemIdentifier.d.ts +1 -1
- package/lib/cjs/data/IApiJournal.d.ts +1 -1
- package/lib/cjs/data/IApiLayout.d.ts +1 -1
- package/lib/cjs/data/IApiLayoutsModel.d.ts +1 -1
- package/lib/cjs/data/IApiLead.d.ts +1 -1
- package/lib/cjs/data/IApiLicense.d.ts +8 -8
- package/lib/cjs/data/IApiLocalizedLicenseBundle.d.ts +1 -1
- package/lib/cjs/data/IApiLoginResponse.d.ts +1 -1
- package/lib/cjs/data/IApiMarketingCampaign.d.ts +1 -1
- package/lib/cjs/data/IApiMarketingList.d.ts +1 -1
- package/lib/cjs/data/IApiModulePermission.d.ts +1 -1
- package/lib/cjs/data/IApiObjectType.d.ts +1 -1
- package/lib/cjs/data/IApiPayment.d.ts +1 -1
- package/lib/cjs/data/IApiProject.d.ts +1 -1
- package/lib/cjs/data/IApiRecurrencePattern.d.ts +1 -1
- package/lib/cjs/data/IApiSaveResponse.d.ts +1 -1
- package/lib/cjs/data/IApiServiceAuthSettingsResponse.d.ts +1 -1
- package/lib/cjs/data/IApiTask.d.ts +1 -1
- package/lib/cjs/data/IApiUnlinkInquiryResult.d.ts +6 -0
- package/lib/cjs/data/IApiUser.d.ts +2 -2
- package/lib/cjs/data/IApiUserSetting.d.ts +1 -1
- package/lib/cjs/data/IApiWorkReport.d.ts +1 -1
- package/lib/cjs/data/IApiWorkflowActionDerivedItem.d.ts +2 -2
- package/lib/cjs/data/IApiWorkflowModel.d.ts +1 -1
- package/lib/cjs/data/query/IApiHubItemsCountsQueryResponseItem.d.ts +1 -1
- package/lib/cjs/data/query/IApiQuery.d.ts +1 -1
- package/lib/cjs/data/query/IApiQueryFilters.d.ts +1 -1
- package/lib/cjs/data/workflowActions/IApiAction.d.ts +1 -1
- package/lib/cjs/exceptions/HttpRequestError.d.ts +1 -1
- package/lib/cjs/helpers/OAuthHelper.d.ts +2 -2
- package/lib/cjs/helpers/QueryHelper.d.ts +1 -1
- package/lib/cjs/helpers/VersionHelperBase.d.ts +1 -1
- package/lib/cjs/index.d.ts +3 -1
- package/lib/cjs/index.js +2 -2
- package/lib/cjs/interfaces/IEWJwtPayload.d.ts +1 -1
- package/lib/cjs/tokenizedServices/CommonDataConnection.d.ts +3 -3
- package/lib/cjs/tokenizedServices/TokenizedServiceConnection.d.ts +5 -5
- package/lib/esm/AnonymousSessionHandler.d.ts +3 -2
- package/lib/esm/ApiConnection.d.ts +6 -6
- package/lib/esm/ApiMethods.d.ts +3 -1
- package/lib/esm/CredentialsSessionHandler.d.ts +4 -4
- package/lib/esm/ISessionHandler.d.ts +2 -2
- package/lib/esm/OAuthSessionHandler.d.ts +3 -3
- package/lib/esm/OAuthSessionHandlerBase.d.ts +4 -4
- package/lib/esm/constants/ActionEventTypes.d.ts +1 -1
- package/lib/esm/constants/ColumnPermissionRules.d.ts +1 -1
- package/lib/esm/constants/CompletionLevels.d.ts +1 -1
- package/lib/esm/constants/EnumTypes.d.ts +23 -0
- package/lib/esm/constants/FieldNames.d.ts +1 -1
- package/lib/esm/constants/ObjectTypeIds.d.ts +1 -1
- package/lib/esm/data/EWItem.d.ts +3 -3
- package/lib/esm/data/IApiAdditionalField.d.ts +2 -2
- package/lib/esm/data/IApiAvailableBundle.d.ts +1 -1
- package/lib/esm/data/IApiAvailableVersionResponse.d.ts +1 -1
- package/lib/esm/data/IApiBooleanResponse.d.ts +1 -1
- package/lib/esm/data/IApiCapacityAvailableBundle.d.ts +1 -1
- package/lib/esm/data/IApiCart.d.ts +1 -1
- package/lib/esm/data/IApiColumn.d.ts +3 -3
- package/lib/esm/data/IApiColumnPermission.d.ts +3 -3
- package/lib/esm/data/IApiCompany.d.ts +1 -1
- package/lib/esm/data/IApiContact.d.ts +1 -1
- package/lib/esm/data/IApiCurrencyExchangeRate.d.ts +1 -1
- package/lib/esm/data/IApiCustomizationStatsItem.d.ts +1 -1
- package/lib/esm/data/IApiDataResponse.d.ts +1 -1
- package/lib/esm/data/IApiDatumResponse.d.ts +1 -1
- package/lib/esm/data/IApiDocument.d.ts +1 -1
- package/lib/esm/data/IApiEmail.d.ts +1 -1
- package/lib/esm/data/IApiEnumType.d.ts +2 -2
- package/lib/esm/data/IApiEnumValue.d.ts +2 -2
- package/lib/esm/data/IApiEnumValuesRelation.d.ts +1 -1
- package/lib/esm/data/IApiFeature.d.ts +1 -1
- package/lib/esm/data/IApiFeaturesLicenseBundle.d.ts +3 -3
- package/lib/esm/data/IApiFlow.d.ts +2 -2
- package/lib/esm/data/IApiGlobalSetting.d.ts +2 -2
- package/lib/esm/data/IApiGoal.d.ts +1 -1
- package/lib/esm/data/IApiGood.d.ts +1 -1
- package/lib/esm/data/IApiGoodInCart.d.ts +1 -1
- package/lib/esm/data/IApiGroup.d.ts +1 -1
- package/lib/esm/data/IApiItemIdentifier.d.ts +1 -1
- package/lib/esm/data/IApiJournal.d.ts +1 -1
- package/lib/esm/data/IApiLayout.d.ts +1 -1
- package/lib/esm/data/IApiLayoutsModel.d.ts +1 -1
- package/lib/esm/data/IApiLead.d.ts +1 -1
- package/lib/esm/data/IApiLicense.d.ts +8 -8
- package/lib/esm/data/IApiLocalizedLicenseBundle.d.ts +1 -1
- package/lib/esm/data/IApiLoginResponse.d.ts +1 -1
- package/lib/esm/data/IApiMarketingCampaign.d.ts +1 -1
- package/lib/esm/data/IApiMarketingList.d.ts +1 -1
- package/lib/esm/data/IApiModulePermission.d.ts +1 -1
- package/lib/esm/data/IApiObjectType.d.ts +1 -1
- package/lib/esm/data/IApiPayment.d.ts +1 -1
- package/lib/esm/data/IApiProject.d.ts +1 -1
- package/lib/esm/data/IApiRecurrencePattern.d.ts +1 -1
- package/lib/esm/data/IApiSaveResponse.d.ts +1 -1
- package/lib/esm/data/IApiServiceAuthSettingsResponse.d.ts +1 -1
- package/lib/esm/data/IApiTask.d.ts +1 -1
- package/lib/esm/data/IApiUnlinkInquiryResult.d.ts +6 -0
- package/lib/esm/data/IApiUser.d.ts +2 -2
- package/lib/esm/data/IApiUserSetting.d.ts +1 -1
- package/lib/esm/data/IApiWorkReport.d.ts +1 -1
- package/lib/esm/data/IApiWorkflowActionDerivedItem.d.ts +2 -2
- package/lib/esm/data/IApiWorkflowModel.d.ts +1 -1
- package/lib/esm/data/query/IApiHubItemsCountsQueryResponseItem.d.ts +1 -1
- package/lib/esm/data/query/IApiQuery.d.ts +1 -1
- package/lib/esm/data/query/IApiQueryFilters.d.ts +1 -1
- package/lib/esm/data/workflowActions/IApiAction.d.ts +1 -1
- package/lib/esm/exceptions/HttpRequestError.d.ts +1 -1
- package/lib/esm/helpers/OAuthHelper.d.ts +2 -2
- package/lib/esm/helpers/QueryHelper.d.ts +1 -1
- package/lib/esm/helpers/VersionHelperBase.d.ts +1 -1
- package/lib/esm/index.d.ts +3 -1
- package/lib/esm/index.js +2 -2
- package/lib/esm/interfaces/IEWJwtPayload.d.ts +1 -1
- package/lib/esm/tokenizedServices/CommonDataConnection.d.ts +3 -3
- package/lib/esm/tokenizedServices/TokenizedServiceConnection.d.ts +5 -5
- package/lib/index.d.ts +35 -3
- package/package.json +6 -6
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type ApiConnection } from './ApiConnection';
|
|
2
|
+
import type { ISessionHandler } from './ISessionHandler';
|
|
2
3
|
export declare class AnonymousSessionHandler implements ISessionHandler {
|
|
3
|
-
readonly getSessionId: (connection:
|
|
4
|
+
readonly getSessionId: (connection: ApiConnection, callback: (sessionId: string) => void) => void;
|
|
4
5
|
readonly invalidateSessionId: (sessionId: string, callback: () => void) => void;
|
|
5
6
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { AxiosRequestConfig } from 'axios';
|
|
2
|
-
import { IApiResult } from './data/IApiResult';
|
|
3
|
-
import { ISessionHandler } from './ISessionHandler';
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import type { IApiResult } from './data/IApiResult';
|
|
3
|
+
import type { ISessionHandler } from './ISessionHandler';
|
|
4
4
|
import { HttpMethod } from './HttpMethod';
|
|
5
|
-
import { TUnionError } from './exceptions/HttpRequestError';
|
|
6
|
-
import { ITokenData, TInputData } from './interfaces/ITokenData';
|
|
7
|
-
import { TFolderName } from './constants/FolderNames';
|
|
5
|
+
import type { TUnionError } from './exceptions/HttpRequestError';
|
|
6
|
+
import type { ITokenData, TInputData } from './interfaces/ITokenData';
|
|
7
|
+
import type { TFolderName } from './constants/FolderNames';
|
|
8
8
|
export declare class ApiConnection {
|
|
9
9
|
private readonly svcUri;
|
|
10
10
|
private readonly baseUri;
|
package/lib/cjs/ApiMethods.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TFolderName } from "./constants/FolderNames";
|
|
1
|
+
import type { TFolderName } from "./constants/FolderNames";
|
|
2
2
|
export declare class ApiMethods {
|
|
3
3
|
static readonly getAllEmailAttachments = "GetAllEmailAttachments";
|
|
4
4
|
static readonly getCalendarsByItemGuids = "GetCalendarsByItemGuids";
|
|
@@ -19,5 +19,7 @@ export declare class ApiMethods {
|
|
|
19
19
|
static readonly getVersion = "GetVersion";
|
|
20
20
|
static readonly getBinaryAttachment = "GetBinaryAttachment";
|
|
21
21
|
static readonly getBinaryAttachmentLatestRevision = "GetBinaryAttachmentLatestRevision";
|
|
22
|
+
static readonly canUnlinkItems = "CanUnlinkItems";
|
|
23
|
+
static readonly unlinkItems = "UnlinkItems";
|
|
22
24
|
static readonly getGetFolderNameByItemGuidsMethodName: (folderName: TFolderName) => string;
|
|
23
25
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ISessionHandler } from './ISessionHandler';
|
|
2
|
-
import { ApiConnection } from './ApiConnection';
|
|
3
|
-
import { TUnionError } from './exceptions/HttpRequestError';
|
|
4
|
-
import { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
1
|
+
import type { ISessionHandler } from './ISessionHandler';
|
|
2
|
+
import type { ApiConnection } from './ApiConnection';
|
|
3
|
+
import type { TUnionError } from './exceptions/HttpRequestError';
|
|
4
|
+
import type { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
5
5
|
export declare class CredentialsSessionHandler implements ISessionHandler {
|
|
6
6
|
private readonly username;
|
|
7
7
|
private readonly passwordHash;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApiConnection } from './ApiConnection';
|
|
2
|
-
import { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
1
|
+
import type { ApiConnection } from './ApiConnection';
|
|
2
|
+
import type { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
3
3
|
export interface ISessionHandler {
|
|
4
4
|
invalidateSessionId(sessionId: string, callback: () => void): void;
|
|
5
5
|
getSessionId(connection: ApiConnection, callback: (sessionId: string) => void): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ITokenData } from './interfaces/ITokenData';
|
|
2
|
-
import { TUnionError } from './exceptions/HttpRequestError';
|
|
3
|
-
import { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
1
|
+
import type { ITokenData } from './interfaces/ITokenData';
|
|
2
|
+
import type { TUnionError } from './exceptions/HttpRequestError';
|
|
3
|
+
import type { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
4
4
|
import { OAuthSessionHandlerBase } from './OAuthSessionHandlerBase';
|
|
5
5
|
export declare class OAuthSessionHandler extends OAuthSessionHandlerBase {
|
|
6
6
|
private readonly refreshToken;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ISessionHandler } from './ISessionHandler';
|
|
2
|
-
import { ApiConnection } from './ApiConnection';
|
|
3
|
-
import { TUnionError } from './exceptions/HttpRequestError';
|
|
4
|
-
import { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
1
|
+
import type { ISessionHandler } from './ISessionHandler';
|
|
2
|
+
import type { ApiConnection } from './ApiConnection';
|
|
3
|
+
import type { TUnionError } from './exceptions/HttpRequestError';
|
|
4
|
+
import type { IApiLoginResponse } from './data/IApiLoginResponse';
|
|
5
5
|
export declare abstract class OAuthSessionHandlerBase implements ISessionHandler {
|
|
6
6
|
lastSuccessfulLoginResponse?: IApiLoginResponse;
|
|
7
7
|
private accessToken;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TActionEventType } from "../data/workflowActions/IApiAction";
|
|
1
|
+
import type { TActionEventType } from "../data/workflowActions/IApiAction";
|
|
2
2
|
export default class ActionEventTypes {
|
|
3
3
|
static readonly onValueChanging: TActionEventType;
|
|
4
4
|
static readonly onValueChanged: TActionEventType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TApiColumnPermissionMandatoryRuleOptions, TApiColumnPermissionPermissionRuleOptions } from "../data/IApiColumnPermission";
|
|
1
|
+
import type { TApiColumnPermissionMandatoryRuleOptions, TApiColumnPermissionPermissionRuleOptions } from "../data/IApiColumnPermission";
|
|
2
2
|
export declare class ColumnPermissionPermissionRules {
|
|
3
3
|
static readonly all: TApiColumnPermissionPermissionRuleOptions;
|
|
4
4
|
static readonly own: TApiColumnPermissionPermissionRuleOptions;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TCompletionLevel } from "../data/workflowActions/IApiAction";
|
|
1
|
+
import type { TCompletionLevel } from "../data/workflowActions/IApiAction";
|
|
2
2
|
export default class CompletionLevels {
|
|
3
3
|
static readonly doNothing: TCompletionLevel;
|
|
4
4
|
static readonly canIgnore: TCompletionLevel;
|
|
@@ -1,32 +1,55 @@
|
|
|
1
1
|
export default class EnumTypes {
|
|
2
|
+
static readonly absence = "Absence";
|
|
2
3
|
static readonly bonusType = "BonusType";
|
|
3
4
|
static readonly busyStatus = "BusyStatus";
|
|
4
5
|
static readonly cartType = "CartType";
|
|
5
6
|
static readonly companyType = "CompanyType";
|
|
6
7
|
static readonly contactType = "ContactType";
|
|
7
8
|
static readonly countryCode = "CountryCode";
|
|
9
|
+
static readonly currency = "Currency";
|
|
8
10
|
static readonly customFieldCategory = "CustomFieldCategory";
|
|
11
|
+
static readonly dayType = "DayType";
|
|
9
12
|
static readonly documentOfflineState = "DocumentOfflineState";
|
|
10
13
|
static readonly documentType = "DocumentType";
|
|
14
|
+
static readonly emailCampaignWorkflowStatus = "EmailCampaignWorkflowStatus";
|
|
11
15
|
static readonly emailOfflineState = "EmailOfflineState";
|
|
12
16
|
static readonly emailType = "EmailType";
|
|
17
|
+
static readonly familyStatus = "FamilyStatus";
|
|
18
|
+
static readonly firstContact = "FirstContact";
|
|
13
19
|
static readonly globalSettingsCategory = "GlobalSettingsCategory";
|
|
14
20
|
static readonly goalType = "GoalType";
|
|
21
|
+
static readonly groupColor = "GroupColor";
|
|
22
|
+
static readonly importance = "Importance";
|
|
15
23
|
static readonly journalType = "JournalType";
|
|
24
|
+
static readonly knowledgeLevel = "KnowledgeLevel";
|
|
25
|
+
static readonly knowledgeTitle = "KnowledgeTitle";
|
|
16
26
|
static readonly knowledgeType = "KnowledgeType";
|
|
17
27
|
static readonly leadType = "LeadType";
|
|
18
28
|
static readonly marketingType = "MarketingType";
|
|
19
29
|
static readonly paymentType = "PaymentType";
|
|
20
30
|
static readonly prefixType = "PrefixType";
|
|
21
31
|
static readonly productType = "ProductType";
|
|
32
|
+
static readonly projectOrigin = "ProjectOrigin";
|
|
22
33
|
static readonly projectType = "ProjectType";
|
|
34
|
+
static readonly reportCategory = "ReportCategory";
|
|
35
|
+
static readonly responseForm = "ResponseForm";
|
|
36
|
+
static readonly responseType = "ResponseType";
|
|
37
|
+
static readonly salaryDate = "SalaryDate";
|
|
23
38
|
static readonly salaryType = "SalaryType";
|
|
24
39
|
static readonly salePriceType = "SalePriceType";
|
|
25
40
|
static readonly suffixType = "SuffixType";
|
|
41
|
+
static readonly taskImportance = "TaskImportance";
|
|
42
|
+
static readonly tasksSnoozePeriod = "TasksSnoozePeriod";
|
|
43
|
+
static readonly taskStatus = "TaskStatus";
|
|
26
44
|
static readonly taskType = "TaskType";
|
|
45
|
+
static readonly trainingGrade = "TrainingGrade";
|
|
27
46
|
static readonly trainingTitle = "TrainingTitle";
|
|
47
|
+
static readonly translations = "Translations";
|
|
48
|
+
static readonly units = "Units";
|
|
28
49
|
static readonly userType = "UserType";
|
|
29
50
|
static readonly usStatesDistrictsTerritories = "USStatesDistrictsTerritories";
|
|
30
51
|
static readonly vacationType = "VacationType";
|
|
52
|
+
static readonly vat = "VAT";
|
|
53
|
+
static readonly workLoad = "WorkLoad";
|
|
31
54
|
static readonly workReportType = "WorkReportType";
|
|
32
55
|
}
|
package/lib/cjs/data/EWItem.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TFolderName } from "..";
|
|
2
|
-
import { IItemPreview } from "../interfaces/IItemPreview";
|
|
3
|
-
import { IApiItemBase } from "./IApiItemBase";
|
|
1
|
+
import type { TFolderName } from "..";
|
|
2
|
+
import type { IItemPreview } from "../interfaces/IItemPreview";
|
|
3
|
+
import type { IApiItemBase } from "./IApiItemBase";
|
|
4
4
|
export declare class EWItem<T extends IApiItemBase> {
|
|
5
5
|
readonly folderName: TFolderName;
|
|
6
6
|
readonly baseItem: T;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TNumericValidatorType } from '../interfaces/TNumericValidatorType';
|
|
2
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
1
|
+
import type { TNumericValidatorType } from '../interfaces/TNumericValidatorType';
|
|
2
|
+
import type { IApiItemBase } from './IApiItemBase';
|
|
3
3
|
export interface IApiAdditionalField extends IApiItemBase {
|
|
4
4
|
ObjectTypeFolderName: string;
|
|
5
5
|
FieldId: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TFieldType } from '../constants/FieldTypes';
|
|
2
|
-
import { TFolderName } from '../constants/FolderNames';
|
|
3
|
-
import { TNumericValidatorType } from '../interfaces/TNumericValidatorType';
|
|
1
|
+
import type { TFieldType } from '../constants/FieldTypes';
|
|
2
|
+
import type { TFolderName } from '../constants/FolderNames';
|
|
3
|
+
import type { TNumericValidatorType } from '../interfaces/TNumericValidatorType';
|
|
4
4
|
type TAdditionalFieldItem = {
|
|
5
5
|
CategoryEn: string | null;
|
|
6
6
|
Comment: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IApiItemBase } from "./IApiItemBase";
|
|
1
|
+
import type { IApiItemBase } from "./IApiItemBase";
|
|
2
2
|
export type TApiColumnPermissionPermissionRuleOptions = 'All' | 'Own' | 'Readonly' | 'Invisible' | 'None';
|
|
3
3
|
export type TApiColumnPermissionMandatoryRuleOptions = 'Mandatory' | 'Optional' | 'Unique' | 'None';
|
|
4
4
|
export interface IApiColumnPermission extends IApiItemBase {
|
|
@@ -8,8 +8,8 @@ export interface IApiColumnPermission extends IApiItemBase {
|
|
|
8
8
|
IsAdditionalField: boolean;
|
|
9
9
|
IsMandatoryRuleEditable: boolean;
|
|
10
10
|
IsPermissionRuleEditable: boolean;
|
|
11
|
-
MandatoryRule: TApiColumnPermissionMandatoryRuleOptions
|
|
12
|
-
PermissionRule: TApiColumnPermissionPermissionRuleOptions
|
|
11
|
+
MandatoryRule: TApiColumnPermissionMandatoryRuleOptions;
|
|
12
|
+
PermissionRule: TApiColumnPermissionPermissionRuleOptions;
|
|
13
13
|
NotFullyPermittedForGroupGuids: string[] | null;
|
|
14
14
|
IsSetToUnique: boolean;
|
|
15
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
-
import { IApiEnumValue } from "./IApiEnumValue";
|
|
1
|
+
import type { IApiItemBase } from "./IApiItemBase";
|
|
2
|
+
import type { IApiEnumValue } from "./IApiEnumValue";
|
|
3
3
|
export declare enum EnumTypeEditMode {
|
|
4
4
|
Readonly = "Readonly",
|
|
5
5
|
VisibleRankDefaultOnly = "VisibleRankDefaultOnly",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IApiItemBaseWithoutPrivate } from "./IApiItemBase";
|
|
2
|
-
import { IApiEvent } from "./workflowActions/IApiAction";
|
|
1
|
+
import type { IApiItemBaseWithoutPrivate } from "./IApiItemBase";
|
|
2
|
+
import type { IApiEvent } from "./workflowActions/IApiAction";
|
|
3
3
|
export interface IApiEnumValue extends IApiItemBaseWithoutPrivate {
|
|
4
4
|
EnumType: string;
|
|
5
5
|
EnumTypeName: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Edition } from "../constants/Edition";
|
|
2
|
-
import { Feature } from "../constants/Feature";
|
|
3
|
-
import { IApiLicenseBundleBase } from "./IApiLicenseBundleBase";
|
|
1
|
+
import type { Edition } from "../constants/Edition";
|
|
2
|
+
import type { Feature } from "../constants/Feature";
|
|
3
|
+
import type { IApiLicenseBundleBase } from "./IApiLicenseBundleBase";
|
|
4
4
|
export type TFeatureWithEdition = {
|
|
5
5
|
Edition: Edition;
|
|
6
6
|
Feature: Feature;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IApiItemBaseWithoutPrivate } from './IApiItemBase';
|
|
2
|
-
import { IApiEvent } from './workflowActions/IApiAction';
|
|
1
|
+
import type { IApiItemBaseWithoutPrivate } from './IApiItemBase';
|
|
2
|
+
import type { IApiEvent } from './workflowActions/IApiAction';
|
|
3
3
|
export interface IApiFlow extends IApiItemBaseWithoutPrivate {
|
|
4
4
|
ModelGuid: string | null;
|
|
5
5
|
PrecedentEn: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ITranslatableString } from '../interfaces/ITranslatableString';
|
|
2
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
1
|
+
import type { ITranslatableString } from '../interfaces/ITranslatableString';
|
|
2
|
+
import type { IApiItemBase } from './IApiItemBase';
|
|
3
3
|
type TAvailableValue = {
|
|
4
4
|
Key: string;
|
|
5
5
|
Value: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
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';
|
|
1
|
+
import type { IApiCapacityAvailableBundle } from './IApiCapacityAvailableBundle';
|
|
2
|
+
import type { ITranslatableString } from '../interfaces/ITranslatableString';
|
|
3
|
+
import type { TFeatureWithEdition } from './IApiFeaturesLicenseBundle';
|
|
4
|
+
import type { Edition } from '../constants/Edition';
|
|
5
|
+
import type { Feature } from '../constants/Feature';
|
|
6
|
+
import type { TFolderName } from '../constants/FolderNames';
|
|
7
|
+
import type ExpirationReason from '../constants/ExpirationReason';
|
|
8
|
+
import type LicenseKeyInvoiceSeverity from '../constants/LicenseKeyInvoiceSeverity';
|
|
9
9
|
type LicenceBusinessType = 'Premium' | 'Trial' | 'Free';
|
|
10
10
|
interface IApiRestrictionBase {
|
|
11
11
|
AvailableInEdition: Edition;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IApiItemBase } from "./IApiItemBase";
|
|
1
|
+
import type { IApiItemBase } from "./IApiItemBase";
|
|
2
2
|
export type TApiModulePermissionOptions = 'All' | 'Inherited' | 'Group' | 'Related' | 'Own' | 'None';
|
|
3
3
|
export interface IApiModulePermission extends IApiItemBase {
|
|
4
4
|
CanCreate: boolean;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export default interface IApiUnlinkInquiryResult {
|
|
2
|
+
Result: TApiUnlinkInquiryResultType;
|
|
3
|
+
RelatedItemGuid: string;
|
|
4
|
+
CanBeUnlinked: boolean;
|
|
5
|
+
}
|
|
6
|
+
export type TApiUnlinkInquiryResultType = 'Allowed' | 'AllowedWithOptionalWarning' | 'DisallowedByMandatoryField' | 'DisallowedByReadonlyItem' | 'DisallowedByLockedForm' | 'DisallowedByLockedInferiorForm' | 'DisallowedByReadonlyInferiorField' | 'DisallowedByLockedInferiorField' | 'Disallowed';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
-
import { IApiLicenseBundleBase } from "./IApiLicenseBundleBase";
|
|
1
|
+
import type { IApiItemBase } from "./IApiItemBase";
|
|
2
|
+
import type { IApiLicenseBundleBase } from "./IApiLicenseBundleBase";
|
|
3
3
|
export interface IApiUser extends IApiItemBase {
|
|
4
4
|
Username: string;
|
|
5
5
|
FirstName: string | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
-
import { IApiEvent } from './workflowActions/IApiAction';
|
|
1
|
+
import type { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
import type { IApiEvent } from './workflowActions/IApiAction';
|
|
3
3
|
export interface IApiWorkflowActionDerivedItem extends IApiItemBase {
|
|
4
4
|
PerformsLockItemAction: boolean | null;
|
|
5
5
|
PerformsAreEqualAction: boolean | null;
|