@adobe/ccweb-add-on-sdk-types 1.19.0 → 1.20.1

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 (2) hide show
  1. package/package.json +1 -1
  2. package/ui/ui-sdk.d.ts +115 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/ccweb-add-on-sdk-types",
3
- "version": "1.19.0",
3
+ "version": "1.20.1",
4
4
  "author": "Adobe",
5
5
  "license": "MIT",
6
6
  "description": "Type definitions for Adobe Creative Cloud Web Add-on SDK.",
package/ui/ui-sdk.d.ts CHANGED
@@ -349,6 +349,12 @@ export declare type AuthorizationRequest = {
349
349
  * are required in the Authorization URL as query string parameters.
350
350
  */
351
351
  additionalParameters?: Map<string, string>;
352
+ /**
353
+ * Additional parameters, specific to an OAuth provider which
354
+ * are required in the Redirect URL as query string parameters.
355
+ * Not applicable for {@link AuthorizeWithOwnRedirectRequest}
356
+ */
357
+ additionalRedirectParameters?: Map<string, string>;
352
358
  };
353
359
 
354
360
  /**
@@ -451,6 +457,40 @@ export declare type AuthorizeWithOwnRedirectRequest = AuthorizationRequest & {
451
457
  state: string;
452
458
  };
453
459
 
460
+ /**
461
+ * Bit rate in bits per second
462
+ */
463
+ export declare enum BitRate {
464
+ /**
465
+ * 4 Mbps
466
+ */
467
+ mbps4 = 4000000,
468
+ /**
469
+ * 8 Mbps
470
+ */
471
+ mbps8 = 8000000,
472
+ /**
473
+ * 10 Mbps
474
+ */
475
+ mbps10 = 10000000,
476
+ /**
477
+ * 12 Mbps
478
+ */
479
+ mbps12 = 12000000,
480
+ /**
481
+ * 15 Mbps
482
+ */
483
+ mbps15 = 15000000,
484
+ /**
485
+ * 25 Mbps
486
+ */
487
+ mbps25 = 25000000,
488
+ /**
489
+ * 50 Mbps
490
+ */
491
+ mbps50 = 50000000
492
+ }
493
+
454
494
  /**
455
495
  * Bleed for the page.
456
496
  * In printing, bleed is printing that goes beyond the edge of where the sheet will be trimmed.
@@ -635,6 +675,8 @@ declare namespace Constants {
635
675
  RuntimeType,
636
676
  BleedUnit,
637
677
  VideoResolution,
678
+ FrameRate,
679
+ BitRate,
638
680
  EditorPanel,
639
681
  MediaTabs,
640
682
  ElementsTabs,
@@ -643,6 +685,7 @@ declare namespace Constants {
643
685
  DeviceClass,
644
686
  PlatformType,
645
687
  ColorPickerPlacement,
688
+ FileSizeLimitUnit,
646
689
  AuthorizationStatus
647
690
  };
648
691
  }
@@ -1101,6 +1144,50 @@ export declare enum FieldType {
1101
1144
  text = "text"
1102
1145
  }
1103
1146
 
1147
+ /**
1148
+ * Units for the file size limit.
1149
+ */
1150
+ export declare enum FileSizeLimitUnit {
1151
+ /**
1152
+ * Kilobyte
1153
+ */
1154
+ KB = "KB",
1155
+ /**
1156
+ * Megabyte
1157
+ */
1158
+ MB = "MB"
1159
+ }
1160
+
1161
+ /**
1162
+ * Frame rate in frames per second
1163
+ */
1164
+ export declare enum FrameRate {
1165
+ /**
1166
+ * 23.976 frames per second
1167
+ */
1168
+ fps23_976 = 23.976,
1169
+ /**
1170
+ * 24 frames per second
1171
+ */
1172
+ fps24 = 24,
1173
+ /**
1174
+ * 25 frames per second
1175
+ */
1176
+ fps25 = 25,
1177
+ /**
1178
+ * 29.97 frames per second
1179
+ */
1180
+ fps29_97 = 29.97,
1181
+ /**
1182
+ * 30 frames per second
1183
+ */
1184
+ fps30 = 30,
1185
+ /**
1186
+ * 60 frames per second
1187
+ */
1188
+ fps60 = 60
1189
+ }
1190
+
1104
1191
  /**
1105
1192
  * Type of input dialog data passed from the add-on.
1106
1193
  */
@@ -1276,6 +1363,15 @@ export declare interface Mp4RenditionOptions extends RenditionOptions {
1276
1363
  * Custom Resolution (in pixel)
1277
1364
  */
1278
1365
  customResolution?: number;
1366
+
1367
+ /**
1368
+ * Frame rate in frames per second
1369
+ */
1370
+ frameRate?: FrameRate;
1371
+ /**
1372
+ * Bit rate in mbps
1373
+ */
1374
+ bitRate?: BitRate;
1279
1375
  }
1280
1376
 
1281
1377
  /**
@@ -1578,6 +1674,15 @@ export declare interface PngRenditionOptions extends RenditionOptions {
1578
1674
  width?: number;
1579
1675
  height?: number;
1580
1676
  };
1677
+
1678
+ /**
1679
+ * File size limit for the rendition
1680
+ */
1681
+ fileSizeLimit?: number;
1682
+ /**
1683
+ * Unit of the file size limit
1684
+ */
1685
+ fileSizeLimitUnit?: FileSizeLimitUnit;
1581
1686
  }
1582
1687
 
1583
1688
  /**
@@ -1953,10 +2058,19 @@ export declare enum VideoResolution {
1953
2058
  * FHD 1080p video resolution
1954
2059
  */
1955
2060
  fhd1080p = "1080p",
2061
+ /**
2062
+ * QHD 1440p video resolution
2063
+ */
2064
+ qhd1440p = "1440p",
2065
+ /**
2066
+ * UHD 4K video resolution
2067
+ */
2068
+ uhd2160p = "2160p",
1956
2069
  /**
1957
2070
  * Custom video resolution
1958
2071
  */
1959
2072
  custom = "custom"
1960
2073
  }
1961
2074
 
1962
- export {};
2075
+ export { };
2076
+