@revxui/intellibid-client-ts 1.0.67 → 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.
@@ -337,6 +337,34 @@ class AdvertiserControllerService {
337
337
  reportProgress: reportProgress
338
338
  });
339
339
  }
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.');
343
+ }
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.');
349
+ }
350
+ let headers = this.defaultHeaders;
351
+ // to determine the Accept header
352
+ let httpHeaderAccepts = [
353
+ '*/*'
354
+ ];
355
+ const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
356
+ if (httpHeaderAcceptSelected != undefined) {
357
+ headers = headers.set('Accept', httpHeaderAcceptSelected);
358
+ }
359
+ // to determine the Content-Type header
360
+ const consumes = [];
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`, {
362
+ withCredentials: this.configuration.withCredentials,
363
+ headers: headers,
364
+ observe: observe,
365
+ reportProgress: reportProgress
366
+ });
367
+ }
340
368
  searchAdvertisers(q, observe = 'body', reportProgress = false) {
341
369
  if (q === null || q === undefined) {
342
370
  throw new Error('Required parameter q was null or undefined when calling searchAdvertisers.');
@@ -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