@bitbitpress/client 1.1.4 → 1.2.3

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.
@@ -173,6 +173,21 @@ export interface paths {
173
173
  };
174
174
  };
175
175
  };
176
+ /** @description Forbidden errors */
177
+ 403: {
178
+ headers: {
179
+ [name: string]: unknown;
180
+ };
181
+ content: {
182
+ "application/json": {
183
+ /**
184
+ * @example Forbidden: Subscription required
185
+ * @enum {string}
186
+ */
187
+ error: "Forbidden: Subscription required";
188
+ };
189
+ };
190
+ };
176
191
  /** @description Internal server error */
177
192
  500: {
178
193
  headers: {
@@ -275,6 +290,21 @@ export interface paths {
275
290
  };
276
291
  };
277
292
  };
293
+ /** @description Forbidden errors */
294
+ 403: {
295
+ headers: {
296
+ [name: string]: unknown;
297
+ };
298
+ content: {
299
+ "application/json": {
300
+ /**
301
+ * @example Forbidden: Subscription required
302
+ * @enum {string}
303
+ */
304
+ error: "Forbidden: Subscription required";
305
+ };
306
+ };
307
+ };
278
308
  /** @description Internal server error */
279
309
  500: {
280
310
  headers: {
@@ -368,6 +398,21 @@ export interface paths {
368
398
  };
369
399
  };
370
400
  };
401
+ /** @description Forbidden errors */
402
+ 403: {
403
+ headers: {
404
+ [name: string]: unknown;
405
+ };
406
+ content: {
407
+ "application/json": {
408
+ /**
409
+ * @example Forbidden: Subscription required
410
+ * @enum {string}
411
+ */
412
+ error: "Forbidden: Subscription required";
413
+ };
414
+ };
415
+ };
371
416
  /** @description Internal server error */
372
417
  500: {
373
418
  headers: {
@@ -494,6 +539,21 @@ export interface paths {
494
539
  };
495
540
  };
496
541
  };
542
+ /** @description Forbidden errors */
543
+ 403: {
544
+ headers: {
545
+ [name: string]: unknown;
546
+ };
547
+ content: {
548
+ "application/json": {
549
+ /**
550
+ * @example Forbidden: Subscription required
551
+ * @enum {string}
552
+ */
553
+ error: "Forbidden: Subscription required";
554
+ };
555
+ };
556
+ };
497
557
  /** @description Internal server error */
498
558
  500: {
499
559
  headers: {
@@ -590,6 +650,21 @@ export interface paths {
590
650
  };
591
651
  };
592
652
  };
653
+ /** @description Forbidden errors */
654
+ 403: {
655
+ headers: {
656
+ [name: string]: unknown;
657
+ };
658
+ content: {
659
+ "application/json": {
660
+ /**
661
+ * @example Forbidden: Subscription required
662
+ * @enum {string}
663
+ */
664
+ error: "Forbidden: Subscription required";
665
+ };
666
+ };
667
+ };
593
668
  /** @description Internal server error */
594
669
  500: {
595
670
  headers: {
@@ -709,6 +784,21 @@ export interface paths {
709
784
  };
710
785
  };
711
786
  };
787
+ /** @description Forbidden errors */
788
+ 403: {
789
+ headers: {
790
+ [name: string]: unknown;
791
+ };
792
+ content: {
793
+ "application/json": {
794
+ /**
795
+ * @example Forbidden: Subscription required
796
+ * @enum {string}
797
+ */
798
+ error: "Forbidden: Subscription required";
799
+ };
800
+ };
801
+ };
712
802
  /** @description Internal server error */
713
803
  500: {
714
804
  headers: {
@@ -825,6 +915,21 @@ export interface paths {
825
915
  };
826
916
  };
827
917
  };
918
+ /** @description Forbidden errors */
919
+ 403: {
920
+ headers: {
921
+ [name: string]: unknown;
922
+ };
923
+ content: {
924
+ "application/json": {
925
+ /**
926
+ * @example Forbidden: Subscription required
927
+ * @enum {string}
928
+ */
929
+ error: "Forbidden: Subscription required";
930
+ };
931
+ };
932
+ };
828
933
  /** @description Internal server error */
829
934
  500: {
830
935
  headers: {
@@ -997,19 +1102,23 @@ export interface paths {
997
1102
  configurationKeyName?: string;
998
1103
  /** @description How many recent stored synthesis outputs to expose in the streamed `synthesisHistory` / `synthesisHistoryEntries` fields. Defaults to 0 (no history emitted). When > 0, the final data event includes a `synthesisHistoryEntries` array of up to N `{ synthesisOutputId, data }` (most-recent first; each row's payload paired with its output id, so submissions can attach to a specific historical output), and — DEPRECATED, for older app builds — an index-aligned `synthesisHistory` array of the same bare `data` payloads. The first entry is the current synthesis itself — the same payload `data` is derived from — and the remaining entries are older stored rows. */
999
1104
  synthesisHistoryLimit?: number;
1000
- /** @description Per-request overrides for search options. */
1105
+ /** @description Per-request overrides for the entry agent's search options (merged over the config). Deliberately limited to per-request scoping — a recency window and tag filters. Search SHAPE (which data sources, search type, mime/asset types, result/bit counts) is a config-design decision and is NOT overridable per request. */
1001
1106
  searchOptionsOverrides?: {
1002
1107
  /** @description Override for search lookback window in minutes (e.g. 1440 for last 24 hours). */
1003
1108
  lookbackMinutes?: number;
1109
+ /** @description Only include assets carrying at least one of these tags. */
1110
+ includeTags?: string[];
1111
+ /** @description Exclude assets carrying any of these tags. */
1112
+ excludeTags?: string[];
1004
1113
  };
1005
- /** @description Inputs used as context for the synthesis: externalId (article ID), or text (freeform text). */
1114
+ /** @description Inputs used as context for the synthesis. Each agent only receives the input types listed in its own config. Types: text (freeform), externalId (an asset by external id, injected as context), assetIds (comma-separated INTERNAL asset ids, injected as context), synthesisOutputIds (comma-separated SynthesisOutput ids whose data is injected as context), excludeExternalIds / excludeAssetIds (comma-separated ids excluded from search). */
1006
1115
  inputs?: {
1007
1116
  /**
1008
- * @description Type of input: externalId (article) or text (freeform).
1117
+ * @description Input type. externalId = one asset by external id; assetIds = internal asset ids (comma-separated); synthesisOutputIds = prior output ids (comma-separated); text = freeform; excludeExternalIds / excludeAssetIds = ids to exclude from search (comma-separated).
1009
1118
  * @enum {string}
1010
1119
  */
1011
- type: "externalId" | "text" | "excludeExternalIds";
1012
- /** @description External ID (e.g. article) for externalId, freeform text for text, or comma-separated list of external IDs to exclude */
1120
+ type: "externalId" | "text" | "assetIds" | "synthesisOutputIds" | "excludeExternalIds" | "excludeAssetIds";
1121
+ /** @description The input value: an external id / freeform text, or a comma-separated list of ids for assetIds / synthesisOutputIds / excludeExternalIds / excludeAssetIds. */
1013
1122
  value: string;
1014
1123
  }[];
1015
1124
  /** @description Optional output definition. Omit to use the output schema declared on the config named by `configurationKeyName` (`output.outputSchema`). */
@@ -1087,6 +1196,21 @@ export interface paths {
1087
1196
  };
1088
1197
  };
1089
1198
  };
1199
+ /** @description Forbidden errors */
1200
+ 403: {
1201
+ headers: {
1202
+ [name: string]: unknown;
1203
+ };
1204
+ content: {
1205
+ "application/json": {
1206
+ /**
1207
+ * @example Forbidden: Subscription required
1208
+ * @enum {string}
1209
+ */
1210
+ error: "Forbidden: Subscription required";
1211
+ };
1212
+ };
1213
+ };
1090
1214
  /** @description Internal server error */
1091
1215
  500: {
1092
1216
  headers: {
@@ -1150,19 +1274,23 @@ export interface paths {
1150
1274
  keyName: string;
1151
1275
  /** @description How many recent stored synthesis outputs to expose in the streamed `synthesisHistory` / `synthesisHistoryEntries` fields. Defaults to 0. See `/v1/user/synthesize` for the full semantics. */
1152
1276
  synthesisHistoryLimit?: number;
1153
- /** @description Per-request overrides for search options. */
1277
+ /** @description Per-request overrides for the entry agent's search options (merged over the config). Deliberately limited to per-request scoping — a recency window and tag filters. Search SHAPE (which data sources, search type, mime/asset types, result/bit counts) is a config-design decision and is NOT overridable per request. */
1154
1278
  searchOptionsOverrides?: {
1155
1279
  /** @description Override for search lookback window in minutes (e.g. 1440 for last 24 hours). */
1156
1280
  lookbackMinutes?: number;
1281
+ /** @description Only include assets carrying at least one of these tags. */
1282
+ includeTags?: string[];
1283
+ /** @description Exclude assets carrying any of these tags. */
1284
+ excludeTags?: string[];
1157
1285
  };
1158
- /** @description Inputs used as context for the synthesis: externalId (article ID), or text (freeform text). */
1286
+ /** @description Inputs used as context for the synthesis. Each agent only receives the input types listed in its own config. Types: text (freeform), externalId (an asset by external id), assetIds (comma-separated INTERNAL asset ids), synthesisOutputIds (comma-separated SynthesisOutput ids whose data is injected as context), excludeExternalIds / excludeAssetIds (comma-separated ids excluded from search). */
1159
1287
  inputs?: {
1160
1288
  /**
1161
- * @description Type of input: externalId (article) or text (freeform).
1289
+ * @description Input type. externalId = one asset by external id; assetIds = internal asset ids (comma-separated); synthesisOutputIds = prior output ids (comma-separated); text = freeform; excludeExternalIds / excludeAssetIds = ids to exclude from search (comma-separated).
1162
1290
  * @enum {string}
1163
1291
  */
1164
- type: "externalId" | "text" | "excludeExternalIds";
1165
- /** @description External ID (e.g. article) for externalId, freeform text for text, or comma-separated list of external IDs to exclude */
1292
+ type: "externalId" | "text" | "assetIds" | "synthesisOutputIds" | "excludeExternalIds" | "excludeAssetIds";
1293
+ /** @description The input value: an external id / freeform text, or a comma-separated list of ids for assetIds / synthesisOutputIds / excludeExternalIds / excludeAssetIds. */
1166
1294
  value: string;
1167
1295
  }[];
1168
1296
  /** @description Optional output definition. Omit to use the output schema declared on the UI's attached config (`output.outputSchema`). */
@@ -1239,6 +1367,21 @@ export interface paths {
1239
1367
  };
1240
1368
  };
1241
1369
  };
1370
+ /** @description Forbidden errors */
1371
+ 403: {
1372
+ headers: {
1373
+ [name: string]: unknown;
1374
+ };
1375
+ content: {
1376
+ "application/json": {
1377
+ /**
1378
+ * @example Forbidden: Subscription required
1379
+ * @enum {string}
1380
+ */
1381
+ error: "Forbidden: Subscription required";
1382
+ };
1383
+ };
1384
+ };
1242
1385
  /** @description Internal server error */
1243
1386
  500: {
1244
1387
  headers: {
@@ -1393,7 +1536,7 @@ export interface paths {
1393
1536
  * User - Synthesize Piece Audio
1394
1537
  * @description **POST** `/v1/user/synthesis-piece/tts`
1395
1538
  *
1396
- * Mint a short-lived, self-authenticating HLS URL for a published piece's spoken content. A media player calls this when the listener presses play, then plays the returned `url` (via the SDK's `ctx.playMedia`) to stream the synthesized speech on demand. The request REFERENCES the piece's content — omit `field` for the whole piece's spoken content, pass a top-level `field` to scope to it, and/or `index` for a single turn — and the server resolves the turns from the piece itself (so the URL never carries the text). The URL is gated at issue time (a few-minute expiry, and only PUBLISHED pieces), so a fresh URL can't be minted after a piece is unpublished. Note: the URL is an HLS playlist whose audio segments are content-addressed and cached long-lived — a player that already loaded a URL may keep playing that audio from cache after the URL expires or the piece is unpublished.
1539
+ * Mint a short-lived, self-authenticating HLS URL for a published piece's spoken content. A media player calls this when the listener presses play, then plays the returned `url` (via the SDK's `ctx.playMedia`) to stream the synthesized speech on demand. The request REFERENCES the piece's content — omit `field` for the whole piece's spoken content, pass a top-level `field` to scope to it, and/or `index` for a single turn — and the server resolves the turns from the piece itself (so the URL never carries the text). The URL is gated at issue time (it expires ~30 minutes after minting, and only PUBLISHED pieces), so a fresh URL can't be minted after a piece is unpublished. Note: the URL is an HLS playlist whose audio segments are content-addressed and cached long-lived — a player that already loaded a URL may keep playing that audio from cache after the URL expires or the piece is unpublished.
1397
1540
  */
1398
1541
  post: {
1399
1542
  parameters: {
@@ -1485,6 +1628,111 @@ export interface paths {
1485
1628
  patch?: never;
1486
1629
  trace?: never;
1487
1630
  };
1631
+ "/v1/user/synthesis/tts": {
1632
+ parameters: {
1633
+ query?: never;
1634
+ header?: never;
1635
+ path?: never;
1636
+ cookie?: never;
1637
+ };
1638
+ get?: never;
1639
+ put?: never;
1640
+ /**
1641
+ * User - Synthesize Synthesis Output Audio
1642
+ * @description **POST** `/v1/user/synthesis/tts`
1643
+ *
1644
+ * Mint a short-lived, self-authenticating HLS URL for the authenticated app user's own stored synthesis output — the on-request audio entry point a rendered SynthesisUI's `ctx.tts` calls when the listener presses play. The request REFERENCES the output's spoken content by `synthesisOutputId` (the id returned with the synthesis result) — omit `field` for the whole output's spoken content, pass a top-level `field` to scope to it, and/or `index` for a single turn — and the server reloads the turns from the stored output row (so the URL never carries the text). The URL is gated at mint by OWNERSHIP (only the app user who owns the output can mint it) and expires ~30 minutes after minting. Note: the URL is an HLS playlist whose audio segments are content-addressed and cached long-lived — a player that already loaded a URL may keep playing that audio from cache after the URL expires.
1645
+ */
1646
+ post: {
1647
+ parameters: {
1648
+ query?: never;
1649
+ header: {
1650
+ /** @description Bearer token for authentication */
1651
+ authorization: string;
1652
+ };
1653
+ path?: never;
1654
+ cookie?: never;
1655
+ };
1656
+ requestBody: {
1657
+ content: {
1658
+ "application/json": {
1659
+ /** @description The id of the synthesis output to voice (returned with the synthesis result). */
1660
+ synthesisOutputId: string;
1661
+ /** @description Top-level field to voice. Omit for the whole output's spoken content. */
1662
+ field?: string;
1663
+ /** @description A single turn index within the resolved content. Omit for all turns. */
1664
+ index?: number;
1665
+ };
1666
+ };
1667
+ };
1668
+ responses: {
1669
+ /** @description Successful response */
1670
+ 200: {
1671
+ headers: {
1672
+ [name: string]: unknown;
1673
+ };
1674
+ content: {
1675
+ "application/json": {
1676
+ /** @example true */
1677
+ success: boolean;
1678
+ data: {
1679
+ /** @description A short-lived streaming URL to point an `<audio>` element at. */
1680
+ url?: string;
1681
+ /** @description Set instead of `url` when audio can't be produced (output not found/not owned, or the text isn't part of the output). */
1682
+ error?: string;
1683
+ };
1684
+ };
1685
+ };
1686
+ };
1687
+ /** @description Bad request - missing or invalid parameters */
1688
+ 400: {
1689
+ headers: {
1690
+ [name: string]: unknown;
1691
+ };
1692
+ content: {
1693
+ "application/json": {
1694
+ /** @example Bad request */
1695
+ error?: string;
1696
+ };
1697
+ };
1698
+ };
1699
+ /** @description Unauthorized errors */
1700
+ 401: {
1701
+ headers: {
1702
+ [name: string]: unknown;
1703
+ };
1704
+ content: {
1705
+ "application/json": {
1706
+ /**
1707
+ * @example Unauthorized: No authentication token provided
1708
+ * @enum {string}
1709
+ */
1710
+ error?: "Unauthorized: No authentication token provided" | "Unauthorized: Token has expired" | "Unauthorized: Invalid token" | "Unauthorized: Authentication failed";
1711
+ };
1712
+ };
1713
+ };
1714
+ /** @description Internal server error */
1715
+ 500: {
1716
+ headers: {
1717
+ [name: string]: unknown;
1718
+ };
1719
+ content: {
1720
+ "application/json": {
1721
+ /** @example false */
1722
+ success?: boolean;
1723
+ /** @example Internal server error: An unknown error occurred */
1724
+ error?: string;
1725
+ };
1726
+ };
1727
+ };
1728
+ };
1729
+ };
1730
+ delete?: never;
1731
+ options?: never;
1732
+ head?: never;
1733
+ patch?: never;
1734
+ trace?: never;
1735
+ };
1488
1736
  "/v1/user/interactions": {
1489
1737
  parameters: {
1490
1738
  query?: never;
@@ -1577,6 +1825,21 @@ export interface paths {
1577
1825
  };
1578
1826
  };
1579
1827
  };
1828
+ /** @description Forbidden errors */
1829
+ 403: {
1830
+ headers: {
1831
+ [name: string]: unknown;
1832
+ };
1833
+ content: {
1834
+ "application/json": {
1835
+ /**
1836
+ * @example Forbidden: Subscription required
1837
+ * @enum {string}
1838
+ */
1839
+ error: "Forbidden: Subscription required";
1840
+ };
1841
+ };
1842
+ };
1580
1843
  /** @description Internal server error */
1581
1844
  500: {
1582
1845
  headers: {
@@ -1690,6 +1953,21 @@ export interface paths {
1690
1953
  };
1691
1954
  };
1692
1955
  };
1956
+ /** @description Forbidden errors */
1957
+ 403: {
1958
+ headers: {
1959
+ [name: string]: unknown;
1960
+ };
1961
+ content: {
1962
+ "application/json": {
1963
+ /**
1964
+ * @example Forbidden: Subscription required
1965
+ * @enum {string}
1966
+ */
1967
+ error: "Forbidden: Subscription required";
1968
+ };
1969
+ };
1970
+ };
1693
1971
  /** @description Default Response */
1694
1972
  404: {
1695
1973
  headers: {
@@ -1796,6 +2074,21 @@ export interface paths {
1796
2074
  };
1797
2075
  };
1798
2076
  };
2077
+ /** @description Forbidden errors */
2078
+ 403: {
2079
+ headers: {
2080
+ [name: string]: unknown;
2081
+ };
2082
+ content: {
2083
+ "application/json": {
2084
+ /**
2085
+ * @example Forbidden: Subscription required
2086
+ * @enum {string}
2087
+ */
2088
+ error: "Forbidden: Subscription required";
2089
+ };
2090
+ };
2091
+ };
1799
2092
  /** @description Internal server error */
1800
2093
  500: {
1801
2094
  headers: {
@@ -1902,6 +2195,21 @@ export interface paths {
1902
2195
  };
1903
2196
  };
1904
2197
  };
2198
+ /** @description Forbidden errors */
2199
+ 403: {
2200
+ headers: {
2201
+ [name: string]: unknown;
2202
+ };
2203
+ content: {
2204
+ "application/json": {
2205
+ /**
2206
+ * @example Forbidden: Subscription required
2207
+ * @enum {string}
2208
+ */
2209
+ error: "Forbidden: Subscription required";
2210
+ };
2211
+ };
2212
+ };
1905
2213
  /** @description Not found */
1906
2214
  404: {
1907
2215
  headers: {
@@ -2026,248 +2334,18 @@ export interface paths {
2026
2334
  };
2027
2335
  };
2028
2336
  };
2029
- /** @description Internal server error */
2030
- 500: {
2031
- headers: {
2032
- [name: string]: unknown;
2033
- };
2034
- content: {
2035
- "application/json": {
2036
- /** @example false */
2037
- success?: boolean;
2038
- /** @example Internal server error: An unknown error occurred */
2039
- error?: string;
2040
- };
2041
- };
2042
- };
2043
- };
2044
- };
2045
- delete?: never;
2046
- options?: never;
2047
- head?: never;
2048
- patch?: never;
2049
- trace?: never;
2050
- };
2051
- "/v1/user-submissions": {
2052
- parameters: {
2053
- query?: never;
2054
- header?: never;
2055
- path?: never;
2056
- cookie?: never;
2057
- };
2058
- get?: never;
2059
- put?: never;
2060
- /**
2061
- * User Submissions - Create Submission
2062
- * @description **POST** `/v1/user-submissions` Creates a structured user submission and optional presigned file upload URLs.
2063
- */
2064
- post: {
2065
- parameters: {
2066
- query?: never;
2067
- header: {
2068
- authorization: string;
2069
- };
2070
- path?: never;
2071
- cookie?: never;
2072
- };
2073
- requestBody: {
2074
- content: {
2075
- "application/json": {
2076
- synthesisOutputId: string;
2077
- synthesisOutputContentKey?: string;
2078
- data: {
2079
- [key: string]: unknown;
2080
- };
2081
- files?: {
2082
- field: string;
2083
- contentType: string;
2084
- fileName?: string;
2085
- }[];
2086
- };
2087
- };
2088
- };
2089
- responses: {
2090
- /** @description Default Response */
2091
- 200: {
2092
- headers: {
2093
- [name: string]: unknown;
2094
- };
2095
- content: {
2096
- "application/json": {
2097
- success: boolean;
2098
- data: {
2099
- submission: {
2100
- id: string;
2101
- synthesisConfigId: string;
2102
- synthesisOutputId: string;
2103
- synthesisOutputContentKey: string;
2104
- appUserId: string;
2105
- state: string;
2106
- createdAt: string;
2107
- updatedAt?: string;
2108
- } & {
2109
- [key: string]: unknown;
2110
- };
2111
- uploads: {
2112
- field: string;
2113
- s3Key: string;
2114
- uploadUrl: string;
2115
- }[];
2116
- };
2117
- };
2118
- };
2119
- };
2120
- /** @description Bad request - missing or invalid parameters */
2121
- 400: {
2122
- headers: {
2123
- [name: string]: unknown;
2124
- };
2125
- content: {
2126
- "application/json": {
2127
- /** @example Bad request */
2128
- error?: string;
2129
- };
2130
- };
2131
- };
2132
- /** @description Unauthorized errors */
2133
- 401: {
2134
- headers: {
2135
- [name: string]: unknown;
2136
- };
2137
- content: {
2138
- "application/json": {
2139
- /**
2140
- * @example Unauthorized: No authentication token provided
2141
- * @enum {string}
2142
- */
2143
- error?: "Unauthorized: No authentication token provided" | "Unauthorized: Token has expired" | "Unauthorized: Invalid token" | "Unauthorized: Authentication failed";
2144
- };
2145
- };
2146
- };
2147
- /** @description Not found */
2148
- 404: {
2149
- headers: {
2150
- [name: string]: unknown;
2151
- };
2152
- content: {
2153
- "application/json": {
2154
- /** @example Not found */
2155
- error?: string;
2156
- };
2157
- };
2158
- };
2159
- /** @description Internal server error */
2160
- 500: {
2161
- headers: {
2162
- [name: string]: unknown;
2163
- };
2164
- content: {
2165
- "application/json": {
2166
- /** @example false */
2167
- success?: boolean;
2168
- /** @example Internal server error: An unknown error occurred */
2169
- error?: string;
2170
- };
2171
- };
2172
- };
2173
- };
2174
- };
2175
- delete?: never;
2176
- options?: never;
2177
- head?: never;
2178
- patch?: never;
2179
- trace?: never;
2180
- };
2181
- "/v1/user-submission-schemas/{keyName}/submissions": {
2182
- parameters: {
2183
- query?: never;
2184
- header?: never;
2185
- path?: never;
2186
- cookie?: never;
2187
- };
2188
- /**
2189
- * User Submissions - List Live Submissions
2190
- * @description **GET** `/v1/user-submission-schemas/:keyName/submissions` Lists live submissions for a schema. Customer apps cannot read non-live submissions.
2191
- */
2192
- get: {
2193
- parameters: {
2194
- query?: {
2195
- first?: number;
2196
- after?: string;
2197
- };
2198
- header: {
2199
- authorization: string;
2200
- };
2201
- path: {
2202
- keyName: string;
2203
- };
2204
- cookie?: never;
2205
- };
2206
- requestBody?: never;
2207
- responses: {
2208
- /** @description Default Response */
2209
- 200: {
2210
- headers: {
2211
- [name: string]: unknown;
2212
- };
2213
- content: {
2214
- "application/json": {
2215
- success: boolean;
2216
- data: {
2217
- cursor: null | string;
2218
- items: {
2219
- id: string;
2220
- data: {
2221
- [key: string]: unknown;
2222
- };
2223
- files: {
2224
- field: string;
2225
- contentType: string;
2226
- fileName?: string;
2227
- downloadUrl: string;
2228
- }[];
2229
- createdAt: string;
2230
- }[];
2231
- };
2232
- };
2233
- };
2234
- };
2235
- /** @description Bad request - missing or invalid parameters */
2236
- 400: {
2237
- headers: {
2238
- [name: string]: unknown;
2239
- };
2240
- content: {
2241
- "application/json": {
2242
- /** @example Bad request */
2243
- error?: string;
2244
- };
2245
- };
2246
- };
2247
- /** @description Unauthorized errors */
2248
- 401: {
2337
+ /** @description Forbidden errors */
2338
+ 403: {
2249
2339
  headers: {
2250
2340
  [name: string]: unknown;
2251
2341
  };
2252
2342
  content: {
2253
2343
  "application/json": {
2254
2344
  /**
2255
- * @example Unauthorized: No authentication token provided
2345
+ * @example Forbidden: Subscription required
2256
2346
  * @enum {string}
2257
2347
  */
2258
- error?: "Unauthorized: No authentication token provided" | "Unauthorized: Token has expired" | "Unauthorized: Invalid token" | "Unauthorized: Authentication failed";
2259
- };
2260
- };
2261
- };
2262
- /** @description Not found */
2263
- 404: {
2264
- headers: {
2265
- [name: string]: unknown;
2266
- };
2267
- content: {
2268
- "application/json": {
2269
- /** @example Not found */
2270
- error?: string;
2348
+ error: "Forbidden: Subscription required";
2271
2349
  };
2272
2350
  };
2273
2351
  };
@@ -2287,8 +2365,6 @@ export interface paths {
2287
2365
  };
2288
2366
  };
2289
2367
  };
2290
- put?: never;
2291
- post?: never;
2292
2368
  delete?: never;
2293
2369
  options?: never;
2294
2370
  head?: never;