@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
package/lib/data/IApiGroup.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
-
export interface IApiGroup extends IApiItemBase {
|
|
3
|
-
GroupName: string;
|
|
4
|
-
Description: string | null;
|
|
5
|
-
ResponsibilityDescription: string | null;
|
|
6
|
-
System: boolean;
|
|
7
|
-
IsAdmin: boolean;
|
|
8
|
-
IsPM: boolean;
|
|
9
|
-
IsRole: boolean;
|
|
10
|
-
IsCategory: boolean;
|
|
11
|
-
IsOutlookCategory: boolean;
|
|
12
|
-
DisallowControlUserAssignment: boolean;
|
|
13
|
-
DisallowControlModulePermissions: boolean;
|
|
14
|
-
DisallowControlColumnPermissions: boolean;
|
|
15
|
-
ContainsAnyUneditablePermission: boolean;
|
|
16
|
-
}
|
|
1
|
+
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
+
export interface IApiGroup extends IApiItemBase {
|
|
3
|
+
GroupName: string;
|
|
4
|
+
Description: string | null;
|
|
5
|
+
ResponsibilityDescription: string | null;
|
|
6
|
+
System: boolean;
|
|
7
|
+
IsAdmin: boolean;
|
|
8
|
+
IsPM: boolean;
|
|
9
|
+
IsRole: boolean;
|
|
10
|
+
IsCategory: boolean;
|
|
11
|
+
IsOutlookCategory: boolean;
|
|
12
|
+
DisallowControlUserAssignment: boolean;
|
|
13
|
+
DisallowControlModulePermissions: boolean;
|
|
14
|
+
DisallowControlColumnPermissions: boolean;
|
|
15
|
+
ContainsAnyUneditablePermission: boolean;
|
|
16
|
+
}
|
package/lib/data/IApiGroup.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export interface IApiItemBase {
|
|
2
|
-
ItemGUID: string;
|
|
3
|
-
ItemVersion: number;
|
|
4
|
-
FileAs: string | null | undefined;
|
|
5
|
-
}
|
|
6
|
-
export interface IApiBoundRelation {
|
|
7
|
-
RelationType: string;
|
|
8
|
-
ForeignItemGUID: string;
|
|
9
|
-
ForeignFolderName: string;
|
|
10
|
-
RelationDataGUID: string;
|
|
11
|
-
}
|
|
12
|
-
export
|
|
13
|
-
Relations: IApiBoundRelation[];
|
|
14
|
-
};
|
|
1
|
+
export interface IApiItemBase {
|
|
2
|
+
ItemGUID: string;
|
|
3
|
+
ItemVersion: number;
|
|
4
|
+
FileAs: string | null | undefined;
|
|
5
|
+
}
|
|
6
|
+
export interface IApiBoundRelation {
|
|
7
|
+
RelationType: string;
|
|
8
|
+
ForeignItemGUID: string;
|
|
9
|
+
ForeignFolderName: string;
|
|
10
|
+
RelationDataGUID: string;
|
|
11
|
+
}
|
|
12
|
+
export type TApiItemWithReleations<TItem> = TItem & {
|
|
13
|
+
Relations: IApiBoundRelation[];
|
|
14
|
+
};
|
package/lib/data/IApiItemBase.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
-
export interface IApiItemIdentifier extends Omit<IApiItemBase, 'ItemGUID' | 'ItemVersion'> {
|
|
3
|
-
ItemGUID: string | null;
|
|
4
|
-
ItemVersion: number | null;
|
|
5
|
-
}
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiItemIdentifier extends Omit<IApiItemBase, 'ItemGUID' | 'ItemVersion'> {
|
|
3
|
+
ItemGUID: string | null;
|
|
4
|
+
ItemVersion: number | null;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export interface IApiItemUsageStatus {
|
|
2
|
-
ItemGuid: string;
|
|
3
|
-
IsUsed: boolean;
|
|
4
|
-
}
|
|
1
|
+
export interface IApiItemUsageStatus {
|
|
2
|
+
ItemGuid: string;
|
|
3
|
+
IsUsed: boolean;
|
|
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 });
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
-
export interface IApiJournal extends IApiItemBase {
|
|
3
|
-
CalendarEntryID: string | null;
|
|
4
|
-
Calendar_ORIGIN: string | null;
|
|
5
|
-
ChangedField: string | null;
|
|
6
|
-
EventEnd: string | null;
|
|
7
|
-
EventStart: string | null;
|
|
8
|
-
FieldValue: string | null;
|
|
9
|
-
ImportanceEn: string | null;
|
|
10
|
-
Note: string | null;
|
|
11
|
-
PrevFieldValue: string | null;
|
|
12
|
-
TypeEn: string | null;
|
|
13
|
-
IsSystem: boolean | null;
|
|
14
|
-
Phone: string | null;
|
|
15
|
-
PhoneNormalized: string | null;
|
|
16
|
-
IsGdprRelevant: boolean | null;
|
|
17
|
-
Picture: string | null;
|
|
18
|
-
PictureWidth: number | null;
|
|
19
|
-
PictureHeight: number | null;
|
|
20
|
-
Companies_CompanyGuid: string | null;
|
|
21
|
-
Contacts_ContactGuid: string | null;
|
|
22
|
-
Leads_SuperiorItemGuid: string | null;
|
|
23
|
-
Projects_SuperiorItemGuid: string | null;
|
|
24
|
-
Marketing_MarketingGuid: string | null;
|
|
25
|
-
}
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiJournal extends IApiItemBase {
|
|
3
|
+
CalendarEntryID: string | null;
|
|
4
|
+
Calendar_ORIGIN: string | null;
|
|
5
|
+
ChangedField: string | null;
|
|
6
|
+
EventEnd: string | null;
|
|
7
|
+
EventStart: string | null;
|
|
8
|
+
FieldValue: string | null;
|
|
9
|
+
ImportanceEn: string | null;
|
|
10
|
+
Note: string | null;
|
|
11
|
+
PrevFieldValue: string | null;
|
|
12
|
+
TypeEn: string | null;
|
|
13
|
+
IsSystem: boolean | null;
|
|
14
|
+
Phone: string | null;
|
|
15
|
+
PhoneNormalized: string | null;
|
|
16
|
+
IsGdprRelevant: boolean | null;
|
|
17
|
+
Picture: string | null;
|
|
18
|
+
PictureWidth: number | null;
|
|
19
|
+
PictureHeight: number | null;
|
|
20
|
+
Companies_CompanyGuid: string | null;
|
|
21
|
+
Contacts_ContactGuid: string | null;
|
|
22
|
+
Leads_SuperiorItemGuid: string | null;
|
|
23
|
+
Projects_SuperiorItemGuid: string | null;
|
|
24
|
+
Marketing_MarketingGuid: string | null;
|
|
25
|
+
}
|
package/lib/data/IApiJournal.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
////////////////////////////////////////////
|
|
3
|
-
// //
|
|
4
|
-
// Do not modify this file. //
|
|
5
|
-
// This file is generated by a generator. //
|
|
6
|
-
// //
|
|
7
|
-
////////////////////////////////////////////
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
////////////////////////////////////////////
|
|
3
|
+
// //
|
|
4
|
+
// Do not modify this file. //
|
|
5
|
+
// This file is generated by a generator. //
|
|
6
|
+
// //
|
|
7
|
+
////////////////////////////////////////////
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/lib/data/IApiLead.d.ts
CHANGED
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
-
export interface IApiLead extends IApiItemBase {
|
|
3
|
-
City: string | null;
|
|
4
|
-
ContactPerson: string | null;
|
|
5
|
-
CurrencyEn: string | null;
|
|
6
|
-
Customer: string | null;
|
|
7
|
-
Email: string | null;
|
|
8
|
-
EstimatedEnd: string | null;
|
|
9
|
-
HID: number | null;
|
|
10
|
-
LeadOriginEn: string | null;
|
|
11
|
-
Note: string | null;
|
|
12
|
-
Phone: string | null;
|
|
13
|
-
PhoneNormalized: string | null;
|
|
14
|
-
PrevStateEn: string | null;
|
|
15
|
-
Price: number | null;
|
|
16
|
-
PriceChanged: string | null;
|
|
17
|
-
PriceDefaultCurrency: number | null;
|
|
18
|
-
Probability: number | null;
|
|
19
|
-
ReceiveDate: string | null;
|
|
20
|
-
StateEn: string | null;
|
|
21
|
-
Street: string | null;
|
|
22
|
-
TypeEn: string | null;
|
|
23
|
-
Zip: string | null;
|
|
24
|
-
LastActivity: string | null;
|
|
25
|
-
NextStep: string | null;
|
|
26
|
-
EstimatedValue: number | null;
|
|
27
|
-
IsCompleted: boolean | null;
|
|
28
|
-
IsLost: boolean | null;
|
|
29
|
-
CountryEn: string | null;
|
|
30
|
-
State: string | null;
|
|
31
|
-
POBox: string | null;
|
|
32
|
-
EmailOptOut: boolean | null;
|
|
33
|
-
Companies_CustomerGuid: string | null;
|
|
34
|
-
Contacts_ContactPersonGuid: string | null;
|
|
35
|
-
Marketing_MarketingGuid: string | null;
|
|
36
|
-
}
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiLead extends IApiItemBase {
|
|
3
|
+
City: string | null;
|
|
4
|
+
ContactPerson: string | null;
|
|
5
|
+
CurrencyEn: string | null;
|
|
6
|
+
Customer: string | null;
|
|
7
|
+
Email: string | null;
|
|
8
|
+
EstimatedEnd: string | null;
|
|
9
|
+
HID: number | null;
|
|
10
|
+
LeadOriginEn: string | null;
|
|
11
|
+
Note: string | null;
|
|
12
|
+
Phone: string | null;
|
|
13
|
+
PhoneNormalized: string | null;
|
|
14
|
+
PrevStateEn: string | null;
|
|
15
|
+
Price: number | null;
|
|
16
|
+
PriceChanged: string | null;
|
|
17
|
+
PriceDefaultCurrency: number | null;
|
|
18
|
+
Probability: number | null;
|
|
19
|
+
ReceiveDate: string | null;
|
|
20
|
+
StateEn: string | null;
|
|
21
|
+
Street: string | null;
|
|
22
|
+
TypeEn: string | null;
|
|
23
|
+
Zip: string | null;
|
|
24
|
+
LastActivity: string | null;
|
|
25
|
+
NextStep: string | null;
|
|
26
|
+
EstimatedValue: number | null;
|
|
27
|
+
IsCompleted: boolean | null;
|
|
28
|
+
IsLost: boolean | null;
|
|
29
|
+
CountryEn: string | null;
|
|
30
|
+
State: string | null;
|
|
31
|
+
POBox: string | null;
|
|
32
|
+
EmailOptOut: boolean | null;
|
|
33
|
+
Companies_CustomerGuid: string | null;
|
|
34
|
+
Contacts_ContactPersonGuid: string | null;
|
|
35
|
+
Marketing_MarketingGuid: string | null;
|
|
36
|
+
}
|
package/lib/data/IApiLead.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/////////////////////////////////////////////
|
|
3
|
-
// //
|
|
4
|
-
// Do not modify this file. //
|
|
5
|
-
// This file is generated by WcfGenerator. //
|
|
6
|
-
// //
|
|
7
|
-
/////////////////////////////////////////////
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
/////////////////////////////////////////////
|
|
3
|
+
// //
|
|
4
|
+
// Do not modify this file. //
|
|
5
|
+
// This file is generated by WcfGenerator. //
|
|
6
|
+
// //
|
|
7
|
+
/////////////////////////////////////////////
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,65 +1,65 @@
|
|
|
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';
|
|
9
|
-
|
|
10
|
-
interface IApiRestrictionBase {
|
|
11
|
-
AvailableInEdition: Edition;
|
|
12
|
-
AvailableInFeature: Feature;
|
|
13
|
-
}
|
|
14
|
-
interface IApiRestrictionsClass {
|
|
15
|
-
Functionalities: (IApiRestrictionBase & {
|
|
16
|
-
Functionality: string;
|
|
17
|
-
CurrentLimit: number | null;
|
|
18
|
-
})[];
|
|
19
|
-
GlobalSettings: (IApiRestrictionBase & {
|
|
20
|
-
GlobalSettingName: string;
|
|
21
|
-
})[];
|
|
22
|
-
Modules: (IApiRestrictionBase & {
|
|
23
|
-
FolderName: TFolderName;
|
|
24
|
-
})[];
|
|
25
|
-
}
|
|
26
|
-
export interface IApiLicenseExpiration {
|
|
27
|
-
ExpiresOn: string;
|
|
28
|
-
Reason: ExpirationReason;
|
|
29
|
-
IsLicenseKeyExpiredAndSystemLocked: boolean;
|
|
30
|
-
IsLicenseKeyInExpireTimePeriod: boolean;
|
|
31
|
-
IsLicenseKeyInSilentExpireTimePeriod: boolean;
|
|
32
|
-
NumberOfDaysToLockSystem: number | null;
|
|
33
|
-
}
|
|
34
|
-
export interface IApiCurrentUserLicenseInfo {
|
|
35
|
-
ReceivesAdminLicenseNotifications: boolean;
|
|
36
|
-
ReceivesBillingLicenseNotifications: boolean;
|
|
37
|
-
}
|
|
38
|
-
interface IApiLicenseKeyInvoices {
|
|
39
|
-
UnpaidInvoices: IApiLicenseKeyInvoice[] | null;
|
|
40
|
-
BillingEmails: string[] | null;
|
|
41
|
-
}
|
|
42
|
-
export interface IApiLicenseKeyInvoice {
|
|
43
|
-
Name: string;
|
|
44
|
-
Url: string;
|
|
45
|
-
DueDate: string;
|
|
46
|
-
Severity: LicenseKeyInvoiceSeverity;
|
|
47
|
-
}
|
|
48
|
-
export interface IApiLicense {
|
|
49
|
-
AvailableBundles: (IApiCapacityAvailableBundle & {
|
|
50
|
-
Name: ITranslatableString;
|
|
51
|
-
})[];
|
|
52
|
-
BusinessType: LicenceBusinessType;
|
|
53
|
-
Features: TFeatureWithEdition[] | null;
|
|
54
|
-
CurrentUserRestrictions: IApiRestrictionsClass;
|
|
55
|
-
Restrictions: IApiRestrictionsClass;
|
|
56
|
-
CurrentUserLicenseInfo: IApiCurrentUserLicenseInfo;
|
|
57
|
-
Expiration: IApiLicenseExpiration | null;
|
|
58
|
-
Invoices: IApiLicenseKeyInvoices | null;
|
|
59
|
-
GeneratedDate: string;
|
|
60
|
-
DbSize: IApiLicenseDbSizeModel;
|
|
61
|
-
}
|
|
62
|
-
export interface IApiLicenseDbSizeModel {
|
|
63
|
-
IsFull: boolean;
|
|
64
|
-
}
|
|
65
|
-
export {};
|
|
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';
|
|
9
|
+
type LicenceBusinessType = 'Premium' | 'Trial' | 'Free';
|
|
10
|
+
interface IApiRestrictionBase {
|
|
11
|
+
AvailableInEdition: Edition;
|
|
12
|
+
AvailableInFeature: Feature;
|
|
13
|
+
}
|
|
14
|
+
interface IApiRestrictionsClass {
|
|
15
|
+
Functionalities: (IApiRestrictionBase & {
|
|
16
|
+
Functionality: string;
|
|
17
|
+
CurrentLimit: number | null;
|
|
18
|
+
})[];
|
|
19
|
+
GlobalSettings: (IApiRestrictionBase & {
|
|
20
|
+
GlobalSettingName: string;
|
|
21
|
+
})[];
|
|
22
|
+
Modules: (IApiRestrictionBase & {
|
|
23
|
+
FolderName: TFolderName;
|
|
24
|
+
})[];
|
|
25
|
+
}
|
|
26
|
+
export interface IApiLicenseExpiration {
|
|
27
|
+
ExpiresOn: string;
|
|
28
|
+
Reason: ExpirationReason;
|
|
29
|
+
IsLicenseKeyExpiredAndSystemLocked: boolean;
|
|
30
|
+
IsLicenseKeyInExpireTimePeriod: boolean;
|
|
31
|
+
IsLicenseKeyInSilentExpireTimePeriod: boolean;
|
|
32
|
+
NumberOfDaysToLockSystem: number | null;
|
|
33
|
+
}
|
|
34
|
+
export interface IApiCurrentUserLicenseInfo {
|
|
35
|
+
ReceivesAdminLicenseNotifications: boolean;
|
|
36
|
+
ReceivesBillingLicenseNotifications: boolean;
|
|
37
|
+
}
|
|
38
|
+
interface IApiLicenseKeyInvoices {
|
|
39
|
+
UnpaidInvoices: IApiLicenseKeyInvoice[] | null;
|
|
40
|
+
BillingEmails: string[] | null;
|
|
41
|
+
}
|
|
42
|
+
export interface IApiLicenseKeyInvoice {
|
|
43
|
+
Name: string;
|
|
44
|
+
Url: string;
|
|
45
|
+
DueDate: string;
|
|
46
|
+
Severity: LicenseKeyInvoiceSeverity;
|
|
47
|
+
}
|
|
48
|
+
export interface IApiLicense {
|
|
49
|
+
AvailableBundles: (IApiCapacityAvailableBundle & {
|
|
50
|
+
Name: ITranslatableString;
|
|
51
|
+
})[];
|
|
52
|
+
BusinessType: LicenceBusinessType;
|
|
53
|
+
Features: TFeatureWithEdition[] | null;
|
|
54
|
+
CurrentUserRestrictions: IApiRestrictionsClass;
|
|
55
|
+
Restrictions: IApiRestrictionsClass;
|
|
56
|
+
CurrentUserLicenseInfo: IApiCurrentUserLicenseInfo;
|
|
57
|
+
Expiration: IApiLicenseExpiration | null;
|
|
58
|
+
Invoices: IApiLicenseKeyInvoices | null;
|
|
59
|
+
GeneratedDate: string;
|
|
60
|
+
DbSize: IApiLicenseDbSizeModel;
|
|
61
|
+
}
|
|
62
|
+
export interface IApiLicenseDbSizeModel {
|
|
63
|
+
IsFull: boolean;
|
|
64
|
+
}
|
|
65
|
+
export {};
|
package/lib/data/IApiLicense.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export interface IApiLicenseBundleBase {
|
|
2
|
-
Code: string;
|
|
3
|
-
ContainsOutlook: boolean;
|
|
4
|
-
ContainsWeb: boolean;
|
|
5
|
-
ContainsMobile: boolean;
|
|
6
|
-
}
|
|
1
|
+
export interface IApiLicenseBundleBase {
|
|
2
|
+
Code: string;
|
|
3
|
+
ContainsOutlook: boolean;
|
|
4
|
+
ContainsWeb: boolean;
|
|
5
|
+
ContainsMobile: boolean;
|
|
6
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IApiCapacityAvailableBundle } from "./IApiCapacityAvailableBundle";
|
|
2
|
-
export interface IApiLocalizedLicenseBundle extends IApiCapacityAvailableBundle {
|
|
3
|
-
Name: string;
|
|
4
|
-
}
|
|
1
|
+
import { IApiCapacityAvailableBundle } from "./IApiCapacityAvailableBundle";
|
|
2
|
+
export interface IApiLocalizedLicenseBundle extends IApiCapacityAvailableBundle {
|
|
3
|
+
Name: 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 });
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { IApiResult } from './IApiResult';
|
|
2
|
-
export interface IApiLoginResponse extends IApiResult {
|
|
3
|
-
SessionId: string | null;
|
|
4
|
-
UserItemGuid: string | null;
|
|
5
|
-
IsAdmin: boolean | null;
|
|
6
|
-
WcfVersion: string;
|
|
7
|
-
Debug?: boolean;
|
|
8
|
-
}
|
|
1
|
+
import { IApiResult } from './IApiResult';
|
|
2
|
+
export interface IApiLoginResponse extends IApiResult {
|
|
3
|
+
SessionId: string | null;
|
|
4
|
+
UserItemGuid: string | null;
|
|
5
|
+
IsAdmin: boolean | null;
|
|
6
|
+
WcfVersion: string;
|
|
7
|
+
Debug?: boolean;
|
|
8
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
-
export interface IApiMarketingCampaign extends IApiItemBase {
|
|
3
|
-
ID: number | null;
|
|
4
|
-
TypeEn: string | null;
|
|
5
|
-
StateEn: string | null;
|
|
6
|
-
EstimatedStart: string | null;
|
|
7
|
-
EstimatedEnd: string | null;
|
|
8
|
-
Budget: number | null;
|
|
9
|
-
EstimatedResponses: number | null;
|
|
10
|
-
EstimatedRevenues: number | null;
|
|
11
|
-
RealStart: string | null;
|
|
12
|
-
RealEnd: string | null;
|
|
13
|
-
Expenses: number | null;
|
|
14
|
-
FinalResponses: number | null;
|
|
15
|
-
FinalRevenues: number | null;
|
|
16
|
-
Note: string | null;
|
|
17
|
-
PrevStateEn: string | null;
|
|
18
|
-
EmailCampaignHash: string | null;
|
|
19
|
-
PeopleUnsubscribed: number | null;
|
|
20
|
-
TargetGroup: number | null;
|
|
21
|
-
EmailsSent: number | null;
|
|
22
|
-
EmailsDelivered: number | null;
|
|
23
|
-
EmailsViewed: number | null;
|
|
24
|
-
EmailCampaignContactListChanged: boolean | null;
|
|
25
|
-
EmailsMarkedAsSpam: number | null;
|
|
26
|
-
EmailCampaignEmailSent: string | null;
|
|
27
|
-
LastResponsesDownloadTime: string | null;
|
|
28
|
-
ResponsesDownloadCount: number | null;
|
|
29
|
-
Picture: string | null;
|
|
30
|
-
PictureWidth: number | null;
|
|
31
|
-
PictureHeight: number | null;
|
|
32
|
-
}
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiMarketingCampaign extends IApiItemBase {
|
|
3
|
+
ID: number | null;
|
|
4
|
+
TypeEn: string | null;
|
|
5
|
+
StateEn: string | null;
|
|
6
|
+
EstimatedStart: string | null;
|
|
7
|
+
EstimatedEnd: string | null;
|
|
8
|
+
Budget: number | null;
|
|
9
|
+
EstimatedResponses: number | null;
|
|
10
|
+
EstimatedRevenues: number | null;
|
|
11
|
+
RealStart: string | null;
|
|
12
|
+
RealEnd: string | null;
|
|
13
|
+
Expenses: number | null;
|
|
14
|
+
FinalResponses: number | null;
|
|
15
|
+
FinalRevenues: number | null;
|
|
16
|
+
Note: string | null;
|
|
17
|
+
PrevStateEn: string | null;
|
|
18
|
+
EmailCampaignHash: string | null;
|
|
19
|
+
PeopleUnsubscribed: number | null;
|
|
20
|
+
TargetGroup: number | null;
|
|
21
|
+
EmailsSent: number | null;
|
|
22
|
+
EmailsDelivered: number | null;
|
|
23
|
+
EmailsViewed: number | null;
|
|
24
|
+
EmailCampaignContactListChanged: boolean | null;
|
|
25
|
+
EmailsMarkedAsSpam: number | null;
|
|
26
|
+
EmailCampaignEmailSent: string | null;
|
|
27
|
+
LastResponsesDownloadTime: string | null;
|
|
28
|
+
ResponsesDownloadCount: number | null;
|
|
29
|
+
Picture: string | null;
|
|
30
|
+
PictureWidth: number | null;
|
|
31
|
+
PictureHeight: number | null;
|
|
32
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
////////////////////////////////////////////
|
|
3
|
-
// //
|
|
4
|
-
// Do not modify this file. //
|
|
5
|
-
// This file is generated by a generator. //
|
|
6
|
-
// //
|
|
7
|
-
////////////////////////////////////////////
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
////////////////////////////////////////////
|
|
3
|
+
// //
|
|
4
|
+
// Do not modify this file. //
|
|
5
|
+
// This file is generated by a generator. //
|
|
6
|
+
// //
|
|
7
|
+
////////////////////////////////////////////
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
-
export interface IApiMarketingList extends IApiItemBase {
|
|
3
|
-
Contact: string | null;
|
|
4
|
-
Company: string | null;
|
|
5
|
-
Email1Address: string | null;
|
|
6
|
-
Phone: string | null;
|
|
7
|
-
MarketingCampaignGuid: string | null;
|
|
8
|
-
AddressStreet: string | null;
|
|
9
|
-
AddressPostalCode: string | null;
|
|
10
|
-
AddressCity: string | null;
|
|
11
|
-
FolderName: string | null;
|
|
12
|
-
FirstName: string | null;
|
|
13
|
-
LastName: string | null;
|
|
14
|
-
LeadGuid: string | null;
|
|
15
|
-
ContactGuid: string | null;
|
|
16
|
-
CompanyGuid: string | null;
|
|
17
|
-
}
|
|
1
|
+
import { IApiItemBase } from './IApiItemBase';
|
|
2
|
+
export interface IApiMarketingList extends IApiItemBase {
|
|
3
|
+
Contact: string | null;
|
|
4
|
+
Company: string | null;
|
|
5
|
+
Email1Address: string | null;
|
|
6
|
+
Phone: string | null;
|
|
7
|
+
MarketingCampaignGuid: string | null;
|
|
8
|
+
AddressStreet: string | null;
|
|
9
|
+
AddressPostalCode: string | null;
|
|
10
|
+
AddressCity: string | null;
|
|
11
|
+
FolderName: string | null;
|
|
12
|
+
FirstName: string | null;
|
|
13
|
+
LastName: string | null;
|
|
14
|
+
LeadGuid: string | null;
|
|
15
|
+
ContactGuid: string | null;
|
|
16
|
+
CompanyGuid: string | null;
|
|
17
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
////////////////////////////////////////////
|
|
3
|
-
// //
|
|
4
|
-
// Do not modify this file. //
|
|
5
|
-
// This file is generated by a generator. //
|
|
6
|
-
// //
|
|
7
|
-
////////////////////////////////////////////
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
////////////////////////////////////////////
|
|
3
|
+
// //
|
|
4
|
+
// Do not modify this file. //
|
|
5
|
+
// This file is generated by a generator. //
|
|
6
|
+
// //
|
|
7
|
+
////////////////////////////////////////////
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
-
export
|
|
3
|
-
export interface IApiModulePermission extends IApiItemBase {
|
|
4
|
-
CanCreate: boolean;
|
|
5
|
-
CanExport: boolean;
|
|
6
|
-
CanSeeHistory: boolean;
|
|
7
|
-
View: TApiModulePermissionOptions;
|
|
8
|
-
Edit: TApiModulePermissionOptions;
|
|
9
|
-
Delete: TApiModulePermissionOptions;
|
|
10
|
-
RowsRestriction: number | null;
|
|
11
|
-
FolderName: string;
|
|
12
|
-
GroupGuid: string;
|
|
13
|
-
IsSystem: boolean;
|
|
14
|
-
}
|
|
1
|
+
import { IApiItemBase } from "./IApiItemBase";
|
|
2
|
+
export type TApiModulePermissionOptions = 'All' | 'Inherited' | 'Group' | 'Related' | 'Own' | 'None';
|
|
3
|
+
export interface IApiModulePermission extends IApiItemBase {
|
|
4
|
+
CanCreate: boolean;
|
|
5
|
+
CanExport: boolean;
|
|
6
|
+
CanSeeHistory: boolean;
|
|
7
|
+
View: TApiModulePermissionOptions;
|
|
8
|
+
Edit: TApiModulePermissionOptions;
|
|
9
|
+
Delete: TApiModulePermissionOptions;
|
|
10
|
+
RowsRestriction: number | null;
|
|
11
|
+
FolderName: string;
|
|
12
|
+
GroupGuid: string;
|
|
13
|
+
IsSystem: boolean;
|
|
14
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|