@ai-matrx/api 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (146) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +21 -0
  3. package/README.md +18 -2
  4. package/dist/account.cjs +670 -0
  5. package/dist/account.d.cts +3246 -0
  6. package/dist/account.d.ts +3246 -0
  7. package/dist/account.js +558 -0
  8. package/dist/agents.cjs +598 -0
  9. package/dist/agents.d.cts +3417 -0
  10. package/dist/agents.d.ts +3417 -0
  11. package/dist/agents.js +497 -0
  12. package/dist/ai.cjs +109 -0
  13. package/dist/ai.d.cts +493 -0
  14. package/dist/ai.d.ts +493 -0
  15. package/dist/ai.js +91 -0
  16. package/dist/apps.cjs +394 -0
  17. package/dist/apps.d.cts +1094 -0
  18. package/dist/apps.d.ts +1094 -0
  19. package/dist/apps.js +328 -0
  20. package/dist/architecture.cjs +1223 -0
  21. package/dist/architecture.d.cts +4701 -0
  22. package/dist/architecture.d.ts +4701 -0
  23. package/dist/architecture.js +1016 -0
  24. package/dist/audio.cjs +226 -0
  25. package/dist/audio.d.cts +723 -0
  26. package/dist/audio.d.ts +723 -0
  27. package/dist/audio.js +188 -0
  28. package/dist/chat.cjs +538 -0
  29. package/dist/chat.d.cts +2251 -0
  30. package/dist/chat.d.ts +2251 -0
  31. package/dist/chat.js +447 -0
  32. package/dist/chunk-2SXAAKGV.cjs +279 -0
  33. package/dist/chunk-AY5N6EA4.js +43 -0
  34. package/dist/chunk-BMQI7UET.cjs +48 -0
  35. package/dist/chunk-FNIYADWI.cjs +59 -0
  36. package/dist/chunk-KIEAFMKB.js +264 -0
  37. package/dist/chunk-UONBYRE4.js +1012 -0
  38. package/dist/chunk-YTEOFGFC.js +57 -0
  39. package/dist/chunk-YUDQWDCM.cjs +1047 -0
  40. package/dist/code.cjs +561 -0
  41. package/dist/code.d.cts +1976 -0
  42. package/dist/code.d.ts +1976 -0
  43. package/dist/code.js +467 -0
  44. package/dist/commerce.cjs +22 -0
  45. package/dist/commerce.d.cts +45 -0
  46. package/dist/commerce.d.ts +45 -0
  47. package/dist/commerce.js +18 -0
  48. package/dist/communications.cjs +215 -0
  49. package/dist/communications.d.cts +948 -0
  50. package/dist/communications.d.ts +948 -0
  51. package/dist/communications.js +179 -0
  52. package/dist/computer.cjs +330 -0
  53. package/dist/computer.d.cts +733 -0
  54. package/dist/computer.d.ts +733 -0
  55. package/dist/computer.js +275 -0
  56. package/dist/content.cjs +425 -0
  57. package/dist/content.d.cts +1796 -0
  58. package/dist/content.d.ts +1796 -0
  59. package/dist/content.js +354 -0
  60. package/dist/credentials.cjs +22 -0
  61. package/dist/credentials.d.cts +82 -0
  62. package/dist/credentials.d.ts +82 -0
  63. package/dist/credentials.js +1 -0
  64. package/dist/crm.cjs +271 -0
  65. package/dist/crm.d.cts +1731 -0
  66. package/dist/crm.d.ts +1731 -0
  67. package/dist/crm.js +226 -0
  68. package/dist/data.cjs +382 -0
  69. package/dist/data.d.cts +1860 -0
  70. package/dist/data.d.ts +1860 -0
  71. package/dist/data.js +318 -0
  72. package/dist/education.cjs +28 -0
  73. package/dist/education.d.cts +73 -0
  74. package/dist/education.d.ts +73 -0
  75. package/dist/education.js +23 -0
  76. package/dist/files.cjs +1330 -0
  77. package/dist/files.d.cts +4956 -0
  78. package/dist/files.d.ts +4956 -0
  79. package/dist/files.js +1104 -0
  80. package/dist/human-resources.cjs +178 -0
  81. package/dist/human-resources.d.cts +1208 -0
  82. package/dist/human-resources.d.ts +1208 -0
  83. package/dist/human-resources.js +148 -0
  84. package/dist/index-C2E-Cp19.d.ts +385 -0
  85. package/dist/index-wC2vtb70.d.cts +385 -0
  86. package/dist/index.cjs +1934 -0
  87. package/dist/index.d.cts +2006 -0
  88. package/dist/index.d.ts +2006 -0
  89. package/dist/index.js +1668 -0
  90. package/dist/integrations.cjs +5116 -0
  91. package/dist/integrations.d.cts +19213 -0
  92. package/dist/integrations.d.ts +19213 -0
  93. package/dist/integrations.js +4263 -0
  94. package/dist/intelligence.cjs +1305 -0
  95. package/dist/intelligence.d.cts +4658 -0
  96. package/dist/intelligence.d.ts +4658 -0
  97. package/dist/intelligence.js +1196 -0
  98. package/dist/knowledge.cjs +1113 -0
  99. package/dist/knowledge.d.cts +5427 -0
  100. package/dist/knowledge.d.ts +5427 -0
  101. package/dist/knowledge.js +921 -0
  102. package/dist/legal.cjs +225 -0
  103. package/dist/legal.d.cts +1038 -0
  104. package/dist/legal.d.ts +1038 -0
  105. package/dist/legal.js +187 -0
  106. package/dist/marketing.cjs +1155 -0
  107. package/dist/marketing.d.cts +7741 -0
  108. package/dist/marketing.d.ts +7741 -0
  109. package/dist/marketing.js +951 -0
  110. package/dist/masterwork.cjs +283 -0
  111. package/dist/masterwork.d.cts +1938 -0
  112. package/dist/masterwork.d.ts +1938 -0
  113. package/dist/masterwork.js +231 -0
  114. package/dist/media.cjs +610 -0
  115. package/dist/media.d.cts +2270 -0
  116. package/dist/media.d.ts +2270 -0
  117. package/dist/media.js +507 -0
  118. package/dist/net.cjs +67 -0
  119. package/dist/net.d.cts +204 -0
  120. package/dist/net.d.ts +204 -0
  121. package/dist/net.js +2 -0
  122. package/dist/platform.cjs +150 -0
  123. package/dist/platform.d.cts +572 -0
  124. package/dist/platform.d.ts +572 -0
  125. package/dist/platform.js +125 -0
  126. package/dist/publish.cjs +248 -0
  127. package/dist/publish.d.cts +1431 -0
  128. package/dist/publish.d.ts +1431 -0
  129. package/dist/publish.js +206 -0
  130. package/dist/schemas.cjs +2 -0
  131. package/dist/schemas.d.cts +1353 -0
  132. package/dist/schemas.d.ts +1353 -0
  133. package/dist/schemas.js +1 -0
  134. package/dist/stream.cjs +44 -0
  135. package/dist/stream.d.cts +2 -0
  136. package/dist/stream.d.ts +2 -0
  137. package/dist/stream.js +3 -0
  138. package/dist/web.cjs +1045 -0
  139. package/dist/web.d.cts +4186 -0
  140. package/dist/web.d.ts +4186 -0
  141. package/dist/web.js +867 -0
  142. package/dist/workflows.cjs +825 -0
  143. package/dist/workflows.d.cts +4699 -0
  144. package/dist/workflows.d.ts +4699 -0
  145. package/dist/workflows.js +686 -0
  146. package/package.json +418 -4
package/dist/data.js ADDED
@@ -0,0 +1,318 @@
1
+ // src/generated/data.ts
2
+ var $schemaManifest = { m: "GET", p: "/schema/manifest", d: "aidream", a: "public", o: "exempt", n: "data.schema_manifest" };
3
+ function schemaManifest(api, args, options) {
4
+ return api.call($schemaManifest, args, options);
5
+ }
6
+ var $schemaBundle = { m: "GET", p: "/schema/bundle/{name}", d: "aidream", a: "public", o: "exempt", n: "data.schema_bundle" };
7
+ function schemaBundle(api, args, options) {
8
+ return api.call($schemaBundle, args, options);
9
+ }
10
+ var $schemaOpenapi = { m: "GET", p: "/schema/openapi", d: "aidream", a: "public", o: "exempt", n: "data.schema_openapi" };
11
+ function schemaOpenapi(api, args, options) {
12
+ return api.call($schemaOpenapi, args, options);
13
+ }
14
+ var $schemaAll = { m: "GET", p: "/schema/all", d: "aidream", a: "public", o: "exempt", n: "data.schema_all" };
15
+ function schemaAll(api, args, options) {
16
+ return api.call($schemaAll, args, options);
17
+ }
18
+ var $listTables = { m: "GET", p: "/v1/tables", d: "aidream", a: "user", o: "optional", n: "data.list_tables" };
19
+ function listTables(api, args, options) {
20
+ return api.call($listTables, args, options);
21
+ }
22
+ var $createTable = { m: "POST", p: "/v1/tables", d: "aidream", a: "user", o: "required", n: "data.create_table" };
23
+ function createTable(api, args, options) {
24
+ return api.call($createTable, args, options);
25
+ }
26
+ var $archiveTable = { m: "DELETE", p: "/v1/tables/{table}", d: "aidream", a: "user", o: "required", n: "data.archive_table" };
27
+ function archiveTable(api, args, options) {
28
+ return api.call($archiveTable, args, options);
29
+ }
30
+ var $tableColumns = { m: "GET", p: "/v1/tables/{table}/columns", d: "aidream", a: "user", o: "optional", n: "data.table_columns" };
31
+ function tableColumns(api, args, options) {
32
+ return api.call($tableColumns, args, options);
33
+ }
34
+ var $addColumn = { m: "POST", p: "/v1/tables/{table}/columns", d: "aidream", a: "user", o: "required", n: "data.add_column" };
35
+ function addColumn(api, args, options) {
36
+ return api.call($addColumn, args, options);
37
+ }
38
+ var $createView = { m: "POST", p: "/v1/tables/{table}/views", d: "aidream", a: "user", o: "required", n: "data.create_view" };
39
+ function createView(api, args, options) {
40
+ return api.call($createView, args, options);
41
+ }
42
+ var $listRowTemplates = { m: "GET", p: "/v1/tables/{table}/templates", d: "aidream", a: "user", o: "required", n: "data.list_row_templates" };
43
+ function listRowTemplates(api, args, options) {
44
+ return api.call($listRowTemplates, args, options);
45
+ }
46
+ var $declareRowTemplate = { m: "POST", p: "/v1/tables/{table}/templates", d: "aidream", a: "user", o: "required", n: "data.declare_row_template" };
47
+ function declareRowTemplate(api, args, options) {
48
+ return api.call($declareRowTemplate, args, options);
49
+ }
50
+ var $importComments = { m: "POST", p: "/v1/tables/{table}/comments", d: "aidream", a: "user", o: "required", n: "data.import_comments" };
51
+ function importComments(api, args, options) {
52
+ return api.call($importComments, args, options);
53
+ }
54
+ var $renameColumn = { m: "PATCH", p: "/v1/tables/{table}/columns/{column}", d: "aidream", a: "user", o: "required", n: "data.rename_column" };
55
+ function renameColumn(api, args, options) {
56
+ return api.call($renameColumn, args, options);
57
+ }
58
+ var $archiveColumn = { m: "DELETE", p: "/v1/tables/{table}/columns/{column}", d: "aidream", a: "user", o: "required", n: "data.archive_column" };
59
+ function archiveColumn(api, args, options) {
60
+ return api.call($archiveColumn, args, options);
61
+ }
62
+ var $backLinks = { m: "GET", p: "/v1/tables/{table}/rows/{row_id}/back_links", d: "aidream", a: "user", o: "optional", n: "data.back_links" };
63
+ function backLinks(api, args, options) {
64
+ return api.call($backLinks, args, options);
65
+ }
66
+ var $listRows = { m: "GET", p: "/v1/tables/{table}/rows", d: "aidream", a: "user", o: "optional", n: "data.list_rows" };
67
+ function listRows(api, args, options) {
68
+ return api.call($listRows, args, options);
69
+ }
70
+ var $createRow = { m: "POST", p: "/v1/tables/{table}/rows", d: "aidream", a: "user", o: "required", n: "data.create_row" };
71
+ function createRow(api, args, options) {
72
+ return api.call($createRow, args, options);
73
+ }
74
+ var $queryRows = { m: "POST", p: "/v1/tables/{table}/rows/query", d: "aidream", a: "user", o: "optional", n: "data.query_rows" };
75
+ function queryRows(api, args, options) {
76
+ return api.call($queryRows, args, options);
77
+ }
78
+ var $aggregate = { m: "POST", p: "/v1/tables/{table}/aggregate", d: "aidream", a: "user", o: "optional", n: "data.aggregate" };
79
+ function aggregate(api, args, options) {
80
+ return api.call($aggregate, args, options);
81
+ }
82
+ var $upsertRows = { m: "POST", p: "/v1/tables/{table}/rows/upsert", d: "aidream", a: "user", o: "required", n: "data.upsert_rows" };
83
+ function upsertRows(api, args, options) {
84
+ return api.call($upsertRows, args, options);
85
+ }
86
+ var $getRow = { m: "GET", p: "/v1/tables/{table}/rows/{row_id}", d: "aidream", a: "user", o: "optional", n: "data.get_row" };
87
+ function getRow(api, args, options) {
88
+ return api.call($getRow, args, options);
89
+ }
90
+ var $updateRow = { m: "PATCH", p: "/v1/tables/{table}/rows/{row_id}", d: "aidream", a: "user", o: "required", n: "data.update_row" };
91
+ function updateRow(api, args, options) {
92
+ return api.call($updateRow, args, options);
93
+ }
94
+ var $archiveRow = { m: "DELETE", p: "/v1/tables/{table}/rows/{row_id}", d: "aidream", a: "user", o: "required", n: "data.archive_row" };
95
+ function archiveRow(api, args, options) {
96
+ return api.call($archiveRow, args, options);
97
+ }
98
+ var $restoreRow = { m: "POST", p: "/v1/tables/{table}/rows/{row_id}/restore", d: "aidream", a: "user", o: "required", n: "data.restore_row" };
99
+ function restoreRow(api, args, options) {
100
+ return api.call($restoreRow, args, options);
101
+ }
102
+ var $runSql = { m: "POST", p: "/v1/sql", d: "aidream", a: "user", o: "required", n: "data.run_sql" };
103
+ function runSql(api, args, options) {
104
+ return api.call($runSql, args, options);
105
+ }
106
+ var $listTermLists = { m: "GET", p: "/term-lists", d: "aidream", a: "guest", o: "optional", n: "data.list_term_lists" };
107
+ function listTermLists(api, args, options) {
108
+ return api.call($listTermLists, args, options);
109
+ }
110
+ var $createTermList = { m: "POST", p: "/term-lists", d: "aidream", a: "guest", o: "required", n: "data.create_term_list" };
111
+ function createTermList(api, args, options) {
112
+ return api.call($createTermList, args, options);
113
+ }
114
+ var $getTermList = { m: "GET", p: "/term-lists/{term_list_id}", d: "aidream", a: "guest", o: "optional", n: "data.get_term_list" };
115
+ function getTermList(api, args, options) {
116
+ return api.call($getTermList, args, options);
117
+ }
118
+ var $updateTermList = { m: "PATCH", p: "/term-lists/{term_list_id}", d: "aidream", a: "guest", o: "required", n: "data.update_term_list" };
119
+ function updateTermList(api, args, options) {
120
+ return api.call($updateTermList, args, options);
121
+ }
122
+ var $archiveTermList = { m: "DELETE", p: "/term-lists/{term_list_id}", d: "aidream", a: "guest", o: "required", n: "data.archive_term_list" };
123
+ function archiveTermList(api, args, options) {
124
+ return api.call($archiveTermList, args, options);
125
+ }
126
+ var $previewTermLists = { m: "POST", p: "/term-lists/preview", d: "aidream", a: "guest", o: "required", n: "data.preview_term_lists" };
127
+ function previewTermLists(api, args, options) {
128
+ return api.call($previewTermLists, args, options);
129
+ }
130
+ var $makeConfidential = { m: "POST", p: "/typed-tables/confidential", d: "aidream", a: "user", o: "required", n: "data.make_confidential" };
131
+ function makeConfidential(api, args, options) {
132
+ return api.call($makeConfidential, args, options);
133
+ }
134
+ var $inspectDatabase = { m: "POST", p: "/external-databases/inspect", d: "aidream", a: "guest", o: "required", n: "data.inspect_database" };
135
+ function inspectDatabase(api, args, options) {
136
+ return api.call($inspectDatabase, args, options);
137
+ }
138
+ var $connectDatabaseTable = { m: "POST", p: "/external-databases/tables", d: "aidream", a: "guest", o: "required", n: "data.connect_database_table" };
139
+ function connectDatabaseTable(api, args, options) {
140
+ return api.call($connectDatabaseTable, args, options);
141
+ }
142
+ var $refreshSyncedTable = { m: "POST", p: "/external-databases/refresh", d: "aidream", a: "guest", o: "required", n: "data.refresh_synced_table" };
143
+ function refreshSyncedTable(api, args, options) {
144
+ return api.call($refreshSyncedTable, args, options);
145
+ }
146
+ var $descend = { m: "GET", p: "/review/descend", d: "aidream", a: "guest", o: "required", n: "data.descend" };
147
+ function descend(api, args, options) {
148
+ return api.call($descend, args, options);
149
+ }
150
+ var $findingFromWalk = { m: "POST", p: "/review/findings/from-walk", d: "aidream", a: "guest", o: "required", n: "data.finding_from_walk" };
151
+ function findingFromWalk(api, args, options) {
152
+ return api.call($findingFromWalk, args, options);
153
+ }
154
+ var $adminReviewDescend = { m: "GET", p: "/admin/review/descend", d: "aidream", a: "admin", o: "exempt", n: "data.admin_review_descend" };
155
+ function adminReviewDescend(api, args, options) {
156
+ return api.call($adminReviewDescend, args, options);
157
+ }
158
+ var $extractEndpoint = { m: "POST", p: "/dedup/processed-documents/extract", d: "aidream", a: "guest", o: "required", n: "data.extract_endpoint" };
159
+ function extractEndpoint(api, args, options) {
160
+ return api.call($extractEndpoint, args, options);
161
+ }
162
+ var $cleanEndpoint = { m: "POST", p: "/dedup/processed-documents/{processed_document_id}/clean", d: "aidream", a: "guest", o: "required", n: "data.clean_endpoint" };
163
+ function cleanEndpoint(api, args, options) {
164
+ return api.call($cleanEndpoint, args, options);
165
+ }
166
+ var $derivativeEndpoint = { m: "POST", p: "/dedup/processed-documents/{processed_document_id}/derivative", d: "aidream", a: "guest", o: "required", n: "data.derivative_endpoint" };
167
+ function derivativeEndpoint(api, args, options) {
168
+ return api.call($derivativeEndpoint, args, options);
169
+ }
170
+ var $setCanonicalExtractEndpoint = { m: "POST", p: "/dedup/files/{file_id}/set-canonical-extract", d: "aidream", a: "guest", o: "required", n: "data.set_canonical_extract_endpoint" };
171
+ function setCanonicalExtractEndpoint(api, args, options) {
172
+ return api.call($setCanonicalExtractEndpoint, args, options);
173
+ }
174
+ var $setCanonicalCleanEndpoint = { m: "POST", p: "/dedup/processed-documents/{processed_document_id}/set-canonical-clean", d: "aidream", a: "guest", o: "required", n: "data.set_canonical_clean_endpoint" };
175
+ function setCanonicalCleanEndpoint(api, args, options) {
176
+ return api.call($setCanonicalCleanEndpoint, args, options);
177
+ }
178
+ var $archiveEndpoint = { m: "POST", p: "/dedup/processed-documents/{processed_document_id}/archive", d: "aidream", a: "guest", o: "required", n: "data.archive_endpoint" };
179
+ function archiveEndpoint(api, args, options) {
180
+ return api.call($archiveEndpoint, args, options);
181
+ }
182
+ var $listModels = { m: "GET", p: "/data/models", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.list_models" };
183
+ function listModels(api, args, options) {
184
+ return api.call($listModels, args, options);
185
+ }
186
+ var $listTools = { m: "GET", p: "/data/tools", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.list_tools" };
187
+ function listTools(api, args, options) {
188
+ return api.call($listTools, args, options);
189
+ }
190
+ var $listToolsByCategory = { m: "GET", p: "/data/tools/by-category", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.list_tools_by_category" };
191
+ function listToolsByCategory(api, args, options) {
192
+ return api.call($listToolsByCategory, args, options);
193
+ }
194
+ var $listConversations = { m: "GET", p: "/data/conversations", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.list_conversations" };
195
+ function listConversations(api, args, options) {
196
+ return api.call($listConversations, args, options);
197
+ }
198
+ var $createConversation = { m: "POST", p: "/data/conversations", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.create_conversation" };
199
+ function createConversation(api, args, options) {
200
+ return api.call($createConversation, args, options);
201
+ }
202
+ var $getConversation = { m: "GET", p: "/data/conversations/{conv_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.get_conversation" };
203
+ function getConversation(api, args, options) {
204
+ return api.call($getConversation, args, options);
205
+ }
206
+ var $updateConversation = { m: "PUT", p: "/data/conversations/{conv_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.update_conversation" };
207
+ function updateConversation(api, args, options) {
208
+ return api.call($updateConversation, args, options);
209
+ }
210
+ var $deleteConversation = { m: "DELETE", p: "/data/conversations/{conv_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.delete_conversation" };
211
+ function deleteConversation(api, args, options) {
212
+ return api.call($deleteConversation, args, options);
213
+ }
214
+ var $getConversationActivity = { m: "GET", p: "/data/conversations/{conv_id}/activity", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.get_conversation_activity" };
215
+ function getConversationActivity(api, args, options) {
216
+ return api.call($getConversationActivity, args, options);
217
+ }
218
+ var $createMessage = { m: "POST", p: "/data/conversations/{conv_id}/messages", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.create_message" };
219
+ function createMessage(api, args, options) {
220
+ return api.call($createMessage, args, options);
221
+ }
222
+ var $updateMessage = { m: "PUT", p: "/data/messages/{msg_id}", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.update_message" };
223
+ function updateMessage(api, args, options) {
224
+ return api.call($updateMessage, args, options);
225
+ }
226
+ var $importConversations = { m: "POST", p: "/data/conversations/import", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.import_conversations" };
227
+ function importConversations(api, args, options) {
228
+ return api.call($importConversations, args, options);
229
+ }
230
+ var $triggerSync = { m: "POST", p: "/data/sync", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.trigger_sync" };
231
+ function triggerSync(api, args, options) {
232
+ return api.call($triggerSync, args, options);
233
+ }
234
+ var $getSyncStatus = { m: "GET", p: "/data/sync/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.get_sync_status" };
235
+ function getSyncStatus(api, args, options) {
236
+ return api.call($getSyncStatus, args, options);
237
+ }
238
+ var $debugStateRedirect = { m: "GET", p: "/data/debug", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.debug_state_redirect" };
239
+ function debugStateRedirect(api, args, options) {
240
+ return api.call($debugStateRedirect, args, options);
241
+ }
242
+ var $recordsMirrorStatus = { m: "GET", p: "/records/mirror/status", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.records_mirror_status" };
243
+ function recordsMirrorStatus(api, args, options) {
244
+ return api.call($recordsMirrorStatus, args, options);
245
+ }
246
+ var $triggerRecordsMirrorSync = { m: "POST", p: "/records/mirror/sync", d: "matrx-local", a: "loopback_token", o: "exempt", n: "data.trigger_records_mirror_sync" };
247
+ function triggerRecordsMirrorSync(api, args, options) {
248
+ return api.call($triggerRecordsMirrorSync, args, options);
249
+ }
250
+ var TABLE = {
251
+ "GET /schema/manifest": $schemaManifest,
252
+ "GET /schema/bundle/{name}": $schemaBundle,
253
+ "GET /schema/openapi": $schemaOpenapi,
254
+ "GET /schema/all": $schemaAll,
255
+ "GET /v1/tables": $listTables,
256
+ "POST /v1/tables": $createTable,
257
+ "DELETE /v1/tables/{table}": $archiveTable,
258
+ "GET /v1/tables/{table}/columns": $tableColumns,
259
+ "POST /v1/tables/{table}/columns": $addColumn,
260
+ "POST /v1/tables/{table}/views": $createView,
261
+ "GET /v1/tables/{table}/templates": $listRowTemplates,
262
+ "POST /v1/tables/{table}/templates": $declareRowTemplate,
263
+ "POST /v1/tables/{table}/comments": $importComments,
264
+ "PATCH /v1/tables/{table}/columns/{column}": $renameColumn,
265
+ "DELETE /v1/tables/{table}/columns/{column}": $archiveColumn,
266
+ "GET /v1/tables/{table}/rows/{row_id}/back_links": $backLinks,
267
+ "GET /v1/tables/{table}/rows": $listRows,
268
+ "POST /v1/tables/{table}/rows": $createRow,
269
+ "POST /v1/tables/{table}/rows/query": $queryRows,
270
+ "POST /v1/tables/{table}/aggregate": $aggregate,
271
+ "POST /v1/tables/{table}/rows/upsert": $upsertRows,
272
+ "GET /v1/tables/{table}/rows/{row_id}": $getRow,
273
+ "PATCH /v1/tables/{table}/rows/{row_id}": $updateRow,
274
+ "DELETE /v1/tables/{table}/rows/{row_id}": $archiveRow,
275
+ "POST /v1/tables/{table}/rows/{row_id}/restore": $restoreRow,
276
+ "POST /v1/sql": $runSql,
277
+ "GET /term-lists": $listTermLists,
278
+ "POST /term-lists": $createTermList,
279
+ "GET /term-lists/{term_list_id}": $getTermList,
280
+ "PATCH /term-lists/{term_list_id}": $updateTermList,
281
+ "DELETE /term-lists/{term_list_id}": $archiveTermList,
282
+ "POST /term-lists/preview": $previewTermLists,
283
+ "POST /typed-tables/confidential": $makeConfidential,
284
+ "POST /external-databases/inspect": $inspectDatabase,
285
+ "POST /external-databases/tables": $connectDatabaseTable,
286
+ "POST /external-databases/refresh": $refreshSyncedTable,
287
+ "GET /review/descend": $descend,
288
+ "POST /review/findings/from-walk": $findingFromWalk,
289
+ "GET /admin/review/descend": $adminReviewDescend,
290
+ "POST /dedup/processed-documents/extract": $extractEndpoint,
291
+ "POST /dedup/processed-documents/{processed_document_id}/clean": $cleanEndpoint,
292
+ "POST /dedup/processed-documents/{processed_document_id}/derivative": $derivativeEndpoint,
293
+ "POST /dedup/files/{file_id}/set-canonical-extract": $setCanonicalExtractEndpoint,
294
+ "POST /dedup/processed-documents/{processed_document_id}/set-canonical-clean": $setCanonicalCleanEndpoint,
295
+ "POST /dedup/processed-documents/{processed_document_id}/archive": $archiveEndpoint,
296
+ "GET /data/models": $listModels,
297
+ "GET /data/tools": $listTools,
298
+ "GET /data/tools/by-category": $listToolsByCategory,
299
+ "GET /data/conversations": $listConversations,
300
+ "POST /data/conversations": $createConversation,
301
+ "GET /data/conversations/{conv_id}": $getConversation,
302
+ "PUT /data/conversations/{conv_id}": $updateConversation,
303
+ "DELETE /data/conversations/{conv_id}": $deleteConversation,
304
+ "GET /data/conversations/{conv_id}/activity": $getConversationActivity,
305
+ "POST /data/conversations/{conv_id}/messages": $createMessage,
306
+ "PUT /data/messages/{msg_id}": $updateMessage,
307
+ "POST /data/conversations/import": $importConversations,
308
+ "POST /data/sync": $triggerSync,
309
+ "GET /data/sync/status": $getSyncStatus,
310
+ "GET /data/debug": $debugStateRedirect,
311
+ "GET /records/mirror/status": $recordsMirrorStatus,
312
+ "POST /records/mirror/sync": $triggerRecordsMirrorSync
313
+ };
314
+ function call(api, key, args, options) {
315
+ return api.call(TABLE[key], args, options);
316
+ }
317
+
318
+ export { addColumn, adminReviewDescend, aggregate, archiveColumn, archiveEndpoint, archiveRow, archiveTable, archiveTermList, backLinks, call, cleanEndpoint, connectDatabaseTable, createConversation, createMessage, createRow, createTable, createTermList, createView, debugStateRedirect, declareRowTemplate, deleteConversation, derivativeEndpoint, descend, extractEndpoint, findingFromWalk, getConversation, getConversationActivity, getRow, getSyncStatus, getTermList, importComments, importConversations, inspectDatabase, listConversations, listModels, listRowTemplates, listRows, listTables, listTermLists, listTools, listToolsByCategory, makeConfidential, previewTermLists, queryRows, recordsMirrorStatus, refreshSyncedTable, renameColumn, restoreRow, runSql, schemaAll, schemaBundle, schemaManifest, schemaOpenapi, setCanonicalCleanEndpoint, setCanonicalExtractEndpoint, tableColumns, triggerRecordsMirrorSync, triggerSync, updateConversation, updateMessage, updateRow, updateTermList, upsertRows };
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ var chunkYUDQWDCM_cjs = require('./chunk-YUDQWDCM.cjs');
4
+ require('./chunk-2SXAAKGV.cjs');
5
+ require('./chunk-BMQI7UET.cjs');
6
+
7
+ // src/generated/education.ts
8
+ var $sourceCard = { m: "POST", p: "/education/images/source-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_card" };
9
+ function sourceCard(api, args, options) {
10
+ return chunkYUDQWDCM_cjs.openStream(api, $sourceCard, args, options);
11
+ }
12
+ var $generateCard = { m: "POST", p: "/education/images/generate-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.generate_card" };
13
+ function generateCard(api, args, options) {
14
+ return chunkYUDQWDCM_cjs.openStream(api, $generateCard, args, options);
15
+ }
16
+ var $sourceSet = { m: "POST", p: "/education/images/source-set", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_set" };
17
+ function sourceSet(api, args, options) {
18
+ return chunkYUDQWDCM_cjs.openStream(api, $sourceSet, args, options);
19
+ }
20
+ var TABLE = {};
21
+ function call(api, key, args, options) {
22
+ return api.call(TABLE[key], args, options);
23
+ }
24
+
25
+ exports.call = call;
26
+ exports.generateCard = generateCard;
27
+ exports.sourceCard = sourceCard;
28
+ exports.sourceSet = sourceSet;
@@ -0,0 +1,73 @@
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-wC2vtb70.cjs';
2
+ import './credentials.cjs';
3
+
4
+ /**
5
+ * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
6
+ * CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
7
+ */
8
+
9
+ /** CardImageRequest */
10
+ type CardImageRequest = {
11
+ /** Organization context for the request; omitted to use the authenticated context. */
12
+ organization_id?: string | null;
13
+ /** Optional associated project selected by the caller. */
14
+ project_id?: string | null;
15
+ /** Optional associated task selected by the caller. */
16
+ task_id?: string | null;
17
+ /** Stable application slug that initiated the request. */
18
+ source_app?: string | null;
19
+ /** Stable feature slug within the source application. */
20
+ source_feature?: string | null;
21
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
22
+ initiation?: ("user" | "auto") | null;
23
+ card_id: string;
24
+ face?: "front" | "back";
25
+ };
26
+ /** SetImagesRequest */
27
+ type SetImagesRequest = {
28
+ /** Organization context for the request; omitted to use the authenticated context. */
29
+ organization_id?: string | null;
30
+ /** Optional associated project selected by the caller. */
31
+ project_id?: string | null;
32
+ /** Optional associated task selected by the caller. */
33
+ task_id?: string | null;
34
+ /** Stable application slug that initiated the request. */
35
+ source_app?: string | null;
36
+ /** Stable feature slug within the source application. */
37
+ source_feature?: string | null;
38
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
39
+ initiation?: ("user" | "auto") | null;
40
+ set_id: string;
41
+ face?: "front" | "back";
42
+ limit?: number | null;
43
+ skip_existing?: boolean;
44
+ exclude_card_ids?: string[];
45
+ };
46
+ type SourceCardArgs = {
47
+ body: CardImageRequest;
48
+ };
49
+ type SourceCardResult = unknown;
50
+ /** Source Card */
51
+ /** `POST /education/images/source-card` · aidream · auth guest · org required · ndjson */
52
+ declare function sourceCard(api: Api, args: SourceCardArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
53
+ type GenerateCardArgs = {
54
+ body: CardImageRequest;
55
+ };
56
+ type GenerateCardResult = unknown;
57
+ /** Generate Card */
58
+ /** `POST /education/images/generate-card` · aidream · auth guest · org required · ndjson */
59
+ declare function generateCard(api: Api, args: GenerateCardArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
60
+ type SourceSetArgs = {
61
+ body: SetImagesRequest;
62
+ };
63
+ type SourceSetResult = unknown;
64
+ /** Source Set */
65
+ /** `POST /education/images/source-set` · aidream · auth guest · org required · ndjson */
66
+ declare function sourceSet(api: Api, args: SourceSetArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
67
+ /** Every JSON operation of this domain by `METHOD path` — for path-keyed calls. */
68
+ interface Operations {
69
+ }
70
+ /** Path-keyed call, scoped to this domain only (never a global path map). */
71
+ declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
72
+
73
+ export { type CardImageRequest, type GenerateCardArgs, type GenerateCardResult, type Operations, type SetImagesRequest, type SourceCardArgs, type SourceCardResult, type SourceSetArgs, type SourceSetResult, call, generateCard, sourceCard, sourceSet };
@@ -0,0 +1,73 @@
1
+ import { A as Api, C as CallOptions, a as ApiStream, N as NdjsonEvent } from './index-C2E-Cp19.js';
2
+ import './credentials.js';
3
+
4
+ /**
5
+ * GENERATED by @ai-matrx/api scripts/generate.mjs from aidream/api-contract — never edit by hand.
6
+ * CONTRACT_SHA256 50a790edb39e682b46e0fa9e674faf5ce2a0ba7de2cd01930a497fca4c47844a
7
+ */
8
+
9
+ /** CardImageRequest */
10
+ type CardImageRequest = {
11
+ /** Organization context for the request; omitted to use the authenticated context. */
12
+ organization_id?: string | null;
13
+ /** Optional associated project selected by the caller. */
14
+ project_id?: string | null;
15
+ /** Optional associated task selected by the caller. */
16
+ task_id?: string | null;
17
+ /** Stable application slug that initiated the request. */
18
+ source_app?: string | null;
19
+ /** Stable feature slug within the source application. */
20
+ source_feature?: string | null;
21
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
22
+ initiation?: ("user" | "auto") | null;
23
+ card_id: string;
24
+ face?: "front" | "back";
25
+ };
26
+ /** SetImagesRequest */
27
+ type SetImagesRequest = {
28
+ /** Organization context for the request; omitted to use the authenticated context. */
29
+ organization_id?: string | null;
30
+ /** Optional associated project selected by the caller. */
31
+ project_id?: string | null;
32
+ /** Optional associated task selected by the caller. */
33
+ task_id?: string | null;
34
+ /** Stable application slug that initiated the request. */
35
+ source_app?: string | null;
36
+ /** Stable feature slug within the source application. */
37
+ source_feature?: string | null;
38
+ /** How the client initiated this request: 'user' for a direct human action, 'auto' for client-code automation. Omit for API callers. */
39
+ initiation?: ("user" | "auto") | null;
40
+ set_id: string;
41
+ face?: "front" | "back";
42
+ limit?: number | null;
43
+ skip_existing?: boolean;
44
+ exclude_card_ids?: string[];
45
+ };
46
+ type SourceCardArgs = {
47
+ body: CardImageRequest;
48
+ };
49
+ type SourceCardResult = unknown;
50
+ /** Source Card */
51
+ /** `POST /education/images/source-card` · aidream · auth guest · org required · ndjson */
52
+ declare function sourceCard(api: Api, args: SourceCardArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
53
+ type GenerateCardArgs = {
54
+ body: CardImageRequest;
55
+ };
56
+ type GenerateCardResult = unknown;
57
+ /** Generate Card */
58
+ /** `POST /education/images/generate-card` · aidream · auth guest · org required · ndjson */
59
+ declare function generateCard(api: Api, args: GenerateCardArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
60
+ type SourceSetArgs = {
61
+ body: SetImagesRequest;
62
+ };
63
+ type SourceSetResult = unknown;
64
+ /** Source Set */
65
+ /** `POST /education/images/source-set` · aidream · auth guest · org required · ndjson */
66
+ declare function sourceSet(api: Api, args: SourceSetArgs, options?: CallOptions): Promise<ApiStream<NdjsonEvent>>;
67
+ /** Every JSON operation of this domain by `METHOD path` — for path-keyed calls. */
68
+ interface Operations {
69
+ }
70
+ /** Path-keyed call, scoped to this domain only (never a global path map). */
71
+ declare function call<K extends keyof Operations>(api: Api, key: K, args?: Operations[K]["args"], options?: CallOptions): Promise<Operations[K]["result"]>;
72
+
73
+ export { type CardImageRequest, type GenerateCardArgs, type GenerateCardResult, type Operations, type SetImagesRequest, type SourceCardArgs, type SourceCardResult, type SourceSetArgs, type SourceSetResult, call, generateCard, sourceCard, sourceSet };
@@ -0,0 +1,23 @@
1
+ import { openStream } from './chunk-UONBYRE4.js';
2
+ import './chunk-KIEAFMKB.js';
3
+ import './chunk-AY5N6EA4.js';
4
+
5
+ // src/generated/education.ts
6
+ var $sourceCard = { m: "POST", p: "/education/images/source-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_card" };
7
+ function sourceCard(api, args, options) {
8
+ return openStream(api, $sourceCard, args, options);
9
+ }
10
+ var $generateCard = { m: "POST", p: "/education/images/generate-card", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.generate_card" };
11
+ function generateCard(api, args, options) {
12
+ return openStream(api, $generateCard, args, options);
13
+ }
14
+ var $sourceSet = { m: "POST", p: "/education/images/source-set", d: "aidream", a: "guest", o: "required", s: "ndjson", n: "education.source_set" };
15
+ function sourceSet(api, args, options) {
16
+ return openStream(api, $sourceSet, args, options);
17
+ }
18
+ var TABLE = {};
19
+ function call(api, key, args, options) {
20
+ return api.call(TABLE[key], args, options);
21
+ }
22
+
23
+ export { call, generateCard, sourceCard, sourceSet };