@curviate/sdk 0.4.0 → 0.4.2
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 +21 -0
- package/dist/index.d.ts +16 -22
- package/package.json +1 -1
- package/src/generated/types.ts +16 -22
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,27 @@ Versioning: semantic — minor for additive changes, patch for bug fixes; no sta
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.4.2] — 2026-07-01
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Invitation item `specifics` now includes `provider: "LINKEDIN"` on both `InvitationSent` and `InvitationReceived` — the platform the invitation belongs to, passed through alongside `shared_secret`.
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
|
|
18
|
+
- Removed the `422` response from `invites.cancel` (`DELETE /v1/invites/{invitation_id}`) and `invites.respond` (`POST /v1/invites/received/{invitation_id}`): cancel is idempotent (`canceled`/`not_found` only) and a non-pending handle returns `not_found`, so neither surfaces an account-restricted `422`.
|
|
19
|
+
- Regenerated types from the current API surface, consolidating the invitation-item changes on top of the 0.4.1 people-search and 0.4.0 profile/messaging types.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
## [0.4.1] — 2026-06-30
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- `people_search_result` item now includes `id: string` — the raw LinkedIn provider id for the person (e.g. `ACoAA…` format). This is the first property on the item type.
|
|
28
|
+
|
|
29
|
+
---
|
|
30
|
+
|
|
10
31
|
## [0.4.0] — 2026-06-30
|
|
11
32
|
|
|
12
33
|
### Added
|
package/dist/index.d.ts
CHANGED
|
@@ -1903,6 +1903,11 @@ interface paths {
|
|
|
1903
1903
|
} | null;
|
|
1904
1904
|
/** @description Platform-specific invitation metadata. */
|
|
1905
1905
|
specifics?: {
|
|
1906
|
+
/**
|
|
1907
|
+
* @description The platform this invitation belongs to.
|
|
1908
|
+
* @enum {string}
|
|
1909
|
+
*/
|
|
1910
|
+
provider?: "LINKEDIN";
|
|
1906
1911
|
/** @description Per-invitation token from the platform. Content pass-through — never stored. */
|
|
1907
1912
|
shared_secret?: string | null;
|
|
1908
1913
|
};
|
|
@@ -2083,6 +2088,11 @@ interface paths {
|
|
|
2083
2088
|
} | null;
|
|
2084
2089
|
/** @description Platform-specific invitation metadata. */
|
|
2085
2090
|
specifics?: {
|
|
2091
|
+
/**
|
|
2092
|
+
* @description The platform this invitation belongs to.
|
|
2093
|
+
* @enum {string}
|
|
2094
|
+
*/
|
|
2095
|
+
provider?: "LINKEDIN";
|
|
2086
2096
|
/** @description Per-invitation token required to accept or decline this invitation via POST /v1/invites/received/{invitation_id}. Content pass-through — never stored. */
|
|
2087
2097
|
shared_secret?: string | null;
|
|
2088
2098
|
};
|
|
@@ -2281,15 +2291,6 @@ interface paths {
|
|
|
2281
2291
|
"application/json": components["schemas"]["Error"];
|
|
2282
2292
|
};
|
|
2283
2293
|
};
|
|
2284
|
-
/** @description Account restricted from performing this operation. */
|
|
2285
|
-
422: {
|
|
2286
|
-
headers: {
|
|
2287
|
-
[name: string]: unknown;
|
|
2288
|
-
};
|
|
2289
|
-
content: {
|
|
2290
|
-
"application/json": components["schemas"]["Error"];
|
|
2291
|
-
};
|
|
2292
|
-
};
|
|
2293
2294
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2294
2295
|
429: {
|
|
2295
2296
|
headers: {
|
|
@@ -2426,15 +2427,6 @@ interface paths {
|
|
|
2426
2427
|
"application/json": components["schemas"]["Error"];
|
|
2427
2428
|
};
|
|
2428
2429
|
};
|
|
2429
|
-
/** @description Account restricted from performing this operation. */
|
|
2430
|
-
422: {
|
|
2431
|
-
headers: {
|
|
2432
|
-
[name: string]: unknown;
|
|
2433
|
-
};
|
|
2434
|
-
content: {
|
|
2435
|
-
"application/json": components["schemas"]["Error"];
|
|
2436
|
-
};
|
|
2437
|
-
};
|
|
2438
2430
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2439
2431
|
429: {
|
|
2440
2432
|
headers: {
|
|
@@ -13206,7 +13198,7 @@ interface paths {
|
|
|
13206
13198
|
query: {
|
|
13207
13199
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13208
13200
|
account_id: string;
|
|
13209
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13201
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13210
13202
|
limit?: number;
|
|
13211
13203
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13212
13204
|
cursor?: string;
|
|
@@ -13277,6 +13269,8 @@ interface paths {
|
|
|
13277
13269
|
object: "people_search_result";
|
|
13278
13270
|
/** @description People search result items. */
|
|
13279
13271
|
items: {
|
|
13272
|
+
/** @description Raw LinkedIn provider id for this person (e.g. ACoAA…). */
|
|
13273
|
+
id: string;
|
|
13280
13274
|
/** @description LinkedIn member URN for this person (normalized to urn:li:member:N). */
|
|
13281
13275
|
linkedin_urn: string;
|
|
13282
13276
|
/** @description LinkedIn public identifier (the slug after linkedin.com/in/). */
|
|
@@ -13482,7 +13476,7 @@ interface paths {
|
|
|
13482
13476
|
query: {
|
|
13483
13477
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13484
13478
|
account_id: string;
|
|
13485
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13479
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13486
13480
|
limit?: number;
|
|
13487
13481
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13488
13482
|
cursor?: string;
|
|
@@ -13686,7 +13680,7 @@ interface paths {
|
|
|
13686
13680
|
query: {
|
|
13687
13681
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13688
13682
|
account_id: string;
|
|
13689
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13683
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13690
13684
|
limit?: number;
|
|
13691
13685
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13692
13686
|
cursor?: string;
|
|
@@ -13954,7 +13948,7 @@ interface paths {
|
|
|
13954
13948
|
query: {
|
|
13955
13949
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13956
13950
|
account_id: string;
|
|
13957
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13951
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13958
13952
|
limit?: number;
|
|
13959
13953
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13960
13954
|
cursor?: string;
|
package/package.json
CHANGED
package/src/generated/types.ts
CHANGED
|
@@ -1794,6 +1794,11 @@ export interface paths {
|
|
|
1794
1794
|
} | null;
|
|
1795
1795
|
/** @description Platform-specific invitation metadata. */
|
|
1796
1796
|
specifics?: {
|
|
1797
|
+
/**
|
|
1798
|
+
* @description The platform this invitation belongs to.
|
|
1799
|
+
* @enum {string}
|
|
1800
|
+
*/
|
|
1801
|
+
provider?: "LINKEDIN";
|
|
1797
1802
|
/** @description Per-invitation token from the platform. Content pass-through — never stored. */
|
|
1798
1803
|
shared_secret?: string | null;
|
|
1799
1804
|
};
|
|
@@ -1974,6 +1979,11 @@ export interface paths {
|
|
|
1974
1979
|
} | null;
|
|
1975
1980
|
/** @description Platform-specific invitation metadata. */
|
|
1976
1981
|
specifics?: {
|
|
1982
|
+
/**
|
|
1983
|
+
* @description The platform this invitation belongs to.
|
|
1984
|
+
* @enum {string}
|
|
1985
|
+
*/
|
|
1986
|
+
provider?: "LINKEDIN";
|
|
1977
1987
|
/** @description Per-invitation token required to accept or decline this invitation via POST /v1/invites/received/{invitation_id}. Content pass-through — never stored. */
|
|
1978
1988
|
shared_secret?: string | null;
|
|
1979
1989
|
};
|
|
@@ -2172,15 +2182,6 @@ export interface paths {
|
|
|
2172
2182
|
"application/json": components["schemas"]["Error"];
|
|
2173
2183
|
};
|
|
2174
2184
|
};
|
|
2175
|
-
/** @description Account restricted from performing this operation. */
|
|
2176
|
-
422: {
|
|
2177
|
-
headers: {
|
|
2178
|
-
[name: string]: unknown;
|
|
2179
|
-
};
|
|
2180
|
-
content: {
|
|
2181
|
-
"application/json": components["schemas"]["Error"];
|
|
2182
|
-
};
|
|
2183
|
-
};
|
|
2184
2185
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2185
2186
|
429: {
|
|
2186
2187
|
headers: {
|
|
@@ -2317,15 +2318,6 @@ export interface paths {
|
|
|
2317
2318
|
"application/json": components["schemas"]["Error"];
|
|
2318
2319
|
};
|
|
2319
2320
|
};
|
|
2320
|
-
/** @description Account restricted from performing this operation. */
|
|
2321
|
-
422: {
|
|
2322
|
-
headers: {
|
|
2323
|
-
[name: string]: unknown;
|
|
2324
|
-
};
|
|
2325
|
-
content: {
|
|
2326
|
-
"application/json": components["schemas"]["Error"];
|
|
2327
|
-
};
|
|
2328
|
-
};
|
|
2329
2321
|
/** @description Quota exceeded — slow down and retry after the hinted delay. */
|
|
2330
2322
|
429: {
|
|
2331
2323
|
headers: {
|
|
@@ -13097,7 +13089,7 @@ export interface paths {
|
|
|
13097
13089
|
query: {
|
|
13098
13090
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13099
13091
|
account_id: string;
|
|
13100
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13092
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13101
13093
|
limit?: number;
|
|
13102
13094
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13103
13095
|
cursor?: string;
|
|
@@ -13168,6 +13160,8 @@ export interface paths {
|
|
|
13168
13160
|
object: "people_search_result";
|
|
13169
13161
|
/** @description People search result items. */
|
|
13170
13162
|
items: {
|
|
13163
|
+
/** @description Raw LinkedIn provider id for this person (e.g. ACoAA…). */
|
|
13164
|
+
id: string;
|
|
13171
13165
|
/** @description LinkedIn member URN for this person (normalized to urn:li:member:N). */
|
|
13172
13166
|
linkedin_urn: string;
|
|
13173
13167
|
/** @description LinkedIn public identifier (the slug after linkedin.com/in/). */
|
|
@@ -13373,7 +13367,7 @@ export interface paths {
|
|
|
13373
13367
|
query: {
|
|
13374
13368
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13375
13369
|
account_id: string;
|
|
13376
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13370
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13377
13371
|
limit?: number;
|
|
13378
13372
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13379
13373
|
cursor?: string;
|
|
@@ -13577,7 +13571,7 @@ export interface paths {
|
|
|
13577
13571
|
query: {
|
|
13578
13572
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13579
13573
|
account_id: string;
|
|
13580
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13574
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13581
13575
|
limit?: number;
|
|
13582
13576
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13583
13577
|
cursor?: string;
|
|
@@ -13845,7 +13839,7 @@ export interface paths {
|
|
|
13845
13839
|
query: {
|
|
13846
13840
|
/** @description The linked LinkedIn account to search on behalf of. */
|
|
13847
13841
|
account_id: string;
|
|
13848
|
-
/** @description Maximum results per page (1–50, default 10).
|
|
13842
|
+
/** @description Maximum results per page (1–50, default 10). */
|
|
13849
13843
|
limit?: number;
|
|
13850
13844
|
/** @description Opaque pagination cursor returned from a previous response. */
|
|
13851
13845
|
cursor?: string;
|