@eway-crm/connector 1.0.73 → 1.0.74
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/constants/Edition.d.ts +6 -0
- package/lib/constants/Edition.js +10 -0
- package/lib/constants/Feature.d.ts +6 -0
- package/lib/constants/Feature.js +10 -0
- package/lib/constants/GlobalSettingsNames.d.ts +6 -0
- package/lib/constants/GlobalSettingsNames.js +6 -0
- package/lib/data/IApiAvailableBundle.d.ts +2 -2
- package/lib/data/IApiFeaturesLicenseBundle.d.ts +10 -0
- package/lib/data/IApiFeaturesLicenseBundle.js +2 -0
- package/lib/data/IApiLicense.d.ts +2 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.js +6 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Edition = void 0;
|
|
4
|
+
var Edition;
|
|
5
|
+
(function (Edition) {
|
|
6
|
+
Edition["Free"] = "Free";
|
|
7
|
+
Edition["Basic"] = "Basic";
|
|
8
|
+
Edition["Professional"] = "Professional";
|
|
9
|
+
Edition["Enterprise"] = "Enterprise";
|
|
10
|
+
})(Edition = exports.Edition || (exports.Edition = {}));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Feature = void 0;
|
|
4
|
+
var Feature;
|
|
5
|
+
(function (Feature) {
|
|
6
|
+
Feature["ContactsAndCompanies"] = "ContactsAndCompanies";
|
|
7
|
+
Feature["Sales"] = "Sales";
|
|
8
|
+
Feature["Projects"] = "Projects";
|
|
9
|
+
Feature["Marketing"] = "Marketing";
|
|
10
|
+
})(Feature = exports.Feature || (exports.Feature = {}));
|
|
@@ -14,9 +14,15 @@ declare class GlobalSettingsNames {
|
|
|
14
14
|
static cartToBeInvoicedState: string;
|
|
15
15
|
static cartVoidedState: string;
|
|
16
16
|
static clickToCallScheme: string;
|
|
17
|
+
static companyDuplicityCheckEnabled: string;
|
|
17
18
|
static completedStateName: string;
|
|
19
|
+
static contactDuplicityCheckEnabled: string;
|
|
18
20
|
static createCompanyWhileImportingContactFromOutlook: string;
|
|
19
21
|
static deadStateName: string;
|
|
22
|
+
static enableCompaniesSyncIntoMobileDeviceContacts: string;
|
|
23
|
+
static enableContactsSyncIntoMobileDevice: string;
|
|
24
|
+
static enableLeadsSyncIntoMobileDeviceContacts: string;
|
|
25
|
+
static enableUsersSyncIntoMobileDeviceContacts: string;
|
|
20
26
|
static exchangeRatesAdminGroupName: string;
|
|
21
27
|
static forcedEmailTrackingGroups: string;
|
|
22
28
|
static groupsForAllUnpaidInvoicesNotification: string;
|
|
@@ -18,9 +18,15 @@ var GlobalSettingsNames = /** @class */ (function () {
|
|
|
18
18
|
GlobalSettingsNames.cartToBeInvoicedState = 'CartToBeInvoicedState';
|
|
19
19
|
GlobalSettingsNames.cartVoidedState = 'CartVoidedState';
|
|
20
20
|
GlobalSettingsNames.clickToCallScheme = 'ClickToCallScheme';
|
|
21
|
+
GlobalSettingsNames.companyDuplicityCheckEnabled = 'CompanyDuplicityCheckEnabled';
|
|
21
22
|
GlobalSettingsNames.completedStateName = 'CompletedStateName';
|
|
23
|
+
GlobalSettingsNames.contactDuplicityCheckEnabled = 'ContactDuplicityCheckEnabled';
|
|
22
24
|
GlobalSettingsNames.createCompanyWhileImportingContactFromOutlook = 'CreateCompanyWhileImportingContactFromOutlook';
|
|
23
25
|
GlobalSettingsNames.deadStateName = 'DeadStateName';
|
|
26
|
+
GlobalSettingsNames.enableCompaniesSyncIntoMobileDeviceContacts = 'EnableCompaniesSyncIntoMobileDeviceContacts';
|
|
27
|
+
GlobalSettingsNames.enableContactsSyncIntoMobileDevice = 'EnableContactsSyncIntoMobileDevice';
|
|
28
|
+
GlobalSettingsNames.enableLeadsSyncIntoMobileDeviceContacts = 'EnableLeadsSyncIntoMobileDeviceContacts';
|
|
29
|
+
GlobalSettingsNames.enableUsersSyncIntoMobileDeviceContacts = 'EnableUsersSyncIntoMobileDeviceContacts';
|
|
24
30
|
GlobalSettingsNames.exchangeRatesAdminGroupName = 'ExchangeRatesAdminGroupName';
|
|
25
31
|
GlobalSettingsNames.forcedEmailTrackingGroups = 'ForcedEmailTrackingGroups';
|
|
26
32
|
GlobalSettingsNames.groupsForAllUnpaidInvoicesNotification = 'GroupsForAllUnpaidInvoicesNotification';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface IApiAvailableBundle extends
|
|
1
|
+
import { IApiFeaturesLicenseBundle } from "./IApiFeaturesLicenseBundle";
|
|
2
|
+
export interface IApiAvailableBundle extends IApiFeaturesLicenseBundle {
|
|
3
3
|
Quantity: number;
|
|
4
4
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Edition } from "../constants/Edition";
|
|
2
|
+
import { Feature } from "../constants/Feature";
|
|
3
|
+
import { IApiLicenseBundleBase } from "./IApiLicenseBundleBase";
|
|
4
|
+
export declare type TFeatureWithEdition = {
|
|
5
|
+
Edition: Edition;
|
|
6
|
+
Feature: Feature;
|
|
7
|
+
};
|
|
8
|
+
export interface IApiFeaturesLicenseBundle extends IApiLicenseBundleBase {
|
|
9
|
+
Features: TFeatureWithEdition[];
|
|
10
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { IApiCapacityAvailableBundle } from './IApiCapacityAvailableBundle';
|
|
2
2
|
import { ITranslatableString } from '../interfaces/ITranslatableString';
|
|
3
|
+
import { TFeatureWithEdition } from './IApiFeaturesLicenseBundle';
|
|
3
4
|
declare type LicenceBusinessType = 'Premium' | 'Trial' | 'Free';
|
|
4
5
|
export interface IApiLicense {
|
|
5
6
|
AvailableBundles: (IApiCapacityAvailableBundle & {
|
|
6
7
|
Name: ITranslatableString;
|
|
7
8
|
})[];
|
|
8
9
|
BusinessType: LicenceBusinessType;
|
|
10
|
+
Features: TFeatureWithEdition[];
|
|
9
11
|
}
|
|
10
12
|
export {};
|
package/lib/index.d.ts
CHANGED
|
@@ -15,6 +15,8 @@ import { TInputData } from './interfaces/ITokenData';
|
|
|
15
15
|
import EnumTypes from './constants/EnumTypes';
|
|
16
16
|
import RelationTypes from './constants/RelationTypes';
|
|
17
17
|
import { ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules } from './constants/ColumnPermissionRules';
|
|
18
|
+
import { Edition } from '../src/constants/Edition';
|
|
19
|
+
import { Feature } from '../src/constants/Feature';
|
|
18
20
|
export default ApiConnection;
|
|
19
21
|
export * from './data/EWItem';
|
|
20
22
|
export * from './data/IApiAdditionalField';
|
|
@@ -35,6 +37,7 @@ export * from './data/IApiEnumType';
|
|
|
35
37
|
export * from './data/IApiEnumValue';
|
|
36
38
|
export * from './data/IApiEnumValuesRelation';
|
|
37
39
|
export * from './data/IApiFeature';
|
|
40
|
+
export * from './data/IApiFeaturesLicenseBundle';
|
|
38
41
|
export * from './data/IApiFlow';
|
|
39
42
|
export * from './data/IApiGlobalSetting';
|
|
40
43
|
export * from './data/IApiGoal';
|
|
@@ -67,4 +70,4 @@ export * from './data/IApiWorkReport';
|
|
|
67
70
|
export * from './data/query/IApiQuery';
|
|
68
71
|
export * from './data/query/IApiQueryFilters';
|
|
69
72
|
export * from './interfaces/ITranslatableString';
|
|
70
|
-
export { HttpMethod, ISessionHandler, ReturnCodes, ITokenizedApiResult, TokenizedServiceConnection, CommonDataConnection, ApiMethods, GlobalSettingsNames, FolderNames, TFolderName, OAuthHelper, HttpRequestError, TUnionError, TInputData, FieldNames, EnumTypes, RelationTypes, ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules };
|
|
73
|
+
export { HttpMethod, ISessionHandler, ReturnCodes, ITokenizedApiResult, TokenizedServiceConnection, CommonDataConnection, ApiMethods, GlobalSettingsNames, FolderNames, TFolderName, OAuthHelper, HttpRequestError, TUnionError, TInputData, FieldNames, EnumTypes, RelationTypes, ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules, Edition, Feature };
|
package/lib/index.js
CHANGED
|
@@ -10,7 +10,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
10
10
|
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
|
|
11
11
|
};
|
|
12
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
-
exports.ColumnPermissionMandatoryRules = exports.ColumnPermissionPermissionRules = exports.RelationTypes = exports.EnumTypes = exports.FieldNames = exports.HttpRequestError = exports.OAuthHelper = exports.FolderNames = exports.GlobalSettingsNames = exports.ApiMethods = exports.CommonDataConnection = exports.TokenizedServiceConnection = exports.ReturnCodes = exports.HttpMethod = void 0;
|
|
13
|
+
exports.Feature = exports.Edition = exports.ColumnPermissionMandatoryRules = exports.ColumnPermissionPermissionRules = exports.RelationTypes = exports.EnumTypes = exports.FieldNames = exports.HttpRequestError = exports.OAuthHelper = exports.FolderNames = exports.GlobalSettingsNames = exports.ApiMethods = exports.CommonDataConnection = exports.TokenizedServiceConnection = exports.ReturnCodes = exports.HttpMethod = void 0;
|
|
14
14
|
var Promise = require("es6-promise");
|
|
15
15
|
var ApiConnection_1 = require("./ApiConnection");
|
|
16
16
|
var HttpMethod_1 = require("./HttpMethod");
|
|
@@ -40,6 +40,10 @@ exports.RelationTypes = RelationTypes_1.default;
|
|
|
40
40
|
var ColumnPermissionRules_1 = require("./constants/ColumnPermissionRules");
|
|
41
41
|
Object.defineProperty(exports, "ColumnPermissionPermissionRules", { enumerable: true, get: function () { return ColumnPermissionRules_1.ColumnPermissionPermissionRules; } });
|
|
42
42
|
Object.defineProperty(exports, "ColumnPermissionMandatoryRules", { enumerable: true, get: function () { return ColumnPermissionRules_1.ColumnPermissionMandatoryRules; } });
|
|
43
|
+
var Edition_1 = require("../src/constants/Edition");
|
|
44
|
+
Object.defineProperty(exports, "Edition", { enumerable: true, get: function () { return Edition_1.Edition; } });
|
|
45
|
+
var Feature_1 = require("../src/constants/Feature");
|
|
46
|
+
Object.defineProperty(exports, "Feature", { enumerable: true, get: function () { return Feature_1.Feature; } });
|
|
43
47
|
Promise.polyfill();
|
|
44
48
|
exports.default = ApiConnection_1.ApiConnection;
|
|
45
49
|
__exportStar(require("./data/EWItem"), exports);
|
|
@@ -61,6 +65,7 @@ __exportStar(require("./data/IApiEnumType"), exports);
|
|
|
61
65
|
__exportStar(require("./data/IApiEnumValue"), exports);
|
|
62
66
|
__exportStar(require("./data/IApiEnumValuesRelation"), exports);
|
|
63
67
|
__exportStar(require("./data/IApiFeature"), exports);
|
|
68
|
+
__exportStar(require("./data/IApiFeaturesLicenseBundle"), exports);
|
|
64
69
|
__exportStar(require("./data/IApiFlow"), exports);
|
|
65
70
|
__exportStar(require("./data/IApiGlobalSetting"), exports);
|
|
66
71
|
__exportStar(require("./data/IApiGoal"), exports);
|