@ai-matrx/records 0.60.6 → 0.60.7

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.
@@ -13194,18 +13194,26 @@ interface RecordsClient {
13194
13194
  limit?: number;
13195
13195
  }): Promise<RecordsResult<IoExportPage>>;
13196
13196
  /** G5. That page as an .xlsx; a withheld column is named on its own sheet. */
13197
- /** G9. Every table a picker may offer here, from BOTH stores, each saying which store opens it. */
13198
- tableListEverywhere(): Promise<RecordsResult<{
13197
+ /**
13198
+ * G9. Every table a picker may offer here, from BOTH stores, each saying which store opens it.
13199
+ * A table the app keeps out of default lists (`custom.table_kept_out_of_lists`: an agent's
13200
+ * outputs) is left out unless `include_app_tables` is true — the "Show app tables" switch.
13201
+ */
13202
+ tableListEverywhere(args?: {
13203
+ include_app_tables?: boolean;
13204
+ }): Promise<RecordsResult<{
13199
13205
  success: boolean;
13200
13206
  tables: TableListEntry[];
13201
13207
  }>>;
13202
13208
  /**
13203
13209
  * Every table the person reaches (`custom.data_home_tables`), as the data home lists them.
13204
13210
  * `organization_id` names one organization; `null` asks for every organization the person
13205
- * reaches — never the client's bound organization by default.
13211
+ * reaches — never the client's bound organization by default. A table the app keeps out of
13212
+ * default lists (an agent's outputs) is answered only with `include_app_tables: true`.
13206
13213
  */
13207
13214
  dataHomeTables(args: {
13208
13215
  organization_id: Uuid | null;
13216
+ include_app_tables?: boolean;
13209
13217
  }): Promise<RecordsResult<DataHomeTable[]>>;
13210
13218
  /**
13211
13219
  * G10. Refresh a synced source (a sheet tab) into ONE Table under `home_id`: new rows added,
@@ -13194,18 +13194,26 @@ interface RecordsClient {
13194
13194
  limit?: number;
13195
13195
  }): Promise<RecordsResult<IoExportPage>>;
13196
13196
  /** G5. That page as an .xlsx; a withheld column is named on its own sheet. */
13197
- /** G9. Every table a picker may offer here, from BOTH stores, each saying which store opens it. */
13198
- tableListEverywhere(): Promise<RecordsResult<{
13197
+ /**
13198
+ * G9. Every table a picker may offer here, from BOTH stores, each saying which store opens it.
13199
+ * A table the app keeps out of default lists (`custom.table_kept_out_of_lists`: an agent's
13200
+ * outputs) is left out unless `include_app_tables` is true — the "Show app tables" switch.
13201
+ */
13202
+ tableListEverywhere(args?: {
13203
+ include_app_tables?: boolean;
13204
+ }): Promise<RecordsResult<{
13199
13205
  success: boolean;
13200
13206
  tables: TableListEntry[];
13201
13207
  }>>;
13202
13208
  /**
13203
13209
  * Every table the person reaches (`custom.data_home_tables`), as the data home lists them.
13204
13210
  * `organization_id` names one organization; `null` asks for every organization the person
13205
- * reaches — never the client's bound organization by default.
13211
+ * reaches — never the client's bound organization by default. A table the app keeps out of
13212
+ * default lists (an agent's outputs) is answered only with `include_app_tables: true`.
13206
13213
  */
13207
13214
  dataHomeTables(args: {
13208
13215
  organization_id: Uuid | null;
13216
+ include_app_tables?: boolean;
13209
13217
  }): Promise<RecordsResult<DataHomeTable[]>>;
13210
13218
  /**
13211
13219
  * G10. Refresh a synced source (a sheet tab) into ONE Table under `home_id`: new rows added,
@@ -42472,17 +42472,18 @@ function createRecordsClient(given) {
42472
42472
  "tableFromExample"
42473
42473
  );
42474
42474
  },
42475
- async tableListEverywhere() {
42475
+ async tableListEverywhere(args) {
42476
42476
  return callDoor(
42477
42477
  DOORS.tableListEverywhere,
42478
- { p_organization_id: org },
42478
+ // The two-argument overload is chosen by naming both arguments (CHAIR-DOORS-2, N-C8).
42479
+ args?.include_app_tables ? { p_organization_id: org, p_include_app_tables: true } : { p_organization_id: org },
42479
42480
  "tableListEverywhere"
42480
42481
  );
42481
42482
  },
42482
- async dataHomeTables({ organization_id }) {
42483
+ async dataHomeTables({ organization_id, include_app_tables }) {
42483
42484
  return callDoor(
42484
42485
  DOORS.dataHomeTables,
42485
- { p_organization_id: organization_id },
42486
+ include_app_tables ? { p_organization_id: organization_id, p_include_app_tables: true } : { p_organization_id: organization_id },
42486
42487
  "dataHomeTables"
42487
42488
  );
42488
42489
  },