@energycap/energycap-billcapture-sdk-angular 1.0.2-internal-20240104-2210
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/api/api.d.ts +9 -0
- package/api/billCaptureAPI.service.d.ts +162 -0
- package/api/sample.service.d.ts +81 -0
- package/api/upload.service.d.ts +55 -0
- package/api/version.service.d.ts +48 -0
- package/api.module.d.ts +11 -0
- package/configuration.d.ts +21 -0
- package/esm2020/api/api.mjs +10 -0
- package/esm2020/api/billCaptureAPI.service.mjs +454 -0
- package/esm2020/api/sample.service.mjs +233 -0
- package/esm2020/api/upload.service.mjs +160 -0
- package/esm2020/api/version.service.mjs +143 -0
- package/esm2020/api.module.mjs +30 -0
- package/esm2020/configuration.mjs +23 -0
- package/esm2020/energycap-energycap-billcapture-sdk-angular.mjs +5 -0
- package/esm2020/model/aPIFilter.mjs +14 -0
- package/esm2020/model/aPIOrderBy.mjs +14 -0
- package/esm2020/model/clientChildDTO.mjs +14 -0
- package/esm2020/model/getClientsResponse.mjs +14 -0
- package/esm2020/model/models.mjs +6 -0
- package/esm2020/model/uploadResponseDTO.mjs +14 -0
- package/esm2020/public-api.mjs +6 -0
- package/esm2020/variables.mjs +9 -0
- package/fesm2015/energycap-energycap-billcapture-sdk-angular.mjs +1103 -0
- package/fesm2015/energycap-energycap-billcapture-sdk-angular.mjs.map +1 -0
- package/fesm2020/energycap-energycap-billcapture-sdk-angular.mjs +1095 -0
- package/fesm2020/energycap-energycap-billcapture-sdk-angular.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/model/aPIFilter.d.ts +13 -0
- package/model/aPIOrderBy.d.ts +13 -0
- package/model/clientChildDTO.d.ts +33 -0
- package/model/getClientsResponse.d.ts +16 -0
- package/model/models.d.ts +5 -0
- package/model/uploadResponseDTO.d.ts +51 -0
- package/package.json +33 -0
- package/public-api.d.ts +5 -0
- package/variables.d.ts +8 -0
|
@@ -0,0 +1,1095 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { InjectionToken, Injectable, Optional, Inject, NgModule } from '@angular/core';
|
|
3
|
+
import * as i1 from '@angular/common/http';
|
|
4
|
+
import { HttpHeaders, HttpParams, HttpClientModule } from '@angular/common/http';
|
|
5
|
+
import { map } from 'rxjs/operators';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
|
|
8
|
+
const BASE_PATH = new InjectionToken('basePath');
|
|
9
|
+
const COLLECTION_FORMATS = {
|
|
10
|
+
'csv': ',',
|
|
11
|
+
'tsv': ' ',
|
|
12
|
+
'ssv': ' ',
|
|
13
|
+
'pipes': '|'
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
class Configuration {
|
|
17
|
+
constructor(configurationParameters = {}) {
|
|
18
|
+
if (configurationParameters.apiKeys) {
|
|
19
|
+
this.apiKeys = configurationParameters.apiKeys;
|
|
20
|
+
}
|
|
21
|
+
if (this.username) {
|
|
22
|
+
this.username = configurationParameters.username;
|
|
23
|
+
}
|
|
24
|
+
if (this.password) {
|
|
25
|
+
this.password = configurationParameters.password;
|
|
26
|
+
}
|
|
27
|
+
if (this.accessToken) {
|
|
28
|
+
this.accessToken = configurationParameters.accessToken;
|
|
29
|
+
}
|
|
30
|
+
if (this.basePath) {
|
|
31
|
+
this.basePath = configurationParameters.basePath;
|
|
32
|
+
}
|
|
33
|
+
if (this.withCredentials) {
|
|
34
|
+
this.withCredentials = configurationParameters.withCredentials;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* BillCapture.API
|
|
41
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
42
|
+
*
|
|
43
|
+
* OpenAPI spec version: 1.0
|
|
44
|
+
*
|
|
45
|
+
*
|
|
46
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
47
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
48
|
+
* Do not edit the class manually.
|
|
49
|
+
*/
|
|
50
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
51
|
+
const RequestMethod$3 = {
|
|
52
|
+
Get: 'get',
|
|
53
|
+
Post: 'post',
|
|
54
|
+
Put: 'put',
|
|
55
|
+
Delete: 'delete',
|
|
56
|
+
Options: 'options',
|
|
57
|
+
Head: 'head',
|
|
58
|
+
Patch: 'patch'
|
|
59
|
+
};
|
|
60
|
+
class BillCaptureAPIService {
|
|
61
|
+
constructor(http, basePath, configuration) {
|
|
62
|
+
this.http = http;
|
|
63
|
+
this.basePath = 'https://localhost';
|
|
64
|
+
this.defaultHeaders = new HttpHeaders();
|
|
65
|
+
this.configuration = new Configuration();
|
|
66
|
+
if (basePath) {
|
|
67
|
+
this.basePath = basePath;
|
|
68
|
+
}
|
|
69
|
+
if (configuration) {
|
|
70
|
+
this.configuration = configuration;
|
|
71
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* Extends object by coping non-existing properties.
|
|
77
|
+
* @param objA object to be extended
|
|
78
|
+
* @param objB source object
|
|
79
|
+
*/
|
|
80
|
+
extendObj(objA, objB) {
|
|
81
|
+
for (let key in objB) {
|
|
82
|
+
if (objB.hasOwnProperty(key)) {
|
|
83
|
+
objA[key] = objB[key];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return objA;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* @param consumes string[] mime-types
|
|
90
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
91
|
+
*/
|
|
92
|
+
canConsumeForm(consumes) {
|
|
93
|
+
const form = 'multipart/form-data';
|
|
94
|
+
for (let consume of consumes) {
|
|
95
|
+
if (form === consume) {
|
|
96
|
+
return true;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
*
|
|
104
|
+
*/
|
|
105
|
+
apiBatchPartialbatchesPost(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
106
|
+
return this.apiBatchPartialbatchesPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
|
|
107
|
+
.pipe(map((response) => {
|
|
108
|
+
if (response.status === 204) {
|
|
109
|
+
return undefined;
|
|
110
|
+
}
|
|
111
|
+
else {
|
|
112
|
+
return response.body;
|
|
113
|
+
}
|
|
114
|
+
}));
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
*
|
|
118
|
+
*
|
|
119
|
+
*/
|
|
120
|
+
apiFrontdoorPickupPost(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
121
|
+
return this.apiFrontdoorPickupPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
|
|
122
|
+
.pipe(map((response) => {
|
|
123
|
+
if (response.status === 204) {
|
|
124
|
+
return undefined;
|
|
125
|
+
}
|
|
126
|
+
else {
|
|
127
|
+
return response.body;
|
|
128
|
+
}
|
|
129
|
+
}));
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
*
|
|
133
|
+
*
|
|
134
|
+
* @param partnerId
|
|
135
|
+
*/
|
|
136
|
+
apiPartnerPartnerIdPickupPost(partnerId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
137
|
+
return this.apiPartnerPartnerIdPickupPostWithHttpInfo(partnerId, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
138
|
+
.pipe(map((response) => {
|
|
139
|
+
if (response.status === 204) {
|
|
140
|
+
return undefined;
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
return response.body;
|
|
144
|
+
}
|
|
145
|
+
}));
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
*
|
|
149
|
+
*
|
|
150
|
+
*/
|
|
151
|
+
apiPartnerPullPost(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
152
|
+
return this.apiPartnerPullPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
|
|
153
|
+
.pipe(map((response) => {
|
|
154
|
+
if (response.status === 204) {
|
|
155
|
+
return undefined;
|
|
156
|
+
}
|
|
157
|
+
else {
|
|
158
|
+
return response.body;
|
|
159
|
+
}
|
|
160
|
+
}));
|
|
161
|
+
}
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
*
|
|
165
|
+
* @param vendorId
|
|
166
|
+
*/
|
|
167
|
+
apiVendorVendorIdClientFileChildrenReprocessPut(vendorId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
168
|
+
return this.apiVendorVendorIdClientFileChildrenReprocessPutWithHttpInfo(vendorId, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
169
|
+
.pipe(map((response) => {
|
|
170
|
+
if (response.status === 204) {
|
|
171
|
+
return undefined;
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
return response.body;
|
|
175
|
+
}
|
|
176
|
+
}));
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
*
|
|
181
|
+
*/
|
|
182
|
+
apiVersionGet(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
183
|
+
return this.apiVersionGetWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
|
|
184
|
+
.pipe(map((response) => {
|
|
185
|
+
if (response.status === 204) {
|
|
186
|
+
return undefined;
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
return response.body;
|
|
190
|
+
}
|
|
191
|
+
}));
|
|
192
|
+
}
|
|
193
|
+
/**
|
|
194
|
+
*
|
|
195
|
+
*
|
|
196
|
+
*/
|
|
197
|
+
apiBatchPartialbatchesPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
198
|
+
const path = this.basePath + '/api/batch/partialbatches';
|
|
199
|
+
let queryParameters;
|
|
200
|
+
if (extraHttpRequestParams) {
|
|
201
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
202
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
else {
|
|
209
|
+
queryParameters = new HttpParams();
|
|
210
|
+
}
|
|
211
|
+
let headers = new HttpHeaders();
|
|
212
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
213
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
214
|
+
});
|
|
215
|
+
if (extraHttpRequestHeaders) {
|
|
216
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
217
|
+
headers = headers.set(key, value);
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
// to determine the Accept header
|
|
221
|
+
let produces = [];
|
|
222
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
223
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
224
|
+
}
|
|
225
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
226
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
227
|
+
}
|
|
228
|
+
const consumes = [];
|
|
229
|
+
let requestOptions = {
|
|
230
|
+
headers: headers,
|
|
231
|
+
params: queryParameters,
|
|
232
|
+
withCredentials: this.configuration.withCredentials,
|
|
233
|
+
observe: 'response'
|
|
234
|
+
};
|
|
235
|
+
return this.http.request(RequestMethod$3.Post, path, requestOptions);
|
|
236
|
+
}
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
*
|
|
240
|
+
*/
|
|
241
|
+
apiFrontdoorPickupPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
242
|
+
const path = this.basePath + '/api/frontdoor/pickup';
|
|
243
|
+
let queryParameters;
|
|
244
|
+
if (extraHttpRequestParams) {
|
|
245
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
246
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
247
|
+
}
|
|
248
|
+
else {
|
|
249
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
else {
|
|
253
|
+
queryParameters = new HttpParams();
|
|
254
|
+
}
|
|
255
|
+
let headers = new HttpHeaders();
|
|
256
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
257
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
258
|
+
});
|
|
259
|
+
if (extraHttpRequestHeaders) {
|
|
260
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
261
|
+
headers = headers.set(key, value);
|
|
262
|
+
});
|
|
263
|
+
}
|
|
264
|
+
// to determine the Accept header
|
|
265
|
+
let produces = [];
|
|
266
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
267
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
268
|
+
}
|
|
269
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
270
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
271
|
+
}
|
|
272
|
+
const consumes = [];
|
|
273
|
+
let requestOptions = {
|
|
274
|
+
headers: headers,
|
|
275
|
+
params: queryParameters,
|
|
276
|
+
withCredentials: this.configuration.withCredentials,
|
|
277
|
+
observe: 'response'
|
|
278
|
+
};
|
|
279
|
+
return this.http.request(RequestMethod$3.Post, path, requestOptions);
|
|
280
|
+
}
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
*
|
|
284
|
+
* @param partnerId
|
|
285
|
+
*/
|
|
286
|
+
apiPartnerPartnerIdPickupPostWithHttpInfo(partnerId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
287
|
+
const path = this.basePath + '/api/partner/${partnerId}/pickup'
|
|
288
|
+
.replace('${' + 'partnerId' + '}', String(partnerId));
|
|
289
|
+
let queryParameters;
|
|
290
|
+
if (extraHttpRequestParams) {
|
|
291
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
292
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
293
|
+
}
|
|
294
|
+
else {
|
|
295
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
else {
|
|
299
|
+
queryParameters = new HttpParams();
|
|
300
|
+
}
|
|
301
|
+
let headers = new HttpHeaders();
|
|
302
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
303
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
304
|
+
});
|
|
305
|
+
if (extraHttpRequestHeaders) {
|
|
306
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
307
|
+
headers = headers.set(key, value);
|
|
308
|
+
});
|
|
309
|
+
}
|
|
310
|
+
// verify required parameter 'partnerId' is not null or undefined
|
|
311
|
+
if (partnerId === null || partnerId === undefined) {
|
|
312
|
+
throw new Error('Required parameter partnerId was null or undefined when calling apiPartnerPartnerIdPickupPost.');
|
|
313
|
+
}
|
|
314
|
+
// to determine the Accept header
|
|
315
|
+
let produces = [];
|
|
316
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
317
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
318
|
+
}
|
|
319
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
320
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
321
|
+
}
|
|
322
|
+
const consumes = [];
|
|
323
|
+
let requestOptions = {
|
|
324
|
+
headers: headers,
|
|
325
|
+
params: queryParameters,
|
|
326
|
+
withCredentials: this.configuration.withCredentials,
|
|
327
|
+
observe: 'response'
|
|
328
|
+
};
|
|
329
|
+
return this.http.request(RequestMethod$3.Post, path, requestOptions);
|
|
330
|
+
}
|
|
331
|
+
/**
|
|
332
|
+
*
|
|
333
|
+
*
|
|
334
|
+
*/
|
|
335
|
+
apiPartnerPullPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
336
|
+
const path = this.basePath + '/api/partner/pull';
|
|
337
|
+
let queryParameters;
|
|
338
|
+
if (extraHttpRequestParams) {
|
|
339
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
340
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
341
|
+
}
|
|
342
|
+
else {
|
|
343
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
else {
|
|
347
|
+
queryParameters = new HttpParams();
|
|
348
|
+
}
|
|
349
|
+
let headers = new HttpHeaders();
|
|
350
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
351
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
352
|
+
});
|
|
353
|
+
if (extraHttpRequestHeaders) {
|
|
354
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
355
|
+
headers = headers.set(key, value);
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
// to determine the Accept header
|
|
359
|
+
let produces = [];
|
|
360
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
361
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
362
|
+
}
|
|
363
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
364
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
365
|
+
}
|
|
366
|
+
const consumes = [];
|
|
367
|
+
let requestOptions = {
|
|
368
|
+
headers: headers,
|
|
369
|
+
params: queryParameters,
|
|
370
|
+
withCredentials: this.configuration.withCredentials,
|
|
371
|
+
observe: 'response'
|
|
372
|
+
};
|
|
373
|
+
return this.http.request(RequestMethod$3.Post, path, requestOptions);
|
|
374
|
+
}
|
|
375
|
+
/**
|
|
376
|
+
*
|
|
377
|
+
*
|
|
378
|
+
* @param vendorId
|
|
379
|
+
*/
|
|
380
|
+
apiVendorVendorIdClientFileChildrenReprocessPutWithHttpInfo(vendorId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
381
|
+
const path = this.basePath + '/api/vendor/${vendorId}/clientFileChildren/reprocess'
|
|
382
|
+
.replace('${' + 'vendorId' + '}', String(vendorId));
|
|
383
|
+
let queryParameters;
|
|
384
|
+
if (extraHttpRequestParams) {
|
|
385
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
386
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
387
|
+
}
|
|
388
|
+
else {
|
|
389
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
else {
|
|
393
|
+
queryParameters = new HttpParams();
|
|
394
|
+
}
|
|
395
|
+
let headers = new HttpHeaders();
|
|
396
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
397
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
398
|
+
});
|
|
399
|
+
if (extraHttpRequestHeaders) {
|
|
400
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
401
|
+
headers = headers.set(key, value);
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
// verify required parameter 'vendorId' is not null or undefined
|
|
405
|
+
if (vendorId === null || vendorId === undefined) {
|
|
406
|
+
throw new Error('Required parameter vendorId was null or undefined when calling apiVendorVendorIdClientFileChildrenReprocessPut.');
|
|
407
|
+
}
|
|
408
|
+
// to determine the Accept header
|
|
409
|
+
let produces = [];
|
|
410
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
411
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
412
|
+
}
|
|
413
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
414
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
415
|
+
}
|
|
416
|
+
const consumes = [];
|
|
417
|
+
let requestOptions = {
|
|
418
|
+
headers: headers,
|
|
419
|
+
params: queryParameters,
|
|
420
|
+
withCredentials: this.configuration.withCredentials,
|
|
421
|
+
observe: 'response'
|
|
422
|
+
};
|
|
423
|
+
return this.http.request(RequestMethod$3.Put, path, requestOptions);
|
|
424
|
+
}
|
|
425
|
+
/**
|
|
426
|
+
*
|
|
427
|
+
*
|
|
428
|
+
*/
|
|
429
|
+
apiVersionGetWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
430
|
+
const path = this.basePath + '/api/version';
|
|
431
|
+
let queryParameters;
|
|
432
|
+
if (extraHttpRequestParams) {
|
|
433
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
434
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
435
|
+
}
|
|
436
|
+
else {
|
|
437
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
else {
|
|
441
|
+
queryParameters = new HttpParams();
|
|
442
|
+
}
|
|
443
|
+
let headers = new HttpHeaders();
|
|
444
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
445
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
446
|
+
});
|
|
447
|
+
if (extraHttpRequestHeaders) {
|
|
448
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
449
|
+
headers = headers.set(key, value);
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
// to determine the Accept header
|
|
453
|
+
let produces = [
|
|
454
|
+
'text/plain'
|
|
455
|
+
];
|
|
456
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
457
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
458
|
+
}
|
|
459
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
460
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
461
|
+
}
|
|
462
|
+
const consumes = [];
|
|
463
|
+
let requestOptions = {
|
|
464
|
+
headers: headers,
|
|
465
|
+
params: queryParameters,
|
|
466
|
+
withCredentials: this.configuration.withCredentials,
|
|
467
|
+
observe: 'response'
|
|
468
|
+
};
|
|
469
|
+
return this.http.request(RequestMethod$3.Get, path, requestOptions);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
BillCaptureAPIService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BillCaptureAPIService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
473
|
+
BillCaptureAPIService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BillCaptureAPIService });
|
|
474
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: BillCaptureAPIService, decorators: [{
|
|
475
|
+
type: Injectable
|
|
476
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
477
|
+
type: Optional
|
|
478
|
+
}, {
|
|
479
|
+
type: Inject,
|
|
480
|
+
args: [BASE_PATH]
|
|
481
|
+
}] }, { type: Configuration, decorators: [{
|
|
482
|
+
type: Optional
|
|
483
|
+
}] }]; } });
|
|
484
|
+
|
|
485
|
+
/**
|
|
486
|
+
* BillCapture.API
|
|
487
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
488
|
+
*
|
|
489
|
+
* OpenAPI spec version: 1.0
|
|
490
|
+
*
|
|
491
|
+
*
|
|
492
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
493
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
494
|
+
* Do not edit the class manually.
|
|
495
|
+
*/
|
|
496
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
497
|
+
const RequestMethod$2 = {
|
|
498
|
+
Get: 'get',
|
|
499
|
+
Post: 'post',
|
|
500
|
+
Put: 'put',
|
|
501
|
+
Delete: 'delete',
|
|
502
|
+
Options: 'options',
|
|
503
|
+
Head: 'head',
|
|
504
|
+
Patch: 'patch'
|
|
505
|
+
};
|
|
506
|
+
class SampleService {
|
|
507
|
+
constructor(http, basePath, configuration) {
|
|
508
|
+
this.http = http;
|
|
509
|
+
this.basePath = 'https://localhost';
|
|
510
|
+
this.defaultHeaders = new HttpHeaders();
|
|
511
|
+
this.configuration = new Configuration();
|
|
512
|
+
if (basePath) {
|
|
513
|
+
this.basePath = basePath;
|
|
514
|
+
}
|
|
515
|
+
if (configuration) {
|
|
516
|
+
this.configuration = configuration;
|
|
517
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
/**
|
|
521
|
+
*
|
|
522
|
+
* Extends object by coping non-existing properties.
|
|
523
|
+
* @param objA object to be extended
|
|
524
|
+
* @param objB source object
|
|
525
|
+
*/
|
|
526
|
+
extendObj(objA, objB) {
|
|
527
|
+
for (let key in objB) {
|
|
528
|
+
if (objB.hasOwnProperty(key)) {
|
|
529
|
+
objA[key] = objB[key];
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
return objA;
|
|
533
|
+
}
|
|
534
|
+
/**
|
|
535
|
+
* @param consumes string[] mime-types
|
|
536
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
537
|
+
*/
|
|
538
|
+
canConsumeForm(consumes) {
|
|
539
|
+
const form = 'multipart/form-data';
|
|
540
|
+
for (let consume of consumes) {
|
|
541
|
+
if (form === consume) {
|
|
542
|
+
return true;
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
return false;
|
|
546
|
+
}
|
|
547
|
+
/**
|
|
548
|
+
* Sample controller endpoint that gets a client
|
|
549
|
+
*
|
|
550
|
+
* @param clientId The client identifier
|
|
551
|
+
*/
|
|
552
|
+
apiPublicSampleClientIdGet(clientId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
553
|
+
return this.apiPublicSampleClientIdGetWithHttpInfo(clientId, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
554
|
+
.pipe(map((response) => {
|
|
555
|
+
if (response.status === 204) {
|
|
556
|
+
return undefined;
|
|
557
|
+
}
|
|
558
|
+
else {
|
|
559
|
+
return response.body;
|
|
560
|
+
}
|
|
561
|
+
}));
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
* Sample controller endpoint that gets clients
|
|
565
|
+
*
|
|
566
|
+
* @param filter A filter <table id=\"api-filter\"><tr><th>Name</th><th>Description</th><th>Type</th><th>Operators</th></tr><tr><td>clientName</td><td>Client Name</td><td>Any Text</td><td>equals, not equals, one of, like, not like, not one of</td></tr><tr><td>clientID</td><td>Client Id</td><td>Whole Number</td><td>equals</td></tr></table>
|
|
567
|
+
* @param orderBy An order by <table id=\"api-filter\"><tr><th>Name</th><th>Description</th><th>Sort Operators</th></tr><tr><td>clientName</td><td>Client Name</td><td>ASC, DESC</td></tr></table>
|
|
568
|
+
* @param pageSize The number of elements to return in a page
|
|
569
|
+
* @param pageNumber The current page number
|
|
570
|
+
*/
|
|
571
|
+
apiPublicSampleGet(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
572
|
+
return this.apiPublicSampleGetWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
573
|
+
.pipe(map((response) => {
|
|
574
|
+
if (response.status === 204) {
|
|
575
|
+
return undefined;
|
|
576
|
+
}
|
|
577
|
+
else {
|
|
578
|
+
return response.body;
|
|
579
|
+
}
|
|
580
|
+
}));
|
|
581
|
+
}
|
|
582
|
+
/**
|
|
583
|
+
* Sample controller endpoint that gets a client
|
|
584
|
+
*
|
|
585
|
+
* @param clientId The client identifier
|
|
586
|
+
*/
|
|
587
|
+
apiPublicSampleClientIdGetWithHttpInfo(clientId, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
588
|
+
const path = this.basePath + '/api/public/Sample/${clientId}'
|
|
589
|
+
.replace('${' + 'clientId' + '}', String(clientId));
|
|
590
|
+
let queryParameters;
|
|
591
|
+
if (extraHttpRequestParams) {
|
|
592
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
593
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
594
|
+
}
|
|
595
|
+
else {
|
|
596
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
else {
|
|
600
|
+
queryParameters = new HttpParams();
|
|
601
|
+
}
|
|
602
|
+
let headers = new HttpHeaders();
|
|
603
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
604
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
605
|
+
});
|
|
606
|
+
if (extraHttpRequestHeaders) {
|
|
607
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
608
|
+
headers = headers.set(key, value);
|
|
609
|
+
});
|
|
610
|
+
}
|
|
611
|
+
// verify required parameter 'clientId' is not null or undefined
|
|
612
|
+
if (clientId === null || clientId === undefined) {
|
|
613
|
+
throw new Error('Required parameter clientId was null or undefined when calling apiPublicSampleClientIdGet.');
|
|
614
|
+
}
|
|
615
|
+
// to determine the Accept header
|
|
616
|
+
let produces = [
|
|
617
|
+
'application/json'
|
|
618
|
+
];
|
|
619
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
620
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
621
|
+
}
|
|
622
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
623
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
624
|
+
}
|
|
625
|
+
const consumes = [];
|
|
626
|
+
let requestOptions = {
|
|
627
|
+
headers: headers,
|
|
628
|
+
params: queryParameters,
|
|
629
|
+
withCredentials: this.configuration.withCredentials,
|
|
630
|
+
observe: 'response'
|
|
631
|
+
};
|
|
632
|
+
return this.http.request(RequestMethod$2.Get, path, requestOptions);
|
|
633
|
+
}
|
|
634
|
+
/**
|
|
635
|
+
* Sample controller endpoint that gets clients
|
|
636
|
+
*
|
|
637
|
+
* @param filter A filter <table id=\"api-filter\"><tr><th>Name</th><th>Description</th><th>Type</th><th>Operators</th></tr><tr><td>clientName</td><td>Client Name</td><td>Any Text</td><td>equals, not equals, one of, like, not like, not one of</td></tr><tr><td>clientID</td><td>Client Id</td><td>Whole Number</td><td>equals</td></tr></table>
|
|
638
|
+
* @param orderBy An order by <table id=\"api-filter\"><tr><th>Name</th><th>Description</th><th>Sort Operators</th></tr><tr><td>clientName</td><td>Client Name</td><td>ASC, DESC</td></tr></table>
|
|
639
|
+
* @param pageSize The number of elements to return in a page
|
|
640
|
+
* @param pageNumber The current page number
|
|
641
|
+
*/
|
|
642
|
+
apiPublicSampleGetWithHttpInfo(filter, orderBy, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
643
|
+
const path = this.basePath + '/api/public/Sample';
|
|
644
|
+
let queryParameters;
|
|
645
|
+
if (extraHttpRequestParams) {
|
|
646
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
647
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
648
|
+
}
|
|
649
|
+
else {
|
|
650
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
else {
|
|
654
|
+
queryParameters = new HttpParams();
|
|
655
|
+
}
|
|
656
|
+
let headers = new HttpHeaders();
|
|
657
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
658
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
659
|
+
});
|
|
660
|
+
if (extraHttpRequestHeaders) {
|
|
661
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
662
|
+
headers = headers.set(key, value);
|
|
663
|
+
});
|
|
664
|
+
}
|
|
665
|
+
if (filter !== undefined) {
|
|
666
|
+
queryParameters = queryParameters.set('filter', filter);
|
|
667
|
+
}
|
|
668
|
+
if (orderBy !== undefined) {
|
|
669
|
+
queryParameters = queryParameters.set('orderBy', orderBy);
|
|
670
|
+
}
|
|
671
|
+
if (pageSize !== undefined) {
|
|
672
|
+
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
673
|
+
}
|
|
674
|
+
if (pageNumber !== undefined) {
|
|
675
|
+
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
676
|
+
}
|
|
677
|
+
// to determine the Accept header
|
|
678
|
+
let produces = [
|
|
679
|
+
'application/json'
|
|
680
|
+
];
|
|
681
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
682
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
683
|
+
}
|
|
684
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
685
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
686
|
+
}
|
|
687
|
+
const consumes = [];
|
|
688
|
+
let requestOptions = {
|
|
689
|
+
headers: headers,
|
|
690
|
+
params: queryParameters,
|
|
691
|
+
withCredentials: this.configuration.withCredentials,
|
|
692
|
+
observe: 'response'
|
|
693
|
+
};
|
|
694
|
+
return this.http.request(RequestMethod$2.Get, path, requestOptions);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
SampleService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SampleService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
698
|
+
SampleService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SampleService });
|
|
699
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: SampleService, decorators: [{
|
|
700
|
+
type: Injectable
|
|
701
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
702
|
+
type: Optional
|
|
703
|
+
}, {
|
|
704
|
+
type: Inject,
|
|
705
|
+
args: [BASE_PATH]
|
|
706
|
+
}] }, { type: Configuration, decorators: [{
|
|
707
|
+
type: Optional
|
|
708
|
+
}] }]; } });
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* BillCapture.API
|
|
712
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
713
|
+
*
|
|
714
|
+
* OpenAPI spec version: 1.0
|
|
715
|
+
*
|
|
716
|
+
*
|
|
717
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
718
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
719
|
+
* Do not edit the class manually.
|
|
720
|
+
*/
|
|
721
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
722
|
+
const RequestMethod$1 = {
|
|
723
|
+
Get: 'get',
|
|
724
|
+
Post: 'post',
|
|
725
|
+
Put: 'put',
|
|
726
|
+
Delete: 'delete',
|
|
727
|
+
Options: 'options',
|
|
728
|
+
Head: 'head',
|
|
729
|
+
Patch: 'patch'
|
|
730
|
+
};
|
|
731
|
+
class UploadService {
|
|
732
|
+
constructor(http, basePath, configuration) {
|
|
733
|
+
this.http = http;
|
|
734
|
+
this.basePath = 'https://localhost';
|
|
735
|
+
this.defaultHeaders = new HttpHeaders();
|
|
736
|
+
this.configuration = new Configuration();
|
|
737
|
+
if (basePath) {
|
|
738
|
+
this.basePath = basePath;
|
|
739
|
+
}
|
|
740
|
+
if (configuration) {
|
|
741
|
+
this.configuration = configuration;
|
|
742
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
/**
|
|
746
|
+
*
|
|
747
|
+
* Extends object by coping non-existing properties.
|
|
748
|
+
* @param objA object to be extended
|
|
749
|
+
* @param objB source object
|
|
750
|
+
*/
|
|
751
|
+
extendObj(objA, objB) {
|
|
752
|
+
for (let key in objB) {
|
|
753
|
+
if (objB.hasOwnProperty(key)) {
|
|
754
|
+
objA[key] = objB[key];
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
return objA;
|
|
758
|
+
}
|
|
759
|
+
/**
|
|
760
|
+
* @param consumes string[] mime-types
|
|
761
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
762
|
+
*/
|
|
763
|
+
canConsumeForm(consumes) {
|
|
764
|
+
const form = 'multipart/form-data';
|
|
765
|
+
for (let consume of consumes) {
|
|
766
|
+
if (form === consume) {
|
|
767
|
+
return true;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
return false;
|
|
771
|
+
}
|
|
772
|
+
/**
|
|
773
|
+
* Get file uploads
|
|
774
|
+
*
|
|
775
|
+
* @param filter API filters. <br /> Valid values for the Upload Category filter are: 'Maintenance', 'Historical', 'Setup Enrollments', and 'Live'. <br /> TODO (ECAP-20445): 'utilityManagementSystemUserID' filter is not implemented yet. <table id=\"api-filter\"><tr><th>Name</th><th>Description</th><th>Type</th><th>Operators</th></tr><tr><td>clientFileName</td><td>Client File Name</td><td>Any Text</td><td>equals, not equals, one of, like, not like, not one of</td></tr><tr><td>uploadDate</td><td>Client File Upload Date</td><td>Date &amp; Time</td><td>equals, not equals, less than, between, greater than, less than equal, greater than equal, not between</td></tr><tr><td>uploadCategory</td><td>Upload Category</td><td>Any Text</td><td>equals</td></tr><tr><td>clientName</td><td>Client Name</td><td>Any Text</td><td>equals, not equals, one of, like, not like, not one of</td></tr><tr><td>utilityManagementSystemUserID</td><td>Utility Management System User ID</td><td>Whole Number</td><td>equals</td></tr></table>
|
|
776
|
+
* @param pageSize The number of elements to return in a page
|
|
777
|
+
* @param pageNumber The current page number
|
|
778
|
+
*/
|
|
779
|
+
apiPublicUploadGet(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
780
|
+
return this.apiPublicUploadGetWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
|
|
781
|
+
.pipe(map((response) => {
|
|
782
|
+
if (response.status === 204) {
|
|
783
|
+
return undefined;
|
|
784
|
+
}
|
|
785
|
+
else {
|
|
786
|
+
return response.body;
|
|
787
|
+
}
|
|
788
|
+
}));
|
|
789
|
+
}
|
|
790
|
+
/**
|
|
791
|
+
* Get file uploads
|
|
792
|
+
*
|
|
793
|
+
* @param filter API filters. <br /> Valid values for the Upload Category filter are: 'Maintenance', 'Historical', 'Setup Enrollments', and 'Live'. <br /> TODO (ECAP-20445): 'utilityManagementSystemUserID' filter is not implemented yet. <table id=\"api-filter\"><tr><th>Name</th><th>Description</th><th>Type</th><th>Operators</th></tr><tr><td>clientFileName</td><td>Client File Name</td><td>Any Text</td><td>equals, not equals, one of, like, not like, not one of</td></tr><tr><td>uploadDate</td><td>Client File Upload Date</td><td>Date &amp; Time</td><td>equals, not equals, less than, between, greater than, less than equal, greater than equal, not between</td></tr><tr><td>uploadCategory</td><td>Upload Category</td><td>Any Text</td><td>equals</td></tr><tr><td>clientName</td><td>Client Name</td><td>Any Text</td><td>equals, not equals, one of, like, not like, not one of</td></tr><tr><td>utilityManagementSystemUserID</td><td>Utility Management System User ID</td><td>Whole Number</td><td>equals</td></tr></table>
|
|
794
|
+
* @param pageSize The number of elements to return in a page
|
|
795
|
+
* @param pageNumber The current page number
|
|
796
|
+
*/
|
|
797
|
+
apiPublicUploadGetWithHttpInfo(filter, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
798
|
+
const path = this.basePath + '/api/public/Upload';
|
|
799
|
+
let queryParameters;
|
|
800
|
+
if (extraHttpRequestParams) {
|
|
801
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
802
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
803
|
+
}
|
|
804
|
+
else {
|
|
805
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
else {
|
|
809
|
+
queryParameters = new HttpParams();
|
|
810
|
+
}
|
|
811
|
+
let headers = new HttpHeaders();
|
|
812
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
813
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
814
|
+
});
|
|
815
|
+
if (extraHttpRequestHeaders) {
|
|
816
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
817
|
+
headers = headers.set(key, value);
|
|
818
|
+
});
|
|
819
|
+
}
|
|
820
|
+
if (filter !== undefined) {
|
|
821
|
+
queryParameters = queryParameters.set('filter', filter);
|
|
822
|
+
}
|
|
823
|
+
if (pageSize !== undefined) {
|
|
824
|
+
queryParameters = queryParameters.set('pageSize', pageSize);
|
|
825
|
+
}
|
|
826
|
+
if (pageNumber !== undefined) {
|
|
827
|
+
queryParameters = queryParameters.set('pageNumber', pageNumber);
|
|
828
|
+
}
|
|
829
|
+
// to determine the Accept header
|
|
830
|
+
let produces = [
|
|
831
|
+
'application/json'
|
|
832
|
+
];
|
|
833
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
834
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
835
|
+
}
|
|
836
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
837
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
838
|
+
}
|
|
839
|
+
const consumes = [];
|
|
840
|
+
let requestOptions = {
|
|
841
|
+
headers: headers,
|
|
842
|
+
params: queryParameters,
|
|
843
|
+
withCredentials: this.configuration.withCredentials,
|
|
844
|
+
observe: 'response'
|
|
845
|
+
};
|
|
846
|
+
return this.http.request(RequestMethod$1.Get, path, requestOptions);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
UploadService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UploadService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
850
|
+
UploadService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UploadService });
|
|
851
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: UploadService, decorators: [{
|
|
852
|
+
type: Injectable
|
|
853
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
854
|
+
type: Optional
|
|
855
|
+
}, {
|
|
856
|
+
type: Inject,
|
|
857
|
+
args: [BASE_PATH]
|
|
858
|
+
}] }, { type: Configuration, decorators: [{
|
|
859
|
+
type: Optional
|
|
860
|
+
}] }]; } });
|
|
861
|
+
|
|
862
|
+
/**
|
|
863
|
+
* BillCapture.API
|
|
864
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
865
|
+
*
|
|
866
|
+
* OpenAPI spec version: 1.0
|
|
867
|
+
*
|
|
868
|
+
*
|
|
869
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
870
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
871
|
+
* Do not edit the class manually.
|
|
872
|
+
*/
|
|
873
|
+
/* tslint:disable:no-unused-variable member-ordering */
|
|
874
|
+
const RequestMethod = {
|
|
875
|
+
Get: 'get',
|
|
876
|
+
Post: 'post',
|
|
877
|
+
Put: 'put',
|
|
878
|
+
Delete: 'delete',
|
|
879
|
+
Options: 'options',
|
|
880
|
+
Head: 'head',
|
|
881
|
+
Patch: 'patch'
|
|
882
|
+
};
|
|
883
|
+
class VersionService {
|
|
884
|
+
constructor(http, basePath, configuration) {
|
|
885
|
+
this.http = http;
|
|
886
|
+
this.basePath = 'https://localhost';
|
|
887
|
+
this.defaultHeaders = new HttpHeaders();
|
|
888
|
+
this.configuration = new Configuration();
|
|
889
|
+
if (basePath) {
|
|
890
|
+
this.basePath = basePath;
|
|
891
|
+
}
|
|
892
|
+
if (configuration) {
|
|
893
|
+
this.configuration = configuration;
|
|
894
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
/**
|
|
898
|
+
*
|
|
899
|
+
* Extends object by coping non-existing properties.
|
|
900
|
+
* @param objA object to be extended
|
|
901
|
+
* @param objB source object
|
|
902
|
+
*/
|
|
903
|
+
extendObj(objA, objB) {
|
|
904
|
+
for (let key in objB) {
|
|
905
|
+
if (objB.hasOwnProperty(key)) {
|
|
906
|
+
objA[key] = objB[key];
|
|
907
|
+
}
|
|
908
|
+
}
|
|
909
|
+
return objA;
|
|
910
|
+
}
|
|
911
|
+
/**
|
|
912
|
+
* @param consumes string[] mime-types
|
|
913
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
914
|
+
*/
|
|
915
|
+
canConsumeForm(consumes) {
|
|
916
|
+
const form = 'multipart/form-data';
|
|
917
|
+
for (let consume of consumes) {
|
|
918
|
+
if (form === consume) {
|
|
919
|
+
return true;
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
return false;
|
|
923
|
+
}
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
*
|
|
927
|
+
*/
|
|
928
|
+
getVersion(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
929
|
+
return this.getVersionWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
|
|
930
|
+
.pipe(map((response) => {
|
|
931
|
+
if (response.status === 204) {
|
|
932
|
+
return undefined;
|
|
933
|
+
}
|
|
934
|
+
else {
|
|
935
|
+
return response.body;
|
|
936
|
+
}
|
|
937
|
+
}));
|
|
938
|
+
}
|
|
939
|
+
/**
|
|
940
|
+
*
|
|
941
|
+
*
|
|
942
|
+
*/
|
|
943
|
+
getVersionWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
|
|
944
|
+
const path = this.basePath + '/api/public/Version';
|
|
945
|
+
let queryParameters;
|
|
946
|
+
if (extraHttpRequestParams) {
|
|
947
|
+
if (typeof extraHttpRequestParams.search === 'string') {
|
|
948
|
+
queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
|
|
949
|
+
}
|
|
950
|
+
else {
|
|
951
|
+
queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
else {
|
|
955
|
+
queryParameters = new HttpParams();
|
|
956
|
+
}
|
|
957
|
+
let headers = new HttpHeaders();
|
|
958
|
+
this.defaultHeaders.keys().forEach(key => {
|
|
959
|
+
headers = headers.set(key, this.defaultHeaders.getAll(key));
|
|
960
|
+
});
|
|
961
|
+
if (extraHttpRequestHeaders) {
|
|
962
|
+
Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
|
|
963
|
+
headers = headers.set(key, value);
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
// to determine the Accept header
|
|
967
|
+
let produces = [];
|
|
968
|
+
if (this.configuration.apiKeys["Authorization"]) {
|
|
969
|
+
headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
|
|
970
|
+
}
|
|
971
|
+
if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
|
|
972
|
+
headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
|
|
973
|
+
}
|
|
974
|
+
const consumes = [];
|
|
975
|
+
let requestOptions = {
|
|
976
|
+
headers: headers,
|
|
977
|
+
params: queryParameters,
|
|
978
|
+
withCredentials: this.configuration.withCredentials,
|
|
979
|
+
observe: 'response'
|
|
980
|
+
};
|
|
981
|
+
return this.http.request(RequestMethod.Get, path, requestOptions);
|
|
982
|
+
}
|
|
983
|
+
}
|
|
984
|
+
VersionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VersionService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
985
|
+
VersionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VersionService });
|
|
986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: VersionService, decorators: [{
|
|
987
|
+
type: Injectable
|
|
988
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
|
|
989
|
+
type: Optional
|
|
990
|
+
}, {
|
|
991
|
+
type: Inject,
|
|
992
|
+
args: [BASE_PATH]
|
|
993
|
+
}] }, { type: Configuration, decorators: [{
|
|
994
|
+
type: Optional
|
|
995
|
+
}] }]; } });
|
|
996
|
+
|
|
997
|
+
const APIS = [BillCaptureAPIService, SampleService, UploadService, VersionService];
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* BillCapture.API
|
|
1001
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
1002
|
+
*
|
|
1003
|
+
* OpenAPI spec version: 1.0
|
|
1004
|
+
*
|
|
1005
|
+
*
|
|
1006
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1007
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1008
|
+
* Do not edit the class manually.
|
|
1009
|
+
*/
|
|
1010
|
+
class APIFilter {
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* BillCapture.API
|
|
1015
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
1016
|
+
*
|
|
1017
|
+
* OpenAPI spec version: 1.0
|
|
1018
|
+
*
|
|
1019
|
+
*
|
|
1020
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1021
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1022
|
+
* Do not edit the class manually.
|
|
1023
|
+
*/
|
|
1024
|
+
class APIOrderBy {
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* BillCapture.API
|
|
1029
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
1030
|
+
*
|
|
1031
|
+
* OpenAPI spec version: 1.0
|
|
1032
|
+
*
|
|
1033
|
+
*
|
|
1034
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1035
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1036
|
+
* Do not edit the class manually.
|
|
1037
|
+
*/
|
|
1038
|
+
class ClientChildDTO {
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
/**
|
|
1042
|
+
* BillCapture.API
|
|
1043
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
1044
|
+
*
|
|
1045
|
+
* OpenAPI spec version: 1.0
|
|
1046
|
+
*
|
|
1047
|
+
*
|
|
1048
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1049
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1050
|
+
* Do not edit the class manually.
|
|
1051
|
+
*/
|
|
1052
|
+
class GetClientsResponse {
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
/**
|
|
1056
|
+
* BillCapture.API
|
|
1057
|
+
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
|
1058
|
+
*
|
|
1059
|
+
* OpenAPI spec version: 1.0
|
|
1060
|
+
*
|
|
1061
|
+
*
|
|
1062
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
1063
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
1064
|
+
* Do not edit the class manually.
|
|
1065
|
+
*/
|
|
1066
|
+
class UploadResponseDTO {
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
class EnergyCapSdkModule {
|
|
1070
|
+
static forConfig(configurationFactory) {
|
|
1071
|
+
return {
|
|
1072
|
+
ngModule: EnergyCapSdkModule,
|
|
1073
|
+
providers: [{ provide: Configuration, useFactory: configurationFactory }]
|
|
1074
|
+
};
|
|
1075
|
+
}
|
|
1076
|
+
}
|
|
1077
|
+
EnergyCapSdkModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EnergyCapSdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
1078
|
+
EnergyCapSdkModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.9", ngImport: i0, type: EnergyCapSdkModule, imports: [CommonModule, HttpClientModule] });
|
|
1079
|
+
EnergyCapSdkModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EnergyCapSdkModule, providers: [BillCaptureAPIService, SampleService, UploadService, VersionService], imports: [CommonModule, HttpClientModule] });
|
|
1080
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: EnergyCapSdkModule, decorators: [{
|
|
1081
|
+
type: NgModule,
|
|
1082
|
+
args: [{
|
|
1083
|
+
imports: [CommonModule, HttpClientModule],
|
|
1084
|
+
declarations: [],
|
|
1085
|
+
exports: [],
|
|
1086
|
+
providers: [BillCaptureAPIService, SampleService, UploadService, VersionService]
|
|
1087
|
+
}]
|
|
1088
|
+
}] });
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Generated bundle index. Do not edit.
|
|
1092
|
+
*/
|
|
1093
|
+
|
|
1094
|
+
export { APIFilter, APIOrderBy, APIS, BASE_PATH, BillCaptureAPIService, COLLECTION_FORMATS, ClientChildDTO, Configuration, EnergyCapSdkModule, GetClientsResponse, SampleService, UploadResponseDTO, UploadService, VersionService };
|
|
1095
|
+
//# sourceMappingURL=energycap-energycap-billcapture-sdk-angular.mjs.map
|