@topconsultnpm/sdk-ts 6.20.0-dev2.2 → 6.20.0-dev2.4
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 +6 -0
- package/dist/types/Engine.d.ts +4 -0
- package/package.json +1 -1
package/dist/lib/Engine.js
CHANGED
|
@@ -350,6 +350,12 @@ export class BasketEngine extends BaseEngine {
|
|
|
350
350
|
ChangeStatusAsync(BTID, BID, newStatus, newAction) {
|
|
351
351
|
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
352
|
}
|
|
353
|
+
AddFileAsync(BTID, BID, batch, barcode, dateTime, fd, abortSignal) {
|
|
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, fd, abortSignal)); });
|
|
355
|
+
}
|
|
356
|
+
RemoveFilesAsync(BTID, BID, BFIDs) {
|
|
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
|
+
}
|
|
353
359
|
RetrieveFileAsync(BTID, BID, BFID, cvtFormat, abortSignal) {
|
|
354
360
|
return __awaiter(this, void 0, void 0, function* () {
|
|
355
361
|
var _a;
|
package/dist/types/Engine.d.ts
CHANGED
|
@@ -69,6 +69,8 @@ export declare class BasketEngine extends BaseEngine implements IBasketEngine {
|
|
|
69
69
|
UnlockAsync(BTID: number, BID: number): Promise<void | undefined>;
|
|
70
70
|
UnlockAllAsync(): Promise<void | undefined>;
|
|
71
71
|
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, fd: FileDescriptor, abortSignal?: AbortSignal): Promise<number | undefined>;
|
|
73
|
+
RemoveFilesAsync(BTID: number, BID: number, BFIDs: number[]): Promise<void | undefined>;
|
|
72
74
|
RetrieveFileAsync(BTID: number, BID: number, BFID: number, cvtFormat?: FileFormats, abortSignal?: AbortSignal | undefined): Promise<File>;
|
|
73
75
|
}
|
|
74
76
|
export declare class BasketTypeEngine extends BaseEngine implements IBasketTypeEngine {
|
|
@@ -1049,6 +1051,8 @@ export interface IBasketEngine {
|
|
|
1049
1051
|
UnlockAllAsync(): Promise<void>;
|
|
1050
1052
|
RetrieveFileAsync(BTID: number, BID: number, BFID: number, cvtFormat?: FileFormats, abortSignal?: AbortSignal | undefined): Promise<File | undefined>;
|
|
1051
1053
|
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, fd: FileDescriptor, abortSignal?: AbortSignal): Promise<number | undefined>;
|
|
1055
|
+
RemoveFilesAsync(BTID: number, BID: number, BFIDs: number[]): Promise<void>;
|
|
1052
1056
|
}
|
|
1053
1057
|
export interface IBasketTypeEngine extends IAdminEngine<BasketTypeDescriptor>, INotAdminEngine<BasketTypeDescriptor> {
|
|
1054
1058
|
RetrieveAllAsync(refreshCache?: boolean): Promise<BasketTypeDescriptor[] | undefined>;
|