@tiba-spark/client-shared-lib 10.3.0-893 → 10.3.0-895
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 +33 -1
- package/esm2022/libraries/service-proxy/edge-service-proxies.mjs +1778 -1148
- package/esm2022/libraries/utils/permission-type-mapper.util.mjs +1 -7
- package/fesm2022/tiba-spark-client-shared-lib.mjs +1812 -1155
- package/fesm2022/tiba-spark-client-shared-lib.mjs.map +1 -1
- package/libraries/service-proxy/cloud-service-proxies.d.ts +16 -0
- package/libraries/service-proxy/cloud-service-proxies.d.ts.map +1 -1
- package/libraries/service-proxy/edge-service-proxies.d.ts +281 -176
- package/libraries/service-proxy/edge-service-proxies.d.ts.map +1 -1
- package/libraries/utils/permission-type-mapper.util.d.ts +0 -3
- package/libraries/utils/permission-type-mapper.util.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -7807,6 +7807,7 @@ 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"];
|
|
7810
7811
|
this.multiParkParentID = _data["multiParkParentID"];
|
|
7811
7812
|
this.siteCode = _data["siteCode"];
|
|
7812
7813
|
this.name = _data["name"];
|
|
@@ -7826,6 +7827,13 @@ class CloudFacilityDto {
|
|
|
7826
7827
|
this.creditServerDisconnectedTimestamp = _data["creditServerDisconnectedTimestamp"] ? moment(_data["creditServerDisconnectedTimestamp"].toString()) : undefined;
|
|
7827
7828
|
this.mainControllerDisconnectedTimestamp = _data["mainControllerDisconnectedTimestamp"] ? moment(_data["mainControllerDisconnectedTimestamp"].toString()) : undefined;
|
|
7828
7829
|
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
|
+
}
|
|
7829
7837
|
if (Array.isArray(_data["featurePermissions"])) {
|
|
7830
7838
|
this.featurePermissions = [];
|
|
7831
7839
|
for (let item of _data["featurePermissions"])
|
|
@@ -7847,6 +7855,7 @@ class CloudFacilityDto {
|
|
|
7847
7855
|
data["id"] = this.id;
|
|
7848
7856
|
data["cloudId"] = this.cloudId;
|
|
7849
7857
|
data["cloudParentId"] = this.cloudParentId;
|
|
7858
|
+
data["isBasic"] = this.isBasic;
|
|
7850
7859
|
data["multiParkParentID"] = this.multiParkParentID;
|
|
7851
7860
|
data["siteCode"] = this.siteCode;
|
|
7852
7861
|
data["name"] = this.name;
|
|
@@ -7866,6 +7875,13 @@ class CloudFacilityDto {
|
|
|
7866
7875
|
data["creditServerDisconnectedTimestamp"] = this.creditServerDisconnectedTimestamp ? this.creditServerDisconnectedTimestamp.toISOString() : undefined;
|
|
7867
7876
|
data["mainControllerDisconnectedTimestamp"] = this.mainControllerDisconnectedTimestamp ? this.mainControllerDisconnectedTimestamp.toISOString() : undefined;
|
|
7868
7877
|
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
|
+
}
|
|
7869
7885
|
if (Array.isArray(this.featurePermissions)) {
|
|
7870
7886
|
data["featurePermissions"] = [];
|
|
7871
7887
|
for (let item of this.featurePermissions)
|
|
@@ -8120,6 +8136,7 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8120
8136
|
this.id = _data["id"];
|
|
8121
8137
|
this.cloudId = _data["cloudId"];
|
|
8122
8138
|
this.cloudParentId = _data["cloudParentId"];
|
|
8139
|
+
this.isBasic = _data["isBasic"];
|
|
8123
8140
|
this.multiParkParentID = _data["multiParkParentID"];
|
|
8124
8141
|
this.siteCode = _data["siteCode"];
|
|
8125
8142
|
this.name = _data["name"];
|
|
@@ -8139,6 +8156,13 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8139
8156
|
this.creditServerDisconnectedTimestamp = _data["creditServerDisconnectedTimestamp"] ? moment(_data["creditServerDisconnectedTimestamp"].toString()) : undefined;
|
|
8140
8157
|
this.mainControllerDisconnectedTimestamp = _data["mainControllerDisconnectedTimestamp"] ? moment(_data["mainControllerDisconnectedTimestamp"].toString()) : undefined;
|
|
8141
8158
|
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
|
+
}
|
|
8142
8166
|
if (Array.isArray(_data["featurePermissions"])) {
|
|
8143
8167
|
this.featurePermissions = [];
|
|
8144
8168
|
for (let item of _data["featurePermissions"])
|
|
@@ -8157,6 +8181,7 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8157
8181
|
data["id"] = this.id;
|
|
8158
8182
|
data["cloudId"] = this.cloudId;
|
|
8159
8183
|
data["cloudParentId"] = this.cloudParentId;
|
|
8184
|
+
data["isBasic"] = this.isBasic;
|
|
8160
8185
|
data["multiParkParentID"] = this.multiParkParentID;
|
|
8161
8186
|
data["siteCode"] = this.siteCode;
|
|
8162
8187
|
data["name"] = this.name;
|
|
@@ -8176,6 +8201,13 @@ let FacilityBasicDto$1 = class FacilityBasicDto {
|
|
|
8176
8201
|
data["creditServerDisconnectedTimestamp"] = this.creditServerDisconnectedTimestamp ? this.creditServerDisconnectedTimestamp.toISOString() : undefined;
|
|
8177
8202
|
data["mainControllerDisconnectedTimestamp"] = this.mainControllerDisconnectedTimestamp ? this.mainControllerDisconnectedTimestamp.toISOString() : undefined;
|
|
8178
8203
|
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
|
+
}
|
|
8179
8211
|
if (Array.isArray(this.featurePermissions)) {
|
|
8180
8212
|
data["featurePermissions"] = [];
|
|
8181
8213
|
for (let item of this.featurePermissions)
|
|
@@ -16499,45 +16531,31 @@ class AccountServiceProxy {
|
|
|
16499
16531
|
return of(null);
|
|
16500
16532
|
}
|
|
16501
16533
|
/**
|
|
16502
|
-
* @param
|
|
16503
|
-
* @param parkId (optional)
|
|
16504
|
-
* @param appModule (optional)
|
|
16505
|
-
* @param subCompanyId (optional)
|
|
16534
|
+
* @param body (optional)
|
|
16506
16535
|
* @return Success
|
|
16507
16536
|
*/
|
|
16508
|
-
|
|
16509
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/
|
|
16537
|
+
updateParkingNowCounter(guid, body) {
|
|
16538
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/parking-now-counter";
|
|
16510
16539
|
if (guid === undefined || guid === null)
|
|
16511
16540
|
throw new Error("The parameter 'guid' must be defined.");
|
|
16512
16541
|
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) + "&";
|
|
16527
16542
|
url_ = url_.replace(/[?&]$/, "");
|
|
16543
|
+
const content_ = JSON.stringify(body);
|
|
16528
16544
|
let options_ = {
|
|
16545
|
+
body: content_,
|
|
16529
16546
|
observe: "response",
|
|
16530
16547
|
responseType: "blob",
|
|
16531
16548
|
headers: new HttpHeaders({
|
|
16549
|
+
"Content-Type": "application/json-patch+json",
|
|
16532
16550
|
"Accept": "text/plain"
|
|
16533
16551
|
})
|
|
16534
16552
|
};
|
|
16535
|
-
return this.http.request("
|
|
16536
|
-
return this.
|
|
16553
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
16554
|
+
return this.processUpdateParkingNowCounter(response_);
|
|
16537
16555
|
})).pipe(catchError((response_) => {
|
|
16538
16556
|
if (response_ instanceof HttpResponseBase) {
|
|
16539
16557
|
try {
|
|
16540
|
-
return this.
|
|
16558
|
+
return this.processUpdateParkingNowCounter(response_);
|
|
16541
16559
|
}
|
|
16542
16560
|
catch (e) {
|
|
16543
16561
|
return throwError(e);
|
|
@@ -16547,7 +16565,7 @@ class AccountServiceProxy {
|
|
|
16547
16565
|
return throwError(response_);
|
|
16548
16566
|
}));
|
|
16549
16567
|
}
|
|
16550
|
-
|
|
16568
|
+
processUpdateParkingNowCounter(response) {
|
|
16551
16569
|
const status = response.status;
|
|
16552
16570
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
16553
16571
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -16561,7 +16579,7 @@ class AccountServiceProxy {
|
|
|
16561
16579
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
16562
16580
|
let result200 = null;
|
|
16563
16581
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16564
|
-
result200 =
|
|
16582
|
+
result200 = Int32HttpResponseData.fromJS(resultData200);
|
|
16565
16583
|
return of(result200);
|
|
16566
16584
|
}));
|
|
16567
16585
|
}
|
|
@@ -16573,31 +16591,61 @@ class AccountServiceProxy {
|
|
|
16573
16591
|
return of(null);
|
|
16574
16592
|
}
|
|
16575
16593
|
/**
|
|
16576
|
-
* @param
|
|
16594
|
+
* @param companyId (optional)
|
|
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)
|
|
16577
16602
|
* @return Success
|
|
16578
16603
|
*/
|
|
16579
|
-
|
|
16580
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/
|
|
16604
|
+
getCounters(companyId, parkId, appModule, subCompanyId, permittedCompaniesFilterDto_PermittedCompanyIds, permittedCompaniesFilterDto_PermittedSubCompanyIds, permittedCompaniesFilterDto_AllPermitted, permittedCompaniesFilterDto_AllSubCompaniesPermitted, guid) {
|
|
16605
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/account/counters?";
|
|
16581
16606
|
if (guid === undefined || guid === null)
|
|
16582
16607
|
throw new Error("The parameter 'guid' must be defined.");
|
|
16583
16608
|
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) + "&";
|
|
16584
16635
|
url_ = url_.replace(/[?&]$/, "");
|
|
16585
|
-
const content_ = JSON.stringify(body);
|
|
16586
16636
|
let options_ = {
|
|
16587
|
-
body: content_,
|
|
16588
16637
|
observe: "response",
|
|
16589
16638
|
responseType: "blob",
|
|
16590
16639
|
headers: new HttpHeaders({
|
|
16591
|
-
"Content-Type": "application/json-patch+json",
|
|
16592
16640
|
"Accept": "text/plain"
|
|
16593
16641
|
})
|
|
16594
16642
|
};
|
|
16595
|
-
return this.http.request("
|
|
16596
|
-
return this.
|
|
16643
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
16644
|
+
return this.processGetCounters(response_);
|
|
16597
16645
|
})).pipe(catchError((response_) => {
|
|
16598
16646
|
if (response_ instanceof HttpResponseBase) {
|
|
16599
16647
|
try {
|
|
16600
|
-
return this.
|
|
16648
|
+
return this.processGetCounters(response_);
|
|
16601
16649
|
}
|
|
16602
16650
|
catch (e) {
|
|
16603
16651
|
return throwError(e);
|
|
@@ -16607,7 +16655,7 @@ class AccountServiceProxy {
|
|
|
16607
16655
|
return throwError(response_);
|
|
16608
16656
|
}));
|
|
16609
16657
|
}
|
|
16610
|
-
|
|
16658
|
+
processGetCounters(response) {
|
|
16611
16659
|
const status = response.status;
|
|
16612
16660
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
16613
16661
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -16621,7 +16669,7 @@ class AccountServiceProxy {
|
|
|
16621
16669
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
16622
16670
|
let result200 = null;
|
|
16623
16671
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
16624
|
-
result200 =
|
|
16672
|
+
result200 = CountersDtoHttpResponseData.fromJS(resultData200);
|
|
16625
16673
|
return of(result200);
|
|
16626
16674
|
}));
|
|
16627
16675
|
}
|
|
@@ -17210,16 +17258,11 @@ class ChaserTicketServiceProxy {
|
|
|
17210
17258
|
}
|
|
17211
17259
|
/**
|
|
17212
17260
|
* @param dateValidity (optional)
|
|
17261
|
+
* @param body (optional)
|
|
17213
17262
|
* @return Success
|
|
17214
17263
|
*/
|
|
17215
|
-
|
|
17216
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
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));
|
|
17264
|
+
createCouponBatch(dateValidity, guid, body) {
|
|
17265
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/create?";
|
|
17223
17266
|
if (guid === undefined || guid === null)
|
|
17224
17267
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17225
17268
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17228,141 +17271,22 @@ class ChaserTicketServiceProxy {
|
|
|
17228
17271
|
else if (dateValidity !== undefined)
|
|
17229
17272
|
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17230
17273
|
url_ = url_.replace(/[?&]$/, "");
|
|
17274
|
+
const content_ = JSON.stringify(body);
|
|
17231
17275
|
let options_ = {
|
|
17276
|
+
body: content_,
|
|
17232
17277
|
observe: "response",
|
|
17233
17278
|
responseType: "blob",
|
|
17234
17279
|
headers: new HttpHeaders({
|
|
17280
|
+
"Content-Type": "application/json-patch+json",
|
|
17235
17281
|
"Accept": "text/plain"
|
|
17236
17282
|
})
|
|
17237
17283
|
};
|
|
17238
|
-
return this.http.request("
|
|
17239
|
-
return this.
|
|
17240
|
-
})).pipe(catchError((response_) => {
|
|
17241
|
-
if (response_ instanceof HttpResponseBase) {
|
|
17242
|
-
try {
|
|
17243
|
-
return this.processCouponsByBatchId(response_);
|
|
17244
|
-
}
|
|
17245
|
-
catch (e) {
|
|
17246
|
-
return throwError(e);
|
|
17247
|
-
}
|
|
17248
|
-
}
|
|
17249
|
-
else
|
|
17250
|
-
return throwError(response_);
|
|
17251
|
-
}));
|
|
17252
|
-
}
|
|
17253
|
-
processCouponsByBatchId(response) {
|
|
17254
|
-
const status = response.status;
|
|
17255
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17256
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
17257
|
-
let _headers = {};
|
|
17258
|
-
if (response.headers) {
|
|
17259
|
-
for (let key of response.headers.keys()) {
|
|
17260
|
-
_headers[key] = response.headers.get(key);
|
|
17261
|
-
}
|
|
17262
|
-
}
|
|
17263
|
-
if (status === 200) {
|
|
17264
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17265
|
-
let result200 = null;
|
|
17266
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17267
|
-
result200 = CouponDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
17268
|
-
return of(result200);
|
|
17269
|
-
}));
|
|
17270
|
-
}
|
|
17271
|
-
else if (status !== 200 && status !== 204) {
|
|
17272
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17273
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17274
|
-
}));
|
|
17275
|
-
}
|
|
17276
|
-
return of(null);
|
|
17277
|
-
}
|
|
17278
|
-
/**
|
|
17279
|
-
* @return Success
|
|
17280
|
-
* @deprecated
|
|
17281
|
-
*/
|
|
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));
|
|
17287
|
-
if (guid === undefined || guid === null)
|
|
17288
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
17289
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17290
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
17291
|
-
let options_ = {
|
|
17292
|
-
observe: "response",
|
|
17293
|
-
responseType: "blob",
|
|
17294
|
-
headers: new HttpHeaders({
|
|
17295
|
-
"Accept": "text/plain"
|
|
17296
|
-
})
|
|
17297
|
-
};
|
|
17298
|
-
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
17299
|
-
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
17300
|
-
})).pipe(catchError((response_) => {
|
|
17301
|
-
if (response_ instanceof HttpResponseBase) {
|
|
17302
|
-
try {
|
|
17303
|
-
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
17304
|
-
}
|
|
17305
|
-
catch (e) {
|
|
17306
|
-
return throwError(e);
|
|
17307
|
-
}
|
|
17308
|
-
}
|
|
17309
|
-
else
|
|
17310
|
-
return throwError(response_);
|
|
17311
|
-
}));
|
|
17312
|
-
}
|
|
17313
|
-
processCouponBatchDeepSearchDeprecated(response) {
|
|
17314
|
-
const status = response.status;
|
|
17315
|
-
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17316
|
-
response.error instanceof Blob ? response.error : undefined;
|
|
17317
|
-
let _headers = {};
|
|
17318
|
-
if (response.headers) {
|
|
17319
|
-
for (let key of response.headers.keys()) {
|
|
17320
|
-
_headers[key] = response.headers.get(key);
|
|
17321
|
-
}
|
|
17322
|
-
}
|
|
17323
|
-
if (status === 200) {
|
|
17324
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17325
|
-
let result200 = null;
|
|
17326
|
-
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17327
|
-
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
17328
|
-
return of(result200);
|
|
17329
|
-
}));
|
|
17330
|
-
}
|
|
17331
|
-
else if (status !== 200 && status !== 204) {
|
|
17332
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17333
|
-
return throwException$1("An unexpected server error occurred.", status, _responseText, _headers);
|
|
17334
|
-
}));
|
|
17335
|
-
}
|
|
17336
|
-
return of(null);
|
|
17337
|
-
}
|
|
17338
|
-
/**
|
|
17339
|
-
* @return Success
|
|
17340
|
-
*/
|
|
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));
|
|
17349
|
-
if (guid === undefined || guid === null)
|
|
17350
|
-
throw new Error("The parameter 'guid' must be defined.");
|
|
17351
|
-
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17352
|
-
url_ = url_.replace(/[?&]$/, "");
|
|
17353
|
-
let options_ = {
|
|
17354
|
-
observe: "response",
|
|
17355
|
-
responseType: "blob",
|
|
17356
|
-
headers: new HttpHeaders({
|
|
17357
|
-
"Accept": "text/plain"
|
|
17358
|
-
})
|
|
17359
|
-
};
|
|
17360
|
-
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
17361
|
-
return this.processCouponBatchDeepSearch(response_);
|
|
17284
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17285
|
+
return this.processCreateCouponBatch(response_);
|
|
17362
17286
|
})).pipe(catchError((response_) => {
|
|
17363
17287
|
if (response_ instanceof HttpResponseBase) {
|
|
17364
17288
|
try {
|
|
17365
|
-
return this.
|
|
17289
|
+
return this.processCreateCouponBatch(response_);
|
|
17366
17290
|
}
|
|
17367
17291
|
catch (e) {
|
|
17368
17292
|
return throwError(e);
|
|
@@ -17372,7 +17296,7 @@ class ChaserTicketServiceProxy {
|
|
|
17372
17296
|
return throwError(response_);
|
|
17373
17297
|
}));
|
|
17374
17298
|
}
|
|
17375
|
-
|
|
17299
|
+
processCreateCouponBatch(response) {
|
|
17376
17300
|
const status = response.status;
|
|
17377
17301
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17378
17302
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17386,7 +17310,7 @@ class ChaserTicketServiceProxy {
|
|
|
17386
17310
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17387
17311
|
let result200 = null;
|
|
17388
17312
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17389
|
-
result200 =
|
|
17313
|
+
result200 = CouponBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17390
17314
|
return of(result200);
|
|
17391
17315
|
}));
|
|
17392
17316
|
}
|
|
@@ -17398,31 +17322,36 @@ class ChaserTicketServiceProxy {
|
|
|
17398
17322
|
return of(null);
|
|
17399
17323
|
}
|
|
17400
17324
|
/**
|
|
17325
|
+
* @param dateValidity (optional)
|
|
17326
|
+
* @param body (optional)
|
|
17401
17327
|
* @return Success
|
|
17402
|
-
* @deprecated
|
|
17403
17328
|
*/
|
|
17404
|
-
|
|
17405
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
17406
|
-
if (entityId === undefined || entityId === null)
|
|
17407
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
17408
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
17329
|
+
createBasicCouponBatch(dateValidity, guid, body) {
|
|
17330
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/create-basic?";
|
|
17409
17331
|
if (guid === undefined || guid === null)
|
|
17410
17332
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17411
17333
|
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) + "&";
|
|
17412
17338
|
url_ = url_.replace(/[?&]$/, "");
|
|
17339
|
+
const content_ = JSON.stringify(body);
|
|
17413
17340
|
let options_ = {
|
|
17341
|
+
body: content_,
|
|
17414
17342
|
observe: "response",
|
|
17415
17343
|
responseType: "blob",
|
|
17416
17344
|
headers: new HttpHeaders({
|
|
17345
|
+
"Content-Type": "application/json-patch+json",
|
|
17417
17346
|
"Accept": "text/plain"
|
|
17418
17347
|
})
|
|
17419
17348
|
};
|
|
17420
|
-
return this.http.request("
|
|
17421
|
-
return this.
|
|
17349
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17350
|
+
return this.processCreateBasicCouponBatch(response_);
|
|
17422
17351
|
})).pipe(catchError((response_) => {
|
|
17423
17352
|
if (response_ instanceof HttpResponseBase) {
|
|
17424
17353
|
try {
|
|
17425
|
-
return this.
|
|
17354
|
+
return this.processCreateBasicCouponBatch(response_);
|
|
17426
17355
|
}
|
|
17427
17356
|
catch (e) {
|
|
17428
17357
|
return throwError(e);
|
|
@@ -17432,7 +17361,7 @@ class ChaserTicketServiceProxy {
|
|
|
17432
17361
|
return throwError(response_);
|
|
17433
17362
|
}));
|
|
17434
17363
|
}
|
|
17435
|
-
|
|
17364
|
+
processCreateBasicCouponBatch(response) {
|
|
17436
17365
|
const status = response.status;
|
|
17437
17366
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17438
17367
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17446,7 +17375,7 @@ class ChaserTicketServiceProxy {
|
|
|
17446
17375
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17447
17376
|
let result200 = null;
|
|
17448
17377
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17449
|
-
result200 =
|
|
17378
|
+
result200 = CouponBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17450
17379
|
return of(result200);
|
|
17451
17380
|
}));
|
|
17452
17381
|
}
|
|
@@ -17458,33 +17387,36 @@ class ChaserTicketServiceProxy {
|
|
|
17458
17387
|
return of(null);
|
|
17459
17388
|
}
|
|
17460
17389
|
/**
|
|
17390
|
+
* @param dateValidity (optional)
|
|
17391
|
+
* @param body (optional)
|
|
17461
17392
|
* @return Success
|
|
17462
17393
|
*/
|
|
17463
|
-
|
|
17464
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon
|
|
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));
|
|
17394
|
+
updateCouponBatch(dateValidity, guid, body) {
|
|
17395
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon?";
|
|
17471
17396
|
if (guid === undefined || guid === null)
|
|
17472
17397
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17473
17398
|
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) + "&";
|
|
17474
17403
|
url_ = url_.replace(/[?&]$/, "");
|
|
17404
|
+
const content_ = JSON.stringify(body);
|
|
17475
17405
|
let options_ = {
|
|
17406
|
+
body: content_,
|
|
17476
17407
|
observe: "response",
|
|
17477
17408
|
responseType: "blob",
|
|
17478
17409
|
headers: new HttpHeaders({
|
|
17410
|
+
"Content-Type": "application/json-patch+json",
|
|
17479
17411
|
"Accept": "text/plain"
|
|
17480
17412
|
})
|
|
17481
17413
|
};
|
|
17482
|
-
return this.http.request("
|
|
17483
|
-
return this.
|
|
17414
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17415
|
+
return this.processUpdateCouponBatch(response_);
|
|
17484
17416
|
})).pipe(catchError((response_) => {
|
|
17485
17417
|
if (response_ instanceof HttpResponseBase) {
|
|
17486
17418
|
try {
|
|
17487
|
-
return this.
|
|
17419
|
+
return this.processUpdateCouponBatch(response_);
|
|
17488
17420
|
}
|
|
17489
17421
|
catch (e) {
|
|
17490
17422
|
return throwError(e);
|
|
@@ -17494,7 +17426,7 @@ class ChaserTicketServiceProxy {
|
|
|
17494
17426
|
return throwError(response_);
|
|
17495
17427
|
}));
|
|
17496
17428
|
}
|
|
17497
|
-
|
|
17429
|
+
processUpdateCouponBatch(response) {
|
|
17498
17430
|
const status = response.status;
|
|
17499
17431
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17500
17432
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17508,7 +17440,7 @@ class ChaserTicketServiceProxy {
|
|
|
17508
17440
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17509
17441
|
let result200 = null;
|
|
17510
17442
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17511
|
-
result200 =
|
|
17443
|
+
result200 = CouponBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17512
17444
|
return of(result200);
|
|
17513
17445
|
}));
|
|
17514
17446
|
}
|
|
@@ -17524,8 +17456,8 @@ class ChaserTicketServiceProxy {
|
|
|
17524
17456
|
* @param body (optional)
|
|
17525
17457
|
* @return Success
|
|
17526
17458
|
*/
|
|
17527
|
-
|
|
17528
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
17459
|
+
markCouponBatchAsSent(dateValidity, guid, body) {
|
|
17460
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/mark-batch-as-sent?";
|
|
17529
17461
|
if (guid === undefined || guid === null)
|
|
17530
17462
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17531
17463
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17544,12 +17476,12 @@ class ChaserTicketServiceProxy {
|
|
|
17544
17476
|
"Accept": "text/plain"
|
|
17545
17477
|
})
|
|
17546
17478
|
};
|
|
17547
|
-
return this.http.request("
|
|
17548
|
-
return this.
|
|
17479
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17480
|
+
return this.processMarkCouponBatchAsSent(response_);
|
|
17549
17481
|
})).pipe(catchError((response_) => {
|
|
17550
17482
|
if (response_ instanceof HttpResponseBase) {
|
|
17551
17483
|
try {
|
|
17552
|
-
return this.
|
|
17484
|
+
return this.processMarkCouponBatchAsSent(response_);
|
|
17553
17485
|
}
|
|
17554
17486
|
catch (e) {
|
|
17555
17487
|
return throwError(e);
|
|
@@ -17559,7 +17491,7 @@ class ChaserTicketServiceProxy {
|
|
|
17559
17491
|
return throwError(response_);
|
|
17560
17492
|
}));
|
|
17561
17493
|
}
|
|
17562
|
-
|
|
17494
|
+
processMarkCouponBatchAsSent(response) {
|
|
17563
17495
|
const status = response.status;
|
|
17564
17496
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17565
17497
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17589,8 +17521,8 @@ class ChaserTicketServiceProxy {
|
|
|
17589
17521
|
* @param body (optional)
|
|
17590
17522
|
* @return Success
|
|
17591
17523
|
*/
|
|
17592
|
-
|
|
17593
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/
|
|
17524
|
+
markSingleCouponAsSent(dateValidity, guid, body) {
|
|
17525
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/mark-as-sent?";
|
|
17594
17526
|
if (guid === undefined || guid === null)
|
|
17595
17527
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17596
17528
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17609,12 +17541,12 @@ class ChaserTicketServiceProxy {
|
|
|
17609
17541
|
"Accept": "text/plain"
|
|
17610
17542
|
})
|
|
17611
17543
|
};
|
|
17612
|
-
return this.http.request("
|
|
17613
|
-
return this.
|
|
17544
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17545
|
+
return this.processMarkSingleCouponAsSent(response_);
|
|
17614
17546
|
})).pipe(catchError((response_) => {
|
|
17615
17547
|
if (response_ instanceof HttpResponseBase) {
|
|
17616
17548
|
try {
|
|
17617
|
-
return this.
|
|
17549
|
+
return this.processMarkSingleCouponAsSent(response_);
|
|
17618
17550
|
}
|
|
17619
17551
|
catch (e) {
|
|
17620
17552
|
return throwError(e);
|
|
@@ -17624,7 +17556,7 @@ class ChaserTicketServiceProxy {
|
|
|
17624
17556
|
return throwError(response_);
|
|
17625
17557
|
}));
|
|
17626
17558
|
}
|
|
17627
|
-
|
|
17559
|
+
processMarkSingleCouponAsSent(response) {
|
|
17628
17560
|
const status = response.status;
|
|
17629
17561
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17630
17562
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17638,7 +17570,7 @@ class ChaserTicketServiceProxy {
|
|
|
17638
17570
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17639
17571
|
let result200 = null;
|
|
17640
17572
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17641
|
-
result200 =
|
|
17573
|
+
result200 = CouponDtoHttpResponseData.fromJS(resultData200);
|
|
17642
17574
|
return of(result200);
|
|
17643
17575
|
}));
|
|
17644
17576
|
}
|
|
@@ -17650,19 +17582,56 @@ class ChaserTicketServiceProxy {
|
|
|
17650
17582
|
return of(null);
|
|
17651
17583
|
}
|
|
17652
17584
|
/**
|
|
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)
|
|
17653
17594
|
* @param dateValidity (optional)
|
|
17595
|
+
* @param chaserTicketSearchFieldSelector (optional)
|
|
17654
17596
|
* @param body (optional)
|
|
17655
17597
|
* @return Success
|
|
17656
17598
|
*/
|
|
17657
|
-
|
|
17658
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17599
|
+
stickersBatches(parkId, startDate, endDate, searchValue, companyId, subCompanyId, take, skip, orderBy_Column, orderBy_OrderDirection, dateValidity, chaserTicketSearchFieldSelector, guid, body) {
|
|
17600
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}?";
|
|
17601
|
+
if (parkId === undefined || parkId === null)
|
|
17602
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
17603
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17659
17604
|
if (guid === undefined || guid === null)
|
|
17660
17605
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17661
17606
|
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) + "&";
|
|
17662
17627
|
if (dateValidity === null)
|
|
17663
17628
|
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
17664
17629
|
else if (dateValidity !== undefined)
|
|
17665
17630
|
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) + "&";
|
|
17666
17635
|
url_ = url_.replace(/[?&]$/, "");
|
|
17667
17636
|
const content_ = JSON.stringify(body);
|
|
17668
17637
|
let options_ = {
|
|
@@ -17674,12 +17643,12 @@ class ChaserTicketServiceProxy {
|
|
|
17674
17643
|
"Accept": "text/plain"
|
|
17675
17644
|
})
|
|
17676
17645
|
};
|
|
17677
|
-
return this.http.request("
|
|
17678
|
-
return this.
|
|
17646
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17647
|
+
return this.processStickersBatches(response_);
|
|
17679
17648
|
})).pipe(catchError((response_) => {
|
|
17680
17649
|
if (response_ instanceof HttpResponseBase) {
|
|
17681
17650
|
try {
|
|
17682
|
-
return this.
|
|
17651
|
+
return this.processStickersBatches(response_);
|
|
17683
17652
|
}
|
|
17684
17653
|
catch (e) {
|
|
17685
17654
|
return throwError(e);
|
|
@@ -17689,7 +17658,7 @@ class ChaserTicketServiceProxy {
|
|
|
17689
17658
|
return throwError(response_);
|
|
17690
17659
|
}));
|
|
17691
17660
|
}
|
|
17692
|
-
|
|
17661
|
+
processStickersBatches(response) {
|
|
17693
17662
|
const status = response.status;
|
|
17694
17663
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17695
17664
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17703,7 +17672,7 @@ class ChaserTicketServiceProxy {
|
|
|
17703
17672
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17704
17673
|
let result200 = null;
|
|
17705
17674
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17706
|
-
result200 =
|
|
17675
|
+
result200 = StickerBatchDtoEntityWrapperDtoHttpResponseData.fromJS(resultData200);
|
|
17707
17676
|
return of(result200);
|
|
17708
17677
|
}));
|
|
17709
17678
|
}
|
|
@@ -17719,8 +17688,8 @@ class ChaserTicketServiceProxy {
|
|
|
17719
17688
|
* @param body (optional)
|
|
17720
17689
|
* @return Success
|
|
17721
17690
|
*/
|
|
17722
|
-
|
|
17723
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17691
|
+
createStickerBatch(dateValidity, guid, body) {
|
|
17692
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/create?";
|
|
17724
17693
|
if (guid === undefined || guid === null)
|
|
17725
17694
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17726
17695
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17739,12 +17708,12 @@ class ChaserTicketServiceProxy {
|
|
|
17739
17708
|
"Accept": "text/plain"
|
|
17740
17709
|
})
|
|
17741
17710
|
};
|
|
17742
|
-
return this.http.request("
|
|
17743
|
-
return this.
|
|
17711
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17712
|
+
return this.processCreateStickerBatch(response_);
|
|
17744
17713
|
})).pipe(catchError((response_) => {
|
|
17745
17714
|
if (response_ instanceof HttpResponseBase) {
|
|
17746
17715
|
try {
|
|
17747
|
-
return this.
|
|
17716
|
+
return this.processCreateStickerBatch(response_);
|
|
17748
17717
|
}
|
|
17749
17718
|
catch (e) {
|
|
17750
17719
|
return throwError(e);
|
|
@@ -17754,7 +17723,7 @@ class ChaserTicketServiceProxy {
|
|
|
17754
17723
|
return throwError(response_);
|
|
17755
17724
|
}));
|
|
17756
17725
|
}
|
|
17757
|
-
|
|
17726
|
+
processCreateStickerBatch(response) {
|
|
17758
17727
|
const status = response.status;
|
|
17759
17728
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17760
17729
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17768,7 +17737,7 @@ class ChaserTicketServiceProxy {
|
|
|
17768
17737
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17769
17738
|
let result200 = null;
|
|
17770
17739
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17771
|
-
result200 =
|
|
17740
|
+
result200 = StickerBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17772
17741
|
return of(result200);
|
|
17773
17742
|
}));
|
|
17774
17743
|
}
|
|
@@ -17784,8 +17753,8 @@ class ChaserTicketServiceProxy {
|
|
|
17784
17753
|
* @param body (optional)
|
|
17785
17754
|
* @return Success
|
|
17786
17755
|
*/
|
|
17787
|
-
|
|
17788
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17756
|
+
createBasicStickerBatch(dateValidity, guid, body) {
|
|
17757
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/create-basic?";
|
|
17789
17758
|
if (guid === undefined || guid === null)
|
|
17790
17759
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17791
17760
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -17804,12 +17773,12 @@ class ChaserTicketServiceProxy {
|
|
|
17804
17773
|
"Accept": "text/plain"
|
|
17805
17774
|
})
|
|
17806
17775
|
};
|
|
17807
|
-
return this.http.request("
|
|
17808
|
-
return this.
|
|
17776
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17777
|
+
return this.processCreateBasicStickerBatch(response_);
|
|
17809
17778
|
})).pipe(catchError((response_) => {
|
|
17810
17779
|
if (response_ instanceof HttpResponseBase) {
|
|
17811
17780
|
try {
|
|
17812
|
-
return this.
|
|
17781
|
+
return this.processCreateBasicStickerBatch(response_);
|
|
17813
17782
|
}
|
|
17814
17783
|
catch (e) {
|
|
17815
17784
|
return throwError(e);
|
|
@@ -17819,7 +17788,7 @@ class ChaserTicketServiceProxy {
|
|
|
17819
17788
|
return throwError(response_);
|
|
17820
17789
|
}));
|
|
17821
17790
|
}
|
|
17822
|
-
|
|
17791
|
+
processCreateBasicStickerBatch(response) {
|
|
17823
17792
|
const status = response.status;
|
|
17824
17793
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17825
17794
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17833,7 +17802,7 @@ class ChaserTicketServiceProxy {
|
|
|
17833
17802
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17834
17803
|
let result200 = null;
|
|
17835
17804
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17836
|
-
result200 =
|
|
17805
|
+
result200 = StickerBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17837
17806
|
return of(result200);
|
|
17838
17807
|
}));
|
|
17839
17808
|
}
|
|
@@ -17845,35 +17814,36 @@ class ChaserTicketServiceProxy {
|
|
|
17845
17814
|
return of(null);
|
|
17846
17815
|
}
|
|
17847
17816
|
/**
|
|
17848
|
-
* @param
|
|
17817
|
+
* @param dateValidity (optional)
|
|
17818
|
+
* @param body (optional)
|
|
17849
17819
|
* @return Success
|
|
17850
17820
|
*/
|
|
17851
|
-
|
|
17852
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
17853
|
-
if (id === undefined || id === null)
|
|
17854
|
-
throw new Error("The parameter 'id' must be defined.");
|
|
17855
|
-
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
17821
|
+
updateStickerBatch(dateValidity, guid, body) {
|
|
17822
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker?";
|
|
17856
17823
|
if (guid === undefined || guid === null)
|
|
17857
17824
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17858
17825
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
17859
|
-
if (
|
|
17860
|
-
throw new Error("The parameter '
|
|
17861
|
-
else if (
|
|
17862
|
-
url_ += "
|
|
17826
|
+
if (dateValidity === null)
|
|
17827
|
+
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
17828
|
+
else if (dateValidity !== undefined)
|
|
17829
|
+
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
17863
17830
|
url_ = url_.replace(/[?&]$/, "");
|
|
17831
|
+
const content_ = JSON.stringify(body);
|
|
17864
17832
|
let options_ = {
|
|
17833
|
+
body: content_,
|
|
17865
17834
|
observe: "response",
|
|
17866
17835
|
responseType: "blob",
|
|
17867
17836
|
headers: new HttpHeaders({
|
|
17837
|
+
"Content-Type": "application/json-patch+json",
|
|
17868
17838
|
"Accept": "text/plain"
|
|
17869
17839
|
})
|
|
17870
17840
|
};
|
|
17871
|
-
return this.http.request("
|
|
17872
|
-
return this.
|
|
17841
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17842
|
+
return this.processUpdateStickerBatch(response_);
|
|
17873
17843
|
})).pipe(catchError((response_) => {
|
|
17874
17844
|
if (response_ instanceof HttpResponseBase) {
|
|
17875
17845
|
try {
|
|
17876
|
-
return this.
|
|
17846
|
+
return this.processUpdateStickerBatch(response_);
|
|
17877
17847
|
}
|
|
17878
17848
|
catch (e) {
|
|
17879
17849
|
return throwError(e);
|
|
@@ -17883,7 +17853,7 @@ class ChaserTicketServiceProxy {
|
|
|
17883
17853
|
return throwError(response_);
|
|
17884
17854
|
}));
|
|
17885
17855
|
}
|
|
17886
|
-
|
|
17856
|
+
processUpdateStickerBatch(response) {
|
|
17887
17857
|
const status = response.status;
|
|
17888
17858
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17889
17859
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17897,7 +17867,7 @@ class ChaserTicketServiceProxy {
|
|
|
17897
17867
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
17898
17868
|
let result200 = null;
|
|
17899
17869
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
17900
|
-
result200 =
|
|
17870
|
+
result200 = StickerBatchDtoHttpResponseData.fromJS(resultData200);
|
|
17901
17871
|
return of(result200);
|
|
17902
17872
|
}));
|
|
17903
17873
|
}
|
|
@@ -17909,56 +17879,19 @@ class ChaserTicketServiceProxy {
|
|
|
17909
17879
|
return of(null);
|
|
17910
17880
|
}
|
|
17911
17881
|
/**
|
|
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)
|
|
17921
17882
|
* @param dateValidity (optional)
|
|
17922
|
-
* @param chaserTicketSearchFieldSelector (optional)
|
|
17923
17883
|
* @param body (optional)
|
|
17924
17884
|
* @return Success
|
|
17925
17885
|
*/
|
|
17926
|
-
|
|
17927
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/
|
|
17928
|
-
if (parkId === undefined || parkId === null)
|
|
17929
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
17930
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
17886
|
+
markStickerBatchAsSent(dateValidity, guid, body) {
|
|
17887
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/mark-batch-as-sent?";
|
|
17931
17888
|
if (guid === undefined || guid === null)
|
|
17932
17889
|
throw new Error("The parameter 'guid' must be defined.");
|
|
17933
17890
|
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) + "&";
|
|
17954
17891
|
if (dateValidity === null)
|
|
17955
17892
|
throw new Error("The parameter 'dateValidity' cannot be null.");
|
|
17956
17893
|
else if (dateValidity !== undefined)
|
|
17957
17894
|
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) + "&";
|
|
17962
17895
|
url_ = url_.replace(/[?&]$/, "");
|
|
17963
17896
|
const content_ = JSON.stringify(body);
|
|
17964
17897
|
let options_ = {
|
|
@@ -17970,12 +17903,12 @@ class ChaserTicketServiceProxy {
|
|
|
17970
17903
|
"Accept": "text/plain"
|
|
17971
17904
|
})
|
|
17972
17905
|
};
|
|
17973
|
-
return this.http.request("
|
|
17974
|
-
return this.
|
|
17906
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
17907
|
+
return this.processMarkStickerBatchAsSent(response_);
|
|
17975
17908
|
})).pipe(catchError((response_) => {
|
|
17976
17909
|
if (response_ instanceof HttpResponseBase) {
|
|
17977
17910
|
try {
|
|
17978
|
-
return this.
|
|
17911
|
+
return this.processMarkStickerBatchAsSent(response_);
|
|
17979
17912
|
}
|
|
17980
17913
|
catch (e) {
|
|
17981
17914
|
return throwError(e);
|
|
@@ -17985,7 +17918,7 @@ class ChaserTicketServiceProxy {
|
|
|
17985
17918
|
return throwError(response_);
|
|
17986
17919
|
}));
|
|
17987
17920
|
}
|
|
17988
|
-
|
|
17921
|
+
processMarkStickerBatchAsSent(response) {
|
|
17989
17922
|
const status = response.status;
|
|
17990
17923
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
17991
17924
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -17999,7 +17932,7 @@ class ChaserTicketServiceProxy {
|
|
|
17999
17932
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18000
17933
|
let result200 = null;
|
|
18001
17934
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18002
|
-
result200 =
|
|
17935
|
+
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18003
17936
|
return of(result200);
|
|
18004
17937
|
}));
|
|
18005
17938
|
}
|
|
@@ -18011,38 +17944,31 @@ class ChaserTicketServiceProxy {
|
|
|
18011
17944
|
return of(null);
|
|
18012
17945
|
}
|
|
18013
17946
|
/**
|
|
18014
|
-
* @param
|
|
17947
|
+
* @param body (optional)
|
|
18015
17948
|
* @return Success
|
|
18016
17949
|
*/
|
|
18017
|
-
|
|
18018
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
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));
|
|
17950
|
+
sendCouponsByEmail(guid, body) {
|
|
17951
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/send-coupons-by-email";
|
|
18025
17952
|
if (guid === undefined || guid === null)
|
|
18026
17953
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18027
17954
|
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) + "&";
|
|
18032
17955
|
url_ = url_.replace(/[?&]$/, "");
|
|
17956
|
+
const content_ = JSON.stringify(body);
|
|
18033
17957
|
let options_ = {
|
|
17958
|
+
body: content_,
|
|
18034
17959
|
observe: "response",
|
|
18035
17960
|
responseType: "blob",
|
|
18036
17961
|
headers: new HttpHeaders({
|
|
17962
|
+
"Content-Type": "application/json-patch+json",
|
|
18037
17963
|
"Accept": "text/plain"
|
|
18038
17964
|
})
|
|
18039
17965
|
};
|
|
18040
|
-
return this.http.request("
|
|
18041
|
-
return this.
|
|
17966
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
17967
|
+
return this.processSendCouponsByEmail(response_);
|
|
18042
17968
|
})).pipe(catchError((response_) => {
|
|
18043
17969
|
if (response_ instanceof HttpResponseBase) {
|
|
18044
17970
|
try {
|
|
18045
|
-
return this.
|
|
17971
|
+
return this.processSendCouponsByEmail(response_);
|
|
18046
17972
|
}
|
|
18047
17973
|
catch (e) {
|
|
18048
17974
|
return throwError(e);
|
|
@@ -18052,7 +17978,7 @@ class ChaserTicketServiceProxy {
|
|
|
18052
17978
|
return throwError(response_);
|
|
18053
17979
|
}));
|
|
18054
17980
|
}
|
|
18055
|
-
|
|
17981
|
+
processSendCouponsByEmail(response) {
|
|
18056
17982
|
const status = response.status;
|
|
18057
17983
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18058
17984
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18066,7 +17992,7 @@ class ChaserTicketServiceProxy {
|
|
|
18066
17992
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18067
17993
|
let result200 = null;
|
|
18068
17994
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18069
|
-
result200 =
|
|
17995
|
+
result200 = Int32HttpResponseData.fromJS(resultData200);
|
|
18070
17996
|
return of(result200);
|
|
18071
17997
|
}));
|
|
18072
17998
|
}
|
|
@@ -18078,31 +18004,31 @@ class ChaserTicketServiceProxy {
|
|
|
18078
18004
|
return of(null);
|
|
18079
18005
|
}
|
|
18080
18006
|
/**
|
|
18007
|
+
* @param body (optional)
|
|
18081
18008
|
* @return Success
|
|
18082
|
-
* @deprecated
|
|
18083
18009
|
*/
|
|
18084
|
-
|
|
18085
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18086
|
-
if (entityId === undefined || entityId === null)
|
|
18087
|
-
throw new Error("The parameter 'entityId' must be defined.");
|
|
18088
|
-
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18010
|
+
markCouponAsUsed(guid, body) {
|
|
18011
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/mark-coupon-as-used";
|
|
18089
18012
|
if (guid === undefined || guid === null)
|
|
18090
18013
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18091
18014
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18092
18015
|
url_ = url_.replace(/[?&]$/, "");
|
|
18016
|
+
const content_ = JSON.stringify(body);
|
|
18093
18017
|
let options_ = {
|
|
18018
|
+
body: content_,
|
|
18094
18019
|
observe: "response",
|
|
18095
18020
|
responseType: "blob",
|
|
18096
18021
|
headers: new HttpHeaders({
|
|
18022
|
+
"Content-Type": "application/json-patch+json",
|
|
18097
18023
|
"Accept": "text/plain"
|
|
18098
18024
|
})
|
|
18099
18025
|
};
|
|
18100
|
-
return this.http.request("
|
|
18101
|
-
return this.
|
|
18026
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
18027
|
+
return this.processMarkCouponAsUsed(response_);
|
|
18102
18028
|
})).pipe(catchError((response_) => {
|
|
18103
18029
|
if (response_ instanceof HttpResponseBase) {
|
|
18104
18030
|
try {
|
|
18105
|
-
return this.
|
|
18031
|
+
return this.processMarkCouponAsUsed(response_);
|
|
18106
18032
|
}
|
|
18107
18033
|
catch (e) {
|
|
18108
18034
|
return throwError(e);
|
|
@@ -18112,7 +18038,7 @@ class ChaserTicketServiceProxy {
|
|
|
18112
18038
|
return throwError(response_);
|
|
18113
18039
|
}));
|
|
18114
18040
|
}
|
|
18115
|
-
|
|
18041
|
+
processMarkCouponAsUsed(response) {
|
|
18116
18042
|
const status = response.status;
|
|
18117
18043
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18118
18044
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18126,7 +18052,7 @@ class ChaserTicketServiceProxy {
|
|
|
18126
18052
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18127
18053
|
let result200 = null;
|
|
18128
18054
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18129
|
-
result200 =
|
|
18055
|
+
result200 = CouponDtoHttpResponseData.fromJS(resultData200);
|
|
18130
18056
|
return of(result200);
|
|
18131
18057
|
}));
|
|
18132
18058
|
}
|
|
@@ -18138,33 +18064,31 @@ class ChaserTicketServiceProxy {
|
|
|
18138
18064
|
return of(null);
|
|
18139
18065
|
}
|
|
18140
18066
|
/**
|
|
18067
|
+
* @param body (optional)
|
|
18141
18068
|
* @return Success
|
|
18142
18069
|
*/
|
|
18143
|
-
|
|
18144
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker
|
|
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));
|
|
18070
|
+
markStickerAsUsed(guid, body) {
|
|
18071
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/mark-sticker-as-used";
|
|
18151
18072
|
if (guid === undefined || guid === null)
|
|
18152
18073
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18153
18074
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18154
18075
|
url_ = url_.replace(/[?&]$/, "");
|
|
18076
|
+
const content_ = JSON.stringify(body);
|
|
18155
18077
|
let options_ = {
|
|
18078
|
+
body: content_,
|
|
18156
18079
|
observe: "response",
|
|
18157
18080
|
responseType: "blob",
|
|
18158
18081
|
headers: new HttpHeaders({
|
|
18082
|
+
"Content-Type": "application/json-patch+json",
|
|
18159
18083
|
"Accept": "text/plain"
|
|
18160
18084
|
})
|
|
18161
18085
|
};
|
|
18162
|
-
return this.http.request("
|
|
18163
|
-
return this.
|
|
18086
|
+
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
18087
|
+
return this.processMarkStickerAsUsed(response_);
|
|
18164
18088
|
})).pipe(catchError((response_) => {
|
|
18165
18089
|
if (response_ instanceof HttpResponseBase) {
|
|
18166
18090
|
try {
|
|
18167
|
-
return this.
|
|
18091
|
+
return this.processMarkStickerAsUsed(response_);
|
|
18168
18092
|
}
|
|
18169
18093
|
catch (e) {
|
|
18170
18094
|
return throwError(e);
|
|
@@ -18174,7 +18098,7 @@ class ChaserTicketServiceProxy {
|
|
|
18174
18098
|
return throwError(response_);
|
|
18175
18099
|
}));
|
|
18176
18100
|
}
|
|
18177
|
-
|
|
18101
|
+
processMarkStickerAsUsed(response) {
|
|
18178
18102
|
const status = response.status;
|
|
18179
18103
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18180
18104
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18188,7 +18112,7 @@ class ChaserTicketServiceProxy {
|
|
|
18188
18112
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18189
18113
|
let result200 = null;
|
|
18190
18114
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18191
|
-
result200 =
|
|
18115
|
+
result200 = StickerDtoHttpResponseData.fromJS(resultData200);
|
|
18192
18116
|
return of(result200);
|
|
18193
18117
|
}));
|
|
18194
18118
|
}
|
|
@@ -18200,17 +18124,24 @@ class ChaserTicketServiceProxy {
|
|
|
18200
18124
|
return of(null);
|
|
18201
18125
|
}
|
|
18202
18126
|
/**
|
|
18127
|
+
* @param dateValidity (optional)
|
|
18203
18128
|
* @return Success
|
|
18204
|
-
* @deprecated
|
|
18205
18129
|
*/
|
|
18206
|
-
|
|
18207
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18208
|
-
if (
|
|
18209
|
-
throw new Error("The parameter '
|
|
18210
|
-
url_ = url_.replace("{
|
|
18130
|
+
couponsByBatchId(batchId, parkId, dateValidity, guid) {
|
|
18131
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{batchId}/facility/{parkId}?";
|
|
18132
|
+
if (batchId === undefined || batchId === null)
|
|
18133
|
+
throw new Error("The parameter 'batchId' must be defined.");
|
|
18134
|
+
url_ = url_.replace("{batchId}", encodeURIComponent("" + batchId));
|
|
18135
|
+
if (parkId === undefined || parkId === null)
|
|
18136
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
18137
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18211
18138
|
if (guid === undefined || guid === null)
|
|
18212
18139
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18213
18140
|
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) + "&";
|
|
18214
18145
|
url_ = url_.replace(/[?&]$/, "");
|
|
18215
18146
|
let options_ = {
|
|
18216
18147
|
observe: "response",
|
|
@@ -18220,11 +18151,11 @@ class ChaserTicketServiceProxy {
|
|
|
18220
18151
|
})
|
|
18221
18152
|
};
|
|
18222
18153
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18223
|
-
return this.
|
|
18154
|
+
return this.processCouponsByBatchId(response_);
|
|
18224
18155
|
})).pipe(catchError((response_) => {
|
|
18225
18156
|
if (response_ instanceof HttpResponseBase) {
|
|
18226
18157
|
try {
|
|
18227
|
-
return this.
|
|
18158
|
+
return this.processCouponsByBatchId(response_);
|
|
18228
18159
|
}
|
|
18229
18160
|
catch (e) {
|
|
18230
18161
|
return throwError(e);
|
|
@@ -18234,7 +18165,7 @@ class ChaserTicketServiceProxy {
|
|
|
18234
18165
|
return throwError(response_);
|
|
18235
18166
|
}));
|
|
18236
18167
|
}
|
|
18237
|
-
|
|
18168
|
+
processCouponsByBatchId(response) {
|
|
18238
18169
|
const status = response.status;
|
|
18239
18170
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18240
18171
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18248,7 +18179,7 @@ class ChaserTicketServiceProxy {
|
|
|
18248
18179
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18249
18180
|
let result200 = null;
|
|
18250
18181
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18251
|
-
result200 =
|
|
18182
|
+
result200 = CouponDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
18252
18183
|
return of(result200);
|
|
18253
18184
|
}));
|
|
18254
18185
|
}
|
|
@@ -18261,12 +18192,10 @@ class ChaserTicketServiceProxy {
|
|
|
18261
18192
|
}
|
|
18262
18193
|
/**
|
|
18263
18194
|
* @return Success
|
|
18195
|
+
* @deprecated
|
|
18264
18196
|
*/
|
|
18265
|
-
|
|
18266
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18267
|
-
if (parkId === undefined || parkId === null)
|
|
18268
|
-
throw new Error("The parameter 'parkId' must be defined.");
|
|
18269
|
-
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
18197
|
+
couponBatchDeepSearchDeprecated(entityId, guid) {
|
|
18198
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/batch/deep-search/{entityId}";
|
|
18270
18199
|
if (entityId === undefined || entityId === null)
|
|
18271
18200
|
throw new Error("The parameter 'entityId' must be defined.");
|
|
18272
18201
|
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
@@ -18282,11 +18211,11 @@ class ChaserTicketServiceProxy {
|
|
|
18282
18211
|
})
|
|
18283
18212
|
};
|
|
18284
18213
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18285
|
-
return this.
|
|
18214
|
+
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
18286
18215
|
})).pipe(catchError((response_) => {
|
|
18287
18216
|
if (response_ instanceof HttpResponseBase) {
|
|
18288
18217
|
try {
|
|
18289
|
-
return this.
|
|
18218
|
+
return this.processCouponBatchDeepSearchDeprecated(response_);
|
|
18290
18219
|
}
|
|
18291
18220
|
catch (e) {
|
|
18292
18221
|
return throwError(e);
|
|
@@ -18296,7 +18225,7 @@ class ChaserTicketServiceProxy {
|
|
|
18296
18225
|
return throwError(response_);
|
|
18297
18226
|
}));
|
|
18298
18227
|
}
|
|
18299
|
-
|
|
18228
|
+
processCouponBatchDeepSearchDeprecated(response) {
|
|
18300
18229
|
const status = response.status;
|
|
18301
18230
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18302
18231
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18310,7 +18239,7 @@ class ChaserTicketServiceProxy {
|
|
|
18310
18239
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18311
18240
|
let result200 = null;
|
|
18312
18241
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18313
|
-
result200 =
|
|
18242
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18314
18243
|
return of(result200);
|
|
18315
18244
|
}));
|
|
18316
18245
|
}
|
|
@@ -18322,36 +18251,33 @@ class ChaserTicketServiceProxy {
|
|
|
18322
18251
|
return of(null);
|
|
18323
18252
|
}
|
|
18324
18253
|
/**
|
|
18325
|
-
* @param dateValidity (optional)
|
|
18326
|
-
* @param body (optional)
|
|
18327
18254
|
* @return Success
|
|
18328
18255
|
*/
|
|
18329
|
-
|
|
18330
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18256
|
+
couponBatchDeepSearch(parkId, entityId, guid) {
|
|
18257
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/batch/facility/{parkId}/deep-search/{entityId}";
|
|
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));
|
|
18331
18264
|
if (guid === undefined || guid === null)
|
|
18332
18265
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18333
18266
|
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) + "&";
|
|
18338
18267
|
url_ = url_.replace(/[?&]$/, "");
|
|
18339
|
-
const content_ = JSON.stringify(body);
|
|
18340
18268
|
let options_ = {
|
|
18341
|
-
body: content_,
|
|
18342
18269
|
observe: "response",
|
|
18343
18270
|
responseType: "blob",
|
|
18344
18271
|
headers: new HttpHeaders({
|
|
18345
|
-
"Content-Type": "application/json-patch+json",
|
|
18346
18272
|
"Accept": "text/plain"
|
|
18347
18273
|
})
|
|
18348
18274
|
};
|
|
18349
|
-
return this.http.request("
|
|
18350
|
-
return this.
|
|
18275
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18276
|
+
return this.processCouponBatchDeepSearch(response_);
|
|
18351
18277
|
})).pipe(catchError((response_) => {
|
|
18352
18278
|
if (response_ instanceof HttpResponseBase) {
|
|
18353
18279
|
try {
|
|
18354
|
-
return this.
|
|
18280
|
+
return this.processCouponBatchDeepSearch(response_);
|
|
18355
18281
|
}
|
|
18356
18282
|
catch (e) {
|
|
18357
18283
|
return throwError(e);
|
|
@@ -18361,7 +18287,7 @@ class ChaserTicketServiceProxy {
|
|
|
18361
18287
|
return throwError(response_);
|
|
18362
18288
|
}));
|
|
18363
18289
|
}
|
|
18364
|
-
|
|
18290
|
+
processCouponBatchDeepSearch(response) {
|
|
18365
18291
|
const status = response.status;
|
|
18366
18292
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18367
18293
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18375,7 +18301,7 @@ class ChaserTicketServiceProxy {
|
|
|
18375
18301
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18376
18302
|
let result200 = null;
|
|
18377
18303
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18378
|
-
result200 =
|
|
18304
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18379
18305
|
return of(result200);
|
|
18380
18306
|
}));
|
|
18381
18307
|
}
|
|
@@ -18387,36 +18313,31 @@ class ChaserTicketServiceProxy {
|
|
|
18387
18313
|
return of(null);
|
|
18388
18314
|
}
|
|
18389
18315
|
/**
|
|
18390
|
-
* @param dateValidity (optional)
|
|
18391
|
-
* @param body (optional)
|
|
18392
18316
|
* @return Success
|
|
18317
|
+
* @deprecated
|
|
18393
18318
|
*/
|
|
18394
|
-
|
|
18395
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18319
|
+
singleCouponDeepSearchDeprecated(entityId, guid) {
|
|
18320
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/deep-search/{entityId}";
|
|
18321
|
+
if (entityId === undefined || entityId === null)
|
|
18322
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
18323
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18396
18324
|
if (guid === undefined || guid === null)
|
|
18397
18325
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18398
18326
|
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) + "&";
|
|
18403
18327
|
url_ = url_.replace(/[?&]$/, "");
|
|
18404
|
-
const content_ = JSON.stringify(body);
|
|
18405
18328
|
let options_ = {
|
|
18406
|
-
body: content_,
|
|
18407
18329
|
observe: "response",
|
|
18408
18330
|
responseType: "blob",
|
|
18409
18331
|
headers: new HttpHeaders({
|
|
18410
|
-
"Content-Type": "application/json-patch+json",
|
|
18411
18332
|
"Accept": "text/plain"
|
|
18412
18333
|
})
|
|
18413
18334
|
};
|
|
18414
|
-
return this.http.request("
|
|
18415
|
-
return this.
|
|
18335
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18336
|
+
return this.processSingleCouponDeepSearchDeprecated(response_);
|
|
18416
18337
|
})).pipe(catchError((response_) => {
|
|
18417
18338
|
if (response_ instanceof HttpResponseBase) {
|
|
18418
18339
|
try {
|
|
18419
|
-
return this.
|
|
18340
|
+
return this.processSingleCouponDeepSearchDeprecated(response_);
|
|
18420
18341
|
}
|
|
18421
18342
|
catch (e) {
|
|
18422
18343
|
return throwError(e);
|
|
@@ -18426,7 +18347,7 @@ class ChaserTicketServiceProxy {
|
|
|
18426
18347
|
return throwError(response_);
|
|
18427
18348
|
}));
|
|
18428
18349
|
}
|
|
18429
|
-
|
|
18350
|
+
processSingleCouponDeepSearchDeprecated(response) {
|
|
18430
18351
|
const status = response.status;
|
|
18431
18352
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18432
18353
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18440,7 +18361,7 @@ class ChaserTicketServiceProxy {
|
|
|
18440
18361
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18441
18362
|
let result200 = null;
|
|
18442
18363
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18443
|
-
result200 =
|
|
18364
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18444
18365
|
return of(result200);
|
|
18445
18366
|
}));
|
|
18446
18367
|
}
|
|
@@ -18452,36 +18373,33 @@ class ChaserTicketServiceProxy {
|
|
|
18452
18373
|
return of(null);
|
|
18453
18374
|
}
|
|
18454
18375
|
/**
|
|
18455
|
-
* @param dateValidity (optional)
|
|
18456
|
-
* @param body (optional)
|
|
18457
18376
|
* @return Success
|
|
18458
18377
|
*/
|
|
18459
|
-
|
|
18460
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18378
|
+
singleCouponDeepSearch(parkId, entityId, guid) {
|
|
18379
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/facility/{parkId}/deep-search/{entityId}";
|
|
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));
|
|
18461
18386
|
if (guid === undefined || guid === null)
|
|
18462
18387
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18463
18388
|
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) + "&";
|
|
18468
18389
|
url_ = url_.replace(/[?&]$/, "");
|
|
18469
|
-
const content_ = JSON.stringify(body);
|
|
18470
18390
|
let options_ = {
|
|
18471
|
-
body: content_,
|
|
18472
18391
|
observe: "response",
|
|
18473
18392
|
responseType: "blob",
|
|
18474
18393
|
headers: new HttpHeaders({
|
|
18475
|
-
"Content-Type": "application/json-patch+json",
|
|
18476
18394
|
"Accept": "text/plain"
|
|
18477
18395
|
})
|
|
18478
18396
|
};
|
|
18479
|
-
return this.http.request("
|
|
18480
|
-
return this.
|
|
18397
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18398
|
+
return this.processSingleCouponDeepSearch(response_);
|
|
18481
18399
|
})).pipe(catchError((response_) => {
|
|
18482
18400
|
if (response_ instanceof HttpResponseBase) {
|
|
18483
18401
|
try {
|
|
18484
|
-
return this.
|
|
18402
|
+
return this.processSingleCouponDeepSearch(response_);
|
|
18485
18403
|
}
|
|
18486
18404
|
catch (e) {
|
|
18487
18405
|
return throwError(e);
|
|
@@ -18491,7 +18409,7 @@ class ChaserTicketServiceProxy {
|
|
|
18491
18409
|
return throwError(response_);
|
|
18492
18410
|
}));
|
|
18493
18411
|
}
|
|
18494
|
-
|
|
18412
|
+
processSingleCouponDeepSearch(response) {
|
|
18495
18413
|
const status = response.status;
|
|
18496
18414
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18497
18415
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18505,7 +18423,7 @@ class ChaserTicketServiceProxy {
|
|
|
18505
18423
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18506
18424
|
let result200 = null;
|
|
18507
18425
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18508
|
-
result200 =
|
|
18426
|
+
result200 = CouponSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18509
18427
|
return of(result200);
|
|
18510
18428
|
}));
|
|
18511
18429
|
}
|
|
@@ -18520,8 +18438,8 @@ class ChaserTicketServiceProxy {
|
|
|
18520
18438
|
* @param parkId (optional)
|
|
18521
18439
|
* @return Success
|
|
18522
18440
|
*/
|
|
18523
|
-
|
|
18524
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18441
|
+
deleteCouponBatch(id, parkId, guid) {
|
|
18442
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/coupon/{id}?";
|
|
18525
18443
|
if (id === undefined || id === null)
|
|
18526
18444
|
throw new Error("The parameter 'id' must be defined.");
|
|
18527
18445
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
@@ -18541,11 +18459,11 @@ class ChaserTicketServiceProxy {
|
|
|
18541
18459
|
})
|
|
18542
18460
|
};
|
|
18543
18461
|
return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
|
|
18544
|
-
return this.
|
|
18462
|
+
return this.processDeleteCouponBatch(response_);
|
|
18545
18463
|
})).pipe(catchError((response_) => {
|
|
18546
18464
|
if (response_ instanceof HttpResponseBase) {
|
|
18547
18465
|
try {
|
|
18548
|
-
return this.
|
|
18466
|
+
return this.processDeleteCouponBatch(response_);
|
|
18549
18467
|
}
|
|
18550
18468
|
catch (e) {
|
|
18551
18469
|
return throwError(e);
|
|
@@ -18555,7 +18473,7 @@ class ChaserTicketServiceProxy {
|
|
|
18555
18473
|
return throwError(response_);
|
|
18556
18474
|
}));
|
|
18557
18475
|
}
|
|
18558
|
-
|
|
18476
|
+
processDeleteCouponBatch(response) {
|
|
18559
18477
|
const status = response.status;
|
|
18560
18478
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18561
18479
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18569,7 +18487,7 @@ class ChaserTicketServiceProxy {
|
|
|
18569
18487
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18570
18488
|
let result200 = null;
|
|
18571
18489
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18572
|
-
result200 =
|
|
18490
|
+
result200 = UnitHttpResponseData.fromJS(resultData200);
|
|
18573
18491
|
return of(result200);
|
|
18574
18492
|
}));
|
|
18575
18493
|
}
|
|
@@ -18582,11 +18500,16 @@ class ChaserTicketServiceProxy {
|
|
|
18582
18500
|
}
|
|
18583
18501
|
/**
|
|
18584
18502
|
* @param dateValidity (optional)
|
|
18585
|
-
* @param body (optional)
|
|
18586
18503
|
* @return Success
|
|
18587
18504
|
*/
|
|
18588
|
-
|
|
18589
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/
|
|
18505
|
+
stickersByBatchId(batchId, parkId, dateValidity, guid) {
|
|
18506
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{batchId}/facility/{parkId}?";
|
|
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));
|
|
18590
18513
|
if (guid === undefined || guid === null)
|
|
18591
18514
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18592
18515
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -18595,22 +18518,19 @@ class ChaserTicketServiceProxy {
|
|
|
18595
18518
|
else if (dateValidity !== undefined)
|
|
18596
18519
|
url_ += "dateValidity=" + encodeURIComponent("" + dateValidity) + "&";
|
|
18597
18520
|
url_ = url_.replace(/[?&]$/, "");
|
|
18598
|
-
const content_ = JSON.stringify(body);
|
|
18599
18521
|
let options_ = {
|
|
18600
|
-
body: content_,
|
|
18601
18522
|
observe: "response",
|
|
18602
18523
|
responseType: "blob",
|
|
18603
18524
|
headers: new HttpHeaders({
|
|
18604
|
-
"Content-Type": "application/json-patch+json",
|
|
18605
18525
|
"Accept": "text/plain"
|
|
18606
18526
|
})
|
|
18607
18527
|
};
|
|
18608
|
-
return this.http.request("
|
|
18609
|
-
return this.
|
|
18528
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18529
|
+
return this.processStickersByBatchId(response_);
|
|
18610
18530
|
})).pipe(catchError((response_) => {
|
|
18611
18531
|
if (response_ instanceof HttpResponseBase) {
|
|
18612
18532
|
try {
|
|
18613
|
-
return this.
|
|
18533
|
+
return this.processStickersByBatchId(response_);
|
|
18614
18534
|
}
|
|
18615
18535
|
catch (e) {
|
|
18616
18536
|
return throwError(e);
|
|
@@ -18620,7 +18540,7 @@ class ChaserTicketServiceProxy {
|
|
|
18620
18540
|
return throwError(response_);
|
|
18621
18541
|
}));
|
|
18622
18542
|
}
|
|
18623
|
-
|
|
18543
|
+
processStickersByBatchId(response) {
|
|
18624
18544
|
const status = response.status;
|
|
18625
18545
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18626
18546
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18634,7 +18554,7 @@ class ChaserTicketServiceProxy {
|
|
|
18634
18554
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18635
18555
|
let result200 = null;
|
|
18636
18556
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18637
|
-
result200 =
|
|
18557
|
+
result200 = StickerDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
18638
18558
|
return of(result200);
|
|
18639
18559
|
}));
|
|
18640
18560
|
}
|
|
@@ -18646,32 +18566,31 @@ class ChaserTicketServiceProxy {
|
|
|
18646
18566
|
return of(null);
|
|
18647
18567
|
}
|
|
18648
18568
|
/**
|
|
18649
|
-
* @param body (optional)
|
|
18650
18569
|
* @return Success
|
|
18651
18570
|
* @deprecated
|
|
18652
18571
|
*/
|
|
18653
|
-
|
|
18654
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/
|
|
18572
|
+
stickerBatchDeepSearchDeprecated(entityId, guid) {
|
|
18573
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/batch/deep-search/{entityId}";
|
|
18574
|
+
if (entityId === undefined || entityId === null)
|
|
18575
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
18576
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18655
18577
|
if (guid === undefined || guid === null)
|
|
18656
18578
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18657
18579
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18658
18580
|
url_ = url_.replace(/[?&]$/, "");
|
|
18659
|
-
const content_ = JSON.stringify(body);
|
|
18660
18581
|
let options_ = {
|
|
18661
|
-
body: content_,
|
|
18662
18582
|
observe: "response",
|
|
18663
18583
|
responseType: "blob",
|
|
18664
18584
|
headers: new HttpHeaders({
|
|
18665
|
-
"Content-Type": "application/json-patch+json",
|
|
18666
18585
|
"Accept": "text/plain"
|
|
18667
18586
|
})
|
|
18668
18587
|
};
|
|
18669
|
-
return this.http.request("
|
|
18670
|
-
return this.
|
|
18588
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18589
|
+
return this.processStickerBatchDeepSearchDeprecated(response_);
|
|
18671
18590
|
})).pipe(catchError((response_) => {
|
|
18672
18591
|
if (response_ instanceof HttpResponseBase) {
|
|
18673
18592
|
try {
|
|
18674
|
-
return this.
|
|
18593
|
+
return this.processStickerBatchDeepSearchDeprecated(response_);
|
|
18675
18594
|
}
|
|
18676
18595
|
catch (e) {
|
|
18677
18596
|
return throwError(e);
|
|
@@ -18681,7 +18600,7 @@ class ChaserTicketServiceProxy {
|
|
|
18681
18600
|
return throwError(response_);
|
|
18682
18601
|
}));
|
|
18683
18602
|
}
|
|
18684
|
-
|
|
18603
|
+
processStickerBatchDeepSearchDeprecated(response) {
|
|
18685
18604
|
const status = response.status;
|
|
18686
18605
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18687
18606
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18695,7 +18614,7 @@ class ChaserTicketServiceProxy {
|
|
|
18695
18614
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18696
18615
|
let result200 = null;
|
|
18697
18616
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18698
|
-
result200 =
|
|
18617
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18699
18618
|
return of(result200);
|
|
18700
18619
|
}));
|
|
18701
18620
|
}
|
|
@@ -18707,34 +18626,33 @@ class ChaserTicketServiceProxy {
|
|
|
18707
18626
|
return of(null);
|
|
18708
18627
|
}
|
|
18709
18628
|
/**
|
|
18710
|
-
* @param body (optional)
|
|
18711
18629
|
* @return Success
|
|
18712
18630
|
*/
|
|
18713
|
-
|
|
18714
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/
|
|
18631
|
+
stickerBatchDeepSearch(parkId, entityId, guid) {
|
|
18632
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/batch/deep-search/{entityId}";
|
|
18715
18633
|
if (parkId === undefined || parkId === null)
|
|
18716
18634
|
throw new Error("The parameter 'parkId' must be defined.");
|
|
18717
18635
|
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));
|
|
18718
18639
|
if (guid === undefined || guid === null)
|
|
18719
18640
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18720
18641
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18721
18642
|
url_ = url_.replace(/[?&]$/, "");
|
|
18722
|
-
const content_ = JSON.stringify(body);
|
|
18723
18643
|
let options_ = {
|
|
18724
|
-
body: content_,
|
|
18725
18644
|
observe: "response",
|
|
18726
18645
|
responseType: "blob",
|
|
18727
18646
|
headers: new HttpHeaders({
|
|
18728
|
-
"Content-Type": "application/json-patch+json",
|
|
18729
18647
|
"Accept": "text/plain"
|
|
18730
18648
|
})
|
|
18731
18649
|
};
|
|
18732
|
-
return this.http.request("
|
|
18733
|
-
return this.
|
|
18650
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18651
|
+
return this.processStickerBatchDeepSearch(response_);
|
|
18734
18652
|
})).pipe(catchError((response_) => {
|
|
18735
18653
|
if (response_ instanceof HttpResponseBase) {
|
|
18736
18654
|
try {
|
|
18737
|
-
return this.
|
|
18655
|
+
return this.processStickerBatchDeepSearch(response_);
|
|
18738
18656
|
}
|
|
18739
18657
|
catch (e) {
|
|
18740
18658
|
return throwError(e);
|
|
@@ -18744,7 +18662,7 @@ class ChaserTicketServiceProxy {
|
|
|
18744
18662
|
return throwError(response_);
|
|
18745
18663
|
}));
|
|
18746
18664
|
}
|
|
18747
|
-
|
|
18665
|
+
processStickerBatchDeepSearch(response) {
|
|
18748
18666
|
const status = response.status;
|
|
18749
18667
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18750
18668
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18758,7 +18676,7 @@ class ChaserTicketServiceProxy {
|
|
|
18758
18676
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18759
18677
|
let result200 = null;
|
|
18760
18678
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18761
|
-
result200 =
|
|
18679
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18762
18680
|
return of(result200);
|
|
18763
18681
|
}));
|
|
18764
18682
|
}
|
|
@@ -18770,31 +18688,31 @@ class ChaserTicketServiceProxy {
|
|
|
18770
18688
|
return of(null);
|
|
18771
18689
|
}
|
|
18772
18690
|
/**
|
|
18773
|
-
* @param body (optional)
|
|
18774
18691
|
* @return Success
|
|
18692
|
+
* @deprecated
|
|
18775
18693
|
*/
|
|
18776
|
-
|
|
18777
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18694
|
+
singleStickerDeepSearchDeprecated(entityId, guid) {
|
|
18695
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/deep-search/{entityId}";
|
|
18696
|
+
if (entityId === undefined || entityId === null)
|
|
18697
|
+
throw new Error("The parameter 'entityId' must be defined.");
|
|
18698
|
+
url_ = url_.replace("{entityId}", encodeURIComponent("" + entityId));
|
|
18778
18699
|
if (guid === undefined || guid === null)
|
|
18779
18700
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18780
18701
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18781
18702
|
url_ = url_.replace(/[?&]$/, "");
|
|
18782
|
-
const content_ = JSON.stringify(body);
|
|
18783
18703
|
let options_ = {
|
|
18784
|
-
body: content_,
|
|
18785
18704
|
observe: "response",
|
|
18786
18705
|
responseType: "blob",
|
|
18787
18706
|
headers: new HttpHeaders({
|
|
18788
|
-
"Content-Type": "application/json-patch+json",
|
|
18789
18707
|
"Accept": "text/plain"
|
|
18790
18708
|
})
|
|
18791
18709
|
};
|
|
18792
|
-
return this.http.request("
|
|
18793
|
-
return this.
|
|
18710
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18711
|
+
return this.processSingleStickerDeepSearchDeprecated(response_);
|
|
18794
18712
|
})).pipe(catchError((response_) => {
|
|
18795
18713
|
if (response_ instanceof HttpResponseBase) {
|
|
18796
18714
|
try {
|
|
18797
|
-
return this.
|
|
18715
|
+
return this.processSingleStickerDeepSearchDeprecated(response_);
|
|
18798
18716
|
}
|
|
18799
18717
|
catch (e) {
|
|
18800
18718
|
return throwError(e);
|
|
@@ -18804,7 +18722,7 @@ class ChaserTicketServiceProxy {
|
|
|
18804
18722
|
return throwError(response_);
|
|
18805
18723
|
}));
|
|
18806
18724
|
}
|
|
18807
|
-
|
|
18725
|
+
processSingleStickerDeepSearchDeprecated(response) {
|
|
18808
18726
|
const status = response.status;
|
|
18809
18727
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18810
18728
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18818,7 +18736,7 @@ class ChaserTicketServiceProxy {
|
|
|
18818
18736
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18819
18737
|
let result200 = null;
|
|
18820
18738
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18821
|
-
result200 =
|
|
18739
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18822
18740
|
return of(result200);
|
|
18823
18741
|
}));
|
|
18824
18742
|
}
|
|
@@ -18830,31 +18748,33 @@ class ChaserTicketServiceProxy {
|
|
|
18830
18748
|
return of(null);
|
|
18831
18749
|
}
|
|
18832
18750
|
/**
|
|
18833
|
-
* @param body (optional)
|
|
18834
18751
|
* @return Success
|
|
18835
18752
|
*/
|
|
18836
|
-
|
|
18837
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18753
|
+
singleStickerDeepSearch(parkId, entityId, guid) {
|
|
18754
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/facility/{parkId}/deep-search/{entityId}";
|
|
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));
|
|
18838
18761
|
if (guid === undefined || guid === null)
|
|
18839
18762
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18840
18763
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18841
18764
|
url_ = url_.replace(/[?&]$/, "");
|
|
18842
|
-
const content_ = JSON.stringify(body);
|
|
18843
18765
|
let options_ = {
|
|
18844
|
-
body: content_,
|
|
18845
18766
|
observe: "response",
|
|
18846
18767
|
responseType: "blob",
|
|
18847
18768
|
headers: new HttpHeaders({
|
|
18848
|
-
"Content-Type": "application/json-patch+json",
|
|
18849
18769
|
"Accept": "text/plain"
|
|
18850
18770
|
})
|
|
18851
18771
|
};
|
|
18852
|
-
return this.http.request("
|
|
18853
|
-
return this.
|
|
18772
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
18773
|
+
return this.processSingleStickerDeepSearch(response_);
|
|
18854
18774
|
})).pipe(catchError((response_) => {
|
|
18855
18775
|
if (response_ instanceof HttpResponseBase) {
|
|
18856
18776
|
try {
|
|
18857
|
-
return this.
|
|
18777
|
+
return this.processSingleStickerDeepSearch(response_);
|
|
18858
18778
|
}
|
|
18859
18779
|
catch (e) {
|
|
18860
18780
|
return throwError(e);
|
|
@@ -18864,7 +18784,7 @@ class ChaserTicketServiceProxy {
|
|
|
18864
18784
|
return throwError(response_);
|
|
18865
18785
|
}));
|
|
18866
18786
|
}
|
|
18867
|
-
|
|
18787
|
+
processSingleStickerDeepSearch(response) {
|
|
18868
18788
|
const status = response.status;
|
|
18869
18789
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18870
18790
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18878,7 +18798,7 @@ class ChaserTicketServiceProxy {
|
|
|
18878
18798
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18879
18799
|
let result200 = null;
|
|
18880
18800
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18881
|
-
result200 =
|
|
18801
|
+
result200 = StickerSectionsDtoHttpResponseData.fromJS(resultData200);
|
|
18882
18802
|
return of(result200);
|
|
18883
18803
|
}));
|
|
18884
18804
|
}
|
|
@@ -18890,16 +18810,81 @@ class ChaserTicketServiceProxy {
|
|
|
18890
18810
|
return of(null);
|
|
18891
18811
|
}
|
|
18892
18812
|
/**
|
|
18893
|
-
* @param
|
|
18813
|
+
* @param parkId (optional)
|
|
18894
18814
|
* @return Success
|
|
18895
18815
|
*/
|
|
18896
|
-
|
|
18897
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/
|
|
18816
|
+
deleteStickerBatch(id, parkId, guid) {
|
|
18817
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/chaserticket/sticker/{id}?";
|
|
18818
|
+
if (id === undefined || id === null)
|
|
18819
|
+
throw new Error("The parameter 'id' must be defined.");
|
|
18820
|
+
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
18898
18821
|
if (guid === undefined || guid === null)
|
|
18899
18822
|
throw new Error("The parameter 'guid' must be defined.");
|
|
18900
18823
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18901
|
-
|
|
18902
|
-
|
|
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";
|
|
18883
|
+
if (guid === undefined || guid === null)
|
|
18884
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
18885
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
18886
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
18887
|
+
const content_ = JSON.stringify(body);
|
|
18903
18888
|
let options_ = {
|
|
18904
18889
|
body: content_,
|
|
18905
18890
|
observe: "response",
|
|
@@ -18909,12 +18894,12 @@ class ChaserTicketServiceProxy {
|
|
|
18909
18894
|
"Accept": "text/plain"
|
|
18910
18895
|
})
|
|
18911
18896
|
};
|
|
18912
|
-
return this.http.request("
|
|
18913
|
-
return this.
|
|
18897
|
+
return this.http.request("put", url_, options_).pipe(mergeMap((response_) => {
|
|
18898
|
+
return this.processMarkStickerBatchAsPrintedDeprecated(response_);
|
|
18914
18899
|
})).pipe(catchError((response_) => {
|
|
18915
18900
|
if (response_ instanceof HttpResponseBase) {
|
|
18916
18901
|
try {
|
|
18917
|
-
return this.
|
|
18902
|
+
return this.processMarkStickerBatchAsPrintedDeprecated(response_);
|
|
18918
18903
|
}
|
|
18919
18904
|
catch (e) {
|
|
18920
18905
|
return throwError(e);
|
|
@@ -18924,7 +18909,7 @@ class ChaserTicketServiceProxy {
|
|
|
18924
18909
|
return throwError(response_);
|
|
18925
18910
|
}));
|
|
18926
18911
|
}
|
|
18927
|
-
|
|
18912
|
+
processMarkStickerBatchAsPrintedDeprecated(response) {
|
|
18928
18913
|
const status = response.status;
|
|
18929
18914
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
18930
18915
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -18938,7 +18923,135 @@ class ChaserTicketServiceProxy {
|
|
|
18938
18923
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
18939
18924
|
let result200 = null;
|
|
18940
18925
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
18941
|
-
result200 =
|
|
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_);
|
|
19027
|
+
})).pipe(catchError((response_) => {
|
|
19028
|
+
if (response_ instanceof HttpResponseBase) {
|
|
19029
|
+
try {
|
|
19030
|
+
return this.processMarkStickerBatchAsPrinted(response_);
|
|
19031
|
+
}
|
|
19032
|
+
catch (e) {
|
|
19033
|
+
return throwError(e);
|
|
19034
|
+
}
|
|
19035
|
+
}
|
|
19036
|
+
else
|
|
19037
|
+
return throwError(response_);
|
|
19038
|
+
}));
|
|
19039
|
+
}
|
|
19040
|
+
processMarkStickerBatchAsPrinted(response) {
|
|
19041
|
+
const status = response.status;
|
|
19042
|
+
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19043
|
+
response.error instanceof Blob ? response.error : undefined;
|
|
19044
|
+
let _headers = {};
|
|
19045
|
+
if (response.headers) {
|
|
19046
|
+
for (let key of response.headers.keys()) {
|
|
19047
|
+
_headers[key] = response.headers.get(key);
|
|
19048
|
+
}
|
|
19049
|
+
}
|
|
19050
|
+
if (status === 200) {
|
|
19051
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
19052
|
+
let result200 = null;
|
|
19053
|
+
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
19054
|
+
result200 = BooleanHttpResponseData.fromJS(resultData200);
|
|
18942
19055
|
return of(result200);
|
|
18943
19056
|
}));
|
|
18944
19057
|
}
|
|
@@ -18969,6 +19082,98 @@ class CompanyServiceProxy {
|
|
|
18969
19082
|
this.http = http;
|
|
18970
19083
|
this.baseUrl = baseUrl ?? "";
|
|
18971
19084
|
}
|
|
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
|
+
}
|
|
18972
19177
|
/**
|
|
18973
19178
|
* @param appModule (optional)
|
|
18974
19179
|
* @param companyIds (optional)
|
|
@@ -18982,8 +19187,9 @@ class CompanyServiceProxy {
|
|
|
18982
19187
|
* @param orderBy_Column (optional)
|
|
18983
19188
|
* @param orderBy_OrderDirection (optional)
|
|
18984
19189
|
* @return Success
|
|
19190
|
+
* @deprecated
|
|
18985
19191
|
*/
|
|
18986
|
-
|
|
19192
|
+
getCompaniesDeprecated(appModule, companyIds, subCompanyIds, includeAccessProfile, includeSubCompanies, parkId, entityType, maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid) {
|
|
18987
19193
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/company?";
|
|
18988
19194
|
if (guid === undefined || guid === null)
|
|
18989
19195
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -19031,11 +19237,11 @@ class CompanyServiceProxy {
|
|
|
19031
19237
|
})
|
|
19032
19238
|
};
|
|
19033
19239
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
19034
|
-
return this.
|
|
19240
|
+
return this.processGetCompaniesDeprecated(response_);
|
|
19035
19241
|
})).pipe(catchError((response_) => {
|
|
19036
19242
|
if (response_ instanceof HttpResponseBase) {
|
|
19037
19243
|
try {
|
|
19038
|
-
return this.
|
|
19244
|
+
return this.processGetCompaniesDeprecated(response_);
|
|
19039
19245
|
}
|
|
19040
19246
|
catch (e) {
|
|
19041
19247
|
return throwError(e);
|
|
@@ -19045,7 +19251,7 @@ class CompanyServiceProxy {
|
|
|
19045
19251
|
return throwError(response_);
|
|
19046
19252
|
}));
|
|
19047
19253
|
}
|
|
19048
|
-
|
|
19254
|
+
processGetCompaniesDeprecated(response) {
|
|
19049
19255
|
const status = response.status;
|
|
19050
19256
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19051
19257
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -19078,14 +19284,88 @@ class CompanyServiceProxy {
|
|
|
19078
19284
|
}
|
|
19079
19285
|
return of(null);
|
|
19080
19286
|
}
|
|
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
|
+
}
|
|
19081
19360
|
/**
|
|
19082
19361
|
* @param appModule (optional)
|
|
19083
19362
|
* @param companyIds (optional)
|
|
19084
19363
|
* @param subCompanyIds (optional)
|
|
19085
19364
|
* @param parkId (optional)
|
|
19086
19365
|
* @return Success
|
|
19366
|
+
* @deprecated
|
|
19087
19367
|
*/
|
|
19088
|
-
|
|
19368
|
+
getSubCompaniesDeprecated(appModule, companyIds, subCompanyIds, parkId, guid) {
|
|
19089
19369
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/company/subcompanies?";
|
|
19090
19370
|
if (guid === undefined || guid === null)
|
|
19091
19371
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -19111,11 +19391,11 @@ class CompanyServiceProxy {
|
|
|
19111
19391
|
})
|
|
19112
19392
|
};
|
|
19113
19393
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
19114
|
-
return this.
|
|
19394
|
+
return this.processGetSubCompaniesDeprecated(response_);
|
|
19115
19395
|
})).pipe(catchError((response_) => {
|
|
19116
19396
|
if (response_ instanceof HttpResponseBase) {
|
|
19117
19397
|
try {
|
|
19118
|
-
return this.
|
|
19398
|
+
return this.processGetSubCompaniesDeprecated(response_);
|
|
19119
19399
|
}
|
|
19120
19400
|
catch (e) {
|
|
19121
19401
|
return throwError(e);
|
|
@@ -19125,7 +19405,7 @@ class CompanyServiceProxy {
|
|
|
19125
19405
|
return throwError(response_);
|
|
19126
19406
|
}));
|
|
19127
19407
|
}
|
|
19128
|
-
|
|
19408
|
+
processGetSubCompaniesDeprecated(response) {
|
|
19129
19409
|
const status = response.status;
|
|
19130
19410
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
19131
19411
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -20922,72 +21202,6 @@ class FacilityServiceProxy {
|
|
|
20922
21202
|
this.http = http;
|
|
20923
21203
|
this.baseUrl = baseUrl ?? "";
|
|
20924
21204
|
}
|
|
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
|
-
}
|
|
20991
21205
|
/**
|
|
20992
21206
|
* @return Success
|
|
20993
21207
|
*/
|
|
@@ -22060,43 +22274,15 @@ class FacilityServiceProxy {
|
|
|
22060
22274
|
return of(null);
|
|
22061
22275
|
}
|
|
22062
22276
|
/**
|
|
22063
|
-
* @param
|
|
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)
|
|
22277
|
+
* @param appModule (optional)
|
|
22070
22278
|
* @return Success
|
|
22071
22279
|
*/
|
|
22072
|
-
|
|
22073
|
-
let url_ = this.baseUrl + "/api/services/
|
|
22074
|
-
if (
|
|
22075
|
-
throw new Error("The parameter '
|
|
22076
|
-
|
|
22077
|
-
|
|
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) + "&";
|
|
22280
|
+
facilityTree(appModule) {
|
|
22281
|
+
let url_ = this.baseUrl + "/api/services/facility/tree?";
|
|
22282
|
+
if (appModule === null)
|
|
22283
|
+
throw new Error("The parameter 'appModule' cannot be null.");
|
|
22284
|
+
else if (appModule !== undefined)
|
|
22285
|
+
url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
|
|
22100
22286
|
url_ = url_.replace(/[?&]$/, "");
|
|
22101
22287
|
let options_ = {
|
|
22102
22288
|
observe: "response",
|
|
@@ -22106,11 +22292,11 @@ class FacilityServiceProxy {
|
|
|
22106
22292
|
})
|
|
22107
22293
|
};
|
|
22108
22294
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22109
|
-
return this.
|
|
22295
|
+
return this.processFacilityTree(response_);
|
|
22110
22296
|
})).pipe(catchError((response_) => {
|
|
22111
22297
|
if (response_ instanceof HttpResponseBase) {
|
|
22112
22298
|
try {
|
|
22113
|
-
return this.
|
|
22299
|
+
return this.processFacilityTree(response_);
|
|
22114
22300
|
}
|
|
22115
22301
|
catch (e) {
|
|
22116
22302
|
return throwError(e);
|
|
@@ -22120,7 +22306,7 @@ class FacilityServiceProxy {
|
|
|
22120
22306
|
return throwError(response_);
|
|
22121
22307
|
}));
|
|
22122
22308
|
}
|
|
22123
|
-
|
|
22309
|
+
processFacilityTree(response) {
|
|
22124
22310
|
const status = response.status;
|
|
22125
22311
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22126
22312
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22130,19 +22316,11 @@ class FacilityServiceProxy {
|
|
|
22130
22316
|
_headers[key] = response.headers.get(key);
|
|
22131
22317
|
}
|
|
22132
22318
|
}
|
|
22133
|
-
if (status ===
|
|
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) {
|
|
22319
|
+
if (status === 200) {
|
|
22142
22320
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22143
22321
|
let result200 = null;
|
|
22144
22322
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22145
|
-
result200 =
|
|
22323
|
+
result200 = FacilityTreeDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
22146
22324
|
return of(result200);
|
|
22147
22325
|
}));
|
|
22148
22326
|
}
|
|
@@ -22154,15 +22332,10 @@ class FacilityServiceProxy {
|
|
|
22154
22332
|
return of(null);
|
|
22155
22333
|
}
|
|
22156
22334
|
/**
|
|
22157
|
-
* @param appModule (optional)
|
|
22158
22335
|
* @return Success
|
|
22159
22336
|
*/
|
|
22160
|
-
|
|
22161
|
-
let url_ = this.baseUrl + "/api/services/facility/
|
|
22162
|
-
if (appModule === null)
|
|
22163
|
-
throw new Error("The parameter 'appModule' cannot be null.");
|
|
22164
|
-
else if (appModule !== undefined)
|
|
22165
|
-
url_ += "appModule=" + encodeURIComponent("" + appModule) + "&";
|
|
22337
|
+
facilityAllBackoffice() {
|
|
22338
|
+
let url_ = this.baseUrl + "/api/services/facility/basic-backoffice";
|
|
22166
22339
|
url_ = url_.replace(/[?&]$/, "");
|
|
22167
22340
|
let options_ = {
|
|
22168
22341
|
observe: "response",
|
|
@@ -22172,11 +22345,11 @@ class FacilityServiceProxy {
|
|
|
22172
22345
|
})
|
|
22173
22346
|
};
|
|
22174
22347
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22175
|
-
return this.
|
|
22348
|
+
return this.processFacilityAllBackoffice(response_);
|
|
22176
22349
|
})).pipe(catchError((response_) => {
|
|
22177
22350
|
if (response_ instanceof HttpResponseBase) {
|
|
22178
22351
|
try {
|
|
22179
|
-
return this.
|
|
22352
|
+
return this.processFacilityAllBackoffice(response_);
|
|
22180
22353
|
}
|
|
22181
22354
|
catch (e) {
|
|
22182
22355
|
return throwError(e);
|
|
@@ -22186,7 +22359,7 @@ class FacilityServiceProxy {
|
|
|
22186
22359
|
return throwError(response_);
|
|
22187
22360
|
}));
|
|
22188
22361
|
}
|
|
22189
|
-
|
|
22362
|
+
processFacilityAllBackoffice(response) {
|
|
22190
22363
|
const status = response.status;
|
|
22191
22364
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22192
22365
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22200,7 +22373,7 @@ class FacilityServiceProxy {
|
|
|
22200
22373
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22201
22374
|
let result200 = null;
|
|
22202
22375
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22203
|
-
result200 =
|
|
22376
|
+
result200 = SmartParkWrapperDtoHttpResponseData.fromJS(resultData200);
|
|
22204
22377
|
return of(result200);
|
|
22205
22378
|
}));
|
|
22206
22379
|
}
|
|
@@ -22212,10 +22385,15 @@ class FacilityServiceProxy {
|
|
|
22212
22385
|
return of(null);
|
|
22213
22386
|
}
|
|
22214
22387
|
/**
|
|
22388
|
+
* @param appModule (optional)
|
|
22215
22389
|
* @return Success
|
|
22216
22390
|
*/
|
|
22217
|
-
|
|
22218
|
-
let url_ = this.baseUrl + "/api/services/facility/basic
|
|
22391
|
+
getSmartparkBasicAll(appModule) {
|
|
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) + "&";
|
|
22219
22397
|
url_ = url_.replace(/[?&]$/, "");
|
|
22220
22398
|
let options_ = {
|
|
22221
22399
|
observe: "response",
|
|
@@ -22225,11 +22403,11 @@ class FacilityServiceProxy {
|
|
|
22225
22403
|
})
|
|
22226
22404
|
};
|
|
22227
22405
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22228
|
-
return this.
|
|
22406
|
+
return this.processGetSmartparkBasicAll(response_);
|
|
22229
22407
|
})).pipe(catchError((response_) => {
|
|
22230
22408
|
if (response_ instanceof HttpResponseBase) {
|
|
22231
22409
|
try {
|
|
22232
|
-
return this.
|
|
22410
|
+
return this.processGetSmartparkBasicAll(response_);
|
|
22233
22411
|
}
|
|
22234
22412
|
catch (e) {
|
|
22235
22413
|
return throwError(e);
|
|
@@ -22239,7 +22417,7 @@ class FacilityServiceProxy {
|
|
|
22239
22417
|
return throwError(response_);
|
|
22240
22418
|
}));
|
|
22241
22419
|
}
|
|
22242
|
-
|
|
22420
|
+
processGetSmartparkBasicAll(response) {
|
|
22243
22421
|
const status = response.status;
|
|
22244
22422
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22245
22423
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22249,7 +22427,15 @@ class FacilityServiceProxy {
|
|
|
22249
22427
|
_headers[key] = response.headers.get(key);
|
|
22250
22428
|
}
|
|
22251
22429
|
}
|
|
22252
|
-
if (status ===
|
|
22430
|
+
if (status === 404) {
|
|
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) {
|
|
22253
22439
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22254
22440
|
let result200 = null;
|
|
22255
22441
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
@@ -22264,48 +22450,44 @@ class FacilityServiceProxy {
|
|
|
22264
22450
|
}
|
|
22265
22451
|
return of(null);
|
|
22266
22452
|
}
|
|
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
|
-
}
|
|
22287
22453
|
/**
|
|
22288
|
-
* @param
|
|
22289
|
-
* @param
|
|
22290
|
-
* @param
|
|
22291
|
-
* @param
|
|
22454
|
+
* @param companyId (optional)
|
|
22455
|
+
* @param subCompanyId (optional)
|
|
22456
|
+
* @param validationType (optional)
|
|
22457
|
+
* @param maxResults (optional)
|
|
22458
|
+
* @param searchTerm (optional)
|
|
22459
|
+
* @param orderBy_Column (optional)
|
|
22460
|
+
* @param orderBy_OrderDirection (optional)
|
|
22292
22461
|
* @return Success
|
|
22293
22462
|
*/
|
|
22294
|
-
|
|
22295
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/
|
|
22463
|
+
getValidationType(parkId, companyId, subCompanyId, validationType, maxResults, searchTerm, orderBy_Column, orderBy_OrderDirection, guid) {
|
|
22464
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/facility/{parkId}/validation-type?";
|
|
22465
|
+
if (parkId === undefined || parkId === null)
|
|
22466
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
22467
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
22296
22468
|
if (guid === undefined || guid === null)
|
|
22297
22469
|
throw new Error("The parameter 'guid' must be defined.");
|
|
22298
22470
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
22299
|
-
if (
|
|
22300
|
-
|
|
22301
|
-
if (
|
|
22302
|
-
url_ += "
|
|
22303
|
-
if (
|
|
22304
|
-
url_ += "
|
|
22305
|
-
if (
|
|
22306
|
-
throw new Error("The parameter '
|
|
22307
|
-
else if (
|
|
22308
|
-
url_ += "
|
|
22471
|
+
if (companyId === null)
|
|
22472
|
+
throw new Error("The parameter 'companyId' cannot be null.");
|
|
22473
|
+
else if (companyId !== undefined)
|
|
22474
|
+
url_ += "companyId=" + encodeURIComponent("" + companyId) + "&";
|
|
22475
|
+
if (subCompanyId !== undefined && subCompanyId !== null)
|
|
22476
|
+
url_ += "subCompanyId=" + encodeURIComponent("" + subCompanyId) + "&";
|
|
22477
|
+
if (validationType === null)
|
|
22478
|
+
throw new Error("The parameter 'validationType' cannot be null.");
|
|
22479
|
+
else if (validationType !== undefined)
|
|
22480
|
+
url_ += "validationType=" + encodeURIComponent("" + validationType) + "&";
|
|
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) + "&";
|
|
22309
22491
|
url_ = url_.replace(/[?&]$/, "");
|
|
22310
22492
|
let options_ = {
|
|
22311
22493
|
observe: "response",
|
|
@@ -22315,11 +22497,11 @@ class FileServiceProxy {
|
|
|
22315
22497
|
})
|
|
22316
22498
|
};
|
|
22317
22499
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
22318
|
-
return this.
|
|
22500
|
+
return this.processGetValidationType(response_);
|
|
22319
22501
|
})).pipe(catchError((response_) => {
|
|
22320
22502
|
if (response_ instanceof HttpResponseBase) {
|
|
22321
22503
|
try {
|
|
22322
|
-
return this.
|
|
22504
|
+
return this.processGetValidationType(response_);
|
|
22323
22505
|
}
|
|
22324
22506
|
catch (e) {
|
|
22325
22507
|
return throwError(e);
|
|
@@ -22329,7 +22511,7 @@ class FileServiceProxy {
|
|
|
22329
22511
|
return throwError(response_);
|
|
22330
22512
|
}));
|
|
22331
22513
|
}
|
|
22332
|
-
|
|
22514
|
+
processGetValidationType(response) {
|
|
22333
22515
|
const status = response.status;
|
|
22334
22516
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
22335
22517
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -22339,11 +22521,19 @@ class FileServiceProxy {
|
|
|
22339
22521
|
_headers[key] = response.headers.get(key);
|
|
22340
22522
|
}
|
|
22341
22523
|
}
|
|
22342
|
-
if (status ===
|
|
22524
|
+
if (status === 404) {
|
|
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) {
|
|
22343
22533
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
22344
22534
|
let result200 = null;
|
|
22345
22535
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
22346
|
-
result200 =
|
|
22536
|
+
result200 = ValidationTypeDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
22347
22537
|
return of(result200);
|
|
22348
22538
|
}));
|
|
22349
22539
|
}
|
|
@@ -22354,6 +22544,26 @@ class FileServiceProxy {
|
|
|
22354
22544
|
}
|
|
22355
22545
|
return of(null);
|
|
22356
22546
|
}
|
|
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
|
+
}
|
|
22357
22567
|
/**
|
|
22358
22568
|
* @param entityName (optional)
|
|
22359
22569
|
* @param entityId (optional)
|
|
@@ -22361,8 +22571,78 @@ class FileServiceProxy {
|
|
|
22361
22571
|
* @param parkId (optional)
|
|
22362
22572
|
* @return Success
|
|
22363
22573
|
*/
|
|
22364
|
-
|
|
22365
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/file/create-
|
|
22574
|
+
createReceipt(entityName, entityId, command, parkId, guid) {
|
|
22575
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/file/create-receipt?";
|
|
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?";
|
|
22366
22646
|
if (guid === undefined || guid === null)
|
|
22367
22647
|
throw new Error("The parameter 'guid' must be defined.");
|
|
22368
22648
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -23564,16 +23844,21 @@ class GuestServiceProxy {
|
|
|
23564
23844
|
}
|
|
23565
23845
|
}
|
|
23566
23846
|
/**
|
|
23847
|
+
* @param parkId (optional)
|
|
23567
23848
|
* @return Success
|
|
23568
23849
|
*/
|
|
23569
|
-
|
|
23570
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}";
|
|
23850
|
+
getGuestById(id, parkId, guid) {
|
|
23851
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}?";
|
|
23571
23852
|
if (id === undefined || id === null)
|
|
23572
23853
|
throw new Error("The parameter 'id' must be defined.");
|
|
23573
23854
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23574
23855
|
if (guid === undefined || guid === null)
|
|
23575
23856
|
throw new Error("The parameter 'guid' must be defined.");
|
|
23576
23857
|
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) + "&";
|
|
23577
23862
|
url_ = url_.replace(/[?&]$/, "");
|
|
23578
23863
|
let options_ = {
|
|
23579
23864
|
observe: "response",
|
|
@@ -23582,12 +23867,12 @@ class GuestServiceProxy {
|
|
|
23582
23867
|
"Accept": "text/plain"
|
|
23583
23868
|
})
|
|
23584
23869
|
};
|
|
23585
|
-
return this.http.request("
|
|
23586
|
-
return this.
|
|
23870
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
23871
|
+
return this.processGetGuestById(response_);
|
|
23587
23872
|
})).pipe(catchError((response_) => {
|
|
23588
23873
|
if (response_ instanceof HttpResponseBase) {
|
|
23589
23874
|
try {
|
|
23590
|
-
return this.
|
|
23875
|
+
return this.processGetGuestById(response_);
|
|
23591
23876
|
}
|
|
23592
23877
|
catch (e) {
|
|
23593
23878
|
return throwError(e);
|
|
@@ -23597,7 +23882,7 @@ class GuestServiceProxy {
|
|
|
23597
23882
|
return throwError(response_);
|
|
23598
23883
|
}));
|
|
23599
23884
|
}
|
|
23600
|
-
|
|
23885
|
+
processGetGuestById(response) {
|
|
23601
23886
|
const status = response.status;
|
|
23602
23887
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
23603
23888
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -23607,12 +23892,7 @@ class GuestServiceProxy {
|
|
|
23607
23892
|
_headers[key] = response.headers.get(key);
|
|
23608
23893
|
}
|
|
23609
23894
|
}
|
|
23610
|
-
if (status ===
|
|
23611
|
-
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23612
|
-
return throwException$1("No Content", status, _responseText, _headers);
|
|
23613
|
-
}));
|
|
23614
|
-
}
|
|
23615
|
-
else if (status === 404) {
|
|
23895
|
+
if (status === 404) {
|
|
23616
23896
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23617
23897
|
let result404 = null;
|
|
23618
23898
|
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
@@ -23624,7 +23904,7 @@ class GuestServiceProxy {
|
|
|
23624
23904
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23625
23905
|
let result200 = null;
|
|
23626
23906
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23627
|
-
result200 =
|
|
23907
|
+
result200 = VGuestWithBatchDtoHttpResponseData.fromJS(resultData200);
|
|
23628
23908
|
return of(result200);
|
|
23629
23909
|
}));
|
|
23630
23910
|
}
|
|
@@ -23638,16 +23918,21 @@ class GuestServiceProxy {
|
|
|
23638
23918
|
}
|
|
23639
23919
|
}
|
|
23640
23920
|
/**
|
|
23921
|
+
* @param parkId (optional)
|
|
23641
23922
|
* @return Success
|
|
23642
23923
|
*/
|
|
23643
|
-
|
|
23644
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}";
|
|
23924
|
+
deleteGuest(id, parkId, guid) {
|
|
23925
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/{id}?";
|
|
23645
23926
|
if (id === undefined || id === null)
|
|
23646
23927
|
throw new Error("The parameter 'id' must be defined.");
|
|
23647
23928
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
23648
23929
|
if (guid === undefined || guid === null)
|
|
23649
23930
|
throw new Error("The parameter 'guid' must be defined.");
|
|
23650
23931
|
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) + "&";
|
|
23651
23936
|
url_ = url_.replace(/[?&]$/, "");
|
|
23652
23937
|
let options_ = {
|
|
23653
23938
|
observe: "response",
|
|
@@ -23656,12 +23941,12 @@ class GuestServiceProxy {
|
|
|
23656
23941
|
"Accept": "text/plain"
|
|
23657
23942
|
})
|
|
23658
23943
|
};
|
|
23659
|
-
return this.http.request("
|
|
23660
|
-
return this.
|
|
23944
|
+
return this.http.request("delete", url_, options_).pipe(mergeMap((response_) => {
|
|
23945
|
+
return this.processDeleteGuest(response_);
|
|
23661
23946
|
})).pipe(catchError((response_) => {
|
|
23662
23947
|
if (response_ instanceof HttpResponseBase) {
|
|
23663
23948
|
try {
|
|
23664
|
-
return this.
|
|
23949
|
+
return this.processDeleteGuest(response_);
|
|
23665
23950
|
}
|
|
23666
23951
|
catch (e) {
|
|
23667
23952
|
return throwError(e);
|
|
@@ -23671,7 +23956,7 @@ class GuestServiceProxy {
|
|
|
23671
23956
|
return throwError(response_);
|
|
23672
23957
|
}));
|
|
23673
23958
|
}
|
|
23674
|
-
|
|
23959
|
+
processDeleteGuest(response) {
|
|
23675
23960
|
const status = response.status;
|
|
23676
23961
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
23677
23962
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -23681,7 +23966,12 @@ class GuestServiceProxy {
|
|
|
23681
23966
|
_headers[key] = response.headers.get(key);
|
|
23682
23967
|
}
|
|
23683
23968
|
}
|
|
23684
|
-
if (status ===
|
|
23969
|
+
if (status === 204) {
|
|
23970
|
+
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23971
|
+
return throwException$1("No Content", status, _responseText, _headers);
|
|
23972
|
+
}));
|
|
23973
|
+
}
|
|
23974
|
+
else if (status === 404) {
|
|
23685
23975
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23686
23976
|
let result404 = null;
|
|
23687
23977
|
let resultData404 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
@@ -23693,7 +23983,7 @@ class GuestServiceProxy {
|
|
|
23693
23983
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
23694
23984
|
let result200 = null;
|
|
23695
23985
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
23696
|
-
result200 =
|
|
23986
|
+
result200 = Unit.fromJS(resultData200);
|
|
23697
23987
|
return of(result200);
|
|
23698
23988
|
}));
|
|
23699
23989
|
}
|
|
@@ -24107,6 +24397,7 @@ class GuestServiceProxy {
|
|
|
24107
24397
|
* @param take (optional)
|
|
24108
24398
|
* @param skip (optional)
|
|
24109
24399
|
* @return Success
|
|
24400
|
+
* @deprecated
|
|
24110
24401
|
*/
|
|
24111
24402
|
guestsTraffic(parkId, guestTrafficSearchFieldSelector, credentialMediaType, deviceIds, companiesFilterDto_CompanyIds, companiesFilterDto_SubCompanyIds, companiesFilterDto_IncludeAccessProfile, companiesFilterDto_IncludeSubCompanies, companiesFilterDto_ParkId, searchValue, from, to, take, skip, guid) {
|
|
24112
24403
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/guest/guests-traffic?";
|
|
@@ -24213,6 +24504,74 @@ class GuestServiceProxy {
|
|
|
24213
24504
|
}
|
|
24214
24505
|
return of(null);
|
|
24215
24506
|
}
|
|
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
|
+
}
|
|
24216
24575
|
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 }); }
|
|
24217
24576
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: GuestServiceProxy }); }
|
|
24218
24577
|
}
|
|
@@ -24905,16 +25264,21 @@ class KeyOptionServiceProxy {
|
|
|
24905
25264
|
return of(null);
|
|
24906
25265
|
}
|
|
24907
25266
|
/**
|
|
25267
|
+
* @param parkId (optional)
|
|
24908
25268
|
* @return Success
|
|
24909
25269
|
*/
|
|
24910
|
-
deleteKeyOption(id, guid) {
|
|
24911
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/keyoption/{id}";
|
|
25270
|
+
deleteKeyOption(id, parkId, guid) {
|
|
25271
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/keyoption/{id}?";
|
|
24912
25272
|
if (id === undefined || id === null)
|
|
24913
25273
|
throw new Error("The parameter 'id' must be defined.");
|
|
24914
25274
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
24915
25275
|
if (guid === undefined || guid === null)
|
|
24916
25276
|
throw new Error("The parameter 'guid' must be defined.");
|
|
24917
25277
|
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) + "&";
|
|
24918
25282
|
url_ = url_.replace(/[?&]$/, "");
|
|
24919
25283
|
let options_ = {
|
|
24920
25284
|
observe: "response",
|
|
@@ -25668,8 +26032,11 @@ class MonthlyServiceProxy {
|
|
|
25668
26032
|
* @param body (optional)
|
|
25669
26033
|
* @return Success
|
|
25670
26034
|
*/
|
|
25671
|
-
getMonthlies(guid, body) {
|
|
25672
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly";
|
|
26035
|
+
getMonthlies(parkId, guid, body) {
|
|
26036
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/facility/{parkId}";
|
|
26037
|
+
if (parkId === undefined || parkId === null)
|
|
26038
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
26039
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
25673
26040
|
if (guid === undefined || guid === null)
|
|
25674
26041
|
throw new Error("The parameter 'guid' must be defined.");
|
|
25675
26042
|
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
@@ -25732,105 +26099,6 @@ class MonthlyServiceProxy {
|
|
|
25732
26099
|
}
|
|
25733
26100
|
return of(null);
|
|
25734
26101
|
}
|
|
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
|
-
}
|
|
25834
26102
|
/**
|
|
25835
26103
|
* @return Success
|
|
25836
26104
|
*/
|
|
@@ -25899,16 +26167,21 @@ class MonthlyServiceProxy {
|
|
|
25899
26167
|
return of(null);
|
|
25900
26168
|
}
|
|
25901
26169
|
/**
|
|
26170
|
+
* @param parkId (optional)
|
|
25902
26171
|
* @return Success
|
|
25903
26172
|
*/
|
|
25904
|
-
deleteMonthly(id, guid) {
|
|
25905
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/{id}";
|
|
26173
|
+
deleteMonthly(id, parkId, guid) {
|
|
26174
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/{id}?";
|
|
25906
26175
|
if (id === undefined || id === null)
|
|
25907
26176
|
throw new Error("The parameter 'id' must be defined.");
|
|
25908
26177
|
url_ = url_.replace("{id}", encodeURIComponent("" + id));
|
|
25909
26178
|
if (guid === undefined || guid === null)
|
|
25910
26179
|
throw new Error("The parameter 'guid' must be defined.");
|
|
25911
26180
|
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) + "&";
|
|
25912
26185
|
url_ = url_.replace(/[?&]$/, "");
|
|
25913
26186
|
let options_ = {
|
|
25914
26187
|
observe: "response",
|
|
@@ -26591,6 +26864,88 @@ class MonthlyServiceProxy {
|
|
|
26591
26864
|
}
|
|
26592
26865
|
return of(null);
|
|
26593
26866
|
}
|
|
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
|
+
}
|
|
26594
26949
|
/**
|
|
26595
26950
|
* @param entityId (optional)
|
|
26596
26951
|
* @param startDate (optional)
|
|
@@ -26693,72 +27048,147 @@ class MonthlyServiceProxy {
|
|
|
26693
27048
|
return of(null);
|
|
26694
27049
|
}
|
|
26695
27050
|
/**
|
|
26696
|
-
* @param
|
|
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)
|
|
27051
|
+
* @param body (optional)
|
|
26710
27052
|
* @return Success
|
|
26711
|
-
* @deprecated
|
|
26712
27053
|
*/
|
|
26713
|
-
|
|
26714
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/monthlies-traffic
|
|
27054
|
+
monthliesTraffic(parkId, guid, body) {
|
|
27055
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/facility/{parkId}/monthlies-traffic";
|
|
27056
|
+
if (parkId === undefined || parkId === null)
|
|
27057
|
+
throw new Error("The parameter 'parkId' must be defined.");
|
|
27058
|
+
url_ = url_.replace("{parkId}", encodeURIComponent("" + parkId));
|
|
27059
|
+
if (guid === undefined || guid === null)
|
|
27060
|
+
throw new Error("The parameter 'guid' must be defined.");
|
|
27061
|
+
url_ = url_.replace("{guid}", encodeURIComponent("" + guid));
|
|
27062
|
+
url_ = url_.replace(/[?&]$/, "");
|
|
27063
|
+
const content_ = JSON.stringify(body);
|
|
27064
|
+
let options_ = {
|
|
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
|
+
/**
|
|
27182
|
+
* @return Success
|
|
27183
|
+
*/
|
|
27184
|
+
getMonthliesAccountLimits(accountId, guid) {
|
|
27185
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/account/{accountId}/limits";
|
|
27186
|
+
if (accountId === undefined || accountId === null)
|
|
27187
|
+
throw new Error("The parameter 'accountId' must be defined.");
|
|
27188
|
+
url_ = url_.replace("{accountId}", encodeURIComponent("" + accountId));
|
|
26715
27189
|
if (guid === undefined || guid === null)
|
|
26716
27190
|
throw new Error("The parameter 'guid' must be defined.");
|
|
26717
27191
|
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) + "&";
|
|
26762
27192
|
url_ = url_.replace(/[?&]$/, "");
|
|
26763
27193
|
let options_ = {
|
|
26764
27194
|
observe: "response",
|
|
@@ -26768,11 +27198,11 @@ class MonthlyServiceProxy {
|
|
|
26768
27198
|
})
|
|
26769
27199
|
};
|
|
26770
27200
|
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
26771
|
-
return this.
|
|
27201
|
+
return this.processGetMonthliesAccountLimits(response_);
|
|
26772
27202
|
})).pipe(catchError((response_) => {
|
|
26773
27203
|
if (response_ instanceof HttpResponseBase) {
|
|
26774
27204
|
try {
|
|
26775
|
-
return this.
|
|
27205
|
+
return this.processGetMonthliesAccountLimits(response_);
|
|
26776
27206
|
}
|
|
26777
27207
|
catch (e) {
|
|
26778
27208
|
return throwError(e);
|
|
@@ -26782,7 +27212,7 @@ class MonthlyServiceProxy {
|
|
|
26782
27212
|
return throwError(response_);
|
|
26783
27213
|
}));
|
|
26784
27214
|
}
|
|
26785
|
-
|
|
27215
|
+
processGetMonthliesAccountLimits(response) {
|
|
26786
27216
|
const status = response.status;
|
|
26787
27217
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
26788
27218
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -26804,7 +27234,341 @@ class MonthlyServiceProxy {
|
|
|
26804
27234
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
26805
27235
|
let result200 = null;
|
|
26806
27236
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
26807
|
-
result200 =
|
|
27237
|
+
result200 = AccountLimitDtoHttpResponseData.fromJS(resultData200);
|
|
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);
|
|
26808
27572
|
return of(result200);
|
|
26809
27573
|
}));
|
|
26810
27574
|
}
|
|
@@ -26831,8 +27595,9 @@ class MonthlyServiceProxy {
|
|
|
26831
27595
|
* @param take (optional)
|
|
26832
27596
|
* @param skip (optional)
|
|
26833
27597
|
* @return Success
|
|
27598
|
+
* @deprecated
|
|
26834
27599
|
*/
|
|
26835
|
-
|
|
27600
|
+
getMonthliesTraffic(parkId, monthlyTrafficSearchFieldSelector, credentialMediaType, deviceIds, companiesFilterDto_CompanyIds, companiesFilterDto_SubCompanyIds, companiesFilterDto_IncludeAccessProfile, companiesFilterDto_IncludeSubCompanies, companiesFilterDto_ParkId, searchValue, from, to, take, skip, guid) {
|
|
26836
27601
|
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/monthlies-traffic?";
|
|
26837
27602
|
if (guid === undefined || guid === null)
|
|
26838
27603
|
throw new Error("The parameter 'guid' must be defined.");
|
|
@@ -26889,12 +27654,12 @@ class MonthlyServiceProxy {
|
|
|
26889
27654
|
"Accept": "text/plain"
|
|
26890
27655
|
})
|
|
26891
27656
|
};
|
|
26892
|
-
return this.http.request("
|
|
26893
|
-
return this.
|
|
27657
|
+
return this.http.request("get", url_, options_).pipe(mergeMap((response_) => {
|
|
27658
|
+
return this.processGetMonthliesTraffic(response_);
|
|
26894
27659
|
})).pipe(catchError((response_) => {
|
|
26895
27660
|
if (response_ instanceof HttpResponseBase) {
|
|
26896
27661
|
try {
|
|
26897
|
-
return this.
|
|
27662
|
+
return this.processGetMonthliesTraffic(response_);
|
|
26898
27663
|
}
|
|
26899
27664
|
catch (e) {
|
|
26900
27665
|
return throwError(e);
|
|
@@ -26904,7 +27669,7 @@ class MonthlyServiceProxy {
|
|
|
26904
27669
|
return throwError(response_);
|
|
26905
27670
|
}));
|
|
26906
27671
|
}
|
|
26907
|
-
|
|
27672
|
+
processGetMonthliesTraffic(response) {
|
|
26908
27673
|
const status = response.status;
|
|
26909
27674
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
26910
27675
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -26938,31 +27703,85 @@ class MonthlyServiceProxy {
|
|
|
26938
27703
|
return of(null);
|
|
26939
27704
|
}
|
|
26940
27705
|
/**
|
|
26941
|
-
* @param
|
|
27706
|
+
* @param parkId (optional)
|
|
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)
|
|
26942
27720
|
* @return Success
|
|
26943
27721
|
*/
|
|
26944
|
-
|
|
26945
|
-
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/
|
|
27722
|
+
monthliesTrafficFromQuery(parkId, monthlyTrafficSearchFieldSelector, credentialMediaType, deviceIds, companiesFilterDto_CompanyIds, companiesFilterDto_SubCompanyIds, companiesFilterDto_IncludeAccessProfile, companiesFilterDto_IncludeSubCompanies, companiesFilterDto_ParkId, searchValue, from, to, take, skip, guid) {
|
|
27723
|
+
let url_ = this.baseUrl + "/api/services/sp/{guid}/monthly/monthlies-traffic?";
|
|
26946
27724
|
if (guid === undefined || guid === null)
|
|
26947
27725
|
throw new Error("The parameter 'guid' must be defined.");
|
|
26948
27726
|
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) + "&";
|
|
26949
27771
|
url_ = url_.replace(/[?&]$/, "");
|
|
26950
|
-
const content_ = JSON.stringify(body);
|
|
26951
27772
|
let options_ = {
|
|
26952
|
-
body: content_,
|
|
26953
27773
|
observe: "response",
|
|
26954
27774
|
responseType: "blob",
|
|
26955
27775
|
headers: new HttpHeaders({
|
|
26956
|
-
"Content-Type": "application/json-patch+json",
|
|
26957
27776
|
"Accept": "text/plain"
|
|
26958
27777
|
})
|
|
26959
27778
|
};
|
|
26960
27779
|
return this.http.request("post", url_, options_).pipe(mergeMap((response_) => {
|
|
26961
|
-
return this.
|
|
27780
|
+
return this.processMonthliesTrafficFromQuery(response_);
|
|
26962
27781
|
})).pipe(catchError((response_) => {
|
|
26963
27782
|
if (response_ instanceof HttpResponseBase) {
|
|
26964
27783
|
try {
|
|
26965
|
-
return this.
|
|
27784
|
+
return this.processMonthliesTrafficFromQuery(response_);
|
|
26966
27785
|
}
|
|
26967
27786
|
catch (e) {
|
|
26968
27787
|
return throwError(e);
|
|
@@ -26972,66 +27791,7 @@ class MonthlyServiceProxy {
|
|
|
26972
27791
|
return throwError(response_);
|
|
26973
27792
|
}));
|
|
26974
27793
|
}
|
|
26975
|
-
|
|
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) {
|
|
27794
|
+
processMonthliesTrafficFromQuery(response) {
|
|
27035
27795
|
const status = response.status;
|
|
27036
27796
|
const responseBlob = response instanceof HttpResponse ? response.body :
|
|
27037
27797
|
response.error instanceof Blob ? response.error : undefined;
|
|
@@ -27053,7 +27813,7 @@ class MonthlyServiceProxy {
|
|
|
27053
27813
|
return blobToText$1(responseBlob).pipe(mergeMap(_responseText => {
|
|
27054
27814
|
let result200 = null;
|
|
27055
27815
|
let resultData200 = _responseText === "" ? null : JSON.parse(_responseText, this.jsonParseReviver);
|
|
27056
|
-
result200 =
|
|
27816
|
+
result200 = MonthlyTrafficDtoIEnumerableHttpResponseData.fromJS(resultData200);
|
|
27057
27817
|
return of(result200);
|
|
27058
27818
|
}));
|
|
27059
27819
|
}
|
|
@@ -27064,172 +27824,6 @@ class MonthlyServiceProxy {
|
|
|
27064
27824
|
}
|
|
27065
27825
|
return of(null);
|
|
27066
27826
|
}
|
|
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
|
-
}
|
|
27233
27827
|
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 }); }
|
|
27234
27828
|
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MonthlyServiceProxy }); }
|
|
27235
27829
|
}
|
|
@@ -42897,6 +43491,7 @@ class DeleteMonthliesCommand {
|
|
|
42897
43491
|
for (let item of _data["ids"])
|
|
42898
43492
|
this.ids.push(item);
|
|
42899
43493
|
}
|
|
43494
|
+
this.parkId = _data["parkId"];
|
|
42900
43495
|
}
|
|
42901
43496
|
}
|
|
42902
43497
|
static fromJS(data) {
|
|
@@ -42912,6 +43507,7 @@ class DeleteMonthliesCommand {
|
|
|
42912
43507
|
for (let item of this.ids)
|
|
42913
43508
|
data["ids"].push(item);
|
|
42914
43509
|
}
|
|
43510
|
+
data["parkId"] = this.parkId;
|
|
42915
43511
|
return data;
|
|
42916
43512
|
}
|
|
42917
43513
|
clone() {
|
|
@@ -44830,6 +45426,7 @@ class FacilityBasicDto {
|
|
|
44830
45426
|
this.id = _data["id"];
|
|
44831
45427
|
this.cloudId = _data["cloudId"];
|
|
44832
45428
|
this.cloudParentId = _data["cloudParentId"];
|
|
45429
|
+
this.isBasic = _data["isBasic"];
|
|
44833
45430
|
this.multiParkParentID = _data["multiParkParentID"];
|
|
44834
45431
|
this.siteCode = _data["siteCode"];
|
|
44835
45432
|
this.name = _data["name"];
|
|
@@ -44849,6 +45446,13 @@ class FacilityBasicDto {
|
|
|
44849
45446
|
this.creditServerDisconnectedTimestamp = _data["creditServerDisconnectedTimestamp"] ? moment(_data["creditServerDisconnectedTimestamp"].toString()) : undefined;
|
|
44850
45447
|
this.mainControllerDisconnectedTimestamp = _data["mainControllerDisconnectedTimestamp"] ? moment(_data["mainControllerDisconnectedTimestamp"].toString()) : undefined;
|
|
44851
45448
|
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
|
+
}
|
|
44852
45456
|
if (Array.isArray(_data["featurePermissions"])) {
|
|
44853
45457
|
this.featurePermissions = [];
|
|
44854
45458
|
for (let item of _data["featurePermissions"])
|
|
@@ -44867,6 +45471,7 @@ class FacilityBasicDto {
|
|
|
44867
45471
|
data["id"] = this.id;
|
|
44868
45472
|
data["cloudId"] = this.cloudId;
|
|
44869
45473
|
data["cloudParentId"] = this.cloudParentId;
|
|
45474
|
+
data["isBasic"] = this.isBasic;
|
|
44870
45475
|
data["multiParkParentID"] = this.multiParkParentID;
|
|
44871
45476
|
data["siteCode"] = this.siteCode;
|
|
44872
45477
|
data["name"] = this.name;
|
|
@@ -44886,6 +45491,13 @@ class FacilityBasicDto {
|
|
|
44886
45491
|
data["creditServerDisconnectedTimestamp"] = this.creditServerDisconnectedTimestamp ? this.creditServerDisconnectedTimestamp.toISOString() : undefined;
|
|
44887
45492
|
data["mainControllerDisconnectedTimestamp"] = this.mainControllerDisconnectedTimestamp ? this.mainControllerDisconnectedTimestamp.toISOString() : undefined;
|
|
44888
45493
|
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
|
+
}
|
|
44889
45501
|
if (Array.isArray(this.featurePermissions)) {
|
|
44890
45502
|
data["featurePermissions"] = [];
|
|
44891
45503
|
for (let item of this.featurePermissions)
|
|
@@ -45975,6 +46587,122 @@ class GenerateReportResponseDtoHttpResponseData {
|
|
|
45975
46587
|
return result;
|
|
45976
46588
|
}
|
|
45977
46589
|
}
|
|
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
|
+
}
|
|
45978
46706
|
class GetMonthlyQuery {
|
|
45979
46707
|
constructor(data) {
|
|
45980
46708
|
if (data) {
|
|
@@ -45987,7 +46715,6 @@ class GetMonthlyQuery {
|
|
|
45987
46715
|
init(_data) {
|
|
45988
46716
|
if (_data) {
|
|
45989
46717
|
this.parkId = _data["parkId"];
|
|
45990
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
45991
46718
|
this.companiesFilter = _data["companiesFilter"] ? CompaniesFilterDto.fromJS(_data["companiesFilter"]) : undefined;
|
|
45992
46719
|
this.filter = _data["filter"] ? FilterDto.fromJS(_data["filter"]) : undefined;
|
|
45993
46720
|
this.monthlySearchFieldSelector = _data["monthlySearchFieldSelector"];
|
|
@@ -46004,7 +46731,6 @@ class GetMonthlyQuery {
|
|
|
46004
46731
|
toJSON(data) {
|
|
46005
46732
|
data = typeof data === 'object' ? data : {};
|
|
46006
46733
|
data["parkId"] = this.parkId;
|
|
46007
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
46008
46734
|
data["companiesFilter"] = this.companiesFilter ? this.companiesFilter.toJSON() : undefined;
|
|
46009
46735
|
data["filter"] = this.filter ? this.filter.toJSON() : undefined;
|
|
46010
46736
|
data["monthlySearchFieldSelector"] = this.monthlySearchFieldSelector;
|
|
@@ -49315,7 +50041,6 @@ class MarkCouponBatchAsSentCommand {
|
|
|
49315
50041
|
this.id = _data["id"];
|
|
49316
50042
|
this.parkId = _data["parkId"];
|
|
49317
50043
|
this.email = _data["email"];
|
|
49318
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
49319
50044
|
}
|
|
49320
50045
|
}
|
|
49321
50046
|
static fromJS(data) {
|
|
@@ -49329,7 +50054,6 @@ class MarkCouponBatchAsSentCommand {
|
|
|
49329
50054
|
data["id"] = this.id;
|
|
49330
50055
|
data["parkId"] = this.parkId;
|
|
49331
50056
|
data["email"] = this.email;
|
|
49332
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
49333
50057
|
return data;
|
|
49334
50058
|
}
|
|
49335
50059
|
clone() {
|
|
@@ -49353,7 +50077,6 @@ class MarkSingleCouponAsSentCommand {
|
|
|
49353
50077
|
this.id = _data["id"];
|
|
49354
50078
|
this.parkId = _data["parkId"];
|
|
49355
50079
|
this.email = _data["email"];
|
|
49356
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
49357
50080
|
}
|
|
49358
50081
|
}
|
|
49359
50082
|
static fromJS(data) {
|
|
@@ -49367,7 +50090,6 @@ class MarkSingleCouponAsSentCommand {
|
|
|
49367
50090
|
data["id"] = this.id;
|
|
49368
50091
|
data["parkId"] = this.parkId;
|
|
49369
50092
|
data["email"] = this.email;
|
|
49370
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
49371
50093
|
return data;
|
|
49372
50094
|
}
|
|
49373
50095
|
clone() {
|
|
@@ -49390,7 +50112,6 @@ class MarkSingleCouponAsUsedCommand {
|
|
|
49390
50112
|
if (_data) {
|
|
49391
50113
|
this.id = _data["id"];
|
|
49392
50114
|
this.parkId = _data["parkId"];
|
|
49393
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
49394
50115
|
}
|
|
49395
50116
|
}
|
|
49396
50117
|
static fromJS(data) {
|
|
@@ -49403,7 +50124,6 @@ class MarkSingleCouponAsUsedCommand {
|
|
|
49403
50124
|
data = typeof data === 'object' ? data : {};
|
|
49404
50125
|
data["id"] = this.id;
|
|
49405
50126
|
data["parkId"] = this.parkId;
|
|
49406
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
49407
50127
|
return data;
|
|
49408
50128
|
}
|
|
49409
50129
|
clone() {
|
|
@@ -49426,7 +50146,6 @@ class MarkSingleStickerAsUsedCommand {
|
|
|
49426
50146
|
if (_data) {
|
|
49427
50147
|
this.id = _data["id"];
|
|
49428
50148
|
this.parkId = _data["parkId"];
|
|
49429
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
49430
50149
|
}
|
|
49431
50150
|
}
|
|
49432
50151
|
static fromJS(data) {
|
|
@@ -49439,7 +50158,6 @@ class MarkSingleStickerAsUsedCommand {
|
|
|
49439
50158
|
data = typeof data === 'object' ? data : {};
|
|
49440
50159
|
data["id"] = this.id;
|
|
49441
50160
|
data["parkId"] = this.parkId;
|
|
49442
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
49443
50161
|
return data;
|
|
49444
50162
|
}
|
|
49445
50163
|
clone() {
|
|
@@ -49463,7 +50181,6 @@ class MarkStickerBatchAsSentCommand {
|
|
|
49463
50181
|
this.id = _data["id"];
|
|
49464
50182
|
this.email = _data["email"];
|
|
49465
50183
|
this.parkId = _data["parkId"];
|
|
49466
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
49467
50184
|
}
|
|
49468
50185
|
}
|
|
49469
50186
|
static fromJS(data) {
|
|
@@ -49477,7 +50194,6 @@ class MarkStickerBatchAsSentCommand {
|
|
|
49477
50194
|
data["id"] = this.id;
|
|
49478
50195
|
data["email"] = this.email;
|
|
49479
50196
|
data["parkId"] = this.parkId;
|
|
49480
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
49481
50197
|
return data;
|
|
49482
50198
|
}
|
|
49483
50199
|
clone() {
|
|
@@ -52146,58 +52862,6 @@ var PermissionType$1;
|
|
|
52146
52862
|
PermissionType[PermissionType["LotConfigurationAccessProfile"] = 100] = "LotConfigurationAccessProfile";
|
|
52147
52863
|
PermissionType[PermissionType["CancelReceipt"] = 101] = "CancelReceipt";
|
|
52148
52864
|
})(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
|
-
}
|
|
52201
52865
|
class PrintTicketRemoteCommandData extends RemoteCommandBase {
|
|
52202
52866
|
constructor(data) {
|
|
52203
52867
|
super(data);
|
|
@@ -55052,7 +55716,6 @@ class SendCouponByEmailCommand {
|
|
|
55052
55716
|
this.entityId = _data["entityId"];
|
|
55053
55717
|
this.email = _data["email"];
|
|
55054
55718
|
this.parkId = _data["parkId"];
|
|
55055
|
-
this.permittedCompaniesFilter = _data["permittedCompaniesFilter"] ? PermittedCompaniesFilterDto.fromJS(_data["permittedCompaniesFilter"]) : undefined;
|
|
55056
55719
|
}
|
|
55057
55720
|
}
|
|
55058
55721
|
static fromJS(data) {
|
|
@@ -55071,7 +55734,6 @@ class SendCouponByEmailCommand {
|
|
|
55071
55734
|
data["entityId"] = this.entityId;
|
|
55072
55735
|
data["email"] = this.email;
|
|
55073
55736
|
data["parkId"] = this.parkId;
|
|
55074
|
-
data["permittedCompaniesFilter"] = this.permittedCompaniesFilter ? this.permittedCompaniesFilter.toJSON() : undefined;
|
|
55075
55737
|
return data;
|
|
55076
55738
|
}
|
|
55077
55739
|
clone() {
|
|
@@ -63691,6 +64353,8 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
63691
64353
|
GenerateReportNotificationDto: GenerateReportNotificationDto,
|
|
63692
64354
|
GenerateReportResponseDto: GenerateReportResponseDto,
|
|
63693
64355
|
GenerateReportResponseDtoHttpResponseData: GenerateReportResponseDtoHttpResponseData,
|
|
64356
|
+
GetGuestsTrafficQuery: GetGuestsTrafficQuery,
|
|
64357
|
+
GetMonthliesTrafficQuery: GetMonthliesTrafficQuery,
|
|
63694
64358
|
GetMonthlyQuery: GetMonthlyQuery,
|
|
63695
64359
|
GetTicketFeeRemoteCommand: GetTicketFeeRemoteCommand,
|
|
63696
64360
|
GroupDto: GroupDto,
|
|
@@ -63856,7 +64520,6 @@ var edgeServiceProxies = /*#__PURE__*/Object.freeze({
|
|
|
63856
64520
|
get PermissionGroup () { return PermissionGroup; },
|
|
63857
64521
|
get PermissionService () { return PermissionService; },
|
|
63858
64522
|
get PermissionType () { return PermissionType$1; },
|
|
63859
|
-
PermittedCompaniesFilterDto: PermittedCompaniesFilterDto,
|
|
63860
64523
|
PrintTicketRemoteCommandData: PrintTicketRemoteCommandData,
|
|
63861
64524
|
PrinterDto: PrinterDto,
|
|
63862
64525
|
ProblemDetails: ProblemDetails,
|
|
@@ -71858,12 +72521,6 @@ const extractNumber = (input) => {
|
|
|
71858
72521
|
};
|
|
71859
72522
|
const isSingularOrPlural = (numberOfMonth) => numberOfMonth <= 1;
|
|
71860
72523
|
|
|
71861
|
-
function convertPermissionsToDictionary(permissions) {
|
|
71862
|
-
return Object.values(permissions || {}).reduce((allowedActions, action) => {
|
|
71863
|
-
allowedActions[action.type] = true;
|
|
71864
|
-
return allowedActions;
|
|
71865
|
-
}, {});
|
|
71866
|
-
}
|
|
71867
72524
|
function convertFeaturePermissionsToDictionary(permissions) {
|
|
71868
72525
|
return permissions.reduce((allowedActions, permissionsType) => {
|
|
71869
72526
|
if (PermissionType$1[permissionsType]) {
|
|
@@ -73352,5 +74009,5 @@ function slideUpDown() {
|
|
|
73352
74009
|
* Generated bundle index. Do not edit.
|
|
73353
74010
|
*/
|
|
73354
74011
|
|
|
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,
|
|
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 };
|
|
73356
74013
|
//# sourceMappingURL=tiba-spark-client-shared-lib.mjs.map
|