@ai-matrx/api 0.1.22 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +36 -3
- package/dist/account.d.cts +2 -2
- package/dist/account.d.ts +2 -2
- package/dist/agents.cjs +11 -11
- package/dist/agents.d.cts +8 -2
- package/dist/agents.d.ts +8 -2
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +38 -2
- package/dist/ai.d.cts +118 -3
- package/dist/ai.d.ts +118 -3
- package/dist/ai.js +32 -2
- package/dist/apps.cjs +5 -5
- package/dist/apps.d.cts +2 -2
- package/dist/apps.d.ts +2 -2
- package/dist/apps.js +1 -1
- package/dist/architecture.cjs +25 -25
- package/dist/architecture.d.cts +35 -21
- package/dist/architecture.d.ts +35 -21
- package/dist/architecture.js +15 -15
- package/dist/audio.cjs +4 -4
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +1 -1
- package/dist/chat.cjs +23 -11
- package/dist/chat.d.cts +59 -3
- package/dist/chat.d.ts +59 -3
- package/dist/chat.js +12 -2
- package/dist/{chunk-3M4Y376I.js → chunk-E3PGCGP7.js} +1 -1
- package/dist/{chunk-FSXBRXRX.cjs → chunk-ZOZOF5DN.cjs} +1 -1
- package/dist/code.cjs +6 -6
- package/dist/code.d.cts +2 -2
- package/dist/code.d.ts +2 -2
- package/dist/code.js +1 -1
- package/dist/commerce.d.cts +2 -2
- package/dist/commerce.d.ts +2 -2
- package/dist/communications.cjs +4 -4
- package/dist/communications.d.cts +2 -2
- package/dist/communications.d.ts +2 -2
- package/dist/communications.js +1 -1
- package/dist/computer.cjs +4 -4
- package/dist/computer.d.cts +2 -2
- package/dist/computer.d.ts +2 -2
- package/dist/computer.js +1 -1
- package/dist/content.cjs +4 -4
- package/dist/content.d.cts +2 -2
- package/dist/content.d.ts +2 -2
- package/dist/content.js +1 -1
- package/dist/crm.cjs +2 -2
- package/dist/crm.d.cts +2 -2
- package/dist/crm.d.ts +2 -2
- package/dist/crm.js +1 -1
- package/dist/data.cjs +3 -3
- package/dist/data.d.cts +2 -2
- package/dist/data.d.ts +2 -2
- package/dist/data.js +1 -1
- package/dist/education.cjs +4 -4
- package/dist/education.d.cts +2 -2
- package/dist/education.d.ts +2 -2
- package/dist/education.js +1 -1
- package/dist/files.cjs +20 -20
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +1 -1
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-oZNMwcTG.d.cts → index-BgjdVvrS.d.cts} +2 -2
- package/dist/{index-oZNMwcTG.d.ts → index-BgjdVvrS.d.ts} +2 -2
- package/dist/index.cjs +59 -67
- package/dist/index.d.cts +3 -11
- package/dist/index.d.ts +3 -11
- package/dist/index.js +3 -11
- package/dist/integrations.cjs +28 -4
- package/dist/integrations.d.cts +87 -5
- package/dist/integrations.d.ts +87 -5
- package/dist/integrations.js +23 -3
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +6 -2
- package/dist/intelligence.d.ts +6 -2
- package/dist/intelligence.js +1 -1
- package/dist/knowledge.cjs +42 -42
- package/dist/knowledge.d.cts +2 -2
- package/dist/knowledge.d.ts +2 -2
- package/dist/knowledge.js +1 -1
- package/dist/legal.cjs +6 -6
- package/dist/legal.d.cts +2 -2
- package/dist/legal.d.ts +2 -2
- package/dist/legal.js +1 -1
- package/dist/marketing.cjs +128 -76
- package/dist/marketing.d.cts +448 -3
- package/dist/marketing.d.ts +448 -3
- package/dist/marketing.js +45 -2
- package/dist/masterwork.cjs +32 -32
- package/dist/masterwork.d.cts +2 -2
- package/dist/masterwork.d.ts +2 -2
- package/dist/masterwork.js +1 -1
- package/dist/media.cjs +11 -11
- package/dist/media.d.cts +2 -2
- package/dist/media.d.ts +2 -2
- package/dist/media.js +1 -1
- package/dist/platform.cjs +3 -3
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +1 -1
- package/dist/publish.cjs +7 -7
- package/dist/publish.d.cts +2 -2
- package/dist/publish.d.ts +2 -2
- package/dist/publish.js +1 -1
- package/dist/schemas.d.cts +1 -1
- package/dist/schemas.d.ts +1 -1
- package/dist/stream.cjs +10 -10
- package/dist/stream.d.cts +1 -1
- package/dist/stream.d.ts +1 -1
- package/dist/stream.js +1 -1
- package/dist/types.d.cts +516 -20
- package/dist/types.d.ts +516 -20
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +5 -2
- package/dist/web.d.ts +5 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +13 -13
- package/dist/workflows.d.cts +2 -2
- package/dist/workflows.d.ts +2 -2
- package/dist/workflows.js +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var chunkFNIYADWI_cjs = require('./chunk-FNIYADWI.cjs');
|
|
4
4
|
var chunkMVXD6WI6_cjs = require('./chunk-MVXD6WI6.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkZOZOF5DN_cjs = require('./chunk-ZOZOF5DN.cjs');
|
|
6
6
|
var chunk2SXAAKGV_cjs = require('./chunk-2SXAAKGV.cjs');
|
|
7
7
|
var format = require('@ai-matrx/kit/format');
|
|
8
8
|
|
|
@@ -44,7 +44,7 @@ function buildMatrxRequestBody(body, scope) {
|
|
|
44
44
|
}
|
|
45
45
|
const bodyOrganizationId = base.organization_id;
|
|
46
46
|
if (scope.organization_id !== void 0 && bodyOrganizationId !== void 0 && (typeof bodyOrganizationId !== "string" || bodyOrganizationId.trim() !== scope.organization_id)) {
|
|
47
|
-
throw new
|
|
47
|
+
throw new chunkZOZOF5DN_cjs.OrganizationContextError(
|
|
48
48
|
"organization_context_mismatch",
|
|
49
49
|
"Request body organization_id must match the request context organization."
|
|
50
50
|
);
|
|
@@ -116,14 +116,14 @@ function parseMatrxNdjsonResponse(response, signal, hooks = {}) {
|
|
|
116
116
|
};
|
|
117
117
|
async function* events() {
|
|
118
118
|
if (!response.body) {
|
|
119
|
-
throw new
|
|
119
|
+
throw new chunkZOZOF5DN_cjs.BackendApiError({
|
|
120
120
|
code: "internal_error",
|
|
121
121
|
detail: "Response has no body",
|
|
122
122
|
userMessage: "No response received from server"
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
try {
|
|
126
|
-
for await (const envelope of
|
|
126
|
+
for await (const envelope of chunkZOZOF5DN_cjs.readMatrxNdjsonStream(response.body, {
|
|
127
127
|
...signal ? { signal } : {},
|
|
128
128
|
...hooks.onMalformedLine ? { onMalformedLine: hooks.onMalformedLine } : {},
|
|
129
129
|
...hooks.onUnknownEnvelope ? { onUnknownEnvelope: hooks.onUnknownEnvelope } : {}
|
|
@@ -135,7 +135,7 @@ function parseMatrxNdjsonResponse(response, signal, hooks = {}) {
|
|
|
135
135
|
if (signal?.aborted || error instanceof Error && error.name === "AbortError") {
|
|
136
136
|
return;
|
|
137
137
|
}
|
|
138
|
-
const transportError = error instanceof
|
|
138
|
+
const transportError = error instanceof chunkZOZOF5DN_cjs.BackendApiError ? error : new chunkZOZOF5DN_cjs.StreamTransportError({
|
|
139
139
|
detail: error instanceof Error ? error.message : "The response stream ended unexpectedly.",
|
|
140
140
|
details: error,
|
|
141
141
|
...ids.requestId ? { requestId: ids.requestId } : {}
|
|
@@ -152,7 +152,7 @@ async function httpErrorFrom(response) {
|
|
|
152
152
|
const serverDetail = await response.json().catch(() => void 0);
|
|
153
153
|
return {
|
|
154
154
|
type: response.status >= 400 && response.status < 500 ? "validation_error" : "http_error",
|
|
155
|
-
message:
|
|
155
|
+
message: chunkZOZOF5DN_cjs.extractMatrxErrorMessage(serverDetail) ?? bareStatusSentence(response.status),
|
|
156
156
|
status: response.status,
|
|
157
157
|
serverDetail
|
|
158
158
|
};
|
|
@@ -160,7 +160,7 @@ async function httpErrorFrom(response) {
|
|
|
160
160
|
async function executeMatrxCall(request, hooks = {}) {
|
|
161
161
|
const upper = request.method.toUpperCase();
|
|
162
162
|
const sendsBody = request.stream || upper !== "GET" && upper !== "HEAD";
|
|
163
|
-
const { response } = await
|
|
163
|
+
const { response } = await chunkZOZOF5DN_cjs.sendOnWire({
|
|
164
164
|
url: request.url,
|
|
165
165
|
method: request.method,
|
|
166
166
|
headers: request.headers,
|
|
@@ -210,11 +210,11 @@ async function sendMatrxRequest(url, init = {}, options = {}) {
|
|
|
210
210
|
headers[name] = value;
|
|
211
211
|
});
|
|
212
212
|
const fetchOptions = {};
|
|
213
|
-
for (const key of
|
|
213
|
+
for (const key of chunkZOZOF5DN_cjs.WIRE_FETCH_OPTION_KEYS) {
|
|
214
214
|
if (init[key] !== void 0) fetchOptions[key] = init[key];
|
|
215
215
|
}
|
|
216
216
|
try {
|
|
217
|
-
const { response } = await
|
|
217
|
+
const { response } = await chunkZOZOF5DN_cjs.sendOnWire({
|
|
218
218
|
url,
|
|
219
219
|
method: init.method ?? "GET",
|
|
220
220
|
fetchOptions,
|
|
@@ -233,7 +233,7 @@ async function sendMatrxRequest(url, init = {}, options = {}) {
|
|
|
233
233
|
throw callerSignal?.reason instanceof Error ? callerSignal.reason : new DOMException("The request was cancelled.", "AbortError");
|
|
234
234
|
}
|
|
235
235
|
if (options.timeoutMs !== void 0 && chunk2SXAAKGV_cjs.isNetError(error) && (error.code === "connect-timeout" || error.code === "total-timeout")) {
|
|
236
|
-
throw new
|
|
236
|
+
throw new chunkZOZOF5DN_cjs.BackendApiError({
|
|
237
237
|
code: "request_timeout",
|
|
238
238
|
detail: `${init.method ?? "GET"} ${url} exceeded ${options.timeoutMs}ms`,
|
|
239
239
|
userMessage: "The request timed out \u2014 please retry.",
|
|
@@ -247,7 +247,7 @@ async function sendMatrxRequest(url, init = {}, options = {}) {
|
|
|
247
247
|
}
|
|
248
248
|
}
|
|
249
249
|
async function readMatrxJsonResponse(response) {
|
|
250
|
-
if (!response.ok) throw await
|
|
250
|
+
if (!response.ok) throw await chunkZOZOF5DN_cjs.parseHttpError(response);
|
|
251
251
|
if (response.status === 204) return null;
|
|
252
252
|
return await response.json();
|
|
253
253
|
}
|
|
@@ -257,7 +257,7 @@ function classifyStatus(status) {
|
|
|
257
257
|
return status >= 400 && status < 500 ? "validation_error" : "http_error";
|
|
258
258
|
}
|
|
259
259
|
function normalizeMatrxError(err) {
|
|
260
|
-
if (err instanceof
|
|
260
|
+
if (err instanceof chunkZOZOF5DN_cjs.OrganizationContextError) {
|
|
261
261
|
return {
|
|
262
262
|
type: "validation_error",
|
|
263
263
|
message: err.message,
|
|
@@ -269,7 +269,7 @@ function normalizeMatrxError(err) {
|
|
|
269
269
|
if (err instanceof DOMException && err.name === "AbortError") {
|
|
270
270
|
return { type: "abort_error", message: "Request was cancelled." };
|
|
271
271
|
}
|
|
272
|
-
if (err instanceof
|
|
272
|
+
if (err instanceof chunkZOZOF5DN_cjs.MatrxApiError) {
|
|
273
273
|
return {
|
|
274
274
|
type: classifyStatus(err.status),
|
|
275
275
|
message: honestTransportMessage(err.message, err.status),
|
|
@@ -279,7 +279,7 @@ function normalizeMatrxError(err) {
|
|
|
279
279
|
name: err.name
|
|
280
280
|
};
|
|
281
281
|
}
|
|
282
|
-
if (err instanceof
|
|
282
|
+
if (err instanceof chunkZOZOF5DN_cjs.BackendApiError) {
|
|
283
283
|
return {
|
|
284
284
|
type: "network_error",
|
|
285
285
|
message: honestTransportMessage(
|
|
@@ -375,9 +375,9 @@ function createMatrxTransport(options) {
|
|
|
375
375
|
const resolve = resolveTarget ?? (() => ({ baseUrl }));
|
|
376
376
|
const resolveOrganizationId = (callOrganizationId) => {
|
|
377
377
|
if (organizationId === void 0) return null;
|
|
378
|
-
if (callOrganizationId !== null) return
|
|
378
|
+
if (callOrganizationId !== null) return chunkZOZOF5DN_cjs.requireOrganizationContext(callOrganizationId);
|
|
379
379
|
const candidate = typeof organizationId === "function" ? organizationId() : organizationId;
|
|
380
|
-
return
|
|
380
|
+
return chunkZOZOF5DN_cjs.requireOrganizationContext(candidate);
|
|
381
381
|
};
|
|
382
382
|
return {
|
|
383
383
|
async fetch(path, init) {
|
|
@@ -388,7 +388,7 @@ function createMatrxTransport(options) {
|
|
|
388
388
|
let overHeaders = callOrganizationId === null ? policyHeaders : stripOrganizationHeader(policyHeaders);
|
|
389
389
|
const orgId = resolveOrganizationId(callOrganizationId);
|
|
390
390
|
if (orgId !== null) {
|
|
391
|
-
overHeaders =
|
|
391
|
+
overHeaders = chunkZOZOF5DN_cjs.applyOrganizationContextHeader(overHeaders, orgId);
|
|
392
392
|
}
|
|
393
393
|
const wireHeaders = callOrganizationId === null ? { ...init.headers } : stripOrganizationHeader({ ...init.headers });
|
|
394
394
|
const info = {
|
|
@@ -401,7 +401,7 @@ function createMatrxTransport(options) {
|
|
|
401
401
|
diagnostics?.onRequest?.(info);
|
|
402
402
|
let response;
|
|
403
403
|
try {
|
|
404
|
-
({ response } = await
|
|
404
|
+
({ response } = await chunkZOZOF5DN_cjs.sendOnWire(
|
|
405
405
|
{
|
|
406
406
|
url,
|
|
407
407
|
method: init.method,
|
|
@@ -425,11 +425,11 @@ function createMatrxTransport(options) {
|
|
|
425
425
|
}
|
|
426
426
|
if (!response.ok && !expectedErrorStatuses?.includes(response.status)) {
|
|
427
427
|
const serverDetail = await response.clone().json().catch(() => void 0);
|
|
428
|
-
const code =
|
|
428
|
+
const code = chunkZOZOF5DN_cjs.extractMatrxErrorCode(serverDetail);
|
|
429
429
|
diagnostics?.onError?.(
|
|
430
430
|
{
|
|
431
431
|
type: classifyStatus(response.status),
|
|
432
|
-
message:
|
|
432
|
+
message: chunkZOZOF5DN_cjs.extractMatrxErrorMessage(serverDetail) ?? `HTTP ${response.status}`,
|
|
433
433
|
status: response.status,
|
|
434
434
|
serverDetail,
|
|
435
435
|
...code ? { code } : {}
|
|
@@ -708,7 +708,7 @@ async function readServerDetail(response) {
|
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
710
|
async function throwApiError(path, response) {
|
|
711
|
-
throw new
|
|
711
|
+
throw new chunkZOZOF5DN_cjs.MatrxApiError({
|
|
712
712
|
status: response.status,
|
|
713
713
|
path,
|
|
714
714
|
serverDetail: await readServerDetail(response)
|
|
@@ -729,7 +729,7 @@ function toRunHandle(response, options) {
|
|
|
729
729
|
return {
|
|
730
730
|
requestId: response.headers.get("X-Request-ID"),
|
|
731
731
|
conversationId: response.headers.get("X-Conversation-ID"),
|
|
732
|
-
events:
|
|
732
|
+
events: chunkZOZOF5DN_cjs.readMatrxNdjsonStream(response.body, {
|
|
733
733
|
...options.signal ? { signal: options.signal } : {},
|
|
734
734
|
...options.maxReadAhead !== void 0 ? { maxReadAhead: options.maxReadAhead } : {},
|
|
735
735
|
...options.onMalformedLine ? { onMalformedLine: options.onMalformedLine } : {},
|
|
@@ -752,7 +752,7 @@ async function requestStream(transport, path, options) {
|
|
|
752
752
|
});
|
|
753
753
|
if (!response.ok) return throwApiError(path, response);
|
|
754
754
|
if (!response.body) {
|
|
755
|
-
throw new
|
|
755
|
+
throw new chunkZOZOF5DN_cjs.MatrxApiError({
|
|
756
756
|
status: response.status,
|
|
757
757
|
path,
|
|
758
758
|
serverDetail: { code: "missing_response_body" },
|
|
@@ -812,7 +812,7 @@ async function getRuntimeOperationStatus(transport, requestId, options = {}) {
|
|
|
812
812
|
{ method: "GET", ...options.signal ? { signal: options.signal } : {} }
|
|
813
813
|
);
|
|
814
814
|
} catch (error) {
|
|
815
|
-
if (error instanceof
|
|
815
|
+
if (error instanceof chunkZOZOF5DN_cjs.MatrxApiError && error.status === 404) return null;
|
|
816
816
|
throw error;
|
|
817
817
|
}
|
|
818
818
|
}
|
|
@@ -827,7 +827,7 @@ async function getRuntimeOperationsByLink(transport, linkKind, linkId, options =
|
|
|
827
827
|
{ method: "GET", ...options.signal ? { signal: options.signal } : {} }
|
|
828
828
|
);
|
|
829
829
|
} catch (error) {
|
|
830
|
-
if (error instanceof
|
|
830
|
+
if (error instanceof chunkZOZOF5DN_cjs.MatrxApiError && error.status === 404) return null;
|
|
831
831
|
throw error;
|
|
832
832
|
}
|
|
833
833
|
}
|
|
@@ -868,7 +868,7 @@ async function* followRuntimeOperationEvents(transport, executionId, options = {
|
|
|
868
868
|
...options.signal ? { signal: options.signal } : {}
|
|
869
869
|
}
|
|
870
870
|
);
|
|
871
|
-
const frames =
|
|
871
|
+
const frames = chunkZOZOF5DN_cjs.readMatrxSseStream(
|
|
872
872
|
response.body,
|
|
873
873
|
options.onIncomplete ? { onIncomplete: options.onIncomplete } : {}
|
|
874
874
|
);
|
|
@@ -1071,7 +1071,7 @@ async function openMatrxStream(transport, path, options = {}) {
|
|
|
1071
1071
|
return toRunHandle(response, options);
|
|
1072
1072
|
}
|
|
1073
1073
|
function withRunOrganization(transport, organizationId) {
|
|
1074
|
-
const orgId =
|
|
1074
|
+
const orgId = chunkZOZOF5DN_cjs.requireOrganizationContext(organizationId);
|
|
1075
1075
|
return {
|
|
1076
1076
|
fetch: (path, init) => transport.fetch(path, {
|
|
1077
1077
|
...init,
|
|
@@ -1098,7 +1098,7 @@ async function followWorkflowRunEvents(transport, runId, options) {
|
|
|
1098
1098
|
throw error;
|
|
1099
1099
|
}
|
|
1100
1100
|
try {
|
|
1101
|
-
for await (const frame of
|
|
1101
|
+
for await (const frame of chunkZOZOF5DN_cjs.readMatrxSseStream(
|
|
1102
1102
|
response.body
|
|
1103
1103
|
)) {
|
|
1104
1104
|
if (frame.event === "end") return { ended: true };
|
|
@@ -1144,7 +1144,7 @@ async function resumeOrRejoin(transport, resumeCall, options) {
|
|
|
1144
1144
|
} catch (error) {
|
|
1145
1145
|
const target = readLiveRunRejoin(error);
|
|
1146
1146
|
if (!target) {
|
|
1147
|
-
if (error instanceof
|
|
1147
|
+
if (error instanceof chunkZOZOF5DN_cjs.MatrxApiError && isResumeConflict(error)) {
|
|
1148
1148
|
return { kind: "resume_conflict", error };
|
|
1149
1149
|
}
|
|
1150
1150
|
throw error;
|
|
@@ -1560,7 +1560,7 @@ async function reportProviderSessionUsage(transport, usage, options = {}) {
|
|
|
1560
1560
|
});
|
|
1561
1561
|
return "ok";
|
|
1562
1562
|
} catch (error) {
|
|
1563
|
-
if (error instanceof
|
|
1563
|
+
if (error instanceof chunkZOZOF5DN_cjs.MatrxApiError) {
|
|
1564
1564
|
const status = error.status;
|
|
1565
1565
|
if (status >= 400 && status < 500 && status !== 401 && status !== 408 && status !== 425 && status !== 429) {
|
|
1566
1566
|
console.warn(`[provider-usage] server refused ${usage.provider} usage ${usage.usage_id} (${status})`);
|
|
@@ -1797,12 +1797,9 @@ var ENDPOINTS = {
|
|
|
1797
1797
|
*
|
|
1798
1798
|
* NOTE: this replaces the legacy `/ai/chat` endpoint. The canonical
|
|
1799
1799
|
* client-side vocabulary is `manual` (see ConversationInvocation.routing
|
|
1800
|
-
* .apiEndpointMode).
|
|
1801
|
-
* migration cycle.
|
|
1800
|
+
* .apiEndpointMode).
|
|
1802
1801
|
*/
|
|
1803
1802
|
manual: "/ai/manual",
|
|
1804
|
-
/** @deprecated Use `ENDPOINTS.ai.manual`. Kept for one migration cycle. */
|
|
1805
|
-
chat: "/ai/manual",
|
|
1806
1803
|
/**
|
|
1807
1804
|
* POST — Start a new agent conversation (Guest OK)
|
|
1808
1805
|
* POST /ai/agents/{agentId}
|
|
@@ -1942,11 +1939,6 @@ var ENDPOINTS = {
|
|
|
1942
1939
|
/** POST — Search and scrape with limits */
|
|
1943
1940
|
searchAndScrapeLimited: "/scraper/search-and-scrape-limited"
|
|
1944
1941
|
},
|
|
1945
|
-
/** Utility endpoints — Guest OK */
|
|
1946
|
-
utilities: {
|
|
1947
|
-
/** @deprecated Use ENDPOINTS.pdf.extractText instead */
|
|
1948
|
-
pdfExtractText: "/utilities/pdf/extract-text"
|
|
1949
|
-
},
|
|
1950
1942
|
/**
|
|
1951
1943
|
* PDF extraction, manipulation, and document management — Authenticated.
|
|
1952
1944
|
* Most JSON endpoints accept a unified source via `MediaRef` (preferred for
|
|
@@ -2264,115 +2256,115 @@ Object.defineProperty(exports, "toCredentialsPort", {
|
|
|
2264
2256
|
});
|
|
2265
2257
|
Object.defineProperty(exports, "BackendApiError", {
|
|
2266
2258
|
enumerable: true,
|
|
2267
|
-
get: function () { return
|
|
2259
|
+
get: function () { return chunkZOZOF5DN_cjs.BackendApiError; }
|
|
2268
2260
|
});
|
|
2269
2261
|
Object.defineProperty(exports, "CONTRACT_SHA256", {
|
|
2270
2262
|
enumerable: true,
|
|
2271
|
-
get: function () { return
|
|
2263
|
+
get: function () { return chunkZOZOF5DN_cjs.CONTRACT_SHA256; }
|
|
2272
2264
|
});
|
|
2273
2265
|
Object.defineProperty(exports, "DEPLOYMENTS", {
|
|
2274
2266
|
enumerable: true,
|
|
2275
|
-
get: function () { return
|
|
2267
|
+
get: function () { return chunkZOZOF5DN_cjs.DEPLOYMENTS; }
|
|
2276
2268
|
});
|
|
2277
2269
|
Object.defineProperty(exports, "DOMAINS", {
|
|
2278
2270
|
enumerable: true,
|
|
2279
|
-
get: function () { return
|
|
2271
|
+
get: function () { return chunkZOZOF5DN_cjs.DOMAINS; }
|
|
2280
2272
|
});
|
|
2281
2273
|
Object.defineProperty(exports, "MatrxApiError", {
|
|
2282
2274
|
enumerable: true,
|
|
2283
|
-
get: function () { return
|
|
2275
|
+
get: function () { return chunkZOZOF5DN_cjs.MatrxApiError; }
|
|
2284
2276
|
});
|
|
2285
2277
|
Object.defineProperty(exports, "OrganizationContextError", {
|
|
2286
2278
|
enumerable: true,
|
|
2287
|
-
get: function () { return
|
|
2279
|
+
get: function () { return chunkZOZOF5DN_cjs.OrganizationContextError; }
|
|
2288
2280
|
});
|
|
2289
2281
|
Object.defineProperty(exports, "StreamTransportError", {
|
|
2290
2282
|
enumerable: true,
|
|
2291
|
-
get: function () { return
|
|
2283
|
+
get: function () { return chunkZOZOF5DN_cjs.StreamTransportError; }
|
|
2292
2284
|
});
|
|
2293
2285
|
Object.defineProperty(exports, "applyOrganizationContextHeader", {
|
|
2294
2286
|
enumerable: true,
|
|
2295
|
-
get: function () { return
|
|
2287
|
+
get: function () { return chunkZOZOF5DN_cjs.applyOrganizationContextHeader; }
|
|
2296
2288
|
});
|
|
2297
2289
|
Object.defineProperty(exports, "assertOrganizationMatchesOperation", {
|
|
2298
2290
|
enumerable: true,
|
|
2299
|
-
get: function () { return
|
|
2291
|
+
get: function () { return chunkZOZOF5DN_cjs.assertOrganizationMatchesOperation; }
|
|
2300
2292
|
});
|
|
2301
2293
|
Object.defineProperty(exports, "assertQueryOrganizationMatchesContext", {
|
|
2302
2294
|
enumerable: true,
|
|
2303
|
-
get: function () { return
|
|
2295
|
+
get: function () { return chunkZOZOF5DN_cjs.assertQueryOrganizationMatchesContext; }
|
|
2304
2296
|
});
|
|
2305
2297
|
Object.defineProperty(exports, "createApi", {
|
|
2306
2298
|
enumerable: true,
|
|
2307
|
-
get: function () { return
|
|
2299
|
+
get: function () { return chunkZOZOF5DN_cjs.createApi; }
|
|
2308
2300
|
});
|
|
2309
2301
|
Object.defineProperty(exports, "createOrganizationOperation", {
|
|
2310
2302
|
enumerable: true,
|
|
2311
|
-
get: function () { return
|
|
2303
|
+
get: function () { return chunkZOZOF5DN_cjs.createOrganizationOperation; }
|
|
2312
2304
|
});
|
|
2313
2305
|
Object.defineProperty(exports, "describeBackendFailure", {
|
|
2314
2306
|
enumerable: true,
|
|
2315
|
-
get: function () { return
|
|
2307
|
+
get: function () { return chunkZOZOF5DN_cjs.describeBackendFailure; }
|
|
2316
2308
|
});
|
|
2317
2309
|
Object.defineProperty(exports, "extractMatrxErrorCode", {
|
|
2318
2310
|
enumerable: true,
|
|
2319
|
-
get: function () { return
|
|
2311
|
+
get: function () { return chunkZOZOF5DN_cjs.extractMatrxErrorCode; }
|
|
2320
2312
|
});
|
|
2321
2313
|
Object.defineProperty(exports, "extractMatrxErrorMessage", {
|
|
2322
2314
|
enumerable: true,
|
|
2323
|
-
get: function () { return
|
|
2315
|
+
get: function () { return chunkZOZOF5DN_cjs.extractMatrxErrorMessage; }
|
|
2324
2316
|
});
|
|
2325
2317
|
Object.defineProperty(exports, "getUserMessage", {
|
|
2326
2318
|
enumerable: true,
|
|
2327
|
-
get: function () { return
|
|
2319
|
+
get: function () { return chunkZOZOF5DN_cjs.getUserMessage; }
|
|
2328
2320
|
});
|
|
2329
2321
|
Object.defineProperty(exports, "isBinaryType", {
|
|
2330
2322
|
enumerable: true,
|
|
2331
|
-
get: function () { return
|
|
2323
|
+
get: function () { return chunkZOZOF5DN_cjs.isBinaryType; }
|
|
2332
2324
|
});
|
|
2333
2325
|
Object.defineProperty(exports, "isGenericUserMessage", {
|
|
2334
2326
|
enumerable: true,
|
|
2335
|
-
get: function () { return
|
|
2327
|
+
get: function () { return chunkZOZOF5DN_cjs.isGenericUserMessage; }
|
|
2336
2328
|
});
|
|
2337
2329
|
Object.defineProperty(exports, "isStreamTransportLost", {
|
|
2338
2330
|
enumerable: true,
|
|
2339
|
-
get: function () { return
|
|
2331
|
+
get: function () { return chunkZOZOF5DN_cjs.isStreamTransportLost; }
|
|
2340
2332
|
});
|
|
2341
2333
|
Object.defineProperty(exports, "openJsonOrStream", {
|
|
2342
2334
|
enumerable: true,
|
|
2343
|
-
get: function () { return
|
|
2335
|
+
get: function () { return chunkZOZOF5DN_cjs.openJsonOrStream; }
|
|
2344
2336
|
});
|
|
2345
2337
|
Object.defineProperty(exports, "openStream", {
|
|
2346
2338
|
enumerable: true,
|
|
2347
|
-
get: function () { return
|
|
2339
|
+
get: function () { return chunkZOZOF5DN_cjs.openStream; }
|
|
2348
2340
|
});
|
|
2349
2341
|
Object.defineProperty(exports, "parseCallApiError", {
|
|
2350
2342
|
enumerable: true,
|
|
2351
|
-
get: function () { return
|
|
2343
|
+
get: function () { return chunkZOZOF5DN_cjs.parseCallApiError; }
|
|
2352
2344
|
});
|
|
2353
2345
|
Object.defineProperty(exports, "parseHttpError", {
|
|
2354
2346
|
enumerable: true,
|
|
2355
|
-
get: function () { return
|
|
2347
|
+
get: function () { return chunkZOZOF5DN_cjs.parseHttpError; }
|
|
2356
2348
|
});
|
|
2357
2349
|
Object.defineProperty(exports, "parseHttpErrorBody", {
|
|
2358
2350
|
enumerable: true,
|
|
2359
|
-
get: function () { return
|
|
2351
|
+
get: function () { return chunkZOZOF5DN_cjs.parseHttpErrorBody; }
|
|
2360
2352
|
});
|
|
2361
2353
|
Object.defineProperty(exports, "parsePersistedBackendError", {
|
|
2362
2354
|
enumerable: true,
|
|
2363
|
-
get: function () { return
|
|
2355
|
+
get: function () { return chunkZOZOF5DN_cjs.parsePersistedBackendError; }
|
|
2364
2356
|
});
|
|
2365
2357
|
Object.defineProperty(exports, "parseStreamError", {
|
|
2366
2358
|
enumerable: true,
|
|
2367
|
-
get: function () { return
|
|
2359
|
+
get: function () { return chunkZOZOF5DN_cjs.parseStreamError; }
|
|
2368
2360
|
});
|
|
2369
2361
|
Object.defineProperty(exports, "requireOrganizationContext", {
|
|
2370
2362
|
enumerable: true,
|
|
2371
|
-
get: function () { return
|
|
2363
|
+
get: function () { return chunkZOZOF5DN_cjs.requireOrganizationContext; }
|
|
2372
2364
|
});
|
|
2373
2365
|
Object.defineProperty(exports, "unwrapUpstreamError", {
|
|
2374
2366
|
enumerable: true,
|
|
2375
|
-
get: function () { return
|
|
2367
|
+
get: function () { return chunkZOZOF5DN_cjs.unwrapUpstreamError; }
|
|
2376
2368
|
});
|
|
2377
2369
|
Object.defineProperty(exports, "AbortedError", {
|
|
2378
2370
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, U as UploadProgress, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-
|
|
2
|
-
export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as isBinaryType, p as openJsonOrStream, q as openStream } from './index-
|
|
1
|
+
import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, U as UploadProgress, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-BgjdVvrS.cjs';
|
|
2
|
+
export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as isBinaryType, p as openJsonOrStream, q as openStream } from './index-BgjdVvrS.cjs';
|
|
3
3
|
import { CredentialsPort } from '@ai-matrx/auth/credentials';
|
|
4
4
|
export { API_KEY_PREFIX, CredentialsPort, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from '@ai-matrx/auth/credentials';
|
|
5
5
|
export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, NetError, NetErrorCode, NetworkError, OfflineError, ResilientFetchOptions, ResilientFetchResult, RetryOptions, StreamMonitorOptions, TotalTimeoutError, extractErrorMessage, isNetError, isTransportFailure, monitorStream, resilientFetch, toNetError, withRetry } from './net.cjs';
|
|
@@ -2242,12 +2242,9 @@ declare const ENDPOINTS: {
|
|
|
2242
2242
|
*
|
|
2243
2243
|
* NOTE: this replaces the legacy `/ai/chat` endpoint. The canonical
|
|
2244
2244
|
* client-side vocabulary is `manual` (see ConversationInvocation.routing
|
|
2245
|
-
* .apiEndpointMode).
|
|
2246
|
-
* migration cycle.
|
|
2245
|
+
* .apiEndpointMode).
|
|
2247
2246
|
*/
|
|
2248
2247
|
readonly manual: "/ai/manual";
|
|
2249
|
-
/** @deprecated Use `ENDPOINTS.ai.manual`. Kept for one migration cycle. */
|
|
2250
|
-
readonly chat: "/ai/manual";
|
|
2251
2248
|
/**
|
|
2252
2249
|
* POST — Start a new agent conversation (Guest OK)
|
|
2253
2250
|
* POST /ai/agents/{agentId}
|
|
@@ -2387,11 +2384,6 @@ declare const ENDPOINTS: {
|
|
|
2387
2384
|
/** POST — Search and scrape with limits */
|
|
2388
2385
|
readonly searchAndScrapeLimited: "/scraper/search-and-scrape-limited";
|
|
2389
2386
|
};
|
|
2390
|
-
/** Utility endpoints — Guest OK */
|
|
2391
|
-
readonly utilities: {
|
|
2392
|
-
/** @deprecated Use ENDPOINTS.pdf.extractText instead */
|
|
2393
|
-
readonly pdfExtractText: "/utilities/pdf/extract-text";
|
|
2394
|
-
};
|
|
2395
2387
|
/**
|
|
2396
2388
|
* PDF extraction, manipulation, and document management — Authenticated.
|
|
2397
2389
|
* Most JSON endpoints accept a unified source via `MediaRef` (preferred for
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, U as UploadProgress, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-
|
|
2
|
-
export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as isBinaryType, p as openJsonOrStream, q as openStream } from './index-
|
|
1
|
+
import { M as MatrxStreamEnvelope, b as MatrxNdjsonIssue, U as UploadProgress, c as MatrxStreamEnvelopeObservation, d as MatrxSseFrame } from './index-BgjdVvrS.js';
|
|
2
|
+
export { A as Api, e as ApiRequestInfo, a as ApiStream, f as AuthTier, g as CONTRACT_SHA256, C as CallOptions, h as CreateApiOptions, D as DEPLOYMENTS, i as DOMAINS, j as DeploymentName, E as Environment, H as HttpMethod, J as JsonOrStream, N as NdjsonEvent, O as OperationArgs, k as OperationDescriptor, l as OrgRule, S as SseEvent, m as StreamKind, n as createApi, o as isBinaryType, p as openJsonOrStream, q as openStream } from './index-BgjdVvrS.js';
|
|
3
3
|
import { CredentialsPort } from '@ai-matrx/auth/credentials';
|
|
4
4
|
export { API_KEY_PREFIX, CredentialsPort, CredentialsSetting, MATRX_HEADERS, MatrxCredential, MatrxCredentialKind, credentialToHeaders, toCredentialsPort } from '@ai-matrx/auth/credentials';
|
|
5
5
|
export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, NetError, NetErrorCode, NetworkError, OfflineError, ResilientFetchOptions, ResilientFetchResult, RetryOptions, StreamMonitorOptions, TotalTimeoutError, extractErrorMessage, isNetError, isTransportFailure, monitorStream, resilientFetch, toNetError, withRetry } from './net.js';
|
|
@@ -2242,12 +2242,9 @@ declare const ENDPOINTS: {
|
|
|
2242
2242
|
*
|
|
2243
2243
|
* NOTE: this replaces the legacy `/ai/chat` endpoint. The canonical
|
|
2244
2244
|
* client-side vocabulary is `manual` (see ConversationInvocation.routing
|
|
2245
|
-
* .apiEndpointMode).
|
|
2246
|
-
* migration cycle.
|
|
2245
|
+
* .apiEndpointMode).
|
|
2247
2246
|
*/
|
|
2248
2247
|
readonly manual: "/ai/manual";
|
|
2249
|
-
/** @deprecated Use `ENDPOINTS.ai.manual`. Kept for one migration cycle. */
|
|
2250
|
-
readonly chat: "/ai/manual";
|
|
2251
2248
|
/**
|
|
2252
2249
|
* POST — Start a new agent conversation (Guest OK)
|
|
2253
2250
|
* POST /ai/agents/{agentId}
|
|
@@ -2387,11 +2384,6 @@ declare const ENDPOINTS: {
|
|
|
2387
2384
|
/** POST — Search and scrape with limits */
|
|
2388
2385
|
readonly searchAndScrapeLimited: "/scraper/search-and-scrape-limited";
|
|
2389
2386
|
};
|
|
2390
|
-
/** Utility endpoints — Guest OK */
|
|
2391
|
-
readonly utilities: {
|
|
2392
|
-
/** @deprecated Use ENDPOINTS.pdf.extractText instead */
|
|
2393
|
-
readonly pdfExtractText: "/utilities/pdf/extract-text";
|
|
2394
|
-
};
|
|
2395
2387
|
/**
|
|
2396
2388
|
* PDF extraction, manipulation, and document management — Authenticated.
|
|
2397
2389
|
* Most JSON endpoints accept a unified source via `MediaRef` (preferred for
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { monitorStream } from './chunk-YTEOFGFC.js';
|
|
2
2
|
export { API_KEY_PREFIX, MATRX_HEADERS, credentialToHeaders, toCredentialsPort } from './chunk-7MZPBCFV.js';
|
|
3
|
-
import { OrganizationContextError, sendOnWire, WIRE_FETCH_OPTION_KEYS, BackendApiError, parseHttpError, MatrxApiError, applyOrganizationContextHeader, extractMatrxErrorCode, extractMatrxErrorMessage, readMatrxNdjsonStream, readMatrxSseStream, requireOrganizationContext, StreamTransportError } from './chunk-
|
|
4
|
-
export { BackendApiError, CONTRACT_SHA256, DEPLOYMENTS, DOMAINS, MatrxApiError, OrganizationContextError, StreamTransportError, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, createApi, createOrganizationOperation, describeBackendFailure, extractMatrxErrorCode, extractMatrxErrorMessage, getUserMessage, isBinaryType, isGenericUserMessage, isStreamTransportLost, openJsonOrStream, openStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parsePersistedBackendError, parseStreamError, requireOrganizationContext, unwrapUpstreamError } from './chunk-
|
|
3
|
+
import { OrganizationContextError, sendOnWire, WIRE_FETCH_OPTION_KEYS, BackendApiError, parseHttpError, MatrxApiError, applyOrganizationContextHeader, extractMatrxErrorCode, extractMatrxErrorMessage, readMatrxNdjsonStream, readMatrxSseStream, requireOrganizationContext, StreamTransportError } from './chunk-E3PGCGP7.js';
|
|
4
|
+
export { BackendApiError, CONTRACT_SHA256, DEPLOYMENTS, DOMAINS, MatrxApiError, OrganizationContextError, StreamTransportError, applyOrganizationContextHeader, assertOrganizationMatchesOperation, assertQueryOrganizationMatchesContext, createApi, createOrganizationOperation, describeBackendFailure, extractMatrxErrorCode, extractMatrxErrorMessage, getUserMessage, isBinaryType, isGenericUserMessage, isStreamTransportLost, openJsonOrStream, openStream, parseCallApiError, parseHttpError, parseHttpErrorBody, parsePersistedBackendError, parseStreamError, requireOrganizationContext, unwrapUpstreamError } from './chunk-E3PGCGP7.js';
|
|
5
5
|
import { isNetError, extractErrorMessage } from './chunk-KIEAFMKB.js';
|
|
6
6
|
export { AbortedError, ConnectTimeoutError, HeartbeatTimeoutError, HttpError, NetError, NetworkError, OfflineError, TotalTimeoutError, extractErrorMessage, isNetError, isTransportFailure, resilientFetch, toNetError, withRetry } from './chunk-KIEAFMKB.js';
|
|
7
7
|
import { formatDurationSeconds } from '@ai-matrx/kit/format';
|
|
@@ -1797,12 +1797,9 @@ var ENDPOINTS = {
|
|
|
1797
1797
|
*
|
|
1798
1798
|
* NOTE: this replaces the legacy `/ai/chat` endpoint. The canonical
|
|
1799
1799
|
* client-side vocabulary is `manual` (see ConversationInvocation.routing
|
|
1800
|
-
* .apiEndpointMode).
|
|
1801
|
-
* migration cycle.
|
|
1800
|
+
* .apiEndpointMode).
|
|
1802
1801
|
*/
|
|
1803
1802
|
manual: "/ai/manual",
|
|
1804
|
-
/** @deprecated Use `ENDPOINTS.ai.manual`. Kept for one migration cycle. */
|
|
1805
|
-
chat: "/ai/manual",
|
|
1806
1803
|
/**
|
|
1807
1804
|
* POST — Start a new agent conversation (Guest OK)
|
|
1808
1805
|
* POST /ai/agents/{agentId}
|
|
@@ -1942,11 +1939,6 @@ var ENDPOINTS = {
|
|
|
1942
1939
|
/** POST — Search and scrape with limits */
|
|
1943
1940
|
searchAndScrapeLimited: "/scraper/search-and-scrape-limited"
|
|
1944
1941
|
},
|
|
1945
|
-
/** Utility endpoints — Guest OK */
|
|
1946
|
-
utilities: {
|
|
1947
|
-
/** @deprecated Use ENDPOINTS.pdf.extractText instead */
|
|
1948
|
-
pdfExtractText: "/utilities/pdf/extract-text"
|
|
1949
|
-
},
|
|
1950
1942
|
/**
|
|
1951
1943
|
* PDF extraction, manipulation, and document management — Authenticated.
|
|
1952
1944
|
* Most JSON endpoints accept a unified source via `MediaRef` (preferred for
|
package/dist/integrations.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkZOZOF5DN_cjs = require('./chunk-ZOZOF5DN.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/integrations.ts
|
|
@@ -312,7 +312,7 @@ var $selectedChatRecentMessages = { m: "POST", p: "/microsoft-integrations/teams
|
|
|
312
312
|
function selectedChatRecentMessages(api, args, options) {
|
|
313
313
|
return api.call($selectedChatRecentMessages, args, options);
|
|
314
314
|
}
|
|
315
|
-
var $callback = { m: "GET", p: "/microsoft-integrations/callback", d: "aidream", a: "
|
|
315
|
+
var $callback = { m: "GET", p: "/microsoft-integrations/callback", d: "aidream", a: "public", o: "required", n: "integrations.callback" };
|
|
316
316
|
function callback(api, args, options) {
|
|
317
317
|
return api.call($callback, args, options);
|
|
318
318
|
}
|
|
@@ -404,6 +404,14 @@ var $facebookDeauthorize = { m: "POST", p: "/social-oauth/facebook/deauthorize",
|
|
|
404
404
|
function facebookDeauthorize(api, args, options) {
|
|
405
405
|
return api.call($facebookDeauthorize, args, options);
|
|
406
406
|
}
|
|
407
|
+
var $instagramDeauthorize = { m: "POST", p: "/social-oauth/instagram/deauthorize", d: "aidream", a: "public", o: "required", n: "integrations.instagram_deauthorize" };
|
|
408
|
+
function instagramDeauthorize(api, args, options) {
|
|
409
|
+
return api.call($instagramDeauthorize, args, options);
|
|
410
|
+
}
|
|
411
|
+
var $threadsDeauthorize = { m: "POST", p: "/social-oauth/threads/deauthorize", d: "aidream", a: "public", o: "required", n: "integrations.threads_deauthorize" };
|
|
412
|
+
function threadsDeauthorize(api, args, options) {
|
|
413
|
+
return api.call($threadsDeauthorize, args, options);
|
|
414
|
+
}
|
|
407
415
|
var $customerSocialOauthConfig = { m: "GET", p: "/social-oauth/{provider}/config", d: "aidream", a: "user", o: "required", n: "integrations.customer_social_oauth_config" };
|
|
408
416
|
function customerSocialOauthConfig(api, args, options) {
|
|
409
417
|
return api.call($customerSocialOauthConfig, args, options);
|
|
@@ -3504,6 +3512,14 @@ var $docFromMarkdown = { m: "POST", p: "/google-workspace/linked/documents/from-
|
|
|
3504
3512
|
function docFromMarkdown(api, args, options) {
|
|
3505
3513
|
return api.call($docFromMarkdown, args, options);
|
|
3506
3514
|
}
|
|
3515
|
+
var $presentationFromPptx = { m: "POST", p: "/google-workspace/linked/presentations/from-pptx", d: "aidream", a: "guest", o: "required", n: "integrations.presentation_from_pptx" };
|
|
3516
|
+
function presentationFromPptx(api, args, options) {
|
|
3517
|
+
return api.call($presentationFromPptx, args, options);
|
|
3518
|
+
}
|
|
3519
|
+
var $pushPresentation = { m: "POST", p: "/google-workspace/linked/presentations/push", d: "aidream", a: "guest", o: "required", n: "integrations.push_presentation" };
|
|
3520
|
+
function pushPresentation(api, args, options) {
|
|
3521
|
+
return api.call($pushPresentation, args, options);
|
|
3522
|
+
}
|
|
3507
3523
|
var $docToMarkdown = { m: "POST", p: "/google-workspace/linked/documents/to-markdown", d: "aidream", a: "guest", o: "required", n: "integrations.doc_to_markdown" };
|
|
3508
3524
|
function docToMarkdown(api, args, options) {
|
|
3509
3525
|
return api.call($docToMarkdown, args, options);
|
|
@@ -3634,11 +3650,11 @@ function bingIntegrationsDisconnect(api, args, options) {
|
|
|
3634
3650
|
}
|
|
3635
3651
|
var $importNotionZip = { m: "POST", p: "/notion-import/zip", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "integrations.import_notion_zip" };
|
|
3636
3652
|
function importNotionZip(api, args, options) {
|
|
3637
|
-
return
|
|
3653
|
+
return chunkZOZOF5DN_cjs.openStream(api, $importNotionZip, args, options);
|
|
3638
3654
|
}
|
|
3639
3655
|
var $importNotionConnected = { m: "POST", p: "/notion-import/connected", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "integrations.import_notion_connected" };
|
|
3640
3656
|
function importNotionConnected(api, args, options) {
|
|
3641
|
-
return
|
|
3657
|
+
return chunkZOZOF5DN_cjs.openStream(api, $importNotionConnected, args, options);
|
|
3642
3658
|
}
|
|
3643
3659
|
var TABLE = {
|
|
3644
3660
|
"GET /ebay/account-deletion": $ebayAccountDeletionChallenge,
|
|
@@ -3739,6 +3755,8 @@ var TABLE = {
|
|
|
3739
3755
|
"POST /pinterest-integrations/sync": $pinterestIntegrationsSync,
|
|
3740
3756
|
"POST /pinterest-integrations/data": $data,
|
|
3741
3757
|
"POST /social-oauth/facebook/deauthorize": $facebookDeauthorize,
|
|
3758
|
+
"POST /social-oauth/instagram/deauthorize": $instagramDeauthorize,
|
|
3759
|
+
"POST /social-oauth/threads/deauthorize": $threadsDeauthorize,
|
|
3742
3760
|
"GET /social-oauth/{provider}/config": $customerSocialOauthConfig,
|
|
3743
3761
|
"POST /social-oauth/{provider}/authorize": $customerSocialOauthAuthorize,
|
|
3744
3762
|
"POST /social-oauth/{provider}/complete": $customerSocialOauthComplete,
|
|
@@ -4514,6 +4532,8 @@ var TABLE = {
|
|
|
4514
4532
|
"POST /google-workspace/linked/sheets/to-workbook": $sheetToWorkbook,
|
|
4515
4533
|
"POST /google-workspace/linked/sheets/push": $pushWorkbook,
|
|
4516
4534
|
"POST /google-workspace/linked/documents/from-markdown": $docFromMarkdown,
|
|
4535
|
+
"POST /google-workspace/linked/presentations/from-pptx": $presentationFromPptx,
|
|
4536
|
+
"POST /google-workspace/linked/presentations/push": $pushPresentation,
|
|
4517
4537
|
"POST /google-workspace/linked/documents/to-markdown": $docToMarkdown,
|
|
4518
4538
|
"POST /google-workspace/linked/documents/push": $pushMarkdown,
|
|
4519
4539
|
"GET /connected-sources/adapters": $listAdapters,
|
|
@@ -4914,6 +4934,7 @@ exports.initials = initials;
|
|
|
4914
4934
|
exports.inkscapeWikiIntegrationsPublicPage = inkscapeWikiIntegrationsPublicPage;
|
|
4915
4935
|
exports.inngestStatusIntegrationsPublicStatus = inngestStatusIntegrationsPublicStatus;
|
|
4916
4936
|
exports.insightlyStatusIntegrationsPublicStatus = insightlyStatusIntegrationsPublicStatus;
|
|
4937
|
+
exports.instagramDeauthorize = instagramDeauthorize;
|
|
4917
4938
|
exports.instapageStatusIntegrationsPublicStatus = instapageStatusIntegrationsPublicStatus;
|
|
4918
4939
|
exports.internalAccessToken = internalAccessToken;
|
|
4919
4940
|
exports.internalCredential = internalCredential;
|
|
@@ -5116,6 +5137,7 @@ exports.pollyStatusIntegrationsPublicStatus = pollyStatusIntegrationsPublicStatu
|
|
|
5116
5137
|
exports.postgresqlWikiIntegrationsPublicPage = postgresqlWikiIntegrationsPublicPage;
|
|
5117
5138
|
exports.prefectStatusIntegrationsPublicStatus = prefectStatusIntegrationsPublicStatus;
|
|
5118
5139
|
exports.preflight = preflight;
|
|
5140
|
+
exports.presentationFromPptx = presentationFromPptx;
|
|
5119
5141
|
exports.pressidiumStatusIntegrationsPublicStatus = pressidiumStatusIntegrationsPublicStatus;
|
|
5120
5142
|
exports.preziStatusIntegrationsPublicStatus = preziStatusIntegrationsPublicStatus;
|
|
5121
5143
|
exports.prismicStatusIntegrationsPublicStatus = prismicStatusIntegrationsPublicStatus;
|
|
@@ -5193,6 +5215,7 @@ exports.publicUbuntuSource = publicUbuntuSource;
|
|
|
5193
5215
|
exports.publicVersions = publicVersions;
|
|
5194
5216
|
exports.pubnubStatusIntegrationsPublicStatus = pubnubStatusIntegrationsPublicStatus;
|
|
5195
5217
|
exports.pushMarkdown = pushMarkdown;
|
|
5218
|
+
exports.pushPresentation = pushPresentation;
|
|
5196
5219
|
exports.pushWorkbook = pushWorkbook;
|
|
5197
5220
|
exports.pusherStatusIntegrationsPublicStatus = pusherStatusIntegrationsPublicStatus;
|
|
5198
5221
|
exports.pytestDocsIntegrationsPublicGettingStarted = pytestDocsIntegrationsPublicGettingStarted;
|
|
@@ -5367,6 +5390,7 @@ exports.thecatapiIntegrationsRandomImage = thecatapiIntegrationsRandomImage;
|
|
|
5367
5390
|
exports.thinkificStatusIntegrationsPublicStatus = thinkificStatusIntegrationsPublicStatus;
|
|
5368
5391
|
exports.thirtysevenSignalsIntegrationsPublicStatus = thirtysevenSignalsIntegrationsPublicStatus;
|
|
5369
5392
|
exports.thoughtIndustriesStatusIntegrationsPublicStatus = thoughtIndustriesStatusIntegrationsPublicStatus;
|
|
5393
|
+
exports.threadsDeauthorize = threadsDeauthorize;
|
|
5370
5394
|
exports.threeSixtyLearningStatusIntegrationsPublicStatus = threeSixtyLearningStatusIntegrationsPublicStatus;
|
|
5371
5395
|
exports.tidioStatusIntegrationsPublicStatus = tidioStatusIntegrationsPublicStatus;
|
|
5372
5396
|
exports.tiktokCallback = tiktokCallback;
|