@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.
Files changed (158) hide show
  1. package/lib/cjs/AnonymousSessionHandler.d.ts +3 -2
  2. package/lib/cjs/ApiConnection.d.ts +6 -6
  3. package/lib/cjs/ApiMethods.d.ts +3 -1
  4. package/lib/cjs/CredentialsSessionHandler.d.ts +4 -4
  5. package/lib/cjs/ISessionHandler.d.ts +2 -2
  6. package/lib/cjs/OAuthSessionHandler.d.ts +3 -3
  7. package/lib/cjs/OAuthSessionHandlerBase.d.ts +4 -4
  8. package/lib/cjs/constants/ActionEventTypes.d.ts +1 -1
  9. package/lib/cjs/constants/ColumnPermissionRules.d.ts +1 -1
  10. package/lib/cjs/constants/CompletionLevels.d.ts +1 -1
  11. package/lib/cjs/constants/EnumTypes.d.ts +23 -0
  12. package/lib/cjs/constants/FieldNames.d.ts +1 -1
  13. package/lib/cjs/constants/ObjectTypeIds.d.ts +1 -1
  14. package/lib/cjs/data/EWItem.d.ts +3 -3
  15. package/lib/cjs/data/IApiAdditionalField.d.ts +2 -2
  16. package/lib/cjs/data/IApiAvailableBundle.d.ts +1 -1
  17. package/lib/cjs/data/IApiAvailableVersionResponse.d.ts +1 -1
  18. package/lib/cjs/data/IApiBooleanResponse.d.ts +1 -1
  19. package/lib/cjs/data/IApiCapacityAvailableBundle.d.ts +1 -1
  20. package/lib/cjs/data/IApiCart.d.ts +1 -1
  21. package/lib/cjs/data/IApiColumn.d.ts +3 -3
  22. package/lib/cjs/data/IApiColumnPermission.d.ts +3 -3
  23. package/lib/cjs/data/IApiCompany.d.ts +1 -1
  24. package/lib/cjs/data/IApiContact.d.ts +1 -1
  25. package/lib/cjs/data/IApiCurrencyExchangeRate.d.ts +1 -1
  26. package/lib/cjs/data/IApiCustomizationStatsItem.d.ts +1 -1
  27. package/lib/cjs/data/IApiDataResponse.d.ts +1 -1
  28. package/lib/cjs/data/IApiDatumResponse.d.ts +1 -1
  29. package/lib/cjs/data/IApiDocument.d.ts +1 -1
  30. package/lib/cjs/data/IApiEmail.d.ts +1 -1
  31. package/lib/cjs/data/IApiEnumType.d.ts +2 -2
  32. package/lib/cjs/data/IApiEnumValue.d.ts +2 -2
  33. package/lib/cjs/data/IApiEnumValuesRelation.d.ts +1 -1
  34. package/lib/cjs/data/IApiFeature.d.ts +1 -1
  35. package/lib/cjs/data/IApiFeaturesLicenseBundle.d.ts +3 -3
  36. package/lib/cjs/data/IApiFlow.d.ts +2 -2
  37. package/lib/cjs/data/IApiGlobalSetting.d.ts +2 -2
  38. package/lib/cjs/data/IApiGoal.d.ts +1 -1
  39. package/lib/cjs/data/IApiGood.d.ts +1 -1
  40. package/lib/cjs/data/IApiGoodInCart.d.ts +1 -1
  41. package/lib/cjs/data/IApiGroup.d.ts +1 -1
  42. package/lib/cjs/data/IApiItemIdentifier.d.ts +1 -1
  43. package/lib/cjs/data/IApiJournal.d.ts +1 -1
  44. package/lib/cjs/data/IApiLayout.d.ts +1 -1
  45. package/lib/cjs/data/IApiLayoutsModel.d.ts +1 -1
  46. package/lib/cjs/data/IApiLead.d.ts +1 -1
  47. package/lib/cjs/data/IApiLicense.d.ts +8 -8
  48. package/lib/cjs/data/IApiLocalizedLicenseBundle.d.ts +1 -1
  49. package/lib/cjs/data/IApiLoginResponse.d.ts +1 -1
  50. package/lib/cjs/data/IApiMarketingCampaign.d.ts +1 -1
  51. package/lib/cjs/data/IApiMarketingList.d.ts +1 -1
  52. package/lib/cjs/data/IApiModulePermission.d.ts +1 -1
  53. package/lib/cjs/data/IApiObjectType.d.ts +1 -1
  54. package/lib/cjs/data/IApiPayment.d.ts +1 -1
  55. package/lib/cjs/data/IApiProject.d.ts +1 -1
  56. package/lib/cjs/data/IApiRecurrencePattern.d.ts +1 -1
  57. package/lib/cjs/data/IApiSaveResponse.d.ts +1 -1
  58. package/lib/cjs/data/IApiServiceAuthSettingsResponse.d.ts +1 -1
  59. package/lib/cjs/data/IApiTask.d.ts +1 -1
  60. package/lib/cjs/data/IApiUnlinkInquiryResult.d.ts +6 -0
  61. package/lib/cjs/data/IApiUser.d.ts +2 -2
  62. package/lib/cjs/data/IApiUserSetting.d.ts +1 -1
  63. package/lib/cjs/data/IApiWorkReport.d.ts +1 -1
  64. package/lib/cjs/data/IApiWorkflowActionDerivedItem.d.ts +2 -2
  65. package/lib/cjs/data/IApiWorkflowModel.d.ts +1 -1
  66. package/lib/cjs/data/query/IApiHubItemsCountsQueryResponseItem.d.ts +1 -1
  67. package/lib/cjs/data/query/IApiQuery.d.ts +1 -1
  68. package/lib/cjs/data/query/IApiQueryFilters.d.ts +1 -1
  69. package/lib/cjs/data/workflowActions/IApiAction.d.ts +1 -1
  70. package/lib/cjs/exceptions/HttpRequestError.d.ts +1 -1
  71. package/lib/cjs/helpers/OAuthHelper.d.ts +2 -2
  72. package/lib/cjs/helpers/QueryHelper.d.ts +1 -1
  73. package/lib/cjs/helpers/VersionHelperBase.d.ts +1 -1
  74. package/lib/cjs/index.d.ts +3 -1
  75. package/lib/cjs/index.js +2 -2
  76. package/lib/cjs/interfaces/IEWJwtPayload.d.ts +1 -1
  77. package/lib/cjs/tokenizedServices/CommonDataConnection.d.ts +3 -3
  78. package/lib/cjs/tokenizedServices/TokenizedServiceConnection.d.ts +5 -5
  79. package/lib/esm/AnonymousSessionHandler.d.ts +3 -2
  80. package/lib/esm/ApiConnection.d.ts +6 -6
  81. package/lib/esm/ApiMethods.d.ts +3 -1
  82. package/lib/esm/CredentialsSessionHandler.d.ts +4 -4
  83. package/lib/esm/ISessionHandler.d.ts +2 -2
  84. package/lib/esm/OAuthSessionHandler.d.ts +3 -3
  85. package/lib/esm/OAuthSessionHandlerBase.d.ts +4 -4
  86. package/lib/esm/constants/ActionEventTypes.d.ts +1 -1
  87. package/lib/esm/constants/ColumnPermissionRules.d.ts +1 -1
  88. package/lib/esm/constants/CompletionLevels.d.ts +1 -1
  89. package/lib/esm/constants/EnumTypes.d.ts +23 -0
  90. package/lib/esm/constants/FieldNames.d.ts +1 -1
  91. package/lib/esm/constants/ObjectTypeIds.d.ts +1 -1
  92. package/lib/esm/data/EWItem.d.ts +3 -3
  93. package/lib/esm/data/IApiAdditionalField.d.ts +2 -2
  94. package/lib/esm/data/IApiAvailableBundle.d.ts +1 -1
  95. package/lib/esm/data/IApiAvailableVersionResponse.d.ts +1 -1
  96. package/lib/esm/data/IApiBooleanResponse.d.ts +1 -1
  97. package/lib/esm/data/IApiCapacityAvailableBundle.d.ts +1 -1
  98. package/lib/esm/data/IApiCart.d.ts +1 -1
  99. package/lib/esm/data/IApiColumn.d.ts +3 -3
  100. package/lib/esm/data/IApiColumnPermission.d.ts +3 -3
  101. package/lib/esm/data/IApiCompany.d.ts +1 -1
  102. package/lib/esm/data/IApiContact.d.ts +1 -1
  103. package/lib/esm/data/IApiCurrencyExchangeRate.d.ts +1 -1
  104. package/lib/esm/data/IApiCustomizationStatsItem.d.ts +1 -1
  105. package/lib/esm/data/IApiDataResponse.d.ts +1 -1
  106. package/lib/esm/data/IApiDatumResponse.d.ts +1 -1
  107. package/lib/esm/data/IApiDocument.d.ts +1 -1
  108. package/lib/esm/data/IApiEmail.d.ts +1 -1
  109. package/lib/esm/data/IApiEnumType.d.ts +2 -2
  110. package/lib/esm/data/IApiEnumValue.d.ts +2 -2
  111. package/lib/esm/data/IApiEnumValuesRelation.d.ts +1 -1
  112. package/lib/esm/data/IApiFeature.d.ts +1 -1
  113. package/lib/esm/data/IApiFeaturesLicenseBundle.d.ts +3 -3
  114. package/lib/esm/data/IApiFlow.d.ts +2 -2
  115. package/lib/esm/data/IApiGlobalSetting.d.ts +2 -2
  116. package/lib/esm/data/IApiGoal.d.ts +1 -1
  117. package/lib/esm/data/IApiGood.d.ts +1 -1
  118. package/lib/esm/data/IApiGoodInCart.d.ts +1 -1
  119. package/lib/esm/data/IApiGroup.d.ts +1 -1
  120. package/lib/esm/data/IApiItemIdentifier.d.ts +1 -1
  121. package/lib/esm/data/IApiJournal.d.ts +1 -1
  122. package/lib/esm/data/IApiLayout.d.ts +1 -1
  123. package/lib/esm/data/IApiLayoutsModel.d.ts +1 -1
  124. package/lib/esm/data/IApiLead.d.ts +1 -1
  125. package/lib/esm/data/IApiLicense.d.ts +8 -8
  126. package/lib/esm/data/IApiLocalizedLicenseBundle.d.ts +1 -1
  127. package/lib/esm/data/IApiLoginResponse.d.ts +1 -1
  128. package/lib/esm/data/IApiMarketingCampaign.d.ts +1 -1
  129. package/lib/esm/data/IApiMarketingList.d.ts +1 -1
  130. package/lib/esm/data/IApiModulePermission.d.ts +1 -1
  131. package/lib/esm/data/IApiObjectType.d.ts +1 -1
  132. package/lib/esm/data/IApiPayment.d.ts +1 -1
  133. package/lib/esm/data/IApiProject.d.ts +1 -1
  134. package/lib/esm/data/IApiRecurrencePattern.d.ts +1 -1
  135. package/lib/esm/data/IApiSaveResponse.d.ts +1 -1
  136. package/lib/esm/data/IApiServiceAuthSettingsResponse.d.ts +1 -1
  137. package/lib/esm/data/IApiTask.d.ts +1 -1
  138. package/lib/esm/data/IApiUnlinkInquiryResult.d.ts +6 -0
  139. package/lib/esm/data/IApiUser.d.ts +2 -2
  140. package/lib/esm/data/IApiUserSetting.d.ts +1 -1
  141. package/lib/esm/data/IApiWorkReport.d.ts +1 -1
  142. package/lib/esm/data/IApiWorkflowActionDerivedItem.d.ts +2 -2
  143. package/lib/esm/data/IApiWorkflowModel.d.ts +1 -1
  144. package/lib/esm/data/query/IApiHubItemsCountsQueryResponseItem.d.ts +1 -1
  145. package/lib/esm/data/query/IApiQuery.d.ts +1 -1
  146. package/lib/esm/data/query/IApiQueryFilters.d.ts +1 -1
  147. package/lib/esm/data/workflowActions/IApiAction.d.ts +1 -1
  148. package/lib/esm/exceptions/HttpRequestError.d.ts +1 -1
  149. package/lib/esm/helpers/OAuthHelper.d.ts +2 -2
  150. package/lib/esm/helpers/QueryHelper.d.ts +1 -1
  151. package/lib/esm/helpers/VersionHelperBase.d.ts +1 -1
  152. package/lib/esm/index.d.ts +3 -1
  153. package/lib/esm/index.js +2 -2
  154. package/lib/esm/interfaces/IEWJwtPayload.d.ts +1 -1
  155. package/lib/esm/tokenizedServices/CommonDataConnection.d.ts +3 -3
  156. package/lib/esm/tokenizedServices/TokenizedServiceConnection.d.ts +5 -5
  157. package/lib/index.d.ts +35 -3
  158. package/package.json +6 -6
@@ -1,5 +1,6 @@
1
- import { ISessionHandler } from './ISessionHandler';
1
+ import { type ApiConnection } from './ApiConnection';
2
+ import type { ISessionHandler } from './ISessionHandler';
2
3
  export declare class AnonymousSessionHandler implements ISessionHandler {
3
- readonly getSessionId: (connection: import('./ApiConnection').ApiConnection, callback: (sessionId: string) => void) => void;
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;
@@ -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
  }
@@ -1,4 +1,4 @@
1
- import { TFolderName } from "./FolderNames";
1
+ import type { TFolderName } from "./FolderNames";
2
2
  export default class FieldNames {
3
3
  static readonly ServerCommon: {
4
4
  readonly Server_ID: "Server_ID";
@@ -1,4 +1,4 @@
1
- import { TFolderName } from "./FolderNames";
1
+ import type { TFolderName } from "./FolderNames";
2
2
  /**
3
3
  * WARNING: Higher ObjectTypeIds are not constant across all environments. Be VERY CAREFUL when adding new ones.
4
4
  */
@@ -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,4 +1,4 @@
1
- import { IApiFeaturesLicenseBundle } from "./IApiFeaturesLicenseBundle";
1
+ import type { IApiFeaturesLicenseBundle } from "./IApiFeaturesLicenseBundle";
2
2
  export interface IApiAvailableBundle extends IApiFeaturesLicenseBundle {
3
3
  Quantity: number;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { IApiResult } from "./IApiResult";
1
+ import type { IApiResult } from "./IApiResult";
2
2
  export interface IApiAvailableVersionResponse extends IApiResult {
3
3
  ClientVersion: string | null;
4
4
  WebServiceVersion: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiResult } from "./IApiResult";
1
+ import type { IApiResult } from "./IApiResult";
2
2
  export interface IApiBooleanResponse extends IApiResult {
3
3
  Result: boolean;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { IApiAvailableBundle } from "./IApiAvailableBundle";
1
+ import type { IApiAvailableBundle } from "./IApiAvailableBundle";
2
2
  export interface IApiCapacityAvailableBundle extends IApiAvailableBundle {
3
3
  FreeSlotsCount: number;
4
4
  UsedSlotsCount: number;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiCart extends IApiItemBase {
3
3
  Id: number | null;
4
4
  EffectiveFrom: string | null;
@@ -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 | string;
12
- PermissionRule: TApiColumnPermissionPermissionRuleOptions | string;
11
+ MandatoryRule: TApiColumnPermissionMandatoryRuleOptions;
12
+ PermissionRule: TApiColumnPermissionPermissionRuleOptions;
13
13
  NotFullyPermittedForGroupGuids: string[] | null;
14
14
  IsSetToUnique: boolean;
15
15
  }
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiCompany extends IApiItemBase {
3
3
  AccountNumber: string | null;
4
4
  Address1POBox: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiContact extends IApiItemBase {
3
3
  BusinessAddressStreet: string | null;
4
4
  BusinessAddressCity: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiCurrencyExchangeRate extends IApiItemBase {
3
3
  InputCurrencyEn: string | null;
4
4
  OutputCurrencyEn: string | null;
@@ -1,4 +1,4 @@
1
- import { TFolderName } from "../constants/FolderNames";
1
+ import type { TFolderName } from "../constants/FolderNames";
2
2
  export interface IApiCustomizationStatsItem {
3
3
  FolderName: TFolderName | null;
4
4
  Key: string;
@@ -1,4 +1,4 @@
1
- import { IApiResult } from "./IApiResult";
1
+ import type { IApiResult } from "./IApiResult";
2
2
  export interface IApiDataResponse<T> extends IApiResult {
3
3
  Data: T[];
4
4
  }
@@ -1,4 +1,4 @@
1
- import { IApiResult } from "./IApiResult";
1
+ import type { IApiResult } from "./IApiResult";
2
2
  export interface IApiDatumResponse<T> extends IApiResult {
3
3
  Datum: T;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiDocument extends IApiItemBase {
3
3
  DocName: string | null;
4
4
  Extension: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiEmail extends IApiItemBase {
3
3
  Subject: string | null;
4
4
  SenderEmailAddress: string | null;
@@ -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,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiEnumValuesRelation extends IApiItemBase {
3
3
  EnumValueGuid: string | null;
4
4
  FieldName: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiFeature extends IApiItemBase {
3
3
  Active: boolean;
4
4
  AssociatedFolderNames: 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,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiGoal extends IApiItemBase {
3
3
  TypeEn: string | null;
4
4
  Note: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiGood extends IApiItemBase {
3
3
  Code: string | null;
4
4
  SaleCurrencyEn: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiGoodInCart extends IApiItemBase {
3
3
  Code: string | null;
4
4
  SaleCurrencyEn: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from "./IApiItemBase";
1
+ import type { IApiItemBase } from "./IApiItemBase";
2
2
  export interface IApiGroup extends IApiItemBase {
3
3
  GroupName: string;
4
4
  Description: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiItemIdentifier extends Omit<IApiItemBase, 'ItemGUID' | 'ItemVersion'> {
3
3
  ItemGUID: string | null;
4
4
  ItemVersion: number | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiJournal extends IApiItemBase {
3
3
  CalendarEntryID: string | null;
4
4
  Calendar_ORIGIN: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBaseWithoutPrivate } from './IApiItemBase';
1
+ import type { IApiItemBaseWithoutPrivate } from './IApiItemBase';
2
2
  export interface IApiLayout extends IApiItemBaseWithoutPrivate {
3
3
  FolderName: string | null;
4
4
  IsDefault: boolean | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBaseWithoutPrivate } from './IApiItemBase';
1
+ import type { IApiItemBaseWithoutPrivate } from './IApiItemBase';
2
2
  export interface IApiLayoutsModel extends IApiItemBaseWithoutPrivate {
3
3
  FolderName: string | null;
4
4
  LayoutGuid: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiLead extends IApiItemBase {
3
3
  City: string | null;
4
4
  ContactPerson: string | null;
@@ -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 { IApiCapacityAvailableBundle } from "./IApiCapacityAvailableBundle";
1
+ import type { IApiCapacityAvailableBundle } from "./IApiCapacityAvailableBundle";
2
2
  export interface IApiLocalizedLicenseBundle extends IApiCapacityAvailableBundle {
3
3
  Name: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { IApiResult } from './IApiResult';
1
+ import type { IApiResult } from './IApiResult';
2
2
  export interface IApiLoginResponse extends IApiResult {
3
3
  SessionId: string | null;
4
4
  UserItemGuid: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiMarketingCampaign extends IApiItemBase {
3
3
  ID: number | null;
4
4
  TypeEn: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiMarketingList extends IApiItemBase {
3
3
  Contact: string | null;
4
4
  Company: string | null;
@@ -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;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from "./IApiItemBase";
1
+ import type { IApiItemBase } from "./IApiItemBase";
2
2
  export interface IApiObjectType extends IApiItemBase {
3
3
  FolderName: string;
4
4
  IsCustomizable: boolean;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiPayment extends IApiItemBase {
3
3
  Date: string | null;
4
4
  Paid: number | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiProject extends IApiItemBase {
3
3
  Note: string | null;
4
4
  Price: number | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiRecurrencePattern extends IApiItemBase {
3
3
  TaskGuid: string | null;
4
4
  RecurrenceType: number | null;
@@ -1,4 +1,4 @@
1
- import { IApiResult } from "./IApiResult";
1
+ import type { IApiResult } from "./IApiResult";
2
2
  export interface IApiSaveResponse extends IApiResult {
3
3
  Guid: string;
4
4
  }
@@ -1,4 +1,4 @@
1
- import { IApiResult } from "./IApiResult";
1
+ import type { IApiResult } from "./IApiResult";
2
2
  export interface IApiServiceAuthSettingsResponse extends IApiResult {
3
3
  IsActiveDirectory: boolean;
4
4
  IsAzureAuth: boolean;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiTask extends IApiItemBase {
3
3
  Body: string | null;
4
4
  IsCompleted: boolean | null;
@@ -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,4 +1,4 @@
1
- import { IApiItemBase } from "./IApiItemBase";
1
+ import type { IApiItemBase } from "./IApiItemBase";
2
2
  export interface IApiUserSetting extends IApiItemBase {
3
3
  Name: string;
4
4
  Value: string | null;
@@ -1,4 +1,4 @@
1
- import { IApiItemBase } from './IApiItemBase';
1
+ import type { IApiItemBase } from './IApiItemBase';
2
2
  export interface IApiWorkReport extends IApiItemBase {
3
3
  Subject: string | null;
4
4
  From: 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;