@revxui/intellibid-client-ts 1.0.7 → 1.0.9

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.
Files changed (32) hide show
  1. package/README.md +2 -2
  2. package/api/dpaEngagementController.service.d.ts +14 -0
  3. package/esm2020/api/businessGeoController.service.mjs +3 -3
  4. package/esm2020/api/campaignController.service.mjs +6 -6
  5. package/esm2020/api/countryController.service.mjs +3 -3
  6. package/esm2020/api/dpaCampaignController.service.mjs +5 -5
  7. package/esm2020/api/dpaEngagementController.service.mjs +46 -11
  8. package/esm2020/api/facebookEngagementController.service.mjs +5 -5
  9. package/esm2020/api/packageDetailController.service.mjs +4 -4
  10. package/esm2020/model/dpaEngagementChangeLogResponse.mjs +24 -0
  11. package/esm2020/model/dpaEngagementResponse.mjs +1 -1
  12. package/esm2020/model/models.mjs +3 -1
  13. package/esm2020/model/pageCampaignResponse.mjs +1 -1
  14. package/esm2020/model/pageDpaEngagementChangeLogResponse.mjs +2 -0
  15. package/esm2020/model/pageDpaEngagementResponse.mjs +1 -1
  16. package/esm2020/model/pageFacebookEngagementResponse.mjs +1 -1
  17. package/esm2020/model/pagePackageDetailResponse.mjs +1 -1
  18. package/esm2020/model/pageableObject.mjs +1 -1
  19. package/fesm2015/revxui-intellibid-client-ts.mjs +90 -31
  20. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
  21. package/fesm2020/revxui-intellibid-client-ts.mjs +90 -31
  22. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
  23. package/model/dpaEngagementChangeLogResponse.d.ts +36 -0
  24. package/model/dpaEngagementResponse.d.ts +1 -0
  25. package/model/models.d.ts +2 -0
  26. package/model/pageCampaignResponse.d.ts +1 -1
  27. package/model/pageDpaEngagementChangeLogResponse.d.ts +27 -0
  28. package/model/pageDpaEngagementResponse.d.ts +1 -1
  29. package/model/pageFacebookEngagementResponse.d.ts +1 -1
  30. package/model/pagePackageDetailResponse.d.ts +1 -1
  31. package/model/pageableObject.d.ts +2 -2
  32. package/package.json +1 -1
@@ -84,7 +84,7 @@ class Configuration {
84
84
  class BusinessGeoControllerService {
85
85
  constructor(httpClient, basePath, configuration) {
86
86
  this.httpClient = httpClient;
87
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
87
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
88
88
  this.defaultHeaders = new HttpHeaders();
89
89
  this.configuration = new Configuration();
90
90
  if (basePath) {
@@ -120,7 +120,7 @@ class BusinessGeoControllerService {
120
120
  }
121
121
  // to determine the Content-Type header
122
122
  const consumes = [];
123
- return this.httpClient.request('get', `${this.basePath}/business-geo`, {
123
+ return this.httpClient.request('get', `${this.basePath}/api/business-geo`, {
124
124
  withCredentials: this.configuration.withCredentials,
125
125
  headers: headers,
126
126
  observe: observe,
@@ -171,7 +171,7 @@ class CustomHttpUrlEncodingCodec extends HttpUrlEncodingCodec {
171
171
  class CampaignControllerService {
172
172
  constructor(httpClient, basePath, configuration) {
173
173
  this.httpClient = httpClient;
174
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
174
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
175
175
  this.defaultHeaders = new HttpHeaders();
176
176
  this.configuration = new Configuration();
177
177
  if (basePath) {
@@ -216,7 +216,7 @@ class CampaignControllerService {
216
216
  if (httpContentTypeSelected != undefined) {
217
217
  headers = headers.set('Content-Type', httpContentTypeSelected);
218
218
  }
219
- return this.httpClient.request('post', `${this.basePath}/campaign`, {
219
+ return this.httpClient.request('post', `${this.basePath}/api/campaign`, {
220
220
  body: body,
221
221
  withCredentials: this.configuration.withCredentials,
222
222
  headers: headers,
@@ -257,7 +257,7 @@ class CampaignControllerService {
257
257
  }
258
258
  // to determine the Content-Type header
259
259
  const consumes = [];
260
- return this.httpClient.request('get', `${this.basePath}/campaign`, {
260
+ return this.httpClient.request('get', `${this.basePath}/api/campaign`, {
261
261
  params: queryParameters,
262
262
  withCredentials: this.configuration.withCredentials,
263
263
  headers: headers,
@@ -280,7 +280,7 @@ class CampaignControllerService {
280
280
  }
281
281
  // to determine the Content-Type header
282
282
  const consumes = [];
283
- return this.httpClient.request('get', `${this.basePath}/campaign/${encodeURIComponent(String(id))}`, {
283
+ return this.httpClient.request('get', `${this.basePath}/api/campaign/${encodeURIComponent(String(id))}`, {
284
284
  withCredentials: this.configuration.withCredentials,
285
285
  headers: headers,
286
286
  observe: observe,
@@ -306,7 +306,7 @@ class CampaignControllerService {
306
306
  }
307
307
  // to determine the Content-Type header
308
308
  const consumes = [];
309
- return this.httpClient.request('get', `${this.basePath}/campaign/search`, {
309
+ return this.httpClient.request('get', `${this.basePath}/api/campaign/search`, {
310
310
  params: queryParameters,
311
311
  withCredentials: this.configuration.withCredentials,
312
312
  headers: headers,
@@ -342,7 +342,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
342
342
  class CountryControllerService {
343
343
  constructor(httpClient, basePath, configuration) {
344
344
  this.httpClient = httpClient;
345
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
345
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
346
346
  this.defaultHeaders = new HttpHeaders();
347
347
  this.configuration = new Configuration();
348
348
  if (basePath) {
@@ -378,7 +378,7 @@ class CountryControllerService {
378
378
  }
379
379
  // to determine the Content-Type header
380
380
  const consumes = [];
381
- return this.httpClient.request('get', `${this.basePath}/country`, {
381
+ return this.httpClient.request('get', `${this.basePath}/api/country`, {
382
382
  withCredentials: this.configuration.withCredentials,
383
383
  headers: headers,
384
384
  observe: observe,
@@ -413,7 +413,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
413
413
  class DpaCampaignControllerService {
414
414
  constructor(httpClient, basePath, configuration) {
415
415
  this.httpClient = httpClient;
416
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
416
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
417
417
  this.defaultHeaders = new HttpHeaders();
418
418
  this.configuration = new Configuration();
419
419
  if (basePath) {
@@ -461,7 +461,7 @@ class DpaCampaignControllerService {
461
461
  if (httpContentTypeSelected != undefined) {
462
462
  headers = headers.set('Content-Type', httpContentTypeSelected);
463
463
  }
464
- return this.httpClient.request('post', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
464
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
465
465
  body: body,
466
466
  withCredentials: this.configuration.withCredentials,
467
467
  headers: headers,
@@ -484,7 +484,7 @@ class DpaCampaignControllerService {
484
484
  }
485
485
  // to determine the Content-Type header
486
486
  const consumes = [];
487
- return this.httpClient.request('get', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
487
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
488
488
  withCredentials: this.configuration.withCredentials,
489
489
  headers: headers,
490
490
  observe: observe,
@@ -515,7 +515,7 @@ class DpaCampaignControllerService {
515
515
  if (httpContentTypeSelected != undefined) {
516
516
  headers = headers.set('Content-Type', httpContentTypeSelected);
517
517
  }
518
- return this.httpClient.request('put', `${this.basePath}/dpa-campaign/${encodeURIComponent(String(id))}`, {
518
+ return this.httpClient.request('put', `${this.basePath}/api/dpa-campaign/${encodeURIComponent(String(id))}`, {
519
519
  body: body,
520
520
  withCredentials: this.configuration.withCredentials,
521
521
  headers: headers,
@@ -551,7 +551,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
551
551
  class DpaEngagementControllerService {
552
552
  constructor(httpClient, basePath, configuration) {
553
553
  this.httpClient = httpClient;
554
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
554
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
555
555
  this.defaultHeaders = new HttpHeaders();
556
556
  this.configuration = new Configuration();
557
557
  if (basePath) {
@@ -590,7 +590,7 @@ class DpaEngagementControllerService {
590
590
  }
591
591
  // to determine the Content-Type header
592
592
  const consumes = [];
593
- return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
593
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/activate`, {
594
594
  withCredentials: this.configuration.withCredentials,
595
595
  headers: headers,
596
596
  observe: observe,
@@ -618,7 +618,7 @@ class DpaEngagementControllerService {
618
618
  if (httpContentTypeSelected != undefined) {
619
619
  headers = headers.set('Content-Type', httpContentTypeSelected);
620
620
  }
621
- return this.httpClient.request('post', `${this.basePath}/dpa-engagement`, {
621
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement`, {
622
622
  body: body,
623
623
  withCredentials: this.configuration.withCredentials,
624
624
  headers: headers,
@@ -677,7 +677,7 @@ class DpaEngagementControllerService {
677
677
  }
678
678
  // to determine the Content-Type header
679
679
  const consumes = [];
680
- return this.httpClient.request('get', `${this.basePath}/dpa-engagement`, {
680
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement`, {
681
681
  params: queryParameters,
682
682
  withCredentials: this.configuration.withCredentials,
683
683
  headers: headers,
@@ -700,7 +700,42 @@ class DpaEngagementControllerService {
700
700
  }
701
701
  // to determine the Content-Type header
702
702
  const consumes = [];
703
- return this.httpClient.request('get', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
703
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}`, {
704
+ withCredentials: this.configuration.withCredentials,
705
+ headers: headers,
706
+ observe: observe,
707
+ reportProgress: reportProgress
708
+ });
709
+ }
710
+ getDpaEngagementLogs(id, page, size, sort, observe = 'body', reportProgress = false) {
711
+ if (id === null || id === undefined) {
712
+ throw new Error('Required parameter id was null or undefined when calling getDpaEngagementLogs.');
713
+ }
714
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
715
+ if (page !== undefined && page !== null) {
716
+ queryParameters = queryParameters.set('page', page);
717
+ }
718
+ if (size !== undefined && size !== null) {
719
+ queryParameters = queryParameters.set('size', size);
720
+ }
721
+ if (sort) {
722
+ sort.forEach((element) => {
723
+ queryParameters = queryParameters.append('sort', element);
724
+ });
725
+ }
726
+ let headers = this.defaultHeaders;
727
+ // to determine the Accept header
728
+ let httpHeaderAccepts = [
729
+ '*/*'
730
+ ];
731
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
732
+ if (httpHeaderAcceptSelected != undefined) {
733
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
734
+ }
735
+ // to determine the Content-Type header
736
+ const consumes = [];
737
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/log`, {
738
+ params: queryParameters,
704
739
  withCredentials: this.configuration.withCredentials,
705
740
  headers: headers,
706
741
  observe: observe,
@@ -722,7 +757,7 @@ class DpaEngagementControllerService {
722
757
  }
723
758
  // to determine the Content-Type header
724
759
  const consumes = [];
725
- return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
760
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/pause`, {
726
761
  withCredentials: this.configuration.withCredentials,
727
762
  headers: headers,
728
763
  observe: observe,
@@ -744,7 +779,7 @@ class DpaEngagementControllerService {
744
779
  }
745
780
  // to determine the Content-Type header
746
781
  const consumes = [];
747
- return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
782
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/publish`, {
748
783
  withCredentials: this.configuration.withCredentials,
749
784
  headers: headers,
750
785
  observe: observe,
@@ -770,7 +805,7 @@ class DpaEngagementControllerService {
770
805
  }
771
806
  // to determine the Content-Type header
772
807
  const consumes = [];
773
- return this.httpClient.request('get', `${this.basePath}/dpa-engagement/search`, {
808
+ return this.httpClient.request('get', `${this.basePath}/api/dpa-engagement/search`, {
774
809
  params: queryParameters,
775
810
  withCredentials: this.configuration.withCredentials,
776
811
  headers: headers,
@@ -802,7 +837,7 @@ class DpaEngagementControllerService {
802
837
  if (httpContentTypeSelected != undefined) {
803
838
  headers = headers.set('Content-Type', httpContentTypeSelected);
804
839
  }
805
- return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
840
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}/daily-budget`, {
806
841
  body: body,
807
842
  withCredentials: this.configuration.withCredentials,
808
843
  headers: headers,
@@ -834,7 +869,7 @@ class DpaEngagementControllerService {
834
869
  if (httpContentTypeSelected != undefined) {
835
870
  headers = headers.set('Content-Type', httpContentTypeSelected);
836
871
  }
837
- return this.httpClient.request('post', `${this.basePath}/dpa-engagement/${encodeURIComponent(String(id))}`, {
872
+ return this.httpClient.request('post', `${this.basePath}/api/dpa-engagement/${encodeURIComponent(String(id))}`, {
838
873
  body: body,
839
874
  withCredentials: this.configuration.withCredentials,
840
875
  headers: headers,
@@ -870,7 +905,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
870
905
  class FacebookEngagementControllerService {
871
906
  constructor(httpClient, basePath, configuration) {
872
907
  this.httpClient = httpClient;
873
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
908
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
874
909
  this.defaultHeaders = new HttpHeaders();
875
910
  this.configuration = new Configuration();
876
911
  if (basePath) {
@@ -918,7 +953,7 @@ class FacebookEngagementControllerService {
918
953
  if (httpContentTypeSelected != undefined) {
919
954
  headers = headers.set('Content-Type', httpContentTypeSelected);
920
955
  }
921
- return this.httpClient.request('post', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
956
+ return this.httpClient.request('post', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
922
957
  body: body,
923
958
  withCredentials: this.configuration.withCredentials,
924
959
  headers: headers,
@@ -989,7 +1024,7 @@ class FacebookEngagementControllerService {
989
1024
  }
990
1025
  // to determine the Content-Type header
991
1026
  const consumes = [];
992
- return this.httpClient.request('get', `${this.basePath}/facebook-engagement`, {
1027
+ return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement`, {
993
1028
  params: queryParameters,
994
1029
  withCredentials: this.configuration.withCredentials,
995
1030
  headers: headers,
@@ -1012,7 +1047,7 @@ class FacebookEngagementControllerService {
1012
1047
  }
1013
1048
  // to determine the Content-Type header
1014
1049
  const consumes = [];
1015
- return this.httpClient.request('get', `${this.basePath}/facebook-engagement/${encodeURIComponent(String(id))}`, {
1050
+ return this.httpClient.request('get', `${this.basePath}/api/facebook-engagement/${encodeURIComponent(String(id))}`, {
1016
1051
  withCredentials: this.configuration.withCredentials,
1017
1052
  headers: headers,
1018
1053
  observe: observe,
@@ -1047,7 +1082,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1047
1082
  class PackageDetailControllerService {
1048
1083
  constructor(httpClient, basePath, configuration) {
1049
1084
  this.httpClient = httpClient;
1050
- this.basePath = 'http://intellibid-api.atomex.net:8081/api';
1085
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
1051
1086
  this.defaultHeaders = new HttpHeaders();
1052
1087
  this.configuration = new Configuration();
1053
1088
  if (basePath) {
@@ -1104,7 +1139,7 @@ class PackageDetailControllerService {
1104
1139
  }
1105
1140
  // to determine the Content-Type header
1106
1141
  const consumes = [];
1107
- return this.httpClient.request('get', `${this.basePath}/package`, {
1142
+ return this.httpClient.request('get', `${this.basePath}/api/package`, {
1108
1143
  params: queryParameters,
1109
1144
  withCredentials: this.configuration.withCredentials,
1110
1145
  headers: headers,
@@ -1127,7 +1162,7 @@ class PackageDetailControllerService {
1127
1162
  }
1128
1163
  // to determine the Content-Type header
1129
1164
  const consumes = [];
1130
- return this.httpClient.request('get', `${this.basePath}/package/${encodeURIComponent(String(id))}`, {
1165
+ return this.httpClient.request('get', `${this.basePath}/api/package/${encodeURIComponent(String(id))}`, {
1131
1166
  withCredentials: this.configuration.withCredentials,
1132
1167
  headers: headers,
1133
1168
  observe: observe,
@@ -1274,6 +1309,30 @@ var DpaCampaignResponse;
1274
1309
  };
1275
1310
  })(DpaCampaignResponse || (DpaCampaignResponse = {}));
1276
1311
 
1312
+ /**
1313
+ *
1314
+ *
1315
+ *
1316
+ *
1317
+ *
1318
+ *
1319
+ * NOTE: This class is auto generated by the swagger code generator program.
1320
+ * https://github.com/swagger-api/swagger-codegen.git
1321
+ * Do not edit the class manually.
1322
+ */
1323
+ var DpaEngagementChangeLogResponse;
1324
+ (function (DpaEngagementChangeLogResponse) {
1325
+ DpaEngagementChangeLogResponse.EntityChangedEnum = {
1326
+ STATUS: 'STATUS',
1327
+ BUDGET: 'BUDGET',
1328
+ ENGAGEMENT: 'ENGAGEMENT'
1329
+ };
1330
+ DpaEngagementChangeLogResponse.StatusEnum = {
1331
+ SUCCESS: 'SUCCESS',
1332
+ FAILED: 'FAILED'
1333
+ };
1334
+ })(DpaEngagementChangeLogResponse || (DpaEngagementChangeLogResponse = {}));
1335
+
1277
1336
  var DpaEngagementResponse;
1278
1337
  (function (DpaEngagementResponse) {
1279
1338
  DpaEngagementResponse.RunByEnum = {
@@ -1468,5 +1527,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1468
1527
  * Generated bundle index. Do not edit.
1469
1528
  */
1470
1529
 
1471
- export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, PackageDetailControllerService };
1530
+ export { APIS, AdSetDetails, ApiModule, BASE_PATH, BusinessGeoControllerService, COLLECTION_FORMATS, CampaignControllerService, CampaignResponse, Configuration, CountryControllerService, DpaCampaignControllerService, DpaCampaignResponse, DpaEngagementChangeLogResponse, DpaEngagementControllerService, DpaEngagementResponse, FacebookEngagementControllerService, FacebookEngagementResponse, PackageDetailControllerService };
1472
1531
  //# sourceMappingURL=revxui-intellibid-client-ts.mjs.map