@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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @revxui/api-clients-ts@1.1.457
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.457 --save
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 &#x60;request&#x60; part. Optionally attach binary files in the &#x60;file_PROMO_VIDEO&#x60;, &#x60;file_PROMO_BANNER&#x60;, &#x60;file_BACKGROUND_IMAGE&#x60; parts. If both a CDN URL (in the JSON &#x60;assets[]&#x60;) and a file part are supplied for the same asset type, the file wins.
42
+ * Multipart endpoint. Send the JSON body in the &#x60;request&#x60; part. &#x60;sampleVideoUrl&#x60; is required (from POST /settings/generate-sample). Optionally attach binary files in the &#x60;file_PROMO_VIDEO&#x60;, &#x60;file_PROMO_BANNER&#x60;, &#x60;file_BACKGROUND_IMAGE&#x60; parts. If both a CDN URL (in the JSON &#x60;assets[]&#x60;) 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 for a DCO video settings configuration
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 &#x60;assets[]&#x60; with CDN URLs (typically from POST /settings/assets/upload). Omit &#x60;settingsId&#x60; for create-preview; set &#x60;settingsId&#x60; to merge with stored assets for edit. Returns a synthetic &#x60;sampleVideoUrl&#x60; (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: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'body', reportProgress?: boolean): Observable<ApiResponseObjectDcoVideoGenerateSampleResponse>;
66
- generateSampleUsingPOST(request: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<ApiResponseObjectDcoVideoGenerateSampleResponse>>;
67
- generateSampleUsingPOST(request: any, file_BACKGROUND_IMAGE?: Blob, file_PROMO_BANNER?: Blob, file_PROMO_VIDEO?: Blob, reqId?: string, token?: string, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<ApiResponseObjectDcoVideoGenerateSampleResponse>>;
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 &#x60;request&#x60; part. Optionally attach binary files in the &#x60;file_PROMO_VIDEO&#x60;, &#x60;file_PROMO_BANNER&#x60;, &#x60;file_BACKGROUND_IMAGE&#x60; parts. If both a CDN URL (in the JSON &#x60;assets[]&#x60;) 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 Whether to regenerate sample video after update
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 &#x60;advertiserId&#x60; and &#x60;templateId&#x60; as form fields and one or more of &#x60;file_PROMO_VIDEO&#x60;, &#x60;file_PROMO_BANNER&#x60;, &#x60;file_BACKGROUND_IMAGE&#x60;. Use returned URLs in POST /settings/generate-sample, then pass &#x60;sampleVideoUrl&#x60; 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
- updateSettingsUsingPOST(id: number, request: any, async?: 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>;
162
- updateSettingsUsingPOST(id: number, request: any, async?: 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>>;
163
- updateSettingsUsingPOST(id: number, request: any, async?: 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>>;
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
  }