ugcinc 2.11.0 → 2.11.1

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, description):**
117
+ **Update account info (tags, groups, keywords, profiles, description, warmup version):**
118
118
  ```typescript
119
119
  // Update account metadata
120
120
  const response = await client.accounts.updateInfo({
@@ -124,7 +124,8 @@ const response = await client.accounts.updateInfo({
124
124
  user_group: 'creators',
125
125
  keywords: 'fitness,health,workout',
126
126
  profiles: '@fitinfluencer1,@healthguru2',
127
- description: 'health and wellness content'
127
+ description: 'health and wellness content',
128
+ warmupVersion: 'v1_smart' // 'original' or 'v1_smart'
128
129
  });
129
130
 
130
131
  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, description)
16
+ * Update account metadata (tag, org_group, user_group, keywords, profiles, description, warmupVersion)
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, description)
22
+ * Update account metadata (tag, org_group, user_group, keywords, profiles, description, warmupVersion)
23
23
  */
24
24
  async updateInfo(params) {
25
25
  return this.post('/accounts/update-info', params);
package/dist/types.d.ts CHANGED
@@ -130,6 +130,7 @@ export interface UpdateAccountInfoParams {
130
130
  keywords?: string;
131
131
  profiles?: string;
132
132
  description?: string;
133
+ warmupVersion?: 'original' | 'v1_smart';
133
134
  }
134
135
  export interface UpdateAccountSocialParams {
135
136
  accountId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.11.0",
3
+ "version": "2.11.1",
4
4
  "description": "TypeScript/JavaScript client for the UGC Inc API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",