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.
- package/dist/types.d.ts +13 -13
- 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
|
|
934
|
-
* - 'fan-out': Spawn all runs simultaneously (one per
|
|
935
|
-
* - 'sequential': One
|
|
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
|
|
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
|
-
*
|
|
946
|
-
* When enabled, the trigger iterates over a collection
|
|
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
|
|
951
|
+
/** Whether account iteration is enabled */
|
|
950
952
|
enabled: boolean;
|
|
951
|
-
/** How to iterate over the
|
|
953
|
+
/** How to iterate over the accounts */
|
|
952
954
|
iterationMode: TriggerIterationMode;
|
|
953
|
-
/** What to do when sequential iteration exhausts all
|
|
955
|
+
/** What to do when sequential iteration exhausts all accounts */
|
|
954
956
|
exhaustionBehavior?: IterationExhaustionBehavior;
|
|
955
|
-
/**
|
|
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
|
/**
|