@energycap/energycap-billcapture-sdk-angular 1.0.244-develop-20260311-1231 → 1.0.245-develop-20260311-1435

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$9 = {
57
+ const RequestMethod$a = {
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$9.Get, path, requestOptions);
269
+ return this.http.request(RequestMethod$a.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$9.Get, path, requestOptions);
319
+ return this.http.request(RequestMethod$a.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$9.Get, path, requestOptions);
369
+ return this.http.request(RequestMethod$a.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$9.Get, path, requestOptions);
431
+ return this.http.request(RequestMethod$a.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$9.Get, path, requestOptions);
481
+ return this.http.request(RequestMethod$a.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$8 = {
509
+ const RequestMethod$9 = {
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$8.Get, path, requestOptions);
692
+ return this.http.request(RequestMethod$9.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$8.Put, path, requestOptions);
749
+ return this.http.request(RequestMethod$9.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$8.Get, path, requestOptions);
809
+ return this.http.request(RequestMethod$9.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$8.Get, path, requestOptions);
861
+ return this.http.request(RequestMethod$9.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$8.Get, path, requestOptions);
907
+ return this.http.request(RequestMethod$9.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 });
@@ -932,7 +932,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
932
932
  * Do not edit the class manually.
933
933
  */
934
934
  /* tslint:disable:no-unused-variable member-ordering */
935
- const RequestMethod$7 = {
935
+ const RequestMethod$8 = {
936
936
  Get: 'get',
937
937
  Post: 'post',
938
938
  Put: 'put',
@@ -1061,7 +1061,7 @@ class ExportService {
1061
1061
  withCredentials: this.configuration.withCredentials,
1062
1062
  observe: 'response'
1063
1063
  };
1064
- return this.http.request(RequestMethod$7.Post, path, requestOptions);
1064
+ return this.http.request(RequestMethod$8.Post, path, requestOptions);
1065
1065
  }
1066
1066
  /**
1067
1067
  * Exports the uploads
@@ -1109,7 +1109,7 @@ class ExportService {
1109
1109
  withCredentials: this.configuration.withCredentials,
1110
1110
  observe: 'response'
1111
1111
  };
1112
- return this.http.request(RequestMethod$7.Post, path, requestOptions);
1112
+ return this.http.request(RequestMethod$8.Post, path, requestOptions);
1113
1113
  }
1114
1114
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ExportService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1115
1115
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ExportService });
@@ -1125,6 +1125,155 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
1125
1125
  type: Optional
1126
1126
  }] }] });
1127
1127
 
1128
+ /**
1129
+ * BillCapture.API
1130
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
1131
+ *
1132
+ * OpenAPI spec version: 1.0
1133
+ *
1134
+ *
1135
+ * NOTE: This class is auto generated by the swagger code generator program.
1136
+ * https://github.com/swagger-api/swagger-codegen.git
1137
+ * Do not edit the class manually.
1138
+ */
1139
+ /* tslint:disable:no-unused-variable member-ordering */
1140
+ const RequestMethod$7 = {
1141
+ Get: 'get',
1142
+ Post: 'post',
1143
+ Put: 'put',
1144
+ Delete: 'delete',
1145
+ Options: 'options',
1146
+ Head: 'head',
1147
+ Patch: 'patch'
1148
+ };
1149
+ class ImportTaskService {
1150
+ http;
1151
+ basePath = 'https://localhost';
1152
+ defaultHeaders = new HttpHeaders();
1153
+ configuration = new Configuration();
1154
+ constructor(http, basePath, configuration) {
1155
+ this.http = http;
1156
+ if (basePath) {
1157
+ this.basePath = basePath;
1158
+ }
1159
+ if (configuration) {
1160
+ this.configuration = configuration;
1161
+ this.basePath = basePath || configuration.basePath || this.basePath;
1162
+ }
1163
+ }
1164
+ /**
1165
+ *
1166
+ * Extends object by coping non-existing properties.
1167
+ * @param objA object to be extended
1168
+ * @param objB source object
1169
+ */
1170
+ extendObj(objA, objB) {
1171
+ for (let key in objB) {
1172
+ if (objB.hasOwnProperty(key)) {
1173
+ objA[key] = objB[key];
1174
+ }
1175
+ }
1176
+ return objA;
1177
+ }
1178
+ /**
1179
+ * @param consumes string[] mime-types
1180
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
1181
+ */
1182
+ canConsumeForm(consumes) {
1183
+ const form = 'multipart/form-data';
1184
+ for (let consume of consumes) {
1185
+ if (form === consume) {
1186
+ return true;
1187
+ }
1188
+ }
1189
+ return false;
1190
+ }
1191
+ /**
1192
+ * Update import task information in partnerFiles table, including kickout count and kickedOut flag
1193
+ *
1194
+ * @param taskGUID The GUID of the master task to update (i.e., the task GUID that was originated by the BillCapture import).
1195
+ * @param body Import task request with imported and kickout counts
1196
+ */
1197
+ apiV202603ImportTaskTaskGUIDPut(taskGUID, body, extraHttpRequestParams, extraHttpRequestHeaders) {
1198
+ return this.apiV202603ImportTaskTaskGUIDPutWithHttpInfo(taskGUID, body, extraHttpRequestParams, extraHttpRequestHeaders)
1199
+ .pipe(map((response) => {
1200
+ if (response.status === 204) {
1201
+ return undefined;
1202
+ }
1203
+ else {
1204
+ return response.body;
1205
+ }
1206
+ }));
1207
+ }
1208
+ /**
1209
+ * Update import task information in partnerFiles table, including kickout count and kickedOut flag
1210
+ *
1211
+ * @param taskGUID The GUID of the master task to update (i.e., the task GUID that was originated by the BillCapture import).
1212
+ * @param body Import task request with imported and kickout counts
1213
+ */
1214
+ apiV202603ImportTaskTaskGUIDPutWithHttpInfo(taskGUID, body, extraHttpRequestParams, extraHttpRequestHeaders) {
1215
+ const path = this.basePath + '/api/v202603/ImportTask/${taskGUID}'
1216
+ .replace('${' + 'taskGUID' + '}', String(taskGUID));
1217
+ let queryParameters;
1218
+ if (extraHttpRequestParams) {
1219
+ if (typeof extraHttpRequestParams.search === 'string') {
1220
+ queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
1221
+ }
1222
+ else {
1223
+ queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
1224
+ }
1225
+ }
1226
+ else {
1227
+ queryParameters = new HttpParams();
1228
+ }
1229
+ let headers = new HttpHeaders();
1230
+ this.defaultHeaders.keys().forEach(key => {
1231
+ headers = headers.set(key, this.defaultHeaders.getAll(key));
1232
+ });
1233
+ if (extraHttpRequestHeaders) {
1234
+ Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
1235
+ headers = headers.set(key, value);
1236
+ });
1237
+ }
1238
+ // verify required parameter 'taskGUID' is not null or undefined
1239
+ if (taskGUID === null || taskGUID === undefined) {
1240
+ throw new Error('Required parameter taskGUID was null or undefined when calling apiV202603ImportTaskTaskGUIDPut.');
1241
+ }
1242
+ // to determine the Accept header
1243
+ let produces = [];
1244
+ if (this.configuration.apiKeys["Authorization"]) {
1245
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
1246
+ }
1247
+ if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
1248
+ headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
1249
+ }
1250
+ const consumes = [
1251
+ 'application/json'
1252
+ ];
1253
+ headers = headers.set('Content-Type', consumes[0]);
1254
+ let requestOptions = {
1255
+ headers: headers,
1256
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body), // https://github.com/angular/angular/issues/10612
1257
+ params: queryParameters,
1258
+ withCredentials: this.configuration.withCredentials,
1259
+ observe: 'response'
1260
+ };
1261
+ return this.http.request(RequestMethod$7.Put, path, requestOptions);
1262
+ }
1263
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ImportTaskService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1264
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ImportTaskService });
1265
+ }
1266
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ImportTaskService, decorators: [{
1267
+ type: Injectable
1268
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
1269
+ type: Optional
1270
+ }, {
1271
+ type: Inject,
1272
+ args: [BASE_PATH]
1273
+ }] }, { type: Configuration, decorators: [{
1274
+ type: Optional
1275
+ }] }] });
1276
+
1128
1277
  /**
1129
1278
  * BillCapture.API
1130
1279
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -2436,7 +2585,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
2436
2585
  type: Optional
2437
2586
  }] }] });
2438
2587
 
2439
- const APIS = [AccountService, ClientService, ExportService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService];
2588
+ const APIS = [AccountService, ClientService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService];
2440
2589
 
2441
2590
  /**
2442
2591
  * BillCapture.API
@@ -2553,6 +2702,28 @@ class FileDetailDTO {
2553
2702
  success;
2554
2703
  }
2555
2704
 
2705
+ /**
2706
+ * BillCapture.API
2707
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
2708
+ *
2709
+ * OpenAPI spec version: 1.0
2710
+ *
2711
+ *
2712
+ * NOTE: This class is auto generated by the swagger code generator program.
2713
+ * https://github.com/swagger-api/swagger-codegen.git
2714
+ * Do not edit the class manually.
2715
+ */
2716
+ class ImportTaskRequestDTO {
2717
+ /**
2718
+ * New count of imported bills returned by the task import process. Must be 0 or positive.
2719
+ */
2720
+ imported;
2721
+ /**
2722
+ * New count of kickout returned by the task import process. Must be 0 or positive.
2723
+ */
2724
+ kickout;
2725
+ }
2726
+
2556
2727
  /**
2557
2728
  * BillCapture.API
2558
2729
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -3128,7 +3299,7 @@ class EnergyCapSdkModule {
3128
3299
  }
3129
3300
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3130
3301
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, imports: [CommonModule] });
3131
- static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ExportService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService], imports: [CommonModule] });
3302
+ 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] });
3132
3303
  }
3133
3304
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, decorators: [{
3134
3305
  type: NgModule,
@@ -3136,7 +3307,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
3136
3307
  imports: [CommonModule],
3137
3308
  declarations: [],
3138
3309
  exports: [],
3139
- providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ExportService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService]
3310
+ providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService]
3140
3311
  }]
3141
3312
  }] });
3142
3313
 
@@ -3144,5 +3315,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
3144
3315
  * Generated bundle index. Do not edit.
3145
3316
  */
3146
3317
 
3147
- export { APIFilter, APIS, AccountService, BASE_PATH, COLLECTION_FORMATS, ClientChildDTO, ClientEditDTO, ClientResponseDTO, ClientService, Configuration, EnergyCapSdkModule, ExportService, FileDetailDTO, InternalService, MonthlyTransactionStatisticsDTO, PartnerChildDTO, PartnerProcessResultDTO, PartnerProcessStatus, PartnerService, ProblemFileActionRequestDTO, ProblemFileActionResponseDTO, ProblemFileHistoryResponseDTO, ProblemFileNewImportChildDTO, ProblemFileResponseDTO, ProblemFileService, ProblemTypeChildDTO, ProblemTypeResponseDTO, ProblemTypeService, TransactionLogResponseDTO, TransactionService, TransactionUsageDTO, TransactionUsageResponseDTO, UploadFileResponseDTO, UploadResponseDTO, UploadService, UtilityManagementSystemUserChildDTO, VersionService };
3318
+ export { APIFilter, APIS, AccountService, BASE_PATH, COLLECTION_FORMATS, ClientChildDTO, ClientEditDTO, ClientResponseDTO, ClientService, Configuration, EnergyCapSdkModule, ExportService, FileDetailDTO, ImportTaskRequestDTO, ImportTaskService, InternalService, MonthlyTransactionStatisticsDTO, PartnerChildDTO, PartnerProcessResultDTO, PartnerProcessStatus, PartnerService, ProblemFileActionRequestDTO, ProblemFileActionResponseDTO, ProblemFileHistoryResponseDTO, ProblemFileNewImportChildDTO, ProblemFileResponseDTO, ProblemFileService, ProblemTypeChildDTO, ProblemTypeResponseDTO, ProblemTypeService, TransactionLogResponseDTO, TransactionService, TransactionUsageDTO, TransactionUsageResponseDTO, UploadFileResponseDTO, UploadResponseDTO, UploadService, UtilityManagementSystemUserChildDTO, VersionService };
3148
3319
  //# sourceMappingURL=energycap-energycap-billcapture-sdk-angular.mjs.map