@revxui/api-clients-ts 0.10.216 → 0.10.217
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/strategyController.service.d.ts +67 -0
- package/bundles/revxui-api-clients-ts.umd.js +173 -0
- 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/strategyController.service.js +164 -1
- package/esm2015/model/aBTestDTO.js +1 -0
- package/esm2015/model/apiListResponseABTestDTO.js +1 -0
- package/esm2015/model/apiResponseObjectABTestDTO.js +1 -0
- package/esm2015/model/apiResponseObjectlong.js +12 -0
- package/esm2015/model/models.js +1 -1
- package/esm5/api/strategyController.service.js +174 -1
- package/esm5/model/aBTestDTO.js +1 -0
- package/esm5/model/apiListResponseABTestDTO.js +1 -0
- package/esm5/model/apiResponseObjectABTestDTO.js +1 -0
- package/esm5/model/apiResponseObjectlong.js +12 -0
- package/esm5/model/models.js +1 -1
- package/fesm2015/revxui-api-clients-ts.js +163 -0
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +173 -0
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/aBTestDTO.d.ts +32 -0
- package/model/apiListResponseABTestDTO.d.ts +16 -0
- package/model/apiResponseObjectABTestDTO.d.ts +17 -0
- package/model/apiResponseObjectlong.d.ts +16 -0
- package/model/models.d.ts +4 -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.217
|
|
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.217 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -11,12 +11,16 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
13
13
|
import { Observable } from 'rxjs';
|
|
14
|
+
import { ABTestDTO } from '../model/aBTestDTO';
|
|
15
|
+
import { ApiListResponseABTestDTO } from '../model/apiListResponseABTestDTO';
|
|
16
|
+
import { ApiResponseObjectABTestDTO } from '../model/apiResponseObjectABTestDTO';
|
|
14
17
|
import { ApiResponseObjectGeoListDTO } from '../model/apiResponseObjectGeoListDTO';
|
|
15
18
|
import { ApiResponseObjectMaplongResponseMessage } from '../model/apiResponseObjectMaplongResponseMessage';
|
|
16
19
|
import { ApiResponseObjectSiteListDTO } from '../model/apiResponseObjectSiteListDTO';
|
|
17
20
|
import { ApiResponseObjectStrategyCreativeAssociationResponseDTO } from '../model/apiResponseObjectStrategyCreativeAssociationResponseDTO';
|
|
18
21
|
import { ApiResponseObjectStrategyDTO } from '../model/apiResponseObjectStrategyDTO';
|
|
19
22
|
import { ApiResponseObjectStrategyQuickEditDTO } from '../model/apiResponseObjectStrategyQuickEditDTO';
|
|
23
|
+
import { ApiResponseObjectlong } from '../model/apiResponseObjectlong';
|
|
20
24
|
import { ApiResponseObjectstring } from '../model/apiResponseObjectstring';
|
|
21
25
|
import { DuplicateStrategyRequestDTO } from '../model/duplicateStrategyRequestDTO';
|
|
22
26
|
import { GeoListRequest } from '../model/geoListRequest';
|
|
@@ -60,6 +64,18 @@ export declare class StrategyControllerService {
|
|
|
60
64
|
associateCreativesWithStrategiesUsingPOST(request: StrategyCreativeAssociationRequestDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyCreativeAssociationResponseDTO>;
|
|
61
65
|
associateCreativesWithStrategiesUsingPOST(request: StrategyCreativeAssociationRequestDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyCreativeAssociationResponseDTO>>;
|
|
62
66
|
associateCreativesWithStrategiesUsingPOST(request: StrategyCreativeAssociationRequestDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyCreativeAssociationResponseDTO>>;
|
|
67
|
+
/**
|
|
68
|
+
* API to create AB Test experiment
|
|
69
|
+
*
|
|
70
|
+
* @param abTestDTO abTestDTO
|
|
71
|
+
* @param reqId request id
|
|
72
|
+
* @param token Auth Token
|
|
73
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
74
|
+
* @param reportProgress flag to report request and response progress.
|
|
75
|
+
*/
|
|
76
|
+
createABTestExperimentUsingPOST(abTestDTO: ABTestDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectABTestDTO>;
|
|
77
|
+
createABTestExperimentUsingPOST(abTestDTO: ABTestDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectABTestDTO>>;
|
|
78
|
+
createABTestExperimentUsingPOST(abTestDTO: ABTestDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectABTestDTO>>;
|
|
63
79
|
/**
|
|
64
80
|
* Api to create Strategy
|
|
65
81
|
*
|
|
@@ -97,6 +113,18 @@ export declare class StrategyControllerService {
|
|
|
97
113
|
duplicateStrategyUsingPOST(dto: DuplicateStrategyRequestDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyDTO>;
|
|
98
114
|
duplicateStrategyUsingPOST(dto: DuplicateStrategyRequestDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyDTO>>;
|
|
99
115
|
duplicateStrategyUsingPOST(dto: DuplicateStrategyRequestDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyDTO>>;
|
|
116
|
+
/**
|
|
117
|
+
* API to get an AB Test experiment details
|
|
118
|
+
*
|
|
119
|
+
* @param id id
|
|
120
|
+
* @param reqId request id
|
|
121
|
+
* @param token Auth Token
|
|
122
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
123
|
+
* @param reportProgress flag to report request and response progress.
|
|
124
|
+
*/
|
|
125
|
+
getABTestExperimentUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectABTestDTO>;
|
|
126
|
+
getABTestExperimentUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectABTestDTO>>;
|
|
127
|
+
getABTestExperimentUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectABTestDTO>>;
|
|
100
128
|
/**
|
|
101
129
|
* API to fetch settings for a SKAD Strategy
|
|
102
130
|
*
|
|
@@ -133,6 +161,19 @@ export declare class StrategyControllerService {
|
|
|
133
161
|
getStrategyQuickEditDetailsUsingGET(id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyQuickEditDTO>;
|
|
134
162
|
getStrategyQuickEditDetailsUsingGET(id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyQuickEditDTO>>;
|
|
135
163
|
getStrategyQuickEditDetailsUsingGET(id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyQuickEditDTO>>;
|
|
164
|
+
/**
|
|
165
|
+
* API to list AB Test experiment under the specified entity
|
|
166
|
+
*
|
|
167
|
+
* @param entity entity
|
|
168
|
+
* @param entityId entityId
|
|
169
|
+
* @param reqId request id
|
|
170
|
+
* @param token Auth Token
|
|
171
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
172
|
+
* @param reportProgress flag to report request and response progress.
|
|
173
|
+
*/
|
|
174
|
+
listABTestExperimentUsingGET(entity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE', entityId: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiListResponseABTestDTO>;
|
|
175
|
+
listABTestExperimentUsingGET(entity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE', entityId: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiListResponseABTestDTO>>;
|
|
176
|
+
listABTestExperimentUsingGET(entity: 'LICENSEE' | 'ADVERTISER' | 'CAMPAIGN' | 'STRATEGY' | 'CREATIVE' | 'AGGREGATOR' | 'AUDIENCE' | 'APP_AUDIENCE' | 'WEB_AUDIENCE' | 'DMP_AUDIENCE' | 'PIXEL' | 'SITE' | 'COUNTRY' | 'STATE' | 'CITY' | 'OS' | 'PRICING' | 'CURRENCY' | 'LANGUAGE' | 'TIMEZONE' | 'CATEGORY' | 'MMP' | 'CDTYPE' | 'CDSUBTYPE' | 'DEVICE' | 'DELIVERY_PRIORITY' | 'PACING_TYPE' | 'OS_VERSION' | 'DEVICE_MODEL' | 'DEVICE_BRAND' | 'SOURCE_TYPE' | 'PLATFORM' | 'APP_CATEGORY' | 'BROWSER' | 'CALL_TO_ACTION' | 'CREATIVE_SIZE' | 'DEAL_CATEGORY' | 'ADVERTISER_REGION' | 'CLICK_DESTINATION' | 'ADVERTISER_LOGO' | 'LOSS_REASON_CODES' | 'CREATIVE_SET' | 'USER_FREQUENCY_BUCKET_MAPPING' | 'CREATIVE_SET_TYPE', entityId: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiListResponseABTestDTO>>;
|
|
136
177
|
/**
|
|
137
178
|
* Api to update Startegy Quick Edit Details by Id
|
|
138
179
|
*
|
|
@@ -146,6 +187,32 @@ export declare class StrategyControllerService {
|
|
|
146
187
|
saveStrategyQuickEditDetailsUsingPOST(id: number, strategyQuickEditDTO: StrategyQuickEditDTO, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectStrategyDTO>;
|
|
147
188
|
saveStrategyQuickEditDetailsUsingPOST(id: number, strategyQuickEditDTO: StrategyQuickEditDTO, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectStrategyDTO>>;
|
|
148
189
|
saveStrategyQuickEditDetailsUsingPOST(id: number, strategyQuickEditDTO: StrategyQuickEditDTO, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectStrategyDTO>>;
|
|
190
|
+
/**
|
|
191
|
+
* API to update AB Test experiment
|
|
192
|
+
*
|
|
193
|
+
* @param id id
|
|
194
|
+
* @param status status
|
|
195
|
+
* @param reqId request id
|
|
196
|
+
* @param token Auth Token
|
|
197
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
198
|
+
* @param reportProgress flag to report request and response progress.
|
|
199
|
+
*/
|
|
200
|
+
updateABTestExperimentStatusUsingPOST(id: number, status: boolean, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectlong>;
|
|
201
|
+
updateABTestExperimentStatusUsingPOST(id: number, status: boolean, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectlong>>;
|
|
202
|
+
updateABTestExperimentStatusUsingPOST(id: number, status: boolean, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectlong>>;
|
|
203
|
+
/**
|
|
204
|
+
* API to update AB Test experiment
|
|
205
|
+
*
|
|
206
|
+
* @param abTestDTO abTestDTO
|
|
207
|
+
* @param id id
|
|
208
|
+
* @param reqId request id
|
|
209
|
+
* @param token Auth Token
|
|
210
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
211
|
+
* @param reportProgress flag to report request and response progress.
|
|
212
|
+
*/
|
|
213
|
+
updateABTestExperimentUsingPOST(abTestDTO: ABTestDTO, id: number, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectABTestDTO>;
|
|
214
|
+
updateABTestExperimentUsingPOST(abTestDTO: ABTestDTO, id: number, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectABTestDTO>>;
|
|
215
|
+
updateABTestExperimentUsingPOST(abTestDTO: ABTestDTO, id: number, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectABTestDTO>>;
|
|
149
216
|
/**
|
|
150
217
|
* Api to update Strategy
|
|
151
218
|
*
|
|
@@ -6057,6 +6057,42 @@
|
|
|
6057
6057
|
reportProgress: reportProgress
|
|
6058
6058
|
});
|
|
6059
6059
|
};
|
|
6060
|
+
StrategyControllerService.prototype.createABTestExperimentUsingPOST = function (abTestDTO, reqId, token, observe, reportProgress) {
|
|
6061
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6062
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6063
|
+
if (abTestDTO === null || abTestDTO === undefined) {
|
|
6064
|
+
throw new Error('Required parameter abTestDTO was null or undefined when calling createABTestExperimentUsingPOST.');
|
|
6065
|
+
}
|
|
6066
|
+
var headers = this.defaultHeaders;
|
|
6067
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6068
|
+
headers = headers.set('reqId', String(reqId));
|
|
6069
|
+
}
|
|
6070
|
+
if (token !== undefined && token !== null) {
|
|
6071
|
+
headers = headers.set('token', String(token));
|
|
6072
|
+
}
|
|
6073
|
+
// to determine the Accept header
|
|
6074
|
+
var httpHeaderAccepts = [
|
|
6075
|
+
'application/json'
|
|
6076
|
+
];
|
|
6077
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6078
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6079
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6080
|
+
}
|
|
6081
|
+
// to determine the Content-Type header
|
|
6082
|
+
var consumes = [
|
|
6083
|
+
'application/json'
|
|
6084
|
+
];
|
|
6085
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6086
|
+
if (httpContentTypeSelected != undefined) {
|
|
6087
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6088
|
+
}
|
|
6089
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/create", abTestDTO, {
|
|
6090
|
+
withCredentials: this.configuration.withCredentials,
|
|
6091
|
+
headers: headers,
|
|
6092
|
+
observe: observe,
|
|
6093
|
+
reportProgress: reportProgress
|
|
6094
|
+
});
|
|
6095
|
+
};
|
|
6060
6096
|
StrategyControllerService.prototype.createStrategyUsingPOST = function (strategy, reqId, token, observe, reportProgress) {
|
|
6061
6097
|
if (observe === void 0) { observe = 'body'; }
|
|
6062
6098
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -6169,6 +6205,36 @@
|
|
|
6169
6205
|
reportProgress: reportProgress
|
|
6170
6206
|
});
|
|
6171
6207
|
};
|
|
6208
|
+
StrategyControllerService.prototype.getABTestExperimentUsingGET = function (id, reqId, token, observe, reportProgress) {
|
|
6209
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6210
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6211
|
+
if (id === null || id === undefined) {
|
|
6212
|
+
throw new Error('Required parameter id was null or undefined when calling getABTestExperimentUsingGET.');
|
|
6213
|
+
}
|
|
6214
|
+
var headers = this.defaultHeaders;
|
|
6215
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6216
|
+
headers = headers.set('reqId', String(reqId));
|
|
6217
|
+
}
|
|
6218
|
+
if (token !== undefined && token !== null) {
|
|
6219
|
+
headers = headers.set('token', String(token));
|
|
6220
|
+
}
|
|
6221
|
+
// to determine the Accept header
|
|
6222
|
+
var httpHeaderAccepts = [
|
|
6223
|
+
'application/json'
|
|
6224
|
+
];
|
|
6225
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6226
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6227
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6228
|
+
}
|
|
6229
|
+
// to determine the Content-Type header
|
|
6230
|
+
var consumes = [];
|
|
6231
|
+
return this.httpClient.get(this.basePath + "/v2/api/strategies/abtest/" + encodeURIComponent(String(id)), {
|
|
6232
|
+
withCredentials: this.configuration.withCredentials,
|
|
6233
|
+
headers: headers,
|
|
6234
|
+
observe: observe,
|
|
6235
|
+
reportProgress: reportProgress
|
|
6236
|
+
});
|
|
6237
|
+
};
|
|
6172
6238
|
StrategyControllerService.prototype.getSkadSettingsUsingGET = function (reqId, token, observe, reportProgress) {
|
|
6173
6239
|
if (observe === void 0) { observe = 'body'; }
|
|
6174
6240
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -6261,6 +6327,39 @@
|
|
|
6261
6327
|
reportProgress: reportProgress
|
|
6262
6328
|
});
|
|
6263
6329
|
};
|
|
6330
|
+
StrategyControllerService.prototype.listABTestExperimentUsingGET = function (entity, entityId, reqId, token, observe, reportProgress) {
|
|
6331
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6332
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6333
|
+
if (entity === null || entity === undefined) {
|
|
6334
|
+
throw new Error('Required parameter entity was null or undefined when calling listABTestExperimentUsingGET.');
|
|
6335
|
+
}
|
|
6336
|
+
if (entityId === null || entityId === undefined) {
|
|
6337
|
+
throw new Error('Required parameter entityId was null or undefined when calling listABTestExperimentUsingGET.');
|
|
6338
|
+
}
|
|
6339
|
+
var headers = this.defaultHeaders;
|
|
6340
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6341
|
+
headers = headers.set('reqId', String(reqId));
|
|
6342
|
+
}
|
|
6343
|
+
if (token !== undefined && token !== null) {
|
|
6344
|
+
headers = headers.set('token', String(token));
|
|
6345
|
+
}
|
|
6346
|
+
// to determine the Accept header
|
|
6347
|
+
var httpHeaderAccepts = [
|
|
6348
|
+
'application/json'
|
|
6349
|
+
];
|
|
6350
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6351
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6352
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6353
|
+
}
|
|
6354
|
+
// to determine the Content-Type header
|
|
6355
|
+
var consumes = [];
|
|
6356
|
+
return this.httpClient.get(this.basePath + "/v2/api/strategies/abtest/list/" + encodeURIComponent(String(entity)) + "/" + encodeURIComponent(String(entityId)), {
|
|
6357
|
+
withCredentials: this.configuration.withCredentials,
|
|
6358
|
+
headers: headers,
|
|
6359
|
+
observe: observe,
|
|
6360
|
+
reportProgress: reportProgress
|
|
6361
|
+
});
|
|
6362
|
+
};
|
|
6264
6363
|
StrategyControllerService.prototype.saveStrategyQuickEditDetailsUsingPOST = function (id, strategyQuickEditDTO, reqId, token, observe, reportProgress) {
|
|
6265
6364
|
if (observe === void 0) { observe = 'body'; }
|
|
6266
6365
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -6300,6 +6399,80 @@
|
|
|
6300
6399
|
reportProgress: reportProgress
|
|
6301
6400
|
});
|
|
6302
6401
|
};
|
|
6402
|
+
StrategyControllerService.prototype.updateABTestExperimentStatusUsingPOST = function (id, status, reqId, token, observe, reportProgress) {
|
|
6403
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6404
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6405
|
+
if (id === null || id === undefined) {
|
|
6406
|
+
throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
|
|
6407
|
+
}
|
|
6408
|
+
if (status === null || status === undefined) {
|
|
6409
|
+
throw new Error('Required parameter status was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
|
|
6410
|
+
}
|
|
6411
|
+
var headers = this.defaultHeaders;
|
|
6412
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6413
|
+
headers = headers.set('reqId', String(reqId));
|
|
6414
|
+
}
|
|
6415
|
+
if (token !== undefined && token !== null) {
|
|
6416
|
+
headers = headers.set('token', String(token));
|
|
6417
|
+
}
|
|
6418
|
+
// to determine the Accept header
|
|
6419
|
+
var httpHeaderAccepts = [
|
|
6420
|
+
'application/json'
|
|
6421
|
+
];
|
|
6422
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6423
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6424
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6425
|
+
}
|
|
6426
|
+
// to determine the Content-Type header
|
|
6427
|
+
var consumes = [
|
|
6428
|
+
'application/json'
|
|
6429
|
+
];
|
|
6430
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/updateStatus/" + encodeURIComponent(String(id)) + "/" + encodeURIComponent(String(status)), null, {
|
|
6431
|
+
withCredentials: this.configuration.withCredentials,
|
|
6432
|
+
headers: headers,
|
|
6433
|
+
observe: observe,
|
|
6434
|
+
reportProgress: reportProgress
|
|
6435
|
+
});
|
|
6436
|
+
};
|
|
6437
|
+
StrategyControllerService.prototype.updateABTestExperimentUsingPOST = function (abTestDTO, id, reqId, token, observe, reportProgress) {
|
|
6438
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6439
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6440
|
+
if (abTestDTO === null || abTestDTO === undefined) {
|
|
6441
|
+
throw new Error('Required parameter abTestDTO was null or undefined when calling updateABTestExperimentUsingPOST.');
|
|
6442
|
+
}
|
|
6443
|
+
if (id === null || id === undefined) {
|
|
6444
|
+
throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentUsingPOST.');
|
|
6445
|
+
}
|
|
6446
|
+
var headers = this.defaultHeaders;
|
|
6447
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6448
|
+
headers = headers.set('reqId', String(reqId));
|
|
6449
|
+
}
|
|
6450
|
+
if (token !== undefined && token !== null) {
|
|
6451
|
+
headers = headers.set('token', String(token));
|
|
6452
|
+
}
|
|
6453
|
+
// to determine the Accept header
|
|
6454
|
+
var httpHeaderAccepts = [
|
|
6455
|
+
'application/json'
|
|
6456
|
+
];
|
|
6457
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6458
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6459
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6460
|
+
}
|
|
6461
|
+
// to determine the Content-Type header
|
|
6462
|
+
var consumes = [
|
|
6463
|
+
'application/json'
|
|
6464
|
+
];
|
|
6465
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6466
|
+
if (httpContentTypeSelected != undefined) {
|
|
6467
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6468
|
+
}
|
|
6469
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/update/" + encodeURIComponent(String(id)), abTestDTO, {
|
|
6470
|
+
withCredentials: this.configuration.withCredentials,
|
|
6471
|
+
headers: headers,
|
|
6472
|
+
observe: observe,
|
|
6473
|
+
reportProgress: reportProgress
|
|
6474
|
+
});
|
|
6475
|
+
};
|
|
6303
6476
|
StrategyControllerService.prototype.updateStrategyUsingPOST = function (id, strategy, reqId, token, observe, reportProgress) {
|
|
6304
6477
|
if (observe === void 0) { observe = 'body'; }
|
|
6305
6478
|
if (reportProgress === void 0) { reportProgress = false; }
|