@revxui/api-clients-ts 1.1.458 → 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
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @revxui/api-clients-ts@1.1.
|
|
1
|
+
## @revxui/api-clients-ts@1.1.459
|
|
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@1.1.
|
|
22
|
+
npm install @revxui/api-clients-ts@1.1.459 --save
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
_without publishing (not recommended):_
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ApiResponseObjectDcoVideoActivateResponse } from '../model/apiResponseObjectDcoVideoActivateResponse';
|
|
4
|
+
import { ApiResponseObjectDcoVideoAssetUploadResponse } from '../model/apiResponseObjectDcoVideoAssetUploadResponse';
|
|
4
5
|
import { ApiResponseObjectDcoVideoGenerateSampleResponse } from '../model/apiResponseObjectDcoVideoGenerateSampleResponse';
|
|
5
6
|
import { ApiResponseObjectDcoVideoGeneratedCountResponse } from '../model/apiResponseObjectDcoVideoGeneratedCountResponse';
|
|
6
7
|
import { ApiResponseObjectDcoVideoSettingsDTO } from '../model/apiResponseObjectDcoVideoSettingsDTO';
|
|
@@ -10,6 +11,7 @@ import { ApiResponseObjectListDcoVideoSettingsDTO } from '../model/apiResponseOb
|
|
|
10
11
|
import { ApiResponseObjectListDcoVideoTemplateDTO } from '../model/apiResponseObjectListDcoVideoTemplateDTO';
|
|
11
12
|
import { ApiResponseObjectListstring } from '../model/apiResponseObjectListstring';
|
|
12
13
|
import { DcoVideoActivateRequest } from '../model/dcoVideoActivateRequest';
|
|
14
|
+
import { DcoVideoGenerateSampleRequest } from '../model/dcoVideoGenerateSampleRequest';
|
|
13
15
|
import { Configuration } from '../configuration';
|
|
14
16
|
import * as i0 from "@angular/core";
|
|
15
17
|
export declare class DCOVideoSettingsControllerService {
|
|
@@ -37,7 +39,7 @@ export declare class DCOVideoSettingsControllerService {
|
|
|
37
39
|
activateSettingsUsingPOST(request: DcoVideoActivateRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDcoVideoActivateResponse>>;
|
|
38
40
|
/**
|
|
39
41
|
* Create a new DCO video settings configuration
|
|
40
|
-
* Multipart endpoint. Send the JSON body in the `request` part. Optionally attach binary files in the `file_PROMO_VIDEO`, `file_PROMO_BANNER`, `file_BACKGROUND_IMAGE` parts. If both a CDN URL (in the JSON `assets[]`) and a file part are supplied for the same asset type, the file wins.
|
|
42
|
+
* Multipart endpoint. Send the JSON body in the `request` part. `sampleVideoUrl` is required (from POST /settings/generate-sample). Optionally attach binary files in the `file_PROMO_VIDEO`, `file_PROMO_BANNER`, `file_BACKGROUND_IMAGE` parts. If both a CDN URL (in the JSON `assets[]`) and a file part are supplied for the same asset type, the file wins.
|
|
41
43
|
* @param request DCO Video Settings creation request (JSON)
|
|
42
44
|
* @param file_BACKGROUND_IMAGE Optional uploaded background image file
|
|
43
45
|
* @param file_PROMO_BANNER Optional uploaded promo banner file
|
|
@@ -51,20 +53,17 @@ export declare class DCOVideoSettingsControllerService {
|
|
|
51
53
|
createSettingsUsingPOST(request: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDcoVideoSettingsDTO>>;
|
|
52
54
|
createSettingsUsingPOST(request: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDcoVideoSettingsDTO>>;
|
|
53
55
|
/**
|
|
54
|
-
* Generate a sample video
|
|
55
|
-
*
|
|
56
|
-
* @param request request
|
|
57
|
-
* @param file_BACKGROUND_IMAGE file_BACKGROUND_IMAGE
|
|
58
|
-
* @param file_PROMO_BANNER file_PROMO_BANNER
|
|
59
|
-
* @param file_PROMO_VIDEO file_PROMO_VIDEO
|
|
56
|
+
* Generate a sample video preview from asset URLs
|
|
57
|
+
* JSON body. Pass `assets[]` with CDN URLs (typically from POST /settings/assets/upload). Omit `settingsId` for create-preview; set `settingsId` to merge with stored assets for edit. Returns a synthetic `sampleVideoUrl` (no external render engine).
|
|
58
|
+
* @param request Generate sample request
|
|
60
59
|
* @param reqId request id
|
|
61
60
|
* @param token Auth Token
|
|
62
61
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
63
62
|
* @param reportProgress flag to report request and response progress.
|
|
64
63
|
*/
|
|
65
|
-
generateSampleUsingPOST(request:
|
|
66
|
-
generateSampleUsingPOST(request:
|
|
67
|
-
generateSampleUsingPOST(request:
|
|
64
|
+
generateSampleUsingPOST(request: DcoVideoGenerateSampleRequest, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDcoVideoGenerateSampleResponse>;
|
|
65
|
+
generateSampleUsingPOST(request: DcoVideoGenerateSampleRequest, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDcoVideoGenerateSampleResponse>>;
|
|
66
|
+
generateSampleUsingPOST(request: DcoVideoGenerateSampleRequest, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDcoVideoGenerateSampleResponse>>;
|
|
68
67
|
/**
|
|
69
68
|
* Get all brand guidelines for a given advertiser
|
|
70
69
|
*
|
|
@@ -148,19 +147,34 @@ export declare class DCOVideoSettingsControllerService {
|
|
|
148
147
|
* Multipart endpoint. Send the JSON body in the `request` part. Optionally attach binary files in the `file_PROMO_VIDEO`, `file_PROMO_BANNER`, `file_BACKGROUND_IMAGE` parts. If both a CDN URL (in the JSON `assets[]`) and a file part are supplied for the same asset type, the file wins.
|
|
149
148
|
* @param id Settings configuration ID
|
|
150
149
|
* @param request DCO Video Settings update request (JSON)
|
|
151
|
-
* @param async Run sample generation asynchronously
|
|
152
150
|
* @param file_BACKGROUND_IMAGE Optional uploaded background image file
|
|
153
151
|
* @param file_PROMO_BANNER Optional uploaded promo banner file
|
|
154
152
|
* @param file_PROMO_VIDEO Optional uploaded promo video file
|
|
155
|
-
* @param regenerateSample
|
|
153
|
+
* @param regenerateSample When true (default), clear sampleVideoUrl if template or assets change unless sampleVideoUrl is supplied in the JSON request. Set false to keep the existing sample URL.
|
|
154
|
+
* @param reqId request id
|
|
155
|
+
* @param token Auth Token
|
|
156
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
157
|
+
* @param reportProgress flag to report request and response progress.
|
|
158
|
+
*/
|
|
159
|
+
updateSettingsUsingPOST(id: number, request: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, regenerateSample?: any, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDcoVideoSettingsDTO>;
|
|
160
|
+
updateSettingsUsingPOST(id: number, request: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, regenerateSample?: any, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDcoVideoSettingsDTO>>;
|
|
161
|
+
updateSettingsUsingPOST(id: number, request: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, regenerateSample?: any, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDcoVideoSettingsDTO>>;
|
|
162
|
+
/**
|
|
163
|
+
* Upload DCO video staging assets (CDN URLs only, no settings row)
|
|
164
|
+
* Multipart. Provide `advertiserId` and `templateId` as form fields and one or more of `file_PROMO_VIDEO`, `file_PROMO_BANNER`, `file_BACKGROUND_IMAGE`. Use returned URLs in POST /settings/generate-sample, then pass `sampleVideoUrl` from that response when creating settings.
|
|
165
|
+
* @param advertiserId Advertiser ID
|
|
166
|
+
* @param templateId Template ID (storage path)
|
|
167
|
+
* @param file_BACKGROUND_IMAGE Background image file
|
|
168
|
+
* @param file_PROMO_BANNER Promo banner file
|
|
169
|
+
* @param file_PROMO_VIDEO Promo video file
|
|
156
170
|
* @param reqId request id
|
|
157
171
|
* @param token Auth Token
|
|
158
172
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
159
173
|
* @param reportProgress flag to report request and response progress.
|
|
160
174
|
*/
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
175
|
+
uploadStagingAssetsUsingPOST(advertiserId: any, templateId: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDcoVideoAssetUploadResponse>;
|
|
176
|
+
uploadStagingAssetsUsingPOST(advertiserId: any, templateId: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDcoVideoAssetUploadResponse>>;
|
|
177
|
+
uploadStagingAssetsUsingPOST(advertiserId: any, templateId: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDcoVideoAssetUploadResponse>>;
|
|
164
178
|
static ɵfac: i0.ɵɵFactoryDeclaration<DCOVideoSettingsControllerService, [null, { optional: true; }, { optional: true; }]>;
|
|
165
179
|
static ɵprov: i0.ɵɵInjectableDeclaration<DCOVideoSettingsControllerService>;
|
|
166
180
|
}
|