@ai-matrx/api 0.1.26 → 0.1.28
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 +48 -1
- 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 +2 -2
- package/dist/agents.d.ts +2 -2
- package/dist/agents.js +1 -1
- package/dist/ai.cjs +2 -2
- package/dist/ai.d.cts +2 -2
- package/dist/ai.d.ts +2 -2
- package/dist/ai.js +1 -1
- 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 +24 -12
- package/dist/architecture.d.cts +43 -3
- package/dist/architecture.d.ts +43 -3
- package/dist/architecture.js +12 -2
- package/dist/audio.cjs +39 -39
- package/dist/audio.d.cts +2 -2
- package/dist/audio.d.ts +2 -2
- package/dist/audio.js +2 -2
- package/dist/chat.cjs +11 -11
- package/dist/chat.d.cts +4 -2
- package/dist/chat.d.ts +4 -2
- package/dist/chat.js +1 -1
- package/dist/{chunk-OVQM6CSX.cjs → chunk-BI6C3CD7.cjs} +3 -3
- package/dist/{chunk-MFZXWYK6.js → chunk-BIHYNQOU.js} +1 -1
- package/dist/{chunk-BHSHMV22.cjs → chunk-G3OJBGCU.cjs} +1 -1
- package/dist/{chunk-6GYZDL2H.js → chunk-IAB7JCVA.js} +1 -1
- package/dist/{chunk-MKN4EXSQ.cjs → chunk-Q6BD7FVP.cjs} +37 -37
- package/dist/{chunk-OWI6FDHV.js → chunk-QCDALTHR.js} +1 -1
- package/dist/{chunk-76S6F7O3.cjs → chunk-VGXUUEFE.cjs} +4 -4
- package/dist/{chunk-G6FXF44G.js → chunk-Z2UOMPC4.js} +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 +10 -4
- package/dist/data.d.cts +49 -3
- package/dist/data.d.ts +49 -3
- package/dist/data.js +7 -2
- 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 +228 -228
- package/dist/files.d.cts +2 -2
- package/dist/files.d.ts +2 -2
- package/dist/files.js +2 -2
- package/dist/human-resources.d.cts +2 -2
- package/dist/human-resources.d.ts +2 -2
- package/dist/{index-DseWSnYe.d.cts → index-DyDNKgdB.d.cts} +2 -2
- package/dist/{index-DseWSnYe.d.ts → index-DyDNKgdB.d.ts} +2 -2
- package/dist/index.cjs +58 -58
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/integrations.cjs +5 -5
- package/dist/integrations.d.cts +2 -2
- package/dist/integrations.d.ts +2 -2
- package/dist/integrations.js +1 -1
- package/dist/intelligence.cjs +6 -6
- package/dist/intelligence.d.cts +2 -2
- package/dist/intelligence.d.ts +2 -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 +78 -78
- package/dist/marketing.d.cts +2 -2
- package/dist/marketing.d.ts +2 -2
- package/dist/marketing.js +1 -1
- 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 +27 -27
- package/dist/platform.d.cts +2 -2
- package/dist/platform.d.ts +2 -2
- package/dist/platform.js +2 -2
- 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/recording.cjs +17 -17
- package/dist/recording.js +4 -4
- 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 +107 -5
- package/dist/types.d.ts +107 -5
- package/dist/web.cjs +26 -26
- package/dist/web.d.cts +2 -2
- package/dist/web.d.ts +2 -2
- package/dist/web.js +1 -1
- package/dist/workflows.cjs +19 -13
- package/dist/workflows.d.cts +33 -3
- package/dist/workflows.d.ts +33 -3
- package/dist/workflows.js +7 -2
- package/knob-declaration.json +12 -0
- package/package.json +4 -3
package/dist/communications.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.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
|
|
105
|
+
return chunkG3OJBGCU_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
|
|
145
|
+
return chunkG3OJBGCU_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
|
|
149
|
+
return chunkG3OJBGCU_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,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
|
|
2
2
|
import { JsonValue, CalendarCreateResult } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** `POST /v1/meet/agenda-draft` — what the form holds right now (nothing is stored). */
|
package/dist/communications.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.js';
|
|
2
2
|
import { JsonValue, CalendarCreateResult } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** `POST /v1/meet/agenda-draft` — what the form holds right now (nothing is stored). */
|
package/dist/communications.js
CHANGED
package/dist/computer.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.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
|
|
53
|
+
return chunkG3OJBGCU_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
|
|
57
|
+
return chunkG3OJBGCU_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) {
|
|
@@ -90,7 +90,7 @@ function messages(api, args, options) {
|
|
|
90
90
|
}
|
|
91
91
|
var $events = { m: "GET", p: "/personal-messaging/beeper/events", d: "matrx-local", a: "loopback_token", o: "exempt", s: "ndjson", n: "computer.events" };
|
|
92
92
|
function events(api, args, options) {
|
|
93
|
-
return
|
|
93
|
+
return chunkG3OJBGCU_cjs.openStream(api, $events, args, options);
|
|
94
94
|
}
|
|
95
95
|
var $message = { m: "GET", p: "/personal-messaging/beeper/message", d: "matrx-local", a: "loopback_token", o: "exempt", n: "computer.message" };
|
|
96
96
|
function message(api, args, options) {
|
package/dist/computer.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-DyDNKgdB.cjs';
|
|
2
2
|
import { TextPart } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AccessLogsResponse */
|
package/dist/computer.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent, S as SseEvent } from './index-DyDNKgdB.js';
|
|
2
2
|
import { TextPart } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AccessLogsResponse */
|
package/dist/computer.js
CHANGED
package/dist/content.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.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
|
|
125
|
+
return chunkG3OJBGCU_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
|
|
129
|
+
return chunkG3OJBGCU_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
|
|
133
|
+
return chunkG3OJBGCU_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) {
|
package/dist/content.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ChunkRow */
|
package/dist/content.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ChunkRow */
|
package/dist/content.js
CHANGED
package/dist/crm.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.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
|
|
133
|
+
return chunkG3OJBGCU_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,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActivityEvidence */
|
package/dist/crm.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** ActivityEvidence */
|
package/dist/crm.js
CHANGED
package/dist/data.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.cjs');
|
|
4
4
|
require('./chunk-2SXAAKGV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/generated/data.ts
|
|
@@ -198,7 +198,11 @@ function listSources(api, args, options) {
|
|
|
198
198
|
}
|
|
199
199
|
var $fetch = { m: "POST", p: "/data-sources/fetch", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.fetch" };
|
|
200
200
|
function fetch(api, args, options) {
|
|
201
|
-
return
|
|
201
|
+
return chunkG3OJBGCU_cjs.openStream(api, $fetch, args, options);
|
|
202
|
+
}
|
|
203
|
+
var $ingestRows = { m: "POST", p: "/data-sources/ingest-rows", d: "aidream", a: "guest", o: "required", n: "data.ingest_rows" };
|
|
204
|
+
function ingestRows(api, args, options) {
|
|
205
|
+
return api.call($ingestRows, args, options);
|
|
202
206
|
}
|
|
203
207
|
var $getJob = { m: "GET", p: "/data-sources/jobs/{job_id}", d: "aidream", a: "guest", o: "required", n: "data.get_job" };
|
|
204
208
|
function getJob(api, args, options) {
|
|
@@ -210,7 +214,7 @@ function getJobChanges(api, args, options) {
|
|
|
210
214
|
}
|
|
211
215
|
var $refresh = { m: "POST", p: "/data-sources/tables/{table_id}/refresh", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.refresh" };
|
|
212
216
|
function refresh(api, args, options) {
|
|
213
|
-
return
|
|
217
|
+
return chunkG3OJBGCU_cjs.openStream(api, $refresh, args, options);
|
|
214
218
|
}
|
|
215
219
|
var $unlockPage = { m: "POST", p: "/data-sources/unlock", d: "aidream", a: "user", o: "required", n: "data.unlock_page" };
|
|
216
220
|
function unlockPage(api, args, options) {
|
|
@@ -230,7 +234,7 @@ function quote(api, args, options) {
|
|
|
230
234
|
}
|
|
231
235
|
var $run = { m: "POST", p: "/comparison/run", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "data.run" };
|
|
232
236
|
function run(api, args, options) {
|
|
233
|
-
return
|
|
237
|
+
return chunkG3OJBGCU_cjs.openStream(api, $run, args, options);
|
|
234
238
|
}
|
|
235
239
|
var $receiveAutomationWebhook = { m: "POST", p: "/automations/hooks/{automation_id}/{secret}", d: "aidream", a: "scoped", o: "required", n: "data.receive_automation_webhook" };
|
|
236
240
|
function receiveAutomationWebhook(api, args, options) {
|
|
@@ -381,6 +385,7 @@ var TABLE = {
|
|
|
381
385
|
"POST /review/findings/from-walk": $findingFromWalk,
|
|
382
386
|
"GET /admin/review/descend": $adminReviewDescend,
|
|
383
387
|
"GET /data-sources": $listSources,
|
|
388
|
+
"POST /data-sources/ingest-rows": $ingestRows,
|
|
384
389
|
"GET /data-sources/jobs/{job_id}": $getJob,
|
|
385
390
|
"GET /data-sources/jobs/{job_id}/changes": $getJobChanges,
|
|
386
391
|
"POST /data-sources/unlock": $unlockPage,
|
|
@@ -455,6 +460,7 @@ exports.getTermList = getTermList;
|
|
|
455
460
|
exports.importComments = importComments;
|
|
456
461
|
exports.importConversations = importConversations;
|
|
457
462
|
exports.importLinkOnceRoute = importLinkOnceRoute;
|
|
463
|
+
exports.ingestRows = ingestRows;
|
|
458
464
|
exports.inspectDatabase = inspectDatabase;
|
|
459
465
|
exports.listConversations = listConversations;
|
|
460
466
|
exports.listKinds = listKinds;
|
package/dist/data.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
|
|
2
2
|
import { JsonValue } from './schemas.cjs';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AggregateGroup */
|
|
@@ -706,6 +706,41 @@ type ImportOnceResponse = {
|
|
|
706
706
|
rows_total: number;
|
|
707
707
|
synced?: boolean;
|
|
708
708
|
};
|
|
709
|
+
/** A column the client already knows: the row key it reads and (optionally) its type. */
|
|
710
|
+
type IngestColumn = {
|
|
711
|
+
name: string;
|
|
712
|
+
/** number, checkbox, date, datetime, url, text or long_text; omitted = inferred from the rows. */
|
|
713
|
+
type?: string | null;
|
|
714
|
+
};
|
|
715
|
+
/** ``POST /data-sources/ingest-rows``: rows the client already captured on a page -> a table. */
|
|
716
|
+
type IngestRowsRequest = {
|
|
717
|
+
rows: {
|
|
718
|
+
[key: string]: unknown;
|
|
719
|
+
}[];
|
|
720
|
+
/** Restricts the rows to these keys and fixes their types; omitted = every key, inferred. */
|
|
721
|
+
columns?: IngestColumn[] | null;
|
|
722
|
+
/** Add to this table. */
|
|
723
|
+
table_id?: string | null;
|
|
724
|
+
/** Make (or reuse, when the name is already in use) this table. */
|
|
725
|
+
table_name?: string | null;
|
|
726
|
+
/** What the person captured, in their words, e.g. 'List from nytimes.com'. Names the table when no name is given. */
|
|
727
|
+
source_label?: string | null;
|
|
728
|
+
/** The row key that names one row (upsert key); omitted = the link when unique, else a fingerprint of the row. */
|
|
729
|
+
key_column?: string | null;
|
|
730
|
+
};
|
|
731
|
+
/** IngestRowsResult */
|
|
732
|
+
type IngestRowsResult = {
|
|
733
|
+
table_id: string;
|
|
734
|
+
table_name: string;
|
|
735
|
+
rows_created: number;
|
|
736
|
+
rows_updated: number;
|
|
737
|
+
columns: string[];
|
|
738
|
+
key_column: string;
|
|
739
|
+
key_basis: "source_id" | "url" | "record_hash";
|
|
740
|
+
values_as_text?: number;
|
|
741
|
+
changes?: ChangeSummary | null;
|
|
742
|
+
notices?: string[];
|
|
743
|
+
};
|
|
709
744
|
/** InspectRequest */
|
|
710
745
|
type InspectRequest = {
|
|
711
746
|
organization_id: string;
|
|
@@ -1873,6 +1908,13 @@ type FetchOpResult = unknown;
|
|
|
1873
1908
|
/** Fetch */
|
|
1874
1909
|
/** `POST /data-sources/fetch` · aidream · auth guest · org required · ndjson */
|
|
1875
1910
|
declare function fetch(api: Api, args: FetchOpArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
1911
|
+
type IngestRowsOpArgs = {
|
|
1912
|
+
body: IngestRowsRequest;
|
|
1913
|
+
};
|
|
1914
|
+
type IngestRowsOpResult = IngestRowsResult;
|
|
1915
|
+
/** Ingest Rows */
|
|
1916
|
+
/** `POST /data-sources/ingest-rows` · aidream · auth guest · org required */
|
|
1917
|
+
declare function ingestRows(api: Api, args: IngestRowsOpArgs, options?: CallOptions): Promise<IngestRowsOpResult>;
|
|
1876
1918
|
type GetJobArgs = {
|
|
1877
1919
|
path: {
|
|
1878
1920
|
job_id: string;
|
|
@@ -2380,6 +2422,10 @@ interface Operations {
|
|
|
2380
2422
|
args: ListSourcesArgs;
|
|
2381
2423
|
result: ListSourcesResult;
|
|
2382
2424
|
};
|
|
2425
|
+
"POST /data-sources/ingest-rows": {
|
|
2426
|
+
args: IngestRowsOpArgs;
|
|
2427
|
+
result: IngestRowsOpResult;
|
|
2428
|
+
};
|
|
2383
2429
|
"GET /data-sources/jobs/{job_id}": {
|
|
2384
2430
|
args: GetJobArgs;
|
|
2385
2431
|
result: GetJobResult;
|
|
@@ -2508,4 +2554,4 @@ interface Operations {
|
|
|
2508
2554
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
2509
2555
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
2510
2556
|
|
|
2511
|
-
export { type AddColumnArgs, type AddColumnResult, type AddRowCommentArgs, type AddRowCommentResult, type AdminReviewDescendArgs, type AdminReviewDescendResult, type AggregateGroup, type AggregateOpArgs, type AggregateOpResult, type AggregateRequest, type AggregateResult, type AiColumnRun, type AiColumnRunRequest, type ArchiveColumnArgs, type ArchiveColumnResult, type ArchiveEndpointArgs, type ArchiveEndpointResult, type ArchiveRequest, type ArchiveResponse, type ArchiveRowArgs, type ArchiveRowResult, type ArchiveTableArgs, type ArchiveTableResult, type ArchiveTermListArgs, type ArchiveTermListResult, type BackLinkItem, type BackLinkRecord, type BackLinks, type BackLinksArgs, type BackLinksResult, type CellRequest, type CellResponse, type ChangeSet, type ChangeSummary, type ChangedField, type ChangedKey, type ChangedRow, type CleanEndpointArgs, type CleanEndpointResult, type CleanRequest, type Column, type ColumnChange, type ColumnPick, type ColumnRename, type ColumnSpec, type CommentIn, type CommentsAdded, type CommentsImport, type CompareAnswer, type CompareField, type ComparisonItemInput, type ComparisonKindInfo, type ComparisonQuote, type ConfidentialAnswer, type ConfidentialApproval, type ConfidentialReader, type ConfidentialRequest, type ConnectDatabaseTableArgs, type ConnectDatabaseTableResult, type ConnectLinkRequest, type ConnectSyncedLinkArgs, type ConnectSyncedLinkResult, type ConnectTableRequest, type CreateConversationArgs, type CreateConversationRequest, type CreateConversationResult, type CreateMessageArgs, type CreateMessageRequest, type CreateMessageResult, type CreateRowArgs, type CreateRowResult, type CreateTableArgs, type CreateTableResult, type CreateTermListArgs, type CreateTermListResult, type CreateViewArgs, type CreateViewResult, type DataSource, type DebugStateRedirectArgs, type DebugStateRedirectResult, type DeclareRowTemplateArgs, type DeclareRowTemplateResult, type DedupResponse, type DeleteConversationArgs, type DeleteConversationResult, type DerivativeEndpointArgs, type DerivativeEndpointResult, type DerivativeRequest, type DescendAnswer, type DescendAnswerPart, type DescendArgs, type DescendInput, type DescendOut, type DescendProducer, type DescendRef, type DescendResult, type DescendUnit, type DetectedColumn, type ExtractEndpointArgs, type ExtractEndpointResult, type FetchOpArgs, type FetchOpResult, type FetchRequest, type FetchResult, type FindingFromWalkArgs, type FindingFromWalkOut, type FindingFromWalkRequest, type FindingFromWalkResult, type GetConversationActivityArgs, type GetConversationActivityResult, type GetConversationArgs, type GetConversationResult, type GetJobArgs, type GetJobChangesArgs, type GetJobChangesResult, type GetJobResult, type GetRowArgs, type GetRowResult, type GetSyncStatusArgs, type GetSyncStatusResult, type GetTermListArgs, type GetTermListResult, type GroupInfo, type ImportCommentsArgs, type ImportCommentsResult, type ImportConversationsArgs, type ImportConversationsRequest, type ImportConversationsResult, type ImportLinkOnceRouteArgs, type ImportLinkOnceRouteResult, type ImportOnceResponse, type InspectDatabaseArgs, type InspectDatabaseResult, type InspectRequest, type InspectResponse, type JobStatus, type KindsList, type LimitApplied, type LimitValue, type LinkingTable, type ListConversationsArgs, type ListConversationsResult, type ListKindsArgs, type ListKindsResult, type ListModelsArgs, type ListModelsResult, type ListRowCommentsArgs, type ListRowCommentsResult, type ListRowTemplatesArgs, type ListRowTemplatesResult, type ListRowsArgs, type ListRowsResult, type ListSourcesArgs, type ListSourcesResult, type ListTablesArgs, type ListTablesResult, type ListTermListsArgs, type ListTermListsResult, type ListToolsArgs, type ListToolsByCategoryArgs, type ListToolsByCategoryResult, type ListToolsResult, type MakeConfidentialArgs, type MakeConfidentialResult, type Operations, type OursAnswer, type OutsideColumn, type OutsideTableOut, type PreviewResponse, type PreviewSyncedLinkArgs, type PreviewSyncedLinkResult, type PreviewTermListsArgs, type PreviewTermListsResult, type ProducerRef, type QueryRowsArgs, type QueryRowsResult, type QuoteArgs, type QuoteResult, type ReceiveAutomationWebhookArgs, type ReceiveAutomationWebhookResult, type RecordsMirrorStatusArgs, type RecordsMirrorStatusResult, type RecordsSyncRequest, type RefreshAnySyncedTableArgs, type RefreshAnySyncedTableResult, type RefreshArgs, type RefreshResult, type RefreshSyncedTableArgs, type RefreshSyncedTableResult, type RenameColumnArgs, type RenameColumnResult, type RestoreRowArgs, type RestoreRowResult, type Row, type RowComment, type RowCommentIn, type RowComments, type RowCreate, type RowFilter, type RowPage, type RowTemplate, type RowTemplateCreate, type RowTemplateList, type RowTemplateMade, type RowUpdate, type RunAiColumnArgs, type RunAiColumnResult, type RunArgs, type RunResult, type RunSqlArgs, type RunSqlResult, type RunTableScriptArgs, type RunTableScriptResult, type SchemaAllArgs, type SchemaAllResponse, type SchemaAllResult, type SchemaBundleArgs, type SchemaBundleInfo, type SchemaBundleResult, type SchemaManifestArgs, type SchemaManifestResponse, type SchemaManifestResult, type SchemaOpenapiArgs, type SchemaOpenapiResult, type ScriptRunRequest, type SetCanonicalCleanEndpointArgs, type SetCanonicalCleanEndpointResult, type SetCanonicalCleanRequest, type SetCanonicalExtractEndpointArgs, type SetCanonicalExtractEndpointResult, type SetCanonicalExtractRequest, type SetCanonicalResponse, type SourceField, type SourceInput, type SourceLimits, type SourcesList, type SqlRequest, type SqlResult, type SyncResponse, type TableColumns, type TableColumnsArgs, type TableColumnsResult, type TableCreate, type TableList, type TableMade, type TableSummary, type TermEntry, type TermListOut, type TermListPreviewResponse, type TermListUpdate, type TermListWrite, type TriggerRecordsMirrorSyncArgs, type TriggerRecordsMirrorSyncResult, type TriggerSyncArgs, type TriggerSyncResult, type UnlockAnswer, type UnlockCompareArgs, type UnlockCompareResult, type UnlockPageArgs, type UnlockPageResult, type UnlockRequest, type UpdateConversationArgs, type UpdateConversationRequest, type UpdateConversationResult, type UpdateMessageArgs, type UpdateMessageRequest, type UpdateMessageResult, type UpdateRowArgs, type UpdateRowResult, type UpdateTermListArgs, type UpdateTermListResult, type UpsertRequest, type UpsertResult, type UpsertRowsArgs, type UpsertRowsResult, type UpsertedRow, type UrlPattern, type ViewCreate, type ViewMade, type WalkHop, type WriteResult, type WriteSyncedCellArgs, type WriteSyncedCellResult, addColumn, addRowComment, adminReviewDescend, aggregate, type aidream__api__routers__dedup_strict__ExtractRequest, type aidream__api__routers__external_databases__RefreshRequest, type aidream__api__routers__synced_tables__PreviewRequest, type aidream__api__routers__synced_tables__RefreshRequest, type aidream__api__routers__term_lists__PreviewRequest, type aidream__services__comparison__contract__ComparisonRequest, type aidream__services__data_fetch__contract__RefreshRequest, archiveColumn, archiveEndpoint, archiveRow, archiveTable, archiveTermList, backLinks, call, cleanEndpoint, connectDatabaseTable, connectSyncedLink, createConversation, createMessage, createRow, createTable, createTermList, createView, debugStateRedirect, declareRowTemplate, deleteConversation, derivativeEndpoint, descend, extractEndpoint, fetch, findingFromWalk, getConversation, getConversationActivity, getJob, getJobChanges, getRow, getSyncStatus, getTermList, importComments, importConversations, importLinkOnceRoute, inspectDatabase, listConversations, listKinds, listModels, listRowComments, listRowTemplates, listRows, listSources, listTables, listTermLists, listTools, listToolsByCategory, makeConfidential, previewSyncedLink, previewTermLists, queryRows, quote, receiveAutomationWebhook, recordsMirrorStatus, refresh, refreshAnySyncedTable, refreshSyncedTable, renameColumn, restoreRow, run, runAiColumn, runSql, runTableScript, schemaAll, schemaBundle, schemaManifest, schemaOpenapi, setCanonicalCleanEndpoint, setCanonicalExtractEndpoint, tableColumns, triggerRecordsMirrorSync, triggerSync, unlockCompare, unlockPage, updateConversation, updateMessage, updateRow, updateTermList, upsertRows, writeSyncedCell };
|
|
2557
|
+
export { type AddColumnArgs, type AddColumnResult, type AddRowCommentArgs, type AddRowCommentResult, type AdminReviewDescendArgs, type AdminReviewDescendResult, type AggregateGroup, type AggregateOpArgs, type AggregateOpResult, type AggregateRequest, type AggregateResult, type AiColumnRun, type AiColumnRunRequest, type ArchiveColumnArgs, type ArchiveColumnResult, type ArchiveEndpointArgs, type ArchiveEndpointResult, type ArchiveRequest, type ArchiveResponse, type ArchiveRowArgs, type ArchiveRowResult, type ArchiveTableArgs, type ArchiveTableResult, type ArchiveTermListArgs, type ArchiveTermListResult, type BackLinkItem, type BackLinkRecord, type BackLinks, type BackLinksArgs, type BackLinksResult, type CellRequest, type CellResponse, type ChangeSet, type ChangeSummary, type ChangedField, type ChangedKey, type ChangedRow, type CleanEndpointArgs, type CleanEndpointResult, type CleanRequest, type Column, type ColumnChange, type ColumnPick, type ColumnRename, type ColumnSpec, type CommentIn, type CommentsAdded, type CommentsImport, type CompareAnswer, type CompareField, type ComparisonItemInput, type ComparisonKindInfo, type ComparisonQuote, type ConfidentialAnswer, type ConfidentialApproval, type ConfidentialReader, type ConfidentialRequest, type ConnectDatabaseTableArgs, type ConnectDatabaseTableResult, type ConnectLinkRequest, type ConnectSyncedLinkArgs, type ConnectSyncedLinkResult, type ConnectTableRequest, type CreateConversationArgs, type CreateConversationRequest, type CreateConversationResult, type CreateMessageArgs, type CreateMessageRequest, type CreateMessageResult, type CreateRowArgs, type CreateRowResult, type CreateTableArgs, type CreateTableResult, type CreateTermListArgs, type CreateTermListResult, type CreateViewArgs, type CreateViewResult, type DataSource, type DebugStateRedirectArgs, type DebugStateRedirectResult, type DeclareRowTemplateArgs, type DeclareRowTemplateResult, type DedupResponse, type DeleteConversationArgs, type DeleteConversationResult, type DerivativeEndpointArgs, type DerivativeEndpointResult, type DerivativeRequest, type DescendAnswer, type DescendAnswerPart, type DescendArgs, type DescendInput, type DescendOut, type DescendProducer, type DescendRef, type DescendResult, type DescendUnit, type DetectedColumn, type ExtractEndpointArgs, type ExtractEndpointResult, type FetchOpArgs, type FetchOpResult, type FetchRequest, type FetchResult, type FindingFromWalkArgs, type FindingFromWalkOut, type FindingFromWalkRequest, type FindingFromWalkResult, type GetConversationActivityArgs, type GetConversationActivityResult, type GetConversationArgs, type GetConversationResult, type GetJobArgs, type GetJobChangesArgs, type GetJobChangesResult, type GetJobResult, type GetRowArgs, type GetRowResult, type GetSyncStatusArgs, type GetSyncStatusResult, type GetTermListArgs, type GetTermListResult, type GroupInfo, type ImportCommentsArgs, type ImportCommentsResult, type ImportConversationsArgs, type ImportConversationsRequest, type ImportConversationsResult, type ImportLinkOnceRouteArgs, type ImportLinkOnceRouteResult, type ImportOnceResponse, type IngestColumn, type IngestRowsOpArgs, type IngestRowsOpResult, type IngestRowsRequest, type IngestRowsResult, type InspectDatabaseArgs, type InspectDatabaseResult, type InspectRequest, type InspectResponse, type JobStatus, type KindsList, type LimitApplied, type LimitValue, type LinkingTable, type ListConversationsArgs, type ListConversationsResult, type ListKindsArgs, type ListKindsResult, type ListModelsArgs, type ListModelsResult, type ListRowCommentsArgs, type ListRowCommentsResult, type ListRowTemplatesArgs, type ListRowTemplatesResult, type ListRowsArgs, type ListRowsResult, type ListSourcesArgs, type ListSourcesResult, type ListTablesArgs, type ListTablesResult, type ListTermListsArgs, type ListTermListsResult, type ListToolsArgs, type ListToolsByCategoryArgs, type ListToolsByCategoryResult, type ListToolsResult, type MakeConfidentialArgs, type MakeConfidentialResult, type Operations, type OursAnswer, type OutsideColumn, type OutsideTableOut, type PreviewResponse, type PreviewSyncedLinkArgs, type PreviewSyncedLinkResult, type PreviewTermListsArgs, type PreviewTermListsResult, type ProducerRef, type QueryRowsArgs, type QueryRowsResult, type QuoteArgs, type QuoteResult, type ReceiveAutomationWebhookArgs, type ReceiveAutomationWebhookResult, type RecordsMirrorStatusArgs, type RecordsMirrorStatusResult, type RecordsSyncRequest, type RefreshAnySyncedTableArgs, type RefreshAnySyncedTableResult, type RefreshArgs, type RefreshResult, type RefreshSyncedTableArgs, type RefreshSyncedTableResult, type RenameColumnArgs, type RenameColumnResult, type RestoreRowArgs, type RestoreRowResult, type Row, type RowComment, type RowCommentIn, type RowComments, type RowCreate, type RowFilter, type RowPage, type RowTemplate, type RowTemplateCreate, type RowTemplateList, type RowTemplateMade, type RowUpdate, type RunAiColumnArgs, type RunAiColumnResult, type RunArgs, type RunResult, type RunSqlArgs, type RunSqlResult, type RunTableScriptArgs, type RunTableScriptResult, type SchemaAllArgs, type SchemaAllResponse, type SchemaAllResult, type SchemaBundleArgs, type SchemaBundleInfo, type SchemaBundleResult, type SchemaManifestArgs, type SchemaManifestResponse, type SchemaManifestResult, type SchemaOpenapiArgs, type SchemaOpenapiResult, type ScriptRunRequest, type SetCanonicalCleanEndpointArgs, type SetCanonicalCleanEndpointResult, type SetCanonicalCleanRequest, type SetCanonicalExtractEndpointArgs, type SetCanonicalExtractEndpointResult, type SetCanonicalExtractRequest, type SetCanonicalResponse, type SourceField, type SourceInput, type SourceLimits, type SourcesList, type SqlRequest, type SqlResult, type SyncResponse, type TableColumns, type TableColumnsArgs, type TableColumnsResult, type TableCreate, type TableList, type TableMade, type TableSummary, type TermEntry, type TermListOut, type TermListPreviewResponse, type TermListUpdate, type TermListWrite, type TriggerRecordsMirrorSyncArgs, type TriggerRecordsMirrorSyncResult, type TriggerSyncArgs, type TriggerSyncResult, type UnlockAnswer, type UnlockCompareArgs, type UnlockCompareResult, type UnlockPageArgs, type UnlockPageResult, type UnlockRequest, type UpdateConversationArgs, type UpdateConversationRequest, type UpdateConversationResult, type UpdateMessageArgs, type UpdateMessageRequest, type UpdateMessageResult, type UpdateRowArgs, type UpdateRowResult, type UpdateTermListArgs, type UpdateTermListResult, type UpsertRequest, type UpsertResult, type UpsertRowsArgs, type UpsertRowsResult, type UpsertedRow, type UrlPattern, type ViewCreate, type ViewMade, type WalkHop, type WriteResult, type WriteSyncedCellArgs, type WriteSyncedCellResult, addColumn, addRowComment, adminReviewDescend, aggregate, type aidream__api__routers__dedup_strict__ExtractRequest, type aidream__api__routers__external_databases__RefreshRequest, type aidream__api__routers__synced_tables__PreviewRequest, type aidream__api__routers__synced_tables__RefreshRequest, type aidream__api__routers__term_lists__PreviewRequest, type aidream__services__comparison__contract__ComparisonRequest, type aidream__services__data_fetch__contract__RefreshRequest, archiveColumn, archiveEndpoint, archiveRow, archiveTable, archiveTermList, backLinks, call, cleanEndpoint, connectDatabaseTable, connectSyncedLink, createConversation, createMessage, createRow, createTable, createTermList, createView, debugStateRedirect, declareRowTemplate, deleteConversation, derivativeEndpoint, descend, extractEndpoint, fetch, findingFromWalk, getConversation, getConversationActivity, getJob, getJobChanges, getRow, getSyncStatus, getTermList, importComments, importConversations, importLinkOnceRoute, ingestRows, inspectDatabase, listConversations, listKinds, listModels, listRowComments, listRowTemplates, listRows, listSources, listTables, listTermLists, listTools, listToolsByCategory, makeConfidential, previewSyncedLink, previewTermLists, queryRows, quote, receiveAutomationWebhook, recordsMirrorStatus, refresh, refreshAnySyncedTable, refreshSyncedTable, renameColumn, restoreRow, run, runAiColumn, runSql, runTableScript, schemaAll, schemaBundle, schemaManifest, schemaOpenapi, setCanonicalCleanEndpoint, setCanonicalExtractEndpoint, tableColumns, triggerRecordsMirrorSync, triggerSync, unlockCompare, unlockPage, updateConversation, updateMessage, updateRow, updateTermList, upsertRows, writeSyncedCell };
|
package/dist/data.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.js';
|
|
2
2
|
import { JsonValue } from './schemas.js';
|
|
3
3
|
import '@ai-matrx/auth/credentials';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
7
|
-
* CONTRACT_SHA256
|
|
7
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
/** AggregateGroup */
|
|
@@ -706,6 +706,41 @@ type ImportOnceResponse = {
|
|
|
706
706
|
rows_total: number;
|
|
707
707
|
synced?: boolean;
|
|
708
708
|
};
|
|
709
|
+
/** A column the client already knows: the row key it reads and (optionally) its type. */
|
|
710
|
+
type IngestColumn = {
|
|
711
|
+
name: string;
|
|
712
|
+
/** number, checkbox, date, datetime, url, text or long_text; omitted = inferred from the rows. */
|
|
713
|
+
type?: string | null;
|
|
714
|
+
};
|
|
715
|
+
/** ``POST /data-sources/ingest-rows``: rows the client already captured on a page -> a table. */
|
|
716
|
+
type IngestRowsRequest = {
|
|
717
|
+
rows: {
|
|
718
|
+
[key: string]: unknown;
|
|
719
|
+
}[];
|
|
720
|
+
/** Restricts the rows to these keys and fixes their types; omitted = every key, inferred. */
|
|
721
|
+
columns?: IngestColumn[] | null;
|
|
722
|
+
/** Add to this table. */
|
|
723
|
+
table_id?: string | null;
|
|
724
|
+
/** Make (or reuse, when the name is already in use) this table. */
|
|
725
|
+
table_name?: string | null;
|
|
726
|
+
/** What the person captured, in their words, e.g. 'List from nytimes.com'. Names the table when no name is given. */
|
|
727
|
+
source_label?: string | null;
|
|
728
|
+
/** The row key that names one row (upsert key); omitted = the link when unique, else a fingerprint of the row. */
|
|
729
|
+
key_column?: string | null;
|
|
730
|
+
};
|
|
731
|
+
/** IngestRowsResult */
|
|
732
|
+
type IngestRowsResult = {
|
|
733
|
+
table_id: string;
|
|
734
|
+
table_name: string;
|
|
735
|
+
rows_created: number;
|
|
736
|
+
rows_updated: number;
|
|
737
|
+
columns: string[];
|
|
738
|
+
key_column: string;
|
|
739
|
+
key_basis: "source_id" | "url" | "record_hash";
|
|
740
|
+
values_as_text?: number;
|
|
741
|
+
changes?: ChangeSummary | null;
|
|
742
|
+
notices?: string[];
|
|
743
|
+
};
|
|
709
744
|
/** InspectRequest */
|
|
710
745
|
type InspectRequest = {
|
|
711
746
|
organization_id: string;
|
|
@@ -1873,6 +1908,13 @@ type FetchOpResult = unknown;
|
|
|
1873
1908
|
/** Fetch */
|
|
1874
1909
|
/** `POST /data-sources/fetch` · aidream · auth guest · org required · ndjson */
|
|
1875
1910
|
declare function fetch(api: Api, args: FetchOpArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
|
|
1911
|
+
type IngestRowsOpArgs = {
|
|
1912
|
+
body: IngestRowsRequest;
|
|
1913
|
+
};
|
|
1914
|
+
type IngestRowsOpResult = IngestRowsResult;
|
|
1915
|
+
/** Ingest Rows */
|
|
1916
|
+
/** `POST /data-sources/ingest-rows` · aidream · auth guest · org required */
|
|
1917
|
+
declare function ingestRows(api: Api, args: IngestRowsOpArgs, options?: CallOptions): Promise<IngestRowsOpResult>;
|
|
1876
1918
|
type GetJobArgs = {
|
|
1877
1919
|
path: {
|
|
1878
1920
|
job_id: string;
|
|
@@ -2380,6 +2422,10 @@ interface Operations {
|
|
|
2380
2422
|
args: ListSourcesArgs;
|
|
2381
2423
|
result: ListSourcesResult;
|
|
2382
2424
|
};
|
|
2425
|
+
"POST /data-sources/ingest-rows": {
|
|
2426
|
+
args: IngestRowsOpArgs;
|
|
2427
|
+
result: IngestRowsOpResult;
|
|
2428
|
+
};
|
|
2383
2429
|
"GET /data-sources/jobs/{job_id}": {
|
|
2384
2430
|
args: GetJobArgs;
|
|
2385
2431
|
result: GetJobResult;
|
|
@@ -2508,4 +2554,4 @@ interface Operations {
|
|
|
2508
2554
|
/** Path-keyed call, scoped to this domain only (never a global path map). */
|
|
2509
2555
|
declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
|
|
2510
2556
|
|
|
2511
|
-
export { type AddColumnArgs, type AddColumnResult, type AddRowCommentArgs, type AddRowCommentResult, type AdminReviewDescendArgs, type AdminReviewDescendResult, type AggregateGroup, type AggregateOpArgs, type AggregateOpResult, type AggregateRequest, type AggregateResult, type AiColumnRun, type AiColumnRunRequest, type ArchiveColumnArgs, type ArchiveColumnResult, type ArchiveEndpointArgs, type ArchiveEndpointResult, type ArchiveRequest, type ArchiveResponse, type ArchiveRowArgs, type ArchiveRowResult, type ArchiveTableArgs, type ArchiveTableResult, type ArchiveTermListArgs, type ArchiveTermListResult, type BackLinkItem, type BackLinkRecord, type BackLinks, type BackLinksArgs, type BackLinksResult, type CellRequest, type CellResponse, type ChangeSet, type ChangeSummary, type ChangedField, type ChangedKey, type ChangedRow, type CleanEndpointArgs, type CleanEndpointResult, type CleanRequest, type Column, type ColumnChange, type ColumnPick, type ColumnRename, type ColumnSpec, type CommentIn, type CommentsAdded, type CommentsImport, type CompareAnswer, type CompareField, type ComparisonItemInput, type ComparisonKindInfo, type ComparisonQuote, type ConfidentialAnswer, type ConfidentialApproval, type ConfidentialReader, type ConfidentialRequest, type ConnectDatabaseTableArgs, type ConnectDatabaseTableResult, type ConnectLinkRequest, type ConnectSyncedLinkArgs, type ConnectSyncedLinkResult, type ConnectTableRequest, type CreateConversationArgs, type CreateConversationRequest, type CreateConversationResult, type CreateMessageArgs, type CreateMessageRequest, type CreateMessageResult, type CreateRowArgs, type CreateRowResult, type CreateTableArgs, type CreateTableResult, type CreateTermListArgs, type CreateTermListResult, type CreateViewArgs, type CreateViewResult, type DataSource, type DebugStateRedirectArgs, type DebugStateRedirectResult, type DeclareRowTemplateArgs, type DeclareRowTemplateResult, type DedupResponse, type DeleteConversationArgs, type DeleteConversationResult, type DerivativeEndpointArgs, type DerivativeEndpointResult, type DerivativeRequest, type DescendAnswer, type DescendAnswerPart, type DescendArgs, type DescendInput, type DescendOut, type DescendProducer, type DescendRef, type DescendResult, type DescendUnit, type DetectedColumn, type ExtractEndpointArgs, type ExtractEndpointResult, type FetchOpArgs, type FetchOpResult, type FetchRequest, type FetchResult, type FindingFromWalkArgs, type FindingFromWalkOut, type FindingFromWalkRequest, type FindingFromWalkResult, type GetConversationActivityArgs, type GetConversationActivityResult, type GetConversationArgs, type GetConversationResult, type GetJobArgs, type GetJobChangesArgs, type GetJobChangesResult, type GetJobResult, type GetRowArgs, type GetRowResult, type GetSyncStatusArgs, type GetSyncStatusResult, type GetTermListArgs, type GetTermListResult, type GroupInfo, type ImportCommentsArgs, type ImportCommentsResult, type ImportConversationsArgs, type ImportConversationsRequest, type ImportConversationsResult, type ImportLinkOnceRouteArgs, type ImportLinkOnceRouteResult, type ImportOnceResponse, type InspectDatabaseArgs, type InspectDatabaseResult, type InspectRequest, type InspectResponse, type JobStatus, type KindsList, type LimitApplied, type LimitValue, type LinkingTable, type ListConversationsArgs, type ListConversationsResult, type ListKindsArgs, type ListKindsResult, type ListModelsArgs, type ListModelsResult, type ListRowCommentsArgs, type ListRowCommentsResult, type ListRowTemplatesArgs, type ListRowTemplatesResult, type ListRowsArgs, type ListRowsResult, type ListSourcesArgs, type ListSourcesResult, type ListTablesArgs, type ListTablesResult, type ListTermListsArgs, type ListTermListsResult, type ListToolsArgs, type ListToolsByCategoryArgs, type ListToolsByCategoryResult, type ListToolsResult, type MakeConfidentialArgs, type MakeConfidentialResult, type Operations, type OursAnswer, type OutsideColumn, type OutsideTableOut, type PreviewResponse, type PreviewSyncedLinkArgs, type PreviewSyncedLinkResult, type PreviewTermListsArgs, type PreviewTermListsResult, type ProducerRef, type QueryRowsArgs, type QueryRowsResult, type QuoteArgs, type QuoteResult, type ReceiveAutomationWebhookArgs, type ReceiveAutomationWebhookResult, type RecordsMirrorStatusArgs, type RecordsMirrorStatusResult, type RecordsSyncRequest, type RefreshAnySyncedTableArgs, type RefreshAnySyncedTableResult, type RefreshArgs, type RefreshResult, type RefreshSyncedTableArgs, type RefreshSyncedTableResult, type RenameColumnArgs, type RenameColumnResult, type RestoreRowArgs, type RestoreRowResult, type Row, type RowComment, type RowCommentIn, type RowComments, type RowCreate, type RowFilter, type RowPage, type RowTemplate, type RowTemplateCreate, type RowTemplateList, type RowTemplateMade, type RowUpdate, type RunAiColumnArgs, type RunAiColumnResult, type RunArgs, type RunResult, type RunSqlArgs, type RunSqlResult, type RunTableScriptArgs, type RunTableScriptResult, type SchemaAllArgs, type SchemaAllResponse, type SchemaAllResult, type SchemaBundleArgs, type SchemaBundleInfo, type SchemaBundleResult, type SchemaManifestArgs, type SchemaManifestResponse, type SchemaManifestResult, type SchemaOpenapiArgs, type SchemaOpenapiResult, type ScriptRunRequest, type SetCanonicalCleanEndpointArgs, type SetCanonicalCleanEndpointResult, type SetCanonicalCleanRequest, type SetCanonicalExtractEndpointArgs, type SetCanonicalExtractEndpointResult, type SetCanonicalExtractRequest, type SetCanonicalResponse, type SourceField, type SourceInput, type SourceLimits, type SourcesList, type SqlRequest, type SqlResult, type SyncResponse, type TableColumns, type TableColumnsArgs, type TableColumnsResult, type TableCreate, type TableList, type TableMade, type TableSummary, type TermEntry, type TermListOut, type TermListPreviewResponse, type TermListUpdate, type TermListWrite, type TriggerRecordsMirrorSyncArgs, type TriggerRecordsMirrorSyncResult, type TriggerSyncArgs, type TriggerSyncResult, type UnlockAnswer, type UnlockCompareArgs, type UnlockCompareResult, type UnlockPageArgs, type UnlockPageResult, type UnlockRequest, type UpdateConversationArgs, type UpdateConversationRequest, type UpdateConversationResult, type UpdateMessageArgs, type UpdateMessageRequest, type UpdateMessageResult, type UpdateRowArgs, type UpdateRowResult, type UpdateTermListArgs, type UpdateTermListResult, type UpsertRequest, type UpsertResult, type UpsertRowsArgs, type UpsertRowsResult, type UpsertedRow, type UrlPattern, type ViewCreate, type ViewMade, type WalkHop, type WriteResult, type WriteSyncedCellArgs, type WriteSyncedCellResult, addColumn, addRowComment, adminReviewDescend, aggregate, type aidream__api__routers__dedup_strict__ExtractRequest, type aidream__api__routers__external_databases__RefreshRequest, type aidream__api__routers__synced_tables__PreviewRequest, type aidream__api__routers__synced_tables__RefreshRequest, type aidream__api__routers__term_lists__PreviewRequest, type aidream__services__comparison__contract__ComparisonRequest, type aidream__services__data_fetch__contract__RefreshRequest, archiveColumn, archiveEndpoint, archiveRow, archiveTable, archiveTermList, backLinks, call, cleanEndpoint, connectDatabaseTable, connectSyncedLink, createConversation, createMessage, createRow, createTable, createTermList, createView, debugStateRedirect, declareRowTemplate, deleteConversation, derivativeEndpoint, descend, extractEndpoint, fetch, findingFromWalk, getConversation, getConversationActivity, getJob, getJobChanges, getRow, getSyncStatus, getTermList, importComments, importConversations, importLinkOnceRoute, inspectDatabase, listConversations, listKinds, listModels, listRowComments, listRowTemplates, listRows, listSources, listTables, listTermLists, listTools, listToolsByCategory, makeConfidential, previewSyncedLink, previewTermLists, queryRows, quote, receiveAutomationWebhook, recordsMirrorStatus, refresh, refreshAnySyncedTable, refreshSyncedTable, renameColumn, restoreRow, run, runAiColumn, runSql, runTableScript, schemaAll, schemaBundle, schemaManifest, schemaOpenapi, setCanonicalCleanEndpoint, setCanonicalExtractEndpoint, tableColumns, triggerRecordsMirrorSync, triggerSync, unlockCompare, unlockPage, updateConversation, updateMessage, updateRow, updateTermList, upsertRows, writeSyncedCell };
|
|
2557
|
+
export { type AddColumnArgs, type AddColumnResult, type AddRowCommentArgs, type AddRowCommentResult, type AdminReviewDescendArgs, type AdminReviewDescendResult, type AggregateGroup, type AggregateOpArgs, type AggregateOpResult, type AggregateRequest, type AggregateResult, type AiColumnRun, type AiColumnRunRequest, type ArchiveColumnArgs, type ArchiveColumnResult, type ArchiveEndpointArgs, type ArchiveEndpointResult, type ArchiveRequest, type ArchiveResponse, type ArchiveRowArgs, type ArchiveRowResult, type ArchiveTableArgs, type ArchiveTableResult, type ArchiveTermListArgs, type ArchiveTermListResult, type BackLinkItem, type BackLinkRecord, type BackLinks, type BackLinksArgs, type BackLinksResult, type CellRequest, type CellResponse, type ChangeSet, type ChangeSummary, type ChangedField, type ChangedKey, type ChangedRow, type CleanEndpointArgs, type CleanEndpointResult, type CleanRequest, type Column, type ColumnChange, type ColumnPick, type ColumnRename, type ColumnSpec, type CommentIn, type CommentsAdded, type CommentsImport, type CompareAnswer, type CompareField, type ComparisonItemInput, type ComparisonKindInfo, type ComparisonQuote, type ConfidentialAnswer, type ConfidentialApproval, type ConfidentialReader, type ConfidentialRequest, type ConnectDatabaseTableArgs, type ConnectDatabaseTableResult, type ConnectLinkRequest, type ConnectSyncedLinkArgs, type ConnectSyncedLinkResult, type ConnectTableRequest, type CreateConversationArgs, type CreateConversationRequest, type CreateConversationResult, type CreateMessageArgs, type CreateMessageRequest, type CreateMessageResult, type CreateRowArgs, type CreateRowResult, type CreateTableArgs, type CreateTableResult, type CreateTermListArgs, type CreateTermListResult, type CreateViewArgs, type CreateViewResult, type DataSource, type DebugStateRedirectArgs, type DebugStateRedirectResult, type DeclareRowTemplateArgs, type DeclareRowTemplateResult, type DedupResponse, type DeleteConversationArgs, type DeleteConversationResult, type DerivativeEndpointArgs, type DerivativeEndpointResult, type DerivativeRequest, type DescendAnswer, type DescendAnswerPart, type DescendArgs, type DescendInput, type DescendOut, type DescendProducer, type DescendRef, type DescendResult, type DescendUnit, type DetectedColumn, type ExtractEndpointArgs, type ExtractEndpointResult, type FetchOpArgs, type FetchOpResult, type FetchRequest, type FetchResult, type FindingFromWalkArgs, type FindingFromWalkOut, type FindingFromWalkRequest, type FindingFromWalkResult, type GetConversationActivityArgs, type GetConversationActivityResult, type GetConversationArgs, type GetConversationResult, type GetJobArgs, type GetJobChangesArgs, type GetJobChangesResult, type GetJobResult, type GetRowArgs, type GetRowResult, type GetSyncStatusArgs, type GetSyncStatusResult, type GetTermListArgs, type GetTermListResult, type GroupInfo, type ImportCommentsArgs, type ImportCommentsResult, type ImportConversationsArgs, type ImportConversationsRequest, type ImportConversationsResult, type ImportLinkOnceRouteArgs, type ImportLinkOnceRouteResult, type ImportOnceResponse, type IngestColumn, type IngestRowsOpArgs, type IngestRowsOpResult, type IngestRowsRequest, type IngestRowsResult, type InspectDatabaseArgs, type InspectDatabaseResult, type InspectRequest, type InspectResponse, type JobStatus, type KindsList, type LimitApplied, type LimitValue, type LinkingTable, type ListConversationsArgs, type ListConversationsResult, type ListKindsArgs, type ListKindsResult, type ListModelsArgs, type ListModelsResult, type ListRowCommentsArgs, type ListRowCommentsResult, type ListRowTemplatesArgs, type ListRowTemplatesResult, type ListRowsArgs, type ListRowsResult, type ListSourcesArgs, type ListSourcesResult, type ListTablesArgs, type ListTablesResult, type ListTermListsArgs, type ListTermListsResult, type ListToolsArgs, type ListToolsByCategoryArgs, type ListToolsByCategoryResult, type ListToolsResult, type MakeConfidentialArgs, type MakeConfidentialResult, type Operations, type OursAnswer, type OutsideColumn, type OutsideTableOut, type PreviewResponse, type PreviewSyncedLinkArgs, type PreviewSyncedLinkResult, type PreviewTermListsArgs, type PreviewTermListsResult, type ProducerRef, type QueryRowsArgs, type QueryRowsResult, type QuoteArgs, type QuoteResult, type ReceiveAutomationWebhookArgs, type ReceiveAutomationWebhookResult, type RecordsMirrorStatusArgs, type RecordsMirrorStatusResult, type RecordsSyncRequest, type RefreshAnySyncedTableArgs, type RefreshAnySyncedTableResult, type RefreshArgs, type RefreshResult, type RefreshSyncedTableArgs, type RefreshSyncedTableResult, type RenameColumnArgs, type RenameColumnResult, type RestoreRowArgs, type RestoreRowResult, type Row, type RowComment, type RowCommentIn, type RowComments, type RowCreate, type RowFilter, type RowPage, type RowTemplate, type RowTemplateCreate, type RowTemplateList, type RowTemplateMade, type RowUpdate, type RunAiColumnArgs, type RunAiColumnResult, type RunArgs, type RunResult, type RunSqlArgs, type RunSqlResult, type RunTableScriptArgs, type RunTableScriptResult, type SchemaAllArgs, type SchemaAllResponse, type SchemaAllResult, type SchemaBundleArgs, type SchemaBundleInfo, type SchemaBundleResult, type SchemaManifestArgs, type SchemaManifestResponse, type SchemaManifestResult, type SchemaOpenapiArgs, type SchemaOpenapiResult, type ScriptRunRequest, type SetCanonicalCleanEndpointArgs, type SetCanonicalCleanEndpointResult, type SetCanonicalCleanRequest, type SetCanonicalExtractEndpointArgs, type SetCanonicalExtractEndpointResult, type SetCanonicalExtractRequest, type SetCanonicalResponse, type SourceField, type SourceInput, type SourceLimits, type SourcesList, type SqlRequest, type SqlResult, type SyncResponse, type TableColumns, type TableColumnsArgs, type TableColumnsResult, type TableCreate, type TableList, type TableMade, type TableSummary, type TermEntry, type TermListOut, type TermListPreviewResponse, type TermListUpdate, type TermListWrite, type TriggerRecordsMirrorSyncArgs, type TriggerRecordsMirrorSyncResult, type TriggerSyncArgs, type TriggerSyncResult, type UnlockAnswer, type UnlockCompareArgs, type UnlockCompareResult, type UnlockPageArgs, type UnlockPageResult, type UnlockRequest, type UpdateConversationArgs, type UpdateConversationRequest, type UpdateConversationResult, type UpdateMessageArgs, type UpdateMessageRequest, type UpdateMessageResult, type UpdateRowArgs, type UpdateRowResult, type UpdateTermListArgs, type UpdateTermListResult, type UpsertRequest, type UpsertResult, type UpsertRowsArgs, type UpsertRowsResult, type UpsertedRow, type UrlPattern, type ViewCreate, type ViewMade, type WalkHop, type WriteResult, type WriteSyncedCellArgs, type WriteSyncedCellResult, addColumn, addRowComment, adminReviewDescend, aggregate, type aidream__api__routers__dedup_strict__ExtractRequest, type aidream__api__routers__external_databases__RefreshRequest, type aidream__api__routers__synced_tables__PreviewRequest, type aidream__api__routers__synced_tables__RefreshRequest, type aidream__api__routers__term_lists__PreviewRequest, type aidream__services__comparison__contract__ComparisonRequest, type aidream__services__data_fetch__contract__RefreshRequest, archiveColumn, archiveEndpoint, archiveRow, archiveTable, archiveTermList, backLinks, call, cleanEndpoint, connectDatabaseTable, connectSyncedLink, createConversation, createMessage, createRow, createTable, createTermList, createView, debugStateRedirect, declareRowTemplate, deleteConversation, derivativeEndpoint, descend, extractEndpoint, fetch, findingFromWalk, getConversation, getConversationActivity, getJob, getJobChanges, getRow, getSyncStatus, getTermList, importComments, importConversations, importLinkOnceRoute, ingestRows, inspectDatabase, listConversations, listKinds, listModels, listRowComments, listRowTemplates, listRows, listSources, listTables, listTermLists, listTools, listToolsByCategory, makeConfidential, previewSyncedLink, previewTermLists, queryRows, quote, receiveAutomationWebhook, recordsMirrorStatus, refresh, refreshAnySyncedTable, refreshSyncedTable, renameColumn, restoreRow, run, runAiColumn, runSql, runTableScript, schemaAll, schemaBundle, schemaManifest, schemaOpenapi, setCanonicalCleanEndpoint, setCanonicalExtractEndpoint, tableColumns, triggerRecordsMirrorSync, triggerSync, unlockCompare, unlockPage, updateConversation, updateMessage, updateRow, updateTermList, upsertRows, writeSyncedCell };
|
package/dist/data.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { openStream } from './chunk-
|
|
1
|
+
import { openStream } from './chunk-BIHYNQOU.js';
|
|
2
2
|
import './chunk-KIEAFMKB.js';
|
|
3
3
|
|
|
4
4
|
// src/generated/data.ts
|
|
@@ -198,6 +198,10 @@ var $fetch = { m: "POST", p: "/data-sources/fetch", d: "aidream", a: "guest", o:
|
|
|
198
198
|
function fetch(api, args, options) {
|
|
199
199
|
return openStream(api, $fetch, args, options);
|
|
200
200
|
}
|
|
201
|
+
var $ingestRows = { m: "POST", p: "/data-sources/ingest-rows", d: "aidream", a: "guest", o: "required", n: "data.ingest_rows" };
|
|
202
|
+
function ingestRows(api, args, options) {
|
|
203
|
+
return api.call($ingestRows, args, options);
|
|
204
|
+
}
|
|
201
205
|
var $getJob = { m: "GET", p: "/data-sources/jobs/{job_id}", d: "aidream", a: "guest", o: "required", n: "data.get_job" };
|
|
202
206
|
function getJob(api, args, options) {
|
|
203
207
|
return api.call($getJob, args, options);
|
|
@@ -379,6 +383,7 @@ var TABLE = {
|
|
|
379
383
|
"POST /review/findings/from-walk": $findingFromWalk,
|
|
380
384
|
"GET /admin/review/descend": $adminReviewDescend,
|
|
381
385
|
"GET /data-sources": $listSources,
|
|
386
|
+
"POST /data-sources/ingest-rows": $ingestRows,
|
|
382
387
|
"GET /data-sources/jobs/{job_id}": $getJob,
|
|
383
388
|
"GET /data-sources/jobs/{job_id}/changes": $getJobChanges,
|
|
384
389
|
"POST /data-sources/unlock": $unlockPage,
|
|
@@ -415,4 +420,4 @@ function call(api, key, args, options) {
|
|
|
415
420
|
return api.call(TABLE[key], args, options);
|
|
416
421
|
}
|
|
417
422
|
|
|
418
|
-
export { addColumn, addRowComment, adminReviewDescend, aggregate, archiveColumn, archiveEndpoint, archiveRow, archiveTable, archiveTermList, backLinks, call, cleanEndpoint, connectDatabaseTable, connectSyncedLink, createConversation, createMessage, createRow, createTable, createTermList, createView, debugStateRedirect, declareRowTemplate, deleteConversation, derivativeEndpoint, descend, extractEndpoint, fetch, findingFromWalk, getConversation, getConversationActivity, getJob, getJobChanges, getRow, getSyncStatus, getTermList, importComments, importConversations, importLinkOnceRoute, inspectDatabase, listConversations, listKinds, listModels, listRowComments, listRowTemplates, listRows, listSources, listTables, listTermLists, listTools, listToolsByCategory, makeConfidential, previewSyncedLink, previewTermLists, queryRows, quote, receiveAutomationWebhook, recordsMirrorStatus, refresh, refreshAnySyncedTable, refreshSyncedTable, renameColumn, restoreRow, run, runAiColumn, runSql, runTableScript, schemaAll, schemaBundle, schemaManifest, schemaOpenapi, setCanonicalCleanEndpoint, setCanonicalExtractEndpoint, tableColumns, triggerRecordsMirrorSync, triggerSync, unlockCompare, unlockPage, updateConversation, updateMessage, updateRow, updateTermList, upsertRows, writeSyncedCell };
|
|
423
|
+
export { addColumn, addRowComment, adminReviewDescend, aggregate, archiveColumn, archiveEndpoint, archiveRow, archiveTable, archiveTermList, backLinks, call, cleanEndpoint, connectDatabaseTable, connectSyncedLink, createConversation, createMessage, createRow, createTable, createTermList, createView, debugStateRedirect, declareRowTemplate, deleteConversation, derivativeEndpoint, descend, extractEndpoint, fetch, findingFromWalk, getConversation, getConversationActivity, getJob, getJobChanges, getRow, getSyncStatus, getTermList, importComments, importConversations, importLinkOnceRoute, ingestRows, inspectDatabase, listConversations, listKinds, listModels, listRowComments, listRowTemplates, listRows, listSources, listTables, listTermLists, listTools, listToolsByCategory, makeConfidential, previewSyncedLink, previewTermLists, queryRows, quote, receiveAutomationWebhook, recordsMirrorStatus, refresh, refreshAnySyncedTable, refreshSyncedTable, renameColumn, restoreRow, run, runAiColumn, runSql, runTableScript, schemaAll, schemaBundle, schemaManifest, schemaOpenapi, setCanonicalCleanEndpoint, setCanonicalExtractEndpoint, tableColumns, triggerRecordsMirrorSync, triggerSync, unlockCompare, unlockPage, updateConversation, updateMessage, updateRow, updateTermList, upsertRows, writeSyncedCell };
|
package/dist/education.cjs
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkG3OJBGCU_cjs = require('./chunk-G3OJBGCU.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
|
|
9
|
+
return chunkG3OJBGCU_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
|
|
13
|
+
return chunkG3OJBGCU_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
|
|
17
|
+
return chunkG3OJBGCU_cjs.openStream(api, $sourceSet, args, options);
|
|
18
18
|
}
|
|
19
19
|
var TABLE = {};
|
|
20
20
|
function call(api, key, args, options) {
|
package/dist/education.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-
|
|
1
|
+
import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-DyDNKgdB.cjs';
|
|
2
2
|
import '@ai-matrx/auth/credentials';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
|
|
6
|
-
* CONTRACT_SHA256
|
|
6
|
+
* CONTRACT_SHA256 2e22230d01e754f5ae210e0932290279956cc04757022cfee77b6d128f1c667c
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/** CardImageRequest */
|