@ai-matrx/api 0.1.6 → 0.1.8

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 (128) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/account.d.cts +1 -1
  3. package/dist/account.d.ts +1 -1
  4. package/dist/agents.cjs +11 -11
  5. package/dist/agents.d.cts +1 -1
  6. package/dist/agents.d.ts +1 -1
  7. package/dist/agents.js +1 -1
  8. package/dist/ai.cjs +2 -2
  9. package/dist/ai.d.cts +1 -1
  10. package/dist/ai.d.ts +1 -1
  11. package/dist/ai.js +1 -1
  12. package/dist/apps.cjs +5 -5
  13. package/dist/apps.d.cts +1 -1
  14. package/dist/apps.d.ts +1 -1
  15. package/dist/apps.js +1 -1
  16. package/dist/architecture.cjs +10 -10
  17. package/dist/architecture.d.cts +1 -1
  18. package/dist/architecture.d.ts +1 -1
  19. package/dist/architecture.js +1 -1
  20. package/dist/audio.cjs +4 -4
  21. package/dist/audio.d.cts +1 -1
  22. package/dist/audio.d.ts +1 -1
  23. package/dist/audio.js +1 -1
  24. package/dist/chat.cjs +11 -11
  25. package/dist/chat.d.cts +1 -1
  26. package/dist/chat.d.ts +1 -1
  27. package/dist/chat.js +1 -1
  28. package/dist/{chunk-2FJPWNXG.js → chunk-5BBHAAIG.js} +9 -3
  29. package/dist/chunk-7MZPBCFV.js +1 -0
  30. package/dist/chunk-MVXD6WI6.cjs +22 -0
  31. package/dist/{chunk-UO3H55R3.cjs → chunk-NMBDYPFZ.cjs} +9 -3
  32. package/dist/code.cjs +6 -6
  33. package/dist/code.d.cts +1 -1
  34. package/dist/code.d.ts +1 -1
  35. package/dist/code.js +1 -1
  36. package/dist/commerce.d.cts +1 -1
  37. package/dist/commerce.d.ts +1 -1
  38. package/dist/communications.cjs +4 -4
  39. package/dist/communications.d.cts +1 -1
  40. package/dist/communications.d.ts +1 -1
  41. package/dist/communications.js +1 -1
  42. package/dist/computer.cjs +3 -3
  43. package/dist/computer.d.cts +1 -1
  44. package/dist/computer.d.ts +1 -1
  45. package/dist/computer.js +1 -1
  46. package/dist/content.cjs +4 -4
  47. package/dist/content.d.cts +1 -1
  48. package/dist/content.d.ts +1 -1
  49. package/dist/content.js +1 -1
  50. package/dist/credentials.cjs +19 -1
  51. package/dist/credentials.d.cts +1 -1
  52. package/dist/credentials.d.ts +1 -1
  53. package/dist/credentials.js +1 -1
  54. package/dist/crm.cjs +2 -2
  55. package/dist/crm.d.cts +1 -1
  56. package/dist/crm.d.ts +1 -1
  57. package/dist/crm.js +1 -1
  58. package/dist/data.d.cts +1 -1
  59. package/dist/data.d.ts +1 -1
  60. package/dist/education.cjs +4 -4
  61. package/dist/education.d.cts +1 -1
  62. package/dist/education.d.ts +1 -1
  63. package/dist/education.js +1 -1
  64. package/dist/files.cjs +20 -20
  65. package/dist/files.d.cts +1 -1
  66. package/dist/files.d.ts +1 -1
  67. package/dist/files.js +1 -1
  68. package/dist/human-resources.d.cts +1 -1
  69. package/dist/human-resources.d.ts +1 -1
  70. package/dist/{index-Xx6L_pWk.d.cts → index-D_ZjxGwP.d.cts} +5 -0
  71. package/dist/{index-Xx6L_pWk.d.ts → index-D_ZjxGwP.d.ts} +5 -0
  72. package/dist/index.cjs +714 -54
  73. package/dist/index.d.cts +784 -4
  74. package/dist/index.d.ts +784 -4
  75. package/dist/index.js +637 -4
  76. package/dist/integrations.cjs +3 -3
  77. package/dist/integrations.d.cts +1 -1
  78. package/dist/integrations.d.ts +1 -1
  79. package/dist/integrations.js +1 -1
  80. package/dist/intelligence.cjs +19 -8
  81. package/dist/intelligence.d.cts +3 -648
  82. package/dist/intelligence.d.ts +3 -648
  83. package/dist/intelligence.js +14 -3
  84. package/dist/keys.generated-CK_C5UXG.d.cts +658 -0
  85. package/dist/keys.generated-CK_C5UXG.d.ts +658 -0
  86. package/dist/knowledge.cjs +42 -42
  87. package/dist/knowledge.d.cts +1 -1
  88. package/dist/knowledge.d.ts +1 -1
  89. package/dist/knowledge.js +1 -1
  90. package/dist/legal.cjs +6 -6
  91. package/dist/legal.d.cts +1 -1
  92. package/dist/legal.d.ts +1 -1
  93. package/dist/legal.js +1 -1
  94. package/dist/marketing.cjs +76 -76
  95. package/dist/marketing.d.cts +1 -1
  96. package/dist/marketing.d.ts +1 -1
  97. package/dist/marketing.js +1 -1
  98. package/dist/masterwork.cjs +32 -32
  99. package/dist/masterwork.d.cts +1 -1
  100. package/dist/masterwork.d.ts +1 -1
  101. package/dist/masterwork.js +1 -1
  102. package/dist/media.cjs +11 -11
  103. package/dist/media.d.cts +1 -1
  104. package/dist/media.d.ts +1 -1
  105. package/dist/media.js +1 -1
  106. package/dist/platform.cjs +3 -3
  107. package/dist/platform.d.cts +1 -1
  108. package/dist/platform.d.ts +1 -1
  109. package/dist/platform.js +1 -1
  110. package/dist/publish.cjs +7 -7
  111. package/dist/publish.d.cts +1 -1
  112. package/dist/publish.d.ts +1 -1
  113. package/dist/publish.js +1 -1
  114. package/dist/stream.cjs +10 -10
  115. package/dist/stream.d.cts +1 -1
  116. package/dist/stream.d.ts +1 -1
  117. package/dist/stream.js +1 -1
  118. package/dist/web.cjs +26 -26
  119. package/dist/web.d.cts +1 -1
  120. package/dist/web.d.ts +1 -1
  121. package/dist/web.js +1 -1
  122. package/dist/workflows.cjs +13 -13
  123. package/dist/workflows.d.cts +1 -1
  124. package/dist/workflows.d.ts +1 -1
  125. package/dist/workflows.js +1 -1
  126. package/package.json +4 -4
  127. package/dist/chunk-K27FH34N.js +0 -1
  128. package/dist/chunk-PJXXT3GB.cjs +0 -12
package/dist/code.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
3
+ var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/code.ts
@@ -46,7 +46,7 @@ function claudeManagedCapabilities(api, args, options) {
46
46
  }
47
47
  var $claudeManagedStream = { m: "POST", p: "/coding-sessions/claude/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
48
48
  function claudeManagedStream(api, args, options) {
49
- return chunkUO3H55R3_cjs.openStream(api, $claudeManagedStream, args, options);
49
+ return chunkNMBDYPFZ_cjs.openStream(api, $claudeManagedStream, args, options);
50
50
  }
51
51
  var $cancelClaudeManagedRuntime = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
52
52
  function cancelClaudeManagedRuntime(api, args, options) {
@@ -58,7 +58,7 @@ function codexManagedCapabilities(api, args, options) {
58
58
  }
59
59
  var $codexManagedStream = { m: "POST", p: "/coding-sessions/codex/stream", d: "aidream", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
60
60
  function codexManagedStream(api, args, options) {
61
- return chunkUO3H55R3_cjs.openStream(api, $codexManagedStream, args, options);
61
+ return chunkNMBDYPFZ_cjs.openStream(api, $codexManagedStream, args, options);
62
62
  }
63
63
  var $cancelCodexManagedRuntime = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "aidream", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
64
64
  function cancelCodexManagedRuntime(api, args, options) {
@@ -134,7 +134,7 @@ function claudeManagedCapabilitiesOnHostedBox(api, args, options) {
134
134
  }
135
135
  var $claudeManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/claude/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.claude_managed_stream" };
136
136
  function claudeManagedStreamOnHostedBox(api, args, options) {
137
- return chunkUO3H55R3_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
137
+ return chunkNMBDYPFZ_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
138
138
  }
139
139
  var $cancelClaudeManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/claude/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_claude_managed_runtime" };
140
140
  function cancelClaudeManagedRuntimeOnHostedBox(api, args, options) {
@@ -146,7 +146,7 @@ function codexManagedCapabilitiesOnHostedBox(api, args, options) {
146
146
  }
147
147
  var $codexManagedStreamOnHostedBox = { m: "POST", p: "/coding-sessions/codex/stream", d: "hosted-box", a: "user", o: "required", s: "ndjson", n: "code.codex_managed_stream" };
148
148
  function codexManagedStreamOnHostedBox(api, args, options) {
149
- return chunkUO3H55R3_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
149
+ return chunkNMBDYPFZ_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
150
150
  }
151
151
  var $cancelCodexManagedRuntimeOnHostedBox = { m: "POST", p: "/coding-sessions/codex/runtimes/{runtime_id}/cancel", d: "hosted-box", a: "user", o: "required", n: "code.cancel_codex_managed_runtime" };
152
152
  function cancelCodexManagedRuntimeOnHostedBox(api, args, options) {
@@ -370,7 +370,7 @@ function runtimeResumable(api, args, options) {
370
370
  }
371
371
  var $runtimeEvents = { m: "GET", p: "/coding-session/runtime/{runtime_id}/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "code.runtime_events" };
372
372
  function runtimeEvents(api, args, options) {
373
- return chunkUO3H55R3_cjs.openStream(api, $runtimeEvents, args, options);
373
+ return chunkNMBDYPFZ_cjs.openStream(api, $runtimeEvents, args, options);
374
374
  }
375
375
  var $getCodexUsageAllowance = { m: "GET", p: "/codex-usage/allowance", d: "matrx-local", a: "loopback_token", o: "exempt", n: "code.get_codex_usage_allowance" };
376
376
  function getCodexUsageAllowance(api, args, options) {
package/dist/code.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-D_ZjxGwP.cjs';
2
2
  import { JsonValue } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/code.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-D_ZjxGwP.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/code.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-2FJPWNXG.js';
1
+ import { openStream } from './chunk-5BBHAAIG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/code.ts
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions } from './index-D_ZjxGwP.cjs';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions } from './index-D_ZjxGwP.js';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
3
+ var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/communications.ts
@@ -102,7 +102,7 @@ function agentStop(api, args, options) {
102
102
  }
103
103
  var $intelligenceAsk = { m: "POST", p: "/v1/meet/intelligence/ask", d: "aidream", a: "scoped", o: "required", s: "ndjson", n: "communications.intelligence_ask" };
104
104
  function intelligenceAsk(api, args, options) {
105
- return chunkUO3H55R3_cjs.openStream(api, $intelligenceAsk, args, options);
105
+ return chunkNMBDYPFZ_cjs.openStream(api, $intelligenceAsk, args, options);
106
106
  }
107
107
  var $meetingRecord = { m: "GET", p: "/v1/meet/record", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_record" };
108
108
  function meetingRecord(api, args, options) {
@@ -142,11 +142,11 @@ function meetingGoogleCalendar(api, args, options) {
142
142
  }
143
143
  var $meetingBrief = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/brief", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.meeting_brief" };
144
144
  function meetingBrief(api, args, options) {
145
- return chunkUO3H55R3_cjs.openStream(api, $meetingBrief, args, options);
145
+ return chunkNMBDYPFZ_cjs.openStream(api, $meetingBrief, args, options);
146
146
  }
147
147
  var $agendaDraft = { m: "POST", p: "/v1/meet/agenda-draft", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.agenda_draft" };
148
148
  function agendaDraft(api, args, options) {
149
- return chunkUO3H55R3_cjs.openStream(api, $agendaDraft, args, options);
149
+ return chunkNMBDYPFZ_cjs.openStream(api, $agendaDraft, args, options);
150
150
  }
151
151
  var $meetingModerate = { m: "POST", p: "/v1/meet/moderate", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_moderate" };
152
152
  function meetingModerate(api, args, options) {
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.cjs';
2
2
  import { JsonValue, CalendarCreateResult } 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-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.js';
2
2
  import { JsonValue, CalendarCreateResult } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-2FJPWNXG.js';
1
+ import { openStream } from './chunk-5BBHAAIG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/communications.ts
package/dist/computer.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
3
+ var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/computer.ts
@@ -50,11 +50,11 @@ function getAccessLogs(api, args, options) {
50
50
  }
51
51
  var $streamSystemLog = { m: "GET", p: "/logs/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "computer.stream_system_log" };
52
52
  function streamSystemLog(api, args, options) {
53
- return chunkUO3H55R3_cjs.openStream(api, $streamSystemLog, args, options);
53
+ return chunkNMBDYPFZ_cjs.openStream(api, $streamSystemLog, args, options);
54
54
  }
55
55
  var $streamAccessLog = { m: "GET", p: "/logs/access/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "computer.stream_access_log" };
56
56
  function streamAccessLog(api, args, options) {
57
- return chunkUO3H55R3_cjs.openStream(api, $streamAccessLog, args, options);
57
+ return chunkNMBDYPFZ_cjs.openStream(api, $streamAccessLog, args, options);
58
58
  }
59
59
  var $pushNotification = { m: "POST", p: "/notify", d: "matrx-local", a: "loopback_token", o: "exempt", n: "computer.push_notification" };
60
60
  function pushNotification(api, args, options) {
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-D_ZjxGwP.cjs';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-D_ZjxGwP.js';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
package/dist/computer.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-2FJPWNXG.js';
1
+ import { openStream } from './chunk-5BBHAAIG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/computer.ts
package/dist/content.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
3
+ var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/content.ts
@@ -122,15 +122,15 @@ function processBlocks(api, args, options) {
122
122
  }
123
123
  var $processBlocksStream = { m: "POST", p: "/utilities/block-processing/process/stream", d: "aidream", a: "guest", o: "exempt", s: "ndjson", n: "content.process_blocks_stream" };
124
124
  function processBlocksStream(api, args, options) {
125
- return chunkUO3H55R3_cjs.openStream(api, $processBlocksStream, args, options);
125
+ return chunkNMBDYPFZ_cjs.openStream(api, $processBlocksStream, args, options);
126
126
  }
127
127
  var $simulateProviderRetryStream = { m: "POST", p: "/utilities/block-processing/simulate/provider-retry", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "content.simulate_provider_retry_stream" };
128
128
  function simulateProviderRetryStream(api, args, options) {
129
- return chunkUO3H55R3_cjs.openStream(api, $simulateProviderRetryStream, args, options);
129
+ return chunkNMBDYPFZ_cjs.openStream(api, $simulateProviderRetryStream, args, options);
130
130
  }
131
131
  var $processFile = { m: "POST", p: "/content-processing/{cld_file_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "content.process_file" };
132
132
  function processFile(api, args, options) {
133
- return chunkUO3H55R3_cjs.openStream(api, $processFile, args, options);
133
+ return chunkNMBDYPFZ_cjs.openStream(api, $processFile, args, options);
134
134
  }
135
135
  var $generateOffice = { m: "POST", p: "/office/generate", d: "aidream", a: "guest", o: "required", n: "content.generate_office" };
136
136
  function generateOffice(api, args, options) {
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.cjs';
2
2
  import { JsonValue } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/content.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/content.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-2FJPWNXG.js';
1
+ import { openStream } from './chunk-5BBHAAIG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/content.ts
@@ -1,4 +1,22 @@
1
1
  'use strict';
2
2
 
3
- require('./chunk-PJXXT3GB.cjs');
3
+ var chunkMVXD6WI6_cjs = require('./chunk-MVXD6WI6.cjs');
4
4
 
5
+
6
+
7
+ Object.defineProperty(exports, "API_KEY_PREFIX", {
8
+ enumerable: true,
9
+ get: function () { return chunkMVXD6WI6_cjs.API_KEY_PREFIX; }
10
+ });
11
+ Object.defineProperty(exports, "MATRX_HEADERS", {
12
+ enumerable: true,
13
+ get: function () { return chunkMVXD6WI6_cjs.MATRX_HEADERS; }
14
+ });
15
+ Object.defineProperty(exports, "credentialToHeaders", {
16
+ enumerable: true,
17
+ get: function () { return chunkMVXD6WI6_cjs.credentialToHeaders; }
18
+ });
19
+ Object.defineProperty(exports, "toCredentialsPort", {
20
+ enumerable: true,
21
+ get: function () { return chunkMVXD6WI6_cjs.toCredentialsPort; }
22
+ });
@@ -1 +1 @@
1
- export * from '@ai-matrx/auth/credentials';
1
+ export { API_KEY_PREFIX, CredentialsPort, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from '@ai-matrx/auth/credentials';
@@ -1 +1 @@
1
- export * from '@ai-matrx/auth/credentials';
1
+ export { API_KEY_PREFIX, CredentialsPort, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from '@ai-matrx/auth/credentials';
@@ -1 +1 @@
1
- import './chunk-K27FH34N.js';
1
+ export { API_KEY_PREFIX, MATRX_HEADERS, credentialToHeaders, toCredentialsPort } from './chunk-7MZPBCFV.js';
package/dist/crm.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
3
+ var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/crm.ts
@@ -130,7 +130,7 @@ function mediaResearchPreviewDoor(api, args, options) {
130
130
  }
131
131
  var $mediaResearchRunDoor = { m: "POST", p: "/crm/outreach-lists/{list_id}/media-research/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "crm.media_research_run_door" };
132
132
  function mediaResearchRunDoor(api, args, options) {
133
- return chunkUO3H55R3_cjs.openStream(api, $mediaResearchRunDoor, args, options);
133
+ return chunkNMBDYPFZ_cjs.openStream(api, $mediaResearchRunDoor, args, options);
134
134
  }
135
135
  var $previewBulkEnrichment = { m: "POST", p: "/crm/enrichment/bulk/preview", d: "aidream", a: "guest", o: "required", n: "crm.preview_bulk_enrichment" };
136
136
  function previewBulkEnrichment(api, args, options) {
package/dist/crm.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.cjs';
2
2
  import { JsonValue } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/crm.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/crm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-2FJPWNXG.js';
1
+ import { openStream } from './chunk-5BBHAAIG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/crm.ts
package/dist/data.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions } from './index-D_ZjxGwP.cjs';
2
2
  import { JsonValue } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/data.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions } from './index-D_ZjxGwP.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
@@ -1,20 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
3
+ var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/education.ts
7
7
  var $sourceCard = { m: "POST", p: "/education/images/source-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_card" };
8
8
  function sourceCard(api, args, options) {
9
- return chunkUO3H55R3_cjs.openStream(api, $sourceCard, args, options);
9
+ return chunkNMBDYPFZ_cjs.openStream(api, $sourceCard, args, options);
10
10
  }
11
11
  var $generateCard = { m: "POST", p: "/education/images/generate-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.generate_card" };
12
12
  function generateCard(api, args, options) {
13
- return chunkUO3H55R3_cjs.openStream(api, $generateCard, args, options);
13
+ return chunkNMBDYPFZ_cjs.openStream(api, $generateCard, args, options);
14
14
  }
15
15
  var $sourceSet = { m: "POST", p: "/education/images/source-set", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_set" };
16
16
  function sourceSet(api, args, options) {
17
- return chunkUO3H55R3_cjs.openStream(api, $sourceSet, args, options);
17
+ return chunkNMBDYPFZ_cjs.openStream(api, $sourceSet, args, options);
18
18
  }
19
19
  var TABLE = {};
20
20
  function call(api, key, args, options) {
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.cjs';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-D_ZjxGwP.js';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
package/dist/education.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream } from './chunk-2FJPWNXG.js';
1
+ import { openStream } from './chunk-5BBHAAIG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/education.ts
package/dist/files.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkUO3H55R3_cjs = require('./chunk-UO3H55R3.cjs');
3
+ var chunkNMBDYPFZ_cjs = require('./chunk-NMBDYPFZ.cjs');
4
4
  require('./chunk-2SXAAKGV.cjs');
5
5
 
6
6
  // src/generated/files.ts
@@ -10,7 +10,7 @@ function compressPdf(api, args, options) {
10
10
  }
11
11
  var $extractTextFromPdf = { m: "POST", p: "/utilities/pdf/extract-text", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_from_pdf" };
12
12
  function extractTextFromPdf(api, args, options) {
13
- return chunkUO3H55R3_cjs.openStream(api, $extractTextFromPdf, args, options);
13
+ return chunkNMBDYPFZ_cjs.openStream(api, $extractTextFromPdf, args, options);
14
14
  }
15
15
  var $extractPages = { m: "POST", p: "/utilities/pdf/extract-pages", d: "aidream", a: "guest", o: "required", n: "files.extract_pages" };
16
16
  function extractPages(api, args, options) {
@@ -34,7 +34,7 @@ function mergePdfs(api, args, options) {
34
34
  }
35
35
  var $splitPdf = { m: "POST", p: "/utilities/pdf/split", d: "aidream", a: "guest", o: "required", s: "bytes_or_json", n: "files.split_pdf" };
36
36
  function splitPdf(api, args, options) {
37
- return chunkUO3H55R3_cjs.openJsonOrStream(api, $splitPdf, args, options);
37
+ return chunkNMBDYPFZ_cjs.openJsonOrStream(api, $splitPdf, args, options);
38
38
  }
39
39
  var $reorderPages = { m: "POST", p: "/utilities/pdf/reorder-pages", d: "aidream", a: "guest", o: "required", n: "files.reorder_pages" };
40
40
  function reorderPages(api, args, options) {
@@ -70,19 +70,19 @@ function studioRender(api, args, options) {
70
70
  }
71
71
  var $detectRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/detect-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.detect_repeated_regions_endpoint" };
72
72
  function detectRepeatedRegionsEndpoint(api, args, options) {
73
- return chunkUO3H55R3_cjs.openStream(api, $detectRepeatedRegionsEndpoint, args, options);
73
+ return chunkNMBDYPFZ_cjs.openStream(api, $detectRepeatedRegionsEndpoint, args, options);
74
74
  }
75
75
  var $stripRepeatedRegionsEndpoint = { m: "POST", p: "/utilities/pdf/strip-repeated-regions", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.strip_repeated_regions_endpoint" };
76
76
  function stripRepeatedRegionsEndpoint(api, args, options) {
77
- return chunkUO3H55R3_cjs.openStream(api, $stripRepeatedRegionsEndpoint, args, options);
77
+ return chunkNMBDYPFZ_cjs.openStream(api, $stripRepeatedRegionsEndpoint, args, options);
78
78
  }
79
79
  var $classifyPagesEndpoint = { m: "POST", p: "/utilities/pdf/classify-pages", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.classify_pages_endpoint" };
80
80
  function classifyPagesEndpoint(api, args, options) {
81
- return chunkUO3H55R3_cjs.openStream(api, $classifyPagesEndpoint, args, options);
81
+ return chunkNMBDYPFZ_cjs.openStream(api, $classifyPagesEndpoint, args, options);
82
82
  }
83
83
  var $extractReadingOrderEndpoint = { m: "POST", p: "/utilities/pdf/extract-reading-order", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_reading_order_endpoint" };
84
84
  function extractReadingOrderEndpoint(api, args, options) {
85
- return chunkUO3H55R3_cjs.openStream(api, $extractReadingOrderEndpoint, args, options);
85
+ return chunkNMBDYPFZ_cjs.openStream(api, $extractReadingOrderEndpoint, args, options);
86
86
  }
87
87
  var $redactPatternsCatalog = { m: "GET", p: "/utilities/pdf/redact/patterns", d: "aidream", a: "guest", o: "optional", n: "files.redact_patterns_catalog" };
88
88
  function redactPatternsCatalog(api, args, options) {
@@ -114,31 +114,31 @@ function flattenAnnotationsEndpoint(api, args, options) {
114
114
  }
115
115
  var $extractTextRemote = { m: "POST", p: "/utilities/pdf/extract-text-remote", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_text_remote" };
116
116
  function extractTextRemote(api, args, options) {
117
- return chunkUO3H55R3_cjs.openStream(api, $extractTextRemote, args, options);
117
+ return chunkNMBDYPFZ_cjs.openStream(api, $extractTextRemote, args, options);
118
118
  }
119
119
  var $extractTables = { m: "POST", p: "/utilities/pdf/extract-tables", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.extract_tables" };
120
120
  function extractTables(api, args, options) {
121
- return chunkUO3H55R3_cjs.openStream(api, $extractTables, args, options);
121
+ return chunkNMBDYPFZ_cjs.openStream(api, $extractTables, args, options);
122
122
  }
123
123
  var $processWithAi = { m: "POST", p: "/utilities/pdf/process-with-ai", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.process_with_ai" };
124
124
  function processWithAi(api, args, options) {
125
- return chunkUO3H55R3_cjs.openStream(api, $processWithAi, args, options);
125
+ return chunkNMBDYPFZ_cjs.openStream(api, $processWithAi, args, options);
126
126
  }
127
127
  var $fullPipeline = { m: "POST", p: "/utilities/pdf/full-pipeline", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.full_pipeline" };
128
128
  function fullPipeline(api, args, options) {
129
- return chunkUO3H55R3_cjs.openStream(api, $fullPipeline, args, options);
129
+ return chunkNMBDYPFZ_cjs.openStream(api, $fullPipeline, args, options);
130
130
  }
131
131
  var $batchExtract = { m: "POST", p: "/utilities/pdf/batch-extract", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.batch_extract" };
132
132
  function batchExtract(api, args, options) {
133
- return chunkUO3H55R3_cjs.openStream(api, $batchExtract, args, options);
133
+ return chunkNMBDYPFZ_cjs.openStream(api, $batchExtract, args, options);
134
134
  }
135
135
  var $pdfFromImages = { m: "POST", p: "/utilities/pdf/from-images", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.pdf_from_images" };
136
136
  function pdfFromImages(api, args, options) {
137
- return chunkUO3H55R3_cjs.openStream(api, $pdfFromImages, args, options);
137
+ return chunkNMBDYPFZ_cjs.openStream(api, $pdfFromImages, args, options);
138
138
  }
139
139
  var $cleanDocumentContent = { m: "POST", p: "/utilities/pdf/clean-content/{doc_id}", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.clean_document_content" };
140
140
  function cleanDocumentContent(api, args, options) {
141
- return chunkUO3H55R3_cjs.openStream(api, $cleanDocumentContent, args, options);
141
+ return chunkNMBDYPFZ_cjs.openStream(api, $cleanDocumentContent, args, options);
142
142
  }
143
143
  var $listDocuments = { m: "GET", p: "/utilities/pdf/documents", d: "aidream", a: "guest", o: "optional", n: "files.list_documents" };
144
144
  function listDocuments(api, args, options) {
@@ -406,15 +406,15 @@ function getFileLineageSummary(api, args, options) {
406
406
  }
407
407
  var $ingestFileForRag = { m: "POST", p: "/files/{file_id}/ingest", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag" };
408
408
  function ingestFileForRag(api, args, options) {
409
- return chunkUO3H55R3_cjs.openStream(api, $ingestFileForRag, args, options);
409
+ return chunkNMBDYPFZ_cjs.openStream(api, $ingestFileForRag, args, options);
410
410
  }
411
411
  var $ingestFileForRagStream = { m: "POST", p: "/files/{file_id}/ingest/stream", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.ingest_file_for_rag_stream" };
412
412
  function ingestFileForRagStream(api, args, options) {
413
- return chunkUO3H55R3_cjs.openStream(api, $ingestFileForRagStream, args, options);
413
+ return chunkNMBDYPFZ_cjs.openStream(api, $ingestFileForRagStream, args, options);
414
414
  }
415
415
  var $refreshFileRag = { m: "POST", p: "/files/{file_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_file_rag" };
416
416
  function refreshFileRag(api, args, options) {
417
- return chunkUO3H55R3_cjs.openStream(api, $refreshFileRag, args, options);
417
+ return chunkNMBDYPFZ_cjs.openStream(api, $refreshFileRag, args, options);
418
418
  }
419
419
  var $versionsListVersions = { m: "GET", p: "/files/{file_id}/versions", d: "aidream", a: "guest", o: "required", n: "files.versions_list_versions" };
420
420
  function versionsListVersions(api, args, options) {
@@ -546,7 +546,7 @@ function fetchAnalysis(api, args, options) {
546
546
  }
547
547
  var $refreshAnalysis = { m: "POST", p: "/files/{file_id}/analysis/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.refresh_analysis" };
548
548
  function refreshAnalysis(api, args, options) {
549
- return chunkUO3H55R3_cjs.openStream(api, $refreshAnalysis, args, options);
549
+ return chunkNMBDYPFZ_cjs.openStream(api, $refreshAnalysis, args, options);
550
550
  }
551
551
  var $redactMask = { m: "POST", p: "/files/{file_id}/redact/mask", d: "aidream", a: "guest", o: "required", n: "files.redact_mask" };
552
552
  function redactMask(api, args, options) {
@@ -654,7 +654,7 @@ function listOverridesEndpoint(api, args, options) {
654
654
  }
655
655
  var $searchEndpoint = { m: "POST", p: "/files/{file_id}/search", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "files.search_endpoint" };
656
656
  function searchEndpoint(api, args, options) {
657
- return chunkUO3H55R3_cjs.openStream(api, $searchEndpoint, args, options);
657
+ return chunkNMBDYPFZ_cjs.openStream(api, $searchEndpoint, args, options);
658
658
  }
659
659
  var $extractRegionEndpoint = { m: "POST", p: "/files/{file_id}/regions/extract", d: "aidream", a: "guest", o: "required", n: "files.extract_region_endpoint" };
660
660
  function extractRegionEndpoint(api, args, options) {
@@ -882,7 +882,7 @@ function searchSemantic(api, args, options) {
882
882
  }
883
883
  var $downloadStream = { m: "GET", p: "/downloads/stream", d: "matrx-local", a: "loopback_token", o: "exempt", s: "sse", n: "files.download_stream" };
884
884
  function downloadStream(api, args, options) {
885
- return chunkUO3H55R3_cjs.openStream(api, $downloadStream, args, options);
885
+ return chunkNMBDYPFZ_cjs.openStream(api, $downloadStream, args, options);
886
886
  }
887
887
  var $listDownloads = { m: "GET", p: "/downloads", d: "matrx-local", a: "loopback_token", o: "exempt", n: "files.list_downloads" };
888
888
  function listDownloads(api, args, options) {
package/dist/files.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-D_ZjxGwP.cjs';
2
2
  import { JsonValue, Asset, MediaRef, UserAnalysisPreferencesResponse, StorageImportResult } from './schemas.cjs';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/files.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent, J as JsonOrStream } from './index-D_ZjxGwP.js';
2
2
  import { JsonValue, Asset, MediaRef, UserAnalysisPreferencesResponse, StorageImportResult } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/files.js CHANGED
@@ -1,4 +1,4 @@
1
- import { openStream, openJsonOrStream } from './chunk-2FJPWNXG.js';
1
+ import { openStream, openJsonOrStream } from './chunk-5BBHAAIG.js';
2
2
  import './chunk-KIEAFMKB.js';
3
3
 
4
4
  // src/generated/files.ts
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions } from './index-Xx6L_pWk.cjs';
1
+ import { A as Api, C as CallOptions } from './index-D_ZjxGwP.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 } from './index-Xx6L_pWk.js';
1
+ import { A as Api, C as CallOptions } from './index-D_ZjxGwP.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
@@ -16,6 +16,11 @@ interface MatrxStreamEnvelope<TData = unknown> {
16
16
  data: TData;
17
17
  /** Monotonic transport sequence from full envelopes, when supplied. */
18
18
  stream_seq?: number;
19
+ /**
20
+ * The request's latency id, on the ONE frame the server wrote first after the AI
21
+ * provider responded. The client stamps its receipt (LEG 3 of the run's latency).
22
+ */
23
+ latency_mark?: string;
19
24
  }
20
25
  interface MatrxNdjsonIssue {
21
26
  line: string;
@@ -16,6 +16,11 @@ interface MatrxStreamEnvelope<TData = unknown> {
16
16
  data: TData;
17
17
  /** Monotonic transport sequence from full envelopes, when supplied. */
18
18
  stream_seq?: number;
19
+ /**
20
+ * The request's latency id, on the ONE frame the server wrote first after the AI
21
+ * provider responded. The client stamps its receipt (LEG 3 of the run's latency).
22
+ */
23
+ latency_mark?: string;
19
24
  }
20
25
  interface MatrxNdjsonIssue {
21
26
  line: string;