@energycap/energycap-billcapture-sdk-angular 1.0.301-develop-20260424-2105 → 1.0.303
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.
|
@@ -54,7 +54,7 @@ class Configuration {
|
|
|
54
54
|
* Do not edit the class manually.
|
|
55
55
|
*/
|
|
56
56
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
57
|
-
const RequestMethod$
|
|
57
|
+
const RequestMethod$b = {
|
|
58
58
|
Get: 'get',
|
|
59
59
|
Post: 'post',
|
|
60
60
|
Put: 'put',
|
|
@@ -266,7 +266,7 @@ class AccountService {
|
|
|
266
266
|
withCredentials: this.configuration.withCredentials,
|
|
267
267
|
observe: 'response'
|
|
268
268
|
};
|
|
269
|
-
return this.http.request(RequestMethod$
|
|
269
|
+
return this.http.request(RequestMethod$b.Get, path, requestOptions);
|
|
270
270
|
}
|
|
271
271
|
/**
|
|
272
272
|
*
|
|
@@ -316,7 +316,7 @@ class AccountService {
|
|
|
316
316
|
withCredentials: this.configuration.withCredentials,
|
|
317
317
|
observe: 'response'
|
|
318
318
|
};
|
|
319
|
-
return this.http.request(RequestMethod$
|
|
319
|
+
return this.http.request(RequestMethod$b.Get, path, requestOptions);
|
|
320
320
|
}
|
|
321
321
|
/**
|
|
322
322
|
*
|
|
@@ -366,7 +366,7 @@ class AccountService {
|
|
|
366
366
|
withCredentials: this.configuration.withCredentials,
|
|
367
367
|
observe: 'response'
|
|
368
368
|
};
|
|
369
|
-
return this.http.request(RequestMethod$
|
|
369
|
+
return this.http.request(RequestMethod$b.Get, path, requestOptions);
|
|
370
370
|
}
|
|
371
371
|
/**
|
|
372
372
|
*
|
|
@@ -428,7 +428,7 @@ class AccountService {
|
|
|
428
428
|
withCredentials: this.configuration.withCredentials,
|
|
429
429
|
observe: 'response'
|
|
430
430
|
};
|
|
431
|
-
return this.http.request(RequestMethod$
|
|
431
|
+
return this.http.request(RequestMethod$b.Get, path, requestOptions);
|
|
432
432
|
}
|
|
433
433
|
/**
|
|
434
434
|
*
|
|
@@ -478,7 +478,7 @@ class AccountService {
|
|
|
478
478
|
withCredentials: this.configuration.withCredentials,
|
|
479
479
|
observe: 'response'
|
|
480
480
|
};
|
|
481
|
-
return this.http.request(RequestMethod$
|
|
481
|
+
return this.http.request(RequestMethod$b.Get, path, requestOptions);
|
|
482
482
|
}
|
|
483
483
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: AccountService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
484
484
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: AccountService });
|
|
@@ -506,7 +506,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
506
506
|
* Do not edit the class manually.
|
|
507
507
|
*/
|
|
508
508
|
/* tslint:disable:no-unused-variable member-ordering */
|
|
509
|
-
const RequestMethod$
|
|
509
|
+
const RequestMethod$a = {
|
|
510
510
|
Get: 'get',
|
|
511
511
|
Post: 'post',
|
|
512
512
|
Put: 'put',
|
|
@@ -689,7 +689,7 @@ class ClientService {
|
|
|
689
689
|
withCredentials: this.configuration.withCredentials,
|
|
690
690
|
observe: 'response'
|
|
691
691
|
};
|
|
692
|
-
return this.http.request(RequestMethod$
|
|
692
|
+
return this.http.request(RequestMethod$a.Get, path, requestOptions);
|
|
693
693
|
}
|
|
694
694
|
/**
|
|
695
695
|
* Update a client
|
|
@@ -746,7 +746,7 @@ class ClientService {
|
|
|
746
746
|
withCredentials: this.configuration.withCredentials,
|
|
747
747
|
observe: 'response'
|
|
748
748
|
};
|
|
749
|
-
return this.http.request(RequestMethod$
|
|
749
|
+
return this.http.request(RequestMethod$a.Put, path, requestOptions);
|
|
750
750
|
}
|
|
751
751
|
/**
|
|
752
752
|
* Get a client's monthly transaction statistics for the current contract period
|
|
@@ -806,7 +806,7 @@ class ClientService {
|
|
|
806
806
|
withCredentials: this.configuration.withCredentials,
|
|
807
807
|
observe: 'response'
|
|
808
808
|
};
|
|
809
|
-
return this.http.request(RequestMethod$
|
|
809
|
+
return this.http.request(RequestMethod$a.Get, path, requestOptions);
|
|
810
810
|
}
|
|
811
811
|
/**
|
|
812
812
|
* Get a client's transaction usage
|
|
@@ -858,7 +858,7 @@ class ClientService {
|
|
|
858
858
|
withCredentials: this.configuration.withCredentials,
|
|
859
859
|
observe: 'response'
|
|
860
860
|
};
|
|
861
|
-
return this.http.request(RequestMethod$
|
|
861
|
+
return this.http.request(RequestMethod$a.Get, path, requestOptions);
|
|
862
862
|
}
|
|
863
863
|
/**
|
|
864
864
|
* Return a list of clients
|
|
@@ -904,7 +904,7 @@ class ClientService {
|
|
|
904
904
|
withCredentials: this.configuration.withCredentials,
|
|
905
905
|
observe: 'response'
|
|
906
906
|
};
|
|
907
|
-
return this.http.request(RequestMethod$
|
|
907
|
+
return this.http.request(RequestMethod$a.Get, path, requestOptions);
|
|
908
908
|
}
|
|
909
909
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ClientService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
910
910
|
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ClientService });
|
|
@@ -920,6 +920,149 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
920
920
|
type: Optional
|
|
921
921
|
}] }] });
|
|
922
922
|
|
|
923
|
+
/**
|
|
924
|
+
* BillCapture.API
|
|
925
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
926
|
+
*
|
|
927
|
+
* OpenAPI spec version: 1.0
|
|
928
|
+
*
|
|
929
|
+
*
|
|
930
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
931
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
932
|
+
* Do not edit the class manually.
|
|
933
|
+
*/
|
|
934
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
935
|
+
const RequestMethod$9 = {
|
|
936
|
+
Get: 'get',
|
|
937
|
+
Post: 'post',
|
|
938
|
+
Put: 'put',
|
|
939
|
+
Delete: 'delete',
|
|
940
|
+
Options: 'options',
|
|
941
|
+
Head: 'head',
|
|
942
|
+
Patch: 'patch'
|
|
943
|
+
};
|
|
944
|
+
class ClientFileChildrenService {
|
|
945
|
+
http;
|
|
946
|
+
basePath = 'https://localhost';
|
|
947
|
+
defaultHeaders = new HttpHeaders();
|
|
948
|
+
configuration = new Configuration();
|
|
949
|
+
constructor(http, basePath, configuration) {
|
|
950
|
+
this.http = http;
|
|
951
|
+
if (basePath) {
|
|
952
|
+
this.basePath = basePath;
|
|
953
|
+
}
|
|
954
|
+
if (configuration) {
|
|
955
|
+
this.configuration = configuration;
|
|
956
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
/**
|
|
960
|
+
*
|
|
961
|
+
* Extends object by coping non-existing properties.
|
|
962
|
+
* @param objA object to be extended
|
|
963
|
+
* @param objB source object
|
|
964
|
+
*/
|
|
965
|
+
extendObj(objA, objB) {
|
|
966
|
+
for (let key in objB) {
|
|
967
|
+
if (objB.hasOwnProperty(key)) {
|
|
968
|
+
objA[key] = objB[key];
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
return objA;
|
|
972
|
+
}
|
|
973
|
+
/**
|
|
974
|
+
* @param consumes string[] mime-types
|
|
975
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
976
|
+
*/
|
|
977
|
+
canConsumeForm(consumes) {
|
|
978
|
+
const form = 'multipart/form-data';
|
|
979
|
+
for (let consume of consumes) {
|
|
980
|
+
if (form === consume) {
|
|
981
|
+
return true;
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
return false;
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* Downloads the bill image for a client file child ID when it belongs to the authenticated tenant.
|
|
988
|
+
*
|
|
989
|
+
* @param clientFileChildrenId The client file child identifier.
|
|
990
|
+
*/
|
|
991
|
+
apiV202604ClientFileChildrenClientFileChildrenIdOriginalFileGet(clientFileChildrenId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
992
|
+
return this.apiV202604ClientFileChildrenClientFileChildrenIdOriginalFileGetWithHttpInfo(clientFileChildrenId, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
993
|
+
.pipe(map((response) => {
|
|
994
|
+
if (response.status === 204) {
|
|
995
|
+
return undefined;
|
|
996
|
+
}
|
|
997
|
+
else {
|
|
998
|
+
return response.body;
|
|
999
|
+
}
|
|
1000
|
+
}));
|
|
1001
|
+
}
|
|
1002
|
+
/**
|
|
1003
|
+
* Downloads the bill image for a client file child ID when it belongs to the authenticated tenant.
|
|
1004
|
+
*
|
|
1005
|
+
* @param clientFileChildrenId The client file child identifier.
|
|
1006
|
+
*/
|
|
1007
|
+
apiV202604ClientFileChildrenClientFileChildrenIdOriginalFileGetWithHttpInfo(clientFileChildrenId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
1008
|
+
const path = this.basePath + '/api/v202604/ClientFileChildren/${clientFileChildrenId}/originalFile'
|
|
1009
|
+
.replace('${' + 'clientFileChildrenId' + '}', String(clientFileChildrenId));
|
|
1010
|
+
let queryParameters;
|
|
1011
|
+
if (extraHttpRequestParams) {
|
|
1012
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
1013
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
1014
|
+
}
|
|
1015
|
+
else {
|
|
1016
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
1017
|
+
}
|
|
1018
|
+
}
|
|
1019
|
+
else {
|
|
1020
|
+
queryParameters = new HttpParams();
|
|
1021
|
+
}
|
|
1022
|
+
let headers = new HttpHeaders();
|
|
1023
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
1024
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
1025
|
+
});
|
|
1026
|
+
if (extraHttpRequestHeaders) {
|
|
1027
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
1028
|
+
headers = headers.set(key, value);
|
|
1029
|
+
});
|
|
1030
|
+
}
|
|
1031
|
+
// verify required parameter 'clientFileChildrenId' is not null or undefined
|
|
1032
|
+
if (clientFileChildrenId === null || clientFileChildrenId === undefined) {
|
|
1033
|
+
throw new Error('Required parameter clientFileChildrenId was null or undefined when calling apiV202604ClientFileChildrenClientFileChildrenIdOriginalFileGet.');
|
|
1034
|
+
}
|
|
1035
|
+
// to determine the Accept header
|
|
1036
|
+
let produces = [];
|
|
1037
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
1038
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
1039
|
+
}
|
|
1040
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
1041
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
1042
|
+
}
|
|
1043
|
+
const consumes = [];
|
|
1044
|
+
let requestOptions = {
|
|
1045
|
+
headers: headers,
|
|
1046
|
+
params: queryParameters,
|
|
1047
|
+
withCredentials: this.configuration.withCredentials,
|
|
1048
|
+
observe: 'response'
|
|
1049
|
+
};
|
|
1050
|
+
return this.http.request(RequestMethod$9.Get, path, requestOptions);
|
|
1051
|
+
}
|
|
1052
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ClientFileChildrenService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1053
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ClientFileChildrenService });
|
|
1054
|
+
}
|
|
1055
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ClientFileChildrenService, decorators: [{
|
|
1056
|
+
type: Injectable
|
|
1057
|
+
}], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
1058
|
+
type: Optional
|
|
1059
|
+
}, {
|
|
1060
|
+
type: Inject,
|
|
1061
|
+
args: [BASE_PATH]
|
|
1062
|
+
}] }, { type: Configuration, decorators: [{
|
|
1063
|
+
type: Optional
|
|
1064
|
+
}] }] });
|
|
1065
|
+
|
|
923
1066
|
/**
|
|
924
1067
|
* BillCapture.API
|
|
925
1068
|
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
@@ -2663,7 +2806,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
2663
2806
|
type: Optional
|
|
2664
2807
|
}] }] });
|
|
2665
2808
|
|
|
2666
|
-
const APIS = [AccountService, ClientService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService];
|
|
2809
|
+
const APIS = [AccountService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService];
|
|
2667
2810
|
|
|
2668
2811
|
/**
|
|
2669
2812
|
* BillCapture.API
|
|
@@ -3448,7 +3591,7 @@ class EnergyCapSdkModule {
|
|
|
3448
3591
|
}
|
|
3449
3592
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3450
3593
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, imports: [CommonModule] });
|
|
3451
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService], imports: [CommonModule] });
|
|
3594
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService], imports: [CommonModule] });
|
|
3452
3595
|
}
|
|
3453
3596
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, decorators: [{
|
|
3454
3597
|
type: NgModule,
|
|
@@ -3456,7 +3599,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
3456
3599
|
imports: [CommonModule],
|
|
3457
3600
|
declarations: [],
|
|
3458
3601
|
exports: [],
|
|
3459
|
-
providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService]
|
|
3602
|
+
providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService]
|
|
3460
3603
|
}]
|
|
3461
3604
|
}] });
|
|
3462
3605
|
|
|
@@ -3464,5 +3607,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
|
|
|
3464
3607
|
* Generated bundle index. Do not edit.
|
|
3465
3608
|
*/
|
|
3466
3609
|
|
|
3467
|
-
export { APIFilter, APIS, AccountService, BASE_PATH, COLLECTION_FORMATS, ClientChildDTO, ClientEditDTO, ClientResponseDTO, ClientService, Configuration, DuplicateInfoChildDTO, EnergyCapSdkModule, ExportService, FileDetailDTO, ImportTaskRequestDTO, ImportTaskService, InternalService, MonthlyTransactionStatisticsDTO, OcrResultChildDTO, PartnerChildDTO, PartnerProcessResultDTO, PartnerProcessStatus, PartnerService, ProblemFileActionRequestDTO, ProblemFileActionResponseDTO, ProblemFileHistoryResponseDTO, ProblemFileNewImportChildDTO, ProblemFileResponseDTO, ProblemFileService, ProblemTypeChildDTO, ProblemTypeResponseDTO, ProblemTypeService, TransactionLogResponseDTO, TransactionService, TransactionUsageDTO, TransactionUsageResponseDTO, UploadFileResponseDTO, UploadResponseDTO, UploadService, UtilityManagementSystemUserChildDTO, VersionService };
|
|
3610
|
+
export { APIFilter, APIS, AccountService, BASE_PATH, COLLECTION_FORMATS, ClientChildDTO, ClientEditDTO, ClientFileChildrenService, ClientResponseDTO, ClientService, Configuration, DuplicateInfoChildDTO, EnergyCapSdkModule, ExportService, FileDetailDTO, ImportTaskRequestDTO, ImportTaskService, InternalService, MonthlyTransactionStatisticsDTO, OcrResultChildDTO, PartnerChildDTO, PartnerProcessResultDTO, PartnerProcessStatus, PartnerService, ProblemFileActionRequestDTO, ProblemFileActionResponseDTO, ProblemFileHistoryResponseDTO, ProblemFileNewImportChildDTO, ProblemFileResponseDTO, ProblemFileService, ProblemTypeChildDTO, ProblemTypeResponseDTO, ProblemTypeService, TransactionLogResponseDTO, TransactionService, TransactionUsageDTO, TransactionUsageResponseDTO, UploadFileResponseDTO, UploadResponseDTO, UploadService, UtilityManagementSystemUserChildDTO, VersionService };
|
|
3468
3611
|
//# sourceMappingURL=energycap-energycap-billcapture-sdk-angular.mjs.map
|