@tiba-spark/client-shared-lib 10.3.0-716 → 10.3.0-725
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/esm2022/libraries/service-proxy/cloud-service-proxies.mjs +2 -1
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +38 -4
- package/fesm2022/tiba-spark-client-shared-lib.mjs +39 -3
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/service-proxy/cloud-service-proxies.d.ts +1 -0
- package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
- package/libraries/service-proxy/edge-service-proxies.d.ts +13 -1
- package/libraries/service-proxy/edge-service-proxies.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10195,6 +10195,7 @@ var RemoteCommandTypes$1;
|
|
|
10195
10195
|
RemoteCommandTypes[RemoteCommandTypes["DeleteTicket"] = 45] = "DeleteTicket";
|
|
10196
10196
|
RemoteCommandTypes[RemoteCommandTypes["ClosePaymentScreen"] = 46] = "ClosePaymentScreen";
|
|
10197
10197
|
RemoteCommandTypes[RemoteCommandTypes["UpdateAllValidation"] = 47] = "UpdateAllValidation";
|
|
10198
|
+
RemoteCommandTypes[RemoteCommandTypes["CancelReceipt"] = 48] = "CancelReceipt";
|
|
10198
10199
|
RemoteCommandTypes[RemoteCommandTypes["GetTicketFee"] = 1000] = "GetTicketFee";
|
|
10199
10200
|
RemoteCommandTypes[RemoteCommandTypes["UpdateTicketPayment"] = 1001] = "UpdateTicketPayment";
|
|
10200
10201
|
})(RemoteCommandTypes$1 || (RemoteCommandTypes$1 = {}));
|
|
@@ -14568,9 +14569,7 @@ class AccessProfileServiceProxy {
|
|
|
14568
14569
|
throw new Error("The parameter 'accessProfileId' cannot be null.");
|
|
14569
14570
|
else if (accessProfileId !== undefined)
|
|
14570
14571
|
url_ += "AccessProfileId=" + encodeURIComponent("" + accessProfileId) + "&";
|
|
14571
|
-
if (parkId
|
|
14572
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
14573
|
-
else if (parkId !== undefined)
|
|
14572
|
+
if (parkId !== undefined && parkId !== null)
|
|
14574
14573
|
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
14575
14574
|
url_ = url_.replace(/[?&]$/, "");
|
|
14576
14575
|
let options_ = {
|
|
@@ -37410,6 +37409,11 @@ class RemoteCommandBase {
|
|
|
37410
37409
|
result.init(data);
|
|
37411
37410
|
return result;
|
|
37412
37411
|
}
|
|
37412
|
+
if (data["CommandType"] === "CancelReceiptRemoteCommandData") {
|
|
37413
|
+
let result = new CancelReceiptRemoteCommandData();
|
|
37414
|
+
result.init(data);
|
|
37415
|
+
return result;
|
|
37416
|
+
}
|
|
37413
37417
|
let result = new RemoteCommandBase();
|
|
37414
37418
|
result.init(data);
|
|
37415
37419
|
return result;
|
|
@@ -38424,6 +38428,36 @@ class ByteCheckedValuePairDto {
|
|
|
38424
38428
|
return result;
|
|
38425
38429
|
}
|
|
38426
38430
|
}
|
|
38431
|
+
class CancelReceiptRemoteCommandData extends RemoteCommandBase {
|
|
38432
|
+
constructor(data) {
|
|
38433
|
+
super(data);
|
|
38434
|
+
this._discriminator = "CancelReceiptRemoteCommandData";
|
|
38435
|
+
}
|
|
38436
|
+
init(_data) {
|
|
38437
|
+
super.init(_data);
|
|
38438
|
+
if (_data) {
|
|
38439
|
+
this.receiptId = _data["receiptId"];
|
|
38440
|
+
}
|
|
38441
|
+
}
|
|
38442
|
+
static fromJS(data) {
|
|
38443
|
+
data = typeof data === 'object' ? data : {};
|
|
38444
|
+
let result = new CancelReceiptRemoteCommandData();
|
|
38445
|
+
result.init(data);
|
|
38446
|
+
return result;
|
|
38447
|
+
}
|
|
38448
|
+
toJSON(data) {
|
|
38449
|
+
data = typeof data === 'object' ? data : {};
|
|
38450
|
+
data["receiptId"] = this.receiptId;
|
|
38451
|
+
super.toJSON(data);
|
|
38452
|
+
return data;
|
|
38453
|
+
}
|
|
38454
|
+
clone() {
|
|
38455
|
+
const json = this.toJSON();
|
|
38456
|
+
let result = new CancelReceiptRemoteCommandData();
|
|
38457
|
+
result.init(json);
|
|
38458
|
+
return result;
|
|
38459
|
+
}
|
|
38460
|
+
}
|
|
38427
38461
|
class CarPlateImageDto {
|
|
38428
38462
|
constructor(data) {
|
|
38429
38463
|
if (data) {
|
|
@@ -53417,6 +53451,7 @@ var RemoteCommandTypes;
|
|
|
53417
53451
|
RemoteCommandTypes[RemoteCommandTypes["DeleteTicket"] = 45] = "DeleteTicket";
|
|
53418
53452
|
RemoteCommandTypes[RemoteCommandTypes["ClosePaymentScreen"] = 46] = "ClosePaymentScreen";
|
|
53419
53453
|
RemoteCommandTypes[RemoteCommandTypes["UpdateAllValidation"] = 47] = "UpdateAllValidation";
|
|
53454
|
+
RemoteCommandTypes[RemoteCommandTypes["CancelReceipt"] = 48] = "CancelReceipt";
|
|
53420
53455
|
RemoteCommandTypes[RemoteCommandTypes["GetTicketFee"] = 1000] = "GetTicketFee";
|
|
53421
53456
|
RemoteCommandTypes[RemoteCommandTypes["UpdateTicketPayment"] = 1001] = "UpdateTicketPayment";
|
|
53422
53457
|
})(RemoteCommandTypes || (RemoteCommandTypes = {}));
|
|
@@ -63445,6 +63480,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
63445
63480
|
get BillValidatorStatus () { return BillValidatorStatus; },
|
|
63446
63481
|
BooleanHttpResponseData: BooleanHttpResponseData,
|
|
63447
63482
|
ByteCheckedValuePairDto: ByteCheckedValuePairDto,
|
|
63483
|
+
CancelReceiptRemoteCommandData: CancelReceiptRemoteCommandData,
|
|
63448
63484
|
CarPlateImageDto: CarPlateImageDto,
|
|
63449
63485
|
CarPlateImageDtoIEnumerableHttpResponseData: CarPlateImageDtoIEnumerableHttpResponseData,
|
|
63450
63486
|
get CardBuildType () { return CardBuildType; },
|