@revxui/api-clients-ts 0.10.258 → 0.10.259
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.
- package/README.md +2 -2
- package/api/campaignController.service.d.ts +0 -14
- package/api/creativeSetsController.service.d.ts +15 -0
- package/bundles/revxui-api-clients-ts.umd.js +89 -59
- package/bundles/revxui-api-clients-ts.umd.js.map +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js +1 -1
- package/bundles/revxui-api-clients-ts.umd.min.js.map +1 -1
- package/esm2015/api/adminController.service.js +2 -2
- package/esm2015/api/advertiserController.service.js +2 -2
- package/esm2015/api/appSettingsController.service.js +2 -2
- package/esm2015/api/audienceController.service.js +2 -2
- package/esm2015/api/auditController.service.js +2 -2
- package/esm2015/api/bulkStrategyController.service.js +2 -2
- package/esm2015/api/cSSThemeController_.service.js +2 -2
- package/esm2015/api/campaignController.service.js +2 -36
- package/esm2015/api/catalogController.service.js +2 -2
- package/esm2015/api/clickDestinationController.service.js +2 -2
- package/esm2015/api/creativeController.service.js +2 -2
- package/esm2015/api/creativeSetsController.service.js +39 -2
- package/esm2015/api/creativeTemplateThemesController.service.js +2 -2
- package/esm2015/api/creativeTemplateVariablesController.service.js +2 -2
- package/esm2015/api/creativeTemplatesController.service.js +2 -2
- package/esm2015/api/dashboardController.service.js +2 -2
- package/esm2015/api/notificationsController.service.js +2 -2
- package/esm2015/api/pixelController.service.js +2 -2
- package/esm2015/api/reportingController.service.js +2 -2
- package/esm2015/api/sliceXController.service.js +2 -2
- package/esm2015/api/strategyController.service.js +2 -2
- package/esm2015/api/uILoggerController.service.js +2 -2
- package/esm2015/api/userPreferenceController.service.js +2 -2
- package/esm2015/model/apiResponseObjectDuplicateCreativeSetResponse.js +1 -0
- package/esm2015/model/campaignDTO.js +1 -1
- package/esm2015/model/clickDestination.js +1 -1
- package/esm2015/model/creativeDTO.js +1 -1
- package/esm2015/model/creativeSetRequest.js +1 -1
- package/esm2015/model/duplicateCreativeSetResponse.js +27 -0
- package/esm2015/model/duplicateCreativeSetsRequestDTO.js +1 -0
- package/esm2015/model/eligibleUsersRequest.js +1 -1
- package/esm2015/model/models.js +2 -1
- package/esm5/api/adminController.service.js +2 -2
- package/esm5/api/advertiserController.service.js +2 -2
- package/esm5/api/appSettingsController.service.js +2 -2
- package/esm5/api/audienceController.service.js +2 -2
- package/esm5/api/auditController.service.js +2 -2
- package/esm5/api/bulkStrategyController.service.js +2 -2
- package/esm5/api/cSSThemeController_.service.js +2 -2
- package/esm5/api/campaignController.service.js +2 -38
- package/esm5/api/catalogController.service.js +2 -2
- package/esm5/api/clickDestinationController.service.js +2 -2
- package/esm5/api/creativeController.service.js +2 -2
- package/esm5/api/creativeSetsController.service.js +41 -2
- package/esm5/api/creativeTemplateThemesController.service.js +2 -2
- package/esm5/api/creativeTemplateVariablesController.service.js +2 -2
- package/esm5/api/creativeTemplatesController.service.js +2 -2
- package/esm5/api/dashboardController.service.js +2 -2
- package/esm5/api/notificationsController.service.js +2 -2
- package/esm5/api/pixelController.service.js +2 -2
- package/esm5/api/reportingController.service.js +2 -2
- package/esm5/api/sliceXController.service.js +2 -2
- package/esm5/api/strategyController.service.js +2 -2
- package/esm5/api/uILoggerController.service.js +2 -2
- package/esm5/api/userPreferenceController.service.js +2 -2
- package/esm5/model/apiResponseObjectDuplicateCreativeSetResponse.js +1 -0
- package/esm5/model/campaignDTO.js +1 -1
- package/esm5/model/clickDestination.js +1 -1
- package/esm5/model/creativeDTO.js +1 -1
- package/esm5/model/creativeSetRequest.js +1 -1
- package/esm5/model/duplicateCreativeSetResponse.js +27 -0
- package/esm5/model/duplicateCreativeSetsRequestDTO.js +1 -0
- package/esm5/model/eligibleUsersRequest.js +1 -1
- package/esm5/model/models.js +2 -1
- package/fesm2015/revxui-api-clients-ts.js +88 -58
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +90 -60
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/{apiListResponseIncrementalityReportResponse.d.ts → apiResponseObjectDuplicateCreativeSetResponse.d.ts} +5 -4
- package/model/campaignDTO.d.ts +0 -4
- package/model/clickDestination.d.ts +0 -1
- package/model/creativeDTO.d.ts +0 -3
- package/model/creativeSetRequest.d.ts +0 -1
- package/model/duplicateCreativeSetResponse.d.ts +33 -0
- package/model/duplicateCreativeSetsRequestDTO.d.ts +21 -0
- package/model/eligibleUsersRequest.d.ts +1 -0
- package/model/models.d.ts +3 -3
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
- package/esm2015/model/apiListResponseIncrementalityReportResponse.js +0 -1
- package/esm2015/model/incrementalityReportDTO.js +0 -1
- package/esm2015/model/incrementalityReportResponse.js +0 -12
- package/esm5/model/apiListResponseIncrementalityReportResponse.js +0 -1
- package/esm5/model/incrementalityReportDTO.js +0 -1
- package/esm5/model/incrementalityReportResponse.js +0 -12
- package/model/incrementalityReportDTO.d.ts +0 -19
- package/model/incrementalityReportResponse.d.ts +0 -24
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @revxui/api-clients-ts@0.10.
|
|
1
|
+
## @revxui/api-clients-ts@0.10.259
|
|
2
2
|
|
|
3
3
|
### Building
|
|
4
4
|
|
|
@@ -19,7 +19,7 @@ Navigate to the folder of your consuming project and run one of next commands.
|
|
|
19
19
|
_published:_
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
npm install @revxui/api-clients-ts@0.10.
|
|
22
|
+
npm install @revxui/api-clients-ts@0.10.259 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -11,12 +11,10 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
13
13
|
import { Observable } from 'rxjs';
|
|
14
|
-
import { ApiListResponseIncrementalityReportResponse } from '../model/apiListResponseIncrementalityReportResponse';
|
|
15
14
|
import { ApiResponseObjectCampaignDTO } from '../model/apiResponseObjectCampaignDTO';
|
|
16
15
|
import { ApiResponseObjectListCampaignDTO } from '../model/apiResponseObjectListCampaignDTO';
|
|
17
16
|
import { ApiResponseObjectMapintResponseMessage } from '../model/apiResponseObjectMapintResponseMessage';
|
|
18
17
|
import { CampaignDTO } from '../model/campaignDTO';
|
|
19
|
-
import { IncrementalityReportDTO } from '../model/incrementalityReportDTO';
|
|
20
18
|
import { Configuration } from '../configuration';
|
|
21
19
|
export declare class CampaignControllerService {
|
|
22
20
|
protected httpClient: HttpClient;
|
|
@@ -92,18 +90,6 @@ export declare class CampaignControllerService {
|
|
|
92
90
|
getCampaignByIdUsingGET(id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectCampaignDTO>;
|
|
93
91
|
getCampaignByIdUsingGET(id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectCampaignDTO>>;
|
|
94
92
|
getCampaignByIdUsingGET(id: number, refresh?: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectCampaignDTO>>;
|
|
95
|
-
/**
|
|
96
|
-
* Api to fetch incrementality report
|
|
97
|
-
*
|
|
98
|
-
* @param incrementalityReportDTO incrementalityReportDTO
|
|
99
|
-
* @param reqId request id
|
|
100
|
-
* @param token Auth Token
|
|
101
|
-
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
102
|
-
* @param reportProgress flag to report request and response progress.
|
|
103
|
-
*/
|
|
104
|
-
incrementalityReportUsingPOST(incrementalityReportDTO: IncrementalityReportDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiListResponseIncrementalityReportResponse>;
|
|
105
|
-
incrementalityReportUsingPOST(incrementalityReportDTO: IncrementalityReportDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiListResponseIncrementalityReportResponse>>;
|
|
106
|
-
incrementalityReportUsingPOST(incrementalityReportDTO: IncrementalityReportDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiListResponseIncrementalityReportResponse>>;
|
|
107
93
|
/**
|
|
108
94
|
* Api to update Campaign
|
|
109
95
|
*
|
|
@@ -17,8 +17,10 @@ import { ApiResponseObjectCreativeSetDetails } from '../model/apiResponseObjectC
|
|
|
17
17
|
import { ApiResponseObjectCreativeSetResponse } from '../model/apiResponseObjectCreativeSetResponse';
|
|
18
18
|
import { ApiResponseObjectDashboardMetrics } from '../model/apiResponseObjectDashboardMetrics';
|
|
19
19
|
import { ApiResponseObjectDashboardResponse } from '../model/apiResponseObjectDashboardResponse';
|
|
20
|
+
import { ApiResponseObjectDuplicateCreativeSetResponse } from '../model/apiResponseObjectDuplicateCreativeSetResponse';
|
|
20
21
|
import { CreativeSetRequest } from '../model/creativeSetRequest';
|
|
21
22
|
import { DashboardRequest } from '../model/dashboardRequest';
|
|
23
|
+
import { DuplicateCreativeSetsRequestDTO } from '../model/duplicateCreativeSetsRequestDTO';
|
|
22
24
|
import { Configuration } from '../configuration';
|
|
23
25
|
export declare class CreativeSetsControllerService {
|
|
24
26
|
protected httpClient: HttpClient;
|
|
@@ -43,6 +45,19 @@ export declare class CreativeSetsControllerService {
|
|
|
43
45
|
createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectCreativeSetResponse>;
|
|
44
46
|
createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectCreativeSetResponse>>;
|
|
45
47
|
createUsingPOST(creativeSetRequest: CreativeSetRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectCreativeSetResponse>>;
|
|
48
|
+
/**
|
|
49
|
+
* Api to duplicate creative sets
|
|
50
|
+
*
|
|
51
|
+
* @param dto dto
|
|
52
|
+
* @param id id
|
|
53
|
+
* @param reqId request id
|
|
54
|
+
* @param token Auth Token
|
|
55
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
56
|
+
* @param reportProgress flag to report request and response progress.
|
|
57
|
+
*/
|
|
58
|
+
duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDuplicateCreativeSetResponse>;
|
|
59
|
+
duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDuplicateCreativeSetResponse>>;
|
|
60
|
+
duplicateCreativeSetsUsingPOST(dto: DuplicateCreativeSetsRequestDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDuplicateCreativeSetResponse>>;
|
|
46
61
|
/**
|
|
47
62
|
* Api to get creative sets dimension details
|
|
48
63
|
*
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
var AdminControllerService = /** @class */ (function () {
|
|
309
309
|
function AdminControllerService(httpClient, basePath, configuration) {
|
|
310
310
|
this.httpClient = httpClient;
|
|
311
|
-
this.basePath = 'https://
|
|
311
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
312
312
|
this.defaultHeaders = new http.HttpHeaders();
|
|
313
313
|
this.configuration = new Configuration();
|
|
314
314
|
if (basePath) {
|
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
var AdvertiserControllerService = /** @class */ (function () {
|
|
526
526
|
function AdvertiserControllerService(httpClient, basePath, configuration) {
|
|
527
527
|
this.httpClient = httpClient;
|
|
528
|
-
this.basePath = 'https://
|
|
528
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
529
529
|
this.defaultHeaders = new http.HttpHeaders();
|
|
530
530
|
this.configuration = new Configuration();
|
|
531
531
|
if (basePath) {
|
|
@@ -971,7 +971,7 @@
|
|
|
971
971
|
var AppSettingsControllerService = /** @class */ (function () {
|
|
972
972
|
function AppSettingsControllerService(httpClient, basePath, configuration) {
|
|
973
973
|
this.httpClient = httpClient;
|
|
974
|
-
this.basePath = 'https://
|
|
974
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
975
975
|
this.defaultHeaders = new http.HttpHeaders();
|
|
976
976
|
this.configuration = new Configuration();
|
|
977
977
|
if (basePath) {
|
|
@@ -1141,7 +1141,7 @@
|
|
|
1141
1141
|
var AudienceControllerService = /** @class */ (function () {
|
|
1142
1142
|
function AudienceControllerService(httpClient, basePath, configuration) {
|
|
1143
1143
|
this.httpClient = httpClient;
|
|
1144
|
-
this.basePath = 'https://
|
|
1144
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1145
1145
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1146
1146
|
this.configuration = new Configuration();
|
|
1147
1147
|
if (basePath) {
|
|
@@ -1864,7 +1864,7 @@
|
|
|
1864
1864
|
var AuditControllerService = /** @class */ (function () {
|
|
1865
1865
|
function AuditControllerService(httpClient, basePath, configuration) {
|
|
1866
1866
|
this.httpClient = httpClient;
|
|
1867
|
-
this.basePath = 'https://
|
|
1867
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
1868
1868
|
this.defaultHeaders = new http.HttpHeaders();
|
|
1869
1869
|
this.configuration = new Configuration();
|
|
1870
1870
|
if (basePath) {
|
|
@@ -2063,7 +2063,7 @@
|
|
|
2063
2063
|
var BulkStrategyControllerService = /** @class */ (function () {
|
|
2064
2064
|
function BulkStrategyControllerService(httpClient, basePath, configuration) {
|
|
2065
2065
|
this.httpClient = httpClient;
|
|
2066
|
-
this.basePath = 'https://
|
|
2066
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2067
2067
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2068
2068
|
this.configuration = new Configuration();
|
|
2069
2069
|
if (basePath) {
|
|
@@ -2306,7 +2306,7 @@
|
|
|
2306
2306
|
var CSSThemeController_Service = /** @class */ (function () {
|
|
2307
2307
|
function CSSThemeController_Service(httpClient, basePath, configuration) {
|
|
2308
2308
|
this.httpClient = httpClient;
|
|
2309
|
-
this.basePath = 'https://
|
|
2309
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2310
2310
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2311
2311
|
this.configuration = new Configuration();
|
|
2312
2312
|
if (basePath) {
|
|
@@ -2427,7 +2427,7 @@
|
|
|
2427
2427
|
var CampaignControllerService = /** @class */ (function () {
|
|
2428
2428
|
function CampaignControllerService(httpClient, basePath, configuration) {
|
|
2429
2429
|
this.httpClient = httpClient;
|
|
2430
|
-
this.basePath = 'https://
|
|
2430
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2431
2431
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2432
2432
|
this.configuration = new Configuration();
|
|
2433
2433
|
if (basePath) {
|
|
@@ -2648,42 +2648,6 @@
|
|
|
2648
2648
|
reportProgress: reportProgress
|
|
2649
2649
|
});
|
|
2650
2650
|
};
|
|
2651
|
-
CampaignControllerService.prototype.incrementalityReportUsingPOST = function (incrementalityReportDTO, reqId, token, observe, reportProgress) {
|
|
2652
|
-
if (observe === void 0) { observe = 'body'; }
|
|
2653
|
-
if (reportProgress === void 0) { reportProgress = false; }
|
|
2654
|
-
if (incrementalityReportDTO === null || incrementalityReportDTO === undefined) {
|
|
2655
|
-
throw new Error('Required parameter incrementalityReportDTO was null or undefined when calling incrementalityReportUsingPOST.');
|
|
2656
|
-
}
|
|
2657
|
-
var headers = this.defaultHeaders;
|
|
2658
|
-
if (reqId !== undefined && reqId !== null) {
|
|
2659
|
-
headers = headers.set('reqId', String(reqId));
|
|
2660
|
-
}
|
|
2661
|
-
if (token !== undefined && token !== null) {
|
|
2662
|
-
headers = headers.set('token', String(token));
|
|
2663
|
-
}
|
|
2664
|
-
// to determine the Accept header
|
|
2665
|
-
var httpHeaderAccepts = [
|
|
2666
|
-
'application/json'
|
|
2667
|
-
];
|
|
2668
|
-
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
2669
|
-
if (httpHeaderAcceptSelected != undefined) {
|
|
2670
|
-
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
2671
|
-
}
|
|
2672
|
-
// to determine the Content-Type header
|
|
2673
|
-
var consumes = [
|
|
2674
|
-
'application/json'
|
|
2675
|
-
];
|
|
2676
|
-
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
2677
|
-
if (httpContentTypeSelected != undefined) {
|
|
2678
|
-
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
2679
|
-
}
|
|
2680
|
-
return this.httpClient.post(this.basePath + "/v2/api/campaigns/incrementalityreport", incrementalityReportDTO, {
|
|
2681
|
-
withCredentials: this.configuration.withCredentials,
|
|
2682
|
-
headers: headers,
|
|
2683
|
-
observe: observe,
|
|
2684
|
-
reportProgress: reportProgress
|
|
2685
|
-
});
|
|
2686
|
-
};
|
|
2687
2651
|
CampaignControllerService.prototype.updateCampaignUsingPOST = function (campaign, id, reqId, token, observe, reportProgress) {
|
|
2688
2652
|
if (observe === void 0) { observe = 'body'; }
|
|
2689
2653
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -2749,7 +2713,7 @@
|
|
|
2749
2713
|
var CatalogControllerService = /** @class */ (function () {
|
|
2750
2714
|
function CatalogControllerService(httpClient, basePath, configuration) {
|
|
2751
2715
|
this.httpClient = httpClient;
|
|
2752
|
-
this.basePath = 'https://
|
|
2716
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2753
2717
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2754
2718
|
this.configuration = new Configuration();
|
|
2755
2719
|
if (basePath) {
|
|
@@ -2972,7 +2936,7 @@
|
|
|
2972
2936
|
var ClickDestinationControllerService = /** @class */ (function () {
|
|
2973
2937
|
function ClickDestinationControllerService(httpClient, basePath, configuration) {
|
|
2974
2938
|
this.httpClient = httpClient;
|
|
2975
|
-
this.basePath = 'https://
|
|
2939
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
2976
2940
|
this.defaultHeaders = new http.HttpHeaders();
|
|
2977
2941
|
this.configuration = new Configuration();
|
|
2978
2942
|
if (basePath) {
|
|
@@ -3222,7 +3186,7 @@
|
|
|
3222
3186
|
var CreativeControllerService = /** @class */ (function () {
|
|
3223
3187
|
function CreativeControllerService(httpClient, basePath, configuration) {
|
|
3224
3188
|
this.httpClient = httpClient;
|
|
3225
|
-
this.basePath = 'https://
|
|
3189
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3226
3190
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3227
3191
|
this.configuration = new Configuration();
|
|
3228
3192
|
if (basePath) {
|
|
@@ -3699,7 +3663,7 @@
|
|
|
3699
3663
|
var CreativeSetsControllerService = /** @class */ (function () {
|
|
3700
3664
|
function CreativeSetsControllerService(httpClient, basePath, configuration) {
|
|
3701
3665
|
this.httpClient = httpClient;
|
|
3702
|
-
this.basePath = 'https://
|
|
3666
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
3703
3667
|
this.defaultHeaders = new http.HttpHeaders();
|
|
3704
3668
|
this.configuration = new Configuration();
|
|
3705
3669
|
if (basePath) {
|
|
@@ -3770,6 +3734,45 @@
|
|
|
3770
3734
|
reportProgress: reportProgress
|
|
3771
3735
|
});
|
|
3772
3736
|
};
|
|
3737
|
+
CreativeSetsControllerService.prototype.duplicateCreativeSetsUsingPOST = function (dto, id, reqId, token, observe, reportProgress) {
|
|
3738
|
+
if (observe === void 0) { observe = 'body'; }
|
|
3739
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
3740
|
+
if (dto === null || dto === undefined) {
|
|
3741
|
+
throw new Error('Required parameter dto was null or undefined when calling duplicateCreativeSetsUsingPOST.');
|
|
3742
|
+
}
|
|
3743
|
+
if (id === null || id === undefined) {
|
|
3744
|
+
throw new Error('Required parameter id was null or undefined when calling duplicateCreativeSetsUsingPOST.');
|
|
3745
|
+
}
|
|
3746
|
+
var headers = this.defaultHeaders;
|
|
3747
|
+
if (reqId !== undefined && reqId !== null) {
|
|
3748
|
+
headers = headers.set('reqId', String(reqId));
|
|
3749
|
+
}
|
|
3750
|
+
if (token !== undefined && token !== null) {
|
|
3751
|
+
headers = headers.set('token', String(token));
|
|
3752
|
+
}
|
|
3753
|
+
// to determine the Accept header
|
|
3754
|
+
var httpHeaderAccepts = [
|
|
3755
|
+
'application/json'
|
|
3756
|
+
];
|
|
3757
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
3758
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
3759
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
3760
|
+
}
|
|
3761
|
+
// to determine the Content-Type header
|
|
3762
|
+
var consumes = [
|
|
3763
|
+
'application/json'
|
|
3764
|
+
];
|
|
3765
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
3766
|
+
if (httpContentTypeSelected != undefined) {
|
|
3767
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
3768
|
+
}
|
|
3769
|
+
return this.httpClient.post(this.basePath + "/v2/api/creativesets/duplicate/" + encodeURIComponent(String(id)), dto, {
|
|
3770
|
+
withCredentials: this.configuration.withCredentials,
|
|
3771
|
+
headers: headers,
|
|
3772
|
+
observe: observe,
|
|
3773
|
+
reportProgress: reportProgress
|
|
3774
|
+
});
|
|
3775
|
+
};
|
|
3773
3776
|
CreativeSetsControllerService.prototype.getAdvertiserDynamicDetailsUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
|
|
3774
3777
|
if (observe === void 0) { observe = 'body'; }
|
|
3775
3778
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -4034,7 +4037,7 @@
|
|
|
4034
4037
|
var CreativeTemplateThemesControllerService = /** @class */ (function () {
|
|
4035
4038
|
function CreativeTemplateThemesControllerService(httpClient, basePath, configuration) {
|
|
4036
4039
|
this.httpClient = httpClient;
|
|
4037
|
-
this.basePath = 'https://
|
|
4040
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4038
4041
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4039
4042
|
this.configuration = new Configuration();
|
|
4040
4043
|
if (basePath) {
|
|
@@ -4235,7 +4238,7 @@
|
|
|
4235
4238
|
var CreativeTemplateVariablesControllerService = /** @class */ (function () {
|
|
4236
4239
|
function CreativeTemplateVariablesControllerService(httpClient, basePath, configuration) {
|
|
4237
4240
|
this.httpClient = httpClient;
|
|
4238
|
-
this.basePath = 'https://
|
|
4241
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4239
4242
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4240
4243
|
this.configuration = new Configuration();
|
|
4241
4244
|
if (basePath) {
|
|
@@ -4323,7 +4326,7 @@
|
|
|
4323
4326
|
var CreativeTemplatesControllerService = /** @class */ (function () {
|
|
4324
4327
|
function CreativeTemplatesControllerService(httpClient, basePath, configuration) {
|
|
4325
4328
|
this.httpClient = httpClient;
|
|
4326
|
-
this.basePath = 'https://
|
|
4329
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4327
4330
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4328
4331
|
this.configuration = new Configuration();
|
|
4329
4332
|
if (basePath) {
|
|
@@ -4502,7 +4505,7 @@
|
|
|
4502
4505
|
var DashboardControllerService = /** @class */ (function () {
|
|
4503
4506
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4504
4507
|
this.httpClient = httpClient;
|
|
4505
|
-
this.basePath = 'https://
|
|
4508
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4506
4509
|
this.defaultHeaders = new http.HttpHeaders();
|
|
4507
4510
|
this.configuration = new Configuration();
|
|
4508
4511
|
if (basePath) {
|
|
@@ -5159,7 +5162,7 @@
|
|
|
5159
5162
|
var NotificationsControllerService = /** @class */ (function () {
|
|
5160
5163
|
function NotificationsControllerService(httpClient, basePath, configuration) {
|
|
5161
5164
|
this.httpClient = httpClient;
|
|
5162
|
-
this.basePath = 'https://
|
|
5165
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5163
5166
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5164
5167
|
this.configuration = new Configuration();
|
|
5165
5168
|
if (basePath) {
|
|
@@ -5358,7 +5361,7 @@
|
|
|
5358
5361
|
var PixelControllerService = /** @class */ (function () {
|
|
5359
5362
|
function PixelControllerService(httpClient, basePath, configuration) {
|
|
5360
5363
|
this.httpClient = httpClient;
|
|
5361
|
-
this.basePath = 'https://
|
|
5364
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5362
5365
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5363
5366
|
this.configuration = new Configuration();
|
|
5364
5367
|
if (basePath) {
|
|
@@ -5687,7 +5690,7 @@
|
|
|
5687
5690
|
var ReportingControllerService = /** @class */ (function () {
|
|
5688
5691
|
function ReportingControllerService(httpClient, basePath, configuration) {
|
|
5689
5692
|
this.httpClient = httpClient;
|
|
5690
|
-
this.basePath = 'https://
|
|
5693
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5691
5694
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5692
5695
|
this.configuration = new Configuration();
|
|
5693
5696
|
if (basePath) {
|
|
@@ -5871,7 +5874,7 @@
|
|
|
5871
5874
|
var SliceXControllerService = /** @class */ (function () {
|
|
5872
5875
|
function SliceXControllerService(httpClient, basePath, configuration) {
|
|
5873
5876
|
this.httpClient = httpClient;
|
|
5874
|
-
this.basePath = 'https://
|
|
5877
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
5875
5878
|
this.defaultHeaders = new http.HttpHeaders();
|
|
5876
5879
|
this.configuration = new Configuration();
|
|
5877
5880
|
if (basePath) {
|
|
@@ -6056,7 +6059,7 @@
|
|
|
6056
6059
|
var StrategyControllerService = /** @class */ (function () {
|
|
6057
6060
|
function StrategyControllerService(httpClient, basePath, configuration) {
|
|
6058
6061
|
this.httpClient = httpClient;
|
|
6059
|
-
this.basePath = 'https://
|
|
6062
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6060
6063
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6061
6064
|
this.configuration = new Configuration();
|
|
6062
6065
|
if (basePath) {
|
|
@@ -6717,7 +6720,7 @@
|
|
|
6717
6720
|
var UILoggerControllerService = /** @class */ (function () {
|
|
6718
6721
|
function UILoggerControllerService(httpClient, basePath, configuration) {
|
|
6719
6722
|
this.httpClient = httpClient;
|
|
6720
|
-
this.basePath = 'https://
|
|
6723
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6721
6724
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6722
6725
|
this.configuration = new Configuration();
|
|
6723
6726
|
if (basePath) {
|
|
@@ -6819,7 +6822,7 @@
|
|
|
6819
6822
|
var UserPreferenceControllerService = /** @class */ (function () {
|
|
6820
6823
|
function UserPreferenceControllerService(httpClient, basePath, configuration) {
|
|
6821
6824
|
this.httpClient = httpClient;
|
|
6822
|
-
this.basePath = 'https://
|
|
6825
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
6823
6826
|
this.defaultHeaders = new http.HttpHeaders();
|
|
6824
6827
|
this.configuration = new Configuration();
|
|
6825
6828
|
if (basePath) {
|
|
@@ -7390,6 +7393,33 @@
|
|
|
7390
7393
|
};
|
|
7391
7394
|
})(exports.DcoAttributesDTO || (exports.DcoAttributesDTO = {}));
|
|
7392
7395
|
|
|
7396
|
+
/**
|
|
7397
|
+
* Api Documentation
|
|
7398
|
+
* Api Documentation
|
|
7399
|
+
*
|
|
7400
|
+
* OpenAPI spec version: 1.0
|
|
7401
|
+
*
|
|
7402
|
+
*
|
|
7403
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
7404
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
7405
|
+
* Do not edit the class manually.
|
|
7406
|
+
*/
|
|
7407
|
+
|
|
7408
|
+
(function (DuplicateCreativeSetResponse) {
|
|
7409
|
+
DuplicateCreativeSetResponse.OtherCreativeSetTypeEnum = {
|
|
7410
|
+
IMAGE: 'IMAGE',
|
|
7411
|
+
VIDEO: 'VIDEO',
|
|
7412
|
+
THIRDPARTYADTAGS: 'THIRD_PARTY_AD_TAGS',
|
|
7413
|
+
ZIPPEDHTML: 'ZIPPED_HTML',
|
|
7414
|
+
NATIVEIMAGE: 'NATIVE_IMAGE',
|
|
7415
|
+
NATIVEVIDEO: 'NATIVE_VIDEO',
|
|
7416
|
+
DYNAMICIMAGE: 'DYNAMIC_IMAGE',
|
|
7417
|
+
DYNAMICMACRO: 'DYNAMIC_MACRO',
|
|
7418
|
+
DYNAMICHTML: 'DYNAMIC_HTML',
|
|
7419
|
+
DYNAMICVIDEO: 'DYNAMIC_VIDEO'
|
|
7420
|
+
};
|
|
7421
|
+
})(exports.DuplicateCreativeSetResponse || (exports.DuplicateCreativeSetResponse = {}));
|
|
7422
|
+
|
|
7393
7423
|
/**
|
|
7394
7424
|
* Api Documentation
|
|
7395
7425
|
* Api Documentation
|