@energycap/energycap-billcapture-sdk-angular 1.0.355-develop-20260716-1508 → 1.0.357-develop-20260717-1145

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$b = {
57
+ const RequestMethod$e = {
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$b.Get, path, requestOptions);
269
+ return this.http.request(RequestMethod$e.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$b.Get, path, requestOptions);
319
+ return this.http.request(RequestMethod$e.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$b.Get, path, requestOptions);
369
+ return this.http.request(RequestMethod$e.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$b.Get, path, requestOptions);
431
+ return this.http.request(RequestMethod$e.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$b.Get, path, requestOptions);
481
+ return this.http.request(RequestMethod$e.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,287 @@ 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$a = {
509
+ const RequestMethod$d = {
510
+ Get: 'get',
511
+ Post: 'post',
512
+ Put: 'put',
513
+ Delete: 'delete',
514
+ Options: 'options',
515
+ Head: 'head',
516
+ Patch: 'patch'
517
+ };
518
+ class BillRetrievalService {
519
+ http;
520
+ basePath = 'https://localhost';
521
+ defaultHeaders = new HttpHeaders();
522
+ configuration = new Configuration();
523
+ constructor(http, basePath, configuration) {
524
+ this.http = http;
525
+ if (basePath) {
526
+ this.basePath = basePath;
527
+ }
528
+ if (configuration) {
529
+ this.configuration = configuration;
530
+ this.basePath = basePath || configuration.basePath || this.basePath;
531
+ }
532
+ }
533
+ /**
534
+ *
535
+ * Extends object by coping non-existing properties.
536
+ * @param objA object to be extended
537
+ * @param objB source object
538
+ */
539
+ extendObj(objA, objB) {
540
+ for (let key in objB) {
541
+ if (objB.hasOwnProperty(key)) {
542
+ objA[key] = objB[key];
543
+ }
544
+ }
545
+ return objA;
546
+ }
547
+ /**
548
+ * @param consumes string[] mime-types
549
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
550
+ */
551
+ canConsumeForm(consumes) {
552
+ const form = 'multipart/form-data';
553
+ for (let consume of consumes) {
554
+ if (form === consume) {
555
+ return true;
556
+ }
557
+ }
558
+ return false;
559
+ }
560
+ /**
561
+ *
562
+ *
563
+ * @param body
564
+ */
565
+ apiV202606BillRetrievalPost(body, extraHttpRequestParams, extraHttpRequestHeaders) {
566
+ return this.apiV202606BillRetrievalPostWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
567
+ .pipe(map((response) => {
568
+ if (response.status === 204) {
569
+ return undefined;
570
+ }
571
+ else {
572
+ return response.body;
573
+ }
574
+ }));
575
+ }
576
+ /**
577
+ *
578
+ *
579
+ * @param body
580
+ */
581
+ apiV202606BillRetrievalPostWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders) {
582
+ const path = this.basePath + '/api/v202606/BillRetrieval';
583
+ let queryParameters;
584
+ if (extraHttpRequestParams) {
585
+ if (typeof extraHttpRequestParams.search === 'string') {
586
+ queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
587
+ }
588
+ else {
589
+ queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
590
+ }
591
+ }
592
+ else {
593
+ queryParameters = new HttpParams();
594
+ }
595
+ let headers = new HttpHeaders();
596
+ this.defaultHeaders.keys().forEach(key => {
597
+ headers = headers.set(key, this.defaultHeaders.getAll(key));
598
+ });
599
+ if (extraHttpRequestHeaders) {
600
+ Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
601
+ headers = headers.set(key, value);
602
+ });
603
+ }
604
+ // to determine the Accept header
605
+ let produces = [
606
+ 'application/json'
607
+ ];
608
+ if (this.configuration.apiKeys["Authorization"]) {
609
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
610
+ }
611
+ if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
612
+ headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
613
+ }
614
+ const consumes = [
615
+ 'application/json'
616
+ ];
617
+ headers = headers.set('Content-Type', consumes[0]);
618
+ let requestOptions = {
619
+ headers: headers,
620
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body), // https://github.com/angular/angular/issues/10612
621
+ params: queryParameters,
622
+ withCredentials: this.configuration.withCredentials,
623
+ observe: 'response'
624
+ };
625
+ return this.http.request(RequestMethod$d.Post, path, requestOptions);
626
+ }
627
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: BillRetrievalService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
628
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: BillRetrievalService });
629
+ }
630
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: BillRetrievalService, decorators: [{
631
+ type: Injectable
632
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
633
+ type: Optional
634
+ }, {
635
+ type: Inject,
636
+ args: [BASE_PATH]
637
+ }] }, { type: Configuration, decorators: [{
638
+ type: Optional
639
+ }] }] });
640
+
641
+ /**
642
+ * BillCapture.API
643
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
644
+ *
645
+ * OpenAPI spec version: 1.0
646
+ *
647
+ *
648
+ * NOTE: This class is auto generated by the swagger code generator program.
649
+ * https://github.com/swagger-api/swagger-codegen.git
650
+ * Do not edit the class manually.
651
+ */
652
+ /* tslint:disable:no-unused-variable member-ordering */
653
+ const RequestMethod$c = {
654
+ Get: 'get',
655
+ Post: 'post',
656
+ Put: 'put',
657
+ Delete: 'delete',
658
+ Options: 'options',
659
+ Head: 'head',
660
+ Patch: 'patch'
661
+ };
662
+ class BillRetrievalWebhookService {
663
+ http;
664
+ basePath = 'https://localhost';
665
+ defaultHeaders = new HttpHeaders();
666
+ configuration = new Configuration();
667
+ constructor(http, basePath, configuration) {
668
+ this.http = http;
669
+ if (basePath) {
670
+ this.basePath = basePath;
671
+ }
672
+ if (configuration) {
673
+ this.configuration = configuration;
674
+ this.basePath = basePath || configuration.basePath || this.basePath;
675
+ }
676
+ }
677
+ /**
678
+ *
679
+ * Extends object by coping non-existing properties.
680
+ * @param objA object to be extended
681
+ * @param objB source object
682
+ */
683
+ extendObj(objA, objB) {
684
+ for (let key in objB) {
685
+ if (objB.hasOwnProperty(key)) {
686
+ objA[key] = objB[key];
687
+ }
688
+ }
689
+ return objA;
690
+ }
691
+ /**
692
+ * @param consumes string[] mime-types
693
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
694
+ */
695
+ canConsumeForm(consumes) {
696
+ const form = 'multipart/form-data';
697
+ for (let consume of consumes) {
698
+ if (form === consume) {
699
+ return true;
700
+ }
701
+ }
702
+ return false;
703
+ }
704
+ /**
705
+ *
706
+ *
707
+ */
708
+ apiV202606BillRetrievalWebhookDeckPost(extraHttpRequestParams, extraHttpRequestHeaders) {
709
+ return this.apiV202606BillRetrievalWebhookDeckPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
710
+ .pipe(map((response) => {
711
+ if (response.status === 204) {
712
+ return undefined;
713
+ }
714
+ else {
715
+ return response.body;
716
+ }
717
+ }));
718
+ }
719
+ /**
720
+ *
721
+ *
722
+ */
723
+ apiV202606BillRetrievalWebhookDeckPostWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
724
+ const path = this.basePath + '/api/v202606/billRetrievalWebhook/deck';
725
+ let queryParameters;
726
+ if (extraHttpRequestParams) {
727
+ if (typeof extraHttpRequestParams.search === 'string') {
728
+ queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
729
+ }
730
+ else {
731
+ queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
732
+ }
733
+ }
734
+ else {
735
+ queryParameters = new HttpParams();
736
+ }
737
+ let headers = new HttpHeaders();
738
+ this.defaultHeaders.keys().forEach(key => {
739
+ headers = headers.set(key, this.defaultHeaders.getAll(key));
740
+ });
741
+ if (extraHttpRequestHeaders) {
742
+ Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
743
+ headers = headers.set(key, value);
744
+ });
745
+ }
746
+ // to determine the Accept header
747
+ let produces = [];
748
+ if (this.configuration.apiKeys["Authorization"]) {
749
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
750
+ }
751
+ if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
752
+ headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
753
+ }
754
+ const consumes = [];
755
+ let requestOptions = {
756
+ headers: headers,
757
+ params: queryParameters,
758
+ withCredentials: this.configuration.withCredentials,
759
+ observe: 'response'
760
+ };
761
+ return this.http.request(RequestMethod$c.Post, path, requestOptions);
762
+ }
763
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: BillRetrievalWebhookService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
764
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: BillRetrievalWebhookService });
765
+ }
766
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: BillRetrievalWebhookService, decorators: [{
767
+ type: Injectable
768
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
769
+ type: Optional
770
+ }, {
771
+ type: Inject,
772
+ args: [BASE_PATH]
773
+ }] }, { type: Configuration, decorators: [{
774
+ type: Optional
775
+ }] }] });
776
+
777
+ /**
778
+ * BillCapture.API
779
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
780
+ *
781
+ * OpenAPI spec version: 1.0
782
+ *
783
+ *
784
+ * NOTE: This class is auto generated by the swagger code generator program.
785
+ * https://github.com/swagger-api/swagger-codegen.git
786
+ * Do not edit the class manually.
787
+ */
788
+ /* tslint:disable:no-unused-variable member-ordering */
789
+ const RequestMethod$b = {
510
790
  Get: 'get',
511
791
  Post: 'post',
512
792
  Put: 'put',
@@ -689,7 +969,7 @@ class ClientService {
689
969
  withCredentials: this.configuration.withCredentials,
690
970
  observe: 'response'
691
971
  };
692
- return this.http.request(RequestMethod$a.Get, path, requestOptions);
972
+ return this.http.request(RequestMethod$b.Get, path, requestOptions);
693
973
  }
694
974
  /**
695
975
  * Update a client
@@ -746,7 +1026,7 @@ class ClientService {
746
1026
  withCredentials: this.configuration.withCredentials,
747
1027
  observe: 'response'
748
1028
  };
749
- return this.http.request(RequestMethod$a.Put, path, requestOptions);
1029
+ return this.http.request(RequestMethod$b.Put, path, requestOptions);
750
1030
  }
751
1031
  /**
752
1032
  * Get a client's monthly transaction statistics for the current contract period
@@ -806,7 +1086,7 @@ class ClientService {
806
1086
  withCredentials: this.configuration.withCredentials,
807
1087
  observe: 'response'
808
1088
  };
809
- return this.http.request(RequestMethod$a.Get, path, requestOptions);
1089
+ return this.http.request(RequestMethod$b.Get, path, requestOptions);
810
1090
  }
811
1091
  /**
812
1092
  * Get a client's transaction usage
@@ -858,7 +1138,7 @@ class ClientService {
858
1138
  withCredentials: this.configuration.withCredentials,
859
1139
  observe: 'response'
860
1140
  };
861
- return this.http.request(RequestMethod$a.Get, path, requestOptions);
1141
+ return this.http.request(RequestMethod$b.Get, path, requestOptions);
862
1142
  }
863
1143
  /**
864
1144
  * Return a list of clients
@@ -904,7 +1184,7 @@ class ClientService {
904
1184
  withCredentials: this.configuration.withCredentials,
905
1185
  observe: 'response'
906
1186
  };
907
- return this.http.request(RequestMethod$a.Get, path, requestOptions);
1187
+ return this.http.request(RequestMethod$b.Get, path, requestOptions);
908
1188
  }
909
1189
  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
1190
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ClientService });
@@ -932,7 +1212,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
932
1212
  * Do not edit the class manually.
933
1213
  */
934
1214
  /* tslint:disable:no-unused-variable member-ordering */
935
- const RequestMethod$9 = {
1215
+ const RequestMethod$a = {
936
1216
  Get: 'get',
937
1217
  Post: 'post',
938
1218
  Put: 'put',
@@ -1047,7 +1327,7 @@ class ClientFileChildrenService {
1047
1327
  withCredentials: this.configuration.withCredentials,
1048
1328
  observe: 'response'
1049
1329
  };
1050
- return this.http.request(RequestMethod$9.Get, path, requestOptions);
1330
+ return this.http.request(RequestMethod$a.Get, path, requestOptions);
1051
1331
  }
1052
1332
  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
1333
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ClientFileChildrenService });
@@ -1075,7 +1355,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
1075
1355
  * Do not edit the class manually.
1076
1356
  */
1077
1357
  /* tslint:disable:no-unused-variable member-ordering */
1078
- const RequestMethod$8 = {
1358
+ const RequestMethod$9 = {
1079
1359
  Get: 'get',
1080
1360
  Post: 'post',
1081
1361
  Put: 'put',
@@ -1204,7 +1484,7 @@ class ExportService {
1204
1484
  withCredentials: this.configuration.withCredentials,
1205
1485
  observe: 'response'
1206
1486
  };
1207
- return this.http.request(RequestMethod$8.Post, path, requestOptions);
1487
+ return this.http.request(RequestMethod$9.Post, path, requestOptions);
1208
1488
  }
1209
1489
  /**
1210
1490
  * Exports the uploads
@@ -1252,7 +1532,7 @@ class ExportService {
1252
1532
  withCredentials: this.configuration.withCredentials,
1253
1533
  observe: 'response'
1254
1534
  };
1255
- return this.http.request(RequestMethod$8.Post, path, requestOptions);
1535
+ return this.http.request(RequestMethod$9.Post, path, requestOptions);
1256
1536
  }
1257
1537
  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 });
1258
1538
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ExportService });
@@ -1280,7 +1560,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
1280
1560
  * Do not edit the class manually.
1281
1561
  */
1282
1562
  /* tslint:disable:no-unused-variable member-ordering */
1283
- const RequestMethod$7 = {
1563
+ const RequestMethod$8 = {
1284
1564
  Get: 'get',
1285
1565
  Post: 'post',
1286
1566
  Put: 'put',
@@ -1418,7 +1698,7 @@ class ImportTaskService {
1418
1698
  withCredentials: this.configuration.withCredentials,
1419
1699
  observe: 'response'
1420
1700
  };
1421
- return this.http.request(RequestMethod$7.Put, path, requestOptions);
1701
+ return this.http.request(RequestMethod$8.Put, path, requestOptions);
1422
1702
  }
1423
1703
  /**
1424
1704
  * Get bill tracking details for an import task, including retrieval method and processing partner. Called by EUM's Hangfire background job (no user context available), hence Internal/Basic auth.
@@ -1474,7 +1754,7 @@ class ImportTaskService {
1474
1754
  withCredentials: this.configuration.withCredentials,
1475
1755
  observe: 'response'
1476
1756
  };
1477
- return this.http.request(RequestMethod$7.Get, path, requestOptions);
1757
+ return this.http.request(RequestMethod$8.Get, path, requestOptions);
1478
1758
  }
1479
1759
  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 });
1480
1760
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ImportTaskService });
@@ -1502,7 +1782,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
1502
1782
  * Do not edit the class manually.
1503
1783
  */
1504
1784
  /* tslint:disable:no-unused-variable member-ordering */
1505
- const RequestMethod$6 = {
1785
+ const RequestMethod$7 = {
1506
1786
  Get: 'get',
1507
1787
  Post: 'post',
1508
1788
  Put: 'put',
@@ -1610,7 +1890,7 @@ class InternalService {
1610
1890
  withCredentials: this.configuration.withCredentials,
1611
1891
  observe: 'response'
1612
1892
  };
1613
- return this.http.request(RequestMethod$6.Post, path, requestOptions);
1893
+ return this.http.request(RequestMethod$7.Post, path, requestOptions);
1614
1894
  }
1615
1895
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: InternalService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1616
1896
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: InternalService });
@@ -1638,7 +1918,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
1638
1918
  * Do not edit the class manually.
1639
1919
  */
1640
1920
  /* tslint:disable:no-unused-variable member-ordering */
1641
- const RequestMethod$5 = {
1921
+ const RequestMethod$6 = {
1642
1922
  Get: 'get',
1643
1923
  Post: 'post',
1644
1924
  Put: 'put',
@@ -1750,7 +2030,7 @@ class PartnerService {
1750
2030
  withCredentials: this.configuration.withCredentials,
1751
2031
  observe: 'response'
1752
2032
  };
1753
- return this.http.request(RequestMethod$5.Post, path, requestOptions);
2033
+ return this.http.request(RequestMethod$6.Post, path, requestOptions);
1754
2034
  }
1755
2035
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: PartnerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
1756
2036
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: PartnerService });
@@ -1778,7 +2058,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
1778
2058
  * Do not edit the class manually.
1779
2059
  */
1780
2060
  /* tslint:disable:no-unused-variable member-ordering */
1781
- const RequestMethod$4 = {
2061
+ const RequestMethod$5 = {
1782
2062
  Get: 'get',
1783
2063
  Post: 'post',
1784
2064
  Put: 'put',
@@ -1955,7 +2235,7 @@ class ProblemFileService {
1955
2235
  withCredentials: this.configuration.withCredentials,
1956
2236
  observe: 'response'
1957
2237
  };
1958
- return this.http.request(RequestMethod$4.Get, path, requestOptions);
2238
+ return this.http.request(RequestMethod$5.Get, path, requestOptions);
1959
2239
  }
1960
2240
  /**
1961
2241
  * Return the history of resolved problem files
@@ -2013,7 +2293,7 @@ class ProblemFileService {
2013
2293
  withCredentials: this.configuration.withCredentials,
2014
2294
  observe: 'response'
2015
2295
  };
2016
- return this.http.request(RequestMethod$4.Get, path, requestOptions);
2296
+ return this.http.request(RequestMethod$5.Get, path, requestOptions);
2017
2297
  }
2018
2298
  /**
2019
2299
  * Upload a replacement file for a problem file. The file must be a whitelisted image type or whitelisted text type The file will be zipped and placed in the front door folder for processing. Max file size is 500MB.
@@ -2073,7 +2353,7 @@ class ProblemFileService {
2073
2353
  withCredentials: this.configuration.withCredentials,
2074
2354
  observe: 'response'
2075
2355
  };
2076
- return this.http.request(RequestMethod$4.Post, path, requestOptions);
2356
+ return this.http.request(RequestMethod$5.Post, path, requestOptions);
2077
2357
  }
2078
2358
  /**
2079
2359
  * Perform an action on one or many problem files
@@ -2124,7 +2404,7 @@ class ProblemFileService {
2124
2404
  withCredentials: this.configuration.withCredentials,
2125
2405
  observe: 'response'
2126
2406
  };
2127
- return this.http.request(RequestMethod$4.Put, path, requestOptions);
2407
+ return this.http.request(RequestMethod$5.Put, path, requestOptions);
2128
2408
  }
2129
2409
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ProblemFileService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2130
2410
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ProblemFileService });
@@ -2152,7 +2432,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
2152
2432
  * Do not edit the class manually.
2153
2433
  */
2154
2434
  /* tslint:disable:no-unused-variable member-ordering */
2155
- const RequestMethod$3 = {
2435
+ const RequestMethod$4 = {
2156
2436
  Get: 'get',
2157
2437
  Post: 'post',
2158
2438
  Put: 'put',
@@ -2262,7 +2542,7 @@ class ProblemTypeService {
2262
2542
  withCredentials: this.configuration.withCredentials,
2263
2543
  observe: 'response'
2264
2544
  };
2265
- return this.http.request(RequestMethod$3.Get, path, requestOptions);
2545
+ return this.http.request(RequestMethod$4.Get, path, requestOptions);
2266
2546
  }
2267
2547
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ProblemTypeService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2268
2548
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: ProblemTypeService });
@@ -2290,7 +2570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
2290
2570
  * Do not edit the class manually.
2291
2571
  */
2292
2572
  /* tslint:disable:no-unused-variable member-ordering */
2293
- const RequestMethod$2 = {
2573
+ const RequestMethod$3 = {
2294
2574
  Get: 'get',
2295
2575
  Post: 'post',
2296
2576
  Put: 'put',
@@ -2415,7 +2695,7 @@ class TransactionService {
2415
2695
  withCredentials: this.configuration.withCredentials,
2416
2696
  observe: 'response'
2417
2697
  };
2418
- return this.http.request(RequestMethod$2.Get, path, requestOptions);
2698
+ return this.http.request(RequestMethod$3.Get, path, requestOptions);
2419
2699
  }
2420
2700
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: TransactionService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2421
2701
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: TransactionService });
@@ -2443,7 +2723,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
2443
2723
  * Do not edit the class manually.
2444
2724
  */
2445
2725
  /* tslint:disable:no-unused-variable member-ordering */
2446
- const RequestMethod$1 = {
2726
+ const RequestMethod$2 = {
2447
2727
  Get: 'get',
2448
2728
  Post: 'post',
2449
2729
  Put: 'put',
@@ -2605,7 +2885,7 @@ class UploadService {
2605
2885
  withCredentials: this.configuration.withCredentials,
2606
2886
  observe: 'response'
2607
2887
  };
2608
- return this.http.request(RequestMethod$1.Get, path, requestOptions);
2888
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
2609
2889
  }
2610
2890
  /**
2611
2891
  * Uploads file to be picked and processed by Bill CAPture Must be a zip file The zip cannot contain a file named ecapmeta.json The zip cannot contain other zip files Max file size is 500MB
@@ -2663,7 +2943,7 @@ class UploadService {
2663
2943
  withCredentials: this.configuration.withCredentials,
2664
2944
  observe: 'response'
2665
2945
  };
2666
- return this.http.request(RequestMethod$1.Post, path, requestOptions);
2946
+ return this.http.request(RequestMethod$2.Post, path, requestOptions);
2667
2947
  }
2668
2948
  /**
2669
2949
  * Get list of files for a specific upload
@@ -2707,13 +2987,149 @@ class UploadService {
2707
2987
  if (pageSize !== undefined) {
2708
2988
  queryParameters = queryParameters.set('pageSize', pageSize);
2709
2989
  }
2710
- if (pageNumber !== undefined) {
2711
- queryParameters = queryParameters.set('pageNumber', pageNumber);
2990
+ if (pageNumber !== undefined) {
2991
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
2992
+ }
2993
+ // to determine the Accept header
2994
+ let produces = [
2995
+ 'application/json'
2996
+ ];
2997
+ if (this.configuration.apiKeys["Authorization"]) {
2998
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2999
+ }
3000
+ if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
3001
+ headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
3002
+ }
3003
+ const consumes = [];
3004
+ let requestOptions = {
3005
+ headers: headers,
3006
+ params: queryParameters,
3007
+ withCredentials: this.configuration.withCredentials,
3008
+ observe: 'response'
3009
+ };
3010
+ return this.http.request(RequestMethod$2.Get, path, requestOptions);
3011
+ }
3012
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: UploadService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3013
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: UploadService });
3014
+ }
3015
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: UploadService, decorators: [{
3016
+ type: Injectable
3017
+ }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
3018
+ type: Optional
3019
+ }, {
3020
+ type: Inject,
3021
+ args: [BASE_PATH]
3022
+ }] }, { type: Configuration, decorators: [{
3023
+ type: Optional
3024
+ }] }] });
3025
+
3026
+ /**
3027
+ * BillCapture.API
3028
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
3029
+ *
3030
+ * OpenAPI spec version: 1.0
3031
+ *
3032
+ *
3033
+ * NOTE: This class is auto generated by the swagger code generator program.
3034
+ * https://github.com/swagger-api/swagger-codegen.git
3035
+ * Do not edit the class manually.
3036
+ */
3037
+ /* tslint:disable:no-unused-variable member-ordering */
3038
+ const RequestMethod$1 = {
3039
+ Get: 'get',
3040
+ Post: 'post',
3041
+ Put: 'put',
3042
+ Delete: 'delete',
3043
+ Options: 'options',
3044
+ Head: 'head',
3045
+ Patch: 'patch'
3046
+ };
3047
+ class VersionService {
3048
+ http;
3049
+ basePath = 'https://localhost';
3050
+ defaultHeaders = new HttpHeaders();
3051
+ configuration = new Configuration();
3052
+ constructor(http, basePath, configuration) {
3053
+ this.http = http;
3054
+ if (basePath) {
3055
+ this.basePath = basePath;
3056
+ }
3057
+ if (configuration) {
3058
+ this.configuration = configuration;
3059
+ this.basePath = basePath || configuration.basePath || this.basePath;
3060
+ }
3061
+ }
3062
+ /**
3063
+ *
3064
+ * Extends object by coping non-existing properties.
3065
+ * @param objA object to be extended
3066
+ * @param objB source object
3067
+ */
3068
+ extendObj(objA, objB) {
3069
+ for (let key in objB) {
3070
+ if (objB.hasOwnProperty(key)) {
3071
+ objA[key] = objB[key];
3072
+ }
3073
+ }
3074
+ return objA;
3075
+ }
3076
+ /**
3077
+ * @param consumes string[] mime-types
3078
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
3079
+ */
3080
+ canConsumeForm(consumes) {
3081
+ const form = 'multipart/form-data';
3082
+ for (let consume of consumes) {
3083
+ if (form === consume) {
3084
+ return true;
3085
+ }
3086
+ }
3087
+ return false;
3088
+ }
3089
+ /**
3090
+ *
3091
+ *
3092
+ */
3093
+ getVersion(extraHttpRequestParams, extraHttpRequestHeaders) {
3094
+ return this.getVersionWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
3095
+ .pipe(map((response) => {
3096
+ if (response.status === 204) {
3097
+ return undefined;
3098
+ }
3099
+ else {
3100
+ return response.body;
3101
+ }
3102
+ }));
3103
+ }
3104
+ /**
3105
+ *
3106
+ *
3107
+ */
3108
+ getVersionWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
3109
+ const path = this.basePath + '/api/v202401/Version';
3110
+ let queryParameters;
3111
+ if (extraHttpRequestParams) {
3112
+ if (typeof extraHttpRequestParams.search === 'string') {
3113
+ queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
3114
+ }
3115
+ else {
3116
+ queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
3117
+ }
3118
+ }
3119
+ else {
3120
+ queryParameters = new HttpParams();
3121
+ }
3122
+ let headers = new HttpHeaders();
3123
+ this.defaultHeaders.keys().forEach(key => {
3124
+ headers = headers.set(key, this.defaultHeaders.getAll(key));
3125
+ });
3126
+ if (extraHttpRequestHeaders) {
3127
+ Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
3128
+ headers = headers.set(key, value);
3129
+ });
2712
3130
  }
2713
3131
  // to determine the Accept header
2714
- let produces = [
2715
- 'application/json'
2716
- ];
3132
+ let produces = [];
2717
3133
  if (this.configuration.apiKeys["Authorization"]) {
2718
3134
  headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2719
3135
  }
@@ -2729,10 +3145,10 @@ class UploadService {
2729
3145
  };
2730
3146
  return this.http.request(RequestMethod$1.Get, path, requestOptions);
2731
3147
  }
2732
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: UploadService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2733
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: UploadService });
3148
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: VersionService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3149
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: VersionService });
2734
3150
  }
2735
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: UploadService, decorators: [{
3151
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: VersionService, decorators: [{
2736
3152
  type: Injectable
2737
3153
  }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
2738
3154
  type: Optional
@@ -2764,7 +3180,7 @@ const RequestMethod = {
2764
3180
  Head: 'head',
2765
3181
  Patch: 'patch'
2766
3182
  };
2767
- class VersionService {
3183
+ class WebCaptureVendorService {
2768
3184
  http;
2769
3185
  basePath = 'https://localhost';
2770
3186
  defaultHeaders = new HttpHeaders();
@@ -2807,11 +3223,30 @@ class VersionService {
2807
3223
  return false;
2808
3224
  }
2809
3225
  /**
3226
+ * Returns a list of WebCaptureVendor records, optionally filtered by vendor name.
2810
3227
  *
3228
+ * @param vendorName Optional partial match filter on vendor name
3229
+ * @param pageSize The number of elements to return in a page
3230
+ * @param pageNumber The current page number
3231
+ */
3232
+ apiV202606WebCaptureVendorGet(vendorName, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
3233
+ return this.apiV202606WebCaptureVendorGetWithHttpInfo(vendorName, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders)
3234
+ .pipe(map((response) => {
3235
+ if (response.status === 204) {
3236
+ return undefined;
3237
+ }
3238
+ else {
3239
+ return response.body;
3240
+ }
3241
+ }));
3242
+ }
3243
+ /**
3244
+ * Builds an auth-iframe URL to edit (reconnect) an existing credential's username/password. The vendor is derived from the credential's sourceId — no vendor ID in the route.
2811
3245
  *
3246
+ * @param body The credential id and its partner.
2812
3247
  */
2813
- getVersion(extraHttpRequestParams, extraHttpRequestHeaders) {
2814
- return this.getVersionWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders)
3248
+ apiV202606WebCaptureVendorReconnectPost(body, extraHttpRequestParams, extraHttpRequestHeaders) {
3249
+ return this.apiV202606WebCaptureVendorReconnectPostWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders)
2815
3250
  .pipe(map((response) => {
2816
3251
  if (response.status === 204) {
2817
3252
  return undefined;
@@ -2822,11 +3257,31 @@ class VersionService {
2822
3257
  }));
2823
3258
  }
2824
3259
  /**
3260
+ * Builds an auth-iframe URL to create a credential in the vendor's web capture partner (Deck / Arcadia).
2825
3261
  *
3262
+ * @param webCaptureVendorID The vendor to create a credential for.
3263
+ * @param body Identifies the BillCapture client the credential will belong to.
3264
+ */
3265
+ apiV202606WebCaptureVendorWebCaptureVendorIDConnectPost(webCaptureVendorID, body, extraHttpRequestParams, extraHttpRequestHeaders) {
3266
+ return this.apiV202606WebCaptureVendorWebCaptureVendorIDConnectPostWithHttpInfo(webCaptureVendorID, body, extraHttpRequestParams, extraHttpRequestHeaders)
3267
+ .pipe(map((response) => {
3268
+ if (response.status === 204) {
3269
+ return undefined;
3270
+ }
3271
+ else {
3272
+ return response.body;
3273
+ }
3274
+ }));
3275
+ }
3276
+ /**
3277
+ * Returns a list of WebCaptureVendor records, optionally filtered by vendor name.
2826
3278
  *
3279
+ * @param vendorName Optional partial match filter on vendor name
3280
+ * @param pageSize The number of elements to return in a page
3281
+ * @param pageNumber The current page number
2827
3282
  */
2828
- getVersionWithHttpInfo(extraHttpRequestParams, extraHttpRequestHeaders) {
2829
- const path = this.basePath + '/api/v202401/Version';
3283
+ apiV202606WebCaptureVendorGetWithHttpInfo(vendorName, pageSize, pageNumber, extraHttpRequestParams, extraHttpRequestHeaders) {
3284
+ const path = this.basePath + '/api/v202606/WebCaptureVendor';
2830
3285
  let queryParameters;
2831
3286
  if (extraHttpRequestParams) {
2832
3287
  if (typeof extraHttpRequestParams.search === 'string') {
@@ -2848,8 +3303,19 @@ class VersionService {
2848
3303
  headers = headers.set(key, value);
2849
3304
  });
2850
3305
  }
3306
+ if (vendorName !== undefined) {
3307
+ queryParameters = queryParameters.set('vendorName', vendorName);
3308
+ }
3309
+ if (pageSize !== undefined) {
3310
+ queryParameters = queryParameters.set('pageSize', pageSize);
3311
+ }
3312
+ if (pageNumber !== undefined) {
3313
+ queryParameters = queryParameters.set('pageNumber', pageNumber);
3314
+ }
2851
3315
  // to determine the Accept header
2852
- let produces = [];
3316
+ let produces = [
3317
+ 'application/json'
3318
+ ];
2853
3319
  if (this.configuration.apiKeys["Authorization"]) {
2854
3320
  headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
2855
3321
  }
@@ -2865,10 +3331,118 @@ class VersionService {
2865
3331
  };
2866
3332
  return this.http.request(RequestMethod.Get, path, requestOptions);
2867
3333
  }
2868
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: VersionService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
2869
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: VersionService });
3334
+ /**
3335
+ * Builds an auth-iframe URL to edit (reconnect) an existing credential's username/password. The vendor is derived from the credential's sourceId — no vendor ID in the route.
3336
+ *
3337
+ * @param body The credential id and its partner.
3338
+ */
3339
+ apiV202606WebCaptureVendorReconnectPostWithHttpInfo(body, extraHttpRequestParams, extraHttpRequestHeaders) {
3340
+ const path = this.basePath + '/api/v202606/WebCaptureVendor/reconnect';
3341
+ let queryParameters;
3342
+ if (extraHttpRequestParams) {
3343
+ if (typeof extraHttpRequestParams.search === 'string') {
3344
+ queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
3345
+ }
3346
+ else {
3347
+ queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
3348
+ }
3349
+ }
3350
+ else {
3351
+ queryParameters = new HttpParams();
3352
+ }
3353
+ let headers = new HttpHeaders();
3354
+ this.defaultHeaders.keys().forEach(key => {
3355
+ headers = headers.set(key, this.defaultHeaders.getAll(key));
3356
+ });
3357
+ if (extraHttpRequestHeaders) {
3358
+ Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
3359
+ headers = headers.set(key, value);
3360
+ });
3361
+ }
3362
+ // to determine the Accept header
3363
+ let produces = [
3364
+ 'application/json'
3365
+ ];
3366
+ if (this.configuration.apiKeys["Authorization"]) {
3367
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
3368
+ }
3369
+ if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
3370
+ headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
3371
+ }
3372
+ const consumes = [
3373
+ 'application/json'
3374
+ ];
3375
+ headers = headers.set('Content-Type', consumes[0]);
3376
+ let requestOptions = {
3377
+ headers: headers,
3378
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body), // https://github.com/angular/angular/issues/10612
3379
+ params: queryParameters,
3380
+ withCredentials: this.configuration.withCredentials,
3381
+ observe: 'response'
3382
+ };
3383
+ return this.http.request(RequestMethod.Post, path, requestOptions);
3384
+ }
3385
+ /**
3386
+ * Builds an auth-iframe URL to create a credential in the vendor's web capture partner (Deck / Arcadia).
3387
+ *
3388
+ * @param webCaptureVendorID The vendor to create a credential for.
3389
+ * @param body Identifies the BillCapture client the credential will belong to.
3390
+ */
3391
+ apiV202606WebCaptureVendorWebCaptureVendorIDConnectPostWithHttpInfo(webCaptureVendorID, body, extraHttpRequestParams, extraHttpRequestHeaders) {
3392
+ const path = this.basePath + '/api/v202606/WebCaptureVendor/${webCaptureVendorID}/connect'
3393
+ .replace('${' + 'webCaptureVendorID' + '}', String(webCaptureVendorID));
3394
+ let queryParameters;
3395
+ if (extraHttpRequestParams) {
3396
+ if (typeof extraHttpRequestParams.search === 'string') {
3397
+ queryParameters = new HttpParams({ fromString: extraHttpRequestParams.search });
3398
+ }
3399
+ else {
3400
+ queryParameters = new HttpParams({ fromObject: extraHttpRequestParams.search });
3401
+ }
3402
+ }
3403
+ else {
3404
+ queryParameters = new HttpParams();
3405
+ }
3406
+ let headers = new HttpHeaders();
3407
+ this.defaultHeaders.keys().forEach(key => {
3408
+ headers = headers.set(key, this.defaultHeaders.getAll(key));
3409
+ });
3410
+ if (extraHttpRequestHeaders) {
3411
+ Object.entries(extraHttpRequestHeaders).forEach(([key, value]) => {
3412
+ headers = headers.set(key, value);
3413
+ });
3414
+ }
3415
+ // verify required parameter 'webCaptureVendorID' is not null or undefined
3416
+ if (webCaptureVendorID === null || webCaptureVendorID === undefined) {
3417
+ throw new Error('Required parameter webCaptureVendorID was null or undefined when calling apiV202606WebCaptureVendorWebCaptureVendorIDConnectPost.');
3418
+ }
3419
+ // to determine the Accept header
3420
+ let produces = [
3421
+ 'application/json'
3422
+ ];
3423
+ if (this.configuration.apiKeys["Authorization"]) {
3424
+ headers = headers.set('Authorization', this.configuration.apiKeys["Authorization"]);
3425
+ }
3426
+ if (this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]) {
3427
+ headers = headers.set('ECI-PUBLIC-DASHBOARD-KEY', this.configuration.apiKeys["ECI-PUBLIC-DASHBOARD-KEY"]);
3428
+ }
3429
+ const consumes = [
3430
+ 'application/json'
3431
+ ];
3432
+ headers = headers.set('Content-Type', consumes[0]);
3433
+ let requestOptions = {
3434
+ headers: headers,
3435
+ body: body == null ? '' : (consumes[0] == 'application/json' ? JSON.stringify(body) : body), // https://github.com/angular/angular/issues/10612
3436
+ params: queryParameters,
3437
+ withCredentials: this.configuration.withCredentials,
3438
+ observe: 'response'
3439
+ };
3440
+ return this.http.request(RequestMethod.Post, path, requestOptions);
3441
+ }
3442
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: WebCaptureVendorService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
3443
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: WebCaptureVendorService });
2870
3444
  }
2871
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: VersionService, decorators: [{
3445
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: WebCaptureVendorService, decorators: [{
2872
3446
  type: Injectable
2873
3447
  }], ctorParameters: () => [{ type: i1.HttpClient }, { type: undefined, decorators: [{
2874
3448
  type: Optional
@@ -2879,7 +3453,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
2879
3453
  type: Optional
2880
3454
  }] }] });
2881
3455
 
2882
- const APIS = [AccountService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService];
3456
+ const APIS = [AccountService, BillRetrievalService, BillRetrievalWebhookService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService, WebCaptureVendorService];
2883
3457
 
2884
3458
  /**
2885
3459
  * BillCapture.API
@@ -2895,6 +3469,23 @@ const APIS = [AccountService, ClientService, ClientFileChildrenService, ExportSe
2895
3469
  class APIFilter {
2896
3470
  }
2897
3471
 
3472
+ /**
3473
+ * BillCapture.API
3474
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
3475
+ *
3476
+ * OpenAPI spec version: 1.0
3477
+ *
3478
+ *
3479
+ * NOTE: This class is auto generated by the swagger code generator program.
3480
+ * https://github.com/swagger-api/swagger-codegen.git
3481
+ * Do not edit the class manually.
3482
+ */
3483
+ class BillRetrievalResponseDTO {
3484
+ billRetrievalId;
3485
+ status;
3486
+ startedAt;
3487
+ }
3488
+
2898
3489
  /**
2899
3490
  * BillCapture.API
2900
3491
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -2974,6 +3565,23 @@ class ClientResponseDTO {
2974
3565
  historyPrefix;
2975
3566
  }
2976
3567
 
3568
+ /**
3569
+ * BillCapture.API
3570
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
3571
+ *
3572
+ * OpenAPI spec version: 1.0
3573
+ *
3574
+ *
3575
+ * NOTE: This class is auto generated by the swagger code generator program.
3576
+ * https://github.com/swagger-api/swagger-codegen.git
3577
+ * Do not edit the class manually.
3578
+ */
3579
+ class CreateBillRetrievalRequestDTO {
3580
+ webCapturePartnerId;
3581
+ clientIds;
3582
+ credentialIds;
3583
+ }
3584
+
2977
3585
  /**
2978
3586
  * BillCapture.API
2979
3587
  * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
@@ -3697,6 +4305,100 @@ class UtilityManagementSystemUserChildDTO {
3697
4305
  utilityManagementSystemUserFullName;
3698
4306
  }
3699
4307
 
4308
+ /**
4309
+ * BillCapture.API
4310
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4311
+ *
4312
+ * OpenAPI spec version: 1.0
4313
+ *
4314
+ *
4315
+ * NOTE: This class is auto generated by the swagger code generator program.
4316
+ * https://github.com/swagger-api/swagger-codegen.git
4317
+ * Do not edit the class manually.
4318
+ */
4319
+ /**
4320
+ * Request body for POST /api/v202606/webCaptureVendor/{webCaptureVendorID}/connect.
4321
+ */
4322
+ class WebCaptureConnectRequestDTO {
4323
+ /**
4324
+ * The BillCapture client (clients.clientID) the new credential will belong to. Must belong to the caller.
4325
+ */
4326
+ billCaptureClientId;
4327
+ }
4328
+
4329
+ /**
4330
+ * BillCapture.API
4331
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4332
+ *
4333
+ * OpenAPI spec version: 1.0
4334
+ *
4335
+ *
4336
+ * NOTE: This class is auto generated by the swagger code generator program.
4337
+ * https://github.com/swagger-api/swagger-codegen.git
4338
+ * Do not edit the class manually.
4339
+ */
4340
+ /**
4341
+ * Response for the connect (and, later, reconnect) endpoints: the auth-iframe URL to create a credential.
4342
+ */
4343
+ class WebCaptureConnectResponseDTO {
4344
+ /**
4345
+ * EUM WebCapturePartner ID (1 = Arcadia, 3 = Deck).
4346
+ */
4347
+ webCapturePartnerID;
4348
+ webCaptureVendorID;
4349
+ /**
4350
+ * The iframe URL the frontend should load to capture credentials.
4351
+ */
4352
+ connectUrl;
4353
+ /**
4354
+ * When the connect URL / underlying session token expires.
4355
+ */
4356
+ expiresAt;
4357
+ }
4358
+
4359
+ /**
4360
+ * BillCapture.API
4361
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4362
+ *
4363
+ * OpenAPI spec version: 1.0
4364
+ *
4365
+ *
4366
+ * NOTE: This class is auto generated by the swagger code generator program.
4367
+ * https://github.com/swagger-api/swagger-codegen.git
4368
+ * Do not edit the class manually.
4369
+ */
4370
+ /**
4371
+ * Request body for POST /api/v202606/webCaptureVendor/reconnect.
4372
+ */
4373
+ class WebCaptureReconnectRequestDTO {
4374
+ /**
4375
+ * The partner credential id to edit (e.g. Deck \"crd_...\").
4376
+ */
4377
+ credentialId;
4378
+ /**
4379
+ * Which partner the credential belongs to (EUM scheme: 1 = Arcadia, 3 = Deck).
4380
+ */
4381
+ webCapturePartnerID;
4382
+ }
4383
+
4384
+ /**
4385
+ * BillCapture.API
4386
+ * No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
4387
+ *
4388
+ * OpenAPI spec version: 1.0
4389
+ *
4390
+ *
4391
+ * NOTE: This class is auto generated by the swagger code generator program.
4392
+ * https://github.com/swagger-api/swagger-codegen.git
4393
+ * Do not edit the class manually.
4394
+ */
4395
+ class WebCaptureVendorResponseDTO {
4396
+ webCaptureVendorID;
4397
+ vendorName;
4398
+ vendorLogoUrl;
4399
+ webCapturePartnerID;
4400
+ }
4401
+
3700
4402
  class EnergyCapSdkModule {
3701
4403
  static forConfig(configurationFactory) {
3702
4404
  return {
@@ -3706,7 +4408,7 @@ class EnergyCapSdkModule {
3706
4408
  }
3707
4409
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3708
4410
  static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, imports: [CommonModule] });
3709
- 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] });
4411
+ static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, BillRetrievalService, BillRetrievalWebhookService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService, WebCaptureVendorService], imports: [CommonModule] });
3710
4412
  }
3711
4413
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImport: i0, type: EnergyCapSdkModule, decorators: [{
3712
4414
  type: NgModule,
@@ -3714,7 +4416,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
3714
4416
  imports: [CommonModule],
3715
4417
  declarations: [],
3716
4418
  exports: [],
3717
- providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService]
4419
+ providers: [provideHttpClient(withInterceptorsFromDi()), AccountService, BillRetrievalService, BillRetrievalWebhookService, ClientService, ClientFileChildrenService, ExportService, ImportTaskService, InternalService, PartnerService, ProblemFileService, ProblemTypeService, TransactionService, UploadService, VersionService, WebCaptureVendorService]
3718
4420
  }]
3719
4421
  }] });
3720
4422
 
@@ -3722,5 +4424,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.1.5", ngImpor
3722
4424
  * Generated bundle index. Do not edit.
3723
4425
  */
3724
4426
 
3725
- export { APIFilter, APIS, AccountService, BASE_PATH, COLLECTION_FORMATS, ClientChildDTO, ClientEditDTO, ClientFileChildrenService, ClientResponseDTO, ClientService, Configuration, DuplicateInfoChildDTO, EnergyCapSdkModule, ExportService, FileDetailDTO, ImportTaskDetailDTO, 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 };
4427
+ export { APIFilter, APIS, AccountService, BASE_PATH, BillRetrievalResponseDTO, BillRetrievalService, BillRetrievalWebhookService, COLLECTION_FORMATS, ClientChildDTO, ClientEditDTO, ClientFileChildrenService, ClientResponseDTO, ClientService, Configuration, CreateBillRetrievalRequestDTO, DuplicateInfoChildDTO, EnergyCapSdkModule, ExportService, FileDetailDTO, ImportTaskDetailDTO, 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, WebCaptureConnectRequestDTO, WebCaptureConnectResponseDTO, WebCaptureReconnectRequestDTO, WebCaptureVendorResponseDTO, WebCaptureVendorService };
3726
4428
  //# sourceMappingURL=energycap-energycap-billcapture-sdk-angular.mjs.map