@revxui/api-clients-ts 1.1.457 → 1.1.459
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/dCOVideoSettingsController.service.d.ts +29 -15
- package/esm2020/api/dCOVideoSettingsController.service.mjs +75 -38
- package/esm2020/model/apiResponseObjectDcoVideoAssetUploadResponse.mjs +2 -0
- package/esm2020/model/dcoVideoAssetUploadResponse.mjs +2 -0
- package/esm2020/model/dcoVideoGenerateSampleRequest.mjs +1 -12
- package/esm2020/model/models.mjs +3 -1
- package/fesm2015/revxui-api-clients-ts.mjs +74 -37
- package/fesm2015/revxui-api-clients-ts.mjs.map +1 -1
- package/fesm2020/revxui-api-clients-ts.mjs +74 -49
- package/fesm2020/revxui-api-clients-ts.mjs.map +1 -1
- package/model/apiResponseObjectDcoVideoAssetUploadResponse.d.ts +17 -0
- package/model/dcoVideoAssetUploadResponse.d.ts +17 -0
- package/model/dcoVideoGenerateSampleRequest.d.ts +2 -3
- package/model/models.d.ts +2 -0
- package/package.json +1 -1
|
@@ -5594,7 +5594,7 @@ class DCOVideoSettingsControllerService {
|
|
|
5594
5594
|
reportProgress: reportProgress
|
|
5595
5595
|
});
|
|
5596
5596
|
}
|
|
5597
|
-
generateSampleUsingPOST(request,
|
|
5597
|
+
generateSampleUsingPOST(request, reqId, token, observe = 'body', reportProgress = false) {
|
|
5598
5598
|
if (request === null || request === undefined) {
|
|
5599
5599
|
throw new Error('Required parameter request was null or undefined when calling generateSampleUsingPOST.');
|
|
5600
5600
|
}
|
|
@@ -5615,40 +5615,13 @@ class DCOVideoSettingsControllerService {
|
|
|
5615
5615
|
}
|
|
5616
5616
|
// to determine the Content-Type header
|
|
5617
5617
|
const consumes = [
|
|
5618
|
-
'
|
|
5618
|
+
'application/json'
|
|
5619
5619
|
];
|
|
5620
|
-
const
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
let convertFormParamsToString = false;
|
|
5624
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
5625
|
-
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
5626
|
-
useForm = canConsumeForm;
|
|
5627
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
5628
|
-
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
5629
|
-
useForm = canConsumeForm;
|
|
5630
|
-
// use FormData to transmit files using content-type "multipart/form-data"
|
|
5631
|
-
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
5632
|
-
useForm = canConsumeForm;
|
|
5633
|
-
if (useForm) {
|
|
5634
|
-
formParams = new FormData();
|
|
5635
|
-
}
|
|
5636
|
-
else {
|
|
5637
|
-
formParams = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5638
|
-
}
|
|
5639
|
-
if (file_BACKGROUND_IMAGE !== undefined) {
|
|
5640
|
-
formParams = formParams.append('file_BACKGROUND_IMAGE', file_BACKGROUND_IMAGE) || formParams;
|
|
5641
|
-
}
|
|
5642
|
-
if (file_PROMO_BANNER !== undefined) {
|
|
5643
|
-
formParams = formParams.append('file_PROMO_BANNER', file_PROMO_BANNER) || formParams;
|
|
5644
|
-
}
|
|
5645
|
-
if (file_PROMO_VIDEO !== undefined) {
|
|
5646
|
-
formParams = formParams.append('file_PROMO_VIDEO', file_PROMO_VIDEO) || formParams;
|
|
5647
|
-
}
|
|
5648
|
-
if (request !== undefined) {
|
|
5649
|
-
formParams = formParams.append('request', request) || formParams;
|
|
5620
|
+
const httpContentTypeSelected = this.configuration.selectHeaderContentType(consumes);
|
|
5621
|
+
if (httpContentTypeSelected != undefined) {
|
|
5622
|
+
headers = headers.set('Content-Type', httpContentTypeSelected);
|
|
5650
5623
|
}
|
|
5651
|
-
return this.httpClient.post(`${this.basePath}/v2/api/dcovideo/settings/generate-sample`,
|
|
5624
|
+
return this.httpClient.post(`${this.basePath}/v2/api/dcovideo/settings/generate-sample`, request, {
|
|
5652
5625
|
withCredentials: this.configuration.withCredentials,
|
|
5653
5626
|
headers: headers,
|
|
5654
5627
|
observe: observe,
|
|
@@ -5852,7 +5825,7 @@ class DCOVideoSettingsControllerService {
|
|
|
5852
5825
|
reportProgress: reportProgress
|
|
5853
5826
|
});
|
|
5854
5827
|
}
|
|
5855
|
-
updateSettingsUsingPOST(id, request,
|
|
5828
|
+
updateSettingsUsingPOST(id, request, file_BACKGROUND_IMAGE, file_PROMO_BANNER, file_PROMO_VIDEO, regenerateSample, reqId, token, observe = 'body', reportProgress = false) {
|
|
5856
5829
|
if (id === null || id === undefined) {
|
|
5857
5830
|
throw new Error('Required parameter id was null or undefined when calling updateSettingsUsingPOST.');
|
|
5858
5831
|
}
|
|
@@ -5897,9 +5870,6 @@ class DCOVideoSettingsControllerService {
|
|
|
5897
5870
|
else {
|
|
5898
5871
|
formParams = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5899
5872
|
}
|
|
5900
|
-
if (async !== undefined) {
|
|
5901
|
-
formParams = formParams.append('async', async) || formParams;
|
|
5902
|
-
}
|
|
5903
5873
|
if (file_BACKGROUND_IMAGE !== undefined) {
|
|
5904
5874
|
formParams = formParams.append('file_BACKGROUND_IMAGE', file_BACKGROUND_IMAGE) || formParams;
|
|
5905
5875
|
}
|
|
@@ -5922,6 +5892,73 @@ class DCOVideoSettingsControllerService {
|
|
|
5922
5892
|
reportProgress: reportProgress
|
|
5923
5893
|
});
|
|
5924
5894
|
}
|
|
5895
|
+
uploadStagingAssetsUsingPOST(advertiserId, templateId, file_BACKGROUND_IMAGE, file_PROMO_BANNER, file_PROMO_VIDEO, reqId, token, observe = 'body', reportProgress = false) {
|
|
5896
|
+
if (advertiserId === null || advertiserId === undefined) {
|
|
5897
|
+
throw new Error('Required parameter advertiserId was null or undefined when calling uploadStagingAssetsUsingPOST.');
|
|
5898
|
+
}
|
|
5899
|
+
if (templateId === null || templateId === undefined) {
|
|
5900
|
+
throw new Error('Required parameter templateId was null or undefined when calling uploadStagingAssetsUsingPOST.');
|
|
5901
|
+
}
|
|
5902
|
+
let headers = this.defaultHeaders;
|
|
5903
|
+
if (reqId !== undefined && reqId !== null) {
|
|
5904
|
+
headers = headers.set('reqId', String(reqId));
|
|
5905
|
+
}
|
|
5906
|
+
if (token !== undefined && token !== null) {
|
|
5907
|
+
headers = headers.set('token', String(token));
|
|
5908
|
+
}
|
|
5909
|
+
// to determine the Accept header
|
|
5910
|
+
let httpHeaderAccepts = [
|
|
5911
|
+
'application/json'
|
|
5912
|
+
];
|
|
5913
|
+
const httpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
5914
|
+
if (httpHeaderAcceptSelected != undefined) {
|
|
5915
|
+
headers = headers.set('Accept', httpHeaderAcceptSelected);
|
|
5916
|
+
}
|
|
5917
|
+
// to determine the Content-Type header
|
|
5918
|
+
const consumes = [
|
|
5919
|
+
'multipart/form-data'
|
|
5920
|
+
];
|
|
5921
|
+
const canConsumeForm = this.canConsumeForm(consumes);
|
|
5922
|
+
let formParams;
|
|
5923
|
+
let useForm = false;
|
|
5924
|
+
let convertFormParamsToString = false;
|
|
5925
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
5926
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
5927
|
+
useForm = canConsumeForm;
|
|
5928
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
5929
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
5930
|
+
useForm = canConsumeForm;
|
|
5931
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
5932
|
+
// see https://stackoverflow.com/questions/4007969/application-x-www-form-urlencoded-or-multipart-form-data
|
|
5933
|
+
useForm = canConsumeForm;
|
|
5934
|
+
if (useForm) {
|
|
5935
|
+
formParams = new FormData();
|
|
5936
|
+
}
|
|
5937
|
+
else {
|
|
5938
|
+
formParams = new HttpParams({ encoder: new CustomHttpUrlEncodingCodec() });
|
|
5939
|
+
}
|
|
5940
|
+
if (advertiserId !== undefined) {
|
|
5941
|
+
formParams = formParams.append('advertiserId', advertiserId) || formParams;
|
|
5942
|
+
}
|
|
5943
|
+
if (file_BACKGROUND_IMAGE !== undefined) {
|
|
5944
|
+
formParams = formParams.append('file_BACKGROUND_IMAGE', file_BACKGROUND_IMAGE) || formParams;
|
|
5945
|
+
}
|
|
5946
|
+
if (file_PROMO_BANNER !== undefined) {
|
|
5947
|
+
formParams = formParams.append('file_PROMO_BANNER', file_PROMO_BANNER) || formParams;
|
|
5948
|
+
}
|
|
5949
|
+
if (file_PROMO_VIDEO !== undefined) {
|
|
5950
|
+
formParams = formParams.append('file_PROMO_VIDEO', file_PROMO_VIDEO) || formParams;
|
|
5951
|
+
}
|
|
5952
|
+
if (templateId !== undefined) {
|
|
5953
|
+
formParams = formParams.append('templateId', templateId) || formParams;
|
|
5954
|
+
}
|
|
5955
|
+
return this.httpClient.post(`${this.basePath}/v2/api/dcovideo/settings/assets/upload`, convertFormParamsToString ? formParams.toString() : formParams, {
|
|
5956
|
+
withCredentials: this.configuration.withCredentials,
|
|
5957
|
+
headers: headers,
|
|
5958
|
+
observe: observe,
|
|
5959
|
+
reportProgress: reportProgress
|
|
5960
|
+
});
|
|
5961
|
+
}
|
|
5925
5962
|
}
|
|
5926
5963
|
DCOVideoSettingsControllerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DCOVideoSettingsControllerService, deps: [{ token: i1.HttpClient }, { token: BASE_PATH, optional: true }, { token: Configuration, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5927
5964
|
DCOVideoSettingsControllerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DCOVideoSettingsControllerService });
|
|
@@ -12367,18 +12404,6 @@ var DcoVideoAssetDTO;
|
|
|
12367
12404
|
* Do not edit the class manually.
|
|
12368
12405
|
*/
|
|
12369
12406
|
|
|
12370
|
-
/**
|
|
12371
|
-
* Api Documentation
|
|
12372
|
-
* Api Documentation
|
|
12373
|
-
*
|
|
12374
|
-
* OpenAPI spec version: 1.0
|
|
12375
|
-
*
|
|
12376
|
-
*
|
|
12377
|
-
* NOTE: This class is auto generated by the swagger code generator program.
|
|
12378
|
-
* https://github.com/swagger-api/swagger-codegen.git
|
|
12379
|
-
* Do not edit the class manually.
|
|
12380
|
-
*/
|
|
12381
|
-
|
|
12382
12407
|
/**
|
|
12383
12408
|
* Api Documentation
|
|
12384
12409
|
* Api Documentation
|