@revxui/api-clients-ts 0.10.208 → 0.10.211
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 -27
- 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/{creativeSetListEditField.js → apiListResponseABTestDTO.js} +1 -1
- package/esm2015/model/apiResponseObjectABTestDTO.js +1 -0
- package/esm2015/model/apiResponseObjectlong.js +12 -0
- package/esm2015/model/bulkEditStrategiesDTO.js +1 -1
- package/esm2015/model/models.js +1 -2
- package/esm2015/model/strategyDTO.js +1 -1
- package/esm5/api/strategyController.service.js +174 -1
- package/esm5/model/aBTestDTO.js +1 -0
- package/esm5/model/{creativeSetListEditField.js → apiListResponseABTestDTO.js} +1 -1
- package/esm5/model/apiResponseObjectABTestDTO.js +1 -0
- package/esm5/model/apiResponseObjectlong.js +12 -0
- package/esm5/model/bulkEditStrategiesDTO.js +1 -1
- package/esm5/model/models.js +1 -2
- package/esm5/model/strategyDTO.js +1 -1
- package/fesm2015/revxui-api-clients-ts.js +164 -28
- package/fesm2015/revxui-api-clients-ts.js.map +1 -1
- package/fesm5/revxui-api-clients-ts.js +174 -28
- package/fesm5/revxui-api-clients-ts.js.map +1 -1
- package/model/aBTestDTO.d.ts +32 -0
- package/model/{creativeSetListEditField.d.ts → apiListResponseABTestDTO.d.ts} +4 -4
- package/model/apiResponseObjectABTestDTO.d.ts +17 -0
- package/model/apiResponseObjectlong.d.ts +16 -0
- package/model/bulkEditStrategiesDTO.d.ts +0 -2
- package/model/creativeSetDashboardMetric.d.ts +10 -10
- package/model/creativeSetDetails.d.ts +10 -10
- package/model/creativeSetRequest.d.ts +10 -10
- package/model/creativeSetResponse.d.ts +10 -10
- package/model/models.d.ts +4 -2
- package/model/strategyDTO.d.ts +0 -2
- package/package.json +1 -1
- package/revxui-api-clients-ts.metadata.json +1 -1
- package/esm2015/model/baseModelWithCreativeSetType.js +0 -27
- package/esm5/model/baseModelWithCreativeSetType.js +0 -27
- package/model/baseModelWithCreativeSetType.d.ts +0 -31
|
@@ -5836,6 +5836,42 @@ var StrategyControllerService = /** @class */ (function () {
|
|
|
5836
5836
|
reportProgress: reportProgress
|
|
5837
5837
|
});
|
|
5838
5838
|
};
|
|
5839
|
+
StrategyControllerService.prototype.createABTestExperimentUsingPOST = function (abTestDTO, reqId, token, observe, reportProgress) {
|
|
5840
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5841
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5842
|
+
if (abTestDTO === null || abTestDTO === undefined) {
|
|
5843
|
+
throw new Error('Required parameter abTestDTO was null or undefined when calling createABTestExperimentUsingPOST.');
|
|
5844
|
+
}
|
|
5845
|
+
var headers = this.defaultHeaders;
|
|
5846
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5847
|
+
headers = headers.set('reqId', String(reqId));
|
|
5848
|
+
}
|
|
5849
|
+
if (token !== undefined && token !== null) {
|
|
5850
|
+
headers = headers.set('token', String(token));
|
|
5851
|
+
}
|
|
5852
|
+
// to determine the Accept header
|
|
5853
|
+
var httpHeaderAccepts = [
|
|
5854
|
+
'application/json'
|
|
5855
|
+
];
|
|
5856
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5857
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5858
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5859
|
+
}
|
|
5860
|
+
// to determine the Content-Type header
|
|
5861
|
+
var consumes = [
|
|
5862
|
+
'application/json'
|
|
5863
|
+
];
|
|
5864
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5865
|
+
if (httpContentTypeSelected != undefined) {
|
|
5866
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
5867
|
+
}
|
|
5868
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/create", abTestDTO, {
|
|
5869
|
+
withCredentials: this.configuration.withCredentials,
|
|
5870
|
+
headers: headers,
|
|
5871
|
+
observe: observe,
|
|
5872
|
+
reportProgress: reportProgress
|
|
5873
|
+
});
|
|
5874
|
+
};
|
|
5839
5875
|
StrategyControllerService.prototype.createStrategyUsingPOST = function (strategy, reqId, token, observe, reportProgress) {
|
|
5840
5876
|
if (observe === void 0) { observe = 'body'; }
|
|
5841
5877
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -5948,6 +5984,36 @@ var StrategyControllerService = /** @class */ (function () {
|
|
|
5948
5984
|
reportProgress: reportProgress
|
|
5949
5985
|
});
|
|
5950
5986
|
};
|
|
5987
|
+
StrategyControllerService.prototype.getABTestExperimentUsingGET = function (id, reqId, token, observe, reportProgress) {
|
|
5988
|
+
if (observe === void 0) { observe = 'body'; }
|
|
5989
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
5990
|
+
if (id === null || id === undefined) {
|
|
5991
|
+
throw new Error('Required parameter id was null or undefined when calling getABTestExperimentUsingGET.');
|
|
5992
|
+
}
|
|
5993
|
+
var headers = this.defaultHeaders;
|
|
5994
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5995
|
+
headers = headers.set('reqId', String(reqId));
|
|
5996
|
+
}
|
|
5997
|
+
if (token !== undefined && token !== null) {
|
|
5998
|
+
headers = headers.set('token', String(token));
|
|
5999
|
+
}
|
|
6000
|
+
// to determine the Accept header
|
|
6001
|
+
var httpHeaderAccepts = [
|
|
6002
|
+
'application/json'
|
|
6003
|
+
];
|
|
6004
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6005
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6006
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6007
|
+
}
|
|
6008
|
+
// to determine the Content-Type header
|
|
6009
|
+
var consumes = [];
|
|
6010
|
+
return this.httpClient.get(this.basePath + "/v2/api/strategies/abtest/" + encodeURIComponent(String(id)), {
|
|
6011
|
+
withCredentials: this.configuration.withCredentials,
|
|
6012
|
+
headers: headers,
|
|
6013
|
+
observe: observe,
|
|
6014
|
+
reportProgress: reportProgress
|
|
6015
|
+
});
|
|
6016
|
+
};
|
|
5951
6017
|
StrategyControllerService.prototype.getSkadSettingsUsingGET = function (reqId, token, observe, reportProgress) {
|
|
5952
6018
|
if (observe === void 0) { observe = 'body'; }
|
|
5953
6019
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -6040,6 +6106,39 @@ var StrategyControllerService = /** @class */ (function () {
|
|
|
6040
6106
|
reportProgress: reportProgress
|
|
6041
6107
|
});
|
|
6042
6108
|
};
|
|
6109
|
+
StrategyControllerService.prototype.listABTestExperimentUsingGET = function (entity, entityId, reqId, token, observe, reportProgress) {
|
|
6110
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6111
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6112
|
+
if (entity === null || entity === undefined) {
|
|
6113
|
+
throw new Error('Required parameter entity was null or undefined when calling listABTestExperimentUsingGET.');
|
|
6114
|
+
}
|
|
6115
|
+
if (entityId === null || entityId === undefined) {
|
|
6116
|
+
throw new Error('Required parameter entityId was null or undefined when calling listABTestExperimentUsingGET.');
|
|
6117
|
+
}
|
|
6118
|
+
var headers = this.defaultHeaders;
|
|
6119
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6120
|
+
headers = headers.set('reqId', String(reqId));
|
|
6121
|
+
}
|
|
6122
|
+
if (token !== undefined && token !== null) {
|
|
6123
|
+
headers = headers.set('token', String(token));
|
|
6124
|
+
}
|
|
6125
|
+
// to determine the Accept header
|
|
6126
|
+
var httpHeaderAccepts = [
|
|
6127
|
+
'application/json'
|
|
6128
|
+
];
|
|
6129
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6130
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6131
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6132
|
+
}
|
|
6133
|
+
// to determine the Content-Type header
|
|
6134
|
+
var consumes = [];
|
|
6135
|
+
return this.httpClient.get(this.basePath + "/v2/api/strategies/abtest/list/" + encodeURIComponent(String(entity)) + "/" + encodeURIComponent(String(entityId)), {
|
|
6136
|
+
withCredentials: this.configuration.withCredentials,
|
|
6137
|
+
headers: headers,
|
|
6138
|
+
observe: observe,
|
|
6139
|
+
reportProgress: reportProgress
|
|
6140
|
+
});
|
|
6141
|
+
};
|
|
6043
6142
|
StrategyControllerService.prototype.saveStrategyQuickEditDetailsUsingPOST = function (id, strategyQuickEditDTO, reqId, token, observe, reportProgress) {
|
|
6044
6143
|
if (observe === void 0) { observe = 'body'; }
|
|
6045
6144
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -6079,6 +6178,80 @@ var StrategyControllerService = /** @class */ (function () {
|
|
|
6079
6178
|
reportProgress: reportProgress
|
|
6080
6179
|
});
|
|
6081
6180
|
};
|
|
6181
|
+
StrategyControllerService.prototype.updateABTestExperimentStatusUsingPOST = function (id, status, reqId, token, observe, reportProgress) {
|
|
6182
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6183
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6184
|
+
if (id === null || id === undefined) {
|
|
6185
|
+
throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
|
|
6186
|
+
}
|
|
6187
|
+
if (status === null || status === undefined) {
|
|
6188
|
+
throw new Error('Required parameter status was null or undefined when calling updateABTestExperimentStatusUsingPOST.');
|
|
6189
|
+
}
|
|
6190
|
+
var headers = this.defaultHeaders;
|
|
6191
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6192
|
+
headers = headers.set('reqId', String(reqId));
|
|
6193
|
+
}
|
|
6194
|
+
if (token !== undefined && token !== null) {
|
|
6195
|
+
headers = headers.set('token', String(token));
|
|
6196
|
+
}
|
|
6197
|
+
// to determine the Accept header
|
|
6198
|
+
var httpHeaderAccepts = [
|
|
6199
|
+
'application/json'
|
|
6200
|
+
];
|
|
6201
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6202
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6203
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6204
|
+
}
|
|
6205
|
+
// to determine the Content-Type header
|
|
6206
|
+
var consumes = [
|
|
6207
|
+
'application/json'
|
|
6208
|
+
];
|
|
6209
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/updateStatus/" + encodeURIComponent(String(id)) + "/" + encodeURIComponent(String(status)), null, {
|
|
6210
|
+
withCredentials: this.configuration.withCredentials,
|
|
6211
|
+
headers: headers,
|
|
6212
|
+
observe: observe,
|
|
6213
|
+
reportProgress: reportProgress
|
|
6214
|
+
});
|
|
6215
|
+
};
|
|
6216
|
+
StrategyControllerService.prototype.updateABTestExperimentUsingPOST = function (abTestDTO, id, reqId, token, observe, reportProgress) {
|
|
6217
|
+
if (observe === void 0) { observe = 'body'; }
|
|
6218
|
+
if (reportProgress === void 0) { reportProgress = false; }
|
|
6219
|
+
if (abTestDTO === null || abTestDTO === undefined) {
|
|
6220
|
+
throw new Error('Required parameter abTestDTO was null or undefined when calling updateABTestExperimentUsingPOST.');
|
|
6221
|
+
}
|
|
6222
|
+
if (id === null || id === undefined) {
|
|
6223
|
+
throw new Error('Required parameter id was null or undefined when calling updateABTestExperimentUsingPOST.');
|
|
6224
|
+
}
|
|
6225
|
+
var headers = this.defaultHeaders;
|
|
6226
|
+
if (reqId !== undefined && reqId !== null) {
|
|
6227
|
+
headers = headers.set('reqId', String(reqId));
|
|
6228
|
+
}
|
|
6229
|
+
if (token !== undefined && token !== null) {
|
|
6230
|
+
headers = headers.set('token', String(token));
|
|
6231
|
+
}
|
|
6232
|
+
// to determine the Accept header
|
|
6233
|
+
var httpHeaderAccepts = [
|
|
6234
|
+
'application/json'
|
|
6235
|
+
];
|
|
6236
|
+
var httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
6237
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
6238
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
6239
|
+
}
|
|
6240
|
+
// to determine the Content-Type header
|
|
6241
|
+
var consumes = [
|
|
6242
|
+
'application/json'
|
|
6243
|
+
];
|
|
6244
|
+
var httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
6245
|
+
if (httpContentTypeSelected != undefined) {
|
|
6246
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
6247
|
+
}
|
|
6248
|
+
return this.httpClient.post(this.basePath + "/v2/api/strategies/abtest/update/" + encodeURIComponent(String(id)), abTestDTO, {
|
|
6249
|
+
withCredentials: this.configuration.withCredentials,
|
|
6250
|
+
headers: headers,
|
|
6251
|
+
observe: observe,
|
|
6252
|
+
reportProgress: reportProgress
|
|
6253
|
+
});
|
|
6254
|
+
};
|
|
6082
6255
|
StrategyControllerService.prototype.updateStrategyUsingPOST = function (id, strategy, reqId, token, observe, reportProgress) {
|
|
6083
6256
|
if (observe === void 0) { observe = 'body'; }
|
|
6084
6257
|
if (reportProgress === void 0) { reportProgress = false; }
|
|
@@ -6613,33 +6786,6 @@ var AudienceESDTO;
|
|
|
6613
6786
|
};
|
|
6614
6787
|
})(AudienceESDTO || (AudienceESDTO = {}));
|
|
6615
6788
|
|
|
6616
|
-
/**
|
|
6617
|
-
* Api Documentation
|
|
6618
|
-
* Api Documentation
|
|
6619
|
-
*
|
|
6620
|
-
* OpenAPI spec version: 1.0
|
|
6621
|
-
*
|
|
6622
|
-
*
|
|
6623
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
6624
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
6625
|
-
* Do not edit the class manually.
|
|
6626
|
-
*/
|
|
6627
|
-
var BaseModelWithCreativeSetType;
|
|
6628
|
-
(function (BaseModelWithCreativeSetType) {
|
|
6629
|
-
BaseModelWithCreativeSetType.CreativeSetTypeEnum = {
|
|
6630
|
-
IMAGE: 'IMAGE',
|
|
6631
|
-
VIDEO: 'VIDEO',
|
|
6632
|
-
THIRDPARTYADTAGS: 'THIRD_PARTY_AD_TAGS',
|
|
6633
|
-
ZIPPEDHTML: 'ZIPPED_HTML',
|
|
6634
|
-
NATIVEIMAGE: 'NATIVE_IMAGE',
|
|
6635
|
-
NATIVEVIDEO: 'NATIVE_VIDEO',
|
|
6636
|
-
DYNAMICIMAGE: 'DYNAMIC_IMAGE',
|
|
6637
|
-
DYNAMICMACRO: 'DYNAMIC_MACRO',
|
|
6638
|
-
DYNAMICHTML: 'DYNAMIC_HTML',
|
|
6639
|
-
DYNAMICVIDEO: 'DYNAMIC_VIDEO'
|
|
6640
|
-
};
|
|
6641
|
-
})(BaseModelWithCreativeSetType || (BaseModelWithCreativeSetType = {}));
|
|
6642
|
-
|
|
6643
6789
|
var ClickDestination;
|
|
6644
6790
|
(function (ClickDestination) {
|
|
6645
6791
|
ClickDestination.CampaignTypeEnum = {
|
|
@@ -7360,5 +7506,5 @@ var ApiModule = /** @class */ (function () {
|
|
|
7360
7506
|
* Generated bundle index. Do not edit.
|
|
7361
7507
|
*/
|
|
7362
7508
|
|
|
7363
|
-
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AudienceESDTO, AuditControllerService, BASE_PATH,
|
|
7509
|
+
export { APIS, ActivityLogsStrategyBulkUpdateDTO, AdminControllerService, AdvertiserControllerService, ApiModule, AppSettingsControllerService, AppSettingsDTO, AppSettingsPropertyDTO, AuctionTypeEditField, AudienceControllerService, AudienceDTO, AudienceESDTO, AuditControllerService, BASE_PATH, BulkStrategyControllerService, COLLECTION_FORMATS, CSSThemeController_Service, CampaignControllerService, CatalogControllerService, ClickDestination, ClickDestinationControllerService, Configuration, CreativeCompactDTO, CreativeControllerService, CreativeDTO, CreativeFileForSet, CreativeFiles, CreativeHtmlFileForSet, CreativeSetDashboardMetric, CreativeSetDetails, CreativeSetRequest, CreativeSetResponse, CreativeSetsControllerService, CreativeTemplateThemesControllerService, CreativeTemplateVariablesControllerService, CreativeTemplatesControllerService, DashboardControllerService, DcoAttributesDTO, FilterModel, GeoListRequest, Macro, MetaRuleDto, NotificationResponse, NotificationsControllerService, PixelControllerService, PixelDataFileDTO, RemoteFileDTO, ReportProperty, ReportingControllerService, ReportingRequest, ReportingResponse, RuleDTO, SliceXControllerService, StrategyControllerService, StrategyDTO, StrategyQuickEditDTO, TemplateVariablesDTO, UILoggerControllerService, UserPreferenceControllerService, VastCreative, VideoAttributes, VideoProperties };
|
|
7364
7510
|
//# sourceMappingURL=revxui-api-clients-ts.js.map
|