@revxui/intellibid-client-ts 1.0.55 → 1.0.57

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 (41) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +5 -1
  3. package/api/audienceController.service.d.ts +63 -0
  4. package/api/osMasterController.service.d.ts +28 -0
  5. package/esm2020/api/api.mjs +6 -2
  6. package/esm2020/api/audienceController.service.mjs +174 -0
  7. package/esm2020/api/osMasterController.service.mjs +78 -0
  8. package/esm2020/api.module.mjs +9 -3
  9. package/esm2020/model/audienceListResponse.mjs +2 -0
  10. package/esm2020/model/audienceResponseDTO.mjs +2 -0
  11. package/esm2020/model/campaignRequest.mjs +1 -6
  12. package/esm2020/model/campaignResponse.mjs +1 -6
  13. package/esm2020/model/configItemDTO.mjs +13 -0
  14. package/esm2020/model/createBlockedAudienceRequest.mjs +21 -0
  15. package/esm2020/model/createDynamicAudienceRequest.mjs +21 -0
  16. package/esm2020/model/createStaticAudienceRequest.mjs +21 -0
  17. package/esm2020/model/models.mjs +8 -1
  18. package/esm2020/model/oSResponse.mjs +13 -0
  19. package/esm2020/model/pageAdvertiserResponse.mjs +1 -1
  20. package/esm2020/model/pageCampaignChangeLogResponse.mjs +1 -1
  21. package/esm2020/model/pageCampaignResponse.mjs +1 -1
  22. package/esm2020/model/pageableObject.mjs +1 -1
  23. package/fesm2015/revxui-intellibid-client-ts.mjs +312 -14
  24. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
  25. package/fesm2020/revxui-intellibid-client-ts.mjs +332 -14
  26. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
  27. package/model/audienceListResponse.d.ts +15 -0
  28. package/model/audienceResponseDTO.d.ts +20 -0
  29. package/model/campaignRequest.d.ts +1 -7
  30. package/model/campaignResponse.d.ts +2 -7
  31. package/model/configItemDTO.d.ts +15 -0
  32. package/model/createBlockedAudienceRequest.d.ts +24 -0
  33. package/model/createDynamicAudienceRequest.d.ts +26 -0
  34. package/model/createStaticAudienceRequest.d.ts +24 -0
  35. package/model/models.d.ts +7 -0
  36. package/model/oSResponse.d.ts +15 -0
  37. package/model/pageAdvertiserResponse.d.ts +1 -1
  38. package/model/pageCampaignChangeLogResponse.d.ts +1 -1
  39. package/model/pageCampaignResponse.d.ts +1 -1
  40. package/model/pageableObject.d.ts +2 -2
  41. package/package.json +1 -1
@@ -247,6 +247,172 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
247
247
  type: Optional
248
248
  }] }]; } });
249
249
 
250
+ /**
251
+ * Intellibid API
252
+ * API documentation for the Intellibid platform
253
+ *
254
+ * OpenAPI spec version: 1.0
255
+ *
256
+ *
257
+ * NOTE: This class is auto generated by the swagger code generator program.
258
+ * https://github.com/swagger-api/swagger-codegen.git
259
+ * Do not edit the class manually.
260
+ */ /* tslint:disable:no-unused-variable member-ordering */
261
+ class AudienceControllerService {
262
+ constructor(httpClient, basePath, configuration) {
263
+ this.httpClient = httpClient;
264
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
265
+ this.defaultHeaders = new HttpHeaders();
266
+ this.configuration = new Configuration();
267
+ if (basePath) {
268
+ this.basePath = basePath;
269
+ }
270
+ if (configuration) {
271
+ this.configuration = configuration;
272
+ this.basePath = basePath || configuration.basePath || this.basePath;
273
+ }
274
+ }
275
+ /**
276
+ * @param consumes string[] mime-types
277
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
278
+ */
279
+ canConsumeForm(consumes) {
280
+ const form = 'multipart/form-data';
281
+ for (const consume of consumes) {
282
+ if (form === consume) {
283
+ return true;
284
+ }
285
+ }
286
+ return false;
287
+ }
288
+ createBlockedAudience(body, observe = 'body', reportProgress = false) {
289
+ if (body === null || body === undefined) {
290
+ throw new Error('Required parameter body was null or undefined when calling createBlockedAudience.');
291
+ }
292
+ let headers = this.defaultHeaders;
293
+ // to determine the Accept header
294
+ let httpHeaderAccepts = [];
295
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
296
+ if (httpHeaderAcceptSelected != undefined) {
297
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
298
+ }
299
+ // to determine the Content-Type header
300
+ const consumes = [
301
+ 'application/json'
302
+ ];
303
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
304
+ if (httpContentTypeSelected != undefined) {
305
+ headers = headers.set('Content-Type', httpContentTypeSelected);
306
+ }
307
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/blocked`, {
308
+ body: body,
309
+ withCredentials: this.configuration.withCredentials,
310
+ headers: headers,
311
+ observe: observe,
312
+ reportProgress: reportProgress
313
+ });
314
+ }
315
+ createDynamicAudiences(body, observe = 'body', reportProgress = false) {
316
+ if (body === null || body === undefined) {
317
+ throw new Error('Required parameter body was null or undefined when calling createDynamicAudiences.');
318
+ }
319
+ let headers = this.defaultHeaders;
320
+ // to determine the Accept header
321
+ let httpHeaderAccepts = [];
322
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
323
+ if (httpHeaderAcceptSelected != undefined) {
324
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
325
+ }
326
+ // to determine the Content-Type header
327
+ const consumes = [
328
+ 'application/json'
329
+ ];
330
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
331
+ if (httpContentTypeSelected != undefined) {
332
+ headers = headers.set('Content-Type', httpContentTypeSelected);
333
+ }
334
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/product-set`, {
335
+ body: body,
336
+ withCredentials: this.configuration.withCredentials,
337
+ headers: headers,
338
+ observe: observe,
339
+ reportProgress: reportProgress
340
+ });
341
+ }
342
+ createStaticAudiences(body, observe = 'body', reportProgress = false) {
343
+ if (body === null || body === undefined) {
344
+ throw new Error('Required parameter body was null or undefined when calling createStaticAudiences.');
345
+ }
346
+ let headers = this.defaultHeaders;
347
+ // to determine the Accept header
348
+ let httpHeaderAccepts = [];
349
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
350
+ if (httpHeaderAcceptSelected != undefined) {
351
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
352
+ }
353
+ // to determine the Content-Type header
354
+ const consumes = [
355
+ 'application/json'
356
+ ];
357
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
358
+ if (httpContentTypeSelected != undefined) {
359
+ headers = headers.set('Content-Type', httpContentTypeSelected);
360
+ }
361
+ return this.httpClient.request('post', `${this.basePath}/api/audiences/static`, {
362
+ body: body,
363
+ withCredentials: this.configuration.withCredentials,
364
+ headers: headers,
365
+ observe: observe,
366
+ reportProgress: reportProgress
367
+ });
368
+ }
369
+ getAudiences(advertiserId, sourcePlatform, observe = 'body', reportProgress = false) {
370
+ if (advertiserId === null || advertiserId === undefined) {
371
+ throw new Error('Required parameter advertiserId was null or undefined when calling getAudiences.');
372
+ }
373
+ if (sourcePlatform === null || sourcePlatform === undefined) {
374
+ throw new Error('Required parameter sourcePlatform was null or undefined when calling getAudiences.');
375
+ }
376
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
377
+ if (advertiserId !== undefined && advertiserId !== null) {
378
+ queryParameters = queryParameters.set('advertiserId', advertiserId);
379
+ }
380
+ if (sourcePlatform !== undefined && sourcePlatform !== null) {
381
+ queryParameters = queryParameters.set('sourcePlatform', sourcePlatform);
382
+ }
383
+ let headers = this.defaultHeaders;
384
+ // to determine the Accept header
385
+ let httpHeaderAccepts = [
386
+ '*/*'
387
+ ];
388
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
389
+ if (httpHeaderAcceptSelected != undefined) {
390
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
391
+ }
392
+ // to determine the Content-Type header
393
+ const consumes = [];
394
+ return this.httpClient.request('get', `${this.basePath}/api/audiences`, {
395
+ params: queryParameters,
396
+ withCredentials: this.configuration.withCredentials,
397
+ headers: headers,
398
+ observe: observe,
399
+ reportProgress: reportProgress
400
+ });
401
+ }
402
+ }
403
+ AudienceControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
404
+ AudienceControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService });
405
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AudienceControllerService, decorators: [{
406
+ type: Injectable
407
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
408
+ type: Optional
409
+ }, {
410
+ type: Inject,
411
+ args: [BASE_PATH]
412
+ }] }, { type: Configuration, decorators: [{
413
+ type: Optional
414
+ }] }]; } });
415
+
250
416
  /**
251
417
  * Intellibid API
252
418
  * API documentation for the Intellibid platform
@@ -633,7 +799,78 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
633
799
  type: Optional
634
800
  }] }]; } });
635
801
 
636
- const APIS = [AdvertiserControllerService, CampaignControllerService, InsightsControllerService];
802
+ /**
803
+ * Intellibid API
804
+ * API documentation for the Intellibid platform
805
+ *
806
+ * OpenAPI spec version: 1.0
807
+ *
808
+ *
809
+ * NOTE: This class is auto generated by the swagger code generator program.
810
+ * https://github.com/swagger-api/swagger-codegen.git
811
+ * Do not edit the class manually.
812
+ */ /* tslint:disable:no-unused-variable member-ordering */
813
+ class OsMasterControllerService {
814
+ constructor(httpClient, basePath, configuration) {
815
+ this.httpClient = httpClient;
816
+ this.basePath = 'http://dev1-intellibid-svc.revx.io';
817
+ this.defaultHeaders = new HttpHeaders();
818
+ this.configuration = new Configuration();
819
+ if (basePath) {
820
+ this.basePath = basePath;
821
+ }
822
+ if (configuration) {
823
+ this.configuration = configuration;
824
+ this.basePath = basePath || configuration.basePath || this.basePath;
825
+ }
826
+ }
827
+ /**
828
+ * @param consumes string[] mime-types
829
+ * @return true: consumes contains 'multipart/form-data', false: otherwise
830
+ */
831
+ canConsumeForm(consumes) {
832
+ const form = 'multipart/form-data';
833
+ for (const consume of consumes) {
834
+ if (form === consume) {
835
+ return true;
836
+ }
837
+ }
838
+ return false;
839
+ }
840
+ getAllActiveOS(observe = 'body', reportProgress = false) {
841
+ let headers = this.defaultHeaders;
842
+ // to determine the Accept header
843
+ let httpHeaderAccepts = [
844
+ '*/*'
845
+ ];
846
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
847
+ if (httpHeaderAcceptSelected != undefined) {
848
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
849
+ }
850
+ // to determine the Content-Type header
851
+ const consumes = [];
852
+ return this.httpClient.request('get', `${this.basePath}/api/os`, {
853
+ withCredentials: this.configuration.withCredentials,
854
+ headers: headers,
855
+ observe: observe,
856
+ reportProgress: reportProgress
857
+ });
858
+ }
859
+ }
860
+ OsMasterControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OsMasterControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
861
+ OsMasterControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OsMasterControllerService });
862
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: OsMasterControllerService, decorators: [{
863
+ type: Injectable
864
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: undefined, decorators: [{
865
+ type: Optional
866
+ }, {
867
+ type: Inject,
868
+ args: [BASE_PATH]
869
+ }] }, { type: Configuration, decorators: [{
870
+ type: Optional
871
+ }] }]; } });
872
+
873
+ const APIS = [AdvertiserControllerService, AudienceControllerService, CampaignControllerService, InsightsControllerService, OsMasterControllerService];
637
874
 
638
875
  /**
639
876
  * Intellibid API
@@ -741,11 +978,6 @@ var CampaignRequest;
741
978
  COSTPERRESULT: 'COST_PER_RESULT',
742
979
  ROAS: 'ROAS'
743
980
  };
744
- CampaignRequest.OsEnum = {
745
- ANDROID: 'ANDROID',
746
- IOS: 'IOS',
747
- UNKNOWN: 'UNKNOWN'
748
- };
749
981
  CampaignRequest.MmpAttributionSettingEnum = {
750
982
  CTA: 'CTA',
751
983
  CTAANDVTA: 'CTA_AND_VTA'
@@ -768,17 +1000,99 @@ var CampaignResponse;
768
1000
  COSTPERRESULT: 'COST_PER_RESULT',
769
1001
  ROAS: 'ROAS'
770
1002
  };
771
- CampaignResponse.OsEnum = {
772
- ANDROID: 'ANDROID',
773
- IOS: 'IOS',
774
- UNKNOWN: 'UNKNOWN'
775
- };
776
1003
  CampaignResponse.MmpAttributionSettingEnum = {
777
1004
  CTA: 'CTA',
778
1005
  CTAANDVTA: 'CTA_AND_VTA'
779
1006
  };
780
1007
  })(CampaignResponse || (CampaignResponse = {}));
781
1008
 
1009
+ /**
1010
+ * Intellibid API
1011
+ * API documentation for the Intellibid platform
1012
+ *
1013
+ * OpenAPI spec version: 1.0
1014
+ *
1015
+ *
1016
+ * NOTE: This class is auto generated by the swagger code generator program.
1017
+ * https://github.com/swagger-api/swagger-codegen.git
1018
+ * Do not edit the class manually.
1019
+ */
1020
+
1021
+ /**
1022
+ * Intellibid API
1023
+ * API documentation for the Intellibid platform
1024
+ *
1025
+ * OpenAPI spec version: 1.0
1026
+ *
1027
+ *
1028
+ * NOTE: This class is auto generated by the swagger code generator program.
1029
+ * https://github.com/swagger-api/swagger-codegen.git
1030
+ * Do not edit the class manually.
1031
+ */
1032
+
1033
+ /**
1034
+ * Intellibid API
1035
+ * API documentation for the Intellibid platform
1036
+ *
1037
+ * OpenAPI spec version: 1.0
1038
+ *
1039
+ *
1040
+ * NOTE: This class is auto generated by the swagger code generator program.
1041
+ * https://github.com/swagger-api/swagger-codegen.git
1042
+ * Do not edit the class manually.
1043
+ */
1044
+ var CreateBlockedAudienceRequest;
1045
+ (function (CreateBlockedAudienceRequest) {
1046
+ CreateBlockedAudienceRequest.SourcePlatformEnum = {
1047
+ META: 'META',
1048
+ TIKTOK: 'TIKTOK',
1049
+ GOOGLE: 'GOOGLE',
1050
+ SNAPCHAT: 'SNAPCHAT'
1051
+ };
1052
+ })(CreateBlockedAudienceRequest || (CreateBlockedAudienceRequest = {}));
1053
+
1054
+ /**
1055
+ * Intellibid API
1056
+ * API documentation for the Intellibid platform
1057
+ *
1058
+ * OpenAPI spec version: 1.0
1059
+ *
1060
+ *
1061
+ * NOTE: This class is auto generated by the swagger code generator program.
1062
+ * https://github.com/swagger-api/swagger-codegen.git
1063
+ * Do not edit the class manually.
1064
+ */
1065
+ var CreateDynamicAudienceRequest;
1066
+ (function (CreateDynamicAudienceRequest) {
1067
+ CreateDynamicAudienceRequest.SourcePlatformEnum = {
1068
+ META: 'META',
1069
+ TIKTOK: 'TIKTOK',
1070
+ GOOGLE: 'GOOGLE',
1071
+ SNAPCHAT: 'SNAPCHAT'
1072
+ };
1073
+ })(CreateDynamicAudienceRequest || (CreateDynamicAudienceRequest = {}));
1074
+
1075
+ /**
1076
+ * Intellibid API
1077
+ * API documentation for the Intellibid platform
1078
+ *
1079
+ * OpenAPI spec version: 1.0
1080
+ *
1081
+ *
1082
+ * NOTE: This class is auto generated by the swagger code generator program.
1083
+ * https://github.com/swagger-api/swagger-codegen.git
1084
+ * Do not edit the class manually.
1085
+ */
1086
+ var CreateStaticAudienceRequest;
1087
+ (function (CreateStaticAudienceRequest) {
1088
+ CreateStaticAudienceRequest.SourcePlatformEnum = {
1089
+ META: 'META',
1090
+ TIKTOK: 'TIKTOK',
1091
+ GOOGLE: 'GOOGLE',
1092
+ SNAPCHAT: 'SNAPCHAT'
1093
+ };
1094
+ })(CreateStaticAudienceRequest || (CreateStaticAudienceRequest = {}));
1095
+
782
1096
  /**
783
1097
  * Intellibid API
784
1098
  * API documentation for the Intellibid platform
@@ -855,8 +1169,10 @@ ApiModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2
855
1169
  ApiModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ApiModule });
856
1170
  ApiModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, providers: [
857
1171
  AdvertiserControllerService,
1172
+ AudienceControllerService,
858
1173
  CampaignControllerService,
859
- InsightsControllerService
1174
+ InsightsControllerService,
1175
+ OsMasterControllerService
860
1176
  ] });
861
1177
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ApiModule, decorators: [{
862
1178
  type: NgModule,
@@ -866,8 +1182,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
866
1182
  exports: [],
867
1183
  providers: [
868
1184
  AdvertiserControllerService,
1185
+ AudienceControllerService,
869
1186
  CampaignControllerService,
870
- InsightsControllerService
1187
+ InsightsControllerService,
1188
+ OsMasterControllerService
871
1189
  ]
872
1190
  }]
873
1191
  }], ctorParameters: function () { return [{ type: ApiModule, decorators: [{
@@ -882,5 +1200,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
882
1200
  * Generated bundle index. Do not edit.
883
1201
  */
884
1202
 
885
- export { APIS, AdvertiserControllerService, ApiModule, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, InsightsControllerService, ScheduleUpdateRequest };
1203
+ export { APIS, AdvertiserControllerService, ApiModule, AudienceControllerService, BASE_PATH, COLLECTION_FORMATS, CampaignChangeLogResponse, CampaignControllerService, CampaignInsightRecord, CampaignRequest, CampaignResponse, Configuration, CreateBlockedAudienceRequest, CreateDynamicAudienceRequest, CreateStaticAudienceRequest, InsightsControllerService, OsMasterControllerService, ScheduleUpdateRequest };
886
1204
  //# sourceMappingURL=revxui-intellibid-client-ts.mjs.map