@eway-crm/connector 1.0.119 → 1.0.121
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/AnonymousSessionHandler.d.ts +5 -5
- package/lib/AnonymousSessionHandler.js +15 -15
- package/lib/ApiConnection.d.ts +66 -66
- package/lib/ApiConnection.js +321 -321
- package/lib/ApiMethods.d.ts +16 -16
- package/lib/ApiMethods.js +41 -42
- package/lib/CredentialsSessionHandler.d.ts +16 -16
- package/lib/CredentialsSessionHandler.js +60 -60
- package/lib/HttpMethod.d.ts +4 -4
- package/lib/HttpMethod.js +8 -8
- package/lib/ISessionHandler.d.ts +7 -7
- package/lib/ISessionHandler.js +2 -2
- package/lib/OAuthSessionHandler.d.ts +12 -12
- package/lib/OAuthSessionHandler.js +52 -52
- package/lib/OAuthSessionHandlerBase.d.ts +16 -16
- package/lib/OAuthSessionHandlerBase.js +78 -78
- package/lib/ReturnCodes.d.ts +9 -9
- package/lib/ReturnCodes.js +15 -16
- package/lib/axios/AxiosInstance.d.ts +2 -0
- package/lib/axios/AxiosInstance.js +5 -0
- package/lib/constants/ActionEventTypes.d.ts +9 -9
- package/lib/constants/ActionEventTypes.js +14 -14
- package/lib/constants/ColumnPermissionRules.d.ts +14 -14
- package/lib/constants/ColumnPermissionRules.js +22 -24
- package/lib/constants/CompletionLevels.d.ts +6 -6
- package/lib/constants/CompletionLevels.js +11 -11
- package/lib/constants/CustomizationStatsItemKeys.d.ts +11 -11
- package/lib/constants/CustomizationStatsItemKeys.js +17 -17
- package/lib/constants/Edition.d.ts +6 -6
- package/lib/constants/Edition.js +10 -10
- package/lib/constants/EnumTypes.d.ts +32 -32
- package/lib/constants/EnumTypes.js +38 -38
- package/lib/constants/ExpirationReason.d.ts +7 -7
- package/lib/constants/ExpirationReason.js +10 -10
- package/lib/constants/Feature.d.ts +6 -6
- package/lib/constants/Feature.js +10 -10
- package/lib/constants/FieldNames.d.ts +389 -389
- package/lib/constants/FieldNames.js +427 -427
- package/lib/constants/FieldTypes.d.ts +15 -15
- package/lib/constants/FieldTypes.js +20 -20
- package/lib/constants/FolderNames.d.ts +80 -80
- package/lib/constants/FolderNames.js +87 -88
- package/lib/constants/Functionality.d.ts +54 -54
- package/lib/constants/Functionality.js +60 -60
- package/lib/constants/GlobalSettingsNames.d.ts +71 -71
- package/lib/constants/GlobalSettingsNames.js +76 -76
- package/lib/constants/LicenseKeyInvoiceSeverity.d.ts +8 -8
- package/lib/constants/LicenseKeyInvoiceSeverity.js +11 -11
- package/lib/constants/LicenseRestrictionKeys.d.ts +62 -62
- package/lib/constants/LicenseRestrictionKeys.js +68 -68
- package/lib/constants/RelationTypes.d.ts +11 -11
- package/lib/constants/RelationTypes.js +16 -16
- package/lib/data/EWItem.d.ts +12 -12
- package/lib/data/EWItem.js +91 -91
- package/lib/data/IApiAdditionalField.d.ts +21 -21
- package/lib/data/IApiAdditionalField.js +2 -2
- package/lib/data/IApiAvailableBundle.d.ts +4 -4
- package/lib/data/IApiAvailableBundle.js +2 -2
- package/lib/data/IApiAvailableVersionResponse.d.ts +9 -9
- package/lib/data/IApiAvailableVersionResponse.js +2 -2
- package/lib/data/IApiBooleanResponse.d.ts +4 -4
- package/lib/data/IApiBooleanResponse.js +2 -2
- package/lib/data/IApiCapacityAvailableBundle.d.ts +5 -5
- package/lib/data/IApiCapacityAvailableBundle.js +2 -2
- package/lib/data/IApiCart.d.ts +48 -48
- package/lib/data/IApiCart.js +8 -8
- package/lib/data/IApiColumn.d.ts +51 -51
- package/lib/data/IApiColumn.js +2 -2
- package/lib/data/IApiColumnPermission.d.ts +15 -15
- package/lib/data/IApiColumnPermission.js +2 -2
- package/lib/data/IApiCompany.d.ts +55 -55
- package/lib/data/IApiCompany.js +8 -8
- package/lib/data/IApiContact.d.ts +58 -58
- package/lib/data/IApiContact.js +8 -8
- package/lib/data/IApiCurrencyExchangeRate.d.ts +9 -9
- package/lib/data/IApiCurrencyExchangeRate.js +8 -8
- package/lib/data/IApiCustomizationStatsItem.d.ts +6 -6
- package/lib/data/IApiCustomizationStatsItem.js +2 -2
- package/lib/data/IApiDataResponse.d.ts +4 -4
- package/lib/data/IApiDataResponse.js +2 -2
- package/lib/data/IApiDatumResponse.d.ts +4 -4
- package/lib/data/IApiDatumResponse.js +2 -2
- package/lib/data/IApiDocument.d.ts +22 -22
- package/lib/data/IApiDocument.js +8 -8
- package/lib/data/IApiEmail.d.ts +26 -26
- package/lib/data/IApiEmail.js +8 -8
- package/lib/data/IApiEnumType.d.ts +26 -26
- package/lib/data/IApiEnumType.js +9 -9
- package/lib/data/IApiEnumValue.d.ts +18 -18
- package/lib/data/IApiEnumValue.js +2 -2
- package/lib/data/IApiEnumValuesRelation.d.ts +8 -8
- package/lib/data/IApiEnumValuesRelation.js +8 -8
- package/lib/data/IApiFeature.d.ts +5 -5
- package/lib/data/IApiFeature.js +2 -2
- package/lib/data/IApiFeaturesLicenseBundle.d.ts +10 -10
- package/lib/data/IApiFeaturesLicenseBundle.js +2 -2
- package/lib/data/IApiFlow.d.ts +9 -9
- package/lib/data/IApiFlow.js +8 -8
- package/lib/data/IApiGlobalSetting.d.ts +33 -33
- package/lib/data/IApiGlobalSetting.js +2 -2
- package/lib/data/IApiGoal.d.ts +22 -22
- package/lib/data/IApiGoal.js +8 -8
- package/lib/data/IApiGood.d.ts +26 -26
- package/lib/data/IApiGood.js +8 -8
- package/lib/data/IApiGoodInCart.d.ts +62 -62
- package/lib/data/IApiGoodInCart.js +8 -8
- package/lib/data/IApiGroup.d.ts +16 -16
- package/lib/data/IApiGroup.js +2 -2
- package/lib/data/IApiItemBase.d.ts +14 -14
- package/lib/data/IApiItemBase.js +2 -2
- package/lib/data/IApiItemIdentifier.d.ts +5 -5
- package/lib/data/IApiItemIdentifier.js +2 -2
- package/lib/data/IApiItemUsageStatus.d.ts +4 -4
- package/lib/data/IApiItemUsageStatus.js +2 -2
- package/lib/data/IApiJournal.d.ts +25 -25
- package/lib/data/IApiJournal.js +8 -8
- package/lib/data/IApiLead.d.ts +36 -36
- package/lib/data/IApiLead.js +8 -8
- package/lib/data/IApiLicense.d.ts +65 -65
- package/lib/data/IApiLicense.js +2 -2
- package/lib/data/IApiLicenseBundleBase.d.ts +6 -6
- package/lib/data/IApiLicenseBundleBase.js +2 -2
- package/lib/data/IApiLocalizedLicenseBundle.d.ts +4 -4
- package/lib/data/IApiLocalizedLicenseBundle.js +2 -2
- package/lib/data/IApiLoginResponse.d.ts +8 -8
- package/lib/data/IApiLoginResponse.js +2 -2
- package/lib/data/IApiMarketingCampaign.d.ts +32 -32
- package/lib/data/IApiMarketingCampaign.js +8 -8
- package/lib/data/IApiMarketingList.d.ts +17 -17
- package/lib/data/IApiMarketingList.js +8 -8
- package/lib/data/IApiModulePermission.d.ts +14 -14
- package/lib/data/IApiModulePermission.js +2 -2
- package/lib/data/IApiObjectType.d.ts +9 -9
- package/lib/data/IApiObjectType.js +2 -2
- package/lib/data/IApiPasswordStrength.d.ts +5 -5
- package/lib/data/IApiPasswordStrength.js +2 -2
- package/lib/data/IApiPayment.d.ts +9 -9
- package/lib/data/IApiPayment.js +8 -8
- package/lib/data/IApiProject.d.ts +59 -59
- package/lib/data/IApiProject.js +8 -8
- package/lib/data/IApiRecurrencePattern.d.ts +16 -16
- package/lib/data/IApiRecurrencePattern.js +8 -8
- package/lib/data/IApiResult.d.ts +4 -4
- package/lib/data/IApiResult.js +2 -2
- package/lib/data/IApiSaveResponse.d.ts +4 -4
- package/lib/data/IApiSaveResponse.js +2 -2
- package/lib/data/IApiTask.d.ts +34 -34
- package/lib/data/IApiTask.js +8 -8
- package/lib/data/IApiUser.d.ts +22 -22
- package/lib/data/IApiUser.js +2 -2
- package/lib/data/IApiUserSetting.d.ts +6 -6
- package/lib/data/IApiUserSetting.js +2 -2
- package/lib/data/IApiWebServiceTaskStatus.d.ts +10 -10
- package/lib/data/IApiWebServiceTaskStatus.js +2 -2
- package/lib/data/IApiWorkReport.d.ts +36 -36
- package/lib/data/IApiWorkReport.js +8 -8
- package/lib/data/IApiWorkflowActionDerivedItem.d.ts +21 -21
- package/lib/data/IApiWorkflowActionDerivedItem.js +2 -2
- package/lib/data/IApiWorkflowModel.d.ts +8 -8
- package/lib/data/IApiWorkflowModel.js +2 -2
- package/lib/data/query/IApiQuery.d.ts +42 -42
- package/lib/data/query/IApiQuery.js +2 -2
- package/lib/data/query/IApiQueryFilters.d.ts +43 -43
- package/lib/data/query/IApiQueryFilters.js +2 -2
- package/lib/data/workflowActions/IApiAction.d.ts +106 -106
- package/lib/data/workflowActions/IApiAction.js +2 -2
- package/lib/exceptions/HttpRequestError.d.ts +7 -7
- package/lib/exceptions/HttpRequestError.js +29 -29
- package/lib/exceptions/WebServiceError.d.ts +5 -5
- package/lib/exceptions/WebServiceError.js +29 -29
- package/lib/helpers/ErrorHelper.d.ts +4 -4
- package/lib/helpers/ErrorHelper.js +21 -21
- package/lib/helpers/OAuthHelper.d.ts +8 -8
- package/lib/helpers/OAuthHelper.js +57 -60
- package/lib/helpers/VersionHelperBase.d.ts +5 -5
- package/lib/helpers/VersionHelperBase.js +21 -21
- package/lib/index.d.ts +85 -85
- package/lib/index.js +124 -124
- package/lib/interfaces/IEWJwtPayload.d.ts +4 -4
- package/lib/interfaces/IEWJwtPayload.js +2 -2
- package/lib/interfaces/IItemPreview.d.ts +5 -5
- package/lib/interfaces/IItemPreview.js +2 -2
- package/lib/interfaces/ITokenData.d.ts +9 -9
- package/lib/interfaces/ITokenData.js +2 -2
- package/lib/interfaces/ITranslatableString.d.ts +8 -8
- package/lib/interfaces/ITranslatableString.js +2 -2
- package/lib/interfaces/TNumericValidatorType.d.ts +1 -1
- package/lib/interfaces/TNumericValidatorType.js +2 -2
- package/lib/tokenizedServices/CommonDataConnection.d.ts +9 -9
- package/lib/tokenizedServices/CommonDataConnection.js +22 -22
- package/lib/tokenizedServices/ITokenizedApiResult.d.ts +4 -4
- package/lib/tokenizedServices/ITokenizedApiResult.js +2 -2
- package/lib/tokenizedServices/TokenizedServiceConnection.d.ts +25 -25
- package/lib/tokenizedServices/TokenizedServiceConnection.js +130 -130
- package/package.json +10 -10
|
@@ -1,60 +1,57 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OAuthHelper = void 0;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var OAuthHelper = /** @class */ (function () {
|
|
8
|
-
function OAuthHelper() {
|
|
9
|
-
}
|
|
10
|
-
OAuthHelper.finishAuthorization = function (wsUrl, clientId, clientSecret, codeVerifier, authorizationCode, redirectUrl, callback) {
|
|
11
|
-
var params = new URLSearchParams();
|
|
12
|
-
params.append('code_verifier', codeVerifier);
|
|
13
|
-
params.append('client_id', clientId);
|
|
14
|
-
params.append('client_secret', clientSecret);
|
|
15
|
-
params.append('code', authorizationCode);
|
|
16
|
-
params.append('redirect_uri', redirectUrl);
|
|
17
|
-
params.append('grant_type', 'authorization_code');
|
|
18
|
-
OAuthHelper.callTokenEndpoint(wsUrl, params, callback);
|
|
19
|
-
};
|
|
20
|
-
OAuthHelper.refreshToken = function (wsUrl, clientId, clientSecret, refreshToken, callback) {
|
|
21
|
-
var params = new URLSearchParams();
|
|
22
|
-
params.append('client_id', clientId);
|
|
23
|
-
params.append('client_secret', clientSecret);
|
|
24
|
-
params.append('refresh_token', refreshToken);
|
|
25
|
-
params.append('grant_type', 'refresh_token');
|
|
26
|
-
OAuthHelper.callTokenEndpoint(wsUrl, params, callback);
|
|
27
|
-
};
|
|
28
|
-
OAuthHelper.getWebServiceUrl = function (refreshToken) {
|
|
29
|
-
var parts = refreshToken.split('.');
|
|
30
|
-
if (parts.length !== 2) {
|
|
31
|
-
throw new Error('Invalid token supplied');
|
|
32
|
-
}
|
|
33
|
-
return base64url.decode(parts[1]);
|
|
34
|
-
};
|
|
35
|
-
OAuthHelper.getUserName = function (accessToken) {
|
|
36
|
-
var parts = (0, jwt_decode_1.default)(accessToken);
|
|
37
|
-
return parts.username;
|
|
38
|
-
};
|
|
39
|
-
OAuthHelper.callTokenEndpoint = function (wsUrl, params, callback) {
|
|
40
|
-
|
|
41
|
-
headers: {
|
|
42
|
-
'Content-Type': 'application/x-www-form-urlencoded'
|
|
43
|
-
}
|
|
44
|
-
})
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return OAuthHelper;
|
|
59
|
-
}());
|
|
60
|
-
exports.OAuthHelper = OAuthHelper;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OAuthHelper = void 0;
|
|
4
|
+
var base64url = require("universal-base64url");
|
|
5
|
+
var jwt_decode_1 = require("jwt-decode");
|
|
6
|
+
var AxiosInstance_1 = require("../axios/AxiosInstance");
|
|
7
|
+
var OAuthHelper = exports.OAuthHelper = /** @class */ (function () {
|
|
8
|
+
function OAuthHelper() {
|
|
9
|
+
}
|
|
10
|
+
OAuthHelper.finishAuthorization = function (wsUrl, clientId, clientSecret, codeVerifier, authorizationCode, redirectUrl, callback) {
|
|
11
|
+
var params = new URLSearchParams();
|
|
12
|
+
params.append('code_verifier', codeVerifier);
|
|
13
|
+
params.append('client_id', clientId);
|
|
14
|
+
params.append('client_secret', clientSecret);
|
|
15
|
+
params.append('code', authorizationCode);
|
|
16
|
+
params.append('redirect_uri', redirectUrl);
|
|
17
|
+
params.append('grant_type', 'authorization_code');
|
|
18
|
+
OAuthHelper.callTokenEndpoint(wsUrl, params, callback);
|
|
19
|
+
};
|
|
20
|
+
OAuthHelper.refreshToken = function (wsUrl, clientId, clientSecret, refreshToken, callback) {
|
|
21
|
+
var params = new URLSearchParams();
|
|
22
|
+
params.append('client_id', clientId);
|
|
23
|
+
params.append('client_secret', clientSecret);
|
|
24
|
+
params.append('refresh_token', refreshToken);
|
|
25
|
+
params.append('grant_type', 'refresh_token');
|
|
26
|
+
OAuthHelper.callTokenEndpoint(wsUrl, params, callback);
|
|
27
|
+
};
|
|
28
|
+
OAuthHelper.getWebServiceUrl = function (refreshToken) {
|
|
29
|
+
var parts = refreshToken.split('.');
|
|
30
|
+
if (parts.length !== 2) {
|
|
31
|
+
throw new Error('Invalid token supplied');
|
|
32
|
+
}
|
|
33
|
+
return base64url.decode(parts[1]);
|
|
34
|
+
};
|
|
35
|
+
OAuthHelper.getUserName = function (accessToken) {
|
|
36
|
+
var parts = (0, jwt_decode_1.default)(accessToken);
|
|
37
|
+
return parts.username;
|
|
38
|
+
};
|
|
39
|
+
OAuthHelper.callTokenEndpoint = function (wsUrl, params, callback) {
|
|
40
|
+
AxiosInstance_1.default.post(wsUrl + '/auth/connect/token', params, {
|
|
41
|
+
headers: {
|
|
42
|
+
'Content-Type': 'application/x-www-form-urlencoded'
|
|
43
|
+
}
|
|
44
|
+
}).then(function (response) {
|
|
45
|
+
callback(response.data);
|
|
46
|
+
}).catch(function (error) {
|
|
47
|
+
if (error.response) {
|
|
48
|
+
if (error.response.status == 400) {
|
|
49
|
+
callback(error.response.data);
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
throw new Error('Token request failed');
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
return OAuthHelper;
|
|
57
|
+
}());
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ApiConnection } from "../ApiConnection";
|
|
2
|
-
export default class VersionHelperBase {
|
|
3
|
-
protected static readonly getIsDebug: (connection?: ApiConnection | null) => boolean;
|
|
4
|
-
protected static readonly supportsFeaturesOf: (connection: ApiConnection, version: string) => boolean;
|
|
5
|
-
}
|
|
1
|
+
import { ApiConnection } from "../ApiConnection";
|
|
2
|
+
export default class VersionHelperBase {
|
|
3
|
+
protected static readonly getIsDebug: (connection?: ApiConnection | null) => boolean;
|
|
4
|
+
protected static readonly supportsFeaturesOf: (connection: ApiConnection, version: string) => boolean;
|
|
5
|
+
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
var compare_versions_1 = require("compare-versions");
|
|
4
|
-
var VersionHelperBase = /** @class */ (function () {
|
|
5
|
-
function VersionHelperBase() {
|
|
6
|
-
}
|
|
7
|
-
VersionHelperBase.getIsDebug = function (connection) {
|
|
8
|
-
var _a;
|
|
9
|
-
return !!((_a = connection === null || connection === void 0 ? void 0 : connection.sessionHandler.lastSuccessfulLoginResponse) === null || _a === void 0 ? void 0 : _a.Debug);
|
|
10
|
-
};
|
|
11
|
-
VersionHelperBase.supportsFeaturesOf = function (connection, version) {
|
|
12
|
-
var _a;
|
|
13
|
-
var wcfVersion = (_a = connection.sessionHandler.lastSuccessfulLoginResponse) === null || _a === void 0 ? void 0 : _a.WcfVersion;
|
|
14
|
-
if (!wcfVersion) {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
return (0, compare_versions_1.compare)(wcfVersion, version, ">=") || (0, compare_versions_1.compare)(wcfVersion, "1.0.0.0", "=");
|
|
18
|
-
};
|
|
19
|
-
return VersionHelperBase;
|
|
20
|
-
}());
|
|
21
|
-
exports.default = VersionHelperBase;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var compare_versions_1 = require("compare-versions");
|
|
4
|
+
var VersionHelperBase = /** @class */ (function () {
|
|
5
|
+
function VersionHelperBase() {
|
|
6
|
+
}
|
|
7
|
+
VersionHelperBase.getIsDebug = function (connection) {
|
|
8
|
+
var _a;
|
|
9
|
+
return !!((_a = connection === null || connection === void 0 ? void 0 : connection.sessionHandler.lastSuccessfulLoginResponse) === null || _a === void 0 ? void 0 : _a.Debug);
|
|
10
|
+
};
|
|
11
|
+
VersionHelperBase.supportsFeaturesOf = function (connection, version) {
|
|
12
|
+
var _a;
|
|
13
|
+
var wcfVersion = (_a = connection.sessionHandler.lastSuccessfulLoginResponse) === null || _a === void 0 ? void 0 : _a.WcfVersion;
|
|
14
|
+
if (!wcfVersion) {
|
|
15
|
+
return false;
|
|
16
|
+
}
|
|
17
|
+
return (0, compare_versions_1.compare)(wcfVersion, version, ">=") || (0, compare_versions_1.compare)(wcfVersion, "1.0.0.0", "=");
|
|
18
|
+
};
|
|
19
|
+
return VersionHelperBase;
|
|
20
|
+
}());
|
|
21
|
+
exports.default = VersionHelperBase;
|
package/lib/index.d.ts
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
import { ApiConnection } from './ApiConnection';
|
|
2
|
-
import { HttpMethod } from './HttpMethod';
|
|
3
|
-
import { ISessionHandler } from './ISessionHandler';
|
|
4
|
-
import { ReturnCodes } from './ReturnCodes';
|
|
5
|
-
import { ITokenizedApiResult } from './tokenizedServices/ITokenizedApiResult';
|
|
6
|
-
import { TokenizedServiceConnection } from './tokenizedServices/TokenizedServiceConnection';
|
|
7
|
-
import { CommonDataConnection } from './tokenizedServices/CommonDataConnection';
|
|
8
|
-
import { ApiMethods } from './ApiMethods';
|
|
9
|
-
import GlobalSettingsNames from './constants/GlobalSettingsNames';
|
|
10
|
-
import FieldNames from './constants/FieldNames';
|
|
11
|
-
import { FolderNames, TFolderName } from './constants/FolderNames';
|
|
12
|
-
import { OAuthHelper } from './helpers/OAuthHelper';
|
|
13
|
-
import { HttpRequestError, TUnionError } from './exceptions/HttpRequestError';
|
|
14
|
-
import { TInputData } from './interfaces/ITokenData';
|
|
15
|
-
import EnumTypes from './constants/EnumTypes';
|
|
16
|
-
import RelationTypes from './constants/RelationTypes';
|
|
17
|
-
import { ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules } from './constants/ColumnPermissionRules';
|
|
18
|
-
import { Edition } from './constants/Edition';
|
|
19
|
-
import { Feature } from './constants/Feature';
|
|
20
|
-
import Functionality from './constants/Functionality';
|
|
21
|
-
import CustomizationStatsItemKeys from './constants/CustomizationStatsItemKeys';
|
|
22
|
-
import LicenseRestrictionKeys from './constants/LicenseRestrictionKeys';
|
|
23
|
-
import ExpirationReason from './constants/ExpirationReason';
|
|
24
|
-
import LicenseKeyInvoiceSeverity from './constants/LicenseKeyInvoiceSeverity';
|
|
25
|
-
import ErrorHelper from './helpers/ErrorHelper';
|
|
26
|
-
import VersionHelperBase from './helpers/VersionHelperBase';
|
|
27
|
-
import { OAuthSessionHandlerBase } from './OAuthSessionHandlerBase';
|
|
28
|
-
export default ApiConnection;
|
|
29
|
-
export * from './data/EWItem';
|
|
30
|
-
export * from './data/IApiAdditionalField';
|
|
31
|
-
export * from './data/IApiAvailableBundle';
|
|
32
|
-
export * from './data/IApiAvailableVersionResponse';
|
|
33
|
-
export * from './data/IApiCapacityAvailableBundle';
|
|
34
|
-
export * from './data/IApiCart';
|
|
35
|
-
export * from './data/IApiColumn';
|
|
36
|
-
export * from './data/IApiColumnPermission';
|
|
37
|
-
export * from './data/IApiCompany';
|
|
38
|
-
export * from './data/IApiContact';
|
|
39
|
-
export * from './data/IApiCustomizationStatsItem';
|
|
40
|
-
export * from './data/IApiCurrencyExchangeRate';
|
|
41
|
-
export * from './data/IApiBooleanResponse';
|
|
42
|
-
export * from './data/IApiDataResponse';
|
|
43
|
-
export * from './data/IApiDatumResponse';
|
|
44
|
-
export * from './data/IApiDocument';
|
|
45
|
-
export * from './data/IApiEmail';
|
|
46
|
-
export * from './data/IApiEnumType';
|
|
47
|
-
export * from './data/IApiEnumValue';
|
|
48
|
-
export * from './data/IApiEnumValuesRelation';
|
|
49
|
-
export * from './data/IApiFeature';
|
|
50
|
-
export * from './data/IApiFeaturesLicenseBundle';
|
|
51
|
-
export * from './data/IApiFlow';
|
|
52
|
-
export * from './data/IApiGlobalSetting';
|
|
53
|
-
export * from './data/IApiGoal';
|
|
54
|
-
export * from './data/IApiGood';
|
|
55
|
-
export * from './data/IApiGoodInCart';
|
|
56
|
-
export * from './data/IApiGroup';
|
|
57
|
-
export * from './data/IApiItemBase';
|
|
58
|
-
export * from './data/IApiItemIdentifier';
|
|
59
|
-
export * from './data/IApiItemUsageStatus';
|
|
60
|
-
export * from './data/IApiJournal';
|
|
61
|
-
export * from './data/IApiLead';
|
|
62
|
-
export * from './data/IApiLicense';
|
|
63
|
-
export * from './data/IApiLicenseBundleBase';
|
|
64
|
-
export * from './data/IApiLocalizedLicenseBundle';
|
|
65
|
-
export * from './data/IApiLoginResponse';
|
|
66
|
-
export * from './data/IApiMarketingList';
|
|
67
|
-
export * from './data/IApiModulePermission';
|
|
68
|
-
export * from './data/IApiObjectType';
|
|
69
|
-
export * from './data/IApiPasswordStrength';
|
|
70
|
-
export * from './data/IApiPayment';
|
|
71
|
-
export * from './data/IApiProject';
|
|
72
|
-
export * from './data/IApiRecurrencePattern';
|
|
73
|
-
export * from './data/IApiResult';
|
|
74
|
-
export * from './data/IApiSaveResponse';
|
|
75
|
-
export * from './data/IApiTask';
|
|
76
|
-
export * from './data/IApiUser';
|
|
77
|
-
export * from './data/IApiUserSetting';
|
|
78
|
-
export * from './data/IApiWebServiceTaskStatus';
|
|
79
|
-
export * from './data/IApiWorkflowActionDerivedItem';
|
|
80
|
-
export * from './data/IApiWorkflowModel';
|
|
81
|
-
export * from './data/IApiWorkReport';
|
|
82
|
-
export * from './data/query/IApiQuery';
|
|
83
|
-
export * from './data/query/IApiQueryFilters';
|
|
84
|
-
export * from './interfaces/ITranslatableString';
|
|
85
|
-
export { HttpMethod, ISessionHandler, ReturnCodes, ITokenizedApiResult, TokenizedServiceConnection, CommonDataConnection, ApiMethods, GlobalSettingsNames, FolderNames, TFolderName, OAuthHelper, HttpRequestError, TUnionError, TInputData, FieldNames, EnumTypes, RelationTypes, ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules, Edition, Feature, Functionality, CustomizationStatsItemKeys, LicenseRestrictionKeys, ExpirationReason, LicenseKeyInvoiceSeverity, ErrorHelper, VersionHelperBase, OAuthSessionHandlerBase };
|
|
1
|
+
import { ApiConnection } from './ApiConnection';
|
|
2
|
+
import { HttpMethod } from './HttpMethod';
|
|
3
|
+
import { ISessionHandler } from './ISessionHandler';
|
|
4
|
+
import { ReturnCodes } from './ReturnCodes';
|
|
5
|
+
import { ITokenizedApiResult } from './tokenizedServices/ITokenizedApiResult';
|
|
6
|
+
import { TokenizedServiceConnection } from './tokenizedServices/TokenizedServiceConnection';
|
|
7
|
+
import { CommonDataConnection } from './tokenizedServices/CommonDataConnection';
|
|
8
|
+
import { ApiMethods } from './ApiMethods';
|
|
9
|
+
import GlobalSettingsNames from './constants/GlobalSettingsNames';
|
|
10
|
+
import FieldNames from './constants/FieldNames';
|
|
11
|
+
import { FolderNames, TFolderName } from './constants/FolderNames';
|
|
12
|
+
import { OAuthHelper } from './helpers/OAuthHelper';
|
|
13
|
+
import { HttpRequestError, TUnionError } from './exceptions/HttpRequestError';
|
|
14
|
+
import { TInputData } from './interfaces/ITokenData';
|
|
15
|
+
import EnumTypes from './constants/EnumTypes';
|
|
16
|
+
import RelationTypes from './constants/RelationTypes';
|
|
17
|
+
import { ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules } from './constants/ColumnPermissionRules';
|
|
18
|
+
import { Edition } from './constants/Edition';
|
|
19
|
+
import { Feature } from './constants/Feature';
|
|
20
|
+
import Functionality from './constants/Functionality';
|
|
21
|
+
import CustomizationStatsItemKeys from './constants/CustomizationStatsItemKeys';
|
|
22
|
+
import LicenseRestrictionKeys from './constants/LicenseRestrictionKeys';
|
|
23
|
+
import ExpirationReason from './constants/ExpirationReason';
|
|
24
|
+
import LicenseKeyInvoiceSeverity from './constants/LicenseKeyInvoiceSeverity';
|
|
25
|
+
import ErrorHelper from './helpers/ErrorHelper';
|
|
26
|
+
import VersionHelperBase from './helpers/VersionHelperBase';
|
|
27
|
+
import { OAuthSessionHandlerBase } from './OAuthSessionHandlerBase';
|
|
28
|
+
export default ApiConnection;
|
|
29
|
+
export * from './data/EWItem';
|
|
30
|
+
export * from './data/IApiAdditionalField';
|
|
31
|
+
export * from './data/IApiAvailableBundle';
|
|
32
|
+
export * from './data/IApiAvailableVersionResponse';
|
|
33
|
+
export * from './data/IApiCapacityAvailableBundle';
|
|
34
|
+
export * from './data/IApiCart';
|
|
35
|
+
export * from './data/IApiColumn';
|
|
36
|
+
export * from './data/IApiColumnPermission';
|
|
37
|
+
export * from './data/IApiCompany';
|
|
38
|
+
export * from './data/IApiContact';
|
|
39
|
+
export * from './data/IApiCustomizationStatsItem';
|
|
40
|
+
export * from './data/IApiCurrencyExchangeRate';
|
|
41
|
+
export * from './data/IApiBooleanResponse';
|
|
42
|
+
export * from './data/IApiDataResponse';
|
|
43
|
+
export * from './data/IApiDatumResponse';
|
|
44
|
+
export * from './data/IApiDocument';
|
|
45
|
+
export * from './data/IApiEmail';
|
|
46
|
+
export * from './data/IApiEnumType';
|
|
47
|
+
export * from './data/IApiEnumValue';
|
|
48
|
+
export * from './data/IApiEnumValuesRelation';
|
|
49
|
+
export * from './data/IApiFeature';
|
|
50
|
+
export * from './data/IApiFeaturesLicenseBundle';
|
|
51
|
+
export * from './data/IApiFlow';
|
|
52
|
+
export * from './data/IApiGlobalSetting';
|
|
53
|
+
export * from './data/IApiGoal';
|
|
54
|
+
export * from './data/IApiGood';
|
|
55
|
+
export * from './data/IApiGoodInCart';
|
|
56
|
+
export * from './data/IApiGroup';
|
|
57
|
+
export * from './data/IApiItemBase';
|
|
58
|
+
export * from './data/IApiItemIdentifier';
|
|
59
|
+
export * from './data/IApiItemUsageStatus';
|
|
60
|
+
export * from './data/IApiJournal';
|
|
61
|
+
export * from './data/IApiLead';
|
|
62
|
+
export * from './data/IApiLicense';
|
|
63
|
+
export * from './data/IApiLicenseBundleBase';
|
|
64
|
+
export * from './data/IApiLocalizedLicenseBundle';
|
|
65
|
+
export * from './data/IApiLoginResponse';
|
|
66
|
+
export * from './data/IApiMarketingList';
|
|
67
|
+
export * from './data/IApiModulePermission';
|
|
68
|
+
export * from './data/IApiObjectType';
|
|
69
|
+
export * from './data/IApiPasswordStrength';
|
|
70
|
+
export * from './data/IApiPayment';
|
|
71
|
+
export * from './data/IApiProject';
|
|
72
|
+
export * from './data/IApiRecurrencePattern';
|
|
73
|
+
export * from './data/IApiResult';
|
|
74
|
+
export * from './data/IApiSaveResponse';
|
|
75
|
+
export * from './data/IApiTask';
|
|
76
|
+
export * from './data/IApiUser';
|
|
77
|
+
export * from './data/IApiUserSetting';
|
|
78
|
+
export * from './data/IApiWebServiceTaskStatus';
|
|
79
|
+
export * from './data/IApiWorkflowActionDerivedItem';
|
|
80
|
+
export * from './data/IApiWorkflowModel';
|
|
81
|
+
export * from './data/IApiWorkReport';
|
|
82
|
+
export * from './data/query/IApiQuery';
|
|
83
|
+
export * from './data/query/IApiQueryFilters';
|
|
84
|
+
export * from './interfaces/ITranslatableString';
|
|
85
|
+
export { HttpMethod, ISessionHandler, ReturnCodes, ITokenizedApiResult, TokenizedServiceConnection, CommonDataConnection, ApiMethods, GlobalSettingsNames, FolderNames, TFolderName, OAuthHelper, HttpRequestError, TUnionError, TInputData, FieldNames, EnumTypes, RelationTypes, ColumnPermissionPermissionRules, ColumnPermissionMandatoryRules, Edition, Feature, Functionality, CustomizationStatsItemKeys, LicenseRestrictionKeys, ExpirationReason, LicenseKeyInvoiceSeverity, ErrorHelper, VersionHelperBase, OAuthSessionHandlerBase };
|
package/lib/index.js
CHANGED
|
@@ -1,124 +1,124 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.OAuthSessionHandlerBase = exports.VersionHelperBase = exports.ErrorHelper = exports.LicenseKeyInvoiceSeverity = exports.ExpirationReason = exports.LicenseRestrictionKeys = exports.CustomizationStatsItemKeys = exports.Functionality = 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;
|
|
18
|
-
var Promise = require("es6-promise");
|
|
19
|
-
var ApiConnection_1 = require("./ApiConnection");
|
|
20
|
-
var HttpMethod_1 = require("./HttpMethod");
|
|
21
|
-
Object.defineProperty(exports, "HttpMethod", { enumerable: true, get: function () { return HttpMethod_1.HttpMethod; } });
|
|
22
|
-
var ReturnCodes_1 = require("./ReturnCodes");
|
|
23
|
-
Object.defineProperty(exports, "ReturnCodes", { enumerable: true, get: function () { return ReturnCodes_1.ReturnCodes; } });
|
|
24
|
-
var TokenizedServiceConnection_1 = require("./tokenizedServices/TokenizedServiceConnection");
|
|
25
|
-
Object.defineProperty(exports, "TokenizedServiceConnection", { enumerable: true, get: function () { return TokenizedServiceConnection_1.TokenizedServiceConnection; } });
|
|
26
|
-
var CommonDataConnection_1 = require("./tokenizedServices/CommonDataConnection");
|
|
27
|
-
Object.defineProperty(exports, "CommonDataConnection", { enumerable: true, get: function () { return CommonDataConnection_1.CommonDataConnection; } });
|
|
28
|
-
var ApiMethods_1 = require("./ApiMethods");
|
|
29
|
-
Object.defineProperty(exports, "ApiMethods", { enumerable: true, get: function () { return ApiMethods_1.ApiMethods; } });
|
|
30
|
-
var GlobalSettingsNames_1 = require("./constants/GlobalSettingsNames");
|
|
31
|
-
exports.GlobalSettingsNames = GlobalSettingsNames_1.default;
|
|
32
|
-
var FieldNames_1 = require("./constants/FieldNames");
|
|
33
|
-
exports.FieldNames = FieldNames_1.default;
|
|
34
|
-
var FolderNames_1 = require("./constants/FolderNames");
|
|
35
|
-
Object.defineProperty(exports, "FolderNames", { enumerable: true, get: function () { return FolderNames_1.FolderNames; } });
|
|
36
|
-
var OAuthHelper_1 = require("./helpers/OAuthHelper");
|
|
37
|
-
Object.defineProperty(exports, "OAuthHelper", { enumerable: true, get: function () { return OAuthHelper_1.OAuthHelper; } });
|
|
38
|
-
var HttpRequestError_1 = require("./exceptions/HttpRequestError");
|
|
39
|
-
Object.defineProperty(exports, "HttpRequestError", { enumerable: true, get: function () { return HttpRequestError_1.HttpRequestError; } });
|
|
40
|
-
var EnumTypes_1 = require("./constants/EnumTypes");
|
|
41
|
-
exports.EnumTypes = EnumTypes_1.default;
|
|
42
|
-
var RelationTypes_1 = require("./constants/RelationTypes");
|
|
43
|
-
exports.RelationTypes = RelationTypes_1.default;
|
|
44
|
-
var ColumnPermissionRules_1 = require("./constants/ColumnPermissionRules");
|
|
45
|
-
Object.defineProperty(exports, "ColumnPermissionPermissionRules", { enumerable: true, get: function () { return ColumnPermissionRules_1.ColumnPermissionPermissionRules; } });
|
|
46
|
-
Object.defineProperty(exports, "ColumnPermissionMandatoryRules", { enumerable: true, get: function () { return ColumnPermissionRules_1.ColumnPermissionMandatoryRules; } });
|
|
47
|
-
var Edition_1 = require("./constants/Edition");
|
|
48
|
-
Object.defineProperty(exports, "Edition", { enumerable: true, get: function () { return Edition_1.Edition; } });
|
|
49
|
-
var Feature_1 = require("./constants/Feature");
|
|
50
|
-
Object.defineProperty(exports, "Feature", { enumerable: true, get: function () { return Feature_1.Feature; } });
|
|
51
|
-
var Functionality_1 = require("./constants/Functionality");
|
|
52
|
-
exports.Functionality = Functionality_1.default;
|
|
53
|
-
var CustomizationStatsItemKeys_1 = require("./constants/CustomizationStatsItemKeys");
|
|
54
|
-
exports.CustomizationStatsItemKeys = CustomizationStatsItemKeys_1.default;
|
|
55
|
-
var LicenseRestrictionKeys_1 = require("./constants/LicenseRestrictionKeys");
|
|
56
|
-
exports.LicenseRestrictionKeys = LicenseRestrictionKeys_1.default;
|
|
57
|
-
var ExpirationReason_1 = require("./constants/ExpirationReason");
|
|
58
|
-
exports.ExpirationReason = ExpirationReason_1.default;
|
|
59
|
-
var LicenseKeyInvoiceSeverity_1 = require("./constants/LicenseKeyInvoiceSeverity");
|
|
60
|
-
exports.LicenseKeyInvoiceSeverity = LicenseKeyInvoiceSeverity_1.default;
|
|
61
|
-
var ErrorHelper_1 = require("./helpers/ErrorHelper");
|
|
62
|
-
exports.ErrorHelper = ErrorHelper_1.default;
|
|
63
|
-
var VersionHelperBase_1 = require("./helpers/VersionHelperBase");
|
|
64
|
-
exports.VersionHelperBase = VersionHelperBase_1.default;
|
|
65
|
-
var OAuthSessionHandlerBase_1 = require("./OAuthSessionHandlerBase");
|
|
66
|
-
Object.defineProperty(exports, "OAuthSessionHandlerBase", { enumerable: true, get: function () { return OAuthSessionHandlerBase_1.OAuthSessionHandlerBase; } });
|
|
67
|
-
Promise.polyfill();
|
|
68
|
-
exports.default = ApiConnection_1.ApiConnection;
|
|
69
|
-
__exportStar(require("./data/EWItem"), exports);
|
|
70
|
-
__exportStar(require("./data/IApiAdditionalField"), exports);
|
|
71
|
-
__exportStar(require("./data/IApiAvailableBundle"), exports);
|
|
72
|
-
__exportStar(require("./data/IApiAvailableVersionResponse"), exports);
|
|
73
|
-
__exportStar(require("./data/IApiCapacityAvailableBundle"), exports);
|
|
74
|
-
__exportStar(require("./data/IApiCart"), exports);
|
|
75
|
-
__exportStar(require("./data/IApiColumn"), exports);
|
|
76
|
-
__exportStar(require("./data/IApiColumnPermission"), exports);
|
|
77
|
-
__exportStar(require("./data/IApiCompany"), exports);
|
|
78
|
-
__exportStar(require("./data/IApiContact"), exports);
|
|
79
|
-
__exportStar(require("./data/IApiCustomizationStatsItem"), exports);
|
|
80
|
-
__exportStar(require("./data/IApiCurrencyExchangeRate"), exports);
|
|
81
|
-
__exportStar(require("./data/IApiBooleanResponse"), exports);
|
|
82
|
-
__exportStar(require("./data/IApiDataResponse"), exports);
|
|
83
|
-
__exportStar(require("./data/IApiDatumResponse"), exports);
|
|
84
|
-
__exportStar(require("./data/IApiDocument"), exports);
|
|
85
|
-
__exportStar(require("./data/IApiEmail"), exports);
|
|
86
|
-
__exportStar(require("./data/IApiEnumType"), exports);
|
|
87
|
-
__exportStar(require("./data/IApiEnumValue"), exports);
|
|
88
|
-
__exportStar(require("./data/IApiEnumValuesRelation"), exports);
|
|
89
|
-
__exportStar(require("./data/IApiFeature"), exports);
|
|
90
|
-
__exportStar(require("./data/IApiFeaturesLicenseBundle"), exports);
|
|
91
|
-
__exportStar(require("./data/IApiFlow"), exports);
|
|
92
|
-
__exportStar(require("./data/IApiGlobalSetting"), exports);
|
|
93
|
-
__exportStar(require("./data/IApiGoal"), exports);
|
|
94
|
-
__exportStar(require("./data/IApiGood"), exports);
|
|
95
|
-
__exportStar(require("./data/IApiGoodInCart"), exports);
|
|
96
|
-
__exportStar(require("./data/IApiGroup"), exports);
|
|
97
|
-
__exportStar(require("./data/IApiItemBase"), exports);
|
|
98
|
-
__exportStar(require("./data/IApiItemIdentifier"), exports);
|
|
99
|
-
__exportStar(require("./data/IApiItemUsageStatus"), exports);
|
|
100
|
-
__exportStar(require("./data/IApiJournal"), exports);
|
|
101
|
-
__exportStar(require("./data/IApiLead"), exports);
|
|
102
|
-
__exportStar(require("./data/IApiLicense"), exports);
|
|
103
|
-
__exportStar(require("./data/IApiLicenseBundleBase"), exports);
|
|
104
|
-
__exportStar(require("./data/IApiLocalizedLicenseBundle"), exports);
|
|
105
|
-
__exportStar(require("./data/IApiLoginResponse"), exports);
|
|
106
|
-
__exportStar(require("./data/IApiMarketingList"), exports);
|
|
107
|
-
__exportStar(require("./data/IApiModulePermission"), exports);
|
|
108
|
-
__exportStar(require("./data/IApiObjectType"), exports);
|
|
109
|
-
__exportStar(require("./data/IApiPasswordStrength"), exports);
|
|
110
|
-
__exportStar(require("./data/IApiPayment"), exports);
|
|
111
|
-
__exportStar(require("./data/IApiProject"), exports);
|
|
112
|
-
__exportStar(require("./data/IApiRecurrencePattern"), exports);
|
|
113
|
-
__exportStar(require("./data/IApiResult"), exports);
|
|
114
|
-
__exportStar(require("./data/IApiSaveResponse"), exports);
|
|
115
|
-
__exportStar(require("./data/IApiTask"), exports);
|
|
116
|
-
__exportStar(require("./data/IApiUser"), exports);
|
|
117
|
-
__exportStar(require("./data/IApiUserSetting"), exports);
|
|
118
|
-
__exportStar(require("./data/IApiWebServiceTaskStatus"), exports);
|
|
119
|
-
__exportStar(require("./data/IApiWorkflowActionDerivedItem"), exports);
|
|
120
|
-
__exportStar(require("./data/IApiWorkflowModel"), exports);
|
|
121
|
-
__exportStar(require("./data/IApiWorkReport"), exports);
|
|
122
|
-
__exportStar(require("./data/query/IApiQuery"), exports);
|
|
123
|
-
__exportStar(require("./data/query/IApiQueryFilters"), exports);
|
|
124
|
-
__exportStar(require("./interfaces/ITranslatableString"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
exports.OAuthSessionHandlerBase = exports.VersionHelperBase = exports.ErrorHelper = exports.LicenseKeyInvoiceSeverity = exports.ExpirationReason = exports.LicenseRestrictionKeys = exports.CustomizationStatsItemKeys = exports.Functionality = 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;
|
|
18
|
+
var Promise = require("es6-promise");
|
|
19
|
+
var ApiConnection_1 = require("./ApiConnection");
|
|
20
|
+
var HttpMethod_1 = require("./HttpMethod");
|
|
21
|
+
Object.defineProperty(exports, "HttpMethod", { enumerable: true, get: function () { return HttpMethod_1.HttpMethod; } });
|
|
22
|
+
var ReturnCodes_1 = require("./ReturnCodes");
|
|
23
|
+
Object.defineProperty(exports, "ReturnCodes", { enumerable: true, get: function () { return ReturnCodes_1.ReturnCodes; } });
|
|
24
|
+
var TokenizedServiceConnection_1 = require("./tokenizedServices/TokenizedServiceConnection");
|
|
25
|
+
Object.defineProperty(exports, "TokenizedServiceConnection", { enumerable: true, get: function () { return TokenizedServiceConnection_1.TokenizedServiceConnection; } });
|
|
26
|
+
var CommonDataConnection_1 = require("./tokenizedServices/CommonDataConnection");
|
|
27
|
+
Object.defineProperty(exports, "CommonDataConnection", { enumerable: true, get: function () { return CommonDataConnection_1.CommonDataConnection; } });
|
|
28
|
+
var ApiMethods_1 = require("./ApiMethods");
|
|
29
|
+
Object.defineProperty(exports, "ApiMethods", { enumerable: true, get: function () { return ApiMethods_1.ApiMethods; } });
|
|
30
|
+
var GlobalSettingsNames_1 = require("./constants/GlobalSettingsNames");
|
|
31
|
+
exports.GlobalSettingsNames = GlobalSettingsNames_1.default;
|
|
32
|
+
var FieldNames_1 = require("./constants/FieldNames");
|
|
33
|
+
exports.FieldNames = FieldNames_1.default;
|
|
34
|
+
var FolderNames_1 = require("./constants/FolderNames");
|
|
35
|
+
Object.defineProperty(exports, "FolderNames", { enumerable: true, get: function () { return FolderNames_1.FolderNames; } });
|
|
36
|
+
var OAuthHelper_1 = require("./helpers/OAuthHelper");
|
|
37
|
+
Object.defineProperty(exports, "OAuthHelper", { enumerable: true, get: function () { return OAuthHelper_1.OAuthHelper; } });
|
|
38
|
+
var HttpRequestError_1 = require("./exceptions/HttpRequestError");
|
|
39
|
+
Object.defineProperty(exports, "HttpRequestError", { enumerable: true, get: function () { return HttpRequestError_1.HttpRequestError; } });
|
|
40
|
+
var EnumTypes_1 = require("./constants/EnumTypes");
|
|
41
|
+
exports.EnumTypes = EnumTypes_1.default;
|
|
42
|
+
var RelationTypes_1 = require("./constants/RelationTypes");
|
|
43
|
+
exports.RelationTypes = RelationTypes_1.default;
|
|
44
|
+
var ColumnPermissionRules_1 = require("./constants/ColumnPermissionRules");
|
|
45
|
+
Object.defineProperty(exports, "ColumnPermissionPermissionRules", { enumerable: true, get: function () { return ColumnPermissionRules_1.ColumnPermissionPermissionRules; } });
|
|
46
|
+
Object.defineProperty(exports, "ColumnPermissionMandatoryRules", { enumerable: true, get: function () { return ColumnPermissionRules_1.ColumnPermissionMandatoryRules; } });
|
|
47
|
+
var Edition_1 = require("./constants/Edition");
|
|
48
|
+
Object.defineProperty(exports, "Edition", { enumerable: true, get: function () { return Edition_1.Edition; } });
|
|
49
|
+
var Feature_1 = require("./constants/Feature");
|
|
50
|
+
Object.defineProperty(exports, "Feature", { enumerable: true, get: function () { return Feature_1.Feature; } });
|
|
51
|
+
var Functionality_1 = require("./constants/Functionality");
|
|
52
|
+
exports.Functionality = Functionality_1.default;
|
|
53
|
+
var CustomizationStatsItemKeys_1 = require("./constants/CustomizationStatsItemKeys");
|
|
54
|
+
exports.CustomizationStatsItemKeys = CustomizationStatsItemKeys_1.default;
|
|
55
|
+
var LicenseRestrictionKeys_1 = require("./constants/LicenseRestrictionKeys");
|
|
56
|
+
exports.LicenseRestrictionKeys = LicenseRestrictionKeys_1.default;
|
|
57
|
+
var ExpirationReason_1 = require("./constants/ExpirationReason");
|
|
58
|
+
exports.ExpirationReason = ExpirationReason_1.default;
|
|
59
|
+
var LicenseKeyInvoiceSeverity_1 = require("./constants/LicenseKeyInvoiceSeverity");
|
|
60
|
+
exports.LicenseKeyInvoiceSeverity = LicenseKeyInvoiceSeverity_1.default;
|
|
61
|
+
var ErrorHelper_1 = require("./helpers/ErrorHelper");
|
|
62
|
+
exports.ErrorHelper = ErrorHelper_1.default;
|
|
63
|
+
var VersionHelperBase_1 = require("./helpers/VersionHelperBase");
|
|
64
|
+
exports.VersionHelperBase = VersionHelperBase_1.default;
|
|
65
|
+
var OAuthSessionHandlerBase_1 = require("./OAuthSessionHandlerBase");
|
|
66
|
+
Object.defineProperty(exports, "OAuthSessionHandlerBase", { enumerable: true, get: function () { return OAuthSessionHandlerBase_1.OAuthSessionHandlerBase; } });
|
|
67
|
+
Promise.polyfill();
|
|
68
|
+
exports.default = ApiConnection_1.ApiConnection;
|
|
69
|
+
__exportStar(require("./data/EWItem"), exports);
|
|
70
|
+
__exportStar(require("./data/IApiAdditionalField"), exports);
|
|
71
|
+
__exportStar(require("./data/IApiAvailableBundle"), exports);
|
|
72
|
+
__exportStar(require("./data/IApiAvailableVersionResponse"), exports);
|
|
73
|
+
__exportStar(require("./data/IApiCapacityAvailableBundle"), exports);
|
|
74
|
+
__exportStar(require("./data/IApiCart"), exports);
|
|
75
|
+
__exportStar(require("./data/IApiColumn"), exports);
|
|
76
|
+
__exportStar(require("./data/IApiColumnPermission"), exports);
|
|
77
|
+
__exportStar(require("./data/IApiCompany"), exports);
|
|
78
|
+
__exportStar(require("./data/IApiContact"), exports);
|
|
79
|
+
__exportStar(require("./data/IApiCustomizationStatsItem"), exports);
|
|
80
|
+
__exportStar(require("./data/IApiCurrencyExchangeRate"), exports);
|
|
81
|
+
__exportStar(require("./data/IApiBooleanResponse"), exports);
|
|
82
|
+
__exportStar(require("./data/IApiDataResponse"), exports);
|
|
83
|
+
__exportStar(require("./data/IApiDatumResponse"), exports);
|
|
84
|
+
__exportStar(require("./data/IApiDocument"), exports);
|
|
85
|
+
__exportStar(require("./data/IApiEmail"), exports);
|
|
86
|
+
__exportStar(require("./data/IApiEnumType"), exports);
|
|
87
|
+
__exportStar(require("./data/IApiEnumValue"), exports);
|
|
88
|
+
__exportStar(require("./data/IApiEnumValuesRelation"), exports);
|
|
89
|
+
__exportStar(require("./data/IApiFeature"), exports);
|
|
90
|
+
__exportStar(require("./data/IApiFeaturesLicenseBundle"), exports);
|
|
91
|
+
__exportStar(require("./data/IApiFlow"), exports);
|
|
92
|
+
__exportStar(require("./data/IApiGlobalSetting"), exports);
|
|
93
|
+
__exportStar(require("./data/IApiGoal"), exports);
|
|
94
|
+
__exportStar(require("./data/IApiGood"), exports);
|
|
95
|
+
__exportStar(require("./data/IApiGoodInCart"), exports);
|
|
96
|
+
__exportStar(require("./data/IApiGroup"), exports);
|
|
97
|
+
__exportStar(require("./data/IApiItemBase"), exports);
|
|
98
|
+
__exportStar(require("./data/IApiItemIdentifier"), exports);
|
|
99
|
+
__exportStar(require("./data/IApiItemUsageStatus"), exports);
|
|
100
|
+
__exportStar(require("./data/IApiJournal"), exports);
|
|
101
|
+
__exportStar(require("./data/IApiLead"), exports);
|
|
102
|
+
__exportStar(require("./data/IApiLicense"), exports);
|
|
103
|
+
__exportStar(require("./data/IApiLicenseBundleBase"), exports);
|
|
104
|
+
__exportStar(require("./data/IApiLocalizedLicenseBundle"), exports);
|
|
105
|
+
__exportStar(require("./data/IApiLoginResponse"), exports);
|
|
106
|
+
__exportStar(require("./data/IApiMarketingList"), exports);
|
|
107
|
+
__exportStar(require("./data/IApiModulePermission"), exports);
|
|
108
|
+
__exportStar(require("./data/IApiObjectType"), exports);
|
|
109
|
+
__exportStar(require("./data/IApiPasswordStrength"), exports);
|
|
110
|
+
__exportStar(require("./data/IApiPayment"), exports);
|
|
111
|
+
__exportStar(require("./data/IApiProject"), exports);
|
|
112
|
+
__exportStar(require("./data/IApiRecurrencePattern"), exports);
|
|
113
|
+
__exportStar(require("./data/IApiResult"), exports);
|
|
114
|
+
__exportStar(require("./data/IApiSaveResponse"), exports);
|
|
115
|
+
__exportStar(require("./data/IApiTask"), exports);
|
|
116
|
+
__exportStar(require("./data/IApiUser"), exports);
|
|
117
|
+
__exportStar(require("./data/IApiUserSetting"), exports);
|
|
118
|
+
__exportStar(require("./data/IApiWebServiceTaskStatus"), exports);
|
|
119
|
+
__exportStar(require("./data/IApiWorkflowActionDerivedItem"), exports);
|
|
120
|
+
__exportStar(require("./data/IApiWorkflowModel"), exports);
|
|
121
|
+
__exportStar(require("./data/IApiWorkReport"), exports);
|
|
122
|
+
__exportStar(require("./data/query/IApiQuery"), exports);
|
|
123
|
+
__exportStar(require("./data/query/IApiQueryFilters"), exports);
|
|
124
|
+
__exportStar(require("./interfaces/ITranslatableString"), exports);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { JwtPayload } from 'jwt-decode';
|
|
2
|
-
export interface IEWJwtPayload extends JwtPayload {
|
|
3
|
-
username?: string;
|
|
4
|
-
}
|
|
1
|
+
import { JwtPayload } from 'jwt-decode';
|
|
2
|
+
export interface IEWJwtPayload extends JwtPayload {
|
|
3
|
+
username?: string;
|
|
4
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|