@curviate/sdk 0.4.1 → 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 +13 -0
- package/dist/index.d.ts +10 -18
- package/package.json +1 -1
- package/src/generated/types.ts +10 -18
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,19 @@ 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
|
+
|
|
10
23
|
## [0.4.1] — 2026-06-30
|
|
11
24
|
|
|
12
25
|
### 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: {
|
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: {
|