@runtypelabs/sdk 11.19.1 → 11.19.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/dist/index.cjs CHANGED
@@ -14830,7 +14830,7 @@ function transformQueryParams(params) {
14830
14830
  return result;
14831
14831
  }
14832
14832
  // src/version.ts
14833
- const SDK_VERSION = "11.19.1";
14833
+ const SDK_VERSION = "11.19.2";
14834
14834
  /**
14835
14835
  * Canonical client identity the API uses for attribution
14836
14836
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
package/dist/index.d.cts CHANGED
@@ -10145,7 +10145,7 @@ interface paths {
10145
10145
  untrustedContentHint?: boolean;
10146
10146
  }[];
10147
10147
  clientToolsFingerprint?: string;
10148
- /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
10148
+ /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). A proof that fails verification is rejected with 401 `invalid_identity_proof`. */
10149
10149
  identityProof?: {
10150
10150
  provider: string;
10151
10151
  token: string;
@@ -10337,7 +10337,7 @@ interface paths {
10337
10337
  };
10338
10338
  /**
10339
10339
  * List the visitor's own conversations
10340
- * @description List conversations belonging to the calling browser's anonymous visitor, newest first, cursor-paginated. Requires both a live `sessionId` and the `X-Visitor-Token` secret from `/client/init`; the site-wide client token alone can never reach this route. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10340
+ * @description List conversations belonging to the calling browser's anonymous visitor, newest first, cursor-paginated. Requires both a live `sessionId` and the `X-Visitor-Token` secret from `/client/init`; the site-wide client token alone can never reach this route. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10341
10341
  */
10342
10342
  get: {
10343
10343
  parameters: {
@@ -10440,22 +10440,13 @@ interface paths {
10440
10440
  "application/json": components["schemas"]["Error"];
10441
10441
  };
10442
10442
  };
10443
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10444
- 503: {
10445
- headers: {
10446
- [name: string]: unknown;
10447
- };
10448
- content: {
10449
- "application/json": components["schemas"]["Error"];
10450
- };
10451
- };
10452
10443
  };
10453
10444
  };
10454
10445
  put?: never;
10455
10446
  post?: never;
10456
10447
  /**
10457
10448
  * Delete all of the visitor's own conversations
10458
- * @description Permanently delete every conversation belonging to the calling visitor, with their transcripts. Intended for a widget's "clear my history" control and for host-site privacy-erasure hooks. Pass `targetId` to delete only the conversations a target-scoped UI actually listed; OMITTING it deliberately means every conversation in the authorized visitor scope, across all targets. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10449
+ * @description Permanently delete every conversation belonging to the calling visitor, with their transcripts. Intended for a widget's "clear my history" control and for host-site privacy-erasure hooks. Pass `targetId` to delete only the conversations a target-scoped UI actually listed; OMITTING it deliberately means every conversation in the authorized visitor scope, across all targets. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10459
10450
  */
10460
10451
  delete: {
10461
10452
  parameters: {
@@ -10535,15 +10526,6 @@ interface paths {
10535
10526
  "application/json": components["schemas"]["Error"];
10536
10527
  };
10537
10528
  };
10538
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10539
- 503: {
10540
- headers: {
10541
- [name: string]: unknown;
10542
- };
10543
- content: {
10544
- "application/json": components["schemas"]["Error"];
10545
- };
10546
- };
10547
10529
  };
10548
10530
  };
10549
10531
  options?: never;
@@ -10747,7 +10729,7 @@ interface paths {
10747
10729
  };
10748
10730
  /**
10749
10731
  * Read one of the visitor's own conversations
10750
- * @description Return a single conversation with its message transcript. Answers 404 (never 403) for a conversation the caller does not own, so the route cannot be used to probe for other visitors' conversations. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10732
+ * @description Return a single conversation with its message transcript. Answers 404 (never 403) for a conversation the caller does not own, so the route cannot be used to probe for other visitors' conversations. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10751
10733
  */
10752
10734
  get: {
10753
10735
  parameters: {
@@ -10872,22 +10854,13 @@ interface paths {
10872
10854
  "application/json": components["schemas"]["Error"];
10873
10855
  };
10874
10856
  };
10875
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10876
- 503: {
10877
- headers: {
10878
- [name: string]: unknown;
10879
- };
10880
- content: {
10881
- "application/json": components["schemas"]["Error"];
10882
- };
10883
- };
10884
10857
  };
10885
10858
  };
10886
10859
  put?: never;
10887
10860
  post?: never;
10888
10861
  /**
10889
10862
  * Delete one of the visitor's own conversations
10890
- * @description Permanently delete a conversation and its stored transcript. Answers 404 (never 403) for a conversation the caller does not own. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10863
+ * @description Permanently delete a conversation and its stored transcript. Answers 404 (never 403) for a conversation the caller does not own. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10891
10864
  */
10892
10865
  delete: {
10893
10866
  parameters: {
@@ -10975,15 +10948,6 @@ interface paths {
10975
10948
  "application/json": components["schemas"]["Error"];
10976
10949
  };
10977
10950
  };
10978
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10979
- 503: {
10980
- headers: {
10981
- [name: string]: unknown;
10982
- };
10983
- content: {
10984
- "application/json": components["schemas"]["Error"];
10985
- };
10986
- };
10987
10951
  };
10988
10952
  };
10989
10953
  options?: never;
@@ -11386,7 +11350,7 @@ interface paths {
11386
11350
  /** @description Durable anonymous visitor id (`cvis_…`). */
11387
11351
  id: string;
11388
11352
  /**
11389
- * @description What the server did with a supplied `identityProof` on THIS request. `not_provided`: none was sent. `admitted`: it was verified and produced the end-user scope. `ignored`: one was sent but end-user admission is not enabled for this token owner, so it was never evaluated and the session is plain browser scope. Init still succeeds on `ignored` so chat degrades gracefully, but a widget must not offer verified cross-device history or a verified erase in that state (the history routes refuse such a request outright with 503 `identity_proof_not_admitted`). Reporting only: it confers no authority and carries no identity value.
11353
+ * @description What the server did with a supplied `identityProof` on THIS request. `not_provided`: none was sent. `admitted`: it was verified and produced the end-user scope. `ignored`: no longer emitted, because every token owner now evaluates a supplied proof; it stays in the enum for older clients. An invalid proof fails init with 401 `invalid_identity_proof`. Reporting only: it confers no authority and carries no identity value.
11390
11354
  * @enum {string}
11391
11355
  */
11392
11356
  identityStatus: "not_provided" | "admitted" | "ignored";
@@ -11643,7 +11607,7 @@ interface paths {
11643
11607
  put?: never;
11644
11608
  /**
11645
11609
  * Reset the current browser visitor
11646
- * @description Explicit widget shutdown/logout lifecycle. Revokes the presented browser visitor when it still resolves, without deleting conversation records. The response is idempotent so it cannot reveal whether a visitor secret was valid. Clear the locally stored secret after success; a later history-capable init creates a clean anonymous visitor. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
11610
+ * @description Explicit widget shutdown/logout lifecycle. Revokes the presented browser visitor when it still resolves, without deleting conversation records. The response is idempotent so it cannot reveal whether a visitor secret was valid. Clear the locally stored secret after success; a later history-capable init creates a clean anonymous visitor. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
11647
11611
  */
11648
11612
  post: {
11649
11613
  parameters: {
@@ -11720,15 +11684,6 @@ interface paths {
11720
11684
  "application/json": components["schemas"]["Error"];
11721
11685
  };
11722
11686
  };
11723
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
11724
- 503: {
11725
- headers: {
11726
- [name: string]: unknown;
11727
- };
11728
- content: {
11729
- "application/json": components["schemas"]["Error"];
11730
- };
11731
- };
11732
11687
  };
11733
11688
  };
11734
11689
  delete?: never;
@@ -16295,7 +16250,7 @@ interface paths {
16295
16250
  * @enum {string}
16296
16251
  */
16297
16252
  history?: "inline" | "stored";
16298
- /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
16253
+ /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). A proof that fails verification is rejected with 401 `invalid_identity_proof`. */
16299
16254
  identityProof?: {
16300
16255
  provider: string;
16301
16256
  token: string;
@@ -16768,7 +16723,7 @@ interface paths {
16768
16723
  * @enum {string}
16769
16724
  */
16770
16725
  history?: "inline" | "stored";
16771
- /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
16726
+ /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). A proof that fails verification is rejected with 401 `invalid_identity_proof`. */
16772
16727
  identityProof?: {
16773
16728
  provider: string;
16774
16729
  token: string;
package/dist/index.d.ts CHANGED
@@ -10145,7 +10145,7 @@ interface paths {
10145
10145
  untrustedContentHint?: boolean;
10146
10146
  }[];
10147
10147
  clientToolsFingerprint?: string;
10148
- /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
10148
+ /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). A proof that fails verification is rejected with 401 `invalid_identity_proof`. */
10149
10149
  identityProof?: {
10150
10150
  provider: string;
10151
10151
  token: string;
@@ -10337,7 +10337,7 @@ interface paths {
10337
10337
  };
10338
10338
  /**
10339
10339
  * List the visitor's own conversations
10340
- * @description List conversations belonging to the calling browser's anonymous visitor, newest first, cursor-paginated. Requires both a live `sessionId` and the `X-Visitor-Token` secret from `/client/init`; the site-wide client token alone can never reach this route. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10340
+ * @description List conversations belonging to the calling browser's anonymous visitor, newest first, cursor-paginated. Requires both a live `sessionId` and the `X-Visitor-Token` secret from `/client/init`; the site-wide client token alone can never reach this route. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10341
10341
  */
10342
10342
  get: {
10343
10343
  parameters: {
@@ -10440,22 +10440,13 @@ interface paths {
10440
10440
  "application/json": components["schemas"]["Error"];
10441
10441
  };
10442
10442
  };
10443
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10444
- 503: {
10445
- headers: {
10446
- [name: string]: unknown;
10447
- };
10448
- content: {
10449
- "application/json": components["schemas"]["Error"];
10450
- };
10451
- };
10452
10443
  };
10453
10444
  };
10454
10445
  put?: never;
10455
10446
  post?: never;
10456
10447
  /**
10457
10448
  * Delete all of the visitor's own conversations
10458
- * @description Permanently delete every conversation belonging to the calling visitor, with their transcripts. Intended for a widget's "clear my history" control and for host-site privacy-erasure hooks. Pass `targetId` to delete only the conversations a target-scoped UI actually listed; OMITTING it deliberately means every conversation in the authorized visitor scope, across all targets. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10449
+ * @description Permanently delete every conversation belonging to the calling visitor, with their transcripts. Intended for a widget's "clear my history" control and for host-site privacy-erasure hooks. Pass `targetId` to delete only the conversations a target-scoped UI actually listed; OMITTING it deliberately means every conversation in the authorized visitor scope, across all targets. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10459
10450
  */
10460
10451
  delete: {
10461
10452
  parameters: {
@@ -10535,15 +10526,6 @@ interface paths {
10535
10526
  "application/json": components["schemas"]["Error"];
10536
10527
  };
10537
10528
  };
10538
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10539
- 503: {
10540
- headers: {
10541
- [name: string]: unknown;
10542
- };
10543
- content: {
10544
- "application/json": components["schemas"]["Error"];
10545
- };
10546
- };
10547
10529
  };
10548
10530
  };
10549
10531
  options?: never;
@@ -10747,7 +10729,7 @@ interface paths {
10747
10729
  };
10748
10730
  /**
10749
10731
  * Read one of the visitor's own conversations
10750
- * @description Return a single conversation with its message transcript. Answers 404 (never 403) for a conversation the caller does not own, so the route cannot be used to probe for other visitors' conversations. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10732
+ * @description Return a single conversation with its message transcript. Answers 404 (never 403) for a conversation the caller does not own, so the route cannot be used to probe for other visitors' conversations. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10751
10733
  */
10752
10734
  get: {
10753
10735
  parameters: {
@@ -10872,22 +10854,13 @@ interface paths {
10872
10854
  "application/json": components["schemas"]["Error"];
10873
10855
  };
10874
10856
  };
10875
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10876
- 503: {
10877
- headers: {
10878
- [name: string]: unknown;
10879
- };
10880
- content: {
10881
- "application/json": components["schemas"]["Error"];
10882
- };
10883
- };
10884
10857
  };
10885
10858
  };
10886
10859
  put?: never;
10887
10860
  post?: never;
10888
10861
  /**
10889
10862
  * Delete one of the visitor's own conversations
10890
- * @description Permanently delete a conversation and its stored transcript. Answers 404 (never 403) for a conversation the caller does not own. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10863
+ * @description Permanently delete a conversation and its stored transcript. Answers 404 (never 403) for a conversation the caller does not own. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
10891
10864
  */
10892
10865
  delete: {
10893
10866
  parameters: {
@@ -10975,15 +10948,6 @@ interface paths {
10975
10948
  "application/json": components["schemas"]["Error"];
10976
10949
  };
10977
10950
  };
10978
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
10979
- 503: {
10980
- headers: {
10981
- [name: string]: unknown;
10982
- };
10983
- content: {
10984
- "application/json": components["schemas"]["Error"];
10985
- };
10986
- };
10987
10951
  };
10988
10952
  };
10989
10953
  options?: never;
@@ -11386,7 +11350,7 @@ interface paths {
11386
11350
  /** @description Durable anonymous visitor id (`cvis_…`). */
11387
11351
  id: string;
11388
11352
  /**
11389
- * @description What the server did with a supplied `identityProof` on THIS request. `not_provided`: none was sent. `admitted`: it was verified and produced the end-user scope. `ignored`: one was sent but end-user admission is not enabled for this token owner, so it was never evaluated and the session is plain browser scope. Init still succeeds on `ignored` so chat degrades gracefully, but a widget must not offer verified cross-device history or a verified erase in that state (the history routes refuse such a request outright with 503 `identity_proof_not_admitted`). Reporting only: it confers no authority and carries no identity value.
11353
+ * @description What the server did with a supplied `identityProof` on THIS request. `not_provided`: none was sent. `admitted`: it was verified and produced the end-user scope. `ignored`: no longer emitted, because every token owner now evaluates a supplied proof; it stays in the enum for older clients. An invalid proof fails init with 401 `invalid_identity_proof`. Reporting only: it confers no authority and carries no identity value.
11390
11354
  * @enum {string}
11391
11355
  */
11392
11356
  identityStatus: "not_provided" | "admitted" | "ignored";
@@ -11643,7 +11607,7 @@ interface paths {
11643
11607
  put?: never;
11644
11608
  /**
11645
11609
  * Reset the current browser visitor
11646
- * @description Explicit widget shutdown/logout lifecycle. Revokes the presented browser visitor when it still resolves, without deleting conversation records. The response is idempotent so it cannot reveal whether a visitor secret was valid. Clear the locally stored secret after success; a later history-capable init creates a clean anonymous visitor. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted` | `ignored`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
11610
+ * @description Explicit widget shutdown/logout lifecycle. Revokes the presented browser visitor when it still resolves, without deleting conversation records. The response is idempotent so it cannot reveal whether a visitor secret was valid. Clear the locally stored secret after success; a later history-capable init creates a clean anonymous visitor. Every response carries `X-History-Identity-Status` (`not_provided` | `admitted`) reporting what the server did with a supplied `X-Identity-Proof`, so a widget can tell a verified action from a browser-scoped one. It is exposed via CORS; it grants no authority.
11647
11611
  */
11648
11612
  post: {
11649
11613
  parameters: {
@@ -11720,15 +11684,6 @@ interface paths {
11720
11684
  "application/json": components["schemas"]["Error"];
11721
11685
  };
11722
11686
  };
11723
- /** @description An `X-Identity-Proof` was supplied but end-user identity admission is not enabled for this token owner, so it cannot be evaluated (`identity_proof_not_admitted`). Nothing was read, deleted, or otherwise acted on. Retry without the proof to act at plain browser scope. Distinct from 401 `invalid_identity_proof`, which means the proof WAS evaluated and rejected. */
11724
- 503: {
11725
- headers: {
11726
- [name: string]: unknown;
11727
- };
11728
- content: {
11729
- "application/json": components["schemas"]["Error"];
11730
- };
11731
- };
11732
11687
  };
11733
11688
  };
11734
11689
  delete?: never;
@@ -16295,7 +16250,7 @@ interface paths {
16295
16250
  * @enum {string}
16296
16251
  */
16297
16252
  history?: "inline" | "stored";
16298
- /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
16253
+ /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). A proof that fails verification is rejected with 401 `invalid_identity_proof`. */
16299
16254
  identityProof?: {
16300
16255
  provider: string;
16301
16256
  token: string;
@@ -16768,7 +16723,7 @@ interface paths {
16768
16723
  * @enum {string}
16769
16724
  */
16770
16725
  history?: "inline" | "stored";
16771
- /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). When Identity Exchange admission is disabled for the caller, the proof is accepted but ignored and confers no trust. */
16726
+ /** @description Customer-native auth proof for the Identity Exchange. When present and the surface has a matching integration, the verified tenant/end-user replace any body-asserted tenant/endUser (which are never trusted for web-embedded callers). A proof that fails verification is rejected with 401 `invalid_identity_proof`. */
16772
16727
  identityProof?: {
16773
16728
  provider: string;
16774
16729
  token: string;
package/dist/index.mjs CHANGED
@@ -14829,7 +14829,7 @@ function transformQueryParams(params) {
14829
14829
  return result;
14830
14830
  }
14831
14831
  // src/version.ts
14832
- const SDK_VERSION = "11.19.1";
14832
+ const SDK_VERSION = "11.19.2";
14833
14833
  /**
14834
14834
  * Canonical client identity the API uses for attribution
14835
14835
  * (`detectActorSource` in apps/api/src/lib/audit-log.ts keys `'sdk'` off the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/sdk",
3
- "version": "11.19.1",
3
+ "version": "11.19.2",
4
4
  "type": "module",
5
5
  "description": "TypeScript SDK for the Runtype API with fluent methods. Use it to quickly realize AI products, agents, and workflows.",
6
6
  "main": "dist/index.cjs",
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "dependencies": {},
26
26
  "devDependencies": {
27
- "@runtypelabs/shared": "3.114.1",
27
+ "@runtypelabs/shared": "3.115.0",
28
28
  "openapi-typescript": "^7.13.0",
29
29
  "tsdown": "^0.23.2",
30
30
  "typescript": "^6.0.3",