@revxui/api-clients-ts 0.10.338 → 0.10.339
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/api.d.ts +3 -1
- package/api/appSettingsController.service.d.ts +39 -0
- package/api/customerReportingController.service.d.ts +40 -0
- package/bundles/revxui-api-clients-ts.umd.js +213 -1
- 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/api.js +4 -2
- package/esm2015/api/appSettingsController.service.js +90 -1
- package/esm2015/api/customerReportingController.service.js +87 -0
- package/esm2015/api.module.js +3 -1
- package/esm2015/model/advertiserDynamicVideoConfig.js +2 -0
- package/esm2015/model/apiResponseObjectAdvertiserDynamicVideoConfig.js +2 -0
- package/esm2015/model/apiResponseObjectListDynamicVideoTemplate.js +2 -0
- package/esm2015/model/customerReportingData.js +13 -0
- package/esm2015/model/customerReportingDataListResponse.js +2 -0
- package/esm2015/model/customerReportingRequest.js +13 -0
- package/esm2015/model/customerReportingResponse.js +2 -0
- package/esm2015/model/dynamicVideoConfigDTO.js +30 -0
- package/esm2015/model/dynamicVideoDTO.js +2 -0
- package/esm2015/model/dynamicVideoTemplate.js +2 -0
- package/esm2015/model/models.js +12 -1
- package/esm2015/model/nameAndTitleModel.js +13 -0
- package/fesm2015/revxui-api-clients-ts.js +240 -2
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/model/advertiserDynamicVideoConfig.d.ts +19 -0
- package/model/apiResponseObjectAdvertiserDynamicVideoConfig.d.ts +17 -0
- package/model/apiResponseObjectListDynamicVideoTemplate.d.ts +17 -0
- package/model/customerReportingData.d.ts +20 -0
- package/model/customerReportingDataListResponse.d.ts +15 -0
- package/model/customerReportingRequest.d.ts +18 -0
- package/model/customerReportingResponse.d.ts +17 -0
- package/model/dynamicVideoConfigDTO.d.ts +34 -0
- package/model/dynamicVideoDTO.d.ts +16 -0
- package/model/dynamicVideoTemplate.d.ts +18 -0
- package/model/models.d.ts +11 -0
- package/model/nameAndTitleModel.d.ts +15 -0
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @revxui/api-clients-ts@0.10.
|
|
1
|
+
## @revxui/api-clients-ts@0.10.339
|
|
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.339 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
package/api/api.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export * from './creativeTemplateVariablesController.service';
|
|
|
28
28
|
import { CreativeTemplateVariablesControllerService } from './creativeTemplateVariablesController.service';
|
|
29
29
|
export * from './creativeTemplatesController.service';
|
|
30
30
|
import { CreativeTemplatesControllerService } from './creativeTemplatesController.service';
|
|
31
|
+
export * from './customerReportingController.service';
|
|
32
|
+
import { CustomerReportingControllerService } from './customerReportingController.service';
|
|
31
33
|
export * from './dashboardController.service';
|
|
32
34
|
import { DashboardControllerService } from './dashboardController.service';
|
|
33
35
|
export * from './notificationsController.service';
|
|
@@ -44,4 +46,4 @@ export * from './uILoggerController.service';
|
|
|
44
46
|
import { UILoggerControllerService } from './uILoggerController.service';
|
|
45
47
|
export * from './userPreferenceController.service';
|
|
46
48
|
import { UserPreferenceControllerService } from './userPreferenceController.service';
|
|
47
|
-
export declare const APIS: (typeof AdminControllerService | typeof AdvertiserControllerService | typeof AppSettingsControllerService | typeof AudienceControllerService | typeof AuditControllerService | typeof BulkStrategyControllerService | typeof CSSThemeController_Service | typeof CampaignControllerService | typeof CatalogControllerService | typeof ClickDestinationControllerService | typeof CreativeControllerService | typeof CreativeSetsControllerService | typeof CreativeTemplateThemesControllerService | typeof CreativeTemplateVariablesControllerService | typeof CreativeTemplatesControllerService | typeof DashboardControllerService | typeof NotificationsControllerService | typeof PixelControllerService | typeof ReportingControllerService | typeof SliceXControllerService | typeof StrategyControllerService | typeof UILoggerControllerService | typeof UserPreferenceControllerService)[];
|
|
49
|
+
export declare const APIS: (typeof AdminControllerService | typeof AdvertiserControllerService | typeof AppSettingsControllerService | typeof AudienceControllerService | typeof AuditControllerService | typeof BulkStrategyControllerService | typeof CSSThemeController_Service | typeof CampaignControllerService | typeof CatalogControllerService | typeof ClickDestinationControllerService | typeof CreativeControllerService | typeof CreativeSetsControllerService | typeof CreativeTemplateThemesControllerService | typeof CreativeTemplateVariablesControllerService | typeof CreativeTemplatesControllerService | typeof CustomerReportingControllerService | typeof DashboardControllerService | typeof NotificationsControllerService | typeof PixelControllerService | typeof ReportingControllerService | typeof SliceXControllerService | typeof StrategyControllerService | typeof UILoggerControllerService | typeof UserPreferenceControllerService)[];
|
|
@@ -11,8 +11,12 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
13
13
|
import { Observable } from 'rxjs';
|
|
14
|
+
import { ApiResponseObjectAdvertiserDynamicVideoConfig } from '../model/apiResponseObjectAdvertiserDynamicVideoConfig';
|
|
14
15
|
import { ApiResponseObjectListAppSettingsDTO } from '../model/apiResponseObjectListAppSettingsDTO';
|
|
16
|
+
import { ApiResponseObjectListDynamicVideoTemplate } from '../model/apiResponseObjectListDynamicVideoTemplate';
|
|
17
|
+
import { ApiResponseObjectResponseMessage } from '../model/apiResponseObjectResponseMessage';
|
|
15
18
|
import { AppSettingsDTO } from '../model/appSettingsDTO';
|
|
19
|
+
import { DynamicVideoDTO } from '../model/dynamicVideoDTO';
|
|
16
20
|
import { Configuration } from '../configuration';
|
|
17
21
|
export declare class AppSettingsControllerService {
|
|
18
22
|
protected httpClient: HttpClient;
|
|
@@ -37,6 +41,29 @@ export declare class AppSettingsControllerService {
|
|
|
37
41
|
createAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAppSettingsDTO>;
|
|
38
42
|
createAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAppSettingsDTO>>;
|
|
39
43
|
createAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAppSettingsDTO>>;
|
|
44
|
+
/**
|
|
45
|
+
* Api to fetch sample dynamic video templates
|
|
46
|
+
*
|
|
47
|
+
* @param reqId request id
|
|
48
|
+
* @param token Auth Token
|
|
49
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
50
|
+
* @param reportProgress flag to report request and response progress.
|
|
51
|
+
*/
|
|
52
|
+
fetchAllDynamicVideoTemplatesUsingGET(reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListDynamicVideoTemplate>;
|
|
53
|
+
fetchAllDynamicVideoTemplatesUsingGET(reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListDynamicVideoTemplate>>;
|
|
54
|
+
fetchAllDynamicVideoTemplatesUsingGET(reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListDynamicVideoTemplate>>;
|
|
55
|
+
/**
|
|
56
|
+
* Api to fetch dynamic video config for given advertiserid
|
|
57
|
+
*
|
|
58
|
+
* @param advertiserId advertiserId
|
|
59
|
+
* @param reqId request id
|
|
60
|
+
* @param token Auth Token
|
|
61
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
62
|
+
* @param reportProgress flag to report request and response progress.
|
|
63
|
+
*/
|
|
64
|
+
fetchDynamicVideoConfigUsingGET(advertiserId?: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectAdvertiserDynamicVideoConfig>;
|
|
65
|
+
fetchDynamicVideoConfigUsingGET(advertiserId?: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectAdvertiserDynamicVideoConfig>>;
|
|
66
|
+
fetchDynamicVideoConfigUsingGET(advertiserId?: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectAdvertiserDynamicVideoConfig>>;
|
|
40
67
|
/**
|
|
41
68
|
* Api to get App Settings
|
|
42
69
|
*
|
|
@@ -62,4 +89,16 @@ export declare class AppSettingsControllerService {
|
|
|
62
89
|
updateAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectListAppSettingsDTO>;
|
|
63
90
|
updateAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectListAppSettingsDTO>>;
|
|
64
91
|
updateAppSettingsUsingPOST(appSettings: Array<AppSettingsDTO>, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectListAppSettingsDTO>>;
|
|
92
|
+
/**
|
|
93
|
+
* Api to upsert dynamic video
|
|
94
|
+
*
|
|
95
|
+
* @param dynamicVideoDTO dynamicVideoDTO
|
|
96
|
+
* @param reqId request id
|
|
97
|
+
* @param token Auth Token
|
|
98
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
99
|
+
* @param reportProgress flag to report request and response progress.
|
|
100
|
+
*/
|
|
101
|
+
upsertDynamicVideoUsingPOST(dynamicVideoDTO: DynamicVideoDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectResponseMessage>;
|
|
102
|
+
upsertDynamicVideoUsingPOST(dynamicVideoDTO: DynamicVideoDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectResponseMessage>>;
|
|
103
|
+
upsertDynamicVideoUsingPOST(dynamicVideoDTO: DynamicVideoDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectResponseMessage>>;
|
|
65
104
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
13
|
+
import { Observable } from 'rxjs';
|
|
14
|
+
import { CustomerReportingRequest } from '../model/customerReportingRequest';
|
|
15
|
+
import { CustomerReportingResponse } from '../model/customerReportingResponse';
|
|
16
|
+
import { Configuration } from '../configuration';
|
|
17
|
+
export declare class CustomerReportingControllerService {
|
|
18
|
+
protected httpClient: HttpClient;
|
|
19
|
+
protected basePath: string;
|
|
20
|
+
defaultHeaders: HttpHeaders;
|
|
21
|
+
configuration: Configuration;
|
|
22
|
+
constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
|
|
23
|
+
/**
|
|
24
|
+
* @param consumes string[] mime-types
|
|
25
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
26
|
+
*/
|
|
27
|
+
private canConsumeForm;
|
|
28
|
+
/**
|
|
29
|
+
* API to fetch customer report data
|
|
30
|
+
*
|
|
31
|
+
* @param customerReportingRequest customerReportingRequest
|
|
32
|
+
* @param reqId request id
|
|
33
|
+
* @param token Auth Token
|
|
34
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
35
|
+
* @param reportProgress flag to report request and response progress.
|
|
36
|
+
*/
|
|
37
|
+
customerReportUsingPOST(customerReportingRequest: CustomerReportingRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<CustomerReportingResponse>;
|
|
38
|
+
customerReportUsingPOST(customerReportingRequest: CustomerReportingRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<CustomerReportingResponse>>;
|
|
39
|
+
customerReportUsingPOST(customerReportingRequest: CustomerReportingRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<CustomerReportingResponse>>;
|
|
40
|
+
}
|
|
@@ -1080,6 +1080,65 @@
|
|
|
1080
1080
|
reportProgress: reportProgress
|
|
1081
1081
|
});
|
|
1082
1082
|
};
|
|
1083
|
+
AppSettingsControllerService.prototype.fetchAllDynamicVideoTemplatesUsingGET = function (reqId, token, observe, reportProgress) {
|
|
1084
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1085
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1086
|
+
var headers = this.defaultHeaders;
|
|
1087
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1088
|
+
headers = headers.set('reqId', String(reqId));
|
|
1089
|
+
}
|
|
1090
|
+
if (token !== undefined && token !== null) {
|
|
1091
|
+
headers = headers.set('token', String(token));
|
|
1092
|
+
}
|
|
1093
|
+
// to determine the Accept header
|
|
1094
|
+
var httpHeaderAccepts = [
|
|
1095
|
+
'application/json'
|
|
1096
|
+
];
|
|
1097
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1098
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1099
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1100
|
+
}
|
|
1101
|
+
// to determine the Content-Type header
|
|
1102
|
+
var consumes = [];
|
|
1103
|
+
return this.httpClient.get(this.basePath + "/v2/api/appsettings/dynamicvideo/templates", {
|
|
1104
|
+
withCredentials: this.configuration.withCredentials,
|
|
1105
|
+
headers: headers,
|
|
1106
|
+
observe: observe,
|
|
1107
|
+
reportProgress: reportProgress
|
|
1108
|
+
});
|
|
1109
|
+
};
|
|
1110
|
+
AppSettingsControllerService.prototype.fetchDynamicVideoConfigUsingGET = function (advertiserId, reqId, token, observe, reportProgress) {
|
|
1111
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1112
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1113
|
+
var queryParameters = new http.HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
1114
|
+
if (advertiserId !== undefined && advertiserId !== null) {
|
|
1115
|
+
queryParameters = queryParameters.set('advertiserId', advertiserId);
|
|
1116
|
+
}
|
|
1117
|
+
var headers = this.defaultHeaders;
|
|
1118
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1119
|
+
headers = headers.set('reqId', String(reqId));
|
|
1120
|
+
}
|
|
1121
|
+
if (token !== undefined && token !== null) {
|
|
1122
|
+
headers = headers.set('token', String(token));
|
|
1123
|
+
}
|
|
1124
|
+
// to determine the Accept header
|
|
1125
|
+
var httpHeaderAccepts = [
|
|
1126
|
+
'application/json'
|
|
1127
|
+
];
|
|
1128
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1129
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1130
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1131
|
+
}
|
|
1132
|
+
// to determine the Content-Type header
|
|
1133
|
+
var consumes = [];
|
|
1134
|
+
return this.httpClient.get(this.basePath + "/v2/api/appsettings/dynamicvideo/config", {
|
|
1135
|
+
params: queryParameters,
|
|
1136
|
+
withCredentials: this.configuration.withCredentials,
|
|
1137
|
+
headers: headers,
|
|
1138
|
+
observe: observe,
|
|
1139
|
+
reportProgress: reportProgress
|
|
1140
|
+
});
|
|
1141
|
+
};
|
|
1083
1142
|
AppSettingsControllerService.prototype.getAppSettingsUsingGET = function (advertiserId, reqId, settingsKeys, token, observe, reportProgress) {
|
|
1084
1143
|
if (observe === void 0) { observe = 'body'; }
|
|
1085
1144
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -1153,6 +1212,42 @@
|
|
|
1153
1212
|
reportProgress: reportProgress
|
|
1154
1213
|
});
|
|
1155
1214
|
};
|
|
1215
|
+
AppSettingsControllerService.prototype.upsertDynamicVideoUsingPOST = function (dynamicVideoDTO, reqId, token, observe, reportProgress) {
|
|
1216
|
+
if (observe === void 0) { observe = 'body'; }
|
|
1217
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
1218
|
+
if (dynamicVideoDTO === null || dynamicVideoDTO === undefined) {
|
|
1219
|
+
throw new Error('Required parameter dynamicVideoDTO was null or undefined when calling upsertDynamicVideoUsingPOST.');
|
|
1220
|
+
}
|
|
1221
|
+
var headers = this.defaultHeaders;
|
|
1222
|
+
if (reqId !== undefined && reqId !== null) {
|
|
1223
|
+
headers = headers.set('reqId', String(reqId));
|
|
1224
|
+
}
|
|
1225
|
+
if (token !== undefined && token !== null) {
|
|
1226
|
+
headers = headers.set('token', String(token));
|
|
1227
|
+
}
|
|
1228
|
+
// to determine the Accept header
|
|
1229
|
+
var httpHeaderAccepts = [
|
|
1230
|
+
'application/json'
|
|
1231
|
+
];
|
|
1232
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
1233
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
1234
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
1235
|
+
}
|
|
1236
|
+
// to determine the Content-Type header
|
|
1237
|
+
var consumes = [
|
|
1238
|
+
'application/json'
|
|
1239
|
+
];
|
|
1240
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
1241
|
+
if (httpContentTypeSelected != undefined) {
|
|
1242
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
1243
|
+
}
|
|
1244
|
+
return this.httpClient.post(this.basePath + "/v2/api/appsettings/dynamicvideo/upsert", dynamicVideoDTO, {
|
|
1245
|
+
withCredentials: this.configuration.withCredentials,
|
|
1246
|
+
headers: headers,
|
|
1247
|
+
observe: observe,
|
|
1248
|
+
reportProgress: reportProgress
|
|
1249
|
+
});
|
|
1250
|
+
};
|
|
1156
1251
|
return AppSettingsControllerService;
|
|
1157
1252
|
}());
|
|
1158
1253
|
AppSettingsControllerService.decorators = [
|
|
@@ -4648,6 +4743,91 @@
|
|
|
4648
4743
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
4649
4744
|
]; };
|
|
4650
4745
|
|
|
4746
|
+
var CustomerReportingControllerService = /** @class */ (function () {
|
|
4747
|
+
function CustomerReportingControllerService(httpClient, basePath, configuration) {
|
|
4748
|
+
this.httpClient = httpClient;
|
|
4749
|
+
this.basePath = 'https://apiv2stage3.atomex.net';
|
|
4750
|
+
this.defaultHeaders = new http.HttpHeaders();
|
|
4751
|
+
this.configuration = new Configuration();
|
|
4752
|
+
if (basePath) {
|
|
4753
|
+
this.basePath = basePath;
|
|
4754
|
+
}
|
|
4755
|
+
if (configuration) {
|
|
4756
|
+
this.configuration = configuration;
|
|
4757
|
+
this.basePath = basePath || configuration.basePath || this.basePath;
|
|
4758
|
+
}
|
|
4759
|
+
}
|
|
4760
|
+
/**
|
|
4761
|
+
* @param consumes string[] mime-types
|
|
4762
|
+
* @return true: consumes contains 'multipart/form-data', false: otherwise
|
|
4763
|
+
*/
|
|
4764
|
+
CustomerReportingControllerService.prototype.canConsumeForm = function (consumes) {
|
|
4765
|
+
var e_1, _a;
|
|
4766
|
+
var form = 'multipart/form-data';
|
|
4767
|
+
try {
|
|
4768
|
+
for (var consumes_1 = __values(consumes), consumes_1_1 = consumes_1.next(); !consumes_1_1.done; consumes_1_1 = consumes_1.next()) {
|
|
4769
|
+
var consume = consumes_1_1.value;
|
|
4770
|
+
if (form === consume) {
|
|
4771
|
+
return true;
|
|
4772
|
+
}
|
|
4773
|
+
}
|
|
4774
|
+
}
|
|
4775
|
+
catch (e_1_1) { e_1 = { error: e_1_1 }; }
|
|
4776
|
+
finally {
|
|
4777
|
+
try {
|
|
4778
|
+
if (consumes_1_1 && !consumes_1_1.done && (_a = consumes_1.return)) _a.call(consumes_1);
|
|
4779
|
+
}
|
|
4780
|
+
finally { if (e_1) throw e_1.error; }
|
|
4781
|
+
}
|
|
4782
|
+
return false;
|
|
4783
|
+
};
|
|
4784
|
+
CustomerReportingControllerService.prototype.customerReportUsingPOST = function (customerReportingRequest, reqId, token, observe, reportProgress) {
|
|
4785
|
+
if (observe === void 0) { observe = 'body'; }
|
|
4786
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
4787
|
+
if (customerReportingRequest === null || customerReportingRequest === undefined) {
|
|
4788
|
+
throw new Error('Required parameter customerReportingRequest was null or undefined when calling customerReportUsingPOST.');
|
|
4789
|
+
}
|
|
4790
|
+
var headers = this.defaultHeaders;
|
|
4791
|
+
if (reqId !== undefined && reqId !== null) {
|
|
4792
|
+
headers = headers.set('reqId', String(reqId));
|
|
4793
|
+
}
|
|
4794
|
+
if (token !== undefined && token !== null) {
|
|
4795
|
+
headers = headers.set('token', String(token));
|
|
4796
|
+
}
|
|
4797
|
+
// to determine the Accept header
|
|
4798
|
+
var httpHeaderAccepts = [
|
|
4799
|
+
'application/json'
|
|
4800
|
+
];
|
|
4801
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
4802
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
4803
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
4804
|
+
}
|
|
4805
|
+
// to determine the Content-Type header
|
|
4806
|
+
var consumes = [
|
|
4807
|
+
'application/json'
|
|
4808
|
+
];
|
|
4809
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
4810
|
+
if (httpContentTypeSelected != undefined) {
|
|
4811
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
4812
|
+
}
|
|
4813
|
+
return this.httpClient.post(this.basePath + "/v2/api/creport/aliexpress", customerReportingRequest, {
|
|
4814
|
+
withCredentials: this.configuration.withCredentials,
|
|
4815
|
+
headers: headers,
|
|
4816
|
+
observe: observe,
|
|
4817
|
+
reportProgress: reportProgress
|
|
4818
|
+
});
|
|
4819
|
+
};
|
|
4820
|
+
return CustomerReportingControllerService;
|
|
4821
|
+
}());
|
|
4822
|
+
CustomerReportingControllerService.decorators = [
|
|
4823
|
+
{ type: core.Injectable }
|
|
4824
|
+
];
|
|
4825
|
+
CustomerReportingControllerService.ctorParameters = function () { return [
|
|
4826
|
+
{ type: http.HttpClient },
|
|
4827
|
+
{ type: String, decorators: [{ type: core.Optional }, { type: core.Inject, args: [BASE_PATH,] }] },
|
|
4828
|
+
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
4829
|
+
]; };
|
|
4830
|
+
|
|
4651
4831
|
var DashboardControllerService = /** @class */ (function () {
|
|
4652
4832
|
function DashboardControllerService(httpClient, basePath, configuration) {
|
|
4653
4833
|
this.httpClient = httpClient;
|
|
@@ -7181,7 +7361,7 @@
|
|
|
7181
7361
|
{ type: Configuration, decorators: [{ type: core.Optional }] }
|
|
7182
7362
|
]; };
|
|
7183
7363
|
|
|
7184
|
-
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
7364
|
+
var APIS = [AdminControllerService, AdvertiserControllerService, AppSettingsControllerService, AudienceControllerService, AuditControllerService, BulkStrategyControllerService, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestinationControllerService, CreativeControllerService, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, CustomerReportingControllerService, DashboardControllerService, NotificationsControllerService, PixelControllerService, ReportingControllerService, SliceXControllerService, StrategyControllerService, UILoggerControllerService, UserPreferenceControllerService];
|
|
7185
7365
|
|
|
7186
7366
|
exports.ActivityLogsCreativeSetsBulkUpdateDTO = void 0;
|
|
7187
7367
|
(function (ActivityLogsCreativeSetsBulkUpdateDTO) {
|
|
@@ -7651,6 +7831,36 @@
|
|
|
7651
7831
|
};
|
|
7652
7832
|
})(exports.DuplicateCreativeSetResponse || (exports.DuplicateCreativeSetResponse = {}));
|
|
7653
7833
|
|
|
7834
|
+
/**
|
|
7835
|
+
* Api Documentation
|
|
7836
|
+
* Api Documentation
|
|
7837
|
+
*
|
|
7838
|
+
* OpenAPI spec version: 1.0
|
|
7839
|
+
*
|
|
7840
|
+
*
|
|
7841
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
7842
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
7843
|
+
* Do not edit the class manually.
|
|
7844
|
+
*/
|
|
7845
|
+
exports.DynamicVideoConfigDTO = void 0;
|
|
7846
|
+
(function (DynamicVideoConfigDTO) {
|
|
7847
|
+
DynamicVideoConfigDTO.ConfigKeyEnum = {
|
|
7848
|
+
TEMPLATEID: 'TEMPLATE_ID',
|
|
7849
|
+
LOGO: 'LOGO',
|
|
7850
|
+
SALEPRICEPREFIX: 'SALE_PRICE_PREFIX',
|
|
7851
|
+
ORIGINALPRICEPREFIX: 'ORIGINAL_PRICE_PREFIX',
|
|
7852
|
+
CTA: 'CTA',
|
|
7853
|
+
TITLELENGTH: 'TITLE_LENGTH',
|
|
7854
|
+
TITLEROWS: 'TITLE_ROWS',
|
|
7855
|
+
DISCOUNTSUFFIX: 'DISCOUNT_SUFFIX',
|
|
7856
|
+
FONT: 'FONT',
|
|
7857
|
+
ROUNDPRICE: 'ROUND_PRICE',
|
|
7858
|
+
MUSICFILE: 'MUSIC_FILE',
|
|
7859
|
+
VIDEOFILE: 'VIDEO_FILE',
|
|
7860
|
+
USERESIZER: 'USE_RESIZER'
|
|
7861
|
+
};
|
|
7862
|
+
})(exports.DynamicVideoConfigDTO || (exports.DynamicVideoConfigDTO = {}));
|
|
7863
|
+
|
|
7654
7864
|
/**
|
|
7655
7865
|
* Api Documentation
|
|
7656
7866
|
* Api Documentation
|
|
@@ -8124,6 +8334,7 @@
|
|
|
8124
8334
|
CreativeTemplateThemesControllerService,
|
|
8125
8335
|
CreativeTemplateVariablesControllerService,
|
|
8126
8336
|
CreativeTemplatesControllerService,
|
|
8337
|
+
CustomerReportingControllerService,
|
|
8127
8338
|
DashboardControllerService,
|
|
8128
8339
|
NotificationsControllerService,
|
|
8129
8340
|
PixelControllerService,
|
|
@@ -8164,6 +8375,7 @@
|
|
|
8164
8375
|
exports.CreativeTemplateThemesControllerService = CreativeTemplateThemesControllerService;
|
|
8165
8376
|
exports.CreativeTemplateVariablesControllerService = CreativeTemplateVariablesControllerService;
|
|
8166
8377
|
exports.CreativeTemplatesControllerService = CreativeTemplatesControllerService;
|
|
8378
|
+
exports.CustomerReportingControllerService = CustomerReportingControllerService;
|
|
8167
8379
|
exports.DashboardControllerService = DashboardControllerService;
|
|
8168
8380
|
exports.NotificationsControllerService = NotificationsControllerService;
|
|
8169
8381
|
exports.PixelControllerService = PixelControllerService;
|