@danidoble/webserial 4.5.0 → 4.6.0-beta.1
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/boardroid.js +1 -1
- package/dist/jofemar.js +1 -1
- package/dist/jsd.cjs +1 -1
- package/dist/jsd.js +1014 -229
- package/dist/{kernel-D9C1iBu-.js → kernel-ClC2wiQo.js} +3 -3
- package/dist/kernel.js +1 -1
- package/dist/locker.js +1 -1
- package/dist/pinpad.cjs +14 -14
- package/dist/pinpad.js +882 -832
- package/dist/pinpax.js +1 -1
- package/dist/relay.js +1 -1
- package/dist/types/lib/commands/jsd/applications/licensing.d.ts +7 -0
- package/dist/types/lib/commands/jsd/applications/licensing.d.ts.map +1 -1
- package/dist/types/lib/commands/jsd/applications/mdbCardHolder.d.ts +178 -0
- package/dist/types/lib/commands/jsd/applications/mdbCardHolder.d.ts.map +1 -0
- package/dist/types/lib/commands/jsd/frames/licensing/licensingClient.d.ts +5 -0
- package/dist/types/lib/commands/jsd/frames/licensing/licensingClient.d.ts.map +1 -1
- package/dist/types/lib/commands/jsd/frames/licensing/opCodes.d.ts +3 -0
- package/dist/types/lib/commands/jsd/frames/licensing/opCodes.d.ts.map +1 -1
- package/dist/types/lib/commands/jsd/frames/mdb-card-holder/mdbCardHolderClient.d.ts +114 -0
- package/dist/types/lib/commands/jsd/frames/mdb-card-holder/mdbCardHolderClient.d.ts.map +1 -0
- package/dist/types/lib/commands/jsd/frames/mdb-card-holder/opCodes.d.ts +52 -0
- package/dist/types/lib/commands/jsd/frames/mdb-card-holder/opCodes.d.ts.map +1 -0
- package/dist/types/lib/commands/jsd/types/LicensingClient.d.ts +13 -0
- package/dist/types/lib/commands/jsd/types/LicensingClient.d.ts.map +1 -1
- package/dist/types/lib/commands/jsd/types/mdbCardHolder.types.d.ts +200 -0
- package/dist/types/lib/commands/jsd/types/mdbCardHolder.types.d.ts.map +1 -0
- package/dist/types/lib/commands/jsd/utils/aplications.d.ts +18 -0
- package/dist/types/lib/commands/jsd/utils/aplications.d.ts.map +1 -1
- package/dist/types/lib/serial/jsd.d.ts +2 -0
- package/dist/types/lib/serial/jsd.d.ts.map +1 -1
- package/dist/webserial.js +6 -6
- package/package.json +5 -5
package/dist/pinpax.js
CHANGED
package/dist/relay.js
CHANGED
|
@@ -41,6 +41,11 @@ export declare class Licensing {
|
|
|
41
41
|
requestLicenseActivation({ license }: {
|
|
42
42
|
license: string;
|
|
43
43
|
}): Promise<void>;
|
|
44
|
+
/**
|
|
45
|
+
* Request JSD identification information.
|
|
46
|
+
* @returns Promise resolving when the command is sent.
|
|
47
|
+
*/
|
|
48
|
+
requestJsdIdentification(): Promise<void>;
|
|
44
49
|
private _base64ToUint8Array;
|
|
45
50
|
serialMessage(parsed: VisionResponse): void;
|
|
46
51
|
private emit;
|
|
@@ -48,5 +53,7 @@ export declare class Licensing {
|
|
|
48
53
|
private _responseFeatureStatus;
|
|
49
54
|
private _responseSeedData;
|
|
50
55
|
private _responseTemporaryLicenseStatus;
|
|
56
|
+
private _responseLisensingReport;
|
|
57
|
+
private _responseJsdIdentification;
|
|
51
58
|
}
|
|
52
59
|
//# sourceMappingURL=licensing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"licensing.d.ts","sourceRoot":"","sources":["../../../../../../lib/commands/jsd/applications/licensing.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAIlE,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAG9C;;;GAGG;AACH,qBAAa,SAAS;IACpB,OAAO,CAAC,SAAS,CAAkB;IACnC,OAAO,CAAC,GAAG,CAAM;IAEjB,SAAgB,MAAM,EAAE,OAAO,MAAM,CAAC,SAAS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O,CAAC,IAAI,CAAC;IAIlF;;;OAGG;IACU,6BAA6B,IAAI,OAAO,CAAC,IAAI,CAAC;IAI3D;;;OAGG;IACU,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC;IAI7C;;;;;OAKG;IACU,wBAAwB,CAAC,EAAE,OAAO,EAAE,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAOtF;;;OAGG;IACU,wBAAwB,IAAI,OAAO,CAAC,IAAI,CAAC;IAKtD,OAAO,CAAC,mBAAmB;IAkBpB,aAAa,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI;IAuBlD,OAAO,CAAC,IAAI;IAIZ,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,sBAAsB;IAO9B,OAAO,CAAC,iBAAiB;IAoCzB,OAAO,CAAC,+BAA+B;IAoBvC,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,0BAA0B;CAQnC"}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import type { TransportProtocol } from '../types/transport.types';
|
|
2
|
+
import type { JSD } from '../../../serial/jsd';
|
|
3
|
+
import type { VisionResponse } from '../protocol/responseHandler';
|
|
4
|
+
import type { DEVICE_NUMBER, SelectionRequestDeniedReasonCode } from '../types/mdbCardHolder.types';
|
|
5
|
+
import { APP_NO } from '../utils/aplications';
|
|
6
|
+
/**
|
|
7
|
+
* Application layer for MDB Card Holder operations.
|
|
8
|
+
* Handles high-level logic and event emission for MDB Card Holder.
|
|
9
|
+
*/
|
|
10
|
+
export declare class MdbCardHolder {
|
|
11
|
+
private _commands;
|
|
12
|
+
private jsd;
|
|
13
|
+
readonly APP_ID: typeof APP_NO.PERIFERIC_MDB_CARD;
|
|
14
|
+
private _config;
|
|
15
|
+
constructor(jsd: JSD, transport: TransportProtocol);
|
|
16
|
+
private send;
|
|
17
|
+
private get cmd();
|
|
18
|
+
private config;
|
|
19
|
+
/**
|
|
20
|
+
* Opcode 100: Request for status of the MDB Card Holder device.
|
|
21
|
+
* @param options.deviceNumber The device number to request status for. Defaults to 1.
|
|
22
|
+
* @returns Promise resolving when the command is sent.
|
|
23
|
+
*/
|
|
24
|
+
requestStatus({ deviceNumber }?: {
|
|
25
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Opcode 101: Request for identification of the MDB Card Holder device.
|
|
29
|
+
* @param options.deviceNumber The device number to request identification for. Defaults to 1.
|
|
30
|
+
* @returns Promise resolving when the command is sent.
|
|
31
|
+
*/
|
|
32
|
+
requestIdentification({ deviceNumber }?: {
|
|
33
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
34
|
+
}): Promise<void>;
|
|
35
|
+
/**
|
|
36
|
+
* Opcode 102: Request for configuration of the MDB Card Holder device.
|
|
37
|
+
* @param options.deviceNumber The device number to request configuration for. Defaults to 1.
|
|
38
|
+
* @returns Promise resolving when the command is sent.
|
|
39
|
+
*/
|
|
40
|
+
requestConfiguration({ deviceNumber }?: {
|
|
41
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
42
|
+
}): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Opcode 103: Request for functionalities configuration of the MDB Card Holder device.
|
|
45
|
+
* @param options.deviceNumber The device number to request functionalities configuration for. Defaults to 1.
|
|
46
|
+
* @param options.alwaysIdle Whether the device should always be idle (true) or not (false).
|
|
47
|
+
* @param options.remoteVend Whether remote vend is enabled (true) or not (false).
|
|
48
|
+
* @returns Promise resolving when the command is sent.
|
|
49
|
+
*/
|
|
50
|
+
requestSetFunctionalitiesConfiguration({ deviceNumber, alwaysIdle, remoteVend, }?: {
|
|
51
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
52
|
+
alwaysIdle: boolean;
|
|
53
|
+
remoteVend: boolean;
|
|
54
|
+
}): Promise<void>;
|
|
55
|
+
/**
|
|
56
|
+
* Opcode 103: Request for functionalities configuration of the MDB Card Holder device.
|
|
57
|
+
* @param options.deviceNumber The device number to request functionalities configuration for. Defaults to 1.
|
|
58
|
+
* @returns Promise resolving when the command is sent.
|
|
59
|
+
*/
|
|
60
|
+
requestGetFunctionalitiesConfiguration({ deviceNumber, }?: {
|
|
61
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
62
|
+
}): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Opcode 104: Request to enable or disable the MDB Card Holder device.
|
|
65
|
+
* @param options.deviceNumber The device number to request enable for. Defaults to 1.
|
|
66
|
+
* @param options.enable Whether to enable (true) or disable (false) the device.
|
|
67
|
+
* @returns Promise resolving when the command is sent.
|
|
68
|
+
*/
|
|
69
|
+
requestEnable({ deviceNumber, enable }?: {
|
|
70
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
71
|
+
enable: boolean;
|
|
72
|
+
}): Promise<void>;
|
|
73
|
+
/**
|
|
74
|
+
* Opcode 105: Request for balance data of the MDB Card Holder device.
|
|
75
|
+
* @param options.deviceNumber The device number to request balance data for. Defaults to 1.
|
|
76
|
+
* @returns Promise resolving when the command is sent.
|
|
77
|
+
*/
|
|
78
|
+
requestBalanceData({ deviceNumber }?: {
|
|
79
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
80
|
+
}): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Opcode 106: Request for sale approval of the MDB Card Holder device.
|
|
83
|
+
* @param options.deviceNumber The device number to request sale approval for. Defaults to 1.
|
|
84
|
+
* @param options.amount The amount for the sale approval.
|
|
85
|
+
* @param options.productId The product ID for the sale approval. Defaults to null.
|
|
86
|
+
* @returns Promise resolving when the command is sent.
|
|
87
|
+
*/
|
|
88
|
+
requestSaleApproval({ deviceNumber, amount, productId }?: {
|
|
89
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
90
|
+
amount: number;
|
|
91
|
+
productId?: number;
|
|
92
|
+
}): Promise<void>;
|
|
93
|
+
/**
|
|
94
|
+
* Opcode 107: Request for sale cancellation of the MDB Card Holder device.
|
|
95
|
+
* @param options.deviceNumber The device number to request sale cancellation for. Defaults to 1.
|
|
96
|
+
* @returns Promise resolving when the command is sent.
|
|
97
|
+
*/
|
|
98
|
+
requestSaleCancellation({ deviceNumber }?: {
|
|
99
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
100
|
+
}): Promise<void>;
|
|
101
|
+
/**
|
|
102
|
+
* Opcode 108: Request for sale success confirmation of the MDB Card Holder device.
|
|
103
|
+
* @param options.deviceNumber The device number to request sale success confirmation for. Defaults to 1.
|
|
104
|
+
* @returns Promise resolving when the command is sent.
|
|
105
|
+
*/
|
|
106
|
+
requestSaleSuccessConfirmation({ deviceNumber }?: {
|
|
107
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
108
|
+
}): Promise<void>;
|
|
109
|
+
/**
|
|
110
|
+
* Opcode 109: Request for sale failure confirmation of the MDB Card Holder device.
|
|
111
|
+
* @param options.deviceNumber The device number to request sale failure confirmation for. Defaults to 1.
|
|
112
|
+
* @returns Promise resolving when the command is sent.
|
|
113
|
+
*/
|
|
114
|
+
requestSaleFailureConfirmation({ deviceNumber }?: {
|
|
115
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
116
|
+
}): Promise<void>;
|
|
117
|
+
/**
|
|
118
|
+
* Opcode 110: Request to end session of the MDB Card Holder device.
|
|
119
|
+
* @param options.deviceNumber The device number to request end session for. Defaults to 1.
|
|
120
|
+
* @returns Promise resolving when the command is sent.
|
|
121
|
+
*/
|
|
122
|
+
requestEndSession({ deviceNumber }?: {
|
|
123
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
124
|
+
}): Promise<void>;
|
|
125
|
+
/**
|
|
126
|
+
* Opcode 111: Request for cash record of the MDB Card Holder device.
|
|
127
|
+
* @param options.deviceNumber The device number to request cash record for. Defaults to 1.
|
|
128
|
+
* @param options.amount The amount for the cash record.
|
|
129
|
+
* @param options.productId The product ID for the cash record. Defaults to null.
|
|
130
|
+
* @returns Promise resolving when the command is sent.
|
|
131
|
+
*/
|
|
132
|
+
requestCashRecord({ deviceNumber, amount, productId }?: {
|
|
133
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
134
|
+
amount: number;
|
|
135
|
+
productId?: number;
|
|
136
|
+
}): Promise<void>;
|
|
137
|
+
/**
|
|
138
|
+
* Opcode 112: Request for selection request denied of the MDB Card Holder device.
|
|
139
|
+
* @param options.deviceNumber The device number to request selection request denied for. Defaults to 1.
|
|
140
|
+
* @param options.reasonCode The reason code for the selection request denial.
|
|
141
|
+
* @returns Promise resolving when the command is sent.
|
|
142
|
+
*/
|
|
143
|
+
requestSelectionRequestDenied({ deviceNumber, reasonCode }?: {
|
|
144
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
145
|
+
reasonCode: SelectionRequestDeniedReasonCode;
|
|
146
|
+
}): Promise<void>;
|
|
147
|
+
/**
|
|
148
|
+
* Opcode 113: Request for revalue of the MDB Card Holder device.
|
|
149
|
+
* @param options.deviceNumber The device number to request revalue for. Defaults to 1.
|
|
150
|
+
* @param options.amount The amount for the revalue.
|
|
151
|
+
* @returns Promise resolving when the command is sent.
|
|
152
|
+
*/
|
|
153
|
+
requestRevalue({ deviceNumber, amount }?: {
|
|
154
|
+
deviceNumber?: DEVICE_NUMBER;
|
|
155
|
+
amount: number;
|
|
156
|
+
}): Promise<void>;
|
|
157
|
+
serialMessage(parsed: VisionResponse): void;
|
|
158
|
+
private emit;
|
|
159
|
+
private _responseCmdWrong;
|
|
160
|
+
private _responseCondition;
|
|
161
|
+
private _responseIdentification;
|
|
162
|
+
private _responseConfiguration;
|
|
163
|
+
private _responseFeatureConfiguration;
|
|
164
|
+
private _responseAuthorization;
|
|
165
|
+
private _responseBalanceStatement;
|
|
166
|
+
private _responseSaleApproval;
|
|
167
|
+
private _responseSaleCancellation;
|
|
168
|
+
private _responseSaleSuccessConfirmation;
|
|
169
|
+
private _responseSaleFailureConfirmation;
|
|
170
|
+
private _responseEndSession;
|
|
171
|
+
private _responseSelectionRequest;
|
|
172
|
+
private _responseRevalue;
|
|
173
|
+
private _responseDisplayMessage;
|
|
174
|
+
private _responseJsdErrorLicenseTemporarilyBlocked;
|
|
175
|
+
private _responseJsdErrorLicenseNotActive;
|
|
176
|
+
private _responseJsdErrorCommandNotExecutable;
|
|
177
|
+
}
|
|
178
|
+
//# sourceMappingURL=mdbCardHolder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mdbCardHolder.d.ts","sourceRoot":"","sources":["../../../../../../lib/commands/jsd/applications/mdbCardHolder.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAGlE,OAAO,KAAK,EACV,aAAa,EAYb,gCAAgC,EACjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAkD9C;;;GAGG;AACH,qBAAa,aAAa;IACxB,OAAO,CAAC,SAAS,CAAsB;IACvC,OAAO,CAAC,GAAG,CAAM;IAEjB,SAAgB,MAAM,EAAE,OAAO,MAAM,CAAC,kBAAkB,CAA6B;IAErF,OAAO,CAAC,OAAO,CAGb;gBAEU,GAAG,EAAE,GAAG,EAAE,SAAS,EAAE,iBAAiB;YAKpC,IAAI;IAgBlB,OAAO,KAAK,GAAG,GAEd;IAED,OAAO,CAAC,MAAM;IAOd;;;;OAIG;IACU,aAAa,CAAC,EAAE,YAAY,EAAE,GAAE;QAAE,YAAY,CAAC,EAAE,aAAa,CAAA;KAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAKlG;;;;OAIG;IACU,qBAAqB,CAAC,EAAE,YAAY,EAAE,GAAE;QAAE,YAAY,CAAC,EAAE,aAAa,CAAA;KAAO,GAAG,OAAO,CAAC,IAAI,CAAC;IAK1G;;;;OAIG;IACU,oBAAo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AO,CAAC,gCAAgC;IAwBxC,OAAO,CAAC,mBAAmB;IAsB3B,OAAO,CAAC,yBAAyB;IAyCjC,OAAO,CAAC,gBAAgB;IAwBxB,OAAO,CAAC,uBAAuB;IAe/B,OAAO,CAAC,0CAA0C;IAUlD,OAAO,CAAC,iCAAiC;IAUzC,OAAO,CAAC,qCAAqC;CAS9C"}
|
|
@@ -30,5 +30,10 @@ export declare class LicensingClient {
|
|
|
30
30
|
* @returns The generated packet as a number array.
|
|
31
31
|
*/
|
|
32
32
|
requestLicenseActivation(licenseFile: string): BuildPacketResult;
|
|
33
|
+
/**
|
|
34
|
+
* Opcode 104: Request JSD identification information.
|
|
35
|
+
* @returns The generated packet as a number array.
|
|
36
|
+
*/
|
|
37
|
+
requestJsdIdentification(): BuildPacketResult;
|
|
33
38
|
}
|
|
34
39
|
//# sourceMappingURL=licensingClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"licensingClient.d.ts","sourceRoot":"","sources":["../../../../../../../lib/commands/jsd/frames/licensing/licensingClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIrE;;;GAGG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,SAAS,CAAoB;IAErC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAoB;gBAEtC,SAAS,EAAE,iBAAiB;IAIxC;;;;OAIG;IACI,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAE,iBAAiB;IAI9D;;;OAGG;IACI,6BAA6B,IAAG,iBAAiB;IAIxD;;;OAGG;IACI,eAAe,IAAG,iBAAiB;IAI1C;;;;OAIG;IACI,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAE,iBAAiB;
|
|
1
|
+
{"version":3,"file":"licensingClient.d.ts","sourceRoot":"","sources":["../../../../../../../lib/commands/jsd/frames/licensing/licensingClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIrE;;;GAGG;AACH,qBAAa,eAAe;IAC1B,OAAO,CAAC,SAAS,CAAoB;IAErC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAoB;gBAEtC,SAAS,EAAE,iBAAiB;IAIxC;;;;OAIG;IACI,oBAAoB,CAAC,OAAO,EAAE,MAAM,GAAE,iBAAiB;IAI9D;;;OAGG;IACI,6BAA6B,IAAG,iBAAiB;IAIxD;;;OAGG;IACI,eAAe,IAAG,iBAAiB;IAI1C;;;;OAIG;IACI,wBAAwB,CAAC,WAAW,EAAE,MAAM,GAAE,iBAAiB;IAKtE;;;OAGG;IACI,wBAAwB,IAAI,iBAAiB;CAIrD"}
|
|
@@ -5,11 +5,14 @@ export declare const JsdOpCode: {
|
|
|
5
5
|
readonly requestFeatureStatus: 100;
|
|
6
6
|
readonly requestTemporaryLicenseStatus: 101;
|
|
7
7
|
readonly requestSeedData: 102;
|
|
8
|
+
readonly requestJsdIdentification: 104;
|
|
8
9
|
readonly requestLicenseActivation: 150;
|
|
9
10
|
readonly responseCmdWrong: 200;
|
|
10
11
|
readonly responseFeatureStatus: 201;
|
|
11
12
|
readonly responseSeedData: 202;
|
|
12
13
|
readonly responseTemporaryLicenseStatus: 203;
|
|
14
|
+
readonly responseLicensingReport: 205;
|
|
15
|
+
readonly responseJsdIdentification: 206;
|
|
13
16
|
};
|
|
14
17
|
/**
|
|
15
18
|
* Type representing the values of the JsdOpCode object.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"opCodes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/commands/jsd/frames/licensing/opCodes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"opCodes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/commands/jsd/frames/licensing/opCodes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;CAeZ,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,OAAO,SAAqB,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAG3C,CAAC"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { BuildPacketResult } from '../../types/jsd.types';
|
|
2
|
+
import { DEVICE_NUMBER } from '../../types/mdbCardHolder.types';
|
|
3
|
+
import type { TransportProtocol } from '../../types/transport.types';
|
|
4
|
+
/**
|
|
5
|
+
* High-Level Client for Vision Machines.
|
|
6
|
+
* It is agnostic to the transport layer (RS232 or TCP).
|
|
7
|
+
*/
|
|
8
|
+
export declare class MdbCardHolderClient {
|
|
9
|
+
private transport;
|
|
10
|
+
private static readonly APP_ID;
|
|
11
|
+
constructor(transport: TransportProtocol);
|
|
12
|
+
/**
|
|
13
|
+
* Opcode 100: Request for status of the MDB Card Holder device.
|
|
14
|
+
* @param deviceNumber The device number to request status for. Defaults to 1.
|
|
15
|
+
* @returns The generated packet as a number array.
|
|
16
|
+
*/
|
|
17
|
+
requestStatus(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
18
|
+
/**
|
|
19
|
+
* Opcode 101: Request for identification of the MDB Card Holder device.
|
|
20
|
+
* @param deviceNumber The device number to request identification for. Defaults to 1.
|
|
21
|
+
* @returns The generated packet as a number array.
|
|
22
|
+
*/
|
|
23
|
+
requestIdentification(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
24
|
+
/**
|
|
25
|
+
* Opcode 102: Request for configuration of the MDB Card Holder device.
|
|
26
|
+
* @param deviceNumber The device number to request configuration for. Defaults to 1.
|
|
27
|
+
* @returns The generated packet as a number array.
|
|
28
|
+
*/
|
|
29
|
+
requestConfiguration(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
30
|
+
/**
|
|
31
|
+
* Opcode 103: Request for functionalities configuration of the MDB Card Holder device.
|
|
32
|
+
* @param deviceNumber The device number to request functionalities configuration for. Defaults to 1.
|
|
33
|
+
* @param alwaysIdle Whether the device should always be idle (true) or not (false).
|
|
34
|
+
* @param remoteVend Whether remote vend is enabled (true) or not (false).
|
|
35
|
+
* @returns The generated packet as a number array.
|
|
36
|
+
*/
|
|
37
|
+
requestFunctionalitiesConfiguration(deviceNumber: DEVICE_NUMBER | undefined, alwaysIdle: boolean, remoteVend: boolean): BuildPacketResult;
|
|
38
|
+
/**
|
|
39
|
+
* Opcode 103: Request for functionalities configuration of the MDB Card Holder device.
|
|
40
|
+
* @param deviceNumber The device number to request functionalities configuration for. Defaults to 1.
|
|
41
|
+
* @param alwaysIdle Whether the device should always be idle (true) or not (false).
|
|
42
|
+
* @param remoteVend Whether remote vend is enabled (true) or not (false).
|
|
43
|
+
* @returns The generated packet as a number array.
|
|
44
|
+
*/
|
|
45
|
+
requestGetFunctionalitiesConfiguration(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
46
|
+
/**
|
|
47
|
+
* Opcode 104: Request to enable or disable the MDB Card Holder device.
|
|
48
|
+
* @param deviceNumber The device number to request enable for. Defaults to 1.
|
|
49
|
+
* @param enable Whether to enable (true) or disable (false) the device.
|
|
50
|
+
* @returns The generated packet as a number array.
|
|
51
|
+
*/
|
|
52
|
+
requestEnable(deviceNumber: DEVICE_NUMBER | undefined, enable: boolean): BuildPacketResult;
|
|
53
|
+
/**
|
|
54
|
+
* Opcode 105: Request for balance data of the MDB Card Holder device.
|
|
55
|
+
* @param deviceNumber The device number to request balance data for. Defaults to 1.
|
|
56
|
+
* @returns The generated packet as a number array.
|
|
57
|
+
*/
|
|
58
|
+
requestBalanceData(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
59
|
+
/**
|
|
60
|
+
* Opcode 106: Request for sale approval of the MDB Card Holder device.
|
|
61
|
+
* @param deviceNumber The device number to request sale approval for. Defaults to 1.
|
|
62
|
+
* @param amount The amount for the sale approval.
|
|
63
|
+
* @param productId The product ID for the sale approval. Defaults to null.
|
|
64
|
+
* @returns The generated packet as a number array.
|
|
65
|
+
*/
|
|
66
|
+
requestSaleApproval(deviceNumber: DEVICE_NUMBER | undefined, amount: number, productId?: number | null): BuildPacketResult;
|
|
67
|
+
/**
|
|
68
|
+
* Opcode 107: Request for sale cancellation of the MDB Card Holder device.
|
|
69
|
+
* @param deviceNumber The device number to request sale cancellation for. Defaults to 1.
|
|
70
|
+
* @returns The generated packet as a number array.
|
|
71
|
+
*/
|
|
72
|
+
requestSaleCancellation(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
73
|
+
/**
|
|
74
|
+
* Opcode 108: Request for sale success confirmation of the MDB Card Holder device.
|
|
75
|
+
* @param deviceNumber The device number to request sale success confirmation for. Defaults to 1.
|
|
76
|
+
* @returns The generated packet as a number array.
|
|
77
|
+
*/
|
|
78
|
+
requestSaleSuccessConfirmation(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
79
|
+
/**
|
|
80
|
+
* Opcode 109: Request for sale failure confirmation of the MDB Card Holder device.
|
|
81
|
+
* @param deviceNumber The device number to request sale failure confirmation for. Defaults to 1.
|
|
82
|
+
* @returns The generated packet as a number array.
|
|
83
|
+
*/
|
|
84
|
+
requestSaleFailureConfirmation(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
85
|
+
/**
|
|
86
|
+
* Opcode 110: Request to end session of the MDB Card Holder device.
|
|
87
|
+
* @param deviceNumber The device number to request end session for. Defaults to 1.
|
|
88
|
+
* @returns The generated packet as a number array.
|
|
89
|
+
*/
|
|
90
|
+
requestEndSession(deviceNumber?: DEVICE_NUMBER): BuildPacketResult;
|
|
91
|
+
/**
|
|
92
|
+
* Opcode 111: Request for cash record of the MDB Card Holder device.
|
|
93
|
+
* @param deviceNumber The device number to request cash record for. Defaults to 1.
|
|
94
|
+
* @param amount The amount for the cash record.
|
|
95
|
+
* @param productId The product ID for the cash record. Defaults to null.
|
|
96
|
+
* @returns The generated packet as a number array.
|
|
97
|
+
*/
|
|
98
|
+
requestCashRecord(deviceNumber: DEVICE_NUMBER | undefined, amount: number, productId?: number | null): BuildPacketResult;
|
|
99
|
+
/**
|
|
100
|
+
* Opcode 112: Request for selection request denied of the MDB Card Holder device.
|
|
101
|
+
* @param deviceNumber The device number to request selection request denied for. Defaults to 1.
|
|
102
|
+
* @param reasonCode The reason code for the selection request denial.
|
|
103
|
+
* @returns The generated packet as a number array.
|
|
104
|
+
*/
|
|
105
|
+
requestSelectionRequestDenied(deviceNumber: DEVICE_NUMBER | undefined, reasonCode: number): BuildPacketResult;
|
|
106
|
+
/**
|
|
107
|
+
* Opcode 113: Request for revalue of the MDB Card Holder device.
|
|
108
|
+
* @param deviceNumber The device number to request revalue for. Defaults to 1.
|
|
109
|
+
* @param amount The amount for the revalue.
|
|
110
|
+
* @returns The generated packet as a number array.
|
|
111
|
+
*/
|
|
112
|
+
requestRevalue(deviceNumber: DEVICE_NUMBER | undefined, amount: number): BuildPacketResult;
|
|
113
|
+
}
|
|
114
|
+
//# sourceMappingURL=mdbCardHolderClient.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mdbCardHolderClient.d.ts","sourceRoot":"","sources":["../../../../../../../lib/commands/jsd/frames/mdb-card-holder/mdbCardHolderClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAChE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIrE;;;GAGG;AACH,qB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M,GAAG,IAAW,GAC9B,iBAAiB;IAMpB;;;;;OAKG;IACI,6BAA6B,CAAC,YAAY,EAAE,aAAa,YAAI,EAAE,UAAU,EAAE,MAAM,GAAG,iBAAiB;IAK5G;;;;;OAKG;IACI,cAAc,CAAC,YAAY,EAAE,aAAa,YAAI,EAAE,MAAM,EAAE,MAAM,GAAG,iBAAiB;CAI1F"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Object containing JSD Operation Codes for MDB Card Holder operations.
|
|
3
|
+
*/
|
|
4
|
+
export declare const JsdOpCode: {
|
|
5
|
+
readonly requestStatus: 100;
|
|
6
|
+
readonly requestIdentification: 101;
|
|
7
|
+
readonly requestConfiguration: 102;
|
|
8
|
+
readonly requestFunctionalitiesConfiguration: 103;
|
|
9
|
+
readonly requestEnable: 104;
|
|
10
|
+
readonly requestBalanceData: 105;
|
|
11
|
+
readonly requestSaleApproval: 106;
|
|
12
|
+
readonly requestSaleCancellation: 107;
|
|
13
|
+
readonly requestSaleSuccessConfirmation: 108;
|
|
14
|
+
readonly requestSaleFailureConfirmation: 109;
|
|
15
|
+
readonly requestEndSession: 110;
|
|
16
|
+
readonly requestCashRecord: 111;
|
|
17
|
+
readonly requestSelectionRequestDenied: 112;
|
|
18
|
+
readonly requestRevalue: 113;
|
|
19
|
+
readonly responseCmdWrong: 200;
|
|
20
|
+
readonly responseCondition: 201;
|
|
21
|
+
readonly responseIdentification: 202;
|
|
22
|
+
readonly responseConfiguration: 203;
|
|
23
|
+
readonly responseFeatureConfiguration: 204;
|
|
24
|
+
readonly responseAuthorization: 205;
|
|
25
|
+
readonly responseBalanceStatement: 206;
|
|
26
|
+
readonly responseSaleApproval: 207;
|
|
27
|
+
readonly responseSaleCancellation: 208;
|
|
28
|
+
readonly responseSaleSuccessConfirmation: 209;
|
|
29
|
+
readonly responseSaleFailureConfirmation: 210;
|
|
30
|
+
readonly responseEndSession: 211;
|
|
31
|
+
readonly responseSelectionRequest: 212;
|
|
32
|
+
readonly responseRevalue: 213;
|
|
33
|
+
readonly responseDisplayMessage: 214;
|
|
34
|
+
readonly jsdErrorLicenseTemporarilyBlocked: 300;
|
|
35
|
+
readonly jsdErrorLicenseNotActive: 301;
|
|
36
|
+
readonly jsdErrorCommandNotExecutable: 302;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Type representing the values of the JsdOpCode object.
|
|
40
|
+
*/
|
|
41
|
+
export type JsdOpCode = (typeof JsdOpCode)[keyof typeof JsdOpCode];
|
|
42
|
+
/**
|
|
43
|
+
* Exported constant containing the JsdOpCode object.
|
|
44
|
+
*/
|
|
45
|
+
export declare const OP_CODES: typeof JsdOpCode;
|
|
46
|
+
/**
|
|
47
|
+
* Helper to get the name of an OpCode from its value.
|
|
48
|
+
* @param value OpCode value
|
|
49
|
+
* @returns OpCode name or 'Unknown'
|
|
50
|
+
*/
|
|
51
|
+
export declare const opCodeName: (value: number) => string;
|
|
52
|
+
//# sourceMappingURL=opCodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"opCodes.d.ts","sourceRoot":"","sources":["../../../../../../../lib/commands/jsd/frames/mdb-card-holder/opCodes.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmCZ,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,SAAS,CAAC,CAAC,MAAM,OAAO,SAAS,CAAC,CAAC;AAEnE;;GAEG;AACH,eAAO,MAAM,QAAQ,EAAE,OAAO,SAAqB,CAAC;AAEpD;;;;GAIG;AACH,eAAO,MAAM,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAG3C,CAAC"}
|
|
@@ -33,5 +33,18 @@ export interface LicensingEvents {
|
|
|
33
33
|
expired: boolean;
|
|
34
34
|
}
|
|
35
35
|
];
|
|
36
|
+
'report': [
|
|
37
|
+
data: {
|
|
38
|
+
isSuccess: boolean;
|
|
39
|
+
status: string;
|
|
40
|
+
reason: string;
|
|
41
|
+
}
|
|
42
|
+
];
|
|
43
|
+
'identification': [
|
|
44
|
+
data: {
|
|
45
|
+
idJSuite: string;
|
|
46
|
+
uid: string;
|
|
47
|
+
}
|
|
48
|
+
];
|
|
36
49
|
}
|
|
37
50
|
//# sourceMappingURL=LicensingClient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LicensingClient.d.ts","sourceRoot":"","sources":["../../../../../../lib/commands/jsd/types/LicensingClient.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE;QACX,IAAI,EAAE;YACJ,UAAU,EAAE,MAAM,CAAC;YACnB,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,EAAE,CAAC;SAClB;KACF,CAAC;IACF,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM,CAAC;YAChB,MAAM,EAAE,OAAO,CAAC;SACjB;KACF,CAAC;IACF,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,UAAU,CAAC;SACnB;KACF,CAAC;IACF,0BAA0B,EAAE;QAC1B,IAAI,EAAE;YACJ,MAAM,EAAE,MAAM,CAAC;YACf,aAAa,EAAE,MAAM,CAAC;YACtB,mBAAmB,EAAE,MAAM,CAAC;YAC1B,WAAW,EAAE,OAAO,CAAC;YACrB,MAAM,EAAE,OAAO,CAAC;YAChB,OAAO,EAAE,OAAO,CAAC;SACpB;KACF,CAAC;
|
|
1
|
+
{"version":3,"file":"LicensingClient.d.ts","sourceRoot":"","sources":["../../../../../../lib/commands/jsd/types/LicensingClient.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,WAAW,EAAE;QACX,IAAI,EAAE;YACJ,UAAU,EAAE,MAAM,CAAC;YACnB,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,EAAE,CAAC;SAClB;KACF,CAAC;IACF,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACJ,OAAO,EAAE,MAAM,CAAC;YAChB,MAAM,EAAE,OAAO,CAAC;SACjB;KACF,CAAC;IACF,IAAI,EAAE;QACJ,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM,CAAC;YACb,GAAG,EAAE,MAAM,CAAC;YACZ,MAAM,EAAE,MAAM,CAAC;YACf,KAAK,EAAE,UAAU,CAAC;SACnB;KACF,CAAC;IACF,0BAA0B,EAAE;QAC1B,IAAI,EAAE;YACJ,MAAM,EAAE,MAAM,CAAC;YACf,aAAa,EAAE,MAAM,CAAC;YACtB,mBAAmB,EAAE,MAAM,CAAC;YAC1B,WAAW,EAAE,OAAO,CAAC;YACrB,MAAM,EAAE,OAAO,CAAC;YAChB,OAAO,EAAE,OAAO,CAAC;SACpB;KACF,CAAC;IACF,QAAQ,EAAE;QACR,IAAI,EAAE;YACF,SAAS,EAAE,OAAO,CAAC;YACnB,MAAM,EAAE,MAAM,CAAC;YACf,MAAM,EAAE,MAAM,CAAC;SAClB;KACF,CAAC;IACF,gBAAgB,EAAE;QAChB,IAAI,EAAE;YACF,QAAQ,EAAE,MAAM,CAAC;YACjB,GAAG,EAAE,MAAM,CAAC;SACf;KACF,CAAA;CACF"}
|