@topconsultnpm/sdk-ts 6.20.0-dev2.3 → 6.20.0-dev2.5
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/dist/lib/Engine.js +8 -5
- package/dist/types/Engine.d.ts +7 -5
- package/package.json +1 -1
package/dist/lib/Engine.js
CHANGED
|
@@ -335,9 +335,6 @@ export class BasketEngine extends BaseEngine {
|
|
|
335
335
|
DeleteAsync(BTID, BID) {
|
|
336
336
|
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketDelete(BTID, BID)); });
|
|
337
337
|
}
|
|
338
|
-
RetrieveAllFilesAsync(BTID, BID, fromBFID, toBFID, excludeIgnore) {
|
|
339
|
-
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketRetrieveAllFiles(BTID, BID, fromBFID, toBFID, excludeIgnore ? 1 : 0)); });
|
|
340
|
-
}
|
|
341
338
|
LockAsync(BTID, BID, autoUnlock) {
|
|
342
339
|
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketLock(BTID, BID, autoUnlock)); });
|
|
343
340
|
}
|
|
@@ -350,12 +347,18 @@ export class BasketEngine extends BaseEngine {
|
|
|
350
347
|
ChangeStatusAsync(BTID, BID, newStatus, newAction) {
|
|
351
348
|
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketChangeStatus(BTID, BID, newStatus, newAction)); });
|
|
352
349
|
}
|
|
353
|
-
AddFileAsync(BTID, BID, batch, barcode, dateTime,
|
|
354
|
-
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketAddFile(BTID, BID, batch, barcode, dateTime,
|
|
350
|
+
AddFileAsync(BTID, BID, batch, barcode, dateTime, fd, abortSignal) {
|
|
351
|
+
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketAddFile(BTID, BID, batch, barcode, dateTime, fd, abortSignal)); });
|
|
352
|
+
}
|
|
353
|
+
RetrieveAllFilesAsync(BTID, BID, fromBFID, toBFID, excludeIgnore) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketRetrieveAllFiles(BTID, BID, fromBFID, toBFID, excludeIgnore ? 1 : 0)); });
|
|
355
355
|
}
|
|
356
356
|
RemoveFilesAsync(BTID, BID, BFIDs) {
|
|
357
357
|
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketRemoveFiles(BTID, BID, BFIDs)); });
|
|
358
358
|
}
|
|
359
|
+
SetFileBarcodeAsync(BTID, BID, BFID, barcode) {
|
|
360
|
+
return __awaiter(this, void 0, void 0, function* () { var _a; return yield ((_a = this.TMSClient) === null || _a === void 0 ? void 0 : _a.basketSetFileBarcode(BTID, BID, BFID, barcode)); });
|
|
361
|
+
}
|
|
359
362
|
RetrieveFileAsync(BTID, BID, BFID, cvtFormat, abortSignal) {
|
|
360
363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
361
364
|
var _a;
|
package/dist/types/Engine.d.ts
CHANGED
|
@@ -64,13 +64,14 @@ export declare class BasketEngine extends BaseEngine implements IBasketEngine {
|
|
|
64
64
|
RetrieveAllAsync(BTID: number, statusFilter: BasketStatus): Promise<BasketDescriptor[] | undefined>;
|
|
65
65
|
UpdateAsync(BTID: number, bd: BasketDescriptor): Promise<number | undefined>;
|
|
66
66
|
DeleteAsync(BTID: number, BID: number): Promise<number | undefined>;
|
|
67
|
-
RetrieveAllFilesAsync(BTID: number, BID: number, fromBFID: number, toBFID: number, excludeIgnore: boolean): Promise<BasketFileDescriptor[] | undefined>;
|
|
68
67
|
LockAsync(BTID: number, BID: number, autoUnlock: number): Promise<void | undefined>;
|
|
69
68
|
UnlockAsync(BTID: number, BID: number): Promise<void | undefined>;
|
|
70
69
|
UnlockAllAsync(): Promise<void | undefined>;
|
|
71
70
|
ChangeStatusAsync(BTID: number, BID: number, newStatus: BasketStatus, newAction: BasketActions): Promise<void | undefined>;
|
|
72
|
-
AddFileAsync(BTID: number, BID: number, batch: number, barcode: string | undefined, dateTime: Date | undefined,
|
|
71
|
+
AddFileAsync(BTID: number, BID: number, batch: number, barcode: string | undefined, dateTime: Date | undefined, fd: FileDescriptor, abortSignal?: AbortSignal): Promise<number | undefined>;
|
|
72
|
+
RetrieveAllFilesAsync(BTID: number, BID: number, fromBFID: number, toBFID: number, excludeIgnore: boolean): Promise<BasketFileDescriptor[] | undefined>;
|
|
73
73
|
RemoveFilesAsync(BTID: number, BID: number, BFIDs: number[]): Promise<void | undefined>;
|
|
74
|
+
SetFileBarcodeAsync(BTID: number, BID: number, BFID: number, barcode: string | undefined): Promise<void | undefined>;
|
|
74
75
|
RetrieveFileAsync(BTID: number, BID: number, BFID: number, cvtFormat?: FileFormats, abortSignal?: AbortSignal | undefined): Promise<File>;
|
|
75
76
|
}
|
|
76
77
|
export declare class BasketTypeEngine extends BaseEngine implements IBasketTypeEngine {
|
|
@@ -1045,14 +1046,15 @@ export interface IBasketEngine {
|
|
|
1045
1046
|
RetrieveAllAsync(BTID: number, statusFilter: BasketStatus): Promise<BasketDescriptor[] | undefined>;
|
|
1046
1047
|
UpdateAsync(BTID: number, bd: BasketDescriptor): Promise<number | undefined>;
|
|
1047
1048
|
DeleteAsync(BTID: number, BID: number): Promise<number | undefined>;
|
|
1048
|
-
RetrieveAllFilesAsync(BTID: number, BID: number, fromBFID: number, toBFID: number, excludeIgnore: boolean): Promise<BasketFileDescriptor[] | undefined>;
|
|
1049
1049
|
LockAsync(BTID: number, BID: number, autoUnlock: number): Promise<void>;
|
|
1050
1050
|
UnlockAsync(BTID: number, BID: number): Promise<void>;
|
|
1051
1051
|
UnlockAllAsync(): Promise<void>;
|
|
1052
|
-
RetrieveFileAsync(BTID: number, BID: number, BFID: number, cvtFormat?: FileFormats, abortSignal?: AbortSignal | undefined): Promise<File | undefined>;
|
|
1053
1052
|
ChangeStatusAsync(BTID: number, BID: number, newStatus: BasketStatus, newAction: BasketActions): Promise<void>;
|
|
1054
|
-
AddFileAsync(BTID: number, BID: number, batch: number, barcode: string | undefined, dateTime: Date | undefined,
|
|
1053
|
+
AddFileAsync(BTID: number, BID: number, batch: number, barcode: string | undefined, dateTime: Date | undefined, fd: FileDescriptor, abortSignal?: AbortSignal): Promise<number | undefined>;
|
|
1054
|
+
RetrieveAllFilesAsync(BTID: number, BID: number, fromBFID: number, toBFID: number, excludeIgnore: boolean): Promise<BasketFileDescriptor[] | undefined>;
|
|
1055
1055
|
RemoveFilesAsync(BTID: number, BID: number, BFIDs: number[]): Promise<void>;
|
|
1056
|
+
SetFileBarcodeAsync(BTID: number, BID: number, BFID: number, barcode: string | undefined): Promise<void>;
|
|
1057
|
+
RetrieveFileAsync(BTID: number, BID: number, BFID: number, cvtFormat?: FileFormats, abortSignal?: AbortSignal | undefined): Promise<File | undefined>;
|
|
1056
1058
|
}
|
|
1057
1059
|
export interface IBasketTypeEngine extends IAdminEngine<BasketTypeDescriptor>, INotAdminEngine<BasketTypeDescriptor> {
|
|
1058
1060
|
RetrieveAllAsync(refreshCache?: boolean): Promise<BasketTypeDescriptor[] | undefined>;
|