bereach 1.4.3 → 1.5.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/README.md +71 -5
- package/esm/funcs/actions-connect-profile.d.ts +1 -1
- package/esm/funcs/actions-connect-profile.js +1 -1
- package/esm/funcs/actions-edit-profile.d.ts +18 -0
- package/esm/funcs/actions-edit-profile.d.ts.map +1 -0
- package/esm/funcs/actions-edit-profile.js +97 -0
- package/esm/funcs/actions-edit-profile.js.map +1 -0
- package/esm/funcs/chat-get-conversation-summary.d.ts +18 -0
- package/esm/funcs/chat-get-conversation-summary.d.ts.map +1 -0
- package/esm/funcs/chat-get-conversation-summary.js +100 -0
- package/esm/funcs/chat-get-conversation-summary.js.map +1 -0
- package/esm/funcs/chat-list-inbox.d.ts +1 -1
- package/esm/funcs/chat-list-inbox.js +1 -1
- package/esm/funcs/chat-save-conversation-summary.d.ts +18 -0
- package/esm/funcs/chat-save-conversation-summary.d.ts.map +1 -0
- package/esm/funcs/chat-save-conversation-summary.js +97 -0
- package/esm/funcs/chat-save-conversation-summary.js.map +1 -0
- package/esm/funcs/company-pages-get-analytics.d.ts +1 -1
- package/esm/funcs/company-pages-get-analytics.js +1 -1
- package/esm/funcs/connectors-agent-snapshot.d.ts +18 -0
- package/esm/funcs/connectors-agent-snapshot.d.ts.map +1 -0
- package/esm/funcs/connectors-agent-snapshot.js +86 -0
- package/esm/funcs/connectors-agent-snapshot.js.map +1 -0
- package/esm/funcs/connectors-connector-heartbeat.d.ts +18 -0
- package/esm/funcs/connectors-connector-heartbeat.d.ts.map +1 -0
- package/esm/funcs/connectors-connector-heartbeat.js +99 -0
- package/esm/funcs/connectors-connector-heartbeat.js.map +1 -0
- package/esm/funcs/connectors-list-connectors.d.ts +18 -0
- package/esm/funcs/connectors-list-connectors.d.ts.map +1 -0
- package/esm/funcs/connectors-list-connectors.js +86 -0
- package/esm/funcs/connectors-list-connectors.js.map +1 -0
- package/esm/funcs/connectors-pull-task.d.ts +18 -0
- package/esm/funcs/connectors-pull-task.d.ts.map +1 -0
- package/esm/funcs/connectors-pull-task.js +86 -0
- package/esm/funcs/connectors-pull-task.js.map +1 -0
- package/esm/funcs/connectors-submit-task-result.d.ts +18 -0
- package/esm/funcs/connectors-submit-task-result.d.ts.map +1 -0
- package/esm/funcs/connectors-submit-task-result.js +103 -0
- package/esm/funcs/connectors-submit-task-result.js.map +1 -0
- package/esm/funcs/contacts-global-activities.d.ts +18 -0
- package/esm/funcs/contacts-global-activities.d.ts.map +1 -0
- package/esm/funcs/contacts-global-activities.js +105 -0
- package/esm/funcs/contacts-global-activities.js.map +1 -0
- package/esm/funcs/profile-create-api-token.d.ts +18 -0
- package/esm/funcs/profile-create-api-token.d.ts.map +1 -0
- package/esm/funcs/profile-create-api-token.js +99 -0
- package/esm/funcs/profile-create-api-token.js.map +1 -0
- package/esm/funcs/profile-delete-api-token.d.ts +18 -0
- package/esm/funcs/profile-delete-api-token.d.ts.map +1 -0
- package/esm/funcs/profile-delete-api-token.js +99 -0
- package/esm/funcs/profile-delete-api-token.js.map +1 -0
- package/esm/funcs/profile-get-api-token.d.ts +18 -0
- package/esm/funcs/profile-get-api-token.d.ts.map +1 -0
- package/esm/funcs/profile-get-api-token.js +100 -0
- package/esm/funcs/profile-get-api-token.js.map +1 -0
- package/esm/funcs/profile-get-my-activity.d.ts +18 -0
- package/esm/funcs/profile-get-my-activity.d.ts.map +1 -0
- package/esm/funcs/profile-get-my-activity.js +104 -0
- package/esm/funcs/profile-get-my-activity.js.map +1 -0
- package/esm/funcs/profile-get-settings.d.ts +18 -0
- package/esm/funcs/profile-get-settings.d.ts.map +1 -0
- package/esm/funcs/profile-get-settings.js +86 -0
- package/esm/funcs/profile-get-settings.js.map +1 -0
- package/esm/funcs/profile-patch-settings.d.ts +18 -0
- package/esm/funcs/profile-patch-settings.d.ts.map +1 -0
- package/esm/funcs/profile-patch-settings.js +97 -0
- package/esm/funcs/profile-patch-settings.js.map +1 -0
- package/esm/funcs/profile-revalidate-linkedin.d.ts +18 -0
- package/esm/funcs/profile-revalidate-linkedin.d.ts.map +1 -0
- package/esm/funcs/profile-revalidate-linkedin.js +86 -0
- package/esm/funcs/profile-revalidate-linkedin.js.map +1 -0
- package/esm/funcs/sales-nav-search.d.ts +1 -1
- package/esm/funcs/sales-nav-search.js +1 -1
- package/esm/funcs/scheduled-messages-review-drafts.d.ts +18 -0
- package/esm/funcs/scheduled-messages-review-drafts.d.ts.map +1 -0
- package/esm/funcs/scheduled-messages-review-drafts.js +97 -0
- package/esm/funcs/scheduled-messages-review-drafts.js.map +1 -0
- package/esm/funcs/scrapers-collect-comment-replies.d.ts +1 -1
- package/esm/funcs/scrapers-collect-comment-replies.js +1 -1
- package/esm/funcs/scrapers-collect-comments.d.ts +1 -1
- package/esm/funcs/scrapers-collect-comments.js +1 -1
- package/esm/funcs/scrapers-collect-likes.d.ts +1 -1
- package/esm/funcs/scrapers-collect-likes.js +1 -1
- package/esm/funcs/scrapers-visit-profile.d.ts +2 -0
- package/esm/funcs/scrapers-visit-profile.d.ts.map +1 -1
- package/esm/funcs/scrapers-visit-profile.js +2 -0
- package/esm/funcs/scrapers-visit-profile.js.map +1 -1
- package/esm/funcs/search-people.d.ts +2 -2
- package/esm/funcs/search-people.js +2 -2
- package/esm/funcs/search-search.d.ts +1 -1
- package/esm/funcs/search-search.js +1 -1
- package/esm/funcs/settings-get-dm-polling-settings.d.ts +18 -0
- package/esm/funcs/settings-get-dm-polling-settings.d.ts.map +1 -0
- package/esm/funcs/settings-get-dm-polling-settings.js +86 -0
- package/esm/funcs/settings-get-dm-polling-settings.js.map +1 -0
- package/esm/funcs/settings-patch-dm-polling-settings.d.ts +18 -0
- package/esm/funcs/settings-patch-dm-polling-settings.d.ts.map +1 -0
- package/esm/funcs/settings-patch-dm-polling-settings.js +97 -0
- package/esm/funcs/settings-patch-dm-polling-settings.js.map +1 -0
- package/esm/funcs/tasks-cancel-chain.d.ts +18 -0
- package/esm/funcs/tasks-cancel-chain.d.ts.map +1 -0
- package/esm/funcs/tasks-cancel-chain.js +102 -0
- package/esm/funcs/tasks-cancel-chain.js.map +1 -0
- package/esm/funcs/tasks-cancel-task.d.ts +18 -0
- package/esm/funcs/tasks-cancel-task.d.ts.map +1 -0
- package/esm/funcs/tasks-cancel-task.js +102 -0
- package/esm/funcs/tasks-cancel-task.js.map +1 -0
- package/esm/funcs/tasks-events-feed.d.ts +18 -0
- package/esm/funcs/tasks-events-feed.d.ts.map +1 -0
- package/esm/funcs/tasks-events-feed.js +101 -0
- package/esm/funcs/tasks-events-feed.js.map +1 -0
- package/esm/funcs/tasks-list-tasks.d.ts +18 -0
- package/esm/funcs/tasks-list-tasks.d.ts.map +1 -0
- package/esm/funcs/tasks-list-tasks.js +104 -0
- package/esm/funcs/tasks-list-tasks.js.map +1 -0
- package/esm/funcs/workspace-create-workspace-invite.d.ts +18 -0
- package/esm/funcs/workspace-create-workspace-invite.d.ts.map +1 -0
- package/esm/funcs/workspace-create-workspace-invite.js +97 -0
- package/esm/funcs/workspace-create-workspace-invite.js.map +1 -0
- package/esm/funcs/workspace-delete-workspace-account.d.ts +18 -0
- package/esm/funcs/workspace-delete-workspace-account.d.ts.map +1 -0
- package/esm/funcs/workspace-delete-workspace-account.js +102 -0
- package/esm/funcs/workspace-delete-workspace-account.js.map +1 -0
- package/esm/funcs/workspace-delete-workspace-invite.d.ts +18 -0
- package/esm/funcs/workspace-delete-workspace-invite.d.ts.map +1 -0
- package/esm/funcs/workspace-delete-workspace-invite.js +97 -0
- package/esm/funcs/workspace-delete-workspace-invite.js.map +1 -0
- package/esm/funcs/workspace-upgrade-workspace-account.d.ts +18 -0
- package/esm/funcs/workspace-upgrade-workspace-account.d.ts.map +1 -0
- package/esm/funcs/workspace-upgrade-workspace-account.js +97 -0
- package/esm/funcs/workspace-upgrade-workspace-account.js.map +1 -0
- package/esm/hooks/hooks.d.ts.map +1 -1
- package/esm/hooks/hooks.js +0 -2
- package/esm/hooks/hooks.js.map +1 -1
- package/esm/lib/config.d.ts +5 -5
- package/esm/lib/config.d.ts.map +1 -1
- package/esm/lib/config.js +6 -6
- package/esm/lib/config.js.map +1 -1
- package/esm/lib/encodings.d.ts.map +1 -1
- package/esm/lib/encodings.js +20 -5
- package/esm/lib/encodings.js.map +1 -1
- package/esm/lib/security.d.ts +1 -1
- package/esm/lib/security.d.ts.map +1 -1
- package/esm/lib/security.js +19 -8
- package/esm/lib/security.js.map +1 -1
- package/esm/models/operations/{search-contacts-campaign.d.ts → archive-response.d.ts} +1166 -1151
- package/esm/models/operations/archive-response.d.ts.map +1 -0
- package/esm/models/operations/{search-contacts-campaign.js → archive-response.js} +454 -461
- package/esm/models/operations/archive-response.js.map +1 -0
- package/esm/models/operations/delete-workspace-invite-response.d.ts +1374 -0
- package/esm/models/operations/delete-workspace-invite-response.d.ts.map +1 -0
- package/esm/models/operations/delete-workspace-invite-response.js +901 -0
- package/esm/models/operations/delete-workspace-invite-response.js.map +1 -0
- package/esm/models/operations/{update-schedule-response.d.ts → get-by-url-campaign.d.ts} +1629 -1291
- package/esm/models/operations/get-by-url-campaign.d.ts.map +1 -0
- package/esm/models/operations/{update-schedule-response.js → get-by-url-campaign.js} +534 -341
- package/esm/models/operations/get-by-url-campaign.js.map +1 -0
- package/esm/models/operations/index.d.ts +4 -3
- package/esm/models/operations/index.d.ts.map +1 -1
- package/esm/models/operations/index.js +4 -3
- package/esm/models/operations/index.js.map +1 -1
- package/esm/models/operations/search-companies-response.d.ts +28 -12
- package/esm/models/operations/search-companies-response.d.ts.map +1 -1
- package/esm/models/operations/search-companies-response.js +6 -2
- package/esm/models/operations/search-companies-response.js.map +1 -1
- package/esm/models/operations/{update-account-response.d.ts → update-account-proxy-config-response.d.ts} +66 -38
- package/esm/models/operations/update-account-proxy-config-response.d.ts.map +1 -0
- package/esm/models/operations/{update-account-response.js → update-account-proxy-config-response.js} +26 -28
- package/esm/models/operations/update-account-proxy-config-response.js.map +1 -0
- package/esm/sdk/actions.d.ts +8 -1
- package/esm/sdk/actions.d.ts.map +1 -1
- package/esm/sdk/actions.js +11 -1
- package/esm/sdk/actions.js.map +1 -1
- package/esm/sdk/chat.d.ts +15 -1
- package/esm/sdk/chat.d.ts.map +1 -1
- package/esm/sdk/chat.js +21 -1
- package/esm/sdk/chat.js.map +1 -1
- package/esm/sdk/company-pages.d.ts +1 -1
- package/esm/sdk/company-pages.js +1 -1
- package/esm/sdk/connectors.d.ts +40 -0
- package/esm/sdk/connectors.d.ts.map +1 -0
- package/esm/sdk/connectors.js +58 -0
- package/esm/sdk/connectors.js.map +1 -0
- package/esm/sdk/contacts.d.ts +7 -0
- package/esm/sdk/contacts.d.ts.map +1 -1
- package/esm/sdk/contacts.js +10 -0
- package/esm/sdk/contacts.js.map +1 -1
- package/esm/sdk/profile.d.ts +49 -0
- package/esm/sdk/profile.d.ts.map +1 -1
- package/esm/sdk/profile.js +70 -0
- package/esm/sdk/profile.js.map +1 -1
- package/esm/sdk/sales-nav.d.ts +1 -1
- package/esm/sdk/sales-nav.js +1 -1
- package/esm/sdk/scheduled-messages.d.ts +7 -0
- package/esm/sdk/scheduled-messages.d.ts.map +1 -1
- package/esm/sdk/scheduled-messages.js +10 -0
- package/esm/sdk/scheduled-messages.js.map +1 -1
- package/esm/sdk/scrapers.d.ts +5 -3
- package/esm/sdk/scrapers.d.ts.map +1 -1
- package/esm/sdk/scrapers.js +5 -3
- package/esm/sdk/scrapers.js.map +1 -1
- package/esm/sdk/sdk.d.ts +12 -0
- package/esm/sdk/sdk.d.ts.map +1 -1
- package/esm/sdk/sdk.js +20 -0
- package/esm/sdk/sdk.js.map +1 -1
- package/esm/sdk/search.d.ts +3 -3
- package/esm/sdk/search.js +3 -3
- package/esm/sdk/settings.d.ts +19 -0
- package/esm/sdk/settings.d.ts.map +1 -0
- package/esm/sdk/settings.js +28 -0
- package/esm/sdk/settings.js.map +1 -0
- package/esm/sdk/tasks.d.ts +33 -0
- package/esm/sdk/tasks.d.ts.map +1 -0
- package/esm/sdk/tasks.js +48 -0
- package/esm/sdk/tasks.js.map +1 -0
- package/esm/sdk/workspace.d.ts +33 -0
- package/esm/sdk/workspace.d.ts.map +1 -0
- package/esm/sdk/workspace.js +48 -0
- package/esm/sdk/workspace.js.map +1 -0
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/actions-connect-profile.ts +1 -1
- package/src/funcs/actions-edit-profile.ts +224 -0
- package/src/funcs/chat-get-conversation-summary.ts +229 -0
- package/src/funcs/chat-list-inbox.ts +1 -1
- package/src/funcs/chat-save-conversation-summary.ts +225 -0
- package/src/funcs/company-pages-get-analytics.ts +1 -1
- package/src/funcs/connectors-agent-snapshot.ts +205 -0
- package/src/funcs/connectors-connector-heartbeat.ts +230 -0
- package/src/funcs/connectors-list-connectors.ts +205 -0
- package/src/funcs/connectors-pull-task.ts +205 -0
- package/src/funcs/connectors-submit-task-result.ts +231 -0
- package/src/funcs/contacts-global-activities.ts +237 -0
- package/src/funcs/profile-create-api-token.ts +230 -0
- package/src/funcs/profile-delete-api-token.ts +230 -0
- package/src/funcs/profile-get-api-token.ts +229 -0
- package/src/funcs/profile-get-my-activity.ts +236 -0
- package/src/funcs/profile-get-settings.ts +205 -0
- package/src/funcs/profile-patch-settings.ts +224 -0
- package/src/funcs/profile-revalidate-linkedin.ts +205 -0
- package/src/funcs/sales-nav-search.ts +1 -1
- package/src/funcs/scheduled-messages-review-drafts.ts +224 -0
- package/src/funcs/scrapers-collect-comment-replies.ts +1 -1
- package/src/funcs/scrapers-collect-comments.ts +1 -1
- package/src/funcs/scrapers-collect-likes.ts +1 -1
- package/src/funcs/scrapers-visit-profile.ts +2 -0
- package/src/funcs/search-people.ts +2 -2
- package/src/funcs/search-search.ts +1 -1
- package/src/funcs/settings-get-dm-polling-settings.ts +205 -0
- package/src/funcs/settings-patch-dm-polling-settings.ts +225 -0
- package/src/funcs/tasks-cancel-chain.ts +229 -0
- package/src/funcs/tasks-cancel-task.ts +229 -0
- package/src/funcs/tasks-events-feed.ts +230 -0
- package/src/funcs/tasks-list-tasks.ts +233 -0
- package/src/funcs/workspace-create-workspace-invite.ts +225 -0
- package/src/funcs/workspace-delete-workspace-account.ts +230 -0
- package/src/funcs/workspace-delete-workspace-invite.ts +225 -0
- package/src/funcs/workspace-upgrade-workspace-account.ts +225 -0
- package/src/hooks/hooks.ts +0 -3
- package/src/lib/config.ts +6 -6
- package/src/lib/encodings.ts +23 -4
- package/src/lib/security.ts +14 -2
- package/src/models/operations/{search-contacts-campaign.ts → archive-response.ts} +2493 -2362
- package/src/models/operations/delete-workspace-invite-response.ts +2783 -0
- package/src/models/operations/{update-schedule-response.ts → get-by-url-campaign.ts} +3591 -2939
- package/src/models/operations/index.ts +4 -3
- package/src/models/operations/search-companies-response.ts +34 -14
- package/src/models/operations/{update-account-response.ts → update-account-proxy-config-response.ts} +107 -84
- package/src/sdk/actions.ts +19 -1
- package/src/sdk/chat.ts +37 -1
- package/src/sdk/company-pages.ts +1 -1
- package/src/sdk/connectors.ts +93 -0
- package/src/sdk/contacts.ts +18 -0
- package/src/sdk/profile.ts +122 -0
- package/src/sdk/sales-nav.ts +1 -1
- package/src/sdk/scheduled-messages.ts +18 -0
- package/src/sdk/scrapers.ts +5 -3
- package/src/sdk/sdk.ts +24 -0
- package/src/sdk/search.ts +3 -3
- package/src/sdk/settings.ts +43 -0
- package/src/sdk/tasks.ts +81 -0
- package/src/sdk/workspace.ts +81 -0
- package/esm/models/operations/search-contacts-campaign.d.ts.map +0 -1
- package/esm/models/operations/search-contacts-campaign.js.map +0 -1
- package/esm/models/operations/update-account-response.d.ts.map +0 -1
- package/esm/models/operations/update-account-response.js.map +0 -1
- package/esm/models/operations/update-schedule-response.d.ts.map +0 -1
- package/esm/models/operations/update-schedule-response.js.map +0 -1
|
@@ -2,6 +2,33 @@ import * as z from "zod/v4-mini";
|
|
|
2
2
|
import { ClosedEnum, OpenEnum } from "../../types/enums.js";
|
|
3
3
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
4
|
import { SDKValidationError } from "../errors/sdk-validation-error.js";
|
|
5
|
+
import { UpdateAccountProxyConfigResponse } from "./update-account-proxy-config-response.js";
|
|
6
|
+
export type UpdateAccountAccount = {
|
|
7
|
+
id: string;
|
|
8
|
+
label: string | null;
|
|
9
|
+
isDefault: boolean;
|
|
10
|
+
linkedinProfileId: string | null;
|
|
11
|
+
linkedinName: string | null;
|
|
12
|
+
headline: string | null;
|
|
13
|
+
profilePic: string | null;
|
|
14
|
+
isValid: boolean;
|
|
15
|
+
proxyConfig: UpdateAccountProxyConfigResponse | null;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Updated account
|
|
19
|
+
*/
|
|
20
|
+
export type UpdateAccountResponse = {
|
|
21
|
+
success: true;
|
|
22
|
+
account: UpdateAccountAccount;
|
|
23
|
+
/**
|
|
24
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
25
|
+
*/
|
|
26
|
+
creditsUsed: number;
|
|
27
|
+
/**
|
|
28
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
29
|
+
*/
|
|
30
|
+
retryAfter: number;
|
|
31
|
+
};
|
|
5
32
|
export type RefreshPositionStartDate = {
|
|
6
33
|
month: number | null;
|
|
7
34
|
year: number;
|
|
@@ -14,15 +41,15 @@ export type RefreshPosition = {
|
|
|
14
41
|
companyName: string | null;
|
|
15
42
|
title: string | null;
|
|
16
43
|
/**
|
|
17
|
-
* Position description / responsibilities text
|
|
44
|
+
* Position description / responsibilities text (only populated when includeAbout is true)
|
|
18
45
|
*/
|
|
19
|
-
description
|
|
46
|
+
description?: string | null | undefined;
|
|
20
47
|
companyUrl: string | null;
|
|
21
48
|
companyLogo: string | null;
|
|
22
49
|
/**
|
|
23
|
-
* Short description of the company (
|
|
50
|
+
* Short description of the company (only populated when includeAbout is true)
|
|
24
51
|
*/
|
|
25
|
-
companyDescription
|
|
52
|
+
companyDescription?: string | null | undefined;
|
|
26
53
|
startDate: RefreshPositionStartDate | null;
|
|
27
54
|
endDate: RefreshPositionEndDate | null;
|
|
28
55
|
isCurrent: boolean;
|
|
@@ -159,6 +186,10 @@ export type RefreshResponse = {
|
|
|
159
186
|
* Total LinkedIn connections
|
|
160
187
|
*/
|
|
161
188
|
connectionsCount: number | null;
|
|
189
|
+
/**
|
|
190
|
+
* Total number of followers (populated during refresh)
|
|
191
|
+
*/
|
|
192
|
+
followersCount?: number | null | undefined;
|
|
162
193
|
/**
|
|
163
194
|
* Profile location
|
|
164
195
|
*/
|
|
@@ -171,6 +202,14 @@ export type RefreshResponse = {
|
|
|
171
202
|
* Last 5 posts (populated when posts have been fetched via /me/linkedin/posts)
|
|
172
203
|
*/
|
|
173
204
|
lastPosts?: Array<RefreshLastPost> | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* Last 20 comments by the user (populated after /me/linkedin/activity?tabType=COMMENTS)
|
|
207
|
+
*/
|
|
208
|
+
lastComments?: Array<any> | undefined;
|
|
209
|
+
/**
|
|
210
|
+
* Last reactions by the user (populated after /me/linkedin/activity?tabType=REACTIONS)
|
|
211
|
+
*/
|
|
212
|
+
lastReactions?: Array<any> | undefined;
|
|
174
213
|
refreshed: true;
|
|
175
214
|
/**
|
|
176
215
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
@@ -326,7 +365,7 @@ export type GetFollowersResponse = {
|
|
|
326
365
|
retryAfter: number;
|
|
327
366
|
};
|
|
328
367
|
/**
|
|
329
|
-
* Daily usage counter (resets at midnight UTC)
|
|
368
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
330
369
|
*/
|
|
331
370
|
export type ConnectionRequestDaily = {
|
|
332
371
|
/**
|
|
@@ -364,9 +403,9 @@ export type ConnectionRequestWeekly = {
|
|
|
364
403
|
*/
|
|
365
404
|
export type ConnectionRequest = {
|
|
366
405
|
/**
|
|
367
|
-
* Daily usage counter (resets at midnight UTC)
|
|
406
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
368
407
|
*/
|
|
369
|
-
daily: ConnectionRequestDaily;
|
|
408
|
+
daily: ConnectionRequestDaily | null;
|
|
370
409
|
/**
|
|
371
410
|
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
372
411
|
*/
|
|
@@ -376,16 +415,16 @@ export type ConnectionRequest = {
|
|
|
376
415
|
*/
|
|
377
416
|
minIntervalSeconds: number;
|
|
378
417
|
/**
|
|
379
|
-
* ISO 8601 timestamp of the next daily counter reset
|
|
418
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
380
419
|
*/
|
|
381
|
-
nextResetDaily: Date;
|
|
420
|
+
nextResetDaily: Date | null;
|
|
382
421
|
/**
|
|
383
422
|
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
384
423
|
*/
|
|
385
424
|
nextResetWeekly: Date | null;
|
|
386
425
|
};
|
|
387
426
|
/**
|
|
388
|
-
* Daily usage counter (resets at midnight UTC)
|
|
427
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
389
428
|
*/
|
|
390
429
|
export type MessageDaily = {
|
|
391
430
|
/**
|
|
@@ -419,13 +458,13 @@ export type MessageWeekly = {
|
|
|
419
458
|
remaining: number;
|
|
420
459
|
};
|
|
421
460
|
/**
|
|
422
|
-
* Limits for
|
|
461
|
+
* Limits for sending DMs
|
|
423
462
|
*/
|
|
424
463
|
export type GetLimitsMessage = {
|
|
425
464
|
/**
|
|
426
|
-
* Daily usage counter (resets at midnight UTC)
|
|
465
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
427
466
|
*/
|
|
428
|
-
daily: MessageDaily;
|
|
467
|
+
daily: MessageDaily | null;
|
|
429
468
|
/**
|
|
430
469
|
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
431
470
|
*/
|
|
@@ -435,16 +474,16 @@ export type GetLimitsMessage = {
|
|
|
435
474
|
*/
|
|
436
475
|
minIntervalSeconds: number;
|
|
437
476
|
/**
|
|
438
|
-
* ISO 8601 timestamp of the next daily counter reset
|
|
477
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
439
478
|
*/
|
|
440
|
-
nextResetDaily: Date;
|
|
479
|
+
nextResetDaily: Date | null;
|
|
441
480
|
/**
|
|
442
481
|
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
443
482
|
*/
|
|
444
483
|
nextResetWeekly: Date | null;
|
|
445
484
|
};
|
|
446
485
|
/**
|
|
447
|
-
* Daily usage counter (resets at midnight UTC)
|
|
486
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
448
487
|
*/
|
|
449
488
|
export type ProfileVisitDaily = {
|
|
450
489
|
/**
|
|
@@ -482,9 +521,9 @@ export type ProfileVisitWeekly = {
|
|
|
482
521
|
*/
|
|
483
522
|
export type ProfileVisit = {
|
|
484
523
|
/**
|
|
485
|
-
* Daily usage counter (resets at midnight UTC)
|
|
524
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
486
525
|
*/
|
|
487
|
-
daily: ProfileVisitDaily;
|
|
526
|
+
daily: ProfileVisitDaily | null;
|
|
488
527
|
/**
|
|
489
528
|
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
490
529
|
*/
|
|
@@ -494,16 +533,16 @@ export type ProfileVisit = {
|
|
|
494
533
|
*/
|
|
495
534
|
minIntervalSeconds: number;
|
|
496
535
|
/**
|
|
497
|
-
* ISO 8601 timestamp of the next daily counter reset
|
|
536
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
498
537
|
*/
|
|
499
|
-
nextResetDaily: Date;
|
|
538
|
+
nextResetDaily: Date | null;
|
|
500
539
|
/**
|
|
501
540
|
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
502
541
|
*/
|
|
503
542
|
nextResetWeekly: Date | null;
|
|
504
543
|
};
|
|
505
544
|
/**
|
|
506
|
-
* Daily usage counter (resets at midnight UTC)
|
|
545
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
507
546
|
*/
|
|
508
547
|
export type ScrapingDaily = {
|
|
509
548
|
/**
|
|
@@ -541,9 +580,9 @@ export type ScrapingWeekly = {
|
|
|
541
580
|
*/
|
|
542
581
|
export type Scraping = {
|
|
543
582
|
/**
|
|
544
|
-
* Daily usage counter (resets at midnight UTC)
|
|
583
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
545
584
|
*/
|
|
546
|
-
daily: ScrapingDaily;
|
|
585
|
+
daily: ScrapingDaily | null;
|
|
547
586
|
/**
|
|
548
587
|
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
549
588
|
*/
|
|
@@ -553,377 +592,357 @@ export type Scraping = {
|
|
|
553
592
|
*/
|
|
554
593
|
minIntervalSeconds: number;
|
|
555
594
|
/**
|
|
556
|
-
* ISO 8601 timestamp of the next daily counter reset
|
|
595
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
557
596
|
*/
|
|
558
|
-
nextResetDaily: Date;
|
|
597
|
+
nextResetDaily: Date | null;
|
|
559
598
|
/**
|
|
560
599
|
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
561
600
|
*/
|
|
562
601
|
nextResetWeekly: Date | null;
|
|
563
602
|
};
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
connectionRequest: ConnectionRequest;
|
|
603
|
+
/**
|
|
604
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
605
|
+
*/
|
|
606
|
+
export type PostDaily = {
|
|
569
607
|
/**
|
|
570
|
-
*
|
|
608
|
+
* Number of actions used in this window
|
|
571
609
|
*/
|
|
572
|
-
|
|
610
|
+
current: number;
|
|
573
611
|
/**
|
|
574
|
-
*
|
|
612
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
575
613
|
*/
|
|
576
|
-
|
|
614
|
+
limit: number;
|
|
577
615
|
/**
|
|
578
|
-
*
|
|
616
|
+
* Actions remaining before hitting the limit
|
|
579
617
|
*/
|
|
580
|
-
|
|
618
|
+
remaining: number;
|
|
581
619
|
};
|
|
582
620
|
/**
|
|
583
|
-
*
|
|
621
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
584
622
|
*/
|
|
585
|
-
export type
|
|
586
|
-
success: true;
|
|
623
|
+
export type PostWeekly = {
|
|
587
624
|
/**
|
|
588
|
-
*
|
|
625
|
+
* Number of actions used in this window
|
|
589
626
|
*/
|
|
590
|
-
|
|
591
|
-
limits: Limits;
|
|
627
|
+
current: number;
|
|
592
628
|
/**
|
|
593
|
-
*
|
|
629
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
594
630
|
*/
|
|
595
|
-
|
|
631
|
+
limit: number;
|
|
596
632
|
/**
|
|
597
|
-
*
|
|
633
|
+
* Actions remaining before hitting the limit
|
|
598
634
|
*/
|
|
599
|
-
|
|
635
|
+
remaining: number;
|
|
600
636
|
};
|
|
601
|
-
|
|
637
|
+
/**
|
|
638
|
+
* Limits for publishing LinkedIn posts
|
|
639
|
+
*/
|
|
640
|
+
export type GetLimitsPost = {
|
|
602
641
|
/**
|
|
603
|
-
*
|
|
642
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
604
643
|
*/
|
|
605
|
-
|
|
644
|
+
daily: PostDaily | null;
|
|
606
645
|
/**
|
|
607
|
-
*
|
|
646
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
608
647
|
*/
|
|
609
|
-
|
|
648
|
+
weekly: PostWeekly | null;
|
|
610
649
|
/**
|
|
611
|
-
*
|
|
650
|
+
* Minimum delay in seconds required between two consecutive actions of this type
|
|
612
651
|
*/
|
|
613
|
-
|
|
652
|
+
minIntervalSeconds: number;
|
|
614
653
|
/**
|
|
615
|
-
*
|
|
654
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
616
655
|
*/
|
|
617
|
-
|
|
656
|
+
nextResetDaily: Date | null;
|
|
618
657
|
/**
|
|
619
|
-
*
|
|
658
|
+
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
620
659
|
*/
|
|
621
|
-
|
|
660
|
+
nextResetWeekly: Date | null;
|
|
622
661
|
};
|
|
623
662
|
/**
|
|
624
|
-
*
|
|
663
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
625
664
|
*/
|
|
626
|
-
export type
|
|
627
|
-
success: true;
|
|
628
|
-
credits: Credits;
|
|
665
|
+
export type AcceptInvitationDaily2 = {
|
|
629
666
|
/**
|
|
630
|
-
*
|
|
667
|
+
* Number of actions used in this window
|
|
631
668
|
*/
|
|
632
|
-
|
|
669
|
+
current: number;
|
|
633
670
|
/**
|
|
634
|
-
*
|
|
671
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
635
672
|
*/
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
entityUrn: string;
|
|
642
|
-
viewedAt: number | string | null;
|
|
643
|
-
viewer: string | null;
|
|
644
|
-
headline: string | null;
|
|
645
|
-
navigationUrl: string | null;
|
|
673
|
+
limit: number;
|
|
674
|
+
/**
|
|
675
|
+
* Actions remaining before hitting the limit
|
|
676
|
+
*/
|
|
677
|
+
remaining: number;
|
|
646
678
|
};
|
|
647
679
|
/**
|
|
648
|
-
*
|
|
680
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
649
681
|
*/
|
|
650
|
-
export type
|
|
651
|
-
success: true;
|
|
652
|
-
views: Array<View>;
|
|
653
|
-
total: number;
|
|
682
|
+
export type AcceptInvitationWeekly2 = {
|
|
654
683
|
/**
|
|
655
|
-
*
|
|
684
|
+
* Number of actions used in this window
|
|
656
685
|
*/
|
|
657
|
-
|
|
686
|
+
current: number;
|
|
658
687
|
/**
|
|
659
|
-
*
|
|
688
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
660
689
|
*/
|
|
661
|
-
|
|
690
|
+
limit: number;
|
|
691
|
+
/**
|
|
692
|
+
* Actions remaining before hitting the limit
|
|
693
|
+
*/
|
|
694
|
+
remaining: number;
|
|
662
695
|
};
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
696
|
+
/**
|
|
697
|
+
* Limits for accepting connection invitations
|
|
698
|
+
*/
|
|
699
|
+
export type AcceptInvitation = {
|
|
666
700
|
/**
|
|
667
|
-
*
|
|
701
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
668
702
|
*/
|
|
669
|
-
|
|
703
|
+
daily: AcceptInvitationDaily2 | null;
|
|
670
704
|
/**
|
|
671
|
-
*
|
|
705
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
672
706
|
*/
|
|
673
|
-
|
|
707
|
+
weekly: AcceptInvitationWeekly2 | null;
|
|
708
|
+
/**
|
|
709
|
+
* Minimum delay in seconds required between two consecutive actions of this type
|
|
710
|
+
*/
|
|
711
|
+
minIntervalSeconds: number;
|
|
712
|
+
/**
|
|
713
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
714
|
+
*/
|
|
715
|
+
nextResetDaily: Date | null;
|
|
674
716
|
/**
|
|
675
|
-
*
|
|
717
|
+
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
676
718
|
*/
|
|
677
|
-
|
|
719
|
+
nextResetWeekly: Date | null;
|
|
678
720
|
};
|
|
679
721
|
/**
|
|
680
|
-
*
|
|
722
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
681
723
|
*/
|
|
682
|
-
export type
|
|
683
|
-
success: true;
|
|
684
|
-
appearances: Appearances;
|
|
724
|
+
export type CommentPostDaily = {
|
|
685
725
|
/**
|
|
686
|
-
*
|
|
726
|
+
* Number of actions used in this window
|
|
687
727
|
*/
|
|
688
|
-
|
|
728
|
+
current: number;
|
|
689
729
|
/**
|
|
690
|
-
*
|
|
730
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
691
731
|
*/
|
|
692
|
-
|
|
693
|
-
};
|
|
694
|
-
export type GetPostAnalyticsRequest = {
|
|
732
|
+
limit: number;
|
|
695
733
|
/**
|
|
696
|
-
*
|
|
734
|
+
* Actions remaining before hitting the limit
|
|
697
735
|
*/
|
|
698
|
-
|
|
699
|
-
};
|
|
700
|
-
export type GetPostAnalyticsAnalytics = {
|
|
701
|
-
reactions: number;
|
|
702
|
-
comments: number;
|
|
703
|
-
postUrn: string;
|
|
736
|
+
remaining: number;
|
|
704
737
|
};
|
|
705
738
|
/**
|
|
706
|
-
*
|
|
739
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
707
740
|
*/
|
|
708
|
-
export type
|
|
709
|
-
success: true;
|
|
710
|
-
analytics: GetPostAnalyticsAnalytics;
|
|
741
|
+
export type CommentPostWeekly = {
|
|
711
742
|
/**
|
|
712
|
-
*
|
|
743
|
+
* Number of actions used in this window
|
|
713
744
|
*/
|
|
714
|
-
|
|
745
|
+
current: number;
|
|
715
746
|
/**
|
|
716
|
-
*
|
|
747
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
717
748
|
*/
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
*/
|
|
724
|
-
export type GetFollowerAnalyticsAnalytics = {
|
|
725
|
-
count: number;
|
|
726
|
-
[additionalProperties: string]: unknown;
|
|
749
|
+
limit: number;
|
|
750
|
+
/**
|
|
751
|
+
* Actions remaining before hitting the limit
|
|
752
|
+
*/
|
|
753
|
+
remaining: number;
|
|
727
754
|
};
|
|
728
755
|
/**
|
|
729
|
-
*
|
|
756
|
+
* Limits for commenting on posts
|
|
730
757
|
*/
|
|
731
|
-
export type
|
|
732
|
-
success: true;
|
|
758
|
+
export type CommentPost = {
|
|
733
759
|
/**
|
|
734
|
-
*
|
|
760
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
735
761
|
*/
|
|
736
|
-
|
|
762
|
+
daily: CommentPostDaily | null;
|
|
737
763
|
/**
|
|
738
|
-
*
|
|
764
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
739
765
|
*/
|
|
740
|
-
|
|
766
|
+
weekly: CommentPostWeekly | null;
|
|
741
767
|
/**
|
|
742
|
-
*
|
|
768
|
+
* Minimum delay in seconds required between two consecutive actions of this type
|
|
743
769
|
*/
|
|
744
|
-
|
|
745
|
-
};
|
|
746
|
-
export type SwitchAccountRequest = {
|
|
770
|
+
minIntervalSeconds: number;
|
|
747
771
|
/**
|
|
748
|
-
*
|
|
772
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
749
773
|
*/
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
export type SwitchAccountAccount = {
|
|
756
|
-
id: string;
|
|
757
|
-
name: string;
|
|
758
|
-
avatar: string | null;
|
|
759
|
-
plan: string;
|
|
774
|
+
nextResetDaily: Date | null;
|
|
775
|
+
/**
|
|
776
|
+
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
777
|
+
*/
|
|
778
|
+
nextResetWeekly: Date | null;
|
|
760
779
|
};
|
|
761
780
|
/**
|
|
762
|
-
*
|
|
781
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
763
782
|
*/
|
|
764
|
-
export type
|
|
765
|
-
success: true;
|
|
783
|
+
export type ReplyCommentDaily = {
|
|
766
784
|
/**
|
|
767
|
-
*
|
|
785
|
+
* Number of actions used in this window
|
|
768
786
|
*/
|
|
769
|
-
|
|
787
|
+
current: number;
|
|
770
788
|
/**
|
|
771
|
-
*
|
|
789
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
772
790
|
*/
|
|
773
|
-
|
|
791
|
+
limit: number;
|
|
774
792
|
/**
|
|
775
|
-
*
|
|
793
|
+
* Actions remaining before hitting the limit
|
|
776
794
|
*/
|
|
777
|
-
|
|
795
|
+
remaining: number;
|
|
778
796
|
};
|
|
779
797
|
/**
|
|
780
|
-
*
|
|
798
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
781
799
|
*/
|
|
782
|
-
export
|
|
783
|
-
|
|
800
|
+
export type ReplyCommentWeekly = {
|
|
801
|
+
/**
|
|
802
|
+
* Number of actions used in this window
|
|
803
|
+
*/
|
|
804
|
+
current: number;
|
|
805
|
+
/**
|
|
806
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
807
|
+
*/
|
|
808
|
+
limit: number;
|
|
809
|
+
/**
|
|
810
|
+
* Actions remaining before hitting the limit
|
|
811
|
+
*/
|
|
812
|
+
remaining: number;
|
|
784
813
|
};
|
|
785
814
|
/**
|
|
786
|
-
*
|
|
815
|
+
* Limits for replying to comments
|
|
787
816
|
*/
|
|
788
|
-
export type
|
|
789
|
-
export type ListConnectionsRequest = {
|
|
817
|
+
export type ReplyComment = {
|
|
790
818
|
/**
|
|
791
|
-
*
|
|
819
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
792
820
|
*/
|
|
793
|
-
|
|
821
|
+
daily: ReplyCommentDaily | null;
|
|
794
822
|
/**
|
|
795
|
-
*
|
|
823
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
796
824
|
*/
|
|
797
|
-
|
|
825
|
+
weekly: ReplyCommentWeekly | null;
|
|
798
826
|
/**
|
|
799
|
-
*
|
|
827
|
+
* Minimum delay in seconds required between two consecutive actions of this type
|
|
800
828
|
*/
|
|
801
|
-
|
|
802
|
-
/**
|
|
803
|
-
* Filter connections by name
|
|
804
|
-
*/
|
|
805
|
-
keywords?: string | undefined;
|
|
806
|
-
};
|
|
807
|
-
export type Connection = {
|
|
808
|
-
name: string;
|
|
809
|
-
headline: string | null;
|
|
810
|
-
profileUrl: string | null;
|
|
811
|
-
imageUrl: string | null;
|
|
829
|
+
minIntervalSeconds: number;
|
|
812
830
|
/**
|
|
813
|
-
*
|
|
831
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
814
832
|
*/
|
|
815
|
-
|
|
833
|
+
nextResetDaily: Date | null;
|
|
816
834
|
/**
|
|
817
|
-
*
|
|
835
|
+
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
818
836
|
*/
|
|
819
|
-
|
|
820
|
-
connectedAt: string | null;
|
|
837
|
+
nextResetWeekly: Date | null;
|
|
821
838
|
};
|
|
822
839
|
/**
|
|
823
|
-
*
|
|
840
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
824
841
|
*/
|
|
825
|
-
export type
|
|
826
|
-
success: true;
|
|
827
|
-
connections: Array<Connection>;
|
|
828
|
-
count: number;
|
|
829
|
-
start: number;
|
|
830
|
-
total: number;
|
|
831
|
-
hasMore: boolean;
|
|
842
|
+
export type ChatSearchDaily = {
|
|
832
843
|
/**
|
|
833
|
-
*
|
|
844
|
+
* Number of actions used in this window
|
|
834
845
|
*/
|
|
835
|
-
|
|
846
|
+
current: number;
|
|
836
847
|
/**
|
|
837
|
-
*
|
|
848
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
838
849
|
*/
|
|
839
|
-
|
|
850
|
+
limit: number;
|
|
851
|
+
/**
|
|
852
|
+
* Actions remaining before hitting the limit
|
|
853
|
+
*/
|
|
854
|
+
remaining: number;
|
|
840
855
|
};
|
|
841
|
-
|
|
856
|
+
/**
|
|
857
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
858
|
+
*/
|
|
859
|
+
export type ChatSearchWeekly = {
|
|
842
860
|
/**
|
|
843
|
-
*
|
|
861
|
+
* Number of actions used in this window
|
|
844
862
|
*/
|
|
845
|
-
|
|
863
|
+
current: number;
|
|
846
864
|
/**
|
|
847
|
-
*
|
|
865
|
+
* Maximum allowed actions in this window (with multiplier applied)
|
|
848
866
|
*/
|
|
849
|
-
|
|
850
|
-
name: string;
|
|
851
|
-
url: string;
|
|
852
|
-
logoUrl: string | null;
|
|
853
|
-
followerCount: number | null;
|
|
854
|
-
industry: string | null;
|
|
855
|
-
employeeCount: number | null;
|
|
867
|
+
limit: number;
|
|
856
868
|
/**
|
|
857
|
-
*
|
|
869
|
+
* Actions remaining before hitting the limit
|
|
858
870
|
*/
|
|
859
|
-
|
|
871
|
+
remaining: number;
|
|
860
872
|
};
|
|
861
873
|
/**
|
|
862
|
-
*
|
|
874
|
+
* Limits for searching chat conversations
|
|
863
875
|
*/
|
|
864
|
-
export type
|
|
865
|
-
success: true;
|
|
866
|
-
pages: Array<Page>;
|
|
867
|
-
total: number;
|
|
876
|
+
export type ChatSearch = {
|
|
868
877
|
/**
|
|
869
|
-
*
|
|
878
|
+
* Daily usage counter (resets at midnight UTC). Null if not configured for this action type.
|
|
870
879
|
*/
|
|
871
|
-
|
|
880
|
+
daily: ChatSearchDaily | null;
|
|
872
881
|
/**
|
|
873
|
-
*
|
|
882
|
+
* Weekly usage counter (resets Monday 00:00 UTC). Null if no weekly cap for this action type.
|
|
874
883
|
*/
|
|
875
|
-
|
|
876
|
-
};
|
|
877
|
-
export type GetCompanyPostsRequest = {
|
|
884
|
+
weekly: ChatSearchWeekly | null;
|
|
878
885
|
/**
|
|
879
|
-
*
|
|
886
|
+
* Minimum delay in seconds required between two consecutive actions of this type
|
|
880
887
|
*/
|
|
881
|
-
|
|
888
|
+
minIntervalSeconds: number;
|
|
882
889
|
/**
|
|
883
|
-
*
|
|
890
|
+
* ISO 8601 timestamp of the next daily counter reset. Null if not configured.
|
|
884
891
|
*/
|
|
885
|
-
|
|
892
|
+
nextResetDaily: Date | null;
|
|
886
893
|
/**
|
|
887
|
-
*
|
|
894
|
+
* ISO 8601 timestamp of the next weekly counter reset. Null if no weekly cap.
|
|
888
895
|
*/
|
|
889
|
-
|
|
896
|
+
nextResetWeekly: Date | null;
|
|
890
897
|
};
|
|
891
|
-
export type
|
|
898
|
+
export type Limits = {
|
|
892
899
|
/**
|
|
893
|
-
*
|
|
900
|
+
* Limits for sending LinkedIn connection requests
|
|
894
901
|
*/
|
|
895
|
-
|
|
902
|
+
connectionRequest: ConnectionRequest;
|
|
896
903
|
/**
|
|
897
|
-
*
|
|
904
|
+
* Limits for sending DMs
|
|
898
905
|
*/
|
|
899
|
-
|
|
906
|
+
message: GetLimitsMessage;
|
|
900
907
|
/**
|
|
901
|
-
*
|
|
908
|
+
* Limits for visiting LinkedIn profiles and company pages
|
|
902
909
|
*/
|
|
903
|
-
|
|
910
|
+
profileVisit: ProfileVisit;
|
|
904
911
|
/**
|
|
905
|
-
*
|
|
912
|
+
* Limits for data collection: search, collecting posts/likes/comments, fetching followers, listing chats
|
|
906
913
|
*/
|
|
907
|
-
|
|
914
|
+
scraping: Scraping;
|
|
908
915
|
/**
|
|
909
|
-
*
|
|
916
|
+
* Limits for publishing LinkedIn posts
|
|
910
917
|
*/
|
|
911
|
-
|
|
918
|
+
post?: GetLimitsPost | undefined;
|
|
912
919
|
/**
|
|
913
|
-
*
|
|
920
|
+
* Limits for accepting connection invitations
|
|
914
921
|
*/
|
|
915
|
-
|
|
922
|
+
acceptInvitation?: AcceptInvitation | undefined;
|
|
923
|
+
/**
|
|
924
|
+
* Limits for commenting on posts
|
|
925
|
+
*/
|
|
926
|
+
commentPost?: CommentPost | undefined;
|
|
927
|
+
/**
|
|
928
|
+
* Limits for replying to comments
|
|
929
|
+
*/
|
|
930
|
+
replyComment?: ReplyComment | undefined;
|
|
931
|
+
/**
|
|
932
|
+
* Limits for searching chat conversations
|
|
933
|
+
*/
|
|
934
|
+
chatSearch?: ChatSearch | undefined;
|
|
916
935
|
};
|
|
917
936
|
/**
|
|
918
|
-
*
|
|
937
|
+
* Rate limit status for all action types
|
|
919
938
|
*/
|
|
920
|
-
export type
|
|
939
|
+
export type GetLimitsResponse = {
|
|
921
940
|
success: true;
|
|
922
|
-
posts: Array<GetCompanyPostsPost>;
|
|
923
941
|
/**
|
|
924
|
-
*
|
|
942
|
+
* Workspace limit multiplier applied to all base limits (default 1.0)
|
|
925
943
|
*/
|
|
926
|
-
|
|
944
|
+
multiplier: number;
|
|
945
|
+
limits: Limits;
|
|
927
946
|
/**
|
|
928
947
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
929
948
|
*/
|
|
@@ -933,113 +952,90 @@ export type GetCompanyPostsResponse = {
|
|
|
933
952
|
*/
|
|
934
953
|
retryAfter: number;
|
|
935
954
|
};
|
|
936
|
-
export type
|
|
937
|
-
/**
|
|
938
|
-
* Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
|
|
939
|
-
*/
|
|
940
|
-
universalName: string;
|
|
941
|
-
};
|
|
942
|
-
export type Permissions = {
|
|
943
|
-
/**
|
|
944
|
-
* Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
|
|
945
|
-
*/
|
|
946
|
-
role: string | null;
|
|
955
|
+
export type GetCreditsCredits = {
|
|
947
956
|
/**
|
|
948
|
-
*
|
|
949
|
-
*/
|
|
950
|
-
canCreateOrganicShare: boolean;
|
|
951
|
-
/**
|
|
952
|
-
* Can comment as the company page.
|
|
953
|
-
*/
|
|
954
|
-
canCreateComment: boolean;
|
|
955
|
-
/**
|
|
956
|
-
* Can like/react as the company page.
|
|
957
|
-
*/
|
|
958
|
-
canCreateReaction: boolean;
|
|
959
|
-
/**
|
|
960
|
-
* Can delete company page posts.
|
|
961
|
-
*/
|
|
962
|
-
canDeleteShare: boolean;
|
|
963
|
-
/**
|
|
964
|
-
* Can pin posts on the company page.
|
|
965
|
-
*/
|
|
966
|
-
canPinShare: boolean;
|
|
967
|
-
/**
|
|
968
|
-
* Can send messages from the company page inbox.
|
|
969
|
-
*/
|
|
970
|
-
canSendMessages: boolean;
|
|
971
|
-
/**
|
|
972
|
-
* Can read the company page inbox.
|
|
973
|
-
*/
|
|
974
|
-
canReadMessages: boolean;
|
|
975
|
-
/**
|
|
976
|
-
* Can access the admin analytics dashboard.
|
|
977
|
-
*/
|
|
978
|
-
canReadAdminDashboard: boolean;
|
|
979
|
-
/**
|
|
980
|
-
* Can view post/update analytics.
|
|
981
|
-
*/
|
|
982
|
-
canReadOrganizationUpdateAnalytics: boolean;
|
|
983
|
-
/**
|
|
984
|
-
* Can view visitor analytics.
|
|
985
|
-
*/
|
|
986
|
-
canReadOrganizationVisitorAnalytics: boolean;
|
|
987
|
-
/**
|
|
988
|
-
* Can view follower analytics.
|
|
957
|
+
* Number of credits used in the current billing period
|
|
989
958
|
*/
|
|
990
|
-
|
|
959
|
+
current: number;
|
|
991
960
|
/**
|
|
992
|
-
*
|
|
961
|
+
* Maximum credits available for the workspace, or null if unlimited
|
|
993
962
|
*/
|
|
994
|
-
|
|
963
|
+
limit: number | null;
|
|
995
964
|
/**
|
|
996
|
-
*
|
|
965
|
+
* Credits remaining before hitting the limit, or null if unlimited
|
|
997
966
|
*/
|
|
998
|
-
|
|
967
|
+
remaining: number | null;
|
|
999
968
|
/**
|
|
1000
|
-
*
|
|
969
|
+
* Percentage of credits used (0-100, capped at 100, rounded to 2 decimal places). 0 when unlimited
|
|
1001
970
|
*/
|
|
1002
|
-
|
|
971
|
+
percentage: number;
|
|
1003
972
|
/**
|
|
1004
|
-
*
|
|
973
|
+
* Whether the workspace has unlimited credits (Pro plan). When true, limit and remaining are null
|
|
1005
974
|
*/
|
|
1006
|
-
|
|
975
|
+
isUnlimited: boolean;
|
|
976
|
+
};
|
|
977
|
+
/**
|
|
978
|
+
* Credit balance for the workspace
|
|
979
|
+
*/
|
|
980
|
+
export type GetCreditsResponse = {
|
|
981
|
+
success: true;
|
|
982
|
+
credits: GetCreditsCredits;
|
|
1007
983
|
/**
|
|
1008
|
-
*
|
|
984
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1009
985
|
*/
|
|
1010
|
-
|
|
986
|
+
creditsUsed: number;
|
|
1011
987
|
/**
|
|
1012
|
-
*
|
|
988
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1013
989
|
*/
|
|
1014
|
-
|
|
990
|
+
retryAfter: number;
|
|
991
|
+
};
|
|
992
|
+
export type GetProfileViewsRequest = {};
|
|
993
|
+
export type ViewedAt = number | string;
|
|
994
|
+
export type View = {
|
|
995
|
+
entityUrn: string;
|
|
996
|
+
viewedAt: number | string | null;
|
|
997
|
+
viewer: string | null;
|
|
998
|
+
headline: string | null;
|
|
999
|
+
navigationUrl: string | null;
|
|
1000
|
+
};
|
|
1001
|
+
/**
|
|
1002
|
+
* Profile viewers
|
|
1003
|
+
*/
|
|
1004
|
+
export type GetProfileViewsResponse = {
|
|
1005
|
+
success: true;
|
|
1006
|
+
views: Array<View>;
|
|
1007
|
+
total: number;
|
|
1015
1008
|
/**
|
|
1016
|
-
*
|
|
1009
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1017
1010
|
*/
|
|
1018
|
-
|
|
1011
|
+
creditsUsed: number;
|
|
1019
1012
|
/**
|
|
1020
|
-
*
|
|
1013
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1021
1014
|
*/
|
|
1022
|
-
|
|
1015
|
+
retryAfter: number;
|
|
1016
|
+
};
|
|
1017
|
+
export type GetSearchAppearancesRequest = {};
|
|
1018
|
+
export type Appearances = {
|
|
1019
|
+
count: number;
|
|
1023
1020
|
/**
|
|
1024
|
-
*
|
|
1021
|
+
* Top search keywords that led to your profile
|
|
1025
1022
|
*/
|
|
1026
|
-
|
|
1023
|
+
keywords: Array<any>;
|
|
1027
1024
|
/**
|
|
1028
|
-
*
|
|
1025
|
+
* Companies of people who found you
|
|
1029
1026
|
*/
|
|
1030
|
-
|
|
1027
|
+
companies: Array<any>;
|
|
1031
1028
|
/**
|
|
1032
|
-
*
|
|
1029
|
+
* Raw LinkedIn API response (included when available)
|
|
1033
1030
|
*/
|
|
1034
|
-
|
|
1031
|
+
raw?: any | undefined;
|
|
1035
1032
|
};
|
|
1036
1033
|
/**
|
|
1037
|
-
*
|
|
1034
|
+
* Search appearance stats
|
|
1038
1035
|
*/
|
|
1039
|
-
export type
|
|
1036
|
+
export type GetSearchAppearancesResponse = {
|
|
1040
1037
|
success: true;
|
|
1041
|
-
|
|
1042
|
-
permissions: Permissions;
|
|
1038
|
+
appearances: Appearances;
|
|
1043
1039
|
/**
|
|
1044
1040
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1045
1041
|
*/
|
|
@@ -1049,45 +1045,23 @@ export type GetPermissionsResponse = {
|
|
|
1049
1045
|
*/
|
|
1050
1046
|
retryAfter: number;
|
|
1051
1047
|
};
|
|
1052
|
-
export type
|
|
1048
|
+
export type GetPostAnalyticsRequest = {
|
|
1053
1049
|
/**
|
|
1054
|
-
*
|
|
1050
|
+
* LinkedIn post URL or URN
|
|
1055
1051
|
*/
|
|
1056
|
-
|
|
1052
|
+
postUrl: string;
|
|
1057
1053
|
};
|
|
1058
|
-
export type
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
};
|
|
1063
|
-
export type GetAnalyticsHeadquarter = {
|
|
1064
|
-
city: string;
|
|
1065
|
-
country: string;
|
|
1066
|
-
line1?: string | undefined;
|
|
1067
|
-
postalCode?: string | undefined;
|
|
1068
|
-
};
|
|
1069
|
-
export type GetAnalyticsAnalytics = {
|
|
1070
|
-
name: string;
|
|
1071
|
-
universalName: string;
|
|
1072
|
-
followerCount: number | null;
|
|
1073
|
-
employeeCount: number | null;
|
|
1074
|
-
visitorsInPastMonthCount: number | null;
|
|
1075
|
-
isActive: boolean;
|
|
1076
|
-
foundedOn: GetAnalyticsFoundedOn | null;
|
|
1077
|
-
headquarter: GetAnalyticsHeadquarter | null;
|
|
1078
|
-
description: string | null;
|
|
1079
|
-
tagline: string | null;
|
|
1080
|
-
websiteUrl: string | null;
|
|
1081
|
-
organizationType: string | null;
|
|
1082
|
-
specialities: Array<string>;
|
|
1083
|
-
industryUrns: Array<string>;
|
|
1054
|
+
export type GetPostAnalyticsAnalytics = {
|
|
1055
|
+
reactions: number;
|
|
1056
|
+
comments: number;
|
|
1057
|
+
postUrn: string;
|
|
1084
1058
|
};
|
|
1085
1059
|
/**
|
|
1086
|
-
*
|
|
1060
|
+
* Post analytics
|
|
1087
1061
|
*/
|
|
1088
|
-
export type
|
|
1062
|
+
export type GetPostAnalyticsResponse = {
|
|
1089
1063
|
success: true;
|
|
1090
|
-
analytics:
|
|
1064
|
+
analytics: GetPostAnalyticsAnalytics;
|
|
1091
1065
|
/**
|
|
1092
1066
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1093
1067
|
*/
|
|
@@ -1097,47 +1071,23 @@ export type GetAnalyticsResponse = {
|
|
|
1097
1071
|
*/
|
|
1098
1072
|
retryAfter: number;
|
|
1099
1073
|
};
|
|
1100
|
-
export type
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
profileUrn: string;
|
|
1108
|
-
firstName: string;
|
|
1109
|
-
lastName: string;
|
|
1110
|
-
profileUrl: string | null;
|
|
1111
|
-
headline: string | null;
|
|
1112
|
-
profilePicture: string | null;
|
|
1113
|
-
publicIdentifier: string | null;
|
|
1114
|
-
};
|
|
1115
|
-
export type ListInboxLastMessage = {
|
|
1116
|
-
text: string | null;
|
|
1117
|
-
deliveredAt: number;
|
|
1118
|
-
senderProfileUrn: string;
|
|
1119
|
-
};
|
|
1120
|
-
export type ListInboxConversation = {
|
|
1121
|
-
conversationUrn: string;
|
|
1122
|
-
conversationUrl: string;
|
|
1123
|
-
lastActivityAt: number;
|
|
1124
|
-
createdAt: number;
|
|
1125
|
-
read: boolean;
|
|
1126
|
-
unreadCount: number;
|
|
1127
|
-
groupChat: boolean;
|
|
1128
|
-
participants: Array<ListInboxParticipant>;
|
|
1129
|
-
lastMessage: ListInboxLastMessage | null;
|
|
1074
|
+
export type GetFollowerAnalyticsRequest = {};
|
|
1075
|
+
/**
|
|
1076
|
+
* Follower count and optional growth/demographics data from LinkedIn
|
|
1077
|
+
*/
|
|
1078
|
+
export type GetFollowerAnalyticsAnalytics = {
|
|
1079
|
+
count: number;
|
|
1080
|
+
[additionalProperties: string]: unknown;
|
|
1130
1081
|
};
|
|
1131
1082
|
/**
|
|
1132
|
-
*
|
|
1083
|
+
* Follower analytics
|
|
1133
1084
|
*/
|
|
1134
|
-
export type
|
|
1085
|
+
export type GetFollowerAnalyticsResponse = {
|
|
1135
1086
|
success: true;
|
|
1136
|
-
conversations: Array<ListInboxConversation>;
|
|
1137
1087
|
/**
|
|
1138
|
-
*
|
|
1088
|
+
* Follower count and optional growth/demographics data from LinkedIn
|
|
1139
1089
|
*/
|
|
1140
|
-
|
|
1090
|
+
analytics: GetFollowerAnalyticsAnalytics;
|
|
1141
1091
|
/**
|
|
1142
1092
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1143
1093
|
*/
|
|
@@ -1147,51 +1097,30 @@ export type ListInboxResponse = {
|
|
|
1147
1097
|
*/
|
|
1148
1098
|
retryAfter: number;
|
|
1149
1099
|
};
|
|
1150
|
-
export type
|
|
1151
|
-
/**
|
|
1152
|
-
* Search keywords
|
|
1153
|
-
*/
|
|
1154
|
-
keywords: string;
|
|
1100
|
+
export type SwitchAccountRequest = {
|
|
1155
1101
|
/**
|
|
1156
|
-
*
|
|
1102
|
+
* The LinkedIn credentials ID to switch to (from listAccounts)
|
|
1157
1103
|
*/
|
|
1158
|
-
|
|
1159
|
-
};
|
|
1160
|
-
export type SearchConversationsParticipant = {
|
|
1161
|
-
profileUrn: string;
|
|
1162
|
-
firstName: string;
|
|
1163
|
-
lastName: string;
|
|
1164
|
-
profileUrl: string | null;
|
|
1165
|
-
headline: string | null;
|
|
1166
|
-
profilePicture: string | null;
|
|
1167
|
-
publicIdentifier: string | null;
|
|
1168
|
-
};
|
|
1169
|
-
export type SearchConversationsLastMessage = {
|
|
1170
|
-
text: string | null;
|
|
1171
|
-
deliveredAt: number;
|
|
1172
|
-
senderProfileUrn: string;
|
|
1104
|
+
credentialsId: string;
|
|
1173
1105
|
};
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
participants: Array<SearchConversationsParticipant>;
|
|
1183
|
-
lastMessage: SearchConversationsLastMessage | null;
|
|
1106
|
+
/**
|
|
1107
|
+
* Switched account summary
|
|
1108
|
+
*/
|
|
1109
|
+
export type SwitchAccountAccount = {
|
|
1110
|
+
id: string;
|
|
1111
|
+
name: string;
|
|
1112
|
+
avatar: string | null;
|
|
1113
|
+
plan: string;
|
|
1184
1114
|
};
|
|
1185
1115
|
/**
|
|
1186
|
-
*
|
|
1116
|
+
* Account switched
|
|
1187
1117
|
*/
|
|
1188
|
-
export type
|
|
1118
|
+
export type SwitchAccountResponse = {
|
|
1189
1119
|
success: true;
|
|
1190
|
-
conversations: Array<SearchConversationsConversation>;
|
|
1191
1120
|
/**
|
|
1192
|
-
*
|
|
1121
|
+
* Switched account summary
|
|
1193
1122
|
*/
|
|
1194
|
-
|
|
1123
|
+
account: SwitchAccountAccount;
|
|
1195
1124
|
/**
|
|
1196
1125
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1197
1126
|
*/
|
|
@@ -1201,70 +1130,63 @@ export type SearchConversationsResponse = {
|
|
|
1201
1130
|
*/
|
|
1202
1131
|
retryAfter: number;
|
|
1203
1132
|
};
|
|
1204
|
-
|
|
1133
|
+
/**
|
|
1134
|
+
* Sort order (default RECENTLY_ADDED)
|
|
1135
|
+
*/
|
|
1136
|
+
export declare const SortType: {
|
|
1137
|
+
readonly RecentlyAdded: "RECENTLY_ADDED";
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* Sort order (default RECENTLY_ADDED)
|
|
1141
|
+
*/
|
|
1142
|
+
export type SortType = ClosedEnum<typeof SortType>;
|
|
1143
|
+
export type ListConnectionsRequest = {
|
|
1205
1144
|
/**
|
|
1206
|
-
*
|
|
1145
|
+
* Pagination offset
|
|
1207
1146
|
*/
|
|
1208
|
-
|
|
1147
|
+
start?: number | undefined;
|
|
1209
1148
|
/**
|
|
1210
|
-
*
|
|
1149
|
+
* Results per page (max 40)
|
|
1211
1150
|
*/
|
|
1212
|
-
|
|
1151
|
+
count?: number | undefined;
|
|
1152
|
+
/**
|
|
1153
|
+
* Sort order (default RECENTLY_ADDED)
|
|
1154
|
+
*/
|
|
1155
|
+
sortType?: SortType | undefined;
|
|
1156
|
+
/**
|
|
1157
|
+
* Filter connections by name
|
|
1158
|
+
*/
|
|
1159
|
+
keywords?: string | undefined;
|
|
1213
1160
|
};
|
|
1214
1161
|
/**
|
|
1215
|
-
*
|
|
1162
|
+
* Connection date (Unix timestamp ms or ISO string)
|
|
1216
1163
|
*/
|
|
1217
|
-
export type
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
export type FindConversationSender = {
|
|
1221
|
-
firstName: string;
|
|
1222
|
-
lastName: string;
|
|
1223
|
-
profileUrl: string | null;
|
|
1164
|
+
export type ConnectedAt = number | string;
|
|
1165
|
+
export type Connection = {
|
|
1166
|
+
name: string;
|
|
1224
1167
|
headline: string | null;
|
|
1225
|
-
|
|
1226
|
-
publicIdentifier: string | null;
|
|
1168
|
+
profileUrl: string | null;
|
|
1227
1169
|
profileUrn: string | null;
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
export type FindConversationType = OpenEnum<typeof FindConversationType>;
|
|
1238
|
-
export type FindConversationAttachment = {
|
|
1239
|
-
type: FindConversationType;
|
|
1240
|
-
audioUrl?: string | undefined;
|
|
1241
|
-
audioDuration?: number | undefined;
|
|
1242
|
-
hostUrn?: string | undefined;
|
|
1243
|
-
repliedText?: string | undefined;
|
|
1244
|
-
repliedSenderName?: string | undefined;
|
|
1245
|
-
imageUrl?: string | undefined;
|
|
1246
|
-
fileName?: string | undefined;
|
|
1247
|
-
fileUrl?: string | undefined;
|
|
1248
|
-
};
|
|
1249
|
-
export type FindConversationMessage = {
|
|
1250
|
-
messageUrn: string;
|
|
1251
|
-
text: string | null;
|
|
1252
|
-
deliveredAt: number;
|
|
1253
|
-
senderProfileUrn: string;
|
|
1254
|
-
sender: FindConversationSender;
|
|
1255
|
-
attachments: Array<FindConversationAttachment>;
|
|
1170
|
+
publicIdentifier: string | null;
|
|
1171
|
+
/**
|
|
1172
|
+
* Profile picture URL
|
|
1173
|
+
*/
|
|
1174
|
+
profilePicture: string | null;
|
|
1175
|
+
/**
|
|
1176
|
+
* Connection date (Unix timestamp ms or ISO string)
|
|
1177
|
+
*/
|
|
1178
|
+
connectedAt: number | string | null;
|
|
1256
1179
|
};
|
|
1257
1180
|
/**
|
|
1258
|
-
*
|
|
1181
|
+
* Connections list
|
|
1259
1182
|
*/
|
|
1260
|
-
export type
|
|
1183
|
+
export type ListConnectionsResponse = {
|
|
1261
1184
|
success: true;
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
messages: Array<FindConversationMessage> | null;
|
|
1185
|
+
connections: Array<Connection>;
|
|
1186
|
+
count: number;
|
|
1187
|
+
start: number;
|
|
1188
|
+
total: number;
|
|
1189
|
+
hasMore: boolean;
|
|
1268
1190
|
/**
|
|
1269
1191
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1270
1192
|
*/
|
|
@@ -1274,63 +1196,62 @@ export type FindConversationResponse = {
|
|
|
1274
1196
|
*/
|
|
1275
1197
|
retryAfter: number;
|
|
1276
1198
|
};
|
|
1277
|
-
|
|
1199
|
+
/**
|
|
1200
|
+
* Type of activity to fetch
|
|
1201
|
+
*/
|
|
1202
|
+
export declare const QueryParamTabType: {
|
|
1203
|
+
readonly Comments: "COMMENTS";
|
|
1204
|
+
readonly Reactions: "REACTIONS";
|
|
1205
|
+
};
|
|
1206
|
+
/**
|
|
1207
|
+
* Type of activity to fetch
|
|
1208
|
+
*/
|
|
1209
|
+
export type QueryParamTabType = ClosedEnum<typeof QueryParamTabType>;
|
|
1210
|
+
export type GetMyActivityRequest = {
|
|
1278
1211
|
/**
|
|
1279
|
-
*
|
|
1212
|
+
* Type of activity to fetch
|
|
1280
1213
|
*/
|
|
1281
|
-
|
|
1214
|
+
tabType?: QueryParamTabType | undefined;
|
|
1282
1215
|
/**
|
|
1283
|
-
*
|
|
1216
|
+
* Company page ID to fetch organization activity instead of personal
|
|
1284
1217
|
*/
|
|
1285
|
-
|
|
1218
|
+
companyId?: string | undefined;
|
|
1219
|
+
/**
|
|
1220
|
+
* Number of items per page (max 50)
|
|
1221
|
+
*/
|
|
1222
|
+
count?: number | undefined;
|
|
1223
|
+
/**
|
|
1224
|
+
* Pagination offset
|
|
1225
|
+
*/
|
|
1226
|
+
start?: number | undefined;
|
|
1227
|
+
/**
|
|
1228
|
+
* Pagination token from previous response
|
|
1229
|
+
*/
|
|
1230
|
+
paginationToken?: string | undefined;
|
|
1286
1231
|
};
|
|
1287
|
-
export
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
profileUrl: string | null;
|
|
1291
|
-
headline: string | null;
|
|
1292
|
-
profilePicture: string | null;
|
|
1293
|
-
publicIdentifier: string | null;
|
|
1294
|
-
profileUrn: string | null;
|
|
1295
|
-
};
|
|
1296
|
-
export declare const GetMessagesType: {
|
|
1297
|
-
readonly Audio: "audio";
|
|
1298
|
-
readonly SharedPost: "shared_post";
|
|
1299
|
-
readonly RepliedMessage: "replied_message";
|
|
1300
|
-
readonly Image: "image";
|
|
1301
|
-
readonly File: "file";
|
|
1302
|
-
readonly Unknown: "unknown";
|
|
1303
|
-
};
|
|
1304
|
-
export type GetMessagesType = OpenEnum<typeof GetMessagesType>;
|
|
1305
|
-
export type GetMessagesAttachment = {
|
|
1306
|
-
type: GetMessagesType;
|
|
1307
|
-
audioUrl?: string | undefined;
|
|
1308
|
-
audioDuration?: number | undefined;
|
|
1309
|
-
hostUrn?: string | undefined;
|
|
1310
|
-
repliedText?: string | undefined;
|
|
1311
|
-
repliedSenderName?: string | undefined;
|
|
1312
|
-
imageUrl?: string | undefined;
|
|
1313
|
-
fileName?: string | undefined;
|
|
1314
|
-
fileUrl?: string | undefined;
|
|
1315
|
-
};
|
|
1316
|
-
export type GetMessagesMessage = {
|
|
1317
|
-
messageUrn: string;
|
|
1318
|
-
text: string | null;
|
|
1319
|
-
deliveredAt: number;
|
|
1320
|
-
senderProfileUrn: string;
|
|
1321
|
-
sender: GetMessagesSender;
|
|
1322
|
-
attachments: Array<GetMessagesAttachment>;
|
|
1232
|
+
export declare const TabTypeResponse: {
|
|
1233
|
+
readonly Comments: "COMMENTS";
|
|
1234
|
+
readonly Reactions: "REACTIONS";
|
|
1323
1235
|
};
|
|
1236
|
+
export type TabTypeResponse = OpenEnum<typeof TabTypeResponse>;
|
|
1324
1237
|
/**
|
|
1325
|
-
*
|
|
1238
|
+
* Activity list
|
|
1326
1239
|
*/
|
|
1327
|
-
export type
|
|
1240
|
+
export type GetMyActivityResponse = {
|
|
1328
1241
|
success: true;
|
|
1329
|
-
messages: Array<GetMessagesMessage>;
|
|
1330
1242
|
/**
|
|
1331
|
-
*
|
|
1243
|
+
* 'personal' for user activity, 'company:{id}' for org activity
|
|
1332
1244
|
*/
|
|
1333
|
-
|
|
1245
|
+
actor: string;
|
|
1246
|
+
tabType: TabTypeResponse;
|
|
1247
|
+
/**
|
|
1248
|
+
* Activity items — comments or reactions depending on tabType
|
|
1249
|
+
*/
|
|
1250
|
+
items: Array<any>;
|
|
1251
|
+
count: number;
|
|
1252
|
+
total: number;
|
|
1253
|
+
start: number;
|
|
1254
|
+
paginationToken: string | null;
|
|
1334
1255
|
/**
|
|
1335
1256
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1336
1257
|
*/
|
|
@@ -1340,17 +1261,190 @@ export type GetMessagesResponse = {
|
|
|
1340
1261
|
*/
|
|
1341
1262
|
retryAfter: number;
|
|
1342
1263
|
};
|
|
1343
|
-
export type
|
|
1264
|
+
export type User = {
|
|
1265
|
+
id: string;
|
|
1266
|
+
name: string | null;
|
|
1267
|
+
email: string | null;
|
|
1268
|
+
image: string | null;
|
|
1269
|
+
phone: string | null;
|
|
1270
|
+
createdAt: string;
|
|
1271
|
+
};
|
|
1272
|
+
export type GetSettingsLocation = {
|
|
1273
|
+
country: string | null;
|
|
1274
|
+
city: string | null;
|
|
1275
|
+
};
|
|
1276
|
+
export type Proxy = {
|
|
1277
|
+
enabled: boolean;
|
|
1278
|
+
[additionalProperties: string]: unknown;
|
|
1279
|
+
};
|
|
1280
|
+
export type AnthropicKey = {
|
|
1281
|
+
isSet: boolean;
|
|
1282
|
+
partial: string | null;
|
|
1283
|
+
};
|
|
1284
|
+
export type Subscription = {
|
|
1285
|
+
plan: string;
|
|
1286
|
+
tier: string;
|
|
1287
|
+
proSeatsIncluded: number;
|
|
1288
|
+
proSeatsUsed: number;
|
|
1289
|
+
status: string | null;
|
|
1290
|
+
currentPeriodEnd: string | null;
|
|
1291
|
+
hasStripe: boolean;
|
|
1292
|
+
};
|
|
1293
|
+
export type GetSettingsCredits = {
|
|
1294
|
+
current: number;
|
|
1295
|
+
limit: number | null;
|
|
1296
|
+
isUnlimited: boolean;
|
|
1297
|
+
};
|
|
1298
|
+
export type LinkedinAccountProxy = {
|
|
1299
|
+
enabled: boolean;
|
|
1300
|
+
[additionalProperties: string]: unknown;
|
|
1301
|
+
};
|
|
1302
|
+
export type ApiKey = {
|
|
1303
|
+
partialKey: string;
|
|
1304
|
+
createdAt: string;
|
|
1305
|
+
};
|
|
1306
|
+
export type LinkedinAccount = {
|
|
1307
|
+
id: string;
|
|
1308
|
+
label: string | null;
|
|
1309
|
+
isDefault: boolean;
|
|
1310
|
+
linkedinName: string | null;
|
|
1311
|
+
linkedinEmail: string | null;
|
|
1312
|
+
profilePic: string | null;
|
|
1313
|
+
profileUrl: string | null;
|
|
1314
|
+
headline: string | null;
|
|
1315
|
+
isValid: boolean;
|
|
1316
|
+
isActive: boolean;
|
|
1317
|
+
validationError: string | null;
|
|
1318
|
+
accountPlan: string | null;
|
|
1319
|
+
credits: GetSettingsCredits;
|
|
1320
|
+
proxy: LinkedinAccountProxy;
|
|
1321
|
+
apiKey: ApiKey | null;
|
|
1322
|
+
createdAt: string;
|
|
1323
|
+
};
|
|
1324
|
+
export type PendingInvite = {
|
|
1325
|
+
id: string;
|
|
1326
|
+
email: string | null;
|
|
1327
|
+
name: string | null;
|
|
1328
|
+
code: string;
|
|
1329
|
+
maxUses: number;
|
|
1330
|
+
useCount: number;
|
|
1331
|
+
expiresAt: string | null;
|
|
1332
|
+
createdAt: string;
|
|
1333
|
+
};
|
|
1334
|
+
/**
|
|
1335
|
+
* Account settings
|
|
1336
|
+
*/
|
|
1337
|
+
export type GetSettingsResponse = {
|
|
1338
|
+
success: true;
|
|
1339
|
+
user: User;
|
|
1340
|
+
location: GetSettingsLocation;
|
|
1341
|
+
proxy: Proxy;
|
|
1342
|
+
anthropicKey: AnthropicKey;
|
|
1343
|
+
subscription: Subscription;
|
|
1344
|
+
linkedinAccounts: Array<LinkedinAccount>;
|
|
1345
|
+
pendingInvites: Array<PendingInvite>;
|
|
1346
|
+
};
|
|
1347
|
+
export type PatchSettingsRequest = {
|
|
1344
1348
|
/**
|
|
1345
|
-
*
|
|
1349
|
+
* ISO country code
|
|
1346
1350
|
*/
|
|
1347
|
-
|
|
1351
|
+
country?: string | undefined;
|
|
1352
|
+
city?: string | undefined;
|
|
1353
|
+
phone?: string | null | undefined;
|
|
1354
|
+
/**
|
|
1355
|
+
* Anthropic API key (sk-ant-...). Set to null to remove.
|
|
1356
|
+
*/
|
|
1357
|
+
anthropicKey?: string | null | undefined;
|
|
1348
1358
|
};
|
|
1349
1359
|
/**
|
|
1350
|
-
*
|
|
1360
|
+
* Settings updated
|
|
1351
1361
|
*/
|
|
1352
|
-
export type
|
|
1362
|
+
export type PatchSettingsResponse = {
|
|
1363
|
+
success: true;
|
|
1364
|
+
};
|
|
1365
|
+
/**
|
|
1366
|
+
* Validation result
|
|
1367
|
+
*/
|
|
1368
|
+
export type RevalidateLinkedinResponse = {
|
|
1353
1369
|
success: true;
|
|
1370
|
+
message: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* True if credentials were previously marked invalid
|
|
1373
|
+
*/
|
|
1374
|
+
wasInvalid: boolean;
|
|
1375
|
+
};
|
|
1376
|
+
export type GetApiTokenRequest = {
|
|
1377
|
+
/**
|
|
1378
|
+
* LinkedIn credentials ID (defaults to current account)
|
|
1379
|
+
*/
|
|
1380
|
+
accountId?: string | undefined;
|
|
1381
|
+
};
|
|
1382
|
+
/**
|
|
1383
|
+
* Token returned
|
|
1384
|
+
*/
|
|
1385
|
+
export type GetApiTokenResponse = {
|
|
1386
|
+
token: string | null;
|
|
1387
|
+
partialKey?: string | undefined;
|
|
1388
|
+
createdAt?: string | undefined;
|
|
1389
|
+
accountId?: string | undefined;
|
|
1390
|
+
};
|
|
1391
|
+
export type CreateApiTokenRequest = {
|
|
1392
|
+
/**
|
|
1393
|
+
* LinkedIn credentials ID (defaults to current account)
|
|
1394
|
+
*/
|
|
1395
|
+
accountId?: string | undefined;
|
|
1396
|
+
};
|
|
1397
|
+
/**
|
|
1398
|
+
* Token created
|
|
1399
|
+
*/
|
|
1400
|
+
export type CreateApiTokenResponse = {
|
|
1401
|
+
success: true;
|
|
1402
|
+
/**
|
|
1403
|
+
* Full API token (brc_...) - only shown once
|
|
1404
|
+
*/
|
|
1405
|
+
token: string;
|
|
1406
|
+
partialKey: string;
|
|
1407
|
+
accountId: string;
|
|
1408
|
+
};
|
|
1409
|
+
export type DeleteApiTokenRequest = {
|
|
1410
|
+
/**
|
|
1411
|
+
* LinkedIn credentials ID (defaults to current account)
|
|
1412
|
+
*/
|
|
1413
|
+
accountId?: string | undefined;
|
|
1414
|
+
};
|
|
1415
|
+
/**
|
|
1416
|
+
* Token deleted
|
|
1417
|
+
*/
|
|
1418
|
+
export type DeleteApiTokenResponse = {
|
|
1419
|
+
success: true;
|
|
1420
|
+
};
|
|
1421
|
+
export type Page = {
|
|
1422
|
+
/**
|
|
1423
|
+
* LinkedIn numeric company ID.
|
|
1424
|
+
*/
|
|
1425
|
+
id: string;
|
|
1426
|
+
/**
|
|
1427
|
+
* Company URL slug (e.g. 'openai').
|
|
1428
|
+
*/
|
|
1429
|
+
universalName: string;
|
|
1430
|
+
name: string;
|
|
1431
|
+
url: string;
|
|
1432
|
+
logoUrl: string | null;
|
|
1433
|
+
followerCount: number | null;
|
|
1434
|
+
industry: string | null;
|
|
1435
|
+
employeeCount: number | null;
|
|
1436
|
+
/**
|
|
1437
|
+
* Admin role (e.g. 'ADMINISTRATOR', 'CONTENT_ADMIN'). Null if role is unknown.
|
|
1438
|
+
*/
|
|
1439
|
+
adminRole: string | null;
|
|
1440
|
+
};
|
|
1441
|
+
/**
|
|
1442
|
+
* List of managed company pages
|
|
1443
|
+
*/
|
|
1444
|
+
export type ListPagesResponse = {
|
|
1445
|
+
success: true;
|
|
1446
|
+
pages: Array<Page>;
|
|
1447
|
+
total: number;
|
|
1354
1448
|
/**
|
|
1355
1449
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1356
1450
|
*/
|
|
@@ -1360,12 +1454,56 @@ export type MarkSeenResponse = {
|
|
|
1360
1454
|
*/
|
|
1361
1455
|
retryAfter: number;
|
|
1362
1456
|
};
|
|
1363
|
-
export type
|
|
1457
|
+
export type GetCompanyPostsRequest = {
|
|
1458
|
+
/**
|
|
1459
|
+
* Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
|
|
1460
|
+
*/
|
|
1461
|
+
universalName: string;
|
|
1462
|
+
/**
|
|
1463
|
+
* Number of posts to return (max 50).
|
|
1464
|
+
*/
|
|
1465
|
+
count?: number | undefined;
|
|
1466
|
+
/**
|
|
1467
|
+
* Pagination offset.
|
|
1468
|
+
*/
|
|
1469
|
+
start?: number | undefined;
|
|
1470
|
+
};
|
|
1471
|
+
export type GetCompanyPostsPost = {
|
|
1472
|
+
/**
|
|
1473
|
+
* LinkedIn activity URN for this post.
|
|
1474
|
+
*/
|
|
1475
|
+
activityUrn: string;
|
|
1476
|
+
/**
|
|
1477
|
+
* Direct URL to the post on LinkedIn.
|
|
1478
|
+
*/
|
|
1479
|
+
postUrl: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* Post text content (null if media-only).
|
|
1482
|
+
*/
|
|
1483
|
+
text: string | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* Unix timestamp in milliseconds (null if unavailable).
|
|
1486
|
+
*/
|
|
1487
|
+
publishedAt: number | null;
|
|
1488
|
+
/**
|
|
1489
|
+
* Number of likes/reactions.
|
|
1490
|
+
*/
|
|
1491
|
+
numLikes: number | null;
|
|
1492
|
+
/**
|
|
1493
|
+
* Number of comments.
|
|
1494
|
+
*/
|
|
1495
|
+
numComments: number | null;
|
|
1496
|
+
};
|
|
1364
1497
|
/**
|
|
1365
|
-
*
|
|
1498
|
+
* Company page posts
|
|
1366
1499
|
*/
|
|
1367
|
-
export type
|
|
1500
|
+
export type GetCompanyPostsResponse = {
|
|
1368
1501
|
success: true;
|
|
1502
|
+
posts: Array<GetCompanyPostsPost>;
|
|
1503
|
+
/**
|
|
1504
|
+
* Total number of posts available.
|
|
1505
|
+
*/
|
|
1506
|
+
total: number;
|
|
1369
1507
|
/**
|
|
1370
1508
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1371
1509
|
*/
|
|
@@ -1375,17 +1513,113 @@ export type MarkAllReadResponse = {
|
|
|
1375
1513
|
*/
|
|
1376
1514
|
retryAfter: number;
|
|
1377
1515
|
};
|
|
1378
|
-
export type
|
|
1516
|
+
export type GetPermissionsRequest = {
|
|
1379
1517
|
/**
|
|
1380
|
-
*
|
|
1518
|
+
* Company URL slug (e.g. 'openai'). Same value as returned by listCompanyPages.
|
|
1381
1519
|
*/
|
|
1382
|
-
|
|
1520
|
+
universalName: string;
|
|
1521
|
+
};
|
|
1522
|
+
export type Permissions = {
|
|
1523
|
+
/**
|
|
1524
|
+
* Admin role (e.g. 'SUPER_ADMINISTRATOR', 'ADMINISTRATOR', 'CONTENT_ADMIN').
|
|
1525
|
+
*/
|
|
1526
|
+
role: string | null;
|
|
1527
|
+
/**
|
|
1528
|
+
* Can post as the company page.
|
|
1529
|
+
*/
|
|
1530
|
+
canCreateOrganicShare: boolean;
|
|
1531
|
+
/**
|
|
1532
|
+
* Can comment as the company page.
|
|
1533
|
+
*/
|
|
1534
|
+
canCreateComment: boolean;
|
|
1535
|
+
/**
|
|
1536
|
+
* Can like/react as the company page.
|
|
1537
|
+
*/
|
|
1538
|
+
canCreateReaction: boolean;
|
|
1539
|
+
/**
|
|
1540
|
+
* Can delete company page posts.
|
|
1541
|
+
*/
|
|
1542
|
+
canDeleteShare: boolean;
|
|
1543
|
+
/**
|
|
1544
|
+
* Can pin posts on the company page.
|
|
1545
|
+
*/
|
|
1546
|
+
canPinShare: boolean;
|
|
1547
|
+
/**
|
|
1548
|
+
* Can send messages from the company page inbox.
|
|
1549
|
+
*/
|
|
1550
|
+
canSendMessages: boolean;
|
|
1551
|
+
/**
|
|
1552
|
+
* Can read the company page inbox.
|
|
1553
|
+
*/
|
|
1554
|
+
canReadMessages: boolean;
|
|
1555
|
+
/**
|
|
1556
|
+
* Can access the admin analytics dashboard.
|
|
1557
|
+
*/
|
|
1558
|
+
canReadAdminDashboard: boolean;
|
|
1559
|
+
/**
|
|
1560
|
+
* Can view post/update analytics.
|
|
1561
|
+
*/
|
|
1562
|
+
canReadOrganizationUpdateAnalytics: boolean;
|
|
1563
|
+
/**
|
|
1564
|
+
* Can view visitor analytics.
|
|
1565
|
+
*/
|
|
1566
|
+
canReadOrganizationVisitorAnalytics: boolean;
|
|
1567
|
+
/**
|
|
1568
|
+
* Can view follower analytics.
|
|
1569
|
+
*/
|
|
1570
|
+
canReadOrganizationFollowerAnalytics: boolean;
|
|
1571
|
+
/**
|
|
1572
|
+
* Can view search appearance analytics.
|
|
1573
|
+
*/
|
|
1574
|
+
canReadOrganizationSearchAppearanceAnalytics: boolean;
|
|
1575
|
+
/**
|
|
1576
|
+
* Can edit the company page profile.
|
|
1577
|
+
*/
|
|
1578
|
+
canUpdateOrganizationProfile: boolean;
|
|
1579
|
+
/**
|
|
1580
|
+
* Can add/remove page admins.
|
|
1581
|
+
*/
|
|
1582
|
+
canEditAdministrators: boolean;
|
|
1583
|
+
/**
|
|
1584
|
+
* Can deactivate the company page.
|
|
1585
|
+
*/
|
|
1586
|
+
canDeactivateOrganization: boolean;
|
|
1587
|
+
/**
|
|
1588
|
+
* Can create/edit company events.
|
|
1589
|
+
*/
|
|
1590
|
+
canEditEvents: boolean;
|
|
1591
|
+
/**
|
|
1592
|
+
* Can view company events.
|
|
1593
|
+
*/
|
|
1594
|
+
canReadEvents: boolean;
|
|
1595
|
+
/**
|
|
1596
|
+
* Can sponsor/boost posts.
|
|
1597
|
+
*/
|
|
1598
|
+
canSponsorShare: boolean;
|
|
1599
|
+
/**
|
|
1600
|
+
* Can manage the career page section.
|
|
1601
|
+
*/
|
|
1602
|
+
canManageCareerPages: boolean;
|
|
1603
|
+
/**
|
|
1604
|
+
* Can manage messaging settings.
|
|
1605
|
+
*/
|
|
1606
|
+
canManageMessagingAccess: boolean;
|
|
1607
|
+
/**
|
|
1608
|
+
* Can notify employees about posts.
|
|
1609
|
+
*/
|
|
1610
|
+
canNotifyEmployees: boolean;
|
|
1611
|
+
/**
|
|
1612
|
+
* Can export lead-gen form leads.
|
|
1613
|
+
*/
|
|
1614
|
+
canExportLeads: boolean;
|
|
1383
1615
|
};
|
|
1384
1616
|
/**
|
|
1385
|
-
*
|
|
1617
|
+
* Company page admin permissions
|
|
1386
1618
|
*/
|
|
1387
|
-
export type
|
|
1619
|
+
export type GetPermissionsResponse = {
|
|
1388
1620
|
success: true;
|
|
1621
|
+
universalName: string;
|
|
1622
|
+
permissions: Permissions;
|
|
1389
1623
|
/**
|
|
1390
1624
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1391
1625
|
*/
|
|
@@ -1395,17 +1629,45 @@ export type StarResponse = {
|
|
|
1395
1629
|
*/
|
|
1396
1630
|
retryAfter: number;
|
|
1397
1631
|
};
|
|
1398
|
-
export type
|
|
1632
|
+
export type GetAnalyticsRequest = {
|
|
1399
1633
|
/**
|
|
1400
|
-
*
|
|
1634
|
+
* Company page ID (numeric, e.g. '111652438')
|
|
1401
1635
|
*/
|
|
1402
|
-
|
|
1636
|
+
companyId: string;
|
|
1637
|
+
};
|
|
1638
|
+
export type GetAnalyticsFoundedOn = {
|
|
1639
|
+
year: number;
|
|
1640
|
+
month?: number | undefined;
|
|
1641
|
+
day?: number | undefined;
|
|
1642
|
+
};
|
|
1643
|
+
export type GetAnalyticsHeadquarter = {
|
|
1644
|
+
city: string;
|
|
1645
|
+
country: string;
|
|
1646
|
+
line1?: string | undefined;
|
|
1647
|
+
postalCode?: string | undefined;
|
|
1648
|
+
};
|
|
1649
|
+
export type GetAnalyticsAnalytics = {
|
|
1650
|
+
name: string;
|
|
1651
|
+
universalName: string;
|
|
1652
|
+
followerCount: number | null;
|
|
1653
|
+
employeeCount: number | null;
|
|
1654
|
+
visitorsInPastMonthCount: number | null;
|
|
1655
|
+
isActive: boolean;
|
|
1656
|
+
foundedOn: GetAnalyticsFoundedOn | null;
|
|
1657
|
+
headquarter: GetAnalyticsHeadquarter | null;
|
|
1658
|
+
description: string | null;
|
|
1659
|
+
tagline: string | null;
|
|
1660
|
+
websiteUrl: string | null;
|
|
1661
|
+
organizationType: string | null;
|
|
1662
|
+
specialities: Array<string>;
|
|
1663
|
+
industryUrns: Array<string>;
|
|
1403
1664
|
};
|
|
1404
1665
|
/**
|
|
1405
|
-
*
|
|
1666
|
+
* Company page overview analytics
|
|
1406
1667
|
*/
|
|
1407
|
-
export type
|
|
1668
|
+
export type GetAnalyticsResponse = {
|
|
1408
1669
|
success: true;
|
|
1670
|
+
analytics: GetAnalyticsAnalytics;
|
|
1409
1671
|
/**
|
|
1410
1672
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1411
1673
|
*/
|
|
@@ -1415,13 +1677,17 @@ export type UnstarResponse = {
|
|
|
1415
1677
|
*/
|
|
1416
1678
|
retryAfter: number;
|
|
1417
1679
|
};
|
|
1418
|
-
export type
|
|
1680
|
+
export type ListInboxRequest = {
|
|
1419
1681
|
/**
|
|
1420
1682
|
* Pagination cursor from a previous response
|
|
1421
1683
|
*/
|
|
1422
1684
|
nextCursor?: string | undefined;
|
|
1685
|
+
/**
|
|
1686
|
+
* Number of conversations to return (default 20, max 40)
|
|
1687
|
+
*/
|
|
1688
|
+
count?: number | undefined;
|
|
1423
1689
|
};
|
|
1424
|
-
export type
|
|
1690
|
+
export type ListInboxParticipant = {
|
|
1425
1691
|
profileUrn: string;
|
|
1426
1692
|
firstName: string;
|
|
1427
1693
|
lastName: string;
|
|
@@ -1430,12 +1696,12 @@ export type ListStarredParticipant = {
|
|
|
1430
1696
|
profilePicture: string | null;
|
|
1431
1697
|
publicIdentifier: string | null;
|
|
1432
1698
|
};
|
|
1433
|
-
export type
|
|
1699
|
+
export type ListInboxLastMessage = {
|
|
1434
1700
|
text: string | null;
|
|
1435
1701
|
deliveredAt: number;
|
|
1436
1702
|
senderProfileUrn: string;
|
|
1437
1703
|
};
|
|
1438
|
-
export type
|
|
1704
|
+
export type ListInboxConversation = {
|
|
1439
1705
|
conversationUrn: string;
|
|
1440
1706
|
conversationUrl: string;
|
|
1441
1707
|
lastActivityAt: number;
|
|
@@ -1443,15 +1709,15 @@ export type ListStarredConversation = {
|
|
|
1443
1709
|
read: boolean;
|
|
1444
1710
|
unreadCount: number;
|
|
1445
1711
|
groupChat: boolean;
|
|
1446
|
-
participants: Array<
|
|
1447
|
-
lastMessage:
|
|
1712
|
+
participants: Array<ListInboxParticipant>;
|
|
1713
|
+
lastMessage: ListInboxLastMessage | null;
|
|
1448
1714
|
};
|
|
1449
1715
|
/**
|
|
1450
|
-
*
|
|
1716
|
+
* Inbox conversations
|
|
1451
1717
|
*/
|
|
1452
|
-
export type
|
|
1718
|
+
export type ListInboxResponse = {
|
|
1453
1719
|
success: true;
|
|
1454
|
-
conversations: Array<
|
|
1720
|
+
conversations: Array<ListInboxConversation>;
|
|
1455
1721
|
/**
|
|
1456
1722
|
* Cursor for fetching next page
|
|
1457
1723
|
*/
|
|
@@ -1465,53 +1731,17 @@ export type ListStarredResponse = {
|
|
|
1465
1731
|
*/
|
|
1466
1732
|
retryAfter: number;
|
|
1467
1733
|
};
|
|
1468
|
-
export type
|
|
1469
|
-
/**
|
|
1470
|
-
* Full conversation URN
|
|
1471
|
-
*/
|
|
1472
|
-
conversationUrn: string;
|
|
1473
|
-
};
|
|
1474
|
-
/**
|
|
1475
|
-
* Conversation archived
|
|
1476
|
-
*/
|
|
1477
|
-
export type ArchiveResponse = {
|
|
1478
|
-
success: true;
|
|
1479
|
-
/**
|
|
1480
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1481
|
-
*/
|
|
1482
|
-
creditsUsed: number;
|
|
1483
|
-
/**
|
|
1484
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1485
|
-
*/
|
|
1486
|
-
retryAfter: number;
|
|
1487
|
-
};
|
|
1488
|
-
export type UnarchiveRequest = {
|
|
1489
|
-
/**
|
|
1490
|
-
* Full conversation URN
|
|
1491
|
-
*/
|
|
1492
|
-
conversationUrn: string;
|
|
1493
|
-
};
|
|
1494
|
-
/**
|
|
1495
|
-
* Conversation unarchived
|
|
1496
|
-
*/
|
|
1497
|
-
export type UnarchiveResponse = {
|
|
1498
|
-
success: true;
|
|
1499
|
-
/**
|
|
1500
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1501
|
-
*/
|
|
1502
|
-
creditsUsed: number;
|
|
1734
|
+
export type SearchConversationsRequest = {
|
|
1503
1735
|
/**
|
|
1504
|
-
*
|
|
1736
|
+
* Search keywords
|
|
1505
1737
|
*/
|
|
1506
|
-
|
|
1507
|
-
};
|
|
1508
|
-
export type ListArchivedRequest = {
|
|
1738
|
+
keywords: string;
|
|
1509
1739
|
/**
|
|
1510
1740
|
* Pagination cursor from a previous response
|
|
1511
1741
|
*/
|
|
1512
1742
|
nextCursor?: string | undefined;
|
|
1513
1743
|
};
|
|
1514
|
-
export type
|
|
1744
|
+
export type SearchConversationsParticipant = {
|
|
1515
1745
|
profileUrn: string;
|
|
1516
1746
|
firstName: string;
|
|
1517
1747
|
lastName: string;
|
|
@@ -1520,12 +1750,12 @@ export type ListArchivedParticipant = {
|
|
|
1520
1750
|
profilePicture: string | null;
|
|
1521
1751
|
publicIdentifier: string | null;
|
|
1522
1752
|
};
|
|
1523
|
-
export type
|
|
1753
|
+
export type SearchConversationsLastMessage = {
|
|
1524
1754
|
text: string | null;
|
|
1525
1755
|
deliveredAt: number;
|
|
1526
1756
|
senderProfileUrn: string;
|
|
1527
1757
|
};
|
|
1528
|
-
export type
|
|
1758
|
+
export type SearchConversationsConversation = {
|
|
1529
1759
|
conversationUrn: string;
|
|
1530
1760
|
conversationUrl: string;
|
|
1531
1761
|
lastActivityAt: number;
|
|
@@ -1533,15 +1763,15 @@ export type ListArchivedConversation = {
|
|
|
1533
1763
|
read: boolean;
|
|
1534
1764
|
unreadCount: number;
|
|
1535
1765
|
groupChat: boolean;
|
|
1536
|
-
participants: Array<
|
|
1537
|
-
lastMessage:
|
|
1766
|
+
participants: Array<SearchConversationsParticipant>;
|
|
1767
|
+
lastMessage: SearchConversationsLastMessage | null;
|
|
1538
1768
|
};
|
|
1539
1769
|
/**
|
|
1540
|
-
*
|
|
1770
|
+
* Matching conversations
|
|
1541
1771
|
*/
|
|
1542
|
-
export type
|
|
1772
|
+
export type SearchConversationsResponse = {
|
|
1543
1773
|
success: true;
|
|
1544
|
-
conversations: Array<
|
|
1774
|
+
conversations: Array<SearchConversationsConversation>;
|
|
1545
1775
|
/**
|
|
1546
1776
|
* Cursor for fetching next page
|
|
1547
1777
|
*/
|
|
@@ -1555,73 +1785,82 @@ export type ListArchivedResponse = {
|
|
|
1555
1785
|
*/
|
|
1556
1786
|
retryAfter: number;
|
|
1557
1787
|
};
|
|
1558
|
-
export type
|
|
1559
|
-
/**
|
|
1560
|
-
* Full message URN (e.g. 'urn:li:msg_message:(urn:li:fsd_profile:ACoAAXXX,2-MTcw...)')
|
|
1561
|
-
*/
|
|
1562
|
-
messageUrn: string;
|
|
1788
|
+
export type FindConversationRequest = {
|
|
1563
1789
|
/**
|
|
1564
|
-
*
|
|
1790
|
+
* Accepts full profile URLs, vanity names (e.g. marie-sandre), or profile URNs. Direct O(1) conversation lookup via LinkedIn's compose API — no search, no inbox scan. 0 credits.
|
|
1565
1791
|
*/
|
|
1566
|
-
|
|
1792
|
+
profile: string;
|
|
1567
1793
|
/**
|
|
1568
|
-
*
|
|
1794
|
+
* If true, also return the conversation's recent messages (0 extra credits).
|
|
1569
1795
|
*/
|
|
1570
|
-
|
|
1796
|
+
includeMessages?: boolean | undefined;
|
|
1571
1797
|
};
|
|
1572
1798
|
/**
|
|
1573
|
-
*
|
|
1799
|
+
* Lightweight conversation reference (O(1) lookup returns URN only, not full details).
|
|
1574
1800
|
*/
|
|
1575
|
-
export type
|
|
1576
|
-
|
|
1577
|
-
/**
|
|
1578
|
-
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1579
|
-
*/
|
|
1580
|
-
creditsUsed: number;
|
|
1581
|
-
/**
|
|
1582
|
-
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1583
|
-
*/
|
|
1584
|
-
retryAfter: number;
|
|
1801
|
+
export type FindConversationConversation = {
|
|
1802
|
+
conversationUrn: string;
|
|
1585
1803
|
};
|
|
1586
|
-
export type
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1804
|
+
export type FindConversationSender = {
|
|
1805
|
+
firstName: string;
|
|
1806
|
+
lastName: string;
|
|
1807
|
+
profileUrl: string | null;
|
|
1808
|
+
headline: string | null;
|
|
1809
|
+
profilePicture: string | null;
|
|
1810
|
+
publicIdentifier: string | null;
|
|
1811
|
+
profileUrn: string | null;
|
|
1812
|
+
};
|
|
1813
|
+
export declare const FindConversationType: {
|
|
1814
|
+
readonly Audio: "audio";
|
|
1815
|
+
readonly SharedPost: "shared_post";
|
|
1816
|
+
readonly RepliedMessage: "replied_message";
|
|
1817
|
+
readonly Image: "image";
|
|
1818
|
+
readonly File: "file";
|
|
1819
|
+
readonly Unknown: "unknown";
|
|
1820
|
+
};
|
|
1821
|
+
export type FindConversationType = OpenEnum<typeof FindConversationType>;
|
|
1822
|
+
export type FindConversationAttachment = {
|
|
1823
|
+
type: FindConversationType;
|
|
1824
|
+
audioUrl?: string | undefined;
|
|
1825
|
+
audioDuration?: number | undefined;
|
|
1826
|
+
hostUrn?: string | undefined;
|
|
1827
|
+
repliedText?: string | undefined;
|
|
1828
|
+
repliedSenderName?: string | undefined;
|
|
1829
|
+
imageUrl?: string | undefined;
|
|
1830
|
+
fileName?: string | undefined;
|
|
1831
|
+
fileUrl?: string | undefined;
|
|
1832
|
+
};
|
|
1833
|
+
export type FindConversationMessage = {
|
|
1590
1834
|
messageUrn: string;
|
|
1835
|
+
text: string | null;
|
|
1836
|
+
deliveredAt: number;
|
|
1837
|
+
senderProfileUrn: string;
|
|
1838
|
+
sender: FindConversationSender;
|
|
1839
|
+
attachments: Array<FindConversationAttachment>;
|
|
1591
1840
|
/**
|
|
1592
|
-
*
|
|
1593
|
-
*/
|
|
1594
|
-
emoji: string;
|
|
1595
|
-
/**
|
|
1596
|
-
* Conversation URN (required for the old messaging API fallback)
|
|
1841
|
+
* True if the authenticated user sent this message.
|
|
1597
1842
|
*/
|
|
1598
|
-
|
|
1843
|
+
isOutbound: boolean;
|
|
1599
1844
|
};
|
|
1600
1845
|
/**
|
|
1601
|
-
*
|
|
1846
|
+
* Conversation found (or not)
|
|
1602
1847
|
*/
|
|
1603
|
-
export type
|
|
1848
|
+
export type FindConversationResponse = {
|
|
1604
1849
|
success: true;
|
|
1850
|
+
found: boolean;
|
|
1605
1851
|
/**
|
|
1606
|
-
*
|
|
1852
|
+
* Lightweight conversation reference (O(1) lookup returns URN only, not full details).
|
|
1607
1853
|
*/
|
|
1608
|
-
|
|
1854
|
+
conversation: FindConversationConversation | null;
|
|
1855
|
+
messages: Array<FindConversationMessage> | null;
|
|
1609
1856
|
/**
|
|
1610
|
-
*
|
|
1857
|
+
* deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Only present when includeMessages is true.
|
|
1611
1858
|
*/
|
|
1612
|
-
|
|
1613
|
-
};
|
|
1614
|
-
export type SendTypingIndicatorRequest = {
|
|
1859
|
+
prevCursor?: number | null | undefined;
|
|
1615
1860
|
/**
|
|
1616
|
-
*
|
|
1861
|
+
* The authenticated user's profile URN. Useful for determining message direction.
|
|
1617
1862
|
*/
|
|
1618
|
-
|
|
1619
|
-
};
|
|
1620
|
-
/**
|
|
1621
|
-
* Typing indicator sent
|
|
1622
|
-
*/
|
|
1623
|
-
export type SendTypingIndicatorResponse = {
|
|
1624
|
-
success: true;
|
|
1863
|
+
userProfileUrn?: string | undefined;
|
|
1625
1864
|
/**
|
|
1626
1865
|
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1627
1866
|
*/
|
|
@@ -1631,390 +1870,228 @@ export type SendTypingIndicatorResponse = {
|
|
|
1631
1870
|
*/
|
|
1632
1871
|
retryAfter: number;
|
|
1633
1872
|
};
|
|
1634
|
-
|
|
1635
|
-
* Unread count
|
|
1636
|
-
*/
|
|
1637
|
-
export type GetUnreadCountResponse = {
|
|
1638
|
-
success: true;
|
|
1639
|
-
/**
|
|
1640
|
-
* Number of unread conversations/messages
|
|
1641
|
-
*/
|
|
1642
|
-
unreadCount: number;
|
|
1873
|
+
export type GetMessagesRequest = {
|
|
1643
1874
|
/**
|
|
1644
|
-
*
|
|
1875
|
+
* Full conversation URN as returned by /chats/linkedin (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
|
|
1645
1876
|
*/
|
|
1646
|
-
|
|
1877
|
+
conversationUrn: string;
|
|
1647
1878
|
/**
|
|
1648
|
-
*
|
|
1879
|
+
* Timestamp (ms) of the oldest message from previous page — pass this to load older messages
|
|
1649
1880
|
*/
|
|
1650
|
-
|
|
1881
|
+
deliveredAt?: number | undefined;
|
|
1651
1882
|
};
|
|
1652
|
-
export type
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1883
|
+
export type GetMessagesSender = {
|
|
1884
|
+
firstName: string;
|
|
1885
|
+
lastName: string;
|
|
1886
|
+
profileUrl: string | null;
|
|
1887
|
+
headline: string | null;
|
|
1888
|
+
profilePicture: string | null;
|
|
1889
|
+
publicIdentifier: string | null;
|
|
1890
|
+
profileUrn: string | null;
|
|
1891
|
+
};
|
|
1892
|
+
export declare const GetMessagesType: {
|
|
1893
|
+
readonly Audio: "audio";
|
|
1894
|
+
readonly SharedPost: "shared_post";
|
|
1895
|
+
readonly RepliedMessage: "replied_message";
|
|
1896
|
+
readonly Image: "image";
|
|
1897
|
+
readonly File: "file";
|
|
1898
|
+
readonly Unknown: "unknown";
|
|
1899
|
+
};
|
|
1900
|
+
export type GetMessagesType = OpenEnum<typeof GetMessagesType>;
|
|
1901
|
+
export type GetMessagesAttachment = {
|
|
1902
|
+
type: GetMessagesType;
|
|
1903
|
+
audioUrl?: string | undefined;
|
|
1904
|
+
audioDuration?: number | undefined;
|
|
1905
|
+
hostUrn?: string | undefined;
|
|
1906
|
+
repliedText?: string | undefined;
|
|
1907
|
+
repliedSenderName?: string | undefined;
|
|
1908
|
+
imageUrl?: string | undefined;
|
|
1909
|
+
fileName?: string | undefined;
|
|
1910
|
+
fileUrl?: string | undefined;
|
|
1911
|
+
};
|
|
1912
|
+
export type GetMessagesMessage = {
|
|
1913
|
+
messageUrn: string;
|
|
1914
|
+
text: string | null;
|
|
1915
|
+
deliveredAt: number;
|
|
1916
|
+
senderProfileUrn: string;
|
|
1917
|
+
sender: GetMessagesSender;
|
|
1918
|
+
attachments: Array<GetMessagesAttachment>;
|
|
1657
1919
|
/**
|
|
1658
|
-
*
|
|
1920
|
+
* True if the authenticated user sent this message.
|
|
1659
1921
|
*/
|
|
1660
|
-
|
|
1661
|
-
};
|
|
1662
|
-
export type CheckedSlug = {
|
|
1663
|
-
actionSlug: string;
|
|
1664
|
-
completed: boolean;
|
|
1922
|
+
isOutbound: boolean;
|
|
1665
1923
|
};
|
|
1666
1924
|
/**
|
|
1667
|
-
*
|
|
1925
|
+
* Conversation messages
|
|
1668
1926
|
*/
|
|
1669
|
-
export type
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
*/
|
|
1673
|
-
filtered: boolean;
|
|
1927
|
+
export type GetMessagesResponse = {
|
|
1928
|
+
success: true;
|
|
1929
|
+
messages: Array<GetMessagesMessage>;
|
|
1674
1930
|
/**
|
|
1675
|
-
*
|
|
1931
|
+
* deliveredAt timestamp (ms) of the oldest message — pass as 'deliveredAt' to load older messages. Null when no more messages.
|
|
1676
1932
|
*/
|
|
1677
|
-
|
|
1933
|
+
prevCursor: number | null;
|
|
1678
1934
|
/**
|
|
1679
|
-
* Credits consumed by this call (
|
|
1935
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1680
1936
|
*/
|
|
1681
1937
|
creditsUsed: number;
|
|
1682
1938
|
/**
|
|
1683
|
-
* Seconds to wait before
|
|
1939
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1684
1940
|
*/
|
|
1685
1941
|
retryAfter: number;
|
|
1686
1942
|
};
|
|
1687
|
-
export type
|
|
1688
|
-
/**
|
|
1689
|
-
* LinkedIn profile URLs or URNs to check status for within this campaign.
|
|
1690
|
-
*/
|
|
1691
|
-
profiles: Array<string>;
|
|
1692
|
-
};
|
|
1693
|
-
export type GetStatusRequest = {
|
|
1943
|
+
export type MarkSeenRequest = {
|
|
1694
1944
|
/**
|
|
1695
|
-
*
|
|
1945
|
+
* Full conversation URN (e.g. 'urn:li:msg_conversation:(urn:li:fsd_profile:ACoAAXXX,2-YWUx...)')
|
|
1696
1946
|
*/
|
|
1697
|
-
|
|
1698
|
-
body: GetStatusRequestBody;
|
|
1699
|
-
};
|
|
1700
|
-
export type GetStatusProfile = {
|
|
1701
|
-
profile: string;
|
|
1702
|
-
message: boolean;
|
|
1703
|
-
reply: boolean;
|
|
1704
|
-
like: boolean;
|
|
1705
|
-
visit: boolean;
|
|
1706
|
-
connect: boolean;
|
|
1947
|
+
conversationUrn: string;
|
|
1707
1948
|
};
|
|
1708
1949
|
/**
|
|
1709
|
-
*
|
|
1950
|
+
* Conversation marked as read
|
|
1710
1951
|
*/
|
|
1711
|
-
export type
|
|
1952
|
+
export type MarkSeenResponse = {
|
|
1712
1953
|
success: true;
|
|
1713
|
-
profiles: Array<GetStatusProfile>;
|
|
1714
1954
|
/**
|
|
1715
|
-
* Credits consumed by this call (
|
|
1955
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1716
1956
|
*/
|
|
1717
1957
|
creditsUsed: number;
|
|
1718
1958
|
/**
|
|
1719
|
-
* Seconds to wait before
|
|
1720
|
-
*/
|
|
1721
|
-
retryAfter: number;
|
|
1722
|
-
};
|
|
1723
|
-
export declare const SyncAction: {
|
|
1724
|
-
readonly Message: "message";
|
|
1725
|
-
readonly Reply: "reply";
|
|
1726
|
-
readonly Like: "like";
|
|
1727
|
-
readonly Visit: "visit";
|
|
1728
|
-
readonly Connect: "connect";
|
|
1729
|
-
};
|
|
1730
|
-
export type SyncAction = ClosedEnum<typeof SyncAction>;
|
|
1731
|
-
export type SyncProfile = {
|
|
1732
|
-
/**
|
|
1733
|
-
* LinkedIn profile URL or URN
|
|
1734
|
-
*/
|
|
1735
|
-
profile: string;
|
|
1736
|
-
/**
|
|
1737
|
-
* Action types to mark as completed
|
|
1738
|
-
*/
|
|
1739
|
-
actions: Array<SyncAction>;
|
|
1740
|
-
};
|
|
1741
|
-
export type SyncRequestBody = {
|
|
1742
|
-
/**
|
|
1743
|
-
* Profiles and actions to mark as completed without performing them on LinkedIn.
|
|
1744
|
-
*/
|
|
1745
|
-
profiles: Array<SyncProfile>;
|
|
1746
|
-
};
|
|
1747
|
-
export type SyncRequest = {
|
|
1748
|
-
/**
|
|
1749
|
-
* Campaign identifier
|
|
1750
|
-
*/
|
|
1751
|
-
campaignSlug: string;
|
|
1752
|
-
body: SyncRequestBody;
|
|
1753
|
-
};
|
|
1754
|
-
export type Synced = {
|
|
1755
|
-
profile: string;
|
|
1756
|
-
actions: {
|
|
1757
|
-
[k: string]: boolean;
|
|
1758
|
-
};
|
|
1959
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1960
|
+
*/
|
|
1961
|
+
retryAfter: number;
|
|
1759
1962
|
};
|
|
1963
|
+
export type MarkAllReadRequest = {};
|
|
1760
1964
|
/**
|
|
1761
|
-
*
|
|
1965
|
+
* All conversations marked as read
|
|
1762
1966
|
*/
|
|
1763
|
-
export type
|
|
1967
|
+
export type MarkAllReadResponse = {
|
|
1764
1968
|
success: true;
|
|
1765
|
-
synced: Array<Synced>;
|
|
1766
1969
|
/**
|
|
1767
|
-
* Credits consumed by this call (
|
|
1970
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1768
1971
|
*/
|
|
1769
1972
|
creditsUsed: number;
|
|
1770
1973
|
/**
|
|
1771
|
-
* Seconds to wait before
|
|
1974
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1772
1975
|
*/
|
|
1773
1976
|
retryAfter: number;
|
|
1774
1977
|
};
|
|
1775
|
-
export type
|
|
1978
|
+
export type StarRequest = {
|
|
1776
1979
|
/**
|
|
1777
|
-
*
|
|
1980
|
+
* Full conversation URN
|
|
1778
1981
|
*/
|
|
1779
|
-
|
|
1982
|
+
conversationUrn: string;
|
|
1780
1983
|
};
|
|
1781
1984
|
/**
|
|
1782
|
-
*
|
|
1985
|
+
* Conversation starred
|
|
1783
1986
|
*/
|
|
1784
|
-
export type
|
|
1987
|
+
export type StarResponse = {
|
|
1785
1988
|
success: true;
|
|
1786
1989
|
/**
|
|
1787
|
-
*
|
|
1788
|
-
*/
|
|
1789
|
-
stats: {
|
|
1790
|
-
[k: string]: number;
|
|
1791
|
-
};
|
|
1792
|
-
/**
|
|
1793
|
-
* Unique profiles processed in this campaign
|
|
1794
|
-
*/
|
|
1795
|
-
totalProfiles: number;
|
|
1796
|
-
/**
|
|
1797
|
-
* Total credits consumed by this campaign (sum of action counts). Also serves as the per-call creditsUsed (always 0 for this endpoint).
|
|
1990
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1798
1991
|
*/
|
|
1799
1992
|
creditsUsed: number;
|
|
1800
1993
|
/**
|
|
1801
|
-
* Seconds to wait before
|
|
1994
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1802
1995
|
*/
|
|
1803
1996
|
retryAfter: number;
|
|
1804
1997
|
};
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
readonly Comments: "comments";
|
|
1811
|
-
readonly Reposts: "reposts";
|
|
1812
|
-
readonly Posts: "posts";
|
|
1813
|
-
readonly CompanyFollowers: "company_followers";
|
|
1814
|
-
readonly SearchResults: "search_results";
|
|
1815
|
-
readonly ManualImport: "manual_import";
|
|
1816
|
-
readonly EventAttendees: "event_attendees";
|
|
1817
|
-
readonly GroupMembers: "group_members";
|
|
1818
|
-
readonly EngagementScraping: "engagement_scraping";
|
|
1819
|
-
readonly ContentSearch: "content_search";
|
|
1820
|
-
readonly FollowersMining: "followers_mining";
|
|
1821
|
-
readonly PeopleSearch: "people_search";
|
|
1822
|
-
readonly JobSearch: "job_search";
|
|
1823
|
-
readonly CompanySearch: "company_search";
|
|
1824
|
-
readonly NetworkExpansion: "network_expansion";
|
|
1825
|
-
readonly BulkVisit: "bulk_visit";
|
|
1826
|
-
};
|
|
1827
|
-
/**
|
|
1828
|
-
* How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
|
|
1829
|
-
*/
|
|
1830
|
-
export type UpsertSource = ClosedEnum<typeof UpsertSource>;
|
|
1831
|
-
/**
|
|
1832
|
-
* Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
|
|
1833
|
-
*/
|
|
1834
|
-
export declare const UpsertLifecycleStage: {
|
|
1835
|
-
readonly Contact: "contact";
|
|
1836
|
-
readonly Lead: "lead";
|
|
1837
|
-
readonly Qualified: "qualified";
|
|
1838
|
-
readonly Approved: "approved";
|
|
1839
|
-
readonly Rejected: "rejected";
|
|
1998
|
+
export type UnstarRequest = {
|
|
1999
|
+
/**
|
|
2000
|
+
* Full conversation URN
|
|
2001
|
+
*/
|
|
2002
|
+
conversationUrn: string;
|
|
1840
2003
|
};
|
|
1841
2004
|
/**
|
|
1842
|
-
*
|
|
2005
|
+
* Conversation unstarred
|
|
1843
2006
|
*/
|
|
1844
|
-
export type
|
|
1845
|
-
|
|
1846
|
-
/**
|
|
1847
|
-
* LinkedIn profile URL, URN, or bare vanity name
|
|
1848
|
-
*/
|
|
1849
|
-
linkedinUrl: string;
|
|
1850
|
-
/**
|
|
1851
|
-
* LinkedIn profile URN (e.g. urn:li:fsd_profile:ACoAAA...). Improves dedup when provided alongside a vanity URL.
|
|
1852
|
-
*/
|
|
1853
|
-
profileUrn?: string | null | undefined;
|
|
1854
|
-
/**
|
|
1855
|
-
* LinkedIn vanity slug (e.g. joshuaau). Improves dedup when provided alongside a URN.
|
|
1856
|
-
*/
|
|
1857
|
-
publicIdentifier?: string | null | undefined;
|
|
1858
|
-
/**
|
|
1859
|
-
* Profile name
|
|
1860
|
-
*/
|
|
1861
|
-
name: string;
|
|
1862
|
-
/**
|
|
1863
|
-
* How this contact was found. Optional for organic creation (defaults to manual_import), required for campaign-based addition. Unknown values default to manual_import.
|
|
1864
|
-
*/
|
|
1865
|
-
source?: UpsertSource | undefined;
|
|
1866
|
-
/**
|
|
1867
|
-
* Which lead-gen angle found this (e.g., 'vp-sales-france')
|
|
1868
|
-
*/
|
|
1869
|
-
sourceAngle?: string | undefined;
|
|
1870
|
-
/**
|
|
1871
|
-
* Lifecycle stage. Defaults to 'contact' on creation. Omit when adding existing contacts to avoid downgrading their stage.
|
|
1872
|
-
*/
|
|
1873
|
-
lifecycleStage?: UpsertLifecycleStage | undefined;
|
|
2007
|
+
export type UnstarResponse = {
|
|
2008
|
+
success: true;
|
|
1874
2009
|
/**
|
|
1875
|
-
*
|
|
2010
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1876
2011
|
*/
|
|
1877
|
-
|
|
2012
|
+
creditsUsed: number;
|
|
1878
2013
|
/**
|
|
1879
|
-
*
|
|
2014
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1880
2015
|
*/
|
|
1881
|
-
|
|
1882
|
-
notes?: string | undefined;
|
|
2016
|
+
retryAfter: number;
|
|
1883
2017
|
};
|
|
1884
|
-
export type
|
|
2018
|
+
export type ListStarredRequest = {
|
|
1885
2019
|
/**
|
|
1886
|
-
*
|
|
2020
|
+
* Pagination cursor from a previous response
|
|
1887
2021
|
*/
|
|
1888
|
-
|
|
1889
|
-
};
|
|
1890
|
-
export type UpsertResults = {
|
|
1891
|
-
created: number;
|
|
1892
|
-
updated: number;
|
|
1893
|
-
skipped: number;
|
|
1894
|
-
errors: Array<string>;
|
|
2022
|
+
nextCursor?: string | undefined;
|
|
1895
2023
|
};
|
|
1896
|
-
export type
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
/**
|
|
1904
|
-
* LinkedIn vanity slug (e.g. joshuaau)
|
|
1905
|
-
*/
|
|
2024
|
+
export type ListStarredParticipant = {
|
|
2025
|
+
profileUrn: string;
|
|
2026
|
+
firstName: string;
|
|
2027
|
+
lastName: string;
|
|
2028
|
+
profileUrl: string | null;
|
|
2029
|
+
headline: string | null;
|
|
2030
|
+
profilePicture: string | null;
|
|
1906
2031
|
publicIdentifier: string | null;
|
|
1907
|
-
|
|
1908
|
-
|
|
1909
|
-
|
|
1910
|
-
|
|
1911
|
-
|
|
1912
|
-
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
1916
|
-
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
1921
|
-
|
|
1922
|
-
|
|
1923
|
-
createdAt: string;
|
|
1924
|
-
updatedAt: string;
|
|
2032
|
+
};
|
|
2033
|
+
export type ListStarredLastMessage = {
|
|
2034
|
+
text: string | null;
|
|
2035
|
+
deliveredAt: number;
|
|
2036
|
+
senderProfileUrn: string;
|
|
2037
|
+
};
|
|
2038
|
+
export type ListStarredConversation = {
|
|
2039
|
+
conversationUrn: string;
|
|
2040
|
+
conversationUrl: string;
|
|
2041
|
+
lastActivityAt: number;
|
|
2042
|
+
createdAt: number;
|
|
2043
|
+
read: boolean;
|
|
2044
|
+
unreadCount: number;
|
|
2045
|
+
groupChat: boolean;
|
|
2046
|
+
participants: Array<ListStarredParticipant>;
|
|
2047
|
+
lastMessage: ListStarredLastMessage | null;
|
|
1925
2048
|
};
|
|
1926
2049
|
/**
|
|
1927
|
-
*
|
|
2050
|
+
* Starred conversations
|
|
1928
2051
|
*/
|
|
1929
|
-
export type
|
|
2052
|
+
export type ListStarredResponse = {
|
|
1930
2053
|
success: true;
|
|
1931
|
-
|
|
2054
|
+
conversations: Array<ListStarredConversation>;
|
|
1932
2055
|
/**
|
|
1933
|
-
*
|
|
2056
|
+
* Cursor for fetching next page
|
|
1934
2057
|
*/
|
|
1935
|
-
|
|
2058
|
+
nextCursor: string | null;
|
|
1936
2059
|
/**
|
|
1937
|
-
* Credits consumed by this call (
|
|
2060
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1938
2061
|
*/
|
|
1939
2062
|
creditsUsed: number;
|
|
1940
2063
|
/**
|
|
1941
|
-
* Seconds to wait before
|
|
2064
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
1942
2065
|
*/
|
|
1943
2066
|
retryAfter: number;
|
|
1944
2067
|
};
|
|
1945
|
-
export
|
|
1946
|
-
readonly Contact: "contact";
|
|
1947
|
-
readonly Lead: "lead";
|
|
1948
|
-
readonly Qualified: "qualified";
|
|
1949
|
-
readonly Approved: "approved";
|
|
1950
|
-
readonly Rejected: "rejected";
|
|
1951
|
-
};
|
|
1952
|
-
export type SearchContactsLifecycleStage = ClosedEnum<typeof SearchContactsLifecycleStage>;
|
|
1953
|
-
export declare const SearchContactsOutreachStatus: {
|
|
1954
|
-
readonly None: "none";
|
|
1955
|
-
readonly ConnectionSent: "connection_sent";
|
|
1956
|
-
readonly Connected: "connected";
|
|
1957
|
-
readonly DmSent: "dm_sent";
|
|
1958
|
-
readonly FollowedUp: "followed_up";
|
|
1959
|
-
readonly Replied: "replied";
|
|
1960
|
-
readonly InConversation: "in_conversation";
|
|
1961
|
-
readonly MeetingBooked: "meeting_booked";
|
|
1962
|
-
readonly Converted: "converted";
|
|
1963
|
-
readonly NotInterested: "not_interested";
|
|
1964
|
-
};
|
|
1965
|
-
export type SearchContactsOutreachStatus = ClosedEnum<typeof SearchContactsOutreachStatus>;
|
|
1966
|
-
export declare const DoNotContact: {
|
|
1967
|
-
readonly True: "true";
|
|
1968
|
-
readonly False: "false";
|
|
1969
|
-
};
|
|
1970
|
-
export type DoNotContact = ClosedEnum<typeof DoNotContact>;
|
|
1971
|
-
export declare const HasProfileData: {
|
|
1972
|
-
readonly True: "true";
|
|
1973
|
-
readonly False: "false";
|
|
1974
|
-
};
|
|
1975
|
-
export type HasProfileData = ClosedEnum<typeof HasProfileData>;
|
|
1976
|
-
export type SearchContactsRequest = {
|
|
1977
|
-
/**
|
|
1978
|
-
* Filter by LinkedIn URL (exact match)
|
|
1979
|
-
*/
|
|
1980
|
-
linkedinUrl?: string | undefined;
|
|
1981
|
-
/**
|
|
1982
|
-
* Filter by name (partial match)
|
|
1983
|
-
*/
|
|
1984
|
-
name?: string | undefined;
|
|
1985
|
-
lifecycleStage?: SearchContactsLifecycleStage | undefined;
|
|
1986
|
-
/**
|
|
1987
|
-
* Sort field (e.g. 'hotScore', 'createdAt', 'nextFollowUpAt')
|
|
1988
|
-
*/
|
|
1989
|
-
sortBy?: string | undefined;
|
|
1990
|
-
minHotScore?: number | undefined;
|
|
1991
|
-
outreachStatus?: SearchContactsOutreachStatus | undefined;
|
|
2068
|
+
export type ArchiveRequest = {
|
|
1992
2069
|
/**
|
|
1993
|
-
*
|
|
2070
|
+
* Full conversation URN
|
|
1994
2071
|
*/
|
|
1995
|
-
|
|
2072
|
+
conversationUrn: string;
|
|
2073
|
+
};
|
|
2074
|
+
/**
|
|
2075
|
+
* Conversation archived
|
|
2076
|
+
*/
|
|
2077
|
+
export type ArchiveResponse = {
|
|
2078
|
+
success: true;
|
|
1996
2079
|
/**
|
|
1997
|
-
*
|
|
2080
|
+
* Credits consumed by this call (0 for free endpoints, cached results, or duplicates).
|
|
1998
2081
|
*/
|
|
1999
|
-
|
|
2000
|
-
doNotContact?: DoNotContact | undefined;
|
|
2001
|
-
hasProfileData?: HasProfileData | undefined;
|
|
2002
|
-
campaignId?: string | undefined;
|
|
2003
|
-
limit?: number | undefined;
|
|
2004
|
-
offset?: number | undefined;
|
|
2005
|
-
};
|
|
2006
|
-
export type SearchContactsCampaign = {
|
|
2007
|
-
campaignId: string;
|
|
2008
|
-
campaignName: string;
|
|
2082
|
+
creditsUsed: number;
|
|
2009
2083
|
/**
|
|
2010
|
-
*
|
|
2084
|
+
* Seconds to wait before making another call of the same type. 0 means no wait needed.
|
|
2011
2085
|
*/
|
|
2012
|
-
|
|
2013
|
-
source: string;
|
|
2014
|
-
sourceAngle: string | null;
|
|
2015
|
-
addedAt: string;
|
|
2086
|
+
retryAfter: number;
|
|
2016
2087
|
};
|
|
2017
2088
|
/** @internal */
|
|
2089
|
+
export declare const UpdateAccountAccount$inboundSchema: z.ZodMiniType<UpdateAccountAccount, unknown>;
|
|
2090
|
+
export declare function updateAccountAccountFromJSON(jsonString: string): SafeParseResult<UpdateAccountAccount, SDKValidationError>;
|
|
2091
|
+
/** @internal */
|
|
2092
|
+
export declare const UpdateAccountResponse$inboundSchema: z.ZodMiniType<UpdateAccountResponse, unknown>;
|
|
2093
|
+
export declare function updateAccountResponseFromJSON(jsonString: string): SafeParseResult<UpdateAccountResponse, SDKValidationError>;
|
|
2094
|
+
/** @internal */
|
|
2018
2095
|
export declare const RefreshPositionStartDate$inboundSchema: z.ZodMiniType<RefreshPositionStartDate, unknown>;
|
|
2019
2096
|
export declare function refreshPositionStartDateFromJSON(jsonString: string): SafeParseResult<RefreshPositionStartDate, SDKValidationError>;
|
|
2020
2097
|
/** @internal */
|
|
@@ -2121,14 +2198,59 @@ export declare function scrapingWeeklyFromJSON(jsonString: string): SafeParseRes
|
|
|
2121
2198
|
export declare const Scraping$inboundSchema: z.ZodMiniType<Scraping, unknown>;
|
|
2122
2199
|
export declare function scrapingFromJSON(jsonString: string): SafeParseResult<Scraping, SDKValidationError>;
|
|
2123
2200
|
/** @internal */
|
|
2201
|
+
export declare const PostDaily$inboundSchema: z.ZodMiniType<PostDaily, unknown>;
|
|
2202
|
+
export declare function postDailyFromJSON(jsonString: string): SafeParseResult<PostDaily, SDKValidationError>;
|
|
2203
|
+
/** @internal */
|
|
2204
|
+
export declare const PostWeekly$inboundSchema: z.ZodMiniType<PostWeekly, unknown>;
|
|
2205
|
+
export declare function postWeeklyFromJSON(jsonString: string): SafeParseResult<PostWeekly, SDKValidationError>;
|
|
2206
|
+
/** @internal */
|
|
2207
|
+
export declare const GetLimitsPost$inboundSchema: z.ZodMiniType<GetLimitsPost, unknown>;
|
|
2208
|
+
export declare function getLimitsPostFromJSON(jsonString: string): SafeParseResult<GetLimitsPost, SDKValidationError>;
|
|
2209
|
+
/** @internal */
|
|
2210
|
+
export declare const AcceptInvitationDaily2$inboundSchema: z.ZodMiniType<AcceptInvitationDaily2, unknown>;
|
|
2211
|
+
export declare function acceptInvitationDaily2FromJSON(jsonString: string): SafeParseResult<AcceptInvitationDaily2, SDKValidationError>;
|
|
2212
|
+
/** @internal */
|
|
2213
|
+
export declare const AcceptInvitationWeekly2$inboundSchema: z.ZodMiniType<AcceptInvitationWeekly2, unknown>;
|
|
2214
|
+
export declare function acceptInvitationWeekly2FromJSON(jsonString: string): SafeParseResult<AcceptInvitationWeekly2, SDKValidationError>;
|
|
2215
|
+
/** @internal */
|
|
2216
|
+
export declare const AcceptInvitation$inboundSchema: z.ZodMiniType<AcceptInvitation, unknown>;
|
|
2217
|
+
export declare function acceptInvitationFromJSON(jsonString: string): SafeParseResult<AcceptInvitation, SDKValidationError>;
|
|
2218
|
+
/** @internal */
|
|
2219
|
+
export declare const CommentPostDaily$inboundSchema: z.ZodMiniType<CommentPostDaily, unknown>;
|
|
2220
|
+
export declare function commentPostDailyFromJSON(jsonString: string): SafeParseResult<CommentPostDaily, SDKValidationError>;
|
|
2221
|
+
/** @internal */
|
|
2222
|
+
export declare const CommentPostWeekly$inboundSchema: z.ZodMiniType<CommentPostWeekly, unknown>;
|
|
2223
|
+
export declare function commentPostWeeklyFromJSON(jsonString: string): SafeParseResult<CommentPostWeekly, SDKValidationError>;
|
|
2224
|
+
/** @internal */
|
|
2225
|
+
export declare const CommentPost$inboundSchema: z.ZodMiniType<CommentPost, unknown>;
|
|
2226
|
+
export declare function commentPostFromJSON(jsonString: string): SafeParseResult<CommentPost, SDKValidationError>;
|
|
2227
|
+
/** @internal */
|
|
2228
|
+
export declare const ReplyCommentDaily$inboundSchema: z.ZodMiniType<ReplyCommentDaily, unknown>;
|
|
2229
|
+
export declare function replyCommentDailyFromJSON(jsonString: string): SafeParseResult<ReplyCommentDaily, SDKValidationError>;
|
|
2230
|
+
/** @internal */
|
|
2231
|
+
export declare const ReplyCommentWeekly$inboundSchema: z.ZodMiniType<ReplyCommentWeekly, unknown>;
|
|
2232
|
+
export declare function replyCommentWeeklyFromJSON(jsonString: string): SafeParseResult<ReplyCommentWeekly, SDKValidationError>;
|
|
2233
|
+
/** @internal */
|
|
2234
|
+
export declare const ReplyComment$inboundSchema: z.ZodMiniType<ReplyComment, unknown>;
|
|
2235
|
+
export declare function replyCommentFromJSON(jsonString: string): SafeParseResult<ReplyComment, SDKValidationError>;
|
|
2236
|
+
/** @internal */
|
|
2237
|
+
export declare const ChatSearchDaily$inboundSchema: z.ZodMiniType<ChatSearchDaily, unknown>;
|
|
2238
|
+
export declare function chatSearchDailyFromJSON(jsonString: string): SafeParseResult<ChatSearchDaily, SDKValidationError>;
|
|
2239
|
+
/** @internal */
|
|
2240
|
+
export declare const ChatSearchWeekly$inboundSchema: z.ZodMiniType<ChatSearchWeekly, unknown>;
|
|
2241
|
+
export declare function chatSearchWeeklyFromJSON(jsonString: string): SafeParseResult<ChatSearchWeekly, SDKValidationError>;
|
|
2242
|
+
/** @internal */
|
|
2243
|
+
export declare const ChatSearch$inboundSchema: z.ZodMiniType<ChatSearch, unknown>;
|
|
2244
|
+
export declare function chatSearchFromJSON(jsonString: string): SafeParseResult<ChatSearch, SDKValidationError>;
|
|
2245
|
+
/** @internal */
|
|
2124
2246
|
export declare const Limits$inboundSchema: z.ZodMiniType<Limits, unknown>;
|
|
2125
2247
|
export declare function limitsFromJSON(jsonString: string): SafeParseResult<Limits, SDKValidationError>;
|
|
2126
2248
|
/** @internal */
|
|
2127
2249
|
export declare const GetLimitsResponse$inboundSchema: z.ZodMiniType<GetLimitsResponse, unknown>;
|
|
2128
2250
|
export declare function getLimitsResponseFromJSON(jsonString: string): SafeParseResult<GetLimitsResponse, SDKValidationError>;
|
|
2129
2251
|
/** @internal */
|
|
2130
|
-
export declare const
|
|
2131
|
-
export declare function
|
|
2252
|
+
export declare const GetCreditsCredits$inboundSchema: z.ZodMiniType<GetCreditsCredits, unknown>;
|
|
2253
|
+
export declare function getCreditsCreditsFromJSON(jsonString: string): SafeParseResult<GetCreditsCredits, SDKValidationError>;
|
|
2132
2254
|
/** @internal */
|
|
2133
2255
|
export declare const GetCreditsResponse$inboundSchema: z.ZodMiniType<GetCreditsResponse, unknown>;
|
|
2134
2256
|
export declare function getCreditsResponseFromJSON(jsonString: string): SafeParseResult<GetCreditsResponse, SDKValidationError>;
|
|
@@ -2207,12 +2329,112 @@ export type ListConnectionsRequest$Outbound = {
|
|
|
2207
2329
|
export declare const ListConnectionsRequest$outboundSchema: z.ZodMiniType<ListConnectionsRequest$Outbound, ListConnectionsRequest>;
|
|
2208
2330
|
export declare function listConnectionsRequestToJSON(listConnectionsRequest: ListConnectionsRequest): string;
|
|
2209
2331
|
/** @internal */
|
|
2332
|
+
export declare const ConnectedAt$inboundSchema: z.ZodMiniType<ConnectedAt, unknown>;
|
|
2333
|
+
export declare function connectedAtFromJSON(jsonString: string): SafeParseResult<ConnectedAt, SDKValidationError>;
|
|
2334
|
+
/** @internal */
|
|
2210
2335
|
export declare const Connection$inboundSchema: z.ZodMiniType<Connection, unknown>;
|
|
2211
2336
|
export declare function connectionFromJSON(jsonString: string): SafeParseResult<Connection, SDKValidationError>;
|
|
2212
2337
|
/** @internal */
|
|
2213
2338
|
export declare const ListConnectionsResponse$inboundSchema: z.ZodMiniType<ListConnectionsResponse, unknown>;
|
|
2214
2339
|
export declare function listConnectionsResponseFromJSON(jsonString: string): SafeParseResult<ListConnectionsResponse, SDKValidationError>;
|
|
2215
2340
|
/** @internal */
|
|
2341
|
+
export declare const QueryParamTabType$outboundSchema: z.ZodMiniEnum<typeof QueryParamTabType>;
|
|
2342
|
+
/** @internal */
|
|
2343
|
+
export type GetMyActivityRequest$Outbound = {
|
|
2344
|
+
tabType: string;
|
|
2345
|
+
companyId?: string | undefined;
|
|
2346
|
+
count: number;
|
|
2347
|
+
start: number;
|
|
2348
|
+
paginationToken?: string | undefined;
|
|
2349
|
+
};
|
|
2350
|
+
/** @internal */
|
|
2351
|
+
export declare const GetMyActivityRequest$outboundSchema: z.ZodMiniType<GetMyActivityRequest$Outbound, GetMyActivityRequest>;
|
|
2352
|
+
export declare function getMyActivityRequestToJSON(getMyActivityRequest: GetMyActivityRequest): string;
|
|
2353
|
+
/** @internal */
|
|
2354
|
+
export declare const TabTypeResponse$inboundSchema: z.ZodMiniType<TabTypeResponse, unknown>;
|
|
2355
|
+
/** @internal */
|
|
2356
|
+
export declare const GetMyActivityResponse$inboundSchema: z.ZodMiniType<GetMyActivityResponse, unknown>;
|
|
2357
|
+
export declare function getMyActivityResponseFromJSON(jsonString: string): SafeParseResult<GetMyActivityResponse, SDKValidationError>;
|
|
2358
|
+
/** @internal */
|
|
2359
|
+
export declare const User$inboundSchema: z.ZodMiniType<User, unknown>;
|
|
2360
|
+
export declare function userFromJSON(jsonString: string): SafeParseResult<User, SDKValidationError>;
|
|
2361
|
+
/** @internal */
|
|
2362
|
+
export declare const GetSettingsLocation$inboundSchema: z.ZodMiniType<GetSettingsLocation, unknown>;
|
|
2363
|
+
export declare function getSettingsLocationFromJSON(jsonString: string): SafeParseResult<GetSettingsLocation, SDKValidationError>;
|
|
2364
|
+
/** @internal */
|
|
2365
|
+
export declare const Proxy$inboundSchema: z.ZodMiniType<Proxy, unknown>;
|
|
2366
|
+
export declare function proxyFromJSON(jsonString: string): SafeParseResult<Proxy, SDKValidationError>;
|
|
2367
|
+
/** @internal */
|
|
2368
|
+
export declare const AnthropicKey$inboundSchema: z.ZodMiniType<AnthropicKey, unknown>;
|
|
2369
|
+
export declare function anthropicKeyFromJSON(jsonString: string): SafeParseResult<AnthropicKey, SDKValidationError>;
|
|
2370
|
+
/** @internal */
|
|
2371
|
+
export declare const Subscription$inboundSchema: z.ZodMiniType<Subscription, unknown>;
|
|
2372
|
+
export declare function subscriptionFromJSON(jsonString: string): SafeParseResult<Subscription, SDKValidationError>;
|
|
2373
|
+
/** @internal */
|
|
2374
|
+
export declare const GetSettingsCredits$inboundSchema: z.ZodMiniType<GetSettingsCredits, unknown>;
|
|
2375
|
+
export declare function getSettingsCreditsFromJSON(jsonString: string): SafeParseResult<GetSettingsCredits, SDKValidationError>;
|
|
2376
|
+
/** @internal */
|
|
2377
|
+
export declare const LinkedinAccountProxy$inboundSchema: z.ZodMiniType<LinkedinAccountProxy, unknown>;
|
|
2378
|
+
export declare function linkedinAccountProxyFromJSON(jsonString: string): SafeParseResult<LinkedinAccountProxy, SDKValidationError>;
|
|
2379
|
+
/** @internal */
|
|
2380
|
+
export declare const ApiKey$inboundSchema: z.ZodMiniType<ApiKey, unknown>;
|
|
2381
|
+
export declare function apiKeyFromJSON(jsonString: string): SafeParseResult<ApiKey, SDKValidationError>;
|
|
2382
|
+
/** @internal */
|
|
2383
|
+
export declare const LinkedinAccount$inboundSchema: z.ZodMiniType<LinkedinAccount, unknown>;
|
|
2384
|
+
export declare function linkedinAccountFromJSON(jsonString: string): SafeParseResult<LinkedinAccount, SDKValidationError>;
|
|
2385
|
+
/** @internal */
|
|
2386
|
+
export declare const PendingInvite$inboundSchema: z.ZodMiniType<PendingInvite, unknown>;
|
|
2387
|
+
export declare function pendingInviteFromJSON(jsonString: string): SafeParseResult<PendingInvite, SDKValidationError>;
|
|
2388
|
+
/** @internal */
|
|
2389
|
+
export declare const GetSettingsResponse$inboundSchema: z.ZodMiniType<GetSettingsResponse, unknown>;
|
|
2390
|
+
export declare function getSettingsResponseFromJSON(jsonString: string): SafeParseResult<GetSettingsResponse, SDKValidationError>;
|
|
2391
|
+
/** @internal */
|
|
2392
|
+
export type PatchSettingsRequest$Outbound = {
|
|
2393
|
+
country?: string | undefined;
|
|
2394
|
+
city?: string | undefined;
|
|
2395
|
+
phone?: string | null | undefined;
|
|
2396
|
+
anthropicKey?: string | null | undefined;
|
|
2397
|
+
};
|
|
2398
|
+
/** @internal */
|
|
2399
|
+
export declare const PatchSettingsRequest$outboundSchema: z.ZodMiniType<PatchSettingsRequest$Outbound, PatchSettingsRequest>;
|
|
2400
|
+
export declare function patchSettingsRequestToJSON(patchSettingsRequest: PatchSettingsRequest): string;
|
|
2401
|
+
/** @internal */
|
|
2402
|
+
export declare const PatchSettingsResponse$inboundSchema: z.ZodMiniType<PatchSettingsResponse, unknown>;
|
|
2403
|
+
export declare function patchSettingsResponseFromJSON(jsonString: string): SafeParseResult<PatchSettingsResponse, SDKValidationError>;
|
|
2404
|
+
/** @internal */
|
|
2405
|
+
export declare const RevalidateLinkedinResponse$inboundSchema: z.ZodMiniType<RevalidateLinkedinResponse, unknown>;
|
|
2406
|
+
export declare function revalidateLinkedinResponseFromJSON(jsonString: string): SafeParseResult<RevalidateLinkedinResponse, SDKValidationError>;
|
|
2407
|
+
/** @internal */
|
|
2408
|
+
export type GetApiTokenRequest$Outbound = {
|
|
2409
|
+
accountId?: string | undefined;
|
|
2410
|
+
};
|
|
2411
|
+
/** @internal */
|
|
2412
|
+
export declare const GetApiTokenRequest$outboundSchema: z.ZodMiniType<GetApiTokenRequest$Outbound, GetApiTokenRequest>;
|
|
2413
|
+
export declare function getApiTokenRequestToJSON(getApiTokenRequest: GetApiTokenRequest): string;
|
|
2414
|
+
/** @internal */
|
|
2415
|
+
export declare const GetApiTokenResponse$inboundSchema: z.ZodMiniType<GetApiTokenResponse, unknown>;
|
|
2416
|
+
export declare function getApiTokenResponseFromJSON(jsonString: string): SafeParseResult<GetApiTokenResponse, SDKValidationError>;
|
|
2417
|
+
/** @internal */
|
|
2418
|
+
export type CreateApiTokenRequest$Outbound = {
|
|
2419
|
+
accountId?: string | undefined;
|
|
2420
|
+
};
|
|
2421
|
+
/** @internal */
|
|
2422
|
+
export declare const CreateApiTokenRequest$outboundSchema: z.ZodMiniType<CreateApiTokenRequest$Outbound, CreateApiTokenRequest>;
|
|
2423
|
+
export declare function createApiTokenRequestToJSON(createApiTokenRequest: CreateApiTokenRequest): string;
|
|
2424
|
+
/** @internal */
|
|
2425
|
+
export declare const CreateApiTokenResponse$inboundSchema: z.ZodMiniType<CreateApiTokenResponse, unknown>;
|
|
2426
|
+
export declare function createApiTokenResponseFromJSON(jsonString: string): SafeParseResult<CreateApiTokenResponse, SDKValidationError>;
|
|
2427
|
+
/** @internal */
|
|
2428
|
+
export type DeleteApiTokenRequest$Outbound = {
|
|
2429
|
+
accountId?: string | undefined;
|
|
2430
|
+
};
|
|
2431
|
+
/** @internal */
|
|
2432
|
+
export declare const DeleteApiTokenRequest$outboundSchema: z.ZodMiniType<DeleteApiTokenRequest$Outbound, DeleteApiTokenRequest>;
|
|
2433
|
+
export declare function deleteApiTokenRequestToJSON(deleteApiTokenRequest: DeleteApiTokenRequest): string;
|
|
2434
|
+
/** @internal */
|
|
2435
|
+
export declare const DeleteApiTokenResponse$inboundSchema: z.ZodMiniType<DeleteApiTokenResponse, unknown>;
|
|
2436
|
+
export declare function deleteApiTokenResponseFromJSON(jsonString: string): SafeParseResult<DeleteApiTokenResponse, SDKValidationError>;
|
|
2437
|
+
/** @internal */
|
|
2216
2438
|
export declare const Page$inboundSchema: z.ZodMiniType<Page, unknown>;
|
|
2217
2439
|
export declare function pageFromJSON(jsonString: string): SafeParseResult<Page, SDKValidationError>;
|
|
2218
2440
|
/** @internal */
|
|
@@ -2268,6 +2490,7 @@ export declare function getAnalyticsResponseFromJSON(jsonString: string): SafePa
|
|
|
2268
2490
|
/** @internal */
|
|
2269
2491
|
export type ListInboxRequest$Outbound = {
|
|
2270
2492
|
nextCursor?: string | undefined;
|
|
2493
|
+
count?: number | undefined;
|
|
2271
2494
|
};
|
|
2272
2495
|
/** @internal */
|
|
2273
2496
|
export declare const ListInboxRequest$outboundSchema: z.ZodMiniType<ListInboxRequest$Outbound, ListInboxRequest>;
|
|
@@ -2418,212 +2641,4 @@ export declare function archiveRequestToJSON(archiveRequest: ArchiveRequest): st
|
|
|
2418
2641
|
/** @internal */
|
|
2419
2642
|
export declare const ArchiveResponse$inboundSchema: z.ZodMiniType<ArchiveResponse, unknown>;
|
|
2420
2643
|
export declare function archiveResponseFromJSON(jsonString: string): SafeParseResult<ArchiveResponse, SDKValidationError>;
|
|
2421
|
-
|
|
2422
|
-
export type UnarchiveRequest$Outbound = {
|
|
2423
|
-
conversationUrn: string;
|
|
2424
|
-
};
|
|
2425
|
-
/** @internal */
|
|
2426
|
-
export declare const UnarchiveRequest$outboundSchema: z.ZodMiniType<UnarchiveRequest$Outbound, UnarchiveRequest>;
|
|
2427
|
-
export declare function unarchiveRequestToJSON(unarchiveRequest: UnarchiveRequest): string;
|
|
2428
|
-
/** @internal */
|
|
2429
|
-
export declare const UnarchiveResponse$inboundSchema: z.ZodMiniType<UnarchiveResponse, unknown>;
|
|
2430
|
-
export declare function unarchiveResponseFromJSON(jsonString: string): SafeParseResult<UnarchiveResponse, SDKValidationError>;
|
|
2431
|
-
/** @internal */
|
|
2432
|
-
export type ListArchivedRequest$Outbound = {
|
|
2433
|
-
nextCursor?: string | undefined;
|
|
2434
|
-
};
|
|
2435
|
-
/** @internal */
|
|
2436
|
-
export declare const ListArchivedRequest$outboundSchema: z.ZodMiniType<ListArchivedRequest$Outbound, ListArchivedRequest>;
|
|
2437
|
-
export declare function listArchivedRequestToJSON(listArchivedRequest: ListArchivedRequest): string;
|
|
2438
|
-
/** @internal */
|
|
2439
|
-
export declare const ListArchivedParticipant$inboundSchema: z.ZodMiniType<ListArchivedParticipant, unknown>;
|
|
2440
|
-
export declare function listArchivedParticipantFromJSON(jsonString: string): SafeParseResult<ListArchivedParticipant, SDKValidationError>;
|
|
2441
|
-
/** @internal */
|
|
2442
|
-
export declare const ListArchivedLastMessage$inboundSchema: z.ZodMiniType<ListArchivedLastMessage, unknown>;
|
|
2443
|
-
export declare function listArchivedLastMessageFromJSON(jsonString: string): SafeParseResult<ListArchivedLastMessage, SDKValidationError>;
|
|
2444
|
-
/** @internal */
|
|
2445
|
-
export declare const ListArchivedConversation$inboundSchema: z.ZodMiniType<ListArchivedConversation, unknown>;
|
|
2446
|
-
export declare function listArchivedConversationFromJSON(jsonString: string): SafeParseResult<ListArchivedConversation, SDKValidationError>;
|
|
2447
|
-
/** @internal */
|
|
2448
|
-
export declare const ListArchivedResponse$inboundSchema: z.ZodMiniType<ListArchivedResponse, unknown>;
|
|
2449
|
-
export declare function listArchivedResponseFromJSON(jsonString: string): SafeParseResult<ListArchivedResponse, SDKValidationError>;
|
|
2450
|
-
/** @internal */
|
|
2451
|
-
export type ReactRequest$Outbound = {
|
|
2452
|
-
messageUrn: string;
|
|
2453
|
-
emoji: string;
|
|
2454
|
-
conversationUrn: string;
|
|
2455
|
-
};
|
|
2456
|
-
/** @internal */
|
|
2457
|
-
export declare const ReactRequest$outboundSchema: z.ZodMiniType<ReactRequest$Outbound, ReactRequest>;
|
|
2458
|
-
export declare function reactRequestToJSON(reactRequest: ReactRequest): string;
|
|
2459
|
-
/** @internal */
|
|
2460
|
-
export declare const ReactResponse$inboundSchema: z.ZodMiniType<ReactResponse, unknown>;
|
|
2461
|
-
export declare function reactResponseFromJSON(jsonString: string): SafeParseResult<ReactResponse, SDKValidationError>;
|
|
2462
|
-
/** @internal */
|
|
2463
|
-
export type UnreactRequest$Outbound = {
|
|
2464
|
-
messageUrn: string;
|
|
2465
|
-
emoji: string;
|
|
2466
|
-
conversationUrn: string;
|
|
2467
|
-
};
|
|
2468
|
-
/** @internal */
|
|
2469
|
-
export declare const UnreactRequest$outboundSchema: z.ZodMiniType<UnreactRequest$Outbound, UnreactRequest>;
|
|
2470
|
-
export declare function unreactRequestToJSON(unreactRequest: UnreactRequest): string;
|
|
2471
|
-
/** @internal */
|
|
2472
|
-
export declare const UnreactResponse$inboundSchema: z.ZodMiniType<UnreactResponse, unknown>;
|
|
2473
|
-
export declare function unreactResponseFromJSON(jsonString: string): SafeParseResult<UnreactResponse, SDKValidationError>;
|
|
2474
|
-
/** @internal */
|
|
2475
|
-
export type SendTypingIndicatorRequest$Outbound = {
|
|
2476
|
-
conversationUrn: string;
|
|
2477
|
-
};
|
|
2478
|
-
/** @internal */
|
|
2479
|
-
export declare const SendTypingIndicatorRequest$outboundSchema: z.ZodMiniType<SendTypingIndicatorRequest$Outbound, SendTypingIndicatorRequest>;
|
|
2480
|
-
export declare function sendTypingIndicatorRequestToJSON(sendTypingIndicatorRequest: SendTypingIndicatorRequest): string;
|
|
2481
|
-
/** @internal */
|
|
2482
|
-
export declare const SendTypingIndicatorResponse$inboundSchema: z.ZodMiniType<SendTypingIndicatorResponse, unknown>;
|
|
2483
|
-
export declare function sendTypingIndicatorResponseFromJSON(jsonString: string): SafeParseResult<SendTypingIndicatorResponse, SDKValidationError>;
|
|
2484
|
-
/** @internal */
|
|
2485
|
-
export declare const GetUnreadCountResponse$inboundSchema: z.ZodMiniType<GetUnreadCountResponse, unknown>;
|
|
2486
|
-
export declare function getUnreadCountResponseFromJSON(jsonString: string): SafeParseResult<GetUnreadCountResponse, SDKValidationError>;
|
|
2487
|
-
/** @internal */
|
|
2488
|
-
export type FilterRequest$Outbound = {
|
|
2489
|
-
campaignSlug: string;
|
|
2490
|
-
actionSlugs: string;
|
|
2491
|
-
};
|
|
2492
|
-
/** @internal */
|
|
2493
|
-
export declare const FilterRequest$outboundSchema: z.ZodMiniType<FilterRequest$Outbound, FilterRequest>;
|
|
2494
|
-
export declare function filterRequestToJSON(filterRequest: FilterRequest): string;
|
|
2495
|
-
/** @internal */
|
|
2496
|
-
export declare const CheckedSlug$inboundSchema: z.ZodMiniType<CheckedSlug, unknown>;
|
|
2497
|
-
export declare function checkedSlugFromJSON(jsonString: string): SafeParseResult<CheckedSlug, SDKValidationError>;
|
|
2498
|
-
/** @internal */
|
|
2499
|
-
export declare const FilterResponse$inboundSchema: z.ZodMiniType<FilterResponse, unknown>;
|
|
2500
|
-
export declare function filterResponseFromJSON(jsonString: string): SafeParseResult<FilterResponse, SDKValidationError>;
|
|
2501
|
-
/** @internal */
|
|
2502
|
-
export type GetStatusRequestBody$Outbound = {
|
|
2503
|
-
profiles: Array<string>;
|
|
2504
|
-
};
|
|
2505
|
-
/** @internal */
|
|
2506
|
-
export declare const GetStatusRequestBody$outboundSchema: z.ZodMiniType<GetStatusRequestBody$Outbound, GetStatusRequestBody>;
|
|
2507
|
-
export declare function getStatusRequestBodyToJSON(getStatusRequestBody: GetStatusRequestBody): string;
|
|
2508
|
-
/** @internal */
|
|
2509
|
-
export type GetStatusRequest$Outbound = {
|
|
2510
|
-
campaignSlug: string;
|
|
2511
|
-
body: GetStatusRequestBody$Outbound;
|
|
2512
|
-
};
|
|
2513
|
-
/** @internal */
|
|
2514
|
-
export declare const GetStatusRequest$outboundSchema: z.ZodMiniType<GetStatusRequest$Outbound, GetStatusRequest>;
|
|
2515
|
-
export declare function getStatusRequestToJSON(getStatusRequest: GetStatusRequest): string;
|
|
2516
|
-
/** @internal */
|
|
2517
|
-
export declare const GetStatusProfile$inboundSchema: z.ZodMiniType<GetStatusProfile, unknown>;
|
|
2518
|
-
export declare function getStatusProfileFromJSON(jsonString: string): SafeParseResult<GetStatusProfile, SDKValidationError>;
|
|
2519
|
-
/** @internal */
|
|
2520
|
-
export declare const GetStatusResponse$inboundSchema: z.ZodMiniType<GetStatusResponse, unknown>;
|
|
2521
|
-
export declare function getStatusResponseFromJSON(jsonString: string): SafeParseResult<GetStatusResponse, SDKValidationError>;
|
|
2522
|
-
/** @internal */
|
|
2523
|
-
export declare const SyncAction$outboundSchema: z.ZodMiniEnum<typeof SyncAction>;
|
|
2524
|
-
/** @internal */
|
|
2525
|
-
export type SyncProfile$Outbound = {
|
|
2526
|
-
profile: string;
|
|
2527
|
-
actions: Array<string>;
|
|
2528
|
-
};
|
|
2529
|
-
/** @internal */
|
|
2530
|
-
export declare const SyncProfile$outboundSchema: z.ZodMiniType<SyncProfile$Outbound, SyncProfile>;
|
|
2531
|
-
export declare function syncProfileToJSON(syncProfile: SyncProfile): string;
|
|
2532
|
-
/** @internal */
|
|
2533
|
-
export type SyncRequestBody$Outbound = {
|
|
2534
|
-
profiles: Array<SyncProfile$Outbound>;
|
|
2535
|
-
};
|
|
2536
|
-
/** @internal */
|
|
2537
|
-
export declare const SyncRequestBody$outboundSchema: z.ZodMiniType<SyncRequestBody$Outbound, SyncRequestBody>;
|
|
2538
|
-
export declare function syncRequestBodyToJSON(syncRequestBody: SyncRequestBody): string;
|
|
2539
|
-
/** @internal */
|
|
2540
|
-
export type SyncRequest$Outbound = {
|
|
2541
|
-
campaignSlug: string;
|
|
2542
|
-
body: SyncRequestBody$Outbound;
|
|
2543
|
-
};
|
|
2544
|
-
/** @internal */
|
|
2545
|
-
export declare const SyncRequest$outboundSchema: z.ZodMiniType<SyncRequest$Outbound, SyncRequest>;
|
|
2546
|
-
export declare function syncRequestToJSON(syncRequest: SyncRequest): string;
|
|
2547
|
-
/** @internal */
|
|
2548
|
-
export declare const Synced$inboundSchema: z.ZodMiniType<Synced, unknown>;
|
|
2549
|
-
export declare function syncedFromJSON(jsonString: string): SafeParseResult<Synced, SDKValidationError>;
|
|
2550
|
-
/** @internal */
|
|
2551
|
-
export declare const SyncResponse$inboundSchema: z.ZodMiniType<SyncResponse, unknown>;
|
|
2552
|
-
export declare function syncResponseFromJSON(jsonString: string): SafeParseResult<SyncResponse, SDKValidationError>;
|
|
2553
|
-
/** @internal */
|
|
2554
|
-
export type GetCampaignStatsRequest$Outbound = {
|
|
2555
|
-
campaignSlug: string;
|
|
2556
|
-
};
|
|
2557
|
-
/** @internal */
|
|
2558
|
-
export declare const GetCampaignStatsRequest$outboundSchema: z.ZodMiniType<GetCampaignStatsRequest$Outbound, GetCampaignStatsRequest>;
|
|
2559
|
-
export declare function getCampaignStatsRequestToJSON(getCampaignStatsRequest: GetCampaignStatsRequest): string;
|
|
2560
|
-
/** @internal */
|
|
2561
|
-
export declare const GetCampaignStatsResponse$inboundSchema: z.ZodMiniType<GetCampaignStatsResponse, unknown>;
|
|
2562
|
-
export declare function getCampaignStatsResponseFromJSON(jsonString: string): SafeParseResult<GetCampaignStatsResponse, SDKValidationError>;
|
|
2563
|
-
/** @internal */
|
|
2564
|
-
export declare const UpsertSource$outboundSchema: z.ZodMiniEnum<typeof UpsertSource>;
|
|
2565
|
-
/** @internal */
|
|
2566
|
-
export declare const UpsertLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof UpsertLifecycleStage>;
|
|
2567
|
-
/** @internal */
|
|
2568
|
-
export type UpsertContactRequest$Outbound = {
|
|
2569
|
-
linkedinUrl: string;
|
|
2570
|
-
profileUrn?: string | null | undefined;
|
|
2571
|
-
publicIdentifier?: string | null | undefined;
|
|
2572
|
-
name: string;
|
|
2573
|
-
source: string;
|
|
2574
|
-
sourceAngle?: string | undefined;
|
|
2575
|
-
lifecycleStage?: string | undefined;
|
|
2576
|
-
hotScore?: number | undefined;
|
|
2577
|
-
qualificationNotes?: string | undefined;
|
|
2578
|
-
notes?: string | undefined;
|
|
2579
|
-
};
|
|
2580
|
-
/** @internal */
|
|
2581
|
-
export declare const UpsertContactRequest$outboundSchema: z.ZodMiniType<UpsertContactRequest$Outbound, UpsertContactRequest>;
|
|
2582
|
-
export declare function upsertContactRequestToJSON(upsertContactRequest: UpsertContactRequest): string;
|
|
2583
|
-
/** @internal */
|
|
2584
|
-
export type UpsertRequest$Outbound = {
|
|
2585
|
-
contacts: Array<UpsertContactRequest$Outbound>;
|
|
2586
|
-
};
|
|
2587
|
-
/** @internal */
|
|
2588
|
-
export declare const UpsertRequest$outboundSchema: z.ZodMiniType<UpsertRequest$Outbound, UpsertRequest>;
|
|
2589
|
-
export declare function upsertRequestToJSON(upsertRequest: UpsertRequest): string;
|
|
2590
|
-
/** @internal */
|
|
2591
|
-
export declare const UpsertResults$inboundSchema: z.ZodMiniType<UpsertResults, unknown>;
|
|
2592
|
-
export declare function upsertResultsFromJSON(jsonString: string): SafeParseResult<UpsertResults, SDKValidationError>;
|
|
2593
|
-
/** @internal */
|
|
2594
|
-
export declare const UpsertContactResponse$inboundSchema: z.ZodMiniType<UpsertContactResponse, unknown>;
|
|
2595
|
-
export declare function upsertContactResponseFromJSON(jsonString: string): SafeParseResult<UpsertContactResponse, SDKValidationError>;
|
|
2596
|
-
/** @internal */
|
|
2597
|
-
export declare const UpsertResponse$inboundSchema: z.ZodMiniType<UpsertResponse, unknown>;
|
|
2598
|
-
export declare function upsertResponseFromJSON(jsonString: string): SafeParseResult<UpsertResponse, SDKValidationError>;
|
|
2599
|
-
/** @internal */
|
|
2600
|
-
export declare const SearchContactsLifecycleStage$outboundSchema: z.ZodMiniEnum<typeof SearchContactsLifecycleStage>;
|
|
2601
|
-
/** @internal */
|
|
2602
|
-
export declare const SearchContactsOutreachStatus$outboundSchema: z.ZodMiniEnum<typeof SearchContactsOutreachStatus>;
|
|
2603
|
-
/** @internal */
|
|
2604
|
-
export declare const DoNotContact$outboundSchema: z.ZodMiniEnum<typeof DoNotContact>;
|
|
2605
|
-
/** @internal */
|
|
2606
|
-
export declare const HasProfileData$outboundSchema: z.ZodMiniEnum<typeof HasProfileData>;
|
|
2607
|
-
/** @internal */
|
|
2608
|
-
export type SearchContactsRequest$Outbound = {
|
|
2609
|
-
linkedinUrl?: string | undefined;
|
|
2610
|
-
name?: string | undefined;
|
|
2611
|
-
lifecycleStage?: string | undefined;
|
|
2612
|
-
sortBy?: string | undefined;
|
|
2613
|
-
minHotScore?: number | undefined;
|
|
2614
|
-
outreachStatus?: string | undefined;
|
|
2615
|
-
tag?: string | undefined;
|
|
2616
|
-
followUpBefore?: string | undefined;
|
|
2617
|
-
doNotContact?: string | undefined;
|
|
2618
|
-
hasProfileData?: string | undefined;
|
|
2619
|
-
campaignId?: string | undefined;
|
|
2620
|
-
limit: number;
|
|
2621
|
-
offset: number;
|
|
2622
|
-
};
|
|
2623
|
-
/** @internal */
|
|
2624
|
-
export declare const SearchContactsRequest$outboundSchema: z.ZodMiniType<SearchContactsRequest$Outbound, SearchContactsRequest>;
|
|
2625
|
-
export declare function searchContactsRequestToJSON(searchContactsRequest: SearchContactsRequest): string;
|
|
2626
|
-
/** @internal */
|
|
2627
|
-
export declare const SearchContactsCampaign$inboundSchema: z.ZodMiniType<SearchContactsCampaign, unknown>;
|
|
2628
|
-
export declare function searchContactsCampaignFromJSON(jsonString: string): SafeParseResult<SearchContactsCampaign, SDKValidationError>;
|
|
2629
|
-
//# sourceMappingURL=search-contacts-campaign.d.ts.map
|
|
2644
|
+
//# sourceMappingURL=archive-response.d.ts.map
|