ugcinc 3.84.3 → 3.84.5

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.
@@ -70,10 +70,12 @@ export declare class AutomationsClient extends BaseClient {
70
70
  }>>>;
71
71
  /**
72
72
  * List all automation runs for the organization (across all templates)
73
+ * @param templateId - Optional filter to show runs from a specific automation only
73
74
  */
74
75
  listAllRuns(params: {
75
76
  limit?: number;
76
77
  reviewStatus?: 'pending_review' | 'approved' | 'rejected' | 'all';
78
+ templateId?: string;
77
79
  }): Promise<ApiResponse<Array<{
78
80
  run: AutomationRun;
79
81
  templateName: string;
@@ -77,6 +77,7 @@ class AutomationsClient extends base_1.BaseClient {
77
77
  }
78
78
  /**
79
79
  * List all automation runs for the organization (across all templates)
80
+ * @param templateId - Optional filter to show runs from a specific automation only
80
81
  */
81
82
  async listAllRuns(params) {
82
83
  return this.request('/automations/list-all-runs', {
package/dist/types.d.ts CHANGED
@@ -38,7 +38,7 @@ export interface Account {
38
38
  niches: string | null;
39
39
  age_range: string | null;
40
40
  sex: string | null;
41
- status: 'pending' | 'initialized' | 'setup' | 'warming' | 'warmed' | 'needs_replacement' | 'error';
41
+ status: 'uninitialized' | 'pending' | 'initialized' | 'setup' | 'warming' | 'warmed' | 'needs_replacement' | 'error' | 'failed' | 'deleted';
42
42
  phone_type: 'physical_iphone' | 'physical_android' | 'emulated_android' | 'social_api' | null;
43
43
  oneup_social_network_id?: string | null;
44
44
  oneup_category_id?: string | null;
@@ -128,7 +128,7 @@ export interface GetAccountsParams {
128
128
  tag?: string;
129
129
  org_group?: string;
130
130
  user_group?: string;
131
- status?: 'pending' | 'initialized' | 'setup' | 'warming' | 'warmed' | 'needs_replacement' | 'error';
131
+ status?: 'uninitialized' | 'pending' | 'initialized' | 'setup' | 'warming' | 'warmed' | 'needs_replacement' | 'error' | 'failed' | 'deleted';
132
132
  }
133
133
  export interface GetAccountStatsParams {
134
134
  accountIds?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "3.84.3",
3
+ "version": "3.84.5",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",