ugcinc 3.46.0 → 3.47.0

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/dist/types.d.ts +4 -0
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -1606,6 +1606,8 @@ export interface UserMedia {
1606
1606
  url: string | null;
1607
1607
  preview_url: string | null;
1608
1608
  content: string | null;
1609
+ source: string | null;
1610
+ source_id: string | null;
1609
1611
  created_at: string;
1610
1612
  media_type: 'user_media';
1611
1613
  }
@@ -1698,6 +1700,8 @@ export interface CreateMediaFromUrlParams {
1698
1700
  names?: string[];
1699
1701
  previewUrls?: (string | undefined)[];
1700
1702
  tag?: string;
1703
+ source?: string;
1704
+ sourceIds?: string[];
1701
1705
  }
1702
1706
  export interface GetUploadTokenParams {
1703
1707
  filename: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "3.46.0",
3
+ "version": "3.47.0",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",