ugcinc 3.87.0 → 3.88.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/dist/types.d.ts +11 -5
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -155,6 +155,7 @@ export interface AccountInfoUpdate {
155
155
  description?: string;
156
156
  warmupVersion?: 'original' | 'v1_smart' | 'v2_smart';
157
157
  postVersion?: 'original' | 'v1_custom';
158
+ phoneType?: 'physical_iphone' | 'physical_android' | 'emulated_android' | 'social_api';
158
159
  }
159
160
  /**
160
161
  * Parameters for updating account info (bulk)
@@ -814,12 +815,12 @@ export interface NodePort {
814
815
  itemSchema?: Record<string, PropertySchema>;
815
816
  }
816
817
  /**
817
- * Simplified port definition for database storage.
818
- * 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.
819
820
  */
820
821
  export interface ResolvedPort {
821
822
  id: string;
822
- type: string;
823
+ type: PortType | PortType[];
823
824
  required: boolean;
824
825
  /** Schema of array items (when this port outputs an array) */
825
826
  itemSchema?: Record<string, PropertySchema>;
@@ -1000,9 +1001,13 @@ export interface WorkflowNodeDefinition {
1000
1001
  export interface OutputInput {
1001
1002
  id: string;
1002
1003
  title: string;
1003
- type: 'image' | 'video' | 'audio' | 'text';
1004
+ type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account' | 'boolean' | 'object';
1004
1005
  /** Individual tag for this input (overrides global tag) */
1005
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>;
1006
1011
  }
1007
1012
  export interface OutputNodeConfig {
1008
1013
  inputs: OutputInput[];
@@ -1249,6 +1254,7 @@ export interface AutoPostNodeConfig {
1249
1254
  */
1250
1255
  export interface SaveToMediaInput {
1251
1256
  id: string;
1257
+ title?: string;
1252
1258
  type: 'image' | 'video' | 'audio' | 'text';
1253
1259
  /** Optional individual tag for this input (overrides global tag) */
1254
1260
  tag?: string;
@@ -1262,7 +1268,7 @@ export interface SaveToMediaNodeConfig {
1262
1268
  /** Global tag applied to all saved items */
1263
1269
  globalTag?: string;
1264
1270
  /** If true, append date in mm-dd-yy format to tag */
1265
- tagWithDate?: boolean;
1271
+ includeDateTag?: boolean;
1266
1272
  /** If true, append run ID to make tags unique */
1267
1273
  makeUnique?: boolean;
1268
1274
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "3.87.0",
3
+ "version": "3.88.1",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",