ugcinc 2.9.0 → 2.11.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/README.md CHANGED
@@ -114,7 +114,7 @@ if (response.ok) {
114
114
  }
115
115
  ```
116
116
 
117
- **Update account info (tags, groups, keywords, profiles):**
117
+ **Update account info (tags, groups, keywords, profiles, description):**
118
118
  ```typescript
119
119
  // Update account metadata
120
120
  const response = await client.accounts.updateInfo({
@@ -123,7 +123,8 @@ const response = await client.accounts.updateInfo({
123
123
  org_group: 'team-a',
124
124
  user_group: 'creators',
125
125
  keywords: 'fitness,health,workout',
126
- profiles: '@fitinfluencer1,@healthguru2'
126
+ profiles: '@fitinfluencer1,@healthguru2',
127
+ description: 'health and wellness content'
127
128
  });
128
129
 
129
130
  if (response.ok) {
@@ -13,7 +13,7 @@ export declare class AccountsClient extends BaseClient {
13
13
  */
14
14
  getStatus(params?: GetAccountStatusParams): Promise<ApiResponse<AccountTask[]>>;
15
15
  /**
16
- * Update account metadata (tag, org_group, user_group, keywords, profiles)
16
+ * Update account metadata (tag, org_group, user_group, keywords, profiles, description)
17
17
  */
18
18
  updateInfo(params: UpdateAccountInfoParams): Promise<ApiResponse<{
19
19
  message: string;
package/dist/accounts.js CHANGED
@@ -19,7 +19,7 @@ class AccountsClient extends base_1.BaseClient {
19
19
  return this.post('/accounts/status', params ?? {});
20
20
  }
21
21
  /**
22
- * Update account metadata (tag, org_group, user_group, keywords, profiles)
22
+ * Update account metadata (tag, org_group, user_group, keywords, profiles, description)
23
23
  */
24
24
  async updateInfo(params) {
25
25
  return this.post('/accounts/update-info', params);
package/dist/types.d.ts CHANGED
@@ -28,6 +28,8 @@ export interface Account {
28
28
  pfp_url: string | null;
29
29
  bio: string | null;
30
30
  warmup_enabled: boolean | null;
31
+ warmup_version: 'original' | 'v1_smart' | null;
32
+ description: string | null;
31
33
  keywords: string | null;
32
34
  profiles: string | null;
33
35
  niches: string | null;
@@ -127,6 +129,7 @@ export interface UpdateAccountInfoParams {
127
129
  user_group?: string;
128
130
  keywords?: string;
129
131
  profiles?: string;
132
+ description?: string;
130
133
  }
131
134
  export interface UpdateAccountSocialParams {
132
135
  accountId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.9.0",
3
+ "version": "2.11.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",