ugcinc 4.5.46 → 4.5.48

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/README.md CHANGED
@@ -38,6 +38,7 @@ if (res.ok) {
38
38
 
39
39
  - `getAccounts(params?)` -> `POST /accounts`
40
40
  - `getStatus(params?)` -> `POST /accounts/status`
41
+ - `getProfileSyncStatus(params)` -> `POST /accounts/profile-sync-status` (custom_provider profile verification)
41
42
  - `updateInfo(params)` -> `POST /accounts/update-info`
42
43
  - `updateSocial(params)` -> `POST /accounts/update-social`
43
44
  - `nicheSwitch(params)` -> `POST /accounts/niche-switch`
@@ -86,6 +86,16 @@ export interface GetAccountStatusParams {
86
86
  accountIds?: string[];
87
87
  includeCompleted?: boolean;
88
88
  }
89
+ export interface GetProfileSyncStatusParams {
90
+ accountIds: string[];
91
+ }
92
+ export interface ProfileSyncStatusResult {
93
+ accountId: string;
94
+ inSync: boolean;
95
+ }
96
+ export interface GetProfileSyncStatusResponse {
97
+ results: ProfileSyncStatusResult[];
98
+ }
89
99
  export interface AccountInfoUpdate {
90
100
  accountId: string;
91
101
  tag?: string;
@@ -234,6 +244,11 @@ export declare class AccountsClient extends BaseClient {
234
244
  * Get account status (tasks) for one or more accounts
235
245
  */
236
246
  getStatus(params?: GetAccountStatusParams): Promise<ApiResponse<AccountTask[]>>;
247
+ /**
248
+ * Check profile sync status for custom_provider accounts.
249
+ * Compares live Instagram/TikTok profile to expected values; when in sync, clears pending_info_change.
250
+ */
251
+ getProfileSyncStatus(params: GetProfileSyncStatusParams): Promise<ApiResponse<GetProfileSyncStatusResponse>>;
237
252
  /**
238
253
  * Update account metadata for one or more accounts
239
254
  * Supports: tag, org_group, user_group, keywords, profiles, description, warmupVersion, postVersion
package/dist/accounts.js CHANGED
@@ -18,6 +18,13 @@ class AccountsClient extends base_1.BaseClient {
18
18
  async getStatus(params) {
19
19
  return this.post('/accounts/status', params ?? {});
20
20
  }
21
+ /**
22
+ * Check profile sync status for custom_provider accounts.
23
+ * Compares live Instagram/TikTok profile to expected values; when in sync, clears pending_info_change.
24
+ */
25
+ async getProfileSyncStatus(params) {
26
+ return this.post('/accounts/profile-sync-status', params);
27
+ }
21
28
  /**
22
29
  * Update account metadata for one or more accounts
23
30
  * Supports: tag, org_group, user_group, keywords, profiles, description, warmupVersion, postVersion
@@ -483,6 +483,7 @@ function getAllNodes() {
483
483
  nodeId: def.nodeId,
484
484
  label: def.label,
485
485
  description: def.description,
486
+ guide: def.guide,
486
487
  category: def.category,
487
488
  type: def.type,
488
489
  inputs,
@@ -151,6 +151,8 @@ export interface NodeDefinition<TNodeId extends string, T extends NodeCategory,
151
151
  nodeId: TNodeId;
152
152
  label: string;
153
153
  description: string;
154
+ /** Detailed guide for AI agents: use cases, when to use/not use, tips, gotchas */
155
+ guide: string | null;
154
156
  type: T;
155
157
  category: string;
156
158
  /** If true, this node is internal and not user-creatable */
@@ -249,6 +251,8 @@ export declare function defineNode<TNodeId extends string, T extends NodeCategor
249
251
  nodeId: TNodeId;
250
252
  label: string;
251
253
  description: string;
254
+ /** Detailed guide for AI agents: use cases, when to use/not use, tips, gotchas */
255
+ guide?: string;
252
256
  type: T;
253
257
  category: string;
254
258
  /** If true, this node is internal and not user-creatable */
@@ -32,6 +32,7 @@ function preview(value) {
32
32
  function defineNode(def) {
33
33
  return {
34
34
  ...def,
35
+ guide: def.guide ?? null,
35
36
  isInternal: (def.isInternal ?? false),
36
37
  isFlowControl: def.isFlowControl ?? false,
37
38
  canBeCaptured: def.canBeCaptured ?? false,
@@ -253,6 +253,8 @@ export interface ComputedNode {
253
253
  label: string;
254
254
  /** Description shown in add node modal */
255
255
  description: string;
256
+ /** Detailed guide for AI agents: use cases, when to use/not use, tips, gotchas */
257
+ guide: string | null;
256
258
  /** UI display category for grouping in add node modal */
257
259
  category: string;
258
260
  /** Functional type for node behavior classification */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "4.5.46",
3
+ "version": "4.5.48",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",