@tiba-spark/client-shared-lib 10.3.0-895 → 10.3.0-899
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 +1 -33
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +1146 -1776
- package/esm2022/libraries/utils/permission-type-mapper.util.mjs +7 -1
- package/fesm2022/tiba-spark-client-shared-lib.mjs +1153 -1810
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/service-proxy/cloud-service-proxies.d.ts +0 -16
- package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
- package/libraries/service-proxy/edge-service-proxies.d.ts +176 -281
- package/libraries/service-proxy/edge-service-proxies.d.ts.map +1 -1
- package/libraries/utils/permission-type-mapper.util.d.ts +3 -0
- package/libraries/utils/permission-type-mapper.util.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7807,7 +7807,6 @@ class CloudFacilityDto {
|
|
|
7807
7807
|
this.id = _data["id"];
|
|
7808
7808
|
this.cloudId = _data["cloudId"];
|
|
7809
7809
|
this.cloudParentId = _data["cloudParentId"];
|
|
7810
|
-
this.isBasic = _data["isBasic"];
|
|
7811
7810
|
this.multiParkParentID = _data["multiParkParentID"];
|
|
7812
7811
|
this.siteCode = _data["siteCode"];
|
|
7813
7812
|
this.name = _data["name"];
|
|
@@ -7827,13 +7826,6 @@ class CloudFacilityDto {
|
|
|
7827
7826
|
this.creditServerDisconnectedTimestamp = _data["creditServerDisconnectedTimestamp"] ? moment(_data["creditServerDisconnectedTimestamp"].toString()) : undefined;
|
|
7828
7827
|
this.mainControllerDisconnectedTimestamp = _data["mainControllerDisconnectedTimestamp"] ? moment(_data["mainControllerDisconnectedTimestamp"].toString()) : undefined;
|
|
7829
7828
|
this.active = _data["active"];
|
|
7830
|
-
if (_data["permissions"]) {
|
|
7831
|
-
this.permissions = {};
|
|
7832
|
-
for (let key in _data["permissions"]) {
|
|
7833
|
-
if (_data["permissions"].hasOwnProperty(key))
|
|
7834
|
-
this.permissions[key] = _data["permissions"][key] ? PermissionDto$1.fromJS(_data["permissions"][key]) : new PermissionDto$1();
|
|
7835
|
-
}
|
|
7836
|
-
}
|
|
7837
7829
|
if (Array.isArray(_data["featurePermissions"])) {
|
|
7838
7830
|
this.featurePermissions = [];
|
|
7839
7831
|
for (let item of _data["featurePermissions"])
|
|
@@ -7855,7 +7847,6 @@ class CloudFacilityDto {
|
|
|
7855
7847
|
data["id"] = this.id;
|
|
7856
7848
|
data["cloudId"] = this.cloudId;
|
|
7857
7849
|
data["cloudParentId"] = this.cloudParentId;
|
|
7858
|
-
data["isBasic"] = this.isBasic;
|
|
7859
7850
|
data["multiParkParentID"] = this.multiParkParentID;
|
|
7860
7851
|
data["siteCode"] = this.siteCode;
|
|
7861
7852
|
data["name"] = this.name;
|
|
@@ -7875,13 +7866,6 @@ class CloudFacilityDto {
|
|
|
7875
7866
|
data["creditServerDisconnectedTimestamp"] = this.creditServerDisconnectedTimestamp ? this.creditServerDisconnectedTimestamp.toISOString() : undefined;
|
|
7876
7867
|
data["mainControllerDisconnectedTimestamp"] = this.mainControllerDisconnectedTimestamp ? this.mainControllerDisconnectedTimestamp.toISOString() : undefined;
|
|
7877
7868
|
data["active"] = this.active;
|
|
7878
|
-
if (this.permissions) {
|
|
7879
|
-
data["permissions"] = {};
|
|
7880
|
-
for (let key in this.permissions) {
|
|
7881
|
-
if (this.permissions.hasOwnProperty(key))
|
|
7882
|
-
data["permissions"][key] = this.permissions[key] ? this.permissions[key].toJSON() : undefined;
|
|
7883
|
-
}
|
|
7884
|
-
}
|
|
7885
7869
|
if (Array.isArray(this.featurePermissions)) {
|
|
7886
7870
|
data["featurePermissions"] = [];
|
|
7887
7871
|
for (let item of this.featurePermissions)
|
|
@@ -8136,7 +8120,6 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8136
8120
|
this.id = _data["id"];
|
|
8137
8121
|
this.cloudId = _data["cloudId"];
|
|
8138
8122
|
this.cloudParentId = _data["cloudParentId"];
|
|
8139
|
-
this.isBasic = _data["isBasic"];
|
|
8140
8123
|
this.multiParkParentID = _data["multiParkParentID"];
|
|
8141
8124
|
this.siteCode = _data["siteCode"];
|
|
8142
8125
|
this.name = _data["name"];
|
|
@@ -8156,13 +8139,6 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8156
8139
|
this.creditServerDisconnectedTimestamp = _data["creditServerDisconnectedTimestamp"] ? moment(_data["creditServerDisconnectedTimestamp"].toString()) : undefined;
|
|
8157
8140
|
this.mainControllerDisconnectedTimestamp = _data["mainControllerDisconnectedTimestamp"] ? moment(_data["mainControllerDisconnectedTimestamp"].toString()) : undefined;
|
|
8158
8141
|
this.active = _data["active"];
|
|
8159
|
-
if (_data["permissions"]) {
|
|
8160
|
-
this.permissions = {};
|
|
8161
|
-
for (let key in _data["permissions"]) {
|
|
8162
|
-
if (_data["permissions"].hasOwnProperty(key))
|
|
8163
|
-
this.permissions[key] = _data["permissions"][key] ? PermissionDto$1.fromJS(_data["permissions"][key]) : new PermissionDto$1();
|
|
8164
|
-
}
|
|
8165
|
-
}
|
|
8166
8142
|
if (Array.isArray(_data["featurePermissions"])) {
|
|
8167
8143
|
this.featurePermissions = [];
|
|
8168
8144
|
for (let item of _data["featurePermissions"])
|
|
@@ -8181,7 +8157,6 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8181
8157
|
data["id"] = this.id;
|
|
8182
8158
|
data["cloudId"] = this.cloudId;
|
|
8183
8159
|
data["cloudParentId"] = this.cloudParentId;
|
|
8184
|
-
data["isBasic"] = this.isBasic;
|
|
8185
8160
|
data["multiParkParentID"] = this.multiParkParentID;
|
|
8186
8161
|
data["siteCode"] = this.siteCode;
|
|
8187
8162
|
data["name"] = this.name;
|
|
@@ -8201,13 +8176,6 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8201
8176
|
data["creditServerDisconnectedTimestamp"] = this.creditServerDisconnectedTimestamp ? this.creditServerDisconnectedTimestamp.toISOString() : undefined;
|
|
8202
8177
|
data["mainControllerDisconnectedTimestamp"] = this.mainControllerDisconnectedTimestamp ? this.mainControllerDisconnectedTimestamp.toISOString() : undefined;
|
|
8203
8178
|
data["active"] = this.active;
|
|
8204
|
-
if (this.permissions) {
|
|
8205
|
-
data["permissions"] = {};
|
|
8206
|
-
for (let key in this.permissions) {
|
|
8207
|
-
if (this.permissions.hasOwnProperty(key))
|
|
8208
|
-
data["permissions"][key] = this.permissions[key] ? this.permissions[key].toJSON() : undefined;
|
|
8209
|
-
}
|
|
8210
|
-
}
|
|
8211
8179
|
if (Array.isArray(this.featurePermissions)) {
|
|
8212
8180
|
data["featurePermissions"] = [];
|
|
8213
8181
|
for (let item of this.featurePermissions)
|
|
@@ -16531,31 +16499,45 @@ class AccountServiceProxy {
|
|
|
16531
16499
|
return of(null);
|
|
16532
16500
|
}
|
|
16533
16501
|
/**
|
|
16534
|
-
* @param
|
|
16502
|
+
* @param companyId (optional)
|
|
16503
|
+
* @param parkId (optional)
|
|
16504
|
+
* @param appModule (optional)
|
|
16505
|
+
* @param subCompanyId (optional)
|
|
16535
16506
|
* @return Success
|
|
16536
16507
|
*/
|
|
16537
|
-
|
|
16538
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/
|
|
16508
|
+
getCounters(companyId, parkId, appModule, subCompanyId, guid) {
|
|
16509
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/counters?";
|
|
16539
16510
|
if (guid === undefined || guid === null)
|
|
16540
16511
|
throw new Error("The parameter 'guid' must be defined.");
|
|
16541
16512
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
16513
|
+
if (companyId === null)
|
|
16514
|
+
throw new Error("The parameter 'companyId' cannot be null.");
|
|
16515
|
+
else if (companyId !== undefined)
|
|
16516
|
+
url_ += "CompanyId=" + encodeURIComponent("" + companyId) + "&";
|
|
16517
|
+
if (parkId === null)
|
|
16518
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
16519
|
+
else if (parkId !== undefined)
|
|
16520
|
+
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
16521
|
+
if (appModule === null)
|
|
16522
|
+
throw new Error("The parameter 'appModule' cannot be null.");
|
|
16523
|
+
else if (appModule !== undefined)
|
|
16524
|
+
url_ += "AppModule=" + encodeURIComponent("" + appModule) + "&";
|
|
16525
|
+
if (subCompanyId !== undefined && subCompanyId !== null)
|
|
16526
|
+
url_ += "SubCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
|
|
16542
16527
|
url_ = url_.replace(/[?&]$/, "");
|
|
16543
|
-
const content_ = JSON.stringify(body);
|
|
16544
16528
|
let options_ = {
|
|
16545
|
-
body: content_,
|
|
16546
16529
|
observe: "response",
|
|
16547
16530
|
responseType: "blob",
|
|
16548
16531
|
headers: new HttpHeaders({
|
|
16549
|
-
"Content-Type": "application/json-patch+json",
|
|
16550
16532
|
"Accept": "text/plain"
|
|
16551
16533
|
})
|
|
16552
16534
|
};
|
|
16553
|
-
return this.http.request("
|
|
16554
|
-
return this.
|
|
16535
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
16536
|
+
return this.processGetCounters(response_);
|
|
16555
16537
|
})).pipe(catchError((response_) => {
|
|
16556
16538
|
if (response_ instanceof HttpResponseBase) {
|
|
16557
16539
|
try {
|
|
16558
|
-
return this.
|
|
16540
|
+
return this.processGetCounters(response_);
|
|
16559
16541
|
}
|
|
16560
16542
|
catch (e) {
|
|
16561
16543
|
return throwError(e);
|
|
@@ -16565,7 +16547,7 @@ class AccountServiceProxy {
|
|
|
16565
16547
|
return throwError(response_);
|
|
16566
16548
|
}));
|
|
16567
16549
|
}
|
|
16568
|
-
|
|
16550
|
+
processGetCounters(response) {
|
|
16569
16551
|
const status = response.status;
|
|
16570
16552
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
16571
16553
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -16579,7 +16561,7 @@ class AccountServiceProxy {
|
|
|
16579
16561
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
16580
16562
|
let result200 = null;
|
|
16581
16563
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16582
|
-
result200 =
|
|
16564
|
+
result200 = CountersDtoHttpResponseData.fromJS(resultData200);
|
|
16583
16565
|
return of(result200);
|
|
16584
16566
|
}));
|
|
16585
16567
|
}
|
|
@@ -16591,61 +16573,31 @@ class AccountServiceProxy {
|
|
|
16591
16573
|
return of(null);
|
|
16592
16574
|
}
|
|
16593
16575
|
/**
|
|
16594
|
-
* @param
|
|
16595
|
-
* @param parkId (optional)
|
|
16596
|
-
* @param appModule (optional)
|
|
16597
|
-
* @param subCompanyId (optional)
|
|
16598
|
-
* @param permittedCompaniesFilterDto_PermittedCompanyIds (optional)
|
|
16599
|
-
* @param permittedCompaniesFilterDto_PermittedSubCompanyIds (optional)
|
|
16600
|
-
* @param permittedCompaniesFilterDto_AllPermitted (optional)
|
|
16601
|
-
* @param permittedCompaniesFilterDto_AllSubCompaniesPermitted (optional)
|
|
16576
|
+
* @param body (optional)
|
|
16602
16577
|
* @return Success
|
|
16603
16578
|
*/
|
|
16604
|
-
|
|
16605
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/
|
|
16579
|
+
updateParkingNowCounter(guid, body) {
|
|
16580
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/parking-now-counter";
|
|
16606
16581
|
if (guid === undefined || guid === null)
|
|
16607
16582
|
throw new Error("The parameter 'guid' must be defined.");
|
|
16608
16583
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
16609
|
-
if (companyId === null)
|
|
16610
|
-
throw new Error("The parameter 'companyId' cannot be null.");
|
|
16611
|
-
else if (companyId !== undefined)
|
|
16612
|
-
url_ += "CompanyId=" + encodeURIComponent("" + companyId) + "&";
|
|
16613
|
-
if (parkId === null)
|
|
16614
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
16615
|
-
else if (parkId !== undefined)
|
|
16616
|
-
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
16617
|
-
if (appModule === null)
|
|
16618
|
-
throw new Error("The parameter 'appModule' cannot be null.");
|
|
16619
|
-
else if (appModule !== undefined)
|
|
16620
|
-
url_ += "AppModule=" + encodeURIComponent("" + appModule) + "&";
|
|
16621
|
-
if (subCompanyId !== undefined && subCompanyId !== null)
|
|
16622
|
-
url_ += "SubCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
|
|
16623
|
-
if (permittedCompaniesFilterDto_PermittedCompanyIds !== undefined && permittedCompaniesFilterDto_PermittedCompanyIds !== null)
|
|
16624
|
-
permittedCompaniesFilterDto_PermittedCompanyIds && permittedCompaniesFilterDto_PermittedCompanyIds.forEach(item => { url_ += "PermittedCompaniesFilterDto.PermittedCompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
16625
|
-
if (permittedCompaniesFilterDto_PermittedSubCompanyIds !== undefined && permittedCompaniesFilterDto_PermittedSubCompanyIds !== null)
|
|
16626
|
-
permittedCompaniesFilterDto_PermittedSubCompanyIds && permittedCompaniesFilterDto_PermittedSubCompanyIds.forEach(item => { url_ += "PermittedCompaniesFilterDto.PermittedSubCompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
16627
|
-
if (permittedCompaniesFilterDto_AllPermitted === null)
|
|
16628
|
-
throw new Error("The parameter 'permittedCompaniesFilterDto_AllPermitted' cannot be null.");
|
|
16629
|
-
else if (permittedCompaniesFilterDto_AllPermitted !== undefined)
|
|
16630
|
-
url_ += "PermittedCompaniesFilterDto.AllPermitted=" + encodeURIComponent("" + permittedCompaniesFilterDto_AllPermitted) + "&";
|
|
16631
|
-
if (permittedCompaniesFilterDto_AllSubCompaniesPermitted === null)
|
|
16632
|
-
throw new Error("The parameter 'permittedCompaniesFilterDto_AllSubCompaniesPermitted' cannot be null.");
|
|
16633
|
-
else if (permittedCompaniesFilterDto_AllSubCompaniesPermitted !== undefined)
|
|
16634
|
-
url_ += "PermittedCompaniesFilterDto.AllSubCompaniesPermitted=" + encodeURIComponent("" + permittedCompaniesFilterDto_AllSubCompaniesPermitted) + "&";
|
|
16635
16584
|
url_ = url_.replace(/[?&]$/, "");
|
|
16585
|
+
const content_ = JSON.stringify(body);
|
|
16636
16586
|
let options_ = {
|
|
16587
|
+
body: content_,
|
|
16637
16588
|
observe: "response",
|
|
16638
16589
|
responseType: "blob",
|
|
16639
16590
|
headers: new HttpHeaders({
|
|
16591
|
+
"Content-Type": "application/json-patch+json",
|
|
16640
16592
|
"Accept": "text/plain"
|
|
16641
16593
|
})
|
|
16642
16594
|
};
|
|
16643
|
-
return this.http.request("
|
|
16644
|
-
return this.
|
|
16595
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
16596
|
+
return this.processUpdateParkingNowCounter(response_);
|
|
16645
16597
|
})).pipe(catchError((response_) => {
|
|
16646
16598
|
if (response_ instanceof HttpResponseBase) {
|
|
16647
16599
|
try {
|
|
16648
|
-
return this.
|
|
16600
|
+
return this.processUpdateParkingNowCounter(response_);
|
|
16649
16601
|
}
|
|
16650
16602
|
catch (e) {
|
|
16651
16603
|
return throwError(e);
|
|
@@ -16655,7 +16607,7 @@ class AccountServiceProxy {
|
|
|
16655
16607
|
return throwError(response_);
|
|
16656
16608
|
}));
|
|
16657
16609
|
}
|
|
16658
|
-
|
|
16610
|
+
processUpdateParkingNowCounter(response) {
|
|
16659
16611
|
const status = response.status;
|
|
16660
16612
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
16661
16613
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -16669,7 +16621,7 @@ class AccountServiceProxy {
|
|
|
16669
16621
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
16670
16622
|
let result200 = null;
|
|
16671
16623
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16672
|
-
result200 =
|
|
16624
|
+
result200 = Int32HttpResponseData.fromJS(resultData200);
|
|
16673
16625
|
return of(result200);
|
|
16674
16626
|
}));
|
|
16675
16627
|
}
|
|
@@ -17258,11 +17210,16 @@ class ChaserTicketServiceProxy {
|
|
|
17258
17210
|
}
|
|
17259
17211
|
/**
|
|
17260
17212
|
* @param dateValidity (optional)
|
|
17261
|
-
* @param body (optional)
|
|
17262
17213
|
* @return Success
|
|
17263
17214
|
*/
|
|
17264
|
-
|
|
17265
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
17215
|
+
couponsByBatchId(batchId, parkId, dateValidity, guid) {
|
|
17216
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{batchId}/facility/{parkId}?";
|
|
17217
|
+
if (batchId === undefined || batchId === null)
|
|
17218
|
+
throw new Error("The parameter 'batchId' must be defined.");
|
|
17219
|
+
url_ = url_.replace("{batchId}", encodeURIComponent("" + batchId));
|
|
17220
|
+
if (parkId === undefined || parkId === null)
|
|
17221
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
17222
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17266
17223
|
if (guid === undefined || guid === null)
|
|
17267
17224
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17268
17225
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17271,22 +17228,19 @@ class ChaserTicketServiceProxy {
|
|
|
17271
17228
|
else if (dateValidity !== undefined)
|
|
17272
17229
|
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17273
17230
|
url_ = url_.replace(/[?&]$/, "");
|
|
17274
|
-
const content_ = JSON.stringify(body);
|
|
17275
17231
|
let options_ = {
|
|
17276
|
-
body: content_,
|
|
17277
17232
|
observe: "response",
|
|
17278
17233
|
responseType: "blob",
|
|
17279
17234
|
headers: new HttpHeaders({
|
|
17280
|
-
"Content-Type": "application/json-patch+json",
|
|
17281
17235
|
"Accept": "text/plain"
|
|
17282
17236
|
})
|
|
17283
17237
|
};
|
|
17284
|
-
return this.http.request("
|
|
17285
|
-
return this.
|
|
17238
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
17239
|
+
return this.processCouponsByBatchId(response_);
|
|
17286
17240
|
})).pipe(catchError((response_) => {
|
|
17287
17241
|
if (response_ instanceof HttpResponseBase) {
|
|
17288
17242
|
try {
|
|
17289
|
-
return this.
|
|
17243
|
+
return this.processCouponsByBatchId(response_);
|
|
17290
17244
|
}
|
|
17291
17245
|
catch (e) {
|
|
17292
17246
|
return throwError(e);
|
|
@@ -17296,7 +17250,7 @@ class ChaserTicketServiceProxy {
|
|
|
17296
17250
|
return throwError(response_);
|
|
17297
17251
|
}));
|
|
17298
17252
|
}
|
|
17299
|
-
|
|
17253
|
+
processCouponsByBatchId(response) {
|
|
17300
17254
|
const status = response.status;
|
|
17301
17255
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17302
17256
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17310,7 +17264,7 @@ class ChaserTicketServiceProxy {
|
|
|
17310
17264
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17311
17265
|
let result200 = null;
|
|
17312
17266
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17313
|
-
result200 =
|
|
17267
|
+
result200 = CouponDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
17314
17268
|
return of(result200);
|
|
17315
17269
|
}));
|
|
17316
17270
|
}
|
|
@@ -17322,36 +17276,31 @@ class ChaserTicketServiceProxy {
|
|
|
17322
17276
|
return of(null);
|
|
17323
17277
|
}
|
|
17324
17278
|
/**
|
|
17325
|
-
* @param dateValidity (optional)
|
|
17326
|
-
* @param body (optional)
|
|
17327
17279
|
* @return Success
|
|
17280
|
+
* @deprecated
|
|
17328
17281
|
*/
|
|
17329
|
-
|
|
17330
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
17282
|
+
couponBatchDeepSearchDeprecated(entityId, guid) {
|
|
17283
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/batch/deep-search/{entityId}";
|
|
17284
|
+
if (entityId === undefined || entityId === null)
|
|
17285
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
17286
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
17331
17287
|
if (guid === undefined || guid === null)
|
|
17332
17288
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17333
17289
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17334
|
-
if (dateValidity === null)
|
|
17335
|
-
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
17336
|
-
else if (dateValidity !== undefined)
|
|
17337
|
-
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17338
17290
|
url_ = url_.replace(/[?&]$/, "");
|
|
17339
|
-
const content_ = JSON.stringify(body);
|
|
17340
17291
|
let options_ = {
|
|
17341
|
-
body: content_,
|
|
17342
17292
|
observe: "response",
|
|
17343
17293
|
responseType: "blob",
|
|
17344
17294
|
headers: new HttpHeaders({
|
|
17345
|
-
"Content-Type": "application/json-patch+json",
|
|
17346
17295
|
"Accept": "text/plain"
|
|
17347
17296
|
})
|
|
17348
17297
|
};
|
|
17349
|
-
return this.http.request("
|
|
17350
|
-
return this.
|
|
17298
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
17299
|
+
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
17351
17300
|
})).pipe(catchError((response_) => {
|
|
17352
17301
|
if (response_ instanceof HttpResponseBase) {
|
|
17353
17302
|
try {
|
|
17354
|
-
return this.
|
|
17303
|
+
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
17355
17304
|
}
|
|
17356
17305
|
catch (e) {
|
|
17357
17306
|
return throwError(e);
|
|
@@ -17361,7 +17310,7 @@ class ChaserTicketServiceProxy {
|
|
|
17361
17310
|
return throwError(response_);
|
|
17362
17311
|
}));
|
|
17363
17312
|
}
|
|
17364
|
-
|
|
17313
|
+
processCouponBatchDeepSearchDeprecated(response) {
|
|
17365
17314
|
const status = response.status;
|
|
17366
17315
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17367
17316
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17375,7 +17324,7 @@ class ChaserTicketServiceProxy {
|
|
|
17375
17324
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17376
17325
|
let result200 = null;
|
|
17377
17326
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17378
|
-
result200 =
|
|
17327
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
17379
17328
|
return of(result200);
|
|
17380
17329
|
}));
|
|
17381
17330
|
}
|
|
@@ -17387,36 +17336,33 @@ class ChaserTicketServiceProxy {
|
|
|
17387
17336
|
return of(null);
|
|
17388
17337
|
}
|
|
17389
17338
|
/**
|
|
17390
|
-
* @param dateValidity (optional)
|
|
17391
|
-
* @param body (optional)
|
|
17392
17339
|
* @return Success
|
|
17393
17340
|
*/
|
|
17394
|
-
|
|
17395
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon
|
|
17341
|
+
couponBatchDeepSearch(parkId, entityId, guid) {
|
|
17342
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/batch/facility/{parkId}/deep-search/{entityId}";
|
|
17343
|
+
if (parkId === undefined || parkId === null)
|
|
17344
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
17345
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17346
|
+
if (entityId === undefined || entityId === null)
|
|
17347
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
17348
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
17396
17349
|
if (guid === undefined || guid === null)
|
|
17397
17350
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17398
17351
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17399
|
-
if (dateValidity === null)
|
|
17400
|
-
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
17401
|
-
else if (dateValidity !== undefined)
|
|
17402
|
-
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17403
17352
|
url_ = url_.replace(/[?&]$/, "");
|
|
17404
|
-
const content_ = JSON.stringify(body);
|
|
17405
17353
|
let options_ = {
|
|
17406
|
-
body: content_,
|
|
17407
17354
|
observe: "response",
|
|
17408
17355
|
responseType: "blob",
|
|
17409
17356
|
headers: new HttpHeaders({
|
|
17410
|
-
"Content-Type": "application/json-patch+json",
|
|
17411
17357
|
"Accept": "text/plain"
|
|
17412
17358
|
})
|
|
17413
17359
|
};
|
|
17414
|
-
return this.http.request("
|
|
17415
|
-
return this.
|
|
17360
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
17361
|
+
return this.processCouponBatchDeepSearch(response_);
|
|
17416
17362
|
})).pipe(catchError((response_) => {
|
|
17417
17363
|
if (response_ instanceof HttpResponseBase) {
|
|
17418
17364
|
try {
|
|
17419
|
-
return this.
|
|
17365
|
+
return this.processCouponBatchDeepSearch(response_);
|
|
17420
17366
|
}
|
|
17421
17367
|
catch (e) {
|
|
17422
17368
|
return throwError(e);
|
|
@@ -17426,7 +17372,7 @@ class ChaserTicketServiceProxy {
|
|
|
17426
17372
|
return throwError(response_);
|
|
17427
17373
|
}));
|
|
17428
17374
|
}
|
|
17429
|
-
|
|
17375
|
+
processCouponBatchDeepSearch(response) {
|
|
17430
17376
|
const status = response.status;
|
|
17431
17377
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17432
17378
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17440,7 +17386,129 @@ class ChaserTicketServiceProxy {
|
|
|
17440
17386
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17441
17387
|
let result200 = null;
|
|
17442
17388
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17443
|
-
result200 =
|
|
17389
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
17390
|
+
return of(result200);
|
|
17391
|
+
}));
|
|
17392
|
+
}
|
|
17393
|
+
else if (status !== 200 && status !== 204) {
|
|
17394
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17395
|
+
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17396
|
+
}));
|
|
17397
|
+
}
|
|
17398
|
+
return of(null);
|
|
17399
|
+
}
|
|
17400
|
+
/**
|
|
17401
|
+
* @return Success
|
|
17402
|
+
* @deprecated
|
|
17403
|
+
*/
|
|
17404
|
+
singleCouponDeepSearchDeprecated(entityId, guid) {
|
|
17405
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/deep-search/{entityId}";
|
|
17406
|
+
if (entityId === undefined || entityId === null)
|
|
17407
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
17408
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
17409
|
+
if (guid === undefined || guid === null)
|
|
17410
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
17411
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17412
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
17413
|
+
let options_ = {
|
|
17414
|
+
observe: "response",
|
|
17415
|
+
responseType: "blob",
|
|
17416
|
+
headers: new HttpHeaders({
|
|
17417
|
+
"Accept": "text/plain"
|
|
17418
|
+
})
|
|
17419
|
+
};
|
|
17420
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
17421
|
+
return this.processSingleCouponDeepSearchDeprecated(response_);
|
|
17422
|
+
})).pipe(catchError((response_) => {
|
|
17423
|
+
if (response_ instanceof HttpResponseBase) {
|
|
17424
|
+
try {
|
|
17425
|
+
return this.processSingleCouponDeepSearchDeprecated(response_);
|
|
17426
|
+
}
|
|
17427
|
+
catch (e) {
|
|
17428
|
+
return throwError(e);
|
|
17429
|
+
}
|
|
17430
|
+
}
|
|
17431
|
+
else
|
|
17432
|
+
return throwError(response_);
|
|
17433
|
+
}));
|
|
17434
|
+
}
|
|
17435
|
+
processSingleCouponDeepSearchDeprecated(response) {
|
|
17436
|
+
const status = response.status;
|
|
17437
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17438
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
17439
|
+
let _headers = {};
|
|
17440
|
+
if (response.headers) {
|
|
17441
|
+
for (let key of response.headers.keys()) {
|
|
17442
|
+
_headers[key] = response.headers.get(key);
|
|
17443
|
+
}
|
|
17444
|
+
}
|
|
17445
|
+
if (status === 200) {
|
|
17446
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17447
|
+
let result200 = null;
|
|
17448
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17449
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
17450
|
+
return of(result200);
|
|
17451
|
+
}));
|
|
17452
|
+
}
|
|
17453
|
+
else if (status !== 200 && status !== 204) {
|
|
17454
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17455
|
+
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17456
|
+
}));
|
|
17457
|
+
}
|
|
17458
|
+
return of(null);
|
|
17459
|
+
}
|
|
17460
|
+
/**
|
|
17461
|
+
* @return Success
|
|
17462
|
+
*/
|
|
17463
|
+
singleCouponDeepSearch(parkId, entityId, guid) {
|
|
17464
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/facility/{parkId}/deep-search/{entityId}";
|
|
17465
|
+
if (parkId === undefined || parkId === null)
|
|
17466
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
17467
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17468
|
+
if (entityId === undefined || entityId === null)
|
|
17469
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
17470
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
17471
|
+
if (guid === undefined || guid === null)
|
|
17472
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
17473
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17474
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
17475
|
+
let options_ = {
|
|
17476
|
+
observe: "response",
|
|
17477
|
+
responseType: "blob",
|
|
17478
|
+
headers: new HttpHeaders({
|
|
17479
|
+
"Accept": "text/plain"
|
|
17480
|
+
})
|
|
17481
|
+
};
|
|
17482
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
17483
|
+
return this.processSingleCouponDeepSearch(response_);
|
|
17484
|
+
})).pipe(catchError((response_) => {
|
|
17485
|
+
if (response_ instanceof HttpResponseBase) {
|
|
17486
|
+
try {
|
|
17487
|
+
return this.processSingleCouponDeepSearch(response_);
|
|
17488
|
+
}
|
|
17489
|
+
catch (e) {
|
|
17490
|
+
return throwError(e);
|
|
17491
|
+
}
|
|
17492
|
+
}
|
|
17493
|
+
else
|
|
17494
|
+
return throwError(response_);
|
|
17495
|
+
}));
|
|
17496
|
+
}
|
|
17497
|
+
processSingleCouponDeepSearch(response) {
|
|
17498
|
+
const status = response.status;
|
|
17499
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17500
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
17501
|
+
let _headers = {};
|
|
17502
|
+
if (response.headers) {
|
|
17503
|
+
for (let key of response.headers.keys()) {
|
|
17504
|
+
_headers[key] = response.headers.get(key);
|
|
17505
|
+
}
|
|
17506
|
+
}
|
|
17507
|
+
if (status === 200) {
|
|
17508
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17509
|
+
let result200 = null;
|
|
17510
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17511
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
17444
17512
|
return of(result200);
|
|
17445
17513
|
}));
|
|
17446
17514
|
}
|
|
@@ -17456,8 +17524,8 @@ class ChaserTicketServiceProxy {
|
|
|
17456
17524
|
* @param body (optional)
|
|
17457
17525
|
* @return Success
|
|
17458
17526
|
*/
|
|
17459
|
-
|
|
17460
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
17527
|
+
createCouponBatch(dateValidity, guid, body) {
|
|
17528
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/create?";
|
|
17461
17529
|
if (guid === undefined || guid === null)
|
|
17462
17530
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17463
17531
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17476,12 +17544,12 @@ class ChaserTicketServiceProxy {
|
|
|
17476
17544
|
"Accept": "text/plain"
|
|
17477
17545
|
})
|
|
17478
17546
|
};
|
|
17479
|
-
return this.http.request("
|
|
17480
|
-
return this.
|
|
17547
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17548
|
+
return this.processCreateCouponBatch(response_);
|
|
17481
17549
|
})).pipe(catchError((response_) => {
|
|
17482
17550
|
if (response_ instanceof HttpResponseBase) {
|
|
17483
17551
|
try {
|
|
17484
|
-
return this.
|
|
17552
|
+
return this.processCreateCouponBatch(response_);
|
|
17485
17553
|
}
|
|
17486
17554
|
catch (e) {
|
|
17487
17555
|
return throwError(e);
|
|
@@ -17491,7 +17559,7 @@ class ChaserTicketServiceProxy {
|
|
|
17491
17559
|
return throwError(response_);
|
|
17492
17560
|
}));
|
|
17493
17561
|
}
|
|
17494
|
-
|
|
17562
|
+
processCreateCouponBatch(response) {
|
|
17495
17563
|
const status = response.status;
|
|
17496
17564
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17497
17565
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17521,8 +17589,8 @@ class ChaserTicketServiceProxy {
|
|
|
17521
17589
|
* @param body (optional)
|
|
17522
17590
|
* @return Success
|
|
17523
17591
|
*/
|
|
17524
|
-
|
|
17525
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
17592
|
+
createBasicCouponBatch(dateValidity, guid, body) {
|
|
17593
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/create-basic?";
|
|
17526
17594
|
if (guid === undefined || guid === null)
|
|
17527
17595
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17528
17596
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17541,12 +17609,12 @@ class ChaserTicketServiceProxy {
|
|
|
17541
17609
|
"Accept": "text/plain"
|
|
17542
17610
|
})
|
|
17543
17611
|
};
|
|
17544
|
-
return this.http.request("
|
|
17545
|
-
return this.
|
|
17612
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17613
|
+
return this.processCreateBasicCouponBatch(response_);
|
|
17546
17614
|
})).pipe(catchError((response_) => {
|
|
17547
17615
|
if (response_ instanceof HttpResponseBase) {
|
|
17548
17616
|
try {
|
|
17549
|
-
return this.
|
|
17617
|
+
return this.processCreateBasicCouponBatch(response_);
|
|
17550
17618
|
}
|
|
17551
17619
|
catch (e) {
|
|
17552
17620
|
return throwError(e);
|
|
@@ -17556,7 +17624,7 @@ class ChaserTicketServiceProxy {
|
|
|
17556
17624
|
return throwError(response_);
|
|
17557
17625
|
}));
|
|
17558
17626
|
}
|
|
17559
|
-
|
|
17627
|
+
processCreateBasicCouponBatch(response) {
|
|
17560
17628
|
const status = response.status;
|
|
17561
17629
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17562
17630
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17570,7 +17638,7 @@ class ChaserTicketServiceProxy {
|
|
|
17570
17638
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17571
17639
|
let result200 = null;
|
|
17572
17640
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17573
|
-
result200 =
|
|
17641
|
+
result200 = CouponBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17574
17642
|
return of(result200);
|
|
17575
17643
|
}));
|
|
17576
17644
|
}
|
|
@@ -17582,56 +17650,19 @@ class ChaserTicketServiceProxy {
|
|
|
17582
17650
|
return of(null);
|
|
17583
17651
|
}
|
|
17584
17652
|
/**
|
|
17585
|
-
* @param startDate (optional)
|
|
17586
|
-
* @param endDate (optional)
|
|
17587
|
-
* @param searchValue (optional)
|
|
17588
|
-
* @param companyId (optional)
|
|
17589
|
-
* @param subCompanyId (optional)
|
|
17590
|
-
* @param take (optional)
|
|
17591
|
-
* @param skip (optional)
|
|
17592
|
-
* @param orderBy_Column (optional)
|
|
17593
|
-
* @param orderBy_OrderDirection (optional)
|
|
17594
17653
|
* @param dateValidity (optional)
|
|
17595
|
-
* @param chaserTicketSearchFieldSelector (optional)
|
|
17596
17654
|
* @param body (optional)
|
|
17597
17655
|
* @return Success
|
|
17598
17656
|
*/
|
|
17599
|
-
|
|
17600
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17601
|
-
if (parkId === undefined || parkId === null)
|
|
17602
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
17603
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17657
|
+
updateCouponBatch(dateValidity, guid, body) {
|
|
17658
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon?";
|
|
17604
17659
|
if (guid === undefined || guid === null)
|
|
17605
17660
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17606
17661
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17607
|
-
if (startDate !== undefined && startDate !== null)
|
|
17608
|
-
url_ += "StartDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&";
|
|
17609
|
-
if (endDate !== undefined && endDate !== null)
|
|
17610
|
-
url_ += "EndDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&";
|
|
17611
|
-
if (searchValue !== undefined && searchValue !== null)
|
|
17612
|
-
url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
|
|
17613
|
-
if (companyId !== undefined && companyId !== null)
|
|
17614
|
-
url_ += "CompanyId=" + encodeURIComponent("" + companyId) + "&";
|
|
17615
|
-
if (subCompanyId !== undefined && subCompanyId !== null)
|
|
17616
|
-
url_ += "SubCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
|
|
17617
|
-
if (take !== undefined && take !== null)
|
|
17618
|
-
url_ += "Take=" + encodeURIComponent("" + take) + "&";
|
|
17619
|
-
if (skip !== undefined && skip !== null)
|
|
17620
|
-
url_ += "Skip=" + encodeURIComponent("" + skip) + "&";
|
|
17621
|
-
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
17622
|
-
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
17623
|
-
if (orderBy_OrderDirection === null)
|
|
17624
|
-
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
17625
|
-
else if (orderBy_OrderDirection !== undefined)
|
|
17626
|
-
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
17627
17662
|
if (dateValidity === null)
|
|
17628
17663
|
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
17629
17664
|
else if (dateValidity !== undefined)
|
|
17630
17665
|
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17631
|
-
if (chaserTicketSearchFieldSelector === null)
|
|
17632
|
-
throw new Error("The parameter 'chaserTicketSearchFieldSelector' cannot be null.");
|
|
17633
|
-
else if (chaserTicketSearchFieldSelector !== undefined)
|
|
17634
|
-
url_ += "chaserTicketSearchFieldSelector=" + encodeURIComponent("" + chaserTicketSearchFieldSelector) + "&";
|
|
17635
17666
|
url_ = url_.replace(/[?&]$/, "");
|
|
17636
17667
|
const content_ = JSON.stringify(body);
|
|
17637
17668
|
let options_ = {
|
|
@@ -17643,12 +17674,12 @@ class ChaserTicketServiceProxy {
|
|
|
17643
17674
|
"Accept": "text/plain"
|
|
17644
17675
|
})
|
|
17645
17676
|
};
|
|
17646
|
-
return this.http.request("
|
|
17647
|
-
return this.
|
|
17677
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17678
|
+
return this.processUpdateCouponBatch(response_);
|
|
17648
17679
|
})).pipe(catchError((response_) => {
|
|
17649
17680
|
if (response_ instanceof HttpResponseBase) {
|
|
17650
17681
|
try {
|
|
17651
|
-
return this.
|
|
17682
|
+
return this.processUpdateCouponBatch(response_);
|
|
17652
17683
|
}
|
|
17653
17684
|
catch (e) {
|
|
17654
17685
|
return throwError(e);
|
|
@@ -17658,7 +17689,7 @@ class ChaserTicketServiceProxy {
|
|
|
17658
17689
|
return throwError(response_);
|
|
17659
17690
|
}));
|
|
17660
17691
|
}
|
|
17661
|
-
|
|
17692
|
+
processUpdateCouponBatch(response) {
|
|
17662
17693
|
const status = response.status;
|
|
17663
17694
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17664
17695
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17672,7 +17703,7 @@ class ChaserTicketServiceProxy {
|
|
|
17672
17703
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17673
17704
|
let result200 = null;
|
|
17674
17705
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17675
|
-
result200 =
|
|
17706
|
+
result200 = CouponBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17676
17707
|
return of(result200);
|
|
17677
17708
|
}));
|
|
17678
17709
|
}
|
|
@@ -17688,8 +17719,8 @@ class ChaserTicketServiceProxy {
|
|
|
17688
17719
|
* @param body (optional)
|
|
17689
17720
|
* @return Success
|
|
17690
17721
|
*/
|
|
17691
|
-
|
|
17692
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17722
|
+
markCouponBatchAsSent(dateValidity, guid, body) {
|
|
17723
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/mark-batch-as-sent?";
|
|
17693
17724
|
if (guid === undefined || guid === null)
|
|
17694
17725
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17695
17726
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17708,12 +17739,12 @@ class ChaserTicketServiceProxy {
|
|
|
17708
17739
|
"Accept": "text/plain"
|
|
17709
17740
|
})
|
|
17710
17741
|
};
|
|
17711
|
-
return this.http.request("
|
|
17712
|
-
return this.
|
|
17742
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17743
|
+
return this.processMarkCouponBatchAsSent(response_);
|
|
17713
17744
|
})).pipe(catchError((response_) => {
|
|
17714
17745
|
if (response_ instanceof HttpResponseBase) {
|
|
17715
17746
|
try {
|
|
17716
|
-
return this.
|
|
17747
|
+
return this.processMarkCouponBatchAsSent(response_);
|
|
17717
17748
|
}
|
|
17718
17749
|
catch (e) {
|
|
17719
17750
|
return throwError(e);
|
|
@@ -17723,7 +17754,7 @@ class ChaserTicketServiceProxy {
|
|
|
17723
17754
|
return throwError(response_);
|
|
17724
17755
|
}));
|
|
17725
17756
|
}
|
|
17726
|
-
|
|
17757
|
+
processMarkCouponBatchAsSent(response) {
|
|
17727
17758
|
const status = response.status;
|
|
17728
17759
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17729
17760
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17737,7 +17768,7 @@ class ChaserTicketServiceProxy {
|
|
|
17737
17768
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17738
17769
|
let result200 = null;
|
|
17739
17770
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17740
|
-
result200 =
|
|
17771
|
+
result200 = CouponBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17741
17772
|
return of(result200);
|
|
17742
17773
|
}));
|
|
17743
17774
|
}
|
|
@@ -17753,8 +17784,8 @@ class ChaserTicketServiceProxy {
|
|
|
17753
17784
|
* @param body (optional)
|
|
17754
17785
|
* @return Success
|
|
17755
17786
|
*/
|
|
17756
|
-
|
|
17757
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17787
|
+
markSingleCouponAsSent(dateValidity, guid, body) {
|
|
17788
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/mark-as-sent?";
|
|
17758
17789
|
if (guid === undefined || guid === null)
|
|
17759
17790
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17760
17791
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17773,12 +17804,12 @@ class ChaserTicketServiceProxy {
|
|
|
17773
17804
|
"Accept": "text/plain"
|
|
17774
17805
|
})
|
|
17775
17806
|
};
|
|
17776
|
-
return this.http.request("
|
|
17777
|
-
return this.
|
|
17807
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17808
|
+
return this.processMarkSingleCouponAsSent(response_);
|
|
17778
17809
|
})).pipe(catchError((response_) => {
|
|
17779
17810
|
if (response_ instanceof HttpResponseBase) {
|
|
17780
17811
|
try {
|
|
17781
|
-
return this.
|
|
17812
|
+
return this.processMarkSingleCouponAsSent(response_);
|
|
17782
17813
|
}
|
|
17783
17814
|
catch (e) {
|
|
17784
17815
|
return throwError(e);
|
|
@@ -17788,7 +17819,7 @@ class ChaserTicketServiceProxy {
|
|
|
17788
17819
|
return throwError(response_);
|
|
17789
17820
|
}));
|
|
17790
17821
|
}
|
|
17791
|
-
|
|
17822
|
+
processMarkSingleCouponAsSent(response) {
|
|
17792
17823
|
const status = response.status;
|
|
17793
17824
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17794
17825
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17802,7 +17833,7 @@ class ChaserTicketServiceProxy {
|
|
|
17802
17833
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17803
17834
|
let result200 = null;
|
|
17804
17835
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17805
|
-
result200 =
|
|
17836
|
+
result200 = CouponDtoHttpResponseData.fromJS(resultData200);
|
|
17806
17837
|
return of(result200);
|
|
17807
17838
|
}));
|
|
17808
17839
|
}
|
|
@@ -17814,36 +17845,35 @@ class ChaserTicketServiceProxy {
|
|
|
17814
17845
|
return of(null);
|
|
17815
17846
|
}
|
|
17816
17847
|
/**
|
|
17817
|
-
* @param
|
|
17818
|
-
* @param body (optional)
|
|
17848
|
+
* @param parkId (optional)
|
|
17819
17849
|
* @return Success
|
|
17820
17850
|
*/
|
|
17821
|
-
|
|
17822
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17851
|
+
deleteCouponBatch(id, parkId, guid) {
|
|
17852
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{id}?";
|
|
17853
|
+
if (id === undefined || id === null)
|
|
17854
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
17855
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17823
17856
|
if (guid === undefined || guid === null)
|
|
17824
17857
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17825
17858
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17826
|
-
if (
|
|
17827
|
-
throw new Error("The parameter '
|
|
17828
|
-
else if (
|
|
17829
|
-
url_ += "
|
|
17859
|
+
if (parkId === null)
|
|
17860
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
17861
|
+
else if (parkId !== undefined)
|
|
17862
|
+
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
17830
17863
|
url_ = url_.replace(/[?&]$/, "");
|
|
17831
|
-
const content_ = JSON.stringify(body);
|
|
17832
17864
|
let options_ = {
|
|
17833
|
-
body: content_,
|
|
17834
17865
|
observe: "response",
|
|
17835
17866
|
responseType: "blob",
|
|
17836
17867
|
headers: new HttpHeaders({
|
|
17837
|
-
"Content-Type": "application/json-patch+json",
|
|
17838
17868
|
"Accept": "text/plain"
|
|
17839
17869
|
})
|
|
17840
17870
|
};
|
|
17841
|
-
return this.http.request("
|
|
17842
|
-
return this.
|
|
17871
|
+
return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
|
|
17872
|
+
return this.processDeleteCouponBatch(response_);
|
|
17843
17873
|
})).pipe(catchError((response_) => {
|
|
17844
17874
|
if (response_ instanceof HttpResponseBase) {
|
|
17845
17875
|
try {
|
|
17846
|
-
return this.
|
|
17876
|
+
return this.processDeleteCouponBatch(response_);
|
|
17847
17877
|
}
|
|
17848
17878
|
catch (e) {
|
|
17849
17879
|
return throwError(e);
|
|
@@ -17853,7 +17883,7 @@ class ChaserTicketServiceProxy {
|
|
|
17853
17883
|
return throwError(response_);
|
|
17854
17884
|
}));
|
|
17855
17885
|
}
|
|
17856
|
-
|
|
17886
|
+
processDeleteCouponBatch(response) {
|
|
17857
17887
|
const status = response.status;
|
|
17858
17888
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17859
17889
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17867,7 +17897,7 @@ class ChaserTicketServiceProxy {
|
|
|
17867
17897
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17868
17898
|
let result200 = null;
|
|
17869
17899
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17870
|
-
result200 =
|
|
17900
|
+
result200 = UnitHttpResponseData.fromJS(resultData200);
|
|
17871
17901
|
return of(result200);
|
|
17872
17902
|
}));
|
|
17873
17903
|
}
|
|
@@ -17879,19 +17909,56 @@ class ChaserTicketServiceProxy {
|
|
|
17879
17909
|
return of(null);
|
|
17880
17910
|
}
|
|
17881
17911
|
/**
|
|
17912
|
+
* @param startDate (optional)
|
|
17913
|
+
* @param endDate (optional)
|
|
17914
|
+
* @param searchValue (optional)
|
|
17915
|
+
* @param companyId (optional)
|
|
17916
|
+
* @param subCompanyId (optional)
|
|
17917
|
+
* @param take (optional)
|
|
17918
|
+
* @param skip (optional)
|
|
17919
|
+
* @param orderBy_Column (optional)
|
|
17920
|
+
* @param orderBy_OrderDirection (optional)
|
|
17882
17921
|
* @param dateValidity (optional)
|
|
17922
|
+
* @param chaserTicketSearchFieldSelector (optional)
|
|
17883
17923
|
* @param body (optional)
|
|
17884
17924
|
* @return Success
|
|
17885
17925
|
*/
|
|
17886
|
-
|
|
17887
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/
|
|
17926
|
+
stickersBatches(parkId, startDate, endDate, searchValue, companyId, subCompanyId, take, skip, orderBy_Column, orderBy_OrderDirection, dateValidity, chaserTicketSearchFieldSelector, guid, body) {
|
|
17927
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}?";
|
|
17928
|
+
if (parkId === undefined || parkId === null)
|
|
17929
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
17930
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17888
17931
|
if (guid === undefined || guid === null)
|
|
17889
17932
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17890
17933
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17934
|
+
if (startDate !== undefined && startDate !== null)
|
|
17935
|
+
url_ += "StartDate=" + encodeURIComponent(startDate ? "" + startDate.toISOString() : "") + "&";
|
|
17936
|
+
if (endDate !== undefined && endDate !== null)
|
|
17937
|
+
url_ += "EndDate=" + encodeURIComponent(endDate ? "" + endDate.toISOString() : "") + "&";
|
|
17938
|
+
if (searchValue !== undefined && searchValue !== null)
|
|
17939
|
+
url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
|
|
17940
|
+
if (companyId !== undefined && companyId !== null)
|
|
17941
|
+
url_ += "CompanyId=" + encodeURIComponent("" + companyId) + "&";
|
|
17942
|
+
if (subCompanyId !== undefined && subCompanyId !== null)
|
|
17943
|
+
url_ += "SubCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
|
|
17944
|
+
if (take !== undefined && take !== null)
|
|
17945
|
+
url_ += "Take=" + encodeURIComponent("" + take) + "&";
|
|
17946
|
+
if (skip !== undefined && skip !== null)
|
|
17947
|
+
url_ += "Skip=" + encodeURIComponent("" + skip) + "&";
|
|
17948
|
+
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
17949
|
+
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
17950
|
+
if (orderBy_OrderDirection === null)
|
|
17951
|
+
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
17952
|
+
else if (orderBy_OrderDirection !== undefined)
|
|
17953
|
+
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
17891
17954
|
if (dateValidity === null)
|
|
17892
17955
|
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
17893
17956
|
else if (dateValidity !== undefined)
|
|
17894
17957
|
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17958
|
+
if (chaserTicketSearchFieldSelector === null)
|
|
17959
|
+
throw new Error("The parameter 'chaserTicketSearchFieldSelector' cannot be null.");
|
|
17960
|
+
else if (chaserTicketSearchFieldSelector !== undefined)
|
|
17961
|
+
url_ += "chaserTicketSearchFieldSelector=" + encodeURIComponent("" + chaserTicketSearchFieldSelector) + "&";
|
|
17895
17962
|
url_ = url_.replace(/[?&]$/, "");
|
|
17896
17963
|
const content_ = JSON.stringify(body);
|
|
17897
17964
|
let options_ = {
|
|
@@ -17903,12 +17970,12 @@ class ChaserTicketServiceProxy {
|
|
|
17903
17970
|
"Accept": "text/plain"
|
|
17904
17971
|
})
|
|
17905
17972
|
};
|
|
17906
|
-
return this.http.request("
|
|
17907
|
-
return this.
|
|
17973
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17974
|
+
return this.processStickersBatches(response_);
|
|
17908
17975
|
})).pipe(catchError((response_) => {
|
|
17909
17976
|
if (response_ instanceof HttpResponseBase) {
|
|
17910
17977
|
try {
|
|
17911
|
-
return this.
|
|
17978
|
+
return this.processStickersBatches(response_);
|
|
17912
17979
|
}
|
|
17913
17980
|
catch (e) {
|
|
17914
17981
|
return throwError(e);
|
|
@@ -17918,7 +17985,7 @@ class ChaserTicketServiceProxy {
|
|
|
17918
17985
|
return throwError(response_);
|
|
17919
17986
|
}));
|
|
17920
17987
|
}
|
|
17921
|
-
|
|
17988
|
+
processStickersBatches(response) {
|
|
17922
17989
|
const status = response.status;
|
|
17923
17990
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17924
17991
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17932,7 +17999,7 @@ class ChaserTicketServiceProxy {
|
|
|
17932
17999
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17933
18000
|
let result200 = null;
|
|
17934
18001
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17935
|
-
result200 =
|
|
18002
|
+
result200 = StickerBatchDtoEntityWrapperDtoHttpResponseData.fromJS(resultData200);
|
|
17936
18003
|
return of(result200);
|
|
17937
18004
|
}));
|
|
17938
18005
|
}
|
|
@@ -17944,31 +18011,38 @@ class ChaserTicketServiceProxy {
|
|
|
17944
18011
|
return of(null);
|
|
17945
18012
|
}
|
|
17946
18013
|
/**
|
|
17947
|
-
* @param
|
|
18014
|
+
* @param dateValidity (optional)
|
|
17948
18015
|
* @return Success
|
|
17949
18016
|
*/
|
|
17950
|
-
|
|
17951
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18017
|
+
stickersByBatchId(batchId, parkId, dateValidity, guid) {
|
|
18018
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{batchId}/facility/{parkId}?";
|
|
18019
|
+
if (batchId === undefined || batchId === null)
|
|
18020
|
+
throw new Error("The parameter 'batchId' must be defined.");
|
|
18021
|
+
url_ = url_.replace("{batchId}", encodeURIComponent("" + batchId));
|
|
18022
|
+
if (parkId === undefined || parkId === null)
|
|
18023
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
18024
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17952
18025
|
if (guid === undefined || guid === null)
|
|
17953
18026
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17954
18027
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18028
|
+
if (dateValidity === null)
|
|
18029
|
+
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
18030
|
+
else if (dateValidity !== undefined)
|
|
18031
|
+
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17955
18032
|
url_ = url_.replace(/[?&]$/, "");
|
|
17956
|
-
const content_ = JSON.stringify(body);
|
|
17957
18033
|
let options_ = {
|
|
17958
|
-
body: content_,
|
|
17959
18034
|
observe: "response",
|
|
17960
18035
|
responseType: "blob",
|
|
17961
18036
|
headers: new HttpHeaders({
|
|
17962
|
-
"Content-Type": "application/json-patch+json",
|
|
17963
18037
|
"Accept": "text/plain"
|
|
17964
18038
|
})
|
|
17965
18039
|
};
|
|
17966
|
-
return this.http.request("
|
|
17967
|
-
return this.
|
|
18040
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18041
|
+
return this.processStickersByBatchId(response_);
|
|
17968
18042
|
})).pipe(catchError((response_) => {
|
|
17969
18043
|
if (response_ instanceof HttpResponseBase) {
|
|
17970
18044
|
try {
|
|
17971
|
-
return this.
|
|
18045
|
+
return this.processStickersByBatchId(response_);
|
|
17972
18046
|
}
|
|
17973
18047
|
catch (e) {
|
|
17974
18048
|
return throwError(e);
|
|
@@ -17978,7 +18052,7 @@ class ChaserTicketServiceProxy {
|
|
|
17978
18052
|
return throwError(response_);
|
|
17979
18053
|
}));
|
|
17980
18054
|
}
|
|
17981
|
-
|
|
18055
|
+
processStickersByBatchId(response) {
|
|
17982
18056
|
const status = response.status;
|
|
17983
18057
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17984
18058
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17992,7 +18066,7 @@ class ChaserTicketServiceProxy {
|
|
|
17992
18066
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17993
18067
|
let result200 = null;
|
|
17994
18068
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17995
|
-
result200 =
|
|
18069
|
+
result200 = StickerDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
17996
18070
|
return of(result200);
|
|
17997
18071
|
}));
|
|
17998
18072
|
}
|
|
@@ -18004,31 +18078,31 @@ class ChaserTicketServiceProxy {
|
|
|
18004
18078
|
return of(null);
|
|
18005
18079
|
}
|
|
18006
18080
|
/**
|
|
18007
|
-
* @param body (optional)
|
|
18008
18081
|
* @return Success
|
|
18082
|
+
* @deprecated
|
|
18009
18083
|
*/
|
|
18010
|
-
|
|
18011
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18084
|
+
stickerBatchDeepSearchDeprecated(entityId, guid) {
|
|
18085
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/batch/deep-search/{entityId}";
|
|
18086
|
+
if (entityId === undefined || entityId === null)
|
|
18087
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
18088
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18012
18089
|
if (guid === undefined || guid === null)
|
|
18013
18090
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18014
18091
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18015
18092
|
url_ = url_.replace(/[?&]$/, "");
|
|
18016
|
-
const content_ = JSON.stringify(body);
|
|
18017
18093
|
let options_ = {
|
|
18018
|
-
body: content_,
|
|
18019
18094
|
observe: "response",
|
|
18020
18095
|
responseType: "blob",
|
|
18021
18096
|
headers: new HttpHeaders({
|
|
18022
|
-
"Content-Type": "application/json-patch+json",
|
|
18023
18097
|
"Accept": "text/plain"
|
|
18024
18098
|
})
|
|
18025
18099
|
};
|
|
18026
|
-
return this.http.request("
|
|
18027
|
-
return this.
|
|
18100
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18101
|
+
return this.processStickerBatchDeepSearchDeprecated(response_);
|
|
18028
18102
|
})).pipe(catchError((response_) => {
|
|
18029
18103
|
if (response_ instanceof HttpResponseBase) {
|
|
18030
18104
|
try {
|
|
18031
|
-
return this.
|
|
18105
|
+
return this.processStickerBatchDeepSearchDeprecated(response_);
|
|
18032
18106
|
}
|
|
18033
18107
|
catch (e) {
|
|
18034
18108
|
return throwError(e);
|
|
@@ -18038,7 +18112,7 @@ class ChaserTicketServiceProxy {
|
|
|
18038
18112
|
return throwError(response_);
|
|
18039
18113
|
}));
|
|
18040
18114
|
}
|
|
18041
|
-
|
|
18115
|
+
processStickerBatchDeepSearchDeprecated(response) {
|
|
18042
18116
|
const status = response.status;
|
|
18043
18117
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18044
18118
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18052,7 +18126,7 @@ class ChaserTicketServiceProxy {
|
|
|
18052
18126
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18053
18127
|
let result200 = null;
|
|
18054
18128
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18055
|
-
result200 =
|
|
18129
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18056
18130
|
return of(result200);
|
|
18057
18131
|
}));
|
|
18058
18132
|
}
|
|
@@ -18064,31 +18138,33 @@ class ChaserTicketServiceProxy {
|
|
|
18064
18138
|
return of(null);
|
|
18065
18139
|
}
|
|
18066
18140
|
/**
|
|
18067
|
-
* @param body (optional)
|
|
18068
18141
|
* @return Success
|
|
18069
18142
|
*/
|
|
18070
|
-
|
|
18071
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18143
|
+
stickerBatchDeepSearch(parkId, entityId, guid) {
|
|
18144
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/batch/deep-search/{entityId}";
|
|
18145
|
+
if (parkId === undefined || parkId === null)
|
|
18146
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
18147
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18148
|
+
if (entityId === undefined || entityId === null)
|
|
18149
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
18150
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18072
18151
|
if (guid === undefined || guid === null)
|
|
18073
18152
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18074
18153
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18075
18154
|
url_ = url_.replace(/[?&]$/, "");
|
|
18076
|
-
const content_ = JSON.stringify(body);
|
|
18077
18155
|
let options_ = {
|
|
18078
|
-
body: content_,
|
|
18079
18156
|
observe: "response",
|
|
18080
18157
|
responseType: "blob",
|
|
18081
18158
|
headers: new HttpHeaders({
|
|
18082
|
-
"Content-Type": "application/json-patch+json",
|
|
18083
18159
|
"Accept": "text/plain"
|
|
18084
18160
|
})
|
|
18085
18161
|
};
|
|
18086
|
-
return this.http.request("
|
|
18087
|
-
return this.
|
|
18162
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18163
|
+
return this.processStickerBatchDeepSearch(response_);
|
|
18088
18164
|
})).pipe(catchError((response_) => {
|
|
18089
18165
|
if (response_ instanceof HttpResponseBase) {
|
|
18090
18166
|
try {
|
|
18091
|
-
return this.
|
|
18167
|
+
return this.processStickerBatchDeepSearch(response_);
|
|
18092
18168
|
}
|
|
18093
18169
|
catch (e) {
|
|
18094
18170
|
return throwError(e);
|
|
@@ -18098,7 +18174,7 @@ class ChaserTicketServiceProxy {
|
|
|
18098
18174
|
return throwError(response_);
|
|
18099
18175
|
}));
|
|
18100
18176
|
}
|
|
18101
|
-
|
|
18177
|
+
processStickerBatchDeepSearch(response) {
|
|
18102
18178
|
const status = response.status;
|
|
18103
18179
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18104
18180
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18112,7 +18188,7 @@ class ChaserTicketServiceProxy {
|
|
|
18112
18188
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18113
18189
|
let result200 = null;
|
|
18114
18190
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18115
|
-
result200 =
|
|
18191
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18116
18192
|
return of(result200);
|
|
18117
18193
|
}));
|
|
18118
18194
|
}
|
|
@@ -18124,24 +18200,17 @@ class ChaserTicketServiceProxy {
|
|
|
18124
18200
|
return of(null);
|
|
18125
18201
|
}
|
|
18126
18202
|
/**
|
|
18127
|
-
* @param dateValidity (optional)
|
|
18128
18203
|
* @return Success
|
|
18204
|
+
* @deprecated
|
|
18129
18205
|
*/
|
|
18130
|
-
|
|
18131
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18132
|
-
if (
|
|
18133
|
-
throw new Error("The parameter '
|
|
18134
|
-
url_ = url_.replace("{
|
|
18135
|
-
if (parkId === undefined || parkId === null)
|
|
18136
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
18137
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18206
|
+
singleStickerDeepSearchDeprecated(entityId, guid) {
|
|
18207
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/deep-search/{entityId}";
|
|
18208
|
+
if (entityId === undefined || entityId === null)
|
|
18209
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
18210
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18138
18211
|
if (guid === undefined || guid === null)
|
|
18139
18212
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18140
18213
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18141
|
-
if (dateValidity === null)
|
|
18142
|
-
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
18143
|
-
else if (dateValidity !== undefined)
|
|
18144
|
-
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
18145
18214
|
url_ = url_.replace(/[?&]$/, "");
|
|
18146
18215
|
let options_ = {
|
|
18147
18216
|
observe: "response",
|
|
@@ -18151,11 +18220,11 @@ class ChaserTicketServiceProxy {
|
|
|
18151
18220
|
})
|
|
18152
18221
|
};
|
|
18153
18222
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18154
|
-
return this.
|
|
18223
|
+
return this.processSingleStickerDeepSearchDeprecated(response_);
|
|
18155
18224
|
})).pipe(catchError((response_) => {
|
|
18156
18225
|
if (response_ instanceof HttpResponseBase) {
|
|
18157
18226
|
try {
|
|
18158
|
-
return this.
|
|
18227
|
+
return this.processSingleStickerDeepSearchDeprecated(response_);
|
|
18159
18228
|
}
|
|
18160
18229
|
catch (e) {
|
|
18161
18230
|
return throwError(e);
|
|
@@ -18165,7 +18234,7 @@ class ChaserTicketServiceProxy {
|
|
|
18165
18234
|
return throwError(response_);
|
|
18166
18235
|
}));
|
|
18167
18236
|
}
|
|
18168
|
-
|
|
18237
|
+
processSingleStickerDeepSearchDeprecated(response) {
|
|
18169
18238
|
const status = response.status;
|
|
18170
18239
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18171
18240
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18179,7 +18248,7 @@ class ChaserTicketServiceProxy {
|
|
|
18179
18248
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18180
18249
|
let result200 = null;
|
|
18181
18250
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18182
|
-
result200 =
|
|
18251
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18183
18252
|
return of(result200);
|
|
18184
18253
|
}));
|
|
18185
18254
|
}
|
|
@@ -18192,10 +18261,12 @@ class ChaserTicketServiceProxy {
|
|
|
18192
18261
|
}
|
|
18193
18262
|
/**
|
|
18194
18263
|
* @return Success
|
|
18195
|
-
* @deprecated
|
|
18196
18264
|
*/
|
|
18197
|
-
|
|
18198
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18265
|
+
singleStickerDeepSearch(parkId, entityId, guid) {
|
|
18266
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/deep-search/{entityId}";
|
|
18267
|
+
if (parkId === undefined || parkId === null)
|
|
18268
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
18269
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18199
18270
|
if (entityId === undefined || entityId === null)
|
|
18200
18271
|
throw new Error("The parameter 'entityId' must be defined.");
|
|
18201
18272
|
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
@@ -18211,11 +18282,11 @@ class ChaserTicketServiceProxy {
|
|
|
18211
18282
|
})
|
|
18212
18283
|
};
|
|
18213
18284
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18214
|
-
return this.
|
|
18285
|
+
return this.processSingleStickerDeepSearch(response_);
|
|
18215
18286
|
})).pipe(catchError((response_) => {
|
|
18216
18287
|
if (response_ instanceof HttpResponseBase) {
|
|
18217
18288
|
try {
|
|
18218
|
-
return this.
|
|
18289
|
+
return this.processSingleStickerDeepSearch(response_);
|
|
18219
18290
|
}
|
|
18220
18291
|
catch (e) {
|
|
18221
18292
|
return throwError(e);
|
|
@@ -18225,7 +18296,7 @@ class ChaserTicketServiceProxy {
|
|
|
18225
18296
|
return throwError(response_);
|
|
18226
18297
|
}));
|
|
18227
18298
|
}
|
|
18228
|
-
|
|
18299
|
+
processSingleStickerDeepSearch(response) {
|
|
18229
18300
|
const status = response.status;
|
|
18230
18301
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18231
18302
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18239,7 +18310,7 @@ class ChaserTicketServiceProxy {
|
|
|
18239
18310
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18240
18311
|
let result200 = null;
|
|
18241
18312
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18242
|
-
result200 =
|
|
18313
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18243
18314
|
return of(result200);
|
|
18244
18315
|
}));
|
|
18245
18316
|
}
|
|
@@ -18251,33 +18322,36 @@ class ChaserTicketServiceProxy {
|
|
|
18251
18322
|
return of(null);
|
|
18252
18323
|
}
|
|
18253
18324
|
/**
|
|
18325
|
+
* @param dateValidity (optional)
|
|
18326
|
+
* @param body (optional)
|
|
18254
18327
|
* @return Success
|
|
18255
18328
|
*/
|
|
18256
|
-
|
|
18257
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18258
|
-
if (parkId === undefined || parkId === null)
|
|
18259
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
18260
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18261
|
-
if (entityId === undefined || entityId === null)
|
|
18262
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18263
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18329
|
+
createStickerBatch(dateValidity, guid, body) {
|
|
18330
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/create?";
|
|
18264
18331
|
if (guid === undefined || guid === null)
|
|
18265
18332
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18266
18333
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18334
|
+
if (dateValidity === null)
|
|
18335
|
+
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
18336
|
+
else if (dateValidity !== undefined)
|
|
18337
|
+
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
18267
18338
|
url_ = url_.replace(/[?&]$/, "");
|
|
18339
|
+
const content_ = JSON.stringify(body);
|
|
18268
18340
|
let options_ = {
|
|
18341
|
+
body: content_,
|
|
18269
18342
|
observe: "response",
|
|
18270
18343
|
responseType: "blob",
|
|
18271
18344
|
headers: new HttpHeaders({
|
|
18345
|
+
"Content-Type": "application/json-patch+json",
|
|
18272
18346
|
"Accept": "text/plain"
|
|
18273
18347
|
})
|
|
18274
18348
|
};
|
|
18275
|
-
return this.http.request("
|
|
18276
|
-
return this.
|
|
18349
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
18350
|
+
return this.processCreateStickerBatch(response_);
|
|
18277
18351
|
})).pipe(catchError((response_) => {
|
|
18278
18352
|
if (response_ instanceof HttpResponseBase) {
|
|
18279
18353
|
try {
|
|
18280
|
-
return this.
|
|
18354
|
+
return this.processCreateStickerBatch(response_);
|
|
18281
18355
|
}
|
|
18282
18356
|
catch (e) {
|
|
18283
18357
|
return throwError(e);
|
|
@@ -18287,7 +18361,7 @@ class ChaserTicketServiceProxy {
|
|
|
18287
18361
|
return throwError(response_);
|
|
18288
18362
|
}));
|
|
18289
18363
|
}
|
|
18290
|
-
|
|
18364
|
+
processCreateStickerBatch(response) {
|
|
18291
18365
|
const status = response.status;
|
|
18292
18366
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18293
18367
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18301,7 +18375,7 @@ class ChaserTicketServiceProxy {
|
|
|
18301
18375
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18302
18376
|
let result200 = null;
|
|
18303
18377
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18304
|
-
result200 =
|
|
18378
|
+
result200 = StickerBatchDtoHttpResponseData.fromJS(resultData200);
|
|
18305
18379
|
return of(result200);
|
|
18306
18380
|
}));
|
|
18307
18381
|
}
|
|
@@ -18313,31 +18387,36 @@ class ChaserTicketServiceProxy {
|
|
|
18313
18387
|
return of(null);
|
|
18314
18388
|
}
|
|
18315
18389
|
/**
|
|
18390
|
+
* @param dateValidity (optional)
|
|
18391
|
+
* @param body (optional)
|
|
18316
18392
|
* @return Success
|
|
18317
|
-
* @deprecated
|
|
18318
18393
|
*/
|
|
18319
|
-
|
|
18320
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18321
|
-
if (entityId === undefined || entityId === null)
|
|
18322
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18323
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18394
|
+
createBasicStickerBatch(dateValidity, guid, body) {
|
|
18395
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/create-basic?";
|
|
18324
18396
|
if (guid === undefined || guid === null)
|
|
18325
18397
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18326
18398
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18399
|
+
if (dateValidity === null)
|
|
18400
|
+
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
18401
|
+
else if (dateValidity !== undefined)
|
|
18402
|
+
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
18327
18403
|
url_ = url_.replace(/[?&]$/, "");
|
|
18404
|
+
const content_ = JSON.stringify(body);
|
|
18328
18405
|
let options_ = {
|
|
18406
|
+
body: content_,
|
|
18329
18407
|
observe: "response",
|
|
18330
18408
|
responseType: "blob",
|
|
18331
18409
|
headers: new HttpHeaders({
|
|
18410
|
+
"Content-Type": "application/json-patch+json",
|
|
18332
18411
|
"Accept": "text/plain"
|
|
18333
18412
|
})
|
|
18334
18413
|
};
|
|
18335
|
-
return this.http.request("
|
|
18336
|
-
return this.
|
|
18414
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
18415
|
+
return this.processCreateBasicStickerBatch(response_);
|
|
18337
18416
|
})).pipe(catchError((response_) => {
|
|
18338
18417
|
if (response_ instanceof HttpResponseBase) {
|
|
18339
18418
|
try {
|
|
18340
|
-
return this.
|
|
18419
|
+
return this.processCreateBasicStickerBatch(response_);
|
|
18341
18420
|
}
|
|
18342
18421
|
catch (e) {
|
|
18343
18422
|
return throwError(e);
|
|
@@ -18347,7 +18426,7 @@ class ChaserTicketServiceProxy {
|
|
|
18347
18426
|
return throwError(response_);
|
|
18348
18427
|
}));
|
|
18349
18428
|
}
|
|
18350
|
-
|
|
18429
|
+
processCreateBasicStickerBatch(response) {
|
|
18351
18430
|
const status = response.status;
|
|
18352
18431
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18353
18432
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18361,7 +18440,7 @@ class ChaserTicketServiceProxy {
|
|
|
18361
18440
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18362
18441
|
let result200 = null;
|
|
18363
18442
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18364
|
-
result200 =
|
|
18443
|
+
result200 = StickerBatchDtoHttpResponseData.fromJS(resultData200);
|
|
18365
18444
|
return of(result200);
|
|
18366
18445
|
}));
|
|
18367
18446
|
}
|
|
@@ -18373,33 +18452,36 @@ class ChaserTicketServiceProxy {
|
|
|
18373
18452
|
return of(null);
|
|
18374
18453
|
}
|
|
18375
18454
|
/**
|
|
18455
|
+
* @param dateValidity (optional)
|
|
18456
|
+
* @param body (optional)
|
|
18376
18457
|
* @return Success
|
|
18377
18458
|
*/
|
|
18378
|
-
|
|
18379
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18380
|
-
if (parkId === undefined || parkId === null)
|
|
18381
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
18382
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18383
|
-
if (entityId === undefined || entityId === null)
|
|
18384
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18385
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18459
|
+
updateStickerBatch(dateValidity, guid, body) {
|
|
18460
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker?";
|
|
18386
18461
|
if (guid === undefined || guid === null)
|
|
18387
18462
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18388
18463
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18464
|
+
if (dateValidity === null)
|
|
18465
|
+
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
18466
|
+
else if (dateValidity !== undefined)
|
|
18467
|
+
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
18389
18468
|
url_ = url_.replace(/[?&]$/, "");
|
|
18469
|
+
const content_ = JSON.stringify(body);
|
|
18390
18470
|
let options_ = {
|
|
18471
|
+
body: content_,
|
|
18391
18472
|
observe: "response",
|
|
18392
18473
|
responseType: "blob",
|
|
18393
18474
|
headers: new HttpHeaders({
|
|
18475
|
+
"Content-Type": "application/json-patch+json",
|
|
18394
18476
|
"Accept": "text/plain"
|
|
18395
18477
|
})
|
|
18396
18478
|
};
|
|
18397
|
-
return this.http.request("
|
|
18398
|
-
return this.
|
|
18479
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
18480
|
+
return this.processUpdateStickerBatch(response_);
|
|
18399
18481
|
})).pipe(catchError((response_) => {
|
|
18400
18482
|
if (response_ instanceof HttpResponseBase) {
|
|
18401
18483
|
try {
|
|
18402
|
-
return this.
|
|
18484
|
+
return this.processUpdateStickerBatch(response_);
|
|
18403
18485
|
}
|
|
18404
18486
|
catch (e) {
|
|
18405
18487
|
return throwError(e);
|
|
@@ -18409,7 +18491,7 @@ class ChaserTicketServiceProxy {
|
|
|
18409
18491
|
return throwError(response_);
|
|
18410
18492
|
}));
|
|
18411
18493
|
}
|
|
18412
|
-
|
|
18494
|
+
processUpdateStickerBatch(response) {
|
|
18413
18495
|
const status = response.status;
|
|
18414
18496
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18415
18497
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18423,7 +18505,7 @@ class ChaserTicketServiceProxy {
|
|
|
18423
18505
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18424
18506
|
let result200 = null;
|
|
18425
18507
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18426
|
-
result200 =
|
|
18508
|
+
result200 = StickerBatchDtoHttpResponseData.fromJS(resultData200);
|
|
18427
18509
|
return of(result200);
|
|
18428
18510
|
}));
|
|
18429
18511
|
}
|
|
@@ -18438,8 +18520,8 @@ class ChaserTicketServiceProxy {
|
|
|
18438
18520
|
* @param parkId (optional)
|
|
18439
18521
|
* @return Success
|
|
18440
18522
|
*/
|
|
18441
|
-
|
|
18442
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18523
|
+
deleteStickerBatch(id, parkId, guid) {
|
|
18524
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{id}?";
|
|
18443
18525
|
if (id === undefined || id === null)
|
|
18444
18526
|
throw new Error("The parameter 'id' must be defined.");
|
|
18445
18527
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -18459,11 +18541,11 @@ class ChaserTicketServiceProxy {
|
|
|
18459
18541
|
})
|
|
18460
18542
|
};
|
|
18461
18543
|
return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
|
|
18462
|
-
return this.
|
|
18544
|
+
return this.processDeleteStickerBatch(response_);
|
|
18463
18545
|
})).pipe(catchError((response_) => {
|
|
18464
18546
|
if (response_ instanceof HttpResponseBase) {
|
|
18465
18547
|
try {
|
|
18466
|
-
return this.
|
|
18548
|
+
return this.processDeleteStickerBatch(response_);
|
|
18467
18549
|
}
|
|
18468
18550
|
catch (e) {
|
|
18469
18551
|
return throwError(e);
|
|
@@ -18473,7 +18555,7 @@ class ChaserTicketServiceProxy {
|
|
|
18473
18555
|
return throwError(response_);
|
|
18474
18556
|
}));
|
|
18475
18557
|
}
|
|
18476
|
-
|
|
18558
|
+
processDeleteStickerBatch(response) {
|
|
18477
18559
|
const status = response.status;
|
|
18478
18560
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18479
18561
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18487,7 +18569,7 @@ class ChaserTicketServiceProxy {
|
|
|
18487
18569
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18488
18570
|
let result200 = null;
|
|
18489
18571
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18490
|
-
result200 =
|
|
18572
|
+
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18491
18573
|
return of(result200);
|
|
18492
18574
|
}));
|
|
18493
18575
|
}
|
|
@@ -18500,16 +18582,11 @@ class ChaserTicketServiceProxy {
|
|
|
18500
18582
|
}
|
|
18501
18583
|
/**
|
|
18502
18584
|
* @param dateValidity (optional)
|
|
18585
|
+
* @param body (optional)
|
|
18503
18586
|
* @return Success
|
|
18504
18587
|
*/
|
|
18505
|
-
|
|
18506
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/
|
|
18507
|
-
if (batchId === undefined || batchId === null)
|
|
18508
|
-
throw new Error("The parameter 'batchId' must be defined.");
|
|
18509
|
-
url_ = url_.replace("{batchId}", encodeURIComponent("" + batchId));
|
|
18510
|
-
if (parkId === undefined || parkId === null)
|
|
18511
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
18512
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18588
|
+
markStickerBatchAsSent(dateValidity, guid, body) {
|
|
18589
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/mark-batch-as-sent?";
|
|
18513
18590
|
if (guid === undefined || guid === null)
|
|
18514
18591
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18515
18592
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -18518,19 +18595,22 @@ class ChaserTicketServiceProxy {
|
|
|
18518
18595
|
else if (dateValidity !== undefined)
|
|
18519
18596
|
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
18520
18597
|
url_ = url_.replace(/[?&]$/, "");
|
|
18598
|
+
const content_ = JSON.stringify(body);
|
|
18521
18599
|
let options_ = {
|
|
18600
|
+
body: content_,
|
|
18522
18601
|
observe: "response",
|
|
18523
18602
|
responseType: "blob",
|
|
18524
18603
|
headers: new HttpHeaders({
|
|
18604
|
+
"Content-Type": "application/json-patch+json",
|
|
18525
18605
|
"Accept": "text/plain"
|
|
18526
18606
|
})
|
|
18527
18607
|
};
|
|
18528
|
-
return this.http.request("
|
|
18529
|
-
return this.
|
|
18608
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
18609
|
+
return this.processMarkStickerBatchAsSent(response_);
|
|
18530
18610
|
})).pipe(catchError((response_) => {
|
|
18531
18611
|
if (response_ instanceof HttpResponseBase) {
|
|
18532
18612
|
try {
|
|
18533
|
-
return this.
|
|
18613
|
+
return this.processMarkStickerBatchAsSent(response_);
|
|
18534
18614
|
}
|
|
18535
18615
|
catch (e) {
|
|
18536
18616
|
return throwError(e);
|
|
@@ -18540,7 +18620,7 @@ class ChaserTicketServiceProxy {
|
|
|
18540
18620
|
return throwError(response_);
|
|
18541
18621
|
}));
|
|
18542
18622
|
}
|
|
18543
|
-
|
|
18623
|
+
processMarkStickerBatchAsSent(response) {
|
|
18544
18624
|
const status = response.status;
|
|
18545
18625
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18546
18626
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18554,7 +18634,7 @@ class ChaserTicketServiceProxy {
|
|
|
18554
18634
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18555
18635
|
let result200 = null;
|
|
18556
18636
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18557
|
-
result200 =
|
|
18637
|
+
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18558
18638
|
return of(result200);
|
|
18559
18639
|
}));
|
|
18560
18640
|
}
|
|
@@ -18566,31 +18646,32 @@ class ChaserTicketServiceProxy {
|
|
|
18566
18646
|
return of(null);
|
|
18567
18647
|
}
|
|
18568
18648
|
/**
|
|
18649
|
+
* @param body (optional)
|
|
18569
18650
|
* @return Success
|
|
18570
18651
|
* @deprecated
|
|
18571
18652
|
*/
|
|
18572
|
-
|
|
18573
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/batch
|
|
18574
|
-
if (entityId === undefined || entityId === null)
|
|
18575
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18576
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18653
|
+
markStickerBatchAsPrintedDeprecated(guid, body) {
|
|
18654
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/mark-batch-as-printed";
|
|
18577
18655
|
if (guid === undefined || guid === null)
|
|
18578
18656
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18579
18657
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18580
18658
|
url_ = url_.replace(/[?&]$/, "");
|
|
18659
|
+
const content_ = JSON.stringify(body);
|
|
18581
18660
|
let options_ = {
|
|
18661
|
+
body: content_,
|
|
18582
18662
|
observe: "response",
|
|
18583
18663
|
responseType: "blob",
|
|
18584
18664
|
headers: new HttpHeaders({
|
|
18665
|
+
"Content-Type": "application/json-patch+json",
|
|
18585
18666
|
"Accept": "text/plain"
|
|
18586
18667
|
})
|
|
18587
18668
|
};
|
|
18588
|
-
return this.http.request("
|
|
18589
|
-
return this.
|
|
18669
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
18670
|
+
return this.processMarkStickerBatchAsPrintedDeprecated(response_);
|
|
18590
18671
|
})).pipe(catchError((response_) => {
|
|
18591
18672
|
if (response_ instanceof HttpResponseBase) {
|
|
18592
18673
|
try {
|
|
18593
|
-
return this.
|
|
18674
|
+
return this.processMarkStickerBatchAsPrintedDeprecated(response_);
|
|
18594
18675
|
}
|
|
18595
18676
|
catch (e) {
|
|
18596
18677
|
return throwError(e);
|
|
@@ -18600,7 +18681,7 @@ class ChaserTicketServiceProxy {
|
|
|
18600
18681
|
return throwError(response_);
|
|
18601
18682
|
}));
|
|
18602
18683
|
}
|
|
18603
|
-
|
|
18684
|
+
processMarkStickerBatchAsPrintedDeprecated(response) {
|
|
18604
18685
|
const status = response.status;
|
|
18605
18686
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18606
18687
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18614,7 +18695,7 @@ class ChaserTicketServiceProxy {
|
|
|
18614
18695
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18615
18696
|
let result200 = null;
|
|
18616
18697
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18617
|
-
result200 =
|
|
18698
|
+
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18618
18699
|
return of(result200);
|
|
18619
18700
|
}));
|
|
18620
18701
|
}
|
|
@@ -18626,33 +18707,34 @@ class ChaserTicketServiceProxy {
|
|
|
18626
18707
|
return of(null);
|
|
18627
18708
|
}
|
|
18628
18709
|
/**
|
|
18710
|
+
* @param body (optional)
|
|
18629
18711
|
* @return Success
|
|
18630
18712
|
*/
|
|
18631
|
-
|
|
18632
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/batch
|
|
18713
|
+
markStickerBatchAsPrinted(parkId, guid, body) {
|
|
18714
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/mark-batch-as-printed";
|
|
18633
18715
|
if (parkId === undefined || parkId === null)
|
|
18634
18716
|
throw new Error("The parameter 'parkId' must be defined.");
|
|
18635
18717
|
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18636
|
-
if (entityId === undefined || entityId === null)
|
|
18637
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18638
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18639
18718
|
if (guid === undefined || guid === null)
|
|
18640
18719
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18641
18720
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18642
18721
|
url_ = url_.replace(/[?&]$/, "");
|
|
18722
|
+
const content_ = JSON.stringify(body);
|
|
18643
18723
|
let options_ = {
|
|
18724
|
+
body: content_,
|
|
18644
18725
|
observe: "response",
|
|
18645
18726
|
responseType: "blob",
|
|
18646
18727
|
headers: new HttpHeaders({
|
|
18728
|
+
"Content-Type": "application/json-patch+json",
|
|
18647
18729
|
"Accept": "text/plain"
|
|
18648
18730
|
})
|
|
18649
18731
|
};
|
|
18650
|
-
return this.http.request("
|
|
18651
|
-
return this.
|
|
18732
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
18733
|
+
return this.processMarkStickerBatchAsPrinted(response_);
|
|
18652
18734
|
})).pipe(catchError((response_) => {
|
|
18653
18735
|
if (response_ instanceof HttpResponseBase) {
|
|
18654
18736
|
try {
|
|
18655
|
-
return this.
|
|
18737
|
+
return this.processMarkStickerBatchAsPrinted(response_);
|
|
18656
18738
|
}
|
|
18657
18739
|
catch (e) {
|
|
18658
18740
|
return throwError(e);
|
|
@@ -18662,7 +18744,7 @@ class ChaserTicketServiceProxy {
|
|
|
18662
18744
|
return throwError(response_);
|
|
18663
18745
|
}));
|
|
18664
18746
|
}
|
|
18665
|
-
|
|
18747
|
+
processMarkStickerBatchAsPrinted(response) {
|
|
18666
18748
|
const status = response.status;
|
|
18667
18749
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18668
18750
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18676,7 +18758,7 @@ class ChaserTicketServiceProxy {
|
|
|
18676
18758
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18677
18759
|
let result200 = null;
|
|
18678
18760
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18679
|
-
result200 =
|
|
18761
|
+
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18680
18762
|
return of(result200);
|
|
18681
18763
|
}));
|
|
18682
18764
|
}
|
|
@@ -18688,31 +18770,31 @@ class ChaserTicketServiceProxy {
|
|
|
18688
18770
|
return of(null);
|
|
18689
18771
|
}
|
|
18690
18772
|
/**
|
|
18773
|
+
* @param body (optional)
|
|
18691
18774
|
* @return Success
|
|
18692
|
-
* @deprecated
|
|
18693
18775
|
*/
|
|
18694
|
-
|
|
18695
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18696
|
-
if (entityId === undefined || entityId === null)
|
|
18697
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18698
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18776
|
+
sendCouponsByEmail(guid, body) {
|
|
18777
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/send-coupons-by-email";
|
|
18699
18778
|
if (guid === undefined || guid === null)
|
|
18700
18779
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18701
18780
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18702
18781
|
url_ = url_.replace(/[?&]$/, "");
|
|
18782
|
+
const content_ = JSON.stringify(body);
|
|
18703
18783
|
let options_ = {
|
|
18784
|
+
body: content_,
|
|
18704
18785
|
observe: "response",
|
|
18705
18786
|
responseType: "blob",
|
|
18706
18787
|
headers: new HttpHeaders({
|
|
18788
|
+
"Content-Type": "application/json-patch+json",
|
|
18707
18789
|
"Accept": "text/plain"
|
|
18708
18790
|
})
|
|
18709
18791
|
};
|
|
18710
|
-
return this.http.request("
|
|
18711
|
-
return this.
|
|
18792
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
18793
|
+
return this.processSendCouponsByEmail(response_);
|
|
18712
18794
|
})).pipe(catchError((response_) => {
|
|
18713
18795
|
if (response_ instanceof HttpResponseBase) {
|
|
18714
18796
|
try {
|
|
18715
|
-
return this.
|
|
18797
|
+
return this.processSendCouponsByEmail(response_);
|
|
18716
18798
|
}
|
|
18717
18799
|
catch (e) {
|
|
18718
18800
|
return throwError(e);
|
|
@@ -18722,7 +18804,7 @@ class ChaserTicketServiceProxy {
|
|
|
18722
18804
|
return throwError(response_);
|
|
18723
18805
|
}));
|
|
18724
18806
|
}
|
|
18725
|
-
|
|
18807
|
+
processSendCouponsByEmail(response) {
|
|
18726
18808
|
const status = response.status;
|
|
18727
18809
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18728
18810
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18736,7 +18818,7 @@ class ChaserTicketServiceProxy {
|
|
|
18736
18818
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18737
18819
|
let result200 = null;
|
|
18738
18820
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18739
|
-
result200 =
|
|
18821
|
+
result200 = Int32HttpResponseData.fromJS(resultData200);
|
|
18740
18822
|
return of(result200);
|
|
18741
18823
|
}));
|
|
18742
18824
|
}
|
|
@@ -18748,33 +18830,31 @@ class ChaserTicketServiceProxy {
|
|
|
18748
18830
|
return of(null);
|
|
18749
18831
|
}
|
|
18750
18832
|
/**
|
|
18833
|
+
* @param body (optional)
|
|
18751
18834
|
* @return Success
|
|
18752
18835
|
*/
|
|
18753
|
-
|
|
18754
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18755
|
-
if (parkId === undefined || parkId === null)
|
|
18756
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
18757
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18758
|
-
if (entityId === undefined || entityId === null)
|
|
18759
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18760
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18836
|
+
markCouponAsUsed(guid, body) {
|
|
18837
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/mark-coupon-as-used";
|
|
18761
18838
|
if (guid === undefined || guid === null)
|
|
18762
18839
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18763
18840
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18764
18841
|
url_ = url_.replace(/[?&]$/, "");
|
|
18842
|
+
const content_ = JSON.stringify(body);
|
|
18765
18843
|
let options_ = {
|
|
18844
|
+
body: content_,
|
|
18766
18845
|
observe: "response",
|
|
18767
18846
|
responseType: "blob",
|
|
18768
18847
|
headers: new HttpHeaders({
|
|
18848
|
+
"Content-Type": "application/json-patch+json",
|
|
18769
18849
|
"Accept": "text/plain"
|
|
18770
18850
|
})
|
|
18771
18851
|
};
|
|
18772
|
-
return this.http.request("
|
|
18773
|
-
return this.
|
|
18852
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
18853
|
+
return this.processMarkCouponAsUsed(response_);
|
|
18774
18854
|
})).pipe(catchError((response_) => {
|
|
18775
18855
|
if (response_ instanceof HttpResponseBase) {
|
|
18776
18856
|
try {
|
|
18777
|
-
return this.
|
|
18857
|
+
return this.processMarkCouponAsUsed(response_);
|
|
18778
18858
|
}
|
|
18779
18859
|
catch (e) {
|
|
18780
18860
|
return throwError(e);
|
|
@@ -18784,7 +18864,7 @@ class ChaserTicketServiceProxy {
|
|
|
18784
18864
|
return throwError(response_);
|
|
18785
18865
|
}));
|
|
18786
18866
|
}
|
|
18787
|
-
|
|
18867
|
+
processMarkCouponAsUsed(response) {
|
|
18788
18868
|
const status = response.status;
|
|
18789
18869
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18790
18870
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18798,7 +18878,7 @@ class ChaserTicketServiceProxy {
|
|
|
18798
18878
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18799
18879
|
let result200 = null;
|
|
18800
18880
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18801
|
-
result200 =
|
|
18881
|
+
result200 = CouponDtoHttpResponseData.fromJS(resultData200);
|
|
18802
18882
|
return of(result200);
|
|
18803
18883
|
}));
|
|
18804
18884
|
}
|
|
@@ -18810,76 +18890,11 @@ class ChaserTicketServiceProxy {
|
|
|
18810
18890
|
return of(null);
|
|
18811
18891
|
}
|
|
18812
18892
|
/**
|
|
18813
|
-
* @param
|
|
18893
|
+
* @param body (optional)
|
|
18814
18894
|
* @return Success
|
|
18815
18895
|
*/
|
|
18816
|
-
|
|
18817
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker
|
|
18818
|
-
if (id === undefined || id === null)
|
|
18819
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
18820
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18821
|
-
if (guid === undefined || guid === null)
|
|
18822
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
18823
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18824
|
-
if (parkId === null)
|
|
18825
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
18826
|
-
else if (parkId !== undefined)
|
|
18827
|
-
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
18828
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18829
|
-
let options_ = {
|
|
18830
|
-
observe: "response",
|
|
18831
|
-
responseType: "blob",
|
|
18832
|
-
headers: new HttpHeaders({
|
|
18833
|
-
"Accept": "text/plain"
|
|
18834
|
-
})
|
|
18835
|
-
};
|
|
18836
|
-
return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
|
|
18837
|
-
return this.processDeleteStickerBatch(response_);
|
|
18838
|
-
})).pipe(catchError((response_) => {
|
|
18839
|
-
if (response_ instanceof HttpResponseBase) {
|
|
18840
|
-
try {
|
|
18841
|
-
return this.processDeleteStickerBatch(response_);
|
|
18842
|
-
}
|
|
18843
|
-
catch (e) {
|
|
18844
|
-
return throwError(e);
|
|
18845
|
-
}
|
|
18846
|
-
}
|
|
18847
|
-
else
|
|
18848
|
-
return throwError(response_);
|
|
18849
|
-
}));
|
|
18850
|
-
}
|
|
18851
|
-
processDeleteStickerBatch(response) {
|
|
18852
|
-
const status = response.status;
|
|
18853
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18854
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
18855
|
-
let _headers = {};
|
|
18856
|
-
if (response.headers) {
|
|
18857
|
-
for (let key of response.headers.keys()) {
|
|
18858
|
-
_headers[key] = response.headers.get(key);
|
|
18859
|
-
}
|
|
18860
|
-
}
|
|
18861
|
-
if (status === 200) {
|
|
18862
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18863
|
-
let result200 = null;
|
|
18864
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18865
|
-
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18866
|
-
return of(result200);
|
|
18867
|
-
}));
|
|
18868
|
-
}
|
|
18869
|
-
else if (status !== 200 && status !== 204) {
|
|
18870
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18871
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18872
|
-
}));
|
|
18873
|
-
}
|
|
18874
|
-
return of(null);
|
|
18875
|
-
}
|
|
18876
|
-
/**
|
|
18877
|
-
* @param body (optional)
|
|
18878
|
-
* @return Success
|
|
18879
|
-
* @deprecated
|
|
18880
|
-
*/
|
|
18881
|
-
markStickerBatchAsPrintedDeprecated(guid, body) {
|
|
18882
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/mark-batch-as-printed";
|
|
18896
|
+
markStickerAsUsed(guid, body) {
|
|
18897
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/mark-sticker-as-used";
|
|
18883
18898
|
if (guid === undefined || guid === null)
|
|
18884
18899
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18885
18900
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -18894,140 +18909,12 @@ class ChaserTicketServiceProxy {
|
|
|
18894
18909
|
"Accept": "text/plain"
|
|
18895
18910
|
})
|
|
18896
18911
|
};
|
|
18897
|
-
return this.http.request("
|
|
18898
|
-
return this.
|
|
18899
|
-
})).pipe(catchError((response_) => {
|
|
18900
|
-
if (response_ instanceof HttpResponseBase) {
|
|
18901
|
-
try {
|
|
18902
|
-
return this.processMarkStickerBatchAsPrintedDeprecated(response_);
|
|
18903
|
-
}
|
|
18904
|
-
catch (e) {
|
|
18905
|
-
return throwError(e);
|
|
18906
|
-
}
|
|
18907
|
-
}
|
|
18908
|
-
else
|
|
18909
|
-
return throwError(response_);
|
|
18910
|
-
}));
|
|
18911
|
-
}
|
|
18912
|
-
processMarkStickerBatchAsPrintedDeprecated(response) {
|
|
18913
|
-
const status = response.status;
|
|
18914
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18915
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
18916
|
-
let _headers = {};
|
|
18917
|
-
if (response.headers) {
|
|
18918
|
-
for (let key of response.headers.keys()) {
|
|
18919
|
-
_headers[key] = response.headers.get(key);
|
|
18920
|
-
}
|
|
18921
|
-
}
|
|
18922
|
-
if (status === 200) {
|
|
18923
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18924
|
-
let result200 = null;
|
|
18925
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18926
|
-
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18927
|
-
return of(result200);
|
|
18928
|
-
}));
|
|
18929
|
-
}
|
|
18930
|
-
else if (status !== 200 && status !== 204) {
|
|
18931
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18932
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18933
|
-
}));
|
|
18934
|
-
}
|
|
18935
|
-
return of(null);
|
|
18936
|
-
}
|
|
18937
|
-
/**
|
|
18938
|
-
* @param body (optional)
|
|
18939
|
-
* @return Success
|
|
18940
|
-
* @deprecated
|
|
18941
|
-
*/
|
|
18942
|
-
markStickerBatchAsPrintedDeprecated2(parkId, guid, body) {
|
|
18943
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/mark-batch-as-printed";
|
|
18944
|
-
if (parkId === undefined || parkId === null)
|
|
18945
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
18946
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18947
|
-
if (guid === undefined || guid === null)
|
|
18948
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
18949
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18950
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
18951
|
-
const content_ = JSON.stringify(body);
|
|
18952
|
-
let options_ = {
|
|
18953
|
-
body: content_,
|
|
18954
|
-
observe: "response",
|
|
18955
|
-
responseType: "blob",
|
|
18956
|
-
headers: new HttpHeaders({
|
|
18957
|
-
"Content-Type": "application/json-patch+json",
|
|
18958
|
-
"Accept": "text/plain"
|
|
18959
|
-
})
|
|
18960
|
-
};
|
|
18961
|
-
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
18962
|
-
return this.processMarkStickerBatchAsPrintedDeprecated2(response_);
|
|
18963
|
-
})).pipe(catchError((response_) => {
|
|
18964
|
-
if (response_ instanceof HttpResponseBase) {
|
|
18965
|
-
try {
|
|
18966
|
-
return this.processMarkStickerBatchAsPrintedDeprecated2(response_);
|
|
18967
|
-
}
|
|
18968
|
-
catch (e) {
|
|
18969
|
-
return throwError(e);
|
|
18970
|
-
}
|
|
18971
|
-
}
|
|
18972
|
-
else
|
|
18973
|
-
return throwError(response_);
|
|
18974
|
-
}));
|
|
18975
|
-
}
|
|
18976
|
-
processMarkStickerBatchAsPrintedDeprecated2(response) {
|
|
18977
|
-
const status = response.status;
|
|
18978
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18979
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
18980
|
-
let _headers = {};
|
|
18981
|
-
if (response.headers) {
|
|
18982
|
-
for (let key of response.headers.keys()) {
|
|
18983
|
-
_headers[key] = response.headers.get(key);
|
|
18984
|
-
}
|
|
18985
|
-
}
|
|
18986
|
-
if (status === 200) {
|
|
18987
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18988
|
-
let result200 = null;
|
|
18989
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18990
|
-
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18991
|
-
return of(result200);
|
|
18992
|
-
}));
|
|
18993
|
-
}
|
|
18994
|
-
else if (status !== 200 && status !== 204) {
|
|
18995
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18996
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
18997
|
-
}));
|
|
18998
|
-
}
|
|
18999
|
-
return of(null);
|
|
19000
|
-
}
|
|
19001
|
-
/**
|
|
19002
|
-
* @param stickerBatchId (optional)
|
|
19003
|
-
* @return Success
|
|
19004
|
-
*/
|
|
19005
|
-
markStickerBatchAsPrinted(parkId, stickerBatchId, guid) {
|
|
19006
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/facility/{parkId}/sticker/mark-batch-as-printed?";
|
|
19007
|
-
if (parkId === undefined || parkId === null)
|
|
19008
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
19009
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
19010
|
-
if (guid === undefined || guid === null)
|
|
19011
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
19012
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
19013
|
-
if (stickerBatchId === null)
|
|
19014
|
-
throw new Error("The parameter 'stickerBatchId' cannot be null.");
|
|
19015
|
-
else if (stickerBatchId !== undefined)
|
|
19016
|
-
url_ += "stickerBatchId=" + encodeURIComponent("" + stickerBatchId) + "&";
|
|
19017
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19018
|
-
let options_ = {
|
|
19019
|
-
observe: "response",
|
|
19020
|
-
responseType: "blob",
|
|
19021
|
-
headers: new HttpHeaders({
|
|
19022
|
-
"Accept": "text/plain"
|
|
19023
|
-
})
|
|
19024
|
-
};
|
|
19025
|
-
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
19026
|
-
return this.processMarkStickerBatchAsPrinted(response_);
|
|
18912
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
18913
|
+
return this.processMarkStickerAsUsed(response_);
|
|
19027
18914
|
})).pipe(catchError((response_) => {
|
|
19028
18915
|
if (response_ instanceof HttpResponseBase) {
|
|
19029
18916
|
try {
|
|
19030
|
-
return this.
|
|
18917
|
+
return this.processMarkStickerAsUsed(response_);
|
|
19031
18918
|
}
|
|
19032
18919
|
catch (e) {
|
|
19033
18920
|
return throwError(e);
|
|
@@ -19037,7 +18924,7 @@ class ChaserTicketServiceProxy {
|
|
|
19037
18924
|
return throwError(response_);
|
|
19038
18925
|
}));
|
|
19039
18926
|
}
|
|
19040
|
-
|
|
18927
|
+
processMarkStickerAsUsed(response) {
|
|
19041
18928
|
const status = response.status;
|
|
19042
18929
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19043
18930
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -19051,7 +18938,7 @@ class ChaserTicketServiceProxy {
|
|
|
19051
18938
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19052
18939
|
let result200 = null;
|
|
19053
18940
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19054
|
-
result200 =
|
|
18941
|
+
result200 = StickerDtoHttpResponseData.fromJS(resultData200);
|
|
19055
18942
|
return of(result200);
|
|
19056
18943
|
}));
|
|
19057
18944
|
}
|
|
@@ -19082,98 +18969,6 @@ class CompanyServiceProxy {
|
|
|
19082
18969
|
this.http = http;
|
|
19083
18970
|
this.baseUrl = baseUrl ?? "";
|
|
19084
18971
|
}
|
|
19085
|
-
/**
|
|
19086
|
-
* @param appModule (optional)
|
|
19087
|
-
* @param entityType (optional)
|
|
19088
|
-
* @param maxResults (optional)
|
|
19089
|
-
* @param searchTerm (optional)
|
|
19090
|
-
* @param orderBy_Column (optional)
|
|
19091
|
-
* @param orderBy_OrderDirection (optional)
|
|
19092
|
-
* @param body (optional)
|
|
19093
|
-
* @return Success
|
|
19094
|
-
*/
|
|
19095
|
-
getCompanies(appModule, entityType, maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid, body) {
|
|
19096
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/company?";
|
|
19097
|
-
if (guid === undefined || guid === null)
|
|
19098
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
19099
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
19100
|
-
if (appModule === null)
|
|
19101
|
-
throw new Error("The parameter 'appModule' cannot be null.");
|
|
19102
|
-
else if (appModule !== undefined)
|
|
19103
|
-
url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
|
|
19104
|
-
if (entityType === null)
|
|
19105
|
-
throw new Error("The parameter 'entityType' cannot be null.");
|
|
19106
|
-
else if (entityType !== undefined)
|
|
19107
|
-
url_ += "entityType=" + encodeURIComponent("" + entityType) + "&";
|
|
19108
|
-
if (maxResults !== undefined && maxResults !== null)
|
|
19109
|
-
url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
|
|
19110
|
-
if (searchTerm !== undefined && searchTerm !== null)
|
|
19111
|
-
url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
|
|
19112
|
-
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
19113
|
-
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
19114
|
-
if (orderBy_OrderDirection === null)
|
|
19115
|
-
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
19116
|
-
else if (orderBy_OrderDirection !== undefined)
|
|
19117
|
-
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
19118
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19119
|
-
const content_ = JSON.stringify(body);
|
|
19120
|
-
let options_ = {
|
|
19121
|
-
body: content_,
|
|
19122
|
-
observe: "response",
|
|
19123
|
-
responseType: "blob",
|
|
19124
|
-
headers: new HttpHeaders({
|
|
19125
|
-
"Content-Type": "application/json-patch+json",
|
|
19126
|
-
"Accept": "text/plain"
|
|
19127
|
-
})
|
|
19128
|
-
};
|
|
19129
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
19130
|
-
return this.processGetCompanies(response_);
|
|
19131
|
-
})).pipe(catchError((response_) => {
|
|
19132
|
-
if (response_ instanceof HttpResponseBase) {
|
|
19133
|
-
try {
|
|
19134
|
-
return this.processGetCompanies(response_);
|
|
19135
|
-
}
|
|
19136
|
-
catch (e) {
|
|
19137
|
-
return throwError(e);
|
|
19138
|
-
}
|
|
19139
|
-
}
|
|
19140
|
-
else
|
|
19141
|
-
return throwError(response_);
|
|
19142
|
-
}));
|
|
19143
|
-
}
|
|
19144
|
-
processGetCompanies(response) {
|
|
19145
|
-
const status = response.status;
|
|
19146
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19147
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
19148
|
-
let _headers = {};
|
|
19149
|
-
if (response.headers) {
|
|
19150
|
-
for (let key of response.headers.keys()) {
|
|
19151
|
-
_headers[key] = response.headers.get(key);
|
|
19152
|
-
}
|
|
19153
|
-
}
|
|
19154
|
-
if (status === 404) {
|
|
19155
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19156
|
-
let result404 = null;
|
|
19157
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19158
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
19159
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
19160
|
-
}));
|
|
19161
|
-
}
|
|
19162
|
-
else if (status === 200) {
|
|
19163
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19164
|
-
let result200 = null;
|
|
19165
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19166
|
-
result200 = CompanyDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
19167
|
-
return of(result200);
|
|
19168
|
-
}));
|
|
19169
|
-
}
|
|
19170
|
-
else if (status !== 200 && status !== 204) {
|
|
19171
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19172
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19173
|
-
}));
|
|
19174
|
-
}
|
|
19175
|
-
return of(null);
|
|
19176
|
-
}
|
|
19177
18972
|
/**
|
|
19178
18973
|
* @param appModule (optional)
|
|
19179
18974
|
* @param companyIds (optional)
|
|
@@ -19187,9 +18982,8 @@ class CompanyServiceProxy {
|
|
|
19187
18982
|
* @param orderBy_Column (optional)
|
|
19188
18983
|
* @param orderBy_OrderDirection (optional)
|
|
19189
18984
|
* @return Success
|
|
19190
|
-
* @deprecated
|
|
19191
18985
|
*/
|
|
19192
|
-
|
|
18986
|
+
getCompanies(appModule, companyIds, subCompanyIds, includeAccessProfile, includeSubCompanies, parkId, entityType, maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid) {
|
|
19193
18987
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/company?";
|
|
19194
18988
|
if (guid === undefined || guid === null)
|
|
19195
18989
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -19237,11 +19031,11 @@ class CompanyServiceProxy {
|
|
|
19237
19031
|
})
|
|
19238
19032
|
};
|
|
19239
19033
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
19240
|
-
return this.
|
|
19034
|
+
return this.processGetCompanies(response_);
|
|
19241
19035
|
})).pipe(catchError((response_) => {
|
|
19242
19036
|
if (response_ instanceof HttpResponseBase) {
|
|
19243
19037
|
try {
|
|
19244
|
-
return this.
|
|
19038
|
+
return this.processGetCompanies(response_);
|
|
19245
19039
|
}
|
|
19246
19040
|
catch (e) {
|
|
19247
19041
|
return throwError(e);
|
|
@@ -19251,7 +19045,7 @@ class CompanyServiceProxy {
|
|
|
19251
19045
|
return throwError(response_);
|
|
19252
19046
|
}));
|
|
19253
19047
|
}
|
|
19254
|
-
|
|
19048
|
+
processGetCompanies(response) {
|
|
19255
19049
|
const status = response.status;
|
|
19256
19050
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19257
19051
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -19284,88 +19078,14 @@ class CompanyServiceProxy {
|
|
|
19284
19078
|
}
|
|
19285
19079
|
return of(null);
|
|
19286
19080
|
}
|
|
19287
|
-
/**
|
|
19288
|
-
* @param appModule (optional)
|
|
19289
|
-
* @param body (optional)
|
|
19290
|
-
* @return Success
|
|
19291
|
-
*/
|
|
19292
|
-
getSubCompanies(appModule, guid, body) {
|
|
19293
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/company/subcompanies?";
|
|
19294
|
-
if (guid === undefined || guid === null)
|
|
19295
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
19296
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
19297
|
-
if (appModule === null)
|
|
19298
|
-
throw new Error("The parameter 'appModule' cannot be null.");
|
|
19299
|
-
else if (appModule !== undefined)
|
|
19300
|
-
url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
|
|
19301
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
19302
|
-
const content_ = JSON.stringify(body);
|
|
19303
|
-
let options_ = {
|
|
19304
|
-
body: content_,
|
|
19305
|
-
observe: "response",
|
|
19306
|
-
responseType: "blob",
|
|
19307
|
-
headers: new HttpHeaders({
|
|
19308
|
-
"Content-Type": "application/json-patch+json",
|
|
19309
|
-
"Accept": "text/plain"
|
|
19310
|
-
})
|
|
19311
|
-
};
|
|
19312
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
19313
|
-
return this.processGetSubCompanies(response_);
|
|
19314
|
-
})).pipe(catchError((response_) => {
|
|
19315
|
-
if (response_ instanceof HttpResponseBase) {
|
|
19316
|
-
try {
|
|
19317
|
-
return this.processGetSubCompanies(response_);
|
|
19318
|
-
}
|
|
19319
|
-
catch (e) {
|
|
19320
|
-
return throwError(e);
|
|
19321
|
-
}
|
|
19322
|
-
}
|
|
19323
|
-
else
|
|
19324
|
-
return throwError(response_);
|
|
19325
|
-
}));
|
|
19326
|
-
}
|
|
19327
|
-
processGetSubCompanies(response) {
|
|
19328
|
-
const status = response.status;
|
|
19329
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19330
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
19331
|
-
let _headers = {};
|
|
19332
|
-
if (response.headers) {
|
|
19333
|
-
for (let key of response.headers.keys()) {
|
|
19334
|
-
_headers[key] = response.headers.get(key);
|
|
19335
|
-
}
|
|
19336
|
-
}
|
|
19337
|
-
if (status === 404) {
|
|
19338
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19339
|
-
let result404 = null;
|
|
19340
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19341
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
19342
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
19343
|
-
}));
|
|
19344
|
-
}
|
|
19345
|
-
else if (status === 200) {
|
|
19346
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19347
|
-
let result200 = null;
|
|
19348
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19349
|
-
result200 = SubCompanyDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
19350
|
-
return of(result200);
|
|
19351
|
-
}));
|
|
19352
|
-
}
|
|
19353
|
-
else if (status !== 200 && status !== 204) {
|
|
19354
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19355
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
19356
|
-
}));
|
|
19357
|
-
}
|
|
19358
|
-
return of(null);
|
|
19359
|
-
}
|
|
19360
19081
|
/**
|
|
19361
19082
|
* @param appModule (optional)
|
|
19362
19083
|
* @param companyIds (optional)
|
|
19363
19084
|
* @param subCompanyIds (optional)
|
|
19364
19085
|
* @param parkId (optional)
|
|
19365
19086
|
* @return Success
|
|
19366
|
-
* @deprecated
|
|
19367
19087
|
*/
|
|
19368
|
-
|
|
19088
|
+
getSubCompanies(appModule, companyIds, subCompanyIds, parkId, guid) {
|
|
19369
19089
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/company/subcompanies?";
|
|
19370
19090
|
if (guid === undefined || guid === null)
|
|
19371
19091
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -19391,11 +19111,11 @@ class CompanyServiceProxy {
|
|
|
19391
19111
|
})
|
|
19392
19112
|
};
|
|
19393
19113
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
19394
|
-
return this.
|
|
19114
|
+
return this.processGetSubCompanies(response_);
|
|
19395
19115
|
})).pipe(catchError((response_) => {
|
|
19396
19116
|
if (response_ instanceof HttpResponseBase) {
|
|
19397
19117
|
try {
|
|
19398
|
-
return this.
|
|
19118
|
+
return this.processGetSubCompanies(response_);
|
|
19399
19119
|
}
|
|
19400
19120
|
catch (e) {
|
|
19401
19121
|
return throwError(e);
|
|
@@ -19405,7 +19125,7 @@ class CompanyServiceProxy {
|
|
|
19405
19125
|
return throwError(response_);
|
|
19406
19126
|
}));
|
|
19407
19127
|
}
|
|
19408
|
-
|
|
19128
|
+
processGetSubCompanies(response) {
|
|
19409
19129
|
const status = response.status;
|
|
19410
19130
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19411
19131
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -21202,6 +20922,72 @@ class FacilityServiceProxy {
|
|
|
21202
20922
|
this.http = http;
|
|
21203
20923
|
this.baseUrl = baseUrl ?? "";
|
|
21204
20924
|
}
|
|
20925
|
+
/**
|
|
20926
|
+
* @param appModule (optional)
|
|
20927
|
+
* @return Success
|
|
20928
|
+
*/
|
|
20929
|
+
getSmartparkBasicAll(appModule) {
|
|
20930
|
+
let url_ = this.baseUrl + "/api/services/facility/basic?";
|
|
20931
|
+
if (appModule === null)
|
|
20932
|
+
throw new Error("The parameter 'appModule' cannot be null.");
|
|
20933
|
+
else if (appModule !== undefined)
|
|
20934
|
+
url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
|
|
20935
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
20936
|
+
let options_ = {
|
|
20937
|
+
observe: "response",
|
|
20938
|
+
responseType: "blob",
|
|
20939
|
+
headers: new HttpHeaders({
|
|
20940
|
+
"Accept": "text/plain"
|
|
20941
|
+
})
|
|
20942
|
+
};
|
|
20943
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
20944
|
+
return this.processGetSmartparkBasicAll(response_);
|
|
20945
|
+
})).pipe(catchError((response_) => {
|
|
20946
|
+
if (response_ instanceof HttpResponseBase) {
|
|
20947
|
+
try {
|
|
20948
|
+
return this.processGetSmartparkBasicAll(response_);
|
|
20949
|
+
}
|
|
20950
|
+
catch (e) {
|
|
20951
|
+
return throwError(e);
|
|
20952
|
+
}
|
|
20953
|
+
}
|
|
20954
|
+
else
|
|
20955
|
+
return throwError(response_);
|
|
20956
|
+
}));
|
|
20957
|
+
}
|
|
20958
|
+
processGetSmartparkBasicAll(response) {
|
|
20959
|
+
const status = response.status;
|
|
20960
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
20961
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
20962
|
+
let _headers = {};
|
|
20963
|
+
if (response.headers) {
|
|
20964
|
+
for (let key of response.headers.keys()) {
|
|
20965
|
+
_headers[key] = response.headers.get(key);
|
|
20966
|
+
}
|
|
20967
|
+
}
|
|
20968
|
+
if (status === 404) {
|
|
20969
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
20970
|
+
let result404 = null;
|
|
20971
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
20972
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
20973
|
+
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
20974
|
+
}));
|
|
20975
|
+
}
|
|
20976
|
+
else if (status === 200) {
|
|
20977
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
20978
|
+
let result200 = null;
|
|
20979
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
20980
|
+
result200 = SmartParkWrapperDtoHttpResponseData.fromJS(resultData200);
|
|
20981
|
+
return of(result200);
|
|
20982
|
+
}));
|
|
20983
|
+
}
|
|
20984
|
+
else if (status !== 200 && status !== 204) {
|
|
20985
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
20986
|
+
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
20987
|
+
}));
|
|
20988
|
+
}
|
|
20989
|
+
return of(null);
|
|
20990
|
+
}
|
|
21205
20991
|
/**
|
|
21206
20992
|
* @return Success
|
|
21207
20993
|
*/
|
|
@@ -22274,15 +22060,43 @@ class FacilityServiceProxy {
|
|
|
22274
22060
|
return of(null);
|
|
22275
22061
|
}
|
|
22276
22062
|
/**
|
|
22277
|
-
* @param
|
|
22063
|
+
* @param companyId (optional)
|
|
22064
|
+
* @param subCompanyId (optional)
|
|
22065
|
+
* @param validationType (optional)
|
|
22066
|
+
* @param maxResults (optional)
|
|
22067
|
+
* @param searchTerm (optional)
|
|
22068
|
+
* @param orderBy_Column (optional)
|
|
22069
|
+
* @param orderBy_OrderDirection (optional)
|
|
22278
22070
|
* @return Success
|
|
22279
22071
|
*/
|
|
22280
|
-
|
|
22281
|
-
let url_ = this.baseUrl + "/api/services/facility/
|
|
22282
|
-
if (
|
|
22283
|
-
throw new Error("The parameter '
|
|
22284
|
-
|
|
22285
|
-
|
|
22072
|
+
getValidationType(parkId, companyId, subCompanyId, validationType, maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid) {
|
|
22073
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/facility/{parkId}/validation-type?";
|
|
22074
|
+
if (parkId === undefined || parkId === null)
|
|
22075
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
22076
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
22077
|
+
if (guid === undefined || guid === null)
|
|
22078
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
22079
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
22080
|
+
if (companyId === null)
|
|
22081
|
+
throw new Error("The parameter 'companyId' cannot be null.");
|
|
22082
|
+
else if (companyId !== undefined)
|
|
22083
|
+
url_ += "companyId=" + encodeURIComponent("" + companyId) + "&";
|
|
22084
|
+
if (subCompanyId !== undefined && subCompanyId !== null)
|
|
22085
|
+
url_ += "subCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
|
|
22086
|
+
if (validationType === null)
|
|
22087
|
+
throw new Error("The parameter 'validationType' cannot be null.");
|
|
22088
|
+
else if (validationType !== undefined)
|
|
22089
|
+
url_ += "validationType=" + encodeURIComponent("" + validationType) + "&";
|
|
22090
|
+
if (maxResults !== undefined && maxResults !== null)
|
|
22091
|
+
url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
|
|
22092
|
+
if (searchTerm !== undefined && searchTerm !== null)
|
|
22093
|
+
url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
|
|
22094
|
+
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
22095
|
+
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
22096
|
+
if (orderBy_OrderDirection === null)
|
|
22097
|
+
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
22098
|
+
else if (orderBy_OrderDirection !== undefined)
|
|
22099
|
+
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
22286
22100
|
url_ = url_.replace(/[?&]$/, "");
|
|
22287
22101
|
let options_ = {
|
|
22288
22102
|
observe: "response",
|
|
@@ -22292,11 +22106,11 @@ class FacilityServiceProxy {
|
|
|
22292
22106
|
})
|
|
22293
22107
|
};
|
|
22294
22108
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22295
|
-
return this.
|
|
22109
|
+
return this.processGetValidationType(response_);
|
|
22296
22110
|
})).pipe(catchError((response_) => {
|
|
22297
22111
|
if (response_ instanceof HttpResponseBase) {
|
|
22298
22112
|
try {
|
|
22299
|
-
return this.
|
|
22113
|
+
return this.processGetValidationType(response_);
|
|
22300
22114
|
}
|
|
22301
22115
|
catch (e) {
|
|
22302
22116
|
return throwError(e);
|
|
@@ -22306,7 +22120,7 @@ class FacilityServiceProxy {
|
|
|
22306
22120
|
return throwError(response_);
|
|
22307
22121
|
}));
|
|
22308
22122
|
}
|
|
22309
|
-
|
|
22123
|
+
processGetValidationType(response) {
|
|
22310
22124
|
const status = response.status;
|
|
22311
22125
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22312
22126
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22316,11 +22130,19 @@ class FacilityServiceProxy {
|
|
|
22316
22130
|
_headers[key] = response.headers.get(key);
|
|
22317
22131
|
}
|
|
22318
22132
|
}
|
|
22319
|
-
if (status ===
|
|
22133
|
+
if (status === 404) {
|
|
22134
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22135
|
+
let result404 = null;
|
|
22136
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22137
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
22138
|
+
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
22139
|
+
}));
|
|
22140
|
+
}
|
|
22141
|
+
else if (status === 200) {
|
|
22320
22142
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22321
22143
|
let result200 = null;
|
|
22322
22144
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22323
|
-
result200 =
|
|
22145
|
+
result200 = ValidationTypeDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
22324
22146
|
return of(result200);
|
|
22325
22147
|
}));
|
|
22326
22148
|
}
|
|
@@ -22332,10 +22154,15 @@ class FacilityServiceProxy {
|
|
|
22332
22154
|
return of(null);
|
|
22333
22155
|
}
|
|
22334
22156
|
/**
|
|
22157
|
+
* @param appModule (optional)
|
|
22335
22158
|
* @return Success
|
|
22336
22159
|
*/
|
|
22337
|
-
|
|
22338
|
-
let url_ = this.baseUrl + "/api/services/facility/
|
|
22160
|
+
facilityTree(appModule) {
|
|
22161
|
+
let url_ = this.baseUrl + "/api/services/facility/tree?";
|
|
22162
|
+
if (appModule === null)
|
|
22163
|
+
throw new Error("The parameter 'appModule' cannot be null.");
|
|
22164
|
+
else if (appModule !== undefined)
|
|
22165
|
+
url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
|
|
22339
22166
|
url_ = url_.replace(/[?&]$/, "");
|
|
22340
22167
|
let options_ = {
|
|
22341
22168
|
observe: "response",
|
|
@@ -22345,11 +22172,11 @@ class FacilityServiceProxy {
|
|
|
22345
22172
|
})
|
|
22346
22173
|
};
|
|
22347
22174
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22348
|
-
return this.
|
|
22175
|
+
return this.processFacilityTree(response_);
|
|
22349
22176
|
})).pipe(catchError((response_) => {
|
|
22350
22177
|
if (response_ instanceof HttpResponseBase) {
|
|
22351
22178
|
try {
|
|
22352
|
-
return this.
|
|
22179
|
+
return this.processFacilityTree(response_);
|
|
22353
22180
|
}
|
|
22354
22181
|
catch (e) {
|
|
22355
22182
|
return throwError(e);
|
|
@@ -22359,7 +22186,7 @@ class FacilityServiceProxy {
|
|
|
22359
22186
|
return throwError(response_);
|
|
22360
22187
|
}));
|
|
22361
22188
|
}
|
|
22362
|
-
|
|
22189
|
+
processFacilityTree(response) {
|
|
22363
22190
|
const status = response.status;
|
|
22364
22191
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22365
22192
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22373,7 +22200,7 @@ class FacilityServiceProxy {
|
|
|
22373
22200
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22374
22201
|
let result200 = null;
|
|
22375
22202
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22376
|
-
result200 =
|
|
22203
|
+
result200 = FacilityTreeDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
22377
22204
|
return of(result200);
|
|
22378
22205
|
}));
|
|
22379
22206
|
}
|
|
@@ -22385,15 +22212,10 @@ class FacilityServiceProxy {
|
|
|
22385
22212
|
return of(null);
|
|
22386
22213
|
}
|
|
22387
22214
|
/**
|
|
22388
|
-
* @param appModule (optional)
|
|
22389
22215
|
* @return Success
|
|
22390
22216
|
*/
|
|
22391
|
-
|
|
22392
|
-
let url_ = this.baseUrl + "/api/services/facility/basic
|
|
22393
|
-
if (appModule === null)
|
|
22394
|
-
throw new Error("The parameter 'appModule' cannot be null.");
|
|
22395
|
-
else if (appModule !== undefined)
|
|
22396
|
-
url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
|
|
22217
|
+
facilityAllBackoffice() {
|
|
22218
|
+
let url_ = this.baseUrl + "/api/services/facility/basic-backoffice";
|
|
22397
22219
|
url_ = url_.replace(/[?&]$/, "");
|
|
22398
22220
|
let options_ = {
|
|
22399
22221
|
observe: "response",
|
|
@@ -22403,11 +22225,11 @@ class FacilityServiceProxy {
|
|
|
22403
22225
|
})
|
|
22404
22226
|
};
|
|
22405
22227
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22406
|
-
return this.
|
|
22228
|
+
return this.processFacilityAllBackoffice(response_);
|
|
22407
22229
|
})).pipe(catchError((response_) => {
|
|
22408
22230
|
if (response_ instanceof HttpResponseBase) {
|
|
22409
22231
|
try {
|
|
22410
|
-
return this.
|
|
22232
|
+
return this.processFacilityAllBackoffice(response_);
|
|
22411
22233
|
}
|
|
22412
22234
|
catch (e) {
|
|
22413
22235
|
return throwError(e);
|
|
@@ -22417,7 +22239,7 @@ class FacilityServiceProxy {
|
|
|
22417
22239
|
return throwError(response_);
|
|
22418
22240
|
}));
|
|
22419
22241
|
}
|
|
22420
|
-
|
|
22242
|
+
processFacilityAllBackoffice(response) {
|
|
22421
22243
|
const status = response.status;
|
|
22422
22244
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22423
22245
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22427,15 +22249,7 @@ class FacilityServiceProxy {
|
|
|
22427
22249
|
_headers[key] = response.headers.get(key);
|
|
22428
22250
|
}
|
|
22429
22251
|
}
|
|
22430
|
-
if (status ===
|
|
22431
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22432
|
-
let result404 = null;
|
|
22433
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22434
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
22435
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
22436
|
-
}));
|
|
22437
|
-
}
|
|
22438
|
-
else if (status === 200) {
|
|
22252
|
+
if (status === 200) {
|
|
22439
22253
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22440
22254
|
let result200 = null;
|
|
22441
22255
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
@@ -22450,44 +22264,48 @@ class FacilityServiceProxy {
|
|
|
22450
22264
|
}
|
|
22451
22265
|
return of(null);
|
|
22452
22266
|
}
|
|
22267
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacilityServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$1, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22268
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacilityServiceProxy }); }
|
|
22269
|
+
}
|
|
22270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacilityServiceProxy, decorators: [{
|
|
22271
|
+
type: Injectable
|
|
22272
|
+
}], ctorParameters: function () { return [{ type: i1$2.HttpClient, decorators: [{
|
|
22273
|
+
type: Inject,
|
|
22274
|
+
args: [HttpClient]
|
|
22275
|
+
}] }, { type: undefined, decorators: [{
|
|
22276
|
+
type: Optional
|
|
22277
|
+
}, {
|
|
22278
|
+
type: Inject,
|
|
22279
|
+
args: [API_BASE_URL$1]
|
|
22280
|
+
}] }]; } });
|
|
22281
|
+
class FileServiceProxy {
|
|
22282
|
+
constructor(http, baseUrl) {
|
|
22283
|
+
this.jsonParseReviver = undefined;
|
|
22284
|
+
this.http = http;
|
|
22285
|
+
this.baseUrl = baseUrl ?? "";
|
|
22286
|
+
}
|
|
22453
22287
|
/**
|
|
22454
|
-
* @param
|
|
22455
|
-
* @param
|
|
22456
|
-
* @param
|
|
22457
|
-
* @param
|
|
22458
|
-
* @param searchTerm (optional)
|
|
22459
|
-
* @param orderBy_Column (optional)
|
|
22460
|
-
* @param orderBy_OrderDirection (optional)
|
|
22288
|
+
* @param entityName (optional)
|
|
22289
|
+
* @param entityId (optional)
|
|
22290
|
+
* @param command (optional)
|
|
22291
|
+
* @param parkId (optional)
|
|
22461
22292
|
* @return Success
|
|
22462
22293
|
*/
|
|
22463
|
-
|
|
22464
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/
|
|
22465
|
-
if (parkId === undefined || parkId === null)
|
|
22466
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
22467
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
22294
|
+
createReceipt(entityName, entityId, command, parkId, guid) {
|
|
22295
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/file/create-receipt?";
|
|
22468
22296
|
if (guid === undefined || guid === null)
|
|
22469
22297
|
throw new Error("The parameter 'guid' must be defined.");
|
|
22470
22298
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
22471
|
-
if (
|
|
22472
|
-
|
|
22473
|
-
|
|
22474
|
-
url_ += "
|
|
22475
|
-
if (
|
|
22476
|
-
url_ += "
|
|
22477
|
-
if (
|
|
22478
|
-
throw new Error("The parameter '
|
|
22479
|
-
else if (
|
|
22480
|
-
url_ += "
|
|
22481
|
-
if (maxResults !== undefined && maxResults !== null)
|
|
22482
|
-
url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
|
|
22483
|
-
if (searchTerm !== undefined && searchTerm !== null)
|
|
22484
|
-
url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
|
|
22485
|
-
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
22486
|
-
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
22487
|
-
if (orderBy_OrderDirection === null)
|
|
22488
|
-
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
22489
|
-
else if (orderBy_OrderDirection !== undefined)
|
|
22490
|
-
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
22299
|
+
if (entityName !== undefined && entityName !== null)
|
|
22300
|
+
url_ += "EntityName=" + encodeURIComponent("" + entityName) + "&";
|
|
22301
|
+
if (entityId !== undefined && entityId !== null)
|
|
22302
|
+
url_ += "EntityId=" + encodeURIComponent("" + entityId) + "&";
|
|
22303
|
+
if (command !== undefined && command !== null)
|
|
22304
|
+
url_ += "Command=" + encodeURIComponent("" + command) + "&";
|
|
22305
|
+
if (parkId === null)
|
|
22306
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
22307
|
+
else if (parkId !== undefined)
|
|
22308
|
+
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
22491
22309
|
url_ = url_.replace(/[?&]$/, "");
|
|
22492
22310
|
let options_ = {
|
|
22493
22311
|
observe: "response",
|
|
@@ -22497,11 +22315,11 @@ class FacilityServiceProxy {
|
|
|
22497
22315
|
})
|
|
22498
22316
|
};
|
|
22499
22317
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22500
|
-
return this.
|
|
22318
|
+
return this.processCreateReceipt(response_);
|
|
22501
22319
|
})).pipe(catchError((response_) => {
|
|
22502
22320
|
if (response_ instanceof HttpResponseBase) {
|
|
22503
22321
|
try {
|
|
22504
|
-
return this.
|
|
22322
|
+
return this.processCreateReceipt(response_);
|
|
22505
22323
|
}
|
|
22506
22324
|
catch (e) {
|
|
22507
22325
|
return throwError(e);
|
|
@@ -22511,7 +22329,7 @@ class FacilityServiceProxy {
|
|
|
22511
22329
|
return throwError(response_);
|
|
22512
22330
|
}));
|
|
22513
22331
|
}
|
|
22514
|
-
|
|
22332
|
+
processCreateReceipt(response) {
|
|
22515
22333
|
const status = response.status;
|
|
22516
22334
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22517
22335
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22521,19 +22339,11 @@ class FacilityServiceProxy {
|
|
|
22521
22339
|
_headers[key] = response.headers.get(key);
|
|
22522
22340
|
}
|
|
22523
22341
|
}
|
|
22524
|
-
if (status ===
|
|
22525
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22526
|
-
let result404 = null;
|
|
22527
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22528
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
22529
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
22530
|
-
}));
|
|
22531
|
-
}
|
|
22532
|
-
else if (status === 200) {
|
|
22342
|
+
if (status === 200) {
|
|
22533
22343
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22534
22344
|
let result200 = null;
|
|
22535
22345
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22536
|
-
result200 =
|
|
22346
|
+
result200 = GenerateFileResponseDtoHttpResponseData.fromJS(resultData200);
|
|
22537
22347
|
return of(result200);
|
|
22538
22348
|
}));
|
|
22539
22349
|
}
|
|
@@ -22544,26 +22354,6 @@ class FacilityServiceProxy {
|
|
|
22544
22354
|
}
|
|
22545
22355
|
return of(null);
|
|
22546
22356
|
}
|
|
22547
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacilityServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$1, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
22548
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacilityServiceProxy }); }
|
|
22549
|
-
}
|
|
22550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: FacilityServiceProxy, decorators: [{
|
|
22551
|
-
type: Injectable
|
|
22552
|
-
}], ctorParameters: function () { return [{ type: i1$2.HttpClient, decorators: [{
|
|
22553
|
-
type: Inject,
|
|
22554
|
-
args: [HttpClient]
|
|
22555
|
-
}] }, { type: undefined, decorators: [{
|
|
22556
|
-
type: Optional
|
|
22557
|
-
}, {
|
|
22558
|
-
type: Inject,
|
|
22559
|
-
args: [API_BASE_URL$1]
|
|
22560
|
-
}] }]; } });
|
|
22561
|
-
class FileServiceProxy {
|
|
22562
|
-
constructor(http, baseUrl) {
|
|
22563
|
-
this.jsonParseReviver = undefined;
|
|
22564
|
-
this.http = http;
|
|
22565
|
-
this.baseUrl = baseUrl ?? "";
|
|
22566
|
-
}
|
|
22567
22357
|
/**
|
|
22568
22358
|
* @param entityName (optional)
|
|
22569
22359
|
* @param entityId (optional)
|
|
@@ -22571,78 +22361,8 @@ class FileServiceProxy {
|
|
|
22571
22361
|
* @param parkId (optional)
|
|
22572
22362
|
* @return Success
|
|
22573
22363
|
*/
|
|
22574
|
-
|
|
22575
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/file/create-
|
|
22576
|
-
if (guid === undefined || guid === null)
|
|
22577
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
22578
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
22579
|
-
if (entityName !== undefined && entityName !== null)
|
|
22580
|
-
url_ += "EntityName=" + encodeURIComponent("" + entityName) + "&";
|
|
22581
|
-
if (entityId !== undefined && entityId !== null)
|
|
22582
|
-
url_ += "EntityId=" + encodeURIComponent("" + entityId) + "&";
|
|
22583
|
-
if (command !== undefined && command !== null)
|
|
22584
|
-
url_ += "Command=" + encodeURIComponent("" + command) + "&";
|
|
22585
|
-
if (parkId === null)
|
|
22586
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
22587
|
-
else if (parkId !== undefined)
|
|
22588
|
-
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
22589
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
22590
|
-
let options_ = {
|
|
22591
|
-
observe: "response",
|
|
22592
|
-
responseType: "blob",
|
|
22593
|
-
headers: new HttpHeaders({
|
|
22594
|
-
"Accept": "text/plain"
|
|
22595
|
-
})
|
|
22596
|
-
};
|
|
22597
|
-
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22598
|
-
return this.processCreateReceipt(response_);
|
|
22599
|
-
})).pipe(catchError((response_) => {
|
|
22600
|
-
if (response_ instanceof HttpResponseBase) {
|
|
22601
|
-
try {
|
|
22602
|
-
return this.processCreateReceipt(response_);
|
|
22603
|
-
}
|
|
22604
|
-
catch (e) {
|
|
22605
|
-
return throwError(e);
|
|
22606
|
-
}
|
|
22607
|
-
}
|
|
22608
|
-
else
|
|
22609
|
-
return throwError(response_);
|
|
22610
|
-
}));
|
|
22611
|
-
}
|
|
22612
|
-
processCreateReceipt(response) {
|
|
22613
|
-
const status = response.status;
|
|
22614
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22615
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
22616
|
-
let _headers = {};
|
|
22617
|
-
if (response.headers) {
|
|
22618
|
-
for (let key of response.headers.keys()) {
|
|
22619
|
-
_headers[key] = response.headers.get(key);
|
|
22620
|
-
}
|
|
22621
|
-
}
|
|
22622
|
-
if (status === 200) {
|
|
22623
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22624
|
-
let result200 = null;
|
|
22625
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22626
|
-
result200 = GenerateFileResponseDtoHttpResponseData.fromJS(resultData200);
|
|
22627
|
-
return of(result200);
|
|
22628
|
-
}));
|
|
22629
|
-
}
|
|
22630
|
-
else if (status !== 200 && status !== 204) {
|
|
22631
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22632
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
22633
|
-
}));
|
|
22634
|
-
}
|
|
22635
|
-
return of(null);
|
|
22636
|
-
}
|
|
22637
|
-
/**
|
|
22638
|
-
* @param entityName (optional)
|
|
22639
|
-
* @param entityId (optional)
|
|
22640
|
-
* @param command (optional)
|
|
22641
|
-
* @param parkId (optional)
|
|
22642
|
-
* @return Success
|
|
22643
|
-
*/
|
|
22644
|
-
createReport(entityName, entityId, command, parkId, guid) {
|
|
22645
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/file/create-report?";
|
|
22364
|
+
createReport(entityName, entityId, command, parkId, guid) {
|
|
22365
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/file/create-report?";
|
|
22646
22366
|
if (guid === undefined || guid === null)
|
|
22647
22367
|
throw new Error("The parameter 'guid' must be defined.");
|
|
22648
22368
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -23844,21 +23564,16 @@ class GuestServiceProxy {
|
|
|
23844
23564
|
}
|
|
23845
23565
|
}
|
|
23846
23566
|
/**
|
|
23847
|
-
* @param parkId (optional)
|
|
23848
23567
|
* @return Success
|
|
23849
23568
|
*/
|
|
23850
|
-
|
|
23851
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}
|
|
23569
|
+
deleteGuest(id, guid) {
|
|
23570
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}";
|
|
23852
23571
|
if (id === undefined || id === null)
|
|
23853
23572
|
throw new Error("The parameter 'id' must be defined.");
|
|
23854
23573
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23855
23574
|
if (guid === undefined || guid === null)
|
|
23856
23575
|
throw new Error("The parameter 'guid' must be defined.");
|
|
23857
23576
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
23858
|
-
if (parkId === null)
|
|
23859
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
23860
|
-
else if (parkId !== undefined)
|
|
23861
|
-
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
23862
23577
|
url_ = url_.replace(/[?&]$/, "");
|
|
23863
23578
|
let options_ = {
|
|
23864
23579
|
observe: "response",
|
|
@@ -23867,12 +23582,12 @@ class GuestServiceProxy {
|
|
|
23867
23582
|
"Accept": "text/plain"
|
|
23868
23583
|
})
|
|
23869
23584
|
};
|
|
23870
|
-
return this.http.request("
|
|
23871
|
-
return this.
|
|
23585
|
+
return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
|
|
23586
|
+
return this.processDeleteGuest(response_);
|
|
23872
23587
|
})).pipe(catchError((response_) => {
|
|
23873
23588
|
if (response_ instanceof HttpResponseBase) {
|
|
23874
23589
|
try {
|
|
23875
|
-
return this.
|
|
23590
|
+
return this.processDeleteGuest(response_);
|
|
23876
23591
|
}
|
|
23877
23592
|
catch (e) {
|
|
23878
23593
|
return throwError(e);
|
|
@@ -23882,7 +23597,7 @@ class GuestServiceProxy {
|
|
|
23882
23597
|
return throwError(response_);
|
|
23883
23598
|
}));
|
|
23884
23599
|
}
|
|
23885
|
-
|
|
23600
|
+
processDeleteGuest(response) {
|
|
23886
23601
|
const status = response.status;
|
|
23887
23602
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
23888
23603
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -23892,7 +23607,12 @@ class GuestServiceProxy {
|
|
|
23892
23607
|
_headers[key] = response.headers.get(key);
|
|
23893
23608
|
}
|
|
23894
23609
|
}
|
|
23895
|
-
if (status ===
|
|
23610
|
+
if (status === 204) {
|
|
23611
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23612
|
+
return throwException$1("No Content", status, _responseText, _headers);
|
|
23613
|
+
}));
|
|
23614
|
+
}
|
|
23615
|
+
else if (status === 404) {
|
|
23896
23616
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23897
23617
|
let result404 = null;
|
|
23898
23618
|
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
@@ -23904,7 +23624,7 @@ class GuestServiceProxy {
|
|
|
23904
23624
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23905
23625
|
let result200 = null;
|
|
23906
23626
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23907
|
-
result200 =
|
|
23627
|
+
result200 = Unit.fromJS(resultData200);
|
|
23908
23628
|
return of(result200);
|
|
23909
23629
|
}));
|
|
23910
23630
|
}
|
|
@@ -23918,21 +23638,16 @@ class GuestServiceProxy {
|
|
|
23918
23638
|
}
|
|
23919
23639
|
}
|
|
23920
23640
|
/**
|
|
23921
|
-
* @param parkId (optional)
|
|
23922
23641
|
* @return Success
|
|
23923
23642
|
*/
|
|
23924
|
-
|
|
23925
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}
|
|
23643
|
+
getGuestById(id, guid) {
|
|
23644
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}";
|
|
23926
23645
|
if (id === undefined || id === null)
|
|
23927
23646
|
throw new Error("The parameter 'id' must be defined.");
|
|
23928
23647
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23929
23648
|
if (guid === undefined || guid === null)
|
|
23930
23649
|
throw new Error("The parameter 'guid' must be defined.");
|
|
23931
23650
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
23932
|
-
if (parkId === null)
|
|
23933
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
23934
|
-
else if (parkId !== undefined)
|
|
23935
|
-
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
23936
23651
|
url_ = url_.replace(/[?&]$/, "");
|
|
23937
23652
|
let options_ = {
|
|
23938
23653
|
observe: "response",
|
|
@@ -23941,12 +23656,12 @@ class GuestServiceProxy {
|
|
|
23941
23656
|
"Accept": "text/plain"
|
|
23942
23657
|
})
|
|
23943
23658
|
};
|
|
23944
|
-
return this.http.request("
|
|
23945
|
-
return this.
|
|
23659
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
23660
|
+
return this.processGetGuestById(response_);
|
|
23946
23661
|
})).pipe(catchError((response_) => {
|
|
23947
23662
|
if (response_ instanceof HttpResponseBase) {
|
|
23948
23663
|
try {
|
|
23949
|
-
return this.
|
|
23664
|
+
return this.processGetGuestById(response_);
|
|
23950
23665
|
}
|
|
23951
23666
|
catch (e) {
|
|
23952
23667
|
return throwError(e);
|
|
@@ -23956,7 +23671,7 @@ class GuestServiceProxy {
|
|
|
23956
23671
|
return throwError(response_);
|
|
23957
23672
|
}));
|
|
23958
23673
|
}
|
|
23959
|
-
|
|
23674
|
+
processGetGuestById(response) {
|
|
23960
23675
|
const status = response.status;
|
|
23961
23676
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
23962
23677
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -23966,12 +23681,7 @@ class GuestServiceProxy {
|
|
|
23966
23681
|
_headers[key] = response.headers.get(key);
|
|
23967
23682
|
}
|
|
23968
23683
|
}
|
|
23969
|
-
if (status ===
|
|
23970
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23971
|
-
return throwException$1("No Content", status, _responseText, _headers);
|
|
23972
|
-
}));
|
|
23973
|
-
}
|
|
23974
|
-
else if (status === 404) {
|
|
23684
|
+
if (status === 404) {
|
|
23975
23685
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23976
23686
|
let result404 = null;
|
|
23977
23687
|
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
@@ -23983,7 +23693,7 @@ class GuestServiceProxy {
|
|
|
23983
23693
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23984
23694
|
let result200 = null;
|
|
23985
23695
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23986
|
-
result200 =
|
|
23696
|
+
result200 = VGuestWithBatchDtoHttpResponseData.fromJS(resultData200);
|
|
23987
23697
|
return of(result200);
|
|
23988
23698
|
}));
|
|
23989
23699
|
}
|
|
@@ -24397,7 +24107,6 @@ class GuestServiceProxy {
|
|
|
24397
24107
|
* @param take (optional)
|
|
24398
24108
|
* @param skip (optional)
|
|
24399
24109
|
* @return Success
|
|
24400
|
-
* @deprecated
|
|
24401
24110
|
*/
|
|
24402
24111
|
guestsTraffic(parkId, guestTrafficSearchFieldSelector, credentialMediaType, deviceIds, companiesFilterDto_CompanyIds, companiesFilterDto_SubCompanyIds, companiesFilterDto_IncludeAccessProfile, companiesFilterDto_IncludeSubCompanies, companiesFilterDto_ParkId, searchValue, from, to, take, skip, guid) {
|
|
24403
24112
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/guests-traffic?";
|
|
@@ -24504,74 +24213,6 @@ class GuestServiceProxy {
|
|
|
24504
24213
|
}
|
|
24505
24214
|
return of(null);
|
|
24506
24215
|
}
|
|
24507
|
-
/**
|
|
24508
|
-
* @param body (optional)
|
|
24509
|
-
* @return Success
|
|
24510
|
-
*/
|
|
24511
|
-
guestsTrafficHistory(guid, body) {
|
|
24512
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/guests-traffic-history";
|
|
24513
|
-
if (guid === undefined || guid === null)
|
|
24514
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
24515
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
24516
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
24517
|
-
const content_ = JSON.stringify(body);
|
|
24518
|
-
let options_ = {
|
|
24519
|
-
body: content_,
|
|
24520
|
-
observe: "response",
|
|
24521
|
-
responseType: "blob",
|
|
24522
|
-
headers: new HttpHeaders({
|
|
24523
|
-
"Content-Type": "application/json-patch+json",
|
|
24524
|
-
"Accept": "text/plain"
|
|
24525
|
-
})
|
|
24526
|
-
};
|
|
24527
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
24528
|
-
return this.processGuestsTrafficHistory(response_);
|
|
24529
|
-
})).pipe(catchError((response_) => {
|
|
24530
|
-
if (response_ instanceof HttpResponseBase) {
|
|
24531
|
-
try {
|
|
24532
|
-
return this.processGuestsTrafficHistory(response_);
|
|
24533
|
-
}
|
|
24534
|
-
catch (e) {
|
|
24535
|
-
return throwError(e);
|
|
24536
|
-
}
|
|
24537
|
-
}
|
|
24538
|
-
else
|
|
24539
|
-
return throwError(response_);
|
|
24540
|
-
}));
|
|
24541
|
-
}
|
|
24542
|
-
processGuestsTrafficHistory(response) {
|
|
24543
|
-
const status = response.status;
|
|
24544
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
24545
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
24546
|
-
let _headers = {};
|
|
24547
|
-
if (response.headers) {
|
|
24548
|
-
for (let key of response.headers.keys()) {
|
|
24549
|
-
_headers[key] = response.headers.get(key);
|
|
24550
|
-
}
|
|
24551
|
-
}
|
|
24552
|
-
if (status === 404) {
|
|
24553
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
24554
|
-
let result404 = null;
|
|
24555
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
24556
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
24557
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
24558
|
-
}));
|
|
24559
|
-
}
|
|
24560
|
-
else if (status === 200) {
|
|
24561
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
24562
|
-
let result200 = null;
|
|
24563
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
24564
|
-
result200 = GuestTrafficDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
24565
|
-
return of(result200);
|
|
24566
|
-
}));
|
|
24567
|
-
}
|
|
24568
|
-
else if (status !== 200 && status !== 204) {
|
|
24569
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
24570
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
24571
|
-
}));
|
|
24572
|
-
}
|
|
24573
|
-
return of(null);
|
|
24574
|
-
}
|
|
24575
24216
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GuestServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$1, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
24576
24217
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GuestServiceProxy }); }
|
|
24577
24218
|
}
|
|
@@ -25264,21 +24905,16 @@ class KeyOptionServiceProxy {
|
|
|
25264
24905
|
return of(null);
|
|
25265
24906
|
}
|
|
25266
24907
|
/**
|
|
25267
|
-
* @param parkId (optional)
|
|
25268
24908
|
* @return Success
|
|
25269
24909
|
*/
|
|
25270
|
-
deleteKeyOption(id,
|
|
25271
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/keyoption/{id}
|
|
24910
|
+
deleteKeyOption(id, guid) {
|
|
24911
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/keyoption/{id}";
|
|
25272
24912
|
if (id === undefined || id === null)
|
|
25273
24913
|
throw new Error("The parameter 'id' must be defined.");
|
|
25274
24914
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25275
24915
|
if (guid === undefined || guid === null)
|
|
25276
24916
|
throw new Error("The parameter 'guid' must be defined.");
|
|
25277
24917
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
25278
|
-
if (parkId === null)
|
|
25279
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
25280
|
-
else if (parkId !== undefined)
|
|
25281
|
-
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
25282
24918
|
url_ = url_.replace(/[?&]$/, "");
|
|
25283
24919
|
let options_ = {
|
|
25284
24920
|
observe: "response",
|
|
@@ -26032,11 +25668,8 @@ class MonthlyServiceProxy {
|
|
|
26032
25668
|
* @param body (optional)
|
|
26033
25669
|
* @return Success
|
|
26034
25670
|
*/
|
|
26035
|
-
getMonthlies(
|
|
26036
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly
|
|
26037
|
-
if (parkId === undefined || parkId === null)
|
|
26038
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
26039
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
25671
|
+
getMonthlies(guid, body) {
|
|
25672
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly";
|
|
26040
25673
|
if (guid === undefined || guid === null)
|
|
26041
25674
|
throw new Error("The parameter 'guid' must be defined.");
|
|
26042
25675
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -26099,6 +25732,105 @@ class MonthlyServiceProxy {
|
|
|
26099
25732
|
}
|
|
26100
25733
|
return of(null);
|
|
26101
25734
|
}
|
|
25735
|
+
/**
|
|
25736
|
+
* @param companyIds (optional)
|
|
25737
|
+
* @param subCompanyIds (optional)
|
|
25738
|
+
* @param includeAccessProfile (optional)
|
|
25739
|
+
* @param includeSubCompanies (optional)
|
|
25740
|
+
* @param parkId (optional)
|
|
25741
|
+
* @param maxResults (optional)
|
|
25742
|
+
* @param searchTerm (optional)
|
|
25743
|
+
* @param orderBy_Column (optional)
|
|
25744
|
+
* @param orderBy_OrderDirection (optional)
|
|
25745
|
+
* @return Success
|
|
25746
|
+
*/
|
|
25747
|
+
get(companyIds, subCompanyIds, includeAccessProfile, includeSubCompanies, parkId, maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid) {
|
|
25748
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly?";
|
|
25749
|
+
if (guid === undefined || guid === null)
|
|
25750
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
25751
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
25752
|
+
if (companyIds !== undefined && companyIds !== null)
|
|
25753
|
+
companyIds && companyIds.forEach(item => { url_ += "CompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
25754
|
+
if (subCompanyIds !== undefined && subCompanyIds !== null)
|
|
25755
|
+
subCompanyIds && subCompanyIds.forEach(item => { url_ += "SubCompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
25756
|
+
if (includeAccessProfile === null)
|
|
25757
|
+
throw new Error("The parameter 'includeAccessProfile' cannot be null.");
|
|
25758
|
+
else if (includeAccessProfile !== undefined)
|
|
25759
|
+
url_ += "IncludeAccessProfile=" + encodeURIComponent("" + includeAccessProfile) + "&";
|
|
25760
|
+
if (includeSubCompanies === null)
|
|
25761
|
+
throw new Error("The parameter 'includeSubCompanies' cannot be null.");
|
|
25762
|
+
else if (includeSubCompanies !== undefined)
|
|
25763
|
+
url_ += "IncludeSubCompanies=" + encodeURIComponent("" + includeSubCompanies) + "&";
|
|
25764
|
+
if (parkId === null)
|
|
25765
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
25766
|
+
else if (parkId !== undefined)
|
|
25767
|
+
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
25768
|
+
if (maxResults !== undefined && maxResults !== null)
|
|
25769
|
+
url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
|
|
25770
|
+
if (searchTerm !== undefined && searchTerm !== null)
|
|
25771
|
+
url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
|
|
25772
|
+
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
25773
|
+
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
25774
|
+
if (orderBy_OrderDirection === null)
|
|
25775
|
+
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
25776
|
+
else if (orderBy_OrderDirection !== undefined)
|
|
25777
|
+
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
25778
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
25779
|
+
let options_ = {
|
|
25780
|
+
observe: "response",
|
|
25781
|
+
responseType: "blob",
|
|
25782
|
+
headers: new HttpHeaders({
|
|
25783
|
+
"Accept": "text/plain"
|
|
25784
|
+
})
|
|
25785
|
+
};
|
|
25786
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
25787
|
+
return this.processGet(response_);
|
|
25788
|
+
})).pipe(catchError((response_) => {
|
|
25789
|
+
if (response_ instanceof HttpResponseBase) {
|
|
25790
|
+
try {
|
|
25791
|
+
return this.processGet(response_);
|
|
25792
|
+
}
|
|
25793
|
+
catch (e) {
|
|
25794
|
+
return throwError(e);
|
|
25795
|
+
}
|
|
25796
|
+
}
|
|
25797
|
+
else
|
|
25798
|
+
return throwError(response_);
|
|
25799
|
+
}));
|
|
25800
|
+
}
|
|
25801
|
+
processGet(response) {
|
|
25802
|
+
const status = response.status;
|
|
25803
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
25804
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
25805
|
+
let _headers = {};
|
|
25806
|
+
if (response.headers) {
|
|
25807
|
+
for (let key of response.headers.keys()) {
|
|
25808
|
+
_headers[key] = response.headers.get(key);
|
|
25809
|
+
}
|
|
25810
|
+
}
|
|
25811
|
+
if (status === 404) {
|
|
25812
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
25813
|
+
let result404 = null;
|
|
25814
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
25815
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
25816
|
+
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
25817
|
+
}));
|
|
25818
|
+
}
|
|
25819
|
+
else if (status === 200) {
|
|
25820
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
25821
|
+
let result200 = null;
|
|
25822
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
25823
|
+
result200 = MonthlyBaseDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
25824
|
+
return of(result200);
|
|
25825
|
+
}));
|
|
25826
|
+
}
|
|
25827
|
+
else if (status !== 200 && status !== 204) {
|
|
25828
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
25829
|
+
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
25830
|
+
}));
|
|
25831
|
+
}
|
|
25832
|
+
return of(null);
|
|
25833
|
+
}
|
|
26102
25834
|
/**
|
|
26103
25835
|
* @return Success
|
|
26104
25836
|
*/
|
|
@@ -26167,21 +25899,16 @@ class MonthlyServiceProxy {
|
|
|
26167
25899
|
return of(null);
|
|
26168
25900
|
}
|
|
26169
25901
|
/**
|
|
26170
|
-
* @param parkId (optional)
|
|
26171
25902
|
* @return Success
|
|
26172
25903
|
*/
|
|
26173
|
-
deleteMonthly(id,
|
|
26174
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/{id}
|
|
25904
|
+
deleteMonthly(id, guid) {
|
|
25905
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/{id}";
|
|
26175
25906
|
if (id === undefined || id === null)
|
|
26176
25907
|
throw new Error("The parameter 'id' must be defined.");
|
|
26177
25908
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
26178
25909
|
if (guid === undefined || guid === null)
|
|
26179
25910
|
throw new Error("The parameter 'guid' must be defined.");
|
|
26180
25911
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
26181
|
-
if (parkId === null)
|
|
26182
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
26183
|
-
else if (parkId !== undefined)
|
|
26184
|
-
url_ += "parkId=" + encodeURIComponent("" + parkId) + "&";
|
|
26185
25912
|
url_ = url_.replace(/[?&]$/, "");
|
|
26186
25913
|
let options_ = {
|
|
26187
25914
|
observe: "response",
|
|
@@ -26864,88 +26591,6 @@ class MonthlyServiceProxy {
|
|
|
26864
26591
|
}
|
|
26865
26592
|
return of(null);
|
|
26866
26593
|
}
|
|
26867
|
-
/**
|
|
26868
|
-
* @param maxResults (optional)
|
|
26869
|
-
* @param searchTerm (optional)
|
|
26870
|
-
* @param orderBy_Column (optional)
|
|
26871
|
-
* @param orderBy_OrderDirection (optional)
|
|
26872
|
-
* @param body (optional)
|
|
26873
|
-
* @return Success
|
|
26874
|
-
*/
|
|
26875
|
-
getBase(maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid, body) {
|
|
26876
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/base?";
|
|
26877
|
-
if (guid === undefined || guid === null)
|
|
26878
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
26879
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
26880
|
-
if (maxResults !== undefined && maxResults !== null)
|
|
26881
|
-
url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
|
|
26882
|
-
if (searchTerm !== undefined && searchTerm !== null)
|
|
26883
|
-
url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
|
|
26884
|
-
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
26885
|
-
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
26886
|
-
if (orderBy_OrderDirection === null)
|
|
26887
|
-
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
26888
|
-
else if (orderBy_OrderDirection !== undefined)
|
|
26889
|
-
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
26890
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
26891
|
-
const content_ = JSON.stringify(body);
|
|
26892
|
-
let options_ = {
|
|
26893
|
-
body: content_,
|
|
26894
|
-
observe: "response",
|
|
26895
|
-
responseType: "blob",
|
|
26896
|
-
headers: new HttpHeaders({
|
|
26897
|
-
"Content-Type": "application/json-patch+json",
|
|
26898
|
-
"Accept": "text/plain"
|
|
26899
|
-
})
|
|
26900
|
-
};
|
|
26901
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
26902
|
-
return this.processGetBase(response_);
|
|
26903
|
-
})).pipe(catchError((response_) => {
|
|
26904
|
-
if (response_ instanceof HttpResponseBase) {
|
|
26905
|
-
try {
|
|
26906
|
-
return this.processGetBase(response_);
|
|
26907
|
-
}
|
|
26908
|
-
catch (e) {
|
|
26909
|
-
return throwError(e);
|
|
26910
|
-
}
|
|
26911
|
-
}
|
|
26912
|
-
else
|
|
26913
|
-
return throwError(response_);
|
|
26914
|
-
}));
|
|
26915
|
-
}
|
|
26916
|
-
processGetBase(response) {
|
|
26917
|
-
const status = response.status;
|
|
26918
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
26919
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
26920
|
-
let _headers = {};
|
|
26921
|
-
if (response.headers) {
|
|
26922
|
-
for (let key of response.headers.keys()) {
|
|
26923
|
-
_headers[key] = response.headers.get(key);
|
|
26924
|
-
}
|
|
26925
|
-
}
|
|
26926
|
-
if (status === 404) {
|
|
26927
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
26928
|
-
let result404 = null;
|
|
26929
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26930
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
26931
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
26932
|
-
}));
|
|
26933
|
-
}
|
|
26934
|
-
else if (status === 200) {
|
|
26935
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
26936
|
-
let result200 = null;
|
|
26937
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26938
|
-
result200 = MonthlyBaseDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
26939
|
-
return of(result200);
|
|
26940
|
-
}));
|
|
26941
|
-
}
|
|
26942
|
-
else if (status !== 200 && status !== 204) {
|
|
26943
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
26944
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26945
|
-
}));
|
|
26946
|
-
}
|
|
26947
|
-
return of(null);
|
|
26948
|
-
}
|
|
26949
26594
|
/**
|
|
26950
26595
|
* @param entityId (optional)
|
|
26951
26596
|
* @param startDate (optional)
|
|
@@ -27048,147 +26693,72 @@ class MonthlyServiceProxy {
|
|
|
27048
26693
|
return of(null);
|
|
27049
26694
|
}
|
|
27050
26695
|
/**
|
|
27051
|
-
* @param
|
|
27052
|
-
* @
|
|
27053
|
-
|
|
27054
|
-
|
|
27055
|
-
|
|
27056
|
-
|
|
27057
|
-
|
|
27058
|
-
|
|
27059
|
-
|
|
27060
|
-
|
|
27061
|
-
|
|
27062
|
-
|
|
27063
|
-
|
|
27064
|
-
|
|
27065
|
-
body: content_,
|
|
27066
|
-
observe: "response",
|
|
27067
|
-
responseType: "blob",
|
|
27068
|
-
headers: new HttpHeaders({
|
|
27069
|
-
"Content-Type": "application/json-patch+json",
|
|
27070
|
-
"Accept": "text/plain"
|
|
27071
|
-
})
|
|
27072
|
-
};
|
|
27073
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27074
|
-
return this.processMonthliesTraffic(response_);
|
|
27075
|
-
})).pipe(catchError((response_) => {
|
|
27076
|
-
if (response_ instanceof HttpResponseBase) {
|
|
27077
|
-
try {
|
|
27078
|
-
return this.processMonthliesTraffic(response_);
|
|
27079
|
-
}
|
|
27080
|
-
catch (e) {
|
|
27081
|
-
return throwError(e);
|
|
27082
|
-
}
|
|
27083
|
-
}
|
|
27084
|
-
else
|
|
27085
|
-
return throwError(response_);
|
|
27086
|
-
}));
|
|
27087
|
-
}
|
|
27088
|
-
processMonthliesTraffic(response) {
|
|
27089
|
-
const status = response.status;
|
|
27090
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27091
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
27092
|
-
let _headers = {};
|
|
27093
|
-
if (response.headers) {
|
|
27094
|
-
for (let key of response.headers.keys()) {
|
|
27095
|
-
_headers[key] = response.headers.get(key);
|
|
27096
|
-
}
|
|
27097
|
-
}
|
|
27098
|
-
if (status === 404) {
|
|
27099
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27100
|
-
let result404 = null;
|
|
27101
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27102
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
27103
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
27104
|
-
}));
|
|
27105
|
-
}
|
|
27106
|
-
else if (status === 200) {
|
|
27107
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27108
|
-
let result200 = null;
|
|
27109
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27110
|
-
result200 = MonthlyTrafficDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
27111
|
-
return of(result200);
|
|
27112
|
-
}));
|
|
27113
|
-
}
|
|
27114
|
-
else if (status !== 200 && status !== 204) {
|
|
27115
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27116
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27117
|
-
}));
|
|
27118
|
-
}
|
|
27119
|
-
return of(null);
|
|
27120
|
-
}
|
|
27121
|
-
/**
|
|
27122
|
-
* @param body (optional)
|
|
27123
|
-
* @return Success
|
|
27124
|
-
*/
|
|
27125
|
-
sendMonthlyEmail(guid, body) {
|
|
27126
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/send-monthly-email";
|
|
27127
|
-
if (guid === undefined || guid === null)
|
|
27128
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
27129
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27130
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
27131
|
-
const content_ = JSON.stringify(body);
|
|
27132
|
-
let options_ = {
|
|
27133
|
-
body: content_,
|
|
27134
|
-
observe: "response",
|
|
27135
|
-
responseType: "blob",
|
|
27136
|
-
headers: new HttpHeaders({
|
|
27137
|
-
"Content-Type": "application/json-patch+json",
|
|
27138
|
-
"Accept": "text/plain"
|
|
27139
|
-
})
|
|
27140
|
-
};
|
|
27141
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27142
|
-
return this.processSendMonthlyEmail(response_);
|
|
27143
|
-
})).pipe(catchError((response_) => {
|
|
27144
|
-
if (response_ instanceof HttpResponseBase) {
|
|
27145
|
-
try {
|
|
27146
|
-
return this.processSendMonthlyEmail(response_);
|
|
27147
|
-
}
|
|
27148
|
-
catch (e) {
|
|
27149
|
-
return throwError(e);
|
|
27150
|
-
}
|
|
27151
|
-
}
|
|
27152
|
-
else
|
|
27153
|
-
return throwError(response_);
|
|
27154
|
-
}));
|
|
27155
|
-
}
|
|
27156
|
-
processSendMonthlyEmail(response) {
|
|
27157
|
-
const status = response.status;
|
|
27158
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27159
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
27160
|
-
let _headers = {};
|
|
27161
|
-
if (response.headers) {
|
|
27162
|
-
for (let key of response.headers.keys()) {
|
|
27163
|
-
_headers[key] = response.headers.get(key);
|
|
27164
|
-
}
|
|
27165
|
-
}
|
|
27166
|
-
if (status === 200) {
|
|
27167
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27168
|
-
let result200 = null;
|
|
27169
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27170
|
-
result200 = Int32HttpResponseData.fromJS(resultData200);
|
|
27171
|
-
return of(result200);
|
|
27172
|
-
}));
|
|
27173
|
-
}
|
|
27174
|
-
else if (status !== 200 && status !== 204) {
|
|
27175
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27176
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27177
|
-
}));
|
|
27178
|
-
}
|
|
27179
|
-
return of(null);
|
|
27180
|
-
}
|
|
27181
|
-
/**
|
|
26696
|
+
* @param parkId (optional)
|
|
26697
|
+
* @param monthlyTrafficSearchFieldSelector (optional)
|
|
26698
|
+
* @param credentialMediaType (optional)
|
|
26699
|
+
* @param deviceIds (optional)
|
|
26700
|
+
* @param companiesFilterDto_CompanyIds (optional)
|
|
26701
|
+
* @param companiesFilterDto_SubCompanyIds (optional)
|
|
26702
|
+
* @param companiesFilterDto_IncludeAccessProfile (optional)
|
|
26703
|
+
* @param companiesFilterDto_IncludeSubCompanies (optional)
|
|
26704
|
+
* @param companiesFilterDto_ParkId (optional)
|
|
26705
|
+
* @param searchValue (optional)
|
|
26706
|
+
* @param from (optional)
|
|
26707
|
+
* @param to (optional)
|
|
26708
|
+
* @param take (optional)
|
|
26709
|
+
* @param skip (optional)
|
|
27182
26710
|
* @return Success
|
|
26711
|
+
* @deprecated
|
|
27183
26712
|
*/
|
|
27184
|
-
|
|
27185
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/
|
|
27186
|
-
if (accountId === undefined || accountId === null)
|
|
27187
|
-
throw new Error("The parameter 'accountId' must be defined.");
|
|
27188
|
-
url_ = url_.replace("{accountId}", encodeURIComponent("" + accountId));
|
|
26713
|
+
getMonthliesTraffic(parkId, monthlyTrafficSearchFieldSelector, credentialMediaType, deviceIds, companiesFilterDto_CompanyIds, companiesFilterDto_SubCompanyIds, companiesFilterDto_IncludeAccessProfile, companiesFilterDto_IncludeSubCompanies, companiesFilterDto_ParkId, searchValue, from, to, take, skip, guid) {
|
|
26714
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/monthlies-traffic?";
|
|
27189
26715
|
if (guid === undefined || guid === null)
|
|
27190
26716
|
throw new Error("The parameter 'guid' must be defined.");
|
|
27191
26717
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
26718
|
+
if (parkId === null)
|
|
26719
|
+
throw new Error("The parameter 'parkId' cannot be null.");
|
|
26720
|
+
else if (parkId !== undefined)
|
|
26721
|
+
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
26722
|
+
if (monthlyTrafficSearchFieldSelector === null)
|
|
26723
|
+
throw new Error("The parameter 'monthlyTrafficSearchFieldSelector' cannot be null.");
|
|
26724
|
+
else if (monthlyTrafficSearchFieldSelector !== undefined)
|
|
26725
|
+
url_ += "MonthlyTrafficSearchFieldSelector=" + encodeURIComponent("" + monthlyTrafficSearchFieldSelector) + "&";
|
|
26726
|
+
if (credentialMediaType === null)
|
|
26727
|
+
throw new Error("The parameter 'credentialMediaType' cannot be null.");
|
|
26728
|
+
else if (credentialMediaType !== undefined)
|
|
26729
|
+
url_ += "CredentialMediaType=" + encodeURIComponent("" + credentialMediaType) + "&";
|
|
26730
|
+
if (deviceIds !== undefined && deviceIds !== null)
|
|
26731
|
+
deviceIds && deviceIds.forEach(item => { url_ += "DeviceIds=" + encodeURIComponent("" + item) + "&"; });
|
|
26732
|
+
if (companiesFilterDto_CompanyIds !== undefined && companiesFilterDto_CompanyIds !== null)
|
|
26733
|
+
companiesFilterDto_CompanyIds && companiesFilterDto_CompanyIds.forEach(item => { url_ += "CompaniesFilterDto.CompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
26734
|
+
if (companiesFilterDto_SubCompanyIds !== undefined && companiesFilterDto_SubCompanyIds !== null)
|
|
26735
|
+
companiesFilterDto_SubCompanyIds && companiesFilterDto_SubCompanyIds.forEach(item => { url_ += "CompaniesFilterDto.SubCompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
26736
|
+
if (companiesFilterDto_IncludeAccessProfile === null)
|
|
26737
|
+
throw new Error("The parameter 'companiesFilterDto_IncludeAccessProfile' cannot be null.");
|
|
26738
|
+
else if (companiesFilterDto_IncludeAccessProfile !== undefined)
|
|
26739
|
+
url_ += "CompaniesFilterDto.IncludeAccessProfile=" + encodeURIComponent("" + companiesFilterDto_IncludeAccessProfile) + "&";
|
|
26740
|
+
if (companiesFilterDto_IncludeSubCompanies === null)
|
|
26741
|
+
throw new Error("The parameter 'companiesFilterDto_IncludeSubCompanies' cannot be null.");
|
|
26742
|
+
else if (companiesFilterDto_IncludeSubCompanies !== undefined)
|
|
26743
|
+
url_ += "CompaniesFilterDto.IncludeSubCompanies=" + encodeURIComponent("" + companiesFilterDto_IncludeSubCompanies) + "&";
|
|
26744
|
+
if (companiesFilterDto_ParkId === null)
|
|
26745
|
+
throw new Error("The parameter 'companiesFilterDto_ParkId' cannot be null.");
|
|
26746
|
+
else if (companiesFilterDto_ParkId !== undefined)
|
|
26747
|
+
url_ += "CompaniesFilterDto.ParkId=" + encodeURIComponent("" + companiesFilterDto_ParkId) + "&";
|
|
26748
|
+
if (searchValue !== undefined && searchValue !== null)
|
|
26749
|
+
url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
|
|
26750
|
+
if (from !== undefined && from !== null)
|
|
26751
|
+
url_ += "From=" + encodeURIComponent("" + from) + "&";
|
|
26752
|
+
if (to !== undefined && to !== null)
|
|
26753
|
+
url_ += "To=" + encodeURIComponent("" + to) + "&";
|
|
26754
|
+
if (take === null)
|
|
26755
|
+
throw new Error("The parameter 'take' cannot be null.");
|
|
26756
|
+
else if (take !== undefined)
|
|
26757
|
+
url_ += "Take=" + encodeURIComponent("" + take) + "&";
|
|
26758
|
+
if (skip === null)
|
|
26759
|
+
throw new Error("The parameter 'skip' cannot be null.");
|
|
26760
|
+
else if (skip !== undefined)
|
|
26761
|
+
url_ += "Skip=" + encodeURIComponent("" + skip) + "&";
|
|
27192
26762
|
url_ = url_.replace(/[?&]$/, "");
|
|
27193
26763
|
let options_ = {
|
|
27194
26764
|
observe: "response",
|
|
@@ -27198,11 +26768,11 @@ class MonthlyServiceProxy {
|
|
|
27198
26768
|
})
|
|
27199
26769
|
};
|
|
27200
26770
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
27201
|
-
return this.
|
|
26771
|
+
return this.processGetMonthliesTraffic(response_);
|
|
27202
26772
|
})).pipe(catchError((response_) => {
|
|
27203
26773
|
if (response_ instanceof HttpResponseBase) {
|
|
27204
26774
|
try {
|
|
27205
|
-
return this.
|
|
26775
|
+
return this.processGetMonthliesTraffic(response_);
|
|
27206
26776
|
}
|
|
27207
26777
|
catch (e) {
|
|
27208
26778
|
return throwError(e);
|
|
@@ -27212,7 +26782,7 @@ class MonthlyServiceProxy {
|
|
|
27212
26782
|
return throwError(response_);
|
|
27213
26783
|
}));
|
|
27214
26784
|
}
|
|
27215
|
-
|
|
26785
|
+
processGetMonthliesTraffic(response) {
|
|
27216
26786
|
const status = response.status;
|
|
27217
26787
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27218
26788
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -27234,341 +26804,7 @@ class MonthlyServiceProxy {
|
|
|
27234
26804
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27235
26805
|
let result200 = null;
|
|
27236
26806
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27237
|
-
result200 =
|
|
27238
|
-
return of(result200);
|
|
27239
|
-
}));
|
|
27240
|
-
}
|
|
27241
|
-
else if (status !== 200 && status !== 204) {
|
|
27242
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27243
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27244
|
-
}));
|
|
27245
|
-
}
|
|
27246
|
-
return of(null);
|
|
27247
|
-
}
|
|
27248
|
-
/**
|
|
27249
|
-
* @param body (optional)
|
|
27250
|
-
* @return Success
|
|
27251
|
-
*/
|
|
27252
|
-
createBasicMonthlySeries(guid, body) {
|
|
27253
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/create-basic-monthly-series";
|
|
27254
|
-
if (guid === undefined || guid === null)
|
|
27255
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
27256
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27257
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
27258
|
-
const content_ = JSON.stringify(body);
|
|
27259
|
-
let options_ = {
|
|
27260
|
-
body: content_,
|
|
27261
|
-
observe: "response",
|
|
27262
|
-
responseType: "blob",
|
|
27263
|
-
headers: new HttpHeaders({
|
|
27264
|
-
"Content-Type": "application/json-patch+json",
|
|
27265
|
-
"Accept": "text/plain"
|
|
27266
|
-
})
|
|
27267
|
-
};
|
|
27268
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27269
|
-
return this.processCreateBasicMonthlySeries(response_);
|
|
27270
|
-
})).pipe(catchError((response_) => {
|
|
27271
|
-
if (response_ instanceof HttpResponseBase) {
|
|
27272
|
-
try {
|
|
27273
|
-
return this.processCreateBasicMonthlySeries(response_);
|
|
27274
|
-
}
|
|
27275
|
-
catch (e) {
|
|
27276
|
-
return throwError(e);
|
|
27277
|
-
}
|
|
27278
|
-
}
|
|
27279
|
-
else
|
|
27280
|
-
return throwError(response_);
|
|
27281
|
-
}));
|
|
27282
|
-
}
|
|
27283
|
-
processCreateBasicMonthlySeries(response) {
|
|
27284
|
-
const status = response.status;
|
|
27285
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27286
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
27287
|
-
let _headers = {};
|
|
27288
|
-
if (response.headers) {
|
|
27289
|
-
for (let key of response.headers.keys()) {
|
|
27290
|
-
_headers[key] = response.headers.get(key);
|
|
27291
|
-
}
|
|
27292
|
-
}
|
|
27293
|
-
if (status === 200) {
|
|
27294
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27295
|
-
let result200 = null;
|
|
27296
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27297
|
-
result200 = MonthlyDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
27298
|
-
return of(result200);
|
|
27299
|
-
}));
|
|
27300
|
-
}
|
|
27301
|
-
else if (status === 500) {
|
|
27302
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27303
|
-
let result500 = null;
|
|
27304
|
-
let resultData500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27305
|
-
result500 = ProblemDetailsHttpResponseData.fromJS(resultData500);
|
|
27306
|
-
return throwException$1("Server Error", status, _responseText, _headers, result500);
|
|
27307
|
-
}));
|
|
27308
|
-
}
|
|
27309
|
-
else if (status === 204) {
|
|
27310
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27311
|
-
return throwException$1("No Content", status, _responseText, _headers);
|
|
27312
|
-
}));
|
|
27313
|
-
}
|
|
27314
|
-
else if (status === 404) {
|
|
27315
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27316
|
-
let result404 = null;
|
|
27317
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27318
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
27319
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
27320
|
-
}));
|
|
27321
|
-
}
|
|
27322
|
-
else {
|
|
27323
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27324
|
-
let resultdefault = null;
|
|
27325
|
-
let resultDatadefault = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27326
|
-
resultdefault = ProblemDetails.fromJS(resultDatadefault);
|
|
27327
|
-
return throwException$1("Error", status, _responseText, _headers, resultdefault);
|
|
27328
|
-
}));
|
|
27329
|
-
}
|
|
27330
|
-
}
|
|
27331
|
-
/**
|
|
27332
|
-
* @param body (optional)
|
|
27333
|
-
* @return Success
|
|
27334
|
-
*/
|
|
27335
|
-
createMonthlySeries(guid, body) {
|
|
27336
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/create-monthly-series";
|
|
27337
|
-
if (guid === undefined || guid === null)
|
|
27338
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
27339
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27340
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
27341
|
-
const content_ = JSON.stringify(body);
|
|
27342
|
-
let options_ = {
|
|
27343
|
-
body: content_,
|
|
27344
|
-
observe: "response",
|
|
27345
|
-
responseType: "blob",
|
|
27346
|
-
headers: new HttpHeaders({
|
|
27347
|
-
"Content-Type": "application/json-patch+json",
|
|
27348
|
-
"Accept": "text/plain"
|
|
27349
|
-
})
|
|
27350
|
-
};
|
|
27351
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27352
|
-
return this.processCreateMonthlySeries(response_);
|
|
27353
|
-
})).pipe(catchError((response_) => {
|
|
27354
|
-
if (response_ instanceof HttpResponseBase) {
|
|
27355
|
-
try {
|
|
27356
|
-
return this.processCreateMonthlySeries(response_);
|
|
27357
|
-
}
|
|
27358
|
-
catch (e) {
|
|
27359
|
-
return throwError(e);
|
|
27360
|
-
}
|
|
27361
|
-
}
|
|
27362
|
-
else
|
|
27363
|
-
return throwError(response_);
|
|
27364
|
-
}));
|
|
27365
|
-
}
|
|
27366
|
-
processCreateMonthlySeries(response) {
|
|
27367
|
-
const status = response.status;
|
|
27368
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27369
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
27370
|
-
let _headers = {};
|
|
27371
|
-
if (response.headers) {
|
|
27372
|
-
for (let key of response.headers.keys()) {
|
|
27373
|
-
_headers[key] = response.headers.get(key);
|
|
27374
|
-
}
|
|
27375
|
-
}
|
|
27376
|
-
if (status === 500) {
|
|
27377
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27378
|
-
let result500 = null;
|
|
27379
|
-
let resultData500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27380
|
-
result500 = ProblemDetailsHttpResponseData.fromJS(resultData500);
|
|
27381
|
-
return throwException$1("Server Error", status, _responseText, _headers, result500);
|
|
27382
|
-
}));
|
|
27383
|
-
}
|
|
27384
|
-
else if (status === 204) {
|
|
27385
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27386
|
-
return throwException$1("No Content", status, _responseText, _headers);
|
|
27387
|
-
}));
|
|
27388
|
-
}
|
|
27389
|
-
else if (status === 404) {
|
|
27390
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27391
|
-
let result404 = null;
|
|
27392
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27393
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
27394
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
27395
|
-
}));
|
|
27396
|
-
}
|
|
27397
|
-
else if (status === 200) {
|
|
27398
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27399
|
-
let result200 = null;
|
|
27400
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27401
|
-
result200 = MonthlyDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
27402
|
-
return of(result200);
|
|
27403
|
-
}));
|
|
27404
|
-
}
|
|
27405
|
-
else {
|
|
27406
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27407
|
-
let resultdefault = null;
|
|
27408
|
-
let resultDatadefault = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27409
|
-
resultdefault = ProblemDetails.fromJS(resultDatadefault);
|
|
27410
|
-
return throwException$1("Error", status, _responseText, _headers, resultdefault);
|
|
27411
|
-
}));
|
|
27412
|
-
}
|
|
27413
|
-
}
|
|
27414
|
-
/**
|
|
27415
|
-
* @param body (optional)
|
|
27416
|
-
* @return Success
|
|
27417
|
-
* @deprecated
|
|
27418
|
-
*/
|
|
27419
|
-
getMonthliesFromQuery(guid, body) {
|
|
27420
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly";
|
|
27421
|
-
if (guid === undefined || guid === null)
|
|
27422
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
27423
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27424
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
27425
|
-
const content_ = JSON.stringify(body);
|
|
27426
|
-
let options_ = {
|
|
27427
|
-
body: content_,
|
|
27428
|
-
observe: "response",
|
|
27429
|
-
responseType: "blob",
|
|
27430
|
-
headers: new HttpHeaders({
|
|
27431
|
-
"Content-Type": "application/json-patch+json",
|
|
27432
|
-
"Accept": "text/plain"
|
|
27433
|
-
})
|
|
27434
|
-
};
|
|
27435
|
-
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27436
|
-
return this.processGetMonthliesFromQuery(response_);
|
|
27437
|
-
})).pipe(catchError((response_) => {
|
|
27438
|
-
if (response_ instanceof HttpResponseBase) {
|
|
27439
|
-
try {
|
|
27440
|
-
return this.processGetMonthliesFromQuery(response_);
|
|
27441
|
-
}
|
|
27442
|
-
catch (e) {
|
|
27443
|
-
return throwError(e);
|
|
27444
|
-
}
|
|
27445
|
-
}
|
|
27446
|
-
else
|
|
27447
|
-
return throwError(response_);
|
|
27448
|
-
}));
|
|
27449
|
-
}
|
|
27450
|
-
processGetMonthliesFromQuery(response) {
|
|
27451
|
-
const status = response.status;
|
|
27452
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27453
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
27454
|
-
let _headers = {};
|
|
27455
|
-
if (response.headers) {
|
|
27456
|
-
for (let key of response.headers.keys()) {
|
|
27457
|
-
_headers[key] = response.headers.get(key);
|
|
27458
|
-
}
|
|
27459
|
-
}
|
|
27460
|
-
if (status === 404) {
|
|
27461
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27462
|
-
let result404 = null;
|
|
27463
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27464
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
27465
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
27466
|
-
}));
|
|
27467
|
-
}
|
|
27468
|
-
else if (status === 200) {
|
|
27469
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27470
|
-
let result200 = null;
|
|
27471
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27472
|
-
result200 = MonthlyDtoEntityWrapperDtoHttpResponseData.fromJS(resultData200);
|
|
27473
|
-
return of(result200);
|
|
27474
|
-
}));
|
|
27475
|
-
}
|
|
27476
|
-
else if (status !== 200 && status !== 204) {
|
|
27477
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27478
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
27479
|
-
}));
|
|
27480
|
-
}
|
|
27481
|
-
return of(null);
|
|
27482
|
-
}
|
|
27483
|
-
/**
|
|
27484
|
-
* @param companyIds (optional)
|
|
27485
|
-
* @param subCompanyIds (optional)
|
|
27486
|
-
* @param includeAccessProfile (optional)
|
|
27487
|
-
* @param includeSubCompanies (optional)
|
|
27488
|
-
* @param parkId (optional)
|
|
27489
|
-
* @param maxResults (optional)
|
|
27490
|
-
* @param searchTerm (optional)
|
|
27491
|
-
* @param orderBy_Column (optional)
|
|
27492
|
-
* @param orderBy_OrderDirection (optional)
|
|
27493
|
-
* @return Success
|
|
27494
|
-
*/
|
|
27495
|
-
get(companyIds, subCompanyIds, includeAccessProfile, includeSubCompanies, parkId, maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid) {
|
|
27496
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly?";
|
|
27497
|
-
if (guid === undefined || guid === null)
|
|
27498
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
27499
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27500
|
-
if (companyIds !== undefined && companyIds !== null)
|
|
27501
|
-
companyIds && companyIds.forEach(item => { url_ += "CompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
27502
|
-
if (subCompanyIds !== undefined && subCompanyIds !== null)
|
|
27503
|
-
subCompanyIds && subCompanyIds.forEach(item => { url_ += "SubCompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
27504
|
-
if (includeAccessProfile === null)
|
|
27505
|
-
throw new Error("The parameter 'includeAccessProfile' cannot be null.");
|
|
27506
|
-
else if (includeAccessProfile !== undefined)
|
|
27507
|
-
url_ += "IncludeAccessProfile=" + encodeURIComponent("" + includeAccessProfile) + "&";
|
|
27508
|
-
if (includeSubCompanies === null)
|
|
27509
|
-
throw new Error("The parameter 'includeSubCompanies' cannot be null.");
|
|
27510
|
-
else if (includeSubCompanies !== undefined)
|
|
27511
|
-
url_ += "IncludeSubCompanies=" + encodeURIComponent("" + includeSubCompanies) + "&";
|
|
27512
|
-
if (parkId === null)
|
|
27513
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
27514
|
-
else if (parkId !== undefined)
|
|
27515
|
-
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
27516
|
-
if (maxResults !== undefined && maxResults !== null)
|
|
27517
|
-
url_ += "MaxResults=" + encodeURIComponent("" + maxResults) + "&";
|
|
27518
|
-
if (searchTerm !== undefined && searchTerm !== null)
|
|
27519
|
-
url_ += "SearchTerm=" + encodeURIComponent("" + searchTerm) + "&";
|
|
27520
|
-
if (orderBy_Column !== undefined && orderBy_Column !== null)
|
|
27521
|
-
url_ += "OrderBy.Column=" + encodeURIComponent("" + orderBy_Column) + "&";
|
|
27522
|
-
if (orderBy_OrderDirection === null)
|
|
27523
|
-
throw new Error("The parameter 'orderBy_OrderDirection' cannot be null.");
|
|
27524
|
-
else if (orderBy_OrderDirection !== undefined)
|
|
27525
|
-
url_ += "OrderBy.OrderDirection=" + encodeURIComponent("" + orderBy_OrderDirection) + "&";
|
|
27526
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
27527
|
-
let options_ = {
|
|
27528
|
-
observe: "response",
|
|
27529
|
-
responseType: "blob",
|
|
27530
|
-
headers: new HttpHeaders({
|
|
27531
|
-
"Accept": "text/plain"
|
|
27532
|
-
})
|
|
27533
|
-
};
|
|
27534
|
-
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
27535
|
-
return this.processGet(response_);
|
|
27536
|
-
})).pipe(catchError((response_) => {
|
|
27537
|
-
if (response_ instanceof HttpResponseBase) {
|
|
27538
|
-
try {
|
|
27539
|
-
return this.processGet(response_);
|
|
27540
|
-
}
|
|
27541
|
-
catch (e) {
|
|
27542
|
-
return throwError(e);
|
|
27543
|
-
}
|
|
27544
|
-
}
|
|
27545
|
-
else
|
|
27546
|
-
return throwError(response_);
|
|
27547
|
-
}));
|
|
27548
|
-
}
|
|
27549
|
-
processGet(response) {
|
|
27550
|
-
const status = response.status;
|
|
27551
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27552
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
27553
|
-
let _headers = {};
|
|
27554
|
-
if (response.headers) {
|
|
27555
|
-
for (let key of response.headers.keys()) {
|
|
27556
|
-
_headers[key] = response.headers.get(key);
|
|
27557
|
-
}
|
|
27558
|
-
}
|
|
27559
|
-
if (status === 404) {
|
|
27560
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27561
|
-
let result404 = null;
|
|
27562
|
-
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27563
|
-
result404 = ProblemDetails.fromJS(resultData404);
|
|
27564
|
-
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
27565
|
-
}));
|
|
27566
|
-
}
|
|
27567
|
-
else if (status === 200) {
|
|
27568
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27569
|
-
let result200 = null;
|
|
27570
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27571
|
-
result200 = MonthlyBaseDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
26807
|
+
result200 = MonthlyTrafficDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
27572
26808
|
return of(result200);
|
|
27573
26809
|
}));
|
|
27574
26810
|
}
|
|
@@ -27595,9 +26831,8 @@ class MonthlyServiceProxy {
|
|
|
27595
26831
|
* @param take (optional)
|
|
27596
26832
|
* @param skip (optional)
|
|
27597
26833
|
* @return Success
|
|
27598
|
-
* @deprecated
|
|
27599
26834
|
*/
|
|
27600
|
-
|
|
26835
|
+
monthliesTraffic(parkId, monthlyTrafficSearchFieldSelector, credentialMediaType, deviceIds, companiesFilterDto_CompanyIds, companiesFilterDto_SubCompanyIds, companiesFilterDto_IncludeAccessProfile, companiesFilterDto_IncludeSubCompanies, companiesFilterDto_ParkId, searchValue, from, to, take, skip, guid) {
|
|
27601
26836
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/monthlies-traffic?";
|
|
27602
26837
|
if (guid === undefined || guid === null)
|
|
27603
26838
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -27654,12 +26889,12 @@ class MonthlyServiceProxy {
|
|
|
27654
26889
|
"Accept": "text/plain"
|
|
27655
26890
|
})
|
|
27656
26891
|
};
|
|
27657
|
-
return this.http.request("
|
|
27658
|
-
return this.
|
|
26892
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
26893
|
+
return this.processMonthliesTraffic(response_);
|
|
27659
26894
|
})).pipe(catchError((response_) => {
|
|
27660
26895
|
if (response_ instanceof HttpResponseBase) {
|
|
27661
26896
|
try {
|
|
27662
|
-
return this.
|
|
26897
|
+
return this.processMonthliesTraffic(response_);
|
|
27663
26898
|
}
|
|
27664
26899
|
catch (e) {
|
|
27665
26900
|
return throwError(e);
|
|
@@ -27669,7 +26904,7 @@ class MonthlyServiceProxy {
|
|
|
27669
26904
|
return throwError(response_);
|
|
27670
26905
|
}));
|
|
27671
26906
|
}
|
|
27672
|
-
|
|
26907
|
+
processMonthliesTraffic(response) {
|
|
27673
26908
|
const status = response.status;
|
|
27674
26909
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27675
26910
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -27703,85 +26938,31 @@ class MonthlyServiceProxy {
|
|
|
27703
26938
|
return of(null);
|
|
27704
26939
|
}
|
|
27705
26940
|
/**
|
|
27706
|
-
* @param
|
|
27707
|
-
* @param monthlyTrafficSearchFieldSelector (optional)
|
|
27708
|
-
* @param credentialMediaType (optional)
|
|
27709
|
-
* @param deviceIds (optional)
|
|
27710
|
-
* @param companiesFilterDto_CompanyIds (optional)
|
|
27711
|
-
* @param companiesFilterDto_SubCompanyIds (optional)
|
|
27712
|
-
* @param companiesFilterDto_IncludeAccessProfile (optional)
|
|
27713
|
-
* @param companiesFilterDto_IncludeSubCompanies (optional)
|
|
27714
|
-
* @param companiesFilterDto_ParkId (optional)
|
|
27715
|
-
* @param searchValue (optional)
|
|
27716
|
-
* @param from (optional)
|
|
27717
|
-
* @param to (optional)
|
|
27718
|
-
* @param take (optional)
|
|
27719
|
-
* @param skip (optional)
|
|
26941
|
+
* @param body (optional)
|
|
27720
26942
|
* @return Success
|
|
27721
26943
|
*/
|
|
27722
|
-
|
|
27723
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/
|
|
26944
|
+
sendMonthlyEmail(guid, body) {
|
|
26945
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/send-monthly-email";
|
|
27724
26946
|
if (guid === undefined || guid === null)
|
|
27725
26947
|
throw new Error("The parameter 'guid' must be defined.");
|
|
27726
26948
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27727
|
-
if (parkId === null)
|
|
27728
|
-
throw new Error("The parameter 'parkId' cannot be null.");
|
|
27729
|
-
else if (parkId !== undefined)
|
|
27730
|
-
url_ += "ParkId=" + encodeURIComponent("" + parkId) + "&";
|
|
27731
|
-
if (monthlyTrafficSearchFieldSelector === null)
|
|
27732
|
-
throw new Error("The parameter 'monthlyTrafficSearchFieldSelector' cannot be null.");
|
|
27733
|
-
else if (monthlyTrafficSearchFieldSelector !== undefined)
|
|
27734
|
-
url_ += "MonthlyTrafficSearchFieldSelector=" + encodeURIComponent("" + monthlyTrafficSearchFieldSelector) + "&";
|
|
27735
|
-
if (credentialMediaType === null)
|
|
27736
|
-
throw new Error("The parameter 'credentialMediaType' cannot be null.");
|
|
27737
|
-
else if (credentialMediaType !== undefined)
|
|
27738
|
-
url_ += "CredentialMediaType=" + encodeURIComponent("" + credentialMediaType) + "&";
|
|
27739
|
-
if (deviceIds !== undefined && deviceIds !== null)
|
|
27740
|
-
deviceIds && deviceIds.forEach(item => { url_ += "DeviceIds=" + encodeURIComponent("" + item) + "&"; });
|
|
27741
|
-
if (companiesFilterDto_CompanyIds !== undefined && companiesFilterDto_CompanyIds !== null)
|
|
27742
|
-
companiesFilterDto_CompanyIds && companiesFilterDto_CompanyIds.forEach(item => { url_ += "CompaniesFilterDto.CompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
27743
|
-
if (companiesFilterDto_SubCompanyIds !== undefined && companiesFilterDto_SubCompanyIds !== null)
|
|
27744
|
-
companiesFilterDto_SubCompanyIds && companiesFilterDto_SubCompanyIds.forEach(item => { url_ += "CompaniesFilterDto.SubCompanyIds=" + encodeURIComponent("" + item) + "&"; });
|
|
27745
|
-
if (companiesFilterDto_IncludeAccessProfile === null)
|
|
27746
|
-
throw new Error("The parameter 'companiesFilterDto_IncludeAccessProfile' cannot be null.");
|
|
27747
|
-
else if (companiesFilterDto_IncludeAccessProfile !== undefined)
|
|
27748
|
-
url_ += "CompaniesFilterDto.IncludeAccessProfile=" + encodeURIComponent("" + companiesFilterDto_IncludeAccessProfile) + "&";
|
|
27749
|
-
if (companiesFilterDto_IncludeSubCompanies === null)
|
|
27750
|
-
throw new Error("The parameter 'companiesFilterDto_IncludeSubCompanies' cannot be null.");
|
|
27751
|
-
else if (companiesFilterDto_IncludeSubCompanies !== undefined)
|
|
27752
|
-
url_ += "CompaniesFilterDto.IncludeSubCompanies=" + encodeURIComponent("" + companiesFilterDto_IncludeSubCompanies) + "&";
|
|
27753
|
-
if (companiesFilterDto_ParkId === null)
|
|
27754
|
-
throw new Error("The parameter 'companiesFilterDto_ParkId' cannot be null.");
|
|
27755
|
-
else if (companiesFilterDto_ParkId !== undefined)
|
|
27756
|
-
url_ += "CompaniesFilterDto.ParkId=" + encodeURIComponent("" + companiesFilterDto_ParkId) + "&";
|
|
27757
|
-
if (searchValue !== undefined && searchValue !== null)
|
|
27758
|
-
url_ += "SearchValue=" + encodeURIComponent("" + searchValue) + "&";
|
|
27759
|
-
if (from !== undefined && from !== null)
|
|
27760
|
-
url_ += "From=" + encodeURIComponent("" + from) + "&";
|
|
27761
|
-
if (to !== undefined && to !== null)
|
|
27762
|
-
url_ += "To=" + encodeURIComponent("" + to) + "&";
|
|
27763
|
-
if (take === null)
|
|
27764
|
-
throw new Error("The parameter 'take' cannot be null.");
|
|
27765
|
-
else if (take !== undefined)
|
|
27766
|
-
url_ += "Take=" + encodeURIComponent("" + take) + "&";
|
|
27767
|
-
if (skip === null)
|
|
27768
|
-
throw new Error("The parameter 'skip' cannot be null.");
|
|
27769
|
-
else if (skip !== undefined)
|
|
27770
|
-
url_ += "Skip=" + encodeURIComponent("" + skip) + "&";
|
|
27771
26949
|
url_ = url_.replace(/[?&]$/, "");
|
|
26950
|
+
const content_ = JSON.stringify(body);
|
|
27772
26951
|
let options_ = {
|
|
26952
|
+
body: content_,
|
|
27773
26953
|
observe: "response",
|
|
27774
26954
|
responseType: "blob",
|
|
27775
26955
|
headers: new HttpHeaders({
|
|
26956
|
+
"Content-Type": "application/json-patch+json",
|
|
27776
26957
|
"Accept": "text/plain"
|
|
27777
26958
|
})
|
|
27778
26959
|
};
|
|
27779
26960
|
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27780
|
-
return this.
|
|
26961
|
+
return this.processSendMonthlyEmail(response_);
|
|
27781
26962
|
})).pipe(catchError((response_) => {
|
|
27782
26963
|
if (response_ instanceof HttpResponseBase) {
|
|
27783
26964
|
try {
|
|
27784
|
-
return this.
|
|
26965
|
+
return this.processSendMonthlyEmail(response_);
|
|
27785
26966
|
}
|
|
27786
26967
|
catch (e) {
|
|
27787
26968
|
return throwError(e);
|
|
@@ -27791,7 +26972,66 @@ class MonthlyServiceProxy {
|
|
|
27791
26972
|
return throwError(response_);
|
|
27792
26973
|
}));
|
|
27793
26974
|
}
|
|
27794
|
-
|
|
26975
|
+
processSendMonthlyEmail(response) {
|
|
26976
|
+
const status = response.status;
|
|
26977
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
26978
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
26979
|
+
let _headers = {};
|
|
26980
|
+
if (response.headers) {
|
|
26981
|
+
for (let key of response.headers.keys()) {
|
|
26982
|
+
_headers[key] = response.headers.get(key);
|
|
26983
|
+
}
|
|
26984
|
+
}
|
|
26985
|
+
if (status === 200) {
|
|
26986
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
26987
|
+
let result200 = null;
|
|
26988
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26989
|
+
result200 = Int32HttpResponseData.fromJS(resultData200);
|
|
26990
|
+
return of(result200);
|
|
26991
|
+
}));
|
|
26992
|
+
}
|
|
26993
|
+
else if (status !== 200 && status !== 204) {
|
|
26994
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
26995
|
+
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
26996
|
+
}));
|
|
26997
|
+
}
|
|
26998
|
+
return of(null);
|
|
26999
|
+
}
|
|
27000
|
+
/**
|
|
27001
|
+
* @return Success
|
|
27002
|
+
*/
|
|
27003
|
+
getMonthliesAccountLimits(accountId, guid) {
|
|
27004
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/account/{accountId}/limits";
|
|
27005
|
+
if (accountId === undefined || accountId === null)
|
|
27006
|
+
throw new Error("The parameter 'accountId' must be defined.");
|
|
27007
|
+
url_ = url_.replace("{accountId}", encodeURIComponent("" + accountId));
|
|
27008
|
+
if (guid === undefined || guid === null)
|
|
27009
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
27010
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27011
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27012
|
+
let options_ = {
|
|
27013
|
+
observe: "response",
|
|
27014
|
+
responseType: "blob",
|
|
27015
|
+
headers: new HttpHeaders({
|
|
27016
|
+
"Accept": "text/plain"
|
|
27017
|
+
})
|
|
27018
|
+
};
|
|
27019
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
27020
|
+
return this.processGetMonthliesAccountLimits(response_);
|
|
27021
|
+
})).pipe(catchError((response_) => {
|
|
27022
|
+
if (response_ instanceof HttpResponseBase) {
|
|
27023
|
+
try {
|
|
27024
|
+
return this.processGetMonthliesAccountLimits(response_);
|
|
27025
|
+
}
|
|
27026
|
+
catch (e) {
|
|
27027
|
+
return throwError(e);
|
|
27028
|
+
}
|
|
27029
|
+
}
|
|
27030
|
+
else
|
|
27031
|
+
return throwError(response_);
|
|
27032
|
+
}));
|
|
27033
|
+
}
|
|
27034
|
+
processGetMonthliesAccountLimits(response) {
|
|
27795
27035
|
const status = response.status;
|
|
27796
27036
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27797
27037
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -27813,7 +27053,7 @@ class MonthlyServiceProxy {
|
|
|
27813
27053
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27814
27054
|
let result200 = null;
|
|
27815
27055
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27816
|
-
result200 =
|
|
27056
|
+
result200 = AccountLimitDtoHttpResponseData.fromJS(resultData200);
|
|
27817
27057
|
return of(result200);
|
|
27818
27058
|
}));
|
|
27819
27059
|
}
|
|
@@ -27824,6 +27064,172 @@ class MonthlyServiceProxy {
|
|
|
27824
27064
|
}
|
|
27825
27065
|
return of(null);
|
|
27826
27066
|
}
|
|
27067
|
+
/**
|
|
27068
|
+
* @param body (optional)
|
|
27069
|
+
* @return Success
|
|
27070
|
+
*/
|
|
27071
|
+
createBasicMonthlySeries(guid, body) {
|
|
27072
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/create-basic-monthly-series";
|
|
27073
|
+
if (guid === undefined || guid === null)
|
|
27074
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
27075
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27076
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27077
|
+
const content_ = JSON.stringify(body);
|
|
27078
|
+
let options_ = {
|
|
27079
|
+
body: content_,
|
|
27080
|
+
observe: "response",
|
|
27081
|
+
responseType: "blob",
|
|
27082
|
+
headers: new HttpHeaders({
|
|
27083
|
+
"Content-Type": "application/json-patch+json",
|
|
27084
|
+
"Accept": "text/plain"
|
|
27085
|
+
})
|
|
27086
|
+
};
|
|
27087
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27088
|
+
return this.processCreateBasicMonthlySeries(response_);
|
|
27089
|
+
})).pipe(catchError((response_) => {
|
|
27090
|
+
if (response_ instanceof HttpResponseBase) {
|
|
27091
|
+
try {
|
|
27092
|
+
return this.processCreateBasicMonthlySeries(response_);
|
|
27093
|
+
}
|
|
27094
|
+
catch (e) {
|
|
27095
|
+
return throwError(e);
|
|
27096
|
+
}
|
|
27097
|
+
}
|
|
27098
|
+
else
|
|
27099
|
+
return throwError(response_);
|
|
27100
|
+
}));
|
|
27101
|
+
}
|
|
27102
|
+
processCreateBasicMonthlySeries(response) {
|
|
27103
|
+
const status = response.status;
|
|
27104
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27105
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
27106
|
+
let _headers = {};
|
|
27107
|
+
if (response.headers) {
|
|
27108
|
+
for (let key of response.headers.keys()) {
|
|
27109
|
+
_headers[key] = response.headers.get(key);
|
|
27110
|
+
}
|
|
27111
|
+
}
|
|
27112
|
+
if (status === 200) {
|
|
27113
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27114
|
+
let result200 = null;
|
|
27115
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27116
|
+
result200 = MonthlyDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
27117
|
+
return of(result200);
|
|
27118
|
+
}));
|
|
27119
|
+
}
|
|
27120
|
+
else if (status === 500) {
|
|
27121
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27122
|
+
let result500 = null;
|
|
27123
|
+
let resultData500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27124
|
+
result500 = ProblemDetailsHttpResponseData.fromJS(resultData500);
|
|
27125
|
+
return throwException$1("Server Error", status, _responseText, _headers, result500);
|
|
27126
|
+
}));
|
|
27127
|
+
}
|
|
27128
|
+
else if (status === 204) {
|
|
27129
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27130
|
+
return throwException$1("No Content", status, _responseText, _headers);
|
|
27131
|
+
}));
|
|
27132
|
+
}
|
|
27133
|
+
else if (status === 404) {
|
|
27134
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27135
|
+
let result404 = null;
|
|
27136
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27137
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
27138
|
+
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
27139
|
+
}));
|
|
27140
|
+
}
|
|
27141
|
+
else {
|
|
27142
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27143
|
+
let resultdefault = null;
|
|
27144
|
+
let resultDatadefault = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27145
|
+
resultdefault = ProblemDetails.fromJS(resultDatadefault);
|
|
27146
|
+
return throwException$1("Error", status, _responseText, _headers, resultdefault);
|
|
27147
|
+
}));
|
|
27148
|
+
}
|
|
27149
|
+
}
|
|
27150
|
+
/**
|
|
27151
|
+
* @param body (optional)
|
|
27152
|
+
* @return Success
|
|
27153
|
+
*/
|
|
27154
|
+
createMonthlySeries(guid, body) {
|
|
27155
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/create-monthly-series";
|
|
27156
|
+
if (guid === undefined || guid === null)
|
|
27157
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
27158
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27159
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27160
|
+
const content_ = JSON.stringify(body);
|
|
27161
|
+
let options_ = {
|
|
27162
|
+
body: content_,
|
|
27163
|
+
observe: "response",
|
|
27164
|
+
responseType: "blob",
|
|
27165
|
+
headers: new HttpHeaders({
|
|
27166
|
+
"Content-Type": "application/json-patch+json",
|
|
27167
|
+
"Accept": "text/plain"
|
|
27168
|
+
})
|
|
27169
|
+
};
|
|
27170
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
27171
|
+
return this.processCreateMonthlySeries(response_);
|
|
27172
|
+
})).pipe(catchError((response_) => {
|
|
27173
|
+
if (response_ instanceof HttpResponseBase) {
|
|
27174
|
+
try {
|
|
27175
|
+
return this.processCreateMonthlySeries(response_);
|
|
27176
|
+
}
|
|
27177
|
+
catch (e) {
|
|
27178
|
+
return throwError(e);
|
|
27179
|
+
}
|
|
27180
|
+
}
|
|
27181
|
+
else
|
|
27182
|
+
return throwError(response_);
|
|
27183
|
+
}));
|
|
27184
|
+
}
|
|
27185
|
+
processCreateMonthlySeries(response) {
|
|
27186
|
+
const status = response.status;
|
|
27187
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27188
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
27189
|
+
let _headers = {};
|
|
27190
|
+
if (response.headers) {
|
|
27191
|
+
for (let key of response.headers.keys()) {
|
|
27192
|
+
_headers[key] = response.headers.get(key);
|
|
27193
|
+
}
|
|
27194
|
+
}
|
|
27195
|
+
if (status === 500) {
|
|
27196
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27197
|
+
let result500 = null;
|
|
27198
|
+
let resultData500 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27199
|
+
result500 = ProblemDetailsHttpResponseData.fromJS(resultData500);
|
|
27200
|
+
return throwException$1("Server Error", status, _responseText, _headers, result500);
|
|
27201
|
+
}));
|
|
27202
|
+
}
|
|
27203
|
+
else if (status === 204) {
|
|
27204
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27205
|
+
return throwException$1("No Content", status, _responseText, _headers);
|
|
27206
|
+
}));
|
|
27207
|
+
}
|
|
27208
|
+
else if (status === 404) {
|
|
27209
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27210
|
+
let result404 = null;
|
|
27211
|
+
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27212
|
+
result404 = ProblemDetails.fromJS(resultData404);
|
|
27213
|
+
return throwException$1("Not Found", status, _responseText, _headers, result404);
|
|
27214
|
+
}));
|
|
27215
|
+
}
|
|
27216
|
+
else if (status === 200) {
|
|
27217
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27218
|
+
let result200 = null;
|
|
27219
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27220
|
+
result200 = MonthlyDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
27221
|
+
return of(result200);
|
|
27222
|
+
}));
|
|
27223
|
+
}
|
|
27224
|
+
else {
|
|
27225
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27226
|
+
let resultdefault = null;
|
|
27227
|
+
let resultDatadefault = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27228
|
+
resultdefault = ProblemDetails.fromJS(resultDatadefault);
|
|
27229
|
+
return throwException$1("Error", status, _responseText, _headers, resultdefault);
|
|
27230
|
+
}));
|
|
27231
|
+
}
|
|
27232
|
+
}
|
|
27827
27233
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthlyServiceProxy, deps: [{ token: HttpClient }, { token: API_BASE_URL$1, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
27828
27234
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthlyServiceProxy }); }
|
|
27829
27235
|
}
|
|
@@ -43491,7 +42897,6 @@ class DeleteMonthliesCommand {
|
|
|
43491
42897
|
for (let item of _data["ids"])
|
|
43492
42898
|
this.ids.push(item);
|
|
43493
42899
|
}
|
|
43494
|
-
this.parkId = _data["parkId"];
|
|
43495
42900
|
}
|
|
43496
42901
|
}
|
|
43497
42902
|
static fromJS(data) {
|
|
@@ -43507,7 +42912,6 @@ class DeleteMonthliesCommand {
|
|
|
43507
42912
|
for (let item of this.ids)
|
|
43508
42913
|
data["ids"].push(item);
|
|
43509
42914
|
}
|
|
43510
|
-
data["parkId"] = this.parkId;
|
|
43511
42915
|
return data;
|
|
43512
42916
|
}
|
|
43513
42917
|
clone() {
|
|
@@ -45426,7 +44830,6 @@ class FacilityBasicDto {
|
|
|
45426
44830
|
this.id = _data["id"];
|
|
45427
44831
|
this.cloudId = _data["cloudId"];
|
|
45428
44832
|
this.cloudParentId = _data["cloudParentId"];
|
|
45429
|
-
this.isBasic = _data["isBasic"];
|
|
45430
44833
|
this.multiParkParentID = _data["multiParkParentID"];
|
|
45431
44834
|
this.siteCode = _data["siteCode"];
|
|
45432
44835
|
this.name = _data["name"];
|
|
@@ -45446,13 +44849,6 @@ class FacilityBasicDto {
|
|
|
45446
44849
|
this.creditServerDisconnectedTimestamp = _data["creditServerDisconnectedTimestamp"] ? moment(_data["creditServerDisconnectedTimestamp"].toString()) : undefined;
|
|
45447
44850
|
this.mainControllerDisconnectedTimestamp = _data["mainControllerDisconnectedTimestamp"] ? moment(_data["mainControllerDisconnectedTimestamp"].toString()) : undefined;
|
|
45448
44851
|
this.active = _data["active"];
|
|
45449
|
-
if (_data["permissions"]) {
|
|
45450
|
-
this.permissions = {};
|
|
45451
|
-
for (let key in _data["permissions"]) {
|
|
45452
|
-
if (_data["permissions"].hasOwnProperty(key))
|
|
45453
|
-
this.permissions[key] = _data["permissions"][key] ? PermissionDto.fromJS(_data["permissions"][key]) : new PermissionDto();
|
|
45454
|
-
}
|
|
45455
|
-
}
|
|
45456
44852
|
if (Array.isArray(_data["featurePermissions"])) {
|
|
45457
44853
|
this.featurePermissions = [];
|
|
45458
44854
|
for (let item of _data["featurePermissions"])
|
|
@@ -45471,7 +44867,6 @@ class FacilityBasicDto {
|
|
|
45471
44867
|
data["id"] = this.id;
|
|
45472
44868
|
data["cloudId"] = this.cloudId;
|
|
45473
44869
|
data["cloudParentId"] = this.cloudParentId;
|
|
45474
|
-
data["isBasic"] = this.isBasic;
|
|
45475
44870
|
data["multiParkParentID"] = this.multiParkParentID;
|
|
45476
44871
|
data["siteCode"] = this.siteCode;
|
|
45477
44872
|
data["name"] = this.name;
|
|
@@ -45491,13 +44886,6 @@ class FacilityBasicDto {
|
|
|
45491
44886
|
data["creditServerDisconnectedTimestamp"] = this.creditServerDisconnectedTimestamp ? this.creditServerDisconnectedTimestamp.toISOString() : undefined;
|
|
45492
44887
|
data["mainControllerDisconnectedTimestamp"] = this.mainControllerDisconnectedTimestamp ? this.mainControllerDisconnectedTimestamp.toISOString() : undefined;
|
|
45493
44888
|
data["active"] = this.active;
|
|
45494
|
-
if (this.permissions) {
|
|
45495
|
-
data["permissions"] = {};
|
|
45496
|
-
for (let key in this.permissions) {
|
|
45497
|
-
if (this.permissions.hasOwnProperty(key))
|
|
45498
|
-
data["permissions"][key] = this.permissions[key] ? this.permissions[key].toJSON() : undefined;
|
|
45499
|
-
}
|
|
45500
|
-
}
|
|
45501
44889
|
if (Array.isArray(this.featurePermissions)) {
|
|
45502
44890
|
data["featurePermissions"] = [];
|
|
45503
44891
|
for (let item of this.featurePermissions)
|
|
@@ -46587,122 +45975,6 @@ class GenerateReportResponseDtoHttpResponseData {
|
|
|
46587
45975
|
return result;
|
|
46588
45976
|
}
|
|
46589
45977
|
}
|
|
46590
|
-
class GetGuestsTrafficQuery {
|
|
46591
|
-
constructor(data) {
|
|
46592
|
-
if (data) {
|
|
46593
|
-
for (var property in data) {
|
|
46594
|
-
if (data.hasOwnProperty(property))
|
|
46595
|
-
this[property] = data[property];
|
|
46596
|
-
}
|
|
46597
|
-
}
|
|
46598
|
-
}
|
|
46599
|
-
init(_data) {
|
|
46600
|
-
if (_data) {
|
|
46601
|
-
this.searchValue = _data["searchValue"];
|
|
46602
|
-
this.from = _data["from"];
|
|
46603
|
-
this.to = _data["to"];
|
|
46604
|
-
this.take = _data["take"];
|
|
46605
|
-
this.skip = _data["skip"];
|
|
46606
|
-
this.parkId = _data["parkId"];
|
|
46607
|
-
this.guestTrafficSearchFieldSelector = _data["guestTrafficSearchFieldSelector"];
|
|
46608
|
-
this.credentialMediaType = _data["credentialMediaType"];
|
|
46609
|
-
if (Array.isArray(_data["deviceIds"])) {
|
|
46610
|
-
this.deviceIds = [];
|
|
46611
|
-
for (let item of _data["deviceIds"])
|
|
46612
|
-
this.deviceIds.push(item);
|
|
46613
|
-
}
|
|
46614
|
-
this.companiesFilterDto = _data["companiesFilterDto"] ? CompaniesFilterDto.fromJS(_data["companiesFilterDto"]) : undefined;
|
|
46615
|
-
}
|
|
46616
|
-
}
|
|
46617
|
-
static fromJS(data) {
|
|
46618
|
-
data = typeof data === 'object' ? data : {};
|
|
46619
|
-
let result = new GetGuestsTrafficQuery();
|
|
46620
|
-
result.init(data);
|
|
46621
|
-
return result;
|
|
46622
|
-
}
|
|
46623
|
-
toJSON(data) {
|
|
46624
|
-
data = typeof data === 'object' ? data : {};
|
|
46625
|
-
data["searchValue"] = this.searchValue;
|
|
46626
|
-
data["from"] = this.from;
|
|
46627
|
-
data["to"] = this.to;
|
|
46628
|
-
data["take"] = this.take;
|
|
46629
|
-
data["skip"] = this.skip;
|
|
46630
|
-
data["parkId"] = this.parkId;
|
|
46631
|
-
data["guestTrafficSearchFieldSelector"] = this.guestTrafficSearchFieldSelector;
|
|
46632
|
-
data["credentialMediaType"] = this.credentialMediaType;
|
|
46633
|
-
if (Array.isArray(this.deviceIds)) {
|
|
46634
|
-
data["deviceIds"] = [];
|
|
46635
|
-
for (let item of this.deviceIds)
|
|
46636
|
-
data["deviceIds"].push(item);
|
|
46637
|
-
}
|
|
46638
|
-
data["companiesFilterDto"] = this.companiesFilterDto ? this.companiesFilterDto.toJSON() : undefined;
|
|
46639
|
-
return data;
|
|
46640
|
-
}
|
|
46641
|
-
clone() {
|
|
46642
|
-
const json = this.toJSON();
|
|
46643
|
-
let result = new GetGuestsTrafficQuery();
|
|
46644
|
-
result.init(json);
|
|
46645
|
-
return result;
|
|
46646
|
-
}
|
|
46647
|
-
}
|
|
46648
|
-
class GetMonthliesTrafficQuery {
|
|
46649
|
-
constructor(data) {
|
|
46650
|
-
if (data) {
|
|
46651
|
-
for (var property in data) {
|
|
46652
|
-
if (data.hasOwnProperty(property))
|
|
46653
|
-
this[property] = data[property];
|
|
46654
|
-
}
|
|
46655
|
-
}
|
|
46656
|
-
}
|
|
46657
|
-
init(_data) {
|
|
46658
|
-
if (_data) {
|
|
46659
|
-
this.searchValue = _data["searchValue"];
|
|
46660
|
-
this.from = _data["from"];
|
|
46661
|
-
this.to = _data["to"];
|
|
46662
|
-
this.take = _data["take"];
|
|
46663
|
-
this.skip = _data["skip"];
|
|
46664
|
-
this.parkId = _data["parkId"];
|
|
46665
|
-
this.monthlyTrafficSearchFieldSelector = _data["monthlyTrafficSearchFieldSelector"];
|
|
46666
|
-
this.credentialMediaType = _data["credentialMediaType"];
|
|
46667
|
-
if (Array.isArray(_data["deviceIds"])) {
|
|
46668
|
-
this.deviceIds = [];
|
|
46669
|
-
for (let item of _data["deviceIds"])
|
|
46670
|
-
this.deviceIds.push(item);
|
|
46671
|
-
}
|
|
46672
|
-
this.companiesFilterDto = _data["companiesFilterDto"] ? CompaniesFilterDto.fromJS(_data["companiesFilterDto"]) : undefined;
|
|
46673
|
-
}
|
|
46674
|
-
}
|
|
46675
|
-
static fromJS(data) {
|
|
46676
|
-
data = typeof data === 'object' ? data : {};
|
|
46677
|
-
let result = new GetMonthliesTrafficQuery();
|
|
46678
|
-
result.init(data);
|
|
46679
|
-
return result;
|
|
46680
|
-
}
|
|
46681
|
-
toJSON(data) {
|
|
46682
|
-
data = typeof data === 'object' ? data : {};
|
|
46683
|
-
data["searchValue"] = this.searchValue;
|
|
46684
|
-
data["from"] = this.from;
|
|
46685
|
-
data["to"] = this.to;
|
|
46686
|
-
data["take"] = this.take;
|
|
46687
|
-
data["skip"] = this.skip;
|
|
46688
|
-
data["parkId"] = this.parkId;
|
|
46689
|
-
data["monthlyTrafficSearchFieldSelector"] = this.monthlyTrafficSearchFieldSelector;
|
|
46690
|
-
data["credentialMediaType"] = this.credentialMediaType;
|
|
46691
|
-
if (Array.isArray(this.deviceIds)) {
|
|
46692
|
-
data["deviceIds"] = [];
|
|
46693
|
-
for (let item of this.deviceIds)
|
|
46694
|
-
data["deviceIds"].push(item);
|
|
46695
|
-
}
|
|
46696
|
-
data["companiesFilterDto"] = this.companiesFilterDto ? this.companiesFilterDto.toJSON() : undefined;
|
|
46697
|
-
return data;
|
|
46698
|
-
}
|
|
46699
|
-
clone() {
|
|
46700
|
-
const json = this.toJSON();
|
|
46701
|
-
let result = new GetMonthliesTrafficQuery();
|
|
46702
|
-
result.init(json);
|
|
46703
|
-
return result;
|
|
46704
|
-
}
|
|
46705
|
-
}
|
|
46706
45978
|
class GetMonthlyQuery {
|
|
46707
45979
|
constructor(data) {
|
|
46708
45980
|
if (data) {
|
|
@@ -46715,6 +45987,7 @@ class GetMonthlyQuery {
|
|
|
46715
45987
|
init(_data) {
|
|
46716
45988
|
if (_data) {
|
|
46717
45989
|
this.parkId = _data["parkId"];
|
|
45990
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
46718
45991
|
this.companiesFilter = _data["companiesFilter"] ? CompaniesFilterDto.fromJS(_data["companiesFilter"]) : undefined;
|
|
46719
45992
|
this.filter = _data["filter"] ? FilterDto.fromJS(_data["filter"]) : undefined;
|
|
46720
45993
|
this.monthlySearchFieldSelector = _data["monthlySearchFieldSelector"];
|
|
@@ -46731,6 +46004,7 @@ class GetMonthlyQuery {
|
|
|
46731
46004
|
toJSON(data) {
|
|
46732
46005
|
data = typeof data === 'object' ? data : {};
|
|
46733
46006
|
data["parkId"] = this.parkId;
|
|
46007
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
46734
46008
|
data["companiesFilter"] = this.companiesFilter ? this.companiesFilter.toJSON() : undefined;
|
|
46735
46009
|
data["filter"] = this.filter ? this.filter.toJSON() : undefined;
|
|
46736
46010
|
data["monthlySearchFieldSelector"] = this.monthlySearchFieldSelector;
|
|
@@ -50041,6 +49315,7 @@ class MarkCouponBatchAsSentCommand {
|
|
|
50041
49315
|
this.id = _data["id"];
|
|
50042
49316
|
this.parkId = _data["parkId"];
|
|
50043
49317
|
this.email = _data["email"];
|
|
49318
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
50044
49319
|
}
|
|
50045
49320
|
}
|
|
50046
49321
|
static fromJS(data) {
|
|
@@ -50054,6 +49329,7 @@ class MarkCouponBatchAsSentCommand {
|
|
|
50054
49329
|
data["id"] = this.id;
|
|
50055
49330
|
data["parkId"] = this.parkId;
|
|
50056
49331
|
data["email"] = this.email;
|
|
49332
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
50057
49333
|
return data;
|
|
50058
49334
|
}
|
|
50059
49335
|
clone() {
|
|
@@ -50077,6 +49353,7 @@ class MarkSingleCouponAsSentCommand {
|
|
|
50077
49353
|
this.id = _data["id"];
|
|
50078
49354
|
this.parkId = _data["parkId"];
|
|
50079
49355
|
this.email = _data["email"];
|
|
49356
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
50080
49357
|
}
|
|
50081
49358
|
}
|
|
50082
49359
|
static fromJS(data) {
|
|
@@ -50090,6 +49367,7 @@ class MarkSingleCouponAsSentCommand {
|
|
|
50090
49367
|
data["id"] = this.id;
|
|
50091
49368
|
data["parkId"] = this.parkId;
|
|
50092
49369
|
data["email"] = this.email;
|
|
49370
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
50093
49371
|
return data;
|
|
50094
49372
|
}
|
|
50095
49373
|
clone() {
|
|
@@ -50112,6 +49390,7 @@ class MarkSingleCouponAsUsedCommand {
|
|
|
50112
49390
|
if (_data) {
|
|
50113
49391
|
this.id = _data["id"];
|
|
50114
49392
|
this.parkId = _data["parkId"];
|
|
49393
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
50115
49394
|
}
|
|
50116
49395
|
}
|
|
50117
49396
|
static fromJS(data) {
|
|
@@ -50124,6 +49403,7 @@ class MarkSingleCouponAsUsedCommand {
|
|
|
50124
49403
|
data = typeof data === 'object' ? data : {};
|
|
50125
49404
|
data["id"] = this.id;
|
|
50126
49405
|
data["parkId"] = this.parkId;
|
|
49406
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
50127
49407
|
return data;
|
|
50128
49408
|
}
|
|
50129
49409
|
clone() {
|
|
@@ -50146,6 +49426,7 @@ class MarkSingleStickerAsUsedCommand {
|
|
|
50146
49426
|
if (_data) {
|
|
50147
49427
|
this.id = _data["id"];
|
|
50148
49428
|
this.parkId = _data["parkId"];
|
|
49429
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
50149
49430
|
}
|
|
50150
49431
|
}
|
|
50151
49432
|
static fromJS(data) {
|
|
@@ -50158,6 +49439,7 @@ class MarkSingleStickerAsUsedCommand {
|
|
|
50158
49439
|
data = typeof data === 'object' ? data : {};
|
|
50159
49440
|
data["id"] = this.id;
|
|
50160
49441
|
data["parkId"] = this.parkId;
|
|
49442
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
50161
49443
|
return data;
|
|
50162
49444
|
}
|
|
50163
49445
|
clone() {
|
|
@@ -50181,6 +49463,7 @@ class MarkStickerBatchAsSentCommand {
|
|
|
50181
49463
|
this.id = _data["id"];
|
|
50182
49464
|
this.email = _data["email"];
|
|
50183
49465
|
this.parkId = _data["parkId"];
|
|
49466
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
50184
49467
|
}
|
|
50185
49468
|
}
|
|
50186
49469
|
static fromJS(data) {
|
|
@@ -50194,6 +49477,7 @@ class MarkStickerBatchAsSentCommand {
|
|
|
50194
49477
|
data["id"] = this.id;
|
|
50195
49478
|
data["email"] = this.email;
|
|
50196
49479
|
data["parkId"] = this.parkId;
|
|
49480
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
50197
49481
|
return data;
|
|
50198
49482
|
}
|
|
50199
49483
|
clone() {
|
|
@@ -52862,6 +52146,58 @@ var PermissionType$1;
|
|
|
52862
52146
|
PermissionType[PermissionType["LotConfigurationAccessProfile"] = 100] = "LotConfigurationAccessProfile";
|
|
52863
52147
|
PermissionType[PermissionType["CancelReceipt"] = 101] = "CancelReceipt";
|
|
52864
52148
|
})(PermissionType$1 || (PermissionType$1 = {}));
|
|
52149
|
+
class PermittedCompaniesFilterDto {
|
|
52150
|
+
constructor(data) {
|
|
52151
|
+
if (data) {
|
|
52152
|
+
for (var property in data) {
|
|
52153
|
+
if (data.hasOwnProperty(property))
|
|
52154
|
+
this[property] = data[property];
|
|
52155
|
+
}
|
|
52156
|
+
}
|
|
52157
|
+
}
|
|
52158
|
+
init(_data) {
|
|
52159
|
+
if (_data) {
|
|
52160
|
+
if (Array.isArray(_data["permittedCompanyIds"])) {
|
|
52161
|
+
this.permittedCompanyIds = [];
|
|
52162
|
+
for (let item of _data["permittedCompanyIds"])
|
|
52163
|
+
this.permittedCompanyIds.push(item);
|
|
52164
|
+
}
|
|
52165
|
+
if (Array.isArray(_data["permittedSubCompanyIds"])) {
|
|
52166
|
+
this.permittedSubCompanyIds = [];
|
|
52167
|
+
for (let item of _data["permittedSubCompanyIds"])
|
|
52168
|
+
this.permittedSubCompanyIds.push(item);
|
|
52169
|
+
}
|
|
52170
|
+
this.allPermitted = _data["allPermitted"];
|
|
52171
|
+
}
|
|
52172
|
+
}
|
|
52173
|
+
static fromJS(data) {
|
|
52174
|
+
data = typeof data === 'object' ? data : {};
|
|
52175
|
+
let result = new PermittedCompaniesFilterDto();
|
|
52176
|
+
result.init(data);
|
|
52177
|
+
return result;
|
|
52178
|
+
}
|
|
52179
|
+
toJSON(data) {
|
|
52180
|
+
data = typeof data === 'object' ? data : {};
|
|
52181
|
+
if (Array.isArray(this.permittedCompanyIds)) {
|
|
52182
|
+
data["permittedCompanyIds"] = [];
|
|
52183
|
+
for (let item of this.permittedCompanyIds)
|
|
52184
|
+
data["permittedCompanyIds"].push(item);
|
|
52185
|
+
}
|
|
52186
|
+
if (Array.isArray(this.permittedSubCompanyIds)) {
|
|
52187
|
+
data["permittedSubCompanyIds"] = [];
|
|
52188
|
+
for (let item of this.permittedSubCompanyIds)
|
|
52189
|
+
data["permittedSubCompanyIds"].push(item);
|
|
52190
|
+
}
|
|
52191
|
+
data["allPermitted"] = this.allPermitted;
|
|
52192
|
+
return data;
|
|
52193
|
+
}
|
|
52194
|
+
clone() {
|
|
52195
|
+
const json = this.toJSON();
|
|
52196
|
+
let result = new PermittedCompaniesFilterDto();
|
|
52197
|
+
result.init(json);
|
|
52198
|
+
return result;
|
|
52199
|
+
}
|
|
52200
|
+
}
|
|
52865
52201
|
class PrintTicketRemoteCommandData extends RemoteCommandBase {
|
|
52866
52202
|
constructor(data) {
|
|
52867
52203
|
super(data);
|
|
@@ -55716,6 +55052,7 @@ class SendCouponByEmailCommand {
|
|
|
55716
55052
|
this.entityId = _data["entityId"];
|
|
55717
55053
|
this.email = _data["email"];
|
|
55718
55054
|
this.parkId = _data["parkId"];
|
|
55055
|
+
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
55719
55056
|
}
|
|
55720
55057
|
}
|
|
55721
55058
|
static fromJS(data) {
|
|
@@ -55734,6 +55071,7 @@ class SendCouponByEmailCommand {
|
|
|
55734
55071
|
data["entityId"] = this.entityId;
|
|
55735
55072
|
data["email"] = this.email;
|
|
55736
55073
|
data["parkId"] = this.parkId;
|
|
55074
|
+
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
55737
55075
|
return data;
|
|
55738
55076
|
}
|
|
55739
55077
|
clone() {
|
|
@@ -64353,8 +63691,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
64353
63691
|
GenerateReportNotificationDto: GenerateReportNotificationDto,
|
|
64354
63692
|
GenerateReportResponseDto: GenerateReportResponseDto,
|
|
64355
63693
|
GenerateReportResponseDtoHttpResponseData: GenerateReportResponseDtoHttpResponseData,
|
|
64356
|
-
GetGuestsTrafficQuery: GetGuestsTrafficQuery,
|
|
64357
|
-
GetMonthliesTrafficQuery: GetMonthliesTrafficQuery,
|
|
64358
63694
|
GetMonthlyQuery: GetMonthlyQuery,
|
|
64359
63695
|
GetTicketFeeRemoteCommand: GetTicketFeeRemoteCommand,
|
|
64360
63696
|
GroupDto: GroupDto,
|
|
@@ -64520,6 +63856,7 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
64520
63856
|
get PermissionGroup () { return PermissionGroup; },
|
|
64521
63857
|
get PermissionService () { return PermissionService; },
|
|
64522
63858
|
get PermissionType () { return PermissionType$1; },
|
|
63859
|
+
PermittedCompaniesFilterDto: PermittedCompaniesFilterDto,
|
|
64523
63860
|
PrintTicketRemoteCommandData: PrintTicketRemoteCommandData,
|
|
64524
63861
|
PrinterDto: PrinterDto,
|
|
64525
63862
|
ProblemDetails: ProblemDetails,
|
|
@@ -72521,6 +71858,12 @@ const extractNumber = (input) => {
|
|
|
72521
71858
|
};
|
|
72522
71859
|
const isSingularOrPlural = (numberOfMonth) => numberOfMonth <= 1;
|
|
72523
71860
|
|
|
71861
|
+
function convertPermissionsToDictionary(permissions) {
|
|
71862
|
+
return Object.values(permissions || {}).reduce((allowedActions, action) => {
|
|
71863
|
+
allowedActions[action.type] = true;
|
|
71864
|
+
return allowedActions;
|
|
71865
|
+
}, {});
|
|
71866
|
+
}
|
|
72524
71867
|
function convertFeaturePermissionsToDictionary(permissions) {
|
|
72525
71868
|
return permissions.reduce((allowedActions, permissionsType) => {
|
|
72526
71869
|
if (PermissionType$1[permissionsType]) {
|
|
@@ -74009,5 +73352,5 @@ function slideUpDown() {
|
|
|
74009
73352
|
* Generated bundle index. Do not edit.
|
|
74010
73353
|
*/
|
|
74011
73354
|
|
|
74012
|
-
export { ACCESS_PROFILE_DAT_TYPES_SP, AES_DEFAULT_IV, ALERT_NOTIFICATION_CONTAINER, ALLOWED_FILES_FORMATS, ALLOWED_FILES_MAX_SIZE_MB, ALLOWED_NUMBER_OF_DAYS, ALLOWED_UPLOAD_FILES_QUANTITY, ActionStatusService, AppModuleToMainPermissionTypeMap, AppSectionLabel, AppSectionModuleMenu, AppSectionRoute, AuditActionTypeText, AutofocusDirective, BOM_UNICODE, BaseComponent, CLogItPipe, COLORS, CREDIT_CARD_POSTFIX_LENGTH, CentToCoinPipe, cloudServiceProxies as Cloud, ContainerRefDirective, CurlyToBoldPipe, DATA_IMAGE_BASE64_PREFIX, DATA_IMAGE_BASE64_SVG_PREFIX, DEFAULT_MINUMIM_LENGTH, DEFAULT_SMART_PARK_DATE_TIME, DEVICE_EVENT_OPTIONS_KEY, DEVICE_NAVIGATE_KEY, DISABLED_FOCUS_ELEMENT_CLASSES, DISABLED_FOCUS_ELEMENT_TYPES, DataQaAttribute, DecimalToAmountPipe, DecimalToCurrencyPipe, DialogMode, DurationMessageBar, ENGLISH_LANGUAGE, ENVIRONMENT, EXPIRATION_MONTH_OPTIONS, edgeServiceProxies as Edge, EllipsisMultilineDirective, EnumsToArrayPipe, EnvironmentModeText, FieldLabelComponent, FieldValidationsComponent, FilterKeysPipe, FilterNumbersPipe, FilterPipe, FormValidationsComponent, GenerateSearchParamsDto, GetAllLocalizationsAction, HOUR_FORMAT_12, HOUR_FORMAT_24, HOUR_FORMAT_FULL_DAY, HasActionErrored, HttpCancelBlackListUrls, INPUT_SEARCH_DEBOUNCE_TIME, INPUT_SEARCH_DEBOUNCE_TIME_LOW, INPUT_SEARCH_DEBOUNCE_TIME_MEDIUM, IconsHelper, IconsHelperText, identityServiceProxies as Identity, InternetConnectionStatus, IsActionExecuting, IsEllipsisDirective, LOCAL_ENGLISH_LANGUAGE, LOGGED_TENANT_KEY, LanguageTypeKeys, LocalStorageMigrator, Localization, LocalizationModule, LocalizationService, LocalizationState, MAX_ALLOWED_BADGE_VALUE, MAX_ALLOWED_CURRENT_BALANCE, MAX_ALLOWED_IDENTIFIER_VALUE, MAX_CARDS, MAX_CAR_PLATES, MAX_EXPORT_RECORDS, MAX_HOTEL_ROOM_NUMBER_LENGTH, MAX_INT16_VALUE, MAX_INT32_VALUE, MAX_INTEGER_VALUE, MAX_LENGTH_DESCRIPTION, MAX_LENGTH_NAME_30, MAX_LENGTH_NAME_50, MAX_LENGTH_SERACH_TERM, MAX_MOBILE_LENGTH, MAX_NUMBER_OF_NIGHTS, MAX_PLATE_ID_LENGTH, MAX_PRICE_NO_TIME_LIMIT_VALUE, MAX_PRICE_PERIOD_VALUE, MAX_REPEAT_COUNT_VALUE, MAX_RESULTS, MAX_ROLE_NAME_LENGTH, MAX_SP, MC_READER_ID, MINIMUM_LENGTH_OPTIONS, MINUTES_PER_HOUR, MOBILE_REFRESH_INFO, MULTIPLE, MainModuleToSubModulesPermissionTypeMap, MiddayPeriod, MobileAppSectionLabel, MslEventType, NONE_USER_ID, NO_RESULT, NativeElementInjectorDirective, ONE_DAY_IN_MINUTES_VALUE, ONE_SECOND_IN_MILLISECONDS, OffScreenDirective, Operator, OrderBy, OrderByPipe, OrderDirection, PARKER_SEARCH_AUTO_REDIRECT, PASSWORD_EXPIRED, PERIOD_TIME, PREVENT_CLICK_ELEMENT_CLASSES, REDIRECT_URL, RESET_PASSWORD_EMAIL, RowOperation, SESSION, STATUS_CODE_SERVER_VALIDATION, STATUS_CODE_UNAUTHORIZED, STRING_ZERO, SUPER_PARK_ROUTE_KEY, SUPPORTED_DEVICES_SCHEDULER, SYSTEM_ALERT_VALUE, ServiceProxyModule, SharedComponentsModule, SharedDirectivesModule, SharedModule, SharedPipesModule, SortPipe, SpinnerDiameterSize, StopPropagationDirective, StringItPipe, TBFormatPipe, TBNumberDirective, TENANT_KEY, TENS_MULTIPLIER, TibaValidators, TimeAgoPipe, TimeElapsedFormats, TimeElapsedPipe, TimeRangeFormats, TimeRangePipe, TooltipPositions, TrackAction, TranslateLocalPipe, TreeFilterKeysPipe, TreeMode, UNSAVED_DATA, USER_IS_TEMPORARY_BLOCKED, VALID_TIME_MAX_LENGTH, VERSION_10_1_0, VERSION_10_2_0, VERSION_10_2_1, VERSION_10_3_0, VERSION_7_4_0, VERSION_7_4_1, VERSION_8_1_0, VERSION_8_2_0, VERSION_8_3_0, VERSION_8_4_0, VERSION_9_1_0, VERSION_9_2_0, VERSION_9_2_2, VERSION_9_3_0, VERSION_9_4_0, VarDirective, WrapFnPipe, ZerofyNegativePipe, accountModuleAnimation, adjustForTimezone, allowSpecialKeys, alphanumericRegex, appModuleAnimation, areDatesIdentical, areVersionsCompatible, arrayEquals, arraysAreDifferent, baseReduce, camelize, canceled, capitalizeFirstLetter, convert24HoursToAmPM, convertAmPmTo24Hours, convertBinaryToDecimal, convertCentToWholeCoin, convertDecimalToBinary, convertFeaturePermissionsToDictionary, convertFormatWithoutTime, convertWholeCoinToCent, createDescriptor, dateDiffInSeconds, decimalNumberRegex, decimalPercentageRegex, decimalPositiveNumberRegex, decryptClientSecret, delayCancellation, diffInMillis, dispatched, distinctObjectByProperties, distinctObjectByProperty, ensureObjectMetadata, errored, extractErrorsChanges, extractNumber, extractResetChanges, extractSetValueChanges, extractToggleStatusChanges, extractTouchedChanges, extractUpdateValueAndValidityChanges, filterKeyValueBaseReduce, findParentElement, findParentElementDimensions, flattenByKey, formatMinutesToTimeNumber, formatTimeToMinutes, formatTimeWithMidnight, formatTimeWithSeparator, formatTimeWithoutMidnight, formatTimeWithoutSeparator, formatTimeWithoutSeperatorAndWithMidnight, formatTimeWithoutSeperatorAndWithoutMidnight, getAddress, getCurrentLang, getDateTimeInSeconds, getDateWithoutTime, getMomenWithTime, getMomentNullable, getMomentWithoutTime, getObjectMetadata, getUserTimeZone, getUtcMomentNullable, hasValue, humanizeTimeElapsed, humanizeUtcTimeElapsed, identity, integerNumberRegex, integerPositiveNumberRegex, isBoolean, isCharacterLengthValid, isFalsy, isIOSDevice, isMaxDaysRangeValid, isNullOrEmpty, isNumber, isObjectEmpty, isSearchFieldChanged, isSingularOrPlural, isTrueInBinary, isTruthy, isVersionGreaterThanEqual, loadHTMLContent, lowerCase, lowerCaseFirstLetter, markEntitiesAsChanged, markEntityAsUnchanged, minutesToTime, mobileRegex, noEmojiRegex, notificationAnimation, numberWithLeadingZero, ofStatus, omitKeys, openBackgroundIframe, openCloseFiltersAnimation, parseApiErrorData, parseApiErrorMessage, parseDateTimeToSparkParkTime, parseSmartParkTime, passwordRegex, percentageRegex, printStackTrace, readjustForTimezone, regexExp, replaceAll, searchBarPopupAnimation, setErrorMessage, sleep, slideFromBottom, slideFromRight, slideFromUp, slideUpDown, successful, timeToMinutes, timeToMoment, toInt, toNumberMap, toStringMap, wrapConstructor };
|
|
73355
|
+
export { ACCESS_PROFILE_DAT_TYPES_SP, AES_DEFAULT_IV, ALERT_NOTIFICATION_CONTAINER, ALLOWED_FILES_FORMATS, ALLOWED_FILES_MAX_SIZE_MB, ALLOWED_NUMBER_OF_DAYS, ALLOWED_UPLOAD_FILES_QUANTITY, ActionStatusService, AppModuleToMainPermissionTypeMap, AppSectionLabel, AppSectionModuleMenu, AppSectionRoute, AuditActionTypeText, AutofocusDirective, BOM_UNICODE, BaseComponent, CLogItPipe, COLORS, CREDIT_CARD_POSTFIX_LENGTH, CentToCoinPipe, cloudServiceProxies as Cloud, ContainerRefDirective, CurlyToBoldPipe, DATA_IMAGE_BASE64_PREFIX, DATA_IMAGE_BASE64_SVG_PREFIX, DEFAULT_MINUMIM_LENGTH, DEFAULT_SMART_PARK_DATE_TIME, DEVICE_EVENT_OPTIONS_KEY, DEVICE_NAVIGATE_KEY, DISABLED_FOCUS_ELEMENT_CLASSES, DISABLED_FOCUS_ELEMENT_TYPES, DataQaAttribute, DecimalToAmountPipe, DecimalToCurrencyPipe, DialogMode, DurationMessageBar, ENGLISH_LANGUAGE, ENVIRONMENT, EXPIRATION_MONTH_OPTIONS, edgeServiceProxies as Edge, EllipsisMultilineDirective, EnumsToArrayPipe, EnvironmentModeText, FieldLabelComponent, FieldValidationsComponent, FilterKeysPipe, FilterNumbersPipe, FilterPipe, FormValidationsComponent, GenerateSearchParamsDto, GetAllLocalizationsAction, HOUR_FORMAT_12, HOUR_FORMAT_24, HOUR_FORMAT_FULL_DAY, HasActionErrored, HttpCancelBlackListUrls, INPUT_SEARCH_DEBOUNCE_TIME, INPUT_SEARCH_DEBOUNCE_TIME_LOW, INPUT_SEARCH_DEBOUNCE_TIME_MEDIUM, IconsHelper, IconsHelperText, identityServiceProxies as Identity, InternetConnectionStatus, IsActionExecuting, IsEllipsisDirective, LOCAL_ENGLISH_LANGUAGE, LOGGED_TENANT_KEY, LanguageTypeKeys, LocalStorageMigrator, Localization, LocalizationModule, LocalizationService, LocalizationState, MAX_ALLOWED_BADGE_VALUE, MAX_ALLOWED_CURRENT_BALANCE, MAX_ALLOWED_IDENTIFIER_VALUE, MAX_CARDS, MAX_CAR_PLATES, MAX_EXPORT_RECORDS, MAX_HOTEL_ROOM_NUMBER_LENGTH, MAX_INT16_VALUE, MAX_INT32_VALUE, MAX_INTEGER_VALUE, MAX_LENGTH_DESCRIPTION, MAX_LENGTH_NAME_30, MAX_LENGTH_NAME_50, MAX_LENGTH_SERACH_TERM, MAX_MOBILE_LENGTH, MAX_NUMBER_OF_NIGHTS, MAX_PLATE_ID_LENGTH, MAX_PRICE_NO_TIME_LIMIT_VALUE, MAX_PRICE_PERIOD_VALUE, MAX_REPEAT_COUNT_VALUE, MAX_RESULTS, MAX_ROLE_NAME_LENGTH, MAX_SP, MC_READER_ID, MINIMUM_LENGTH_OPTIONS, MINUTES_PER_HOUR, MOBILE_REFRESH_INFO, MULTIPLE, MainModuleToSubModulesPermissionTypeMap, MiddayPeriod, MobileAppSectionLabel, MslEventType, NONE_USER_ID, NO_RESULT, NativeElementInjectorDirective, ONE_DAY_IN_MINUTES_VALUE, ONE_SECOND_IN_MILLISECONDS, OffScreenDirective, Operator, OrderBy, OrderByPipe, OrderDirection, PARKER_SEARCH_AUTO_REDIRECT, PASSWORD_EXPIRED, PERIOD_TIME, PREVENT_CLICK_ELEMENT_CLASSES, REDIRECT_URL, RESET_PASSWORD_EMAIL, RowOperation, SESSION, STATUS_CODE_SERVER_VALIDATION, STATUS_CODE_UNAUTHORIZED, STRING_ZERO, SUPER_PARK_ROUTE_KEY, SUPPORTED_DEVICES_SCHEDULER, SYSTEM_ALERT_VALUE, ServiceProxyModule, SharedComponentsModule, SharedDirectivesModule, SharedModule, SharedPipesModule, SortPipe, SpinnerDiameterSize, StopPropagationDirective, StringItPipe, TBFormatPipe, TBNumberDirective, TENANT_KEY, TENS_MULTIPLIER, TibaValidators, TimeAgoPipe, TimeElapsedFormats, TimeElapsedPipe, TimeRangeFormats, TimeRangePipe, TooltipPositions, TrackAction, TranslateLocalPipe, TreeFilterKeysPipe, TreeMode, UNSAVED_DATA, USER_IS_TEMPORARY_BLOCKED, VALID_TIME_MAX_LENGTH, VERSION_10_1_0, VERSION_10_2_0, VERSION_10_2_1, VERSION_10_3_0, VERSION_7_4_0, VERSION_7_4_1, VERSION_8_1_0, VERSION_8_2_0, VERSION_8_3_0, VERSION_8_4_0, VERSION_9_1_0, VERSION_9_2_0, VERSION_9_2_2, VERSION_9_3_0, VERSION_9_4_0, VarDirective, WrapFnPipe, ZerofyNegativePipe, accountModuleAnimation, adjustForTimezone, allowSpecialKeys, alphanumericRegex, appModuleAnimation, areDatesIdentical, areVersionsCompatible, arrayEquals, arraysAreDifferent, baseReduce, camelize, canceled, capitalizeFirstLetter, convert24HoursToAmPM, convertAmPmTo24Hours, convertBinaryToDecimal, convertCentToWholeCoin, convertDecimalToBinary, convertFeaturePermissionsToDictionary, convertFormatWithoutTime, convertPermissionsToDictionary, convertWholeCoinToCent, createDescriptor, dateDiffInSeconds, decimalNumberRegex, decimalPercentageRegex, decimalPositiveNumberRegex, decryptClientSecret, delayCancellation, diffInMillis, dispatched, distinctObjectByProperties, distinctObjectByProperty, ensureObjectMetadata, errored, extractErrorsChanges, extractNumber, extractResetChanges, extractSetValueChanges, extractToggleStatusChanges, extractTouchedChanges, extractUpdateValueAndValidityChanges, filterKeyValueBaseReduce, findParentElement, findParentElementDimensions, flattenByKey, formatMinutesToTimeNumber, formatTimeToMinutes, formatTimeWithMidnight, formatTimeWithSeparator, formatTimeWithoutMidnight, formatTimeWithoutSeparator, formatTimeWithoutSeperatorAndWithMidnight, formatTimeWithoutSeperatorAndWithoutMidnight, getAddress, getCurrentLang, getDateTimeInSeconds, getDateWithoutTime, getMomenWithTime, getMomentNullable, getMomentWithoutTime, getObjectMetadata, getUserTimeZone, getUtcMomentNullable, hasValue, humanizeTimeElapsed, humanizeUtcTimeElapsed, identity, integerNumberRegex, integerPositiveNumberRegex, isBoolean, isCharacterLengthValid, isFalsy, isIOSDevice, isMaxDaysRangeValid, isNullOrEmpty, isNumber, isObjectEmpty, isSearchFieldChanged, isSingularOrPlural, isTrueInBinary, isTruthy, isVersionGreaterThanEqual, loadHTMLContent, lowerCase, lowerCaseFirstLetter, markEntitiesAsChanged, markEntityAsUnchanged, minutesToTime, mobileRegex, noEmojiRegex, notificationAnimation, numberWithLeadingZero, ofStatus, omitKeys, openBackgroundIframe, openCloseFiltersAnimation, parseApiErrorData, parseApiErrorMessage, parseDateTimeToSparkParkTime, parseSmartParkTime, passwordRegex, percentageRegex, printStackTrace, readjustForTimezone, regexExp, replaceAll, searchBarPopupAnimation, setErrorMessage, sleep, slideFromBottom, slideFromRight, slideFromUp, slideUpDown, successful, timeToMinutes, timeToMoment, toInt, toNumberMap, toStringMap, wrapConstructor };
|
|
74013
73356
|
//# sourceMappingURL=tiba-spark-client-shared-lib.mjs.map
|