@revxui/api-clients-ts 0.10.310 → 0.10.312

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 (95) hide show
  1. package/README.md +2 -2
  2. package/api/appSettingsController.service.d.ts +0 -39
  3. package/api/audienceController.service.d.ts +33 -4
  4. package/bundles/revxui-api-clients-ts.umd.js +124 -150
  5. package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
  6. package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
  7. package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
  8. package/esm2015/api/adminController.service.js +2 -2
  9. package/esm2015/api/advertiserController.service.js +2 -2
  10. package/esm2015/api/appSettingsController.service.js +2 -91
  11. package/esm2015/api/audienceController.service.js +77 -6
  12. package/esm2015/api/auditController.service.js +2 -2
  13. package/esm2015/api/bulkStrategyController.service.js +2 -2
  14. package/esm2015/api/cSSThemeController_.service.js +2 -2
  15. package/esm2015/api/campaignController.service.js +2 -2
  16. package/esm2015/api/catalogController.service.js +2 -2
  17. package/esm2015/api/clickDestinationController.service.js +2 -2
  18. package/esm2015/api/creativeController.service.js +2 -2
  19. package/esm2015/api/creativeSetsController.service.js +2 -2
  20. package/esm2015/api/creativeTemplateThemesController.service.js +2 -2
  21. package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
  22. package/esm2015/api/creativeTemplatesController.service.js +2 -2
  23. package/esm2015/api/dashboardController.service.js +2 -2
  24. package/esm2015/api/notificationsController.service.js +2 -2
  25. package/esm2015/api/pixelController.service.js +2 -2
  26. package/esm2015/api/reportingController.service.js +2 -2
  27. package/esm2015/api/sliceXController.service.js +2 -2
  28. package/esm2015/api/strategyController.service.js +2 -2
  29. package/esm2015/api/uILoggerController.service.js +2 -2
  30. package/esm2015/api/userPreferenceController.service.js +2 -2
  31. package/esm2015/model/apiResponseObjectListBackfillAudienceQueryTemplateDTO.js +1 -0
  32. package/esm2015/model/audienceBackfillQueryTemplateRequest.js +22 -0
  33. package/esm2015/model/audienceBackfillRequest.js +1 -0
  34. package/esm2015/model/audienceDTO.js +1 -1
  35. package/esm2015/model/backfillAudienceQueryTemplateDTO.js +12 -0
  36. package/esm2015/model/models.js +2 -2
  37. package/esm5/api/adminController.service.js +2 -2
  38. package/esm5/api/advertiserController.service.js +2 -2
  39. package/esm5/api/appSettingsController.service.js +2 -97
  40. package/esm5/api/audienceController.service.js +81 -6
  41. package/esm5/api/auditController.service.js +2 -2
  42. package/esm5/api/bulkStrategyController.service.js +2 -2
  43. package/esm5/api/cSSThemeController_.service.js +2 -2
  44. package/esm5/api/campaignController.service.js +2 -2
  45. package/esm5/api/catalogController.service.js +2 -2
  46. package/esm5/api/clickDestinationController.service.js +2 -2
  47. package/esm5/api/creativeController.service.js +2 -2
  48. package/esm5/api/creativeSetsController.service.js +2 -2
  49. package/esm5/api/creativeTemplateThemesController.service.js +2 -2
  50. package/esm5/api/creativeTemplateVariablesController.service.js +2 -2
  51. package/esm5/api/creativeTemplatesController.service.js +2 -2
  52. package/esm5/api/dashboardController.service.js +2 -2
  53. package/esm5/api/notificationsController.service.js +2 -2
  54. package/esm5/api/pixelController.service.js +2 -2
  55. package/esm5/api/reportingController.service.js +2 -2
  56. package/esm5/api/sliceXController.service.js +2 -2
  57. package/esm5/api/strategyController.service.js +2 -2
  58. package/esm5/api/uILoggerController.service.js +2 -2
  59. package/esm5/api/userPreferenceController.service.js +2 -2
  60. package/esm5/model/apiResponseObjectListBackfillAudienceQueryTemplateDTO.js +1 -0
  61. package/esm5/model/audienceBackfillQueryTemplateRequest.js +22 -0
  62. package/esm5/model/audienceBackfillRequest.js +1 -0
  63. package/esm5/model/audienceDTO.js +1 -1
  64. package/esm5/model/backfillAudienceQueryTemplateDTO.js +12 -0
  65. package/esm5/model/models.js +2 -2
  66. package/fesm2015/revxui-api-clients-ts.js +121 -145
  67. package/fesm2015/revxui-api-clients-ts.js.map +1 -1
  68. package/fesm5/revxui-api-clients-ts.js +125 -151
  69. package/fesm5/revxui-api-clients-ts.js.map +1 -1
  70. package/model/{apiResponseObjectAdvertiserDynamicVideoConfig.d.ts → apiResponseObjectListBackfillAudienceQueryTemplateDTO.d.ts} +3 -3
  71. package/model/audienceBackfillQueryTemplateRequest.d.ts +26 -0
  72. package/model/{nameAndTitleModel.d.ts → audienceBackfillRequest.d.ts} +5 -3
  73. package/model/audienceDTO.d.ts +1 -0
  74. package/model/{dynamicVideoTemplate.d.ts → backfillAudienceQueryTemplateDTO.d.ts} +3 -4
  75. package/model/models.d.ts +4 -7
  76. package/package.json +1 -1
  77. package/revxui-api-clients-ts.metadata.json +1 -1
  78. package/esm2015/model/advertiserDynamicVideoConfig.js +0 -1
  79. package/esm2015/model/apiResponseObjectAdvertiserDynamicVideoConfig.js +0 -1
  80. package/esm2015/model/apiResponseObjectListDynamicVideoTemplate.js +0 -1
  81. package/esm2015/model/dynamicVideoConfigDTO.js +0 -28
  82. package/esm2015/model/dynamicVideoDTO.js +0 -1
  83. package/esm2015/model/dynamicVideoTemplate.js +0 -1
  84. package/esm2015/model/nameAndTitleModel.js +0 -12
  85. package/esm5/model/advertiserDynamicVideoConfig.js +0 -1
  86. package/esm5/model/apiResponseObjectAdvertiserDynamicVideoConfig.js +0 -1
  87. package/esm5/model/apiResponseObjectListDynamicVideoTemplate.js +0 -1
  88. package/esm5/model/dynamicVideoConfigDTO.js +0 -28
  89. package/esm5/model/dynamicVideoDTO.js +0 -1
  90. package/esm5/model/dynamicVideoTemplate.js +0 -1
  91. package/esm5/model/nameAndTitleModel.js +0 -12
  92. package/model/advertiserDynamicVideoConfig.d.ts +0 -18
  93. package/model/apiResponseObjectListDynamicVideoTemplate.d.ts +0 -17
  94. package/model/dynamicVideoConfigDTO.d.ts +0 -32
  95. package/model/dynamicVideoDTO.d.ts +0 -16
@@ -12,5 +12,5 @@
12
12
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
13
13
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14
14
  PERFORMANCE OF THIS SOFTWARE.
15
- ***************************************************************************** */var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function a(e,t){return function(n,r){t(n,r,e)}}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var o,l,d,p,u,c,h,g,f,v,w,C,P=new t.InjectionToken("basePath"),S=function(){function e(e){void 0===e&&(e={}),this.apiKeys=e.apiKeys,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.withCredentials=e.withCredentials}return e.prototype.selectHeaderContentType=function(e){var t=this;if(0!=e.length){var n=e.find((function(e){return t.isJsonMime(e)}));return void 0===n?e[0]:n}},e.prototype.selectHeaderAccept=function(e){var t=this;if(0!=e.length){var n=e.find((function(e){return t.isJsonMime(e)}));return void 0===n?e[0]:n}},e.prototype.isJsonMime=function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!=e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())},e}(),y=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.checkAdminUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/admin",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkDemoUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/demo",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkRWAccessUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/rw",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkRoUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/ro",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkSAdminUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/sadmin",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.encodeKey=function(t){return(t=e.prototype.encodeKey.call(this,t)).replace(/\+/gi,"%2B")},t.prototype.encodeValue=function(t){return(t=e.prototype.encodeValue.call(this,t)).replace(/\+/gi,"%2B")},t}(n.HttpUrlEncodingCodec),m=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateAdvertiserUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling activateAdvertiserUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/advertisers/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createAdvertiserUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter advertiser was null or undefined when calling createAdvertiserUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/advertisers",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateAdvertiserUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling deactivateAdvertiserUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/advertisers/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAdvertiserSettingsUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getAdvertiserSettingsUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/advertisers/settings/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getByIdUsingGET=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/advertisers/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getSkadTargetPrivilegesUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter searchRequest was null or undefined when calling getSkadTargetPrivilegesUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("advertiserId",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/advertisers/skadtargetprivilege",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getSmartTagUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getSmartTagUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/advertisers/smarttag/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateASTUsingPOST=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.post(this.basePath+"/v2/api/advertisers/ast-tag",null,{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.updateASTUsingPOST1=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateASTUsingPOST1.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.post(this.basePath+"/v2/api/advertisers/"+encodeURIComponent(String(e))+"/ast-tag",null,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateAdvertiserUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiser was null or undefined when calling updateAdvertiserUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateAdvertiserUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/advertisers/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateSettingsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateSettingsUsingPOST.");if(null==t)throw new Error("Required parameter settings was null or undefined when calling updateSettingsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/advertisers/settings/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),A=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createAppSettingsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter appSettings was null or undefined when calling createAppSettingsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/appsettings",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.fetchAllDynamicVideoTemplatesUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/appsettings/dynamicvideo/templates",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.fetchDynamicVideoConfigUsingGET=function(e,t,r,i,a){void 0===i&&(i="body"),void 0===a&&(a=!1);var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advertiserId",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/appsettings/dynamicvideo/config",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAppSettingsUsingGET=function(e,t,r,i,a,s){void 0===a&&(a="body"),void 0===s&&(s=!1);var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("advertiserId",e)),r&&r.forEach((function(e){o=o.append("settingsKeys",e)}));var l=this.defaultHeaders;null!=t&&(l=l.set("reqId",String(t))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/appsettings",{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.updateAppSettingsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter appSettings was null or undefined when calling updateAppSettingsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/appsettings/update",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.upsertDynamicVideoUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter dynamicVideoDTO was null or undefined when calling upsertDynamicVideoUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/appsettings/dynamicvideo/upsert",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),E=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateAudienceUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateAudienceUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/audience/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.activateBackfillRuleUsingGET=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateBackfillRuleUsingGET.");if(null==t)throw new Error("Required parameter queryID was null or undefined when calling activateBackfillRuleUsingGET.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["*/*"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(e))+"/"+encodeURIComponent(String(t)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.addBackfillRuleUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter audience was null or undefined when calling addBackfillRuleUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/addbackfillrule",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.checkConnectionUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter config was null or undefined when calling checkConnectionUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/check_connection",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createAudienceUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter audience was null or undefined when calling createAudienceUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateAudienceUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deactivateAudienceUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/audience/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAccessUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getAccessUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/audience/access/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getAllAudienceUsingPOST=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/audience/all",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getAllDmpAudienceUsingGET=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getAllDmpAudienceUsingGET.");var d=new n.HttpParams({encoder:new T});null!=e&&(d=d.set("advertiser_id",e)),null!=t&&(d=d.set("limit",t)),null!=i&&(d=d.set("start",i)),null!=a&&(d=d.set("stype",a));var p=this.defaultHeaders;null!=r&&(p=p.set("reqId",String(r))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["*/*"]);null!=u&&(p=p.set("Accept",u));return this.httpClient.get(this.basePath+"/v2/api/audience/dmp",{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getByIdUsingGET1=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET1.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getChartDataUsingPOST=function(e,t,r,i,a,s,o,l,d){if(void 0===l&&(l="body"),void 0===d&&(d=!1),null==e)throw new Error("Required parameter audienceType was null or undefined when calling getChartDataUsingPOST.");if(null==t)throw new Error("Required parameter dashboardRequest was null or undefined when calling getChartDataUsingPOST.");if(null==r)throw new Error("Required parameter id was null or undefined when calling getChartDataUsingPOST.");if(null==i)throw new Error("Required parameter metric was null or undefined when calling getChartDataUsingPOST.");var p=new n.HttpParams({encoder:new T});null!=e&&(p=p.set("audienceType",e)),null!=r&&(p=p.set("id",r)),null!=i&&(p=p.set("metric",i)),null!=a&&(p=p.set("refresh",a));var u=this.defaultHeaders;null!=s&&(u=u.set("reqId",String(s))),null!=o&&(u=u.set("token",String(o)));var c=this.configuration.selectHeaderAccept(["application/json"]);null!=c&&(u=u.set("Accept",c));var h=this.configuration.selectHeaderContentType(["application/json"]);return null!=h&&(u=u.set("Content-Type",h)),this.httpClient.post(this.basePath+"/v2/api/audience/chart",t,{params:p,withCredentials:this.configuration.withCredentials,headers:u,observe:l,reportProgress:d})},e.prototype.getEligibleUsersCountUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter eligibleUsersRequest was null or undefined when calling getEligibleUsersCountUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/eligibleusers",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getMetaRulesUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/audience/rules",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getSyncedDmpAudienceUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getSyncedDmpAudienceUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advertiser_id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["*/*"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/audience/dmp/synced",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.retrySchedulerForAdvertisersUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advIds was null or undefined when calling retrySchedulerForAdvertisersUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["*/*"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/audience/schedulerRetry",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.syncAudienceUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter platformAudienceDTO was null or undefined when calling syncAudienceUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/sync",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.syncRemoteAudienceUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling syncRemoteAudienceUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(e))+"/sync_remote",{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateAudienceUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter audience was null or undefined when calling updateAudienceUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateAudienceUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),I=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getAuditDetailsUsingGET=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter endTime was null or undefined when calling getAuditDetailsUsingGET.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getAuditDetailsUsingGET.");if(null==r)throw new Error("Required parameter id was null or undefined when calling getAuditDetailsUsingGET.");if(null==i)throw new Error("Required parameter startTime was null or undefined when calling getAuditDetailsUsingGET.");var d=new n.HttpParams({encoder:new T});null!=e&&(d=d.set("endTime",e)),null!=r&&(d=d.set("id",r)),null!=i&&(d=d.set("startTime",i));var p=this.defaultHeaders;null!=a&&(p=p.set("reqId",String(a))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["application/json"]);null!=u&&(p=p.set("Accept",u));return this.httpClient.get(this.basePath+"/v2/api/activity/detail/"+encodeURIComponent(String(t)),{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getAuditLogUsingGET=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter endTime was null or undefined when calling getAuditLogUsingGET.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getAuditLogUsingGET.");if(null==r)throw new Error("Required parameter id was null or undefined when calling getAuditLogUsingGET.");if(null==i)throw new Error("Required parameter startTime was null or undefined when calling getAuditLogUsingGET.");var d=new n.HttpParams({encoder:new T});null!=e&&(d=d.set("endTime",e)),null!=r&&(d=d.set("id",r)),null!=i&&(d=d.set("startTime",i));var p=this.defaultHeaders;null!=a&&(p=p.set("reqId",String(a))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["application/json"]);null!=u&&(p=p.set("Accept",u));return this.httpClient.get(this.basePath+"/v2/api/activity/log/"+encodeURIComponent(String(t)),{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getUserActivityLogUsingGET=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("entities",e)),null!=t&&(l=l.set("pageNumber",t)),null!=r&&(l=l.set("pageSize",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/useractivitylog",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),b=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.bulkEditActivityLogUsingGET=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("pageNumber",e)),null!=t&&(l=l.set("pageSize",t)),null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/strategies/bulkupdateActivityLog",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.confirmUpdateUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling confirmUpdateUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/update",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.editStrategiesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling editStrategiesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/bulkupdate",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.exportStrategiesDataUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter bulkstrategiesRequest was null or undefined when calling exportStrategiesDataUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/export",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.importAndValidateTSVFileUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling importAndValidateTSVFileUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/validate",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),O=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.themeByLicenseeIdUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter licenseeId was null or undefined when calling themeByLicenseeIdUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/theme/licensee/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.themeBySubDomainUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter subdomain was null or undefined when calling themeBySubDomainUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/theme/subdomain/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),H=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateCampaignUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateCampaignUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/campaigns/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createCampaignUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter campaign was null or undefined when calling createCampaignUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/campaigns",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateCampaignUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deactivateCampaignUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/campaigns/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAllCampaignUsingGET=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getAllCampaignUsingGET.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t)),null!=i&&(l=l.set("search",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["*/*"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/campaigns",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getCampaignByIdUsingGET=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getCampaignByIdUsingGET.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/campaigns/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.incrementalityReportUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter incrementalityReportDTO was null or undefined when calling incrementalityReportUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/campaigns/incrementalityreport",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateCampaignUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter campaign was null or undefined when calling updateCampaignUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateCampaignUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/campaigns/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),R=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getByIdUsingGET2=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET2.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/catalog/feeds/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getCatalogFeedsUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getCatalogFeedsUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/catalog/feeds",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getMacrosUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getMacrosUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/catalog/macros",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getVariableMappingsUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter feedId was null or undefined when calling getVariableMappingsUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("feedId",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/catalog/variables",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),U=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createClickDestinationUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter clickDestination was null or undefined when calling createClickDestinationUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/clickdestinations",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getAllClickDestinationUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getAllClickDestinationUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/clickdestinations/search",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getClickDestinationByIdUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getClickDestinationByIdUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/clickdestinations/"+encodeURIComponent(String(e)),{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getMmpParametersUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getMmpParametersUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/clickdestinations/mmpparameters/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateClickDestinationUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter clickDestination was null or undefined when calling updateClickDestinationUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateClickDestinationUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("id",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/clickdestinations/"+encodeURIComponent(String(t)),e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),D=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateCreativeUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling activateCreativeUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/creatives/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createCreativeUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter creativeDTOs was null or undefined when calling createCreativeUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createHtmlMockupsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter mockupDTO was null or undefined when calling createHtmlMockupsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/htmlmockups",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createMockupsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter mockupDTO was null or undefined when calling createMockupsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/mockups",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateCreativeUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling deactivateCreativeUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/creatives/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAdTagCreativeUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter adTag was null or undefined when calling getAdTagCreativeUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/adtag",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getCreativeByIdUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getCreativeByIdUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/creatives/"+encodeURIComponent(String(e)),{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getPerformanceForCreativeByIdUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getPerformanceForCreativeByIdUsingPOST.");if(null==t)throw new Error("Required parameter search was null or undefined when calling getPerformanceForCreativeByIdUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creatives/performance/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.searchCreativesCompactUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter search was null or undefined when calling searchCreativesCompactUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=t&&(l=l.set("refresh",t)),null!=i&&(l=l.set("skadtarget",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/creatives/search/compact",e,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.searchCreativesUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter search was null or undefined when calling searchCreativesUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/creatives/search",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.updateCreativeUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter creative was null or undefined when calling updateCreativeUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateCreativeUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creatives/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),N=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.bulkEditActivityLogUsingGET1=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("pageNumber",e)),null!=t&&(l=l.set("pageSize",t)),null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/creativesets/bulkupdateActivityLog",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.bulkEditCreativeSetsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter dto was null or undefined when calling bulkEditCreativeSetsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creativesets/bulkupdate",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter creativeSetRequest was null or undefined when calling createUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creativesets",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.duplicateCreativeSetsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dto was null or undefined when calling duplicateCreativeSetsUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling duplicateCreativeSetsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creativesets/duplicate/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getAdvertiserDynamicDetailsUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiserId was null or undefined when calling getAdvertiserDynamicDetailsUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advertiserId",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/creativesets/dynamicdetails",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getByIdUsingGET3=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET3.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/creativesets/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getCreativeSetsPerformanceUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getCreativeSetsPerformanceUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/creativesets/performance/",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getCreativesPerformanceUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getCreativesPerformanceUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/creativesets/creatives/performance/",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getPerformanceByIdUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getPerformanceByIdUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling getPerformanceByIdUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("refresh",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/creativesets/performance/"+encodeURIComponent(String(t)),e,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.updateUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter creativeSetRequest was null or undefined when calling updateUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creativesets/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),q=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createTemplateThemeUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter themeDTO was null or undefined when calling createTemplateThemeUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/templates/themes",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getTemplateThemeByIdUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getTemplateThemeByIdUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/themes/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getTemplateThemesUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiserId was null or undefined when calling getTemplateThemesUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advertiserId",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/themes",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.updateTemplateThemeUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateTemplateThemeUsingPOST.");if(null==t)throw new Error("Required parameter themeDTO was null or undefined when calling updateTemplateThemeUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creatives/templates/themes/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),L=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getTemplateVariablesUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/variables",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),M=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getCreativeTemplatesUsingGET=function(e,t,r,i,a,s,o,l,d,p){void 0===d&&(d="body"),void 0===p&&(p=!1);var u=new n.HttpParams({encoder:new T});null!=e&&(u=u.set("advertiserId",e)),null!=t&&(u=u.set("dynamic",t)),null!=r&&(u=u.set("pageNumber",r)),null!=i&&(u=u.set("pageSize",i)),null!=s&&(u=u.set("slots",s)),null!=o&&(u=u.set("templateSizes",o));var c=this.defaultHeaders;null!=a&&(c=c.set("reqId",String(a))),null!=l&&(c=c.set("token",String(l)));var h=this.configuration.selectHeaderAccept(["application/json"]);null!=h&&(c=c.set("Accept",h));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates",{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:d,reportProgress:p})},e.prototype.getTemplatesMetadataUsingGET=function(e,t,r,i,a,s){void 0===a&&(a="body"),void 0===s&&(s=!1);var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("active",e)),null!=t&&(o=o.set("dynamic",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/metadata",{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.saveProductImagesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter mockupDTO was null or undefined when calling saveProductImagesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/templates/productimages",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),j=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.archiveEntitiesUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling archiveEntitiesUsingPOST.");if(null==t)throw new Error("Required parameter tableEntity was null or undefined when calling archiveEntitiesUsingPOST.");var o=new n.HttpParams({encoder:new T});e&&e.forEach((function(e){o=o.append("id",e)}));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.post(this.basePath+"/v2/api/archive/"+encodeURIComponent(String(t)),null,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getByIdUsingGET4=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET4.");if(null==t)throw new Error("Required parameter tableEntity was null or undefined when calling getByIdUsingGET4.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/"+encodeURIComponent(String(t))+"/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDashboardDataChartCsvStreamUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataChartCsvStreamUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/chart/csv/stream",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getDashboardDataChartCsvUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataChartCsvUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/chart/csv",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getDashboardDataChartUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataChartUsingPOST.");if(null==t)throw new Error("Required parameter showuu was null or undefined when calling getDashboardDataChartUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("refresh",r)),null!=t&&(l=l.set("showuu",t));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/chart",e,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getDashboardDataListCsvStreamUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataListCsvStreamUsingPOST.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getDashboardDataListCsvStreamUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["*/*"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/list/"+encodeURIComponent(String(t))+"/csv/stream",e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDashboardDataListCsvUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataListCsvUsingPOST.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getDashboardDataListCsvUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/list/"+encodeURIComponent(String(t))+"/csv",e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDashboardDataListUsingPOST=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataListUsingPOST.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getDashboardDataListUsingPOST.");if(null==r)throw new Error("Required parameter showuu was null or undefined when calling getDashboardDataListUsingPOST.");var d=new n.HttpParams({encoder:new T});null!=i&&(d=d.set("refresh",i)),null!=r&&(d=d.set("showuu",r));var p=this.defaultHeaders;null!=a&&(p=p.set("reqId",String(a))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["application/json"]);null!=u&&(p=p.set("Accept",u));var c=this.configuration.selectHeaderContentType(["application/json"]);return null!=c&&(p=p.set("Content-Type",c)),this.httpClient.post(this.basePath+"/v2/api/list/"+encodeURIComponent(String(t)),e,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getDetailByIdUsingGET=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getDetailByIdUsingGET.");if(null==t)throw new Error("Required parameter tableEntity was null or undefined when calling getDetailByIdUsingGET.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/detail/"+encodeURIComponent(String(t))+"/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDetailDictionaryUsingPOST=function(e,t,r,i,a,s,o,l,d,p){if(void 0===d&&(d="body"),void 0===p&&(p=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling getDetailDictionaryUsingPOST.");var u=new n.HttpParams({encoder:new T});null!=t&&(u=u.set("pageNumber",t)),null!=r&&(u=u.set("pageSize",r)),null!=i&&(u=u.set("refresh",i)),null!=o&&(u=u.set("sort",o));var c=this.defaultHeaders;null!=a&&(c=c.set("reqId",String(a))),null!=l&&(c=c.set("token",String(l)));var h=this.configuration.selectHeaderAccept(["application/json"]);null!=h&&(c=c.set("Accept",h));var g=this.configuration.selectHeaderContentType(["application/json"]);return null!=g&&(c=c.set("Content-Type",g)),this.httpClient.post(this.basePath+"/v2/api/detaildictionary/"+encodeURIComponent(String(e)),s,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:d,reportProgress:p})},e.prototype.getDictionaryUsingPOST=function(e,t,r,i,a,s,o,l,d,p){if(void 0===d&&(d="body"),void 0===p&&(p=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling getDictionaryUsingPOST.");var u=new n.HttpParams({encoder:new T});null!=t&&(u=u.set("pageNumber",t)),null!=r&&(u=u.set("pageSize",r)),null!=i&&(u=u.set("refresh",i)),null!=o&&(u=u.set("sort",o));var c=this.defaultHeaders;null!=a&&(c=c.set("reqId",String(a))),null!=l&&(c=c.set("token",String(l)));var h=this.configuration.selectHeaderAccept(["application/json"]);null!=h&&(c=c.set("Accept",h));var g=this.configuration.selectHeaderContentType(["application/json"]);return null!=g&&(c=c.set("Content-Type",g)),this.httpClient.post(this.basePath+"/v2/api/dictionary/"+encodeURIComponent(String(e)),s,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:d,reportProgress:p})},e.prototype.getMenuCrumbsUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/menucrumbs",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getpricingTypeUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling getpricingTypeUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/pricing/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.searchByNameUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling searchByNameUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("search",i));var d=this.defaultHeaders;null!=t&&(d=d.set("reqId",String(t))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/searchbyname/"+encodeURIComponent(String(e)),r,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.updateStatusUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateStatusUsingPOST.");if(null==t)throw new Error("Required parameter status was null or undefined when calling updateStatusUsingPOST.");if(null==r)throw new Error("Required parameter tableEntity was null or undefined when calling updateStatusUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("id",e));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.post(this.basePath+"/v2/api/"+encodeURIComponent(String(r))+"/"+encodeURIComponent(String(t)),null,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),k=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getNotificationUsingGET=function(e,t,r,i,a,s){void 0===a&&(a="body"),void 0===s&&(s=!1);var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("pageNumber",e)),null!=t&&(o=o.set("pageSize",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/notifications",{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.markAllSeenUsingPOST=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.post(this.basePath+"/v2/api/notifications/v2/api/notifications/seenAll",null,{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.markSeenUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSeparatedIds was null or undefined when calling markSeenUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSeparatedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/notifications/v2/api/notifications/seen/"+encodeURIComponent(String(e)),null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.resolveNotificationUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling resolveNotificationUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/notifications/v2/api/notifications/resolve/"+encodeURIComponent(String(e)),null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),G=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling activateUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/pixels/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createUsingPOST1=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter pixel was null or undefined when calling createUsingPOST1.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/pixels",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling deactivateUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/pixels/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getByIdUsingGET5=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET5.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/pixels/"+encodeURIComponent(String(e)),{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getTrackingCodeUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getTrackingCodeUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/pixels/"+encodeURIComponent(String(e))+"/trackingcode",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.searchPixelsUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling searchPixelsUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/pixels/search",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.updateUsingPOST1=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateUsingPOST1.");if(null==t)throw new Error("Required parameter pixel was null or undefined when calling updateUsingPOST1.");var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("id",e));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/pixels/"+encodeURIComponent(String(e)),t,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),_=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.customReportCSVUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling customReportCSVUsingPOST.");if(null==t)throw new Error("Required parameter reportingRequest was null or undefined when calling customReportCSVUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("options",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/performance/"+encodeURIComponent(String(e))+".csv",t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.customReportUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling customReportUsingPOST.");if(null==t)throw new Error("Required parameter reportingRequest was null or undefined when calling customReportUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("options",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/performance/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.reportConfigUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling reportConfigUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("entity",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/performance/config",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),F=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getSlicexDataChartUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexDataChartUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/slicex/chart",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getSlicexDataListUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexDataListUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexDataListUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getSlicexDataListWithCompareUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexDataListWithCompareUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexDataListWithCompareUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/compare/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getSlicexGridDetailsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexGridDetailsUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequestExt was null or undefined when calling getSlicexGridDetailsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/details/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getSlicexListDataForExportUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexListDataForExportUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexListDataForExportUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/csv/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),V=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateStrategyUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateStrategyUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/strategies/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.associateCreativesWithStrategiesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling associateCreativesWithStrategiesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/associatecreativesstrategies",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createABTestExperimentUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter abTestDTO was null or undefined when calling createABTestExperimentUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/abtest/create",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createStrategyUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter strategy was null or undefined when calling createStrategyUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateStrategyUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deactivateStrategyUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/strategies/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.duplicateStrategyUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dto was null or undefined when calling duplicateStrategyUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling duplicateStrategyUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/duplicate/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getABTestExperimentUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getABTestExperimentUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/strategies/abtest/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getSkadSettingsUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/strategies/skadsettings",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getStrategyByIdUsingGET=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getStrategyByIdUsingGET.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/strategies/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getStrategyQuickEditDetailsUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getStrategyQuickEditDetailsUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/strategies/quickEdit/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.listABTestExperimentUsingGET=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling listABTestExperimentUsingGET.");if(null==t)throw new Error("Required parameter entityId was null or undefined when calling listABTestExperimentUsingGET.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/strategies/abtest/list/"+encodeURIComponent(String(e))+"/"+encodeURIComponent(String(t)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.saveStrategyQuickEditDetailsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling saveStrategyQuickEditDetailsUsingPOST.");if(null==t)throw new Error("Required parameter strategyQuickEditDTO was null or undefined when calling saveStrategyQuickEditDetailsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["*/*"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/quickEdit/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateABTestExperimentStatusUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.");if(null==t)throw new Error("Required parameter status was null or undefined when calling updateABTestExperimentStatusUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.post(this.basePath+"/v2/api/strategies/abtest/updateStatus/"+encodeURIComponent(String(e))+"/"+encodeURIComponent(String(t)),null,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateABTestExperimentUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter abTestDTO was null or undefined when calling updateABTestExperimentUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateABTestExperimentUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/abtest/update/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateStrategyUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateStrategyUsingPOST.");if(null==t)throw new Error("Required parameter strategy was null or undefined when calling updateStrategyUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.validateGeosUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter geos was null or undefined when calling validateGeosUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/validategeos",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.validateSitesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter sites was null or undefined when calling validateSitesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/validatedomains",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),x=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.logUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter logMsg was null or undefined when calling logUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("logLevel",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/logging",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),B=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage2.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createUserPreferenceDataUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter userPreferenceDto was null or undefined when calling createUserPreferenceDataUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/userpreference",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deleteUserPreferenceDataUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deleteUserPreferenceDataUsingPOST.");var s=new n.HttpParams({encoder:new T});e&&e.forEach((function(e){s=s.append("id",e)}));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/userpreference/delete",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getUserPreferenceDataUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/userpreference",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getUserPreferenceEntityUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/userPreferenceEntity",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),Y=[y,m,A,E,I,b,O,H,R,U,D,N,q,L,M,j,k,G,_,F,V,x,B];(e.ActivityLogsCreativeSetsBulkUpdateDTO||(e.ActivityLogsCreativeSetsBulkUpdateDTO={})).StatusEnum={PENDING:"PENDING",INPROGRESS:"IN_PROGRESS",FAILED:"FAILED",SUCCESS:"SUCCESS",PARTIALSUCCESS:"PARTIAL_SUCCESS"},(e.ActivityLogsStrategyBulkUpdateDTO||(e.ActivityLogsStrategyBulkUpdateDTO={})).StatusEnum={PENDING:"PENDING",INPROGRESS:"IN_PROGRESS",FAILED:"FAILED",SUCCESS:"SUCCESS",PARTIALSUCCESS:"PARTIAL_SUCCESS"},(o=e.AppSettingsDTO||(e.AppSettingsDTO={})).SettingsKeyEnum={LOGOLINK:"LOGO_LINK",FALLBACKIMGLINK:"FALLBACK_IMG_LINK",OVERLAYIMGLINK:"OVERLAY_IMG_LINK",DEFAULTLOGO:"DEFAULT_LOGO"},o.SettingsTypeEnum={BOOLEAN:"BOOLEAN",STRING:"STRING",JSON:"JSON",INTEGER:"INTEGER",DOUBLE:"DOUBLE",FLOAT:"FLOAT"},(e.AppSettingsPropertyDTO||(e.AppSettingsPropertyDTO={})).PropertyKeyEnum={DIMENSIONS:"DIMENSIONS"},(e.AuctionTypeEditField||(e.AuctionTypeEditField={})).ValueEnum={FIRST:"FIRST",SECOND:"SECOND",ALL:"ALL"},(l=e.AudienceDTO||(e.AudienceDTO={})).AudienceTypeEnum={WEBBROWSING:"WEB_BROWSING",MOBILEAPP:"MOBILE_APP",DMP:"DMP",CRM:"CRM",RULEBASED:"RULE_BASED",RULEBASEDBACKFILL:"RULE_BASED_BACKFILL",CRMEMAIL:"CRM_EMAIL",CRMPHONE:"CRM_PHONE",LOOKALIKEAUDIENCE:"LOOKALIKE_AUDIENCE",FACEBOOKID:"FACEBOOK_ID"},l.DurationUnitEnum={MINUTE:"MINUTE",HOUR:"HOUR",DAY:"DAY",WEEK:"WEEK",MONTH:"MONTH"},(e.AudienceESDTO||(e.AudienceESDTO={})).AudienceTypeEnum={WEBBROWSING:"WEB_BROWSING",MOBILEAPP:"MOBILE_APP",DMP:"DMP",CRM:"CRM",RULEBASED:"RULE_BASED",RULEBASEDBACKFILL:"RULE_BASED_BACKFILL",CRMEMAIL:"CRM_EMAIL",CRMPHONE:"CRM_PHONE",LOOKALIKEAUDIENCE:"LOOKALIKE_AUDIENCE",FACEBOOKID:"FACEBOOK_ID"},(e.AudiencePerformanceDTO||(e.AudiencePerformanceDTO={})).GenderEnum={MALE:"MALE",FEMALE:"FEMALE"},(e.BaseModelWithCreativeSetType||(e.BaseModelWithCreativeSetType={})).CreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(d=e.ClickDestination||(e.ClickDestination={})).CampaignTypeEnum={UA:"UA",RT:"RT"},d.GeneratedUrlTypeEnum={CLICK:"CLICK",S2S:"S2S",SKAD:"SKAD"},(e.CreativeCompactDTO||(e.CreativeCompactDTO={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(p=e.CreativeDTO||(e.CreativeDTO={})).ContentTypeEnum={ZIP:"ZIP",JPG:"JPG",JPEG:"JPEG",PNG:"PNG",GIF:"GIF",FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS",GZIP:"GZIP",TEXT:"TEXT",CSV:"CSV",UNKNOWN:"UNKNOWN"},p.TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},p.VideoUploadTypeEnum={VIDEO:"VIDEO",VASTWRAPPER:"VAST_WRAPPER"},(e.CreativeFileForSet||(e.CreativeFileForSet={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(e.CreativeFiles||(e.CreativeFiles={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(e.CreativeHtmlFileForSet||(e.CreativeHtmlFileForSet={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(e.CreativeSetDashboardMetric||(e.CreativeSetDashboardMetric={})).CreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.CreativeSetDetails||(e.CreativeSetDetails={})).TypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.CreativeSetRequest||(e.CreativeSetRequest={})).CreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.CreativeSetResponse||(e.CreativeSetResponse={})).OtherCreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.DcoAttributesDTO||(e.DcoAttributesDTO={})).DcoAttributeEnum={Flash:"flash",Html:"html",Image:"image"},(e.DuplicateCreativeSetResponse||(e.DuplicateCreativeSetResponse={})).OtherCreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.DynamicVideoConfigDTO||(e.DynamicVideoConfigDTO={})).ConfigKeyEnum={TEMPLATEID:"TEMPLATE_ID",LOGO:"LOGO",SALEPRICEPREFIX:"SALE_PRICE_PREFIX",ORIGINALPRICEPREFIX:"ORIGINAL_PRICE_PREFIX",CTA:"CTA",TITLELENGTH:"TITLE_LENGTH",DISCOUNTSUFFIX:"DISCOUNT_SUFFIX",FONT:"FONT",ROUNDPRICE:"ROUND_PRICE",MUSICFILE:"MUSIC_FILE",VIDEOFILE:"VIDEO_FILE"},(e.FilterModel||(e.FilterModel={})).OperatorEnum={Eq:"eq",In:"in",NotIn:"not_in"},(e.GeoListRequest||(e.GeoListRequest={})).GeoTypeEnum={COUNTRY:"COUNTRY",STATE:"STATE",CITY:"CITY"},(e.Macro||(e.Macro={})).MacroTypeEnum={Feed:"feed",Pixel:"pixel",Custom:"custom",Hybrid:"hybrid"},(u=e.MetaRuleDto||(e.MetaRuleDto={})).FilterTypeEnum={OPTIONS:"OPTIONS",TEXT:"TEXT"},u.ValueTypeEnum={INTEGER:"INTEGER",LONG:"LONG",FLOAT:"FLOAT",DOUBLE:"DOUBLE",STRING:"STRING"},(e.NotificationResponse||(e.NotificationResponse={})).TypeEnum={STATIC:"STATIC",ACTIONABLE:"ACTIONABLE"},(c=e.PixelDataFileDTO||(e.PixelDataFileDTO={})).CompressionTypeEnum={UNKNOWN:"UNKNOWN",NONE:"NONE",ZIP:"ZIP",GZIP:"GZIP",BZIP2:"BZIP2"},c.EncodingTypeEnum={NONE:"NONE",MD5:"MD5",SHA256:"SHA256"},c.SourceTypeEnum={PIXELLOG:"PIXEL_LOG",AUDIENCEFEED:"AUDIENCE_FEED",FILEUPLOAD:"FILE_UPLOAD"},c.StatusEnum={CREATED:"CREATED",POPPED:"POPPED",SUBMITTED:"SUBMITTED",SUBMITFAILED:"SUBMIT_FAILED",RUNNING:"RUNNING",PREPARATION:"PREPARATION",RETRYPENDING:"RETRY_PENDING",RETRIESOVER:"RETRIES_OVER",CONNECTIONFAILED:"CONNECTION_FAILED",AUTHFAILED:"AUTH_FAILED",FILENOTFOUND:"FILE_NOT_FOUND",DOWNLOADING:"DOWNLOADING",DOWNLOADED:"DOWNLOADED",DOWNLOADFAILED:"DOWNLOAD_FAILED",RULEPROCESSING:"RULE_PROCESSING",RULEPROCESSED:"RULE_PROCESSED",UPLOADING:"UPLOADING",UPLOADED:"UPLOADED",UPLOADFAILED:"UPLOAD_FAILED",UPLOADCOMPLETEDPARTIALLYFAILED:"UPLOAD_COMPLETED_PARTIALLY_FAILED",UPLOADFAILEDNOUSERMATCHED:"UPLOAD_FAILED_NO_USER_MATCHED",UPLOADPARTIALLYCOMPLETED:"UPLOAD_PARTIALLY_COMPLETED",UPLOADPARTIALLYFAILEDANDRUNNING:"UPLOAD_PARTIALLY_FAILED_AND_RUNNING",COMPLETED:"COMPLETED",URIERROR:"URI_ERROR",NETWORKFAILURE:"NETWORK_FAILURE",FILENOTMODIFIEDATSERVER:"FILE_NOT_MODIFIED_AT_SERVER",SAMEMD5SUM:"SAME_MD5SUM",SUCCESS:"SUCCESS",IOEXCEPTION:"IOEXCEPTION",INVALIDDATA:"INVALIDDATA",UNKNOWNPROTOCOL:"UNKNOWN_PROTOCOL",PROCESSINGFAILED:"PROCESSING_FAILED"},c.UserDataTypeEnum={WEBBROWSING:"WEB_BROWSING",MOBILEAPP:"MOBILE_APP",CRMEMAIL:"CRM_EMAIL",FACEBOOKID:"FACEBOOK_ID",CRMPHONE:"CRM_PHONE",LOOKALIKEAUDIENCE:"LOOKALIKE_AUDIENCE"},(h=e.RemoteFileDTO||(e.RemoteFileDTO={})).AuthMethodEnum={NONE:"NONE",LOGIN:"LOGIN",PRIVATEKEY:"PRIVATE_KEY"},h.ProtocolEnum={FTP:"FTP",SFTP:"SFTP",SSH:"SSH",HTTP:"HTTP",HTTPS:"HTTPS",FTPS:"FTPS"},(e.ReportProperty||(e.ReportProperty={})).TypeEnum={Object:"object",Number:"number",String:"string"},(g=e.ReportingRequest||(e.ReportingRequest={})).CurrencyOfEnum={Licensee:"licensee",Advertiser:"advertiser"},g.DbTypeEnum={REDSHIFT:"REDSHIFT",ELASTIC:"ELASTIC",POSTGRE:"POSTGRE"},g.IntervalEnum={None:"none",Hourly:"hourly",Daily:"daily",Weekly:"weekly",Monthly:"monthly"},(f=e.ReportingResponse||(e.ReportingResponse={})).CurrencyOfEnum={Licensee:"licensee",Advertiser:"advertiser"},f.IntervalEnum={None:"none",Hourly:"hourly",Daily:"daily",Weekly:"weekly",Monthly:"monthly"},(v=e.RuleDTO||(e.RuleDTO={})).DurationUnitEnum={MINUTE:"MINUTE",HOUR:"HOUR",DAY:"DAY",WEEK:"WEEK",MONTH:"MONTH"},v.OperatorEnum={AND:"AND",OR:"OR",NOT:"NOT"},(w=e.StrategyDTO||(e.StrategyDTO={})).AuctionTypeTargetingEnum={FIRST:"FIRST",SECOND:"SECOND",ALL:"ALL"},w.ConnectionTypesEnum={UNKNOWN:"UNKNOWN",ETHERNET:"ETHERNET",WIFI:"WIFI",CELLULARNETWORK:"CELLULAR_NETWORK",CELLULARNETWORK2G:"CELLULAR_NETWORK_2G",CELLULARNETWORK3G:"CELLULAR_NETWORK_3G",CELLULARNETWORK4G:"CELLULAR_NETWORK_4G",CELLULARNETWORK5G:"CELLULAR_NETWORK_5G"},w.GenderTargetingEnum={MALE:"MALE",FEMALE:"FEMALE"},w.ProductSelectionPolicyEnum={DEFAULT:"PS_DEFAULT",USERVIEW:"PS_USERVIEW",USERCATTS:"PS_USER_CAT_TS",ADVPRTS:"PS_ADV_PR_TS",ADVCATPRTS:"PS_ADV_CAT_PR_TS",DAYWEIGHTEDRANDOM:"PS_DAY_WEIGHTED_RANDOM",ADVPRCONTENTTS:"PS_ADV_PR_CONTENT_TS"},(e.StrategyQuickEditDTO||(e.StrategyQuickEditDTO={})).StrategyTypeEnum={Standard:"standard",ClickTracker:"clickTracker"},(e.TemplateVariablesDTO||(e.TemplateVariablesDTO={})).VariableTypeEnum={SELECT:"SELECT",INPUT:"INPUT",TEXTAREA:"TEXT_AREA",COLORPICKER:"COLOR_PICKER",POPUP:"POPUP",BOOLEAN:"BOOLEAN",NUMBER:"NUMBER"},(e.VastCreative||(e.VastCreative={})).VideoFormatEnum={FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS"},(C=e.VideoAttributes||(e.VideoAttributes={})).CompanionContentTypeEnum={ZIP:"ZIP",JPG:"JPG",JPEG:"JPEG",PNG:"PNG",GIF:"GIF",FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS",GZIP:"GZIP",TEXT:"TEXT",CSV:"CSV",UNKNOWN:"UNKNOWN"},C.CompanionTypeEnum={NOCOMPANION:"NO_COMPANION",COMPANIONIMAGE:"COMPANION_IMAGE",COMPANIONHTML:"COMPANION_HTML",COMPANIONIFRAME:"COMPANION_IFRAME",COMPANIONFLASH:"COMPANION_FLASH"},C.FormatEnum={FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS"},C.VastProtocolEnum={VAST1:"VAST_1",VAST2:"VAST_2",VAST3:"VAST_3",VAST1WRAPPER:"VAST_1_WRAPPER",VAST2WRAPPER:"VAST_2_WRAPPER",VAST3WRAPPER:"VAST_3_WRAPPER",VAST4:"VAST_4",VAST4WRAPPER:"VAST_4_WRAPPER",DAAST10:"DAAST_1_0",DAAST10WRAPPER:"DAAST_1_0_WRAPPER"},(e.VideoProperties||(e.VideoProperties={})).CampanionTypeEnum={NOCOMPANION:"NO_COMPANION",COMPANIONIMAGE:"COMPANION_IMAGE",COMPANIONHTML:"COMPANION_HTML",COMPANIONIFRAME:"COMPANION_IFRAME",COMPANIONFLASH:"COMPANION_FLASH"};var W=function(){function e(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}var r;return r=e,e.forRoot=function(e){return{ngModule:r,providers:[{provide:S,useFactory:e}]}},e.ctorParameters=function(){return[{type:e,decorators:[{type:t.Optional},{type:t.SkipSelf}]},{type:n.HttpClient,decorators:[{type:t.Optional}]}]},e=r=i([t.NgModule({imports:[],declarations:[],exports:[],providers:[y,m,A,E,I,b,O,H,R,U,D,N,q,L,M,j,k,G,_,F,V,x,B]}),a(0,t.Optional()),a(0,t.SkipSelf()),a(1,t.Optional())],e)}();e.APIS=Y,e.AdminControllerService=y,e.AdvertiserControllerService=m,e.ApiModule=W,e.AppSettingsControllerService=A,e.AudienceControllerService=E,e.AuditControllerService=I,e.BASE_PATH=P,e.BulkStrategyControllerService=b,e.COLLECTION_FORMATS={csv:",",tsv:" ",ssv:" ",pipes:"|"},e.CSSThemeController_Service=O,e.CampaignControllerService=H,e.CatalogControllerService=R,e.ClickDestinationControllerService=U,e.Configuration=S,e.CreativeControllerService=D,e.CreativeSetsControllerService=N,e.CreativeTemplateThemesControllerService=q,e.CreativeTemplateVariablesControllerService=L,e.CreativeTemplatesControllerService=M,e.DashboardControllerService=j,e.NotificationsControllerService=k,e.PixelControllerService=G,e.ReportingControllerService=_,e.SliceXControllerService=F,e.StrategyControllerService=V,e.UILoggerControllerService=x,e.UserPreferenceControllerService=B,Object.defineProperty(e,"__esModule",{value:!0})}));
15
+ ***************************************************************************** */var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function i(e,t,n,r){var i,a=arguments.length,s=a<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,n,r);else for(var o=e.length-1;o>=0;o--)(i=e[o])&&(s=(a<3?i(s):a>3?i(t,n,s):i(t,n))||s);return a>3&&s&&Object.defineProperty(t,n,s),s}function a(e,t){return function(n,r){t(n,r,e)}}function s(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var o,l,d,p,u,c,h,g,f,v,w,C,P=new t.InjectionToken("basePath"),S=function(){function e(e){void 0===e&&(e={}),this.apiKeys=e.apiKeys,this.username=e.username,this.password=e.password,this.accessToken=e.accessToken,this.basePath=e.basePath,this.withCredentials=e.withCredentials}return e.prototype.selectHeaderContentType=function(e){var t=this;if(0!=e.length){var n=e.find((function(e){return t.isJsonMime(e)}));return void 0===n?e[0]:n}},e.prototype.selectHeaderAccept=function(e){var t=this;if(0!=e.length){var n=e.find((function(e){return t.isJsonMime(e)}));return void 0===n?e[0]:n}},e.prototype.isJsonMime=function(e){var t=new RegExp("^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$","i");return null!=e&&(t.test(e)||"application/json-patch+json"===e.toLowerCase())},e}(),y=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.checkAdminUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/admin",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkDemoUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/demo",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkRWAccessUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/rw",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkRoUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/ro",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.checkSAdminUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/sadmin",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}(t,e),t.prototype.encodeKey=function(t){return(t=e.prototype.encodeKey.call(this,t)).replace(/\+/gi,"%2B")},t.prototype.encodeValue=function(t){return(t=e.prototype.encodeValue.call(this,t)).replace(/\+/gi,"%2B")},t}(n.HttpUrlEncodingCodec),m=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateAdvertiserUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling activateAdvertiserUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/advertisers/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createAdvertiserUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter advertiser was null or undefined when calling createAdvertiserUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/advertisers",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateAdvertiserUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling deactivateAdvertiserUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/advertisers/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAdvertiserSettingsUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getAdvertiserSettingsUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/advertisers/settings/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getByIdUsingGET=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/advertisers/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getSkadTargetPrivilegesUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter searchRequest was null or undefined when calling getSkadTargetPrivilegesUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("advertiserId",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/advertisers/skadtargetprivilege",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getSmartTagUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getSmartTagUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/advertisers/smarttag/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateASTUsingPOST=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.post(this.basePath+"/v2/api/advertisers/ast-tag",null,{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.updateASTUsingPOST1=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateASTUsingPOST1.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.post(this.basePath+"/v2/api/advertisers/"+encodeURIComponent(String(e))+"/ast-tag",null,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateAdvertiserUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiser was null or undefined when calling updateAdvertiserUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateAdvertiserUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/advertisers/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateSettingsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateSettingsUsingPOST.");if(null==t)throw new Error("Required parameter settings was null or undefined when calling updateSettingsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/advertisers/settings/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),A=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createAppSettingsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter appSettings was null or undefined when calling createAppSettingsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/appsettings",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getAppSettingsUsingGET=function(e,t,r,i,a,s){void 0===a&&(a="body"),void 0===s&&(s=!1);var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("advertiserId",e)),r&&r.forEach((function(e){o=o.append("settingsKeys",e)}));var l=this.defaultHeaders;null!=t&&(l=l.set("reqId",String(t))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/appsettings",{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.updateAppSettingsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter appSettings was null or undefined when calling updateAppSettingsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/appsettings/update",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),E=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateAudienceUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateAudienceUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/audience/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.activateBackfillRuleUsingGET=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateBackfillRuleUsingGET.");if(null==t)throw new Error("Required parameter queryID was null or undefined when calling activateBackfillRuleUsingGET.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["*/*"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(e))+"/"+encodeURIComponent(String(t)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.addBackfillRuleUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling addBackfillRuleUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/addbackfillrule",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.checkConnectionUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter config was null or undefined when calling checkConnectionUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/check_connection",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createAudienceUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter audience was null or undefined when calling createAudienceUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateAudienceUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deactivateAudienceUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/audience/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAccessUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getAccessUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/audience/access/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getActiveTemplatesUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getActiveTemplatesUsingPOST.");if(null==t)throw new Error("Required parameter request was null or undefined when calling getActiveTemplatesUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/audience/activetemplates/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getAllAudienceUsingPOST=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/audience/all",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getAllDmpAudienceUsingGET=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getAllDmpAudienceUsingGET.");var d=new n.HttpParams({encoder:new T});null!=e&&(d=d.set("advertiser_id",e)),null!=t&&(d=d.set("limit",t)),null!=i&&(d=d.set("start",i)),null!=a&&(d=d.set("stype",a));var p=this.defaultHeaders;null!=r&&(p=p.set("reqId",String(r))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["*/*"]);null!=u&&(p=p.set("Accept",u));return this.httpClient.get(this.basePath+"/v2/api/audience/dmp",{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getByIdUsingGET1=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET1.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getChartDataUsingPOST=function(e,t,r,i,a,s,o,l,d){if(void 0===l&&(l="body"),void 0===d&&(d=!1),null==e)throw new Error("Required parameter audienceType was null or undefined when calling getChartDataUsingPOST.");if(null==t)throw new Error("Required parameter dashboardRequest was null or undefined when calling getChartDataUsingPOST.");if(null==r)throw new Error("Required parameter id was null or undefined when calling getChartDataUsingPOST.");if(null==i)throw new Error("Required parameter metric was null or undefined when calling getChartDataUsingPOST.");var p=new n.HttpParams({encoder:new T});null!=e&&(p=p.set("audienceType",e)),null!=r&&(p=p.set("id",r)),null!=i&&(p=p.set("metric",i)),null!=a&&(p=p.set("refresh",a));var u=this.defaultHeaders;null!=s&&(u=u.set("reqId",String(s))),null!=o&&(u=u.set("token",String(o)));var c=this.configuration.selectHeaderAccept(["application/json"]);null!=c&&(u=u.set("Accept",c));var h=this.configuration.selectHeaderContentType(["application/json"]);return null!=h&&(u=u.set("Content-Type",h)),this.httpClient.post(this.basePath+"/v2/api/audience/chart",t,{params:p,withCredentials:this.configuration.withCredentials,headers:u,observe:l,reportProgress:d})},e.prototype.getEligibleUsersCountUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter eligibleUsersRequest was null or undefined when calling getEligibleUsersCountUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/eligibleusers",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getMetaRulesUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["*/*"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/audience/rules",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getSyncedDmpAudienceUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getSyncedDmpAudienceUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advertiser_id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["*/*"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/audience/dmp/synced",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.retrySchedulerForAdvertisersUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advIds was null or undefined when calling retrySchedulerForAdvertisersUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["*/*"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/audience/schedulerRetry",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.syncAudienceUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter platformAudienceDTO was null or undefined when calling syncAudienceUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/sync",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.syncRemoteAudienceUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling syncRemoteAudienceUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(e))+"/sync_remote",{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateAudienceUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter audience was null or undefined when calling updateAudienceUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateAudienceUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/audience/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.validateBackfillRuleUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter query was null or undefined when calling validateBackfillRuleUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/audience/validatebackfillrule",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),I=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getAuditDetailsUsingGET=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter endTime was null or undefined when calling getAuditDetailsUsingGET.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getAuditDetailsUsingGET.");if(null==r)throw new Error("Required parameter id was null or undefined when calling getAuditDetailsUsingGET.");if(null==i)throw new Error("Required parameter startTime was null or undefined when calling getAuditDetailsUsingGET.");var d=new n.HttpParams({encoder:new T});null!=e&&(d=d.set("endTime",e)),null!=r&&(d=d.set("id",r)),null!=i&&(d=d.set("startTime",i));var p=this.defaultHeaders;null!=a&&(p=p.set("reqId",String(a))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["application/json"]);null!=u&&(p=p.set("Accept",u));return this.httpClient.get(this.basePath+"/v2/api/activity/detail/"+encodeURIComponent(String(t)),{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getAuditLogUsingGET=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter endTime was null or undefined when calling getAuditLogUsingGET.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getAuditLogUsingGET.");if(null==r)throw new Error("Required parameter id was null or undefined when calling getAuditLogUsingGET.");if(null==i)throw new Error("Required parameter startTime was null or undefined when calling getAuditLogUsingGET.");var d=new n.HttpParams({encoder:new T});null!=e&&(d=d.set("endTime",e)),null!=r&&(d=d.set("id",r)),null!=i&&(d=d.set("startTime",i));var p=this.defaultHeaders;null!=a&&(p=p.set("reqId",String(a))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["application/json"]);null!=u&&(p=p.set("Accept",u));return this.httpClient.get(this.basePath+"/v2/api/activity/log/"+encodeURIComponent(String(t)),{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getUserActivityLogUsingGET=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("entities",e)),null!=t&&(l=l.set("pageNumber",t)),null!=r&&(l=l.set("pageSize",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/useractivitylog",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),b=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.bulkEditActivityLogUsingGET=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("pageNumber",e)),null!=t&&(l=l.set("pageSize",t)),null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/strategies/bulkupdateActivityLog",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.confirmUpdateUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling confirmUpdateUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/update",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.editStrategiesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling editStrategiesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/bulkupdate",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.exportStrategiesDataUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter bulkstrategiesRequest was null or undefined when calling exportStrategiesDataUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/export",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.importAndValidateTSVFileUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling importAndValidateTSVFileUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/validate",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),O=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.themeByLicenseeIdUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter licenseeId was null or undefined when calling themeByLicenseeIdUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/theme/licensee/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.themeBySubDomainUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter subdomain was null or undefined when calling themeBySubDomainUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/theme/subdomain/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),H=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateCampaignUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateCampaignUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/campaigns/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createCampaignUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter campaign was null or undefined when calling createCampaignUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/campaigns",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateCampaignUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deactivateCampaignUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/campaigns/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAllCampaignUsingGET=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getAllCampaignUsingGET.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t)),null!=i&&(l=l.set("search",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["*/*"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/campaigns",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getCampaignByIdUsingGET=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getCampaignByIdUsingGET.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/campaigns/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.incrementalityReportUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter incrementalityReportDTO was null or undefined when calling incrementalityReportUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/campaigns/incrementalityreport",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateCampaignUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter campaign was null or undefined when calling updateCampaignUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateCampaignUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/campaigns/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),R=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getByIdUsingGET2=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET2.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/catalog/feeds/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getCatalogFeedsUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getCatalogFeedsUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/catalog/feeds",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getMacrosUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getMacrosUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/catalog/macros",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getVariableMappingsUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter feedId was null or undefined when calling getVariableMappingsUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("feedId",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/catalog/variables",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),U=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createClickDestinationUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter clickDestination was null or undefined when calling createClickDestinationUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/clickdestinations",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getAllClickDestinationUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling getAllClickDestinationUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/clickdestinations/search",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getClickDestinationByIdUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getClickDestinationByIdUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/clickdestinations/"+encodeURIComponent(String(e)),{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getMmpParametersUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getMmpParametersUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/clickdestinations/mmpparameters/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.updateClickDestinationUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter clickDestination was null or undefined when calling updateClickDestinationUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateClickDestinationUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("id",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/clickdestinations/"+encodeURIComponent(String(t)),e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),D=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateCreativeUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling activateCreativeUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/creatives/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createCreativeUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter creativeDTOs was null or undefined when calling createCreativeUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createHtmlMockupsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter mockupDTO was null or undefined when calling createHtmlMockupsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/htmlmockups",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createMockupsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter mockupDTO was null or undefined when calling createMockupsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/mockups",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateCreativeUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling deactivateCreativeUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/creatives/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getAdTagCreativeUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter adTag was null or undefined when calling getAdTagCreativeUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/adtag",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getCreativeByIdUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getCreativeByIdUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/creatives/"+encodeURIComponent(String(e)),{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getPerformanceForCreativeByIdUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getPerformanceForCreativeByIdUsingPOST.");if(null==t)throw new Error("Required parameter search was null or undefined when calling getPerformanceForCreativeByIdUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creatives/performance/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.searchCreativesCompactUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter search was null or undefined when calling searchCreativesCompactUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=t&&(l=l.set("refresh",t)),null!=i&&(l=l.set("skadtarget",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/creatives/search/compact",e,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.searchCreativesUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter search was null or undefined when calling searchCreativesUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/creatives/search",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.updateCreativeUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter creative was null or undefined when calling updateCreativeUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateCreativeUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creatives/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),N=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.bulkEditActivityLogUsingGET1=function(e,t,r,i,a,s,o){void 0===s&&(s="body"),void 0===o&&(o=!1);var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("pageNumber",e)),null!=t&&(l=l.set("pageSize",t)),null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.get(this.basePath+"/v2/api/creativesets/bulkupdateActivityLog",{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.bulkEditCreativeSetsUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter dto was null or undefined when calling bulkEditCreativeSetsUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creativesets/bulkupdate",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter creativeSetRequest was null or undefined when calling createUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creativesets",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.duplicateCreativeSetsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dto was null or undefined when calling duplicateCreativeSetsUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling duplicateCreativeSetsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creativesets/duplicate/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getAdvertiserDynamicDetailsUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiserId was null or undefined when calling getAdvertiserDynamicDetailsUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advertiserId",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/creativesets/dynamicdetails",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getByIdUsingGET3=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET3.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/creativesets/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getCreativeSetsPerformanceUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getCreativeSetsPerformanceUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/creativesets/performance/",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getCreativesPerformanceUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getCreativesPerformanceUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/creativesets/creatives/performance/",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getPerformanceByIdUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getPerformanceByIdUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling getPerformanceByIdUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("refresh",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/creativesets/performance/"+encodeURIComponent(String(t)),e,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.updateUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter creativeSetRequest was null or undefined when calling updateUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creativesets/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),q=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createTemplateThemeUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter themeDTO was null or undefined when calling createTemplateThemeUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/templates/themes",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getTemplateThemeByIdUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getTemplateThemeByIdUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/themes/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getTemplateThemesUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter advertiserId was null or undefined when calling getTemplateThemesUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("advertiserId",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/themes",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.updateTemplateThemeUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateTemplateThemeUsingPOST.");if(null==t)throw new Error("Required parameter themeDTO was null or undefined when calling updateTemplateThemeUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/creatives/templates/themes/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),L=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getTemplateVariablesUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/variables",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),M=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getCreativeTemplatesUsingGET=function(e,t,r,i,a,s,o,l,d,p){void 0===d&&(d="body"),void 0===p&&(p=!1);var u=new n.HttpParams({encoder:new T});null!=e&&(u=u.set("advertiserId",e)),null!=t&&(u=u.set("dynamic",t)),null!=r&&(u=u.set("pageNumber",r)),null!=i&&(u=u.set("pageSize",i)),null!=s&&(u=u.set("slots",s)),null!=o&&(u=u.set("templateSizes",o));var c=this.defaultHeaders;null!=a&&(c=c.set("reqId",String(a))),null!=l&&(c=c.set("token",String(l)));var h=this.configuration.selectHeaderAccept(["application/json"]);null!=h&&(c=c.set("Accept",h));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates",{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:d,reportProgress:p})},e.prototype.getTemplatesMetadataUsingGET=function(e,t,r,i,a,s){void 0===a&&(a="body"),void 0===s&&(s=!1);var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("active",e)),null!=t&&(o=o.set("dynamic",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/creatives/templates/metadata",{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.saveProductImagesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter mockupDTO was null or undefined when calling saveProductImagesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/creatives/templates/productimages",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),j=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.archiveEntitiesUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling archiveEntitiesUsingPOST.");if(null==t)throw new Error("Required parameter tableEntity was null or undefined when calling archiveEntitiesUsingPOST.");var o=new n.HttpParams({encoder:new T});e&&e.forEach((function(e){o=o.append("id",e)}));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.post(this.basePath+"/v2/api/archive/"+encodeURIComponent(String(t)),null,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getByIdUsingGET4=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET4.");if(null==t)throw new Error("Required parameter tableEntity was null or undefined when calling getByIdUsingGET4.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/"+encodeURIComponent(String(t))+"/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDashboardDataChartCsvStreamUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataChartCsvStreamUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/chart/csv/stream",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getDashboardDataChartCsvUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataChartCsvUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/chart/csv",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getDashboardDataChartUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataChartUsingPOST.");if(null==t)throw new Error("Required parameter showuu was null or undefined when calling getDashboardDataChartUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("refresh",r)),null!=t&&(l=l.set("showuu",t));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/chart",e,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getDashboardDataListCsvStreamUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataListCsvStreamUsingPOST.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getDashboardDataListCsvStreamUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["*/*"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/list/"+encodeURIComponent(String(t))+"/csv/stream",e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDashboardDataListCsvUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataListCsvUsingPOST.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getDashboardDataListCsvUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/list/"+encodeURIComponent(String(t))+"/csv",e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDashboardDataListUsingPOST=function(e,t,r,i,a,s,o,l){if(void 0===o&&(o="body"),void 0===l&&(l=!1),null==e)throw new Error("Required parameter dashboardRequest was null or undefined when calling getDashboardDataListUsingPOST.");if(null==t)throw new Error("Required parameter entity was null or undefined when calling getDashboardDataListUsingPOST.");if(null==r)throw new Error("Required parameter showuu was null or undefined when calling getDashboardDataListUsingPOST.");var d=new n.HttpParams({encoder:new T});null!=i&&(d=d.set("refresh",i)),null!=r&&(d=d.set("showuu",r));var p=this.defaultHeaders;null!=a&&(p=p.set("reqId",String(a))),null!=s&&(p=p.set("token",String(s)));var u=this.configuration.selectHeaderAccept(["application/json"]);null!=u&&(p=p.set("Accept",u));var c=this.configuration.selectHeaderContentType(["application/json"]);return null!=c&&(p=p.set("Content-Type",c)),this.httpClient.post(this.basePath+"/v2/api/list/"+encodeURIComponent(String(t)),e,{params:d,withCredentials:this.configuration.withCredentials,headers:p,observe:o,reportProgress:l})},e.prototype.getDetailByIdUsingGET=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getDetailByIdUsingGET.");if(null==t)throw new Error("Required parameter tableEntity was null or undefined when calling getDetailByIdUsingGET.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/detail/"+encodeURIComponent(String(t))+"/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getDetailDictionaryUsingPOST=function(e,t,r,i,a,s,o,l,d,p){if(void 0===d&&(d="body"),void 0===p&&(p=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling getDetailDictionaryUsingPOST.");var u=new n.HttpParams({encoder:new T});null!=t&&(u=u.set("pageNumber",t)),null!=r&&(u=u.set("pageSize",r)),null!=i&&(u=u.set("refresh",i)),null!=o&&(u=u.set("sort",o));var c=this.defaultHeaders;null!=a&&(c=c.set("reqId",String(a))),null!=l&&(c=c.set("token",String(l)));var h=this.configuration.selectHeaderAccept(["application/json"]);null!=h&&(c=c.set("Accept",h));var g=this.configuration.selectHeaderContentType(["application/json"]);return null!=g&&(c=c.set("Content-Type",g)),this.httpClient.post(this.basePath+"/v2/api/detaildictionary/"+encodeURIComponent(String(e)),s,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:d,reportProgress:p})},e.prototype.getDictionaryUsingPOST=function(e,t,r,i,a,s,o,l,d,p){if(void 0===d&&(d="body"),void 0===p&&(p=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling getDictionaryUsingPOST.");var u=new n.HttpParams({encoder:new T});null!=t&&(u=u.set("pageNumber",t)),null!=r&&(u=u.set("pageSize",r)),null!=i&&(u=u.set("refresh",i)),null!=o&&(u=u.set("sort",o));var c=this.defaultHeaders;null!=a&&(c=c.set("reqId",String(a))),null!=l&&(c=c.set("token",String(l)));var h=this.configuration.selectHeaderAccept(["application/json"]);null!=h&&(c=c.set("Accept",h));var g=this.configuration.selectHeaderContentType(["application/json"]);return null!=g&&(c=c.set("Content-Type",g)),this.httpClient.post(this.basePath+"/v2/api/dictionary/"+encodeURIComponent(String(e)),s,{params:u,withCredentials:this.configuration.withCredentials,headers:c,observe:d,reportProgress:p})},e.prototype.getMenuCrumbsUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/menucrumbs",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getpricingTypeUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling getpricingTypeUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/pricing/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.searchByNameUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter tableEntity was null or undefined when calling searchByNameUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("search",i));var d=this.defaultHeaders;null!=t&&(d=d.set("reqId",String(t))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/searchbyname/"+encodeURIComponent(String(e)),r,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.updateStatusUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateStatusUsingPOST.");if(null==t)throw new Error("Required parameter status was null or undefined when calling updateStatusUsingPOST.");if(null==r)throw new Error("Required parameter tableEntity was null or undefined when calling updateStatusUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("id",e));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));return this.httpClient.post(this.basePath+"/v2/api/"+encodeURIComponent(String(r))+"/"+encodeURIComponent(String(t)),null,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),k=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getNotificationUsingGET=function(e,t,r,i,a,s){void 0===a&&(a="body"),void 0===s&&(s=!1);var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("pageNumber",e)),null!=t&&(o=o.set("pageSize",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/notifications",{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.markAllSeenUsingPOST=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.post(this.basePath+"/v2/api/notifications/v2/api/notifications/seenAll",null,{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.markSeenUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSeparatedIds was null or undefined when calling markSeenUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSeparatedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/notifications/v2/api/notifications/seen/"+encodeURIComponent(String(e)),null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.resolveNotificationUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling resolveNotificationUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/notifications/v2/api/notifications/resolve/"+encodeURIComponent(String(e)),null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),G=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling activateUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/pixels/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.createUsingPOST1=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter pixel was null or undefined when calling createUsingPOST1.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/pixels",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter commaSepratedIds was null or undefined when calling deactivateUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("commaSepratedIds",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/pixels/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getByIdUsingGET5=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getByIdUsingGET5.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/pixels/"+encodeURIComponent(String(e)),{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getTrackingCodeUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getTrackingCodeUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/pixels/"+encodeURIComponent(String(e))+"/trackingcode",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.searchPixelsUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter advertiser_id was null or undefined when calling searchPixelsUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=e&&(l=l.set("advertiser_id",e)),null!=t&&(l=l.set("refresh",t));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/pixels/search",i,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.updateUsingPOST1=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateUsingPOST1.");if(null==t)throw new Error("Required parameter pixel was null or undefined when calling updateUsingPOST1.");var o=new n.HttpParams({encoder:new T});null!=e&&(o=o.set("id",e));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["application/json"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/api/pixels/"+encodeURIComponent(String(e)),t,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),_=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.customReportCSVUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling customReportCSVUsingPOST.");if(null==t)throw new Error("Required parameter reportingRequest was null or undefined when calling customReportCSVUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("options",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/performance/"+encodeURIComponent(String(e))+".csv",t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.customReportUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling customReportUsingPOST.");if(null==t)throw new Error("Required parameter reportingRequest was null or undefined when calling customReportUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=r&&(l=l.set("options",r));var d=this.defaultHeaders;null!=i&&(d=d.set("reqId",String(i))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/performance/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.reportConfigUsingGET=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling reportConfigUsingGET.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("entity",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.get(this.basePath+"/v2/api/performance/config",{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),F=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.getSlicexDataChartUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexDataChartUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/slicex/chart",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getSlicexDataListUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexDataListUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexDataListUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getSlicexDataListWithCompareUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexDataListWithCompareUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexDataListWithCompareUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/compare/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.prototype.getSlicexGridDetailsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexGridDetailsUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequestExt was null or undefined when calling getSlicexGridDetailsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/details/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getSlicexListDataForExportUsingPOST=function(e,t,r,i,a,s,o){if(void 0===s&&(s="body"),void 0===o&&(o=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling getSlicexListDataForExportUsingPOST.");if(null==t)throw new Error("Required parameter slicexRequest was null or undefined when calling getSlicexListDataForExportUsingPOST.");var l=new n.HttpParams({encoder:new T});null!=i&&(l=l.set("sort",i));var d=this.defaultHeaders;null!=r&&(d=d.set("reqId",String(r))),null!=a&&(d=d.set("token",String(a)));var p=this.configuration.selectHeaderAccept(["application/json"]);null!=p&&(d=d.set("Accept",p));var u=this.configuration.selectHeaderContentType(["application/json"]);return null!=u&&(d=d.set("Content-Type",u)),this.httpClient.post(this.basePath+"/v2/api/slicex/list/csv/"+encodeURIComponent(String(e)),t,{params:l,withCredentials:this.configuration.withCredentials,headers:d,observe:s,reportProgress:o})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),V=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.activateStrategyUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling activateStrategyUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/strategies/activate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.associateCreativesWithStrategiesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter request was null or undefined when calling associateCreativesWithStrategiesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/associatecreativesstrategies",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createABTestExperimentUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter abTestDTO was null or undefined when calling createABTestExperimentUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/abtest/create",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.createStrategyUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter strategy was null or undefined when calling createStrategyUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deactivateStrategyUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deactivateStrategyUsingPOST.");var s=new n.HttpParams({encoder:new T});null!=e&&(s=s.set("id",e));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/strategies/deactivate",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.duplicateStrategyUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter dto was null or undefined when calling duplicateStrategyUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling duplicateStrategyUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/duplicate/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.getABTestExperimentUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getABTestExperimentUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/strategies/abtest/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.getSkadSettingsUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/strategies/skadsettings",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getStrategyByIdUsingGET=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getStrategyByIdUsingGET.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("refresh",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));return this.httpClient.get(this.basePath+"/v2/api/strategies/"+encodeURIComponent(String(e)),{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.prototype.getStrategyQuickEditDetailsUsingGET=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter id was null or undefined when calling getStrategyQuickEditDetailsUsingGET.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));return this.httpClient.get(this.basePath+"/v2/api/strategies/quickEdit/"+encodeURIComponent(String(e)),{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.listABTestExperimentUsingGET=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter entity was null or undefined when calling listABTestExperimentUsingGET.");if(null==t)throw new Error("Required parameter entityId was null or undefined when calling listABTestExperimentUsingGET.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.get(this.basePath+"/v2/api/strategies/abtest/list/"+encodeURIComponent(String(e))+"/"+encodeURIComponent(String(t)),{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.saveStrategyQuickEditDetailsUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling saveStrategyQuickEditDetailsUsingPOST.");if(null==t)throw new Error("Required parameter strategyQuickEditDTO was null or undefined when calling saveStrategyQuickEditDetailsUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["*/*"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/quickEdit/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateABTestExperimentStatusUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.");if(null==t)throw new Error("Required parameter status was null or undefined when calling updateABTestExperimentStatusUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));return this.httpClient.post(this.basePath+"/v2/api/strategies/abtest/updateStatus/"+encodeURIComponent(String(e))+"/"+encodeURIComponent(String(t)),null,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateABTestExperimentUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter abTestDTO was null or undefined when calling updateABTestExperimentUsingPOST.");if(null==t)throw new Error("Required parameter id was null or undefined when calling updateABTestExperimentUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/abtest/update/"+encodeURIComponent(String(t)),e,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.updateStrategyUsingPOST=function(e,t,n,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling updateStrategyUsingPOST.");if(null==t)throw new Error("Required parameter strategy was null or undefined when calling updateStrategyUsingPOST.");var s=this.defaultHeaders;null!=n&&(s=s.set("reqId",String(n))),null!=r&&(s=s.set("token",String(r)));var o=this.configuration.selectHeaderAccept(["application/json"]);null!=o&&(s=s.set("Accept",o));var l=this.configuration.selectHeaderContentType(["application/json"]);return null!=l&&(s=s.set("Content-Type",l)),this.httpClient.post(this.basePath+"/v2/api/strategies/"+encodeURIComponent(String(e)),t,{withCredentials:this.configuration.withCredentials,headers:s,observe:i,reportProgress:a})},e.prototype.validateGeosUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter geos was null or undefined when calling validateGeosUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/validategeos",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.validateSitesUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter sites was null or undefined when calling validateSitesUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["application/json"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/strategies/validatedomains",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),x=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.logUsingPOST=function(e,t,r,i,a,s){if(void 0===a&&(a="body"),void 0===s&&(s=!1),null==e)throw new Error("Required parameter logMsg was null or undefined when calling logUsingPOST.");var o=new n.HttpParams({encoder:new T});null!=t&&(o=o.set("logLevel",t));var l=this.defaultHeaders;null!=r&&(l=l.set("reqId",String(r))),null!=i&&(l=l.set("token",String(i)));var d=this.configuration.selectHeaderAccept(["*/*"]);null!=d&&(l=l.set("Accept",d));var p=this.configuration.selectHeaderContentType(["application/json"]);return null!=p&&(l=l.set("Content-Type",p)),this.httpClient.post(this.basePath+"/v2/logging",e,{params:o,withCredentials:this.configuration.withCredentials,headers:l,observe:a,reportProgress:s})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),B=function(){function e(e,t,r){this.httpClient=e,this.basePath="https://apiv2stage3.atomex.net",this.defaultHeaders=new n.HttpHeaders,this.configuration=new S,t&&(this.basePath=t),r&&(this.configuration=r,this.basePath=t||r.basePath||this.basePath)}return e.prototype.canConsumeForm=function(e){var t,n;try{for(var r=s(e),i=r.next();!i.done;i=r.next()){if("multipart/form-data"===i.value)return!0}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return!1},e.prototype.createUserPreferenceDataUsingPOST=function(e,t,n,r,i){if(void 0===r&&(r="body"),void 0===i&&(i=!1),null==e)throw new Error("Required parameter userPreferenceDto was null or undefined when calling createUserPreferenceDataUsingPOST.");var a=this.defaultHeaders;null!=t&&(a=a.set("reqId",String(t))),null!=n&&(a=a.set("token",String(n)));var s=this.configuration.selectHeaderAccept(["*/*"]);null!=s&&(a=a.set("Accept",s));var o=this.configuration.selectHeaderContentType(["application/json"]);return null!=o&&(a=a.set("Content-Type",o)),this.httpClient.post(this.basePath+"/v2/api/userpreference",e,{withCredentials:this.configuration.withCredentials,headers:a,observe:r,reportProgress:i})},e.prototype.deleteUserPreferenceDataUsingPOST=function(e,t,r,i,a){if(void 0===i&&(i="body"),void 0===a&&(a=!1),null==e)throw new Error("Required parameter id was null or undefined when calling deleteUserPreferenceDataUsingPOST.");var s=new n.HttpParams({encoder:new T});e&&e.forEach((function(e){s=s.append("id",e)}));var o=this.defaultHeaders;null!=t&&(o=o.set("reqId",String(t))),null!=r&&(o=o.set("token",String(r)));var l=this.configuration.selectHeaderAccept(["application/json"]);null!=l&&(o=o.set("Accept",l));return this.httpClient.post(this.basePath+"/v2/api/userpreference/delete",null,{params:s,withCredentials:this.configuration.withCredentials,headers:o,observe:i,reportProgress:a})},e.prototype.getUserPreferenceDataUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/userpreference",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.prototype.getUserPreferenceEntityUsingGET=function(e,t,n,r){void 0===n&&(n="body"),void 0===r&&(r=!1);var i=this.defaultHeaders;null!=e&&(i=i.set("reqId",String(e))),null!=t&&(i=i.set("token",String(t)));var a=this.configuration.selectHeaderAccept(["application/json"]);null!=a&&(i=i.set("Accept",a));return this.httpClient.get(this.basePath+"/v2/api/userPreferenceEntity",{withCredentials:this.configuration.withCredentials,headers:i,observe:n,reportProgress:r})},e.ctorParameters=function(){return[{type:n.HttpClient},{type:String,decorators:[{type:t.Optional},{type:t.Inject,args:[P]}]},{type:S,decorators:[{type:t.Optional}]}]},e=i([t.Injectable(),a(1,t.Optional()),a(1,t.Inject(P)),a(2,t.Optional())],e)}(),Y=[y,m,A,E,I,b,O,H,R,U,D,N,q,L,M,j,k,G,_,F,V,x,B];(e.ActivityLogsCreativeSetsBulkUpdateDTO||(e.ActivityLogsCreativeSetsBulkUpdateDTO={})).StatusEnum={PENDING:"PENDING",INPROGRESS:"IN_PROGRESS",FAILED:"FAILED",SUCCESS:"SUCCESS",PARTIALSUCCESS:"PARTIAL_SUCCESS"},(e.ActivityLogsStrategyBulkUpdateDTO||(e.ActivityLogsStrategyBulkUpdateDTO={})).StatusEnum={PENDING:"PENDING",INPROGRESS:"IN_PROGRESS",FAILED:"FAILED",SUCCESS:"SUCCESS",PARTIALSUCCESS:"PARTIAL_SUCCESS"},(o=e.AppSettingsDTO||(e.AppSettingsDTO={})).SettingsKeyEnum={LOGOLINK:"LOGO_LINK",FALLBACKIMGLINK:"FALLBACK_IMG_LINK",OVERLAYIMGLINK:"OVERLAY_IMG_LINK",DEFAULTLOGO:"DEFAULT_LOGO"},o.SettingsTypeEnum={BOOLEAN:"BOOLEAN",STRING:"STRING",JSON:"JSON",INTEGER:"INTEGER",DOUBLE:"DOUBLE",FLOAT:"FLOAT"},(e.AppSettingsPropertyDTO||(e.AppSettingsPropertyDTO={})).PropertyKeyEnum={DIMENSIONS:"DIMENSIONS"},(e.AuctionTypeEditField||(e.AuctionTypeEditField={})).ValueEnum={FIRST:"FIRST",SECOND:"SECOND",ALL:"ALL"},(e.AudienceBackfillQueryTemplateRequest||(e.AudienceBackfillQueryTemplateRequest={})).DurationUnitEnum={MINUTE:"MINUTE",HOUR:"HOUR",DAY:"DAY",WEEK:"WEEK",MONTH:"MONTH"},(l=e.AudienceDTO||(e.AudienceDTO={})).AudienceTypeEnum={WEBBROWSING:"WEB_BROWSING",MOBILEAPP:"MOBILE_APP",DMP:"DMP",CRM:"CRM",RULEBASED:"RULE_BASED",RULEBASEDBACKFILL:"RULE_BASED_BACKFILL",CRMEMAIL:"CRM_EMAIL",CRMPHONE:"CRM_PHONE",LOOKALIKEAUDIENCE:"LOOKALIKE_AUDIENCE",FACEBOOKID:"FACEBOOK_ID"},l.DurationUnitEnum={MINUTE:"MINUTE",HOUR:"HOUR",DAY:"DAY",WEEK:"WEEK",MONTH:"MONTH"},(e.AudienceESDTO||(e.AudienceESDTO={})).AudienceTypeEnum={WEBBROWSING:"WEB_BROWSING",MOBILEAPP:"MOBILE_APP",DMP:"DMP",CRM:"CRM",RULEBASED:"RULE_BASED",RULEBASEDBACKFILL:"RULE_BASED_BACKFILL",CRMEMAIL:"CRM_EMAIL",CRMPHONE:"CRM_PHONE",LOOKALIKEAUDIENCE:"LOOKALIKE_AUDIENCE",FACEBOOKID:"FACEBOOK_ID"},(e.AudiencePerformanceDTO||(e.AudiencePerformanceDTO={})).GenderEnum={MALE:"MALE",FEMALE:"FEMALE"},(e.BaseModelWithCreativeSetType||(e.BaseModelWithCreativeSetType={})).CreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(d=e.ClickDestination||(e.ClickDestination={})).CampaignTypeEnum={UA:"UA",RT:"RT"},d.GeneratedUrlTypeEnum={CLICK:"CLICK",S2S:"S2S",SKAD:"SKAD"},(e.CreativeCompactDTO||(e.CreativeCompactDTO={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(p=e.CreativeDTO||(e.CreativeDTO={})).ContentTypeEnum={ZIP:"ZIP",JPG:"JPG",JPEG:"JPEG",PNG:"PNG",GIF:"GIF",FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS",GZIP:"GZIP",TEXT:"TEXT",CSV:"CSV",UNKNOWN:"UNKNOWN"},p.TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},p.VideoUploadTypeEnum={VIDEO:"VIDEO",VASTWRAPPER:"VAST_WRAPPER"},(e.CreativeFileForSet||(e.CreativeFileForSet={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(e.CreativeFiles||(e.CreativeFiles={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(e.CreativeHtmlFileForSet||(e.CreativeHtmlFileForSet={})).TypeEnum={Image:"image",Html:"html",ZippedHTML:"zippedHTML",Video:"video",NativeAd:"nativeAd",NativeVideo:"nativeVideo",FbxImage:"fbxImage",Flash:"flash",FbNewsFeed:"fbNewsFeed",FbRightColumn:"fbRightColumn",FbAppInstall:"fbAppInstall",FbAppEngagement:"fbAppEngagement",ClickTracker:"clickTracker",FbxImageNewsFeed:"fbxImageNewsFeed"},(e.CreativeSetDashboardMetric||(e.CreativeSetDashboardMetric={})).CreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.CreativeSetDetails||(e.CreativeSetDetails={})).TypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.CreativeSetRequest||(e.CreativeSetRequest={})).CreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.CreativeSetResponse||(e.CreativeSetResponse={})).OtherCreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.DcoAttributesDTO||(e.DcoAttributesDTO={})).DcoAttributeEnum={Flash:"flash",Html:"html",Image:"image"},(e.DuplicateCreativeSetResponse||(e.DuplicateCreativeSetResponse={})).OtherCreativeSetTypeEnum={IMAGE:"IMAGE",VIDEO:"VIDEO",THIRDPARTYADTAGS:"THIRD_PARTY_AD_TAGS",ZIPPEDHTML:"ZIPPED_HTML",NATIVEIMAGE:"NATIVE_IMAGE",NATIVEVIDEO:"NATIVE_VIDEO",DYNAMICIMAGE:"DYNAMIC_IMAGE",DYNAMICMACRO:"DYNAMIC_MACRO",DYNAMICHTML:"DYNAMIC_HTML",DYNAMICVIDEO:"DYNAMIC_VIDEO"},(e.FilterModel||(e.FilterModel={})).OperatorEnum={Eq:"eq",In:"in",NotIn:"not_in"},(e.GeoListRequest||(e.GeoListRequest={})).GeoTypeEnum={COUNTRY:"COUNTRY",STATE:"STATE",CITY:"CITY"},(e.Macro||(e.Macro={})).MacroTypeEnum={Feed:"feed",Pixel:"pixel",Custom:"custom",Hybrid:"hybrid"},(u=e.MetaRuleDto||(e.MetaRuleDto={})).FilterTypeEnum={OPTIONS:"OPTIONS",TEXT:"TEXT"},u.ValueTypeEnum={INTEGER:"INTEGER",LONG:"LONG",FLOAT:"FLOAT",DOUBLE:"DOUBLE",STRING:"STRING"},(e.NotificationResponse||(e.NotificationResponse={})).TypeEnum={STATIC:"STATIC",ACTIONABLE:"ACTIONABLE"},(c=e.PixelDataFileDTO||(e.PixelDataFileDTO={})).CompressionTypeEnum={UNKNOWN:"UNKNOWN",NONE:"NONE",ZIP:"ZIP",GZIP:"GZIP",BZIP2:"BZIP2"},c.EncodingTypeEnum={NONE:"NONE",MD5:"MD5",SHA256:"SHA256"},c.SourceTypeEnum={PIXELLOG:"PIXEL_LOG",AUDIENCEFEED:"AUDIENCE_FEED",FILEUPLOAD:"FILE_UPLOAD"},c.StatusEnum={CREATED:"CREATED",POPPED:"POPPED",SUBMITTED:"SUBMITTED",SUBMITFAILED:"SUBMIT_FAILED",RUNNING:"RUNNING",PREPARATION:"PREPARATION",RETRYPENDING:"RETRY_PENDING",RETRIESOVER:"RETRIES_OVER",CONNECTIONFAILED:"CONNECTION_FAILED",AUTHFAILED:"AUTH_FAILED",FILENOTFOUND:"FILE_NOT_FOUND",DOWNLOADING:"DOWNLOADING",DOWNLOADED:"DOWNLOADED",DOWNLOADFAILED:"DOWNLOAD_FAILED",RULEPROCESSING:"RULE_PROCESSING",RULEPROCESSED:"RULE_PROCESSED",UPLOADING:"UPLOADING",UPLOADED:"UPLOADED",UPLOADFAILED:"UPLOAD_FAILED",UPLOADCOMPLETEDPARTIALLYFAILED:"UPLOAD_COMPLETED_PARTIALLY_FAILED",UPLOADFAILEDNOUSERMATCHED:"UPLOAD_FAILED_NO_USER_MATCHED",UPLOADPARTIALLYCOMPLETED:"UPLOAD_PARTIALLY_COMPLETED",UPLOADPARTIALLYFAILEDANDRUNNING:"UPLOAD_PARTIALLY_FAILED_AND_RUNNING",COMPLETED:"COMPLETED",URIERROR:"URI_ERROR",NETWORKFAILURE:"NETWORK_FAILURE",FILENOTMODIFIEDATSERVER:"FILE_NOT_MODIFIED_AT_SERVER",SAMEMD5SUM:"SAME_MD5SUM",SUCCESS:"SUCCESS",IOEXCEPTION:"IOEXCEPTION",INVALIDDATA:"INVALIDDATA",UNKNOWNPROTOCOL:"UNKNOWN_PROTOCOL",PROCESSINGFAILED:"PROCESSING_FAILED"},c.UserDataTypeEnum={WEBBROWSING:"WEB_BROWSING",MOBILEAPP:"MOBILE_APP",CRMEMAIL:"CRM_EMAIL",FACEBOOKID:"FACEBOOK_ID",CRMPHONE:"CRM_PHONE",LOOKALIKEAUDIENCE:"LOOKALIKE_AUDIENCE"},(h=e.RemoteFileDTO||(e.RemoteFileDTO={})).AuthMethodEnum={NONE:"NONE",LOGIN:"LOGIN",PRIVATEKEY:"PRIVATE_KEY"},h.ProtocolEnum={FTP:"FTP",SFTP:"SFTP",SSH:"SSH",HTTP:"HTTP",HTTPS:"HTTPS",FTPS:"FTPS"},(e.ReportProperty||(e.ReportProperty={})).TypeEnum={Object:"object",Number:"number",String:"string"},(g=e.ReportingRequest||(e.ReportingRequest={})).CurrencyOfEnum={Licensee:"licensee",Advertiser:"advertiser"},g.DbTypeEnum={REDSHIFT:"REDSHIFT",ELASTIC:"ELASTIC",POSTGRE:"POSTGRE"},g.IntervalEnum={None:"none",Hourly:"hourly",Daily:"daily",Weekly:"weekly",Monthly:"monthly"},(f=e.ReportingResponse||(e.ReportingResponse={})).CurrencyOfEnum={Licensee:"licensee",Advertiser:"advertiser"},f.IntervalEnum={None:"none",Hourly:"hourly",Daily:"daily",Weekly:"weekly",Monthly:"monthly"},(v=e.RuleDTO||(e.RuleDTO={})).DurationUnitEnum={MINUTE:"MINUTE",HOUR:"HOUR",DAY:"DAY",WEEK:"WEEK",MONTH:"MONTH"},v.OperatorEnum={AND:"AND",OR:"OR",NOT:"NOT"},(w=e.StrategyDTO||(e.StrategyDTO={})).AuctionTypeTargetingEnum={FIRST:"FIRST",SECOND:"SECOND",ALL:"ALL"},w.ConnectionTypesEnum={UNKNOWN:"UNKNOWN",ETHERNET:"ETHERNET",WIFI:"WIFI",CELLULARNETWORK:"CELLULAR_NETWORK",CELLULARNETWORK2G:"CELLULAR_NETWORK_2G",CELLULARNETWORK3G:"CELLULAR_NETWORK_3G",CELLULARNETWORK4G:"CELLULAR_NETWORK_4G",CELLULARNETWORK5G:"CELLULAR_NETWORK_5G"},w.GenderTargetingEnum={MALE:"MALE",FEMALE:"FEMALE"},w.ProductSelectionPolicyEnum={DEFAULT:"PS_DEFAULT",USERVIEW:"PS_USERVIEW",USERCATTS:"PS_USER_CAT_TS",ADVPRTS:"PS_ADV_PR_TS",ADVCATPRTS:"PS_ADV_CAT_PR_TS",DAYWEIGHTEDRANDOM:"PS_DAY_WEIGHTED_RANDOM",ADVPRCONTENTTS:"PS_ADV_PR_CONTENT_TS"},(e.StrategyQuickEditDTO||(e.StrategyQuickEditDTO={})).StrategyTypeEnum={Standard:"standard",ClickTracker:"clickTracker"},(e.TemplateVariablesDTO||(e.TemplateVariablesDTO={})).VariableTypeEnum={SELECT:"SELECT",INPUT:"INPUT",TEXTAREA:"TEXT_AREA",COLORPICKER:"COLOR_PICKER",POPUP:"POPUP",BOOLEAN:"BOOLEAN",NUMBER:"NUMBER"},(e.VastCreative||(e.VastCreative={})).VideoFormatEnum={FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS"},(C=e.VideoAttributes||(e.VideoAttributes={})).CompanionContentTypeEnum={ZIP:"ZIP",JPG:"JPG",JPEG:"JPEG",PNG:"PNG",GIF:"GIF",FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS",GZIP:"GZIP",TEXT:"TEXT",CSV:"CSV",UNKNOWN:"UNKNOWN"},C.CompanionTypeEnum={NOCOMPANION:"NO_COMPANION",COMPANIONIMAGE:"COMPANION_IMAGE",COMPANIONHTML:"COMPANION_HTML",COMPANIONIFRAME:"COMPANION_IFRAME",COMPANIONFLASH:"COMPANION_FLASH"},C.FormatEnum={FLV:"FLV",MP4:"MP4",THREEGPP:"THREE_GPP",MOV:"MOV",WEBM:"WEBM",DASH:"DASH",HLS:"HLS"},C.VastProtocolEnum={VAST1:"VAST_1",VAST2:"VAST_2",VAST3:"VAST_3",VAST1WRAPPER:"VAST_1_WRAPPER",VAST2WRAPPER:"VAST_2_WRAPPER",VAST3WRAPPER:"VAST_3_WRAPPER",VAST4:"VAST_4",VAST4WRAPPER:"VAST_4_WRAPPER",DAAST10:"DAAST_1_0",DAAST10WRAPPER:"DAAST_1_0_WRAPPER"},(e.VideoProperties||(e.VideoProperties={})).CampanionTypeEnum={NOCOMPANION:"NO_COMPANION",COMPANIONIMAGE:"COMPANION_IMAGE",COMPANIONHTML:"COMPANION_HTML",COMPANIONIFRAME:"COMPANION_IFRAME",COMPANIONFLASH:"COMPANION_FLASH"};var W=function(){function e(e,t){if(e)throw new Error("ApiModule is already loaded. Import in your base AppModule only.");if(!t)throw new Error("You need to import the HttpClientModule in your AppModule! \nSee also https://github.com/angular/angular/issues/20575")}var r;return r=e,e.forRoot=function(e){return{ngModule:r,providers:[{provide:S,useFactory:e}]}},e.ctorParameters=function(){return[{type:e,decorators:[{type:t.Optional},{type:t.SkipSelf}]},{type:n.HttpClient,decorators:[{type:t.Optional}]}]},e=r=i([t.NgModule({imports:[],declarations:[],exports:[],providers:[y,m,A,E,I,b,O,H,R,U,D,N,q,L,M,j,k,G,_,F,V,x,B]}),a(0,t.Optional()),a(0,t.SkipSelf()),a(1,t.Optional())],e)}();e.APIS=Y,e.AdminControllerService=y,e.AdvertiserControllerService=m,e.ApiModule=W,e.AppSettingsControllerService=A,e.AudienceControllerService=E,e.AuditControllerService=I,e.BASE_PATH=P,e.BulkStrategyControllerService=b,e.COLLECTION_FORMATS={csv:",",tsv:" ",ssv:" ",pipes:"|"},e.CSSThemeController_Service=O,e.CampaignControllerService=H,e.CatalogControllerService=R,e.ClickDestinationControllerService=U,e.Configuration=S,e.CreativeControllerService=D,e.CreativeSetsControllerService=N,e.CreativeTemplateThemesControllerService=q,e.CreativeTemplateVariablesControllerService=L,e.CreativeTemplatesControllerService=M,e.DashboardControllerService=j,e.NotificationsControllerService=k,e.PixelControllerService=G,e.ReportingControllerService=_,e.SliceXControllerService=F,e.StrategyControllerService=V,e.UILoggerControllerService=x,e.UserPreferenceControllerService=B,Object.defineProperty(e,"__esModule",{value:!0})}));
16
16
  //# sourceMappingURL=revxui-api-clients-ts.umd.min.js.map