@ai-matrx/api 0.1.9 → 0.1.11

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 +11 -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-PMGKZ4FT.cjs → chunk-2ZHIYXHV.cjs} +279 -34
  30. package/dist/{chunk-PIVTHTVR.js → chunk-6KHHHBG5.js} +270 -36
  31. package/dist/{chunk-KIEAFMKB.js → chunk-PIPE5OML.js} +100 -46
  32. package/dist/{chunk-2SXAAKGV.cjs → chunk-PKYPPATQ.cjs} +100 -45
  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 +188 -288
  70. package/dist/index.d.cts +129 -180
  71. package/dist/index.d.ts +129 -180
  72. package/dist/index.js +81 -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 +72245 -0
  123. package/dist/types.d.ts +72245 -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
@@ -143,6 +143,58 @@ function toNetError(err) {
143
143
  );
144
144
  }
145
145
 
146
+ // src/net/retry.ts
147
+ function defaultRetryOn(err) {
148
+ return isNetError(err) && err.retryable;
149
+ }
150
+ function sleep(ms, signal) {
151
+ return new Promise((resolve, reject) => {
152
+ const timer = setTimeout(() => {
153
+ resolve();
154
+ if (signal) signal.removeEventListener("abort", onAbort);
155
+ }, ms);
156
+ const onAbort = () => {
157
+ clearTimeout(timer);
158
+ reject(signal?.reason ?? new Error("Aborted"));
159
+ };
160
+ if (signal) {
161
+ if (signal.aborted) {
162
+ clearTimeout(timer);
163
+ reject(signal.reason);
164
+ } else {
165
+ signal.addEventListener("abort", onAbort, { once: true });
166
+ }
167
+ }
168
+ });
169
+ }
170
+ async function withRetry(fn, opts = {}) {
171
+ const attempts = Math.max(1, opts.attempts ?? 3);
172
+ const initialDelayMs = opts.initialDelayMs ?? 250;
173
+ const maxDelayMs = opts.maxDelayMs ?? 4e3;
174
+ const factor = opts.backoffFactor ?? 2;
175
+ const jitter = Math.max(0, Math.min(1, opts.jitter ?? 0.25));
176
+ const retryOn = opts.retryOn ?? defaultRetryOn;
177
+ let lastErr;
178
+ for (let attempt = 1; attempt <= attempts; attempt++) {
179
+ if (opts.signal?.aborted) throw opts.signal.reason;
180
+ try {
181
+ return await fn(attempt);
182
+ } catch (err) {
183
+ lastErr = err;
184
+ if (attempt === attempts || !retryOn(err)) throw err;
185
+ const base = Math.min(
186
+ maxDelayMs,
187
+ initialDelayMs * Math.pow(factor, attempt - 1)
188
+ );
189
+ const jitterAmount = base * jitter * (Math.random() * 2 - 1);
190
+ const delayMs = Math.max(0, Math.round(base + jitterAmount));
191
+ opts.onRetry?.(attempt, err, delayMs);
192
+ await sleep(delayMs, opts.signal);
193
+ }
194
+ }
195
+ throw lastErr;
196
+ }
197
+
146
198
  // src/net/resilient-fetch.ts
147
199
  var DEFAULTS = {
148
200
  connectTimeoutMs: 15e3,
@@ -211,56 +263,58 @@ async function resilientFetch(url, init = {}, opts = {}) {
211
263
  }
212
264
  }
213
265
 
214
- // src/net/retry.ts
215
- function defaultRetryOn(err) {
216
- return isNetError(err) && err.retryable;
217
- }
218
- function sleep(ms, signal) {
219
- return new Promise((resolve, reject) => {
220
- const timer = setTimeout(() => {
221
- resolve();
222
- if (signal) signal.removeEventListener("abort", onAbort);
223
- }, ms);
224
- const onAbort = () => {
225
- clearTimeout(timer);
226
- reject(signal?.reason ?? new Error("Aborted"));
227
- };
228
- if (signal) {
229
- if (signal.aborted) {
230
- clearTimeout(timer);
231
- reject(signal.reason);
232
- } else {
233
- signal.addEventListener("abort", onAbort, { once: true });
234
- }
266
+ // src/net/stream-monitor.ts
267
+ var DEFAULTS2 = {
268
+ heartbeatTimeoutMs: 3e4,
269
+ maxLifetimeMs: 6e5
270
+ };
271
+ async function* monitorStream(source, opts = {}) {
272
+ const heartbeatTimeoutMs = opts.heartbeatTimeoutMs ?? DEFAULTS2.heartbeatTimeoutMs;
273
+ const maxLifetimeMs = opts.maxLifetimeMs ?? DEFAULTS2.maxLifetimeMs;
274
+ const abort = opts.abortController;
275
+ const startedAt = Date.now();
276
+ const iter = source[Symbol.asyncIterator]();
277
+ while (true) {
278
+ const elapsed = Date.now() - startedAt;
279
+ const remainingLifetime = maxLifetimeMs - elapsed;
280
+ if (remainingLifetime <= 0) {
281
+ abort?.abort("total-timeout");
282
+ throw new TotalTimeoutError(maxLifetimeMs);
235
283
  }
236
- });
237
- }
238
- async function withRetry(fn, opts = {}) {
239
- const attempts = Math.max(1, opts.attempts ?? 3);
240
- const initialDelayMs = opts.initialDelayMs ?? 250;
241
- const maxDelayMs = opts.maxDelayMs ?? 4e3;
242
- const factor = opts.backoffFactor ?? 2;
243
- const jitter = Math.max(0, Math.min(1, opts.jitter ?? 0.25));
244
- const retryOn = opts.retryOn ?? defaultRetryOn;
245
- let lastErr;
246
- for (let attempt = 1; attempt <= attempts; attempt++) {
247
- if (opts.signal?.aborted) throw opts.signal.reason;
284
+ const deadline = Math.min(heartbeatTimeoutMs, remainingLifetime);
285
+ let timer = null;
286
+ let timedOutKind = null;
287
+ const timeoutPromise = new Promise((_, reject) => {
288
+ timer = setTimeout(() => {
289
+ timedOutKind = deadline === remainingLifetime ? "total" : "heartbeat";
290
+ abort?.abort(
291
+ timedOutKind === "total" ? "total-timeout" : "heartbeat-timeout"
292
+ );
293
+ reject(
294
+ timedOutKind === "total" ? new TotalTimeoutError(maxLifetimeMs) : new HeartbeatTimeoutError(heartbeatTimeoutMs)
295
+ );
296
+ }, deadline);
297
+ });
298
+ let result;
248
299
  try {
249
- return await fn(attempt);
300
+ result = await Promise.race([iter.next(), timeoutPromise]);
250
301
  } catch (err) {
251
- lastErr = err;
252
- if (attempt === attempts || !retryOn(err)) throw err;
253
- const base = Math.min(
254
- maxDelayMs,
255
- initialDelayMs * Math.pow(factor, attempt - 1)
256
- );
257
- const jitterAmount = base * jitter * (Math.random() * 2 - 1);
258
- const delayMs = Math.max(0, Math.round(base + jitterAmount));
259
- opts.onRetry?.(attempt, err, delayMs);
260
- await sleep(delayMs, opts.signal);
302
+ if (timer !== null) clearTimeout(timer);
303
+ try {
304
+ const cleanup = iter.return?.(void 0);
305
+ if (cleanup) {
306
+ void Promise.resolve(cleanup).catch(() => {
307
+ });
308
+ }
309
+ } catch {
310
+ }
311
+ throw err;
261
312
  }
313
+ if (timer !== null) clearTimeout(timer);
314
+ if (result.done) return;
315
+ opts.onHeartbeat?.(Date.now());
316
+ yield result.value;
262
317
  }
263
- throw lastErr;
264
318
  }
265
319
 
266
320
  exports.AbortedError = AbortedError;
@@ -274,6 +328,7 @@ exports.TotalTimeoutError = TotalTimeoutError;
274
328
  exports.extractErrorMessage = extractErrorMessage;
275
329
  exports.isNetError = isNetError;
276
330
  exports.isTransportFailure = isTransportFailure;
331
+ exports.monitorStream = monitorStream;
277
332
  exports.resilientFetch = resilientFetch;
278
333
  exports.toNetError = toNetError;
279
334
  exports.withRetry = withRetry;
package/dist/code.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 chunk2ZHIYXHV_cjs = require('./chunk-2ZHIYXHV.cjs');
4
+ require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/code.ts
7
7
  var $codingSessionBridge = { m: "POST", p: "/coding-sessions/bridge", d: "aidream", a: "user", o: "exempt", n: "code.coding_session_bridge" };
@@ -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 chunkPMGKZ4FT_cjs.openStream(api, $claudeManagedStream, args, options);
49
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $codexManagedStream, args, options);
61
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $claudeManagedStreamOnHostedBox, args, options);
137
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $codexManagedStreamOnHostedBox, args, options);
149
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $runtimeEvents, args, options);
373
+ return chunk2ZHIYXHV_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-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-Gj30ybjE.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-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-Gj30ybjE.js';
2
2
  import { JsonValue } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
package/dist/code.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-6KHHHBG5.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/code.ts
5
5
  var $codingSessionBridge = { m: "POST", p: "/coding-sessions/bridge", d: "aidream", a: "user", o: "exempt", n: "code.coding_session_bridge" };
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions } from './index-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions } from './index-Gj30ybjE.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-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions } from './index-Gj30ybjE.js';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
@@ -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 chunk2ZHIYXHV_cjs = require('./chunk-2ZHIYXHV.cjs');
4
+ require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/communications.ts
7
7
  var $conversationRelayPreparation = { m: "POST", p: "/communications/voice/conversation-relay/session-reference", d: "aidream", a: "scoped", o: "required", n: "communications.conversation_relay_preparation" };
@@ -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 chunkPMGKZ4FT_cjs.openStream(api, $intelligenceAsk, args, options);
105
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $meetingBrief, args, options);
145
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $agendaDraft, args, options);
149
+ return chunk2ZHIYXHV_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-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.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-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.js';
2
2
  import { JsonValue, CalendarCreateResult } from './schemas.js';
3
3
  import '@ai-matrx/auth/credentials';
4
4
 
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-6KHHHBG5.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/communications.ts
5
5
  var $conversationRelayPreparation = { m: "POST", p: "/communications/voice/conversation-relay/session-reference", d: "aidream", a: "scoped", o: "required", n: "communications.conversation_relay_preparation" };
package/dist/computer.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 chunk2ZHIYXHV_cjs = require('./chunk-2ZHIYXHV.cjs');
4
+ require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/computer.ts
7
7
  var $localProxyProxyToLocalPc = { m: "GET", p: "/local-proxy/{app_instance_id}/{path}", d: "aidream", a: "guest", o: "required", n: "computer.local_proxy_proxy_to_local_pc" };
@@ -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 chunkPMGKZ4FT_cjs.openStream(api, $streamSystemLog, args, options);
53
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $streamAccessLog, args, options);
57
+ return chunk2ZHIYXHV_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-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-Gj30ybjE.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-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, S as SseEvent } from './index-Gj30ybjE.js';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
package/dist/computer.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-6KHHHBG5.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/computer.ts
5
5
  var $localProxyProxyToLocalPc = { m: "GET", p: "/local-proxy/{app_instance_id}/{path}", d: "aidream", a: "guest", o: "required", n: "computer.local_proxy_proxy_to_local_pc" };
package/dist/content.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 chunk2ZHIYXHV_cjs = require('./chunk-2ZHIYXHV.cjs');
4
+ require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/content.ts
7
7
  var $esignOutsiderOpen = { m: "POST", p: "/esign/signing/outsider/open", d: "aidream", a: "scoped", o: "exempt", n: "content.esign_outsider_open" };
@@ -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 chunkPMGKZ4FT_cjs.openStream(api, $processBlocksStream, args, options);
125
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $simulateProviderRetryStream, args, options);
129
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $processFile, args, options);
133
+ return chunk2ZHIYXHV_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-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
 
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-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/content.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-6KHHHBG5.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/content.ts
5
5
  var $esignOutsiderOpen = { m: "POST", p: "/esign/signing/outsider/open", d: "aidream", a: "scoped", o: "exempt", n: "content.esign_outsider_open" };
package/dist/crm.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 chunk2ZHIYXHV_cjs = require('./chunk-2ZHIYXHV.cjs');
4
+ require('./chunk-PKYPPATQ.cjs');
5
5
 
6
6
  // src/generated/crm.ts
7
7
  var $listSendingIdentities = { m: "GET", p: "/sending-identities", d: "aidream", a: "user", o: "optional", n: "crm.list_sending_identities" };
@@ -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 chunkPMGKZ4FT_cjs.openStream(api, $mediaResearchRunDoor, args, options);
133
+ return chunk2ZHIYXHV_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-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
 
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-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/crm.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-6KHHHBG5.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/crm.ts
5
5
  var $listSendingIdentities = { m: "GET", p: "/sending-identities", d: "aidream", a: "user", o: "optional", n: "crm.list_sending_identities" };
package/dist/data.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { A as Api, C as CallOptions } from './index-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions } from './index-Gj30ybjE.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-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions } from './index-Gj30ybjE.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 chunkPMGKZ4FT_cjs = require('./chunk-PMGKZ4FT.cjs');
4
- require('./chunk-2SXAAKGV.cjs');
3
+ var chunk2ZHIYXHV_cjs = require('./chunk-2ZHIYXHV.cjs');
4
+ require('./chunk-PKYPPATQ.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 chunkPMGKZ4FT_cjs.openStream(api, $sourceCard, args, options);
9
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $generateCard, args, options);
13
+ return chunk2ZHIYXHV_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 chunkPMGKZ4FT_cjs.openStream(api, $sourceSet, args, options);
17
+ return chunk2ZHIYXHV_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-C3ZlP3BI.cjs';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.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-C3ZlP3BI.js';
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-Gj30ybjE.js';
2
2
  import '@ai-matrx/auth/credentials';
3
3
 
4
4
  /**
package/dist/education.js CHANGED
@@ -1,5 +1,5 @@
1
- import { openStream } from './chunk-PIVTHTVR.js';
2
- import './chunk-KIEAFMKB.js';
1
+ import { openStream } from './chunk-6KHHHBG5.js';
2
+ import './chunk-PIPE5OML.js';
3
3
 
4
4
  // src/generated/education.ts
5
5
  var $sourceCard = { m: "POST", p: "/education/images/source-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_card" };