@talonic/docs 0.21.62 → 0.21.63

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/content.js CHANGED
@@ -35497,7 +35497,7 @@ var sections54 = [
35497
35497
  method: "GET",
35498
35498
  path: "/v1/account/keys",
35499
35499
  summary: "List the workspace API keys (masked).",
35500
- description: "Requires read scope. The raw secret is never returned \u2014 only a masked prefix, scopes, and usage metadata (is_active, last_used, created_at, revoked_at).",
35500
+ description: "Requires read scope. The raw secret is never returned \u2014 only a masked prefix, scopes, and usage metadata (is_active, last_used, created_at, revoked_at, expires_at).",
35501
35501
  blocks: []
35502
35502
  },
35503
35503
  {
@@ -35505,14 +35505,15 @@ var sections54 = [
35505
35505
  method: "POST",
35506
35506
  path: "/v1/account/keys",
35507
35507
  summary: "Mint a scoped API key. Returns the raw secret once.",
35508
- description: "Requires write scope.",
35508
+ description: "Requires write scope. In an enterprise workspace only Talonic staff may mint keys: a key whose creator is not Talonic staff is refused with `403 INSUFFICIENT_PERMISSIONS`, and keys minted there live at most 90 days.",
35509
35509
  blocks: [
35510
35510
  {
35511
35511
  type: "param-table",
35512
35512
  title: "Body parameters",
35513
35513
  params: [
35514
35514
  { name: "name", type: "string", required: true, description: 'A label for the key (max 255 characters), e.g. "ci-pipeline".' },
35515
- { name: "scopes", type: "string[]", description: "Requested scopes (subset of extract, read, write, operations, billing, delivery, usage, records_write). Defaults to extract, read, write, operations. usage and records_write are granted only when the calling key already holds them (403 scope_not_grantable otherwise)." }
35515
+ { name: "scopes", type: "string[]", description: "Requested scopes (subset of extract, read, write, operations, billing, delivery, usage, records_write). Defaults to extract, read, write, operations. usage and records_write are granted only when the calling key already holds them (403 scope_not_grantable otherwise)." },
35516
+ { name: "expires_at", type: "string", description: "When the key stops working, as an ISO 8601 date or date-time in the future (400 otherwise). Omitted: the key does not expire, except in an enterprise workspace, where it defaults to 90 days from creation and may not be set later than that." }
35516
35517
  ]
35517
35518
  }
35518
35519
  ]
@@ -35536,6 +35537,7 @@ var sections54 = [
35536
35537
  "masked_prefix": "tlnc_a1b2c3...",
35537
35538
  "scopes": ["extract", "read"],
35538
35539
  "created_at": "2026-07-01T10:00:00.000Z",
35540
+ "expires_at": null,
35539
35541
  "warning": "Store this key now. It will not be shown again."
35540
35542
  }`
35541
35543
  },
package/dist/seo.js CHANGED
@@ -10880,6 +10880,14 @@ var openapi_default = {
10880
10880
  "null"
10881
10881
  ],
10882
10882
  format: "date-time"
10883
+ },
10884
+ expires_at: {
10885
+ type: [
10886
+ "string",
10887
+ "null"
10888
+ ],
10889
+ format: "date-time",
10890
+ description: "When the key stops working; null = never."
10883
10891
  }
10884
10892
  }
10885
10893
  }
@@ -10900,7 +10908,7 @@ var openapi_default = {
10900
10908
  post: {
10901
10909
  operationId: "createApiKey",
10902
10910
  summary: "Create an API key",
10903
- description: "Mints a new scoped key for the caller's own customer. The raw `key`\nvalue is returned ONCE and is never retrievable again \u2014 store it\nimmediately. Requires the `write` scope.\n",
10911
+ description: "Mints a new scoped key for the caller's own customer. The raw `key`\nvalue is returned ONCE and is never retrievable again \u2014 store it\nimmediately. Requires the `write` scope. In an enterprise workspace only\nTalonic staff may mint keys: a key whose creator is not Talonic staff\nis refused with `403` (`INSUFFICIENT_PERMISSIONS`), and keys minted\nthere live at most 90 days.\n",
10904
10912
  tags: [
10905
10913
  "Account"
10906
10914
  ],
@@ -10935,6 +10943,11 @@ var openapi_default = {
10935
10943
  "records_write"
10936
10944
  ]
10937
10945
  }
10946
+ },
10947
+ expires_at: {
10948
+ type: "string",
10949
+ format: "date-time",
10950
+ description: "When the key stops working (ISO 8601, in the future; `400` otherwise). Omitted: the key does not expire, except in an enterprise workspace, where it defaults to 90 days from creation and may not be set later than that."
10938
10951
  }
10939
10952
  }
10940
10953
  }
@@ -10974,6 +10987,13 @@ var openapi_default = {
10974
10987
  type: "string",
10975
10988
  format: "date-time"
10976
10989
  },
10990
+ expires_at: {
10991
+ type: [
10992
+ "string",
10993
+ "null"
10994
+ ],
10995
+ format: "date-time"
10996
+ },
10977
10997
  warning: {
10978
10998
  type: "string"
10979
10999
  }
package/openapi.json CHANGED
@@ -10860,6 +10860,14 @@
10860
10860
  "null"
10861
10861
  ],
10862
10862
  "format": "date-time"
10863
+ },
10864
+ "expires_at": {
10865
+ "type": [
10866
+ "string",
10867
+ "null"
10868
+ ],
10869
+ "format": "date-time",
10870
+ "description": "When the key stops working; null = never."
10863
10871
  }
10864
10872
  }
10865
10873
  }
@@ -10880,7 +10888,7 @@
10880
10888
  "post": {
10881
10889
  "operationId": "createApiKey",
10882
10890
  "summary": "Create an API key",
10883
- "description": "Mints a new scoped key for the caller's own customer. The raw `key`\nvalue is returned ONCE and is never retrievable again — store it\nimmediately. Requires the `write` scope.\n",
10891
+ "description": "Mints a new scoped key for the caller's own customer. The raw `key`\nvalue is returned ONCE and is never retrievable again — store it\nimmediately. Requires the `write` scope. In an enterprise workspace only\nTalonic staff may mint keys: a key whose creator is not Talonic staff\nis refused with `403` (`INSUFFICIENT_PERMISSIONS`), and keys minted\nthere live at most 90 days.\n",
10884
10892
  "tags": [
10885
10893
  "Account"
10886
10894
  ],
@@ -10915,6 +10923,11 @@
10915
10923
  "records_write"
10916
10924
  ]
10917
10925
  }
10926
+ },
10927
+ "expires_at": {
10928
+ "type": "string",
10929
+ "format": "date-time",
10930
+ "description": "When the key stops working (ISO 8601, in the future; `400` otherwise). Omitted: the key does not expire, except in an enterprise workspace, where it defaults to 90 days from creation and may not be set later than that."
10918
10931
  }
10919
10932
  }
10920
10933
  }
@@ -10954,6 +10967,13 @@
10954
10967
  "type": "string",
10955
10968
  "format": "date-time"
10956
10969
  },
10970
+ "expires_at": {
10971
+ "type": [
10972
+ "string",
10973
+ "null"
10974
+ ],
10975
+ "format": "date-time"
10976
+ },
10957
10977
  "warning": {
10958
10978
  "type": "string"
10959
10979
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@talonic/docs",
3
- "version": "0.21.62",
3
+ "version": "0.21.63",
4
4
  "description": "Talonic documentation components — API Reference & Platform Guide",
5
5
  "license": "UNLICENSED",
6
6
  "private": false,