@revxui/api-clients-ts 1.1.481 → 1.1.482
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/creativeAssetOptimizationController.service.d.ts +23 -9
- package/esm2020/api/creativeAssetOptimizationController.service.mjs +53 -16
- package/esm2020/model/creativeAssetOptimizationRequest.mjs +23 -0
- package/esm2020/model/creativeAssetUploadResponse.mjs +20 -0
- package/esm2020/model/creativeSizeMappingDTO.mjs +1 -6
- package/esm2020/model/models.mjs +4 -1
- package/esm2020/model/selectedTargetDTO.mjs +24 -0
- package/fesm2015/revxui-api-clients-ts.mjs +120 -21
- package/fesm2015/revxui-api-clients-ts.mjs.map +1 -1
- package/fesm2020/revxui-api-clients-ts.mjs +120 -21
- package/fesm2020/revxui-api-clients-ts.mjs.map +1 -1
- package/model/creativeAssetOptimizationRequest.d.ts +42 -0
- package/model/creativeAssetUploadResponse.d.ts +26 -0
- package/model/creativeSizeMappingDTO.d.ts +0 -12
- package/model/models.d.ts +3 -0
- package/model/selectedTargetDTO.d.ts +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { CreativeSetRequest } from './creativeSetRequest';
|
|
13
|
+
import { SelectedTargetDTO } from './selectedTargetDTO';
|
|
14
|
+
export interface CreativeAssetOptimizationRequest {
|
|
15
|
+
advertiserId?: number;
|
|
16
|
+
creativeSetRequest?: CreativeSetRequest;
|
|
17
|
+
creativeSetType?: CreativeAssetOptimizationRequest.CreativeSetTypeEnum;
|
|
18
|
+
selectedTargets?: Array<SelectedTargetDTO>;
|
|
19
|
+
uploadId?: number;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace CreativeAssetOptimizationRequest {
|
|
22
|
+
type CreativeSetTypeEnum = 'IMAGE' | 'VIDEO' | 'THIRD_PARTY_AD_TAGS' | 'ZIPPED_HTML' | 'NATIVE_IMAGE' | 'NATIVE_VIDEO' | 'DYNAMIC_IMAGE' | 'DYNAMIC_MACRO' | 'DYNAMIC_HTML' | 'DYNAMIC_VIDEO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD' | 'THIRD_PARTY_VIDEO_AD_TAGS' | 'NATIVE_ICON' | 'ICON' | 'CTV_VIDEO' | 'PLAYABLE';
|
|
23
|
+
const CreativeSetTypeEnum: {
|
|
24
|
+
IMAGE: CreativeSetTypeEnum;
|
|
25
|
+
VIDEO: CreativeSetTypeEnum;
|
|
26
|
+
THIRDPARTYADTAGS: CreativeSetTypeEnum;
|
|
27
|
+
ZIPPEDHTML: CreativeSetTypeEnum;
|
|
28
|
+
NATIVEIMAGE: CreativeSetTypeEnum;
|
|
29
|
+
NATIVEVIDEO: CreativeSetTypeEnum;
|
|
30
|
+
DYNAMICIMAGE: CreativeSetTypeEnum;
|
|
31
|
+
DYNAMICMACRO: CreativeSetTypeEnum;
|
|
32
|
+
DYNAMICHTML: CreativeSetTypeEnum;
|
|
33
|
+
DYNAMICVIDEO: CreativeSetTypeEnum;
|
|
34
|
+
HYBRIDSTATICAD: CreativeSetTypeEnum;
|
|
35
|
+
HYBRIDDYNAMICAD: CreativeSetTypeEnum;
|
|
36
|
+
THIRDPARTYVIDEOADTAGS: CreativeSetTypeEnum;
|
|
37
|
+
NATIVEICON: CreativeSetTypeEnum;
|
|
38
|
+
ICON: CreativeSetTypeEnum;
|
|
39
|
+
CTVVIDEO: CreativeSetTypeEnum;
|
|
40
|
+
PLAYABLE: CreativeSetTypeEnum;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreativeAssetUploadResponse {
|
|
13
|
+
sourceHeight?: number;
|
|
14
|
+
sourceWidth?: number;
|
|
15
|
+
uploadId?: number;
|
|
16
|
+
warningCode?: CreativeAssetUploadResponse.WarningCodeEnum;
|
|
17
|
+
warningMessage?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare namespace CreativeAssetUploadResponse {
|
|
20
|
+
type WarningCodeEnum = 'INVALID_SIZE' | 'ASPECT_RATIO_MISMATCH' | 'LOW_RESOLUTION_UPLOAD';
|
|
21
|
+
const WarningCodeEnum: {
|
|
22
|
+
INVALIDSIZE: WarningCodeEnum;
|
|
23
|
+
ASPECTRATIOMISMATCH: WarningCodeEnum;
|
|
24
|
+
LOWRESOLUTIONUPLOAD: WarningCodeEnum;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -10,27 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
export interface CreativeSizeMappingDTO {
|
|
13
|
-
borderOrientation?: CreativeSizeMappingDTO.BorderOrientationEnum;
|
|
14
|
-
borderPercent?: number;
|
|
15
|
-
borderPxTotal?: number;
|
|
16
13
|
creativeType?: CreativeSizeMappingDTO.CreativeTypeEnum;
|
|
17
14
|
id?: number;
|
|
18
|
-
licenseeId?: number;
|
|
19
15
|
mappingType?: CreativeSizeMappingDTO.MappingTypeEnum;
|
|
20
|
-
scaledHeight?: number;
|
|
21
|
-
scaledWidth?: number;
|
|
22
16
|
sourceHeight?: number;
|
|
23
17
|
sourceWidth?: number;
|
|
24
18
|
targetHeight?: number;
|
|
25
19
|
targetWidth?: number;
|
|
26
20
|
}
|
|
27
21
|
export declare namespace CreativeSizeMappingDTO {
|
|
28
|
-
type BorderOrientationEnum = 'NONE' | 'TOP_BOTTOM' | 'LEFT_RIGHT';
|
|
29
|
-
const BorderOrientationEnum: {
|
|
30
|
-
NONE: BorderOrientationEnum;
|
|
31
|
-
TOPBOTTOM: BorderOrientationEnum;
|
|
32
|
-
LEFTRIGHT: BorderOrientationEnum;
|
|
33
|
-
};
|
|
34
22
|
type CreativeTypeEnum = 'IMAGE' | 'VIDEO' | 'THIRD_PARTY_AD_TAGS' | 'ZIPPED_HTML' | 'NATIVE_IMAGE' | 'NATIVE_VIDEO' | 'DYNAMIC_IMAGE' | 'DYNAMIC_MACRO' | 'DYNAMIC_HTML' | 'DYNAMIC_VIDEO' | 'HYBRID_STATIC_AD' | 'HYBRID_DYNAMIC_AD' | 'THIRD_PARTY_VIDEO_AD_TAGS' | 'NATIVE_ICON' | 'ICON' | 'CTV_VIDEO' | 'PLAYABLE';
|
|
35
23
|
const CreativeTypeEnum: {
|
|
36
24
|
IMAGE: CreativeTypeEnum;
|
package/model/models.d.ts
CHANGED
|
@@ -243,6 +243,8 @@ export * from './contentGenre';
|
|
|
243
243
|
export * from './contentLanguage';
|
|
244
244
|
export * from './creative';
|
|
245
245
|
export * from './creativeAssetEntity';
|
|
246
|
+
export * from './creativeAssetOptimizationRequest';
|
|
247
|
+
export * from './creativeAssetUploadResponse';
|
|
246
248
|
export * from './creativeCompactDTO';
|
|
247
249
|
export * from './creativeDTO';
|
|
248
250
|
export * from './creativeDetails';
|
|
@@ -418,6 +420,7 @@ export * from './safeguardResponseDTO';
|
|
|
418
420
|
export * from './safeguardRuleMasterEntity';
|
|
419
421
|
export * from './schedulerRequest';
|
|
420
422
|
export * from './searchRequest';
|
|
423
|
+
export * from './selectedTargetDTO';
|
|
421
424
|
export * from './siteListDTO';
|
|
422
425
|
export * from './siteListRequest';
|
|
423
426
|
export * from './siteModel';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Api Documentation
|
|
3
|
+
* Api Documentation
|
|
4
|
+
*
|
|
5
|
+
* OpenAPI spec version: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
9
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SelectedTargetDTO {
|
|
13
|
+
borderType?: SelectedTargetDTO.BorderTypeEnum;
|
|
14
|
+
height?: number;
|
|
15
|
+
mappingType?: SelectedTargetDTO.MappingTypeEnum;
|
|
16
|
+
width?: number;
|
|
17
|
+
}
|
|
18
|
+
export declare namespace SelectedTargetDTO {
|
|
19
|
+
type BorderTypeEnum = 'NONE' | 'BLACK' | 'BLUR';
|
|
20
|
+
const BorderTypeEnum: {
|
|
21
|
+
NONE: BorderTypeEnum;
|
|
22
|
+
BLACK: BorderTypeEnum;
|
|
23
|
+
BLUR: BorderTypeEnum;
|
|
24
|
+
};
|
|
25
|
+
type MappingTypeEnum = 'EXACT_FIT' | 'BORDER';
|
|
26
|
+
const MappingTypeEnum: {
|
|
27
|
+
EXACTFIT: MappingTypeEnum;
|
|
28
|
+
BORDER: MappingTypeEnum;
|
|
29
|
+
};
|
|
30
|
+
}
|