ugcinc 2.90.0 → 2.92.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 +13 -13
  2. package/package.json +1 -1
package/dist/types.d.ts CHANGED
@@ -39,7 +39,9 @@ export interface Account {
39
39
  age_range: string | null;
40
40
  sex: string | null;
41
41
  status: 'pending' | 'initialized' | 'setup' | 'warming' | 'warmed' | 'needs_replacement' | 'error';
42
- phone_type: 'physical_iphone' | 'physical_android' | 'emulated_android' | null;
42
+ phone_type: 'physical_iphone' | 'physical_android' | 'emulated_android' | 'social_api' | null;
43
+ oneup_social_network_id?: string | null;
44
+ oneup_category_id?: string | null;
43
45
  metadata?: {
44
46
  pending_info_change?: {
45
47
  nick_name?: string;
@@ -930,31 +932,29 @@ export interface ManualTriggerOutput {
930
932
  type: 'image' | 'video' | 'audio' | 'text' | 'social_audio' | 'account';
931
933
  }
932
934
  /**
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
935
+ * Iteration mode for trigger nodes with account iteration
936
+ * - 'fan-out': Spawn all runs simultaneously (one per account)
937
+ * - 'sequential': One account per trigger fire, cycling through the collection
936
938
  */
937
939
  export type TriggerIterationMode = 'fan-out' | 'sequential';
938
940
  /**
939
- * Behavior when sequential iteration exhausts all elements
941
+ * Behavior when sequential iteration exhausts all accounts
940
942
  * - 'repeat': Start from the beginning of the collection
941
943
  * - 'stop': Stop the automation (disable schedule for recurrence)
942
944
  */
943
945
  export type IterationExhaustionBehavior = 'repeat' | 'stop';
944
946
  /**
945
- * Collection input configuration for trigger nodes
946
- * When enabled, the trigger iterates over a collection (e.g., account group)
947
+ * Account iteration configuration for trigger nodes
948
+ * When enabled, the trigger iterates over a collection of accounts
947
949
  */
948
950
  export interface TriggerCollectionConfig {
949
- /** Whether collection iteration is enabled */
951
+ /** Whether account iteration is enabled */
950
952
  enabled: boolean;
951
- /** How to iterate over the collection */
953
+ /** How to iterate over the accounts */
952
954
  iterationMode: TriggerIterationMode;
953
- /** What to do when sequential iteration exhausts all elements */
955
+ /** What to do when sequential iteration exhausts all accounts */
954
956
  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') */
957
+ /** Account IDs to iterate over */
958
958
  accountIds?: string[];
959
959
  }
960
960
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.90.0",
3
+ "version": "2.92.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",