@ai-matrx/data 0.28.0 → 0.28.2

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/dist/types.d.cts CHANGED
@@ -8105,6 +8105,12 @@ type Database = {
8105
8105
  };
8106
8106
  Returns: string;
8107
8107
  };
8108
+ conversation_unreadable_reason: {
8109
+ Args: {
8110
+ p_conversation_id: string;
8111
+ };
8112
+ Returns: string;
8113
+ };
8108
8114
  cx_overview_kpis: {
8109
8115
  Args: {
8110
8116
  p_end?: string;
@@ -8833,6 +8839,17 @@ type Database = {
8833
8839
  };
8834
8840
  Returns: Json;
8835
8841
  };
8842
+ space_by_conversation: {
8843
+ Args: {
8844
+ p_conversation_id: string;
8845
+ };
8846
+ Returns: {
8847
+ organization_id: string;
8848
+ space_id: string;
8849
+ title: string;
8850
+ version: number;
8851
+ }[];
8852
+ };
8836
8853
  space_children: {
8837
8854
  Args: {
8838
8855
  p_parent_id: string;
@@ -16638,6 +16655,12 @@ type Database = {
16638
16655
  parent_type: string;
16639
16656
  }[];
16640
16657
  };
16658
+ record_closed_level: {
16659
+ Args: {
16660
+ p_record: string;
16661
+ };
16662
+ Returns: string;
16663
+ };
16641
16664
  ultimate_parent_record: {
16642
16665
  Args: {
16643
16666
  p_file_id: string;
@@ -19515,6 +19538,24 @@ type Database = {
19515
19538
  };
19516
19539
  Returns: boolean;
19517
19540
  };
19541
+ child_parent_fresh_allows: {
19542
+ Args: {
19543
+ p_child_type: string;
19544
+ p_parent_id: string;
19545
+ p_parent_type: string;
19546
+ };
19547
+ Returns: boolean;
19548
+ };
19549
+ child_parent_ids_allowed: {
19550
+ Args: {
19551
+ p_child_type: string;
19552
+ p_include_public: boolean;
19553
+ p_parent_type: string;
19554
+ p_person: string;
19555
+ p_required: Database["public"]["Enums"]["permission_level"];
19556
+ };
19557
+ Returns: string[];
19558
+ };
19518
19559
  child_parent_records_worth_asking: {
19519
19560
  Args: {
19520
19561
  p_ids: string[];
@@ -56019,6 +56060,14 @@ type Database = {
56019
56060
  };
56020
56061
  Returns: Json;
56021
56062
  };
56063
+ claim_guest_workspace: {
56064
+ Args: {
56065
+ p_guest: string;
56066
+ p_target: string;
56067
+ p_via: string;
56068
+ };
56069
+ Returns: Json;
56070
+ };
56022
56071
  credential_item_holdings: {
56023
56072
  Args: {
56024
56073
  p_item_ids: string[];
@@ -56035,6 +56084,22 @@ type Database = {
56035
56084
  };
56036
56085
  Returns: Json;
56037
56086
  };
56087
+ guest_revive: {
56088
+ Args: {
56089
+ p_guest: string;
56090
+ };
56091
+ Returns: Json;
56092
+ };
56093
+ guest_session_bind: {
56094
+ Args: {
56095
+ p_fingerprint: string;
56096
+ p_ip: unknown;
56097
+ p_metadata: Json;
56098
+ p_new: string;
56099
+ p_user_agent: string;
56100
+ };
56101
+ Returns: Json;
56102
+ };
56038
56103
  guest_transfer_link_columns: {
56039
56104
  Args: {
56040
56105
  p_inline_max_bytes?: number;
package/dist/types.d.ts CHANGED
@@ -8105,6 +8105,12 @@ type Database = {
8105
8105
  };
8106
8106
  Returns: string;
8107
8107
  };
8108
+ conversation_unreadable_reason: {
8109
+ Args: {
8110
+ p_conversation_id: string;
8111
+ };
8112
+ Returns: string;
8113
+ };
8108
8114
  cx_overview_kpis: {
8109
8115
  Args: {
8110
8116
  p_end?: string;
@@ -8833,6 +8839,17 @@ type Database = {
8833
8839
  };
8834
8840
  Returns: Json;
8835
8841
  };
8842
+ space_by_conversation: {
8843
+ Args: {
8844
+ p_conversation_id: string;
8845
+ };
8846
+ Returns: {
8847
+ organization_id: string;
8848
+ space_id: string;
8849
+ title: string;
8850
+ version: number;
8851
+ }[];
8852
+ };
8836
8853
  space_children: {
8837
8854
  Args: {
8838
8855
  p_parent_id: string;
@@ -16638,6 +16655,12 @@ type Database = {
16638
16655
  parent_type: string;
16639
16656
  }[];
16640
16657
  };
16658
+ record_closed_level: {
16659
+ Args: {
16660
+ p_record: string;
16661
+ };
16662
+ Returns: string;
16663
+ };
16641
16664
  ultimate_parent_record: {
16642
16665
  Args: {
16643
16666
  p_file_id: string;
@@ -19515,6 +19538,24 @@ type Database = {
19515
19538
  };
19516
19539
  Returns: boolean;
19517
19540
  };
19541
+ child_parent_fresh_allows: {
19542
+ Args: {
19543
+ p_child_type: string;
19544
+ p_parent_id: string;
19545
+ p_parent_type: string;
19546
+ };
19547
+ Returns: boolean;
19548
+ };
19549
+ child_parent_ids_allowed: {
19550
+ Args: {
19551
+ p_child_type: string;
19552
+ p_include_public: boolean;
19553
+ p_parent_type: string;
19554
+ p_person: string;
19555
+ p_required: Database["public"]["Enums"]["permission_level"];
19556
+ };
19557
+ Returns: string[];
19558
+ };
19518
19559
  child_parent_records_worth_asking: {
19519
19560
  Args: {
19520
19561
  p_ids: string[];
@@ -56019,6 +56060,14 @@ type Database = {
56019
56060
  };
56020
56061
  Returns: Json;
56021
56062
  };
56063
+ claim_guest_workspace: {
56064
+ Args: {
56065
+ p_guest: string;
56066
+ p_target: string;
56067
+ p_via: string;
56068
+ };
56069
+ Returns: Json;
56070
+ };
56022
56071
  credential_item_holdings: {
56023
56072
  Args: {
56024
56073
  p_item_ids: string[];
@@ -56035,6 +56084,22 @@ type Database = {
56035
56084
  };
56036
56085
  Returns: Json;
56037
56086
  };
56087
+ guest_revive: {
56088
+ Args: {
56089
+ p_guest: string;
56090
+ };
56091
+ Returns: Json;
56092
+ };
56093
+ guest_session_bind: {
56094
+ Args: {
56095
+ p_fingerprint: string;
56096
+ p_ip: unknown;
56097
+ p_metadata: Json;
56098
+ p_new: string;
56099
+ p_user_agent: string;
56100
+ };
56101
+ Returns: Json;
56102
+ };
56038
56103
  guest_transfer_link_columns: {
56039
56104
  Args: {
56040
56105
  p_inline_max_bytes?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-matrx/data",
3
- "version": "0.28.0",
3
+ "version": "0.28.2",
4
4
  "description": "The opinionated AI Matrx data layer: the /db tier's hard-won Supabase primitives — optimistic concurrency, complete-list reads, JSONB merge, session-retry, the domain-wide auth cookie, realtime channel hygiene — the /net resilience trio, and the /files lane: the Matrx file-communication client (durable-ref resolution, the mx_files_session bootstrap, authenticated blob fetch, uploads, the public-link door).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -243,5 +243,5 @@
243
243
  "test:watch": "vitest",
244
244
  "verify:tarball": "node ./scripts/verify-tarball.mjs"
245
245
  },
246
- "gitHead": "0e5372354ec84ed85b1779e1d99b6922a20f1798"
246
+ "gitHead": "9d5dfbc3b4cd07498b96ce6f33412e339b5e6fdc"
247
247
  }