@revxui/intellibid-client-ts 1.0.66 → 1.0.68

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 (36) hide show
  1. package/README.md +2 -2
  2. package/api/advertiserController.service.d.ts +24 -11
  3. package/api/campaignController.service.d.ts +17 -0
  4. package/esm2020/api/advertiserController.service.mjs +51 -23
  5. package/esm2020/api/campaignController.service.mjs +30 -1
  6. package/esm2020/model/campaignRequest.mjs +1 -1
  7. package/esm2020/model/childAudience.mjs +1 -1
  8. package/esm2020/model/createBucketizedCustomAudienceRequest.mjs +1 -1
  9. package/esm2020/model/createDsCustomQueryAudienceRequest.mjs +1 -1
  10. package/esm2020/model/goalEventOptionDTO.mjs +13 -0
  11. package/esm2020/model/goalRequest.mjs +13 -0
  12. package/esm2020/model/goalResponse.mjs +1 -1
  13. package/esm2020/model/models.mjs +4 -1
  14. package/esm2020/model/pageAdvertiserResponse.mjs +1 -1
  15. package/esm2020/model/pageCampaignChangeLogResponse.mjs +1 -1
  16. package/esm2020/model/pageCampaignResponse.mjs +1 -1
  17. package/esm2020/model/pageableObject.mjs +1 -1
  18. package/esm2020/model/supportedGoalEventsResponseDTO.mjs +2 -0
  19. package/fesm2015/revxui-intellibid-client-ts.mjs +79 -22
  20. package/fesm2015/revxui-intellibid-client-ts.mjs.map +1 -1
  21. package/fesm2020/revxui-intellibid-client-ts.mjs +103 -22
  22. package/fesm2020/revxui-intellibid-client-ts.mjs.map +1 -1
  23. package/model/campaignRequest.d.ts +1 -0
  24. package/model/childAudience.d.ts +1 -1
  25. package/model/createBucketizedCustomAudienceRequest.d.ts +1 -1
  26. package/model/createDsCustomQueryAudienceRequest.d.ts +1 -0
  27. package/model/goalEventOptionDTO.d.ts +15 -0
  28. package/model/goalRequest.d.ts +17 -0
  29. package/model/goalResponse.d.ts +0 -3
  30. package/model/models.d.ts +3 -0
  31. package/model/pageAdvertiserResponse.d.ts +1 -1
  32. package/model/pageCampaignChangeLogResponse.d.ts +1 -1
  33. package/model/pageCampaignResponse.d.ts +1 -1
  34. package/model/pageableObject.d.ts +2 -2
  35. package/model/supportedGoalEventsResponseDTO.d.ts +19 -0
  36. package/package.json +1 -1
@@ -124,6 +124,38 @@ class AdvertiserControllerService {
124
124
  }
125
125
  return false;
126
126
  }
127
+ addProductSet(body, id, observe = 'body', reportProgress = false) {
128
+ if (body === null || body === undefined) {
129
+ throw new Error('Required parameter body was null or undefined when calling addProductSet.');
130
+ }
131
+ if (id === null || id === undefined) {
132
+ throw new Error('Required parameter id was null or undefined when calling addProductSet.');
133
+ }
134
+ let headers = this.defaultHeaders;
135
+ // to determine the Accept header
136
+ let httpHeaderAccepts = [
137
+ '*/*'
138
+ ];
139
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
140
+ if (httpHeaderAcceptSelected != undefined) {
141
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
142
+ }
143
+ // to determine the Content-Type header
144
+ const consumes = [
145
+ 'application/json'
146
+ ];
147
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
148
+ if (httpContentTypeSelected != undefined) {
149
+ headers = headers.set('Content-Type', httpContentTypeSelected);
150
+ }
151
+ return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
152
+ body: body,
153
+ withCredentials: this.configuration.withCredentials,
154
+ headers: headers,
155
+ observe: observe,
156
+ reportProgress: reportProgress
157
+ });
158
+ }
127
159
  getAdAccounts(id, observe = 'body', reportProgress = false) {
128
160
  if (id === null || id === undefined) {
129
161
  throw new Error('Required parameter id was null or undefined when calling getAdAccounts.');
@@ -305,13 +337,15 @@ class AdvertiserControllerService {
305
337
  reportProgress: reportProgress
306
338
  });
307
339
  }
308
- searchAdvertisers(q, observe = 'body', reportProgress = false) {
309
- if (q === null || q === undefined) {
310
- throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
340
+ getSupportedGoalEvents(advertiserId, platform, adAccountId, observe = 'body', reportProgress = false) {
341
+ if (advertiserId === null || advertiserId === undefined) {
342
+ throw new Error('Required parameter advertiserId was null or undefined when calling getSupportedGoalEvents.');
311
343
  }
312
- let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
313
- if (q !== undefined && q !== null) {
314
- queryParameters = queryParameters.set('q', q);
344
+ if (platform === null || platform === undefined) {
345
+ throw new Error('Required parameter platform was null or undefined when calling getSupportedGoalEvents.');
346
+ }
347
+ if (adAccountId === null || adAccountId === undefined) {
348
+ throw new Error('Required parameter adAccountId was null or undefined when calling getSupportedGoalEvents.');
315
349
  }
316
350
  let headers = this.defaultHeaders;
317
351
  // to determine the Accept header
@@ -324,20 +358,20 @@ class AdvertiserControllerService {
324
358
  }
325
359
  // to determine the Content-Type header
326
360
  const consumes = [];
327
- return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
328
- params: queryParameters,
361
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/advertisers/${encodeURIComponent(String(advertiserId))}/platforms/${encodeURIComponent(String(platform))}/ad-accounts/${encodeURIComponent(String(adAccountId))}/goal-events`, {
329
362
  withCredentials: this.configuration.withCredentials,
330
363
  headers: headers,
331
364
  observe: observe,
332
365
  reportProgress: reportProgress
333
366
  });
334
367
  }
335
- upsertProductSet(body, id, observe = 'body', reportProgress = false) {
336
- if (body === null || body === undefined) {
337
- throw new Error('Required parameter body was null or undefined when calling upsertProductSet.');
368
+ searchAdvertisers(q, observe = 'body', reportProgress = false) {
369
+ if (q === null || q === undefined) {
370
+ throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
338
371
  }
339
- if (id === null || id === undefined) {
340
- throw new Error('Required parameter id was null or undefined when calling upsertProductSet.');
372
+ let queryParameters = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
373
+ if (q !== undefined && q !== null) {
374
+ queryParameters = queryParameters.set('q', q);
341
375
  }
342
376
  let headers = this.defaultHeaders;
343
377
  // to determine the Accept header
@@ -349,15 +383,9 @@ class AdvertiserControllerService {
349
383
  headers = headers.set('Accept', httpHeaderAcceptSelected);
350
384
  }
351
385
  // to determine the Content-Type header
352
- const consumes = [
353
- 'application/json'
354
- ];
355
- const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
356
- if (httpContentTypeSelected != undefined) {
357
- headers = headers.set('Content-Type', httpContentTypeSelected);
358
- }
359
- return this.httpClient.request('post', `${this.basePath}/api/advertiser/${encodeURIComponent(String(id))}/product-sets`, {
360
- body: body,
386
+ const consumes = [];
387
+ return this.httpClient.request('get', `${this.basePath}/api/advertiser/search`, {
388
+ params: queryParameters,
361
389
  withCredentials: this.configuration.withCredentials,
362
390
  headers: headers,
363
391
  observe: observe,
@@ -877,6 +905,35 @@ class CampaignControllerService {
877
905
  reportProgress: reportProgress
878
906
  });
879
907
  }
908
+ goalforAdAccount(body, observe = 'body', reportProgress = false) {
909
+ if (body === null || body === undefined) {
910
+ throw new Error('Required parameter body was null or undefined when calling goalforAdAccount.');
911
+ }
912
+ let headers = this.defaultHeaders;
913
+ // to determine the Accept header
914
+ let httpHeaderAccepts = [
915
+ '*/*'
916
+ ];
917
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
918
+ if (httpHeaderAcceptSelected != undefined) {
919
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
920
+ }
921
+ // to determine the Content-Type header
922
+ const consumes = [
923
+ 'application/json'
924
+ ];
925
+ const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
926
+ if (httpContentTypeSelected != undefined) {
927
+ headers = headers.set('Content-Type', httpContentTypeSelected);
928
+ }
929
+ return this.httpClient.request('post', `${this.basePath}/api/campaign/goal-events`, {
930
+ body: body,
931
+ withCredentials: this.configuration.withCredentials,
932
+ headers: headers,
933
+ observe: observe,
934
+ reportProgress: reportProgress
935
+ });
936
+ }
880
937
  scheduleUpdate(body, id, observe = 'body', reportProgress = false) {
881
938
  if (body === null || body === undefined) {
882
939
  throw new Error('Required parameter body was null or undefined when calling scheduleUpdate.');
@@ -1639,6 +1696,30 @@ var CreateDsCustomQueryAudienceRequest;
1639
1696
  * Do not edit the class manually.
1640
1697
  */
1641
1698
 
1699
+ /**
1700
+ * Intellibid API
1701
+ * API documentation for the Intellibid platform
1702
+ *
1703
+ * OpenAPI spec version: 1.0
1704
+ *
1705
+ *
1706
+ * NOTE: This class is auto generated by the swagger code generator program.
1707
+ * https://github.com/swagger-api/swagger-codegen.git
1708
+ * Do not edit the class manually.
1709
+ */
1710
+
1711
+ /**
1712
+ * Intellibid API
1713
+ * API documentation for the Intellibid platform
1714
+ *
1715
+ * OpenAPI spec version: 1.0
1716
+ *
1717
+ *
1718
+ * NOTE: This class is auto generated by the swagger code generator program.
1719
+ * https://github.com/swagger-api/swagger-codegen.git
1720
+ * Do not edit the class manually.
1721
+ */
1722
+
1642
1723
  /**
1643
1724
  * Intellibid API
1644
1725
  * API documentation for the Intellibid platform