@revxui/api-clients-ts 1.1.479 → 1.1.481

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.
Files changed (35) hide show
  1. package/README.md +2 -2
  2. package/api/api.d.ts +3 -1
  3. package/api/appSettingsController.service.d.ts +3 -3
  4. package/api/creativeAssetOptimizationController.service.d.ts +64 -0
  5. package/esm2020/api/api.mjs +4 -2
  6. package/esm2020/api/appSettingsController.service.mjs +1 -1
  7. package/esm2020/api/creativeAssetOptimizationController.service.mjs +177 -0
  8. package/esm2020/api.module.mjs +4 -1
  9. package/esm2020/model/advertiserAppSettingsDTO.mjs +3 -2
  10. package/esm2020/model/advertiserSettings.mjs +9 -2
  11. package/esm2020/model/apiListResponseCreativeSizeMappingDTO.mjs +2 -0
  12. package/esm2020/model/appSettingsDTO.mjs +3 -2
  13. package/esm2020/model/creativeDTO.mjs +6 -1
  14. package/esm2020/model/creativeEntity.mjs +6 -1
  15. package/esm2020/model/creativeSizeMappingDTO.mjs +43 -0
  16. package/esm2020/model/models.mjs +5 -1
  17. package/esm2020/model/optimizationJobItemStatusDTO.mjs +21 -0
  18. package/esm2020/model/optimizationJobStatusResponse.mjs +11 -0
  19. package/esm2020/model/videoAttributes.mjs +6 -1
  20. package/fesm2015/revxui-api-clients-ts.mjs +278 -4
  21. package/fesm2015/revxui-api-clients-ts.mjs.map +1 -1
  22. package/fesm2020/revxui-api-clients-ts.mjs +276 -4
  23. package/fesm2020/revxui-api-clients-ts.mjs.map +1 -1
  24. package/model/advertiserAppSettingsDTO.d.ts +2 -1
  25. package/model/advertiserSettings.d.ts +9 -0
  26. package/model/apiListResponseCreativeSizeMappingDTO.d.ts +16 -0
  27. package/model/appSettingsDTO.d.ts +2 -1
  28. package/model/creativeDTO.d.ts +7 -0
  29. package/model/creativeEntity.d.ts +7 -0
  30. package/model/creativeSizeMappingDTO.d.ts +59 -0
  31. package/model/models.d.ts +4 -0
  32. package/model/optimizationJobItemStatusDTO.d.ts +27 -0
  33. package/model/optimizationJobStatusResponse.d.ts +31 -0
  34. package/model/videoAttributes.d.ts +7 -0
  35. package/package.json +1 -1
@@ -15,7 +15,7 @@ export interface AdvertiserAppSettingsDTO {
15
15
  value?: string;
16
16
  }
17
17
  export declare namespace AdvertiserAppSettingsDTO {
18
- type KeyEnum = 'FEED_KEY' | 'LIFT_TEST_ACTIVE' | 'EVENT_FILTER_ALLOWED' | 'SKU_ALLOWED_CHARS' | 'TRANSACTION_CURRENCY' | 'CREATIVE_NAME_FORMAT' | 'CLICK_SIGNING' | 'SLACK_CHANNEL_ID' | 'ENABLE_AUDIT_LOGS_REPORT';
18
+ type KeyEnum = 'FEED_KEY' | 'LIFT_TEST_ACTIVE' | 'EVENT_FILTER_ALLOWED' | 'SKU_ALLOWED_CHARS' | 'TRANSACTION_CURRENCY' | 'CREATIVE_NAME_FORMAT' | 'CLICK_SIGNING' | 'SLACK_CHANNEL_ID' | 'ENABLE_AUDIT_LOGS_REPORT' | 'CREATIVE_BORDER_TYPE';
19
19
  const KeyEnum: {
20
20
  FEEDKEY: KeyEnum;
21
21
  LIFTTESTACTIVE: KeyEnum;
@@ -26,6 +26,7 @@ export declare namespace AdvertiserAppSettingsDTO {
26
26
  CLICKSIGNING: KeyEnum;
27
27
  SLACKCHANNELID: KeyEnum;
28
28
  ENABLEAUDITLOGSREPORT: KeyEnum;
29
+ CREATIVEBORDERTYPE: KeyEnum;
29
30
  };
30
31
  type TypeEnum = 'BOOLEAN' | 'STRING' | 'JSON' | 'INTEGER' | 'DOUBLE' | 'FLOAT';
31
32
  const TypeEnum: {
@@ -12,6 +12,7 @@
12
12
  import { BaseModel } from './baseModel';
13
13
  export interface AdvertiserSettings {
14
14
  advertiserId?: number;
15
+ creativeBorderType?: AdvertiserSettings.CreativeBorderTypeEnum;
15
16
  creativeNameFormat?: string;
16
17
  dateFormat?: string;
17
18
  eventFilterAllowed?: boolean;
@@ -25,3 +26,11 @@ export interface AdvertiserSettings {
25
26
  slackChannelId?: string;
26
27
  transactionCurrency?: BaseModel;
27
28
  }
29
+ export declare namespace AdvertiserSettings {
30
+ type CreativeBorderTypeEnum = 'NONE' | 'BLACK' | 'BLUR';
31
+ const CreativeBorderTypeEnum: {
32
+ NONE: CreativeBorderTypeEnum;
33
+ BLACK: CreativeBorderTypeEnum;
34
+ BLUR: CreativeBorderTypeEnum;
35
+ };
36
+ }
@@ -0,0 +1,16 @@
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 { CreativeSizeMappingDTO } from './creativeSizeMappingDTO';
13
+ export interface ApiListResponseCreativeSizeMappingDTO {
14
+ data?: Array<CreativeSizeMappingDTO>;
15
+ totalNoOfRecords?: number;
16
+ }
@@ -21,7 +21,7 @@ export interface AppSettingsDTO {
21
21
  settingsValue?: string;
22
22
  }
23
23
  export declare namespace AppSettingsDTO {
24
- type SettingsKeyEnum = 'LOGO_LINK' | 'FALLBACK_IMG_LINK' | 'OVERLAY_IMG_LINK' | 'DEFAULT_LOGO' | 'CREATIVE_NAME_FORMAT' | 'CLICK_SIGNING' | 'SLACK_CHANNEL_ID' | 'ENABLE_AUDIT_LOGS_REPORT';
24
+ type SettingsKeyEnum = 'LOGO_LINK' | 'FALLBACK_IMG_LINK' | 'OVERLAY_IMG_LINK' | 'DEFAULT_LOGO' | 'CREATIVE_NAME_FORMAT' | 'CLICK_SIGNING' | 'SLACK_CHANNEL_ID' | 'ENABLE_AUDIT_LOGS_REPORT' | 'CREATIVE_BORDER_TYPE';
25
25
  const SettingsKeyEnum: {
26
26
  LOGOLINK: SettingsKeyEnum;
27
27
  FALLBACKIMGLINK: SettingsKeyEnum;
@@ -31,6 +31,7 @@ export declare namespace AppSettingsDTO {
31
31
  CLICKSIGNING: SettingsKeyEnum;
32
32
  SLACKCHANNELID: SettingsKeyEnum;
33
33
  ENABLEAUDITLOGSREPORT: SettingsKeyEnum;
34
+ CREATIVEBORDERTYPE: SettingsKeyEnum;
34
35
  };
35
36
  type SettingsTypeEnum = 'BOOLEAN' | 'STRING' | 'JSON' | 'INTEGER' | 'DOUBLE' | 'FLOAT';
36
37
  const SettingsTypeEnum: {
@@ -23,6 +23,7 @@ export interface CreativeDTO {
23
23
  advertiserId?: number;
24
24
  archived?: boolean;
25
25
  assetPreviewId?: number;
26
+ borderType?: CreativeDTO.BorderTypeEnum;
26
27
  clickDestination?: ClickDestination;
27
28
  content?: string;
28
29
  contentType?: CreativeDTO.ContentTypeEnum;
@@ -72,6 +73,12 @@ export interface CreativeDTO {
72
73
  videoUploadType?: CreativeDTO.VideoUploadTypeEnum;
73
74
  }
74
75
  export declare namespace CreativeDTO {
76
+ type BorderTypeEnum = 'NONE' | 'BLACK' | 'BLUR';
77
+ const BorderTypeEnum: {
78
+ NONE: BorderTypeEnum;
79
+ BLACK: BorderTypeEnum;
80
+ BLUR: BorderTypeEnum;
81
+ };
75
82
  type ContentTypeEnum = 'ZIP' | 'JPG' | 'JPEG' | 'PNG' | 'GIF' | 'FLV' | 'MP4' | 'THREE_GPP' | 'MOV' | 'WEBM' | 'DASH' | 'HLS' | 'GZIP' | 'TEXT' | 'CSV' | 'UNKNOWN' | 'XMPEGURL';
76
83
  const ContentTypeEnum: {
77
84
  ZIP: ContentTypeEnum;
@@ -16,6 +16,7 @@ export interface CreativeEntity {
16
16
  assetPreviewId?: number;
17
17
  attributesId?: number;
18
18
  bidResponseTestEnabled?: boolean;
19
+ borderType?: CreativeEntity.BorderTypeEnum;
19
20
  cdnId?: number;
20
21
  clickDestination?: number;
21
22
  content?: string;
@@ -56,6 +57,12 @@ export interface CreativeEntity {
56
57
  width?: number;
57
58
  }
58
59
  export declare namespace CreativeEntity {
60
+ type BorderTypeEnum = 'NONE' | 'BLACK' | 'BLUR';
61
+ const BorderTypeEnum: {
62
+ NONE: BorderTypeEnum;
63
+ BLACK: BorderTypeEnum;
64
+ BLUR: BorderTypeEnum;
65
+ };
59
66
  type HybridAdTypeEnum = 'STATIC' | 'DYNAMIC';
60
67
  const HybridAdTypeEnum: {
61
68
  STATIC: HybridAdTypeEnum;
@@ -0,0 +1,59 @@
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 CreativeSizeMappingDTO {
13
+ borderOrientation?: CreativeSizeMappingDTO.BorderOrientationEnum;
14
+ borderPercent?: number;
15
+ borderPxTotal?: number;
16
+ creativeType?: CreativeSizeMappingDTO.CreativeTypeEnum;
17
+ id?: number;
18
+ licenseeId?: number;
19
+ mappingType?: CreativeSizeMappingDTO.MappingTypeEnum;
20
+ scaledHeight?: number;
21
+ scaledWidth?: number;
22
+ sourceHeight?: number;
23
+ sourceWidth?: number;
24
+ targetHeight?: number;
25
+ targetWidth?: number;
26
+ }
27
+ 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
+ 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
+ const CreativeTypeEnum: {
36
+ IMAGE: CreativeTypeEnum;
37
+ VIDEO: CreativeTypeEnum;
38
+ THIRDPARTYADTAGS: CreativeTypeEnum;
39
+ ZIPPEDHTML: CreativeTypeEnum;
40
+ NATIVEIMAGE: CreativeTypeEnum;
41
+ NATIVEVIDEO: CreativeTypeEnum;
42
+ DYNAMICIMAGE: CreativeTypeEnum;
43
+ DYNAMICMACRO: CreativeTypeEnum;
44
+ DYNAMICHTML: CreativeTypeEnum;
45
+ DYNAMICVIDEO: CreativeTypeEnum;
46
+ HYBRIDSTATICAD: CreativeTypeEnum;
47
+ HYBRIDDYNAMICAD: CreativeTypeEnum;
48
+ THIRDPARTYVIDEOADTAGS: CreativeTypeEnum;
49
+ NATIVEICON: CreativeTypeEnum;
50
+ ICON: CreativeTypeEnum;
51
+ CTVVIDEO: CreativeTypeEnum;
52
+ PLAYABLE: CreativeTypeEnum;
53
+ };
54
+ type MappingTypeEnum = 'EXACT_FIT' | 'BORDER';
55
+ const MappingTypeEnum: {
56
+ EXACTFIT: MappingTypeEnum;
57
+ BORDER: MappingTypeEnum;
58
+ };
59
+ }
package/model/models.d.ts CHANGED
@@ -35,6 +35,7 @@ export * from './apiListResponseCreativeDTO';
35
35
  export * from './apiListResponseCreativePerformanceList';
36
36
  export * from './apiListResponseCreativeSetDashboardMetric';
37
37
  export * from './apiListResponseCreativeSetPerformanceList';
38
+ export * from './apiListResponseCreativeSizeMappingDTO';
38
39
  export * from './apiListResponseCreativeTemplateDTO';
39
40
  export * from './apiListResponseHotstarNativeFileRequest';
40
41
  export * from './apiListResponseMacro';
@@ -263,6 +264,7 @@ export * from './creativeSetPerformanceList';
263
264
  export * from './creativeSetRequest';
264
265
  export * from './creativeSetRescheduleRequest';
265
266
  export * from './creativeSetResponse';
267
+ export * from './creativeSizeMappingDTO';
266
268
  export * from './creativeStrategyAssociationStatus';
267
269
  export * from './creativeTemplateDTO';
268
270
  export * from './creativeTemplatesMetadataDTO';
@@ -374,6 +376,8 @@ export * from './nativeAssetPojo';
374
376
  export * from './notificationListResponseNotificationResponse';
375
377
  export * from './notificationResponse';
376
378
  export * from './onDayCohortData';
379
+ export * from './optimizationJobItemStatusDTO';
380
+ export * from './optimizationJobStatusResponse';
377
381
  export * from './optimizationRuleAuditLogDTO';
378
382
  export * from './optimizationRuleAuditLogDTOList';
379
383
  export * from './optimizationRuleDTO';
@@ -0,0 +1,27 @@
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 OptimizationJobItemStatusDTO {
13
+ errorMessage?: string;
14
+ generatedUrl?: string;
15
+ status?: OptimizationJobItemStatusDTO.StatusEnum;
16
+ targetHeight?: number;
17
+ targetWidth?: number;
18
+ }
19
+ export declare namespace OptimizationJobItemStatusDTO {
20
+ type StatusEnum = 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED';
21
+ const StatusEnum: {
22
+ PENDING: StatusEnum;
23
+ PROCESSING: StatusEnum;
24
+ COMPLETED: StatusEnum;
25
+ FAILED: StatusEnum;
26
+ };
27
+ }
@@ -0,0 +1,31 @@
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 { OptimizationJobItemStatusDTO } from './optimizationJobItemStatusDTO';
13
+ export interface OptimizationJobStatusResponse {
14
+ completedTargets?: number;
15
+ failedTargets?: number;
16
+ items?: Array<OptimizationJobItemStatusDTO>;
17
+ jobId?: number;
18
+ percentComplete?: number;
19
+ status?: OptimizationJobStatusResponse.StatusEnum;
20
+ totalTargets?: number;
21
+ }
22
+ export declare namespace OptimizationJobStatusResponse {
23
+ type StatusEnum = 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'COMPLETED_WITH_ERRORS' | 'FAILED';
24
+ const StatusEnum: {
25
+ PENDING: StatusEnum;
26
+ PROCESSING: StatusEnum;
27
+ COMPLETED: StatusEnum;
28
+ COMPLETEDWITHERRORS: StatusEnum;
29
+ FAILED: StatusEnum;
30
+ };
31
+ }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  export interface VideoAttributes {
13
13
  bitRate?: string;
14
+ borderType?: VideoAttributes.BorderTypeEnum;
14
15
  companionContentType?: VideoAttributes.CompanionContentTypeEnum;
15
16
  companionCreativeId?: number;
16
17
  companionHeight?: number;
@@ -30,6 +31,12 @@ export interface VideoAttributes {
30
31
  videoWidth?: number;
31
32
  }
32
33
  export declare namespace VideoAttributes {
34
+ type BorderTypeEnum = 'NONE' | 'BLACK' | 'BLUR';
35
+ const BorderTypeEnum: {
36
+ NONE: BorderTypeEnum;
37
+ BLACK: BorderTypeEnum;
38
+ BLUR: BorderTypeEnum;
39
+ };
33
40
  type CompanionContentTypeEnum = 'ZIP' | 'JPG' | 'JPEG' | 'PNG' | 'GIF' | 'FLV' | 'MP4' | 'THREE_GPP' | 'MOV' | 'WEBM' | 'DASH' | 'HLS' | 'GZIP' | 'TEXT' | 'CSV' | 'UNKNOWN' | 'XMPEGURL';
34
41
  const CompanionContentTypeEnum: {
35
42
  ZIP: CompanionContentTypeEnum;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revxui/api-clients-ts",
3
- "version": "1.1.479",
3
+ "version": "1.1.481",
4
4
  "description": "swagger client for @revxui/api-clients-ts",
5
5
  "author": "Swagger Codegen Contributors",
6
6
  "keywords": [