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