ugcinc 2.10.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 +4 -2
- package/dist/accounts.d.ts +1 -1
- package/dist/accounts.js +1 -1
- package/dist/types.d.ts +3 -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):**
|
|
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({
|
|
@@ -123,7 +123,9 @@ 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',
|
|
128
|
+
warmupVersion: 'v1_smart' // 'original' or 'v1_smart'
|
|
127
129
|
});
|
|
128
130
|
|
|
129
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)
|
|
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)
|
|
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
|
@@ -29,6 +29,7 @@ export interface Account {
|
|
|
29
29
|
bio: string | null;
|
|
30
30
|
warmup_enabled: boolean | null;
|
|
31
31
|
warmup_version: 'original' | 'v1_smart' | null;
|
|
32
|
+
description: string | null;
|
|
32
33
|
keywords: string | null;
|
|
33
34
|
profiles: string | null;
|
|
34
35
|
niches: string | null;
|
|
@@ -128,6 +129,8 @@ export interface UpdateAccountInfoParams {
|
|
|
128
129
|
user_group?: string;
|
|
129
130
|
keywords?: string;
|
|
130
131
|
profiles?: string;
|
|
132
|
+
description?: string;
|
|
133
|
+
warmupVersion?: 'original' | 'v1_smart';
|
|
131
134
|
}
|
|
132
135
|
export interface UpdateAccountSocialParams {
|
|
133
136
|
accountId: string;
|