@curviate/sdk 0.2.1 → 0.4.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/CHANGELOG.md +25 -0
- package/dist/index.d.ts +102 -88
- package/package.json +1 -1
- package/src/generated/types.ts +102 -88
package/dist/index.d.ts
CHANGED
|
@@ -211,7 +211,7 @@ interface paths {
|
|
|
211
211
|
"application/json": components["schemas"]["Error"];
|
|
212
212
|
};
|
|
213
213
|
};
|
|
214
|
-
/** @description Service unavailable
|
|
214
|
+
/** @description Service unavailable. */
|
|
215
215
|
503: {
|
|
216
216
|
headers: {
|
|
217
217
|
[name: string]: unknown;
|
|
@@ -220,7 +220,7 @@ interface paths {
|
|
|
220
220
|
"application/json": components["schemas"]["Error"];
|
|
221
221
|
};
|
|
222
222
|
};
|
|
223
|
-
/** @description Gateway timeout
|
|
223
|
+
/** @description Gateway timeout. */
|
|
224
224
|
504: {
|
|
225
225
|
headers: {
|
|
226
226
|
[name: string]: unknown;
|
|
@@ -430,7 +430,7 @@ interface paths {
|
|
|
430
430
|
"application/json": components["schemas"]["Error"];
|
|
431
431
|
};
|
|
432
432
|
};
|
|
433
|
-
/** @description
|
|
433
|
+
/** @description A temporary error occurred. Please try again. */
|
|
434
434
|
502: {
|
|
435
435
|
headers: {
|
|
436
436
|
[name: string]: unknown;
|
|
@@ -665,7 +665,7 @@ interface paths {
|
|
|
665
665
|
"application/json": components["schemas"]["Error"];
|
|
666
666
|
};
|
|
667
667
|
};
|
|
668
|
-
/** @description
|
|
668
|
+
/** @description A temporary error occurred. Please try again. */
|
|
669
669
|
502: {
|
|
670
670
|
headers: {
|
|
671
671
|
[name: string]: unknown;
|
|
@@ -794,7 +794,7 @@ interface paths {
|
|
|
794
794
|
"application/json": components["schemas"]["Error"];
|
|
795
795
|
};
|
|
796
796
|
};
|
|
797
|
-
/** @description
|
|
797
|
+
/** @description A temporary error occurred. Please try again. */
|
|
798
798
|
502: {
|
|
799
799
|
headers: {
|
|
800
800
|
[name: string]: unknown;
|
|
@@ -935,7 +935,7 @@ interface paths {
|
|
|
935
935
|
"application/json": components["schemas"]["Error"];
|
|
936
936
|
};
|
|
937
937
|
};
|
|
938
|
-
/** @description
|
|
938
|
+
/** @description A temporary error occurred. Please try again. */
|
|
939
939
|
502: {
|
|
940
940
|
headers: {
|
|
941
941
|
[name: string]: unknown;
|
|
@@ -1157,7 +1157,7 @@ interface paths {
|
|
|
1157
1157
|
"application/json": components["schemas"]["Error"];
|
|
1158
1158
|
};
|
|
1159
1159
|
};
|
|
1160
|
-
/** @description
|
|
1160
|
+
/** @description A temporary error occurred. Please try again. */
|
|
1161
1161
|
502: {
|
|
1162
1162
|
headers: {
|
|
1163
1163
|
[name: string]: unknown;
|
|
@@ -1272,7 +1272,7 @@ interface paths {
|
|
|
1272
1272
|
"application/json": components["schemas"]["Error"];
|
|
1273
1273
|
};
|
|
1274
1274
|
};
|
|
1275
|
-
/** @description
|
|
1275
|
+
/** @description A temporary error occurred. Please try again. */
|
|
1276
1276
|
502: {
|
|
1277
1277
|
headers: {
|
|
1278
1278
|
[name: string]: unknown;
|
|
@@ -1434,7 +1434,7 @@ interface paths {
|
|
|
1434
1434
|
"application/json": components["schemas"]["Error"];
|
|
1435
1435
|
};
|
|
1436
1436
|
};
|
|
1437
|
-
/** @description
|
|
1437
|
+
/** @description A temporary error occurred. Please try again. */
|
|
1438
1438
|
502: {
|
|
1439
1439
|
headers: {
|
|
1440
1440
|
[name: string]: unknown;
|
|
@@ -1566,7 +1566,7 @@ interface paths {
|
|
|
1566
1566
|
"application/json": components["schemas"]["Error"];
|
|
1567
1567
|
};
|
|
1568
1568
|
};
|
|
1569
|
-
/** @description
|
|
1569
|
+
/** @description A temporary error occurred. Please try again. */
|
|
1570
1570
|
502: {
|
|
1571
1571
|
headers: {
|
|
1572
1572
|
[name: string]: unknown;
|
|
@@ -1791,7 +1791,7 @@ interface paths {
|
|
|
1791
1791
|
"application/json": components["schemas"]["Error"];
|
|
1792
1792
|
};
|
|
1793
1793
|
};
|
|
1794
|
-
/** @description
|
|
1794
|
+
/** @description A temporary error occurred while processing the request. */
|
|
1795
1795
|
502: {
|
|
1796
1796
|
headers: {
|
|
1797
1797
|
[name: string]: unknown;
|
|
@@ -1969,7 +1969,7 @@ interface paths {
|
|
|
1969
1969
|
"application/json": components["schemas"]["Error"];
|
|
1970
1970
|
};
|
|
1971
1971
|
};
|
|
1972
|
-
/** @description
|
|
1972
|
+
/** @description A temporary error occurred while processing the request. */
|
|
1973
1973
|
502: {
|
|
1974
1974
|
headers: {
|
|
1975
1975
|
[name: string]: unknown;
|
|
@@ -2149,7 +2149,7 @@ interface paths {
|
|
|
2149
2149
|
"application/json": components["schemas"]["Error"];
|
|
2150
2150
|
};
|
|
2151
2151
|
};
|
|
2152
|
-
/** @description
|
|
2152
|
+
/** @description A temporary error occurred while processing the request. */
|
|
2153
2153
|
502: {
|
|
2154
2154
|
headers: {
|
|
2155
2155
|
[name: string]: unknown;
|
|
@@ -2311,7 +2311,7 @@ interface paths {
|
|
|
2311
2311
|
"application/json": components["schemas"]["Error"];
|
|
2312
2312
|
};
|
|
2313
2313
|
};
|
|
2314
|
-
/** @description
|
|
2314
|
+
/** @description A temporary error occurred while processing the request. */
|
|
2315
2315
|
502: {
|
|
2316
2316
|
headers: {
|
|
2317
2317
|
[name: string]: unknown;
|
|
@@ -2456,7 +2456,7 @@ interface paths {
|
|
|
2456
2456
|
"application/json": components["schemas"]["Error"];
|
|
2457
2457
|
};
|
|
2458
2458
|
};
|
|
2459
|
-
/** @description
|
|
2459
|
+
/** @description A temporary error occurred while processing the request. */
|
|
2460
2460
|
502: {
|
|
2461
2461
|
headers: {
|
|
2462
2462
|
[name: string]: unknown;
|
|
@@ -2646,7 +2646,7 @@ interface paths {
|
|
|
2646
2646
|
"application/json": components["schemas"]["Error"];
|
|
2647
2647
|
};
|
|
2648
2648
|
};
|
|
2649
|
-
/** @description
|
|
2649
|
+
/** @description A temporary error occurred. Please try again. */
|
|
2650
2650
|
502: {
|
|
2651
2651
|
headers: {
|
|
2652
2652
|
[name: string]: unknown;
|
|
@@ -2854,7 +2854,7 @@ interface paths {
|
|
|
2854
2854
|
"application/json": components["schemas"]["Error"];
|
|
2855
2855
|
};
|
|
2856
2856
|
};
|
|
2857
|
-
/** @description
|
|
2857
|
+
/** @description A temporary error occurred. Please try again. */
|
|
2858
2858
|
502: {
|
|
2859
2859
|
headers: {
|
|
2860
2860
|
[name: string]: unknown;
|
|
@@ -3063,7 +3063,7 @@ interface paths {
|
|
|
3063
3063
|
"application/json": components["schemas"]["Error"];
|
|
3064
3064
|
};
|
|
3065
3065
|
};
|
|
3066
|
-
/** @description
|
|
3066
|
+
/** @description A temporary error occurred. Please try again. */
|
|
3067
3067
|
502: {
|
|
3068
3068
|
headers: {
|
|
3069
3069
|
[name: string]: unknown;
|
|
@@ -3245,7 +3245,7 @@ interface paths {
|
|
|
3245
3245
|
"application/json": components["schemas"]["Error"];
|
|
3246
3246
|
};
|
|
3247
3247
|
};
|
|
3248
|
-
/** @description
|
|
3248
|
+
/** @description A temporary error occurred. Please try again. */
|
|
3249
3249
|
502: {
|
|
3250
3250
|
headers: {
|
|
3251
3251
|
[name: string]: unknown;
|
|
@@ -3419,7 +3419,7 @@ interface paths {
|
|
|
3419
3419
|
"application/json": components["schemas"]["Error"];
|
|
3420
3420
|
};
|
|
3421
3421
|
};
|
|
3422
|
-
/** @description
|
|
3422
|
+
/** @description A temporary error occurred. Please try again. */
|
|
3423
3423
|
502: {
|
|
3424
3424
|
headers: {
|
|
3425
3425
|
[name: string]: unknown;
|
|
@@ -3463,7 +3463,7 @@ interface paths {
|
|
|
3463
3463
|
};
|
|
3464
3464
|
/**
|
|
3465
3465
|
* Retrieve an attachment from a message
|
|
3466
|
-
* @description Streams the raw bytes of a message attachment with its
|
|
3466
|
+
* @description Streams the raw bytes of a message attachment with its original content type. No attachment bytes are stored by Curviate — they are served on demand.
|
|
3467
3467
|
*/
|
|
3468
3468
|
get: {
|
|
3469
3469
|
parameters: {
|
|
@@ -3479,7 +3479,7 @@ interface paths {
|
|
|
3479
3479
|
};
|
|
3480
3480
|
requestBody?: never;
|
|
3481
3481
|
responses: {
|
|
3482
|
-
/** @description The raw attachment bytes,
|
|
3482
|
+
/** @description The raw attachment bytes, served on demand with the original content type. No attachment bytes are stored by Curviate. */
|
|
3483
3483
|
200: {
|
|
3484
3484
|
headers: {
|
|
3485
3485
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -3529,7 +3529,7 @@ interface paths {
|
|
|
3529
3529
|
"application/json": components["schemas"]["Error"];
|
|
3530
3530
|
};
|
|
3531
3531
|
};
|
|
3532
|
-
/** @description
|
|
3532
|
+
/** @description A temporary error occurred. Please try again. */
|
|
3533
3533
|
502: {
|
|
3534
3534
|
headers: {
|
|
3535
3535
|
[name: string]: unknown;
|
|
@@ -3690,7 +3690,7 @@ interface paths {
|
|
|
3690
3690
|
"application/json": components["schemas"]["Error"];
|
|
3691
3691
|
};
|
|
3692
3692
|
};
|
|
3693
|
-
/** @description
|
|
3693
|
+
/** @description A temporary error occurred. Please try again. */
|
|
3694
3694
|
502: {
|
|
3695
3695
|
headers: {
|
|
3696
3696
|
[name: string]: unknown;
|
|
@@ -3723,7 +3723,7 @@ interface paths {
|
|
|
3723
3723
|
post?: never;
|
|
3724
3724
|
/**
|
|
3725
3725
|
* Delete a message
|
|
3726
|
-
* @description Deletes a previously sent message within the ~60-minute delete window. A persistent 502 on an older message most likely means the window has passed. A bare DELETE
|
|
3726
|
+
* @description Deletes a previously sent message within the ~60-minute delete window. A persistent 502 on an older message most likely means the window has passed. A bare DELETE is all that is required; the owning account is resolved server-side.
|
|
3727
3727
|
*/
|
|
3728
3728
|
delete: {
|
|
3729
3729
|
parameters: {
|
|
@@ -3795,7 +3795,7 @@ interface paths {
|
|
|
3795
3795
|
"application/json": components["schemas"]["Error"];
|
|
3796
3796
|
};
|
|
3797
3797
|
};
|
|
3798
|
-
/** @description
|
|
3798
|
+
/** @description A temporary error occurred. Deletes are only possible within ~60 minutes of sending; a persistent 502 on an older message most likely means the deletion window has passed. */
|
|
3799
3799
|
502: {
|
|
3800
3800
|
headers: {
|
|
3801
3801
|
[name: string]: unknown;
|
|
@@ -3925,7 +3925,7 @@ interface paths {
|
|
|
3925
3925
|
"application/json": components["schemas"]["Error"];
|
|
3926
3926
|
};
|
|
3927
3927
|
};
|
|
3928
|
-
/** @description
|
|
3928
|
+
/** @description A temporary error occurred. Please try again. */
|
|
3929
3929
|
502: {
|
|
3930
3930
|
headers: {
|
|
3931
3931
|
[name: string]: unknown;
|
|
@@ -4066,7 +4066,7 @@ interface paths {
|
|
|
4066
4066
|
"application/json": components["schemas"]["Error"];
|
|
4067
4067
|
};
|
|
4068
4068
|
};
|
|
4069
|
-
/** @description
|
|
4069
|
+
/** @description A temporary error occurred. Please try again. */
|
|
4070
4070
|
502: {
|
|
4071
4071
|
headers: {
|
|
4072
4072
|
[name: string]: unknown;
|
|
@@ -4141,7 +4141,7 @@ interface paths {
|
|
|
4141
4141
|
/** @description The chat being synced. */
|
|
4142
4142
|
chat_id?: string;
|
|
4143
4143
|
/**
|
|
4144
|
-
* @description
|
|
4144
|
+
* @description Sync status.
|
|
4145
4145
|
* @enum {string}
|
|
4146
4146
|
*/
|
|
4147
4147
|
status?: "sync_started" | "running" | "done" | "error" | "chat_deleted";
|
|
@@ -4187,7 +4187,7 @@ interface paths {
|
|
|
4187
4187
|
"application/json": components["schemas"]["Error"];
|
|
4188
4188
|
};
|
|
4189
4189
|
};
|
|
4190
|
-
/** @description
|
|
4190
|
+
/** @description A temporary error occurred. Please try again. */
|
|
4191
4191
|
502: {
|
|
4192
4192
|
headers: {
|
|
4193
4193
|
[name: string]: unknown;
|
|
@@ -4233,7 +4233,7 @@ interface paths {
|
|
|
4233
4233
|
};
|
|
4234
4234
|
/**
|
|
4235
4235
|
* Re-synchronise account message history
|
|
4236
|
-
* @description Triggers a full or windowed re-sync of the account's classic-inbox message history. Returns a
|
|
4236
|
+
* @description Triggers a full or windowed re-sync of the account's classic-inbox message history. Returns a status (200).
|
|
4237
4237
|
*/
|
|
4238
4238
|
get: {
|
|
4239
4239
|
parameters: {
|
|
@@ -4271,7 +4271,7 @@ interface paths {
|
|
|
4271
4271
|
object?: "account_sync";
|
|
4272
4272
|
account_id?: string;
|
|
4273
4273
|
/** @enum {string} */
|
|
4274
|
-
|
|
4274
|
+
status?: "sync_started" | "running" | "done" | "error";
|
|
4275
4275
|
};
|
|
4276
4276
|
};
|
|
4277
4277
|
};
|
|
@@ -4341,7 +4341,7 @@ interface paths {
|
|
|
4341
4341
|
"application/json": components["schemas"]["Error"];
|
|
4342
4342
|
};
|
|
4343
4343
|
};
|
|
4344
|
-
/** @description
|
|
4344
|
+
/** @description A temporary error occurred. Please try again. */
|
|
4345
4345
|
502: {
|
|
4346
4346
|
headers: {
|
|
4347
4347
|
[name: string]: unknown;
|
|
@@ -4389,7 +4389,7 @@ interface paths {
|
|
|
4389
4389
|
put?: never;
|
|
4390
4390
|
/**
|
|
4391
4391
|
* Send an InMail
|
|
4392
|
-
* @description Sends a LinkedIn InMail to a member who is not a direct connection. The surface field selects
|
|
4392
|
+
* @description Sends a LinkedIn InMail to a member who is not a direct connection. The surface field selects the sending context: classic uses the account's own premium InMail credits, while sales_nav and recruiter attribute the send to the matching seat.
|
|
4393
4393
|
*/
|
|
4394
4394
|
post: {
|
|
4395
4395
|
parameters: {
|
|
@@ -4403,13 +4403,13 @@ interface paths {
|
|
|
4403
4403
|
"application/json": {
|
|
4404
4404
|
/** @description The connected LinkedIn account to send the InMail from. */
|
|
4405
4405
|
account_id: string;
|
|
4406
|
-
/** @description LinkedIn member URN
|
|
4406
|
+
/** @description LinkedIn member URN (`urn:li:member:<id>`) or member provider id (`ACo…`). */
|
|
4407
4407
|
recipient_urn: string;
|
|
4408
4408
|
/**
|
|
4409
|
-
* @description InMail surface — determines which access level is required (sales_nav or recruiter).
|
|
4409
|
+
* @description InMail surface — determines which access level is required (classic, sales_nav, or recruiter).
|
|
4410
4410
|
* @enum {string}
|
|
4411
4411
|
*/
|
|
4412
|
-
surface: "sales_nav" | "recruiter";
|
|
4412
|
+
surface: "sales_nav" | "recruiter" | "classic";
|
|
4413
4413
|
/** @description InMail subject line (1–200 chars). */
|
|
4414
4414
|
subject: string;
|
|
4415
4415
|
/** @description InMail body text (1–8000 chars). */
|
|
@@ -4457,7 +4457,7 @@ interface paths {
|
|
|
4457
4457
|
"application/json": components["schemas"]["Error"];
|
|
4458
4458
|
};
|
|
4459
4459
|
};
|
|
4460
|
-
/** @description The account
|
|
4460
|
+
/** @description The classic surface requires only a connected account; the sales_nav and recruiter surfaces require the matching plan access — upgrade required. Also returned when the account lacks the InMail credits or feature needed to send. */
|
|
4461
4461
|
403: {
|
|
4462
4462
|
headers: {
|
|
4463
4463
|
[name: string]: unknown;
|
|
@@ -4505,7 +4505,7 @@ interface paths {
|
|
|
4505
4505
|
"application/json": components["schemas"]["Error"];
|
|
4506
4506
|
};
|
|
4507
4507
|
};
|
|
4508
|
-
/** @description
|
|
4508
|
+
/** @description A temporary error occurred. Please try again. */
|
|
4509
4509
|
502: {
|
|
4510
4510
|
headers: {
|
|
4511
4511
|
[name: string]: unknown;
|
|
@@ -4643,7 +4643,7 @@ interface paths {
|
|
|
4643
4643
|
"application/json": components["schemas"]["Error"];
|
|
4644
4644
|
};
|
|
4645
4645
|
};
|
|
4646
|
-
/** @description PLATFORM_ERROR —
|
|
4646
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
4647
4647
|
502: {
|
|
4648
4648
|
headers: {
|
|
4649
4649
|
[name: string]: unknown;
|
|
@@ -4699,7 +4699,7 @@ interface paths {
|
|
|
4699
4699
|
};
|
|
4700
4700
|
header?: never;
|
|
4701
4701
|
path: {
|
|
4702
|
-
/** @description The post's `social_id`, as returned by the get-post / list-posts response. LinkedIn
|
|
4702
|
+
/** @description The post's `social_id`, as returned by the get-post / list-posts response. Full LinkedIn share URLs are accepted directly (e.g. `https://www.linkedin.com/posts/someone_title-activity-7332661864792854528-Qh99/` or `https://www.linkedin.com/feed/update/urn:li:activity:7332661864792854528-slug`). Bare numeric ids and URN forms are also accepted: `7332661864792854528`, `urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`. */
|
|
4703
4703
|
post_id: string;
|
|
4704
4704
|
};
|
|
4705
4705
|
cookie?: never;
|
|
@@ -4828,7 +4828,7 @@ interface paths {
|
|
|
4828
4828
|
"application/json": components["schemas"]["Error"];
|
|
4829
4829
|
};
|
|
4830
4830
|
};
|
|
4831
|
-
/** @description
|
|
4831
|
+
/** @description A temporary error occurred. Please try again. */
|
|
4832
4832
|
502: {
|
|
4833
4833
|
headers: {
|
|
4834
4834
|
[name: string]: unknown;
|
|
@@ -5028,7 +5028,7 @@ interface paths {
|
|
|
5028
5028
|
"application/json": components["schemas"]["Error"];
|
|
5029
5029
|
};
|
|
5030
5030
|
};
|
|
5031
|
-
/** @description
|
|
5031
|
+
/** @description A temporary error occurred. Please try again. */
|
|
5032
5032
|
502: {
|
|
5033
5033
|
headers: {
|
|
5034
5034
|
[name: string]: unknown;
|
|
@@ -5201,7 +5201,7 @@ interface paths {
|
|
|
5201
5201
|
"application/json": components["schemas"]["Error"];
|
|
5202
5202
|
};
|
|
5203
5203
|
};
|
|
5204
|
-
/** @description
|
|
5204
|
+
/** @description A temporary error occurred. Please try again. */
|
|
5205
5205
|
502: {
|
|
5206
5206
|
headers: {
|
|
5207
5207
|
[name: string]: unknown;
|
|
@@ -5261,7 +5261,7 @@ interface paths {
|
|
|
5261
5261
|
};
|
|
5262
5262
|
header?: never;
|
|
5263
5263
|
path: {
|
|
5264
|
-
/** @description The post's `social_id`, as returned by the get-post / list-posts response. LinkedIn
|
|
5264
|
+
/** @description The post's `social_id`, as returned by the get-post / list-posts response. Full LinkedIn share URLs are accepted directly (e.g. `https://www.linkedin.com/posts/someone_title-activity-7332661864792854528-Qh99/` or `https://www.linkedin.com/feed/update/urn:li:activity:7332661864792854528-slug`). Bare numeric ids and URN forms are also accepted: `7332661864792854528`, `urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`. */
|
|
5265
5265
|
post_id: string;
|
|
5266
5266
|
};
|
|
5267
5267
|
cookie?: never;
|
|
@@ -5368,7 +5368,7 @@ interface paths {
|
|
|
5368
5368
|
"application/json": components["schemas"]["Error"];
|
|
5369
5369
|
};
|
|
5370
5370
|
};
|
|
5371
|
-
/** @description
|
|
5371
|
+
/** @description A temporary error occurred. Please try again. */
|
|
5372
5372
|
502: {
|
|
5373
5373
|
headers: {
|
|
5374
5374
|
[name: string]: unknown;
|
|
@@ -5407,7 +5407,7 @@ interface paths {
|
|
|
5407
5407
|
query?: never;
|
|
5408
5408
|
header?: never;
|
|
5409
5409
|
path: {
|
|
5410
|
-
/** @description The post's `social_id`, as returned by the get-post / list-posts response. LinkedIn
|
|
5410
|
+
/** @description The post's `social_id`, as returned by the get-post / list-posts response. Full LinkedIn share URLs are accepted directly (e.g. `https://www.linkedin.com/posts/someone_title-activity-7332661864792854528-Qh99/` or `https://www.linkedin.com/feed/update/urn:li:activity:7332661864792854528-slug`). Bare numeric ids and URN forms are also accepted: `7332661864792854528`, `urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`. */
|
|
5411
5411
|
post_id: string;
|
|
5412
5412
|
};
|
|
5413
5413
|
cookie?: never;
|
|
@@ -5537,7 +5537,7 @@ interface paths {
|
|
|
5537
5537
|
"application/json": components["schemas"]["Error"];
|
|
5538
5538
|
};
|
|
5539
5539
|
};
|
|
5540
|
-
/** @description
|
|
5540
|
+
/** @description A temporary error occurred. Please try again. */
|
|
5541
5541
|
502: {
|
|
5542
5542
|
headers: {
|
|
5543
5543
|
[name: string]: unknown;
|
|
@@ -5588,14 +5588,14 @@ interface paths {
|
|
|
5588
5588
|
query: {
|
|
5589
5589
|
/** @description Account ID to use for the request. */
|
|
5590
5590
|
account_id: string;
|
|
5591
|
-
/** @description Maximum reactions to return (1–50, default 20). */
|
|
5591
|
+
/** @description Maximum reactions to return (1–50, default 20). A cursor: null in the response does not confirm all reactions were returned — the list may be truncated at the requested limit. Use the --all flag or the paginate() helper for exhaustive reads. */
|
|
5592
5592
|
limit?: number;
|
|
5593
5593
|
/** @description Pagination cursor from a previous response. */
|
|
5594
5594
|
cursor?: string;
|
|
5595
5595
|
};
|
|
5596
5596
|
header?: never;
|
|
5597
5597
|
path: {
|
|
5598
|
-
/** @description The post's `social_id`, as returned by the get-post / list-posts response. LinkedIn
|
|
5598
|
+
/** @description The post's `social_id`, as returned by the get-post / list-posts response. Full LinkedIn share URLs are accepted directly (e.g. `https://www.linkedin.com/posts/someone_title-activity-7332661864792854528-Qh99/` or `https://www.linkedin.com/feed/update/urn:li:activity:7332661864792854528-slug`). Bare numeric ids and URN forms are also accepted: `7332661864792854528`, `urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`. */
|
|
5599
5599
|
post_id: string;
|
|
5600
5600
|
};
|
|
5601
5601
|
cookie?: never;
|
|
@@ -5702,7 +5702,7 @@ interface paths {
|
|
|
5702
5702
|
"application/json": components["schemas"]["Error"];
|
|
5703
5703
|
};
|
|
5704
5704
|
};
|
|
5705
|
-
/** @description
|
|
5705
|
+
/** @description A temporary error occurred — raw-request path; error mapping is conservative. */
|
|
5706
5706
|
502: {
|
|
5707
5707
|
headers: {
|
|
5708
5708
|
[name: string]: unknown;
|
|
@@ -5741,7 +5741,7 @@ interface paths {
|
|
|
5741
5741
|
query?: never;
|
|
5742
5742
|
header?: never;
|
|
5743
5743
|
path: {
|
|
5744
|
-
/** @description The post's `social_id`, as returned by the get-post / list-posts response. LinkedIn
|
|
5744
|
+
/** @description The post's `social_id`, as returned by the get-post / list-posts response. Full LinkedIn share URLs are accepted directly (e.g. `https://www.linkedin.com/posts/someone_title-activity-7332661864792854528-Qh99/` or `https://www.linkedin.com/feed/update/urn:li:activity:7332661864792854528-slug`). Bare numeric ids and URN forms are also accepted: `7332661864792854528`, `urn:li:activity:N`, `urn:li:ugcPost:N`, `urn:li:share:N`. */
|
|
5745
5745
|
post_id: string;
|
|
5746
5746
|
};
|
|
5747
5747
|
cookie?: never;
|
|
@@ -5843,7 +5843,7 @@ interface paths {
|
|
|
5843
5843
|
"application/json": components["schemas"]["Error"];
|
|
5844
5844
|
};
|
|
5845
5845
|
};
|
|
5846
|
-
/** @description
|
|
5846
|
+
/** @description A temporary error occurred. Please try again. */
|
|
5847
5847
|
502: {
|
|
5848
5848
|
headers: {
|
|
5849
5849
|
[name: string]: unknown;
|
|
@@ -5951,6 +5951,13 @@ interface paths {
|
|
|
5951
5951
|
follower_count?: number;
|
|
5952
5952
|
/** @description Total connection count. Absent by default; present only when linkedin_sections is supplied (enrichment path). */
|
|
5953
5953
|
connections_count?: number;
|
|
5954
|
+
/** @description Profile's primary locale as set by LinkedIn. `language` is a BCP 47 language tag (e.g. `en`, `de`); `country` is an ISO 3166-1 alpha-2 country code (e.g. `DE`, `US`). `null` on the lean path; populated when linkedin_sections is supplied (enrichment path). */
|
|
5955
|
+
primary_locale?: {
|
|
5956
|
+
/** @description ISO 3166-1 alpha-2 country code (e.g. `DE`, `US`). */
|
|
5957
|
+
country?: string;
|
|
5958
|
+
/** @description BCP 47 language tag (e.g. `en`, `de`). */
|
|
5959
|
+
language?: string;
|
|
5960
|
+
} | null;
|
|
5954
5961
|
/** @description About/summary text (content pass-through — never stored). Present only when requested via linkedin_sections. */
|
|
5955
5962
|
summary?: string | null;
|
|
5956
5963
|
/** @description Work experience entries. Present only when requested via linkedin_sections. */
|
|
@@ -6031,7 +6038,7 @@ interface paths {
|
|
|
6031
6038
|
"application/json": components["schemas"]["Error"];
|
|
6032
6039
|
};
|
|
6033
6040
|
};
|
|
6034
|
-
/** @description
|
|
6041
|
+
/** @description A temporary error occurred. Please try again. */
|
|
6035
6042
|
502: {
|
|
6036
6043
|
headers: {
|
|
6037
6044
|
[name: string]: unknown;
|
|
@@ -6147,6 +6154,13 @@ interface paths {
|
|
|
6147
6154
|
follower_count?: number | null;
|
|
6148
6155
|
/** @description Total connection count, or null if not available. */
|
|
6149
6156
|
connections_count?: number | null;
|
|
6157
|
+
/** @description Profile's primary locale as set by LinkedIn. `language` is a BCP 47 language tag (e.g. `en`, `de`); `country` is an ISO 3166-1 alpha-2 country code (e.g. `DE`, `US`). `null` if the profile does not have one set. */
|
|
6158
|
+
primary_locale?: {
|
|
6159
|
+
/** @description ISO 3166-1 alpha-2 country code (e.g. `DE`, `US`). */
|
|
6160
|
+
country?: string;
|
|
6161
|
+
/** @description BCP 47 language tag (e.g. `en`, `de`). */
|
|
6162
|
+
language?: string;
|
|
6163
|
+
} | null;
|
|
6150
6164
|
/** @description About/summary text (content pass-through — never stored). Present only when requested via linkedin_sections. */
|
|
6151
6165
|
summary?: string | null;
|
|
6152
6166
|
/** @description Work experience entries. Present only when requested via linkedin_sections. */
|
|
@@ -6227,7 +6241,7 @@ interface paths {
|
|
|
6227
6241
|
"application/json": components["schemas"]["Error"];
|
|
6228
6242
|
};
|
|
6229
6243
|
};
|
|
6230
|
-
/** @description
|
|
6244
|
+
/** @description A temporary error occurred. Please try again. */
|
|
6231
6245
|
502: {
|
|
6232
6246
|
headers: {
|
|
6233
6247
|
[name: string]: unknown;
|
|
@@ -6396,7 +6410,7 @@ interface paths {
|
|
|
6396
6410
|
"application/json": components["schemas"]["Error"];
|
|
6397
6411
|
};
|
|
6398
6412
|
};
|
|
6399
|
-
/** @description
|
|
6413
|
+
/** @description A temporary error occurred. Please try again. */
|
|
6400
6414
|
502: {
|
|
6401
6415
|
headers: {
|
|
6402
6416
|
[name: string]: unknown;
|
|
@@ -6560,7 +6574,7 @@ interface paths {
|
|
|
6560
6574
|
"application/json": components["schemas"]["Error"];
|
|
6561
6575
|
};
|
|
6562
6576
|
};
|
|
6563
|
-
/** @description
|
|
6577
|
+
/** @description A temporary error occurred. Please try again. */
|
|
6564
6578
|
502: {
|
|
6565
6579
|
headers: {
|
|
6566
6580
|
[name: string]: unknown;
|
|
@@ -6754,7 +6768,7 @@ interface paths {
|
|
|
6754
6768
|
"application/json": components["schemas"]["Error"];
|
|
6755
6769
|
};
|
|
6756
6770
|
};
|
|
6757
|
-
/** @description
|
|
6771
|
+
/** @description A temporary error occurred. Please try again. */
|
|
6758
6772
|
502: {
|
|
6759
6773
|
headers: {
|
|
6760
6774
|
[name: string]: unknown;
|
|
@@ -6926,7 +6940,7 @@ interface paths {
|
|
|
6926
6940
|
"application/json": components["schemas"]["Error"];
|
|
6927
6941
|
};
|
|
6928
6942
|
};
|
|
6929
|
-
/** @description
|
|
6943
|
+
/** @description A temporary error occurred. Please try again. */
|
|
6930
6944
|
502: {
|
|
6931
6945
|
headers: {
|
|
6932
6946
|
[name: string]: unknown;
|
|
@@ -7105,7 +7119,7 @@ interface paths {
|
|
|
7105
7119
|
"application/json": components["schemas"]["Error"];
|
|
7106
7120
|
};
|
|
7107
7121
|
};
|
|
7108
|
-
/** @description
|
|
7122
|
+
/** @description A temporary error occurred. Please try again. */
|
|
7109
7123
|
502: {
|
|
7110
7124
|
headers: {
|
|
7111
7125
|
[name: string]: unknown;
|
|
@@ -7393,7 +7407,7 @@ interface paths {
|
|
|
7393
7407
|
"application/json": components["schemas"]["Error"];
|
|
7394
7408
|
};
|
|
7395
7409
|
};
|
|
7396
|
-
/** @description
|
|
7410
|
+
/** @description A temporary error occurred. Please try again. */
|
|
7397
7411
|
502: {
|
|
7398
7412
|
headers: {
|
|
7399
7413
|
[name: string]: unknown;
|
|
@@ -7558,7 +7572,7 @@ interface paths {
|
|
|
7558
7572
|
"application/json": components["schemas"]["Error"];
|
|
7559
7573
|
};
|
|
7560
7574
|
};
|
|
7561
|
-
/** @description
|
|
7575
|
+
/** @description A temporary error occurred. Please try again. */
|
|
7562
7576
|
502: {
|
|
7563
7577
|
headers: {
|
|
7564
7578
|
[name: string]: unknown;
|
|
@@ -7785,7 +7799,7 @@ interface paths {
|
|
|
7785
7799
|
"application/json": components["schemas"]["Error"];
|
|
7786
7800
|
};
|
|
7787
7801
|
};
|
|
7788
|
-
/** @description PLATFORM_ERROR —
|
|
7802
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
7789
7803
|
502: {
|
|
7790
7804
|
headers: {
|
|
7791
7805
|
[name: string]: unknown;
|
|
@@ -8303,7 +8317,7 @@ interface paths {
|
|
|
8303
8317
|
"application/json": components["schemas"]["Error"];
|
|
8304
8318
|
};
|
|
8305
8319
|
};
|
|
8306
|
-
/** @description PLATFORM_ERROR —
|
|
8320
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
8307
8321
|
502: {
|
|
8308
8322
|
headers: {
|
|
8309
8323
|
[name: string]: unknown;
|
|
@@ -8459,7 +8473,7 @@ interface paths {
|
|
|
8459
8473
|
"application/json": components["schemas"]["Error"];
|
|
8460
8474
|
};
|
|
8461
8475
|
};
|
|
8462
|
-
/** @description PLATFORM_ERROR —
|
|
8476
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Typically a temporary condition. */
|
|
8463
8477
|
502: {
|
|
8464
8478
|
headers: {
|
|
8465
8479
|
[name: string]: unknown;
|
|
@@ -8693,7 +8707,7 @@ interface paths {
|
|
|
8693
8707
|
"application/json": components["schemas"]["Error"];
|
|
8694
8708
|
};
|
|
8695
8709
|
};
|
|
8696
|
-
/** @description PLATFORM_ERROR —
|
|
8710
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Typically temporary. */
|
|
8697
8711
|
502: {
|
|
8698
8712
|
headers: {
|
|
8699
8713
|
[name: string]: unknown;
|
|
@@ -8913,7 +8927,7 @@ interface paths {
|
|
|
8913
8927
|
"application/json": components["schemas"]["Error"];
|
|
8914
8928
|
};
|
|
8915
8929
|
};
|
|
8916
|
-
/** @description PLATFORM_ERROR —
|
|
8930
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Typically temporary. */
|
|
8917
8931
|
502: {
|
|
8918
8932
|
headers: {
|
|
8919
8933
|
[name: string]: unknown;
|
|
@@ -9136,7 +9150,7 @@ interface paths {
|
|
|
9136
9150
|
"application/json": components["schemas"]["Error"];
|
|
9137
9151
|
};
|
|
9138
9152
|
};
|
|
9139
|
-
/** @description PLATFORM_ERROR —
|
|
9153
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
9140
9154
|
502: {
|
|
9141
9155
|
headers: {
|
|
9142
9156
|
[name: string]: unknown;
|
|
@@ -9452,7 +9466,7 @@ interface paths {
|
|
|
9452
9466
|
"application/json": components["schemas"]["Error"];
|
|
9453
9467
|
};
|
|
9454
9468
|
};
|
|
9455
|
-
/** @description PLATFORM_ERROR —
|
|
9469
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
9456
9470
|
502: {
|
|
9457
9471
|
headers: {
|
|
9458
9472
|
[name: string]: unknown;
|
|
@@ -9604,7 +9618,7 @@ interface paths {
|
|
|
9604
9618
|
"application/json": components["schemas"]["Error"];
|
|
9605
9619
|
};
|
|
9606
9620
|
};
|
|
9607
|
-
/** @description
|
|
9621
|
+
/** @description A temporary error occurred. Please try again. */
|
|
9608
9622
|
502: {
|
|
9609
9623
|
headers: {
|
|
9610
9624
|
[name: string]: unknown;
|
|
@@ -9846,7 +9860,7 @@ interface paths {
|
|
|
9846
9860
|
"application/json": components["schemas"]["Error"];
|
|
9847
9861
|
};
|
|
9848
9862
|
};
|
|
9849
|
-
/** @description PLATFORM_ERROR —
|
|
9863
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
9850
9864
|
502: {
|
|
9851
9865
|
headers: {
|
|
9852
9866
|
[name: string]: unknown;
|
|
@@ -10014,7 +10028,7 @@ interface paths {
|
|
|
10014
10028
|
"application/json": components["schemas"]["Error"];
|
|
10015
10029
|
};
|
|
10016
10030
|
};
|
|
10017
|
-
/** @description PLATFORM_ERROR —
|
|
10031
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
10018
10032
|
502: {
|
|
10019
10033
|
headers: {
|
|
10020
10034
|
[name: string]: unknown;
|
|
@@ -10603,7 +10617,7 @@ interface paths {
|
|
|
10603
10617
|
"application/json": components["schemas"]["Error"];
|
|
10604
10618
|
};
|
|
10605
10619
|
};
|
|
10606
|
-
/** @description PLATFORM_ERROR —
|
|
10620
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
10607
10621
|
502: {
|
|
10608
10622
|
headers: {
|
|
10609
10623
|
[name: string]: unknown;
|
|
@@ -10783,7 +10797,7 @@ interface paths {
|
|
|
10783
10797
|
"application/json": components["schemas"]["Error"];
|
|
10784
10798
|
};
|
|
10785
10799
|
};
|
|
10786
|
-
/** @description PLATFORM_ERROR —
|
|
10800
|
+
/** @description PLATFORM_ERROR — A temporary error occurred. Please try again. */
|
|
10787
10801
|
502: {
|
|
10788
10802
|
headers: {
|
|
10789
10803
|
[name: string]: unknown;
|
|
@@ -10844,7 +10858,7 @@ interface paths {
|
|
|
10844
10858
|
};
|
|
10845
10859
|
requestBody?: never;
|
|
10846
10860
|
responses: {
|
|
10847
|
-
/** @description The raw resume bytes,
|
|
10861
|
+
/** @description The raw resume bytes, served on demand with the original content type. No resume bytes are stored by Curviate. */
|
|
10848
10862
|
200: {
|
|
10849
10863
|
headers: {
|
|
10850
10864
|
"RateLimit-Policy": components["headers"]["RateLimit-Policy"];
|
|
@@ -11589,7 +11603,7 @@ interface paths {
|
|
|
11589
11603
|
"application/json": components["schemas"]["Error"];
|
|
11590
11604
|
};
|
|
11591
11605
|
};
|
|
11592
|
-
/** @description
|
|
11606
|
+
/** @description A temporary error occurred. Please try again. */
|
|
11593
11607
|
502: {
|
|
11594
11608
|
headers: {
|
|
11595
11609
|
[name: string]: unknown;
|
|
@@ -11983,7 +11997,7 @@ interface paths {
|
|
|
11983
11997
|
"application/json": components["schemas"]["Error"];
|
|
11984
11998
|
};
|
|
11985
11999
|
};
|
|
11986
|
-
/** @description
|
|
12000
|
+
/** @description A temporary error occurred. Please try again. */
|
|
11987
12001
|
502: {
|
|
11988
12002
|
headers: {
|
|
11989
12003
|
[name: string]: unknown;
|
|
@@ -12282,7 +12296,7 @@ interface paths {
|
|
|
12282
12296
|
"application/json": components["schemas"]["Error"];
|
|
12283
12297
|
};
|
|
12284
12298
|
};
|
|
12285
|
-
/** @description
|
|
12299
|
+
/** @description A temporary error occurred. Please try again. */
|
|
12286
12300
|
502: {
|
|
12287
12301
|
headers: {
|
|
12288
12302
|
[name: string]: unknown;
|
|
@@ -12447,7 +12461,7 @@ interface paths {
|
|
|
12447
12461
|
"application/json": components["schemas"]["Error"];
|
|
12448
12462
|
};
|
|
12449
12463
|
};
|
|
12450
|
-
/** @description
|
|
12464
|
+
/** @description A temporary error occurred. Please try again. */
|
|
12451
12465
|
502: {
|
|
12452
12466
|
headers: {
|
|
12453
12467
|
[name: string]: unknown;
|
|
@@ -12648,7 +12662,7 @@ interface paths {
|
|
|
12648
12662
|
"application/json": components["schemas"]["Error"];
|
|
12649
12663
|
};
|
|
12650
12664
|
};
|
|
12651
|
-
/** @description
|
|
12665
|
+
/** @description A temporary error occurred. Please try again. */
|
|
12652
12666
|
502: {
|
|
12653
12667
|
headers: {
|
|
12654
12668
|
[name: string]: unknown;
|
|
@@ -12816,7 +12830,7 @@ interface paths {
|
|
|
12816
12830
|
"application/json": components["schemas"]["Error"];
|
|
12817
12831
|
};
|
|
12818
12832
|
};
|
|
12819
|
-
/** @description
|
|
12833
|
+
/** @description A temporary error occurred. Please try again. */
|
|
12820
12834
|
502: {
|
|
12821
12835
|
headers: {
|
|
12822
12836
|
[name: string]: unknown;
|
|
@@ -12985,7 +12999,7 @@ interface paths {
|
|
|
12985
12999
|
"application/json": components["schemas"]["Error"];
|
|
12986
13000
|
};
|
|
12987
13001
|
};
|
|
12988
|
-
/** @description
|
|
13002
|
+
/** @description A temporary error occurred. Please try again. */
|
|
12989
13003
|
502: {
|
|
12990
13004
|
headers: {
|
|
12991
13005
|
[name: string]: unknown;
|
|
@@ -13137,7 +13151,7 @@ interface paths {
|
|
|
13137
13151
|
"application/json": components["schemas"]["Error"];
|
|
13138
13152
|
};
|
|
13139
13153
|
};
|
|
13140
|
-
/** @description
|
|
13154
|
+
/** @description A temporary error occurred. Please try again. */
|
|
13141
13155
|
502: {
|
|
13142
13156
|
headers: {
|
|
13143
13157
|
[name: string]: unknown;
|
|
@@ -13415,7 +13429,7 @@ interface paths {
|
|
|
13415
13429
|
"application/json": components["schemas"]["Error"];
|
|
13416
13430
|
};
|
|
13417
13431
|
};
|
|
13418
|
-
/** @description
|
|
13432
|
+
/** @description A temporary error occurred. Please try again. */
|
|
13419
13433
|
502: {
|
|
13420
13434
|
headers: {
|
|
13421
13435
|
[name: string]: unknown;
|
|
@@ -13619,7 +13633,7 @@ interface paths {
|
|
|
13619
13633
|
"application/json": components["schemas"]["Error"];
|
|
13620
13634
|
};
|
|
13621
13635
|
};
|
|
13622
|
-
/** @description
|
|
13636
|
+
/** @description A temporary error occurred. Please try again. */
|
|
13623
13637
|
502: {
|
|
13624
13638
|
headers: {
|
|
13625
13639
|
[name: string]: unknown;
|
|
@@ -13887,7 +13901,7 @@ interface paths {
|
|
|
13887
13901
|
"application/json": components["schemas"]["Error"];
|
|
13888
13902
|
};
|
|
13889
13903
|
};
|
|
13890
|
-
/** @description
|
|
13904
|
+
/** @description A temporary error occurred. Please try again. */
|
|
13891
13905
|
502: {
|
|
13892
13906
|
headers: {
|
|
13893
13907
|
[name: string]: unknown;
|
|
@@ -14147,7 +14161,7 @@ interface paths {
|
|
|
14147
14161
|
"application/json": components["schemas"]["Error"];
|
|
14148
14162
|
};
|
|
14149
14163
|
};
|
|
14150
|
-
/** @description
|
|
14164
|
+
/** @description A temporary error occurred. Please try again. */
|
|
14151
14165
|
502: {
|
|
14152
14166
|
headers: {
|
|
14153
14167
|
[name: string]: unknown;
|
|
@@ -14892,7 +14906,7 @@ interface paths {
|
|
|
14892
14906
|
"application/json": components["schemas"]["Error"];
|
|
14893
14907
|
};
|
|
14894
14908
|
};
|
|
14895
|
-
/** @description
|
|
14909
|
+
/** @description A temporary error occurred. Please try again. */
|
|
14896
14910
|
502: {
|
|
14897
14911
|
headers: {
|
|
14898
14912
|
[name: string]: unknown;
|