@tiba-spark/client-shared-lib 10.2.1-710 → 10.2.1-78
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/enums/localization.enum.mjs +5 -1
- package/esm2022/libraries/service-proxy/cloud-service-proxies.mjs +165 -3
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +350 -12
- package/esm2022/libraries/utils/helper.util.mjs +2 -2
- package/fesm2022/tiba-spark-client-shared-lib.mjs +522 -14
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/enums/localization.enum.d.ts +5 -1
- package/libraries/enums/localization.enum.d.ts.map +1 -1
- package/libraries/service-proxy/cloud-service-proxies.d.ts +54 -3
- package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
- package/libraries/service-proxy/edge-service-proxies.d.ts +55 -10
- package/libraries/service-proxy/edge-service-proxies.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4604,6 +4604,79 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
4604
4604
|
type: Inject,
|
|
4605
4605
|
args: [API_BASE_URL$1]
|
|
4606
4606
|
}] }]; } });
|
|
4607
|
+
class ThirdPartyServiceProxy {
|
|
4608
|
+
constructor(http, baseUrl) {
|
|
4609
|
+
this.jsonParseReviver = undefined;
|
|
4610
|
+
this.http = http;
|
|
4611
|
+
this.baseUrl = baseUrl ?? "";
|
|
4612
|
+
}
|
|
4613
|
+
/**
|
|
4614
|
+
* @return Success
|
|
4615
|
+
*/
|
|
4616
|
+
me() {
|
|
4617
|
+
let url_ = this.baseUrl + "/api/services/thirdparty";
|
|
4618
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
4619
|
+
let options_ = {
|
|
4620
|
+
observe: "response",
|
|
4621
|
+
responseType: "blob",
|
|
4622
|
+
headers: new HttpHeaders({
|
|
4623
|
+
"Accept": "text/plain"
|
|
4624
|
+
})
|
|
4625
|
+
};
|
|
4626
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
4627
|
+
return this.processMe(response_);
|
|
4628
|
+
})).pipe(catchError((response_) => {
|
|
4629
|
+
if (response_ instanceof HttpResponseBase) {
|
|
4630
|
+
try {
|
|
4631
|
+
return this.processMe(response_);
|
|
4632
|
+
}
|
|
4633
|
+
catch (e) {
|
|
4634
|
+
return throwError(e);
|
|
4635
|
+
}
|
|
4636
|
+
}
|
|
4637
|
+
else
|
|
4638
|
+
return throwError(response_);
|
|
4639
|
+
}));
|
|
4640
|
+
}
|
|
4641
|
+
processMe(response) {
|
|
4642
|
+
const status = response.status;
|
|
4643
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
4644
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
4645
|
+
let _headers = {};
|
|
4646
|
+
if (response.headers) {
|
|
4647
|
+
for (let key of response.headers.keys()) {
|
|
4648
|
+
_headers[key] = response.headers.get(key);
|
|
4649
|
+
}
|
|
4650
|
+
}
|
|
4651
|
+
if (status === 200) {
|
|
4652
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
4653
|
+
let result200 = null;
|
|
4654
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
4655
|
+
result200 = ThirdPartyVendorDtoHttpResponseData.fromJS(resultData200);
|
|
4656
|
+
return of(result200);
|
|
4657
|
+
}));
|
|
4658
|
+
}
|
|
4659
|
+
else if (status !== 200 && status !== 204) {
|
|
4660
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
4661
|
+
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
4662
|
+
}));
|
|
4663
|
+
}
|
|
4664
|
+
return of(null);
|
|
4665
|
+
}
|
|
4666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ThirdPartyServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$1, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
4667
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ThirdPartyServiceProxy }); }
|
|
4668
|
+
}
|
|
4669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: ThirdPartyServiceProxy, decorators: [{
|
|
4670
|
+
type: Injectable
|
|
4671
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient, decorators: [{
|
|
4672
|
+
type: Inject,
|
|
4673
|
+
args: [HttpClient]
|
|
4674
|
+
}] }, { type: undefined, decorators: [{
|
|
4675
|
+
type: Optional
|
|
4676
|
+
}, {
|
|
4677
|
+
type: Inject,
|
|
4678
|
+
args: [API_BASE_URL$1]
|
|
4679
|
+
}] }]; } });
|
|
4607
4680
|
let UsersServiceProxy$1 = class UsersServiceProxy {
|
|
4608
4681
|
constructor(http, baseUrl) {
|
|
4609
4682
|
this.jsonParseReviver = undefined;
|
|
@@ -9288,6 +9361,8 @@ var PermissionType$1;
|
|
|
9288
9361
|
PermissionType[PermissionType["GuestUpdate"] = 95] = "GuestUpdate";
|
|
9289
9362
|
PermissionType[PermissionType["GuestDelete"] = 96] = "GuestDelete";
|
|
9290
9363
|
PermissionType[PermissionType["ClosePaymentScreen"] = 97] = "ClosePaymentScreen";
|
|
9364
|
+
PermissionType[PermissionType["ECommerceAdmin"] = 98] = "ECommerceAdmin";
|
|
9365
|
+
PermissionType[PermissionType["ECommerceRegular"] = 99] = "ECommerceRegular";
|
|
9291
9366
|
})(PermissionType$1 || (PermissionType$1 = {}));
|
|
9292
9367
|
class PermissionTypeIEnumerableHttpResponseData {
|
|
9293
9368
|
constructor(data) {
|
|
@@ -10057,6 +10132,11 @@ let RolePermissionCompanyDto$1 = class RolePermissionCompanyDto {
|
|
|
10057
10132
|
return result;
|
|
10058
10133
|
}
|
|
10059
10134
|
};
|
|
10135
|
+
var RolePermissionCompanyProccess;
|
|
10136
|
+
(function (RolePermissionCompanyProccess) {
|
|
10137
|
+
RolePermissionCompanyProccess[RolePermissionCompanyProccess["Account"] = 1] = "Account";
|
|
10138
|
+
RolePermissionCompanyProccess[RolePermissionCompanyProccess["ValidationType"] = 2] = "ValidationType";
|
|
10139
|
+
})(RolePermissionCompanyProccess || (RolePermissionCompanyProccess = {}));
|
|
10060
10140
|
let RolePermissionDto$1 = class RolePermissionDto {
|
|
10061
10141
|
constructor(data) {
|
|
10062
10142
|
if (data) {
|
|
@@ -11541,6 +11621,88 @@ let TfaSetupDto$1 = class TfaSetupDto {
|
|
|
11541
11621
|
return result;
|
|
11542
11622
|
}
|
|
11543
11623
|
};
|
|
11624
|
+
class ThirdPartyVendorDto {
|
|
11625
|
+
constructor(data) {
|
|
11626
|
+
if (data) {
|
|
11627
|
+
for (var property in data) {
|
|
11628
|
+
if (data.hasOwnProperty(property))
|
|
11629
|
+
this[property] = data[property];
|
|
11630
|
+
}
|
|
11631
|
+
}
|
|
11632
|
+
}
|
|
11633
|
+
init(_data) {
|
|
11634
|
+
if (_data) {
|
|
11635
|
+
this.accountId = _data["accountId"];
|
|
11636
|
+
if (Array.isArray(_data["permissionTypes"])) {
|
|
11637
|
+
this.permissionTypes = [];
|
|
11638
|
+
for (let item of _data["permissionTypes"])
|
|
11639
|
+
this.permissionTypes.push(item);
|
|
11640
|
+
}
|
|
11641
|
+
}
|
|
11642
|
+
}
|
|
11643
|
+
static fromJS(data) {
|
|
11644
|
+
data = typeof data === 'object' ? data : {};
|
|
11645
|
+
let result = new ThirdPartyVendorDto();
|
|
11646
|
+
result.init(data);
|
|
11647
|
+
return result;
|
|
11648
|
+
}
|
|
11649
|
+
toJSON(data) {
|
|
11650
|
+
data = typeof data === 'object' ? data : {};
|
|
11651
|
+
data["accountId"] = this.accountId;
|
|
11652
|
+
if (Array.isArray(this.permissionTypes)) {
|
|
11653
|
+
data["permissionTypes"] = [];
|
|
11654
|
+
for (let item of this.permissionTypes)
|
|
11655
|
+
data["permissionTypes"].push(item);
|
|
11656
|
+
}
|
|
11657
|
+
return data;
|
|
11658
|
+
}
|
|
11659
|
+
clone() {
|
|
11660
|
+
const json = this.toJSON();
|
|
11661
|
+
let result = new ThirdPartyVendorDto();
|
|
11662
|
+
result.init(json);
|
|
11663
|
+
return result;
|
|
11664
|
+
}
|
|
11665
|
+
}
|
|
11666
|
+
class ThirdPartyVendorDtoHttpResponseData {
|
|
11667
|
+
constructor(data) {
|
|
11668
|
+
if (data) {
|
|
11669
|
+
for (var property in data) {
|
|
11670
|
+
if (data.hasOwnProperty(property))
|
|
11671
|
+
this[property] = data[property];
|
|
11672
|
+
}
|
|
11673
|
+
}
|
|
11674
|
+
}
|
|
11675
|
+
init(_data) {
|
|
11676
|
+
if (_data) {
|
|
11677
|
+
this.errorMessage = _data["errorMessage"];
|
|
11678
|
+
this.isSuccess = _data["isSuccess"];
|
|
11679
|
+
this.statusCode = _data["statusCode"];
|
|
11680
|
+
this.data = _data["data"] ? ThirdPartyVendorDto.fromJS(_data["data"]) : undefined;
|
|
11681
|
+
this.successMessage = _data["successMessage"];
|
|
11682
|
+
}
|
|
11683
|
+
}
|
|
11684
|
+
static fromJS(data) {
|
|
11685
|
+
data = typeof data === 'object' ? data : {};
|
|
11686
|
+
let result = new ThirdPartyVendorDtoHttpResponseData();
|
|
11687
|
+
result.init(data);
|
|
11688
|
+
return result;
|
|
11689
|
+
}
|
|
11690
|
+
toJSON(data) {
|
|
11691
|
+
data = typeof data === 'object' ? data : {};
|
|
11692
|
+
data["errorMessage"] = this.errorMessage;
|
|
11693
|
+
data["isSuccess"] = this.isSuccess;
|
|
11694
|
+
data["statusCode"] = this.statusCode;
|
|
11695
|
+
data["data"] = this.data ? this.data.toJSON() : undefined;
|
|
11696
|
+
data["successMessage"] = this.successMessage;
|
|
11697
|
+
return data;
|
|
11698
|
+
}
|
|
11699
|
+
clone() {
|
|
11700
|
+
const json = this.toJSON();
|
|
11701
|
+
let result = new ThirdPartyVendorDtoHttpResponseData();
|
|
11702
|
+
result.init(json);
|
|
11703
|
+
return result;
|
|
11704
|
+
}
|
|
11705
|
+
}
|
|
11544
11706
|
let TicketMatchingCurrentRecognitionDto$1 = class TicketMatchingCurrentRecognitionDto {
|
|
11545
11707
|
constructor(data) {
|
|
11546
11708
|
if (data) {
|
|
@@ -12089,7 +12251,7 @@ class UpsertOrDeleteRolePermissionCompanyDto {
|
|
|
12089
12251
|
init(_data) {
|
|
12090
12252
|
if (_data) {
|
|
12091
12253
|
this.action = _data["action"];
|
|
12092
|
-
this.
|
|
12254
|
+
this.rolePermissionCompanyProccess = _data["rolePermissionCompanyProccess"];
|
|
12093
12255
|
this.companyId = _data["companyId"];
|
|
12094
12256
|
this.companyName = _data["companyName"];
|
|
12095
12257
|
this.subCompanyId = _data["subCompanyId"];
|
|
@@ -12108,7 +12270,7 @@ class UpsertOrDeleteRolePermissionCompanyDto {
|
|
|
12108
12270
|
toJSON(data) {
|
|
12109
12271
|
data = typeof data === 'object' ? data : {};
|
|
12110
12272
|
data["action"] = this.action;
|
|
12111
|
-
data["
|
|
12273
|
+
data["rolePermissionCompanyProccess"] = this.rolePermissionCompanyProccess;
|
|
12112
12274
|
data["companyId"] = this.companyId;
|
|
12113
12275
|
data["companyName"] = this.companyName;
|
|
12114
12276
|
data["subCompanyId"] = this.subCompanyId;
|
|
@@ -13040,6 +13202,7 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
13040
13202
|
RoleDtoIEnumerableHttpResponseData: RoleDtoIEnumerableHttpResponseData$1,
|
|
13041
13203
|
RoleDtoIReadOnlyListHttpResponseData: RoleDtoIReadOnlyListHttpResponseData,
|
|
13042
13204
|
RolePermissionCompanyDto: RolePermissionCompanyDto$1,
|
|
13205
|
+
get RolePermissionCompanyProccess () { return RolePermissionCompanyProccess; },
|
|
13043
13206
|
RolePermissionDto: RolePermissionDto$1,
|
|
13044
13207
|
RolePermissionFacilityDto: RolePermissionFacilityDto$1,
|
|
13045
13208
|
RolePermissionValidationTypeDto: RolePermissionValidationTypeDto$1,
|
|
@@ -13082,6 +13245,9 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
13082
13245
|
TenantServiceProxy: TenantServiceProxy,
|
|
13083
13246
|
TestEmailDto: TestEmailDto,
|
|
13084
13247
|
TfaSetupDto: TfaSetupDto$1,
|
|
13248
|
+
ThirdPartyServiceProxy: ThirdPartyServiceProxy,
|
|
13249
|
+
ThirdPartyVendorDto: ThirdPartyVendorDto,
|
|
13250
|
+
ThirdPartyVendorDtoHttpResponseData: ThirdPartyVendorDtoHttpResponseData,
|
|
13085
13251
|
TicketMatchingCurrentRecognitionDto: TicketMatchingCurrentRecognitionDto$1,
|
|
13086
13252
|
Toggle2FactorAuthForUserResponseDto: Toggle2FactorAuthForUserResponseDto,
|
|
13087
13253
|
Toggle2FactorAuthForUserResponseDtoHttpResponseData: Toggle2FactorAuthForUserResponseDtoHttpResponseData,
|
|
@@ -14905,8 +15071,9 @@ class ChaserTicketServiceProxy {
|
|
|
14905
15071
|
}
|
|
14906
15072
|
/**
|
|
14907
15073
|
* @return Success
|
|
15074
|
+
* @deprecated
|
|
14908
15075
|
*/
|
|
14909
|
-
|
|
15076
|
+
couponBatchDeepSearchDeprecated(entityId, guid) {
|
|
14910
15077
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/batch/deep-search/{entityId}";
|
|
14911
15078
|
if (entityId === undefined || entityId === null)
|
|
14912
15079
|
throw new Error("The parameter 'entityId' must be defined.");
|
|
@@ -14922,6 +15089,68 @@ class ChaserTicketServiceProxy {
|
|
|
14922
15089
|
"Accept": "text/plain"
|
|
14923
15090
|
})
|
|
14924
15091
|
};
|
|
15092
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
15093
|
+
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
15094
|
+
})).pipe(catchError((response_) => {
|
|
15095
|
+
if (response_ instanceof HttpResponseBase) {
|
|
15096
|
+
try {
|
|
15097
|
+
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
15098
|
+
}
|
|
15099
|
+
catch (e) {
|
|
15100
|
+
return throwError(e);
|
|
15101
|
+
}
|
|
15102
|
+
}
|
|
15103
|
+
else
|
|
15104
|
+
return throwError(response_);
|
|
15105
|
+
}));
|
|
15106
|
+
}
|
|
15107
|
+
processCouponBatchDeepSearchDeprecated(response) {
|
|
15108
|
+
const status = response.status;
|
|
15109
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
15110
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
15111
|
+
let _headers = {};
|
|
15112
|
+
if (response.headers) {
|
|
15113
|
+
for (let key of response.headers.keys()) {
|
|
15114
|
+
_headers[key] = response.headers.get(key);
|
|
15115
|
+
}
|
|
15116
|
+
}
|
|
15117
|
+
if (status === 200) {
|
|
15118
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
15119
|
+
let result200 = null;
|
|
15120
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
15121
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
15122
|
+
return of(result200);
|
|
15123
|
+
}));
|
|
15124
|
+
}
|
|
15125
|
+
else if (status !== 200 && status !== 204) {
|
|
15126
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
15127
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
15128
|
+
}));
|
|
15129
|
+
}
|
|
15130
|
+
return of(null);
|
|
15131
|
+
}
|
|
15132
|
+
/**
|
|
15133
|
+
* @return Success
|
|
15134
|
+
*/
|
|
15135
|
+
couponBatchDeepSearch(parkId, entityId, guid) {
|
|
15136
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/batch/facility/{parkId}/deep-search/{entityId}";
|
|
15137
|
+
if (parkId === undefined || parkId === null)
|
|
15138
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
15139
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
15140
|
+
if (entityId === undefined || entityId === null)
|
|
15141
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
15142
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
15143
|
+
if (guid === undefined || guid === null)
|
|
15144
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
15145
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
15146
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
15147
|
+
let options_ = {
|
|
15148
|
+
observe: "response",
|
|
15149
|
+
responseType: "blob",
|
|
15150
|
+
headers: new HttpHeaders({
|
|
15151
|
+
"Accept": "text/plain"
|
|
15152
|
+
})
|
|
15153
|
+
};
|
|
14925
15154
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
14926
15155
|
return this.processCouponBatchDeepSearch(response_);
|
|
14927
15156
|
})).pipe(catchError((response_) => {
|
|
@@ -14964,8 +15193,9 @@ class ChaserTicketServiceProxy {
|
|
|
14964
15193
|
}
|
|
14965
15194
|
/**
|
|
14966
15195
|
* @return Success
|
|
15196
|
+
* @deprecated
|
|
14967
15197
|
*/
|
|
14968
|
-
|
|
15198
|
+
singleCouponDeepSearchDeprecated(entityId, guid) {
|
|
14969
15199
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/deep-search/{entityId}";
|
|
14970
15200
|
if (entityId === undefined || entityId === null)
|
|
14971
15201
|
throw new Error("The parameter 'entityId' must be defined.");
|
|
@@ -14981,6 +15211,68 @@ class ChaserTicketServiceProxy {
|
|
|
14981
15211
|
"Accept": "text/plain"
|
|
14982
15212
|
})
|
|
14983
15213
|
};
|
|
15214
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
15215
|
+
return this.processSingleCouponDeepSearchDeprecated(response_);
|
|
15216
|
+
})).pipe(catchError((response_) => {
|
|
15217
|
+
if (response_ instanceof HttpResponseBase) {
|
|
15218
|
+
try {
|
|
15219
|
+
return this.processSingleCouponDeepSearchDeprecated(response_);
|
|
15220
|
+
}
|
|
15221
|
+
catch (e) {
|
|
15222
|
+
return throwError(e);
|
|
15223
|
+
}
|
|
15224
|
+
}
|
|
15225
|
+
else
|
|
15226
|
+
return throwError(response_);
|
|
15227
|
+
}));
|
|
15228
|
+
}
|
|
15229
|
+
processSingleCouponDeepSearchDeprecated(response) {
|
|
15230
|
+
const status = response.status;
|
|
15231
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
15232
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
15233
|
+
let _headers = {};
|
|
15234
|
+
if (response.headers) {
|
|
15235
|
+
for (let key of response.headers.keys()) {
|
|
15236
|
+
_headers[key] = response.headers.get(key);
|
|
15237
|
+
}
|
|
15238
|
+
}
|
|
15239
|
+
if (status === 200) {
|
|
15240
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
15241
|
+
let result200 = null;
|
|
15242
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
15243
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
15244
|
+
return of(result200);
|
|
15245
|
+
}));
|
|
15246
|
+
}
|
|
15247
|
+
else if (status !== 200 && status !== 204) {
|
|
15248
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
15249
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
15250
|
+
}));
|
|
15251
|
+
}
|
|
15252
|
+
return of(null);
|
|
15253
|
+
}
|
|
15254
|
+
/**
|
|
15255
|
+
* @return Success
|
|
15256
|
+
*/
|
|
15257
|
+
singleCouponDeepSearch(parkId, entityId, guid) {
|
|
15258
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/facility/{parkId}/deep-search/{entityId}";
|
|
15259
|
+
if (parkId === undefined || parkId === null)
|
|
15260
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
15261
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
15262
|
+
if (entityId === undefined || entityId === null)
|
|
15263
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
15264
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
15265
|
+
if (guid === undefined || guid === null)
|
|
15266
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
15267
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
15268
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
15269
|
+
let options_ = {
|
|
15270
|
+
observe: "response",
|
|
15271
|
+
responseType: "blob",
|
|
15272
|
+
headers: new HttpHeaders({
|
|
15273
|
+
"Accept": "text/plain"
|
|
15274
|
+
})
|
|
15275
|
+
};
|
|
14984
15276
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
14985
15277
|
return this.processSingleCouponDeepSearch(response_);
|
|
14986
15278
|
})).pipe(catchError((response_) => {
|
|
@@ -15347,16 +15639,21 @@ class ChaserTicketServiceProxy {
|
|
|
15347
15639
|
return of(null);
|
|
15348
15640
|
}
|
|
15349
15641
|
/**
|
|
15642
|
+
* @param parkId (optional)
|
|
15350
15643
|
* @return Success
|
|
15351
15644
|
*/
|
|
15352
|
-
deleteCouponBatch(id, guid) {
|
|
15353
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{id}";
|
|
15645
|
+
deleteCouponBatch(id, parkId, guid) {
|
|
15646
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{id}?";
|
|
15354
15647
|
if (id === undefined || id === null)
|
|
15355
15648
|
throw new Error("The parameter 'id' must be defined.");
|
|
15356
15649
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
15357
15650
|
if (guid === undefined || guid === null)
|
|
15358
15651
|
throw new Error("The parameter 'guid' must be defined.");
|
|
15359
15652
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
15653
|
+
if (parkId === null)
|
|
15654
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
15655
|
+
else if (parkId !== undefined)
|
|
15656
|
+
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
15360
15657
|
url_ = url_.replace(/[?&]$/, "");
|
|
15361
15658
|
let options_ = {
|
|
15362
15659
|
observe: "response",
|
|
@@ -15576,8 +15873,9 @@ class ChaserTicketServiceProxy {
|
|
|
15576
15873
|
}
|
|
15577
15874
|
/**
|
|
15578
15875
|
* @return Success
|
|
15876
|
+
* @deprecated
|
|
15579
15877
|
*/
|
|
15580
|
-
|
|
15878
|
+
stickerBatchDeepSearchDeprecated(entityId, guid) {
|
|
15581
15879
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/batch/deep-search/{entityId}";
|
|
15582
15880
|
if (entityId === undefined || entityId === null)
|
|
15583
15881
|
throw new Error("The parameter 'entityId' must be defined.");
|
|
@@ -15593,6 +15891,68 @@ class ChaserTicketServiceProxy {
|
|
|
15593
15891
|
"Accept": "text/plain"
|
|
15594
15892
|
})
|
|
15595
15893
|
};
|
|
15894
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
15895
|
+
return this.processStickerBatchDeepSearchDeprecated(response_);
|
|
15896
|
+
})).pipe(catchError((response_) => {
|
|
15897
|
+
if (response_ instanceof HttpResponseBase) {
|
|
15898
|
+
try {
|
|
15899
|
+
return this.processStickerBatchDeepSearchDeprecated(response_);
|
|
15900
|
+
}
|
|
15901
|
+
catch (e) {
|
|
15902
|
+
return throwError(e);
|
|
15903
|
+
}
|
|
15904
|
+
}
|
|
15905
|
+
else
|
|
15906
|
+
return throwError(response_);
|
|
15907
|
+
}));
|
|
15908
|
+
}
|
|
15909
|
+
processStickerBatchDeepSearchDeprecated(response) {
|
|
15910
|
+
const status = response.status;
|
|
15911
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
15912
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
15913
|
+
let _headers = {};
|
|
15914
|
+
if (response.headers) {
|
|
15915
|
+
for (let key of response.headers.keys()) {
|
|
15916
|
+
_headers[key] = response.headers.get(key);
|
|
15917
|
+
}
|
|
15918
|
+
}
|
|
15919
|
+
if (status === 200) {
|
|
15920
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
15921
|
+
let result200 = null;
|
|
15922
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
15923
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
15924
|
+
return of(result200);
|
|
15925
|
+
}));
|
|
15926
|
+
}
|
|
15927
|
+
else if (status !== 200 && status !== 204) {
|
|
15928
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
15929
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
15930
|
+
}));
|
|
15931
|
+
}
|
|
15932
|
+
return of(null);
|
|
15933
|
+
}
|
|
15934
|
+
/**
|
|
15935
|
+
* @return Success
|
|
15936
|
+
*/
|
|
15937
|
+
stickerBatchDeepSearch(parkId, entityId, guid) {
|
|
15938
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/batch/deep-search/{entityId}";
|
|
15939
|
+
if (parkId === undefined || parkId === null)
|
|
15940
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
15941
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
15942
|
+
if (entityId === undefined || entityId === null)
|
|
15943
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
15944
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
15945
|
+
if (guid === undefined || guid === null)
|
|
15946
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
15947
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
15948
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
15949
|
+
let options_ = {
|
|
15950
|
+
observe: "response",
|
|
15951
|
+
responseType: "blob",
|
|
15952
|
+
headers: new HttpHeaders({
|
|
15953
|
+
"Accept": "text/plain"
|
|
15954
|
+
})
|
|
15955
|
+
};
|
|
15596
15956
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
15597
15957
|
return this.processStickerBatchDeepSearch(response_);
|
|
15598
15958
|
})).pipe(catchError((response_) => {
|
|
@@ -15635,8 +15995,9 @@ class ChaserTicketServiceProxy {
|
|
|
15635
15995
|
}
|
|
15636
15996
|
/**
|
|
15637
15997
|
* @return Success
|
|
15998
|
+
* @deprecated
|
|
15638
15999
|
*/
|
|
15639
|
-
|
|
16000
|
+
singleStickerDeepSearchDeprecated(entityId, guid) {
|
|
15640
16001
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/deep-search/{entityId}";
|
|
15641
16002
|
if (entityId === undefined || entityId === null)
|
|
15642
16003
|
throw new Error("The parameter 'entityId' must be defined.");
|
|
@@ -15652,6 +16013,68 @@ class ChaserTicketServiceProxy {
|
|
|
15652
16013
|
"Accept": "text/plain"
|
|
15653
16014
|
})
|
|
15654
16015
|
};
|
|
16016
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
16017
|
+
return this.processSingleStickerDeepSearchDeprecated(response_);
|
|
16018
|
+
})).pipe(catchError((response_) => {
|
|
16019
|
+
if (response_ instanceof HttpResponseBase) {
|
|
16020
|
+
try {
|
|
16021
|
+
return this.processSingleStickerDeepSearchDeprecated(response_);
|
|
16022
|
+
}
|
|
16023
|
+
catch (e) {
|
|
16024
|
+
return throwError(e);
|
|
16025
|
+
}
|
|
16026
|
+
}
|
|
16027
|
+
else
|
|
16028
|
+
return throwError(response_);
|
|
16029
|
+
}));
|
|
16030
|
+
}
|
|
16031
|
+
processSingleStickerDeepSearchDeprecated(response) {
|
|
16032
|
+
const status = response.status;
|
|
16033
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
16034
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
16035
|
+
let _headers = {};
|
|
16036
|
+
if (response.headers) {
|
|
16037
|
+
for (let key of response.headers.keys()) {
|
|
16038
|
+
_headers[key] = response.headers.get(key);
|
|
16039
|
+
}
|
|
16040
|
+
}
|
|
16041
|
+
if (status === 200) {
|
|
16042
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
16043
|
+
let result200 = null;
|
|
16044
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16045
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
16046
|
+
return of(result200);
|
|
16047
|
+
}));
|
|
16048
|
+
}
|
|
16049
|
+
else if (status !== 200 && status !== 204) {
|
|
16050
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
16051
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
16052
|
+
}));
|
|
16053
|
+
}
|
|
16054
|
+
return of(null);
|
|
16055
|
+
}
|
|
16056
|
+
/**
|
|
16057
|
+
* @return Success
|
|
16058
|
+
*/
|
|
16059
|
+
singleStickerDeepSearch(parkId, entityId, guid) {
|
|
16060
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/deep-search/{entityId}";
|
|
16061
|
+
if (parkId === undefined || parkId === null)
|
|
16062
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
16063
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
16064
|
+
if (entityId === undefined || entityId === null)
|
|
16065
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
16066
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
16067
|
+
if (guid === undefined || guid === null)
|
|
16068
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
16069
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
16070
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
16071
|
+
let options_ = {
|
|
16072
|
+
observe: "response",
|
|
16073
|
+
responseType: "blob",
|
|
16074
|
+
headers: new HttpHeaders({
|
|
16075
|
+
"Accept": "text/plain"
|
|
16076
|
+
})
|
|
16077
|
+
};
|
|
15655
16078
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
15656
16079
|
return this.processSingleStickerDeepSearch(response_);
|
|
15657
16080
|
})).pipe(catchError((response_) => {
|
|
@@ -15888,16 +16311,21 @@ class ChaserTicketServiceProxy {
|
|
|
15888
16311
|
return of(null);
|
|
15889
16312
|
}
|
|
15890
16313
|
/**
|
|
16314
|
+
* @param parkId (optional)
|
|
15891
16315
|
* @return Success
|
|
15892
16316
|
*/
|
|
15893
|
-
deleteStickerBatch(id, guid) {
|
|
15894
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{id}";
|
|
16317
|
+
deleteStickerBatch(id, parkId, guid) {
|
|
16318
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{id}?";
|
|
15895
16319
|
if (id === undefined || id === null)
|
|
15896
16320
|
throw new Error("The parameter 'id' must be defined.");
|
|
15897
16321
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
15898
16322
|
if (guid === undefined || guid === null)
|
|
15899
16323
|
throw new Error("The parameter 'guid' must be defined.");
|
|
15900
16324
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
16325
|
+
if (parkId === null)
|
|
16326
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
16327
|
+
else if (parkId !== undefined)
|
|
16328
|
+
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
15901
16329
|
url_ = url_.replace(/[?&]$/, "");
|
|
15902
16330
|
let options_ = {
|
|
15903
16331
|
observe: "response",
|
|
@@ -16014,8 +16442,9 @@ class ChaserTicketServiceProxy {
|
|
|
16014
16442
|
/**
|
|
16015
16443
|
* @param body (optional)
|
|
16016
16444
|
* @return Success
|
|
16445
|
+
* @deprecated
|
|
16017
16446
|
*/
|
|
16018
|
-
|
|
16447
|
+
markStickerBatchAsPrintedDeprecated(guid, body) {
|
|
16019
16448
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/mark-batch-as-printed";
|
|
16020
16449
|
if (guid === undefined || guid === null)
|
|
16021
16450
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -16031,6 +16460,69 @@ class ChaserTicketServiceProxy {
|
|
|
16031
16460
|
"Accept": "text/plain"
|
|
16032
16461
|
})
|
|
16033
16462
|
};
|
|
16463
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
16464
|
+
return this.processMarkStickerBatchAsPrintedDeprecated(response_);
|
|
16465
|
+
})).pipe(catchError((response_) => {
|
|
16466
|
+
if (response_ instanceof HttpResponseBase) {
|
|
16467
|
+
try {
|
|
16468
|
+
return this.processMarkStickerBatchAsPrintedDeprecated(response_);
|
|
16469
|
+
}
|
|
16470
|
+
catch (e) {
|
|
16471
|
+
return throwError(e);
|
|
16472
|
+
}
|
|
16473
|
+
}
|
|
16474
|
+
else
|
|
16475
|
+
return throwError(response_);
|
|
16476
|
+
}));
|
|
16477
|
+
}
|
|
16478
|
+
processMarkStickerBatchAsPrintedDeprecated(response) {
|
|
16479
|
+
const status = response.status;
|
|
16480
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
16481
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
16482
|
+
let _headers = {};
|
|
16483
|
+
if (response.headers) {
|
|
16484
|
+
for (let key of response.headers.keys()) {
|
|
16485
|
+
_headers[key] = response.headers.get(key);
|
|
16486
|
+
}
|
|
16487
|
+
}
|
|
16488
|
+
if (status === 200) {
|
|
16489
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
16490
|
+
let result200 = null;
|
|
16491
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16492
|
+
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
16493
|
+
return of(result200);
|
|
16494
|
+
}));
|
|
16495
|
+
}
|
|
16496
|
+
else if (status !== 200 && status !== 204) {
|
|
16497
|
+
return blobToText(responseBlob).pipe(mergeMap(_responseText => {
|
|
16498
|
+
return throwException("An unexpected server error occurred.", status, _responseText, _headers);
|
|
16499
|
+
}));
|
|
16500
|
+
}
|
|
16501
|
+
return of(null);
|
|
16502
|
+
}
|
|
16503
|
+
/**
|
|
16504
|
+
* @param body (optional)
|
|
16505
|
+
* @return Success
|
|
16506
|
+
*/
|
|
16507
|
+
markStickerBatchAsPrinted(parkId, guid, body) {
|
|
16508
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/mark-batch-as-printed";
|
|
16509
|
+
if (parkId === undefined || parkId === null)
|
|
16510
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
16511
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
16512
|
+
if (guid === undefined || guid === null)
|
|
16513
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
16514
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
16515
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
16516
|
+
const content_ = JSON.stringify(body);
|
|
16517
|
+
let options_ = {
|
|
16518
|
+
body: content_,
|
|
16519
|
+
observe: "response",
|
|
16520
|
+
responseType: "blob",
|
|
16521
|
+
headers: new HttpHeaders({
|
|
16522
|
+
"Content-Type": "application/json-patch+json",
|
|
16523
|
+
"Accept": "text/plain"
|
|
16524
|
+
})
|
|
16525
|
+
};
|
|
16034
16526
|
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
16035
16527
|
return this.processMarkStickerBatchAsPrinted(response_);
|
|
16036
16528
|
})).pipe(catchError((response_) => {
|
|
@@ -41006,8 +41498,8 @@ class GetMonthlyQuery {
|
|
|
41006
41498
|
}
|
|
41007
41499
|
init(_data) {
|
|
41008
41500
|
if (_data) {
|
|
41009
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
41010
41501
|
this.parkId = _data["parkId"];
|
|
41502
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
41011
41503
|
this.companiesFilter = _data["companiesFilter"] ? CompaniesFilterDto.fromJS(_data["companiesFilter"]) : undefined;
|
|
41012
41504
|
this.filter = _data["filter"] ? FilterDto.fromJS(_data["filter"]) : undefined;
|
|
41013
41505
|
this.monthlySearchFieldSelector = _data["monthlySearchFieldSelector"];
|
|
@@ -41023,8 +41515,8 @@ class GetMonthlyQuery {
|
|
|
41023
41515
|
}
|
|
41024
41516
|
toJSON(data) {
|
|
41025
41517
|
data = typeof data === 'object' ? data : {};
|
|
41026
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
41027
41518
|
data["parkId"] = this.parkId;
|
|
41519
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
41028
41520
|
data["companiesFilter"] = this.companiesFilter ? this.companiesFilter.toJSON() : undefined;
|
|
41029
41521
|
data["filter"] = this.filter ? this.filter.toJSON() : undefined;
|
|
41030
41522
|
data["monthlySearchFieldSelector"] = this.monthlySearchFieldSelector;
|
|
@@ -44253,6 +44745,7 @@ class MarkCouponBatchAsSentCommand {
|
|
|
44253
44745
|
this.id = _data["id"];
|
|
44254
44746
|
this.parkId = _data["parkId"];
|
|
44255
44747
|
this.email = _data["email"];
|
|
44748
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
44256
44749
|
}
|
|
44257
44750
|
}
|
|
44258
44751
|
static fromJS(data) {
|
|
@@ -44266,6 +44759,7 @@ class MarkCouponBatchAsSentCommand {
|
|
|
44266
44759
|
data["id"] = this.id;
|
|
44267
44760
|
data["parkId"] = this.parkId;
|
|
44268
44761
|
data["email"] = this.email;
|
|
44762
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
44269
44763
|
return data;
|
|
44270
44764
|
}
|
|
44271
44765
|
clone() {
|
|
@@ -44289,6 +44783,7 @@ class MarkSingleCouponAsSentCommand {
|
|
|
44289
44783
|
this.id = _data["id"];
|
|
44290
44784
|
this.parkId = _data["parkId"];
|
|
44291
44785
|
this.email = _data["email"];
|
|
44786
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
44292
44787
|
}
|
|
44293
44788
|
}
|
|
44294
44789
|
static fromJS(data) {
|
|
@@ -44302,6 +44797,7 @@ class MarkSingleCouponAsSentCommand {
|
|
|
44302
44797
|
data["id"] = this.id;
|
|
44303
44798
|
data["parkId"] = this.parkId;
|
|
44304
44799
|
data["email"] = this.email;
|
|
44800
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
44305
44801
|
return data;
|
|
44306
44802
|
}
|
|
44307
44803
|
clone() {
|
|
@@ -44325,6 +44821,7 @@ class MarkStickerBatchAsSentCommand {
|
|
|
44325
44821
|
this.id = _data["id"];
|
|
44326
44822
|
this.email = _data["email"];
|
|
44327
44823
|
this.parkId = _data["parkId"];
|
|
44824
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
44328
44825
|
}
|
|
44329
44826
|
}
|
|
44330
44827
|
static fromJS(data) {
|
|
@@ -44338,6 +44835,7 @@ class MarkStickerBatchAsSentCommand {
|
|
|
44338
44835
|
data["id"] = this.id;
|
|
44339
44836
|
data["email"] = this.email;
|
|
44340
44837
|
data["parkId"] = this.parkId;
|
|
44838
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
44341
44839
|
return data;
|
|
44342
44840
|
}
|
|
44343
44841
|
clone() {
|
|
@@ -46986,6 +47484,8 @@ var PermissionType;
|
|
|
46986
47484
|
PermissionType[PermissionType["GuestUpdate"] = 95] = "GuestUpdate";
|
|
46987
47485
|
PermissionType[PermissionType["GuestDelete"] = 96] = "GuestDelete";
|
|
46988
47486
|
PermissionType[PermissionType["ClosePaymentScreen"] = 97] = "ClosePaymentScreen";
|
|
47487
|
+
PermissionType[PermissionType["ECommerceAdmin"] = 98] = "ECommerceAdmin";
|
|
47488
|
+
PermissionType[PermissionType["ECommerceRegular"] = 99] = "ECommerceRegular";
|
|
46989
47489
|
})(PermissionType || (PermissionType = {}));
|
|
46990
47490
|
class PermittedCompaniesFilterDto {
|
|
46991
47491
|
constructor(data) {
|
|
@@ -49563,6 +50063,8 @@ class SendCouponByEmailCommand {
|
|
|
49563
50063
|
this.isBatch = _data["isBatch"];
|
|
49564
50064
|
this.entityId = _data["entityId"];
|
|
49565
50065
|
this.email = _data["email"];
|
|
50066
|
+
this.parkId = _data["parkId"];
|
|
50067
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
49566
50068
|
}
|
|
49567
50069
|
}
|
|
49568
50070
|
static fromJS(data) {
|
|
@@ -49580,6 +50082,8 @@ class SendCouponByEmailCommand {
|
|
|
49580
50082
|
data["isBatch"] = this.isBatch;
|
|
49581
50083
|
data["entityId"] = this.entityId;
|
|
49582
50084
|
data["email"] = this.email;
|
|
50085
|
+
data["parkId"] = this.parkId;
|
|
50086
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
49583
50087
|
return data;
|
|
49584
50088
|
}
|
|
49585
50089
|
clone() {
|
|
@@ -60938,6 +61442,10 @@ var Localization;
|
|
|
60938
61442
|
Localization["rate_number_is_zero"] = "rate_number_is_zero";
|
|
60939
61443
|
Localization["to_exit_date"] = "to_exit_date ";
|
|
60940
61444
|
Localization["equal_password_error"] = "equal_password_error";
|
|
61445
|
+
Localization["entry_date"] = "entry_date";
|
|
61446
|
+
Localization["exit_date"] = "exit_date";
|
|
61447
|
+
Localization["failed_while_trying_to_print_coupon"] = "failed_while_trying_to_print_coupon";
|
|
61448
|
+
Localization["no_coupons_to_print"] = "no_coupons_to_print";
|
|
60941
61449
|
})(Localization || (Localization = {}));
|
|
60942
61450
|
|
|
60943
61451
|
const DISABLED_FOCUS_ELEMENT_TYPES = [
|
|
@@ -61961,7 +62469,7 @@ const MainModuleToSubModulesPermissionTypeMap = {
|
|
|
61961
62469
|
[PermissionType.CcMain]: [],
|
|
61962
62470
|
[PermissionType.AccountManagementMain]: [PermissionType.AccountManagementAccountView, PermissionType.AccountManagementAccountCreate, PermissionType.AccountManagementAccountUpdate, PermissionType.AccountManagementAccountDelete],
|
|
61963
62471
|
[PermissionType.MonthliesMain]: [PermissionType.MonthliesView, PermissionType.MonthliesCreate, PermissionType.MonthliesUpdate, PermissionType.MonthliesDelete, PermissionType.MonthlySeriesCreate],
|
|
61964
|
-
[PermissionType.GuestMain]: [PermissionType.
|
|
62472
|
+
[PermissionType.GuestMain]: [PermissionType.GuestView, PermissionType.GuestCreate, PermissionType.GuestUpdate, PermissionType.GuestDelete, PermissionType.GuestGroupView, PermissionType.GuestGroupCreate, PermissionType.GuestHotelGuestView, PermissionType.HotelGuestIOCreate],
|
|
61965
62473
|
[PermissionType.ValidationMain]: [
|
|
61966
62474
|
PermissionType.ValidationEValidationView, PermissionType.ValidationEValidationCreate, PermissionType.ValidationEValidationUpdate, PermissionType.ValidationEValidationDelete,
|
|
61967
62475
|
PermissionType.ValidationStickerView, PermissionType.ValidationStickerCreate, PermissionType.ValidationStickerUpdate, PermissionType.ValidationStickerDelete,
|