@colijnit/mainapi 255.1.8 → 255.1.9
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/build/enum/domain-name.enum.d.ts +2 -1
- package/build/enum/domain-name.enum.js +1 -0
- package/build/enum/internal-default.enum.d.ts +11 -0
- package/build/enum/internal-default.enum.js +15 -0
- package/build/main-api-connection.d.ts +2 -0
- package/build/main-api.d.ts +2 -0
- package/build/main-api.js +3 -0
- package/build/main-auth.d.ts +2 -0
- package/build/main-auth.js +11 -0
- package/build/main-public.d.ts +2 -0
- package/build/main-public.js +4 -0
- package/package.json +1 -1
|
@@ -66,4 +66,5 @@ var DomainName;
|
|
|
66
66
|
DomainName["YesNo"] = "DOM_JANEE";
|
|
67
67
|
DomainName["PriceKind"] = "DOM_TRANS_PRIJSSOORT";
|
|
68
68
|
DomainName["TransType"] = "DOM_TRANS_TYPE";
|
|
69
|
+
DomainName["Dom3DPlacement"] = "DOM_3D_PLACEMENT";
|
|
69
70
|
})(DomainName = exports.DomainName || (exports.DomainName = {}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare enum InternalDefault {
|
|
2
|
+
DecimalSign = "DECIMAAL_TEKEN",
|
|
3
|
+
DefaultBranchServiceCustomerPortal = "CUST_PORT_SERV_FIL",
|
|
4
|
+
DashboardNewsWidgetTitle = "DASH_WIDGET_NEWS_TITLE",
|
|
5
|
+
DashboardNewsWidgetContent = "DASH_WIDGET_NEWS_CONTENT",
|
|
6
|
+
DashboardVideoWidgetTitle = "DASH_WIDGET_VIDEO_TITLE",
|
|
7
|
+
DashboardVideoWidgetURL = "DASH_WIDGET_VIDEO_URL",
|
|
8
|
+
DaysUntilFirstPlanDate = "PLAN_DGN_AANVR_VOORUIT",
|
|
9
|
+
MinimalAmountWhichPickingIsGrouped = "AANT_PICK_GROEP",
|
|
10
|
+
PrefPlanningFromDeliveryDate = "VKP_VANAF_LEVDAT"
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InternalDefault = void 0;
|
|
4
|
+
var InternalDefault;
|
|
5
|
+
(function (InternalDefault) {
|
|
6
|
+
InternalDefault["DecimalSign"] = "DECIMAAL_TEKEN";
|
|
7
|
+
InternalDefault["DefaultBranchServiceCustomerPortal"] = "CUST_PORT_SERV_FIL";
|
|
8
|
+
InternalDefault["DashboardNewsWidgetTitle"] = "DASH_WIDGET_NEWS_TITLE";
|
|
9
|
+
InternalDefault["DashboardNewsWidgetContent"] = "DASH_WIDGET_NEWS_CONTENT";
|
|
10
|
+
InternalDefault["DashboardVideoWidgetTitle"] = "DASH_WIDGET_VIDEO_TITLE";
|
|
11
|
+
InternalDefault["DashboardVideoWidgetURL"] = "DASH_WIDGET_VIDEO_URL";
|
|
12
|
+
InternalDefault["DaysUntilFirstPlanDate"] = "PLAN_DGN_AANVR_VOORUIT";
|
|
13
|
+
InternalDefault["MinimalAmountWhichPickingIsGrouped"] = "AANT_PICK_GROEP";
|
|
14
|
+
InternalDefault["PrefPlanningFromDeliveryDate"] = "VKP_VANAF_LEVDAT";
|
|
15
|
+
})(InternalDefault = exports.InternalDefault || (exports.InternalDefault = {}));
|
|
@@ -15,6 +15,7 @@ import { Activity } from "./model/activity.bo";
|
|
|
15
15
|
import { SelectReportTemplatesRequest } from "./model/select-report-templates-request";
|
|
16
16
|
import { EmailJob } from "./model/email-job";
|
|
17
17
|
import { ActivityEmailHistory } from "./model/activity-email-history.bo";
|
|
18
|
+
import { InternalDefault } from "./enum/internal-default.enum";
|
|
18
19
|
export declare abstract class MainApiConnection {
|
|
19
20
|
readonly showLoader: Subject<boolean>;
|
|
20
21
|
readonly connectionAborted: Subject<void>;
|
|
@@ -75,6 +76,7 @@ export declare abstract class MainApiConnection {
|
|
|
75
76
|
abstract getReportTemplates(reportTemplateRequest: SelectReportTemplatesRequest): Promise<DataServiceResponseData>;
|
|
76
77
|
abstract emailReport(printJob: EmailJob): Promise<DataServiceResponseData>;
|
|
77
78
|
abstract getWorkflowProcessInfoPerStatus(workflowCategoryName: string): Promise<DataServiceResponseData>;
|
|
79
|
+
abstract getInternalDefaultValue(param: InternalDefault): Promise<DataServiceResponseData>;
|
|
78
80
|
abstract selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
79
81
|
protected endPoint: string;
|
|
80
82
|
}
|
package/build/main-api.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ import { LoginResponse } from "@colijnit/ioneconnector/build/model/login-respons
|
|
|
18
18
|
import { SelectReportTemplatesRequest } from "./model/select-report-templates-request";
|
|
19
19
|
import { EmailJob } from "./model/email-job";
|
|
20
20
|
import { ActivityEmailHistory } from "./model/activity-email-history.bo";
|
|
21
|
+
import { InternalDefault } from "./enum/internal-default.enum";
|
|
21
22
|
export declare class MainApi {
|
|
22
23
|
readonly showLoader: Subject<boolean>;
|
|
23
24
|
readonly connectionAborted: Subject<void>;
|
|
@@ -90,6 +91,7 @@ export declare class MainApi {
|
|
|
90
91
|
fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<DataServiceResponseData>;
|
|
91
92
|
fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<DataServiceResponseData>;
|
|
92
93
|
lockTask(id: number): Promise<DataServiceResponseData>;
|
|
94
|
+
getInternalDefaultValue(param: InternalDefault): Promise<DataServiceResponseData>;
|
|
93
95
|
static createConnector(isPublicSession: boolean, sessionExists: boolean): MainApiConnection;
|
|
94
96
|
private _handleConnectionReset;
|
|
95
97
|
}
|
package/build/main-api.js
CHANGED
|
@@ -247,6 +247,9 @@ class MainApi {
|
|
|
247
247
|
return this.mainApi.lockTask(id);
|
|
248
248
|
});
|
|
249
249
|
}
|
|
250
|
+
getInternalDefaultValue(param) {
|
|
251
|
+
return this.mainApi.getInternalDefaultValue(param);
|
|
252
|
+
}
|
|
250
253
|
static createConnector(isPublicSession, sessionExists) {
|
|
251
254
|
if (!isPublicSession || sessionExists) {
|
|
252
255
|
return new main_auth_1.MainAuth();
|
package/build/main-auth.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { Activity } from "./model/activity.bo";
|
|
|
14
14
|
import { EmailJob } from "./model/email-job";
|
|
15
15
|
import { SelectReportTemplatesRequest } from "./model/select-report-templates-request";
|
|
16
16
|
import { ActivityEmailHistory } from "./model/activity-email-history.bo";
|
|
17
|
+
import { InternalDefault } from "./enum/internal-default.enum";
|
|
17
18
|
export declare class MainAuth extends MainApiConnection {
|
|
18
19
|
private _boSerializer;
|
|
19
20
|
private _boFactory;
|
|
@@ -70,6 +71,7 @@ export declare class MainAuth extends MainApiConnection {
|
|
|
70
71
|
getReportTemplates(reportTemplateRequest: SelectReportTemplatesRequest): Promise<DataServiceResponseData>;
|
|
71
72
|
emailReport(printJob: EmailJob): Promise<DataServiceResponseData>;
|
|
72
73
|
getWorkflowProcessInfoPerStatus(workflowCategory: string): Promise<DataServiceResponseData>;
|
|
74
|
+
getInternalDefaultValue(param: InternalDefault): Promise<DataServiceResponseData>;
|
|
73
75
|
selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
74
76
|
private _call;
|
|
75
77
|
}
|
package/build/main-auth.js
CHANGED
|
@@ -685,6 +685,17 @@ class MainAuth extends main_api_connection_1.MainApiConnection {
|
|
|
685
685
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
686
686
|
});
|
|
687
687
|
}
|
|
688
|
+
getInternalDefaultValue(param) {
|
|
689
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
690
|
+
const data = {
|
|
691
|
+
moduleName: module_name_enum_1.ModuleName.General,
|
|
692
|
+
methodName: general_method_enum_1.GeneralMethod.GetDefaultValue,
|
|
693
|
+
parameterValues: { defaultName: param },
|
|
694
|
+
refCursorAsArray: true,
|
|
695
|
+
};
|
|
696
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
697
|
+
});
|
|
698
|
+
}
|
|
688
699
|
selectMultiple(moduleName, objectName, operationName, parameterValues, showLoader) {
|
|
689
700
|
if (showLoader === undefined) {
|
|
690
701
|
showLoader = false;
|
package/build/main-public.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ import { Activity } from "./model/activity.bo";
|
|
|
14
14
|
import { SelectReportTemplatesRequest } from "./model/select-report-templates-request";
|
|
15
15
|
import { EmailJob } from "./model/email-job";
|
|
16
16
|
import { ActivityEmailHistory } from "./model/activity-email-history.bo";
|
|
17
|
+
import { InternalDefault } from "./enum/internal-default.enum";
|
|
17
18
|
export declare class MainPublic extends MainApiConnection {
|
|
18
19
|
protected endPoint: string;
|
|
19
20
|
getSequenceValue(sequenceName: SequenceName, noSequence?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -69,6 +70,7 @@ export declare class MainPublic extends MainApiConnection {
|
|
|
69
70
|
getReportTemplates(reportTemplateRequest: SelectReportTemplatesRequest): Promise<DataServiceResponseData>;
|
|
70
71
|
emailReport(printJob: EmailJob): Promise<DataServiceResponseData>;
|
|
71
72
|
getWorkflowProcessInfoPerStatus(workflowCategoryName: string): Promise<DataServiceResponseData>;
|
|
73
|
+
getInternalDefaultValue(param: InternalDefault): Promise<DataServiceResponseData>;
|
|
72
74
|
selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
73
75
|
private createServiceRequestData;
|
|
74
76
|
private _call;
|
package/build/main-public.js
CHANGED
|
@@ -280,6 +280,10 @@ class MainPublic extends main_api_connection_1.MainApiConnection {
|
|
|
280
280
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
281
281
|
});
|
|
282
282
|
}
|
|
283
|
+
getInternalDefaultValue(param) {
|
|
284
|
+
console.warn('getInternalDefaultValue not implemented');
|
|
285
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
286
|
+
}
|
|
283
287
|
selectMultiple(moduleName, objectName, operationName, parameterValues, showLoader) {
|
|
284
288
|
console.warn('getOrderLineSetCategories not implemented');
|
|
285
289
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|