@tiba-spark/client-shared-lib 10.2.1-70 → 10.2.1-703

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.
@@ -4604,79 +4604,6 @@ 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
- }] }]; } });
4680
4607
  let UsersServiceProxy$1 = class UsersServiceProxy {
4681
4608
  constructor(http, baseUrl) {
4682
4609
  this.jsonParseReviver = undefined;
@@ -9361,8 +9288,6 @@ var PermissionType$1;
9361
9288
  PermissionType[PermissionType["GuestUpdate"] = 95] = "GuestUpdate";
9362
9289
  PermissionType[PermissionType["GuestDelete"] = 96] = "GuestDelete";
9363
9290
  PermissionType[PermissionType["ClosePaymentScreen"] = 97] = "ClosePaymentScreen";
9364
- PermissionType[PermissionType["ECommerceAdmin"] = 98] = "ECommerceAdmin";
9365
- PermissionType[PermissionType["ECommerceRegular"] = 99] = "ECommerceRegular";
9366
9291
  })(PermissionType$1 || (PermissionType$1 = {}));
9367
9292
  class PermissionTypeIEnumerableHttpResponseData {
9368
9293
  constructor(data) {
@@ -10132,11 +10057,6 @@ let RolePermissionCompanyDto$1 = class RolePermissionCompanyDto {
10132
10057
  return result;
10133
10058
  }
10134
10059
  };
10135
- var RolePermissionCompanyProccess;
10136
- (function (RolePermissionCompanyProccess) {
10137
- RolePermissionCompanyProccess[RolePermissionCompanyProccess["Account"] = 1] = "Account";
10138
- RolePermissionCompanyProccess[RolePermissionCompanyProccess["ValidationType"] = 2] = "ValidationType";
10139
- })(RolePermissionCompanyProccess || (RolePermissionCompanyProccess = {}));
10140
10060
  let RolePermissionDto$1 = class RolePermissionDto {
10141
10061
  constructor(data) {
10142
10062
  if (data) {
@@ -11621,88 +11541,6 @@ let TfaSetupDto$1 = class TfaSetupDto {
11621
11541
  return result;
11622
11542
  }
11623
11543
  };
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
- }
11706
11544
  let TicketMatchingCurrentRecognitionDto$1 = class TicketMatchingCurrentRecognitionDto {
11707
11545
  constructor(data) {
11708
11546
  if (data) {
@@ -12251,7 +12089,7 @@ class UpsertOrDeleteRolePermissionCompanyDto {
12251
12089
  init(_data) {
12252
12090
  if (_data) {
12253
12091
  this.action = _data["action"];
12254
- this.rolePermissionCompanyProccess = _data["rolePermissionCompanyProccess"];
12092
+ this.isAccountProccess = _data["isAccountProccess"];
12255
12093
  this.companyId = _data["companyId"];
12256
12094
  this.companyName = _data["companyName"];
12257
12095
  this.subCompanyId = _data["subCompanyId"];
@@ -12270,7 +12108,7 @@ class UpsertOrDeleteRolePermissionCompanyDto {
12270
12108
  toJSON(data) {
12271
12109
  data = typeof data === 'object' ? data : {};
12272
12110
  data["action"] = this.action;
12273
- data["rolePermissionCompanyProccess"] = this.rolePermissionCompanyProccess;
12111
+ data["isAccountProccess"] = this.isAccountProccess;
12274
12112
  data["companyId"] = this.companyId;
12275
12113
  data["companyName"] = this.companyName;
12276
12114
  data["subCompanyId"] = this.subCompanyId;
@@ -13202,7 +13040,6 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
13202
13040
  RoleDtoIEnumerableHttpResponseData: RoleDtoIEnumerableHttpResponseData$1,
13203
13041
  RoleDtoIReadOnlyListHttpResponseData: RoleDtoIReadOnlyListHttpResponseData,
13204
13042
  RolePermissionCompanyDto: RolePermissionCompanyDto$1,
13205
- get RolePermissionCompanyProccess () { return RolePermissionCompanyProccess; },
13206
13043
  RolePermissionDto: RolePermissionDto$1,
13207
13044
  RolePermissionFacilityDto: RolePermissionFacilityDto$1,
13208
13045
  RolePermissionValidationTypeDto: RolePermissionValidationTypeDto$1,
@@ -13245,9 +13082,6 @@ var cloudServiceProxies = /*#__PURE__*/Object.freeze({
13245
13082
  TenantServiceProxy: TenantServiceProxy,
13246
13083
  TestEmailDto: TestEmailDto,
13247
13084
  TfaSetupDto: TfaSetupDto$1,
13248
- ThirdPartyServiceProxy: ThirdPartyServiceProxy,
13249
- ThirdPartyVendorDto: ThirdPartyVendorDto,
13250
- ThirdPartyVendorDtoHttpResponseData: ThirdPartyVendorDtoHttpResponseData,
13251
13085
  TicketMatchingCurrentRecognitionDto: TicketMatchingCurrentRecognitionDto$1,
13252
13086
  Toggle2FactorAuthForUserResponseDto: Toggle2FactorAuthForUserResponseDto,
13253
13087
  Toggle2FactorAuthForUserResponseDtoHttpResponseData: Toggle2FactorAuthForUserResponseDtoHttpResponseData,
@@ -15071,9 +14905,8 @@ class ChaserTicketServiceProxy {
15071
14905
  }
15072
14906
  /**
15073
14907
  * @return Success
15074
- * @deprecated
15075
14908
  */
15076
- couponBatchDeepSearchDeprecated(entityId, guid) {
14909
+ couponBatchDeepSearch(entityId, guid) {
15077
14910
  let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/batch/deep-search/{entityId}";
15078
14911
  if (entityId === undefined || entityId === null)
15079
14912
  throw new Error("The parameter 'entityId' must be defined.");
@@ -15089,68 +14922,6 @@ class ChaserTicketServiceProxy {
15089
14922
  "Accept": "text/plain"
15090
14923
  })
15091
14924
  };
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
- };
15154
14925
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
15155
14926
  return this.processCouponBatchDeepSearch(response_);
15156
14927
  })).pipe(catchError((response_) => {
@@ -15193,9 +14964,8 @@ class ChaserTicketServiceProxy {
15193
14964
  }
15194
14965
  /**
15195
14966
  * @return Success
15196
- * @deprecated
15197
14967
  */
15198
- singleCouponDeepSearchDeprecated(entityId, guid) {
14968
+ singleCouponDeepSearch(entityId, guid) {
15199
14969
  let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/deep-search/{entityId}";
15200
14970
  if (entityId === undefined || entityId === null)
15201
14971
  throw new Error("The parameter 'entityId' must be defined.");
@@ -15211,68 +14981,6 @@ class ChaserTicketServiceProxy {
15211
14981
  "Accept": "text/plain"
15212
14982
  })
15213
14983
  };
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
- };
15276
14984
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
15277
14985
  return this.processSingleCouponDeepSearch(response_);
15278
14986
  })).pipe(catchError((response_) => {
@@ -15639,21 +15347,16 @@ class ChaserTicketServiceProxy {
15639
15347
  return of(null);
15640
15348
  }
15641
15349
  /**
15642
- * @param parkId (optional)
15643
15350
  * @return Success
15644
15351
  */
15645
- deleteCouponBatch(id, parkId, guid) {
15646
- let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{id}?";
15352
+ deleteCouponBatch(id, guid) {
15353
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{id}";
15647
15354
  if (id === undefined || id === null)
15648
15355
  throw new Error("The parameter 'id' must be defined.");
15649
15356
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
15650
15357
  if (guid === undefined || guid === null)
15651
15358
  throw new Error("The parameter 'guid' must be defined.");
15652
15359
  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) + "&";
15657
15360
  url_ = url_.replace(/[?&]$/, "");
15658
15361
  let options_ = {
15659
15362
  observe: "response",
@@ -15873,9 +15576,8 @@ class ChaserTicketServiceProxy {
15873
15576
  }
15874
15577
  /**
15875
15578
  * @return Success
15876
- * @deprecated
15877
15579
  */
15878
- stickerBatchDeepSearchDeprecated(entityId, guid) {
15580
+ stickerBatchDeepSearch(entityId, guid) {
15879
15581
  let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/batch/deep-search/{entityId}";
15880
15582
  if (entityId === undefined || entityId === null)
15881
15583
  throw new Error("The parameter 'entityId' must be defined.");
@@ -15891,68 +15593,6 @@ class ChaserTicketServiceProxy {
15891
15593
  "Accept": "text/plain"
15892
15594
  })
15893
15595
  };
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
- };
15956
15596
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
15957
15597
  return this.processStickerBatchDeepSearch(response_);
15958
15598
  })).pipe(catchError((response_) => {
@@ -15995,9 +15635,8 @@ class ChaserTicketServiceProxy {
15995
15635
  }
15996
15636
  /**
15997
15637
  * @return Success
15998
- * @deprecated
15999
15638
  */
16000
- singleStickerDeepSearchDeprecated(entityId, guid) {
15639
+ singleStickerDeepSearch(entityId, guid) {
16001
15640
  let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/deep-search/{entityId}";
16002
15641
  if (entityId === undefined || entityId === null)
16003
15642
  throw new Error("The parameter 'entityId' must be defined.");
@@ -16013,68 +15652,6 @@ class ChaserTicketServiceProxy {
16013
15652
  "Accept": "text/plain"
16014
15653
  })
16015
15654
  };
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
- };
16078
15655
  return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
16079
15656
  return this.processSingleStickerDeepSearch(response_);
16080
15657
  })).pipe(catchError((response_) => {
@@ -16311,21 +15888,16 @@ class ChaserTicketServiceProxy {
16311
15888
  return of(null);
16312
15889
  }
16313
15890
  /**
16314
- * @param parkId (optional)
16315
15891
  * @return Success
16316
15892
  */
16317
- deleteStickerBatch(id, parkId, guid) {
16318
- let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{id}?";
15893
+ deleteStickerBatch(id, guid) {
15894
+ let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{id}";
16319
15895
  if (id === undefined || id === null)
16320
15896
  throw new Error("The parameter 'id' must be defined.");
16321
15897
  url_ = url_.replace("{id}", encodeURIComponent("" + id));
16322
15898
  if (guid === undefined || guid === null)
16323
15899
  throw new Error("The parameter 'guid' must be defined.");
16324
15900
  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) + "&";
16329
15901
  url_ = url_.replace(/[?&]$/, "");
16330
15902
  let options_ = {
16331
15903
  observe: "response",
@@ -16442,9 +16014,8 @@ class ChaserTicketServiceProxy {
16442
16014
  /**
16443
16015
  * @param body (optional)
16444
16016
  * @return Success
16445
- * @deprecated
16446
16017
  */
16447
- markStickerBatchAsPrintedDeprecated(guid, body) {
16018
+ markStickerBatchAsPrinted(guid, body) {
16448
16019
  let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/mark-batch-as-printed";
16449
16020
  if (guid === undefined || guid === null)
16450
16021
  throw new Error("The parameter 'guid' must be defined.");
@@ -16460,69 +16031,6 @@ class ChaserTicketServiceProxy {
16460
16031
  "Accept": "text/plain"
16461
16032
  })
16462
16033
  };
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
- };
16526
16034
  return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
16527
16035
  return this.processMarkStickerBatchAsPrinted(response_);
16528
16036
  })).pipe(catchError((response_) => {
@@ -41498,8 +41006,8 @@ class GetMonthlyQuery {
41498
41006
  }
41499
41007
  init(_data) {
41500
41008
  if (_data) {
41501
- this.parkId = _data["parkId"];
41502
41009
  this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
41010
+ this.parkId = _data["parkId"];
41503
41011
  this.companiesFilter = _data["companiesFilter"] ? CompaniesFilterDto.fromJS(_data["companiesFilter"]) : undefined;
41504
41012
  this.filter = _data["filter"] ? FilterDto.fromJS(_data["filter"]) : undefined;
41505
41013
  this.monthlySearchFieldSelector = _data["monthlySearchFieldSelector"];
@@ -41515,8 +41023,8 @@ class GetMonthlyQuery {
41515
41023
  }
41516
41024
  toJSON(data) {
41517
41025
  data = typeof data === 'object' ? data : {};
41518
- data["parkId"] = this.parkId;
41519
41026
  data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
41027
+ data["parkId"] = this.parkId;
41520
41028
  data["companiesFilter"] = this.companiesFilter ? this.companiesFilter.toJSON() : undefined;
41521
41029
  data["filter"] = this.filter ? this.filter.toJSON() : undefined;
41522
41030
  data["monthlySearchFieldSelector"] = this.monthlySearchFieldSelector;
@@ -44745,7 +44253,6 @@ class MarkCouponBatchAsSentCommand {
44745
44253
  this.id = _data["id"];
44746
44254
  this.parkId = _data["parkId"];
44747
44255
  this.email = _data["email"];
44748
- this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
44749
44256
  }
44750
44257
  }
44751
44258
  static fromJS(data) {
@@ -44759,7 +44266,6 @@ class MarkCouponBatchAsSentCommand {
44759
44266
  data["id"] = this.id;
44760
44267
  data["parkId"] = this.parkId;
44761
44268
  data["email"] = this.email;
44762
- data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
44763
44269
  return data;
44764
44270
  }
44765
44271
  clone() {
@@ -44783,7 +44289,6 @@ class MarkSingleCouponAsSentCommand {
44783
44289
  this.id = _data["id"];
44784
44290
  this.parkId = _data["parkId"];
44785
44291
  this.email = _data["email"];
44786
- this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
44787
44292
  }
44788
44293
  }
44789
44294
  static fromJS(data) {
@@ -44797,7 +44302,6 @@ class MarkSingleCouponAsSentCommand {
44797
44302
  data["id"] = this.id;
44798
44303
  data["parkId"] = this.parkId;
44799
44304
  data["email"] = this.email;
44800
- data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
44801
44305
  return data;
44802
44306
  }
44803
44307
  clone() {
@@ -44821,7 +44325,6 @@ class MarkStickerBatchAsSentCommand {
44821
44325
  this.id = _data["id"];
44822
44326
  this.email = _data["email"];
44823
44327
  this.parkId = _data["parkId"];
44824
- this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
44825
44328
  }
44826
44329
  }
44827
44330
  static fromJS(data) {
@@ -44835,7 +44338,6 @@ class MarkStickerBatchAsSentCommand {
44835
44338
  data["id"] = this.id;
44836
44339
  data["email"] = this.email;
44837
44340
  data["parkId"] = this.parkId;
44838
- data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
44839
44341
  return data;
44840
44342
  }
44841
44343
  clone() {
@@ -47484,8 +46986,6 @@ var PermissionType;
47484
46986
  PermissionType[PermissionType["GuestUpdate"] = 95] = "GuestUpdate";
47485
46987
  PermissionType[PermissionType["GuestDelete"] = 96] = "GuestDelete";
47486
46988
  PermissionType[PermissionType["ClosePaymentScreen"] = 97] = "ClosePaymentScreen";
47487
- PermissionType[PermissionType["ECommerceAdmin"] = 98] = "ECommerceAdmin";
47488
- PermissionType[PermissionType["ECommerceRegular"] = 99] = "ECommerceRegular";
47489
46989
  })(PermissionType || (PermissionType = {}));
47490
46990
  class PermittedCompaniesFilterDto {
47491
46991
  constructor(data) {
@@ -50063,8 +49563,6 @@ class SendCouponByEmailCommand {
50063
49563
  this.isBatch = _data["isBatch"];
50064
49564
  this.entityId = _data["entityId"];
50065
49565
  this.email = _data["email"];
50066
- this.parkId = _data["parkId"];
50067
- this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
50068
49566
  }
50069
49567
  }
50070
49568
  static fromJS(data) {
@@ -50082,8 +49580,6 @@ class SendCouponByEmailCommand {
50082
49580
  data["isBatch"] = this.isBatch;
50083
49581
  data["entityId"] = this.entityId;
50084
49582
  data["email"] = this.email;
50085
- data["parkId"] = this.parkId;
50086
- data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
50087
49583
  return data;
50088
49584
  }
50089
49585
  clone() {
@@ -61442,8 +60938,6 @@ var Localization;
61442
60938
  Localization["rate_number_is_zero"] = "rate_number_is_zero";
61443
60939
  Localization["to_exit_date"] = "to_exit_date ";
61444
60940
  Localization["equal_password_error"] = "equal_password_error";
61445
- Localization["entry_date"] = "entry_date";
61446
- Localization["exit_date"] = "exit_date";
61447
60941
  })(Localization || (Localization = {}));
61448
60942
 
61449
60943
  const DISABLED_FOCUS_ELEMENT_TYPES = [
@@ -62467,7 +61961,7 @@ const MainModuleToSubModulesPermissionTypeMap = {
62467
61961
  [PermissionType.CcMain]: [],
62468
61962
  [PermissionType.AccountManagementMain]: [PermissionType.AccountManagementAccountView, PermissionType.AccountManagementAccountCreate, PermissionType.AccountManagementAccountUpdate, PermissionType.AccountManagementAccountDelete],
62469
61963
  [PermissionType.MonthliesMain]: [PermissionType.MonthliesView, PermissionType.MonthliesCreate, PermissionType.MonthliesUpdate, PermissionType.MonthliesDelete, PermissionType.MonthlySeriesCreate],
62470
- [PermissionType.GuestMain]: [PermissionType.GuestView, PermissionType.GuestCreate, PermissionType.GuestUpdate, PermissionType.GuestDelete, PermissionType.GuestGroupView, PermissionType.GuestGroupCreate, PermissionType.GuestHotelGuestView, PermissionType.HotelGuestIOCreate],
61964
+ [PermissionType.GuestMain]: [PermissionType.SingleGuest, PermissionType.GuestView, PermissionType.GuestCreate, PermissionType.GuestUpdate, PermissionType.GuestDelete, PermissionType.GuestGroupView, PermissionType.GuestGroupCreate, PermissionType.GuestHotelGuestView, PermissionType.HotelGuestIOCreate],
62471
61965
  [PermissionType.ValidationMain]: [
62472
61966
  PermissionType.ValidationEValidationView, PermissionType.ValidationEValidationCreate, PermissionType.ValidationEValidationUpdate, PermissionType.ValidationEValidationDelete,
62473
61967
  PermissionType.ValidationStickerView, PermissionType.ValidationStickerCreate, PermissionType.ValidationStickerUpdate, PermissionType.ValidationStickerDelete,