@colijnit/mainapi 261.1.13 → 261.1.14
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/layout-code.enum.d.ts +3 -1
- package/build/enum/layout-code.enum.js +2 -0
- package/build/enum/reporting-documents-method.enum.d.ts +6 -1
- package/build/enum/reporting-documents-method.enum.js +5 -0
- package/build/main-api-connection.d.ts +7 -0
- package/build/main-api.d.ts +7 -0
- package/build/main-api.js +25 -0
- package/build/main-auth.d.ts +7 -0
- package/build/main-auth.js +42 -0
- package/build/main-public.d.ts +7 -0
- package/build/main-public.js +30 -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/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 = {}));
|
|
@@ -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 = {}));
|
|
@@ -18,6 +18,8 @@ import { ActivityEmailHistory } from "./model/activity-email-history.bo";
|
|
|
18
18
|
import { InternalDefault } from "./enum/internal-default.enum";
|
|
19
19
|
import { EmailActivityRequest } from "./model/email-activity-request";
|
|
20
20
|
import { FormResponse } from './model/form-response.bo';
|
|
21
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
22
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
21
23
|
import { Container } from "./model/container.bo";
|
|
22
24
|
export declare abstract class MainApiConnection {
|
|
23
25
|
readonly showLoader: Subject<boolean>;
|
|
@@ -111,4 +113,9 @@ export declare abstract class MainApiConnection {
|
|
|
111
113
|
abstract updateContainer(container: Container): Promise<DataServiceResponseData>;
|
|
112
114
|
abstract getWarehousesShort(): Promise<DataServiceResponseData>;
|
|
113
115
|
abstract createQRCode(width: number, height: number, value: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
116
|
+
abstract getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
117
|
+
abstract getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
118
|
+
abstract printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
119
|
+
abstract getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
120
|
+
abstract printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
114
121
|
}
|
package/build/main-api.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ import { ActivityEmailHistory } from "./model/activity-email-history.bo";
|
|
|
21
21
|
import { InternalDefault } from "./enum/internal-default.enum";
|
|
22
22
|
import { EmailActivityRequest } from "./model/email-activity-request";
|
|
23
23
|
import { FormResponse } from './model/form-response.bo';
|
|
24
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
25
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
24
26
|
import { Container } from "./model/container.bo";
|
|
25
27
|
export declare class MainApi {
|
|
26
28
|
readonly showLoader: Subject<boolean>;
|
|
@@ -128,5 +130,10 @@ export declare class MainApi {
|
|
|
128
130
|
getWarehousesShort(): Promise<DataServiceResponseData>;
|
|
129
131
|
createQRCode(width: number, height: number, value: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
130
132
|
static createConnector(isPublicSession: boolean, sessionExists: boolean): MainApiConnection;
|
|
133
|
+
getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
134
|
+
getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
135
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
136
|
+
getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
137
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
131
138
|
private _handleConnectionReset;
|
|
132
139
|
}
|
package/build/main-api.js
CHANGED
|
@@ -373,6 +373,31 @@ class MainApi {
|
|
|
373
373
|
}
|
|
374
374
|
return new main_public_1.MainPublic();
|
|
375
375
|
}
|
|
376
|
+
getStockStickerEmailLayouts() {
|
|
377
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
378
|
+
return yield this.mainApi.getStockStickerEmailLayouts();
|
|
379
|
+
});
|
|
380
|
+
}
|
|
381
|
+
getStockStickerPrintLayouts() {
|
|
382
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
383
|
+
return yield this.mainApi.getStockStickerPrintLayouts();
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
printStockStickers(printStockStickersRequest) {
|
|
387
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
388
|
+
return yield this.mainApi.printStockStickers(printStockStickersRequest);
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
getTransferStickerPrintLayouts() {
|
|
392
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
393
|
+
return yield this.mainApi.getTransferStickerPrintLayouts();
|
|
394
|
+
});
|
|
395
|
+
}
|
|
396
|
+
printTransferStickers(printTransferStickerRequest) {
|
|
397
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
398
|
+
return yield this.mainApi.printTransferStickers(printTransferStickerRequest);
|
|
399
|
+
});
|
|
400
|
+
}
|
|
376
401
|
_handleConnectionReset() {
|
|
377
402
|
this.connectionResetInactivity.next();
|
|
378
403
|
}
|
package/build/main-auth.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ import { InternalDefault } from './enum/internal-default.enum';
|
|
|
18
18
|
import { EmailActivityRequest } from './model/email-activity-request';
|
|
19
19
|
import { FormResponse } from './model/form-response.bo';
|
|
20
20
|
import { Container } from "./model/container.bo";
|
|
21
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
22
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
21
23
|
export declare class MainAuth extends MainApiConnection {
|
|
22
24
|
private _boSerializer;
|
|
23
25
|
private _boFactory;
|
|
@@ -41,6 +43,11 @@ export declare class MainAuth extends MainApiConnection {
|
|
|
41
43
|
uploadModelToCDN(filename: string, fileContents: string): Promise<DataServiceResponseData>;
|
|
42
44
|
getInternalParameterValue(param: InternalParam): Promise<DataServiceResponseData>;
|
|
43
45
|
getPackageStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
46
|
+
getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
47
|
+
getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
48
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
49
|
+
getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
50
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
44
51
|
getObjectConfigurations(screenCfgModule: string, params?: string | string[], insertMode?: boolean): Promise<DataServiceResponseData>;
|
|
45
52
|
getStoreGroups(): Promise<DataServiceResponseData>;
|
|
46
53
|
getDomainCollection(languageCode: string, domainName: DomainName): Promise<DataServiceResponseData>;
|
package/build/main-auth.js
CHANGED
|
@@ -266,6 +266,48 @@ class MainAuth extends main_api_connection_1.MainApiConnection {
|
|
|
266
266
|
};
|
|
267
267
|
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
268
268
|
}
|
|
269
|
+
getStockStickerEmailLayouts() {
|
|
270
|
+
const data = {
|
|
271
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
272
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.GetStockStickerEmailLayouts,
|
|
273
|
+
refCursorAsArray: true,
|
|
274
|
+
};
|
|
275
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
276
|
+
}
|
|
277
|
+
getStockStickerPrintLayouts() {
|
|
278
|
+
const data = {
|
|
279
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
280
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.GetStockStickerPrintLayouts,
|
|
281
|
+
refCursorAsArray: true,
|
|
282
|
+
};
|
|
283
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
284
|
+
}
|
|
285
|
+
printStockStickers(printStockStickersRequest) {
|
|
286
|
+
const data = {
|
|
287
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
288
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.PrintStockStickers,
|
|
289
|
+
parameterValues: printStockStickersRequest,
|
|
290
|
+
refCursorAsArray: true,
|
|
291
|
+
};
|
|
292
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
293
|
+
}
|
|
294
|
+
getTransferStickerPrintLayouts() {
|
|
295
|
+
const data = {
|
|
296
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
297
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.GetTransferStickerPrintLayouts,
|
|
298
|
+
refCursorAsArray: true,
|
|
299
|
+
};
|
|
300
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
301
|
+
}
|
|
302
|
+
printTransferStickers(printTransferStickerRequest) {
|
|
303
|
+
const data = {
|
|
304
|
+
moduleName: module_name_enum_1.ModuleName.ReportingDocuments,
|
|
305
|
+
methodName: reporting_documents_method_enum_1.ReportingDocumentsMethod.PrintTransferStickers,
|
|
306
|
+
parameterValues: printTransferStickerRequest,
|
|
307
|
+
refCursorAsArray: true,
|
|
308
|
+
};
|
|
309
|
+
return this._call(data_service_method_enum_1.DataServiceMethod.ExecuteMethod, data);
|
|
310
|
+
}
|
|
269
311
|
getObjectConfigurations(screenCfgModule, params = ['ALL'], insertMode = false) {
|
|
270
312
|
if (!Array.isArray(params)) {
|
|
271
313
|
params = [params];
|
package/build/main-public.d.ts
CHANGED
|
@@ -18,6 +18,8 @@ import { InternalDefault } from './enum/internal-default.enum';
|
|
|
18
18
|
import { EmailActivityRequest } from './model/email-activity-request';
|
|
19
19
|
import { FormResponse } from './model/form-response.bo';
|
|
20
20
|
import { Container } from "./model/container.bo";
|
|
21
|
+
import { PrintStockStickersRequest } from './model/print-stock-stickers-request';
|
|
22
|
+
import { PrintTransferStickersRequest } from './model/print-transfer-stickers-request';
|
|
21
23
|
export declare class MainPublic extends MainApiConnection {
|
|
22
24
|
protected endPoint: string;
|
|
23
25
|
getSequenceValue(sequenceName: SequenceName, noSequence?: boolean): Promise<DataServiceResponseData>;
|
|
@@ -52,6 +54,11 @@ export declare class MainPublic extends MainApiConnection {
|
|
|
52
54
|
getPreset(presetId: string): Promise<DataServiceResponseData>;
|
|
53
55
|
savePreset(preset: Preset): Promise<DataServiceResponseData>;
|
|
54
56
|
updatePreset(presetName: string): Promise<DataServiceResponseData>;
|
|
57
|
+
getStockStickerEmailLayouts(): Promise<DataServiceResponseData>;
|
|
58
|
+
getStockStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
59
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<DataServiceResponseData>;
|
|
60
|
+
getTransferStickerPrintLayouts(): Promise<DataServiceResponseData>;
|
|
61
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<DataServiceResponseData>;
|
|
55
62
|
getOrderLineSetCategories(): Promise<DataServiceResponseData>;
|
|
56
63
|
getPostalCodeRetrieval(postalCode: string, houseNumber: string, showLoader?: boolean): Promise<DataServiceResponseData>;
|
|
57
64
|
getHistoricActivities(table: TableName, key: string): Promise<DataServiceResponseData>;
|
package/build/main-public.js
CHANGED
|
@@ -194,6 +194,36 @@ class MainPublic extends main_api_connection_1.MainApiConnection {
|
|
|
194
194
|
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
195
195
|
});
|
|
196
196
|
}
|
|
197
|
+
getStockStickerEmailLayouts() {
|
|
198
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
199
|
+
console.warn("getStockStickerEmailLayouts not implemented");
|
|
200
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
getStockStickerPrintLayouts() {
|
|
204
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
205
|
+
console.warn("getStockStickerPrintLayouts not implemented");
|
|
206
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
printStockStickers(printStockStickersRequest) {
|
|
210
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
211
|
+
console.warn("printStockStickers not implemented");
|
|
212
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
getTransferStickerPrintLayouts() {
|
|
216
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
217
|
+
console.warn("getTransferStickerPrintLayouts not implemented");
|
|
218
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
printTransferStickers(printTransferStickerRequest) {
|
|
222
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
223
|
+
console.warn("printTransferStickers not implemented");
|
|
224
|
+
return Promise.resolve(new data_service_response_data_1.DataServiceResponseData());
|
|
225
|
+
});
|
|
226
|
+
}
|
|
197
227
|
getOrderLineSetCategories() {
|
|
198
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
199
229
|
console.warn('getOrderLineSetCategories not implemented');
|
|
@@ -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;
|