@norbix.ai/mcp 0.4.0 → 0.6.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.
package/README.md CHANGED
@@ -163,7 +163,9 @@ NORBIX_HUB_URL=https://hub.norbix.ai norbix-mcp --http --port 3010
163
163
  **Curated shortcuts:** `norbix_echo`, `norbix_get_projects`, `norbix_get_project`,
164
164
  `norbix_create_project`, `norbix_get_project_environments`,
165
165
  `norbix_get_integrations`, `norbix_get_integration`, `norbix_save_integration`,
166
- `norbix_test_integration`, `norbix_get_marketplace_integrations`,
166
+ `norbix_test_integration`, `norbix_get_code_functions`, `norbix_get_code_function_qualifiers`,
167
+ `norbix_invoke_code_function`, `norbix_get_code_function_event_sample`,
168
+ `norbix_get_code_function_runs`, `norbix_get_marketplace_integrations`,
167
169
  `norbix_save_marketplace_integration`, `norbix_get_database_schemas`,
168
170
  `norbix_find_documents`, `norbix_find_one_document`, `norbix_insert_document`,
169
171
  `norbix_update_document`, `norbix_get_taxonomy_terms`, `norbix_get_roles`, `norbix_get_policies`,
@@ -190,6 +192,17 @@ shows `types.SchedulerTaskRequest.subtypes.EmailCampaignSchedulerTaskRequest`
190
192
 
191
193
  The scheduler module switch (`enableScheduler` / `disableScheduler`) is `PUT`.
192
194
 
195
+ **Cloud functions** (`@norbix.ai/ts` 4.19.0): `norbix_get_code_functions`
196
+ lists the functions a code integration may call, `norbix_get_code_function_qualifiers`
197
+ their aliases and versions, `norbix_invoke_code_function` calls one by hand
198
+ (`functionRef`, `payload`, `invocationType: "Sync" | "Async"`, `runAsUserId`),
199
+ `norbix_get_code_function_event_sample` returns the envelope a function receives
200
+ with sample data (`source`, `event`, `schemaId`) — the fixture for a local run —
201
+ and `norbix_get_code_function_runs` the last runs of a trigger or task. The
202
+ envelope itself (`CodeFunctionEventDto`: `specVersion`, `event`, `source`,
203
+ `context.runAs.accessToken`, `data.{database,user,file,payment,ai,task,payload}`,
204
+ `config`) is in `norbix_describe_endpoint("getCodeFunctionEventSample")`.
205
+
193
206
  ## Database tools
194
207
 
195
208
  Six shortcuts cover the everyday database work. Everything else in the
@@ -1522,6 +1522,16 @@
1522
1522
  "type": "string",
1523
1523
  "optional": true
1524
1524
  },
1525
+ {
1526
+ "name": "order",
1527
+ "type": "number",
1528
+ "optional": true
1529
+ },
1530
+ {
1531
+ "name": "breakOnError",
1532
+ "type": "boolean",
1533
+ "optional": false
1534
+ },
1525
1535
  {
1526
1536
  "name": "savedByAuthId",
1527
1537
  "type": "string",
@@ -1833,6 +1843,31 @@
1833
1843
  }
1834
1844
  ]
1835
1845
  },
1846
+ "IQueuedTrigger": {
1847
+ "base": null,
1848
+ "fields": [
1849
+ {
1850
+ "name": "viewId",
1851
+ "type": "string",
1852
+ "optional": false
1853
+ },
1854
+ {
1855
+ "name": "name",
1856
+ "type": "string",
1857
+ "optional": false
1858
+ },
1859
+ {
1860
+ "name": "order",
1861
+ "type": "number",
1862
+ "optional": true
1863
+ },
1864
+ {
1865
+ "name": "breakOnError",
1866
+ "type": "boolean",
1867
+ "optional": false
1868
+ }
1869
+ ]
1870
+ },
1836
1871
  "ICursorArgs": {
1837
1872
  "base": null,
1838
1873
  "fields": [