ugcinc 3.88.0 → 3.88.2

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 +10 -5
  2. package/package.json +5 -1
package/dist/types.d.ts CHANGED
@@ -815,12 +815,12 @@ export interface NodePort {
815
815
  itemSchema?: Record<string, PropertySchema>;
816
816
  }
817
817
  /**
818
- * Simplified port definition for database storage.
819
- * Uses string type since PortType union gets serialized to JSON.
818
+ * Port definition for resolved/dynamic ports.
819
+ * Stored in node config when the automation is saved.
820
820
  */
821
821
  export interface ResolvedPort {
822
822
  id: string;
823
- type: string;
823
+ type: PortType | PortType[];
824
824
  required: boolean;
825
825
  /** Schema of array items (when this port outputs an array) */
826
826
  itemSchema?: Record<string, PropertySchema>;
@@ -1001,9 +1001,13 @@ export interface WorkflowNodeDefinition {
1001
1001
  export interface OutputInput {
1002
1002
  id: string;
1003
1003
  title: string;
1004
- type: 'image' | 'video' | 'audio' | 'text';
1004
+ type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account' | 'boolean' | 'object';
1005
1005
  /** Individual tag for this input (overrides global tag) */
1006
1006
  tag?: string;
1007
+ /** Whether this input accepts an array */
1008
+ isArray?: boolean;
1009
+ /** Schema of array items (when isArray is true) */
1010
+ itemSchema?: Record<string, PropertySchema>;
1007
1011
  }
1008
1012
  export interface OutputNodeConfig {
1009
1013
  inputs: OutputInput[];
@@ -1250,6 +1254,7 @@ export interface AutoPostNodeConfig {
1250
1254
  */
1251
1255
  export interface SaveToMediaInput {
1252
1256
  id: string;
1257
+ title?: string;
1253
1258
  type: 'image' | 'video' | 'audio' | 'text';
1254
1259
  /** Optional individual tag for this input (overrides global tag) */
1255
1260
  tag?: string;
@@ -1263,7 +1268,7 @@ export interface SaveToMediaNodeConfig {
1263
1268
  /** Global tag applied to all saved items */
1264
1269
  globalTag?: string;
1265
1270
  /** If true, append date in mm-dd-yy format to tag */
1266
- tagWithDate?: boolean;
1271
+ includeDateTag?: boolean;
1267
1272
  /** If true, append run ID to make tags unique */
1268
1273
  makeUnique?: boolean;
1269
1274
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "3.88.0",
3
+ "version": "3.88.2",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -12,6 +12,10 @@
12
12
  "./render": {
13
13
  "types": "./dist/render/index.d.ts",
14
14
  "default": "./dist/render/index.js"
15
+ },
16
+ "./render/utils": {
17
+ "types": "./dist/render/utils/index.d.ts",
18
+ "default": "./dist/render/utils/index.js"
15
19
  }
16
20
  },
17
21
  "scripts": {