@ai-matrx/api 0.1.9 → 0.1.10

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.
Files changed (135) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/README.md +1 -1
  3. package/dist/account.d.cts +1 -1
  4. package/dist/account.d.ts +1 -1
  5. package/dist/agents.cjs +12 -12
  6. package/dist/agents.d.cts +1 -1
  7. package/dist/agents.d.ts +1 -1
  8. package/dist/agents.js +2 -2
  9. package/dist/ai.cjs +3 -3
  10. package/dist/ai.d.cts +1 -1
  11. package/dist/ai.d.ts +1 -1
  12. package/dist/ai.js +2 -2
  13. package/dist/apps.cjs +6 -6
  14. package/dist/apps.d.cts +1 -1
  15. package/dist/apps.d.ts +1 -1
  16. package/dist/apps.js +2 -2
  17. package/dist/architecture.cjs +11 -11
  18. package/dist/architecture.d.cts +1 -1
  19. package/dist/architecture.d.ts +1 -1
  20. package/dist/architecture.js +2 -2
  21. package/dist/audio.cjs +5 -5
  22. package/dist/audio.d.cts +1 -1
  23. package/dist/audio.d.ts +1 -1
  24. package/dist/audio.js +2 -2
  25. package/dist/chat.cjs +12 -12
  26. package/dist/chat.d.cts +1 -1
  27. package/dist/chat.d.ts +1 -1
  28. package/dist/chat.js +2 -2
  29. package/dist/{chunk-PIVTHTVR.js → chunk-FLANGLCG.js} +260 -36
  30. package/dist/{chunk-KIEAFMKB.js → chunk-PIPE5OML.js} +100 -46
  31. package/dist/{chunk-2SXAAKGV.cjs → chunk-PKYPPATQ.cjs} +100 -45
  32. package/dist/{chunk-PMGKZ4FT.cjs → chunk-SPASYIUH.cjs} +268 -34
  33. package/dist/code.cjs +7 -7
  34. package/dist/code.d.cts +1 -1
  35. package/dist/code.d.ts +1 -1
  36. package/dist/code.js +2 -2
  37. package/dist/commerce.d.cts +1 -1
  38. package/dist/commerce.d.ts +1 -1
  39. package/dist/communications.cjs +5 -5
  40. package/dist/communications.d.cts +1 -1
  41. package/dist/communications.d.ts +1 -1
  42. package/dist/communications.js +2 -2
  43. package/dist/computer.cjs +4 -4
  44. package/dist/computer.d.cts +1 -1
  45. package/dist/computer.d.ts +1 -1
  46. package/dist/computer.js +2 -2
  47. package/dist/content.cjs +5 -5
  48. package/dist/content.d.cts +1 -1
  49. package/dist/content.d.ts +1 -1
  50. package/dist/content.js +2 -2
  51. package/dist/crm.cjs +3 -3
  52. package/dist/crm.d.cts +1 -1
  53. package/dist/crm.d.ts +1 -1
  54. package/dist/crm.js +2 -2
  55. package/dist/data.d.cts +1 -1
  56. package/dist/data.d.ts +1 -1
  57. package/dist/education.cjs +5 -5
  58. package/dist/education.d.cts +1 -1
  59. package/dist/education.d.ts +1 -1
  60. package/dist/education.js +2 -2
  61. package/dist/files.cjs +21 -21
  62. package/dist/files.d.cts +1 -1
  63. package/dist/files.d.ts +1 -1
  64. package/dist/files.js +2 -2
  65. package/dist/human-resources.d.cts +1 -1
  66. package/dist/human-resources.d.ts +1 -1
  67. package/dist/{index-C3ZlP3BI.d.cts → index-Gj30ybjE.d.cts} +42 -3
  68. package/dist/{index-C3ZlP3BI.d.ts → index-Gj30ybjE.d.ts} +42 -3
  69. package/dist/index.cjs +183 -288
  70. package/dist/index.d.cts +129 -180
  71. package/dist/index.d.ts +129 -180
  72. package/dist/index.js +76 -206
  73. package/dist/integrations.cjs +4 -4
  74. package/dist/integrations.d.cts +1 -1
  75. package/dist/integrations.d.ts +1 -1
  76. package/dist/integrations.js +2 -2
  77. package/dist/intelligence.cjs +10 -8
  78. package/dist/intelligence.d.cts +13 -13
  79. package/dist/intelligence.d.ts +13 -13
  80. package/dist/intelligence.js +5 -3
  81. package/dist/{keys.generated-CK_C5UXG.d.cts → keys.generated-DZUiM-uA.d.cts} +5 -3
  82. package/dist/{keys.generated-CK_C5UXG.d.ts → keys.generated-DZUiM-uA.d.ts} +5 -3
  83. package/dist/knowledge.cjs +43 -43
  84. package/dist/knowledge.d.cts +13 -13
  85. package/dist/knowledge.d.ts +13 -13
  86. package/dist/knowledge.js +2 -2
  87. package/dist/legal.cjs +7 -7
  88. package/dist/legal.d.cts +1 -1
  89. package/dist/legal.d.ts +1 -1
  90. package/dist/legal.js +2 -2
  91. package/dist/marketing.cjs +77 -77
  92. package/dist/marketing.d.cts +27 -27
  93. package/dist/marketing.d.ts +27 -27
  94. package/dist/marketing.js +2 -2
  95. package/dist/masterwork.cjs +33 -33
  96. package/dist/masterwork.d.cts +1 -1
  97. package/dist/masterwork.d.ts +1 -1
  98. package/dist/masterwork.js +2 -2
  99. package/dist/media.cjs +12 -12
  100. package/dist/media.d.cts +1 -1
  101. package/dist/media.d.ts +1 -1
  102. package/dist/media.js +2 -2
  103. package/dist/net.cjs +19 -20
  104. package/dist/net.d.cts +41 -41
  105. package/dist/net.d.ts +41 -41
  106. package/dist/net.js +1 -2
  107. package/dist/platform.cjs +4 -4
  108. package/dist/platform.d.cts +1 -1
  109. package/dist/platform.d.ts +1 -1
  110. package/dist/platform.js +2 -2
  111. package/dist/publish.cjs +8 -8
  112. package/dist/publish.d.cts +1 -1
  113. package/dist/publish.d.ts +1 -1
  114. package/dist/publish.js +2 -2
  115. package/dist/schemas.d.cts +78 -15
  116. package/dist/schemas.d.ts +78 -15
  117. package/dist/stream.cjs +11 -11
  118. package/dist/stream.d.cts +1 -1
  119. package/dist/stream.d.ts +1 -1
  120. package/dist/stream.js +2 -2
  121. package/dist/types.cjs +2 -0
  122. package/dist/types.d.cts +49823 -0
  123. package/dist/types.d.ts +49823 -0
  124. package/dist/types.js +1 -0
  125. package/dist/web.cjs +27 -27
  126. package/dist/web.d.cts +17 -17
  127. package/dist/web.d.ts +17 -17
  128. package/dist/web.js +2 -2
  129. package/dist/workflows.cjs +14 -14
  130. package/dist/workflows.d.cts +23 -26
  131. package/dist/workflows.d.ts +23 -26
  132. package/dist/workflows.js +2 -2
  133. package/package.json +14 -4
  134. package/dist/chunk-FNIYADWI.cjs +0 -59
  135. package/dist/chunk-YTEOFGFC.js +0 -57
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.cjs';
2
2
  import { JsonValue } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/platform.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-FLANGLCG.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/platform.ts
5
5
  var $initiateOauth = { m: "GET", p: "/auth/aimatrx", d: "aidream", a: "public", o: "exempt", n: "platform.initiate_oauth" };
package/dist/publish.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkPMGKZ4FT_cjs = require('./chunk-PMGKZ4FT.cjs');
4
- require('./chunk-2SXAAKGV.cjs');
3
+ var chunkSPASYIUH_cjs = require('./chunk-SPASYIUH.cjs');
4
+ require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/publish.ts
7
7
  var $price = { m: "POST", p: "/lulu/price", d: "aidream", a: "user", o: "required", n: "publish.price" };
@@ -126,19 +126,19 @@ function castPreviewEndpoint(api, args, options) {
126
126
  }
127
127
  var $generatePodcastEndpoint = { m: "POST", p: "/podcast/generate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.generate_podcast_endpoint" };
128
128
  function generatePodcastEndpoint(api, args, options) {
129
- return chunkPMGKZ4FT_cjs.openStream(api, $generatePodcastEndpoint, args, options);
129
+ return chunkSPASYIUH_cjs.openStream(api, $generatePodcastEndpoint, args, options);
130
130
  }
131
131
  var $resumePodcastEndpoint = { m: "POST", p: "/podcast/resume/{run_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.resume_podcast_endpoint" };
132
132
  function resumePodcastEndpoint(api, args, options) {
133
- return chunkPMGKZ4FT_cjs.openStream(api, $resumePodcastEndpoint, args, options);
133
+ return chunkSPASYIUH_cjs.openStream(api, $resumePodcastEndpoint, args, options);
134
134
  }
135
135
  var $regenerateAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/regenerate", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.regenerate_asset" };
136
136
  function regenerateAsset(api, args, options) {
137
- return chunkPMGKZ4FT_cjs.openStream(api, $regenerateAsset, args, options);
137
+ return chunkSPASYIUH_cjs.openStream(api, $regenerateAsset, args, options);
138
138
  }
139
139
  var $addAsset = { m: "POST", p: "/podcast/runs/{run_id}/assets/add", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.add_asset" };
140
140
  function addAsset(api, args, options) {
141
- return chunkPMGKZ4FT_cjs.openStream(api, $addAsset, args, options);
141
+ return chunkSPASYIUH_cjs.openStream(api, $addAsset, args, options);
142
142
  }
143
143
  var $reconcilePodcastRun = { m: "POST", p: "/podcast/runs/{run_id}/reconcile", d: "aidream", a: "guest", o: "required", n: "publish.reconcile_podcast_run" };
144
144
  function reconcilePodcastRun(api, args, options) {
@@ -146,11 +146,11 @@ function reconcilePodcastRun(api, args, options) {
146
146
  }
147
147
  var $startRace = { m: "POST", p: "/podcast/races", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.start_race" };
148
148
  function startRace(api, args, options) {
149
- return chunkPMGKZ4FT_cjs.openStream(api, $startRace, args, options);
149
+ return chunkSPASYIUH_cjs.openStream(api, $startRace, args, options);
150
150
  }
151
151
  var $rerunRaceArm = { m: "POST", p: "/podcast/races/{race_id}/arms/{arm}/rerun", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "publish.rerun_race_arm" };
152
152
  function rerunRaceArm(api, args, options) {
153
- return chunkPMGKZ4FT_cjs.openStream(api, $rerunRaceArm, args, options);
153
+ return chunkSPASYIUH_cjs.openStream(api, $rerunRaceArm, args, options);
154
154
  }
155
155
  var $artifactContent = { m: "GET", p: "/artifacts/{artifact_id}/content", d: "matrx-local", a: "loopback_open", o: "exempt", n: "publish.artifact_content" };
156
156
  function artifactContent(api, args, options) {
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.cjs';
2
2
  import { JsonValue, ContextAnchor, Asset } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/publish.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.js';
2
2
  import { JsonValue, ContextAnchor, Asset } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/publish.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-FLANGLCG.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/publish.ts
5
5
  var $price = { m: "POST", p: "/lulu/price", d: "aidream", a: "user", o: "required", n: "publish.price" };
@@ -146,7 +146,7 @@ type AgentStartRequest = {
146
146
  };
147
147
  /** AgentToolSpec */
148
148
  type AgentToolSpec = {
149
- kind?: "agent";
149
+ kind: "agent";
150
150
  /** UUID of the saved agent to project as a tool. */
151
151
  agent_id: string;
152
152
  /** When True, agent_id refers to an agx_version row instead of agx_agent. */
@@ -532,14 +532,14 @@ type ExternalSourceMetadata = {
532
532
  };
533
533
  /** FullListBookmark */
534
534
  type FullListBookmark = {
535
- type?: "full_list";
535
+ type: "full_list";
536
536
  list_id: string;
537
537
  list_name?: string | null;
538
538
  [key: string]: unknown;
539
539
  };
540
540
  /** FullTableBookmark */
541
541
  type FullTableBookmark = {
542
- type?: "full_table";
542
+ type: "full_table";
543
543
  table_id: string;
544
544
  table_name?: string | null;
545
545
  [key: string]: unknown;
@@ -594,7 +594,7 @@ type ImageLora = {
594
594
  };
595
595
  /** InlineToolSpec */
596
596
  type InlineToolSpec = {
597
- kind?: "inline";
597
+ kind: "inline";
598
598
  /** Unique tool name. Must match [a-zA-Z0-9_:-]{1,64}; a ':' namespace separator is serialized to '__' at the provider boundary. */
599
599
  name: string;
600
600
  description?: string;
@@ -722,7 +722,7 @@ type LLMParams = {
722
722
  };
723
723
  /** ListGroupBookmark */
724
724
  type ListGroupBookmark = {
725
- type?: "list_group";
725
+ type: "list_group";
726
726
  list_id: string;
727
727
  group_name: string;
728
728
  list_name?: string | null;
@@ -742,7 +742,7 @@ type ListInputPart = {
742
742
  };
743
743
  /** ListItemBookmark */
744
744
  type ListItemBookmark = {
745
- type?: "list_item";
745
+ type: "list_item";
746
746
  list_id: string;
747
747
  item_id: string;
748
748
  list_name?: string | null;
@@ -905,7 +905,7 @@ type PromptStartRequest = {
905
905
  };
906
906
  /** RegisteredToolSpec */
907
907
  type RegisteredToolSpec = {
908
- kind?: "registered";
908
+ kind: "registered";
909
909
  /** Registry name. Required. tool_id may also be provided for UUID lookup. */
910
910
  name: string;
911
911
  /** Optional registry UUID. When set, takes precedence over name for lookup. */
@@ -1078,7 +1078,7 @@ type SurfaceAmendments = {
1078
1078
  };
1079
1079
  /** TableCellBookmark */
1080
1080
  type TableCellBookmark = {
1081
- type?: "table_cell";
1081
+ type: "table_cell";
1082
1082
  table_id: string;
1083
1083
  row_id: string;
1084
1084
  column_name: string;
@@ -1087,7 +1087,7 @@ type TableCellBookmark = {
1087
1087
  };
1088
1088
  /** TableColumnBookmark */
1089
1089
  type TableColumnBookmark = {
1090
- type?: "table_column";
1090
+ type: "table_column";
1091
1091
  table_id: string;
1092
1092
  column_name: string;
1093
1093
  table_name?: string | null;
@@ -1107,7 +1107,7 @@ type TableInputPart = {
1107
1107
  };
1108
1108
  /** TableRowBookmark */
1109
1109
  type TableRowBookmark = {
1110
- type?: "table_row";
1110
+ type: "table_row";
1111
1111
  table_id: string;
1112
1112
  row_id: string;
1113
1113
  table_name?: string | null;
@@ -1115,7 +1115,7 @@ type TableRowBookmark = {
1115
1115
  };
1116
1116
  /** TableSchemaBookmark */
1117
1117
  type TableSchemaBookmark = {
1118
- type?: "table_schema";
1118
+ type: "table_schema";
1119
1119
  table_id: string;
1120
1120
  table_name?: string | null;
1121
1121
  [key: string]: unknown;
@@ -1254,28 +1254,74 @@ type UserAnalysisPreferencesResponse = {
1254
1254
  };
1255
1255
  /** UserAudioMediaPart */
1256
1256
  type UserAudioMediaPart = {
1257
+ metadata?: {
1258
+ [key: string]: unknown;
1259
+ };
1260
+ origin?: ("matrx" | "external") | null;
1261
+ file_id?: string | null;
1262
+ url?: string | null;
1263
+ base64_data?: string | null;
1264
+ mime_type?: string | null;
1265
+ size_bytes?: number | null;
1266
+ type: "media";
1267
+ kind: "audio";
1268
+ duration_ms?: number | null;
1269
+ transcription_result?: string | null;
1270
+ role?: "lip_sync" | null;
1271
+ } & ({
1257
1272
  url: string;
1258
1273
  } | {
1259
1274
  file_id: string;
1260
1275
  } | {
1261
1276
  base64_data: string;
1262
- };
1277
+ });
1263
1278
  /** UserDocumentMediaPart */
1264
1279
  type UserDocumentMediaPart = {
1280
+ metadata?: {
1281
+ [key: string]: unknown;
1282
+ };
1283
+ origin?: ("matrx" | "external") | null;
1284
+ file_id?: string | null;
1285
+ url?: string | null;
1286
+ base64_data?: string | null;
1287
+ mime_type?: string | null;
1288
+ size_bytes?: number | null;
1289
+ type: "media";
1290
+ kind: "document";
1291
+ width?: number | null;
1292
+ height?: number | null;
1293
+ page_count?: number | null;
1294
+ } & ({
1265
1295
  url: string;
1266
1296
  } | {
1267
1297
  file_id: string;
1268
1298
  } | {
1269
1299
  base64_data: string;
1270
- };
1300
+ });
1271
1301
  /** UserImageMediaPart */
1272
1302
  type UserImageMediaPart = {
1303
+ metadata?: {
1304
+ [key: string]: unknown;
1305
+ };
1306
+ origin?: ("matrx" | "external") | null;
1307
+ file_id?: string | null;
1308
+ url?: string | null;
1309
+ base64_data?: string | null;
1310
+ mime_type?: string | null;
1311
+ size_bytes?: number | null;
1312
+ type: "media";
1313
+ kind: "image";
1314
+ width?: number | null;
1315
+ height?: number | null;
1316
+ role?: ("subject" | "character" | "style" | "mask" | "edit_target" | "composition_control" | "first_frame" | "last_frame" | "asset") | null;
1317
+ name?: string | null;
1318
+ } & ({
1273
1319
  url: string;
1274
1320
  } | {
1275
1321
  file_id: string;
1276
1322
  } | {
1277
1323
  base64_data: string;
1278
- };
1324
+ });
1279
1325
  /** Per-request user-level inclusion / exclusion overrides. */
1280
1326
  type UserOverrides = {
1281
1327
  add?: string[];
@@ -1285,12 +1331,29 @@ type UserOverrides = {
1285
1331
  };
1286
1332
  /** UserVideoMediaPart */
1287
1333
  type UserVideoMediaPart = {
1334
+ metadata?: {
1335
+ [key: string]: unknown;
1336
+ };
1337
+ origin?: ("matrx" | "external") | null;
1338
+ file_id?: string | null;
1339
+ url?: string | null;
1340
+ base64_data?: string | null;
1341
+ mime_type?: string | null;
1342
+ size_bytes?: number | null;
1343
+ type: "media";
1344
+ kind: "video";
1345
+ width?: number | null;
1346
+ height?: number | null;
1347
+ duration_ms?: number | null;
1348
+ role?: ("extend" | "restyle") | null;
1349
+ name?: string | null;
1350
+ } & ({
1288
1351
  url: string;
1289
1352
  } | {
1290
1353
  file_id: string;
1291
1354
  } | {
1292
1355
  base64_data: string;
1293
- };
1356
+ });
1294
1357
  /** UserYouTubeMediaPart */
1295
1358
  type UserYouTubeMediaPart = {
1296
1359
  metadata?: {
package/dist/schemas.d.ts CHANGED
@@ -146,7 +146,7 @@ type AgentStartRequest = {
146
146
  };
147
147
  /** AgentToolSpec */
148
148
  type AgentToolSpec = {
149
- kind?: "agent";
149
+ kind: "agent";
150
150
  /** UUID of the saved agent to project as a tool. */
151
151
  agent_id: string;
152
152
  /** When True, agent_id refers to an agx_version row instead of agx_agent. */
@@ -532,14 +532,14 @@ type ExternalSourceMetadata = {
532
532
  };
533
533
  /** FullListBookmark */
534
534
  type FullListBookmark = {
535
- type?: "full_list";
535
+ type: "full_list";
536
536
  list_id: string;
537
537
  list_name?: string | null;
538
538
  [key: string]: unknown;
539
539
  };
540
540
  /** FullTableBookmark */
541
541
  type FullTableBookmark = {
542
- type?: "full_table";
542
+ type: "full_table";
543
543
  table_id: string;
544
544
  table_name?: string | null;
545
545
  [key: string]: unknown;
@@ -594,7 +594,7 @@ type ImageLora = {
594
594
  };
595
595
  /** InlineToolSpec */
596
596
  type InlineToolSpec = {
597
- kind?: "inline";
597
+ kind: "inline";
598
598
  /** Unique tool name. Must match [a-zA-Z0-9_:-]{1,64}; a ':' namespace separator is serialized to '__' at the provider boundary. */
599
599
  name: string;
600
600
  description?: string;
@@ -722,7 +722,7 @@ type LLMParams = {
722
722
  };
723
723
  /** ListGroupBookmark */
724
724
  type ListGroupBookmark = {
725
- type?: "list_group";
725
+ type: "list_group";
726
726
  list_id: string;
727
727
  group_name: string;
728
728
  list_name?: string | null;
@@ -742,7 +742,7 @@ type ListInputPart = {
742
742
  };
743
743
  /** ListItemBookmark */
744
744
  type ListItemBookmark = {
745
- type?: "list_item";
745
+ type: "list_item";
746
746
  list_id: string;
747
747
  item_id: string;
748
748
  list_name?: string | null;
@@ -905,7 +905,7 @@ type PromptStartRequest = {
905
905
  };
906
906
  /** RegisteredToolSpec */
907
907
  type RegisteredToolSpec = {
908
- kind?: "registered";
908
+ kind: "registered";
909
909
  /** Registry name. Required. tool_id may also be provided for UUID lookup. */
910
910
  name: string;
911
911
  /** Optional registry UUID. When set, takes precedence over name for lookup. */
@@ -1078,7 +1078,7 @@ type SurfaceAmendments = {
1078
1078
  };
1079
1079
  /** TableCellBookmark */
1080
1080
  type TableCellBookmark = {
1081
- type?: "table_cell";
1081
+ type: "table_cell";
1082
1082
  table_id: string;
1083
1083
  row_id: string;
1084
1084
  column_name: string;
@@ -1087,7 +1087,7 @@ type TableCellBookmark = {
1087
1087
  };
1088
1088
  /** TableColumnBookmark */
1089
1089
  type TableColumnBookmark = {
1090
- type?: "table_column";
1090
+ type: "table_column";
1091
1091
  table_id: string;
1092
1092
  column_name: string;
1093
1093
  table_name?: string | null;
@@ -1107,7 +1107,7 @@ type TableInputPart = {
1107
1107
  };
1108
1108
  /** TableRowBookmark */
1109
1109
  type TableRowBookmark = {
1110
- type?: "table_row";
1110
+ type: "table_row";
1111
1111
  table_id: string;
1112
1112
  row_id: string;
1113
1113
  table_name?: string | null;
@@ -1115,7 +1115,7 @@ type TableRowBookmark = {
1115
1115
  };
1116
1116
  /** TableSchemaBookmark */
1117
1117
  type TableSchemaBookmark = {
1118
- type?: "table_schema";
1118
+ type: "table_schema";
1119
1119
  table_id: string;
1120
1120
  table_name?: string | null;
1121
1121
  [key: string]: unknown;
@@ -1254,28 +1254,74 @@ type UserAnalysisPreferencesResponse = {
1254
1254
  };
1255
1255
  /** UserAudioMediaPart */
1256
1256
  type UserAudioMediaPart = {
1257
+ metadata?: {
1258
+ [key: string]: unknown;
1259
+ };
1260
+ origin?: ("matrx" | "external") | null;
1261
+ file_id?: string | null;
1262
+ url?: string | null;
1263
+ base64_data?: string | null;
1264
+ mime_type?: string | null;
1265
+ size_bytes?: number | null;
1266
+ type: "media";
1267
+ kind: "audio";
1268
+ duration_ms?: number | null;
1269
+ transcription_result?: string | null;
1270
+ role?: "lip_sync" | null;
1271
+ } & ({
1257
1272
  url: string;
1258
1273
  } | {
1259
1274
  file_id: string;
1260
1275
  } | {
1261
1276
  base64_data: string;
1262
- };
1277
+ });
1263
1278
  /** UserDocumentMediaPart */
1264
1279
  type UserDocumentMediaPart = {
1280
+ metadata?: {
1281
+ [key: string]: unknown;
1282
+ };
1283
+ origin?: ("matrx" | "external") | null;
1284
+ file_id?: string | null;
1285
+ url?: string | null;
1286
+ base64_data?: string | null;
1287
+ mime_type?: string | null;
1288
+ size_bytes?: number | null;
1289
+ type: "media";
1290
+ kind: "document";
1291
+ width?: number | null;
1292
+ height?: number | null;
1293
+ page_count?: number | null;
1294
+ } & ({
1265
1295
  url: string;
1266
1296
  } | {
1267
1297
  file_id: string;
1268
1298
  } | {
1269
1299
  base64_data: string;
1270
- };
1300
+ });
1271
1301
  /** UserImageMediaPart */
1272
1302
  type UserImageMediaPart = {
1303
+ metadata?: {
1304
+ [key: string]: unknown;
1305
+ };
1306
+ origin?: ("matrx" | "external") | null;
1307
+ file_id?: string | null;
1308
+ url?: string | null;
1309
+ base64_data?: string | null;
1310
+ mime_type?: string | null;
1311
+ size_bytes?: number | null;
1312
+ type: "media";
1313
+ kind: "image";
1314
+ width?: number | null;
1315
+ height?: number | null;
1316
+ role?: ("subject" | "character" | "style" | "mask" | "edit_target" | "composition_control" | "first_frame" | "last_frame" | "asset") | null;
1317
+ name?: string | null;
1318
+ } & ({
1273
1319
  url: string;
1274
1320
  } | {
1275
1321
  file_id: string;
1276
1322
  } | {
1277
1323
  base64_data: string;
1278
- };
1324
+ });
1279
1325
  /** Per-request user-level inclusion / exclusion overrides. */
1280
1326
  type UserOverrides = {
1281
1327
  add?: string[];
@@ -1285,12 +1331,29 @@ type UserOverrides = {
1285
1331
  };
1286
1332
  /** UserVideoMediaPart */
1287
1333
  type UserVideoMediaPart = {
1334
+ metadata?: {
1335
+ [key: string]: unknown;
1336
+ };
1337
+ origin?: ("matrx" | "external") | null;
1338
+ file_id?: string | null;
1339
+ url?: string | null;
1340
+ base64_data?: string | null;
1341
+ mime_type?: string | null;
1342
+ size_bytes?: number | null;
1343
+ type: "media";
1344
+ kind: "video";
1345
+ width?: number | null;
1346
+ height?: number | null;
1347
+ duration_ms?: number | null;
1348
+ role?: ("extend" | "restyle") | null;
1349
+ name?: string | null;
1350
+ } & ({
1288
1351
  url: string;
1289
1352
  } | {
1290
1353
  file_id: string;
1291
1354
  } | {
1292
1355
  base64_data: string;
1293
- };
1356
+ });
1294
1357
  /** UserYouTubeMediaPart */
1295
1358
  type UserYouTubeMediaPart = {
1296
1359
  metadata?: {
package/dist/stream.cjs CHANGED
@@ -1,43 +1,43 @@
1
1
  'use strict';
2
2
 
3
- var chunkPMGKZ4FT_cjs = require('./chunk-PMGKZ4FT.cjs');
4
- require('./chunk-2SXAAKGV.cjs');
3
+ var chunkSPASYIUH_cjs = require('./chunk-SPASYIUH.cjs');
4
+ require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
 
7
7
 
8
8
  Object.defineProperty(exports, "DEFAULT_MATRX_NDJSON_READ_AHEAD", {
9
9
  enumerable: true,
10
- get: function () { return chunkPMGKZ4FT_cjs.DEFAULT_MATRX_NDJSON_READ_AHEAD; }
10
+ get: function () { return chunkSPASYIUH_cjs.DEFAULT_MATRX_NDJSON_READ_AHEAD; }
11
11
  });
12
12
  Object.defineProperty(exports, "createMatrxNdjsonFramer", {
13
13
  enumerable: true,
14
- get: function () { return chunkPMGKZ4FT_cjs.createMatrxNdjsonFramer; }
14
+ get: function () { return chunkSPASYIUH_cjs.createMatrxNdjsonFramer; }
15
15
  });
16
16
  Object.defineProperty(exports, "createMatrxSseFramer", {
17
17
  enumerable: true,
18
- get: function () { return chunkPMGKZ4FT_cjs.createMatrxSseFramer; }
18
+ get: function () { return chunkSPASYIUH_cjs.createMatrxSseFramer; }
19
19
  });
20
20
  Object.defineProperty(exports, "normalizeMatrxStreamEnvelope", {
21
21
  enumerable: true,
22
- get: function () { return chunkPMGKZ4FT_cjs.normalizeMatrxStreamEnvelope; }
22
+ get: function () { return chunkSPASYIUH_cjs.normalizeMatrxStreamEnvelope; }
23
23
  });
24
24
  Object.defineProperty(exports, "openJsonOrStream", {
25
25
  enumerable: true,
26
- get: function () { return chunkPMGKZ4FT_cjs.openJsonOrStream; }
26
+ get: function () { return chunkSPASYIUH_cjs.openJsonOrStream; }
27
27
  });
28
28
  Object.defineProperty(exports, "openStream", {
29
29
  enumerable: true,
30
- get: function () { return chunkPMGKZ4FT_cjs.openStream; }
30
+ get: function () { return chunkSPASYIUH_cjs.openStream; }
31
31
  });
32
32
  Object.defineProperty(exports, "parseMatrxSseFrame", {
33
33
  enumerable: true,
34
- get: function () { return chunkPMGKZ4FT_cjs.parseMatrxSseFrame; }
34
+ get: function () { return chunkSPASYIUH_cjs.parseMatrxSseFrame; }
35
35
  });
36
36
  Object.defineProperty(exports, "readMatrxNdjsonStream", {
37
37
  enumerable: true,
38
- get: function () { return chunkPMGKZ4FT_cjs.readMatrxNdjsonStream; }
38
+ get: function () { return chunkSPASYIUH_cjs.readMatrxNdjsonStream; }
39
39
  });
40
40
  Object.defineProperty(exports, "readMatrxSseStream", {
41
41
  enumerable: true,
42
- get: function () { return chunkPMGKZ4FT_cjs.readMatrxSseStream; }
42
+ get: function () { return chunkSPASYIUH_cjs.readMatrxSseStream; }
43
43
  });
package/dist/stream.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-C3ZlP3BI.cjs';
1
+ export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-Gj30ybjE.cjs';
2
2
  import '@ai-matrx/auth/credentials';
package/dist/stream.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-C3ZlP3BI.js';
1
+ export { a as ApiStream, q as DEFAULT_MATRX_NDJSON_READ_AHEAD, J as JsonOrStream, r as MatrxNdjsonFramer, s as MatrxNdjsonFramerOptions, b as MatrxNdjsonIssue, d as MatrxSseFrame, t as MatrxSseFramer, M as MatrxStreamEnvelope, c as MatrxStreamEnvelopeObservation, N as NdjsonEvent, R as ReadMatrxNdjsonOptions, u as ReadMatrxSseOptions, S as SseEvent, v as createMatrxNdjsonFramer, w as createMatrxSseFramer, x as normalizeMatrxStreamEnvelope, o as openJsonOrStream, p as openStream, y as parseMatrxSseFrame, z as readMatrxNdjsonStream, B as readMatrxSseStream } from './index-Gj30ybjE.js';
2
2
  import '@ai-matrx/auth/credentials';
package/dist/stream.js CHANGED
@@ -1,2 +1,2 @@
1
- export { DEFAULT_MATRX_NDJSON_READ_AHEAD, createMatrxNdjsonFramer, createMatrxSseFramer, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseMatrxSseFrame, readMatrxNdjsonStream, readMatrxSseStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ export { DEFAULT_MATRX_NDJSON_READ_AHEAD, createMatrxNdjsonFramer, createMatrxSseFramer, normalizeMatrxStreamEnvelope, openJsonOrStream, openStream, parseMatrxSseFrame, readMatrxNdjsonStream, readMatrxSseStream } from './chunk-FLANGLCG.js';
2
+ import './chunk-PIPE5OML.js';
package/dist/types.cjs ADDED
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+