ugcinc 2.25.0 → 2.25.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.
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc",
3
- "version": "2.25.0",
3
+ "version": "2.25.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",