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 +3 -2
- package/dist/accounts.d.ts +1 -1
- package/dist/accounts.js +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
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) {
|
package/dist/accounts.d.ts
CHANGED
|
@@ -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