ugcinc 4.5.54 → 4.5.56

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/dist/media.d.ts CHANGED
@@ -124,6 +124,7 @@ export interface GetMediaUseResponse {
124
124
  export interface FilterMediaParams {
125
125
  source_ids: string[];
126
126
  name: string;
127
+ urls?: string[];
127
128
  }
128
129
  export interface FilterMediaResponse {
129
130
  available: string[];
@@ -197,6 +197,8 @@ export interface IMessageDmCompositionProps {
197
197
  messages?: ImMessage[];
198
198
  /** Dynamic cropping configuration - crop output to DM element bounds */
199
199
  dynamicCrop?: DynamicCropConfig;
200
+ /** Center the crop container vertically within the canvas (for preview display) */
201
+ cropVerticalCenter?: boolean;
200
202
  }
201
203
  /**
202
204
  * Zod schema for iMessage DM composition props (for Remotion)
@@ -395,6 +397,7 @@ export declare const iMessageDmPropsSchema: z.ZodObject<{
395
397
  groupWithPrevious?: boolean | undefined;
396
398
  }>, "many">>;
397
399
  dynamicCrop: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
400
+ cropVerticalCenter: z.ZodOptional<z.ZodBoolean>;
398
401
  }, "strip", z.ZodTypeAny, {
399
402
  backgroundColor?: string | undefined;
400
403
  lightMode?: boolean | undefined;
@@ -499,6 +502,7 @@ export declare const iMessageDmPropsSchema: z.ZodObject<{
499
502
  dividerLineY?: number | undefined;
500
503
  dividerLineColor?: string | undefined;
501
504
  headerBackgroundColor?: string | undefined;
505
+ cropVerticalCenter?: boolean | undefined;
502
506
  headerTop?: number | undefined;
503
507
  headerBottom?: number | undefined;
504
508
  profilePicTop?: number | undefined;
@@ -681,6 +685,7 @@ export declare const iMessageDmPropsSchema: z.ZodObject<{
681
685
  dividerLineY?: number | undefined;
682
686
  dividerLineColor?: string | undefined;
683
687
  headerBackgroundColor?: string | undefined;
688
+ cropVerticalCenter?: boolean | undefined;
684
689
  headerTop?: number | undefined;
685
690
  headerBottom?: number | undefined;
686
691
  profilePicTop?: number | undefined;
@@ -224,4 +224,5 @@ exports.iMessageDmPropsSchema = zod_1.z.object({
224
224
  })).optional(),
225
225
  // Dynamic crop - crop output to element bounds
226
226
  dynamicCrop: zod_1.z.record(zod_1.z.any()).optional(),
227
+ cropVerticalCenter: zod_1.z.boolean().optional(),
227
228
  });
@@ -215,4 +215,6 @@ export interface InstagramDmCompositionProps {
215
215
  headerBackgroundColor?: string;
216
216
  /** Dynamic cropping configuration - crop output to element bounds */
217
217
  dynamicCrop?: DynamicCropConfig;
218
+ /** Center the crop container vertically within the canvas (for preview display) */
219
+ cropVerticalCenter?: boolean;
218
220
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "4.5.54",
3
+ "version": "4.5.56",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",