@eway-crm/connector 1.0.164 → 1.0.166
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/FieldNames.d.ts +1 -1
- package/lib/cjs/constants/LicenseRestrictionKeys.d.ts +1 -0
- 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/FieldNames.d.ts +1 -1
- package/lib/esm/constants/LicenseRestrictionKeys.d.ts +1 -0
- 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 +13 -3
- package/package.json +6 -6
|
@@ -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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ITokenData } from '../interfaces/ITokenData';
|
|
2
|
-
import { IEWJwtPayload } from '../interfaces/IEWJwtPayload';
|
|
1
|
+
import type { ITokenData } from '../interfaces/ITokenData';
|
|
2
|
+
import type { IEWJwtPayload } from '../interfaces/IEWJwtPayload';
|
|
3
3
|
export declare class OAuthHelper {
|
|
4
4
|
static finishAuthorization: (wsUrl: string, clientId: string, clientSecret: string, codeVerifier: string, authorizationCode: string, redirectUrl: string, callback: (tokenData: ITokenData) => void) => void;
|
|
5
5
|
static refreshToken: (wsUrl: string, clientId: string, clientSecret: string, refreshToken: string, callback: (tokenData: ITokenData) => void) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TFolderName } from "../constants/FolderNames";
|
|
1
|
+
import type { TFolderName } from "../constants/FolderNames";
|
|
2
2
|
export default class QueryHelper {
|
|
3
3
|
static createHubItemsCountsQuery(parentItemGuids: string[], itemTypes: TFolderName[], excludeSystemItems?: boolean): {
|
|
4
4
|
__type: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiConnection } from "../ApiConnection";
|
|
1
|
+
import type { ApiConnection } from "../ApiConnection";
|
|
2
2
|
export default class VersionHelperBase {
|
|
3
3
|
protected static readonly getIsDebug: (connection?: ApiConnection | null) => boolean;
|
|
4
4
|
protected static readonly supportsFeaturesOf: (connection: ApiConnection, version: string) => boolean;
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -32,6 +32,8 @@ import ObjectTypeIds from './constants/ObjectTypeIds';
|
|
|
32
32
|
import { IApiHubItemsCountsQueryResponseItem } from './data/query/IApiHubItemsCountsQueryResponseItem';
|
|
33
33
|
import QueryHelper from './helpers/QueryHelper';
|
|
34
34
|
import { IApiServiceAuthSettingsResponse } from './data/IApiServiceAuthSettingsResponse';
|
|
35
|
+
import type IApiUnlinkInquiryResult from './data/IApiUnlinkInquiryResult';
|
|
36
|
+
import type { TApiUnlinkInquiryResultType } from './data/IApiUnlinkInquiryResult';
|
|
35
37
|
export default ApiConnection;
|
|
36
38
|
export * from './data/EWItem';
|
|
37
39
|
export * from './data/IApiAdditionalField';
|
|
@@ -91,4 +93,4 @@ export * from './data/IApiWorkReport';
|
|
|
91
93
|
export * from './data/query/IApiQuery';
|
|
92
94
|
export * from './data/query/IApiQueryFilters';
|
|
93
95
|
export * from './interfaces/ITranslatableString';
|
|
94
|
-
export { HttpMethod, ISessionHandler, ReturnCodes, ITokenizedApiResult, TokenizedServiceConnection, CommonDataConnection, ApiMethods, GlobalSettingsNames, FolderNames, TFolderName, OAuthHelper, HttpRequestError, TUnionError, TInputData, FieldNames, EnumTypes, RelationTypes, TRelationType, ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules, Edition, Feature, Functionality, CustomizationStatsItemKeys, LicenseRestrictionKeys, ExpirationReason, LicenseKeyInvoiceSeverity, ErrorHelper, VersionHelperBase, OAuthSessionHandlerBase, FieldTypes, TFieldType, TNumericValidatorType, IApiEvent, IApiSetFieldValueAction, ObjectTypeIds, IApiHubItemsCountsQueryResponseItem, QueryHelper, IApiServiceAuthSettingsResponse, ApiConnection as ApiConnectionAsNonDefaultExport };
|
|
96
|
+
export { HttpMethod, ISessionHandler, ReturnCodes, ITokenizedApiResult, TokenizedServiceConnection, CommonDataConnection, ApiMethods, GlobalSettingsNames, FolderNames, TFolderName, OAuthHelper, HttpRequestError, TUnionError, TInputData, FieldNames, EnumTypes, RelationTypes, TRelationType, ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules, Edition, Feature, Functionality, CustomizationStatsItemKeys, LicenseRestrictionKeys, ExpirationReason, LicenseKeyInvoiceSeverity, ErrorHelper, VersionHelperBase, OAuthSessionHandlerBase, FieldTypes, TFieldType, TNumericValidatorType, IApiEvent, IApiSetFieldValueAction, ObjectTypeIds, IApiHubItemsCountsQueryResponseItem, QueryHelper, IApiServiceAuthSettingsResponse, ApiConnection as ApiConnectionAsNonDefaultExport, IApiUnlinkInquiryResult, TApiUnlinkInquiryResultType, };
|