ugcinc 2.25.0 → 2.26.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/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/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, warmupVersion)
|
|
16
|
+
* Update account metadata (tag, org_group, user_group, keywords, profiles, description, warmupVersion, postVersion)
|
|
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, warmupVersion)
|
|
22
|
+
* Update account metadata (tag, org_group, user_group, keywords, profiles, description, warmupVersion, postVersion)
|
|
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
|
+
post_version: 'original' | 'v1_custom' | null;
|
|
32
33
|
description: string | null;
|
|
33
34
|
keywords: string | null;
|
|
34
35
|
profiles: string | null;
|
|
@@ -131,6 +132,7 @@ export interface UpdateAccountInfoParams {
|
|
|
131
132
|
profiles?: string;
|
|
132
133
|
description?: string;
|
|
133
134
|
warmupVersion?: 'original' | 'v1_smart';
|
|
135
|
+
postVersion?: 'original' | 'v1_custom';
|
|
134
136
|
}
|
|
135
137
|
export interface UpdateAccountSocialParams {
|
|
136
138
|
accountId: string;
|
|
@@ -708,6 +710,7 @@ export interface CreateSocialAudioParams {
|
|
|
708
710
|
}
|
|
709
711
|
export interface CreateMediaFromUrlParams {
|
|
710
712
|
urls: string[];
|
|
713
|
+
names?: string[];
|
|
711
714
|
tag?: string;
|
|
712
715
|
}
|
|
713
716
|
export {};
|