@vitrina/api 15.1.0 → 15.2.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/dist/index.d.cts CHANGED
@@ -178827,6 +178827,764 @@ interface paths {
178827
178827
  patch?: never;
178828
178828
  trace?: never;
178829
178829
  };
178830
+ "/voice-clips": {
178831
+ parameters: {
178832
+ query?: never;
178833
+ header?: never;
178834
+ path?: never;
178835
+ cookie?: never;
178836
+ };
178837
+ /**
178838
+ * List voice clips
178839
+ * @description Every clip in the workspace library, newest first, expired ones included and marked `expired: true`.
178840
+ *
178841
+ * With `live=true` the answer is only the clips that may be SENT now: not expired, and whose model filter is empty or names `model` (case- and whitespace-insensitive). Without `model`, only clips with no model filter qualify. `tag` (comma-separated) keeps clips carrying any of the tags.
178842
+ */
178843
+ get: {
178844
+ parameters: {
178845
+ query?: {
178846
+ /** @description `true` = only the clips that may be sent now: not expired and admitted by `model`. */
178847
+ live?: "true" | "false";
178848
+ /** @description With `live=true`: the model under discussion. Without it only clips with no model filter qualify. */
178849
+ model?: string;
178850
+ /** @description With `live=true`: comma-separated tags; a clip qualifies when it carries any. */
178851
+ tag?: string;
178852
+ };
178853
+ header?: never;
178854
+ path?: never;
178855
+ cookie?: never;
178856
+ };
178857
+ requestBody?: never;
178858
+ responses: {
178859
+ /** @description Voice clips */
178860
+ 200: {
178861
+ headers: {
178862
+ [name: string]: unknown;
178863
+ };
178864
+ content: {
178865
+ /**
178866
+ * @example [
178867
+ * {
178868
+ * "id": "6b0f3c1e-2a4d-4f7e-9b1a-0c2d3e4f5a6b",
178869
+ * "name": "Garantía 6 meses",
178870
+ * "tags": [
178871
+ * "garantia",
178872
+ * "cierre"
178873
+ * ],
178874
+ * "when_to_use": "Cuando el cliente pregunta por la garantía de un seminuevo.",
178875
+ * "expires_at": null,
178876
+ * "expired": false,
178877
+ * "models": [
178878
+ * "iPhone 13",
178879
+ * "iPhone 13 Pro",
178880
+ * "iPhone 14"
178881
+ * ],
178882
+ * "transcript": "Hola, te cuento que todos nuestros equipos tienen seis meses de garantía.",
178883
+ * "mime_type": "audio/ogg",
178884
+ * "byte_size": 48213,
178885
+ * "duration_ms": 12480,
178886
+ * "original_filename": "garantia.ogg",
178887
+ * "created_by": "2f1e0d9c-8b7a-4c6d-9e5f-1a2b3c4d5e6f",
178888
+ * "created_at": "2026-10-28T15:04:05.000Z",
178889
+ * "updated_at": "2026-10-28T15:04:05.000Z"
178890
+ * }
178891
+ * ]
178892
+ */
178893
+ "application/json": {
178894
+ data?: unknown;
178895
+ meta?: {
178896
+ [key: string]: unknown;
178897
+ };
178898
+ };
178899
+ };
178900
+ };
178901
+ /** @description Validation error */
178902
+ 400: {
178903
+ headers: {
178904
+ [name: string]: unknown;
178905
+ };
178906
+ content: {
178907
+ "application/json": components["schemas"]["Error"];
178908
+ };
178909
+ };
178910
+ /** @description Unauthorized */
178911
+ 401: {
178912
+ headers: {
178913
+ [name: string]: unknown;
178914
+ };
178915
+ content: {
178916
+ "application/json": components["schemas"]["Error"];
178917
+ };
178918
+ };
178919
+ /** @description Forbidden */
178920
+ 403: {
178921
+ headers: {
178922
+ [name: string]: unknown;
178923
+ };
178924
+ content: {
178925
+ "application/json": components["schemas"]["Error"];
178926
+ };
178927
+ };
178928
+ /** @description Not found */
178929
+ 404: {
178930
+ headers: {
178931
+ [name: string]: unknown;
178932
+ };
178933
+ content: {
178934
+ "application/json": components["schemas"]["Error"];
178935
+ };
178936
+ };
178937
+ /** @description Conflict (incl. Idempotency-Key reuse with different body) */
178938
+ 409: {
178939
+ headers: {
178940
+ [name: string]: unknown;
178941
+ };
178942
+ content: {
178943
+ "application/json": components["schemas"]["Error"];
178944
+ };
178945
+ };
178946
+ /** @description Rate limited */
178947
+ 429: {
178948
+ headers: {
178949
+ [name: string]: unknown;
178950
+ };
178951
+ content: {
178952
+ "application/json": components["schemas"]["Error"];
178953
+ };
178954
+ };
178955
+ };
178956
+ };
178957
+ put?: never;
178958
+ /**
178959
+ * Upload a voice clip
178960
+ * @description Uploads the audio (`file`: OGG/Opus, MP3, M4A/AAC, WAV, WebM or AMR, at most 16 MB; 415 for another type, 413 above the cap) with its details. The clip is transcribed on upload unless `transcript` is sent; when speech-to-text fails or hears nothing usable, `transcript` is null and can be filled with `PATCH`. `duration_ms` is measured from the audio. `name` defaults to the file name. Answers 201 with the clip.
178961
+ *
178962
+ * **Or a JSON body** (`application/json`) — what an MCP connector sends through `call_operation`, which cannot build multipart: `{ filename, content, content_encoding?, content_type? }` plus the operation's own form fields. `content` is UTF-8 text by default, or base64 when `content_encoding` is `"base64"` (images, PDF, audio, video). The same byte cap applies to the decoded bytes (413 above it); invalid base64 is a 400; the content type defaults from the filename extension.
178963
+ */
178964
+ post: {
178965
+ parameters: {
178966
+ query?: never;
178967
+ header?: {
178968
+ /** @description Replay-safe retries: resending the SAME key with the SAME body returns the original response (`X-Idempotent-Replay: 1`) instead of creating a second copy — safe to send whenever a response might not have arrived. The same key with a DIFFERENT body answers `409 IDEMPOTENCY_KEY_CONFLICT`; use a fresh key per operation. */
178969
+ "Idempotency-Key"?: string;
178970
+ };
178971
+ path?: never;
178972
+ cookie?: never;
178973
+ };
178974
+ requestBody?: {
178975
+ content: {
178976
+ /**
178977
+ * @example {
178978
+ * "file": "(binary audio part)",
178979
+ * "name": "Garantía 6 meses",
178980
+ * "tags": "garantia,cierre",
178981
+ * "when_to_use": "Cuando el cliente pregunta por la garantía."
178982
+ * }
178983
+ */
178984
+ "multipart/form-data": {
178985
+ /** @description Defaults to the file name without its extension. */
178986
+ name?: string;
178987
+ /** @description Labels for finding the clip (stored lower-cased). Multipart: repeat the field, or send a comma-separated or JSON-array string. */
178988
+ tags?: string[];
178989
+ /** @description «Cuándo usarlo»: when this clip fits, for the team and the agent. */
178990
+ when_to_use?: string;
178991
+ /** Format: date-time */
178992
+ expires_at?: string | null;
178993
+ /** @description Model filter: the model names the clip applies to, spelled as in the catalog (`product.model`, e.g. "iPhone 13 Pro"). Empty = any model. Matched case- and whitespace-insensitively. */
178994
+ models?: string[];
178995
+ /** @description What the clip says. When given, speech-to-text is skipped. */
178996
+ transcript?: string;
178997
+ file?: unknown;
178998
+ };
178999
+ /**
179000
+ * @example {
179001
+ * "filename": "garantia.ogg",
179002
+ * "content": "T2dnUwACAAAAAAAAAAA…",
179003
+ * "content_encoding": "base64",
179004
+ * "name": "Garantía 6 meses",
179005
+ * "tags": [
179006
+ * "garantia",
179007
+ * "cierre"
179008
+ * ],
179009
+ * "when_to_use": "Cuando el cliente pregunta por la garantía.",
179010
+ * "models": [
179011
+ * "iPhone 13",
179012
+ * "iPhone 14"
179013
+ * ],
179014
+ * "expires_at": "2026-12-31T23:59:59-03:00"
179015
+ * }
179016
+ */
179017
+ "application/json": {
179018
+ /** @description File name with extension; the content type defaults from it. */
179019
+ filename: string;
179020
+ /** @description The file. UTF-8 text by default; base64 when `content_encoding` is "base64" (images, PDF, audio, video). */
179021
+ content: string;
179022
+ /**
179023
+ * @description `utf8` (default) for text, `base64` for binary files.
179024
+ * @enum {string}
179025
+ */
179026
+ content_encoding?: "utf8" | "base64";
179027
+ /** @description MIME type. Defaults from the extension (.png → image/png, …). */
179028
+ content_type?: string;
179029
+ /** @description Defaults to the file name without its extension. */
179030
+ name?: string;
179031
+ /** @description Labels for finding the clip (stored lower-cased). Multipart: repeat the field, or send a comma-separated or JSON-array string. */
179032
+ tags?: string[];
179033
+ /** @description «Cuándo usarlo»: when this clip fits, for the team and the agent. */
179034
+ when_to_use?: string;
179035
+ /** Format: date-time */
179036
+ expires_at?: string | null;
179037
+ /** @description Model filter: the model names the clip applies to, spelled as in the catalog (`product.model`, e.g. "iPhone 13 Pro"). Empty = any model. Matched case- and whitespace-insensitively. */
179038
+ models?: string[];
179039
+ /** @description What the clip says. When given, speech-to-text is skipped. */
179040
+ transcript?: string;
179041
+ };
179042
+ };
179043
+ };
179044
+ responses: {
179045
+ /** @description The created clip */
179046
+ 201: {
179047
+ headers: {
179048
+ [name: string]: unknown;
179049
+ };
179050
+ content: {
179051
+ /**
179052
+ * @example {
179053
+ * "id": "6b0f3c1e-2a4d-4f7e-9b1a-0c2d3e4f5a6b",
179054
+ * "name": "Garantía 6 meses",
179055
+ * "tags": [
179056
+ * "garantia",
179057
+ * "cierre"
179058
+ * ],
179059
+ * "when_to_use": "Cuando el cliente pregunta por la garantía de un seminuevo.",
179060
+ * "expires_at": null,
179061
+ * "expired": false,
179062
+ * "models": [
179063
+ * "iPhone 13",
179064
+ * "iPhone 13 Pro",
179065
+ * "iPhone 14"
179066
+ * ],
179067
+ * "transcript": "Hola, te cuento que todos nuestros equipos tienen seis meses de garantía.",
179068
+ * "mime_type": "audio/ogg",
179069
+ * "byte_size": 48213,
179070
+ * "duration_ms": 12480,
179071
+ * "original_filename": "garantia.ogg",
179072
+ * "created_by": "2f1e0d9c-8b7a-4c6d-9e5f-1a2b3c4d5e6f",
179073
+ * "created_at": "2026-10-28T15:04:05.000Z",
179074
+ * "updated_at": "2026-10-28T15:04:05.000Z"
179075
+ * }
179076
+ */
179077
+ "application/json": {
179078
+ data?: unknown;
179079
+ };
179080
+ };
179081
+ };
179082
+ /** @description Validation error */
179083
+ 400: {
179084
+ headers: {
179085
+ [name: string]: unknown;
179086
+ };
179087
+ content: {
179088
+ "application/json": components["schemas"]["Error"];
179089
+ };
179090
+ };
179091
+ /** @description Unauthorized */
179092
+ 401: {
179093
+ headers: {
179094
+ [name: string]: unknown;
179095
+ };
179096
+ content: {
179097
+ "application/json": components["schemas"]["Error"];
179098
+ };
179099
+ };
179100
+ /** @description Forbidden */
179101
+ 403: {
179102
+ headers: {
179103
+ [name: string]: unknown;
179104
+ };
179105
+ content: {
179106
+ "application/json": components["schemas"]["Error"];
179107
+ };
179108
+ };
179109
+ /** @description Not found */
179110
+ 404: {
179111
+ headers: {
179112
+ [name: string]: unknown;
179113
+ };
179114
+ content: {
179115
+ "application/json": components["schemas"]["Error"];
179116
+ };
179117
+ };
179118
+ /** @description Conflict (incl. Idempotency-Key reuse with different body) */
179119
+ 409: {
179120
+ headers: {
179121
+ [name: string]: unknown;
179122
+ };
179123
+ content: {
179124
+ "application/json": components["schemas"]["Error"];
179125
+ };
179126
+ };
179127
+ /** @description Rate limited */
179128
+ 429: {
179129
+ headers: {
179130
+ [name: string]: unknown;
179131
+ };
179132
+ content: {
179133
+ "application/json": components["schemas"]["Error"];
179134
+ };
179135
+ };
179136
+ };
179137
+ };
179138
+ delete?: never;
179139
+ options?: never;
179140
+ head?: never;
179141
+ patch?: never;
179142
+ trace?: never;
179143
+ };
179144
+ "/voice-clips/{id}": {
179145
+ parameters: {
179146
+ query?: never;
179147
+ header?: never;
179148
+ path?: never;
179149
+ cookie?: never;
179150
+ };
179151
+ /**
179152
+ * Fetch one voice clip
179153
+ * @description The clip with its details, transcript and `expired` state.
179154
+ */
179155
+ get: {
179156
+ parameters: {
179157
+ query?: never;
179158
+ header?: never;
179159
+ path: {
179160
+ id: string;
179161
+ };
179162
+ cookie?: never;
179163
+ };
179164
+ requestBody?: never;
179165
+ responses: {
179166
+ /** @description The clip */
179167
+ 200: {
179168
+ headers: {
179169
+ [name: string]: unknown;
179170
+ };
179171
+ content: {
179172
+ /**
179173
+ * @example {
179174
+ * "id": "6b0f3c1e-2a4d-4f7e-9b1a-0c2d3e4f5a6b",
179175
+ * "name": "Garantía 6 meses",
179176
+ * "tags": [
179177
+ * "garantia",
179178
+ * "cierre"
179179
+ * ],
179180
+ * "when_to_use": "Cuando el cliente pregunta por la garantía de un seminuevo.",
179181
+ * "expires_at": null,
179182
+ * "expired": false,
179183
+ * "models": [
179184
+ * "iPhone 13",
179185
+ * "iPhone 13 Pro",
179186
+ * "iPhone 14"
179187
+ * ],
179188
+ * "transcript": "Hola, te cuento que todos nuestros equipos tienen seis meses de garantía.",
179189
+ * "mime_type": "audio/ogg",
179190
+ * "byte_size": 48213,
179191
+ * "duration_ms": 12480,
179192
+ * "original_filename": "garantia.ogg",
179193
+ * "created_by": "2f1e0d9c-8b7a-4c6d-9e5f-1a2b3c4d5e6f",
179194
+ * "created_at": "2026-10-28T15:04:05.000Z",
179195
+ * "updated_at": "2026-10-28T15:04:05.000Z"
179196
+ * }
179197
+ */
179198
+ "application/json": {
179199
+ data?: unknown;
179200
+ meta?: {
179201
+ [key: string]: unknown;
179202
+ };
179203
+ };
179204
+ };
179205
+ };
179206
+ /** @description Validation error */
179207
+ 400: {
179208
+ headers: {
179209
+ [name: string]: unknown;
179210
+ };
179211
+ content: {
179212
+ "application/json": components["schemas"]["Error"];
179213
+ };
179214
+ };
179215
+ /** @description Unauthorized */
179216
+ 401: {
179217
+ headers: {
179218
+ [name: string]: unknown;
179219
+ };
179220
+ content: {
179221
+ "application/json": components["schemas"]["Error"];
179222
+ };
179223
+ };
179224
+ /** @description Forbidden */
179225
+ 403: {
179226
+ headers: {
179227
+ [name: string]: unknown;
179228
+ };
179229
+ content: {
179230
+ "application/json": components["schemas"]["Error"];
179231
+ };
179232
+ };
179233
+ /** @description Not found */
179234
+ 404: {
179235
+ headers: {
179236
+ [name: string]: unknown;
179237
+ };
179238
+ content: {
179239
+ "application/json": components["schemas"]["Error"];
179240
+ };
179241
+ };
179242
+ /** @description Conflict (incl. Idempotency-Key reuse with different body) */
179243
+ 409: {
179244
+ headers: {
179245
+ [name: string]: unknown;
179246
+ };
179247
+ content: {
179248
+ "application/json": components["schemas"]["Error"];
179249
+ };
179250
+ };
179251
+ /** @description Rate limited */
179252
+ 429: {
179253
+ headers: {
179254
+ [name: string]: unknown;
179255
+ };
179256
+ content: {
179257
+ "application/json": components["schemas"]["Error"];
179258
+ };
179259
+ };
179260
+ };
179261
+ };
179262
+ put?: never;
179263
+ post?: never;
179264
+ /**
179265
+ * Delete a voice clip
179266
+ * @description Removes the clip and its audio from the library. Voice notes already sent in conversations stay there. To stop offering a clip without losing it, set `expires_at` instead.
179267
+ */
179268
+ delete: {
179269
+ parameters: {
179270
+ query?: never;
179271
+ header?: never;
179272
+ path: {
179273
+ id: string;
179274
+ };
179275
+ cookie?: never;
179276
+ };
179277
+ requestBody?: never;
179278
+ responses: {
179279
+ /** @description No content */
179280
+ 204: {
179281
+ headers: {
179282
+ [name: string]: unknown;
179283
+ };
179284
+ content?: never;
179285
+ };
179286
+ /** @description Validation error */
179287
+ 400: {
179288
+ headers: {
179289
+ [name: string]: unknown;
179290
+ };
179291
+ content: {
179292
+ "application/json": components["schemas"]["Error"];
179293
+ };
179294
+ };
179295
+ /** @description Unauthorized */
179296
+ 401: {
179297
+ headers: {
179298
+ [name: string]: unknown;
179299
+ };
179300
+ content: {
179301
+ "application/json": components["schemas"]["Error"];
179302
+ };
179303
+ };
179304
+ /** @description Forbidden */
179305
+ 403: {
179306
+ headers: {
179307
+ [name: string]: unknown;
179308
+ };
179309
+ content: {
179310
+ "application/json": components["schemas"]["Error"];
179311
+ };
179312
+ };
179313
+ /** @description Not found */
179314
+ 404: {
179315
+ headers: {
179316
+ [name: string]: unknown;
179317
+ };
179318
+ content: {
179319
+ "application/json": components["schemas"]["Error"];
179320
+ };
179321
+ };
179322
+ /** @description Conflict (incl. Idempotency-Key reuse with different body) */
179323
+ 409: {
179324
+ headers: {
179325
+ [name: string]: unknown;
179326
+ };
179327
+ content: {
179328
+ "application/json": components["schemas"]["Error"];
179329
+ };
179330
+ };
179331
+ /** @description Rate limited */
179332
+ 429: {
179333
+ headers: {
179334
+ [name: string]: unknown;
179335
+ };
179336
+ content: {
179337
+ "application/json": components["schemas"]["Error"];
179338
+ };
179339
+ };
179340
+ };
179341
+ };
179342
+ options?: never;
179343
+ head?: never;
179344
+ /**
179345
+ * Edit a voice clip
179346
+ * @description Changes the details and the transcript; the audio itself is replaced by uploading a new clip. `tags` and `models` are replaced wholesale. `expires_at: null` removes the expiry (an expired clip becomes sendable again). At least one field is required.
179347
+ */
179348
+ patch: {
179349
+ parameters: {
179350
+ query?: never;
179351
+ header?: never;
179352
+ path: {
179353
+ id: string;
179354
+ };
179355
+ cookie?: never;
179356
+ };
179357
+ requestBody?: {
179358
+ content: {
179359
+ /**
179360
+ * @example {
179361
+ * "transcript": "Hola, te cuento que todos nuestros equipos tienen seis meses de garantía.",
179362
+ * "expires_at": "2026-11-30T23:59:59-03:00"
179363
+ * }
179364
+ */
179365
+ "application/json": {
179366
+ name?: string;
179367
+ /** @description Labels for finding the clip (stored lower-cased). Multipart: repeat the field, or send a comma-separated or JSON-array string. */
179368
+ tags?: string[];
179369
+ when_to_use?: string;
179370
+ /**
179371
+ * Format: date-time
179372
+ * @description When the clip stops being offered for sending (ISO 8601). Null = never. An expired clip stays in the library, marked `expired`.
179373
+ */
179374
+ expires_at?: string | null;
179375
+ /** @description Model filter: the model names the clip applies to, spelled as in the catalog (`product.model`, e.g. "iPhone 13 Pro"). Empty = any model. Matched case- and whitespace-insensitively. */
179376
+ models?: string[];
179377
+ /** @description The corrected transcript. Empty or null clears it. */
179378
+ transcript?: string | null;
179379
+ };
179380
+ };
179381
+ };
179382
+ responses: {
179383
+ /** @description The updated clip */
179384
+ 200: {
179385
+ headers: {
179386
+ [name: string]: unknown;
179387
+ };
179388
+ content: {
179389
+ /**
179390
+ * @example {
179391
+ * "id": "6b0f3c1e-2a4d-4f7e-9b1a-0c2d3e4f5a6b",
179392
+ * "name": "Garantía 6 meses",
179393
+ * "tags": [
179394
+ * "garantia",
179395
+ * "cierre"
179396
+ * ],
179397
+ * "when_to_use": "Cuando el cliente pregunta por la garantía de un seminuevo.",
179398
+ * "expires_at": null,
179399
+ * "expired": false,
179400
+ * "models": [
179401
+ * "iPhone 13",
179402
+ * "iPhone 13 Pro",
179403
+ * "iPhone 14"
179404
+ * ],
179405
+ * "transcript": "Hola, te cuento que todos nuestros equipos tienen seis meses de garantía.",
179406
+ * "mime_type": "audio/ogg",
179407
+ * "byte_size": 48213,
179408
+ * "duration_ms": 12480,
179409
+ * "original_filename": "garantia.ogg",
179410
+ * "created_by": "2f1e0d9c-8b7a-4c6d-9e5f-1a2b3c4d5e6f",
179411
+ * "created_at": "2026-10-28T15:04:05.000Z",
179412
+ * "updated_at": "2026-10-28T15:04:05.000Z"
179413
+ * }
179414
+ */
179415
+ "application/json": {
179416
+ data?: unknown;
179417
+ meta?: {
179418
+ [key: string]: unknown;
179419
+ };
179420
+ };
179421
+ };
179422
+ };
179423
+ /** @description Validation error */
179424
+ 400: {
179425
+ headers: {
179426
+ [name: string]: unknown;
179427
+ };
179428
+ content: {
179429
+ "application/json": components["schemas"]["Error"];
179430
+ };
179431
+ };
179432
+ /** @description Unauthorized */
179433
+ 401: {
179434
+ headers: {
179435
+ [name: string]: unknown;
179436
+ };
179437
+ content: {
179438
+ "application/json": components["schemas"]["Error"];
179439
+ };
179440
+ };
179441
+ /** @description Forbidden */
179442
+ 403: {
179443
+ headers: {
179444
+ [name: string]: unknown;
179445
+ };
179446
+ content: {
179447
+ "application/json": components["schemas"]["Error"];
179448
+ };
179449
+ };
179450
+ /** @description Not found */
179451
+ 404: {
179452
+ headers: {
179453
+ [name: string]: unknown;
179454
+ };
179455
+ content: {
179456
+ "application/json": components["schemas"]["Error"];
179457
+ };
179458
+ };
179459
+ /** @description Conflict (incl. Idempotency-Key reuse with different body) */
179460
+ 409: {
179461
+ headers: {
179462
+ [name: string]: unknown;
179463
+ };
179464
+ content: {
179465
+ "application/json": components["schemas"]["Error"];
179466
+ };
179467
+ };
179468
+ /** @description Rate limited */
179469
+ 429: {
179470
+ headers: {
179471
+ [name: string]: unknown;
179472
+ };
179473
+ content: {
179474
+ "application/json": components["schemas"]["Error"];
179475
+ };
179476
+ };
179477
+ };
179478
+ };
179479
+ trace?: never;
179480
+ };
179481
+ "/voice-clips/{id}/play-url": {
179482
+ parameters: {
179483
+ query?: never;
179484
+ header?: never;
179485
+ path?: never;
179486
+ cookie?: never;
179487
+ };
179488
+ /**
179489
+ * Get a play URL for a voice clip
179490
+ * @description A short-lived signed URL (15 minutes) to stream or download the audio. Ask for a new one when it expires; do not store it.
179491
+ */
179492
+ get: {
179493
+ parameters: {
179494
+ query?: never;
179495
+ header?: never;
179496
+ path: {
179497
+ id: string;
179498
+ };
179499
+ cookie?: never;
179500
+ };
179501
+ requestBody?: never;
179502
+ responses: {
179503
+ /** @description `{ url, expires_at, mime_type }` */
179504
+ 200: {
179505
+ headers: {
179506
+ [name: string]: unknown;
179507
+ };
179508
+ content: {
179509
+ /**
179510
+ * @example {
179511
+ * "url": "https://storage.example.com/tenants/…/voice-clips/6b0f….ogg?X-Amz-Signature=…",
179512
+ * "expires_at": "2026-10-28T15:19:05.000Z",
179513
+ * "mime_type": "audio/ogg"
179514
+ * }
179515
+ */
179516
+ "application/json": {
179517
+ data?: unknown;
179518
+ meta?: {
179519
+ [key: string]: unknown;
179520
+ };
179521
+ };
179522
+ };
179523
+ };
179524
+ /** @description Validation error */
179525
+ 400: {
179526
+ headers: {
179527
+ [name: string]: unknown;
179528
+ };
179529
+ content: {
179530
+ "application/json": components["schemas"]["Error"];
179531
+ };
179532
+ };
179533
+ /** @description Unauthorized */
179534
+ 401: {
179535
+ headers: {
179536
+ [name: string]: unknown;
179537
+ };
179538
+ content: {
179539
+ "application/json": components["schemas"]["Error"];
179540
+ };
179541
+ };
179542
+ /** @description Forbidden */
179543
+ 403: {
179544
+ headers: {
179545
+ [name: string]: unknown;
179546
+ };
179547
+ content: {
179548
+ "application/json": components["schemas"]["Error"];
179549
+ };
179550
+ };
179551
+ /** @description Not found */
179552
+ 404: {
179553
+ headers: {
179554
+ [name: string]: unknown;
179555
+ };
179556
+ content: {
179557
+ "application/json": components["schemas"]["Error"];
179558
+ };
179559
+ };
179560
+ /** @description Conflict (incl. Idempotency-Key reuse with different body) */
179561
+ 409: {
179562
+ headers: {
179563
+ [name: string]: unknown;
179564
+ };
179565
+ content: {
179566
+ "application/json": components["schemas"]["Error"];
179567
+ };
179568
+ };
179569
+ /** @description Rate limited */
179570
+ 429: {
179571
+ headers: {
179572
+ [name: string]: unknown;
179573
+ };
179574
+ content: {
179575
+ "application/json": components["schemas"]["Error"];
179576
+ };
179577
+ };
179578
+ };
179579
+ };
179580
+ put?: never;
179581
+ post?: never;
179582
+ delete?: never;
179583
+ options?: never;
179584
+ head?: never;
179585
+ patch?: never;
179586
+ trace?: never;
179587
+ };
178830
179588
  "/marketplaces": {
178831
179589
  parameters: {
178832
179590
  query?: never;