ugcinc 4.5.46 → 4.5.47
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 +1 -0
- package/dist/accounts.d.ts +15 -0
- package/dist/accounts.js +7 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,7 @@ if (res.ok) {
|
|
|
38
38
|
|
|
39
39
|
- `getAccounts(params?)` -> `POST /accounts`
|
|
40
40
|
- `getStatus(params?)` -> `POST /accounts/status`
|
|
41
|
+
- `getProfileSyncStatus(params)` -> `POST /accounts/profile-sync-status` (custom_provider profile verification)
|
|
41
42
|
- `updateInfo(params)` -> `POST /accounts/update-info`
|
|
42
43
|
- `updateSocial(params)` -> `POST /accounts/update-social`
|
|
43
44
|
- `nicheSwitch(params)` -> `POST /accounts/niche-switch`
|
package/dist/accounts.d.ts
CHANGED
|
@@ -86,6 +86,16 @@ export interface GetAccountStatusParams {
|
|
|
86
86
|
accountIds?: string[];
|
|
87
87
|
includeCompleted?: boolean;
|
|
88
88
|
}
|
|
89
|
+
export interface GetProfileSyncStatusParams {
|
|
90
|
+
accountIds: string[];
|
|
91
|
+
}
|
|
92
|
+
export interface ProfileSyncStatusResult {
|
|
93
|
+
accountId: string;
|
|
94
|
+
inSync: boolean;
|
|
95
|
+
}
|
|
96
|
+
export interface GetProfileSyncStatusResponse {
|
|
97
|
+
results: ProfileSyncStatusResult[];
|
|
98
|
+
}
|
|
89
99
|
export interface AccountInfoUpdate {
|
|
90
100
|
accountId: string;
|
|
91
101
|
tag?: string;
|
|
@@ -234,6 +244,11 @@ export declare class AccountsClient extends BaseClient {
|
|
|
234
244
|
* Get account status (tasks) for one or more accounts
|
|
235
245
|
*/
|
|
236
246
|
getStatus(params?: GetAccountStatusParams): Promise<ApiResponse<AccountTask[]>>;
|
|
247
|
+
/**
|
|
248
|
+
* Check profile sync status for custom_provider accounts.
|
|
249
|
+
* Compares live Instagram/TikTok profile to expected values; when in sync, clears pending_info_change.
|
|
250
|
+
*/
|
|
251
|
+
getProfileSyncStatus(params: GetProfileSyncStatusParams): Promise<ApiResponse<GetProfileSyncStatusResponse>>;
|
|
237
252
|
/**
|
|
238
253
|
* Update account metadata for one or more accounts
|
|
239
254
|
* Supports: tag, org_group, user_group, keywords, profiles, description, warmupVersion, postVersion
|
package/dist/accounts.js
CHANGED
|
@@ -18,6 +18,13 @@ class AccountsClient extends base_1.BaseClient {
|
|
|
18
18
|
async getStatus(params) {
|
|
19
19
|
return this.post('/accounts/status', params ?? {});
|
|
20
20
|
}
|
|
21
|
+
/**
|
|
22
|
+
* Check profile sync status for custom_provider accounts.
|
|
23
|
+
* Compares live Instagram/TikTok profile to expected values; when in sync, clears pending_info_change.
|
|
24
|
+
*/
|
|
25
|
+
async getProfileSyncStatus(params) {
|
|
26
|
+
return this.post('/accounts/profile-sync-status', params);
|
|
27
|
+
}
|
|
21
28
|
/**
|
|
22
29
|
* Update account metadata for one or more accounts
|
|
23
30
|
* Supports: tag, org_group, user_group, keywords, profiles, description, warmupVersion, postVersion
|