ntk-cms-api 1.2.197 → 1.2.199
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/esm2020/lib/models/entity/estate/estateAccountAgencyModel.mjs +1 -1
- package/esm2020/lib/models/entity/estate/estateAccountUserModel.mjs +1 -1
- package/esm2020/lib/service/estate/estateAccountAgency.service.mjs +1 -17
- package/esm2020/lib/service/estate/estateAccountUser.service.mjs +1 -17
- package/esm2020/lib/service/estate/estateCustomerOrder.service.mjs +17 -15
- package/esm2020/lib/service/estate/estateProperty.service.mjs +17 -15
- package/esm2020/lib/service/estate/estatePropertyHistory.service.mjs +1 -17
- package/fesm2015/ntk-cms-api.mjs +42 -80
- package/fesm2015/ntk-cms-api.mjs.map +1 -1
- package/fesm2020/ntk-cms-api.mjs +42 -80
- package/fesm2020/ntk-cms-api.mjs.map +1 -1
- package/lib/models/entity/estate/estateAccountAgencyModel.d.ts +2 -0
- package/lib/models/entity/estate/estateAccountUserModel.d.ts +2 -0
- package/lib/service/estate/estateAccountAgency.service.d.ts +0 -3
- package/lib/service/estate/estateAccountUser.service.d.ts +0 -3
- package/lib/service/estate/estateCustomerOrder.service.d.ts +0 -1
- package/lib/service/estate/estateProperty.service.d.ts +0 -1
- package/lib/service/estate/estatePropertyHistory.service.d.ts +0 -3
- package/package.json +1 -1
package/fesm2020/ntk-cms-api.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { Injectable, Component, NgModule, Inject } from '@angular/core';
|
|
3
|
-
import { BehaviorSubject, Subject, throwError
|
|
3
|
+
import { BehaviorSubject, Subject, throwError } from 'rxjs';
|
|
4
4
|
import { distinctUntilChanged, map, retry } from 'rxjs/operators';
|
|
5
5
|
import * as i2 from '@angular/common/http';
|
|
6
6
|
import { HttpClient } from '@angular/common/http';
|
|
@@ -9779,27 +9779,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
9779
9779
|
type: Injectable
|
|
9780
9780
|
}] });
|
|
9781
9781
|
|
|
9782
|
-
class EstateAccountAgencyFilterModel extends FilterModel {
|
|
9783
|
-
}
|
|
9784
|
-
|
|
9785
9782
|
class EstateAccountAgencyService extends ApiCmsServerBase {
|
|
9786
9783
|
getModuleControllerUrl() {
|
|
9787
9784
|
return 'EstateAccountAgency';
|
|
9788
9785
|
}
|
|
9789
|
-
ServiceGetAllWithFilter(model) {
|
|
9790
|
-
if (model == null) {
|
|
9791
|
-
model = new EstateAccountAgencyFilterModel();
|
|
9792
|
-
}
|
|
9793
|
-
return this.http
|
|
9794
|
-
.post(this.getBaseUrl() + this.getModuleControllerUrl() + '/GetAllWithFilter/', model, {
|
|
9795
|
-
headers: this.getHeaders(),
|
|
9796
|
-
})
|
|
9797
|
-
.pipe(retry$1(this.configApiRetry),
|
|
9798
|
-
// catchError(this.handleError)
|
|
9799
|
-
map$1((ret) => {
|
|
9800
|
-
return this.errorExceptionResultCheck(ret);
|
|
9801
|
-
}));
|
|
9802
|
-
}
|
|
9803
9786
|
}
|
|
9804
9787
|
EstateAccountAgencyService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: EstateAccountAgencyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
9805
9788
|
EstateAccountAgencyService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: EstateAccountAgencyService });
|
|
@@ -9863,27 +9846,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
9863
9846
|
type: Injectable
|
|
9864
9847
|
}] });
|
|
9865
9848
|
|
|
9866
|
-
class EstateAccountUserFilterModel extends FilterModel {
|
|
9867
|
-
}
|
|
9868
|
-
|
|
9869
9849
|
class EstateAccountUserService extends ApiCmsServerBase {
|
|
9870
9850
|
getModuleControllerUrl() {
|
|
9871
9851
|
return 'EstateAccountUser';
|
|
9872
9852
|
}
|
|
9873
|
-
ServiceGetAllWithFilter(model) {
|
|
9874
|
-
if (model == null) {
|
|
9875
|
-
model = new EstateAccountUserFilterModel();
|
|
9876
|
-
}
|
|
9877
|
-
return this.http
|
|
9878
|
-
.post(this.getBaseUrl() + this.getModuleControllerUrl() + '/GetAllWithFilter/', model, {
|
|
9879
|
-
headers: this.getHeaders(),
|
|
9880
|
-
})
|
|
9881
|
-
.pipe(retry$1(this.configApiRetry),
|
|
9882
|
-
// catchError(this.handleError)
|
|
9883
|
-
map$1((ret) => {
|
|
9884
|
-
return this.errorExceptionResultCheck(ret);
|
|
9885
|
-
}));
|
|
9886
|
-
}
|
|
9887
9853
|
}
|
|
9888
9854
|
EstateAccountUserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: EstateAccountUserService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
9889
9855
|
EstateAccountUserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: EstateAccountUserService });
|
|
@@ -9988,27 +9954,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.7", ngImpor
|
|
|
9988
9954
|
type: Injectable
|
|
9989
9955
|
}] });
|
|
9990
9956
|
|
|
9991
|
-
class EstatePropertyHistoryFilterModel extends FilterModel {
|
|
9992
|
-
}
|
|
9993
|
-
|
|
9994
9957
|
class EstatePropertyHistoryService extends ApiCmsServerBase {
|
|
9995
9958
|
getModuleControllerUrl() {
|
|
9996
9959
|
return 'EstatePropertyHistory';
|
|
9997
9960
|
}
|
|
9998
|
-
ServiceGetAllWithFilterOnDate(model) {
|
|
9999
|
-
if (model == null) {
|
|
10000
|
-
model = new EstatePropertyHistoryFilterModel();
|
|
10001
|
-
}
|
|
10002
|
-
return this.http
|
|
10003
|
-
.post(this.getBaseUrl() + this.getModuleControllerUrl() + '/GetAllWithFilterOnDate/', model, {
|
|
10004
|
-
headers: this.getHeaders(),
|
|
10005
|
-
})
|
|
10006
|
-
.pipe(retry$1(this.configApiRetry),
|
|
10007
|
-
// catchError(this.handleError)
|
|
10008
|
-
map$1((ret) => {
|
|
10009
|
-
return this.errorExceptionResultCheck(ret);
|
|
10010
|
-
}));
|
|
10011
|
-
}
|
|
10012
9961
|
}
|
|
10013
9962
|
EstatePropertyHistoryService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: EstatePropertyHistoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
|
|
10014
9963
|
EstatePropertyHistoryService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.7", ngImport: i0, type: EstatePropertyHistoryService });
|
|
@@ -10137,20 +10086,22 @@ class EstateCustomerOrderService extends ApiCmsServerBase {
|
|
|
10137
10086
|
return this.errorExceptionResultBaseCheck(ret);
|
|
10138
10087
|
}));
|
|
10139
10088
|
}
|
|
10140
|
-
ServiceGetAllWithFilter(model) {
|
|
10141
|
-
|
|
10142
|
-
|
|
10143
|
-
|
|
10144
|
-
|
|
10145
|
-
|
|
10146
|
-
|
|
10147
|
-
|
|
10148
|
-
|
|
10149
|
-
|
|
10150
|
-
|
|
10151
|
-
|
|
10152
|
-
|
|
10153
|
-
}
|
|
10089
|
+
// ServiceGetAllWithFilter(model: EstateCustomerOrderFilterModel): Observable<ErrorExceptionResult<EstateCustomerOrderModel>> {
|
|
10090
|
+
// if (model == null) {
|
|
10091
|
+
// model = new EstateCustomerOrderFilterModel();
|
|
10092
|
+
// }
|
|
10093
|
+
// return this.http
|
|
10094
|
+
// .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/GetAllWithFilter/', model, {
|
|
10095
|
+
// headers: this.getHeaders(),
|
|
10096
|
+
// })
|
|
10097
|
+
// .pipe(
|
|
10098
|
+
// retry(this.configApiRetry),
|
|
10099
|
+
// // catchError(this.handleError)
|
|
10100
|
+
// map((ret: any) => {
|
|
10101
|
+
// return this.errorExceptionResultCheck(ret);
|
|
10102
|
+
// }),
|
|
10103
|
+
// );
|
|
10104
|
+
// }
|
|
10154
10105
|
ServiceGetAllWithResponsibleUserId(userId, model) {
|
|
10155
10106
|
if (model == null) {
|
|
10156
10107
|
model = new EstateCustomerOrderFilterModel();
|
|
@@ -10311,20 +10262,22 @@ class EstatePropertyService extends ApiCmsServerBase {
|
|
|
10311
10262
|
return this.errorExceptionResultCheck(ret);
|
|
10312
10263
|
}));
|
|
10313
10264
|
}
|
|
10314
|
-
ServiceGetAllWithFilter(model) {
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
}
|
|
10265
|
+
// ServiceGetAllWithFilter(model: EstatePropertyFilterModel): Observable<ErrorExceptionResult<EstatePropertyModel>> {
|
|
10266
|
+
// if (model == null) {
|
|
10267
|
+
// model = new EstatePropertyFilterModel();
|
|
10268
|
+
// }
|
|
10269
|
+
// return this.http
|
|
10270
|
+
// .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/GetAllWithFilter/', model, {
|
|
10271
|
+
// headers: this.getHeaders(),
|
|
10272
|
+
// })
|
|
10273
|
+
// .pipe(
|
|
10274
|
+
// retry(this.configApiRetry),
|
|
10275
|
+
// // catchError(this.handleError)
|
|
10276
|
+
// map((ret: any) => {
|
|
10277
|
+
// return this.errorExceptionResultCheck(ret);
|
|
10278
|
+
// }),
|
|
10279
|
+
// );
|
|
10280
|
+
// }
|
|
10328
10281
|
ServiceGetAllWithBillboardId(BillboardId, model) {
|
|
10329
10282
|
if (model == null) {
|
|
10330
10283
|
model = new EstatePropertyFilterModel();
|
|
@@ -10855,12 +10808,21 @@ var EstateUserTypeEnum;
|
|
|
10855
10808
|
EstateUserTypeEnum[EstateUserTypeEnum["Agency"] = 3] = "Agency";
|
|
10856
10809
|
})(EstateUserTypeEnum || (EstateUserTypeEnum = {}));
|
|
10857
10810
|
|
|
10811
|
+
class EstatePropertyHistoryFilterModel extends FilterModel {
|
|
10812
|
+
}
|
|
10813
|
+
|
|
10858
10814
|
class EstatePropertyActionSendSmsDtoModel {
|
|
10859
10815
|
}
|
|
10860
10816
|
|
|
10861
10817
|
class EstateCustomerOrderActionSendSmsDtoModel {
|
|
10862
10818
|
}
|
|
10863
10819
|
|
|
10820
|
+
class EstateAccountAgencyFilterModel extends FilterModel {
|
|
10821
|
+
}
|
|
10822
|
+
|
|
10823
|
+
class EstateAccountUserFilterModel extends FilterModel {
|
|
10824
|
+
}
|
|
10825
|
+
|
|
10864
10826
|
class WebDesignerEnumService extends ApiServerBase {
|
|
10865
10827
|
getModuleControllerUrl() {
|
|
10866
10828
|
return 'WebDesignerEnum';
|