@eway-crm/connector 1.0.72 → 1.0.75
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 +24 -3
- package/lib/index.js +26 -3
- 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,38 +15,59 @@ 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 './constants/Edition';
|
|
19
|
+
import { Feature } from './constants/Feature';
|
|
18
20
|
export default ApiConnection;
|
|
19
21
|
export * from './data/EWItem';
|
|
20
22
|
export * from './data/IApiAdditionalField';
|
|
21
23
|
export * from './data/IApiAvailableBundle';
|
|
22
24
|
export * from './data/IApiAvailableVersionResponse';
|
|
23
25
|
export * from './data/IApiCapacityAvailableBundle';
|
|
26
|
+
export * from './data/IApiCart';
|
|
24
27
|
export * from './data/IApiColumn';
|
|
25
28
|
export * from './data/IApiColumnPermission';
|
|
29
|
+
export * from './data/IApiCompany';
|
|
30
|
+
export * from './data/IApiContact';
|
|
31
|
+
export * from './data/IApiCurrencyExchangeRate';
|
|
26
32
|
export * from './data/IApiDataResponse';
|
|
27
33
|
export * from './data/IApiDatumResponse';
|
|
28
|
-
export * from './data/
|
|
29
|
-
export * from './data/
|
|
34
|
+
export * from './data/IApiDocument';
|
|
35
|
+
export * from './data/IApiEmail';
|
|
30
36
|
export * from './data/IApiEnumType';
|
|
31
37
|
export * from './data/IApiEnumValue';
|
|
38
|
+
export * from './data/IApiEnumValuesRelation';
|
|
32
39
|
export * from './data/IApiFeature';
|
|
40
|
+
export * from './data/IApiFeaturesLicenseBundle';
|
|
41
|
+
export * from './data/IApiFlow';
|
|
33
42
|
export * from './data/IApiGlobalSetting';
|
|
43
|
+
export * from './data/IApiGoal';
|
|
44
|
+
export * from './data/IApiGood';
|
|
45
|
+
export * from './data/IApiGoodInCart';
|
|
34
46
|
export * from './data/IApiGroup';
|
|
35
47
|
export * from './data/IApiItemBase';
|
|
48
|
+
export * from './data/IApiItemIdentifier';
|
|
36
49
|
export * from './data/IApiItemUsageStatus';
|
|
50
|
+
export * from './data/IApiJournal';
|
|
37
51
|
export * from './data/IApiLead';
|
|
38
52
|
export * from './data/IApiLicense';
|
|
39
53
|
export * from './data/IApiLicenseBundleBase';
|
|
40
54
|
export * from './data/IApiLocalizedLicenseBundle';
|
|
55
|
+
export * from './data/IApiMarketingList';
|
|
41
56
|
export * from './data/IApiModulePermission';
|
|
42
57
|
export * from './data/IApiObjectType';
|
|
43
58
|
export * from './data/IApiPasswordStrength';
|
|
59
|
+
export * from './data/IApiPayment';
|
|
60
|
+
export * from './data/IApiProject';
|
|
61
|
+
export * from './data/IApiRecurrencePattern';
|
|
44
62
|
export * from './data/IApiResult';
|
|
45
63
|
export * from './data/IApiSaveResponse';
|
|
64
|
+
export * from './data/IApiTask';
|
|
46
65
|
export * from './data/IApiUser';
|
|
47
66
|
export * from './data/IApiUserSetting';
|
|
67
|
+
export * from './data/IApiWorkflowActionDerivedItem';
|
|
48
68
|
export * from './data/IApiWorkflowModel';
|
|
69
|
+
export * from './data/IApiWorkReport';
|
|
49
70
|
export * from './data/query/IApiQuery';
|
|
50
71
|
export * from './data/query/IApiQueryFilters';
|
|
51
72
|
export * from './interfaces/ITranslatableString';
|
|
52
|
-
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("./constants/Edition");
|
|
44
|
+
Object.defineProperty(exports, "Edition", { enumerable: true, get: function () { return Edition_1.Edition; } });
|
|
45
|
+
var Feature_1 = require("./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);
|
|
@@ -47,31 +51,50 @@ __exportStar(require("./data/IApiAdditionalField"), exports);
|
|
|
47
51
|
__exportStar(require("./data/IApiAvailableBundle"), exports);
|
|
48
52
|
__exportStar(require("./data/IApiAvailableVersionResponse"), exports);
|
|
49
53
|
__exportStar(require("./data/IApiCapacityAvailableBundle"), exports);
|
|
54
|
+
__exportStar(require("./data/IApiCart"), exports);
|
|
50
55
|
__exportStar(require("./data/IApiColumn"), exports);
|
|
51
56
|
__exportStar(require("./data/IApiColumnPermission"), exports);
|
|
57
|
+
__exportStar(require("./data/IApiCompany"), exports);
|
|
58
|
+
__exportStar(require("./data/IApiContact"), exports);
|
|
59
|
+
__exportStar(require("./data/IApiCurrencyExchangeRate"), exports);
|
|
52
60
|
__exportStar(require("./data/IApiDataResponse"), exports);
|
|
53
61
|
__exportStar(require("./data/IApiDatumResponse"), exports);
|
|
54
|
-
__exportStar(require("./data/
|
|
55
|
-
__exportStar(require("./data/
|
|
62
|
+
__exportStar(require("./data/IApiDocument"), exports);
|
|
63
|
+
__exportStar(require("./data/IApiEmail"), exports);
|
|
56
64
|
__exportStar(require("./data/IApiEnumType"), exports);
|
|
57
65
|
__exportStar(require("./data/IApiEnumValue"), exports);
|
|
66
|
+
__exportStar(require("./data/IApiEnumValuesRelation"), exports);
|
|
58
67
|
__exportStar(require("./data/IApiFeature"), exports);
|
|
68
|
+
__exportStar(require("./data/IApiFeaturesLicenseBundle"), exports);
|
|
69
|
+
__exportStar(require("./data/IApiFlow"), exports);
|
|
59
70
|
__exportStar(require("./data/IApiGlobalSetting"), exports);
|
|
71
|
+
__exportStar(require("./data/IApiGoal"), exports);
|
|
72
|
+
__exportStar(require("./data/IApiGood"), exports);
|
|
73
|
+
__exportStar(require("./data/IApiGoodInCart"), exports);
|
|
60
74
|
__exportStar(require("./data/IApiGroup"), exports);
|
|
61
75
|
__exportStar(require("./data/IApiItemBase"), exports);
|
|
76
|
+
__exportStar(require("./data/IApiItemIdentifier"), exports);
|
|
62
77
|
__exportStar(require("./data/IApiItemUsageStatus"), exports);
|
|
78
|
+
__exportStar(require("./data/IApiJournal"), exports);
|
|
63
79
|
__exportStar(require("./data/IApiLead"), exports);
|
|
64
80
|
__exportStar(require("./data/IApiLicense"), exports);
|
|
65
81
|
__exportStar(require("./data/IApiLicenseBundleBase"), exports);
|
|
66
82
|
__exportStar(require("./data/IApiLocalizedLicenseBundle"), exports);
|
|
83
|
+
__exportStar(require("./data/IApiMarketingList"), exports);
|
|
67
84
|
__exportStar(require("./data/IApiModulePermission"), exports);
|
|
68
85
|
__exportStar(require("./data/IApiObjectType"), exports);
|
|
69
86
|
__exportStar(require("./data/IApiPasswordStrength"), exports);
|
|
87
|
+
__exportStar(require("./data/IApiPayment"), exports);
|
|
88
|
+
__exportStar(require("./data/IApiProject"), exports);
|
|
89
|
+
__exportStar(require("./data/IApiRecurrencePattern"), exports);
|
|
70
90
|
__exportStar(require("./data/IApiResult"), exports);
|
|
71
91
|
__exportStar(require("./data/IApiSaveResponse"), exports);
|
|
92
|
+
__exportStar(require("./data/IApiTask"), exports);
|
|
72
93
|
__exportStar(require("./data/IApiUser"), exports);
|
|
73
94
|
__exportStar(require("./data/IApiUserSetting"), exports);
|
|
95
|
+
__exportStar(require("./data/IApiWorkflowActionDerivedItem"), exports);
|
|
74
96
|
__exportStar(require("./data/IApiWorkflowModel"), exports);
|
|
97
|
+
__exportStar(require("./data/IApiWorkReport"), exports);
|
|
75
98
|
__exportStar(require("./data/query/IApiQuery"), exports);
|
|
76
99
|
__exportStar(require("./data/query/IApiQueryFilters"), exports);
|
|
77
100
|
__exportStar(require("./interfaces/ITranslatableString"), exports);
|