@corsair-dev/linkedin 0.1.3 → 0.1.4
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 +73 -38
- package/dist/client.d.ts +5 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/endpoints/ads.d.ts +3 -0
- package/dist/endpoints/ads.d.ts.map +1 -1
- package/dist/endpoints/comments.d.ts +1 -0
- package/dist/endpoints/comments.d.ts.map +1 -1
- package/dist/endpoints/images.d.ts +20 -0
- package/dist/endpoints/images.d.ts.map +1 -1
- package/dist/endpoints/index.d.ts +557 -50
- package/dist/endpoints/index.d.ts.map +1 -1
- package/dist/endpoints/organizations.d.ts +1 -0
- package/dist/endpoints/organizations.d.ts.map +1 -1
- package/dist/endpoints/posts.d.ts +1 -0
- package/dist/endpoints/posts.d.ts.map +1 -1
- package/dist/endpoints/profile.d.ts.map +1 -1
- package/dist/endpoints/reactions.d.ts.map +1 -1
- package/dist/endpoints/types.d.ts +604 -62
- package/dist/endpoints/types.d.ts.map +1 -1
- package/dist/endpoints/videos.d.ts.map +1 -1
- package/dist/error-handlers.d.ts.map +1 -1
- package/dist/index.d.ts +647 -62
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/restli.d.ts +31 -0
- package/dist/restli.d.ts.map +1 -0
- package/dist/wire.test.d.ts +2 -0
- package/dist/wire.test.d.ts.map +1 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -16,10 +16,12 @@ export type LinkedInEndpoints = {
|
|
|
16
16
|
CreatePost: LinkedInEndpoint<'CreatePost'>;
|
|
17
17
|
CreateArticleShare: LinkedInEndpoint<'CreateArticleShare'>;
|
|
18
18
|
GetPostContent: LinkedInEndpoint<'GetPostContent'>;
|
|
19
|
+
ListPosts: LinkedInEndpoint<'ListPosts'>;
|
|
19
20
|
DeletePost: LinkedInEndpoint<'DeletePost'>;
|
|
20
21
|
DeleteSharePost: LinkedInEndpoint<'DeleteSharePost'>;
|
|
21
22
|
DeleteUgcPost: LinkedInEndpoint<'DeleteUgcPost'>;
|
|
22
23
|
CreateComment: LinkedInEndpoint<'CreateComment'>;
|
|
24
|
+
ListComments: LinkedInEndpoint<'ListComments'>;
|
|
23
25
|
ListReactions: LinkedInEndpoint<'ListReactions'>;
|
|
24
26
|
GetImage: LinkedInEndpoint<'GetImage'>;
|
|
25
27
|
GetImages: LinkedInEndpoint<'GetImages'>;
|
|
@@ -28,11 +30,15 @@ export type LinkedInEndpoints = {
|
|
|
28
30
|
GetVideos: LinkedInEndpoint<'GetVideos'>;
|
|
29
31
|
GetCompanyInfo: LinkedInEndpoint<'GetCompanyInfo'>;
|
|
30
32
|
GetNetworkSize: LinkedInEndpoint<'GetNetworkSize'>;
|
|
33
|
+
GetFollowerStats: LinkedInEndpoint<'GetFollowerStats'>;
|
|
31
34
|
GetOrgPageStats: LinkedInEndpoint<'GetOrgPageStats'>;
|
|
32
35
|
GetShareStats: LinkedInEndpoint<'GetShareStats'>;
|
|
33
36
|
GetAdTargetingFacets: LinkedInEndpoint<'GetAdTargetingFacets'>;
|
|
34
37
|
GetAudienceCounts: LinkedInEndpoint<'GetAudienceCounts'>;
|
|
35
38
|
SearchAdTargetingEntities: LinkedInEndpoint<'SearchAdTargetingEntities'>;
|
|
39
|
+
ListAdAccounts: LinkedInEndpoint<'ListAdAccounts'>;
|
|
40
|
+
ListAdCampaigns: LinkedInEndpoint<'ListAdCampaigns'>;
|
|
41
|
+
GetAdAnalytics: LinkedInEndpoint<'GetAdAnalytics'>;
|
|
36
42
|
};
|
|
37
43
|
export declare const LinkedInEndpointsNested: {
|
|
38
44
|
readonly profile: {
|
|
@@ -43,12 +49,14 @@ export declare const LinkedInEndpointsNested: {
|
|
|
43
49
|
readonly create: LinkedInEndpoint<"CreatePost">;
|
|
44
50
|
readonly createArticleShare: LinkedInEndpoint<"CreateArticleShare">;
|
|
45
51
|
readonly getContent: LinkedInEndpoint<"GetPostContent">;
|
|
52
|
+
readonly list: LinkedInEndpoint<"ListPosts">;
|
|
46
53
|
readonly delete: LinkedInEndpoint<"DeletePost">;
|
|
47
54
|
readonly deleteShare: LinkedInEndpoint<"DeleteSharePost">;
|
|
48
55
|
readonly deleteUgc: LinkedInEndpoint<"DeleteUgcPost">;
|
|
49
56
|
};
|
|
50
57
|
readonly comments: {
|
|
51
58
|
readonly create: LinkedInEndpoint<"CreateComment">;
|
|
59
|
+
readonly list: LinkedInEndpoint<"ListComments">;
|
|
52
60
|
};
|
|
53
61
|
readonly reactions: {
|
|
54
62
|
readonly list: LinkedInEndpoint<"ListReactions">;
|
|
@@ -65,6 +73,7 @@ export declare const LinkedInEndpointsNested: {
|
|
|
65
73
|
readonly organizations: {
|
|
66
74
|
readonly getCompanyInfo: LinkedInEndpoint<"GetCompanyInfo">;
|
|
67
75
|
readonly getNetworkSize: LinkedInEndpoint<"GetNetworkSize">;
|
|
76
|
+
readonly getFollowerStats: LinkedInEndpoint<"GetFollowerStats">;
|
|
68
77
|
readonly getPageStats: LinkedInEndpoint<"GetOrgPageStats">;
|
|
69
78
|
readonly getShareStats: LinkedInEndpoint<"GetShareStats">;
|
|
70
79
|
};
|
|
@@ -72,6 +81,9 @@ export declare const LinkedInEndpointsNested: {
|
|
|
72
81
|
readonly getTargetingFacets: LinkedInEndpoint<"GetAdTargetingFacets">;
|
|
73
82
|
readonly getAudienceCounts: LinkedInEndpoint<"GetAudienceCounts">;
|
|
74
83
|
readonly searchTargetingEntities: LinkedInEndpoint<"SearchAdTargetingEntities">;
|
|
84
|
+
readonly listAccounts: LinkedInEndpoint<"ListAdAccounts">;
|
|
85
|
+
readonly listCampaigns: LinkedInEndpoint<"ListAdCampaigns">;
|
|
86
|
+
readonly getAnalytics: LinkedInEndpoint<"GetAdAnalytics">;
|
|
75
87
|
};
|
|
76
88
|
};
|
|
77
89
|
export type LinkedInBoundEndpoints = BindEndpoints<typeof LinkedInEndpointsNested>;
|
|
@@ -88,6 +100,7 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
88
100
|
family_name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
89
101
|
picture: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
90
102
|
email: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
103
|
+
email_verified: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodBoolean>>;
|
|
91
104
|
locale: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
92
105
|
vanityName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
93
106
|
headline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -104,12 +117,29 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
104
117
|
localizedLastName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
105
118
|
localizedHeadline: import("zod").ZodOptional<import("zod").ZodString>;
|
|
106
119
|
vanityName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
107
|
-
firstName: import("zod").ZodOptional<import("zod").
|
|
108
|
-
|
|
109
|
-
|
|
120
|
+
firstName: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
121
|
+
localized: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
122
|
+
preferredLocale: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
123
|
+
country: import("zod").ZodOptional<import("zod").ZodString>;
|
|
124
|
+
language: import("zod").ZodOptional<import("zod").ZodString>;
|
|
125
|
+
}, import("zod/v4/core").$loose>>;
|
|
126
|
+
}, import("zod/v4/core").$loose>>;
|
|
127
|
+
lastName: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
128
|
+
localized: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
129
|
+
preferredLocale: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
130
|
+
country: import("zod").ZodOptional<import("zod").ZodString>;
|
|
131
|
+
language: import("zod").ZodOptional<import("zod").ZodString>;
|
|
132
|
+
}, import("zod/v4/core").$loose>>;
|
|
133
|
+
}, import("zod/v4/core").$loose>>;
|
|
134
|
+
headline: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
135
|
+
localized: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
|
|
136
|
+
preferredLocale: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
137
|
+
country: import("zod").ZodOptional<import("zod").ZodString>;
|
|
138
|
+
language: import("zod").ZodOptional<import("zod").ZodString>;
|
|
139
|
+
}, import("zod/v4/core").$loose>>;
|
|
140
|
+
}, import("zod/v4/core").$loose>>;
|
|
110
141
|
profilePicture: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
111
|
-
|
|
112
|
-
'displayImage~:playableStreams': import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
142
|
+
displayImage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
113
143
|
}, import("zod/v4/core").$loose>>;
|
|
114
144
|
}, import("zod/v4/core").$loose>;
|
|
115
145
|
};
|
|
@@ -120,17 +150,18 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
120
150
|
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
121
151
|
PUBLIC: "PUBLIC";
|
|
122
152
|
CONNECTIONS: "CONNECTIONS";
|
|
123
|
-
|
|
153
|
+
LOGGED_IN: "LOGGED_IN";
|
|
124
154
|
}>>;
|
|
125
155
|
lifecycleState: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
126
156
|
PUBLISHED: "PUBLISHED";
|
|
127
|
-
DRAFT: "DRAFT";
|
|
128
157
|
}>>;
|
|
129
158
|
isReshareDisabledByAuthor: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
130
159
|
article_url: import("zod").ZodOptional<import("zod").ZodString>;
|
|
131
160
|
article_title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
132
161
|
article_description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
162
|
+
article_thumbnail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
133
163
|
image_urn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
164
|
+
image_alt_text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
134
165
|
}, import("zod/v4/core").$strip>;
|
|
135
166
|
output: import("zod").ZodObject<{
|
|
136
167
|
id: import("zod").ZodString;
|
|
@@ -141,7 +172,7 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
141
172
|
authorUrn: import("zod").ZodString;
|
|
142
173
|
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
143
174
|
article_url: import("zod").ZodString;
|
|
144
|
-
article_title: import("zod").
|
|
175
|
+
article_title: import("zod").ZodString;
|
|
145
176
|
article_description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
146
177
|
article_thumbnail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
147
178
|
visibility: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
@@ -150,17 +181,19 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
150
181
|
}>>;
|
|
151
182
|
lifecycleState: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
152
183
|
PUBLISHED: "PUBLISHED";
|
|
153
|
-
DRAFT: "DRAFT";
|
|
154
184
|
}>>;
|
|
155
185
|
}, import("zod/v4/core").$strip>;
|
|
156
186
|
output: import("zod").ZodObject<{
|
|
157
187
|
id: import("zod").ZodString;
|
|
158
|
-
activity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
159
188
|
}, import("zod/v4/core").$strip>;
|
|
160
189
|
};
|
|
161
190
|
'posts.getContent': {
|
|
162
191
|
input: import("zod").ZodObject<{
|
|
163
192
|
post_urn: import("zod").ZodString;
|
|
193
|
+
view_context: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
194
|
+
READER: "READER";
|
|
195
|
+
AUTHOR: "AUTHOR";
|
|
196
|
+
}>>;
|
|
164
197
|
}, import("zod/v4/core").$strip>;
|
|
165
198
|
output: import("zod").ZodObject<{
|
|
166
199
|
id: import("zod").ZodString;
|
|
@@ -168,10 +201,74 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
168
201
|
commentary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
169
202
|
visibility: import("zod").ZodOptional<import("zod").ZodString>;
|
|
170
203
|
lifecycleState: import("zod").ZodOptional<import("zod").ZodString>;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
204
|
+
lifecycleStateInfo: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
205
|
+
distribution: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
206
|
+
feedDistribution: import("zod").ZodOptional<import("zod").ZodString>;
|
|
207
|
+
targetEntities: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
208
|
+
thirdPartyDistributionChannels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown>>;
|
|
209
|
+
}, import("zod/v4/core").$loose>>;
|
|
174
210
|
content: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
211
|
+
container: import("zod").ZodOptional<import("zod").ZodString>;
|
|
212
|
+
contentLandingPage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
213
|
+
contentCallToActionLabel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
214
|
+
isReshareDisabledByAuthor: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
215
|
+
reshareContext: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
216
|
+
parent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
217
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
218
|
+
}, import("zod/v4/core").$loose>>;
|
|
219
|
+
adContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
220
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
221
|
+
publishedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
222
|
+
lastModifiedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
223
|
+
}, import("zod/v4/core").$loose>;
|
|
224
|
+
};
|
|
225
|
+
'posts.list': {
|
|
226
|
+
input: import("zod").ZodObject<{
|
|
227
|
+
author: import("zod").ZodString;
|
|
228
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
229
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
230
|
+
sort_by: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
231
|
+
LAST_MODIFIED: "LAST_MODIFIED";
|
|
232
|
+
CREATED: "CREATED";
|
|
233
|
+
}>>;
|
|
234
|
+
view_context: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
235
|
+
READER: "READER";
|
|
236
|
+
AUTHOR: "AUTHOR";
|
|
237
|
+
}>>;
|
|
238
|
+
}, import("zod/v4/core").$strip>;
|
|
239
|
+
output: import("zod").ZodObject<{
|
|
240
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
241
|
+
id: import("zod").ZodString;
|
|
242
|
+
author: import("zod").ZodOptional<import("zod").ZodString>;
|
|
243
|
+
commentary: import("zod").ZodOptional<import("zod").ZodString>;
|
|
244
|
+
visibility: import("zod").ZodOptional<import("zod").ZodString>;
|
|
245
|
+
lifecycleState: import("zod").ZodOptional<import("zod").ZodString>;
|
|
246
|
+
lifecycleStateInfo: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
247
|
+
distribution: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
248
|
+
feedDistribution: import("zod").ZodOptional<import("zod").ZodString>;
|
|
249
|
+
targetEntities: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
250
|
+
thirdPartyDistributionChannels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnknown>>;
|
|
251
|
+
}, import("zod/v4/core").$loose>>;
|
|
252
|
+
content: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
253
|
+
container: import("zod").ZodOptional<import("zod").ZodString>;
|
|
254
|
+
contentLandingPage: import("zod").ZodOptional<import("zod").ZodString>;
|
|
255
|
+
contentCallToActionLabel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
256
|
+
isReshareDisabledByAuthor: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
257
|
+
reshareContext: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
258
|
+
parent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
259
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
260
|
+
}, import("zod/v4/core").$loose>>;
|
|
261
|
+
adContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
262
|
+
createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
263
|
+
publishedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
264
|
+
lastModifiedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
265
|
+
}, import("zod/v4/core").$loose>>;
|
|
266
|
+
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
267
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
268
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
269
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
270
|
+
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
271
|
+
}, import("zod/v4/core").$loose>>;
|
|
175
272
|
}, import("zod/v4/core").$loose>;
|
|
176
273
|
};
|
|
177
274
|
'posts.delete': {
|
|
@@ -206,12 +303,30 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
206
303
|
}, import("zod/v4/core").$strip>;
|
|
207
304
|
output: import("zod").ZodObject<{
|
|
208
305
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
209
|
-
|
|
306
|
+
commentUrn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
307
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
308
|
+
agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
210
309
|
object: import("zod").ZodOptional<import("zod").ZodString>;
|
|
211
|
-
|
|
310
|
+
parentComment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
311
|
+
message: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
312
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
313
|
+
attributes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
314
|
+
}, import("zod/v4/core").$loose>>;
|
|
315
|
+
content: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
316
|
+
created: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
317
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
318
|
+
impersonator: import("zod").ZodOptional<import("zod").ZodString>;
|
|
319
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
320
|
+
}, import("zod/v4/core").$loose>>;
|
|
321
|
+
lastModified: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
322
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
323
|
+
impersonator: import("zod").ZodOptional<import("zod").ZodString>;
|
|
324
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
325
|
+
}, import("zod/v4/core").$loose>>;
|
|
326
|
+
likesSummary: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
212
327
|
}, import("zod/v4/core").$loose>;
|
|
213
328
|
};
|
|
214
|
-
'
|
|
329
|
+
'comments.list': {
|
|
215
330
|
input: import("zod").ZodObject<{
|
|
216
331
|
entity_urn: import("zod").ZodString;
|
|
217
332
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -219,16 +334,75 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
219
334
|
}, import("zod/v4/core").$strip>;
|
|
220
335
|
output: import("zod").ZodObject<{
|
|
221
336
|
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
337
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
338
|
+
commentUrn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
222
339
|
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
223
|
-
|
|
224
|
-
|
|
340
|
+
agent: import("zod").ZodOptional<import("zod").ZodString>;
|
|
341
|
+
object: import("zod").ZodOptional<import("zod").ZodString>;
|
|
342
|
+
parentComment: import("zod").ZodOptional<import("zod").ZodString>;
|
|
343
|
+
message: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
344
|
+
text: import("zod").ZodOptional<import("zod").ZodString>;
|
|
345
|
+
attributes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
346
|
+
}, import("zod/v4/core").$loose>>;
|
|
347
|
+
content: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
348
|
+
created: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
349
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
350
|
+
impersonator: import("zod").ZodOptional<import("zod").ZodString>;
|
|
351
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
352
|
+
}, import("zod/v4/core").$loose>>;
|
|
353
|
+
lastModified: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
354
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
355
|
+
impersonator: import("zod").ZodOptional<import("zod").ZodString>;
|
|
356
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
357
|
+
}, import("zod/v4/core").$loose>>;
|
|
358
|
+
likesSummary: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
225
359
|
}, import("zod/v4/core").$loose>>;
|
|
226
360
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
227
361
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
228
362
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
229
363
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
230
364
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
231
|
-
}, import("zod/v4/core").$
|
|
365
|
+
}, import("zod/v4/core").$loose>>;
|
|
366
|
+
}, import("zod/v4/core").$loose>;
|
|
367
|
+
};
|
|
368
|
+
'reactions.list': {
|
|
369
|
+
input: import("zod").ZodObject<{
|
|
370
|
+
entity_urn: import("zod").ZodString;
|
|
371
|
+
sort: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
372
|
+
REVERSE_CHRONOLOGICAL: "REVERSE_CHRONOLOGICAL";
|
|
373
|
+
CHRONOLOGICAL: "CHRONOLOGICAL";
|
|
374
|
+
RELEVANCE: "RELEVANCE";
|
|
375
|
+
}>>;
|
|
376
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
377
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
378
|
+
}, import("zod/v4/core").$strip>;
|
|
379
|
+
output: import("zod").ZodObject<{
|
|
380
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
381
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
382
|
+
reactionType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
383
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
384
|
+
created: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
385
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
386
|
+
impersonator: import("zod").ZodOptional<import("zod").ZodString>;
|
|
387
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
388
|
+
}, import("zod/v4/core").$loose>>;
|
|
389
|
+
lastModified: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
390
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
391
|
+
impersonator: import("zod").ZodOptional<import("zod").ZodString>;
|
|
392
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
393
|
+
}, import("zod/v4/core").$loose>>;
|
|
394
|
+
deleted: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
395
|
+
actor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
396
|
+
impersonator: import("zod").ZodOptional<import("zod").ZodString>;
|
|
397
|
+
time: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
398
|
+
}, import("zod/v4/core").$loose>>;
|
|
399
|
+
}, import("zod/v4/core").$loose>>;
|
|
400
|
+
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
401
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
402
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
403
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
404
|
+
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
405
|
+
}, import("zod/v4/core").$loose>>;
|
|
232
406
|
}, import("zod/v4/core").$loose>;
|
|
233
407
|
};
|
|
234
408
|
'images.get': {
|
|
@@ -240,17 +414,21 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
240
414
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
241
415
|
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
242
416
|
downloadUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
417
|
+
downloadUrlExpiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
418
|
+
altText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
419
|
+
aspectRatioHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
420
|
+
aspectRatioWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
421
|
+
mediaLibraryMetadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
422
|
+
associatedAccount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
423
|
+
assetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
424
|
+
mediaLibraryStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
247
425
|
}, import("zod/v4/core").$loose>>;
|
|
248
426
|
}, import("zod/v4/core").$loose>;
|
|
249
427
|
};
|
|
250
428
|
'images.list': {
|
|
251
429
|
input: import("zod").ZodObject<{
|
|
252
|
-
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
253
430
|
urns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
431
|
+
associated_account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
254
432
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
255
433
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
256
434
|
}, import("zod/v4/core").$strip>;
|
|
@@ -260,18 +438,39 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
260
438
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
261
439
|
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
262
440
|
downloadUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
441
|
+
downloadUrlExpiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
442
|
+
altText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
443
|
+
aspectRatioHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
444
|
+
aspectRatioWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
445
|
+
mediaLibraryMetadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
446
|
+
associatedAccount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
447
|
+
assetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
448
|
+
mediaLibraryStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
267
449
|
}, import("zod/v4/core").$loose>>;
|
|
268
450
|
}, import("zod/v4/core").$loose>>;
|
|
451
|
+
results: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
452
|
+
id: import("zod").ZodString;
|
|
453
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
454
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
455
|
+
downloadUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
456
|
+
downloadUrlExpiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
457
|
+
altText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
458
|
+
aspectRatioHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
459
|
+
aspectRatioWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
460
|
+
mediaLibraryMetadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
461
|
+
associatedAccount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
462
|
+
assetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
463
|
+
mediaLibraryStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
464
|
+
}, import("zod/v4/core").$loose>>;
|
|
465
|
+
}, import("zod/v4/core").$loose>>>;
|
|
466
|
+
statuses: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
|
|
467
|
+
errors: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
269
468
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
270
469
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
271
470
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
272
471
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
273
472
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
274
|
-
}, import("zod/v4/core").$
|
|
473
|
+
}, import("zod/v4/core").$loose>>;
|
|
275
474
|
}, import("zod/v4/core").$loose>;
|
|
276
475
|
};
|
|
277
476
|
'images.initializeUpload': {
|
|
@@ -292,17 +491,17 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
292
491
|
}, import("zod/v4/core").$strip>;
|
|
293
492
|
output: import("zod").ZodObject<{
|
|
294
493
|
value: import("zod").ZodObject<{
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
494
|
+
image: import("zod").ZodString;
|
|
495
|
+
uploadUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
496
|
+
uploadUrlExpiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
298
497
|
}, import("zod/v4/core").$loose>;
|
|
299
498
|
}, import("zod/v4/core").$loose>;
|
|
300
499
|
};
|
|
301
500
|
'videos.list': {
|
|
302
501
|
input: import("zod").ZodObject<{
|
|
303
502
|
video_urn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
304
|
-
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
305
503
|
urns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
504
|
+
associated_account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
306
505
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
307
506
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
308
507
|
}, import("zod/v4/core").$strip>;
|
|
@@ -311,35 +510,73 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
311
510
|
id: import("zod").ZodString;
|
|
312
511
|
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
313
512
|
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
513
|
+
processingFailureReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
314
514
|
downloadUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
515
|
+
downloadUrlExpiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
516
|
+
duration: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
517
|
+
aspectRatioWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
518
|
+
aspectRatioHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
519
|
+
thumbnail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
520
|
+
captions: import("zod").ZodOptional<import("zod").ZodString>;
|
|
521
|
+
mediaLibraryMetadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
522
|
+
associatedAccount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
523
|
+
assetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
524
|
+
mediaLibraryStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
319
525
|
}, import("zod/v4/core").$loose>>;
|
|
320
526
|
}, import("zod/v4/core").$loose>>;
|
|
527
|
+
results: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
528
|
+
id: import("zod").ZodString;
|
|
529
|
+
owner: import("zod").ZodOptional<import("zod").ZodString>;
|
|
530
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
531
|
+
processingFailureReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
532
|
+
downloadUrl: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
533
|
+
downloadUrlExpiresAt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
534
|
+
duration: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
535
|
+
aspectRatioWidth: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
536
|
+
aspectRatioHeight: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
537
|
+
thumbnail: import("zod").ZodOptional<import("zod").ZodString>;
|
|
538
|
+
captions: import("zod").ZodOptional<import("zod").ZodString>;
|
|
539
|
+
mediaLibraryMetadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
540
|
+
associatedAccount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
541
|
+
assetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
542
|
+
mediaLibraryStatus: import("zod").ZodOptional<import("zod").ZodString>;
|
|
543
|
+
}, import("zod/v4/core").$loose>>;
|
|
544
|
+
}, import("zod/v4/core").$loose>>>;
|
|
545
|
+
statuses: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>>;
|
|
546
|
+
errors: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
321
547
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
322
548
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
323
549
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
324
550
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
325
551
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
326
|
-
}, import("zod/v4/core").$
|
|
552
|
+
}, import("zod/v4/core").$loose>>;
|
|
327
553
|
}, import("zod/v4/core").$loose>;
|
|
328
554
|
};
|
|
329
555
|
'organizations.getCompanyInfo': {
|
|
330
556
|
input: import("zod").ZodObject<{
|
|
331
|
-
|
|
332
|
-
role: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
557
|
+
role: import("zod").ZodOptional<import("zod").ZodUnion<readonly [import("zod").ZodEnum<{
|
|
333
558
|
ADMINISTRATOR: "ADMINISTRATOR";
|
|
334
559
|
DIRECT_SPONSORED_CONTENT_POSTER: "DIRECT_SPONSORED_CONTENT_POSTER";
|
|
335
560
|
RECRUITING_POSTER: "RECRUITING_POSTER";
|
|
561
|
+
LEAD_CAPTURE_ADMINISTRATOR: "LEAD_CAPTURE_ADMINISTRATOR";
|
|
336
562
|
LEAD_GEN_FORMS_MANAGER: "LEAD_GEN_FORMS_MANAGER";
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
563
|
+
ANALYST: "ANALYST";
|
|
564
|
+
CURATOR: "CURATOR";
|
|
565
|
+
CONTENT_ADMINISTRATOR: "CONTENT_ADMINISTRATOR";
|
|
566
|
+
}>, import("zod").ZodArray<import("zod").ZodEnum<{
|
|
567
|
+
ADMINISTRATOR: "ADMINISTRATOR";
|
|
568
|
+
DIRECT_SPONSORED_CONTENT_POSTER: "DIRECT_SPONSORED_CONTENT_POSTER";
|
|
569
|
+
RECRUITING_POSTER: "RECRUITING_POSTER";
|
|
570
|
+
LEAD_CAPTURE_ADMINISTRATOR: "LEAD_CAPTURE_ADMINISTRATOR";
|
|
571
|
+
LEAD_GEN_FORMS_MANAGER: "LEAD_GEN_FORMS_MANAGER";
|
|
572
|
+
ANALYST: "ANALYST";
|
|
573
|
+
CURATOR: "CURATOR";
|
|
574
|
+
CONTENT_ADMINISTRATOR: "CONTENT_ADMINISTRATOR";
|
|
575
|
+
}>>]>>;
|
|
340
576
|
state: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
341
577
|
APPROVED: "APPROVED";
|
|
342
|
-
|
|
578
|
+
REQUESTED: "REQUESTED";
|
|
579
|
+
REJECTED: "REJECTED";
|
|
343
580
|
REVOKED: "REVOKED";
|
|
344
581
|
}>>;
|
|
345
582
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
@@ -348,7 +585,7 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
348
585
|
output: import("zod").ZodObject<{
|
|
349
586
|
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
350
587
|
organization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
351
|
-
|
|
588
|
+
roleAssignee: import("zod").ZodOptional<import("zod").ZodString>;
|
|
352
589
|
role: import("zod").ZodOptional<import("zod").ZodString>;
|
|
353
590
|
state: import("zod").ZodOptional<import("zod").ZodString>;
|
|
354
591
|
}, import("zod/v4/core").$loose>>;
|
|
@@ -357,7 +594,7 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
357
594
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
358
595
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
359
596
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
360
|
-
}, import("zod/v4/core").$
|
|
597
|
+
}, import("zod/v4/core").$loose>>;
|
|
361
598
|
}, import("zod/v4/core").$loose>;
|
|
362
599
|
};
|
|
363
600
|
'organizations.getNetworkSize': {
|
|
@@ -365,15 +602,83 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
365
602
|
organization_urn: import("zod").ZodString;
|
|
366
603
|
}, import("zod/v4/core").$strip>;
|
|
367
604
|
output: import("zod").ZodObject<{
|
|
605
|
+
firstDegreeSize: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
368
606
|
totalFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
369
|
-
|
|
370
|
-
|
|
607
|
+
}, import("zod/v4/core").$loose>;
|
|
608
|
+
};
|
|
609
|
+
'organizations.getFollowerStats': {
|
|
610
|
+
input: import("zod").ZodObject<{
|
|
611
|
+
organization_urn: import("zod").ZodString;
|
|
612
|
+
time_integrated: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
613
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
614
|
+
end: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
615
|
+
}, import("zod/v4/core").$strip>>;
|
|
616
|
+
time_granularity: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
617
|
+
DAY: "DAY";
|
|
618
|
+
WEEK: "WEEK";
|
|
619
|
+
MONTH: "MONTH";
|
|
620
|
+
}>>;
|
|
621
|
+
}, import("zod/v4/core").$strip>;
|
|
622
|
+
output: import("zod").ZodObject<{
|
|
623
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
624
|
+
organizationalEntity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
625
|
+
timeRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
626
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
627
|
+
end: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
628
|
+
}, import("zod/v4/core").$loose>>;
|
|
629
|
+
followerGains: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
630
|
+
organicFollowerGain: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
631
|
+
paidFollowerGain: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
632
|
+
}, import("zod/v4/core").$loose>>;
|
|
633
|
+
followerCountsByAssociationType: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
634
|
+
followerCounts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
635
|
+
organicFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
636
|
+
paidFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
637
|
+
}, import("zod/v4/core").$loose>>;
|
|
638
|
+
}, import("zod/v4/core").$loose>>>;
|
|
639
|
+
followerCountsBySeniority: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
640
|
+
followerCounts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
641
|
+
organicFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
642
|
+
paidFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
643
|
+
}, import("zod/v4/core").$loose>>;
|
|
644
|
+
}, import("zod/v4/core").$loose>>>;
|
|
645
|
+
followerCountsByIndustry: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
646
|
+
followerCounts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
647
|
+
organicFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
648
|
+
paidFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
649
|
+
}, import("zod/v4/core").$loose>>;
|
|
650
|
+
}, import("zod/v4/core").$loose>>>;
|
|
651
|
+
followerCountsByFunction: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
652
|
+
followerCounts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
653
|
+
organicFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
654
|
+
paidFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
655
|
+
}, import("zod/v4/core").$loose>>;
|
|
656
|
+
}, import("zod/v4/core").$loose>>>;
|
|
657
|
+
followerCountsByStaffCountRange: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
658
|
+
followerCounts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
659
|
+
organicFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
660
|
+
paidFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
661
|
+
}, import("zod/v4/core").$loose>>;
|
|
662
|
+
}, import("zod/v4/core").$loose>>>;
|
|
663
|
+
followerCountsByGeo: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
664
|
+
followerCounts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
665
|
+
organicFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
666
|
+
paidFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
667
|
+
}, import("zod/v4/core").$loose>>;
|
|
668
|
+
}, import("zod/v4/core").$loose>>>;
|
|
669
|
+
followerCountsByGeoCountry: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
670
|
+
followerCounts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
671
|
+
organicFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
672
|
+
paidFollowerCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
673
|
+
}, import("zod/v4/core").$loose>>;
|
|
674
|
+
}, import("zod/v4/core").$loose>>>;
|
|
675
|
+
}, import("zod/v4/core").$loose>>;
|
|
371
676
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
372
677
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
373
678
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
374
679
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
375
680
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
376
|
-
}, import("zod/v4/core").$
|
|
681
|
+
}, import("zod/v4/core").$loose>>;
|
|
377
682
|
}, import("zod/v4/core").$loose>;
|
|
378
683
|
};
|
|
379
684
|
'organizations.getPageStats': {
|
|
@@ -383,17 +688,28 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
383
688
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
384
689
|
end: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
385
690
|
}, import("zod/v4/core").$strip>>;
|
|
691
|
+
time_granularity: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
692
|
+
DAY: "DAY";
|
|
693
|
+
MONTH: "MONTH";
|
|
694
|
+
}>>;
|
|
386
695
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
387
696
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
388
697
|
}, import("zod/v4/core").$strip>;
|
|
389
698
|
output: import("zod").ZodObject<{
|
|
390
|
-
elements: import("zod").ZodArray<import("zod").
|
|
699
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
700
|
+
organization: import("zod").ZodOptional<import("zod").ZodString>;
|
|
701
|
+
timeRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
702
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
703
|
+
end: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
704
|
+
}, import("zod/v4/core").$loose>>;
|
|
705
|
+
totalPageStatistics: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
706
|
+
}, import("zod/v4/core").$loose>>;
|
|
391
707
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
392
708
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
393
709
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
394
710
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
395
711
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
396
|
-
}, import("zod/v4/core").$
|
|
712
|
+
}, import("zod/v4/core").$loose>>;
|
|
397
713
|
}, import("zod/v4/core").$loose>;
|
|
398
714
|
};
|
|
399
715
|
'organizations.getShareStats': {
|
|
@@ -403,59 +719,328 @@ export declare const LinkedInEndpointSchemas: {
|
|
|
403
719
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
404
720
|
end: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
405
721
|
}, import("zod/v4/core").$strip>>;
|
|
406
|
-
|
|
407
|
-
|
|
722
|
+
time_granularity: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
723
|
+
DAY: "DAY";
|
|
724
|
+
MONTH: "MONTH";
|
|
725
|
+
}>>;
|
|
726
|
+
shares: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
727
|
+
ugc_posts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
408
728
|
}, import("zod/v4/core").$strip>;
|
|
409
729
|
output: import("zod").ZodObject<{
|
|
410
|
-
elements: import("zod").ZodArray<import("zod").
|
|
730
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
731
|
+
organizationalEntity: import("zod").ZodOptional<import("zod").ZodString>;
|
|
732
|
+
share: import("zod").ZodOptional<import("zod").ZodString>;
|
|
733
|
+
ugcPost: import("zod").ZodOptional<import("zod").ZodString>;
|
|
734
|
+
timeRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
735
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
736
|
+
end: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
737
|
+
}, import("zod/v4/core").$loose>>;
|
|
738
|
+
totalShareStatistics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
739
|
+
impressionCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
740
|
+
uniqueImpressionsCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
741
|
+
clickCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
742
|
+
likeCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
743
|
+
commentCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
744
|
+
shareCount: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
745
|
+
engagement: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
746
|
+
}, import("zod/v4/core").$loose>>;
|
|
747
|
+
}, import("zod/v4/core").$loose>>;
|
|
411
748
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
412
749
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
413
750
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
414
751
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
415
752
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
416
|
-
}, import("zod/v4/core").$
|
|
753
|
+
}, import("zod/v4/core").$loose>>;
|
|
417
754
|
}, import("zod/v4/core").$loose>;
|
|
418
755
|
};
|
|
419
756
|
'ads.getTargetingFacets': {
|
|
420
757
|
input: import("zod").ZodObject<{}, import("zod/v4/core").$strip>;
|
|
421
758
|
output: import("zod").ZodObject<{
|
|
422
|
-
|
|
423
|
-
|
|
759
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
760
|
+
facetName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
761
|
+
adTargetingFacetUrn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
762
|
+
entityTypes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
763
|
+
availableEntityFinders: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
764
|
+
}, import("zod/v4/core").$loose>>;
|
|
765
|
+
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
766
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
767
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
768
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
769
|
+
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
770
|
+
}, import("zod/v4/core").$loose>>;
|
|
424
771
|
}, import("zod/v4/core").$loose>;
|
|
425
772
|
};
|
|
426
773
|
'ads.getAudienceCounts': {
|
|
427
774
|
input: import("zod").ZodObject<{
|
|
428
|
-
target: import("zod").
|
|
775
|
+
target: import("zod").ZodObject<{
|
|
776
|
+
include: import("zod").ZodObject<{
|
|
777
|
+
and: import("zod").ZodArray<import("zod").ZodObject<{
|
|
778
|
+
or: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>>;
|
|
779
|
+
}, import("zod/v4/core").$strip>>;
|
|
780
|
+
}, import("zod/v4/core").$strip>;
|
|
781
|
+
exclude: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
782
|
+
or: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>>;
|
|
783
|
+
}, import("zod/v4/core").$strip>>;
|
|
784
|
+
}, import("zod/v4/core").$strip>;
|
|
429
785
|
}, import("zod/v4/core").$strip>;
|
|
430
786
|
output: import("zod").ZodObject<{
|
|
431
|
-
elements: import("zod").
|
|
787
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
788
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
789
|
+
active: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
790
|
+
}, import("zod/v4/core").$loose>>;
|
|
432
791
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
433
792
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
434
793
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
435
794
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
436
795
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
437
|
-
}, import("zod/v4/core").$
|
|
796
|
+
}, import("zod/v4/core").$loose>>;
|
|
438
797
|
}, import("zod/v4/core").$loose>;
|
|
439
798
|
};
|
|
440
799
|
'ads.searchTargetingEntities': {
|
|
441
800
|
input: import("zod").ZodObject<{
|
|
442
801
|
query: import("zod").ZodString;
|
|
802
|
+
facet: import("zod").ZodOptional<import("zod").ZodString>;
|
|
443
803
|
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
804
|
+
entity_type: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
805
|
+
AGE: "AGE";
|
|
806
|
+
COMPANY: "COMPANY";
|
|
807
|
+
COMPANY_SIZE: "COMPANY_SIZE";
|
|
808
|
+
DEGREE: "DEGREE";
|
|
809
|
+
FIELD_OF_STUDY: "FIELD_OF_STUDY";
|
|
810
|
+
FUNCTION: "FUNCTION";
|
|
811
|
+
GENDER: "GENDER";
|
|
812
|
+
GROUP: "GROUP";
|
|
813
|
+
INDUSTRY: "INDUSTRY";
|
|
814
|
+
INTEREST: "INTEREST";
|
|
815
|
+
LOCALE: "LOCALE";
|
|
816
|
+
SCHOOL: "SCHOOL";
|
|
817
|
+
SENIORITY: "SENIORITY";
|
|
818
|
+
SKILL: "SKILL";
|
|
819
|
+
TITLE: "TITLE";
|
|
820
|
+
YEARS_OF_EXPERIENCE: "YEARS_OF_EXPERIENCE";
|
|
821
|
+
MEMBER_BEHAVIOR: "MEMBER_BEHAVIOR";
|
|
822
|
+
}>>;
|
|
823
|
+
locale: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
824
|
+
language: import("zod").ZodString;
|
|
825
|
+
country: import("zod").ZodString;
|
|
826
|
+
}, import("zod/v4/core").$strip>>;
|
|
827
|
+
}, import("zod/v4/core").$strip>;
|
|
828
|
+
output: import("zod").ZodObject<{
|
|
829
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
830
|
+
urn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
831
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
832
|
+
facetUrn: import("zod").ZodOptional<import("zod").ZodString>;
|
|
833
|
+
}, import("zod/v4/core").$loose>>;
|
|
834
|
+
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
835
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
836
|
+
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
837
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
838
|
+
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
839
|
+
}, import("zod/v4/core").$loose>>;
|
|
840
|
+
}, import("zod/v4/core").$loose>;
|
|
841
|
+
};
|
|
842
|
+
'ads.listAccounts': {
|
|
843
|
+
input: import("zod").ZodObject<{
|
|
844
|
+
status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
845
|
+
ACTIVE: "ACTIVE";
|
|
846
|
+
DRAFT: "DRAFT";
|
|
847
|
+
CANCELED: "CANCELED";
|
|
848
|
+
PENDING_DELETION: "PENDING_DELETION";
|
|
849
|
+
REMOVED: "REMOVED";
|
|
850
|
+
}>>>;
|
|
851
|
+
type: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
852
|
+
BUSINESS: "BUSINESS";
|
|
853
|
+
ENTERPRISE: "ENTERPRISE";
|
|
854
|
+
}>>>;
|
|
855
|
+
page_size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
856
|
+
page_token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
857
|
+
sort_order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
858
|
+
ASCENDING: "ASCENDING";
|
|
859
|
+
DESCENDING: "DESCENDING";
|
|
860
|
+
}>>;
|
|
861
|
+
}, import("zod/v4/core").$strip>;
|
|
862
|
+
output: import("zod").ZodObject<{
|
|
863
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
864
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
865
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
866
|
+
currency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
867
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
868
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
869
|
+
reference: import("zod").ZodOptional<import("zod").ZodString>;
|
|
870
|
+
test: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
871
|
+
servingStatuses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
872
|
+
changeAuditStamps: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
873
|
+
version: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
874
|
+
}, import("zod/v4/core").$loose>>;
|
|
875
|
+
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
876
|
+
nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
877
|
+
}, import("zod/v4/core").$loose>>;
|
|
878
|
+
}, import("zod/v4/core").$loose>;
|
|
879
|
+
};
|
|
880
|
+
'ads.listCampaigns': {
|
|
881
|
+
input: import("zod").ZodObject<{
|
|
882
|
+
ad_account: import("zod").ZodString;
|
|
883
|
+
status: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
884
|
+
ACTIVE: "ACTIVE";
|
|
885
|
+
DRAFT: "DRAFT";
|
|
886
|
+
CANCELED: "CANCELED";
|
|
887
|
+
PENDING_DELETION: "PENDING_DELETION";
|
|
888
|
+
REMOVED: "REMOVED";
|
|
889
|
+
PAUSED: "PAUSED";
|
|
890
|
+
ARCHIVED: "ARCHIVED";
|
|
891
|
+
COMPLETED: "COMPLETED";
|
|
892
|
+
}>>>;
|
|
893
|
+
type: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<{
|
|
894
|
+
TEXT_AD: "TEXT_AD";
|
|
895
|
+
SPONSORED_UPDATES: "SPONSORED_UPDATES";
|
|
896
|
+
SPONSORED_INMAILS: "SPONSORED_INMAILS";
|
|
897
|
+
DYNAMIC: "DYNAMIC";
|
|
898
|
+
}>>>;
|
|
899
|
+
campaign_group: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
900
|
+
page_size: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
901
|
+
page_token: import("zod").ZodOptional<import("zod").ZodString>;
|
|
902
|
+
sort_order: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
903
|
+
ASCENDING: "ASCENDING";
|
|
904
|
+
DESCENDING: "DESCENDING";
|
|
905
|
+
}>>;
|
|
906
|
+
}, import("zod/v4/core").$strip>;
|
|
907
|
+
output: import("zod").ZodObject<{
|
|
908
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
909
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
910
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
911
|
+
account: import("zod").ZodOptional<import("zod").ZodString>;
|
|
912
|
+
campaignGroup: import("zod").ZodOptional<import("zod").ZodString>;
|
|
913
|
+
status: import("zod").ZodOptional<import("zod").ZodString>;
|
|
914
|
+
type: import("zod").ZodOptional<import("zod").ZodString>;
|
|
915
|
+
costType: import("zod").ZodOptional<import("zod").ZodString>;
|
|
916
|
+
dailyBudget: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
917
|
+
amount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
918
|
+
currencyCode: import("zod").ZodOptional<import("zod").ZodString>;
|
|
919
|
+
}, import("zod/v4/core").$loose>>;
|
|
920
|
+
totalBudget: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
921
|
+
amount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
922
|
+
currencyCode: import("zod").ZodOptional<import("zod").ZodString>;
|
|
923
|
+
}, import("zod/v4/core").$loose>>;
|
|
924
|
+
unitCost: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
925
|
+
amount: import("zod").ZodOptional<import("zod").ZodString>;
|
|
926
|
+
currencyCode: import("zod").ZodOptional<import("zod").ZodString>;
|
|
927
|
+
}, import("zod/v4/core").$loose>>;
|
|
928
|
+
runSchedule: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
929
|
+
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
930
|
+
end: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
931
|
+
}, import("zod/v4/core").$loose>>;
|
|
932
|
+
targetingCriteria: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
933
|
+
locale: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
934
|
+
servingStatuses: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
935
|
+
test: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
936
|
+
changeAuditStamps: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
937
|
+
}, import("zod/v4/core").$loose>>;
|
|
938
|
+
metadata: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
939
|
+
nextPageToken: import("zod").ZodOptional<import("zod").ZodString>;
|
|
940
|
+
}, import("zod/v4/core").$loose>>;
|
|
941
|
+
}, import("zod/v4/core").$loose>;
|
|
942
|
+
};
|
|
943
|
+
'ads.getAnalytics': {
|
|
944
|
+
input: import("zod").ZodObject<{
|
|
945
|
+
pivot: import("zod").ZodEnum<{
|
|
946
|
+
COMPANY: "COMPANY";
|
|
947
|
+
ACCOUNT: "ACCOUNT";
|
|
948
|
+
SHARE: "SHARE";
|
|
949
|
+
CAMPAIGN: "CAMPAIGN";
|
|
950
|
+
CREATIVE: "CREATIVE";
|
|
951
|
+
CAMPAIGN_GROUP: "CAMPAIGN_GROUP";
|
|
952
|
+
CONVERSION: "CONVERSION";
|
|
953
|
+
CONVERSATION_NODE: "CONVERSATION_NODE";
|
|
954
|
+
CONVERSATION_NODE_OPTION_INDEX: "CONVERSATION_NODE_OPTION_INDEX";
|
|
955
|
+
SERVING_LOCATION: "SERVING_LOCATION";
|
|
956
|
+
CARD_INDEX: "CARD_INDEX";
|
|
957
|
+
MEMBER_COMPANY_SIZE: "MEMBER_COMPANY_SIZE";
|
|
958
|
+
MEMBER_INDUSTRY: "MEMBER_INDUSTRY";
|
|
959
|
+
MEMBER_SENIORITY: "MEMBER_SENIORITY";
|
|
960
|
+
MEMBER_JOB_TITLE: "MEMBER_JOB_TITLE";
|
|
961
|
+
MEMBER_JOB_FUNCTION: "MEMBER_JOB_FUNCTION";
|
|
962
|
+
MEMBER_COUNTRY_V2: "MEMBER_COUNTRY_V2";
|
|
963
|
+
MEMBER_REGION_V2: "MEMBER_REGION_V2";
|
|
964
|
+
MEMBER_COUNTY: "MEMBER_COUNTY";
|
|
965
|
+
MEMBER_COMPANY: "MEMBER_COMPANY";
|
|
966
|
+
MEMBER_DESIGNATED_MARKET_AREA: "MEMBER_DESIGNATED_MARKET_AREA";
|
|
967
|
+
PLACEMENT_NAME: "PLACEMENT_NAME";
|
|
968
|
+
IMPRESSION_DEVICE_TYPE: "IMPRESSION_DEVICE_TYPE";
|
|
969
|
+
EVENT_STAGE: "EVENT_STAGE";
|
|
970
|
+
}>;
|
|
971
|
+
time_granularity: import("zod").ZodEnum<{
|
|
972
|
+
ALL: "ALL";
|
|
973
|
+
DAILY: "DAILY";
|
|
974
|
+
MONTHLY: "MONTHLY";
|
|
975
|
+
YEARLY: "YEARLY";
|
|
976
|
+
}>;
|
|
977
|
+
date_range: import("zod").ZodObject<{
|
|
978
|
+
start: import("zod").ZodObject<{
|
|
979
|
+
year: import("zod").ZodNumber;
|
|
980
|
+
month: import("zod").ZodNumber;
|
|
981
|
+
day: import("zod").ZodNumber;
|
|
982
|
+
}, import("zod/v4/core").$strip>;
|
|
983
|
+
end: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
984
|
+
year: import("zod").ZodNumber;
|
|
985
|
+
month: import("zod").ZodNumber;
|
|
986
|
+
day: import("zod").ZodNumber;
|
|
987
|
+
}, import("zod/v4/core").$strip>>;
|
|
988
|
+
}, import("zod/v4/core").$strip>;
|
|
989
|
+
accounts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
990
|
+
campaigns: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
991
|
+
campaign_groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
992
|
+
fields: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
444
993
|
}, import("zod/v4/core").$strip>;
|
|
445
994
|
output: import("zod").ZodObject<{
|
|
446
|
-
elements: import("zod").
|
|
995
|
+
elements: import("zod").ZodArray<import("zod").ZodObject<{
|
|
996
|
+
pivotValues: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
997
|
+
dateRange: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
998
|
+
start: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
999
|
+
year: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1000
|
+
month: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1001
|
+
day: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1002
|
+
}, import("zod/v4/core").$loose>>;
|
|
1003
|
+
end: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1004
|
+
year: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1005
|
+
month: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1006
|
+
day: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1007
|
+
}, import("zod/v4/core").$loose>>;
|
|
1008
|
+
}, import("zod/v4/core").$loose>>;
|
|
1009
|
+
impressions: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1010
|
+
clicks: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1011
|
+
costInLocalCurrency: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1012
|
+
}, import("zod/v4/core").$loose>>;
|
|
447
1013
|
paging: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
448
1014
|
start: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
449
1015
|
count: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
450
1016
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
451
1017
|
links: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
452
|
-
}, import("zod/v4/core").$
|
|
1018
|
+
}, import("zod/v4/core").$loose>>;
|
|
453
1019
|
}, import("zod/v4/core").$loose>;
|
|
454
1020
|
};
|
|
455
1021
|
};
|
|
1022
|
+
/**
|
|
1023
|
+
* Scopes every LinkedIn app can grant with the two self-serve products, Sign In
|
|
1024
|
+
* with LinkedIn using OpenID Connect and Share on LinkedIn. The default.
|
|
1025
|
+
*/
|
|
1026
|
+
export declare const LINKEDIN_SELF_SERVE_SCOPES: readonly ["openid", "profile", "email", "w_member_social"];
|
|
1027
|
+
/**
|
|
1028
|
+
* The self-serve scopes plus what the Advertising API product grants
|
|
1029
|
+
* (organization pages and ads). r_member_social is closed to new apps and
|
|
1030
|
+
* r_organization_relationships is no longer offered, so neither is here.
|
|
1031
|
+
*/
|
|
1032
|
+
export declare const LINKEDIN_ADVERTISING_SCOPES: readonly ["openid", "profile", "email", "w_member_social", "r_basicprofile", "r_organization_social", "w_organization_social", "r_organization_admin", "rw_organization_admin", "r_ads", "rw_ads", "r_ads_reporting"];
|
|
456
1033
|
export type LinkedInPluginOptions = {
|
|
457
1034
|
authType?: PickAuth<'oauth_2' | 'managed'>;
|
|
458
1035
|
key?: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* OAuth scopes to ask for. Defaults to `LINKEDIN_SELF_SERVE_SCOPES`, which
|
|
1038
|
+
* every LinkedIn app can grant. If your app has the Advertising API
|
|
1039
|
+
* product, pass `LINKEDIN_ADVERTISING_SCOPES` to reach organization and
|
|
1040
|
+
* ads operations. LinkedIn refuses the whole sign-in when the app lacks
|
|
1041
|
+
* the product for any scope asked for.
|
|
1042
|
+
*/
|
|
1043
|
+
scopes?: readonly string[];
|
|
459
1044
|
hooks?: InternalLinkedInPlugin['hooks'];
|
|
460
1045
|
permissions?: PluginPermissionsConfig<typeof LinkedInEndpointsNested>;
|
|
461
1046
|
errorHandlers?: CorsairErrorHandler;
|