@colijnit/mainapi 262.1.14 → 262.1.16
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/data-mapping.enum.d.ts +2 -1
- package/build/enum/data-mapping.enum.js +1 -0
- package/build/enum/layout-code.enum.d.ts +3 -1
- package/build/enum/layout-code.enum.js +2 -0
- package/build/enum/master-data-object-name.enum.d.ts +2 -0
- package/build/enum/master-data-object-name.enum.js +2 -0
- package/build/enum/module-name.enum.d.ts +2 -0
- package/build/enum/module-name.enum.js +2 -0
- package/build/enum/relation-method.enum.d.ts +3 -0
- package/build/enum/relation-method.enum.js +7 -0
- package/build/enum/reporting-documents-method.enum.d.ts +6 -1
- package/build/enum/reporting-documents-method.enum.js +5 -0
- package/build/enum/simple-base-data-object-name.enum.d.ts +2 -1
- package/build/enum/simple-base-data-object-name.enum.js +1 -0
- package/build/main-api-connection.d.ts +21 -13
- package/build/main-api.d.ts +9 -1
- package/build/main-api.js +30 -0
- package/build/main-auth.d.ts +8 -0
- package/build/main-auth.js +58 -0
- package/build/main-public.d.ts +8 -0
- package/build/main-public.js +36 -0
- package/build/model/print-stock-stickers-request.d.ts +9 -0
- package/build/model/print-stock-stickers-request.js +7 -0
- package/build/model/print-transfer-stickers-request.d.ts +12 -0
- package/build/model/print-transfer-stickers-request.js +7 -0
- package/build/model/relation-light.bo.d.ts +7 -0
- package/build/model/relation-light.bo.js +21 -0
- package/package.json +1 -1
|
@@ -8,5 +8,7 @@ export declare enum LayoutCode {
|
|
|
8
8
|
OrderingSticker = "Bestelsticker",
|
|
9
9
|
PackageSticker = "Collisticker",
|
|
10
10
|
ServiceOrder = "Servicebon",
|
|
11
|
-
WorkOrder = "Werkbon"
|
|
11
|
+
WorkOrder = "Werkbon",
|
|
12
|
+
StockSticker = "Voorraadsticker",
|
|
13
|
+
TransferSticker = "Overboeksticker"
|
|
12
14
|
}
|
|
@@ -13,4 +13,6 @@ var LayoutCode;
|
|
|
13
13
|
LayoutCode["PackageSticker"] = "Collisticker";
|
|
14
14
|
LayoutCode["ServiceOrder"] = "Servicebon";
|
|
15
15
|
LayoutCode["WorkOrder"] = "Werkbon";
|
|
16
|
+
LayoutCode["StockSticker"] = "Voorraadsticker";
|
|
17
|
+
LayoutCode["TransferSticker"] = "Overboeksticker";
|
|
16
18
|
})(LayoutCode || (exports.LayoutCode = LayoutCode = {}));
|
|
@@ -3,6 +3,8 @@ export declare enum MasterDataObjectName {
|
|
|
3
3
|
Brand = "Brand",
|
|
4
4
|
Concept = "Concept",
|
|
5
5
|
ArticleGroup = "ArticleGroup",
|
|
6
|
+
BranchFullObject = "BranchFullObject",
|
|
7
|
+
BranchLOV = "BranchLov",
|
|
6
8
|
Country = "Country",
|
|
7
9
|
DeliveryMethod = "DeliveryMethod",
|
|
8
10
|
DeliveryOption = "DeliveryOption",
|
|
@@ -7,6 +7,8 @@ var MasterDataObjectName;
|
|
|
7
7
|
MasterDataObjectName["Brand"] = "Brand";
|
|
8
8
|
MasterDataObjectName["Concept"] = "Concept";
|
|
9
9
|
MasterDataObjectName["ArticleGroup"] = "ArticleGroup";
|
|
10
|
+
MasterDataObjectName["BranchFullObject"] = "BranchFullObject";
|
|
11
|
+
MasterDataObjectName["BranchLOV"] = "BranchLov";
|
|
10
12
|
MasterDataObjectName["Country"] = "Country";
|
|
11
13
|
MasterDataObjectName["DeliveryMethod"] = "DeliveryMethod";
|
|
12
14
|
MasterDataObjectName["DeliveryOption"] = "DeliveryOption";
|
|
@@ -7,6 +7,8 @@ var ModuleName;
|
|
|
7
7
|
ModuleName["Articles"] = "Articles";
|
|
8
8
|
ModuleName["Config"] = "Config";
|
|
9
9
|
ModuleName["Forms"] = "forms";
|
|
10
|
+
ModuleName["Financial"] = "Financial";
|
|
11
|
+
ModuleName["Finance"] = "Finance";
|
|
10
12
|
ModuleName["General"] = "General";
|
|
11
13
|
ModuleName["Preset"] = "Preset";
|
|
12
14
|
ModuleName["Relation"] = "Rel_man";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RelationMethod = void 0;
|
|
4
|
+
var RelationMethod;
|
|
5
|
+
(function (RelationMethod) {
|
|
6
|
+
RelationMethod["GetBranchesByWarehouseNumber"] = "getBranchesByWarehouseNumber";
|
|
7
|
+
})(RelationMethod || (exports.RelationMethod = RelationMethod = {}));
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export declare enum ReportingDocumentsMethod {
|
|
2
2
|
ListPrinters = "listAllPrinters",
|
|
3
3
|
GetPackageStickerPrintLayouts = "getPackageStickerPrintLayouts",
|
|
4
|
-
GetStandardPrinter = "GetStandardPrinter"
|
|
4
|
+
GetStandardPrinter = "GetStandardPrinter",
|
|
5
|
+
PrintStockStickers = "printStockStickers",
|
|
6
|
+
GetStockStickerEmailLayouts = "getStockStickerEmailLayouts",
|
|
7
|
+
GetStockStickerPrintLayouts = "getStockStickerPrintLayouts",
|
|
8
|
+
PrintTransferStickers = "printTransferStickers",
|
|
9
|
+
GetTransferStickerPrintLayouts = "getTransferStickerPrintLayouts"
|
|
5
10
|
}
|
|
@@ -6,4 +6,9 @@ var ReportingDocumentsMethod;
|
|
|
6
6
|
ReportingDocumentsMethod["ListPrinters"] = "listAllPrinters";
|
|
7
7
|
ReportingDocumentsMethod["GetPackageStickerPrintLayouts"] = "getPackageStickerPrintLayouts";
|
|
8
8
|
ReportingDocumentsMethod["GetStandardPrinter"] = "GetStandardPrinter";
|
|
9
|
+
ReportingDocumentsMethod["PrintStockStickers"] = "printStockStickers";
|
|
10
|
+
ReportingDocumentsMethod["GetStockStickerEmailLayouts"] = "getStockStickerEmailLayouts";
|
|
11
|
+
ReportingDocumentsMethod["GetStockStickerPrintLayouts"] = "getStockStickerPrintLayouts";
|
|
12
|
+
ReportingDocumentsMethod["PrintTransferStickers"] = "printTransferStickers";
|
|
13
|
+
ReportingDocumentsMethod["GetTransferStickerPrintLayouts"] = "getTransferStickerPrintLayouts";
|
|
9
14
|
})(ReportingDocumentsMethod || (exports.ReportingDocumentsMethod = ReportingDocumentsMethod = {}));
|
|
@@ -7,4 +7,5 @@ var SimpleBaseDataObjectName;
|
|
|
7
7
|
SimpleBaseDataObjectName["PaymentCondition"] = "PaymentCondition";
|
|
8
8
|
SimpleBaseDataObjectName["StoreGroup"] = "StoreGroup";
|
|
9
9
|
SimpleBaseDataObjectName["Container"] = "Container";
|
|
10
|
+
SimpleBaseDataObjectName["BranchWarehouse"] = "BranchWarehouse";
|
|
10
11
|
})(SimpleBaseDataObjectName || (exports.SimpleBaseDataObjectName = SimpleBaseDataObjectName = {}));
|
|
@@ -2,25 +2,27 @@ import { Subject } from 'rxjs';
|
|
|
2
2
|
import { Connector } from '@colijnit/ioneconnector';
|
|
3
3
|
import { SequenceName } from './enum/sequence-name.enum';
|
|
4
4
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
5
|
-
import { InternalParam } from
|
|
5
|
+
import { InternalParam } from './enum/internal-param.enum';
|
|
6
6
|
import { DomainName } from './enum/domain-name.enum';
|
|
7
|
-
import { TagCategory } from
|
|
8
|
-
import { TagTreeItem } from
|
|
9
|
-
import { Preset } from
|
|
7
|
+
import { TagCategory } from './enum/tab-category.enum';
|
|
8
|
+
import { TagTreeItem } from './model/tag-tree-item.bo';
|
|
9
|
+
import { Preset } from './model/preset.bo';
|
|
10
10
|
import { ReportType } from './enum/report-type.enum';
|
|
11
11
|
import { ModuleName } from './enum/module-name.enum';
|
|
12
|
-
import { TableName } from
|
|
13
|
-
import { CoDocument } from
|
|
14
|
-
import { Activity } from
|
|
15
|
-
import { SelectReportTemplatesRequest } from
|
|
16
|
-
import { EmailJob } from
|
|
17
|
-
import { ActivityEmailHistory } from
|
|
18
|
-
import { InternalDefault } from
|
|
19
|
-
import { EmailActivityRequest } from
|
|
12
|
+
import { TableName } from './enum/table-name.enum';
|
|
13
|
+
import { CoDocument } from './model/co-document.bo';
|
|
14
|
+
import { Activity } from './model/activity.bo';
|
|
15
|
+
import { SelectReportTemplatesRequest } from './model/select-report-templates-request';
|
|
16
|
+
import { EmailJob } from './model/email-job';
|
|
17
|
+
import { ActivityEmailHistory } from './model/activity-email-history.bo';
|
|
18
|
+
import { InternalDefault } from './enum/internal-default.enum';
|
|
19
|
+
import { EmailActivityRequest } from './model/email-activity-request';
|
|
20
20
|
import { FormResponse } from './model/form-response.bo';
|
|
21
|
-
import { Container } from
|
|
21
|
+
import { Container } from './model/container.bo';
|
|
22
22
|
import { PresetSearchRequest } from './model/preset-search-request';
|
|
23
23
|
import { PresetUser } from './model/preset-user.bo';
|
|
24
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
25
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
24
26
|
export declare abstract class MainApiConnection {
|
|
25
27
|
readonly showLoader: Subject<boolean>;
|
|
26
28
|
readonly connectionAborted: Subject<void>;
|
|
@@ -118,4 +120,10 @@ export declare abstract class MainApiConnection {
|
|
|
118
120
|
abstract deletePreset(preset: Preset): Promise<DataServiceResponseData>;
|
|
119
121
|
abstract getPinnedPresetUsers(request: PresetSearchRequest): Promise<DataServiceResponseData>;
|
|
120
122
|
abstract updatePresetUsers(presetUser: PresetUser): Promise<DataServiceResponseData>;
|
|
123
|
+
abstract getBranchesByWarehouseNumber(warehouseNo: number): Promise<DataServiceResponseData>;
|
|
124
|
+
abstract getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
125
|
+
abstract getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
126
|
+
abstract printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
127
|
+
abstract getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
128
|
+
abstract printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
121
129
|
}
|
package/build/main-api.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { InternalParam } from './enum/internal-param.enum';
|
|
|
7
7
|
import { DomainName } from './enum/domain-name.enum';
|
|
8
8
|
import { TagCategory } from './enum/tab-category.enum';
|
|
9
9
|
import { TagTreeItem } from './model/tag-tree-item.bo';
|
|
10
|
-
import { Preset } from './model/preset.bo';
|
|
11
10
|
import { ServerResponseData } from '@colijnit/ioneconnector/build/model/server-response-data';
|
|
12
11
|
import { ReportType } from './enum/report-type.enum';
|
|
13
12
|
import { ModuleName } from './enum/module-name.enum';
|
|
@@ -24,6 +23,9 @@ import { FormResponse } from './model/form-response.bo';
|
|
|
24
23
|
import { Container } from './model/container.bo';
|
|
25
24
|
import { PresetSearchRequest } from './model/preset-search-request';
|
|
26
25
|
import { PresetUser } from './model/preset-user.bo';
|
|
26
|
+
import { Preset } from './model/preset.bo';
|
|
27
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
28
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
27
29
|
export declare class MainApi {
|
|
28
30
|
readonly showLoader: Subject<boolean>;
|
|
29
31
|
readonly connectionAborted: Subject<void>;
|
|
@@ -134,6 +136,12 @@ export declare class MainApi {
|
|
|
134
136
|
getPresetUsers(request: PresetSearchRequest): Promise<DataServiceResponseData>;
|
|
135
137
|
getPinnedPresetUsers(request: PresetSearchRequest): Promise<DataServiceResponseData>;
|
|
136
138
|
updatePresetUsers(presetUser: PresetUser): Promise<DataServiceResponseData>;
|
|
139
|
+
getBranchesByWarehouseNumber(warehouseNo: number): Promise<DataServiceResponseData>;
|
|
140
|
+
getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
141
|
+
getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
142
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
143
|
+
getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
144
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
137
145
|
static createConnector(isPublicSession: boolean, sessionExists: boolean): MainApiConnection;
|
|
138
146
|
private _handleConnectionReset;
|
|
139
147
|
}
|
package/build/main-api.js
CHANGED
|
@@ -390,6 +390,36 @@ class MainApi {
|
|
|
390
390
|
return yield this.mainApi.updatePresetUsers(presetUser);
|
|
391
391
|
});
|
|
392
392
|
}
|
|
393
|
+
getBranchesByWarehouseNumber(warehouseNo) {
|
|
394
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
395
|
+
return yield this.mainApi.getBranchesByWarehouseNumber(warehouseNo);
|
|
396
|
+
});
|
|
397
|
+
}
|
|
398
|
+
getStockStickerEmailLayouts() {
|
|
399
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
400
|
+
return yield this.mainApi.getStockStickerEmailLayouts();
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
getStockStickerPrintLayouts() {
|
|
404
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
405
|
+
return yield this.mainApi.getStockStickerPrintLayouts();
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
printStockStickers(printStockStickersRequest) {
|
|
409
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
410
|
+
return yield this.mainApi.printStockStickers(printStockStickersRequest);
|
|
411
|
+
});
|
|
412
|
+
}
|
|
413
|
+
getTransferStickerPrintLayouts() {
|
|
414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
415
|
+
return yield this.mainApi.getTransferStickerPrintLayouts();
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
printTransferStickers(printTransferStickerRequest) {
|
|
419
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
420
|
+
return yield this.mainApi.printTransferStickers(printTransferStickerRequest);
|
|
421
|
+
});
|
|
422
|
+
}
|
|
393
423
|
static createConnector(isPublicSession, sessionExists) {
|
|
394
424
|
if (!isPublicSession || sessionExists) {
|
|
395
425
|
return new main_auth_1.MainAuth();
|
package/build/main-auth.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ import { FormResponse } from './model/form-response.bo';
|
|
|
20
20
|
import { Container } from './model/container.bo';
|
|
21
21
|
import { PresetSearchRequest } from './model/preset-search-request';
|
|
22
22
|
import { PresetUser } from './model/preset-user.bo';
|
|
23
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
24
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
23
25
|
export declare class MainAuth extends MainApiConnection {
|
|
24
26
|
private _boSerializer;
|
|
25
27
|
private _boFactory;
|
|
@@ -43,6 +45,11 @@ export declare class MainAuth extends MainApiConnection {
|
|
|
43
45
|
storeCustomerThreeDObject(filename: string, fileContents: string): Promise<DataServiceResponseData>;
|
|
44
46
|
getInternalParameterValue(param: InternalParam): Promise<DataServiceResponseData>;
|
|
45
47
|
getPackageStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
48
|
+
getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
49
|
+
getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
50
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
51
|
+
getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
52
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
46
53
|
getObjectConfigurations(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<DataServiceResponseData>;
|
|
47
54
|
getStoreGroups(): Promise<DataServiceResponseData>;
|
|
48
55
|
getDomainCollection(languageCode: string, domainName: DomainName): Promise<DataServiceResponseData>;
|
|
@@ -112,6 +119,7 @@ export declare class MainAuth extends MainApiConnection {
|
|
|
112
119
|
updateContainer(container: Container): Promise<DataServiceResponseData>;
|
|
113
120
|
createQRCode(width: number, height: number, value: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
114
121
|
getWarehousesShort(): Promise<DataServiceResponseData>;
|
|
122
|
+
getBranchesByWarehouseNumber(warehouseNo: number): Promise<DataServiceResponseData>;
|
|
115
123
|
selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
116
124
|
private _call;
|
|
117
125
|
private _callGetSingleImage;
|
package/build/main-auth.js
CHANGED
|
@@ -48,6 +48,7 @@ const file_upload_common_service_method_enum_1 = require("./enum/file-upload-com
|
|
|
48
48
|
const model_creation_method_enum_1 = require("./enum/model-creation-method.enum");
|
|
49
49
|
const forms_method_name_enum_1 = require("./enum/forms-method-name.enum");
|
|
50
50
|
const search_preset_service_method_enum_1 = require("./enum/search-preset-service.method.enum");
|
|
51
|
+
const relation_method_enum_1 = require("./enum/relation-method.enum");
|
|
51
52
|
class MainAuth extends main_api_connection_1.MainApiConnection {
|
|
52
53
|
constructor() {
|
|
53
54
|
super(...arguments);
|
|
@@ -267,6 +268,48 @@ class MainAuth extends main_api_connection_1.MainApiConnection {
|
|
|
267
268
|
};
|
|
268
269
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
269
270
|
}
|
|
271
|
+
getStockStickerEmailLayouts() {
|
|
272
|
+
const data = {
|
|
273
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
274
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.GetStockStickerEmailLayouts,
|
|
275
|
+
refCursorAsArray: true,
|
|
276
|
+
};
|
|
277
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
278
|
+
}
|
|
279
|
+
getStockStickerPrintLayouts() {
|
|
280
|
+
const data = {
|
|
281
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
282
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.GetStockStickerPrintLayouts,
|
|
283
|
+
refCursorAsArray: true,
|
|
284
|
+
};
|
|
285
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
286
|
+
}
|
|
287
|
+
printStockStickers(printStockStickersRequest) {
|
|
288
|
+
const data = {
|
|
289
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
290
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.PrintStockStickers,
|
|
291
|
+
parameterValues: printStockStickersRequest,
|
|
292
|
+
refCursorAsArray: true,
|
|
293
|
+
};
|
|
294
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
295
|
+
}
|
|
296
|
+
getTransferStickerPrintLayouts() {
|
|
297
|
+
const data = {
|
|
298
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
299
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.GetTransferStickerPrintLayouts,
|
|
300
|
+
refCursorAsArray: true,
|
|
301
|
+
};
|
|
302
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
303
|
+
}
|
|
304
|
+
printTransferStickers(printTransferStickerRequest) {
|
|
305
|
+
const data = {
|
|
306
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
307
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.PrintTransferStickers,
|
|
308
|
+
parameterValues: printTransferStickerRequest,
|
|
309
|
+
refCursorAsArray: true,
|
|
310
|
+
};
|
|
311
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
312
|
+
}
|
|
270
313
|
getObjectConfigurations(screenCfgModule, params = ['ALL'], insertMode = false) {
|
|
271
314
|
if (!Array.isArray(params)) {
|
|
272
315
|
params = [params];
|
|
@@ -1118,6 +1161,21 @@ class MainAuth extends main_api_connection_1.MainApiConnection {
|
|
|
1118
1161
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
1119
1162
|
});
|
|
1120
1163
|
}
|
|
1164
|
+
getBranchesByWarehouseNumber(warehouseNo) {
|
|
1165
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1166
|
+
const parameterValues = {
|
|
1167
|
+
warehouseNumber: warehouseNo
|
|
1168
|
+
};
|
|
1169
|
+
const data = {
|
|
1170
|
+
moduleName: module_name_enum_1.ModuleName.Relation,
|
|
1171
|
+
objectName: simple_base_data_object_name_enum_1.SimpleBaseDataObjectName.BranchWarehouse,
|
|
1172
|
+
operationName: relation_method_enum_1.RelationMethod.GetBranchesByWarehouseNumber,
|
|
1173
|
+
parameterValues: parameterValues,
|
|
1174
|
+
refCursorAsArray: true
|
|
1175
|
+
};
|
|
1176
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.SelectMultipleObjects, data);
|
|
1177
|
+
});
|
|
1178
|
+
}
|
|
1121
1179
|
selectMultiple(moduleName, objectName, operationName, parameterValues, showLoader) {
|
|
1122
1180
|
if (showLoader === undefined) {
|
|
1123
1181
|
showLoader = false;
|
package/build/main-public.d.ts
CHANGED
|
@@ -20,6 +20,8 @@ import { FormResponse } from './model/form-response.bo';
|
|
|
20
20
|
import { Container } from "./model/container.bo";
|
|
21
21
|
import { PresetSearchRequest } from './model/preset-search-request';
|
|
22
22
|
import { PresetUser } from './model/preset-user.bo';
|
|
23
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
24
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
23
25
|
export declare class MainPublic extends MainApiConnection {
|
|
24
26
|
protected endPoint: string;
|
|
25
27
|
getSequenceValue(sequenceName: SequenceName, noSequence?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -100,6 +102,7 @@ export declare class MainPublic extends MainApiConnection {
|
|
|
100
102
|
getPresetUsers(request: PresetSearchRequest): Promise<DataServiceResponseData>;
|
|
101
103
|
getPinnedPresetUsers(request: PresetSearchRequest): Promise<DataServiceResponseData>;
|
|
102
104
|
updatePresetUsers(presetUser: PresetUser): Promise<DataServiceResponseData>;
|
|
105
|
+
getBranchesByWarehouseNumber(warehouseNo: number): Promise<DataServiceResponseData>;
|
|
103
106
|
selectMultiple(moduleName: ModuleName, objectName: string, operationName?: string, parameterValues?: any, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
104
107
|
getSingleImage(nodeId: number | string, publication?: number, includeMimetype?: boolean, thumb?: boolean, tableName?: TableName): Promise<DataServiceResponseData>;
|
|
105
108
|
getImage(key: number | string, publication?: number, includeMimetype?: boolean, thumb?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -112,6 +115,11 @@ export declare class MainPublic extends MainApiConnection {
|
|
|
112
115
|
getContainerTypes(): Promise<DataServiceResponseData>;
|
|
113
116
|
createContainer(container: Container): Promise<DataServiceResponseData>;
|
|
114
117
|
updateContainer(container: Container): Promise<DataServiceResponseData>;
|
|
118
|
+
getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
119
|
+
getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
120
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
121
|
+
getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
122
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
115
123
|
private createServiceRequestData;
|
|
116
124
|
private _call;
|
|
117
125
|
private _callAjaxService;
|
package/build/main-public.js
CHANGED
|
@@ -410,6 +410,12 @@ class MainPublic extends main_api_connection_1.MainApiConnection {
|
|
|
410
410
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
|
+
getBranchesByWarehouseNumber(warehouseNo) {
|
|
414
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
415
|
+
console.warn('getBranchesByWarehouseNumber not implemented');
|
|
416
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
417
|
+
});
|
|
418
|
+
}
|
|
413
419
|
selectMultiple(moduleName, objectName, operationName, parameterValues, showLoader) {
|
|
414
420
|
console.warn('getOrderLineSetCategories not implemented');
|
|
415
421
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
@@ -498,6 +504,36 @@ class MainPublic extends main_api_connection_1.MainApiConnection {
|
|
|
498
504
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
499
505
|
});
|
|
500
506
|
}
|
|
507
|
+
getStockStickerEmailLayouts() {
|
|
508
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
509
|
+
console.warn("getStockStickerEmailLayouts not implemented");
|
|
510
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
511
|
+
});
|
|
512
|
+
}
|
|
513
|
+
getStockStickerPrintLayouts() {
|
|
514
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
515
|
+
console.warn("getStockStickerPrintLayouts not implemented");
|
|
516
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
517
|
+
});
|
|
518
|
+
}
|
|
519
|
+
printStockStickers(printStockStickersRequest) {
|
|
520
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
521
|
+
console.warn("printStockStickers not implemented");
|
|
522
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
523
|
+
});
|
|
524
|
+
}
|
|
525
|
+
getTransferStickerPrintLayouts() {
|
|
526
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
527
|
+
console.warn("getTransferStickerPrintLayouts not implemented");
|
|
528
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
529
|
+
});
|
|
530
|
+
}
|
|
531
|
+
printTransferStickers(printTransferStickerRequest) {
|
|
532
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
533
|
+
console.warn("printTransferStickers not implemented");
|
|
534
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
535
|
+
});
|
|
536
|
+
}
|
|
501
537
|
createServiceRequestData() {
|
|
502
538
|
const data = { languageCode: this.languageCode };
|
|
503
539
|
return data;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ReportingDocumentPrintSignDocBaseRequest } from './reporting-document-print-sign-doc-base-request';
|
|
2
|
+
export declare class PrintStockStickersRequest extends ReportingDocumentPrintSignDocBaseRequest {
|
|
3
|
+
goodId: number;
|
|
4
|
+
warehouse: number;
|
|
5
|
+
location: string;
|
|
6
|
+
batch: string;
|
|
7
|
+
serial: string;
|
|
8
|
+
amount: number;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrintStockStickersRequest = void 0;
|
|
4
|
+
const reporting_document_print_sign_doc_base_request_1 = require("./reporting-document-print-sign-doc-base-request");
|
|
5
|
+
class PrintStockStickersRequest extends reporting_document_print_sign_doc_base_request_1.ReportingDocumentPrintSignDocBaseRequest {
|
|
6
|
+
}
|
|
7
|
+
exports.PrintStockStickersRequest = PrintStockStickersRequest;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReportingDocumentPrintSignDocBaseRequest } from './reporting-document-print-sign-doc-base-request';
|
|
2
|
+
export declare class PrintTransferStickersRequest extends ReportingDocumentPrintSignDocBaseRequest {
|
|
3
|
+
goodId: number;
|
|
4
|
+
sourceWarehouse: number;
|
|
5
|
+
sourceLocation: string;
|
|
6
|
+
batch: string;
|
|
7
|
+
serial: string;
|
|
8
|
+
targetWarehouse: number;
|
|
9
|
+
targetLocation: string;
|
|
10
|
+
amount: number;
|
|
11
|
+
lineId: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrintTransferStickersRequest = void 0;
|
|
4
|
+
const reporting_document_print_sign_doc_base_request_1 = require("./reporting-document-print-sign-doc-base-request");
|
|
5
|
+
class PrintTransferStickersRequest extends reporting_document_print_sign_doc_base_request_1.ReportingDocumentPrintSignDocBaseRequest {
|
|
6
|
+
}
|
|
7
|
+
exports.PrintTransferStickersRequest = PrintTransferStickersRequest;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.RelationLight = void 0;
|
|
10
|
+
const business_object_1 = require("@colijnit/ioneconnector/build/model/business-object");
|
|
11
|
+
const business_object_data_decorator_1 = require("@colijnit/ioneconnector/build/factory/decorators/business-object-data.decorator");
|
|
12
|
+
const data_mapping_enum_1 = require("../enum/data-mapping.enum");
|
|
13
|
+
let RelationLight = class RelationLight extends business_object_1.BusinessObject {
|
|
14
|
+
};
|
|
15
|
+
exports.RelationLight = RelationLight;
|
|
16
|
+
exports.RelationLight = RelationLight = __decorate([
|
|
17
|
+
(0, business_object_data_decorator_1.BusinessObjectData)({
|
|
18
|
+
name: "RelationLight",
|
|
19
|
+
mapping: data_mapping_enum_1.DataMapping.Relation
|
|
20
|
+
})
|
|
21
|
+
], RelationLight);
|