ugcinc 2.90.0 → 2.91.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 +10 -12
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -930,31 +930,29 @@ export interface ManualTriggerOutput {
930
930
  type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account';
931
931
  }
932
932
  /**
933
- * Iteration mode for trigger nodes with collection input
934
- * - 'fan-out': Spawn all runs simultaneously (one per element)
935
- * - 'sequential': One element per trigger fire, cycling through the collection
933
+ * Iteration mode for trigger nodes with account iteration
934
+ * - 'fan-out': Spawn all runs simultaneously (one per account)
935
+ * - 'sequential': One account per trigger fire, cycling through the collection
936
936
  */
937
937
  export type TriggerIterationMode = 'fan-out' | 'sequential';
938
938
  /**
939
- * Behavior when sequential iteration exhausts all elements
939
+ * Behavior when sequential iteration exhausts all accounts
940
940
  * - 'repeat': Start from the beginning of the collection
941
941
  * - 'stop': Stop the automation (disable schedule for recurrence)
942
942
  */
943
943
  export type IterationExhaustionBehavior = 'repeat' | 'stop';
944
944
  /**
945
- * Collection input configuration for trigger nodes
946
- * When enabled, the trigger iterates over a collection (e.g., account group)
945
+ * Account iteration configuration for trigger nodes
946
+ * When enabled, the trigger iterates over a collection of accounts
947
947
  */
948
948
  export interface TriggerCollectionConfig {
949
- /** Whether collection iteration is enabled */
949
+ /** Whether account iteration is enabled */
950
950
  enabled: boolean;
951
- /** How to iterate over the collection */
951
+ /** How to iterate over the accounts */
952
952
  iterationMode: TriggerIterationMode;
953
- /** What to do when sequential iteration exhausts all elements */
953
+ /** What to do when sequential iteration exhausts all accounts */
954
954
  exhaustionBehavior?: IterationExhaustionBehavior;
955
- /** The type of elements in the collection (for port type) */
956
- elementType: 'account';
957
- /** Account IDs to iterate over (for elementType='account') */
955
+ /** Account IDs to iterate over */
958
956
  accountIds?: string[];
959
957
  }
960
958
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.90.0",
3
+ "version": "2.91.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",